chunk-libs.abf06129.js 3.5 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"00bb":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var a=0;a<n;a++)e[t+a]^=i[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize;n.call(this,e,t,i,r),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=e.slice(t,t+i);n.call(this,e,t,i,r),this._prevBlock=o}}),t}(),e.mode.CFB}))},"010e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  2. //! moment.js locale configuration
  3. var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"014b":function(e,t,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),l=n("ebfd").KEY,u=n("294c"),c=n("dbdb"),d=n("45f2"),h=n("62a0"),f=n("5168"),p=n("ccb9"),m=n("6718"),g=n("47ee"),v=n("9003"),y=n("e4ae"),b=n("f772"),_=n("241e"),w=n("36c3"),x=n("1bc3"),k=n("aebd"),M=n("a159"),S=n("0395"),C=n("bf0b"),T=n("9aa9"),O=n("d9f6"),L=n("c3a1"),A=C.f,D=O.f,E=S.f,I=r.Symbol,j=r.JSON,P=j&&j.stringify,R="prototype",N=f("_hidden"),B=f("toPrimitive"),Y={}.propertyIsEnumerable,F=c("symbol-registry"),z=c("symbols"),H=c("op-symbols"),V=Object[R],W="function"==typeof I&&!!T.f,U=r.QObject,$=!U||!U[R]||!U[R].findChild,G=o&&u((function(){return 7!=M(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A(V,t);r&&delete V[t],D(e,t,n),r&&e!==V&&D(V,t,r)}:D,q=function(e){var t=z[e]=M(I[R]);return t._k=e,t},X=W&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,n){return e===V&&K(H,t,n),y(e),t=x(t,!0),y(n),i(z,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=M(n,{enumerable:k(0,!1)})):(i(e,N)||D(e,N,k(1,{})),e[N][t]=!0),G(e,t,n)):D(e,t,n)},Z=function(e,t){y(e);var n,r=g(t=w(t)),i=0,o=r.length;while(o>i)K(e,n=r[i++],t[n]);return e},J=function(e,t){return void 0===t?M(e):Z(M(e),t)},Q=function(e){var t=Y.call(this,e=x(e,!0));return!(this===V&&i(z,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,N)&&this[N][e])||t)},ee=function(e,t){if(e=w(e),t=x(t,!0),e!==V||!i(z,t)||i(H,t)){var n=A(e,t);return!n||!i(z,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},te=function(e){var t,n=E(w(e)),r=[],o=0;while(n.length>o)i(z,t=n[o++])||t==N||t==l||r.push(t);return r},ne=function(e){var t,n=e===V,r=E(n?H:w(e)),o=[],a=0;while(r.length>a)!i(z,t=r[a++])||n&&!i(V,t)||o.push(z[t]);return o};W||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(H,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),G(this,e,k(1,n))};return o&&$&&G(V,e,{configurable:!0,set:t}),q(e)},s(I[R],"toString",(function(){return this._k})),C.f=ee,O.f=K,n("6abf").f=S.f=te,n("355d").f=Q,T.f=ne,o&&!n("b8e3")&&s(V,"propertyIsEnumerable",Q,!0),p.f=function(e){return q(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:I});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)f(re[ie++]);for(var oe=L(f.store),ae=0;oe.length>ae;)m(oe[ae++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!W,"Object",{create:J,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){T.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(_(e))}}),j&&a(a.S+a.F*(!W||u((function(){var e=I();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,P.apply(j,r)}}),I[R][B]||n("35e8")(I[R],B,I[R].valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),u=n("7f20"),c=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,_){l(n,t,v);var w,x,k,M=function(e){if(!h&&e in O)return O[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",C=y==m,T=!1,O=e.prototype,L=O[d]||O[f]||y&&O[y],A=L||M(y),D=y?C?M("entries"):A:void 0,E="Array"==t&&O.entries||L;if(E&&(k=c(E.call(new e)),k!==Object.prototype&&k.next&&(u(k,S,!0),r||"function"==typeof k[d]||a(k,d,g))),C&&L&&L.name!==m&&(T=!0,A=function(){return L.call(this)}),r&&!_||!h&&!T&&O[d]||a(O,d,A),s[t]=A,s[S]=g,y)if(w={values:C?A:M(m),keys:b?A:M(p),entries:D},_)for(x in w)x in O||o(O,x,w[x]);else i(i.P+i.F*(h||T),t,w);return w}},"0293":function(e,t,n){var r=n("241e"),i=n("53e2");n("ce7e")("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},"0298":function(e,t,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99");r(r.P+r.F*n("79e5")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},"02f4":function(e,t,n){var r=n("4588"),i=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"02fb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  4. //! moment.js locale configuration
  5. var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"036c":function(e,t,n){"use strict";var r=n("5ca1"),i=n("4588"),o=n("bef9"),a=n("9744"),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d="0",h=function(e,t){var n=-1,r=t;while(++n<6)r+=e*u[n],u[n]=r%1e7,r=l(r/1e7)},f=function(e){var t=6,n=0;while(--t>=0)n+=u[t],u[t]=l(n/e),n=n%e*1e7},p=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call(d,7-n.length)+n}return t},m=function(e,t,n){return 0===t?n:t%2===1?m(e,t-1,n*e):m(e*e,t/2,n)},g=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("79e5")((function(){s.call({})}))),"Number",{toFixed:function(e){var t,n,r,s,l=o(this,c),u=i(e),v="",y=d;if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(v="-",l=-l),l>1e-21)if(t=g(l*m(2,69,1))-69,n=t<0?l*m(2,-t,1):l/m(2,t,1),n*=4503599627370496,t=52-t,t>0){h(0,n),r=u;while(r>=7)h(1e7,0),r-=7;h(m(10,r,1),0),r=t-1;while(r>=23)f(1<<23),r-=23;f(1<<r),h(1,1),f(2),y=p()}else h(0,n),h(1<<-t,0),y=p()+a.call(d,u);return u>0?(s=y.length,y=v+(s<=u?"0."+a.call(d,u-s)+y:y.slice(0,s-u)+"."+y.slice(s-u))):y=v+y,y}})},"037e":function(e,t,n){},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0395":function(e,t,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},"03ec":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  6. //! moment.js locale configuration
  7. var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t}))},"042d":function(e,t,n){},"042e":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{fround:n("91ca")})},"044b":function(e,t){
  8. /*!
  9. * Determine if an object is a Buffer
  10. *
  11. * @author Feross Aboukhadijeh <https://feross.org>
  12. * @license MIT
  13. */
  14. e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},"049f":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{log1p:n("d6c6")})},"04fb":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n("7037")),o=r(n("970b"));n("0ca1");var a=r(n("9886")),s=n("5557"),l=n("a736"),u=function e(t){if((0,o["default"])(this,e),!t)return console.error("Charts Missing parameters!"),!1;var n=t.clientWidth,r=t.clientHeight,i=document.createElement("canvas");i.setAttribute("width",n),i.setAttribute("height",r),t.appendChild(i);var s={container:t,canvas:i,render:new a["default"](i),option:null};Object.assign(this,s)};t["default"]=u,u.prototype.setOption=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||"object"!==(0,i["default"])(e))return console.error("setOption Missing parameters!"),!1;t&&this.render.graphs.forEach((function(e){return e.animationEnd()}));var n=(0,s.deepClone)(e,!0);(0,l.mergeColor)(this,n),(0,l.grid)(this,n),(0,l.axis)(this,n),(0,l.radarAxis)(this,n),(0,l.title)(this,n),(0,l.bar)(this,n),(0,l.line)(this,n),(0,l.pie)(this,n),(0,l.radar)(this,n),(0,l.gauge)(this,n),(0,l.legend)(this,n),this.option=e,this.render.launchAnimation()},u.prototype.resize=function(){var e=this.container,t=this.canvas,n=this.render,r=this.option,i=e.clientWidth,o=e.clientHeight;t.setAttribute("width",i),t.setAttribute("height",o),n.area=[i,o],this.setOption(r)}},"04ff":function(e,t,n){var r=n("5ca1"),i=n("3ca5");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},"050c":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bezierCurveToPolyline",{enumerable:!0,get:function(){return i.bezierCurveToPolyline}}),Object.defineProperty(t,"getBezierCurveLength",{enumerable:!0,get:function(){return i.getBezierCurveLength}}),Object.defineProperty(t,"polylineToBezierCurve",{enumerable:!0,get:function(){return o["default"]}}),t["default"]=void 0;var i=n("2db9"),o=r(n("ae10")),a={bezierCurveToPolyline:i.bezierCurveToPolyline,getBezierCurveLength:i.getBezierCurveLength,polylineToBezierCurve:o["default"]};t["default"]=a},"0558":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  15. //! moment.js locale configuration
  16. function t(e){return e%100===11||e%10!==1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}var r=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},"0676":function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"0680":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.axis=v;var i=r(n("7037")),o=r(n("278c")),a=r(n("9523")),s=r(n("448a")),l=n("18ad"),u=n("9d85"),c=n("becb"),d=n("5557");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,a["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={xAxisConfig:u.xAxisConfig,yAxisConfig:u.yAxisConfig},m=(Math.min,Math.max,Math.abs),g=Math.pow;function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,r=t.yAxis,i=t.series,o=[];n&&r&&i&&(o=y(n,r),o=b(o),o=o.filter((function(e){var t=e.show;return t})),o=_(o),o=w(o,i),o=j(o),o=P(o,e),o=R(o,e),o=B(o,e),o=Y(o,e)),(0,l.doUpdate)({chart:e,series:o,key:"axisLine",getGraphConfig:F}),(0,l.doUpdate)({chart:e,series:o,key:"axisTick",getGraphConfig:V}),(0,l.doUpdate)({chart:e,series:o,key:"axisLabel",getGraphConfig:$}),(0,l.doUpdate)({chart:e,series:o,key:"axisName",getGraphConfig:Z}),(0,l.doUpdate)({chart:e,series:o,key:"splitLine",getGraphConfig:te}),e.axisData=o}function y(e,t){var n,r,i=[],o=[];e instanceof Array?(n=i).push.apply(n,(0,s["default"])(e)):i.push(e);t instanceof Array?(r=o).push.apply(r,(0,s["default"])(t)):o.push(t);return i.splice(2),o.splice(2),i=i.map((function(e,t){return f(f({},e),{},{index:t,axis:"x"})})),o=o.map((function(e,t){return f(f({},e),{},{index:t,axis:"y"})})),[].concat((0,s["default"])(i),(0,s["default"])(o))}function b(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),n=e.filter((function(e){var t=e.axis;return"y"===t}));return t=t.map((function(e){return(0,c.deepMerge)((0,d.deepClone)(u.xAxisConfig),e)})),n=n.map((function(e){return(0,c.deepMerge)((0,d.deepClone)(u.yAxisConfig),e)})),[].concat((0,s["default"])(t),(0,s["default"])(n))}function _(e){var t=e.filter((function(e){var t=e.data;return"value"===t})),n=e.filter((function(e){var t=e.data;return"value"!==t}));return t.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!1)})),n.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!0)})),[].concat((0,s["default"])(t),(0,s["default"])(n))}function w(e,t){var n=e.filter((function(e){var t=e.data;return"value"===t})),r=e.filter((function(e){var t=e.data;return t instanceof Array}));return n=x(n,t),r=E(r),[].concat((0,s["default"])(n),(0,s["default"])(r))}function x(e,t){return e.map((function(e){var n=k(e,t),r=C(e,n),i=(0,o["default"])(r,2),a=i[0],s=i[1],l=I(a,s,e),u=e.axisLabel.formatter,c=[];return c=a<0&&s>0?L(a,s,l):A(a,s,l),c=c.map((function(e){return parseFloat(e.toFixed(2))})),f(f({},e),{},{maxValue:c.slice(-1)[0],minValue:c[0],label:D(c,u)})}))}function k(e,t){if(t=t.filter((function(e){var t=e.show,n=e.type;return!1!==t&&"pie"!==n})),0===t.length)return[0,0];var n=e.index,r=e.axis;t=S(t);var i=r+"Axis",o=t.filter((function(e){return e[i]===n}));return o.length||(o=t),M(o)}function M(e){if(e){var t=Math.min.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.min.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))})))),n=Math.max.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.max.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))}))));return[t,n]}}function S(e){var t=(0,d.deepClone)(e,!0);return e.forEach((function(n,r){var i=(0,c.mergeSameStackData)(n,e);t[r].data=i})),t}function C(e,t){var n=e.min,r=e.max,a=e.axis,s=(0,o["default"])(t,2),l=s[0],u=s[1],c=(0,i["default"])(n),d=(0,i["default"])(r);if(O(n)||(n=p[a+"AxisConfig"].min,c="string"),O(r)||(r=p[a+"AxisConfig"].max,d="string"),"string"===c){n=parseInt(l-m(l*parseFloat(n)/100));var h=T(n);n=parseFloat((n/h-.1).toFixed(1))*h}if("string"===d){r=parseInt(u+m(u*parseFloat(r)/100));var f=T(r);r=parseFloat((r/f+.1).toFixed(1))*f}return[n,r]}function T(e){var t=m(e).toString(),n=t.length,r=t.replace(/0*$/g,"").indexOf("0"),i=n-1;return-1!==r&&(i-=r),g(10,i)}function O(e){var t=(0,i["default"])(e),n="string"===t&&/^\d+%$/.test(e),r="number"===t;return n||r}function L(e,t,n){var r=[],i=[],o=0,a=0;do{r.push(o-=n)}while(o>e);do{i.push(a+=n)}while(a<t);return[].concat((0,s["default"])(r.reverse()),[0],(0,s["default"])(i))}function A(e,t,n){var r=[e],i=e;do{r.push(i+=n)}while(i<t);return r}function D(e,t){return t?("string"===typeof t&&(e=e.map((function(e){return t.replace("{value}",e)}))),"function"===typeof t&&(e=e.map((function(e,n){return t({value:e,index:n})}))),e):e}function E(e){return e.map((function(e){var t=e.data,n=e.axisLabel.formatter;return f(f({},e),{},{label:D(t,n)})}))}function I(e,t,n){var r=n.interval,i=n.minInterval,o=n.maxInterval,a=n.splitNumber,s=n.axis,l=p[s+"AxisConfig"];if("number"!==typeof r&&(r=l.interval),"number"!==typeof i&&(i=l.minInterval),"number"!==typeof o&&(o=l.maxInterval),"number"!==typeof a&&(a=l.splitNumber),"number"===typeof r)return r;var u=parseInt((t-e)/(a-1));return u.toString().length>1&&(u=parseInt(u.toString().replace(/\d$/,"0"))),0===u&&(u=1),"number"===typeof i&&u<i?i:"number"===typeof o&&u>o?o:u}function j(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),n=e.filter((function(e){var t=e.axis;return"y"===t}));return t[0]&&!t[0].position&&(t[0].position=u.xAxisConfig.position),t[1]&&!t[1].position&&(t[1].position="bottom"===t[0].position?"top":"bottom"),n[0]&&!n[0].position&&(n[0].position=u.yAxisConfig.position),n[1]&&!n[1].position&&(n[1].position="left"===n[0].position?"right":"left"),[].concat((0,s["default"])(t),(0,s["default"])(n))}function P(e,t){var n=t.gridArea,r=n.x,i=n.y,o=n.w,a=n.h;return e=e.map((function(e){var t=e.position,n=[];return"left"===t?n=[[r,i],[r,i+a]].reverse():"right"===t?n=[[r+o,i],[r+o,i+a]].reverse():"top"===t?n=[[r,i],[r+o,i]]:"bottom"===t&&(n=[[r,i+a],[r+o,i+a]]),f(f({},e),{},{linePosition:n})})),e}function R(e,t){return e.map((function(e){var t=e.axis,n=e.linePosition,r=e.position,i=e.label,a=e.boundaryGap;"boolean"!==typeof a&&(a=p[t+"AxisConfig"].boundaryGap);var s=i.length,l=(0,o["default"])(n,2),u=(0,o["default"])(l[0],2),c=u[0],d=u[1],h=(0,o["default"])(l[1],2),m=h[0],g=h[1],v="x"===t?m-c:g-d,y=v/(a?s:s-1),b=new Array(s).fill(0).map((function(e,n){return"x"===t?[c+y*(a?n+.5:n),d]:[c,d+y*(a?n+.5:n)]})),_=N(t,a,r,b,y);return f(f({},e),{},{tickPosition:b,tickLinePosition:_,tickGap:y})}))}function N(e,t,n,r,i){var a="x"===e?1:0,s=5;"x"===e&&"top"===n&&(s=-5),"y"===e&&"left"===n&&(s=-5);var l=r.map((function(e){var t=(0,d.deepClone)(e);return t[a]+=s,[(0,d.deepClone)(e),t]}));return t?(a="x"===e?0:1,s=i/2,l.forEach((function(e){var t=(0,o["default"])(e,2),n=t[0],r=t[1];n[a]+=s,r[a]+=s})),l):l}function B(e,t){return e.map((function(e){var t=e.nameGap,n=e.nameLocation,r=e.position,i=e.linePosition,a=(0,o["default"])(i,2),l=a[0],u=a[1],c=(0,s["default"])(l);"end"===n&&(c=(0,s["default"])(u)),"center"===n&&(c[0]=(l[0]+u[0])/2,c[1]=(l[1]+u[1])/2);var d=0;"top"===r&&"center"===n&&(d=1),"bottom"===r&&"center"===n&&(d=1),"left"===r&&"center"!==n&&(d=1),"right"===r&&"center"!==n&&(d=1);var h=t;return"top"===r&&"end"!==n&&(h*=-1),"left"===r&&"start"!==n&&(h*=-1),"bottom"===r&&"start"===n&&(h*=-1),"right"===r&&"end"===n&&(h*=-1),c[d]+=h,f(f({},e),{},{namePosition:c})}))}function Y(e,t){var n=t.gridArea,r=n.w,i=n.h;return e.map((function(e){var t=e.tickLinePosition,n=e.position,a=e.boundaryGap,l=0,u=r;"top"!==n&&"bottom"!==n||(l=1),"top"!==n&&"bottom"!==n||(u=i),"right"!==n&&"bottom"!==n||(u*=-1);var c=t.map((function(e){var t=(0,o["default"])(e,1),n=t[0],r=(0,s["default"])(n);return r[l]+=u,[(0,s["default"])(n),r]}));return a||c.shift(),f(f({},e),{},{splitLinePosition:c})}))}function F(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel;return[{name:"polyline",index:r,visible:e.axisLine.show,animationCurve:t,animationFrame:n,shape:z(e),style:H(e)}]}function z(e){var t=e.linePosition;return{points:t}}function H(e){return e.axisLine.style}function V(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=W(e),o=U(e);return i.map((function(i){return{name:"polyline",index:r,visible:e.axisTick.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function W(e){var t=e.tickLinePosition;return t.map((function(e){return{points:e}}))}function U(e){return e.axisTick.style}function $(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=G(e),o=X(e,i);return i.map((function(i,a){return{name:"text",index:r,visible:e.axisLabel.show,animationCurve:t,animationFrame:n,shape:i,style:o[a],setGraphCenter:function(){}}}))}function G(e){var t=e.label,n=e.tickPosition,r=e.position;return n.map((function(e,n){return{position:q(e,r),content:t[n].toString()}}))}function q(e,t){var n=0,r=10;return"top"!==t&&"bottom"!==t||(n=1),"top"!==t&&"left"!==t||(r=-10),e=(0,d.deepClone)(e),e[n]+=r,e}function X(e,t){var n=e.position,r=e.axisLabel.style,i=K(n);r=(0,c.deepMerge)(i,r);var o=t.map((function(e){var t=e.position;return f(f({},r),{},{graphCenter:t})}));return o}function K(e){return"left"===e?{textAlign:"right",textBaseline:"middle"}:"right"===e?{textAlign:"left",textBaseline:"middle"}:"top"===e?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e?{textAlign:"center",textBaseline:"top"}:void 0}function Z(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel;return[{name:"text",index:r,animationCurve:t,animationFrame:n,shape:J(e),style:Q(e)}]}function J(e){var t=e.name,n=e.namePosition;return{content:t,position:n}}function Q(e){var t=e.nameLocation,n=e.position,r=e.nameTextStyle,i=ee(n,t);return(0,c.deepMerge)(i,r)}function ee(e,t){return"top"===e&&"start"===t||"bottom"===e&&"start"===t||"left"===e&&"center"===t?{textAlign:"right",textBaseline:"middle"}:"top"===e&&"end"===t||"bottom"===e&&"end"===t||"right"===e&&"center"===t?{textAlign:"left",textBaseline:"middle"}:"top"===e&&"center"===t||"left"===e&&"end"===t||"right"===e&&"end"===t?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e&&"center"===t||"left"===e&&"start"===t||"right"===e&&"start"===t?{textAlign:"center",textBaseline:"top"}:void 0}function te(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=ne(e),o=re(e);return i.map((function(i){return{name:"polyline",index:r,visible:e.splitLine.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function ne(e){var t=e.splitLinePosition;return t.map((function(e){return{points:e}}))}function re(e){return e.splitLine.style}},"06a7":function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},"06db":function(e,t,n){"use strict";var r=n("23c6"),i={};i[n("2b4c")("toStringTag")]="z",i+""!="[object z]"&&n("2aba")(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},"0721":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  17. //! moment.js locale configuration
  18. var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"079e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  19. //! moment.js locale configuration
  20. var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t}))},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"0808":function(e,t,n){},"097d":function(e,t,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},"09e0":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},"09fa":function(e,t,n){var r=n("4588"),i=n("9def");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},"0a06":function(e,t,n){"use strict";var r=n("2444"),i=n("c532"),o=n("f6b49"),a=n("5270");function s(e){this.defaults=e,this.interceptors={request:new o,response:new o}}s.prototype.request=function(e){"string"===typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),e=i.merge(r,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[a,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},i.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}})),i.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=s},"0a3c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  21. //! moment.js locale configuration
  22. var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return o}))},"0a49":function(e,t,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var m,g,v=o(t),y=i(v),b=r(s,p,3),_=a(y.length),w=0,x=n?f(t,_):l?f(t,0):void 0;_>w;w++)if((h||w in y)&&(m=y[w],g=b(m,w,v),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(c)return!1;return d?-1:u||c?c:x}}},"0a84":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  23. //! moment.js locale configuration
  24. var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"0b21":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{sign:n("96fb")})},"0bfb":function(e,t,n){"use strict";var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0c00":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},"0c36":function(e,t,n){var r=n("5ca1");r(r.G,{global:n("7726")})},"0ca1":function(e,t,n){"use strict";var r=n("4ea4"),i=r(n("9523")),o=r(n("448a")),a=n("9886"),s=n("b06d"),l=n("5557"),u=n("a870"),c=n("becb");function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={shape:{rx:0,ry:0,ir:0,or:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,n=["rx","ry","ir","or","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("Pie shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.rx,a=r.ry,s=r.ir,u=r.or,c=r.startAngle,d=r.endAngle,h=r.clockWise;i=parseInt(i)+.5,a=parseInt(a)+.5,n.arc(i,a,s>0?s:0,c,d,!h);var f=(0,l.getCircleRadianPoint)(i,a,u,d).map((function(e){return parseInt(e)+.5})),p=(0,l.getCircleRadianPoint)(i,a,s,c).map((function(e){return parseInt(e)+.5}));n.lineTo.apply(n,(0,o["default"])(f)),n.arc(i,a,u>0?u:0,d,c,h),n.lineTo.apply(n,(0,o["default"])(p)),n.closePath(),n.stroke(),n.fill()}},p={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,gradientStartAngle:null,gradientEndAngle:null},validator:function(e){var t=e.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("AgArc shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape,i=t.style,o=i.gradient;o=o.map((function(e){return(0,u.getColorFromRgbValue)(e)})),1===o.length&&(o=[o[0],o[0]]);var a=o.length-1,s=r.gradientStartAngle,d=r.gradientEndAngle,h=r.startAngle,f=r.endAngle,p=r.r,m=r.rx,g=r.ry;null===s&&(s=h),null===d&&(d=f);var v=(d-s)/a;v===2*Math.PI&&(v=2*Math.PI-.001);for(var y=0;y<a;y++){n.beginPath();var b=(0,l.getCircleRadianPoint)(m,g,p,h+v*y),_=(0,l.getCircleRadianPoint)(m,g,p,h+v*(y+1)),w=(0,c.getLinearGradientColor)(n,b,_,[o[y],o[y+1]]),x=h+v*y,k=h+v*(y+1),M=!1;if(k>f&&(k=f,M=!0),n.arc(m,g,p,x,k),n.strokeStyle=w,n.stroke(),M)break}}},m={shape:{number:[],content:"",position:[0,0],toFixed:0,rowGap:0,formatter:null},validator:function(e){var t=e.shape,n=t.number,r=t.content,i=t.position;return n instanceof Array&&"string"===typeof r&&i instanceof Array||(console.error("NumberText shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape,i=r.number,o=r.content,a=r.toFixed,l=r.rowGap,u=r.formatter,c=o.split("{nt}"),d="";c.forEach((function(e,t){var n=i[t];"number"!==typeof n&&(n=""),"number"===typeof n&&(n=n.toFixed(a),"function"===typeof u&&(n=u(n))),d+=e+(n||"")})),s.text.draw({ctx:n},{shape:h(h({},r),{},{content:d,rowGap:l})})}},g={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,n=t.x,r=t.y,i=t.w,o=t.h;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i&&"number"===typeof o||(console.error("lineIcon shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.x,o=r.y,a=r.w,s=r.h,l=s/2;n.strokeStyle=n.fillStyle,n.moveTo(i,o+l),n.lineTo(i+a,o+l),n.lineWidth=1,n.stroke(),n.beginPath();var u=l-10;u<=0&&(u=3),n.arc(i+a/2,o+l,u,0,2*Math.PI),n.lineWidth=5,n.stroke(),n.fillStyle="#fff",n.fill()},hoverCheck:function(e,t){var n=t.shape,r=n.x,i=n.y,o=n.w,a=n.h;return(0,l.checkPointIsInRect)(e,r,i,o,a)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.x,o=n.y,a=n.w,s=n.h;r.graphCenter=[i+a/2,o+s/2]}};(0,a.extendNewGraph)("pie",f),(0,a.extendNewGraph)("agArc",p),(0,a.extendNewGraph)("numberText",m),(0,a.extendNewGraph)("lineIcon",g)},"0caa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  25. //! moment.js locale configuration
  26. function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},"0cd4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxisConfig=void 0;var r={show:!0,center:["50%","50%"],radius:"65%",startAngle:-Math.PI/2,splitNum:5,polygon:!1,axisLabel:{show:!0,labelGap:15,color:[],style:{fill:"#333"}},axisLine:{show:!0,color:[],style:{stroke:"#999",lineWidth:1}},splitLine:{show:!0,color:[],style:{stroke:"#d4d4d4",lineWidth:1}},splitArea:{show:!1,color:["#f5f5f5","#e6e6e6"],style:{}},rLevel:-10,animationCurve:"easeOutCubic",animationFrane:50};t.radarAxisConfig=r},"0cd8":function(e,t,n){"use strict";var r=n("5ca1"),i=n("7b23");r(r.P+r.F*!n("2f21")([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},"0d25":function(e,t,n){var r=n("5ca1"),i=n("8079")(),o=n("7726").process,a="process"==n("2d95")(o);r(r.G,{asap:function(e){var t=a&&o.domain;i(t?t.bind(e):e)}})},"0d58":function(e,t,n){var r=n("ce10"),i=n("e11e");e.exports=Object.keys||function(e){return r(e,i)}},"0d6d":function(e,t,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("freeze",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0e49":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  27. //! moment.js locale configuration
  28. var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},"0e6b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  29. //! moment.js locale configuration
  30. var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t}))},"0e81":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  31. //! moment.js locale configuration
  32. var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,i=e%100-r,o=e>=100?100:null;return e+(t[r]||t[i]||t[o])}},week:{dow:1,doy:7}});return n}))},"0f14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  33. //! moment.js locale configuration
  34. var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"0f38":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  35. //! moment.js locale configuration
  36. var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"0f88":function(e,t,n){var r,i=n("7726"),o=n("32e9"),a=n("ca5a"),s=a("typed_array"),l=a("view"),u=!(!i.ArrayBuffer||!i.DataView),c=u,d=0,h=9,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(d<h)(r=i[f[d++]])?(o(r.prototype,s,!0),o(r.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},"0fc9":function(e,t,n){var r=n("3a38"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},"0ff2":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  37. //! moment.js locale configuration
  38. var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=l(r),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10ad":function(e,t,n){"use strict";var r,i=n("7726"),o=n("0a49")(0),a=n("2aba"),s=n("67ab"),l=n("7333"),u=n("643e"),c=n("d3f4"),d=n("b39a"),h=n("b39a"),f=!i.ActiveXObject&&"ActiveXObject"in i,p="WeakMap",m=s.getWeak,g=Object.isExtensible,v=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(c(e)){var t=m(e);return!0===t?v(d(this,p)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,p),e,t)}},_=e.exports=n("e0b8")(p,y,b,u,!0,!0);h&&f&&(r=u.getConstructor(y,p),l(r.prototype,b),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=_.prototype,n=t[e];a(t,e,(function(t,i){if(c(t)&&!g(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)}))})))},"10b7":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){
  39. /** @preserve
  40. (c) 2012 by Cédric Mesnil. All rights reserved.
  41. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  42. - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  43. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  44. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  45. */
  46. return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),f=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,f,_,w,x,k,M,S,C,T,O=this._hash.words,L=d.words,A=h.words,D=s.words,E=l.words,I=u.words,j=c.words;x=o=O[0],k=a=O[1],M=f=O[2],S=_=O[3],C=w=O[4];for(n=0;n<80;n+=1)T=o+e[t+D[n]]|0,T+=n<16?p(a,f,_)+L[0]:n<32?m(a,f,_)+L[1]:n<48?g(a,f,_)+L[2]:n<64?v(a,f,_)+L[3]:y(a,f,_)+L[4],T|=0,T=b(T,I[n]),T=T+w|0,o=w,w=_,_=b(f,10),f=a,a=T,T=x+e[t+E[n]]|0,T+=n<16?y(k,M,S)+A[0]:n<32?v(k,M,S)+A[1]:n<48?g(k,M,S)+A[2]:n<64?m(k,M,S)+A[3]:p(k,M,S)+A[4],T|=0,T=b(T,j[n]),T=T+C|0,x=C,C=S,S=b(M,10),M=k,k=T;T=O[1]+f+S|0,O[1]=O[2]+_+C|0,O[2]=O[3]+w+x|0,O[3]=O[4]+o+k|0,O[4]=O[0]+a+M|0,O[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<<t|e>>>32-t}n.RIPEMD160=o._createHelper(f),n.HmacRIPEMD160=o._createHmacHelper(f)}(Math),e.RIPEMD160}))},"10e8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  47. //! moment.js locale configuration
  48. var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},1132:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=t[o>>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,l=t[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|s<<8|l,c=0;c<4&&o+.75*c<n;c++)i.push(r.charAt(u>>>6*(3-c)&63));var d=r.charAt(64);if(d)while(i.length%4)i.push(d);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i<n.length;i++)r[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return o(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(e,t,n){for(var i=[],o=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2,l=n[e.charCodeAt(a)]>>>6-a%4*2,u=s|l;i[o>>>2]|=u<<24-o%4*8,o++}return r.create(i,o)}}(),e.enc.Base64}))},1169:function(e,t,n){var r=n("2d95");e.exports=Array.isArray||function(e){return"Array"==r(e)}},1173:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"11b0":function(e,t){function n(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"11b09":function(e,t,n){},"11e9":function(e,t,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),l=n("c69a"),u=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},"130f":function(e,t,n){var r=n("5ca1"),i=n("1991");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},1382:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],a=[],s=[],l=i.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)u.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,h=c<<16|65535&l;i[0]^=l,i[1]^=d,i[2]^=c,i[3]^=h,i[4]^=l,i[5]^=d,i[6]^=c,i[7]^=h;for(n=0;n<4;n++)u.call(this)}},_doProcessBlock:function(e,t){var n=this._X;u.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(l)}(),e.Rabbit}))},1395:function(e,t,n){e.exports=n("7726")},"13e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  49. //! moment.js locale configuration
  50. var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,i){var o,a=t.words[r];return 1===r.length?"y"===r&&n?"једна година":i||n?a[0]:a[1]:(o=t.correctGrammaticalCase(e,a),"yy"===r&&n&&"годину"===o?e+" година":e+" "+o)}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},1448:function(e,t,n){"use strict";n("386b")("strike",(function(e){return function(){return e(this,"strike","","")}}))},1495:function(e,t,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},"14b9":function(e,t,n){var r=n("5ca1");r(r.P,"String",{repeat:n("9744")})},"15ac":function(e,t,n){n("ec30")("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},1654:function(e,t,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"165b":function(e,t,n){var r=n("d3f4");n("5eda")("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},"167b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  51. //! moment.js locale configuration
  52. var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"178b":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("f410"),i=n.n(r);function o(e){if(i()(e))return e}},"17e1":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,i=r.init,o=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r<t;r++)n[r>>>2]|=e[r]<<24-r%4*8;i.call(this,n,t)}else i.apply(this,arguments)};o.prototype=r}}(),e.lib.WordArray}))},"17ed":function(e,t,n){e.exports={default:n("d8d6"),__esModule:!0}},"18ad":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.doUpdate=f,t.Updater=void 0;var i=r(n("448a")),o=r(n("7037")),a=r(n("970b")),s=function e(t,n){(0,a["default"])(this,e);var r=t.chart,i=t.key,o=t.getGraphConfig;"function"===typeof o?(r[i]||(this.graphs=r[i]=[]),Object.assign(this,t),this.update(n)):console.warn("Updater need function getGraphConfig!")};function l(e,t){var n=e.graphs,r=e.chart.render,i=n.length,o=t.length;if(i>o){var a=n.splice(o);a.forEach((function(e){return e.forEach((function(e){return r.delGraph(e)}))}))}}function u(e,t,n,r){var i=r.getGraphConfig,o=r.chart.render,a=r.beforeChange,s=i(t,r);c(e,s,o),e.forEach((function(e,t){var n=s[t];"function"===typeof a&&a(e,n),h(e,n)}))}function c(e,t,n){var r=e.length,o=t.length;if(o>r){var a=e.slice(-1)[0],s=o-r,l=new Array(s).fill(0).map((function(e){return n.clone(a)}));e.push.apply(e,(0,i["default"])(l))}else if(o<r){var u=e.splice(o);u.forEach((function(e){return n.delGraph(e)}))}}function d(e,t,n,r){var i=r.getGraphConfig,o=r.getStartGraphConfig,a=r.chart,s=a.render,l=null;"function"===typeof o&&(l=o(t,r));var u=i(t,r);if(u.length){l?(e[n]=l.map((function(e){return s.add(e)})),e[n].forEach((function(e,t){var n=u[t];h(e,n)}))):e[n]=u.map((function(e){return s.add(e)}));var c=r.afterAddGraph;"function"===typeof c&&c(e[n])}}function h(e,t){var n=Object.keys(t);n.forEach((function(n){"shape"===n||"style"===n?e.animation(n,t[n],!0):e[n]=t[n]}))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chart,n=e.series,r=e.key,i=e.getGraphConfig,o=e.getStartGraphConfig,a=e.beforeChange,l=e.beforeUpdate,u=e.afterAddGraph;t[r]?t[r].update(n):t[r]=new s({chart:t,key:r,getGraphConfig:i,getStartGraphConfig:o,beforeChange:a,beforeUpdate:l,afterAddGraph:u},n)}t.Updater=s,s.prototype.update=function(e){var t=this,n=this.graphs,r=this.beforeUpdate;if(l(this,e),e.length){var i=(0,o["default"])(r);e.forEach((function(e,o){"function"===i&&r(n,e,o,t);var a=n[o];a?u(a,e,o,t):d(n,e,o,t)}))}}},"18d0":function(e,t,n){var r=n("5ca1"),i=n("3ca5");r(r.G+r.F*(parseInt!=i),{parseInt:i})},"191b":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.algo,o=i.SHA256,a=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(a),t.HmacSHA224=o._createHmacHelper(a)}(),e.SHA224}))},1991:function(e,t,n){var r,i,o,a=n("9b43"),s=n("31f4"),l=n("fab2"),u=n("230e"),c=n("7726"),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},_=function(e){b.call(e.data)};h&&f||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},f=function(e){delete v[e]},"process"==n("2d95")(d)?r=function(e){d.nextTick(a(b,e,1))}:m&&m.now?r=function(e){m.now(a(b,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",_,!1)):r=y in u("script")?function(e){l.appendChild(u("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:f}},"1af6":function(e,t,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1b45":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  53. //! moment.js locale configuration
  54. var t=e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"1bc3":function(e,t,n){var r=n("f772");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"1c01":function(e,t,n){var r=n("5ca1");r(r.S+r.F*!n("9e1e"),"Object",{defineProperty:n("86cc").f})},"1c35":function(e,t,n){"use strict";(function(e){
  55. /*!
  56. * The buffer module from node.js, for the browser.
  57. *
  58. * @author Feross Aboukhadijeh <http://feross.org>
  59. * @license MIT
  60. */
  61. var r=n("1fb5"),i=n("9152"),o=n("e3db");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,n,r):"string"===typeof t?p(e,t,n):v(e,t)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,n,r){return d(t),t<=0?l(e,t):void 0!==n?"string"===typeof r?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}function f(e,t){if(d(t),e=l(e,t<0?0:0|y(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(t,n);e=l(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function m(e,t){var n=t.length<0?0:0|y(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function g(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}function v(e,t){if(u.isBuffer(t)){var n=0|y(t.length);return e=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(r)return K(e).length;t=(""+t).toLowerCase(),r=!0}}function w(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return D(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function x(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function k(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:M(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):M(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function M(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return-1}function S(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function C(e,t,n,r){return ee(K(t,e.length-n),e,n,r)}function T(e,t,n,r){return ee(Z(t),e,n,r)}function O(e,t,n,r){return T(e,t,n,r)}function L(e,t,n,r){return ee(Q(t),e,n,r)}function A(e,t,n,r){return ee(J(t,e.length-n),e,n,r)}function D(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);var r=[],i=t;while(i<n){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:o=e[i+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return j(r)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return h(null,e,t,n)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)x(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):w.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),d=0;d<s;++d)if(l[d]!==c[d]){o=l[d],a=c[d];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return k(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return k(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return S(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return T(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return L(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function j(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=I));return n}function P(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function N(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=X(e[o]);return i}function B(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function Y(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function H(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function V(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(e,t,n,r,o){return o||V(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,o){return o||V(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Y(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Y(e,t,this.length);var r=this[e+--t],i=1;while(t>0&&(i*=256))r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||Y(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||Y(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||Y(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||Y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||Y(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Y(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Y(e,t,this.length);var r=t,i=1,o=this[e+--r];while(r>0&&(i*=256))o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||Y(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||Y(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||Y(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||Y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||Y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||Y(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||Y(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||Y(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||Y(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;F(this,e,t,n,i,0)}var o=1,a=0;this[t]=255&e;while(++a<n&&(o*=256))this[t+a]=e/o&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;F(this,e,t,n,i,0)}var o=n-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<n&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return W(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return W(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:K(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function G(e){if(e=q(e).replace($,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function q(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function X(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function J(e,t){for(var n,r,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function Q(e){return r.toByteArray(G(e))}function ee(e,t,n,r){for(var i=0;i<r;++i){if(i+n>=t.length||i>=e.length)break;t[i+n]=e[i]}return i}function te(e){return e!==e}}).call(this,n("24aa"))},"1c4c":function(e,t,n){"use strict";var r=n("9b43"),i=n("5ca1"),o=n("4bf8"),a=n("1fa8"),s=n("33a4"),l=n("9def"),u=n("f1ae"),c=n("27ee");i(i.S+i.F*!n("5cc5")((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(h);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&s(y))for(t=l(h.length),n=new f(t);t>v;v++)u(n,v,g?m(h[v],v):h[v]);else for(d=y.call(h),n=new f;!(i=d.next()).done;v++)u(n,v,g?a(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},"1cfd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  62. //! moment.js locale configuration
  63. var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,o,a){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return a}))},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"1dac":function(e,t,n){},"1df6":function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},"1df8":function(e,t,n){var r=n("63b6");r(r.S,"Object",{setPrototypeOf:n("ead6").set})},"1e4c":function(e,t,n){},"1ec9":function(e,t,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"1f18":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},"1f55":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.gauge=m;var i=r(n("9523")),o=r(n("7037")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("cc6d"),c=n("5557"),d=n("becb"),h=n("a870");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var r=(0,d.initNeedSeries)(n,u.gaugeConfig,"gauge");r=g(r,e),r=v(r,e),r=y(r,e),r=b(r,e),r=_(r,e),r=w(r,e),r=x(r,e),r=k(r,e),r=M(r,e),r=S(r,e),(0,l.doUpdate)({chart:e,series:r,key:"gaugeAxisTick",getGraphConfig:T}),(0,l.doUpdate)({chart:e,series:r,key:"gaugeAxisLabel",getGraphConfig:A}),(0,l.doUpdate)({chart:e,series:r,key:"gaugeBackgroundArc",getGraphConfig:I,getStartGraphConfig:R}),(0,l.doUpdate)({chart:e,series:r,key:"gaugeArc",getGraphConfig:N,getStartGraphConfig:F,beforeChange:z}),(0,l.doUpdate)({chart:e,series:r,key:"gaugePointer",getGraphConfig:H,getStartGraphConfig:$}),(0,l.doUpdate)({chart:e,series:r,key:"gaugeDetails",getGraphConfig:G})}function g(e,t){var n=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*n[t]})),e.center=t})),e}function v(e,t){var n=t.render.area,r=Math.min.apply(Math,(0,s["default"])(n))/2;return e.forEach((function(e){var t=e.radius;"number"!==typeof t&&(t=parseInt(t)/100*r),e.radius=t})),e}function y(e,t){var n=t.render.area,r=Math.min.apply(Math,(0,s["default"])(n))/2;return e.forEach((function(e){var t=e.radius,n=e.data,i=e.arcLineWidth;n.forEach((function(e){var n=e.radius,o=e.lineWidth;n||(n=t),"number"!==typeof n&&(n=parseInt(n)/100*r),e.radius=n,o||(o=i),e.lineWidth=o}))})),e}function b(e,t){return e.forEach((function(e){var t=e.startAngle,n=e.endAngle,r=e.data,i=e.min,o=e.max,a=n-t,s=o-i;r.forEach((function(e){var n=e.value,r=Math.abs((n-i)/s*a);e.startAngle=t,e.endAngle=t+r}))})),e}function _(e,t){return e.forEach((function(e){var t=e.data;t.forEach((function(e){var t=e.color,n=e.gradient;n&&n.length||(n=t),n instanceof Array||(n=[n]),e.gradient=n}))})),e}function w(e,t){return e.forEach((function(e){var t=e.startAngle,n=e.endAngle,r=e.splitNum,i=e.center,o=e.radius,a=e.arcLineWidth,l=e.axisTick,u=l.tickLength,d=l.style.lineWidth,h=n-t,f=o-a/2,p=f-u,m=h/(r-1),g=2*Math.PI*o*h/(2*Math.PI),v=Math.ceil(d/2)/g*h;e.tickAngles=[],e.tickInnerRadius=[],e.tickPosition=new Array(r).fill(0).map((function(n,o){var a=t+m*o;return 0===o&&(a+=v),o===r-1&&(a-=v),e.tickAngles[o]=a,e.tickInnerRadius[o]=p,[c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([f,a])),c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([p,a]))]}))})),e}function x(e,t){return e.forEach((function(e){var t=e.center,n=e.tickInnerRadius,r=e.tickAngles,i=e.axisLabel.labelGap,o=r.map((function(e,o){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(t).concat([n[o]-i,r[o]]))})),l=o.map((function(e){var n=(0,a["default"])(e,2),r=n[0],i=n[1];return{textAlign:r>t[0]?"right":"left",textBaseline:i>t[1]?"bottom":"top"}}));e.labelPosition=o,e.labelAlign=l})),e}function k(e,t){return e.forEach((function(e){var t=e.axisLabel,n=e.min,r=e.max,i=e.splitNum,a=t.data,s=t.formatter,l=(r-n)/(i-1),u=new Array(i).fill(0).map((function(e,t){return parseInt(n+l*t)})),c=(0,o["default"])(s);a=(0,d.deepMerge)(u,a).map((function(e,t){var n=e;return"string"===c&&(n=s.replace("{value}",e)),"function"===c&&(n=s({value:e,index:t})),n})),t.data=a})),e}function M(e,t){return e.forEach((function(e){var t=e.data,n=e.details,r=e.center,i=n.position,o=n.offset,a=t.map((function(e){var t=e.startAngle,n=e.endAngle,a=e.radius,l=null;return"center"===i?l=r:"start"===i?l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([a,t])):"end"===i&&(l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([a,n]))),C(l,o)}));e.detailsPosition=a})),e}function S(e,t){return e.forEach((function(e){var t=e.data,n=e.details,r=n.formatter,i=(0,o["default"])(r),a=t.map((function(e){var t=e.value;return"string"===i&&(t=r.replace("{value}","{nt}"),t=t.replace("{name}",e.name)),"function"===i&&(t=r(e)),t.toString()}));e.detailsContent=a})),e}function C(e,t){var n=(0,a["default"])(e,2),r=n[0],i=n[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[r+s,i+l]}function T(e){var t=e.tickPosition,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"polyline",index:i,visible:e.axisTick.show,animationCurve:n,animationFrame:r,shape:O(e,o),style:L(e,o)}}))}function O(e,t){var n=e.tickPosition;return{points:n[t]}}function L(e,t){var n=e.axisTick.style;return n}function A(e){var t=e.labelPosition,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"text",index:i,visible:e.axisLabel.show,animationCurve:n,animationFrame:r,shape:D(e,o),style:E(e,o)}}))}function D(e,t){var n=e.labelPosition,r=e.axisLabel.data;return{content:r[t].toString(),position:n[t]}}function E(e,t){var n=e.labelAlign,r=e.axisLabel,i=r.style;return(0,d.deepMerge)(p({},n[t]),i)}function I(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel;return[{name:"arc",index:r,visible:e.backgroundArc.show,animationCurve:t,animationFrame:n,shape:j(e),style:P(e)}]}function j(e){var t=e.startAngle,n=e.endAngle,r=e.center,i=e.radius;return{rx:r[0],ry:r[1],r:i,startAngle:t,endAngle:n}}function P(e){var t=e.backgroundArc,n=e.arcLineWidth,r=t.style;return(0,d.deepMerge)({lineWidth:n},r)}function R(e){var t=I(e)[0],n=p({},t.shape);return n.endAngle=t.shape.startAngle,t.shape=n,[t]}function N(e){var t=e.data,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"agArc",index:i,animationCurve:n,animationFrame:r,shape:B(e,o),style:Y(e,o)}}))}function B(e,t){var n=e.data,r=e.center,i=e.endAngle,o=n[t],a=o.radius,s=o.startAngle,l=o.endAngle,u=o.localGradient;return u&&(i=l),{rx:r[0],ry:r[1],r:a,startAngle:s,endAngle:l,gradientEndAngle:i}}function Y(e,t){var n=e.data,r=e.dataItemStyle,i=n[t],o=i.lineWidth,a=i.gradient;return a=a.map((function(e){return(0,h.getRgbaValue)(e)})),(0,d.deepMerge)({lineWidth:o,gradient:a},r)}function F(e){var t=N(e);return t.map((function(e){var t=p({},e.shape);t.endAngle=e.shape.startAngle,e.shape=t})),t}function z(e,t){var n=e.style.gradient,r=n.length,i=t.style.gradient.length;if(r>i)n.splice(i);else{var o=n.slice(-1)[0];n.push.apply(n,(0,s["default"])(new Array(i-r).fill(0).map((function(e){return(0,s["default"])(o)}))))}}function H(e){var t=e.animationCurve,n=e.animationFrame,r=e.center,i=e.rLevel;return[{name:"polyline",index:i,visible:e.pointer.show,animationCurve:t,animationFrame:n,shape:V(e),style:W(e),setGraphCenter:function(e,t){t.style.graphCenter=r}}]}function V(e){var t=e.center;return{points:U(t),close:!0}}function W(e){var t=e.startAngle,n=e.endAngle,r=e.min,i=e.max,o=e.data,a=e.pointer,s=e.center,l=a.valueIndex,u=a.style,c=o[l]?o[l].value:0,h=(c-r)/(i-r)*(n-t)+t+Math.PI/2;return(0,d.deepMerge)({rotate:(0,d.radianToAngle)(h),scale:[1,1],graphCenter:s},u)}function U(e){var t=(0,a["default"])(e,2),n=t[0],r=t[1],i=[n,r-40],o=[n+5,r],s=[n,r+10],l=[n-5,r];return[i,o,s,l]}function $(e){var t=e.startAngle,n=H(e)[0];return n.style.rotate=(0,d.radianToAngle)(t+Math.PI/2),[n]}function G(e){var t=e.detailsPosition,n=e.animationCurve,r=e.animationFrame,i=e.rLevel,o=e.details.show;return t.map((function(t,a){return{name:"numberText",index:i,visible:o,animationCurve:n,animationFrame:r,shape:q(e,a),style:X(e,a)}}))}function q(e,t){var n=e.detailsPosition,r=e.detailsContent,i=e.data,o=e.details,a=n[t],s=r[t],l=i[t].value,u=o.valueToFixed;return{number:[l],content:s,position:a,toFixed:u}}function X(e,t){var n=e.details,r=e.data,i=n.style,o=r[t].color;return(0,d.deepMerge)({fill:o},i)}},"1f91":function(e,t,n){var r=n("5ca1"),i=n("e9d2"),o=n("91ca");r(r.S,"Math",{fscale:function(e,t,n,r,a){return o(i(e,t,n,r,a))}})},"1fa8":function(e,t,n){var r=n("cb7c");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e["return"];throw void 0!==o&&r(o.call(e)),a}}},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=h,t.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function d(e,t,n){return 3*(t+n)/4-n}function h(e){var t,n,r=u(e),a=r[0],s=r[1],l=new o(d(e,a,s)),c=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(f(r));return i.join("")}function m(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(p(e,s,s+a>l?l:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fc1":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  64. //! moment.js locale configuration
  65. function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}var r=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return r}))},"201b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  66. //! moment.js locale configuration
  67. var t=e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t}))},"204e":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.bar=p;var i=r(n("7037")),o=r(n("9523")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("9d85"),c=n("5557"),d=n("becb");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,o["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,r=t.yAxis,i=t.series,o=[];n&&r&&i&&(o=(0,d.initNeedSeries)(i,u.barConfig,"bar"),o=m(o,e),o=g(o,e),o=C(o,e)),(0,l.doUpdate)({chart:e,series:o.slice(-1),key:"backgroundBar",getGraphConfig:I}),o.reverse(),(0,l.doUpdate)({chart:e,series:o,key:"bar",getGraphConfig:N,getStartGraphConfig:U,beforeUpdate:X}),(0,l.doUpdate)({chart:e,series:o,key:"barLabel",getGraphConfig:K})}function m(e,t){var n=t.axisData;return e.forEach((function(e){var t=e.xAxisIndex,r=e.yAxisIndex;"number"!==typeof t&&(t=0),"number"!==typeof r&&(r=0);var i=n.find((function(e){var n=e.axis,r=e.index;return"".concat(n).concat(r)==="x".concat(t)})),o=n.find((function(e){var t=e.axis,n=e.index;return"".concat(t).concat(n)==="y".concat(r)})),a=[i,o],s=a.findIndex((function(e){var t=e.data;return"value"===t}));e.valueAxis=a[s],e.labelAxis=a[1-s]})),e}function g(e,t){var n=y(e);return n.forEach((function(e){v(e),_(e),w(e,t),x(e),S(e)})),e}function v(e){var t=b(e);t=t.map((function(e){return{stack:e,index:-1}}));var n=0;e.forEach((function(e){var r=e.stack;if(r){var i=t.find((function(e){var t=e.stack;return t===r}));-1===i.index&&(i.index=n,n++),e.barIndex=i.index}else e.barIndex=n,n++}))}function y(e){var t=e.map((function(e){var t=e.labelAxis,n=t.axis,r=t.index;return n+r}));return t=(0,s["default"])(new Set(t)),t.map((function(t){return e.filter((function(e){var n=e.labelAxis,r=n.axis,i=n.index;return r+i===t}))}))}function b(e){var t=[];return e.forEach((function(e){var n=e.stack;n&&t.push(n)})),(0,s["default"])(new Set(t))}function _(e){var t=(0,s["default"])(new Set(e.map((function(e){var t=e.barIndex;return t})))).length;e.forEach((function(e){return e.barNum=t}))}function w(e){var t=e.slice(-1)[0],n=t.barCategoryGap,r=t.labelAxis.tickGap,i=0;i="number"===typeof n?n:(1-parseInt(n)/100)*r,e.forEach((function(e){return e.barCategoryWidth=i}))}function x(e){var t=e.slice(-1)[0],n=t.barCategoryWidth,r=t.barWidth,i=t.barGap,o=t.barNum,s=[];"number"===typeof r||"auto"!==r?s=k(n,r,i,o):"auto"===r&&(s=M(n,r,i,o));var l=s,u=(0,a["default"])(l,2),c=u[0],d=u[1];e.forEach((function(e){e.barWidth=c,e.barGap=d}))}function k(e,t,n){var r=0,i=0;return r="number"===typeof t?t:parseInt(t)/100*e,i="number"===typeof n?n:parseInt(n)/100*r,[r,i]}function M(e,t,n,r){var i=0,o=0,a=e/r;if("number"===typeof n)o=n,i=a-o;else{var s=10+parseInt(n)/10;0===s?(i=2*a,o=-i):(i=a/s*10,o=a-i)}return[i,o]}function S(e){var t=e.slice(-1)[0],n=t.barGap,r=t.barWidth,i=t.barNum,o=(n+r)*i-n;e.forEach((function(e){return e.barAllWidthAndGap=o}))}function C(e,t){return e=O(e),e=T(e),e=A(e),e=D(e),e}function T(e){return e.map((function(e){var t=e.labelAxis,n=e.barAllWidthAndGap,r=e.barGap,i=e.barWidth,o=e.barIndex,a=t.tickGap,s=t.tickPosition,l=t.axis,u="x"===l?0:1,c=s.map((function(e,t){var l=s[t][u]-a/2,c=l+(a-n)/2;return c+(o+.5)*i+o*r}));return f(f({},e),{},{barLabelAxisPos:c})}))}function O(e){return e.map((function(t){var n=(0,d.mergeSameStackData)(t,e);n=L(t,n);var r=t.valueAxis,i=r.axis,o=r.minValue,a=r.maxValue,s=r.linePosition,l=E(o,a,o<0?0:o,s,i),u=n.map((function(e){return E(o,a,e,s,i)})),c=u.map((function(e){return[l,e]}));return f(f({},t),{},{barValueAxisPos:c})}))}function L(e,t){var n=e.data;return t.map((function(e,t){return"number"===typeof n[t]?e:null})).filter((function(e){return null!==e}))}function A(e){return e.map((function(e){var t=e.barLabelAxisPos,n=e.data;return n.forEach((function(e,n){"number"!==typeof e&&(t[n]=null)})),f(f({},e),{},{barLabelAxisPos:t.filter((function(e){return null!==e}))})}))}function D(e){return e.forEach((function(e){var t=e.data,n=e.barLabelAxisPos,r=e.barValueAxisPos,i=t.filter((function(e){return"number"===typeof e})).length,o=n.length;o>i&&(n.splice(i),r.splice(i))})),e}function E(e,t,n,r,i){if("number"!==typeof n)return null;var o=t-e,a="x"===i?0:1,s=r[1][a]-r[0][a],l=(n-e)/o;0===o&&(l=0);var u=l*s;return u+r[0][a]}function I(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=j(e),o=R(e);return i.map((function(i){return{name:"rect",index:r,visible:e.backgroundBar.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function j(e){var t=e.labelAxis,n=e.valueAxis,r=t.tickPosition,i=n.axis,o=n.linePosition,a=P(e),s=a/2,l="x"===i?0:1,u=r.map((function(e){return e[1-l]})),c=[o[0][l],o[1][l]],d=c[0],h=c[1];return u.map((function(e){return"x"===i?{x:d,y:e-s,w:h-d,h:a}:{x:e-s,y:h,w:a,h:d-h}}))}function P(e){var t=e.barAllWidthAndGap,n=e.barCategoryWidth,r=e.backgroundBar,i=r.width;return"number"===typeof i?i:"auto"===i?t:parseInt(i)/100*n}function R(e){return e.backgroundBar.style}function N(e){var t=e.barLabelAxisPos,n=e.animationCurve,r=e.animationFrame,i=e.rLevel,o=B(e);return t.map((function(t,a){return{name:o,index:i,animationCurve:n,animationFrame:r,shape:Y(e,a),style:V(e,a)}}))}function B(e){var t=e.shapeType;return"leftEchelon"===t||"rightEchelon"===t?"polyline":"rect"}function Y(e,t){var n=e.shapeType;return"leftEchelon"===n?F(e,t):"rightEchelon"===n?z(e,t):H(e,t)}function F(e,t){var n=e.barValueAxisPos,r=e.barLabelAxisPos,i=e.barWidth,o=e.echelonOffset,s=(0,a["default"])(n[t],2),l=s[0],u=s[1],c=r[t],d=i/2,h=e.valueAxis.axis,f=[];return"x"===h?(f[0]=[u,c-d],f[1]=[u,c+d],f[2]=[l,c+d],f[3]=[l+o,c-d],u-l<o&&f.splice(3,1)):(f[0]=[c-d,u],f[1]=[c+d,u],f[2]=[c+d,l],f[3]=[c-d,l-o],l-u<o&&f.splice(3,1)),{points:f,close:!0}}function z(e,t){var n=e.barValueAxisPos,r=e.barLabelAxisPos,i=e.barWidth,o=e.echelonOffset,s=(0,a["default"])(n[t],2),l=s[0],u=s[1],c=r[t],d=i/2,h=e.valueAxis.axis,f=[];return"x"===h?(f[0]=[u,c+d],f[1]=[u,c-d],f[2]=[l,c-d],f[3]=[l+o,c+d],u-l<o&&f.splice(2,1)):(f[0]=[c+d,u],f[1]=[c-d,u],f[2]=[c-d,l],f[3]=[c+d,l-o],l-u<o&&f.splice(2,1)),{points:f,close:!0}}function H(e,t){var n=e.barValueAxisPos,r=e.barLabelAxisPos,i=e.barWidth,o=(0,a["default"])(n[t],2),s=o[0],l=o[1],u=r[t],c=e.valueAxis.axis,d={};return"x"===c?(d.x=s,d.y=u-i/2,d.w=l-s,d.h=i):(d.x=u-i/2,d.y=l,d.w=i,d.h=s-l),d}function V(e,t){var n=e.barStyle,r=e.gradient,i=e.color,o=e.independentColor,a=e.independentColors,s=[n.fill||i],l=(0,d.deepMerge)(s,r.color);if(o){var u=a[t%a.length];l=u instanceof Array?u:[u]}1===l.length&&l.push(l[0]);var c=W(e,t);return(0,d.deepMerge)({gradientColor:l,gradientParams:c,gradientType:"linear",gradientWith:"fill"},n)}function W(e,t){var n=e.barValueAxisPos,r=e.barLabelAxisPos,i=e.data,o=e.valueAxis,s=o.linePosition,l=o.axis,u=(0,a["default"])(n[t],2),c=u[0],d=u[1],h=r[t],f=i[t],p=(0,a["default"])(s,2),m=p[0],g=p[1],v="x"===l?0:1,y=d;return e.gradient.local||(y=f<0?m[v]:g[v]),"y"===l?[h,y,h,c]:[y,h,c,h]}function U(e){var t=N(e),n=e.shapeType;return t.forEach((function(t){var r=t.shape;r="leftEchelon"===n?$(r,e):"rightEchelon"===n?G(r,e):q(r,e),t.shape=r})),t}function $(e,t){var n=t.valueAxis.axis;e=(0,c.deepClone)(e);var r=e,i=r.points,o="x"===n?0:1,a=i[2][o];return i.forEach((function(e){return e[o]=a})),e}function G(e,t){var n=t.valueAxis.axis;e=(0,c.deepClone)(e);var r=e,i=r.points,o="x"===n?0:1,a=i[2][o];return i.forEach((function(e){return e[o]=a})),e}function q(e,t){var n=t.valueAxis.axis,r=e.x,i=e.y,o=e.w,a=e.h;return"x"===n?o=0:(i+=a,a=0),{x:r,y:i,w:o,h:a}}function X(e,t,n,r){var i=r.chart.render,o=B(t);e[n]&&e[n][0].name!==o&&(e[n].forEach((function(e){return i.delGraph(e)})),e[n]=null)}function K(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=Z(e),o=te(e);return i.map((function(i){return{name:"text",index:r,visible:e.label.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function Z(e){var t=J(e),n=Q(e);return n.map((function(e,n){return{position:e,content:t[n]}}))}function J(e){var t=e.data,n=e.label,r=n.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!r)return t;var o=(0,i["default"])(r);return"string"===o?t.map((function(e){return r.replace("{value}",e)})):"function"===o?t.map((function(e,t){return r({value:e,index:t})})):t}function Q(e){var t=e.label,n=e.barValueAxisPos,r=e.barLabelAxisPos,i=t.position,o=t.offset,s=e.valueAxis.axis;return n.map((function(e,t){var n=(0,a["default"])(e,2),l=n[0],u=n[1],c=r[t],d=[u,c];return"bottom"===i&&(d=[l,c]),"center"===i&&(d=[(l+u)/2,c]),"y"===s&&d.reverse(),ee(d,o)}))}function ee(e,t){var n=(0,a["default"])(e,2),r=n[0],i=n[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[r+s,i+l]}function te(e){var t=e.color,n=e.label.style,r=e.gradient.color;return r.length&&(t=r[0]),n=(0,d.deepMerge)({fill:t},n),n}},"20d6":function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"20fc":function(e,t,n){var r=n("5ca1"),i=n("8894"),o=n("2aeb");r(r.S+r.F,"Object",{make:function(e,t){return i(o(e),t)}})},"20fd":function(e,t,n){"use strict";var r=n("d9f6"),i=n("aebd");e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},"214f":function(e,t,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),u=s("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!c||"split"===e&&!d){var m=/./[h],g=n(a,h,""[e],(function(e,t,n,r,i){return t.exec===l?f&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,e,v),i(RegExp.prototype,h,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"217b":function(e,t,n){"use strict";var r=n("d3f4"),i=n("38fd"),o=n("2b4c")("hasInstance"),a=Function.prototype;o in a||n("86cc").f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;while(e=i(e))if(this.prototype===e)return!0;return!1}})},"21a1":function(e,t,n){(function(t){(function(t,n){e.exports=n()})(0,(function(){"use strict";"undefined"!==typeof window?window:"undefined"!==typeof t||"undefined"!==typeof self&&self;function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}var n=e((function(e,t){(function(t,n){e.exports=n()})(0,(function(){function e(e){var t=e&&"object"===typeof e;return t&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&e(n)?o(t(n),n,r):n}function r(t,r,i){var a=t.slice();return r.forEach((function(r,s){"undefined"===typeof a[s]?a[s]=n(r,i):e(r)?a[s]=o(t[s],r,i):-1===t.indexOf(r)&&a.push(n(r,i))})),a}function i(t,r,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],i)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=o(t[s],r[s],i):a[s]=n(r[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=o||{arrayMerge:r},l=s.arrayMerge||r;return a?Array.isArray(e)?l(e,t,o):n(t,o):i(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}))}));function r(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).map((function(e){e(n)})),(e["*"]||[]).map((function(e){e(t,n)}))}}}var i=e((function(e,t){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=n,e.exports=t.default})),o=function(e){return Object.keys(e).map((function(t){var n=e[t].toString().replace(/"/g,"&quot;");return t+'="'+n+'"'})).join(" ")},a=i.svg,s=i.xlink,l={};l[a.name]=a.uri,l[s.name]=s.uri;var u,c=function(e,t){void 0===e&&(e="");var r=n(l,t||{}),i=o(r);return"<svg "+i+">"+e+"</svg>"},d=i.svg,h=i.xlink,f={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; ")},u[d.name]=d.uri,u[h.name]=h.uri,u)},p=function(e){this.config=n(f,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this,n=t.symbols,r=this.find(e.id);return r?(n[n.indexOf(r)]=e,!1):(n.push(e),!0)},p.prototype.remove=function(e){var t=this,n=t.symbols,r=this.find(e);return!!r&&(n.splice(n.indexOf(r),1),r.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config,t=e.attrs,n=this.symbols.map((function(e){return e.stringify()})).join("");return c(n,t)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var m=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};m.prototype.stringify=function(){return this.content},m.prototype.toString=function(){return this.stringify()},m.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var g=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},v=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"===typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return g(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(m),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},b=function(e){return Array.prototype.slice.call(e,0)},_=navigator.userAgent,w={isChrome:/chrome/i.test(_),isFirefox:/firefox/i.test(_),isIE:/msie/i.test(_)||/trident/i.test(_),isEdge:/edge/i.test(_)},x=function(e,t){var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)},k=function(e){var t=[];return b(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})),t},M=function(e){return(e||window.location.href).split("#")[0]},S=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){x(e,{oldUrl:r,newUrl:n})}))}])},C="linearGradient, radialGradient, pattern",T=function(e,t){return void 0===t&&(t=C),b(e.querySelectorAll("symbol")).forEach((function(e){b(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e};function O(e,t){var n=b(e).reduce((function(e,n){if(!n.attributes)return e;var r=b(n.attributes),i=t?r.filter(t):r;return e.concat(i)}),[]);return n}var L=i.xlink.uri,A="xlink:href",D=/[{}|\\\^\[\]`"<>]/g;function E(e){return e.replace(D,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}function I(e,t,n){return b(e).forEach((function(e){var r=e.getAttribute(A);if(r&&0===r.indexOf(t)){var i=r.replace(t,n);e.setAttributeNS(L,A,i)}})),e}var j,P=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],R=P.map((function(e){return"["+e+"]"})).join(","),N=function(e,t,n,r){var i=E(n),o=E(r),a=e.querySelectorAll(R),s=O(a,(function(e){var t=e.localName,n=e.value;return-1!==P.indexOf(t)&&-1!==n.indexOf("url("+i)}));s.forEach((function(e){return e.value=e.value.replace(i,o)})),I(t,i,o)},B={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},Y=function(e){function t(t){var i=this;void 0===t&&(t={}),e.call(this,n(y,t));var o=r();this._emitter=o,this.node=null;var a=this,s=a.config;if(s.autoConfigure&&this._autoConfigure(t),s.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");o.on(B.MOUNT,(function(){return i.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,s.listenLocationChangeEvent&&window.addEventListener(s.locationChangeEvent,u),s.locationChangeAngularEmitter&&S(s.locationChangeEvent),o.on(B.MOUNT,(function(e){s.moveGradientsOutsideSymbol&&T(e)})),o.on(B.SYMBOL_MOUNT,(function(e){s.moveGradientsOutsideSymbol&&T(e.parentNode),(w.isIE||w.isEdge)&&k(e)}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={isMounted:{}};return i.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this,n=t.config;"undefined"===typeof e.syncUrlsWithBaseTag&&(n.syncUrlsWithBaseTag="undefined"!==typeof document.getElementsByTagName("base")[0]),"undefined"===typeof e.locationChangeAngularEmitter&&(n.locationChangeAngularEmitter="angular"in window),"undefined"===typeof e.moveGradientsOutsideSymbol&&(n.moveGradientsOutsideSymbol=w.isFirefox)},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},t.prototype.add=function(t){var n=this,r=e.prototype.add.call(this,t);return this.isMounted&&r&&(t.mount(n.node),this._emitter.emit(B.SYMBOL_MOUNT,t.node)),r},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"===typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(B.SYMBOL_MOUNT,e.node)})),b(r.querySelectorAll("symbol")).forEach((function(e){var t=v.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(B.MOUNT,r),r},t.prototype.destroy=function(){var e=this,t=e.config,n=e.symbols,r=e._emitter;n.forEach((function(e){return e.destroy()})),r.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1);var n=this;if(n.isMounted)return n.node;var r="string"===typeof e?document.querySelector(e):e,i=n.render();return this.node=i,t&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(B.MOUNT,i),i},t.prototype.render=function(){return g(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return N(this.node,n,M(e)+"#",M(t)+"#"),!0},Object.defineProperties(t.prototype,i),t}(p),F=e((function(e){
  68. /*!
  69. * domready (c) Dustin Diaz 2014 - License MIT
  70. */
  71. !function(t,n){e.exports=n()}(0,(function(){var e,t=[],n=document,r=n.documentElement.doScroll,i="DOMContentLoaded",o=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return o||n.addEventListener(i,e=function(){n.removeEventListener(i,e),o=1;while(e=t.shift())e()}),function(e){o?setTimeout(e,0):t.push(e)}}))})),z="__SVG_SPRITE_NODE__",H="__SVG_SPRITE__",V=!!window[H];V?j=window[H]:(j=new Y({attrs:{id:z}}),window[H]=j);var W=function(){var e=document.getElementById(z);e?j.attach(e):j.mount(document.body,!0)};document.body?W():F(W);var U=j;return U}))}).call(this,n("24aa"))},"21a6":function(e,t,n){(function(n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})(0,(function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function r(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function i(e){var t=new XMLHttpRequest;return t.open("HEAD",e,!1),t.send(),200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype?function(e,t,n){var s=a.URL||a.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):i(l.href)?r(e,t,n):o(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(i(e))r(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){o(s)}))}}:function(e,t,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var o="application/octet-stream"===e.type,s=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&s)&&"object"==typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var c=a.URL||a.webkitURL,d=c.createObjectURL(e);i?i.location=d:location.href=d,i=null,setTimeout((function(){c.revokeObjectURL(d)}),4e4)}});a.saveAs=s.saveAs=s,e.exports=s}))}).call(this,n("24aa"))},"21bf":function(e,t,n){(function(t){(function(t,n){e.exports=n()})(0,(function(){var e=e||function(e,r){var i;if("undefined"!==typeof window&&window.crypto&&(i=window.crypto),"undefined"!==typeof self&&self.crypto&&(i=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!==typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&"undefined"!==typeof t&&t.crypto&&(i=t.crypto),!i)try{i=n(1)}catch(v){}var o=function(){if(i){if("function"===typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(v){}if("function"===typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(v){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},l=s.lib={},u=l.Base=function(){return{extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=l.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=r?t:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(o());return new c.init(t,e)}}),d=s.enc={},h=d.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},f=d.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},m=l.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=4*a,l=o/s;l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0);var u=l*a,d=e.min(4*u,o);if(u){for(var h=0;h<u;h+=a)this._doProcessBlock(i,h);n=i.splice(0,u),r.sigBytes-=d}return new c.init(n,d)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(l.Hasher=m.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),s.algo={});return s}(Math);return e}))}).call(this,n("24aa"))},"222a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pieConfig=void 0;var r={show:!0,name:"",radius:"50%",center:["50%","50%"],startAngle:-Math.PI/2,roseType:!1,roseSort:!0,roseIncrement:"auto",data:[],insideLabel:{show:!1,formatter:"{percent}%",style:{fontSize:10,fill:"#fff",textAlign:"center",textBaseline:"middle"}},outsideLabel:{show:!0,formatter:"{name}",style:{fontSize:11},labelLineBendGap:"20%",labelLineEndLength:50,labelLineStyle:{lineWidth:1}},pieStyle:{},percentToFixed:0,rLevel:10,animationDelayGap:60,animationCurve:"easeOutCubic",startAnimationCurve:"easeOutBack",animationFrame:50};t.pieConfig=r},2236:function(e,t,n){var r=n("5a43");function i(e){if(Array.isArray(e))return r(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},2251:function(e,t,n){var r=n("5ca1"),i=n("cb7c"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},"22d1":function(e,t,n){"use strict";var r=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),i=function(){function e(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return e}(),o=new i;function a(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),t.svgSupported="undefined"!==typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!==typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:!o.hasGlobalWindow||"Deno"in window?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),t["a"]=o},"22f8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  72. //! moment.js locale configuration
  73. var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});return t}))},"230e":function(e,t,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},2397:function(e,t,n){var r=n("5ca1"),i=n("2aeb"),o=n("d8e8"),a=n("cb7c"),s=n("d3f4"),l=n("79e5"),u=n("f0c1"),c=(n("7726").Reflect||{}).construct,d=l((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),h=!l((function(){c((function(){}))}));r(r.S+r.F*(d||h),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var l=n.prototype,f=i(s(l)?l:Object.prototype),p=Function.apply.call(e,f,t);return s(p)?p:f}})},"23be":function(e,t,n){"use strict";n("aa77")("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},"23bf":function(e,t,n){"use strict";var r=n("5ca1"),i=n("fab2"),o=n("2d95"),a=n("77f1"),s=n("9def"),l=[].slice;r(r.P+r.F*n("79e5")((function(){i&&l.call(i)})),"Array",{slice:function(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var i=a(e,n),u=a(t,n),c=s(u-i),d=new Array(c),h=0;h<c;h++)d[h]="String"==r?this.charAt(i+h):this[i+h];return d}})},"23c6":function(e,t,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},"241e":function(e,t,n){var r=n("25eb");e.exports=function(e){return Object(r(e))}},2421:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  74. //! moment.js locale configuration
  75. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},"242a":function(e,t,n){"use strict";n("386b")("sup",(function(e){return function(){return e(this,"sup","","")}}))},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t)&&(e=n("b50d")),e}var l={adapter:s(),transformRequest:[function(e,t){return i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(o)})),e.exports=l}).call(this,n("4362"))},"24aa":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"24c5":function(e,t,n){"use strict";var r,i,o,a,s=n("b8e3"),l=n("e53d"),u=n("d864"),c=n("40c3"),d=n("63b6"),h=n("f772"),f=n("79aa"),p=n("1173"),m=n("a22a"),g=n("f201"),v=n("4178").set,y=n("aba2")(),b=n("656e"),_=n("4439"),w=n("bc13"),x=n("cd78"),k="Promise",M=l.TypeError,S=l.process,C=S&&S.versions,T=C&&C.v8||"",O=l[k],L="process"==c(S),A=function(){},D=i=b.f,E=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[n("5168")("species")]=function(e){e(A,A)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(r){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?u(M("Promise-chain cycle")):(o=I(n))?o.call(n,l,u):l(n)):u(r)}catch(d){c&&!a&&c.exit(),u(d)}};while(n.length>o)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){v.call(l,(function(){var t,n,r,i=e._v,o=R(e);if(o&&(t=_((function(){L?S.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=L||R(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){v.call(l,(function(){var t;L?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},B=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},Y=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw M("Promise can't be resolved itself");(t=I(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,u(Y,r,1),u(B,r,1))}catch(i){B.call(r,i)}})):(n._v=e,n._s=1,j(n,!1))}catch(r){B.call({_w:n,_d:!1},r)}}};E||(O=function(e){p(this,O,k,"_h"),f(e),r.call(this);try{e(u(Y,this,1),u(B,this,1))}catch(t){B.call(this,t)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(O.prototype,{then:function(e,t){var n=D(g(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=L?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=u(Y,e,1),this.reject=u(B,e,1)},b.f=D=function(e){return e===O||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!E,{Promise:O}),n("45f2")(O,k),n("4c95")(k),a=n("584a")[k],d(d.S+d.F*!E,k,{reject:function(e){var t=D(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!E),k,{resolve:function(e){return x(s&&this===a?O:this,e)}}),d(d.S+d.F*!(E&&n("4ee1")((function(e){O.all(e)["catch"](A)}))),k,{all:function(e){var t=this,n=D(t),r=n.resolve,i=n.reject,o=_((function(){var n=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=D(t),r=n.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"252f":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.line=g;var i=r(n("7037")),o=r(n("278c")),a=r(n("448a")),s=r(n("9523")),l=n("18ad"),u=n("9d85"),c=r(n("050c")),d=n("becb");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,s["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=c["default"].polylineToBezierCurve,m=c["default"].getBezierCurveLength;function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,r=t.yAxis,i=t.series,o=[];n&&r&&i&&(o=(0,d.initNeedSeries)(i,u.lineConfig,"line"),o=v(o,e)),(0,l.doUpdate)({chart:e,series:o,key:"lineArea",getGraphConfig:x,getStartGraphConfig:T,beforeUpdate:O,beforeChange:L}),(0,l.doUpdate)({chart:e,series:o,key:"line",getGraphConfig:A,getStartGraphConfig:j,beforeUpdate:O,beforeChange:L}),(0,l.doUpdate)({chart:e,series:o,key:"linePoint",getGraphConfig:P,getStartGraphConfig:B}),(0,l.doUpdate)({chart:e,series:o,key:"lineLabel",getGraphConfig:Y})}function v(e,t){var n=t.axisData;return e.map((function(t){var r=(0,d.mergeSameStackData)(t,e);r=y(t,r);var i=b(t,n),o=_(r,i),a=w(i);return f(f({},t),{},{linePosition:o.filter((function(e){return e})),lineFillBottomPos:a})}))}function y(e,t){var n=e.data;return t.map((function(e,t){return"number"===typeof n[t]?e:null}))}function b(e,t){var n=e.xAxisIndex,r=e.yAxisIndex,i=t.find((function(e){var t=e.axis,r=e.index;return"x"===t&&r===n})),o=t.find((function(e){var t=e.axis,n=e.index;return"y"===t&&n===r}));return[i,o]}function _(e,t){var n=t.findIndex((function(e){var t=e.data;return"value"===t})),r=t[n],i=t[1-n],o=r.linePosition,a=r.axis,s=i.tickPosition,l=s.length,u="x"===a?0:1,c=o[0][u],d=o[1][u],h=d-c,f=r.maxValue,p=r.minValue,m=f-p,g=new Array(l).fill(0).map((function(t,n){var r=e[n];if("number"!==typeof r)return null;var i=(r-p)/m;return 0===m&&(i=0),i*h+c}));return g.map((function(e,t){if(t>=l||"number"!==typeof e)return null;var n=[e,s[t][1-u]];return 0===u||n.reverse(),n}))}function w(e){var t=e.find((function(e){var t=e.data;return"value"===t})),n=t.axis,r=t.linePosition,i=t.minValue,o=t.maxValue,a="x"===n?0:1,s=r[0][a];if(i<0&&o>0){var l=o-i,u=Math.abs(r[0][a]-r[1][a]),c=Math.abs(i)/l*u;"y"===n&&(c*=-1),s+=c}return{changeIndex:a,changeValue:s}}function x(e){var t=e.animationCurve,n=e.animationFrame,r=e.lineFillBottomPos,i=e.rLevel;return[{name:D(e),index:i,animationCurve:t,animationFrame:n,visible:e.lineArea.show,lineFillBottomPos:r,shape:k(e),style:M(e),drawed:C}]}function k(e){var t=e.linePosition;return{points:t}}function M(e){var t=e.lineArea,n=e.color,r=t.gradient,i=t.style,o=[i.fill||n],a=(0,d.deepMerge)(o,r);1===a.length&&a.push(a[0]);var s=S(e);return i=f(f({},i),{},{stroke:"rgba(0, 0, 0, 0)"}),(0,d.deepMerge)({gradientColor:a,gradientParams:s,gradientType:"linear",gradientWith:"fill"},i)}function S(e){var t=e.lineFillBottomPos,n=e.linePosition,r=t.changeIndex,i=t.changeValue,o=n.map((function(e){return e[r]})),s=Math.max.apply(Math,(0,a["default"])(o)),l=Math.min.apply(Math,(0,a["default"])(o)),u=s;return 1===r&&(u=l),1===r?[0,u,0,i]:[u,0,i,0]}function C(e,t){var n=e.lineFillBottomPos,r=e.shape,i=t.ctx,o=r.points,s=n.changeIndex,l=n.changeValue,u=(0,a["default"])(o[o.length-1]),c=(0,a["default"])(o[0]);u[s]=l,c[s]=l,i.lineTo.apply(i,(0,a["default"])(u)),i.lineTo.apply(i,(0,a["default"])(c)),i.closePath(),i.fill()}function T(e){var t=x(e)[0],n=f({},t.style);return n.opacity=0,t.style=n,[t]}function O(e,t,n,r){var i=e[n];if(i){var o=D(t),a=r.chart.render,s=i[0].name,l=o!==s;l&&(i.forEach((function(e){return a.delGraph(e)})),e[n]=null)}}function L(e,t){var n=t.shape.points,r=e.shape.points,i=r.length,o=n.length;if(o>i){var s=r.slice(-1)[0],l=new Array(o-i).fill(0).map((function(e){return(0,a["default"])(s)}));r.push.apply(r,(0,a["default"])(l))}else o<i&&r.splice(o)}function A(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel;return[{name:D(e),index:r+1,animationCurve:t,animationFrame:n,shape:k(e),style:E(e)}]}function D(e){var t=e.smooth;return t?"smoothline":"polyline"}function E(e){var t=e.lineStyle,n=e.color,r=e.smooth,i=e.linePosition,o=I(i,r);return(0,d.deepMerge)({stroke:n,lineDash:[o,0]},t)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return(0,d.getPolylineLength)(e);var n=p(e);return m(n)}function j(e){var t=e.lineStyle.lineDash,n=A(e)[0],r=n.style.lineDash;return r=t?[0,0]:(0,a["default"])(r).reverse(),n.style.lineDash=r,[n]}function P(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=R(e),o=N(e);return i.map((function(i){return{name:"circle",index:r+2,visible:e.linePoint.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function R(e){var t=e.linePosition,n=e.linePoint.radius;return t.map((function(e){var t=(0,o["default"])(e,2),r=t[0],i=t[1];return{r:n,rx:r,ry:i}}))}function N(e){var t=e.color,n=e.linePoint.style;return(0,d.deepMerge)({stroke:t},n)}function B(e){var t=P(e);return t.forEach((function(e){e.shape.r=.1})),t}function Y(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=F(e),o=U(e);return i.map((function(i,a){return{name:"text",index:r+3,visible:e.label.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function F(e){var t=W(e),n=z(e);return t.map((function(e,t){return{content:e,position:n[t]}}))}function z(e){var t=e.linePosition,n=e.lineFillBottomPos,r=e.label,i=r.position,o=r.offset,s=n.changeIndex,l=n.changeValue;return t.map((function(e){if("bottom"===i&&(e=(0,a["default"])(e),e[s]=l),"center"===i){var t=(0,a["default"])(e);t[s]=l,e=V(e,t)}return H(e,o)}))}function H(e,t){var n=(0,o["default"])(e,2),r=n[0],i=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[r+s,i+l]}function V(e,t){var n=(0,o["default"])(e,2),r=n[0],i=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[(r+s)/2,(i+l)/2]}function W(e){var t=e.data,n=e.label.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!n)return t;var r=(0,i["default"])(n);return"string"===r?t.map((function(e){return n.replace("{value}",e)})):"function"===r?t.map((function(e,t){return n({value:e,index:t})})):t}function U(e){var t=e.color,n=e.label.style;return(0,d.deepMerge)({fill:t},n)}},2554:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  76. //! moment.js locale configuration
  77. function t(e,t,n,r){switch(n){case"m":return t?"jedna minuta":r?"jednu minutu":"jedne minute"}}function n(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return"jedan sat";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var r=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:n,m:t,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"25b0":function(e,t,n){n("1df8"),e.exports=n("584a").Object.setPrototypeOf},"25c9":function(e,t,n){var r=n("5ca1"),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},"25db":function(e,t,n){n("5eda")("getOwnPropertyNames",(function(){return n("7bbc").f}))},"25eb":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"262f":function(e,t,n){var r=n("5ca1");r(r.G+r.W+r.F*!n("0f88").ABV,{DataView:n("ed0b").DataView})},2655:function(e,t){function n(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=n,e.exports.default=n},"26f9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  78. //! moment.js locale configuration
  79. var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?o(n)[0]:r?o(n)[1]:o(n)[2]}function i(e){return e%10===0||e>10&&e<20}function o(e){return t[e].split("_")}function a(e,t,n,a){var s=e+" ";return 1===e?s+r(e,t,n[0],a):t?s+(i(e)?o(n)[1]:o(n)[0]):a?s+o(n)[1]:s+(i(e)?o(n)[1]:o(n)[2])}var s=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:a,m:r,mm:a,h:r,hh:a,d:r,dd:a,M:r,MM:a,y:r,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s}))},2748:function(e,t,n){var r=n("5ca1"),i=180/Math.PI;r(r.S,"Math",{degrees:function(e){return e*i}})},"278c":function(e,t,n){var r=n("c135"),i=n("9b42"),o=n("6613"),a=n("c240");function s(e,t){return r(e)||i(e,t)||o(e,t)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},"27ee":function(e,t,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},2848:function(e,t,n){},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"28a5":function(e,t,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),l=n("5f1b"),u=n("520a"),c=n("79e5"),d=Math.min,h=[].push,f="split",p="length",m="lastIndex",g=4294967295,v=!c((function(){RegExp(g,"y")}));n("214f")("split",2,(function(e,t,n,c){var y;return y="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?g:t>>>0,v=new RegExp(e.source,c+"g");while(o=u.call(v,i)){if(a=v[m],a>d&&(l.push(i.slice(d,o.index)),o[p]>1&&o.index<i[p]&&h.apply(l,o.slice(1)),s=o[0][p],d=a,l[p]>=f))break;v[m]===o.index&&v[m]++}return d===i[p]?!s&&v.test("")||l.push(""):l.push(i.slice(d)),l[p]>f?l.slice(0,f):l}:"0"[f](void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,r):y.call(String(i),n,r)},function(e,t){var r=c(y,e,this,t,y!==n);if(r.done)return r.value;var u=i(e),h=String(this),f=o(u,RegExp),p=u.unicode,m=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(v?"y":"g"),b=new f(v?u:"^(?:"+u.source+")",m),_=void 0===t?g:t>>>0;if(0===_)return[];if(0===h.length)return null===l(b,h)?[h]:[];var w=0,x=0,k=[];while(x<h.length){b.lastIndex=v?x:0;var M,S=l(b,v?h:h.slice(x));if(null===S||(M=d(s(b.lastIndex+(v?0:x)),h.length))===w)x=a(h,x,p);else{if(k.push(h.slice(w,x)),k.length===_)return k;for(var C=1;C<=S.length-1;C++)if(k.push(S[C]),k.length===_)return k;x=w=M}}return k.push(h.slice(w)),k}]}))},"28e4":function(e,t,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("9b43"),a=n("4a59");e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,s,l=arguments[1];return i(this),t=void 0!==l,t&&i(l),void 0==e?new this:(n=[],t?(r=0,s=o(l,arguments[2],2),a(e,!1,(function(e){n.push(s(e,r++))}))):a(e,!1,n.push,n),new this(n))}})}},2921:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  80. //! moment.js locale configuration
  81. var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"293c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  82. //! moment.js locale configuration
  83. var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"2a66":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},"2aba":function(e,t,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l="toString",u=(""+s).split(l);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||i(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("230e")("iframe"),r=o.length,i="<",a=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(r--)delete u[l][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){
  84. /*!
  85. * Vue.js v2.6.10
  86. * (c) 2014-2019 Evan You
  87. * Released under the MIT License.
  88. */
  89. var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function c(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}g("slot,component",!0);var v=g("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var x=/-(\w)/g,k=w((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),M=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),S=/\B([A-Z])/g,C=w((function(e){return e.replace(S,"-$1").toLowerCase()}));function T(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function O(e,t){return e.bind(t)}var L=Function.prototype.bind?O:T;function A(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function D(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n<e.length;n++)e[n]&&D(t,e[n]);return t}function I(e,t,n){}var j=function(e,t,n){return!1},P=function(e){return e};function R(e,t){if(e===t)return!0;var n=l(e),r=l(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return R(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return R(e[n],t[n])}))}catch(u){return!1}}function N(e,t){for(var n=0;n<e.length;n++)if(R(e[n],t))return n;return-1}function B(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var Y="data-server-rendered",F=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:I,parsePlatformTagName:P,mustUseProp:j,async:!0,_lifecycleHooks:z},V=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function W(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function U(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var $=new RegExp("[^"+V.source+".$_\\d]");function G(e){if(!$.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var q,X="__proto__"in{},K="undefined"!==typeof window,Z="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=Z&&WXEnvironment.platform.toLowerCase(),Q=K&&window.navigator.userAgent.toLowerCase(),ee=Q&&/msie|trident/.test(Q),te=Q&&Q.indexOf("msie 9.0")>0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),oe={}.watch,ae=!1;if(K)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(ka){}var le=function(){return void 0===q&&(q=!K&&!Z&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),q},ue=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,he="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);de="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=I,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},me.target=null;var ge=[];function ve(e){ge.push(e),me.target=e}function ye(){ge.pop(),me.target=ge[ge.length-1]}var be=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},_e={child:{configurable:!0}};_e.child.get=function(){return this.componentInstance},Object.defineProperties(be.prototype,_e);var we=function(e){void 0===e&&(e="");var t=new be;return t.text=e,t.isComment=!0,t};function xe(e){return new be(void 0,void 0,void 0,String(e))}function ke(e){var t=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Me=Array.prototype,Se=Object.create(Me),Ce=["push","pop","shift","unshift","splice","sort","reverse"];Ce.forEach((function(e){var t=Me[e];U(Se,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Te=Object.getOwnPropertyNames(Se),Oe=!0;function Le(e){Oe=e}var Ae=function(e){this.value=e,this.dep=new me,this.vmCount=0,U(e,"__ob__",this),Array.isArray(e)?(X?De(e,Se):Ee(e,Se,Te),this.observeArray(e)):this.walk(e)};function De(e,t){e.__proto__=t}function Ee(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];U(e,o,t[o])}}function Ie(e,t){var n;if(l(e)&&!(e instanceof be))return _(e,"__ob__")&&e.__ob__ instanceof Ae?n=e.__ob__:Oe&&!le()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ae(e)),t&&n&&n.vmCount++,n}function je(e,t,n,r,i){var o=new me,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var u=!i&&Ie(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return me.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Ne(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!l||(l?l.call(e,t):n=t,u=!i&&Ie(t),o.notify())}})}}function Pe(e,t,n){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(je(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Re(e,t){if(Array.isArray(e)&&h(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||_(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ne(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ne(t)}Ae.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)je(e,t[n])},Ae.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ie(e[t])};var Be=H.optionMergeStrategies;function Ye(e,t){if(!t)return e;for(var n,r,i,o=he?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)n=o[a],"__ob__"!==n&&(r=e[n],i=t[n],_(e,n)?r!==i&&c(r)&&c(i)&&Ye(r,i):Pe(e,n,i));return e}function Fe(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,i="function"===typeof e?e.call(n,n):e;return r?Ye(r,i):i}:t?e?function(){return Ye("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function ze(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?He(n):n}function He(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function Ve(e,t,n,r){var i=Object.create(e||null);return t?D(i,t):i}Be.data=function(e,t,n){return n?Fe(e,t,n):t&&"function"!==typeof t?e:Fe(e,t)},z.forEach((function(e){Be[e]=ze})),F.forEach((function(e){Be[e+"s"]=Ve})),Be.watch=function(e,t,n,r){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in D(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Be.props=Be.methods=Be.inject=Be.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return D(i,e),t&&D(i,t),i},Be.provide=Fe;var We=function(e,t){return void 0===t?e:t};function Ue(e,t){var n=e.props;if(n){var r,i,o,a={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=k(i),a[o]={type:null})}else if(c(n))for(var s in n)i=n[s],o=k(s),a[o]=c(i)?i:{type:i};else 0;e.props=a}}function $e(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(c(n))for(var o in n){var a=n[o];r[o]=c(a)?D({from:o},a):{from:a}}else 0}}function Ge(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"===typeof r&&(t[n]={bind:r,update:r})}}function qe(e,t,n){if("function"===typeof t&&(t=t.options),Ue(t,n),$e(t,n),Ge(t),!t._base&&(t.extends&&(e=qe(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=qe(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)_(e,o)||s(o);function s(r){var i=Be[r]||We;a[r]=i(e[r],t[r],n,r)}return a}function Xe(e,t,n,r){if("string"===typeof n){var i=e[t];if(_(i,n))return i[n];var o=k(n);if(_(i,o))return i[o];var a=M(o);if(_(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function Ke(e,t,n,r){var i=t[e],o=!_(n,e),a=n[e],s=et(Boolean,i.type);if(s>-1)if(o&&!_(i,"default"))a=!1;else if(""===a||a===C(e)){var l=et(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Ze(r,i,e);var u=Oe;Le(!0),Ie(a),Le(u)}return a}function Ze(e,t,n){if(_(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"===typeof r&&"Function"!==Je(t.type)?r.call(e):r}}function Je(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Qe(e,t){return Je(e)===Je(t)}function et(e,t){if(!Array.isArray(t))return Qe(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Qe(t[n],e))return n;return-1}function tt(e,t,n){ve();try{if(t){var r=t;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,e,t,n);if(a)return}catch(ka){rt(ka,r,"errorCaptured hook")}}}rt(e,t,n)}finally{ye()}}function nt(e,t,n,r,i){var o;try{o=n?e.apply(t,n):e.call(t),o&&!o._isVue&&f(o)&&!o._handled&&(o.catch((function(e){return tt(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(ka){tt(ka,r,i)}return o}function rt(e,t,n){if(H.errorHandler)try{return H.errorHandler.call(null,e,t,n)}catch(ka){ka!==e&&it(ka,null,"config.errorHandler")}it(e,t,n)}function it(e,t,n){if(!K&&!Z||"undefined"===typeof console)throw e;console.error(e)}var ot,at=!1,st=[],lt=!1;function ut(){lt=!1;var e=st.slice(0);st.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&ce(Promise)){var ct=Promise.resolve();ot=function(){ct.then(ut),re&&setTimeout(I)},at=!0}else if(ee||"undefined"===typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ot="undefined"!==typeof setImmediate&&ce(setImmediate)?function(){setImmediate(ut)}:function(){setTimeout(ut,0)};else{var dt=1,ht=new MutationObserver(ut),ft=document.createTextNode(String(dt));ht.observe(ft,{characterData:!0}),ot=function(){dt=(dt+1)%2,ft.data=String(dt)},at=!0}function pt(e,t){var n;if(st.push((function(){if(e)try{e.call(t)}catch(ka){tt(ka,t,"nextTick")}else n&&n(t)})),lt||(lt=!0,ot()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var mt=new de;function gt(e){vt(e,mt),mt.clear()}function vt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!l(e)||Object.isFrozen(e)||e instanceof be)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i){n=e.length;while(n--)vt(e[n],t)}else{r=Object.keys(e),n=r.length;while(n--)vt(e[r[n]],t)}}}var yt=w((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function bt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return nt(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)nt(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function _t(e,t,n,i,a,s){var l,u,c,d;for(l in e)u=e[l],c=t[l],d=yt(l),r(u)||(r(c)?(r(u.fns)&&(u=e[l]=bt(u,s)),o(d.once)&&(u=e[l]=a(d.name,u,d.capture)),n(d.name,u,d.capture,d.passive,d.params)):u!==c&&(c.fns=u,e[l]=c));for(l in t)r(e[l])&&(d=yt(l),i(d.name,t[l],d.capture))}function wt(e,t,n){var a;e instanceof be&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),y(a.fns,l)}r(s)?a=bt([l]):i(s.fns)&&o(s.merged)?(a=s,a.fns.push(l)):a=bt([s,l]),a.merged=!0,e[t]=a}function xt(e,t,n){var o=t.options.props;if(!r(o)){var a={},s=e.attrs,l=e.props;if(i(s)||i(l))for(var u in o){var c=C(u);kt(a,l,u,c,!0)||kt(a,s,u,c,!1)}return a}}function kt(e,t,n,r,o){if(i(t)){if(_(t,n))return e[n]=t[n],o||delete t[n],!0;if(_(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function Mt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function St(e){return s(e)?[xe(e)]:Array.isArray(e)?Tt(e):void 0}function Ct(e){return i(e)&&i(e.text)&&a(e.isComment)}function Tt(e,t){var n,a,l,u,c=[];for(n=0;n<e.length;n++)a=e[n],r(a)||"boolean"===typeof a||(l=c.length-1,u=c[l],Array.isArray(a)?a.length>0&&(a=Tt(a,(t||"")+"_"+n),Ct(a[0])&&Ct(u)&&(c[l]=xe(u.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?Ct(u)?c[l]=xe(u.text+a):""!==a&&c.push(xe(a)):Ct(a)&&Ct(u)?c[l]=xe(u.text+a.text):(o(e._isVList)&&i(a.tag)&&r(a.key)&&i(t)&&(a.key="__vlist"+t+"_"+n+"__"),c.push(a)));return c}function Ot(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Lt(e){var t=At(e.$options.inject,e);t&&(Le(!1),Object.keys(t).forEach((function(n){je(e,n,t[n])})),Le(!0))}function At(e,t){if(e){for(var n=Object.create(null),r=he?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=e[o].from,s=t;while(s){if(s._provided&&_(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var l=e[o].default;n[o]="function"===typeof l?l.call(t):l}else 0}}return n}}function Dt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in n)n[u].every(Et)&&delete n[u];return n}function Et(e){return e.isComment&&!e.asyncFactory||" "===e.text}function It(e,t,r){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=jt(t,l,e[l]))}else i={};for(var u in t)u in i||(i[u]=Pt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),U(i,"$stable",a),U(i,"$key",s),U(i,"$hasNormal",o),i}function jt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:St(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Pt(e,t){return function(){return e[t]}}function Rt(e,t){var n,r,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r);else if("number"===typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(l(e))if(he&&e[Symbol.iterator]){n=[];var u=e[Symbol.iterator](),c=u.next();while(!c.done)n.push(t(c.value,n.length)),c=u.next()}else for(a=Object.keys(e),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=t(e[s],s,r);return i(n)||(n=[]),n._isVList=!0,n}function Nt(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=D(D({},r),n)),i=o(n)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function Bt(e){return Xe(this.$options,"filters",e,!0)||P}function Yt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Ft(e,t,n,r,i){var o=H.keyCodes[t]||n;return i&&r&&!H.keyCodes[t]?Yt(i,r):o?Yt(o,e):r?C(r)!==t:void 0}function zt(e,t,n,r,i){if(n)if(l(n)){var o;Array.isArray(n)&&(n=E(n));var a=function(a){if("class"===a||"style"===a||v(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||H.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=k(a),u=C(a);if(!(l in o)&&!(u in o)&&(o[a]=n[a],i)){var c=e.on||(e.on={});c["update:"+a]=function(e){n[a]=e}}};for(var s in n)a(s)}else;return e}function Ht(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),Wt(r,"__static__"+e,!1)),r}function Vt(e,t,n){return Wt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Wt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&Ut(e[r],t+"_"+r,n);else Ut(e,t,n)}function Ut(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function $t(e,t){if(t)if(c(t)){var n=e.on=e.on?D({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function Gt(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?Gt(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function qt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Xt(e,t){return"string"===typeof e?t+e:e}function Kt(e){e._o=Vt,e._n=m,e._s=p,e._l=Rt,e._t=Nt,e._q=R,e._i=N,e._m=Ht,e._f=Bt,e._k=Ft,e._b=zt,e._v=xe,e._e=we,e._u=Gt,e._g=$t,e._d=qt,e._p=Xt}function Zt(e,t,r,i,a){var s,l=this,u=a.options;_(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var c=o(u._compiled),d=!c;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=At(u.inject,i),this.slots=function(){return l.$slots||It(e.scopedSlots,l.$slots=Dt(r,i)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return It(e.scopedSlots,this.slots())}}),c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=It(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,n,r){var o=dn(s,e,t,n,r,d);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(e,t,n,r){return dn(s,e,t,n,r,d)}}function Jt(e,t,r,o,a){var s=e.options,l={},u=s.props;if(i(u))for(var c in u)l[c]=Ke(c,u,t||n);else i(r.attrs)&&en(l,r.attrs),i(r.props)&&en(l,r.props);var d=new Zt(r,l,a,o,e),h=s.render.call(null,d._c,d);if(h instanceof be)return Qt(h,r,d.parent,s,d);if(Array.isArray(h)){for(var f=St(h)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=Qt(f[m],r,d.parent,s,d);return p}}function Qt(e,t,n,r,i){var o=ke(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function en(e,t){for(var n in t)e[k(n)]=t[n]}Kt(Zt.prototype);var tn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;tn.prepatch(n,n)}else{var r=e.componentInstance=on(e,An);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;Pn(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Yn(n,"mounted")),e.data.keepAlive&&(t._isMounted?Jn(n):Nn(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Bn(t,!0):t.$destroy())}},nn=Object.keys(tn);function rn(e,t,n,a,s){if(!r(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"===typeof e){var c;if(r(e.cid)&&(c=e,e=wn(c,u),void 0===e))return _n(c,t,n,a,s);t=t||{},wr(e),i(t.model)&&ln(e.options,t);var d=xt(t,e,s);if(o(e.options.functional))return Jt(e,d,t,n,a);var h=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}an(t);var p=e.options.name||s,m=new be("vue-component-"+e.cid+(p?"-"+p:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:h,tag:s,children:a},c);return m}}}function on(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function an(e){for(var t=e.hook||(e.hook={}),n=0;n<nn.length;n++){var r=nn[n],i=t[r],o=tn[r];i===o||i&&i._merged||(t[r]=i?sn(o,i):o)}}function sn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function ln(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[r],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}var un=1,cn=2;function dn(e,t,n,r,i,a){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),o(a)&&(i=cn),hn(e,t,n,r,i)}function hn(e,t,n,r,o){if(i(n)&&i(n.__ob__))return we();if(i(n)&&i(n.is)&&(t=n.is),!t)return we();var a,s,l;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===cn?r=St(r):o===un&&(r=Mt(r)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||H.getTagNamespace(t),a=H.isReservedTag(t)?new be(H.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!i(l=Xe(e.$options,"components",t))?new be(t,n,r,void 0,void 0,e):rn(l,n,e,r,t)):a=rn(t,n,e,r);return Array.isArray(a)?a:i(a)?(i(s)&&fn(a,s),i(n)&&pn(n),a):we()}function fn(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),i(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];i(l.tag)&&(r(l.ns)||o(n)&&"svg"!==l.tag)&&fn(l,t,n)}}function pn(e){l(e.style)&&gt(e.style),l(e.class)&&gt(e.class)}function mn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=Dt(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return dn(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return dn(e,t,n,r,i,!0)};var o=r&&r.data;je(e,"$attrs",o&&o.attrs||n,null,!0),je(e,"$listeners",t._parentListeners||n,null,!0)}var gn,vn=null;function yn(e){Kt(e.prototype),e.prototype.$nextTick=function(e){return pt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=It(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{vn=t,e=r.call(t._renderProxy,t.$createElement)}catch(ka){tt(ka,t,"render"),e=t._vnode}finally{vn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof be||(e=we()),e.parent=i,e}}function bn(e,t){return(e.__esModule||he&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function _n(e,t,n,r,i){var o=we();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function wn(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=vn;if(n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var a=e.owners=[n],s=!0,u=null,c=null;n.$on("hook:destroyed",(function(){return y(a,n)}));var d=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==c&&(clearTimeout(c),c=null))},h=B((function(n){e.resolved=bn(n,t),s?a.length=0:d(!0)})),p=B((function(t){i(e.errorComp)&&(e.error=!0,d(!0))})),m=e(h,p);return l(m)&&(f(m)?r(e.resolved)&&m.then(h,p):f(m.component)&&(m.component.then(h,p),i(m.error)&&(e.errorComp=bn(m.error,t)),i(m.loading)&&(e.loadingComp=bn(m.loading,t),0===m.delay?e.loading=!0:u=setTimeout((function(){u=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))}),m.delay||200)),i(m.timeout)&&(c=setTimeout((function(){c=null,r(e.resolved)&&p(null)}),m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function xn(e){return e.isComment&&e.asyncFactory}function kn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||xn(n)))return n}}function Mn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&On(e,t)}function Sn(e,t){gn.$on(e,t)}function Cn(e,t){gn.$off(e,t)}function Tn(e,t){var n=gn;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function On(e,t,n){gn=e,_t(t,n||{},Sn,Cn,Tn,e),gn=void 0}function Ln(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;var s=a.length;while(s--)if(o=a[s],o===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?A(n):n;for(var r=A(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)nt(n[o],t,r,t,i)}return t}}var An=null;function Dn(e){var t=An;return An=e,function(){An=t}}function En(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function In(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=Dn(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Yn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Yn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function jn(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=we),Yn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new nr(e,r,I,{before:function(){e._isMounted&&!e._isDestroyed&&Yn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yn(e,"mounted")),e}function Pn(e,t,r,i,o){var a=i.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||l);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){Le(!1);for(var c=e._props,d=e.$options._propKeys||[],h=0;h<d.length;h++){var f=d[h],p=e.$options.props;c[f]=Ke(f,p,t,e)}Le(!0),e.$options.propsData=t}r=r||n;var m=e.$options._parentListeners;e.$options._parentListeners=r,On(e,r,m),u&&(e.$slots=Dt(o,i.context),e.$forceUpdate())}function Rn(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Nn(e,t){if(t){if(e._directInactive=!1,Rn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Nn(e.$children[n]);Yn(e,"activated")}}function Bn(e,t){if((!t||(e._directInactive=!0,!Rn(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Bn(e.$children[n]);Yn(e,"deactivated")}}function Yn(e,t){ve();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)nt(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ye()}var Fn=[],zn=[],Hn={},Vn=!1,Wn=!1,Un=0;function $n(){Un=Fn.length=zn.length=0,Hn={},Vn=Wn=!1}var Gn=0,qn=Date.now;if(K&&!ee){var Xn=window.performance;Xn&&"function"===typeof Xn.now&&qn()>document.createEvent("Event").timeStamp&&(qn=function(){return Xn.now()})}function Kn(){var e,t;for(Gn=qn(),Wn=!0,Fn.sort((function(e,t){return e.id-t.id})),Un=0;Un<Fn.length;Un++)e=Fn[Un],e.before&&e.before(),t=e.id,Hn[t]=null,e.run();var n=zn.slice(),r=Fn.slice();$n(),Qn(n),Zn(r),ue&&H.devtools&&ue.emit("flush")}function Zn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Yn(r,"updated")}}function Jn(e){e._inactive=!1,zn.push(e)}function Qn(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Nn(e[t],!0)}function er(e){var t=e.id;if(null==Hn[t]){if(Hn[t]=!0,Wn){var n=Fn.length-1;while(n>Un&&Fn[n].id>e.id)n--;Fn.splice(n+1,0,e)}else Fn.push(e);Vn||(Vn=!0,pt(Kn))}}var tr=0,nr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(ka){if(!this.user)throw ka;tt(ka,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&gt(e),ye(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(ka){tt(ka,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:I,set:I};function ir(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function or(e){e._watchers=[];var t=e.$options;t.props&&ar(e,t.props),t.methods&&pr(e,t.methods),t.data?sr(e):Ie(e._data={},!0),t.computed&&cr(e,t.computed),t.watch&&t.watch!==oe&&mr(e,t.watch)}function ar(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Le(!1);var a=function(o){i.push(o);var a=Ke(o,t,n,e);je(r,o,a),o in e||ir(e,"_props",o)};for(var s in t)a(s);Le(!0)}function sr(e){var t=e.$options.data;t=e._data="function"===typeof t?lr(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&_(r,o)||W(o)||ir(e,"_data",o)}Ie(t,!0)}function lr(e,t){ve();try{return e.call(t,t)}catch(ka){return tt(ka,t,"data()"),{}}finally{ye()}}var ur={lazy:!0};function cr(e,t){var n=e._computedWatchers=Object.create(null),r=le();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new nr(e,a||I,I,ur)),i in e||dr(e,i,o)}}function dr(e,t,n){var r=!le();"function"===typeof n?(rr.get=r?hr(t):fr(n),rr.set=I):(rr.get=n.get?r&&!1!==n.cache?hr(t):fr(n.get):I,rr.set=n.set||I),Object.defineProperty(e,t,rr)}function hr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function fr(e){return function(){return e.call(this,this)}}function pr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?I:L(t[n],e)}function mr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)gr(e,n,r[i]);else gr(e,n,r)}}function gr(e,t,n,r){return c(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function vr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Pe,e.prototype.$delete=Re,e.prototype.$watch=function(e,t,n){var r=this;if(c(t))return gr(r,e,t,n);n=n||{},n.user=!0;var i=new nr(r,e,t,n);if(n.immediate)try{t.call(r,i.value)}catch(o){tt(o,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var yr=0;function br(e){e.prototype._init=function(e){var t=this;t._uid=yr++,t._isVue=!0,e&&e._isComponent?_r(t,e):t.$options=qe(wr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,En(t),Mn(t),mn(t),Yn(t,"beforeCreate"),Lt(t),or(t),Ot(t),Yn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function _r(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function wr(e){var t=e.options;if(e.super){var n=wr(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=xr(e);i&&D(e.extendOptions,i),t=e.options=qe(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function xr(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function kr(e){this._init(e)}function Mr(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Sr(e){e.mixin=function(e){return this.options=qe(this.options,e),this}}function Cr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=qe(n.options,e),a["super"]=n,a.options.props&&Tr(a),a.options.computed&&Or(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=D({},a.options),i[r]=a,a}}function Tr(e){var t=e.options.props;for(var n in t)ir(e.prototype,"_props",n)}function Or(e){var t=e.options.computed;for(var n in t)dr(e.prototype,n,t[n])}function Lr(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Ar(e){return e&&(e.Ctor.options.name||e.tag)}function Dr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Er(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Ar(a.componentOptions);s&&!t(s)&&Ir(n,o,r,i)}}}function Ir(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}br(kr),vr(kr),Ln(kr),In(kr),yn(kr);var jr=[String,RegExp,Array],Pr={name:"keep-alive",abstract:!0,props:{include:jr,exclude:jr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ir(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Er(e,(function(e){return Dr(t,e)}))})),this.$watch("exclude",(function(t){Er(e,(function(e){return!Dr(t,e)}))}))},render:function(){var e=this.$slots.default,t=kn(e),n=t&&t.componentOptions;if(n){var r=Ar(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Dr(o,r))||a&&r&&Dr(a,r))return t;var s=this,l=s.cache,u=s.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[c]?(t.componentInstance=l[c].componentInstance,y(u,c),u.push(c)):(l[c]=t,u.push(c),this.max&&u.length>parseInt(this.max)&&Ir(l,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Rr={KeepAlive:Pr};function Nr(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:D,mergeOptions:qe,defineReactive:je},e.set=Pe,e.delete=Re,e.nextTick=pt,e.observable=function(e){return Ie(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,D(e.options.components,Rr),Mr(e),Sr(e),Cr(e),Lr(e)}Nr(kr),Object.defineProperty(kr.prototype,"$isServer",{get:le}),Object.defineProperty(kr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kr,"FunctionalRenderContext",{value:Zt}),kr.version="2.6.10";var Br=g("style,class"),Yr=g("input,textarea,option,select,progress"),Fr=function(e,t,n){return"value"===n&&Yr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},zr=g("contenteditable,draggable,spellcheck"),Hr=g("events,caret,typing,plaintext-only"),Vr=function(e,t){return qr(t)||"false"===t?"false":"contenteditable"===e&&Hr(t)?t:"true"},Wr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ur="http://www.w3.org/1999/xlink",$r=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return $r(e)?e.slice(6,e.length):""},qr=function(e){return null==e||!1===e};function Xr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Kr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Kr(t,n.data));return Zr(t.staticClass,t.class)}function Kr(e,t){return{staticClass:Jr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Zr(e,t){return i(e)||i(t)?Jr(e,Qr(t)):""}function Jr(e,t){return e?t?e+" "+t:e:t||""}function Qr(e){return Array.isArray(e)?ei(e):l(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,n="",r=0,o=e.length;r<o;r++)i(t=Qr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function ti(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var ni={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ri=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ii=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(e){return ri(e)||ii(e)};function ai(e){return ii(e)?"svg":"math"===e?"math":void 0}var si=Object.create(null);function li(e){if(!K)return!0;if(oi(e))return!1;if(e=e.toLowerCase(),null!=si[e])return si[e];var t=document.createElement(e);return e.indexOf("-")>-1?si[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:si[e]=/HTMLUnknownElement/.test(t.toString())}var ui=g("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function di(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(e,t){return document.createElementNS(ni[e],t)}function fi(e){return document.createTextNode(e)}function pi(e){return document.createComment(e)}function mi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function _i(e){return e.tagName}function wi(e,t){e.textContent=t}function xi(e,t){e.setAttribute(t,"")}var ki=Object.freeze({createElement:di,createElementNS:hi,createTextNode:fi,createComment:pi,insertBefore:mi,removeChild:gi,appendChild:vi,parentNode:yi,nextSibling:bi,tagName:_i,setTextContent:wi,setStyleScope:xi}),Mi={create:function(e,t){Si(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Si(e,!0),Si(t))},destroy:function(e){Si(e,!0)}};function Si(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Ci=new be("",{},[]),Ti=["create","activate","update","remove","destroy"];function Oi(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Li(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Li(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||ui(r)&&ui(o)}function Ai(e,t,n){var r,o,a={};for(r=t;r<=n;++r)o=e[r].key,i(o)&&(a[o]=r);return a}function Di(e){var t,n,a={},l=e.modules,u=e.nodeOps;for(t=0;t<Ti.length;++t)for(a[Ti[t]]=[],n=0;n<l.length;++n)i(l[n][Ti[t]])&&a[Ti[t]].push(l[n][Ti[t]]);function c(e){return new be(u.tagName(e).toLowerCase(),{},[],void 0,e)}function d(e,t){function n(){0===--n.listeners&&h(e)}return n.listeners=t,n}function h(e){var t=u.parentNode(e);i(t)&&u.removeChild(t,e)}function f(e,t,n,r,a,s,l){if(i(e.elm)&&i(s)&&(e=s[l]=ke(e)),e.isRootInsert=!a,!p(e,t,n,r)){var c=e.data,d=e.children,h=e.tag;i(h)?(e.elm=e.ns?u.createElementNS(e.ns,h):u.createElement(h,e),x(e),b(e,d,t),i(c)&&w(e,t),y(n,e.elm,r)):o(e.isComment)?(e.elm=u.createComment(e.text),y(n,e.elm,r)):(e.elm=u.createTextNode(e.text),y(n,e.elm,r))}}function p(e,t,n,r){var a=e.data;if(i(a)){var s=i(e.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(e,!1),i(e.componentInstance))return m(e,t),y(n,e.elm,r),o(s)&&v(e,t,n,r),!0}}function m(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,_(e)?(w(e,t),x(e)):(Si(e),t.push(e))}function v(e,t,n,r){var o,s=e;while(s.componentInstance)if(s=s.componentInstance._vnode,i(o=s.data)&&i(o=o.transition)){for(o=0;o<a.activate.length;++o)a.activate[o](Ci,s);t.push(s);break}y(n,e.elm,r)}function y(e,t,n){i(e)&&(i(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function b(e,t,n){if(Array.isArray(t)){0;for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r)}else s(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function _(e){while(e.componentInstance)e=e.componentInstance._vnode;return i(e.tag)}function w(e,n){for(var r=0;r<a.create.length;++r)a.create[r](Ci,e);t=e.data.hook,i(t)&&(i(t.create)&&t.create(Ci,e),i(t.insert)&&n.push(e))}function x(e){var t;if(i(t=e.fnScopeId))u.setStyleScope(e.elm,t);else{var n=e;while(n)i(t=n.context)&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent}i(t=An)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function k(e,t,n,r,i,o){for(;r<=i;++r)f(n[r],o,e,t,!1,n,r)}function M(e){var t,n,r=e.data;if(i(r))for(i(t=r.hook)&&i(t=t.destroy)&&t(e),t=0;t<a.destroy.length;++t)a.destroy[t](e);if(i(t=e.children))for(n=0;n<e.children.length;++n)M(e.children[n])}function S(e,t,n,r){for(;n<=r;++n){var o=t[n];i(o)&&(i(o.tag)?(C(o),M(o)):h(o.elm))}}function C(e,t){if(i(t)||i(e.data)){var n,r=a.remove.length+1;for(i(t)?t.listeners+=r:t=d(e.elm,r),i(n=e.componentInstance)&&i(n=n._vnode)&&i(n.data)&&C(n,t),n=0;n<a.remove.length;++n)a.remove[n](e,t);i(n=e.data.hook)&&i(n=n.remove)?n(e,t):t()}else h(e.elm)}function T(e,t,n,o,a){var s,l,c,d,h=0,p=0,m=t.length-1,g=t[0],v=t[m],y=n.length-1,b=n[0],_=n[y],w=!a;while(h<=m&&p<=y)r(g)?g=t[++h]:r(v)?v=t[--m]:Oi(g,b)?(L(g,b,o,n,p),g=t[++h],b=n[++p]):Oi(v,_)?(L(v,_,o,n,y),v=t[--m],_=n[--y]):Oi(g,_)?(L(g,_,o,n,y),w&&u.insertBefore(e,g.elm,u.nextSibling(v.elm)),g=t[++h],_=n[--y]):Oi(v,b)?(L(v,b,o,n,p),w&&u.insertBefore(e,v.elm,g.elm),v=t[--m],b=n[++p]):(r(s)&&(s=Ai(t,h,m)),l=i(b.key)?s[b.key]:O(b,t,h,m),r(l)?f(b,o,e,g.elm,!1,n,p):(c=t[l],Oi(c,b)?(L(c,b,o,n,p),t[l]=void 0,w&&u.insertBefore(e,c.elm,g.elm)):f(b,o,e,g.elm,!1,n,p)),b=n[++p]);h>m?(d=r(n[y+1])?null:n[y+1].elm,k(e,d,n,p,y,o)):p>y&&S(e,t,h,m)}function O(e,t,n,r){for(var o=n;o<r;o++){var a=t[o];if(i(a)&&Oi(e,a))return o}}function L(e,t,n,s,l,c){if(e!==t){i(t.elm)&&i(s)&&(t=s[l]=ke(t));var d=t.elm=e.elm;if(o(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?E(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))t.componentInstance=e.componentInstance;else{var h,f=t.data;i(f)&&i(h=f.hook)&&i(h=h.prepatch)&&h(e,t);var p=e.children,m=t.children;if(i(f)&&_(t)){for(h=0;h<a.update.length;++h)a.update[h](e,t);i(h=f.hook)&&i(h=h.update)&&h(e,t)}r(t.text)?i(p)&&i(m)?p!==m&&T(d,p,m,n,c):i(m)?(i(e.text)&&u.setTextContent(d,""),k(d,null,m,0,m.length-1,n)):i(p)?S(d,p,0,p.length-1):i(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),i(f)&&i(h=f.hook)&&i(h=h.postpatch)&&h(e,t)}}}function A(e,t,n){if(o(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var D=g("attrs,class,staticClass,staticStyle,key");function E(e,t,n,r){var a,s=t.tag,l=t.data,u=t.children;if(r=r||l&&l.pre,t.elm=e,o(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(i(l)&&(i(a=l.hook)&&i(a=a.init)&&a(t,!0),i(a=t.componentInstance)))return m(t,n),!0;if(i(s)){if(i(u))if(e.hasChildNodes())if(i(a=l)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var c=!0,d=e.firstChild,h=0;h<u.length;h++){if(!d||!E(d,u[h],n,r)){c=!1;break}d=d.nextSibling}if(!c||d)return!1}else b(t,u,n);if(i(l)){var f=!1;for(var p in l)if(!D(p)){f=!0,w(t,n);break}!f&&l["class"]&&gt(l["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var l=!1,d=[];if(r(e))l=!0,f(t,d);else{var h=i(e.nodeType);if(!h&&Oi(e,t))L(e,t,d,null,null,s);else{if(h){if(1===e.nodeType&&e.hasAttribute(Y)&&(e.removeAttribute(Y),n=!0),o(n)&&E(e,t,d))return A(t,d,!0),e;e=c(e)}var p=e.elm,m=u.parentNode(p);if(f(t,d,p._leaveCb?null:m,u.nextSibling(p)),i(t.parent)){var g=t.parent,v=_(t);while(g){for(var y=0;y<a.destroy.length;++y)a.destroy[y](g);if(g.elm=t.elm,v){for(var b=0;b<a.create.length;++b)a.create[b](Ci,g);var w=g.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Si(g);g=g.parent}}i(m)?S(m,[e],0,0):i(e.tag)&&M(e)}}return A(t,d,l),t.elm}i(e)&&M(e)}}var Ei={create:Ii,update:Ii,destroy:function(e){Ii(e,Ci)}};function Ii(e,t){(e.data.directives||t.data.directives)&&ji(e,t)}function ji(e,t){var n,r,i,o=e===Ci,a=t===Ci,s=Ri(e.data.directives,e.context),l=Ri(t.data.directives,t.context),u=[],c=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Bi(i,"update",t,e),i.def&&i.def.componentUpdated&&c.push(i)):(Bi(i,"bind",t,e),i.def&&i.def.inserted&&u.push(i));if(u.length){var d=function(){for(var n=0;n<u.length;n++)Bi(u[n],"inserted",t,e)};o?wt(t,"insert",d):d()}if(c.length&&wt(t,"postpatch",(function(){for(var n=0;n<c.length;n++)Bi(c[n],"componentUpdated",t,e)})),!o)for(n in s)l[n]||Bi(s[n],"unbind",e,e,a)}var Pi=Object.create(null);function Ri(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)r=e[n],r.modifiers||(r.modifiers=Pi),i[Ni(r)]=r,r.def=Xe(t.$options,"directives",r.name,!0);return i}function Ni(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Bi(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(ka){tt(ka,n.context,"directive "+e.name+" "+t+" hook")}}var Yi=[Mi,Ei];function Fi(e,t){var n=t.componentOptions;if((!i(n)||!1!==n.Ctor.options.inheritAttrs)&&(!r(e.data.attrs)||!r(t.data.attrs))){var o,a,s,l=t.elm,u=e.data.attrs||{},c=t.data.attrs||{};for(o in i(c.__ob__)&&(c=t.data.attrs=D({},c)),c)a=c[o],s=u[o],s!==a&&zi(l,o,a);for(o in(ee||ne)&&c.value!==u.value&&zi(l,"value",c.value),u)r(c[o])&&($r(o)?l.removeAttributeNS(Ur,Gr(o)):zr(o)||l.removeAttribute(o))}}function zi(e,t,n){e.tagName.indexOf("-")>-1?Hi(e,t,n):Wr(t)?qr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):zr(t)?e.setAttribute(t,Vr(t,n)):$r(t)?qr(n)?e.removeAttributeNS(Ur,Gr(t)):e.setAttributeNS(Ur,t,n):Hi(e,t,n)}function Hi(e,t,n){if(qr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Vi={create:Fi,update:Fi};function Wi(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xr(t),l=n._transitionClasses;i(l)&&(s=Jr(s,Qr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ui,$i={create:Wi,update:Wi},Gi="__r",qi="__c";function Xi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[qi])&&(e.change=[].concat(e[qi],e.change||[]),delete e[qi])}function Ki(e,t,n){var r=Ui;return function i(){var o=t.apply(null,arguments);null!==o&&Qi(e,i,n,r)}}var Zi=at&&!(ie&&Number(ie[1])<=53);function Ji(e,t,n,r){if(Zi){var i=Gn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ui.addEventListener(e,t,ae?{capture:n,passive:r}:n)}function Qi(e,t,n,r){(r||Ui).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Ui=t.elm,Xi(n),_t(n,i,Ji,Qi,Ki,t.context),Ui=void 0}}var to,no={create:eo,update:eo};function ro(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in i(l.__ob__)&&(l=t.data.domProps=D({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=r(o)?"":String(o);io(a,u)&&(a.value=u)}else if("innerHTML"===n&&ii(a.tagName)&&r(a.innerHTML)){to=to||document.createElement("div"),to.innerHTML="<svg>"+o+"</svg>";var c=to.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(ka){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||ao(e,t))}function oo(e,t){var n=!0;try{n=document.activeElement!==e}catch(ka){}return n&&e.value!==t}function ao(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var so={create:ro,update:ro},lo=w((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function uo(e){var t=co(e.style);return e.staticStyle?D(e.staticStyle,t):t}function co(e){return Array.isArray(e)?E(e):"string"===typeof e?lo(e):e}function ho(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=uo(i.data))&&D(r,n)}(n=uo(e.data))&&D(r,n);var o=e;while(o=o.parent)o.data&&(n=uo(o.data))&&D(r,n);return r}var fo,po=/^--/,mo=/\s*!important$/,go=function(e,t,n){if(po.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(C(t),n.replace(mo,""),"important");else{var r=yo(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},vo=["Webkit","Moz","ms"],yo=w((function(e){if(fo=fo||document.createElement("div").style,e=k(e),"filter"!==e&&e in fo)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<vo.length;n++){var r=vo[n]+t;if(r in fo)return r}}));function bo(e,t){var n=t.data,o=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,l=t.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},d=u||c,h=co(t.data.style)||{};t.data.normalizedStyle=i(h.__ob__)?D({},h):h;var f=ho(t,!0);for(s in d)r(f[s])&&go(l,s,"");for(s in f)a=f[s],a!==d[s]&&go(l,s,null==a?"":a)}}var _o={create:bo,update:bo},wo=/\s+/;function xo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ko(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Mo(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&D(t,So(e.name||"v")),D(t,e),t}return"string"===typeof e?So(e):void 0}}var So=w((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Co=K&&!te,To="transition",Oo="animation",Lo="transition",Ao="transitionend",Do="animation",Eo="animationend";Co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Lo="WebkitTransition",Ao="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Do="WebkitAnimation",Eo="webkitAnimationEnd"));var Io=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function jo(e){Io((function(){Io(e)}))}function Po(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),xo(e,t))}function Ro(e,t){e._transitionClasses&&y(e._transitionClasses,t),ko(e,t)}function No(e,t,n){var r=Yo(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===To?Ao:Eo,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),e.addEventListener(s,c)}var Bo=/\b(transform|all)(,|$)/;function Yo(e,t){var n,r=window.getComputedStyle(e),i=(r[Lo+"Delay"]||"").split(", "),o=(r[Lo+"Duration"]||"").split(", "),a=Fo(i,o),s=(r[Do+"Delay"]||"").split(", "),l=(r[Do+"Duration"]||"").split(", "),u=Fo(s,l),c=0,d=0;t===To?a>0&&(n=To,c=a,d=o.length):t===Oo?u>0&&(n=Oo,c=u,d=l.length):(c=Math.max(a,u),n=c>0?a>u?To:Oo:null,d=n?n===To?o.length:l.length:0);var h=n===To&&Bo.test(r[Lo+"Property"]);return{type:n,timeout:c,propCount:d,hasTransform:h}}function Fo(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return zo(t)+zo(e[n])})))}function zo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ho(e,t){var n=e.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Mo(e.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){var a=o.css,s=o.type,u=o.enterClass,c=o.enterToClass,d=o.enterActiveClass,h=o.appearClass,f=o.appearToClass,p=o.appearActiveClass,g=o.beforeEnter,v=o.enter,y=o.afterEnter,b=o.enterCancelled,_=o.beforeAppear,w=o.appear,x=o.afterAppear,k=o.appearCancelled,M=o.duration,S=An,C=An.$vnode;while(C&&C.parent)S=C.context,C=C.parent;var T=!S._isMounted||!e.isRootInsert;if(!T||w||""===w){var O=T&&h?h:u,L=T&&p?p:d,A=T&&f?f:c,D=T&&_||g,E=T&&"function"===typeof w?w:v,I=T&&x||y,j=T&&k||b,P=m(l(M)?M.enter:M);0;var R=!1!==a&&!te,N=Uo(E),Y=n._enterCb=B((function(){R&&(Ro(n,A),Ro(n,L)),Y.cancelled?(R&&Ro(n,O),j&&j(n)):I&&I(n),n._enterCb=null}));e.data.show||wt(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),E&&E(n,Y)})),D&&D(n),R&&(Po(n,O),Po(n,L),jo((function(){Ro(n,O),Y.cancelled||(Po(n,A),N||(Wo(P)?setTimeout(Y,P):No(n,s,Y)))}))),e.data.show&&(t&&t(),E&&E(n,Y)),R||N||Y()}}}function Vo(e,t){var n=e.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=Mo(e.data.transition);if(r(o)||1!==n.nodeType)return t();if(!i(n._leaveCb)){var a=o.css,s=o.type,u=o.leaveClass,c=o.leaveToClass,d=o.leaveActiveClass,h=o.beforeLeave,f=o.leave,p=o.afterLeave,g=o.leaveCancelled,v=o.delayLeave,y=o.duration,b=!1!==a&&!te,_=Uo(f),w=m(l(y)?y.leave:y);0;var x=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Ro(n,c),Ro(n,d)),x.cancelled?(b&&Ro(n,u),g&&g(n)):(t(),p&&p(n)),n._leaveCb=null}));v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),h&&h(n),b&&(Po(n,u),Po(n,d),jo((function(){Ro(n,u),x.cancelled||(Po(n,c),_||(Wo(w)?setTimeout(x,w):No(n,s,x)))}))),f&&f(n,x),b||_||x())}}function Wo(e){return"number"===typeof e&&!isNaN(e)}function Uo(e){if(r(e))return!1;var t=e.fns;return i(t)?Uo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function $o(e,t){!0!==t.data.show&&Ho(t)}var Go=K?{create:$o,activate:$o,remove:function(e,t){!0!==e.data.show?Vo(e,t):t()}}:{},qo=[Vi,$i,no,so,_o,Go],Xo=qo.concat(Yi),Ko=Di({nodeOps:ki,modules:Xo});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ia(e,"input")}));var Zo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?wt(n,"postpatch",(function(){Zo.componentUpdated(e,t,n)})):Jo(e,t,n.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===n.tag||ui(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",na),e.addEventListener("compositionend",ra),e.addEventListener("change",ra),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Jo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ta);if(i.some((function(e,t){return!R(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return ea(e,i)})):t.value!==t.oldValue&&ea(t.value,i);o&&ia(e,"change")}}}};function Jo(e,t,n){Qo(e,t,n),(ee||ne)&&setTimeout((function(){Qo(e,t,n)}),0)}function Qo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=N(r,ta(a))>-1,a.selected!==o&&(a.selected=o);else if(R(ta(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!R(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function na(e){e.target.composing=!0}function ra(e){e.target.composing&&(e.target.composing=!1,ia(e.target,"input"))}function ia(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function oa(e){return!e.componentInstance||e.data&&e.data.transition?e:oa(e.componentInstance._vnode)}var aa={bind:function(e,t,n){var r=t.value;n=oa(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Ho(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Ho(n,(function(){e.style.display=e.__vOriginalDisplay})):Vo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},sa={model:Zo,show:aa},la={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ua(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ua(kn(t.children)):e}function ca(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[k(o)]=i[o];return t}function da(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function ha(e){while(e=e.parent)if(e.data.transition)return!0}function fa(e,t){return t.key===e.key&&t.tag===e.tag}var pa=function(e){return e.tag||xn(e)},ma=function(e){return"show"===e.name},ga={name:"transition",props:la,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(pa),n.length)){0;var r=this.mode;0;var i=n[0];if(ha(this.$vnode))return i;var o=ua(i);if(!o)return i;if(this._leaving)return da(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=ca(this),u=this._vnode,c=ua(u);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),c&&c.data&&!fa(o,c)&&!xn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=D({},l);if("out-in"===r)return this._leaving=!0,wt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),da(e,i);if("in-out"===r){if(xn(o))return u;var h,f=function(){h()};wt(l,"afterEnter",f),wt(l,"enterCancelled",f),wt(d,"delayLeave",(function(e){h=e}))}}return i}}},va=D({tag:String,moveClass:String},la);delete va.mode;var ya={props:va,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Dn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s<i.length;s++){var l=i[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(r){for(var u=[],c=[],d=0;d<r.length;d++){var h=r[d];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?u.push(h):c.push(h)}this.kept=e(t,null,u),this.removed=c}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ba),e.forEach(_a),e.forEach(wa),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Po(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ao,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ao,e),n._moveCb=null,Ro(n,t))})}})))},methods:{hasMove:function(e,t){if(!Co)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){ko(n,e)})),xo(n,t),n.style.display="none",this.$el.appendChild(n);var r=Yo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function ba(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function _a(e){e.data.newPos=e.elm.getBoundingClientRect()}function wa(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var xa={Transition:ga,TransitionGroup:ya};kr.config.mustUseProp=Fr,kr.config.isReservedTag=oi,kr.config.isReservedAttr=Br,kr.config.getTagNamespace=ai,kr.config.isUnknownElement=li,D(kr.options.directives,sa),D(kr.options.components,xa),kr.prototype.__patch__=K?Ko:I,kr.prototype.$mount=function(e,t){return e=e&&K?ci(e):void 0,jn(this,e,t)},K&&setTimeout((function(){H.devtools&&ue&&ue.emit("init",kr)}),0),t["default"]=kr}.call(this,n("24aa"))},"2b4c":function(e,t,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},"2b79":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("df2f"),n("5980"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,i=n.WordArray,o=t.algo,a=o.MD5,s=o.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n,r=this.cfg,o=r.hasher.create(),a=i.create(),s=a.words,l=r.keySize,u=r.iterations;while(s.length<l){n&&o.update(n),n=o.update(e).finalize(t),o.reset();for(var c=1;c<u;c++)n=o.finalize(n),o.reset();a.concat(n)}return a.sigBytes=4*l,a}});t.EvpKDF=function(e,t,n){return s.create(n).compute(e,t)}}(),e.EvpKDF}))},"2bfb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  90. //! moment.js locale configuration
  91. var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},"2caf":function(e,t,n){var r=n("5ca1");r(r.S,"Array",{isArray:n("1169")})},"2d00":function(e,t){e.exports=!1},"2d34":function(e,t,n){var r=n("5ca1"),i=n("38fd"),o=n("cb7c");r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},"2d5c":function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},"2d63":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("f921"),i=n.n(r),o=n("d8d6"),a=n.n(o),s=n("f410"),l=n.n(s),u=n("e630");function c(e,t){var n="undefined"!=typeof i.a&&e[a.a]||e["@@iterator"];if(!n){if(l()(e)||(n=Object(u["a"])(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,s=e},f:function(){try{c||null==n["return"]||n["return"]()}finally{if(d)throw s}}}}},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2db9":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCurveToPolyline=b,t.getBezierCurveLength=_,t["default"]=void 0;var i=r(n("278c")),o=r(n("448a")),a=Math.sqrt,s=Math.pow,l=Math.ceil,u=Math.abs,c=50;function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=e.length-1,r=e[0],i=e[n][2],a=e.slice(1),s=a.map((function(e,t){var n=0===t?r:a[t-1][2];return h.apply(void 0,[n].concat((0,o["default"])(e)))})),l=new Array(n).fill(c),u=g(s,l),d=y(u,s,a,t);return d.segmentPoints.push(i),d}function h(e,t,n,r){return function(i){var o=1-i,a=s(o,3),l=s(o,2),u=s(i,3),c=s(i,2);return[e[0]*a+3*t[0]*i*l+3*n[0]*c*o+r[0]*u,e[1]*a+3*t[1]*i*l+3*n[1]*c*o+r[1]*u]}}function f(e,t){var n=(0,i["default"])(e,2),r=n[0],o=n[1],l=(0,i["default"])(t,2),u=l[0],c=l[1];return a(s(r-u,2)+s(o-c,2))}function p(e){return e.reduce((function(e,t){return e+t}),0)}function m(e){return e.map((function(e,t){return new Array(e.length-1).fill(0).map((function(t,n){return f(e[n],e[n+1])}))}))}function g(e,t){return e.map((function(e,n){var r=1/t[n];return new Array(t[n]).fill("").map((function(t,n){return e(n*r)}))}))}function v(e,t){return e.map((function(e){return e.map((function(e){return u(e-t)}))})).map((function(e){return p(e)})).reduce((function(e,t){return e+t}),0)}function y(e,t,n,r){var i=4,o=1,a=function(){var a=e.reduce((function(e,t){return e+t.length}),0);e.forEach((function(e,t){return e.push(n[t][2])}));var s=m(e),u=s.reduce((function(e,t){return e+t.length}),0),c=s.map((function(e){return p(e)})),d=p(c),h=d/u,f=v(s,h);if(f<=r)return"break";a=l(h/r*a*1.1);var y=c.map((function(e){return l(e/d*a)}));e=g(t,y),a=e.reduce((function(e,t){return e+t.length}),0);var b=JSON.parse(JSON.stringify(e));b.forEach((function(e,t){return e.push(n[t][2])})),s=m(b),u=s.reduce((function(e,t){return e+t.length}),0),c=s.map((function(e){return p(e)})),d=p(c),h=d/u;var _=1/a/10;t.forEach((function(t,n){for(var r=y[n],o=new Array(r).fill("").map((function(e,t){return t/y[n]})),a=0;a<i;a++)for(var s=m([e[n]])[0],l=s.map((function(e){return e-h})),u=0,c=0;c<r;c++){if(0===c)return;u+=l[c-1],o[c]-=_*u,o[c]>1&&(o[c]=1),o[c]<0&&(o[c]=0),e[n][c]=t(o[c])}})),i*=4,o++};do{var s=a();if("break"===s)break}while(i<=1025);return e=e.reduce((function(e,t){return e.concat(t)}),[]),{segmentPoints:e,cycles:o,rounds:i}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("bezierCurveToPolyline: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("bezierCurveToPolyline: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("bezierCurveToPolyline: Parameter precision must be a number!"),!1;var n=d(e,t),r=n.segmentPoints;return r}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("getBezierCurveLength: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("getBezierCurveLength: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("getBezierCurveLength: Parameter precision must be a number!"),!1;var n=d(e,t),r=n.segmentPoints,i=m([r])[0],o=p(i);return o}var w=b;t["default"]=w},"2e08":function(e,t,n){var r=n("9def"),i=n("9744"),o=n("be13");e.exports=function(e,t,n,a){var s=String(o(e)),l=s.length,u=void 0===n?" ":String(n),c=r(t);if(c<=l||""==u)return s;var d=c-l,h=i.call(u,Math.ceil(d/u.length));return h.length>d&&(h=h.slice(0,d)),a?h+s:s+h}},"2e37":function(e,t,n){var r=n("5ca1");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e8c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  92. //! moment.js locale configuration
  93. var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t}))},"2ef0":function(e,t,n){(function(e,r){var i;
  94. /**
  95. * @license
  96. * Lodash <https://lodash.com/>
  97. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  98. * Released under MIT license <https://lodash.com/license>
  99. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  100. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  101. */(function(){var o,a="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,f="__lodash_placeholder__",p=1,m=2,g=4,v=1,y=2,b=1,_=2,w=4,x=8,k=16,M=32,S=64,C=128,T=256,O=512,L=30,A="...",D=800,E=16,I=1,j=2,P=3,R=1/0,N=9007199254740991,B=17976931348623157e292,Y=NaN,F=4294967295,z=F-1,H=F>>>1,V=[["ary",C],["bind",b],["bindKey",_],["curry",x],["curryRight",k],["flip",O],["partial",M],["partialRight",S],["rearg",T]],W="[object Arguments]",U="[object Array]",$="[object AsyncFunction]",G="[object Boolean]",q="[object Date]",X="[object DOMException]",K="[object Error]",Z="[object Function]",J="[object GeneratorFunction]",Q="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ie="[object Proxy]",oe="[object RegExp]",ae="[object Set]",se="[object String]",le="[object Symbol]",ue="[object Undefined]",ce="[object WeakMap]",de="[object WeakSet]",he="[object ArrayBuffer]",fe="[object DataView]",pe="[object Float32Array]",me="[object Float64Array]",ge="[object Int8Array]",ve="[object Int16Array]",ye="[object Int32Array]",be="[object Uint8Array]",_e="[object Uint8ClampedArray]",we="[object Uint16Array]",xe="[object Uint32Array]",ke=/\b__p \+= '';/g,Me=/\b(__p \+=) '' \+/g,Se=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ce=/&(?:amp|lt|gt|quot|#39);/g,Te=/[&<>"']/g,Oe=RegExp(Ce.source),Le=RegExp(Te.source),Ae=/<%-([\s\S]+?)%>/g,De=/<%([\s\S]+?)%>/g,Ee=/<%=([\s\S]+?)%>/g,Ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,je=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Re.source),Be=/^\s+/,Ye=/\s/,Fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,Ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,We=/[()=,{}\[\]\/\s]/,Ue=/\\(\\)?/g,$e=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ge=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",at=rt+it+ot,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ut="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",ht=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",mt=ut+ct+dt+ht,gt="['’]",vt="["+nt+"]",yt="["+mt+"]",bt="["+at+"]",_t="\\d+",wt="["+st+"]",xt="["+lt+"]",kt="[^"+nt+mt+_t+st+lt+ft+"]",Mt="\\ud83c[\\udffb-\\udfff]",St="(?:"+bt+"|"+Mt+")",Ct="[^"+nt+"]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ot="[\\ud800-\\udbff][\\udc00-\\udfff]",Lt="["+ft+"]",At="\\u200d",Dt="(?:"+xt+"|"+kt+")",Et="(?:"+Lt+"|"+kt+")",It="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",jt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Pt=St+"?",Rt="["+pt+"]?",Nt="(?:"+At+"(?:"+[Ct,Tt,Ot].join("|")+")"+Rt+Pt+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Yt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ft=Rt+Pt+Nt,zt="(?:"+[wt,Tt,Ot].join("|")+")"+Ft,Ht="(?:"+[Ct+bt+"?",bt,Tt,Ot,vt].join("|")+")",Vt=RegExp(gt,"g"),Wt=RegExp(bt,"g"),Ut=RegExp(Mt+"(?="+Mt+")|"+Ht+Ft,"g"),$t=RegExp([Lt+"?"+xt+"+"+It+"(?="+[yt,Lt,"$"].join("|")+")",Et+"+"+jt+"(?="+[yt,Lt+Dt,"$"].join("|")+")",Lt+"?"+Dt+"+"+It,Lt+"+"+jt,Yt,Bt,_t,zt].join("|"),"g"),Gt=RegExp("["+At+nt+at+pt+"]"),qt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kt=-1,Zt={};Zt[pe]=Zt[me]=Zt[ge]=Zt[ve]=Zt[ye]=Zt[be]=Zt[_e]=Zt[we]=Zt[xe]=!0,Zt[W]=Zt[U]=Zt[he]=Zt[G]=Zt[fe]=Zt[q]=Zt[K]=Zt[Z]=Zt[Q]=Zt[ee]=Zt[ne]=Zt[oe]=Zt[ae]=Zt[se]=Zt[ce]=!1;var Jt={};Jt[W]=Jt[U]=Jt[he]=Jt[fe]=Jt[G]=Jt[q]=Jt[pe]=Jt[me]=Jt[ge]=Jt[ve]=Jt[ye]=Jt[Q]=Jt[ee]=Jt[ne]=Jt[oe]=Jt[ae]=Jt[se]=Jt[le]=Jt[be]=Jt[_e]=Jt[we]=Jt[xe]=!0,Jt[K]=Jt[Z]=Jt[ce]=!1;var Qt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},en={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,on=parseInt,an="object"==typeof e&&e&&e.Object===Object&&e,sn="object"==typeof self&&self&&self.Object===Object&&self,ln=an||sn||Function("return this")(),un=t&&!t.nodeType&&t,cn=un&&"object"==typeof r&&r&&!r.nodeType&&r,dn=cn&&cn.exports===un,hn=dn&&an.process,fn=function(){try{var e=cn&&cn.require&&cn.require("util").types;return e||hn&&hn.binding&&hn.binding("util")}catch(t){}}(),pn=fn&&fn.isArrayBuffer,mn=fn&&fn.isDate,gn=fn&&fn.isMap,vn=fn&&fn.isRegExp,yn=fn&&fn.isSet,bn=fn&&fn.isTypedArray;function _n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wn(e,t,n,r){var i=-1,o=null==e?0:e.length;while(++i<o){var a=e[i];t(r,a,n(a),e)}return r}function xn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}function kn(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function Mn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}function Sn(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Cn(e,t){var n=null==e?0:e.length;return!!n&&Bn(e,t,0)>-1}function Tn(e,t,n){var r=-1,i=null==e?0:e.length;while(++r<i)if(n(t,e[r]))return!0;return!1}function On(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}function Ln(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}function An(e,t,n,r){var i=-1,o=null==e?0:e.length;r&&o&&(n=e[++i]);while(++i<o)n=t(n,e[i],i,e);return n}function Dn(e,t,n,r){var i=null==e?0:e.length;r&&i&&(n=e[--i]);while(i--)n=t(n,e[i],i,e);return n}function En(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var In=Hn("length");function jn(e){return e.split("")}function Pn(e){return e.match(Ve)||[]}function Rn(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Nn(e,t,n,r){var i=e.length,o=n+(r?1:-1);while(r?o--:++o<i)if(t(e[o],o,e))return o;return-1}function Bn(e,t,n){return t===t?pr(e,t,n):Nn(e,Fn,n)}function Yn(e,t,n,r){var i=n-1,o=e.length;while(++i<o)if(r(e[i],t))return i;return-1}function Fn(e){return e!==e}function zn(e,t){var n=null==e?0:e.length;return n?$n(e,t)/n:Y}function Hn(e){return function(t){return null==t?o:t[e]}}function Vn(e){return function(t){return null==e?o:e[t]}}function Wn(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Un(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function $n(e,t){var n,r=-1,i=e.length;while(++r<i){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Gn(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function qn(e,t){return On(t,(function(t){return[t,e[t]]}))}function Xn(e){return e?e.slice(0,yr(e)+1).replace(Be,""):e}function Kn(e){return function(t){return e(t)}}function Zn(e,t){return On(t,(function(t){return e[t]}))}function Jn(e,t){return e.has(t)}function Qn(e,t){var n=-1,r=e.length;while(++n<r&&Bn(t,e[n],0)>-1);return n}function er(e,t){var n=e.length;while(n--&&Bn(t,e[n],0)>-1);return n}function tr(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var nr=Vn(Qt),rr=Vn(en);function ir(e){return"\\"+nn[e]}function or(e,t){return null==e?o:e[t]}function ar(e){return Gt.test(e)}function sr(e){return qt.test(e)}function lr(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function ur(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cr(e,t){return function(n){return e(t(n))}}function dr(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n];a!==t&&a!==f||(e[n]=f,o[i++]=n)}return o}function hr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function fr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pr(e,t,n){var r=n-1,i=e.length;while(++r<i)if(e[r]===t)return r;return-1}function mr(e,t,n){var r=n+1;while(r--)if(e[r]===t)return r;return r}function gr(e){return ar(e)?_r(e):In(e)}function vr(e){return ar(e)?wr(e):jn(e)}function yr(e){var t=e.length;while(t--&&Ye.test(e.charAt(t)));return t}var br=Vn(tn);function _r(e){var t=Ut.lastIndex=0;while(Ut.test(e))++t;return t}function wr(e){return e.match(Ut)||[]}function xr(e){return e.match($t)||[]}var kr=function e(t){t=null==t?ln:Mr.defaults(ln.Object(),t,Mr.pick(ln,Xt));var n=t.Array,r=t.Date,i=t.Error,Ye=t.Function,Ve=t.Math,nt=t.Object,rt=t.RegExp,it=t.String,ot=t.TypeError,at=n.prototype,st=Ye.prototype,lt=nt.prototype,ut=t["__core-js_shared__"],ct=st.toString,dt=lt.hasOwnProperty,ht=0,ft=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pt=lt.toString,mt=ct.call(nt),gt=ln._,vt=rt("^"+ct.call(dt).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=dn?t.Buffer:o,bt=t.Symbol,_t=t.Uint8Array,wt=yt?yt.allocUnsafe:o,xt=cr(nt.getPrototypeOf,nt),kt=nt.create,Mt=lt.propertyIsEnumerable,St=at.splice,Ct=bt?bt.isConcatSpreadable:o,Tt=bt?bt.iterator:o,Ot=bt?bt.toStringTag:o,Lt=function(){try{var e=Ga(nt,"defineProperty");return e({},"",{}),e}catch(t){}}(),At=t.clearTimeout!==ln.clearTimeout&&t.clearTimeout,Dt=r&&r.now!==ln.Date.now&&r.now,Et=t.setTimeout!==ln.setTimeout&&t.setTimeout,It=Ve.ceil,jt=Ve.floor,Pt=nt.getOwnPropertySymbols,Rt=yt?yt.isBuffer:o,Nt=t.isFinite,Bt=at.join,Yt=cr(nt.keys,nt),Ft=Ve.max,zt=Ve.min,Ht=r.now,Ut=t.parseInt,$t=Ve.random,Gt=at.reverse,qt=Ga(t,"DataView"),Qt=Ga(t,"Map"),en=Ga(t,"Promise"),tn=Ga(t,"Set"),nn=Ga(t,"WeakMap"),an=Ga(nt,"create"),sn=nn&&new nn,un={},cn=Es(qt),hn=Es(Qt),fn=Es(en),In=Es(tn),jn=Es(nn),Vn=bt?bt.prototype:o,pr=Vn?Vn.valueOf:o,_r=Vn?Vn.toString:o;function wr(e){if(Sc(e)&&!lc(e)&&!(e instanceof Tr)){if(e instanceof Cr)return e;if(dt.call(e,"__wrapped__"))return js(e)}return new Cr(e)}var kr=function(){function e(){}return function(t){if(!Mc(t))return{};if(kt)return kt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Sr(){}function Cr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Tr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function Or(){var e=new Tr(this.__wrapped__);return e.__actions__=ia(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ia(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ia(this.__views__),e}function Lr(){if(this.__filtered__){var e=new Tr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Ar(){var e=this.__wrapped__.value(),t=this.__dir__,n=lc(e),r=t<0,i=n?e.length:0,o=Ja(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=zt(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return Yo(e,this.__actions__);var p=[];e:while(l--&&h<f){u+=t;var m=-1,g=e[u];while(++m<d){var v=c[m],y=v.iteratee,b=v.type,_=y(g);if(b==j)g=_;else if(!_){if(b==I)continue e;break e}}p[h++]=g}return p}function Dr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Er(){this.__data__=an?an(null):{},this.size=0}function Ir(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function jr(e){var t=this.__data__;if(an){var n=t[e];return n===d?o:n}return dt.call(t,e)?t[e]:o}function Pr(e){var t=this.__data__;return an?t[e]!==o:dt.call(t,e)}function Rr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=an&&t===o?d:t,this}function Nr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Br(){this.__data__=[],this.size=0}function Yr(e){var t=this.__data__,n=ci(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():St.call(t,n,1),--this.size,!0}function Fr(e){var t=this.__data__,n=ci(t,e);return n<0?o:t[n][1]}function zr(e){return ci(this.__data__,e)>-1}function Hr(e,t){var n=this.__data__,r=ci(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Vr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Wr(){this.size=0,this.__data__={hash:new Dr,map:new(Qt||Nr),string:new Dr}}function Ur(e){var t=Ua(this,e)["delete"](e);return this.size-=t?1:0,t}function $r(e){return Ua(this,e).get(e)}function Gr(e){return Ua(this,e).has(e)}function qr(e,t){var n=Ua(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Xr(e){var t=-1,n=null==e?0:e.length;this.__data__=new Vr;while(++t<n)this.add(e[t])}function Kr(e){return this.__data__.set(e,d),this}function Zr(e){return this.__data__.has(e)}function Jr(e){var t=this.__data__=new Nr(e);this.size=t.size}function Qr(){this.__data__=new Nr,this.size=0}function ei(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function ti(e){return this.__data__.get(e)}function ni(e){return this.__data__.has(e)}function ri(e,t){var n=this.__data__;if(n instanceof Nr){var r=n.__data__;if(!Qt||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vr(r)}return n.set(e,t),this.size=n.size,this}function ii(e,t){var n=lc(e),r=!n&&sc(e),i=!n&&!r&&fc(e),o=!n&&!r&&!i&&Fc(e),a=n||r||i||o,s=a?Gn(e.length,it):[],l=s.length;for(var u in e)!t&&!dt.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||as(u,l))||s.push(u);return s}function oi(e){var t=e.length;return t?e[yo(0,t-1)]:o}function ai(e,t){return Ls(ia(e),gi(t,0,e.length))}function si(e){return Ls(ia(e))}function li(e,t,n){(n!==o&&!ic(e[t],n)||n===o&&!(t in e))&&pi(e,t,n)}function ui(e,t,n){var r=e[t];dt.call(e,t)&&ic(r,n)&&(n!==o||t in e)||pi(e,t,n)}function ci(e,t){var n=e.length;while(n--)if(ic(e[n][0],t))return n;return-1}function di(e,t,n,r){return xi(e,(function(e,i,o){t(r,e,n(e),o)})),r}function hi(e,t){return e&&oa(t,xd(t),e)}function fi(e,t){return e&&oa(t,kd(t),e)}function pi(e,t,n){"__proto__"==t&&Lt?Lt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function mi(e,t){var r=-1,i=t.length,a=n(i),s=null==e;while(++r<i)a[r]=s?o:gd(e,t[r]);return a}function gi(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function vi(e,t,n,r,i,a){var s,l=t&p,u=t&m,c=t&g;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!Mc(e))return e;var d=lc(e);if(d){if(s=ts(e),!l)return ia(e,s)}else{var h=Za(e),f=h==Z||h==J;if(fc(e))return qo(e,l);if(h==ne||h==W||f&&!i){if(s=u||f?{}:ns(e),!l)return u?sa(e,fi(s,e)):aa(e,hi(s,e))}else{if(!Jt[h])return i?e:{};s=rs(e,h,l)}}a||(a=new Jr);var v=a.get(e);if(v)return v;a.set(e,s),Nc(e)?e.forEach((function(r){s.add(vi(r,t,n,r,e,a))})):Cc(e)&&e.forEach((function(r,i){s.set(i,vi(r,t,n,i,e,a))}));var y=c?u?Fa:Ya:u?kd:xd,b=d?o:y(e);return xn(b||e,(function(r,i){b&&(i=r,r=e[i]),ui(s,i,vi(r,t,n,i,e,a))})),s}function yi(e){var t=xd(e);return function(n){return bi(n,e,t)}}function bi(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function _i(e,t,n){if("function"!=typeof e)throw new ot(u);return Ss((function(){e.apply(o,n)}),t)}function wi(e,t,n,r){var i=-1,o=Cn,a=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=On(t,Kn(n))),r?(o=Tn,a=!1):t.length>=s&&(o=Jn,a=!1,t=new Xr(t));e:while(++i<l){var d=e[i],h=null==n?d:n(d);if(d=r||0!==d?d:0,a&&h===h){var f=c;while(f--)if(t[f]===h)continue e;u.push(d)}else o(t,h,r)||u.push(d)}return u}wr.templateSettings={escape:Ae,evaluate:De,interpolate:Ee,variable:"",imports:{_:wr}},wr.prototype=Sr.prototype,wr.prototype.constructor=wr,Cr.prototype=kr(Sr.prototype),Cr.prototype.constructor=Cr,Tr.prototype=kr(Sr.prototype),Tr.prototype.constructor=Tr,Dr.prototype.clear=Er,Dr.prototype["delete"]=Ir,Dr.prototype.get=jr,Dr.prototype.has=Pr,Dr.prototype.set=Rr,Nr.prototype.clear=Br,Nr.prototype["delete"]=Yr,Nr.prototype.get=Fr,Nr.prototype.has=zr,Nr.prototype.set=Hr,Vr.prototype.clear=Wr,Vr.prototype["delete"]=Ur,Vr.prototype.get=$r,Vr.prototype.has=Gr,Vr.prototype.set=qr,Xr.prototype.add=Xr.prototype.push=Kr,Xr.prototype.has=Zr,Jr.prototype.clear=Qr,Jr.prototype["delete"]=ei,Jr.prototype.get=ti,Jr.prototype.has=ni,Jr.prototype.set=ri;var xi=ca(Di),ki=ca(Ei,!0);function Mi(e,t){var n=!0;return xi(e,(function(e,r,i){return n=!!t(e,r,i),n})),n}function Si(e,t,n){var r=-1,i=e.length;while(++r<i){var a=e[r],s=t(a);if(null!=s&&(l===o?s===s&&!Yc(s):n(s,l)))var l=s,u=a}return u}function Ci(e,t,n,r){var i=e.length;n=qc(n),n<0&&(n=-n>i?0:i+n),r=r===o||r>i?i:qc(r),r<0&&(r+=i),r=n>r?0:Xc(r);while(n<r)e[n++]=t;return e}function Ti(e,t){var n=[];return xi(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Oi(e,t,n,r,i){var o=-1,a=e.length;n||(n=os),i||(i=[]);while(++o<a){var s=e[o];t>0&&n(s)?t>1?Oi(s,t-1,n,r,i):Ln(i,s):r||(i[i.length]=s)}return i}var Li=da(),Ai=da(!0);function Di(e,t){return e&&Li(e,t,xd)}function Ei(e,t){return e&&Ai(e,t,xd)}function Ii(e,t){return Sn(t,(function(t){return wc(e[t])}))}function ji(e,t){t=Wo(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Ds(t[n++])];return n&&n==r?e:o}function Pi(e,t,n){var r=t(e);return lc(e)?r:Ln(r,n(e))}function Ri(e){return null==e?e===o?ue:te:Ot&&Ot in nt(e)?qa(e):bs(e)}function Ni(e,t){return e>t}function Bi(e,t){return null!=e&&dt.call(e,t)}function Yi(e,t){return null!=e&&t in nt(e)}function Fi(e,t,n){return e>=zt(t,n)&&e<Ft(t,n)}function zi(e,t,r){var i=r?Tn:Cn,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,d=[];while(l--){var h=e[l];l&&t&&(h=On(h,Kn(t))),c=zt(h.length,c),u[l]=!r&&(t||a>=120&&h.length>=120)?new Xr(l&&h):o}h=e[0];var f=-1,p=u[0];e:while(++f<a&&d.length<c){var m=h[f],g=t?t(m):m;if(m=r||0!==m?m:0,!(p?Jn(p,g):i(d,g,r))){l=s;while(--l){var v=u[l];if(!(v?Jn(v,g):i(e[l],g,r)))continue e}p&&p.push(g),d.push(m)}}return d}function Hi(e,t,n,r){return Di(e,(function(e,i,o){t(r,n(e),i,o)})),r}function Vi(e,t,n){t=Wo(t,e),e=ws(e,t);var r=null==e?e:e[Ds(ol(t))];return null==r?o:_n(r,e,n)}function Wi(e){return Sc(e)&&Ri(e)==W}function Ui(e){return Sc(e)&&Ri(e)==he}function $i(e){return Sc(e)&&Ri(e)==q}function Gi(e,t,n,r,i){return e===t||(null==e||null==t||!Sc(e)&&!Sc(t)?e!==e&&t!==t:qi(e,t,n,r,Gi,i))}function qi(e,t,n,r,i,o){var a=lc(e),s=lc(t),l=a?U:Za(e),u=s?U:Za(t);l=l==W?ne:l,u=u==W?ne:u;var c=l==ne,d=u==ne,h=l==u;if(h&&fc(e)){if(!fc(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new Jr),a||Fc(e)?Pa(e,t,n,r,i,o):Ra(e,t,l,n,r,i,o);if(!(n&v)){var f=c&&dt.call(e,"__wrapped__"),p=d&&dt.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,g=p?t.value():t;return o||(o=new Jr),i(m,g,n,r,o)}}return!!h&&(o||(o=new Jr),Na(e,t,n,r,i,o))}function Xi(e){return Sc(e)&&Za(e)==Q}function Ki(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;e=nt(e);while(i--){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++i<a){l=n[i];var u=l[0],c=e[u],d=l[1];if(s&&l[2]){if(c===o&&!(u in e))return!1}else{var h=new Jr;if(r)var f=r(c,d,u,e,t,h);if(!(f===o?Gi(d,c,v|y,r,h):f))return!1}}return!0}function Zi(e){if(!Mc(e)||ds(e))return!1;var t=wc(e)?vt:Ke;return t.test(Es(e))}function Ji(e){return Sc(e)&&Ri(e)==oe}function Qi(e){return Sc(e)&&Za(e)==ae}function eo(e){return Sc(e)&&kc(e.length)&&!!Zt[Ri(e)]}function to(e){return"function"==typeof e?e:null==e?Ah:"object"==typeof e?lc(e)?so(e[0],e[1]):ao(e):Vh(e)}function no(e){if(!fs(e))return Yt(e);var t=[];for(var n in nt(e))dt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ro(e){if(!Mc(e))return ys(e);var t=fs(e),n=[];for(var r in e)("constructor"!=r||!t&&dt.call(e,r))&&n.push(r);return n}function io(e,t){return e<t}function oo(e,t){var r=-1,i=cc(e)?n(e.length):[];return xi(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}function ao(e){var t=$a(e);return 1==t.length&&t[0][2]?ms(t[0][0],t[0][1]):function(n){return n===e||Ki(n,e,t)}}function so(e,t){return ls(e)&&ps(t)?ms(Ds(e),t):function(n){var r=gd(n,e);return r===o&&r===t?yd(n,e):Gi(t,r,v|y)}}function lo(e,t,n,r,i){e!==t&&Li(t,(function(a,s){if(i||(i=new Jr),Mc(a))uo(e,t,s,n,lo,r,i);else{var l=r?r(ks(e,s),a,s+"",e,t,i):o;l===o&&(l=a),li(e,s,l)}}),kd)}function uo(e,t,n,r,i,a,s){var l=ks(e,n),u=ks(t,n),c=s.get(u);if(c)li(e,n,c);else{var d=a?a(l,u,n+"",e,t,s):o,h=d===o;if(h){var f=lc(u),p=!f&&fc(u),m=!f&&!p&&Fc(u);d=u,f||p||m?lc(l)?d=l:dc(l)?d=ia(l):p?(h=!1,d=qo(u,!0)):m?(h=!1,d=Qo(u,!0)):d=[]:jc(u)||sc(u)?(d=l,sc(l)?d=Zc(l):Mc(l)&&!wc(l)||(d=ns(u))):h=!1}h&&(s.set(u,d),i(d,u,r,a,s),s["delete"](u)),li(e,n,d)}}function co(e,t){var n=e.length;if(n)return t+=t<0?n:0,as(t,n)?e[t]:o}function ho(e,t,n){t=t.length?On(t,(function(e){return lc(e)?function(t){return ji(t,1===e.length?e[0]:e)}:e})):[Ah];var r=-1;t=On(t,Kn(Wa()));var i=oo(e,(function(e,n,i){var o=On(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return Un(i,(function(e,t){return ta(e,t,n)}))}function fo(e,t){return po(e,t,(function(t,n){return yd(e,n)}))}function po(e,t,n){var r=-1,i=t.length,o={};while(++r<i){var a=t[r],s=ji(e,a);n(s,a)&&Mo(o,Wo(a,e),s)}return o}function mo(e){return function(t){return ji(t,e)}}function go(e,t,n,r){var i=r?Yn:Bn,o=-1,a=t.length,s=e;e===t&&(t=ia(t)),n&&(s=On(e,Kn(n)));while(++o<a){var l=0,u=t[o],c=n?n(u):u;while((l=i(s,c,l,r))>-1)s!==e&&St.call(s,l,1),St.call(e,l,1)}return e}function vo(e,t){var n=e?t.length:0,r=n-1;while(n--){var i=t[n];if(n==r||i!==o){var o=i;as(i)?St.call(e,i,1):Ro(e,i)}}return e}function yo(e,t){return e+jt($t()*(t-e+1))}function bo(e,t,r,i){var o=-1,a=Ft(It((t-e)/(r||1)),0),s=n(a);while(a--)s[i?a:++o]=e,e+=r;return s}function _o(e,t){var n="";if(!e||t<1||t>N)return n;do{t%2&&(n+=e),t=jt(t/2),t&&(e+=e)}while(t);return n}function wo(e,t){return Cs(_s(e,t,Ah),e+"")}function xo(e){return oi(zd(e))}function ko(e,t){var n=zd(e);return Ls(n,gi(t,0,n.length))}function Mo(e,t,n,r){if(!Mc(e))return e;t=Wo(t,e);var i=-1,a=t.length,s=a-1,l=e;while(null!=l&&++i<a){var u=Ds(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var d=l[u];c=r?r(d,u,l):o,c===o&&(c=Mc(d)?d:as(t[i+1])?[]:{})}ui(l,u,c),l=l[u]}return e}var So=sn?function(e,t){return sn.set(e,t),e}:Ah,Co=Lt?function(e,t){return Lt(e,"toString",{configurable:!0,enumerable:!1,value:Ch(t),writable:!0})}:Ah;function To(e){return Ls(zd(e))}function Oo(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;var a=n(o);while(++i<o)a[i]=e[i+t];return a}function Lo(e,t){var n;return xi(e,(function(e,r,i){return n=t(e,r,i),!n})),!!n}function Ao(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=H){while(r<i){var o=r+i>>>1,a=e[o];null!==a&&!Yc(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return Do(e,t,Ah,n)}function Do(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;t=n(t);var s=t!==t,l=null===t,u=Yc(t),c=t===o;while(i<a){var d=jt((i+a)/2),h=n(e[d]),f=h!==o,p=null===h,m=h===h,g=Yc(h);if(s)var v=r||m;else v=c?m&&(r||f):l?m&&f&&(r||!p):u?m&&f&&!p&&(r||!g):!p&&!g&&(r?h<=t:h<t);v?i=d+1:a=d}return zt(a,z)}function Eo(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n],s=t?t(a):a;if(!n||!ic(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function Io(e){return"number"==typeof e?e:Yc(e)?Y:+e}function jo(e){if("string"==typeof e)return e;if(lc(e))return On(e,jo)+"";if(Yc(e))return _r?_r.call(e):"";var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Po(e,t,n){var r=-1,i=Cn,o=e.length,a=!0,l=[],u=l;if(n)a=!1,i=Tn;else if(o>=s){var c=t?null:La(e);if(c)return hr(c);a=!1,i=Jn,u=new Xr}else u=t?[]:l;e:while(++r<o){var d=e[r],h=t?t(d):d;if(d=n||0!==d?d:0,a&&h===h){var f=u.length;while(f--)if(u[f]===h)continue e;t&&u.push(h),l.push(d)}else i(u,h,n)||(u!==l&&u.push(h),l.push(d))}return l}function Ro(e,t){return t=Wo(t,e),e=ws(e,t),null==e||delete e[Ds(ol(t))]}function No(e,t,n,r){return Mo(e,t,n(ji(e,t)),r)}function Bo(e,t,n,r){var i=e.length,o=r?i:-1;while((r?o--:++o<i)&&t(e[o],o,e));return n?Oo(e,r?0:o,r?o+1:i):Oo(e,r?o+1:0,r?i:o)}function Yo(e,t){var n=e;return n instanceof Tr&&(n=n.value()),An(t,(function(e,t){return t.func.apply(t.thisArg,Ln([e],t.args))}),n)}function Fo(e,t,r){var i=e.length;if(i<2)return i?Po(e[0]):[];var o=-1,a=n(i);while(++o<i){var s=e[o],l=-1;while(++l<i)l!=o&&(a[o]=wi(a[o]||s,e[l],t,r))}return Po(Oi(a,1),t,r)}function zo(e,t,n){var r=-1,i=e.length,a=t.length,s={};while(++r<i){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function Ho(e){return dc(e)?e:[]}function Vo(e){return"function"==typeof e?e:Ah}function Wo(e,t){return lc(e)?e:ls(e,t)?[e]:As(Qc(e))}var Uo=wo;function $o(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:Oo(e,t,n)}var Go=At||function(e){return ln.clearTimeout(e)};function qo(e,t){if(t)return e.slice();var n=e.length,r=wt?wt(n):new e.constructor(n);return e.copy(r),r}function Xo(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t}function Ko(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Zo(e){var t=new e.constructor(e.source,Ge.exec(e));return t.lastIndex=e.lastIndex,t}function Jo(e){return pr?nt(pr.call(e)):{}}function Qo(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=Yc(e),s=t!==o,l=null===t,u=t===t,c=Yc(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e<t||c&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!u)return-1}return 0}function ta(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;while(++r<a){var l=ea(i[r],o[r]);if(l){if(r>=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}function na(e,t,r,i){var o=-1,a=e.length,s=r.length,l=-1,u=t.length,c=Ft(a-s,0),d=n(u+c),h=!i;while(++l<u)d[l]=t[l];while(++o<s)(h||o<a)&&(d[r[o]]=e[o]);while(c--)d[l++]=e[o++];return d}function ra(e,t,r,i){var o=-1,a=e.length,s=-1,l=r.length,u=-1,c=t.length,d=Ft(a-l,0),h=n(d+c),f=!i;while(++o<d)h[o]=e[o];var p=o;while(++u<c)h[p+u]=t[u];while(++s<l)(f||o<a)&&(h[p+r[s]]=e[o++]);return h}function ia(e,t){var r=-1,i=e.length;t||(t=n(i));while(++r<i)t[r]=e[r];return t}function oa(e,t,n,r){var i=!n;n||(n={});var a=-1,s=t.length;while(++a<s){var l=t[a],u=r?r(n[l],e[l],l,n,e):o;u===o&&(u=e[l]),i?pi(n,l,u):ui(n,l,u)}return n}function aa(e,t){return oa(e,Xa(e),t)}function sa(e,t){return oa(e,Ka(e),t)}function la(e,t){return function(n,r){var i=lc(n)?wn:di,o=t?t():{};return i(n,e,Wa(r,2),o)}}function ua(e){return wo((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;a=e.length>3&&"function"==typeof a?(i--,a):o,s&&ss(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=nt(t);while(++r<i){var l=n[r];l&&e(t,l,r,a)}return t}))}function ca(e,t){return function(n,r){if(null==n)return n;if(!cc(n))return e(n,r);var i=n.length,o=t?i:-1,a=nt(n);while(t?o--:++o<i)if(!1===r(a[o],o,a))break;return n}}function da(e){return function(t,n,r){var i=-1,o=nt(t),a=r(t),s=a.length;while(s--){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function ha(e,t,n){var r=t&b,i=ma(e);function o(){var t=this&&this!==ln&&this instanceof o?i:e;return t.apply(r?n:this,arguments)}return o}function fa(e){return function(t){t=Qc(t);var n=ar(t)?vr(t):o,r=n?n[0]:t.charAt(0),i=n?$o(n,1).join(""):t.slice(1);return r[e]()+i}}function pa(e){return function(t){return An(wh(qd(t).replace(Vt,"")),e,"")}}function ma(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=kr(e.prototype),r=e.apply(n,t);return Mc(r)?r:n}}function ga(e,t,r){var i=ma(e);function a(){var s=arguments.length,l=n(s),u=s,c=Va(a);while(u--)l[u]=arguments[u];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:dr(l,c);if(s-=d.length,s<r)return Ta(e,t,ba,a.placeholder,o,l,d,o,o,r-s);var h=this&&this!==ln&&this instanceof a?i:e;return _n(h,this,l)}return a}function va(e){return function(t,n,r){var i=nt(t);if(!cc(t)){var a=Wa(n,3);t=xd(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function ya(e){return Ba((function(t){var n=t.length,r=n,i=Cr.prototype.thru;e&&t.reverse();while(r--){var a=t[r];if("function"!=typeof a)throw new ot(u);if(i&&!s&&"wrapper"==Ha(a))var s=new Cr([],!0)}r=s?r:n;while(++r<n){a=t[r];var l=Ha(a),c="wrapper"==l?za(a):o;s=c&&cs(c[0])&&c[1]==(C|x|M|T)&&!c[4].length&&1==c[9]?s[Ha(c[0])].apply(s,c[3]):1==a.length&&cs(a)?s[l]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&lc(r))return s.plant(r).value();var i=0,o=n?t[i].apply(this,e):r;while(++i<n)o=t[i].call(this,o);return o}}))}function ba(e,t,r,i,a,s,l,u,c,d){var h=t&C,f=t&b,p=t&_,m=t&(x|k),g=t&O,v=p?o:ma(e);function y(){var o=arguments.length,b=n(o),_=o;while(_--)b[_]=arguments[_];if(m)var w=Va(y),x=tr(b,w);if(i&&(b=na(b,i,a,m)),s&&(b=ra(b,s,l,m)),o-=x,m&&o<d){var k=dr(b,w);return Ta(e,t,ba,y.placeholder,r,b,k,u,c,d-o)}var M=f?r:this,S=p?M[e]:e;return o=b.length,u?b=xs(b,u):g&&o>1&&b.reverse(),h&&c<o&&(b.length=c),this&&this!==ln&&this instanceof y&&(S=v||ma(S)),S.apply(M,b)}return y}function _a(e,t){return function(n,r){return Hi(n,e,t(r),{})}}function wa(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=jo(n),r=jo(r)):(n=Io(n),r=Io(r)),i=e(n,r)}return i}}function xa(e){return Ba((function(t){return t=On(t,Kn(Wa())),wo((function(n){var r=this;return e(t,(function(e){return _n(e,r,n)}))}))}))}function ka(e,t){t=t===o?" ":jo(t);var n=t.length;if(n<2)return n?_o(t,e):t;var r=_o(t,It(e/gr(t)));return ar(t)?$o(vr(r),0,e).join(""):r.slice(0,e)}function Ma(e,t,r,i){var o=t&b,a=ma(e);function s(){var t=-1,l=arguments.length,u=-1,c=i.length,d=n(c+l),h=this&&this!==ln&&this instanceof s?a:e;while(++u<c)d[u]=i[u];while(l--)d[u++]=arguments[++t];return _n(h,o?r:this,d)}return s}function Sa(e){return function(t,n,r){return r&&"number"!=typeof r&&ss(t,n,r)&&(n=r=o),t=Gc(t),n===o?(n=t,t=0):n=Gc(n),r=r===o?t<n?1:-1:Gc(r),bo(t,n,r,e)}}function Ca(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Kc(t),n=Kc(n)),e(t,n)}}function Ta(e,t,n,r,i,a,s,l,u,c){var d=t&x,h=d?s:o,f=d?o:s,p=d?a:o,m=d?o:a;t|=d?M:S,t&=~(d?S:M),t&w||(t&=~(b|_));var g=[e,t,i,p,h,m,f,l,u,c],v=n.apply(o,g);return cs(e)&&Ms(v,g),v.placeholder=r,Ts(v,e,t)}function Oa(e){var t=Ve[e];return function(e,n){if(e=Kc(e),n=null==n?0:zt(qc(n),292),n&&Nt(e)){var r=(Qc(e)+"e").split("e"),i=t(r[0]+"e"+(+r[1]+n));return r=(Qc(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var La=tn&&1/hr(new tn([,-0]))[1]==R?function(e){return new tn(e)}:Bh;function Aa(e){return function(t){var n=Za(t);return n==Q?ur(t):n==ae?fr(t):qn(t,e(t))}}function Da(e,t,n,r,i,a,s,l){var c=t&_;if(!c&&"function"!=typeof e)throw new ot(u);var d=r?r.length:0;if(d||(t&=~(M|S),r=i=o),s=s===o?s:Ft(qc(s),0),l=l===o?l:qc(l),d-=i?i.length:0,t&S){var h=r,f=i;r=i=o}var p=c?o:za(e),m=[e,t,n,r,i,h,f,a,s,l];if(p&&vs(m,p),e=m[0],t=m[1],n=m[2],r=m[3],i=m[4],l=m[9]=m[9]===o?c?0:e.length:Ft(m[9]-d,0),!l&&t&(x|k)&&(t&=~(x|k)),t&&t!=b)g=t==x||t==k?ga(e,t,l):t!=M&&t!=(b|M)||i.length?ba.apply(o,m):Ma(e,t,n,r);else var g=ha(e,t,n);var v=p?So:Ms;return Ts(v(g,m),e,t)}function Ea(e,t,n,r){return e===o||ic(e,lt[n])&&!dt.call(r,n)?t:e}function Ia(e,t,n,r,i,a){return Mc(e)&&Mc(t)&&(a.set(t,e),lo(e,t,o,Ia,a),a["delete"](t)),e}function ja(e){return jc(e)?o:e}function Pa(e,t,n,r,i,a){var s=n&v,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var h=-1,f=!0,p=n&y?new Xr:o;a.set(e,t),a.set(t,e);while(++h<l){var m=e[h],g=t[h];if(r)var b=s?r(g,m,h,t,e,a):r(m,g,h,e,t,a);if(b!==o){if(b)continue;f=!1;break}if(p){if(!En(t,(function(e,t){if(!Jn(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)}))){f=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function Ra(e,t,n,r,i,o,a){switch(n){case fe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case he:return!(e.byteLength!=t.byteLength||!o(new _t(e),new _t(t)));case G:case q:case ee:return ic(+e,+t);case K:return e.name==t.name&&e.message==t.message;case oe:case se:return e==t+"";case Q:var s=ur;case ae:var l=r&v;if(s||(s=hr),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=y,a.set(e,t);var c=Pa(s(e),s(t),r,i,o,a);return a["delete"](e),c;case le:if(pr)return pr.call(e)==pr.call(t)}return!1}function Na(e,t,n,r,i,a){var s=n&v,l=Ya(e),u=l.length,c=Ya(t),d=c.length;if(u!=d&&!s)return!1;var h=u;while(h--){var f=l[h];if(!(s?f in t:dt.call(t,f)))return!1}var p=a.get(e),m=a.get(t);if(p&&m)return p==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var y=s;while(++h<u){f=l[h];var b=e[f],_=t[f];if(r)var w=s?r(_,b,f,t,e,a):r(b,_,f,e,t,a);if(!(w===o?b===_||i(b,_,n,r,a):w)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=e.constructor,k=t.constructor;x==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof k&&k instanceof k||(g=!1)}return a["delete"](e),a["delete"](t),g}function Ba(e){return Cs(_s(e,o,qs),e+"")}function Ya(e){return Pi(e,xd,Xa)}function Fa(e){return Pi(e,kd,Ka)}var za=sn?function(e){return sn.get(e)}:Bh;function Ha(e){var t=e.name+"",n=un[t],r=dt.call(un,t)?n.length:0;while(r--){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Va(e){var t=dt.call(wr,"placeholder")?wr:e;return t.placeholder}function Wa(){var e=wr.iteratee||Dh;return e=e===Dh?to:e,arguments.length?e(arguments[0],arguments[1]):e}function Ua(e,t){var n=e.__data__;return us(t)?n["string"==typeof t?"string":"hash"]:n.map}function $a(e){var t=xd(e),n=t.length;while(n--){var r=t[n],i=e[r];t[n]=[r,i,ps(i)]}return t}function Ga(e,t){var n=or(e,t);return Zi(n)?n:o}function qa(e){var t=dt.call(e,Ot),n=e[Ot];try{e[Ot]=o;var r=!0}catch(a){}var i=pt.call(e);return r&&(t?e[Ot]=n:delete e[Ot]),i}var Xa=Pt?function(e){return null==e?[]:(e=nt(e),Sn(Pt(e),(function(t){return Mt.call(e,t)})))}:Gh,Ka=Pt?function(e){var t=[];while(e)Ln(t,Xa(e)),e=xt(e);return t}:Gh,Za=Ri;function Ja(e,t,n){var r=-1,i=n.length;while(++r<i){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=zt(t,e+a);break;case"takeRight":e=Ft(e,t-a);break}}return{start:e,end:t}}function Qa(e){var t=e.match(ze);return t?t[1].split(He):[]}function es(e,t,n){t=Wo(t,e);var r=-1,i=t.length,o=!1;while(++r<i){var a=Ds(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:(i=null==e?0:e.length,!!i&&kc(i)&&as(a,i)&&(lc(e)||sc(e)))}function ts(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&dt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ns(e){return"function"!=typeof e.constructor||fs(e)?{}:kr(xt(e))}function rs(e,t,n){var r=e.constructor;switch(t){case he:return Xo(e);case G:case q:return new r(+e);case fe:return Ko(e,n);case pe:case me:case ge:case ve:case ye:case be:case _e:case we:case xe:return Qo(e,n);case Q:return new r;case ee:case se:return new r(e);case oe:return Zo(e);case ae:return new r;case le:return Jo(e)}}function is(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Fe,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return lc(e)||sc(e)||!!(Ct&&e&&e[Ct])}function as(e,t){var n=typeof e;return t=null==t?N:t,!!t&&("number"==n||"symbol"!=n&&Je.test(e))&&e>-1&&e%1==0&&e<t}function ss(e,t,n){if(!Mc(n))return!1;var r=typeof t;return!!("number"==r?cc(n)&&as(t,n.length):"string"==r&&t in n)&&ic(n[t],e)}function ls(e,t){if(lc(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Yc(e))||(je.test(e)||!Ie.test(e)||null!=t&&e in nt(t))}function us(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function cs(e){var t=Ha(e),n=wr[t];if("function"!=typeof n||!(t in Tr.prototype))return!1;if(e===n)return!0;var r=za(n);return!!r&&e===r[0]}function ds(e){return!!ft&&ft in e}(qt&&Za(new qt(new ArrayBuffer(1)))!=fe||Qt&&Za(new Qt)!=Q||en&&Za(en.resolve())!=re||tn&&Za(new tn)!=ae||nn&&Za(new nn)!=ce)&&(Za=function(e){var t=Ri(e),n=t==ne?e.constructor:o,r=n?Es(n):"";if(r)switch(r){case cn:return fe;case hn:return Q;case fn:return re;case In:return ae;case jn:return ce}return t});var hs=ut?wc:qh;function fs(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||lt;return e===n}function ps(e){return e===e&&!Mc(e)}function ms(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in nt(n)))}}function gs(e){var t=Fu(e,(function(e){return n.size===h&&n.clear(),e})),n=t.cache;return t}function vs(e,t){var n=e[1],r=t[1],i=n|r,o=i<(b|_|C),a=r==C&&n==x||r==C&&n==T&&e[7].length<=t[8]||r==(C|T)&&t[7].length<=t[8]&&n==x;if(!o&&!a)return e;r&b&&(e[2]=t[2],i|=n&b?0:w);var s=t[3];if(s){var l=e[3];e[3]=l?na(l,s,t[4]):s,e[4]=l?dr(e[3],f):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?ra(l,s,t[6]):s,e[6]=l?dr(e[5],f):t[6]),s=t[7],s&&(e[7]=s),r&C&&(e[8]=null==e[8]?t[8]:zt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function ys(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}function bs(e){return pt.call(e)}function _s(e,t,r){return t=Ft(t===o?e.length-1:t,0),function(){var i=arguments,o=-1,a=Ft(i.length-t,0),s=n(a);while(++o<a)s[o]=i[t+o];o=-1;var l=n(t+1);while(++o<t)l[o]=i[o];return l[t]=r(s),_n(e,this,l)}}function ws(e,t){return t.length<2?e:ji(e,Oo(t,0,-1))}function xs(e,t){var n=e.length,r=zt(t.length,n),i=ia(e);while(r--){var a=t[r];e[r]=as(a,n)?i[a]:o}return e}function ks(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Ms=Os(So),Ss=Et||function(e,t){return ln.setTimeout(e,t)},Cs=Os(Co);function Ts(e,t,n){var r=t+"";return Cs(e,is(r,Is(Qa(r),n)))}function Os(e){var t=0,n=0;return function(){var r=Ht(),i=E-(r-n);if(n=r,i>0){if(++t>=D)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ls(e,t){var n=-1,r=e.length,i=r-1;t=t===o?r:t;while(++n<t){var a=yo(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var As=gs((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Pe,(function(e,n,r,i){t.push(r?i.replace(Ue,"$1"):n||e)})),t}));function Ds(e){if("string"==typeof e||Yc(e))return e;var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Es(e){if(null!=e){try{return ct.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Is(e,t){return xn(V,(function(n){var r="_."+n[0];t&n[1]&&!Cn(e,r)&&e.push(r)})),e.sort()}function js(e){if(e instanceof Tr)return e.clone();var t=new Cr(e.__wrapped__,e.__chain__);return t.__actions__=ia(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ps(e,t,r){t=(r?ss(e,t,r):t===o)?1:Ft(qc(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];var a=0,s=0,l=n(It(i/t));while(a<i)l[s++]=Oo(e,a,a+=t);return l}function Rs(e){var t=-1,n=null==e?0:e.length,r=0,i=[];while(++t<n){var o=e[t];o&&(i[r++]=o)}return i}function Ns(){var e=arguments.length;if(!e)return[];var t=n(e-1),r=arguments[0],i=e;while(i--)t[i-1]=arguments[i];return Ln(lc(r)?ia(r):[r],Oi(t,1))}var Bs=wo((function(e,t){return dc(e)?wi(e,Oi(t,1,dc,!0)):[]})),Ys=wo((function(e,t){var n=ol(t);return dc(n)&&(n=o),dc(e)?wi(e,Oi(t,1,dc,!0),Wa(n,2)):[]})),Fs=wo((function(e,t){var n=ol(t);return dc(n)&&(n=o),dc(e)?wi(e,Oi(t,1,dc,!0),o,n):[]}));function zs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:qc(t),Oo(e,t<0?0:t,r)):[]}function Hs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:qc(t),t=r-t,Oo(e,0,t<0?0:t)):[]}function Vs(e,t){return e&&e.length?Bo(e,Wa(t,3),!0,!0):[]}function Ws(e,t){return e&&e.length?Bo(e,Wa(t,3),!0):[]}function Us(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&ss(e,t,n)&&(n=0,r=i),Ci(e,t,n,r)):[]}function $s(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:qc(n);return i<0&&(i=Ft(r+i,0)),Nn(e,Wa(t,3),i)}function Gs(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=qc(n),i=n<0?Ft(r+i,0):zt(i,r-1)),Nn(e,Wa(t,3),i,!0)}function qs(e){var t=null==e?0:e.length;return t?Oi(e,1):[]}function Xs(e){var t=null==e?0:e.length;return t?Oi(e,R):[]}function Ks(e,t){var n=null==e?0:e.length;return n?(t=t===o?1:qc(t),Oi(e,t)):[]}function Zs(e){var t=-1,n=null==e?0:e.length,r={};while(++t<n){var i=e[t];r[i[0]]=i[1]}return r}function Js(e){return e&&e.length?e[0]:o}function Qs(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:qc(n);return i<0&&(i=Ft(r+i,0)),Bn(e,t,i)}function el(e){var t=null==e?0:e.length;return t?Oo(e,0,-1):[]}var tl=wo((function(e){var t=On(e,Ho);return t.length&&t[0]===e[0]?zi(t):[]})),nl=wo((function(e){var t=ol(e),n=On(e,Ho);return t===ol(n)?t=o:n.pop(),n.length&&n[0]===e[0]?zi(n,Wa(t,2)):[]})),rl=wo((function(e){var t=ol(e),n=On(e,Ho);return t="function"==typeof t?t:o,t&&n.pop(),n.length&&n[0]===e[0]?zi(n,o,t):[]}));function il(e,t){return null==e?"":Bt.call(e,t)}function ol(e){var t=null==e?0:e.length;return t?e[t-1]:o}function al(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=qc(n),i=i<0?Ft(r+i,0):zt(i,r-1)),t===t?mr(e,t,i):Nn(e,Fn,i,!0)}function sl(e,t){return e&&e.length?co(e,qc(t)):o}var ll=wo(ul);function ul(e,t){return e&&e.length&&t&&t.length?go(e,t):e}function cl(e,t,n){return e&&e.length&&t&&t.length?go(e,t,Wa(n,2)):e}function dl(e,t,n){return e&&e.length&&t&&t.length?go(e,t,o,n):e}var hl=Ba((function(e,t){var n=null==e?0:e.length,r=mi(e,t);return vo(e,On(t,(function(e){return as(e,n)?+e:e})).sort(ea)),r}));function fl(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;t=Wa(t,3);while(++r<o){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return vo(e,i),n}function pl(e){return null==e?e:Gt.call(e)}function ml(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ss(e,t,n)?(t=0,n=r):(t=null==t?0:qc(t),n=n===o?r:qc(n)),Oo(e,t,n)):[]}function gl(e,t){return Ao(e,t)}function vl(e,t,n){return Do(e,t,Wa(n,2))}function yl(e,t){var n=null==e?0:e.length;if(n){var r=Ao(e,t);if(r<n&&ic(e[r],t))return r}return-1}function bl(e,t){return Ao(e,t,!0)}function _l(e,t,n){return Do(e,t,Wa(n,2),!0)}function wl(e,t){var n=null==e?0:e.length;if(n){var r=Ao(e,t,!0)-1;if(ic(e[r],t))return r}return-1}function xl(e){return e&&e.length?Eo(e):[]}function kl(e,t){return e&&e.length?Eo(e,Wa(t,2)):[]}function Ml(e){var t=null==e?0:e.length;return t?Oo(e,1,t):[]}function Sl(e,t,n){return e&&e.length?(t=n||t===o?1:qc(t),Oo(e,0,t<0?0:t)):[]}function Cl(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:qc(t),t=r-t,Oo(e,t<0?0:t,r)):[]}function Tl(e,t){return e&&e.length?Bo(e,Wa(t,3),!1,!0):[]}function Ol(e,t){return e&&e.length?Bo(e,Wa(t,3)):[]}var Ll=wo((function(e){return Po(Oi(e,1,dc,!0))})),Al=wo((function(e){var t=ol(e);return dc(t)&&(t=o),Po(Oi(e,1,dc,!0),Wa(t,2))})),Dl=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,Po(Oi(e,1,dc,!0),o,t)}));function El(e){return e&&e.length?Po(e):[]}function Il(e,t){return e&&e.length?Po(e,Wa(t,2)):[]}function jl(e,t){return t="function"==typeof t?t:o,e&&e.length?Po(e,o,t):[]}function Pl(e){if(!e||!e.length)return[];var t=0;return e=Sn(e,(function(e){if(dc(e))return t=Ft(e.length,t),!0})),Gn(t,(function(t){return On(e,Hn(t))}))}function Rl(e,t){if(!e||!e.length)return[];var n=Pl(e);return null==t?n:On(n,(function(e){return _n(t,o,e)}))}var Nl=wo((function(e,t){return dc(e)?wi(e,t):[]})),Bl=wo((function(e){return Fo(Sn(e,dc))})),Yl=wo((function(e){var t=ol(e);return dc(t)&&(t=o),Fo(Sn(e,dc),Wa(t,2))})),Fl=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,Fo(Sn(e,dc),o,t)})),zl=wo(Pl);function Hl(e,t){return zo(e||[],t||[],ui)}function Vl(e,t){return zo(e||[],t||[],Mo)}var Wl=wo((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Rl(e,n)}));function Ul(e){var t=wr(e);return t.__chain__=!0,t}function $l(e,t){return t(e),e}function Gl(e,t){return t(e)}var ql=Ba((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return mi(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Tr&&as(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Gl,args:[i],thisArg:o}),new Cr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));function Xl(){return Ul(this)}function Kl(){return new Cr(this.value(),this.__chain__)}function Zl(){this.__values__===o&&(this.__values__=$c(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Jl(){return this}function Ql(e){var t,n=this;while(n instanceof Sr){var r=js(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}function eu(){var e=this.__wrapped__;if(e instanceof Tr){var t=e;return this.__actions__.length&&(t=new Tr(this)),t=t.reverse(),t.__actions__.push({func:Gl,args:[pl],thisArg:o}),new Cr(t,this.__chain__)}return this.thru(pl)}function tu(){return Yo(this.__wrapped__,this.__actions__)}var nu=la((function(e,t,n){dt.call(e,n)?++e[n]:pi(e,n,1)}));function ru(e,t,n){var r=lc(e)?Mn:Mi;return n&&ss(e,t,n)&&(t=o),r(e,Wa(t,3))}function iu(e,t){var n=lc(e)?Sn:Ti;return n(e,Wa(t,3))}var ou=va($s),au=va(Gs);function su(e,t){return Oi(gu(e,t),1)}function lu(e,t){return Oi(gu(e,t),R)}function uu(e,t,n){return n=n===o?1:qc(n),Oi(gu(e,t),n)}function cu(e,t){var n=lc(e)?xn:xi;return n(e,Wa(t,3))}function du(e,t){var n=lc(e)?kn:ki;return n(e,Wa(t,3))}var hu=la((function(e,t,n){dt.call(e,n)?e[n].push(t):pi(e,n,[t])}));function fu(e,t,n,r){e=cc(e)?e:zd(e),n=n&&!r?qc(n):0;var i=e.length;return n<0&&(n=Ft(i+n,0)),Bc(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Bn(e,t,n)>-1}var pu=wo((function(e,t,r){var i=-1,o="function"==typeof t,a=cc(e)?n(e.length):[];return xi(e,(function(e){a[++i]=o?_n(t,e,r):Vi(e,t,r)})),a})),mu=la((function(e,t,n){pi(e,n,t)}));function gu(e,t){var n=lc(e)?On:oo;return n(e,Wa(t,3))}function vu(e,t,n,r){return null==e?[]:(lc(t)||(t=null==t?[]:[t]),n=r?o:n,lc(n)||(n=null==n?[]:[n]),ho(e,t,n))}var yu=la((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function bu(e,t,n){var r=lc(e)?An:Wn,i=arguments.length<3;return r(e,Wa(t,4),n,i,xi)}function _u(e,t,n){var r=lc(e)?Dn:Wn,i=arguments.length<3;return r(e,Wa(t,4),n,i,ki)}function wu(e,t){var n=lc(e)?Sn:Ti;return n(e,zu(Wa(t,3)))}function xu(e){var t=lc(e)?oi:xo;return t(e)}function ku(e,t,n){t=(n?ss(e,t,n):t===o)?1:qc(t);var r=lc(e)?ai:ko;return r(e,t)}function Mu(e){var t=lc(e)?si:To;return t(e)}function Su(e){if(null==e)return 0;if(cc(e))return Bc(e)?gr(e):e.length;var t=Za(e);return t==Q||t==ae?e.size:no(e).length}function Cu(e,t,n){var r=lc(e)?En:Lo;return n&&ss(e,t,n)&&(t=o),r(e,Wa(t,3))}var Tu=wo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),ho(e,Oi(t,1),[])})),Ou=Dt||function(){return ln.Date.now()};function Lu(e,t){if("function"!=typeof t)throw new ot(u);return e=qc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Au(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Da(e,C,o,o,o,o,t)}function Du(e,t){var n;if("function"!=typeof t)throw new ot(u);return e=qc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Eu=wo((function(e,t,n){var r=b;if(n.length){var i=dr(n,Va(Eu));r|=M}return Da(e,r,t,n,i)})),Iu=wo((function(e,t,n){var r=b|_;if(n.length){var i=dr(n,Va(Iu));r|=M}return Da(t,r,e,n,i)}));function ju(e,t,n){t=n?o:t;var r=Da(e,x,o,o,o,o,o,t);return r.placeholder=ju.placeholder,r}function Pu(e,t,n){t=n?o:t;var r=Da(e,k,o,o,o,o,o,t);return r.placeholder=Pu.placeholder,r}function Ru(e,t,n){var r,i,a,s,l,c,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new ot(u);function m(t){var n=r,a=i;return r=i=o,d=t,s=e.apply(a,n),s}function g(e){return d=e,l=Ss(b,t),h?m(e):s}function v(e){var n=e-c,r=e-d,i=t-n;return f?zt(i,a-r):i}function y(e){var n=e-c,r=e-d;return c===o||n>=t||n<0||f&&r>=a}function b(){var e=Ou();if(y(e))return _(e);l=Ss(b,v(e))}function _(e){return l=o,p&&r?m(e):(r=i=o,s)}function w(){l!==o&&Go(l),d=0,r=c=i=l=o}function x(){return l===o?s:_(Ou())}function k(){var e=Ou(),n=y(e);if(r=arguments,i=this,c=e,n){if(l===o)return g(c);if(f)return Go(l),l=Ss(b,t),m(c)}return l===o&&(l=Ss(b,t)),s}return t=Kc(t)||0,Mc(n)&&(h=!!n.leading,f="maxWait"in n,a=f?Ft(Kc(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),k.cancel=w,k.flush=x,k}var Nu=wo((function(e,t){return _i(e,1,t)})),Bu=wo((function(e,t,n){return _i(e,Kc(t)||0,n)}));function Yu(e){return Da(e,O)}function Fu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(u);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Fu.Cache||Vr),n}function zu(e){if("function"!=typeof e)throw new ot(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Hu(e){return Du(2,e)}Fu.Cache=Vr;var Vu=Uo((function(e,t){t=1==t.length&&lc(t[0])?On(t[0],Kn(Wa())):On(Oi(t,1),Kn(Wa()));var n=t.length;return wo((function(r){var i=-1,o=zt(r.length,n);while(++i<o)r[i]=t[i].call(this,r[i]);return _n(e,this,r)}))})),Wu=wo((function(e,t){var n=dr(t,Va(Wu));return Da(e,M,o,t,n)})),Uu=wo((function(e,t){var n=dr(t,Va(Uu));return Da(e,S,o,t,n)})),$u=Ba((function(e,t){return Da(e,T,o,o,o,t)}));function Gu(e,t){if("function"!=typeof e)throw new ot(u);return t=t===o?t:qc(t),wo(e,t)}function qu(e,t){if("function"!=typeof e)throw new ot(u);return t=null==t?0:Ft(qc(t),0),wo((function(n){var r=n[t],i=$o(n,0,t);return r&&Ln(i,r),_n(e,this,i)}))}function Xu(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ot(u);return Mc(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ru(e,t,{leading:r,maxWait:t,trailing:i})}function Ku(e){return Au(e,1)}function Zu(e,t){return Wu(Vo(t),e)}function Ju(){if(!arguments.length)return[];var e=arguments[0];return lc(e)?e:[e]}function Qu(e){return vi(e,g)}function ec(e,t){return t="function"==typeof t?t:o,vi(e,g,t)}function tc(e){return vi(e,p|g)}function nc(e,t){return t="function"==typeof t?t:o,vi(e,p|g,t)}function rc(e,t){return null==t||bi(e,t,xd(t))}function ic(e,t){return e===t||e!==e&&t!==t}var oc=Ca(Ni),ac=Ca((function(e,t){return e>=t})),sc=Wi(function(){return arguments}())?Wi:function(e){return Sc(e)&&dt.call(e,"callee")&&!Mt.call(e,"callee")},lc=n.isArray,uc=pn?Kn(pn):Ui;function cc(e){return null!=e&&kc(e.length)&&!wc(e)}function dc(e){return Sc(e)&&cc(e)}function hc(e){return!0===e||!1===e||Sc(e)&&Ri(e)==G}var fc=Rt||qh,pc=mn?Kn(mn):$i;function mc(e){return Sc(e)&&1===e.nodeType&&!jc(e)}function gc(e){if(null==e)return!0;if(cc(e)&&(lc(e)||"string"==typeof e||"function"==typeof e.splice||fc(e)||Fc(e)||sc(e)))return!e.length;var t=Za(e);if(t==Q||t==ae)return!e.size;if(fs(e))return!no(e).length;for(var n in e)if(dt.call(e,n))return!1;return!0}function vc(e,t){return Gi(e,t)}function yc(e,t,n){n="function"==typeof n?n:o;var r=n?n(e,t):o;return r===o?Gi(e,t,o,n):!!r}function bc(e){if(!Sc(e))return!1;var t=Ri(e);return t==K||t==X||"string"==typeof e.message&&"string"==typeof e.name&&!jc(e)}function _c(e){return"number"==typeof e&&Nt(e)}function wc(e){if(!Mc(e))return!1;var t=Ri(e);return t==Z||t==J||t==$||t==ie}function xc(e){return"number"==typeof e&&e==qc(e)}function kc(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=N}function Mc(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Sc(e){return null!=e&&"object"==typeof e}var Cc=gn?Kn(gn):Xi;function Tc(e,t){return e===t||Ki(e,t,$a(t))}function Oc(e,t,n){return n="function"==typeof n?n:o,Ki(e,t,$a(t),n)}function Lc(e){return Ic(e)&&e!=+e}function Ac(e){if(hs(e))throw new i(l);return Zi(e)}function Dc(e){return null===e}function Ec(e){return null==e}function Ic(e){return"number"==typeof e||Sc(e)&&Ri(e)==ee}function jc(e){if(!Sc(e)||Ri(e)!=ne)return!1;var t=xt(e);if(null===t)return!0;var n=dt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==mt}var Pc=vn?Kn(vn):Ji;function Rc(e){return xc(e)&&e>=-N&&e<=N}var Nc=yn?Kn(yn):Qi;function Bc(e){return"string"==typeof e||!lc(e)&&Sc(e)&&Ri(e)==se}function Yc(e){return"symbol"==typeof e||Sc(e)&&Ri(e)==le}var Fc=bn?Kn(bn):eo;function zc(e){return e===o}function Hc(e){return Sc(e)&&Za(e)==ce}function Vc(e){return Sc(e)&&Ri(e)==de}var Wc=Ca(io),Uc=Ca((function(e,t){return e<=t}));function $c(e){if(!e)return[];if(cc(e))return Bc(e)?vr(e):ia(e);if(Tt&&e[Tt])return lr(e[Tt]());var t=Za(e),n=t==Q?ur:t==ae?hr:zd;return n(e)}function Gc(e){if(!e)return 0===e?e:0;if(e=Kc(e),e===R||e===-R){var t=e<0?-1:1;return t*B}return e===e?e:0}function qc(e){var t=Gc(e),n=t%1;return t===t?n?t-n:t:0}function Xc(e){return e?gi(qc(e),0,F):0}function Kc(e){if("number"==typeof e)return e;if(Yc(e))return Y;if(Mc(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Mc(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xn(e);var n=Xe.test(e);return n||Ze.test(e)?on(e.slice(2),n?2:8):qe.test(e)?Y:+e}function Zc(e){return oa(e,kd(e))}function Jc(e){return e?gi(qc(e),-N,N):0===e?e:0}function Qc(e){return null==e?"":jo(e)}var ed=ua((function(e,t){if(fs(t)||cc(t))oa(t,xd(t),e);else for(var n in t)dt.call(t,n)&&ui(e,n,t[n])})),td=ua((function(e,t){oa(t,kd(t),e)})),nd=ua((function(e,t,n,r){oa(t,kd(t),e,r)})),rd=ua((function(e,t,n,r){oa(t,xd(t),e,r)})),id=Ba(mi);function od(e,t){var n=kr(e);return null==t?n:hi(n,t)}var ad=wo((function(e,t){e=nt(e);var n=-1,r=t.length,i=r>2?t[2]:o;i&&ss(t[0],t[1],i)&&(r=1);while(++n<r){var a=t[n],s=kd(a),l=-1,u=s.length;while(++l<u){var c=s[l],d=e[c];(d===o||ic(d,lt[c])&&!dt.call(e,c))&&(e[c]=a[c])}}return e})),sd=wo((function(e){return e.push(o,Ia),_n(Td,o,e)}));function ld(e,t){return Rn(e,Wa(t,3),Di)}function ud(e,t){return Rn(e,Wa(t,3),Ei)}function cd(e,t){return null==e?e:Li(e,Wa(t,3),kd)}function dd(e,t){return null==e?e:Ai(e,Wa(t,3),kd)}function hd(e,t){return e&&Di(e,Wa(t,3))}function fd(e,t){return e&&Ei(e,Wa(t,3))}function pd(e){return null==e?[]:Ii(e,xd(e))}function md(e){return null==e?[]:Ii(e,kd(e))}function gd(e,t,n){var r=null==e?o:ji(e,t);return r===o?n:r}function vd(e,t){return null!=e&&es(e,t,Bi)}function yd(e,t){return null!=e&&es(e,t,Yi)}var bd=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),e[t]=n}),Ch(Ah)),_d=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),dt.call(e,t)?e[t].push(n):e[t]=[n]}),Wa),wd=wo(Vi);function xd(e){return cc(e)?ii(e):no(e)}function kd(e){return cc(e)?ii(e,!0):ro(e)}function Md(e,t){var n={};return t=Wa(t,3),Di(e,(function(e,r,i){pi(n,t(e,r,i),e)})),n}function Sd(e,t){var n={};return t=Wa(t,3),Di(e,(function(e,r,i){pi(n,r,t(e,r,i))})),n}var Cd=ua((function(e,t,n){lo(e,t,n)})),Td=ua((function(e,t,n,r){lo(e,t,n,r)})),Od=Ba((function(e,t){var n={};if(null==e)return n;var r=!1;t=On(t,(function(t){return t=Wo(t,e),r||(r=t.length>1),t})),oa(e,Fa(e),n),r&&(n=vi(n,p|m|g,ja));var i=t.length;while(i--)Ro(n,t[i]);return n}));function Ld(e,t){return Dd(e,zu(Wa(t)))}var Ad=Ba((function(e,t){return null==e?{}:fo(e,t)}));function Dd(e,t){if(null==e)return{};var n=On(Fa(e),(function(e){return[e]}));return t=Wa(t),po(e,n,(function(e,n){return t(e,n[0])}))}function Ed(e,t,n){t=Wo(t,e);var r=-1,i=t.length;i||(i=1,e=o);while(++r<i){var a=null==e?o:e[Ds(t[r])];a===o&&(r=i,a=n),e=wc(a)?a.call(e):a}return e}function Id(e,t,n){return null==e?e:Mo(e,t,n)}function jd(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Mo(e,t,n,r)}var Pd=Aa(xd),Rd=Aa(kd);function Nd(e,t,n){var r=lc(e),i=r||fc(e)||Fc(e);if(t=Wa(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Mc(e)&&wc(o)?kr(xt(e)):{}}return(i?xn:Di)(e,(function(e,r,i){return t(n,e,r,i)})),n}function Bd(e,t){return null==e||Ro(e,t)}function Yd(e,t,n){return null==e?e:No(e,t,Vo(n))}function Fd(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:No(e,t,Vo(n),r)}function zd(e){return null==e?[]:Zn(e,xd(e))}function Hd(e){return null==e?[]:Zn(e,kd(e))}function Vd(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=Kc(n),n=n===n?n:0),t!==o&&(t=Kc(t),t=t===t?t:0),gi(Kc(e),t,n)}function Wd(e,t,n){return t=Gc(t),n===o?(n=t,t=0):n=Gc(n),e=Kc(e),Fi(e,t,n)}function Ud(e,t,n){if(n&&"boolean"!=typeof n&&ss(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Gc(e),t===o?(t=e,e=0):t=Gc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=$t();return zt(e+i*(t-e+rn("1e-"+((i+"").length-1))),t)}return yo(e,t)}var $d=pa((function(e,t,n){return t=t.toLowerCase(),e+(n?Gd(t):t)}));function Gd(e){return _h(Qc(e).toLowerCase())}function qd(e){return e=Qc(e),e&&e.replace(Qe,nr).replace(Wt,"")}function Xd(e,t,n){e=Qc(e),t=jo(t);var r=e.length;n=n===o?r:gi(qc(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function Kd(e){return e=Qc(e),e&&Le.test(e)?e.replace(Te,rr):e}function Zd(e){return e=Qc(e),e&&Ne.test(e)?e.replace(Re,"\\$&"):e}var Jd=pa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Qd=pa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),eh=fa("toLowerCase");function th(e,t,n){e=Qc(e),t=qc(t);var r=t?gr(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ka(jt(i),n)+e+ka(It(i),n)}function nh(e,t,n){e=Qc(e),t=qc(t);var r=t?gr(e):0;return t&&r<t?e+ka(t-r,n):e}function rh(e,t,n){e=Qc(e),t=qc(t);var r=t?gr(e):0;return t&&r<t?ka(t-r,n)+e:e}function ih(e,t,n){return n||null==t?t=0:t&&(t=+t),Ut(Qc(e).replace(Be,""),t||0)}function oh(e,t,n){return t=(n?ss(e,t,n):t===o)?1:qc(t),_o(Qc(e),t)}function ah(){var e=arguments,t=Qc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var sh=pa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function lh(e,t,n){return n&&"number"!=typeof n&&ss(e,t,n)&&(t=n=o),n=n===o?F:n>>>0,n?(e=Qc(e),e&&("string"==typeof t||null!=t&&!Pc(t))&&(t=jo(t),!t&&ar(e))?$o(vr(e),0,n):e.split(t,n)):[]}var uh=pa((function(e,t,n){return e+(n?" ":"")+_h(t)}));function ch(e,t,n){return e=Qc(e),n=null==n?0:gi(qc(n),0,e.length),t=jo(t),e.slice(n,n+t.length)==t}function dh(e,t,n){var r=wr.templateSettings;n&&ss(e,t,n)&&(t=o),e=Qc(e),t=nd({},t,r,Ea);var a,s,l=nd({},t.imports,r.imports,Ea),u=xd(l),d=Zn(l,u),h=0,f=t.interpolate||et,p="__p += '",m=rt((t.escape||et).source+"|"+f.source+"|"+(f===Ee?$e:et).source+"|"+(t.evaluate||et).source+"|$","g"),g="//# sourceURL="+(dt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+"\n";e.replace(m,(function(t,n,r,i,o,l){return r||(r=i),p+=e.slice(h,l).replace(tt,ir),n&&(a=!0,p+="' +\n__e("+n+") +\n'"),o&&(s=!0,p+="';\n"+o+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=l+t.length,t})),p+="';\n";var v=dt.call(t,"variable")&&t.variable;if(v){if(We.test(v))throw new i(c)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(ke,""):p).replace(Me,"$1").replace(Se,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=xh((function(){return Ye(u,g+"return "+p).apply(o,d)}));if(y.source=p,bc(y))throw y;return y}function hh(e){return Qc(e).toLowerCase()}function fh(e){return Qc(e).toUpperCase()}function ph(e,t,n){if(e=Qc(e),e&&(n||t===o))return Xn(e);if(!e||!(t=jo(t)))return e;var r=vr(e),i=vr(t),a=Qn(r,i),s=er(r,i)+1;return $o(r,a,s).join("")}function mh(e,t,n){if(e=Qc(e),e&&(n||t===o))return e.slice(0,yr(e)+1);if(!e||!(t=jo(t)))return e;var r=vr(e),i=er(r,vr(t))+1;return $o(r,0,i).join("")}function gh(e,t,n){if(e=Qc(e),e&&(n||t===o))return e.replace(Be,"");if(!e||!(t=jo(t)))return e;var r=vr(e),i=Qn(r,vr(t));return $o(r,i).join("")}function vh(e,t){var n=L,r=A;if(Mc(t)){var i="separator"in t?t.separator:i;n="length"in t?qc(t.length):n,r="omission"in t?jo(t.omission):r}e=Qc(e);var a=e.length;if(ar(e)){var s=vr(e);a=s.length}if(n>=a)return e;var l=n-gr(r);if(l<1)return r;var u=s?$o(s,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),Pc(i)){if(e.slice(l).search(i)){var c,d=u;i.global||(i=rt(i.source,Qc(Ge.exec(i))+"g")),i.lastIndex=0;while(c=i.exec(d))var h=c.index;u=u.slice(0,h===o?l:h)}}else if(e.indexOf(jo(i),l)!=l){var f=u.lastIndexOf(i);f>-1&&(u=u.slice(0,f))}return u+r}function yh(e){return e=Qc(e),e&&Oe.test(e)?e.replace(Ce,br):e}var bh=pa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),_h=fa("toUpperCase");function wh(e,t,n){return e=Qc(e),t=n?o:t,t===o?sr(e)?xr(e):Pn(e):e.match(t)||[]}var xh=wo((function(e,t){try{return _n(e,o,t)}catch(n){return bc(n)?n:new i(n)}})),kh=Ba((function(e,t){return xn(t,(function(t){t=Ds(t),pi(e,t,Eu(e[t],e))})),e}));function Mh(e){var t=null==e?0:e.length,n=Wa();return e=t?On(e,(function(e){if("function"!=typeof e[1])throw new ot(u);return[n(e[0]),e[1]]})):[],wo((function(n){var r=-1;while(++r<t){var i=e[r];if(_n(i[0],this,n))return _n(i[1],this,n)}}))}function Sh(e){return yi(vi(e,p))}function Ch(e){return function(){return e}}function Th(e,t){return null==e||e!==e?t:e}var Oh=ya(),Lh=ya(!0);function Ah(e){return e}function Dh(e){return to("function"==typeof e?e:vi(e,p))}function Eh(e){return ao(vi(e,p))}function Ih(e,t){return so(e,vi(t,p))}var jh=wo((function(e,t){return function(n){return Vi(n,e,t)}})),Ph=wo((function(e,t){return function(n){return Vi(e,n,t)}}));function Rh(e,t,n){var r=xd(t),i=Ii(t,r);null!=n||Mc(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ii(t,xd(t)));var o=!(Mc(n)&&"chain"in n)||!!n.chain,a=wc(e);return xn(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=ia(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Ln([this.value()],arguments))})})),e}function Nh(){return ln._===this&&(ln._=gt),this}function Bh(){}function Yh(e){return e=qc(e),wo((function(t){return co(t,e)}))}var Fh=xa(On),zh=xa(Mn),Hh=xa(En);function Vh(e){return ls(e)?Hn(Ds(e)):mo(e)}function Wh(e){return function(t){return null==e?o:ji(e,t)}}var Uh=Sa(),$h=Sa(!0);function Gh(){return[]}function qh(){return!1}function Xh(){return{}}function Kh(){return""}function Zh(){return!0}function Jh(e,t){if(e=qc(e),e<1||e>N)return[];var n=F,r=zt(e,F);t=Wa(t),e-=F;var i=Gn(r,t);while(++n<e)t(n);return i}function Qh(e){return lc(e)?On(e,Ds):Yc(e)?[e]:ia(As(Qc(e)))}function ef(e){var t=++ht;return Qc(e)+t}var tf=wa((function(e,t){return e+t}),0),nf=Oa("ceil"),rf=wa((function(e,t){return e/t}),1),of=Oa("floor");function af(e){return e&&e.length?Si(e,Ah,Ni):o}function sf(e,t){return e&&e.length?Si(e,Wa(t,2),Ni):o}function lf(e){return zn(e,Ah)}function uf(e,t){return zn(e,Wa(t,2))}function cf(e){return e&&e.length?Si(e,Ah,io):o}function df(e,t){return e&&e.length?Si(e,Wa(t,2),io):o}var hf=wa((function(e,t){return e*t}),1),ff=Oa("round"),pf=wa((function(e,t){return e-t}),0);function mf(e){return e&&e.length?$n(e,Ah):0}function gf(e,t){return e&&e.length?$n(e,Wa(t,2)):0}return wr.after=Lu,wr.ary=Au,wr.assign=ed,wr.assignIn=td,wr.assignInWith=nd,wr.assignWith=rd,wr.at=id,wr.before=Du,wr.bind=Eu,wr.bindAll=kh,wr.bindKey=Iu,wr.castArray=Ju,wr.chain=Ul,wr.chunk=Ps,wr.compact=Rs,wr.concat=Ns,wr.cond=Mh,wr.conforms=Sh,wr.constant=Ch,wr.countBy=nu,wr.create=od,wr.curry=ju,wr.curryRight=Pu,wr.debounce=Ru,wr.defaults=ad,wr.defaultsDeep=sd,wr.defer=Nu,wr.delay=Bu,wr.difference=Bs,wr.differenceBy=Ys,wr.differenceWith=Fs,wr.drop=zs,wr.dropRight=Hs,wr.dropRightWhile=Vs,wr.dropWhile=Ws,wr.fill=Us,wr.filter=iu,wr.flatMap=su,wr.flatMapDeep=lu,wr.flatMapDepth=uu,wr.flatten=qs,wr.flattenDeep=Xs,wr.flattenDepth=Ks,wr.flip=Yu,wr.flow=Oh,wr.flowRight=Lh,wr.fromPairs=Zs,wr.functions=pd,wr.functionsIn=md,wr.groupBy=hu,wr.initial=el,wr.intersection=tl,wr.intersectionBy=nl,wr.intersectionWith=rl,wr.invert=bd,wr.invertBy=_d,wr.invokeMap=pu,wr.iteratee=Dh,wr.keyBy=mu,wr.keys=xd,wr.keysIn=kd,wr.map=gu,wr.mapKeys=Md,wr.mapValues=Sd,wr.matches=Eh,wr.matchesProperty=Ih,wr.memoize=Fu,wr.merge=Cd,wr.mergeWith=Td,wr.method=jh,wr.methodOf=Ph,wr.mixin=Rh,wr.negate=zu,wr.nthArg=Yh,wr.omit=Od,wr.omitBy=Ld,wr.once=Hu,wr.orderBy=vu,wr.over=Fh,wr.overArgs=Vu,wr.overEvery=zh,wr.overSome=Hh,wr.partial=Wu,wr.partialRight=Uu,wr.partition=yu,wr.pick=Ad,wr.pickBy=Dd,wr.property=Vh,wr.propertyOf=Wh,wr.pull=ll,wr.pullAll=ul,wr.pullAllBy=cl,wr.pullAllWith=dl,wr.pullAt=hl,wr.range=Uh,wr.rangeRight=$h,wr.rearg=$u,wr.reject=wu,wr.remove=fl,wr.rest=Gu,wr.reverse=pl,wr.sampleSize=ku,wr.set=Id,wr.setWith=jd,wr.shuffle=Mu,wr.slice=ml,wr.sortBy=Tu,wr.sortedUniq=xl,wr.sortedUniqBy=kl,wr.split=lh,wr.spread=qu,wr.tail=Ml,wr.take=Sl,wr.takeRight=Cl,wr.takeRightWhile=Tl,wr.takeWhile=Ol,wr.tap=$l,wr.throttle=Xu,wr.thru=Gl,wr.toArray=$c,wr.toPairs=Pd,wr.toPairsIn=Rd,wr.toPath=Qh,wr.toPlainObject=Zc,wr.transform=Nd,wr.unary=Ku,wr.union=Ll,wr.unionBy=Al,wr.unionWith=Dl,wr.uniq=El,wr.uniqBy=Il,wr.uniqWith=jl,wr.unset=Bd,wr.unzip=Pl,wr.unzipWith=Rl,wr.update=Yd,wr.updateWith=Fd,wr.values=zd,wr.valuesIn=Hd,wr.without=Nl,wr.words=wh,wr.wrap=Zu,wr.xor=Bl,wr.xorBy=Yl,wr.xorWith=Fl,wr.zip=zl,wr.zipObject=Hl,wr.zipObjectDeep=Vl,wr.zipWith=Wl,wr.entries=Pd,wr.entriesIn=Rd,wr.extend=td,wr.extendWith=nd,Rh(wr,wr),wr.add=tf,wr.attempt=xh,wr.camelCase=$d,wr.capitalize=Gd,wr.ceil=nf,wr.clamp=Vd,wr.clone=Qu,wr.cloneDeep=tc,wr.cloneDeepWith=nc,wr.cloneWith=ec,wr.conformsTo=rc,wr.deburr=qd,wr.defaultTo=Th,wr.divide=rf,wr.endsWith=Xd,wr.eq=ic,wr.escape=Kd,wr.escapeRegExp=Zd,wr.every=ru,wr.find=ou,wr.findIndex=$s,wr.findKey=ld,wr.findLast=au,wr.findLastIndex=Gs,wr.findLastKey=ud,wr.floor=of,wr.forEach=cu,wr.forEachRight=du,wr.forIn=cd,wr.forInRight=dd,wr.forOwn=hd,wr.forOwnRight=fd,wr.get=gd,wr.gt=oc,wr.gte=ac,wr.has=vd,wr.hasIn=yd,wr.head=Js,wr.identity=Ah,wr.includes=fu,wr.indexOf=Qs,wr.inRange=Wd,wr.invoke=wd,wr.isArguments=sc,wr.isArray=lc,wr.isArrayBuffer=uc,wr.isArrayLike=cc,wr.isArrayLikeObject=dc,wr.isBoolean=hc,wr.isBuffer=fc,wr.isDate=pc,wr.isElement=mc,wr.isEmpty=gc,wr.isEqual=vc,wr.isEqualWith=yc,wr.isError=bc,wr.isFinite=_c,wr.isFunction=wc,wr.isInteger=xc,wr.isLength=kc,wr.isMap=Cc,wr.isMatch=Tc,wr.isMatchWith=Oc,wr.isNaN=Lc,wr.isNative=Ac,wr.isNil=Ec,wr.isNull=Dc,wr.isNumber=Ic,wr.isObject=Mc,wr.isObjectLike=Sc,wr.isPlainObject=jc,wr.isRegExp=Pc,wr.isSafeInteger=Rc,wr.isSet=Nc,wr.isString=Bc,wr.isSymbol=Yc,wr.isTypedArray=Fc,wr.isUndefined=zc,wr.isWeakMap=Hc,wr.isWeakSet=Vc,wr.join=il,wr.kebabCase=Jd,wr.last=ol,wr.lastIndexOf=al,wr.lowerCase=Qd,wr.lowerFirst=eh,wr.lt=Wc,wr.lte=Uc,wr.max=af,wr.maxBy=sf,wr.mean=lf,wr.meanBy=uf,wr.min=cf,wr.minBy=df,wr.stubArray=Gh,wr.stubFalse=qh,wr.stubObject=Xh,wr.stubString=Kh,wr.stubTrue=Zh,wr.multiply=hf,wr.nth=sl,wr.noConflict=Nh,wr.noop=Bh,wr.now=Ou,wr.pad=th,wr.padEnd=nh,wr.padStart=rh,wr.parseInt=ih,wr.random=Ud,wr.reduce=bu,wr.reduceRight=_u,wr.repeat=oh,wr.replace=ah,wr.result=Ed,wr.round=ff,wr.runInContext=e,wr.sample=xu,wr.size=Su,wr.snakeCase=sh,wr.some=Cu,wr.sortedIndex=gl,wr.sortedIndexBy=vl,wr.sortedIndexOf=yl,wr.sortedLastIndex=bl,wr.sortedLastIndexBy=_l,wr.sortedLastIndexOf=wl,wr.startCase=uh,wr.startsWith=ch,wr.subtract=pf,wr.sum=mf,wr.sumBy=gf,wr.template=dh,wr.times=Jh,wr.toFinite=Gc,wr.toInteger=qc,wr.toLength=Xc,wr.toLower=hh,wr.toNumber=Kc,wr.toSafeInteger=Jc,wr.toString=Qc,wr.toUpper=fh,wr.trim=ph,wr.trimEnd=mh,wr.trimStart=gh,wr.truncate=vh,wr.unescape=yh,wr.uniqueId=ef,wr.upperCase=bh,wr.upperFirst=_h,wr.each=cu,wr.eachRight=du,wr.first=Js,Rh(wr,function(){var e={};return Di(wr,(function(t,n){dt.call(wr.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),wr.VERSION=a,xn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){wr[e].placeholder=wr})),xn(["drop","take"],(function(e,t){Tr.prototype[e]=function(n){n=n===o?1:Ft(qc(n),0);var r=this.__filtered__&&!t?new Tr(this):this.clone();return r.__filtered__?r.__takeCount__=zt(n,r.__takeCount__):r.__views__.push({size:zt(n,F),type:e+(r.__dir__<0?"Right":"")}),r},Tr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),xn(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==I||n==P;Tr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Wa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),xn(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Tr.prototype[e]=function(){return this[n](1).value()[0]}})),xn(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Tr.prototype[e]=function(){return this.__filtered__?new Tr(this):this[n](1)}})),Tr.prototype.compact=function(){return this.filter(Ah)},Tr.prototype.find=function(e){return this.filter(e).head()},Tr.prototype.findLast=function(e){return this.reverse().find(e)},Tr.prototype.invokeMap=wo((function(e,t){return"function"==typeof e?new Tr(this):this.map((function(n){return Vi(n,e,t)}))})),Tr.prototype.reject=function(e){return this.filter(zu(Wa(e)))},Tr.prototype.slice=function(e,t){e=qc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Tr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=qc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Tr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Tr.prototype.toArray=function(){return this.take(F)},Di(Tr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=wr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(wr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Tr,u=s[0],c=l||lc(t),d=function(e){var t=i.apply(wr,Ln([e],s));return r&&h?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,m=l&&!f;if(!a&&c){t=m?t:new Tr(this);var g=e.apply(t,s);return g.__actions__.push({func:Gl,args:[d],thisArg:o}),new Cr(g,h)}return p&&m?e.apply(this,s):(g=this.thru(d),p?r?g.value()[0]:g.value():g)})})),xn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);wr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(lc(i)?i:[],e)}return this[n]((function(n){return t.apply(lc(n)?n:[],e)}))}})),Di(Tr.prototype,(function(e,t){var n=wr[t];if(n){var r=n.name+"";dt.call(un,r)||(un[r]=[]),un[r].push({name:t,func:n})}})),un[ba(o,_).name]=[{name:"wrapper",func:o}],Tr.prototype.clone=Or,Tr.prototype.reverse=Lr,Tr.prototype.value=Ar,wr.prototype.at=ql,wr.prototype.chain=Xl,wr.prototype.commit=Kl,wr.prototype.next=Zl,wr.prototype.plant=Ql,wr.prototype.reverse=eu,wr.prototype.toJSON=wr.prototype.valueOf=wr.prototype.value=tu,wr.prototype.first=wr.prototype.head,Tt&&(wr.prototype[Tt]=Jl),wr},Mr=kr();ln._=Mr,i=function(){return Mr}.call(t,n,t,r),i===o||(r.exports=i)}).call(this)}).call(this,n("24aa"),n("7ebd")(e))},"2f21":function(e,t,n){"use strict";var r=n("79e5");e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},"2f62":function(e,t,n){"use strict";
  102. /**
  103. * vuex v3.1.0
  104. * (c) 2019 Evan You
  105. * @license MIT
  106. */
  107. function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"d",(function(){return L})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return D}));var i="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)})))}function a(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function s(e){return null!==e&&"object"===typeof e}function l(e){return e&&"function"===typeof e.then}var u=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},u.prototype.addChild=function(e,t){this._children[e]=t},u.prototype.removeChild=function(e){delete this._children[e]},u.prototype.getChild=function(e){return this._children[e]},u.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},u.prototype.forEachChild=function(e){a(this._children,e)},u.prototype.forEachGetter=function(e){this._rawModule.getters&&a(this._rawModule.getters,e)},u.prototype.forEachAction=function(e){this._rawModule.actions&&a(this._rawModule.actions,e)},u.prototype.forEachMutation=function(e){this._rawModule.mutations&&a(this._rawModule.mutations,e)},Object.defineProperties(u.prototype,c);var d=function(e){this.register([],e,!1)};function h(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;h(e.concat(r),t.getChild(r),n.modules[r])}}d.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},d.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},d.prototype.update=function(e){h([],this.root,e)},d.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new u(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&a(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},d.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var f;var p=function(e){var t=this;void 0===e&&(e={}),!f&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new d(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new f;var i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=r;var u=this._modules.root.state;b(this,u,[],this._modules.root),y(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:f.config.devtools;c&&o(this)},m={state:{configurable:!0}};function g(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function v(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;b(e,n,[],e._modules.root,!0),y(e,n,t)}function y(e,t,n){var r=e._vm;e.getters={};var i=e._wrappedGetters,o={};a(i,(function(t,n){o[n]=function(){return t(e)},Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=f.config.silent;f.config.silent=!0,e._vm=new f({data:{$$state:t},computed:o}),f.config.silent=s,e.strict&&S(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),f.nextTick((function(){return r.$destroy()})))}function b(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a]=r),!o&&!i){var s=C(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){f.set(s,l,r.state)}))}var u=r.context=_(e,a,n);r.forEachMutation((function(t,n){var r=a+n;x(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;k(e,r,i,u)})),r.forEachGetter((function(t,n){var r=a+n;M(e,r,t,u)})),r.forEachChild((function(r,o){b(e,t,n.concat(o),r,i)}))}function _(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=T(n,r,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:r?e.commit:function(n,r,i){var o=T(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return w(e,t)}},state:{get:function(){return C(e.state,n)}}}),i}function w(e,t){var n={},r=t.length;return Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),n}function x(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function k(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t,i){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t,i);return l(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}function M(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function S(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function C(e,t){return t.length?t.reduce((function(e,t){return e[t]}),e):e}function T(e,t,n){return s(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function O(e){f&&e===f||(f=e,r(f))}m.state.get=function(){return this._vm._data.$$state},m.state.set=function(e){0},p.prototype.commit=function(e,t,n){var r=this,i=T(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.forEach((function(e){return e(s,r.state)})))},p.prototype.dispatch=function(e,t){var n=this,r=T(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return l.then((function(e){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}return e}))}},p.prototype.subscribe=function(e){return g(e,this._subscribers)},p.prototype.subscribeAction=function(e){var t="function"===typeof e?{before:e}:e;return g(t,this._actionSubscribers)},p.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},p.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},p.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),b(this,this.state,e,this._modules.get(e),n.preserveState),y(this,this.state)},p.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=C(t.state,e.slice(0,-1));f.delete(n,e[e.length-1])})),v(this)},p.prototype.hotUpdate=function(e){this._modules.update(e),v(this,!0)},p.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(p.prototype,m);var L=P((function(e,t){var n={};return j(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=R(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),A=P((function(e,t){var n={};return j(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=R(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),D=P((function(e,t){var n={};return j(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||R(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),E=P((function(e,t){var n={};return j(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=R(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),I=function(e){return{mapState:L.bind(null,e),mapGetters:D.bind(null,e),mapMutations:A.bind(null,e),mapActions:E.bind(null,e)}};function j(e){return Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}}))}function P(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function R(e,t,n){var r=e._modulesNamespaceMap[n];return r}var N={Store:p,install:O,version:"3.1.0",mapState:L,mapMutations:A,mapGetters:D,mapActions:E,createNamespacedHelpers:I};t["a"]=N},"2f78":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{isubh:function(e,t,n,r){var i=e>>>0,o=t>>>0,a=n>>>0;return o-(r>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},"2fdb":function(e,t,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},3024:function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},"30ba":function(e,t,n){
  108. /*!
  109. * @form-create/element-ui v2.5.37
  110. * (c) 2018-2024 xaboy
  111. * Github https://github.com/xaboy/form-create
  112. * Released under the MIT License.
  113. */
  114. !function(e,r){r(t,n("2b0e"))}(0,(function(e,t){"use strict";function n(){return(n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var r=["attrs","props","domProps"],i=["class","style","directives"],o=["on","nativeOn"],a=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},s=function(e){return e.reduce((function(e,t){for(var s in t)if(e[s])if(-1!==r.indexOf(s))e[s]=n({},e[s],t[s]);else if(-1!==i.indexOf(s)){var l=e[s]instanceof Array?e[s]:[e[s]],u=t[s]instanceof Array?t[s]:[t[s]];e[s]=l.concat(u)}else if(-1!==o.indexOf(s))for(var c in t[s])if(e[s][c]){var d=e[s][c]instanceof Array?e[s][c]:[e[s][c]],h=t[s][c]instanceof Array?t[s][c]:[t[s][c]];e[s][c]=d.concat(h)}else e[s][c]=t[s][c];else if("hook"==s)for(var f in t[s])e[s][f]=e[s][f]?a(e[s][f],t[s][f]):t[s][f];else e[s]=t[s];else e[s]=t[s];return e}),{})};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function g(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){return Object.keys(e).reduce((function(n,r){return t&&-1!==t.indexOf(r)||n.push(e[r]),n}),[])}var b={name:"fcCheckbox",props:{formCreateInject:{type:Object,required:!0},value:{type:Array,default:function(){return[]}},type:String},watch:{"formCreateInject.options":{handler:function(){this.update()},deep:!0},value:function(){this.update()}},data:function(){return{trueValue:[]}},methods:{options:function(){var e=this.formCreateInject.options;return Array.isArray(e)?e:[]},onInput:function(e){this.$emit("input",this.options().filter((function(t){return-1!==e.indexOf(t.label)})).map((function(e){return e.value})).filter((function(e){return void 0!==e})))},update:function(){var e=Array.isArray(this.value)?this.value:[this.value];this.trueValue=this.options().filter((function(t){return-1!==e.indexOf(t.value)})).map((function(e){return e.label}))}},created:function(){this.update()},render:function(){var e=this,t=arguments[0];return t("ElCheckboxGroup",s([{},this.formCreateInject.prop,{},{props:{value:this.trueValue}},{ref:"el",on:{input:this.onInput}}]),[this.options().map((function(n,r){var i=d({},n),o="button"===e.type?"ElCheckboxButton":"ElCheckbox";return delete i.value,t(o,s([{},{props:i},{key:o+r+"-"+n.value}]))})),y(this.$slots)])},mounted:function(){this.$emit("fc.el",this.$refs.el)}};function _(e){return Array.isArray(e)?e:[null,void 0,""].indexOf(e)>-1?[]:[e]}function w(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}w("._fc-frame .fc-files img {\n width: 100%;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n}\n\n._fc-frame .fc-upload-btn {\n border: 1px dashed #c0ccda;\n cursor: pointer;\n}\n\n._fc-frame .fc-upload-cover {\n opacity: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, .6);\n -webkit-transition: opacity .3s;\n -o-transition: opacity .3s;\n transition: opacity .3s;\n}\n\n._fc-frame .fc-upload-cover i {\n color: #fff;\n font-size: 20px;\n cursor: pointer;\n margin: 0 2px;\n}\n\n._fc-frame .fc-files:hover .fc-upload-cover {\n opacity: 1;\n}\n\n._fc-frame .el-upload {\n display: block;\n}\n\n._fc-frame .fc-upload-btn, .fc-files {\n display: inline-block;\n width: 58px;\n height: 58px;\n text-align: center;\n line-height: 58px;\n border: 1px solid #c0ccda;\n border-radius: 4px;\n overflow: hidden;\n background: #fff;\n position: relative;\n -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n margin-right: 4px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n");var x={name:"fcFrame",props:{formCreateInject:{type:Object,required:!0},type:{type:String,default:"input"},field:String,helper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},src:{type:String,required:!0},icon:{type:String,default:"el-icon-upload2"},width:{type:String,default:"500px"},height:{type:String,default:"370px"},maxLength:{type:Number,default:0},okBtnText:{type:String,default:"确定"},closeBtnText:{type:String,default:"关闭"},modalTitle:String,handleIcon:{type:[String,Boolean],default:void 0},title:String,allowRemove:{type:Boolean,default:!0},onOpen:{type:Function,default:function(){}},onOk:{type:Function,default:function(){}},onCancel:{type:Function,default:function(){}},onLoad:{type:Function,default:function(){}},onBeforeRemove:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},onHandle:{type:Function,default:function(e){this.previewImage=this.getSrc(e),this.previewVisible=!0}},modal:{type:Object,default:function(){return{}}},srcKey:{type:[String,Number]},value:[Array,String,Number,Object],previewMask:void 0,footer:{type:Boolean,default:!0},reload:{type:Boolean,default:!0},closeBtn:{type:Boolean,default:!0},okBtn:{type:Boolean,default:!0}},data:function(){return{fileList:_(this.value),previewVisible:!1,frameVisible:!1,previewImage:""}},watch:{value:function(e){this.fileList=_(e)},fileList:function(e){var t=1===this.maxLength?e[0]||"":e;this.$emit("input",t),this.$emit("change",t)},src:function(e){this.modalVm&&(this.modalVm.src=e)}},methods:{key:function(e){return e},closeModel:function(e){this.$emit(e?"$close":"$ok"),this.reload&&(this.$off("$ok"),this.$off("$close")),this.frameVisible=!1},handleCancel:function(){this.previewVisible=!1},showModel:function(){this.disabled||!1===this.onOpen()||(this.frameVisible=!0)},makeInput:function(){var e=this,t=this.$createElement,n={type:"text",value:this.fileList.map((function(t){return e.getSrc(t)})).toString(),readonly:!0};return t("ElInput",s([{},{props:n},{key:this.key("input")}]),[this.fileList.length?t("i",{slot:"suffix",class:"el-input__icon el-icon-circle-close",on:{click:function(){return e.fileList=[]}}}):null,t("ElButton",s([{attrs:{icon:this.icon}},{on:{click:function(){return e.showModel()}}},{slot:"append"}]))])},makeGroup:function(e){var t=this.$createElement;return(!this.maxLength||this.fileList.length<this.maxLength)&&e.push(this.makeBtn()),t("div",{key:this.key("group")},g(e))},makeItem:function(e,t){return(0,this.$createElement)("div",{class:"fc-files",key:this.key("file"+e)},g(t))},valid:function(e){var t=this.formCreateInject.field||this.field;if(t&&e!==t)throw new Error("[frame]无效的字段值")},makeIcons:function(e,t){var n=this.$createElement;if(!1!==this.handleIcon||!0===this.allowRemove){var r=[];return("file"!==this.type&&!1!==this.handleIcon||"file"===this.type&&this.handleIcon)&&r.push(this.makeHandleIcon(e,t)),this.allowRemove&&r.push(this.makeRemoveIcon(e,t)),n("div",{class:"fc-upload-cover",key:this.key("uc")},[r])}},makeHandleIcon:function(e,t){var n=this;return(0,this.$createElement)("i",{class:!0===this.handleIcon||void 0===this.handleIcon?"el-icon-view":this.handleIcon,on:{click:function(){return n.handleClick(e)}},key:this.key("hi"+t)})},makeRemoveIcon:function(e,t){var n=this;return(0,this.$createElement)("i",{class:"el-icon-delete",on:{click:function(){return n.handleRemove(e)}},key:this.key("ri"+t)})},makeFiles:function(){var e=this,t=this.$createElement;return this.makeGroup(this.fileList.map((function(n,r){return e.makeItem(r,[t("i",{class:"el-icon-tickets",on:{click:function(){return e.handleClick(n)}}}),e.makeIcons(n,r)])})))},makeImages:function(){var e=this,t=this.$createElement;return this.makeGroup(this.fileList.map((function(n,r){return e.makeItem(r,[t("img",{attrs:{src:e.getSrc(n)}}),e.makeIcons(n,r)])})))},makeBtn:function(){var e=this,t=this.$createElement;return t("div",{class:"fc-upload-btn",on:{click:function(){return e.showModel()}},key:this.key("btn")},[t("i",{class:this.icon})])},handleClick:function(e){return this.onHandle(e)},handleRemove:function(e){this.disabled||!1!==this.onBeforeRemove(e)&&(this.fileList.splice(this.fileList.indexOf(e),1),this.onRemove(e))},getSrc:function(e){return this.srcKey?e[this.srcKey]:e},frameLoad:function(e){var t=this;this.onLoad(e);try{!0===this.helper&&(e.form_create_helper={api:this.formCreateInject.api,close:function(e){t.valid(e),t.closeModel()},set:function(e,n){t.valid(e),t.disabled||t.$emit("input",n)},get:function(e){return t.valid(e),t.value},onOk:function(e){return t.$on("$ok",e)},onClose:function(e){return t.$on("$close",e)}})}catch(e){console.log(e)}},makeFooter:function(){var e=this,t=this.$createElement,n=this.$props,r=n.okBtnText,i=n.closeBtnText,o=n.closeBtn,a=n.okBtn;if(n.footer)return t("div",{slot:"footer"},[o?t("ElButton",{on:{click:function(){return!1!==e.onCancel()&&(e.frameVisible=!1)}}},[i]):null,a?t("ElButton",{attrs:{type:"primary"},on:{click:function(){return!1!==e.onOk()&&e.closeModel()}}},[r]):null])}},render:function(){var e,t=this,n=arguments[0],r=this.type;e="input"===r?this.makeInput():"image"===r?this.makeImages():this.makeFiles();var i=this.$props,o=i.width,a=void 0===o?"30%":o,l=i.height,u=i.src,c=i.title,h=i.modalTitle;return this.$nextTick((function(){t.$refs.frame&&t.frameLoad(t.$refs.frame.contentWindow||{})})),n("div",{class:"_fc-frame"},[e,n("el-dialog",s([{},{props:{appendToBody:!0,modal:this.previewMask,title:h,visible:this.previewVisible}},{on:{close:this.handleCancel}}]),[n("img",{style:"width: 100%",attrs:{src:this.previewImage}})]),n("el-dialog",s([{},{props:d(d({width:a,title:c,appendToBody:!0},this.modal),{},{visible:this.frameVisible})},{on:{close:function(){return t.closeModel(!0)}}}]),[this.frameVisible||!this.reload?n("iframe",{ref:"frame",attrs:{src:u,frameBorder:"0"},style:{height:l,border:"0 none",width:"100%"}}):null,this.makeFooter()])])},mounted:function(){this.$on("fc.closeModal",this.closeModal)}},k={name:"fcRadio",props:{formCreateInject:{type:Object,required:!0},value:{},type:String},watch:{"formCreateInject.options":{handler:function(){this.update()},deep:!0},value:function(){this.update()}},data:function(){return{trueValue:[]}},methods:{options:function(){var e=this.formCreateInject.options;return Array.isArray(e)?e:[]},onInput:function(e){this.$emit("input",this.options().filter((function(t){return t.label===e})).reduce((function(e,t){return t.value}),""))},update:function(){var e=this;this.trueValue=this.options().filter((function(t){return t.value===e.value})).reduce((function(e,t){return t.label}),"")}},created:function(){this.update()},render:function(){var e=this,t=arguments[0];return t("ElRadioGroup",s([{},this.formCreateInject.prop,{ref:"el"},{props:{value:this.trueValue}},{on:{input:this.onInput}}]),[this.options().map((function(n,r){var i=d({},n),o="button"===e.type?"ElRadioButton":"ElRadio";return delete i.value,t(o,s([{},{props:i},{key:o+r+"-"+n.value}]))})),y(this.$slots)])},mounted:function(){this.$emit("fc.el",this.$refs.el)}},M={type:function(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"},Undef:function(e){return null==e},Element:function(e){return"object"===l(e)&&null!==e&&1===e.nodeType&&!M.Object(e)},trueArray:function(e){return Array.isArray(e)&&e.length>0},Function:function(e){var t=this.getType(e);return"Function"===t||"AsyncFunction"===t},getType:function(e){var t=Object.prototype.toString.call(e);return/^\[object (.*)\]$/.exec(t)[1]},empty:function(e){return null==e||!(!Array.isArray(e)||!Array.isArray(e)||e.length)||"string"==typeof e&&!e}};function S(e,t){return{}.hasOwnProperty.call(e,t)}["Date","Object","String","Boolean","Array","Number"].forEach((function(e){M[e]=function(t){return M.type(t,e)}}));var C={name:"fcSelect",functional:!0,props:{formCreateInject:{type:Object,required:!0}},render:function(e,t){var n=function(t,n){var r=t.slot;return e("ElOption",s([{},{props:t},{key:n+"-"+t.value}]),[r?e("template",{slot:t.slotName||"default"},[M.Function(r)?t.slot(e):r]):null])},r=t.props.formCreateInject.options;return e("ElSelect",s([{},t.data,{ref:"el"}]),[(Array.isArray(r)?r:[]).map((function(t,r){return S(t||"","options")?function(t,r){return e("ElOptionGroup",{attrs:{label:t.label},key:r+"-"+t.label},[M.trueArray(t.options)&&t.options.map((function(e,t){return n(e,t)}))])}(t,r):n(t,r)})),t.children])},mounted:function(){this.$emit("fc.el",this.$refs.el)}},T={name:"fcTree",formCreateParser:{mergeProp:function(e){var t=e.prop.props;t.nodeKey||(t.nodeKey="id"),t.props||(t.props={label:"title"})}},props:{formCreateInject:{type:Object,required:!0},type:{type:String,default:"checked"},value:{type:[Array,String,Number],default:function(){return[]}}},watch:{value:function(){this.setValue()}},methods:{onChange:function(){this.updateValue()},updateValue:function(){var e;this.$refs.tree&&(e="selected"===this.type.toLocaleLowerCase()?this.$refs.tree.getCurrentKey():this.$refs.tree.getCheckedKeys(),this.$emit("input",e))},setValue:function(){"selected"===this.type.toLocaleLowerCase()?this.$refs.tree.setCurrentKey(this.value):this.$refs.tree.setCheckedKeys(_(this.value))}},render:function(){var e=this;return(0,arguments[0])("ElTree",s([{},this.formCreateInject.prop,{ref:"tree",on:{check:function(){return e.updateValue()},"node-click":function(){return e.updateValue()}}}]),[y(this.$slots)])},mounted:function(){this.setValue(),this.$emit("fc.el",this.$refs.tree)}};function O(e,t){return{url:e,name:L(e),uid:t}}function L(e){return(""+e).split("/").pop()}w("._fc-upload .fc-files img {\n width: 100%;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n}\n\n._fc-upload .fc-upload-btn {\n border: 1px dashed #c0ccda;\n cursor: pointer;\n}\n\n._fc-upload .fc-upload-cover {\n opacity: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, .6);\n -webkit-transition: opacity .3s;\n -o-transition: opacity .3s;\n transition: opacity .3s;\n}\n\n._fc-upload .fc-upload-cover i {\n color: #fff;\n font-size: 20px;\n cursor: pointer;\n margin: 0 2px;\n}\n\n._fc-upload .fc-files:hover .fc-upload-cover {\n opacity: 1;\n}\n\n._fc-upload .el-upload {\n display: block;\n}\n\n._fc-upload .fc-upload-btn, ._fc-upload .fc-files {\n display: inline-block;\n width: 58px;\n height: 58px;\n text-align: center;\n line-height: 58px;\n border: 1px solid #c0ccda;\n border-radius: 4px;\n overflow: hidden;\n background: #fff;\n position: relative;\n -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n margin-right: 4px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n");var A={name:"fcUpload",props:{formCreateInject:{type:Object,required:!0},onHandle:{type:Function,default:function(e){this.previewImage=e.url,this.previewVisible=!0}},uploadType:{type:String,default:"file"},limit:{type:Number,default:0},allowRemove:{type:Boolean,default:!0},previewMask:void 0,modalTitle:String,handleIcon:{type:[String,Boolean],default:function(){}},value:[Array,String]},data:function(){return{uploadList:[],previewVisible:!1,previewImage:"",cacheFiles:[]}},created:function(){void 0===this.formCreateInject.prop.props.showFileList&&(this.formCreateInject.prop.props.showFileList=!1),this.formCreateInject.prop.props.fileList=_(this.value).map(O)},watch:{value:function(e){this.$refs.upload.uploadFiles.every((function(e){return!e.status||"success"===e.status}))&&(this.$refs.upload.uploadFiles=_(e).map(O),this.uploadList=this.$refs.upload.uploadFiles)},limit:function(e,t){1!==t&&1!==e||this.update()}},methods:{key:function(e){return e},isDisabled:function(){return!0===this.formCreateInject.prop.props.disabled},onRemove:function(e){this.isDisabled()||this.$refs.upload.handleRemove(e)},handleClick:function(e){this.onHandle(e)},makeItem:function(e,t){var n=this.$createElement;return"image"===this.uploadType?n("img",{attrs:{src:e.url},key:this.key("img"+t)}):n("i",{class:"el-icon-tickets",key:this.key("i"+t)})},makeRemoveIcon:function(e,t){var n=this;return(0,this.$createElement)("i",{class:"el-icon-delete",on:{click:function(){return n.onRemove(e)}},key:this.key("ri"+t)})},makeHandleIcon:function(e,t){var n=this;return(0,this.$createElement)("i",{class:!0===this.handleIcon||void 0===this.handleIcon?"el-icon-view":this.handleIcon,on:{click:function(){return n.handleClick(e)}},key:this.key("hi"+t)})},makeProgress:function(e,t){return(0,this.$createElement)("ElProgress",s([{},{props:{percentage:e.percentage,type:"circle",width:52}},{style:"margin-top:2px;",key:this.key("pg"+t)}]))},makeIcons:function(e,t){var n=this.$createElement,r=[];if(this.allowRemove||!1!==this.handleIcon)return("file"!==this.uploadType&&!1!==this.handleIcon||"file"===this.uploadType&&this.handleIcon)&&r.push(this.makeHandleIcon(e,t)),this.allowRemove&&r.push(this.makeRemoveIcon(e,t)),n("div",{class:"fc-upload-cover"},[r])},makeFiles:function(){var e=this,t=this.$createElement;return this.uploadList.map((function(n,r){return e.$scopedSlots.fileList?e.$scopedSlots.fileList({file:n,index:r,vm:e}):t("div",{key:e.key(r),class:"fc-files"},[void 0!==n.percentage&&"success"!==n.status?e.makeProgress(n,r):[e.makeItem(n,r),e.makeIcons(n,r)]])}))},makeUpload:function(){var e=this.$createElement,t=!this.limit||this.limit>this.uploadList.length;return e("ElUpload",s([{},this.formCreateInject.prop,{},{style:{display:"inline-block"},key:this.key("upload"),ref:"upload"}]),[t?e("template",{slot:"default"},[this.$slots.default||e("div",{class:"fc-upload-btn"},[e("i",{class:"el-icon-upload2"})])]):null,y(this.$slots,["default"])])},update:function(){var e=this.$refs.upload.uploadFiles.map((function(e){return e.url})).filter((function(e){return void 0!==e}));this.cacheFiles.length===e.length&&e.length||(this.cacheFiles=g(e),this.$emit("input",1===this.limit?e[0]||"":e))},handleCancel:function(){this.previewVisible=!1}},render:function(){var e=arguments[0];return this.$refs.upload&&(void 0===this.formCreateInject.prop.props.showFileList&&(this.formCreateInject.prop.props.showFileList=this.$refs.upload.showFileList),this.formCreateInject.prop.props.fileList=this.$refs.upload.fileList),e("div",{class:"_fc-upload"},[[this.formCreateInject.prop.props.showFileList?[]:this.makeFiles(),this.makeUpload()],e("el-dialog",s([{},{props:{appendToBody:!0,modal:this.previewMask,title:this.modalTitle,visible:this.previewVisible}},{on:{close:this.handleCancel}}]),[e("img",{attrs:{alt:"example",src:this.previewImage},style:"width: 100%"})])])},mounted:function(){var e=this;this.uploadList=this.$refs.upload.uploadFiles,this.$watch((function(){return e.$refs.upload.uploadFiles}),(function(){e.update()}),{deep:!0}),this.$emit("fc.el",this.$refs.upload)}};function D(e,n,r){t.set(e,n,r)}function E(e,n){t.delete(e,n)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=!1;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];if((r=Array.isArray(o))||M.Object(o)){var a=void 0===e[i];if(r)r=!1,a&&D(e,i,[]);else if(o._clone&&void 0!==n){if(!n){D(e,i,o._clone());continue}o=o.getRule(),a&&D(e,i,{})}else a&&D(e,i,{});e[i]=I(e[i],o,n)}else D(e,i,o),M.Undef(o)||(M.Undef(o.__json)||(e[i].__json=o.__json),M.Undef(o.__origin)||(e[i].__origin=o.__origin))}return void 0!==n&&Array.isArray(e)?e.filter((function(e){return!e||!e.__ctrl})):e}function j(e){return I({},{value:e}).value}var P=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&D(e,r,t[r]);return e};function R(){return P.apply(this,arguments)}w('._fc-group{\n display: flex;\n min-height: 42px;\n justify-content: center;\n flex-direction: column;\n}\n\n._fc-group-disabled ._fc-group-btn, ._fc-group-disabled ._fc-group-add{\n cursor: not-allowed;\n}\n\n._fc-group-handle {\n display: flex;\n flex-direction: row;\n position: absolute;\n bottom: -15px;\n right: 30px;\n border-radius: 15px;\n border: 1px dashed #d9d9d9;\n padding: 3px 8px;\n background-color: #ffffff;\n}\n\n._fc-group-btn{\n cursor: pointer;\n}\n\n._fc-group-idx {\n position: absolute;\n bottom: -15px;\n left: 10px;\n width: 30px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #eee;\n border-radius: 15px;\n font-weight: 700;\n}\n\n._fc-group-handle ._fc-group-btn + ._fc-group-btn {\n margin-left: 7px;\n}\n\n._fc-group-container{\n position: relative;\n display: flex;\n flex-direction: column;\n border: 1px dashed #d9d9d9;\n padding: 20px;\n margin: 5px;\n border-radius: 5px;\n margin-bottom: 25px;\n padding-bottom: 25px;\n}\n\n._fc-group-arrow {\n position: relative;\n width: 20px;\n height: 20px;\n}\n\n._fc-group-arrow::before {\n content: "";\n position: absolute;\n top: 8px;\n left: 5px;\n width: 9px;\n height: 9px;\n border-left: 2px solid #999;\n border-top: 2px solid #999;\n}\n._fc-group-arrow::before {\n transform: rotate(45deg);\n}\n\n._fc-group-arrow._fc-group-down {\n transform: rotate(180deg);\n}\n\n._fc-group-plus-minus {\n width: 20px;\n height: 20px;\n position: relative;\n cursor: pointer;\n}\n\n._fc-group-plus-minus::before,\n._fc-group-plus-minus::after {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 60%;\n height: 2px;\n background-color: #409eff;\n transform: translate(-50%, -50%);\n}\n\n._fc-group-plus-minus::before {\n transform: translate(-50%, -50%) rotate(90deg);\n}\n\n._fc-group-plus-minus._fc-group-minus::before {\n display: none;\n}\n._fc-group-plus-minus._fc-group-minus::after {\n background-color: #f56c6c;\n}\n\n\n._fc-group-add{\n cursor: pointer;\n width: 25px;\n height: 25px;\n border: 1px solid rgb(64 158 255 / 50%);\n border-radius: 15px;\n}\n\n._fc-group-add._fc-group-plus-minus::before, ._fc-group-add._fc-group-plus-minus::after {\n width: 50%;\n}\n\n');var N=[b,x,k,C,T,A,{name:"fcGroup",props:{field:String,rule:[Array,Object],rules:Array,expand:Number,options:Object,formCreateInject:{type:Object,required:!0},button:{type:Boolean,default:!0},max:{type:Number,default:0},min:{type:Number,default:0},value:{type:Array,default:function(){return[]}},sortBtn:{type:Boolean,default:!0},defaultValue:Object,disabled:{type:Boolean,default:!1},syncDisabled:{type:Boolean,default:!0},onBeforeRemove:{type:Function,default:function(){}},onBeforeAdd:{type:Function,default:function(){}},parse:Function},data:function(){return{len:0,cacheRule:{},cacheValue:{},sort:[],type:void 0}},computed:{formRule:function(){return this.rules?this.rules:this.rule?Array.isArray(this.rule)?this.rule:[this.rule]:[]}},watch:{cacheRule:{handler:function(e){this.sort=Object.keys(e)},immediate:!0},formRule:{handler:function(e,t){var n=this;Object.keys(this.cacheRule).forEach((function(r){var i=n.cacheRule[r];if(i.$f){var o=i.$f.formData();if(e===t)i.$f.deferSyncValue((function(){I(i.rule,e),i.$f.setValue(o)}),!0);else{var a=i.$f.formData();i.$f.once("reloading",(function(){i.$f.setValue(a)})),i.rule=j(e)}}}))},deep:!0},expand:function(e){var t=e-this.value.length;t>0&&this.expandRule(t)},value:function(e,t){var n=this;e=e||[];var r=this.sort,i=r.length,o=i-e.length;if(o<0){for(var a=o;a<0;a++)this.addRule(e.length+a);this.sort=Object.keys(this.cacheRule);for(var s=0;s<i;s++)this.setValue(r[s],e[s])}else{if(o>0){for(var l=0;l<o;l++)this.removeRule(r[i-l-1]);this.sort=Object.keys(this.cacheRule)}e.forEach((function(t,i){n.setValue(r[i],e[i])}))}}},methods:{_value:function(e){return e&&S(e,this.field)?e[this.field]:e},cache:function(e,t){this.cacheValue[e]=JSON.stringify(t)},input:function(e){this.$emit("input",e),this.$emit("change",e)},formData:function(e,t){var n=this,r=this.cacheRule,i=this.sort;if(i.filter((function(e){return r[e].$f})).length===i.length){var o=i.map((function(r){var i=e===r?t:d({},n.cacheRule[r].$f.form),o=n.field?i[n.field]||null:i;return n.cache(r,o),o}));this.input(o)}},setValue:function(e,t){var n=this.field,r=this.cacheRule[e].$f;n&&(t=u({},n,this._value(t))),this.cacheValue[e]!==JSON.stringify(n?t[n]:t)&&(this.cache(e,t),r&&r.coverValue(t||{}))},addRule:function(e,t){var n=this,r=this.formCreateInject.form.copyRules(this.formRule),i=this.options?d({},this.options):{submitBtn:!1,resetBtn:!1};if(this.defaultValue){i.formData||(i.formData={});var o=j(this.defaultValue);R(i.formData,this.field?u({},this.field,o):o)}this.parse&&this.parse({rule:r,options:i,index:this.sort.length}),this.$set(this.cacheRule,++this.len,{rule:r,options:i}),t&&this.$nextTick((function(){return n.$emit("add",r,Object.keys(n.cacheRule).length-1)}))},add$f:function(e,t,n){var r=this;this.cacheRule[t].$f=n,this.$nextTick((function(){r.$emit("itemMounted",n,Object.keys(r.cacheRule).indexOf(t))}))},removeRule:function(e,t){var n=this,r=Object.keys(this.cacheRule).indexOf(e);this.$delete(this.cacheRule,e),this.$delete(this.cacheValue,e),t&&this.$nextTick((function(){return n.$emit("remove",r)}))},add:function(e){this.disabled||!1===this.onBeforeAdd(this.value)||this.addRule(e,!0)},del:function(e,t){if(!this.disabled&&!1!==this.onBeforeRemove(this.value,e)){this.removeRule(t,!0);var n=g(this.value);n.splice(e,1),this.input(n)}},addIcon:function(e){return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-plus-minus",on:{click:this.add}})},delIcon:function(e,t){var n=this;return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-plus-minus _fc-group-minus",on:{click:function(){return n.del(e,t)}}})},sortUpIcon:function(e){var t=this;return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-arrow _fc-group-up",on:{click:function(){return t.changeSort(e,-1)}}})},sortDownIcon:function(e){var t=this;return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-arrow _fc-group-down",on:{click:function(){return t.changeSort(e,1)}}})},changeSort:function(e,t){var n=this.sort[e];this.$set(this.sort,e,this.sort[e+t]),this.sort[e+t]=n,this.formData(0)},makeIcon:function(e,t,n){var r=this;if(this.$scopedSlots.button)return this.$scopedSlots.button({total:e,index:t,vm:this,key:n,del:function(){return r.del(t,n)},add:this.add});var i=[];return(!this.max||e<this.max)&&e===t+1&&i.push(this.addIcon(n)),e>this.min&&i.push(this.delIcon(t,n)),this.sortBtn&&t&&i.push(this.sortUpIcon(t)),this.sortBtn&&t!==e-1&&i.push(this.sortDownIcon(t)),i},emitEvent:function(e,t,n,r){this.$emit.apply(this,[e].concat(g(t),[this.cacheRule[r].$f,n]))},expandRule:function(e){for(var t=0;t<e;t++)this.value.push(this.field?null:{})}},created:function(){this.type=this.formCreateInject.form.$form();var e=(this.expand||0)-this.value.length;e>0&&this.expandRule(e);for(var t=0;t<this.value.length;t++)this.addRule(t)},render:function(){var e=this,t=arguments[0],n=this.sort,r=this.button,i=this.type,o=this.disabled,a=0===n.length?this.$scopedSlots.default?this.$scopedSlots.default({vm:this,add:this.add}):t("div",{key:"a_def",class:"_fc-group-plus-minus _fc-group-add",on:{click:this.add}}):n.map((function(a,l){var c=e.cacheRule[a],d=c.rule,h=c.options,f=r&&!o?e.makeIcon(n.length,l,a):[];return t("div",{class:"_fc-group-container",key:a},[t(i,s([{key:a},{on:{"update:value":function(t){return e.formData(a,t)},"emit-event":function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e.emitEvent(t,r,l,a)},input:function(t){return e.add$f(l,a,t)}}},{},{props:{disabled:o,inFor:!0,value:e.field?u({},e.field,e._value(e.value[l])):e.value[l],rule:d,option:h,extendOption:!0}}])),t("div",{class:"_fc-group-idx"},[l+1]),f.length?t("div",{class:"_fc-group-handle"},[f]):null])}));return t("div",{key:"con",class:"_fc-group "+(o?"_fc-group-disabled":"")},[a])}},{name:"fcSubForm",props:{rule:Array,options:Object,formCreateInject:{type:Object,required:!0},value:{type:Object,default:function(){return{}}},disabled:{type:Boolean,default:!1},syncDisabled:{type:Boolean,default:!0}},data:function(){return{cacheRule:{},cacheValue:{},type:void 0}},watch:{value:function(e){this.setValue(e)}},methods:{formData:function(e){this.cacheValue=JSON.stringify(e),this.$emit("input",e),this.$emit("change",e)},setValue:function(e){var t=JSON.stringify(e);this.cacheValue!==t&&(this.cacheValue=t,this.cacheRule.$f.coverValue(e||{}))},addRule:function(){var e=this.options?this.options:{submitBtn:!1,resetBtn:!1};e.formData=d({},this.value||{}),this.cacheRule={rule:this.rule,options:e}},add$f:function(e){var t=this;this.cacheRule.$f=e,this.$nextTick((function(){t.$emit("itemMounted",e)}))},emitEvent:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.$emit.apply(this,[e].concat(n))}},created:function(){this.addRule(),this.type=this.formCreateInject.form.$form()},render:function(){var e=arguments[0],t=this.cacheRule,n=t.rule,r=t.options;return e(this.type,s([{},{on:{"update:value":this.formData,"emit-event":this.emitEvent,input:this.add$f}},{},{props:{rule:n,option:r,disabled:this.disabled,extendOption:!0}}]))}}],B="FormCreate",Y=function e(t,n){if(t&&t!==n)return t.formCreateInject?t.formCreateInject:t.$parent?e(t.$parent,n):void 0};function F(e){return{name:B,componentName:B,model:{prop:"api"},provide:function(){return{$pfc:this}},inject:{$pfc:{default:null}},props:{rule:{type:Array,required:!0},option:{type:Object,default:function(){return{}}},extendOption:Boolean,disabled:{type:Boolean,default:void 0},value:Object,api:Object,name:String,subForm:{type:Boolean,default:!0},inFor:Boolean},data:function(){return{formData:void 0,destroyed:!1,validate:{},$f:void 0,isShow:!0,unique:1,renderRule:g(this.rule||[]),ctxInject:{},updateValue:JSON.stringify(this.value||{}),isMore:!!this.inFor}},render:function(){return this.formCreate.render()},methods:{_refresh:function(){++this.unique},_renderRule:function(){this.renderRule=g(this.rule||[])},_updateValue:function(e){this.destroyed||(this.updateValue=JSON.stringify(e),this.$emit("update:value",e))}},watch:{value:{handler:function(e){JSON.stringify(e||{})!==this.updateValue&&(this.$f.config.forceCoverValue?this.$f.coverValue(e||{}):this.$f.setValue(e||{}))},deep:!0},option:{handler:function(){this.formCreate.initOptions(),this.$f.refresh()},deep:!0},rule:function(e){var t=this;e.length===this.renderRule.length&&e.every((function(e){return t.renderRule.indexOf(e)>-1}))||(this.formCreate.$handle.reloadRule(e),this._renderRule())},disabled:function(){this.$f.refresh()}},beforeCreate:function(){var t=this;this.formCreate=new e(this),Object.keys(this.formCreate.prop).forEach((function(e){R(t.$options[e],t.formCreate.prop[e])})),this.$emit("beforeCreate",this.formCreate.api())},created:function(){var e=this,t=this,n=this.formCreate.api(),r=function(){var e=Y(t,t.$pfc);if(e)if(t.isMore){var r=_(e.getSubForm()),i=r.indexOf(n);i>-1&&r.splice(i,1)}else e.subForm()};t.$on("hook:beforeDestroy",(function(){r()})),this.$watch((function(){return e.subForm}),(function(e){e?function(){if(t.$pfc){var e,r=Y(t,t.$pfc);r&&(t.isMore?(e=_(r.getSubForm())).push(n):e=n,r.subForm(e))}}():r()}),{immediate:!0})}}}var z=["attrs","props","domProps","scopedSlots"],H=["class","style","directives"],V=["on","nativeOn"],W=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=[].concat(z,g(r.normal||[])),o=[].concat(H,g(r.array||[])),a=[].concat(V,g(r.functional||[])),s=r.props||[];return t.reduce((function(t,n){for(var r in n)if(t[r])if(s.indexOf(r)>-1)t[r]=e([n[r]],t[r]);else if(i.indexOf(r)>-1)t[r]=d(d({},t[r]),n[r]);else if(o.indexOf(r)>-1){var u=t[r]instanceof Array?t[r]:[t[r]],c=n[r]instanceof Array?n[r]:[n[r]];t[r]=[].concat(g(u),g(c))}else if(a.indexOf(r)>-1)for(var h in n[r])if(t[r][h]){var f=t[r][h]instanceof Array?t[r][h]:[t[r][h]],p=n[r][h]instanceof Array?n[r][h]:[n[r][h]];t[r][h]=[].concat(g(f),g(p))}else t[r][h]=n[r][h];else if("hook"===r)for(var m in n[r])t[r][m]?t[r][m]=U(t[r][m],n[r][m]):t[r][m]=n[r][m];else t[r]=n[r];else i.indexOf(r)>-1||a.indexOf(r)>-1||s.indexOf(r)>-1?t[r]=d({},n[r]):o.indexOf(r)>-1?t[r]=n[r]instanceof Array?g(n[r]):"object"===l(n[r])?d({},n[r]):n[r]:t[r]=n[r];return t}),n)},U=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},$=["type","slot","emitPrefix","value","name","native","hidden","display","inject","options","emit","nativeEmit","link","prefix","suffix","update","sync","optionsTo","key","preview","component","cache"],G=["validate","children","control"],q=["effect","deep"];function X(e,t,n){return"[form-create ".concat(e,"]: ").concat(t)+(n?"\n\nrule: "+JSON.stringify(n.getRule?n.getRule():n):"")}function K(e,t){console.error(X("err",e,t))}var Z="[[FORM-CREATE-PREFIX-",J="-FORM-CREATE-SUFFIX]]",Q="$FN:",ee="$FNX:",te="function";function ne(e,t){return JSON.stringify(I(Array.isArray(e)?[]:{},e,!0),(function(e,t){if(!t||!0!==t._isVue){if(l(t)!==te)return t;if(t.__json)return t.__json;if(t.__origin&&(t=t.__origin),!t.__emit)return Z+t+J}}),t)}function re(e){return new Function("return "+e)()}function ie(e,t){if(e&&M.String(e)&&e.length>4){var n=e.trim(),r=!1;try{if(n.indexOf(J)>0&&0===n.indexOf(Z))n=n.replace(J,"").replace(Z,""),r=!0;else if(0===n.indexOf(Q))n=n.replace(Q,""),r=!0;else{if(0===n.indexOf(ee))return(n=re("function($inject){"+n.replace(ee,"")+"}")).__json=e,n.__inject=!0,n;t||0!==n.indexOf(te)||n===te||(r=!0)}if(!r)return e;var i=re(-1===n.indexOf(te)&&0!==n.indexOf("(")?te+" "+n:n);return i.__json=e,i}catch(e){return void K("解析失败:".concat(n,"\n\nerr: ").concat(e))}}return e}function oe(e,t){return JSON.parse(e,(function(e,n){return M.Undef(n)||!n.indexOf?n:ie(n,t)}))}function ae(e,t){return{value:e,enumerable:!1,configurable:!1,writable:!!t}}function se(e){return le([e])[0]}function le(e,t){return I([],g(e),t||!1)}function ue(e,t){return W(Array.isArray(t)?t:[t],e,{array:G,normal:q}),e}function ce(e){var t=M.Function(e.getRule)?e.getRule():e;return t.type||(t.type="input"),t}function de(e,t){Object.defineProperties(e,Object.keys(t).reduce((function(e,n){return e[n]={get:function(){return t[n]()}},e}),{}))}function he(e){return e.__fc__||(e.__origin__?e.__origin__.__fc__:null)}function fe(e,t){try{t=e()}catch(e){!function(e){K(e.toString()),console.error(e)}(e)}return t}var pe=function(e,t){return"string"==typeof e?String(t):"number"==typeof e?Number(t):t},me={"==":function(e,t){return JSON.stringify(e)===JSON.stringify(pe(e,t))},"!=":function(e,t){return!me["=="](e,t)},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},on:function(e,t){return e&&e.indexOf&&e.indexOf(pe(e[0],t))>-1},notOn:function(e,t){return!me.on(e,t)},in:function(e,t){return t&&t.indexOf&&t.indexOf(e)>-1},notIn:function(e,t){return!me.in(e,t)},between:function(e,t){return e>t[0]&&e<t[1]},notBetween:function(e,t){return e<t[0]||e>t[1]},empty:function(e){return M.empty(e)},notEmpty:function(e){return!M.empty(e)},pattern:function(e,t){return new RegExp(t,"g").test(e)}};function ge(e,t){return function(n,r,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=new ve(e,n,r,i,o);return t&&(M.Function(t)?t(a):a.props(t)),a}}function ve(e,t,n,r,i){this._data=R({props:{},on:{},options:[],children:[],effect:{},hidden:!1,display:!0,value:void 0},{type:e,title:t,field:n,value:r,props:i||{}}),this.event=this.on}function ye(e){e.forEach((function(e){ve.prototype[e]=function(t){return ue(this._data,u({},e,arguments.length<2?t:u({},t,arguments[1]))),this}}))}R(ve.prototype,{getRule:function(){return this._data},setProp:function(e,t){return D(this._data,e,t),this},_clone:function(){var e=new this.constructor;return e._data=se(this._data),e}}),ye([].concat($,g(z),g(H),g(V),G,q));var be=ge("");function _e(e,t,n){var r=be("",t);return r._data.type=e,r._data.title=n,r}function we(e,t,n,r){var i=be("",n);return i._data.type="template",i._data.template=e,i._data.title=r,i._data.vm=t,i}function xe(){return{create:_e,createTmp:we,template:we,factory:ge}}function ke(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function Me(e){if("undefined"!=typeof XMLHttpRequest){var t,n=new XMLHttpRequest,r=e.action;n.onerror=function(t){e.onError(t)},n.onload=function(){if(n.status<200||n.status>=300)return e.onError(function(e,t,n){var r="fail to ".concat(e," ").concat(n.status,"'"),i=new Error(r);return i.status=n.status,i.url=e,i}(r,0,n),ke(n));e.onSuccess(ke(n))},n.open(e.method||"get",r,!0),e.data&&("json"!==(e.dataType||"").toLowerCase()?(t=new FormData,Object.keys(e.data).map((function(n){t.append(n,e.data[n])}))):(t=JSON.stringify(e.data),n.setRequestHeader("content-type","application/json"))),e.withCredentials&&"withCredentials"in n&&(n.withCredentials=!0);var i=e.headers||{};Object.keys(i).forEach((function(e){null!==i[e]&&n.setRequestHeader(e,i[e])})),n.send(t)}}function Se(e){return new Promise((function(t,n){Me(d(d({},e),{},{onSuccess:function(n){var r=function(e){return e},i=ie(e.parse);M.Function(i)?r=i:i&&M.String(i)&&(r=function(e){return i.split(".").forEach((function(t){e&&(e=e[t])})),e}),t(r(n))},onError:function(e){n(e)}}))}))}function Ce(e){return j(e)}function Te(e){return Oe(e.replace(/(-[a-z])/g,(function(e){return e.replace("-","").toLocaleUpperCase()})))}function Oe(e){return e.replace(e[0],e[0].toLowerCase())}function Le(e){return null==e?"":"object"===l(e)?JSON.stringify(e,null,2):String(e)}function Ae(e){var t=e.replace(/([A-Z])/g,"-$1").toLocaleLowerCase();return 0===t.indexOf("-")&&(t=t.substr(1)),t}var De=0;function Ee(){var e=370+ ++De;return"F"+Math.random().toString(36).substr(3,3)+Number("".concat(Date.now())).toString(36)+e.toString(36)+"c"}function Ie(e,t,n){var r,i=e;return(t||"").split(".").forEach((function(e){r&&(i[r]&&"object"==l(i[r])||(i[r]={}),i=i[r]),r=e})),i[r]=n,i}function je(e){R(this,{$handle:e,fc:e.fc,vm:e.vm,$manager:e.$manager,vNode:new e.fc.CreateNode(e.vm)}),de(this,{options:function(){return e.options},sort:function(){return e.sort}}),this.initCache(),this.initRender()}!function(e){R(e.prototype,{initCache:function(){this.clearCacheAll()},clearCache:function(e){if(!e.rule.cache)if(this.cache[e.id]){(!0===this.cache[e.id].use||this.cache[e.id].parent)&&this.$handle.refresh();var t=this.cache[e.id].parent;this.cache[e.id]=null,t&&this.clearCache(t)}else e.parent&&this.clearCache(e.parent)},clearCacheAll:function(){this.cache={}},setCache:function(e,t,n){this.cache[e.id]={vnode:t,use:!1,parent:n,slot:e.rule.slot}},getCache:function(e){var t=this.cache[e.id];if(t)return t.use=!0,t.vnode}})}(je),function(e){R(e.prototype,{initRender:function(){this.tempList={},this.clearOrgChildren()},initOrgChildren:function(){var e=this.$handle.ctxs;this.orgChildren=Object.keys(e).reduce((function(t,n){if(!1!==e[n].parser.loadChildren){var r=e[n].rule.children;t[n]=M.trueArray(r)?g(r):[]}return t}),{})},clearOrgChildren:function(){this.orgChildren={}},getTypeSlot:function(e){return function t(n){if(n){var r=void 0;return e.rule.field&&(r=n.$scopedSlots["field-"+Ae(e.rule.field)]||n.$scopedSlots["field-"+e.rule.field]),r||(r=n.$scopedSlots["type-"+Ae(e.type)]||n.$scopedSlots["type-"+e.type]),r||t(n.$pfc)}}(this.vm)},render:function(){var e=this;if(this.vm.isShow){var t;this.$h=this.vm.$createElement,this.$manager.beforeRender();var n=function(){return e.renderList()};return n.renderSlot=function(t){return e.renderList(t)},n.renderName=function(t){return e.renderId(t)},n.renderField=function(t){return e.renderId(t,"field")},t=this.vm.$scopedSlots.container?[this.vm.$scopedSlots.container(n)]:n(),this.$manager.render(t)}},renderList:function(e){var t=this;return this.sort.map((function(n){return e?t.renderSlot(t.$handle.ctxs[n],e):t.renderCtx(t.$handle.ctxs[n])})).filter((function(e){return void 0!==e}))},makeVm:function(e){var t=this,n=e.vm;return n?M.Function(n)?fe((function(){return e.vm(t.$handle.getInjectData(e))})):n._isVue?n:new Je(n):new Je},mergeGlobal:function(e){var t=this.$handle.options.global;t&&(e.cacheConfig||(e.cacheConfig=t[e.originType]||t[e.type]||t[e.trueType]||{}),e.prop=ue({},[t["*"],e.cacheConfig,e.prop]))},setOptions:function(e){e.prop.optionsTo&&e.prop.options&&Ie(e.prop,e.prop.optionsTo,e.prop.options)},deepSet:function(e){var t=e.rule.deep;t&&Object.keys(t).sort((function(e,t){return e.length<t.length?-1:1})).forEach((function(n){Ie(e.prop,n,t[n])}))},setTempProps:function(e,t){if(e.$props){var n=t.prop,r=Object.keys(e.$props),i=this.injectProp(t),o=Object.keys(i);r.forEach((function(t){S(n.props,t)?e.$props[t]=n.props[t]:o.indexOf(t)>-1&&(e.$props[t]=i[t])}));var a=e.$options.model&&e.$options.model.prop||"value";r.indexOf(a)>-1&&(e.$props[a]=n.value)}},renderTemp:function(e){var t=this;if(!Je.compile)return function(e,t){console.warn(X("tip",e,t))}("当前使用的Vue构建版本不支持compile,无法使用template功能"),[];var n=e.prop,r=e.id,i=e.key;if(!this.tempList[r]){e.el||(e.el=this.makeVm(n),this.vm.$nextTick((function(){return e.parser.mounted(e)})));var o=e.el;e.input&&o.$on(o.$options.model&&o.$options.model.event||"input",(function(n){t.onInput(e,n)})),this.tempList[r]={vm:o,template:Je.compile(n.template)}}var a=this.tempList[r],s=a.vm,l=a.template;this.setTempProps(s,e);var u=l.render.call(s);return M.Undef(u.data)&&(u.data={}),u.key=i,u.data.ref=e.ref,u.data.key=i,u},parseSide:function(e,t){return M.Object(e)?ue({props:{formCreateInject:t.prop.props.formCreateInject}},e):e},renderSides:function(e,t,n){var r=t[n?"rule":"prop"];return[this.renderRule(this.parseSide(r.prefix,t)),e,this.renderRule(this.parseSide(r.suffix,t))]},renderSlot:function(e,t){return e.rule.slot===t?this.renderCtx(e):void 0},renderId:function(e,t){var n=this,r=this.$handle["field"===t?"fieldCtx":"nameCtx"][e];return r?r.map((function(e){return n.renderCtx(e,e.parent)})):void 0},renderCtx:function(e,t){if("hidden"!==e.type){var n=e.rule;if(!this.cache[e.id]||this.cache[e.id].slot!==n.slot){var r,i=!1!==n.cache,o=e.trueType,a=!(M.Undef(n.display)||n.display);if("template"!==o||n.template)if("fcFragment"===o)r=this.renderChildren(e);else{e.initProp(),this.mergeGlobal(e),this.$manager.tidyRule(e),this.deepSet(e),this.setOptions(e),this.ctxProp(e);var s=e.prop;s.preview=!!(S(s,"preview")?s.preview:this.options.preview),s.props.formCreateInject=this.injectProp(e);var l=s.preview;if(s.hidden)return void this.setCache(e,void 0,t);if("template"===o&&s.template)r=this.renderTemp(e),i=!1;else{var u=[];e.parser.renderChildren?u=e.parser.renderChildren(e):!1!==e.parser.loadChildren&&(u=this.renderChildren(e));var c=this.getTypeSlot(e);r=c?c({rule:n,prop:s,preview:l,children:u,api:this.$handle.api,model:s.model||{}}):l?e.parser.preview(u,e):e.parser.render(u,e)}r=this.renderSides(r,e),!e.input&&M.Undef(s.native)||!0===s.native||(r=this.$manager.makeWrap(e,r)),a&&(r=this.display(r)),r=this.item(e,r)}else r=this.renderSides(this.renderChildren(e),e,!0),a&&this.display(r),r=this.item(e,r);return i&&this.setCache(e,r,t),r}return this.getCache(e)}},display:function(e){var t=this;if(Array.isArray(e)){var n=[];return e.forEach((function(e){if(Array.isArray(e))return t.display(e);t.none(e)&&n.push(e)})),n}return this.none(e)},none:function(e){if(e&&e.data)return Array.isArray(e.data.style)?e.data.style.push({display:"none"}):M.String(e.data.style)?e.data.style+=";display:none;":e.data.style=[e.data.style,{display:"none"}],e},item:function(e,t){return this.$h("fcFragment",{slot:e.rule.slot,key:e.key},[t])},injectProp:function(e){var t=this;this.vm.ctxInject[e.id]||D(this.vm.ctxInject,e.id,{api:this.$handle.api,form:this.fc.create,subForm:function(n){t.$handle.addSubForm(e,n)},getSubForm:function(){return t.$handle.subForm[e.id]},options:[],children:[],prop:{},preview:!1,id:e.id,field:e.field,rule:e.rule,input:e.input});var n,r=this.vm.ctxInject[e.id];return R(r,{preview:e.prop.preview,options:e.prop.options,children:e.rule.children,prop:(n=d({},e.prop),n.on=n.on?d({},n.on):{},delete n.model,n)}),r},ctxProp:function(e){var t=this,n=e.ref,r=e.key,i=e.rule;this.$manager.mergeProp(e),e.parser.mergeProp(e);var o=[{ref:n,key:i.key||"".concat(r,"fc"),slot:void 0,on:{"hook:mounted":function(){t.onMounted(e)},"fc.sub-form":function(n){t.$handle.addSubForm(e,n)},"fc.el":function(t){e.exportEl=t,t&&((t.$el||t).__rule__=e.rule)}}}];return e.input&&(!0===this.vm.$props.disabled&&(e.prop.props.disabled=!0),e.prop.model={value:this.$handle.getFormData(e),callback:function(n){t.onInput(e,n)},expression:"formData.".concat(e.id)}),W(o,e.prop),e.prop},onMounted:function(e){e.el=this.vm.$refs[e.ref],e.el&&((e.el.$el||e.el).__rule__=e.rule),e.parser.mounted(e),this.$handle.effect(e,"mounted")},onInput:function(e,t){this.$handle.onInput(e,t)},renderChildren:function(e){var t=this,n=e.rule.children,r=this.orgChildren[e.id],i=function(e){return!M.String(e)&&e.__fc__&&!t.$handle.ctxs[e.__fc__.id]};return!M.trueArray(n)&&r?(this.$handle.deferSyncValue((function(){r.forEach((function(e){e&&i(e)&&t.$handle.rmCtx(e.__fc__)}))})),this.orgChildren[e.id]=[],[]):(r&&this.$handle.deferSyncValue((function(){r.forEach((function(e){e&&-1===n.indexOf(e)&&i(e)&&t.$handle.rmCtx(e.__fc__)}))})),n.map((function(r){if(r)return M.String(r)?r:r.__fc__?t.renderCtx(r.__fc__,e):void(r.type&&t.vm.$nextTick((function(){t.$handle.loadChildren(n,e),t.$handle.refresh()})))})))},defaultRender:function(e,t){var n=e.prop;return n.component?this.vNode.makeComponent(n.component,n,t):this.vNode[e.type]?this.vNode[e.type](n,t):this.vNode[e.originType]?this.vNode[e.originType](n,t):this.vNode.make(Oe(e.originType),n,t)},renderRule:function(e,t,n){var r=this;if(e){if(M.String(e))return e;var i;if(n)i=e.type;else if(i=e.is,e.type){i=Te(e.type);var o=this.vNode.aliasMap[i];o&&(i=Te(o))}if(i){var a=[[t]];return M.trueArray(e.children)&&a.push(e.children.map((function(e){return r.renderRule(e)}))),this.$h(i,d({},e),a)}}}})}(je);var Pe=["hook:updated","hook:mounted"];function Re(e,t,n){var r,i=Ee();R(this,{id:i,ref:i,wrapRef:i+"fi",rule:t,origin:t.__origin__||t,name:t.name,watch:[],linkOn:[],root:[],ctrlRule:[],parent:null,cacheConfig:null,prop:d({},t),computed:{},payload:{},input:!!t.field,el:void 0,exportEl:void 0,defaultValue:t.field?j(n):void 0,field:t.field||void 0}),this.updateType(),this.updateKey(),r=this,Object.defineProperties(r.origin,{__fc__:ae(r,!0)}),this.update(e,!0)}function Ne(e,t){for(var n=0;n<e.ctrlRule.length;n++){var r=e.ctrlRule[n];if(r.children===t)return r}}function Be(e){return!!e.rule.__ctrl}function Ye(e,t){return"function"==typeof t?""+t:t}function Fe(e){Object.keys(e).forEach((function(t){return delete e[t]}))}R(Re.prototype,{effectData:function(e){return this.payload[e]||(this.payload[e]={}),this.payload[e]},clearEffectData:function(e){void 0===e?this.payload={}:delete this.payload[e]},updateKey:function(e){this.key=Ee(),e&&this.parent&&this.parent.updateKey(e)},updateType:function(){this.originType=this.rule.type,this.type=Te(this.rule.type)},setParser:function(e){this.parser=e,e.init(this)},initProp:function(){var e=this,t=d({},this.rule);delete t.children,this.prop=ue({},[t].concat(g(Object.keys(this.payload).map((function(t){return e.payload[t]}))),[this.computed]))},injectValidate:function(){var e=this;return _(this.prop.validate).map((function(t){if(M.Function(t.validator)){var n=d({},t),r=e;return n.validator=function(){for(var e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(e=t.validator).call.apply(e,[{that:this,id:r.id,field:r.field,rule:r.rule,api:r.$handle.api}].concat(i))},n}return t}))},check:function(e){return this.vm===e.vm},unwatch:function(){this.watch.forEach((function(e){return e()})),this.watch=[]},unlink:function(){this.linkOn.forEach((function(e){return e()})),this.linkOn=[]},link:function(){this.unlink(),this.$handle.appendLink(this)},watchTo:function(){this.$handle.watchCtx(this)},delete:function(){this.unwatch(),this.unlink(),this.rmCtrl(),R(this,{deleted:!0,prop:d({},this.rule),computed:{},el:void 0,$handle:void 0,$render:void 0,$api:void 0,vm:void 0,vNode:void 0,parent:null,cacheConfig:null})},rmCtrl:function(){this.ctrlRule.forEach((function(e){return e.__fc__&&e.__fc__.rm()})),this.ctrlRule=[]},rm:function(){var e=this,t=function(){var t=e.root.indexOf(e.origin);t>-1&&(e.root.splice(t,1),e.$handle&&e.$handle.refresh())};this.deleted?t():this.$handle.noWatch((function(){e.$handle.deferSyncValue((function(){e.rmCtrl(),t(),e.$handle.rmCtx(e),R(e,{root:[]})}),e.input)}))},update:function(e,t){R(this,{deleted:!1,$handle:e,$render:e.$render,$api:e.api,vm:e.vm,trueType:e.getType(this.originType),vNode:e.$render.vNode,updated:!1,cacheValue:this.rule.value}),!t&&this.unwatch(),this.watchTo(),this.link()}});var ze={init:function(e){},toFormValue:function(e,t){return e},toValue:function(e,t){return e},mounted:function(e){},render:function(e,t){return t.$render.defaultRender(t,e)},preview:function(e,t){return this.render(e,t)},mergeProp:function(e){}},He=["field","value","vm","template","name","config","control","inject","sync","payload","optionsTo","update","component","cache"];function Ve(e){var t=this;R(this,{fc:e,vm:e.vm,watching:!1,loading:!1,reloading:!1,noWatchFn:null,deferSyncFn:null,isMounted:!1,formData:{},subForm:{},form:{},appendData:{},providers:{},cycleLoad:null,loadedId:1,nextTick:null,changeStatus:!1,pageEnd:!0,nextReload:function(){t.lifecycle("reload")}}),de(this,{options:function(){return e.options},bus:function(){return e.bus}}),this.initData(e.rules),this.$manager=new e.manager(this),this.$render=new je(this),this.api=e.extendApi(function(e){function t(t){return M.Undef(t)?t=e.fields():Array.isArray(t)||(t=[t]),t}function n(n,r,i){t(n).forEach((function(t){e.getCtxs(t).forEach((function(t){D(t.rule,r,i),e.$render.clearCache(t)}))}))}function r(){var t=e.subForm;return Object.keys(t).reduce((function(e,n){var r=t[n];return r?(Array.isArray(r)?e.push.apply(e,g(r)):e.push(r),e):e}),[])}var i={get config(){return e.options},get options(){return e.options},get form(){return e.form},get rule(){return e.rules},get parent(){return e.vm.$pfc&&e.vm.$pfc.$f},get top(){return i.parent?i.parent.top:i},get children(){return r()},formData:function(n){return t(n).reduce((function(t,n){var r=e.getFieldCtx(n);return r?(t[r.field]=Ce(r.rule.value),t):t}),!1!==e.options.appendValue?Ce(e.appendData):{})},getValue:function(t){var n=e.getFieldCtx(t);if(n)return Ce(n.rule.value)},coverValue:function(t){var n=d({},t||{});e.deferSyncValue((function(){i.fields().forEach((function(t){var r=e.fieldCtx[t];if(r){var i=S(n,t);r.forEach((function(e){e.rule.value=i?n[t]:void 0})),delete n[t]}})),R(e.appendData,n)}))},setValue:function(t){var n=t;arguments.length>=2&&(n=u({},t,arguments[1])),e.deferSyncValue((function(){Object.keys(n).forEach((function(t){var r=e.fieldCtx[t];if(!r)return e.appendData[t]=n[t];r.forEach((function(e){e.rule.value=n[t]}))}))}))},removeField:function(t){var n=e.getCtx(t);return e.deferSyncValue((function(){e.getCtxs(t).forEach((function(e){e.rm()}))}),!0),n?n.origin:void 0},removeRule:function(e){var t=e&&he(e);if(t)return t.rm(),t.origin},destroy:function(){e.vm.$el.parentNode&&e.vm.$el.parentNode.removeChild(e.vm.$el),e.vm.$destroy()},fields:function(){return e.fields()},append:function(t,n,r){var i,o=e.sort.length-1,a=e.getCtx(n);a?r?(i=a.rule.children,o=a.rule.children.length-1):(o=a.root.indexOf(a.origin),i=a.root):i=e.rules,i.splice(o+1,0,t)},prepend:function(t,n,r){var i,o=0,a=e.getCtx(n);a?r?i=a.rule.children:(o=a.root.indexOf(a.origin),i=a.root):i=e.rules,i.splice(o,0,t)},hidden:function(t,r){n(r,"hidden",!!t),e.refresh()},hiddenStatus:function(t){var n=e.getCtx(t);if(n)return!!n.rule.hidden},display:function(t,r){n(r,"display",!!t),e.refresh()},displayStatus:function(t){var n=e.getCtx(t);if(n)return!!n.rule.display},disabled:function(n,r){t(r).forEach((function(t){e.getCtxs(t).forEach((function(e){e.rule.props&&D(e.rule.props,"disabled",!!n)}))})),e.refresh()},all:function(t){return Object.keys(e.ctxs).map((function(n){var r=e.ctxs[n];return t?r.origin:r.rule}))},model:function(t){return e.fields().reduce((function(n,r){var i=e.fieldCtx[r][0];return n[r]=t?i.origin:i.rule,n}),{})},component:function(t){return Object.keys(e.nameCtx).reduce((function(n,r){var i=e.nameCtx[r].map((function(e){return t?e.origin:e.rule}));return n[r]=1===i.length?i[0]:i,n}),{})},bind:function(){return i.form},reload:function(t){e.reloadRule(t)},updateOptions:function(t){e.fc.updateOptions(t),i.refresh()},onSubmit:function(e){i.updateOptions({onSubmit:e})},sync:function(t){if(Array.isArray(t))t.forEach((function(e){return i.sync(e)}));else{var n=M.Object(t)?he(t):e.getCtxs(t);n&&((n=Array.isArray(n)?n:[n]).forEach((function(t){if(!t.deleted){var n=e.subForm[t.id];n&&(Array.isArray(n)?n.forEach((function(e){e.refresh()})):n&&n.refresh()),e.$render.clearCache(t)}})),e.refresh())}},refresh:function(){r().forEach((function(e){e.refresh()})),e.$render.clearCacheAll(),e.refresh()},refreshOptions:function(){e.$manager.updateOptions(e.options),i.refresh()},hideForm:function(t){D(e.vm,"isShow",!t)},changeStatus:function(){return e.changeStatus},clearChangeStatus:function(){e.changeStatus=!1},updateRule:function(t,n){e.getCtxs(t).forEach((function(e){R(e.rule,n)}))},updateRules:function(e){Object.keys(e).forEach((function(t){i.updateRule(t,e[t])}))},mergeRule:function(t,n){e.getCtxs(t).forEach((function(e){ue(e.rule,n)}))},mergeRules:function(e){Object.keys(e).forEach((function(t){i.mergeRule(t,e[t])}))},getRule:function(t,n){var r=e.getCtx(t);if(r)return n?r.origin:r.rule},getRenderRule:function(t){var n=e.getCtx(t);if(n)return n.prop},getRefRule:function(t){var n=e.getCtxs(t);if(n&&n.length){var r=n.map((function(e){return e.rule}));return 1===r.length?r[0]:r}},setEffect:function(t,n,r){var i=e.getCtx(t);i&&n&&("$"===n[0]&&(n=n.substr(1)),S(i.rule,"$"+n)&&D(i.rule,"$"+n,r),S(i.rule,"effect")||D(i.rule,"effect",{}),D(i.rule.effect,n,r))},clearEffectData:function(t,n){var r=e.getCtx(t);r&&(n&&"$"===n[0]&&(n=n.substr(1)),r.clearEffectData(n),i.sync(t))},updateValidate:function(e,t,r){r?i.mergeRule(e,{validate:t}):n(e,"validate",t)},updateValidates:function(e,t){Object.keys(e).forEach((function(n){i.updateValidate(n,e[n],t)}))},refreshValidate:function(){e.vm.validate={},i.refresh()},resetFields:function(n){t(n).forEach((function(t){e.getCtxs(t).forEach((function(t){e.$render.clearCache(t),t.rule.value=Ce(t.defaultValue)}))}))},method:function(e,t){var n=i.el(e);if(!n||!n[t])throw new Error(X("err","".concat(t,"方法不存在")));return function(){return n[t].apply(n,arguments)}},exec:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return fe((function(){return i.method(e,t).apply(void 0,r)}))},toJson:function(e){return ne(i.rule,e)},trigger:function(e,t){for(var n=i.el(e),r=arguments.length,o=new Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];n&&n.$emit.apply(n,[t].concat(o))},el:function(t){var n=e.getCtx(t);if(n)return n.exportEl||n.el||e.vm.$refs[n.ref]},closeModal:function(e){var t=i.el(e);t&&t.$emit&&t.$emit("close-modal")},getSubForm:function(t){var n=e.getCtx(t);return n?e.subForm[n.id]:void 0},nextTick:function(t){e.bus.$once("next-tick",t),e.refresh()},nextRefresh:function(t){e.nextRefresh(),t&&fe(t)},emit:function(t){for(var n,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];(n=e.vm).$emit.apply(n,[t].concat(i))},deferSyncValue:function(t,n){e.deferSyncValue(t,n)},fetch:function(t){return new Promise((function(n,r){e.beforeFetch(t).then((function(){return Se(t).then(n).catch(r)}))}))},getData:function(t,n){return e.fc.getData(t,n)},setData:function(t,n){return e.fc.setData(t,n)},helper:{tidyFields:t,props:n}};return["on","once","off","set","emit"].forEach((function(t){i[t]=function(){var n;(n=e.vm)["$".concat(t)].apply(n,arguments)}})),i.changeValue=i.changeField=i.setValue,i}(this),this)}R(Ve.prototype,{initData:function(e){R(this,{ctxs:{},fieldCtx:{},nameCtx:{},sort:[],rules:e})},init:function(){this.appendData=d(d(d({},this.fc.options.formData||{}),this.vm.value||{}),this.appendData),this.useProvider(),this.usePage(),this.loadRule(),this.$manager.__init(),this.lifecycle("created"),this.vm.$set(this.vm,"formData",this.formData)},beforeFetch:function(e){var t=this;return new Promise((function(n){var r=t.options.beforeFetch&&fe((function(){return t.options.beforeFetch(e,{api:t.api})}));r&&M.Function(r.then)?r.then(n):n()}))}}),function(e){R(e.prototype,{parseInjectEvent:function(e,t){var n=e.inject||this.options.injectEvent;return this.parseEventLst(e,t,n)},parseEventLst:function(e,t,n,r){var i=this;return Object.keys(t).forEach((function(o){var a=i.parseEvent(e,t[o],n,r);a&&(t[o]=a)})),t},parseEvent:function(e,t,n,r){if(M.Function(t)&&(!1!==n&&!M.Undef(n)||t.__inject))return this.inject(e,t,n);if(!r&&Array.isArray(t)&&t[0]&&(M.String(t[0])||M.Function(t[0])))return this.parseEventLst(e,t,n,!0);if(M.String(t)){var i=ie(t);if(i&&t!==i)return i.__inject?this.parseEvent(e,i,n,!0):i}},parseEmit:function(e,t){var n=this,r={},i=e.rule,o=i.emitPrefix,a=i.field,s=i.name,l=i.inject,u=i[t?"emit":"nativeEmit"]||[];return M.trueArray(u)&&u.forEach((function(e){if(e){var u,c=o||a||s;if(M.Object(e)&&(u=e.inject,c=(e=e.name).prefix||c),c){t||(c="native-".concat(c));var d=Ae("".concat(c,"-").concat(e)),h=function(){for(var e,t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(e=n.vm).$emit.apply(e,[d].concat(i)),(t=n.vm).$emit.apply(t,["emit-event",d].concat(i))};if(h.__emit=!0,u||!1!==l){var f=u||l||n.options.injectEvent;r[e]=M.Undef(f)?h:n.inject(i,h,f)}else r[e]=h}}})),e.computed[t?"on":"nativeOn"]=r,r},getInjectData:function(e,t){var n=this.vm.$options.propsData,r=n.option,i=n.rule;return{api:this.api,$f:this.api,rule:i,self:e.__origin__,option:r,inject:t}},inject:function(e,t,n){if(t.__origin){if(this.watching&&!this.loading)return t;t=t.__origin}var r=this,i=function(){for(var i=r.getInjectData(e,n),o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return i.args=[].concat(a),a.unshift(i),t.apply(this,a)};return i.__origin=t,i.__json=t.__json,i}})}(Ve),function(e){R(e.prototype,{usePage:function(){var e=this,t=this.options.page;if(t){var n,r=25,i=(n=this.rules).length<31?31:Math.ceil(n.length/3);M.Object(t)&&(t.first&&(r=parseInt(t.first,10)||r),t.limit&&(i=parseInt(t.limit,10)||i)),R(this,{first:r,limit:i,pageEnd:this.rules.length<=r}),this.bus.$on("page-end",(function(){return e.vm.$emit("page-end",e.api)})),this.pageLoad()}},pageLoad:function(){var e=this;this.vm.$on(Pe,(function t(){e.pageEnd?(e.vm.$off(Pe,t),e.bus.$emit("page-end")):(e.first+=e.limit,e.pageEnd=e.rules.length<=e.first,e.loadRule(),e.refresh())}))}})}(Ve),function(e){R(e.prototype,{clearNextTick:function(){this.nextTick&&clearTimeout(this.nextTick),this.nextTick=null},bindNextTick:function(e){var t=this;this.clearNextTick(),this.nextTick=setTimeout((function(){e(),t.nextTick=null}),10)},render:function(){return++this.loadedId,this.vm.unique>0?this.$render.render():(this.vm.unique=1,[])}})}(Ve),function(e){R(e.prototype,{nextRefresh:function(e){var t=this,n=this.loadedId;this.vm.$nextTick((function(){n===t.loadedId&&(e?e():t.refresh())}))},parseRule:function(e){var t=this,n=ce(e);return Object.defineProperties(n,{__origin__:ae(e,!0)}),function(e){var t={props:{},on:{},options:[],children:[],effect:{},hidden:!1,display:!0,value:void 0};Object.keys(t).forEach((function(n){S(e,n)||D(e,n,t[n])}))}(n),this.appendValue(n),n.options=Array.isArray(n.options)?n.options:[],[n,n.prefix,n.suffix].forEach((function(e){e&&t.loadFn(e,n)})),this.loadCtrl(n),n.update&&(n.update=ie(n.update)),n},loadFn:function(e,t){var n=this;["on","props","nativeOn","deep"].forEach((function(r){e[r]&&n.parseInjectEvent(t,e[r])}))},loadCtrl:function(e){e.control&&e.control.forEach((function(e){e.handle&&(e.handle=ie(e.handle))}))},syncProp:function(e){var t=this,n=e.rule;M.trueArray(n.sync)&&W([{on:n.sync.reduce((function(e,r){return e["update:".concat(r)]=function(e){n.props[r]=e,t.vm.$emit("sync",r,e,n,t.fapi)},e}),{})}],e.computed)},loadRule:function(){var e=this;this.cycleLoad=!1,this.loading=!0,this.pageEnd&&this.bus.$emit("load-start"),this.deferSyncValue((function(){if(e._loadRule(e.rules),e.loading=!1,e.cycleLoad&&e.pageEnd)return e.loadRule();e.pageEnd&&e.bus.$emit("load-end"),e.vm._renderRule(),e.$render.initOrgChildren(),e.syncForm()}))},loadChildren:function(e,t){if(this.cycleLoad=!1,this.loading=!0,this.bus.$emit("load-start"),this._loadRule(e,t),this.loading=!1,this.cycleLoad)return this.loadRule();this.bus.$emit("load-end"),this.syncForm(),this.$render.clearCache(t)},_loadRule:function(e,t){var n=this,r=function(e,t){M.trueArray(e)&&n._loadRule(e,t)};e.map((function(i,o){if((!t||M.Object(i))&&(n.pageEnd||t||!(o>=n.first))){if(i.__fc__&&i.__fc__.root===e&&n.ctxs[i.__fc__.id])return r(i.__fc__.rule.children,i.__fc__),i.__fc__;var a,s=ce(i),l=function(){return!(!s.field||!n.fieldCtx[s.field]||n.fieldCtx[s.field][0]===i.__fc__)};n.ruleEffect(s,"init",{repeat:l()}),l()&&n.vm.$emit("repeat-field",i,n.api);var u=!1,c=!!i.__fc__,d=s.value;if(c){d=(a=i.__fc__).defaultValue;var h=!a.check(n);if(a.deleted){if(h){if(Be(a))return;a.update(n)}}else if(h){if(Be(a))return;e[o]=i=i._clone?i._clone():se(i),a=null,u=!0}}if(a)a.originType!==a.rule.type&&(a.updateType(),n.bindParser(a)),n.appendValue(a.rule);else{var f=n.parseRule(i);a=new Re(n,f,d),n.bindParser(a)}if([!1,!0].forEach((function(e){return n.parseEmit(a,e)})),n.syncProp(a),a.parent=t||null,a.root=e,n.setCtx(a),!u&&!c&&n.effect(a,"load"),n.effect(a,"created"),!1===a.parser.loadChildren||r(a.rule.children,a),!t){var p=function t(r){var i=e[r-1];if(!i||!i.__fc__)return r>0?t(r-1):-1;var o=n.sort.indexOf(i.__fc__.id);return o>-1?o:t(r-1)}(o);p>-1||!o?n.sort.splice(p+1,0,a.id):n.sort.push(a.id)}var m=a.rule;return a.updated||(a.updated=!0,M.Function(m.update)&&n.bus.$once("load-end",(function(){n.refreshUpdate(a,m.value,"init")})),n.effect(a,"loaded")),a.input&&Object.defineProperty(m,"value",n.valueHandle(a)),n.refreshControl(a)&&(n.cycleLoad=!0),a}}))},refreshControl:function(e){return e.input&&e.rule.control&&this.useCtrl(e)},useCtrl:function(e){var t=this,n=function(e){var t=e.rule.control||[];return M.Object(t)?[t]:t}(e),r=[],i=this.api;if(!n.length)return!1;for(var o=function(t){var o=n[t],a=o.handle||function(e){return(me[o.condition||"=="]||me["=="])(e,o.value)};if(!M.trueArray(o.rule))return"continue";var s=d(d({},o),{},{valid:fe((function(){return a(e.rule.value,i)})),ctrl:Ne(e,o.rule),isHidden:M.String(o.rule[0])});if(s.valid&&s.ctrl||!s.valid&&!s.ctrl&&!s.isHidden)return"continue";r.push(s)},a=0;a<n.length;a++)o(a);if(!r.length)return!1;var s=[],l=!1;return this.deferSyncValue((function(){r.reverse().forEach((function(n){var r=n.isHidden,o=n.valid,a=n.rule,u=n.prepend,c=n.append,d=n.child,h=n.ctrl,f=n.method;if(r)return o?e.ctrlRule.push({__ctrl:!0,children:a,valid:o}):e.ctrlRule.splice(e.ctrlRule.indexOf(h),1),void s[o?"push":"unshift"]((function(){"disabled"===f?t.api.disabled(!o,a):"display"===f?t.api.display(o,a):"required"===f?(a.forEach((function(e){t.api.setEffect(e,"required",o)})),o||t.api.clearValidateState(a)):t.api.hidden(!o,a)}));if(o){l=!0;var p={type:"fcFragment",native:!0,__ctrl:!0,children:a};e.ctrlRule.push(p),t.bus.$once("load-start",(function(){u?i.prepend(p,u,d):c||d?i.append(p,c||e.id,d):e.root.splice(e.root.indexOf(e.origin)+1,0,p)}))}else{e.ctrlRule.splice(e.ctrlRule.indexOf(h),1);var m=he(h);m&&m.rm()}}))})),s.length&&this.vm.$nextTick((function(){s.forEach((function(e){return e()}))})),this.vm.$emit("control",e.origin,this.api),this.effect(e,"control"),l},reloadRule:function(e){return this._reloadRule(e)},_reloadRule:function(e){var t=this;e||(e=this.rules);var n=d({},this.ctxs);this.clearNextTick(),this.$render.clearOrgChildren(),this.initData(e),this.fc.rules=e,this.deferSyncValue((function(){t.bus.$once("load-end",(function(){Object.keys(n).filter((function(e){return void 0===t.ctxs[e]})).forEach((function(e){return t.rmCtx(n[e])})),t.$render.clearCacheAll()})),t.reloading=!0,t.loadRule(),t.reloading=!1,t.refresh(),t.vm.$emit("reloading",t.api)})),this.bus.$off("next-tick",this.nextReload),this.bus.$once("next-tick",this.nextReload),this.vm.$emit("update",this.api)},refresh:function(){this.vm._refresh()}})}(Ve),function(e){R(e.prototype,{getValue:function(e){return M.Undef(e.cacheValue)&&(e.cacheValue=e.parser.toValue(this.getFormData(e),e)),e.cacheValue},setValue:function(e,t,n,r){e.deleted||(e.cacheValue=t,this.changeStatus=!0,this.nextRefresh(),this.$render.clearCache(e),this.setFormData(e,n),this.syncValue(),this.valueChange(e,t),this.vm.$emit("change",e.field,t,e.origin,this.api,r||!1),this.effect(e,"value"),this.emitEvent("change",e.field,t,{rule:e.origin,api:this.api,setFlag:r||!1}))},onInput:function(e,t){var n;e.input&&(this.isQuote(e,n=e.parser.toValue(t,e))||this.isChange(e,n))&&this.setValue(e,n,t)},setFormData:function(e,t){D(this.formData,e.id,null===t?void 0:t)},getFormData:function(e){return this.formData[e.id]},validate:function(){var e=this;return Fe(this.vm.validate),this.fields().forEach((function(t){e.fieldCtx[t].forEach((function(t){e.vm.validate[t.id]=_(t.rule.validate)}))})),this.vm.validate},syncForm:function(){var e=this;Fe(this.form),Object.defineProperties(this.form,this.fields().reduce((function(t,n){var r=e.getFieldCtx(n),i=e.valueHandle(r);return i.configurable=!0,t[n]=i,t}),!1!==this.options.appendValue?Object.keys(this.appendData).reduce((function(t,n){return t[n]={enumerable:!0,configurable:!0,get:function(){return e.appendData[n]},set:function(t){e.appendData[n]=t}},t}),{}):{})),this.syncValue()},valueHandle:function(e){var t=this;return{enumerable:!0,get:function(){return t.getValue(e)},set:function(n){t.isChange(e,n)&&t.setValue(e,n,e.parser.toFormValue(n,e),!0)}}},appendValue:function(e){e.field&&S(this.appendData,e.field)&&(e.value=this.appendData[e.field],delete this.appendData[e.field])},addSubForm:function(e,t){this.subForm[e.id]=t},deferSyncValue:function(e,t){this.deferSyncFn||(this.deferSyncFn=e),this.deferSyncFn.sync||(this.deferSyncFn.sync=t),fe(e),this.deferSyncFn===e&&(this.deferSyncFn=null,e.sync&&this.syncValue())},syncValue:function(){if(this.deferSyncFn)return this.deferSyncFn.sync=!0;this.vm._updateValue(d(d({},!1!==this.options.appendValue?this.appendData:{}),this.form))},isChange:function(e,t){return JSON.stringify(e.rule.value,Ye)!==JSON.stringify(null===t?void 0:t,Ye)},isQuote:function(e,t){return(M.Object(t)||Array.isArray(t))&&t===e.rule.value},refreshUpdate:function(e,t,n,r){var i=this;if(M.Function(e.rule.update)){var o=fe((function(){return e.rule.update(t,e.origin,i.api,{origin:n||"change",linkField:r})}));if(void 0===o)return;e.rule.hidden=!0===o}},valueChange:function(e,t){this.refreshRule(e,t),this.bus.$emit("change-"+e.field,t)},refreshRule:function(e,t,n,r){this.refreshControl(e)&&(this.$render.clearCacheAll(),this.loadRule(),this.vm.$emit("update",this.api),this.refresh()),this.refreshUpdate(e,t,n,r)},appendLink:function(e){var t=this,n=e.rule.link;M.trueArray(n)&&n.forEach((function(n){var r=function(){return t.refreshRule(e,e.rule.value,"link",n)};t.bus.$on("change-"+n,r),e.linkOn.push((function(){return t.bus.$off("change-"+n,r)}))}))},fields:function(){return Object.keys(this.fieldCtx)}})}(Ve),function(e){R(e.prototype,{getCtx:function(e){return this.getFieldCtx(e)||this.getNameCtx(e)[0]||this.ctxs[e]},getCtxs:function(e){return this.fieldCtx[e]||this.nameCtx[e]||(this.ctxs[e]?[this.ctxs[e]]:[])},setIdCtx:function(e,t,n){var r="".concat(n,"Ctx");this[r][t]?this[r][t].push(e):this[r][t]=[e]},rmIdCtx:function(e,t,n){var r="".concat(n,"Ctx"),i=this[r][t];if(!i)return!1;var o=i.splice(i.indexOf(e)>>>0,1).length>0;return i.length||delete this[r][t],o},getFieldCtx:function(e){return(this.fieldCtx[e]||[])[0]},getNameCtx:function(e){return this.nameCtx[e]||[]},setCtx:function(e){var t=e.id,n=e.field,r=e.name,i=e.rule;this.ctxs[t]=e,r&&this.setIdCtx(e,r,"name"),e.input&&(this.setIdCtx(e,n,"field"),this.setFormData(e,e.parser.toFormValue(i.value,e)),this.isMounted&&!this.reloading&&this.vm.$emit("change",e.field,i.value,e.origin,this.api))},getParser:function(e){var t=this.fc.parsers;return t[e.originType]||t[Te(e.type)]||t[e.trueType]||ze},bindParser:function(e){e.setParser(this.getParser(e))},getType:function(e){var t=this.fc.CreateNode.aliasMap,n=t[e]||t[Te(e)]||e;return Te(n)},noWatch:function(e){this.noWatchFn||(this.noWatchFn=e),fe(e),this.noWatchFn===e&&(this.noWatchFn=null)},watchCtx:function(e){var t=this,n=this.vm;Object.keys(e.rule).filter((function(e){return"_"!==e[0]&&"$"!==e[0]&&-1===He.indexOf(e)})).forEach((function(r){var i="children"===r;e.watch.push(n.$watch((function(){return e.rule[r]}),(function(n,o){if(!(t.loading||t.noWatchFn||t.reloading)){if(i&&!1===e.parser.loadChildren)return t.$render.clearCache(e),void t.nextRefresh();if(t.watching=!0,"link"!==r){if(["props","on","nativeOn","deep"].indexOf(r)>-1)t.parseInjectEvent(e.rule,n||{}),"props"===r&&e.input&&t.setFormData(e,e.parser.toFormValue(e.rule.value,e));else if(["emit","nativeEmit"].indexOf(r)>-1)t.parseEmit(e,"emit"===r);else if(["prefix","suffix"].indexOf(r)>-1)n&&t.loadFn(n,e.rule);else if("type"===r)e.updateType(),t.bindParser(e);else if("children"===r){var a=M.trueArray(n);t.deferSyncValue((function(){n!==o&&(t.rmSub(o,e),t.$render.initOrgChildren()),a&&t.loadChildren(n,e),t.vm.$emit("update",t.api)}))}t.$render.clearCache(e),t.refresh(),t.watching=!1}else e.link()}}),{deep:!i,sync:i}))})),this.watchEffect(e)},rmSub:function(e,t){var n=this;M.trueArray(e)&&e.forEach((function(e){e&&e.__fc__&&e.__fc__.parent===t&&n.rmCtx(e.__fc__)}))},rmCtx:function(e){var t=this;if(!e.deleted){var n=e.id,r=e.field,i=e.input,o=e.name;e.input&&Object.defineProperty(e.rule,"value",{value:e.rule.value,writable:!0}),E(this.ctxs,n),E(this.$render.tempList,n),E(this.$render.orgChildren,n),E(this.vm.ctxInject,n),E(this.formData,n),E(this.subForm,n),E(e,"cacheValue"),i&&this.rmIdCtx(e,r,"field"),o&&this.rmIdCtx(e,o,"name"),i&&!S(this.fieldCtx,r)&&E(this.form,r),this.deferSyncValue((function(){t.reloading||(!1!==e.parser.loadChildren&&M.trueArray(e.rule.children)&&e.rule.children.forEach((function(e){return e.__fc__&&t.rmCtx(e.__fc__)})),e.root===t.rules&&t.vm._renderRule())}),i);var a=this.sort.indexOf(n);return a>-1&&this.sort.splice(a,1),this.$render.clearCache(e),e.delete(),this.effect(e,"deleted"),i&&!this.fieldCtx[r]&&this.vm.$emit("removeField",r,e.rule,this.api),e.rule.__ctrl||this.vm.$emit("removeRule",e.rule,this.api),e}}})}(Ve),function(e){R(e.prototype,{mounted:function(){var e=this,t=function(){e.isMounted=!0,e.lifecycle("mounted")};this.pageEnd?t():this.bus.$once("page-end",t)},lifecycle:function(e){this.vm.$emit(e,this.api),this.emitEvent(e,this.api)},emitEvent:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=this.options[e]||this.options[Te("on-"+e)];if(o){var a=ie(o);M.Function(a)&&fe((function(){return a.apply(void 0,r)}))}(t=this.bus).$emit.apply(t,[e].concat(r))}})}(Ve),function(e){R(e.prototype,{useProvider:function(){var e=this,t=this.fc.providers;Object.keys(t).forEach((function(n){var r=t[n];M.Function(r)&&(r=r(e.fc)),r._c=function(e){var t=e.components;if(Array.isArray(t)){var n=function(e){return e.filter((function(e,t,n){return n.indexOf(e,0)===t}))}(t.filter((function(e){return"*"!==e})));return!!n.length&&n}return!!M.String(t)&&[t]}(r),e.onEffect(r),e.providers[n]=r}))},onEffect:function(e){var t=this,n=[];(e._c||["*"]).forEach((function(r){var i="*"===r?"*":t.getType(r);n.indexOf(i)>-1||(n.push(i),t.bus.$on("p:".concat(e.name,":").concat(i,":").concat(e.input?1:0),(function(t,n){e[t]&&e[t].apply(e,g(n))})))})),e._used=n},watchEffect:function(e){var t=this,n=this.vm,r={required:function(){var t,n;return(S(e.rule,"$required")?e.rule.$required:null===(t=e.rule)||void 0===t||null===(n=t.effect)||void 0===n?void 0:n.required)||!1}};Object.keys(e.rule.effect||{}).forEach((function(t){r[t]=function(){return e.rule.effect[t]}})),Object.keys(e.rule).forEach((function(t){"$"===t[0]&&(r[t.substr(1)]=function(){return e.rule[t]})})),Object.keys(r||{}).forEach((function(i){e.watch.push(n.$watch(r[i],(function(n){t.effect(e,"watch",u({},i,n))}),{deep:!0}))}))},ruleEffect:function(e,t,n){this.emitEffect({rule:e,input:!!e.field,type:this.getType(e.type)},t,n)},effect:function(e,t,n){this.emitEffect({rule:e.rule,input:e.input,type:e.trueType,ctx:e,custom:n},t)},getEffect:function(e,t){return S(e,"$"+t)?e["$"+t]:S(e,"effect")&&S(e.effect,t)?e.effect[t]:void 0},emitEffect:function(e,t,n){var r=this,i=e.ctx,o=e.rule,a=e.input,s=e.type,l=e.custom;if(s&&"fcFragment"!==s){var u=l||Object.keys(o).reduce((function(e,t){return"$"===t[0]&&(e[t.substr(1)]=o[t]),e}),d({},o.effect||{}));Object.keys(u).forEach((function(e){var l=r.providers[e];if(l&&(!l.input||a)){var c;if(l._c){if(!(l._used.indexOf(s)>-1))return;c=s}else c="*";var h=d({value:u[e],getValue:function(){return r.getEffect(o,e)}},n||{});i&&(h.getProp=function(){return i.effectData(e)},h.clearProp=function(){return i.clearEffectData(e)},h.mergeProp=function(e){return ue(h.getProp(),[e])},h.id=i.id),r.bus.$emit("p:".concat(e,":").concat(c,":").concat(l.input?1:0),t,[h,o,r.api])}}))}}})}(Ve);var We={name:"fcFragment",functional:!0,props:["vnode"],render:function(e,t){return t.props.vnode?t.props.vnode:t.children}};function Ue(){var e={};function n(e){e&&this.setVm(e)}return R(n.prototype,{setVm:function(e){this.vm=e,this.$h=e.$createElement},make:function(e,n,r){return t.config.isReservedTag(e)&&n.nativeOn&&delete n.nativeOn,this.makeComponent(e,n,r)},makeComponent:function(e,t,n){var r,i=this.$h(e,(r=t,M.String(r)?{domProps:{innerHTML:r}}:r),n||[]);return i.context=this.vm,i},aliasMap:e}),R(n,{aliasMap:e,alias:function(t,n){e[t]=n},use:function(e){Object.keys(e).forEach((function(t){var r=Ae(t),i=Le(t).toLocaleLowerCase(),o=e[t];[t,r,i].forEach((function(e){n.alias(t,o),n.prototype[e]=function(e,t){return this.make(o,e,t)}}))}))}}),n}function $e(e){var t=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(n,Ge);var t=m(n);function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t.apply(this,arguments)}return n}();return Object.assign(t.prototype,e),t}function Ge(e){R(this,{$handle:e,vm:e.vm,options:{},ref:"fcForm",mergeOptionsRule:{normal:["form","row","info","submitBtn","resetBtn"]}}),this.updateKey(),this.init()}R(Ge.prototype,{__init:function(){var e=this;this.$render=this.$handle.$render,this.$r=function(){var t;return(t=e.$render).renderRule.apply(t,arguments)}},updateKey:function(){this.key=Ee()},init:function(){},update:function(){},beforeRender:function(){},form:function(){return this.vm.$refs[this.ref]},getSlot:function(e){return function t(n){if(n){var r=n.$scopedSlots[e];return r||t(n.$pfc)}}(this.vm)},mergeOptions:function(e,t){var n=this;return W(e.map((function(e){return n.tidyOptions(e)})),t,this.mergeOptionsRule)},updateOptions:function(e){this.options=this.mergeOptions([e],this.getDefaultOptions()),this.update()},tidyOptions:function(e){return e},tidyRule:function(e){},mergeProp:function(e){},getDefaultOptions:function(){return{}},render:function(e){}});var qe={name:"componentValidate",load:function(e,t,n){var r=e.getValue();r?e.getProp().validate=[{validator:function(){var i=he(t);if(i){for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return n.exec.apply(n,[i.id,!0===r?"formCreateValidate":r].concat(a,[{attr:e,rule:t,api:n}]))}}}]:(e.clearProp(),n.clearValidateState([t.field]))},watch:function(){qe.load.apply(qe,arguments)}},Xe={name:"required",load:function(e,t,n){var r=function(e){return M.Boolean(e)?{required:e}:M.String(e)?{message:e}:M.Undef(e)?{required:!1}:M.Function(e)?{validator:e}:M.Object(e)?e:{}}(e.getValue());if(!1===r.required)e.clearProp(),n.clearValidateState([t.field]);else{var i=d({required:!0,validator:function(e,t,n){M.empty(t)?n(i.message):n()}},r);if(!i.message){var o=t.title||"";i.message=(("object"===l(o)?o.title:o)||"")+"不能为空"}e.getProp().validate=[i]}n.sync(t)},watch:function(){Xe.load.apply(Xe,arguments)}},Ke={fetch:function(e){function t(t,n,r){var i=t.value,o=function(e){void 0===e?(t.clearProp(),r.sync(n)):Ie(t.getProp(),i.to||"options",e)};if(M.Function(i)&&(i=i(n,r)),(i=function(e){return M.String(e)&&(e={action:e,to:"options"}),e}(i))&&i.action){(i=j(i)).to||(i.to="options");var a=i.onError,s=function(){if(!t.getValue())return t.clearProp(),r.sync(n),!0},l=d(d({headers:{}},i),{},{onSuccess:function(e,t){if(!s()){var a=function(e){return t?e:S(e,"data")?e.data:e};M.Function(i.parse)?a=i.parse:i.parse&&M.String(i.parse)&&(a=function(e){return i.parse.split(".").forEach((function(t){e&&(e=e[t])})),e}),o(a(e,n,r)),r.sync(n)}},onError:function(e){o(void 0),s()||(a||function(e){return K(e.message||"fetch fail "+i.action)})(e,n,r)}});e.$handle.beforeFetch(l,{rule:n,api:r}).then((function(){M.Function(i.action)?i.action(n,r).then((function(e){l.onSuccess(e,!0)})).catch((function(e){l.onError(e)})):fe((function(){return e.create.fetch(l,{inject:t,rule:n,api:r})}))}))}else o(void 0)}return{name:"fetch",loaded:function(){t.apply(void 0,arguments)},watch:function(){t.apply(void 0,arguments)}}},loadData:function(e){var t={name:"loadData",_fn:[],created:function(t,n,r){this.deleted(t);var i=_(t.getValue()),o=[];i.forEach((function(i){if(i){var a=function o(){!1!==i.watch&&(e.bus.$off("p.loadData."+i.attr,o),e.bus.$once("p.loadData."+i.attr,o));var a=void 0;i.attr&&(a=e.loadData[i.attr]||i.default,!1!==i.copy&&(a=j(a))),Ie(t.getProp(),i.to||"options",a),r.sync(n)};o.push((function(){return e.bus.$off("p.loadData."+i.attr,a)})),a()}})),this._fn[t.id]=o},deleted:function(e){this._fn[e.id]&&(this._fn[e.id].forEach((function(e){e()})),delete this._fn[e.id]),e.clearProp()}};return t.watch=t.created,t},required:Xe,componentValidate:qe},Ze={name:"html",loadChildren:!1,render:function(e,t){return t.prop.domProps||(t.prop.domProps={}),t.prop.domProps.innerHTML=e,t.vNode.make(t.prop.props.tag||"div",t.prop)},renderChildren:function(e){return Array.isArray(e.rule.children)?e.rule.children.filter((function(e){return M.String(e)})).join(""):""}},Je="undefined"!=typeof window&&window.Vue?window.Vue:t;function Qe(){return function(e,t){var n;return 2===arguments.length?t=(n=arguments[1])[e]:n=arguments[2],{id:t,prop:n}}.apply(void 0,["name"].concat(Array.prototype.slice.call(arguments)))}function et(e){return e&&e.el?M.Element(e.el)?e.el:document.querySelector(e.el):window.document.body}function tt(e,t){var n=new Je({data:function(){return{rule:e,option:t||{}}},render:function(e){return e("FormCreate",{ref:"fc",props:this.$data})}});return n.$mount(),n}var nt=1,rt={};function it(e){var t,n,r,i,o=u({},We.name,We),a={},s={},l=d({},Ke),c=xe(),h={global:{}},f={},p=Ue();function m(e){var t=rt[e];return Array.isArray(t)?t.map((function(e){return e.api()})):t?t.api():void 0}function v(){var e=Qe.apply(void 0,arguments);e.id&&e.prop&&(s[e.id]=e.prop)}function y(){var e=Qe.apply(void 0,arguments);e.id&&e.prop&&(l[e.id]=d(d({},e.prop),{},{name:e.id}))}function b(e){p.use(e)}function _(){var e=Qe.apply(void 0,arguments);if(!e.id||!e.prop)return ze;var t=Te(e.id),n=e.prop,r=!0===n.merge?a[t]:void 0;a[t]=n,Object.setPrototypeOf(n,r||ze),c[t]=ge(t),n.maker&&R(c,n.maker)}function w(e,t){var n;if(M.String(e)){if(n=Te(e),["form-create","formcreate"].indexOf(n)>-1)return O();if(void 0===t)return o[n]}else n=Te(e.name),t=e;if(n&&t){var r=Te(n);o[n]=t,o[r]=t,delete p.aliasMap[n],delete p.aliasMap[r],delete a[n],delete a[r],t.formCreateParser&&_(n,t.formCreateParser)}}function x(e){Object.keys(rt).forEach((function(t){(Array.isArray(rt[t])?rt[t]:[rt[t]]).forEach((function(t){t.bus.$emit("p.loadData."+e)}))}))}function k(e,t){f[e]=t,x(e)}function C(e,t){return S(f,e)?f[e]:t}function T(e){delete f[e],x(e)}function O(){return Je.extend(F(I))}function L(){return Je.extend(We)}function A(e,t){return M.Function(e.install)?e.install(D,t):M.Function(e)&&e(D,t),this}function D(e,t,n){var r=tt(e,t||{}),i=r.$refs.fc.formCreate;return i.$parent=n,et(i.options).appendChild(r.$el),i.api()}function E(t){var n=d({},e);return t?n.inherit={components:o,parsers:a,directives:s,providers:l,maker:c,loadData:f}:delete n.inherit,it(n)}function I(t){var n=t.$options.propsData.rule;R(this,{id:nt++,vm:t,create:D,manager:$e(e.manager),parsers:a,providers:l,rules:Array.isArray(n)?n:[],name:t.$options.propsData.name||Ee(),inFor:t.$options.propsData.inFor,prop:{components:o,directives:s},setData:k,getData:C,loadData:f,CreateNode:p,bus:new Je,unwatch:null,options:{},extendApi:e.extendApi||function(e){return e}}),this.init(),this.initOptions(),this.name&&(this.inFor?(rt[this.name]||(rt[this.name]=[]),rt[this.name].push(this)):rt[this.name]=this)}function P(t){R(t,{version:e.version,ui:e.ui,setData:k,getData:C,removeData:T,maker:c,component:w,directive:v,register:y,$vnode:L,parser:_,use:A,factory:E,componentAlias:b,copyRule:se,copyRules:le,fetch:Me,$form:O,parseFn:ie,parseJson:oe,toJson:ne,getApi:m,init:function(e){var t=tt(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=t.$refs.fc.formCreate;return{mount:function(e){return e&&M.Element(e)&&(n.options.el=e),et(n.options).appendChild(t.$el),n.api()},remove:function(){t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el)},destroy:function(){this.remove(),t.$destroy()},$f:n.api()}}})}if(t=e.attrs||{},n=t.key||[],r=t.array||[],i=t.normal||[],$.push.apply($,g(n)),G.push.apply(G,g(r)),q.push.apply(q,g(i)),ye([].concat(g(n),g(r),g(i))),R(I.prototype,{init:function(){var e=this,t=this.vm,n=new Ve(this);this.$handle=n,t.$f=n.api,t.$emit("input",n.api),t.$on("hook:created",(function(){e.isSub()&&(e.unwatch=t.$watch((function(){return t.$pfc.option}),(function(){e.initOptions(),t.$f.refresh()}),{deep:!0}),e.initOptions()),e.created()})),t.$on("hook:mounted",(function(){e.mounted()})),t.$on("hook:beforeDestroy",(function(){if(t.destroyed=!0,e.unwatch&&e.unwatch(),n.reloadRule([]),e.name)if(e.inFor){var r=rt[e.name].indexOf(e);rt[e.name].splice(r,1),rt[e.name].length||delete rt[e.name]}else delete rt[e.name]})),t.$on("hook:updated",(function(){n.bindNextTick((function(){return e.bus.$emit("next-tick",n.api)}))}))},isSub:function(){return this.vm.$pfc&&this.vm.extendOption},initOptions:function(){this.options={};var e=d({formData:{},submitBtn:{},resetBtn:{}},j(h));this.isSub()&&this.mergeOptions(this.options,this.vm.$pfc.$f.config||{},!0),e=this.mergeOptions(e,this.vm.$options.propsData.option),this.updateOptions(e)},mergeOptions:function(e,t,n){return t=j(t),n&&["page","onSubmit","mounted","reload","formData","el"].forEach((function(e){delete t[e]})),t.global&&(e.global=function(e,t){return e?(Object.keys(t||{}).forEach((function(n){t[n]&&(e[n]=ue(e[n]||{},t[n]))})),e):t}(e.global,t.global),delete t.global),this.$handle.$manager.mergeOptions([t],e),e},updateOptions:function(e){this.mergeOptions(this.options,e),this.$handle.$manager.updateOptions(this.options)},created:function(){this.$handle.init(),this.vm.$emit("created",this.api())},api:function(){return this.$handle.api},render:function(){return this.$handle.render()},mounted:function(){this.$handle.mounted()}}),P(D),R(D,{create:D,install:function(e,t){if(h=d(d({},h),t||{}),!0!==e._installedFormCreate){e._installedFormCreate=!0,Je=e;var n=function(e){return D(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},this)};P(n),e.prototype.$formCreate=n,e.component("FormCreate",O()),e.component("FcFragment",L())}}}),p.use({fragment:"fcFragment"}),_(Ze),e.install&&D.use(e),e.inherit){var N=e.inherit;N.components&&R(o,N.components),N.parsers&&R(a,N.parsers),N.directives&&R(s,N.directives),N.providers&&R(l,N.providers),N.maker&&R(c,N.maker),N.loadData&&R(f,N.loadData)}return D}var ot={date:"yyyy-MM-dd",month:"yyyy-MM",datetime:"yyyy-MM-dd HH:mm:ss",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",monthrange:"yyyy-MM",datetimerange:"yyyy-MM-dd HH:mm:ss",year:"yyyy"},at={name:"datePicker",maker:["year","month","date","dates","week","datetime","datetimeRange","dateRange","monthRange"].reduce((function(e,t){return e[t]=ge("datePicker",{type:t.toLowerCase()}),e}),{}),mergeProp:function(e){var t=e.prop.props;t.valueFormat||(t.valueFormat=ot[t.type]||ot.date)}},st={name:"hidden",maker:u({},"hidden",(function(e,t){return ge("hidden")("",e,t)})),render:function(){return[]}},lt=[at,st,{name:"input",maker:function(){var e=["password","url","email","text","textarea"].reduce((function(e,t){return e[t]=ge("input",{type:t}),e}),{});return e.idate=ge("input",{type:"date"}),e}(),mergeProp:function(e){var t=e.prop.props;t&&t.autosize&&t.autosize.minRows&&(t.rows=t.autosize.minRows||2)}},{name:"slider",maker:{sliderRange:ge("slider",{range:!0})},toFormValue:function(e,t){var n=Array.isArray(e),r=t.prop.props,i=r.min||0;return!0===r.range?n?e:[i,parseFloat(e)||i]:n?parseFloat(e[0])||i:parseFloat(e)}},{name:"timePicker",maker:{time:ge("timePicker",(function(e){return e.props.isRange=!1})),timeRange:ge("timePicker",(function(e){return e.props.isRange=!0}))},mergeProp:function(e){var t=e.prop.props;t.valueFormat||(t.valueFormat="HH:mm:ss")}},{name:"FcRow",render:function(e,t){return t.vNode.col({props:{span:24}},[t.vNode.row(t.prop,e)])}},{name:"select",toFormValue:function(e,t){return t.prop.props.multiple&&!Array.isArray(e)?_(e):e}}],ut={button:"elButton",icon:"i",slider:"elSlider",rate:"elRate",upload:"fcUpload",cascader:"elCascader",popover:"elPopover",tooltip:"elTooltip",colorPicker:"elColorPicker",timePicker:"elTimePicker",timeSelect:"elTimeSelect",datePicker:"elDatePicker",switch:"elSwitch",select:"fcSelect",checkbox:"fcCheckbox",radio:"fcRadio",inputNumber:"elInputNumber",number:"elInputNumber",input:"elInput",formItem:"elFormItem",form:"elForm",frame:"fcFrame",col:"elCol",row:"elRow",tree:"fcTree",autoComplete:"elAutocomplete",auto:"elAutocomplete",group:"fcGroup",object:"fcSubForm",subForm:"fcSubForm"},ct=/[A-Z]/;function dt(e,t){var n;S(e,t)&&M.String(e[t])&&(e[t]=(u(n={},t,e[t]),u(n,"show",!0),n))}function ht(e){return!1===e}var ft={validate:function(){var e=this.form();return e?e.validate():new Promise((function(e){return e()}))},validateField:function(e){var t=this.form();return new Promise(t?function(n,r){t.validateField(e,(function(e){e?r(e):n(null)}))}:function(e){return e()})},clearValidateState:function(e){var t=this.vm.$refs[e.wrapRef];t&&(t.validateMessage="",t.validateState="")},tidyOptions:function(e){return["submitBtn","resetBtn","row","info","wrap","col","title"].forEach((function(t){!function(e,t){S(e,t)&&!M.Object(e[t])&&(e[t]={show:!!e[t]})}(e,t)})),e},tidyRule:function(e){var t=e.prop;return dt(t,"title"),dt(t,"info"),t},mergeProp:function(e){var t=e.prop.props;e.prop=W([{attrs:Object.keys(t).reduce((function(e,n){var r,i;return r=n,i=t[n],ct.test(r)||!M.String(i)&&!M.Number(i)||(e[n]=t[n]),e}),{}),info:this.options.info||{},wrap:this.options.wrap||{},col:this.options.col||{},title:this.options.title||{}},e.prop],{info:{trigger:"hover",placement:"top-start",icon:"el-icon-warning"},title:{},col:{span:24},wrap:{}},{normal:["title","info","col","wrap"]})},getDefaultOptions:function(){return{form:{inline:!1,labelPosition:"right",labelWidth:"125px",disabled:!1,size:void 0},row:{show:!0,gutter:0},submitBtn:{type:"primary",loading:!1,disabled:!1,innerText:"提交",show:!0,col:void 0,click:void 0},resetBtn:{type:"default",loading:!1,disabled:!1,icon:"el-icon-refresh",innerText:"重置",show:!1,col:void 0,click:void 0}}},update:function(){var e=this.options.form;this.rule={props:d({},e),nativeOn:{submit:function(e){e.preventDefault()}},class:[e.className,e.class,"form-create"],style:e.style,type:"form"}},beforeRender:function(){var e=this.key,t=this.ref,n=this.$handle;R(this.rule,{key:e,ref:t}),R(this.rule.props,{model:n.formData})},render:function(e){return e.length&&e.push(this.makeFormBtn()),this.$r(this.rule,ht(this.options.row.show)?e:[this.makeRow(e)])},makeWrap:function(e,t){var n=e.prop,r="".concat(this.key).concat(e.key),i=n.col,o=this.isTitle(n),a=i.labelWidth||o?i.labelWidth:0,s=this.rule.props,l=s.inline,u=s.col,c=ht(n.wrap.show)?t:this.$r(W([n.wrap,{props:d(d({labelWidth:void 0===a?a:Le(a),label:o?n.title.title:void 0},n.wrap||{}),{},{prop:e.id,rules:e.injectValidate()}),class:n.className,key:"".concat(r,"fi"),ref:e.wrapRef,type:"formItem"}]),[t,o?this.makeInfo(n,r,e):null]);return!0===l||ht(u)||ht(i.show)?c:this.makeCol(n,r,[c])},isTitle:function(e){if(!1===this.options.form.title)return!1;var t=e.title;return!(!t.title&&!t.native||ht(t.show))},makeInfo:function(e,t,n){var r=e.title,i=e.info,o="tooltip"===i.type,a=this.options.form,s=this.getSlot("title"),l=[s?s({title:r.title||"",rule:n.rule,options:this.options}):(r.title||"")+(a.labelSuffix||a["label-suffix"]||"")];if(!ht(i.show)&&(i.info||i.native)&&!ht(i.icon)){var u={type:i.type||"popover",props:d({},i),key:"".concat(t,"pop"),slot:"label"};i.info&&!S(u.props,"content")&&(u.props.content=i.info),l["left"!==i.align?"unshift":"push"](this.$r(W([i,u]),[this.$r({type:"i",slot:o?"default":"reference",class:!0===i.icon?"el-icon-warning":i.icon,key:"".concat(t,"i")})]))}return this.$r(W([r,{props:r,slot:r.slot||"label",key:"".concat(t,"tit"),type:r.type||"span"}]),l)},makeCol:function(e,t,n){var r=e.col;return this.$r({class:r.class,type:"col",props:r||{span:24},key:"".concat(t,"col")},n)},makeRow:function(e){var t=this.options.row||{};return this.$r({type:"row",props:t,class:t.class,key:"".concat(this.key,"row")},e)},makeFormBtn:function(){var e=[];if(ht(this.options.submitBtn.show)||e.push(this.makeSubmitBtn()),ht(this.options.resetBtn.show)||e.push(this.makeResetBtn()),e.length){var t=this.$r({type:"formItem",key:"".concat(this.key,"fb")},e);return!0===this.rule.props.inline?t:this.$r({type:"col",props:{span:24},key:"".concat(this.key,"fc")},[t])}},makeResetBtn:function(){var e=this,t=this.options.resetBtn;return this.$r({type:"button",props:t,style:{width:t.width},on:{click:function(){var n=e.$handle.api;t.click?t.click(n):n.resetFields()}},key:"".concat(this.key,"b2")},[t.innerText])},makeSubmitBtn:function(){var e=this,t=this.options.submitBtn;return this.$r({type:"button",props:t,style:{width:t.width},on:{click:function(){var n=e.$handle.api;t.click?t.click(n):n.submit()}},key:"".concat(this.key,"b1")},[t.innerText])}},pt={};function mt(e,t){return M.Boolean(e)?e={show:e}:M.Undef(e)||M.Object(e)||(e={show:t}),e}function gt(e,t){return R(e,{formEl:function(){return t.$manager.form()},wrapEl:function(e){var n=t.getFieldCtx(e);if(n)return t.vm.$refs[n.wrapRef]},validate:function(n){return new Promise((function(r,i){var o=e.children,a=[t.$manager.validate()];o.forEach((function(e){a.push(e.validate())})),Promise.all(a).then((function(){r(!0),n&&n(!0)})).catch((function(r){i(r),n&&n(!1,r),t.vm.$emit("validate-fail",r,{api:e})}))}))},validateField:function(n,r){return new Promise((function(i,o){var a=t.getFieldCtx(n);if(a){var s=t.subForm[a.id],l=[t.$manager.validateField(a.id)];_(s).forEach((function(e){l.push(e.validate().catch((function(){return Promise.reject("子表单验证未通过")})))})),Promise.all(l).then((function(){i(null),r&&r(null)})).catch((function(i){o(i),r&&r(i),t.vm.$emit("validate-field-fail",i,{field:n,api:e})}))}}))},clearValidateState:function(n){var r=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.helper.tidyFields(n).forEach((function(e){i&&r.clearSubValidateState(e),t.getCtxs(e).forEach((function(e){t.$manager.clearValidateState(e)}))}))},clearSubValidateState:function(n){e.helper.tidyFields(n).forEach((function(e){t.getCtxs(e).forEach((function(e){var n=t.subForm[e.id];n&&(Array.isArray(n)?n.forEach((function(e){e.clearValidateState()})):n&&n.clearValidateState())}))}))},btn:{loading:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.submitBtnProps({loading:!!t})},disabled:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.submitBtnProps({disabled:!!t})},show:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.submitBtnProps({show:!!t})}},resetBtn:{loading:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.resetBtnProps({loading:!!t})},disabled:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.resetBtnProps({disabled:!!t})},show:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.resetBtnProps({show:!!t})}},submitBtnProps:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=mt(t.options.submitBtn,!0);R(r,n),t.options.submitBtn=r,e.refreshOptions()},resetBtnProps:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=mt(t.options.resetBtn,!1);R(r,n),t.options.resetBtn=r,e.refreshOptions()},submit:function(n,r){var i=arguments,o=this;e.validate((function(a){if(a){var s=e.formData();M.Function(n)?fe((function(){return n(s,o)})):(M.Function(t.options.onSubmit)&&fe((function(){return t.options.onSubmit(s,o)})),t.vm.$emit("submit",s,o))}else M.Function(r)&&fe((function(){return r.apply(void 0,[o].concat(g(i)))}))}))}}),e}function vt(e){e.componentAlias(ut),N.forEach((function(t){e.component(t.name,t)})),lt.forEach((function(t){e.parser(t)})),Object.keys(pt).forEach((function(t){e.maker[t]=pt[t]}))}!function(e){["group","tree","switch","upload","autoComplete","checkbox","cascader","colorPicker","datePicker","frame","inputNumber","radio","rate"].forEach((function(t){e[t]=ge(t)})),e.auto=e.autoComplete,e.number=e.inputNumber,e.color=e.colorPicker}(pt),function(e){e.selectMultiple=ge("select",u({},"multiple",!0)),e.selectOne=ge("select",u({},"multiple",!1))}(pt),function(e){var t={treeSelected:"selected",treeChecked:"checked"};Object.keys(t).reduce((function(e,n){return e[n]=ge("tree",{type:t[n]}),e}),e)}(pt),function(e){var t={image:["image",0],file:["file",0],uploadFileOne:["file",1],uploadImageOne:["image",1]};Object.keys(t).reduce((function(e,n){return e[n]=ge("upload",(function(e){return e.props({uploadType:t[n][0],maxLength:t[n][1]})})),e}),e),e.uploadImage=e.image,e.uploadFile=e.file}(pt),function(e){var t={frameInputs:["input",0],frameFiles:["file",0],frameImages:["image",0],frameInputOne:["input",1],frameFileOne:["file",1],frameImageOne:["image",1]};Object.keys(t).reduce((function(e,n){return e[n]=ge("frame",(function(e){return e.props({type:t[n][0],maxLength:t[n][1]})})),e}),e),e.frameInput=e.frameInputs,e.frameFile=e.frameFiles,e.frameImage=e.frameImages}(pt),w(".form-create .form-create .el-form-item {\n margin-bottom: 22px;\n}\n\n.form-create .form-create .el-form-item .el-form-item {\n margin-bottom: 0px;\n}\n");var yt=it({ui:"".concat("element-ui"),version:"".concat("2.5.37"),manager:ft,extendApi:gt,install:vt,attrs:{normal:["col","wrap"],array:["className"],key:["title","info"]}});"undefined"!=typeof window&&(window.formCreate=yt,window.Vue&&yt.install(window.Vue));var bt=yt.maker;e.default=yt,e.maker=bt,Object.defineProperty(e,"__esModule",{value:!0})}))},"30f1":function(e,t,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),a=n("35e8"),s=n("481b"),l=n("8f60"),u=n("45f2"),c=n("53e2"),d=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,_){l(n,t,v);var w,x,k,M=function(e){if(!h&&e in O)return O[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",C=y==m,T=!1,O=e.prototype,L=O[d]||O[f]||y&&O[y],A=L||M(y),D=y?C?M("entries"):A:void 0,E="Array"==t&&O.entries||L;if(E&&(k=c(E.call(new e)),k!==Object.prototype&&k.next&&(u(k,S,!0),r||"function"==typeof k[d]||a(k,d,g))),C&&L&&L.name!==m&&(T=!0,A=function(){return L.call(this)}),r&&!_||!h&&!T&&O[d]||a(O,d,A),s[t]=A,s[S]=g,y)if(w={values:C?A:M(m),keys:b?A:M(p),entries:D},_)for(x in w)x in O||o(O,x,w[x]);else i(i.P+i.F*(h||T),t,w);return w}},"313e":function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"updateProps",(function(){return Wl})),n.d(r,"initProps",(function(){return Ul})),n.d(r,"removeElement",(function(){return Gl})),n.d(r,"removeElementWithFadeOut",(function(){return Xl})),n.d(r,"isElementRemoved",(function(){return $l})),n.d(r,"extendShape",(function(){return dg})),n.d(r,"extendPath",(function(){return fg})),n.d(r,"registerShape",(function(){return pg})),n.d(r,"getShapeClass",(function(){return mg})),n.d(r,"makePath",(function(){return gg})),n.d(r,"makeImage",(function(){return vg})),n.d(r,"mergePath",(function(){return bg})),n.d(r,"resizePath",(function(){return _g})),n.d(r,"subPixelOptimizeLine",(function(){return wg})),n.d(r,"subPixelOptimizeRect",(function(){return xg})),n.d(r,"subPixelOptimize",(function(){return kg})),n.d(r,"getTransform",(function(){return Mg})),n.d(r,"applyTransform",(function(){return Sg})),n.d(r,"transformDirection",(function(){return Cg})),n.d(r,"groupTransition",(function(){return Lg})),n.d(r,"clipPointsByRect",(function(){return Ag})),n.d(r,"clipRectByRect",(function(){return Dg})),n.d(r,"createIcon",(function(){return Eg})),n.d(r,"linePolygonIntersect",(function(){return Ig})),n.d(r,"lineLineIntersect",(function(){return jg})),n.d(r,"setTooltipConfig",(function(){return Ng})),n.d(r,"traverseElements",(function(){return Yg})),n.d(r,"Group",(function(){return kr})),n.d(r,"Image",(function(){return Qa})),n.d(r,"Text",(function(){return Cs})),n.d(r,"Circle",(function(){return em})),n.d(r,"Ellipse",(function(){return rm})),n.d(r,"Sector",(function(){return wm})),n.d(r,"Ring",(function(){return Mm})),n.d(r,"Polygon",(function(){return Lm})),n.d(r,"Polyline",(function(){return Em})),n.d(r,"Rect",(function(){return ls})),n.d(r,"Line",(function(){return Rm})),n.d(r,"BezierCurve",(function(){return zm})),n.d(r,"Arc",(function(){return Wm})),n.d(r,"IncrementalDisplayable",(function(){return sg})),n.d(r,"CompoundPath",(function(){return $m})),n.d(r,"LinearGradient",(function(){return Km})),n.d(r,"RadialGradient",(function(){return Jm})),n.d(r,"BoundingRect",(function(){return Oe})),n.d(r,"OrientedBoundingRect",(function(){return ig})),n.d(r,"Point",(function(){return ye})),n.d(r,"Path",(function(){return Ua}));var i={};n.r(i),n.d(i,"extendShape",(function(){return dg})),n.d(i,"extendPath",(function(){return fg})),n.d(i,"makePath",(function(){return gg})),n.d(i,"makeImage",(function(){return vg})),n.d(i,"mergePath",(function(){return bg})),n.d(i,"resizePath",(function(){return _g})),n.d(i,"createIcon",(function(){return Eg})),n.d(i,"updateProps",(function(){return Wl})),n.d(i,"initProps",(function(){return Ul})),n.d(i,"getTransform",(function(){return Mg})),n.d(i,"clipPointsByRect",(function(){return Ag})),n.d(i,"clipRectByRect",(function(){return Dg})),n.d(i,"registerShape",(function(){return pg})),n.d(i,"getShapeClass",(function(){return mg})),n.d(i,"Group",(function(){return kr})),n.d(i,"Image",(function(){return Qa})),n.d(i,"Text",(function(){return Cs})),n.d(i,"Circle",(function(){return em})),n.d(i,"Ellipse",(function(){return rm})),n.d(i,"Sector",(function(){return wm})),n.d(i,"Ring",(function(){return Mm})),n.d(i,"Polygon",(function(){return Lm})),n.d(i,"Polyline",(function(){return Em})),n.d(i,"Rect",(function(){return ls})),n.d(i,"Line",(function(){return Rm})),n.d(i,"BezierCurve",(function(){return zm})),n.d(i,"Arc",(function(){return Wm})),n.d(i,"IncrementalDisplayable",(function(){return sg})),n.d(i,"CompoundPath",(function(){return $m})),n.d(i,"LinearGradient",(function(){return Km})),n.d(i,"RadialGradient",(function(){return Jm})),n.d(i,"BoundingRect",(function(){return Oe}));
  115. /*! *****************************************************************************
  116. Copyright (c) Microsoft Corporation.
  117. Permission to use, copy, modify, and/or distribute this software for any
  118. purpose with or without fee is hereby granted.
  119. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  120. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  121. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  122. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  123. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  124. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  125. PERFORMANCE OF THIS SOFTWARE.
  126. ***************************************************************************** */
  127. var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;var s=n("22d1"),l=n("6d8b");function u(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function c(e,t){return e[0]=t[0],e[1]=t[1],e}function d(e){return[e[0],e[1]]}function h(e,t,n){return e[0]=t,e[1]=n,e}function f(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function p(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function m(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function g(e){return Math.sqrt(v(e))}function v(e){return e[0]*e[0]+e[1]*e[1]}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function b(e,t){var n=g(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function _(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var w=_;function x(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var k=x;function M(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function S(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function C(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function T(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var O=function(){function e(e,t){this.target=e,this.topTarget=t&&t.topTarget}return e}(),L=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){var t=e.target;while(t&&!t.draggable)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new O(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,t.drift(i,o,e),this.handler.dispatchToElement(new O(t,e),"drag",e.event);var a=this.handler.findHover(n,r,t).target,s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.handler.dispatchToElement(new O(s,e),"dragleave",e.event),a&&a!==s&&this.handler.dispatchToElement(new O(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new O(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new O(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),A=L,D=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"===typeof t&&(r=n,n=t,t=null),!n||!e)return this;var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a<i[e].length;a++)if(i[e][a].h===n)return this;var s={h:n,query:t,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(e,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=t[o-1],s=r.length,l=0;l<s;l++){var u=r[l];if(!i||!i.filter||null==u.query||i.filter(e,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,t[0]);break;case 2:u.h.call(a,t[0],t[1]);break;default:u.h.apply(a,t.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e}(),E=D,I=Math.log(2);function j(e,t,n,r,i,o){var a=r+"-"+i,s=e.length;if(o.hasOwnProperty(a))return o[a];if(1===t){var l=Math.round(Math.log((1<<s)-1&~i)/I);return e[n][l]}var u=r|1<<n,c=n+1;while(r&1<<c)c++;for(var d=0,h=0,f=0;h<s;h++){var p=1<<h;p&i||(d+=(f%2?-1:1)*e[n][h]*j(e,t-1,c,u,i|p,o),f++)}return o[a]=d,d}function P(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=j(n,8,0,0,0,r);if(0!==i){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*j(n,7,0===a?1:0,1<<a,1<<s,r)/i*t[a];return function(e,t,n){var r=t*o[6]+n*o[7]+1;e[0]=(t*o[0]+n*o[1]+o[2])/r,e[1]=(t*o[3]+n*o[4]+o[5])/r}}}var R="___zrEVENTSAVED",N=[];function B(e,t,n,r,i){return Y(N,t,r,i,!0)&&Y(e,n,N[0],N[1])}function Y(e,t,n,r,i){if(t.getBoundingClientRect&&s["a"].domSupported&&!H(t)){var o=t[R]||(t[R]={}),a=F(t,o),l=z(a,o,i);if(l)return l(e,n,r),!0}return!1}function F(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function z(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),d=2*u,h=c.left,f=c.top;a.push(h,f),l=l&&o&&h===o[d]&&f===o[d+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=a,t[r]=n?P(s,a):P(a,s))}function H(e){return"CANVAS"===e.nodeName.toUpperCase()}var V=/([&<>"'])/g,W={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function U(e){return null==e?"":(e+"").replace(V,(function(e,t){return W[t]}))}var $=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,G=[],q=s["a"].browser.firefox&&+s["a"].browser.version.split(".")[0]<39;function X(e,t,n,r){return n=n||{},r?K(e,t,n):q&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):K(e,t,n),n}function K(e,t,n){if(s["a"].domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(H(e)){var o=e.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=i-o.top)}if(Y(G,e,r,i))return n.zrX=G[0],void(n.zrY=G[1])}n.zrX=n.zrY=0}function Z(e){return e||window.event}function J(e,t,n){if(t=Z(t),null!=t.zrX)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var o="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];o&&X(e,o,t,n)}else{X(e,t,t,n);var a=Q(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&$.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function Q(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;var i=0!==r?Math.abs(r):Math.abs(n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function ee(e,t,n,r){e.addEventListener(t,n,r)}function te(e,t,n,r){e.removeEventListener(t,n,r)}var ne=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function re(e){return 2===e.which||3===e.which}var ie=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var i={points:[],touches:[],target:t,event:e},o=0,a=r.length;o<a;o++){var s=r[o],l=X(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},e.prototype._recognize=function(e){for(var t in se)if(se.hasOwnProperty(t)){var n=se[t](this._track,e);if(n)return n}},e}();function oe(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function ae(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var se={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,i=(e[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=oe(r)/oe(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=ae(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function le(){return[1,0,0,1,0,0]}function ue(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function ce(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function de(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function he(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function fe(e,t,n,r){void 0===r&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),d=Math.cos(n);return e[0]=i*d+s*c,e[1]=-i*c+s*d,e[2]=o*d+l*c,e[3]=-o*c+d*l,e[4]=d*(a-r[0])+c*(u-r[1])+r[0],e[5]=d*(u-r[1])-c*(a-r[0])+r[1],e}function pe(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function me(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}function ge(e){var t=le();return ce(t,e),t}var ve=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},e}(),ye=ve,be=Math.min,_e=Math.max,we=new ye,xe=new ye,ke=new ye,Me=new ye,Se=new ye,Ce=new ye,Te=function(){function e(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}return e.prototype.union=function(e){var t=be(e.x,this.x),n=be(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=_e(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=_e(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,r=e.height/t.height,i=le();return he(i,i,[-t.x,-t.y]),pe(i,i,[n,r]),he(i,i,[e.x,e.y]),i},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,d=t.y+t.height,h=!(o<l||u<i||s<c||d<a);if(n){var f=1/0,p=0,m=Math.abs(o-l),g=Math.abs(u-i),v=Math.abs(s-c),y=Math.abs(d-a),b=Math.min(m,g),_=Math.min(v,y);o<l||u<i?b>p&&(p=b,m<g?ye.set(Ce,-m,0):ye.set(Ce,g,0)):b<f&&(f=b,m<g?ye.set(Se,m,0):ye.set(Se,-g,0)),s<c||d<a?_>p&&(p=_,v<y?ye.set(Ce,0,-v):ye.set(Ce,0,y)):b<f&&(f=b,v<y?ye.set(Se,0,v):ye.set(Se,0,-y))}return n&&ye.copy(n,h?Se:Ce),h},e.prototype.contain=function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];return t.x=n.x*i+a,t.y=n.y*o+s,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}we.x=ke.x=n.x,we.y=Me.y=n.y,xe.x=Me.x=n.x+n.width,xe.y=ke.y=n.y+n.height,we.transform(r),Me.transform(r),xe.transform(r),ke.transform(r),t.x=be(we.x,xe.x,ke.x,Me.x),t.y=be(we.y,xe.y,ke.y,Me.y);var l=_e(we.x,xe.x,ke.x,Me.x),u=_e(we.y,xe.y,ke.y,Me.y);t.width=l-t.x,t.height=u-t.y}else t!==n&&e.copy(t,n)},e}(),Oe=Te,Le="silent";function Ae(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:De}}function De(){ne(this.event)}var Ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return a(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(E),Ie=function(){function e(e,t){this.x=e,this.y=t}return e}(),je=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Pe=new Oe(0,0,0,0),Re=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._hovered=new Ie(0,0),a.storage=t,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new Ee,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new A(a),a}return a(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(l["k"](je,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=Ye(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?new Ie(t,n):this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Ie(0,0)},t.prototype.dispatch=function(e,t){var n=this[e];n&&n.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,n){e=e||{};var r=e.target;if(!r||!r.silent){var i="on"+t,o=Ae(t,e,n);while(r)if(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(t,o),r=r.__hostTarget?r.__hostTarget:r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"===typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},t.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),i=new Ie(e,t);if(Be(r,i,e,t,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Oe(e-s,t-s,a,a),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Pe.copy(c.getBoundingRect()),c.transform&&Pe.applyTransform(c.transform),Pe.intersect(l)&&o.push(c))}if(o.length)for(var d=4,h=Math.PI/12,f=2*Math.PI,p=0;p<s;p+=d)for(var m=0;m<f;m+=h){var g=e+p*Math.cos(m),v=t+p*Math.sin(m);if(Be(o,i,g,v,n),i.target)return i}}return i},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new ie);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var i=r.type;e.gestureEvent=i;var o=new Ie;o.target=r.target,this.dispatchToElement(o,i,r.event)}},t}(E);function Ne(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var r=e,i=void 0,o=!1;while(r){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(i=!0);var s=r.__hostTarget;r=s||r.parent}return!i||Le}return!1}function Be(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=Ne(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==Le)){t.target=a;break}}}function Ye(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}l["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){Re.prototype[e]=function(t){var n,r,i=t.zrX,o=t.zrY,a=Ye(this,i,o);if("mouseup"===e&&a||(n=this.findHover(i,o),r=n.target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||w(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));var Fe=Re,ze=32,He=7;function Ve(e){var t=0;while(e>=ze)t|=1&e,e>>=1;return e+t}function We(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){while(i<n&&r(e[i],e[i-1])<0)i++;Ue(e,t,i)}else while(i<n&&r(e[i],e[i-1])>=0)i++;return i-t}function Ue(e,t,n){n--;while(t<n){var r=e[t];e[t++]=e[n],e[n--]=r}}function $e(e,t,n,r,i){for(r===t&&r++;r<n;r++){var o,a=e[r],s=t,l=r;while(s<l)o=s+l>>>1,i(a,e[o])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=a}}function Ge(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){s=r-i;while(l<s&&o(e,t[n+i+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(l<s&&o(e,t[n+i-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function qe(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){s=i+1;while(l<s&&o(e,t[n+i-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{s=r-i;while(l<s&&o(e,t[n+i+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function Xe(e,t){var n,r,i=He,o=0,a=[];function s(e,t){n[o]=e,r[o]=t,o+=1}function l(){while(o>1){var e=o-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]<r[e+1]&&e--;else if(r[e]>r[e+1])break;c(e)}}function u(){while(o>1){var e=o-2;e>0&&r[e-1]<r[e+1]&&e--,c(e)}}function c(i){var a=n[i],s=r[i],l=n[i+1],u=r[i+1];r[i]=s+u,i===o-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),o--;var c=qe(e[l],e,a,s,0,t);a+=c,s-=c,0!==s&&(u=Ge(e[a+s-1],e,l,u,u-1,t),0!==u&&(s<=u?d(a,s,l,u):h(a,s,l,u)))}function d(n,r,o,s){var l=0;for(l=0;l<r;l++)a[l]=e[n+l];var u=0,c=o,d=n;if(e[d++]=e[c++],0!==--s)if(1!==r){var h,f,p,m=i;while(1){h=0,f=0,p=!1;do{if(t(e[c],a[u])<0){if(e[d++]=e[c++],f++,h=0,0===--s){p=!0;break}}else if(e[d++]=a[u++],h++,f=0,1===--r){p=!0;break}}while((h|f)<m);if(p)break;do{if(h=qe(e[c],a,u,r,0,t),0!==h){for(l=0;l<h;l++)e[d+l]=a[u+l];if(d+=h,u+=h,r-=h,r<=1){p=!0;break}}if(e[d++]=e[c++],0===--s){p=!0;break}if(f=Ge(a[u],e,c,s,0,t),0!==f){for(l=0;l<f;l++)e[d+l]=e[c+l];if(d+=f,c+=f,s-=f,0===s){p=!0;break}}if(e[d++]=a[u++],1===--r){p=!0;break}m--}while(h>=He||f>=He);if(p)break;m<0&&(m=0),m+=2}if(i=m,i<1&&(i=1),1===r){for(l=0;l<s;l++)e[d+l]=e[c+l];e[d+s]=a[u]}else{if(0===r)throw new Error;for(l=0;l<r;l++)e[d+l]=a[u+l]}}else{for(l=0;l<s;l++)e[d+l]=e[c+l];e[d+s]=a[u]}else for(l=0;l<r;l++)e[d+l]=a[u+l]}function h(n,r,o,s){var l=0;for(l=0;l<s;l++)a[l]=e[o+l];var u=n+r-1,c=s-1,d=o+s-1,h=0,f=0;if(e[d--]=e[u--],0!==--r)if(1!==s){var p=i;while(1){var m=0,g=0,v=!1;do{if(t(a[c],e[u])<0){if(e[d--]=e[u--],m++,g=0,0===--r){v=!0;break}}else if(e[d--]=a[c--],g++,m=0,1===--s){v=!0;break}}while((m|g)<p);if(v)break;do{if(m=r-qe(a[c],e,n,r,r-1,t),0!==m){for(d-=m,u-=m,r-=m,f=d+1,h=u+1,l=m-1;l>=0;l--)e[f+l]=e[h+l];if(0===r){v=!0;break}}if(e[d--]=a[c--],1===--s){v=!0;break}if(g=s-Ge(e[u],a,0,s,s-1,t),0!==g){for(d-=g,c-=g,s-=g,f=d+1,h=c+1,l=0;l<g;l++)e[f+l]=a[h+l];if(s<=1){v=!0;break}}if(e[d--]=e[u--],0===--r){v=!0;break}p--}while(m>=He||g>=He);if(v)break;p<0&&(p=0),p+=2}if(i=p,i<1&&(i=1),1===s){for(d-=r,u-=r,f=d+1,h=u+1,l=r-1;l>=0;l--)e[f+l]=e[h+l];e[d]=a[c]}else{if(0===s)throw new Error;for(h=d-(s-1),l=0;l<s;l++)e[h+l]=a[l]}}else{for(d-=r,u-=r,f=d+1,h=u+1,l=r-1;l>=0;l--)e[f+l]=e[h+l];e[d]=a[c]}else for(h=d-(s-1),l=0;l<s;l++)e[h+l]=a[l]}return n=[],r=[],{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function Ke(e,t,n,r){n||(n=0),r||(r=e.length);var i=r-n;if(!(i<2)){var o=0;if(i<ze)return o=We(e,n,r,t),void $e(e,n,r,n+o,t);var a=Xe(e,t),s=Ve(i);do{if(o=We(e,n,r,t),o<s){var l=i;l>s&&(l=s),$e(e,n,n+l,n+o,t),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(0!==i);a.forceMergeRuns()}}var Ze=1,Je=2,Qe=4,et=!1;function tt(){et||(et=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function nt(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var rt,it=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=nt}return e.prototype.traverse=function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},e.prototype.getDisplayList=function(e,t){t=t||!1;var n=this._displayList;return!e&&n.length||this.updateDisplayList(t),n},e.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,i=t.length;r<i;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,Ke(n,nt)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var r=e.getClipPath();if(e.ignoreClip)t=null;else if(r){t=t?t.slice():[];var i=r,o=e;while(i)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty|=Ze),this._updateAndAddDisplayable(l,t,n)}e.__dirty=0}else{var u=e;t&&t.length?u.__clipPaths=t:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(tt(),u.z=0),isNaN(u.z2)&&(tt(),u.z2=0),isNaN(u.zlevel)&&(tt(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,t,n);var d=e.getTextGuideLine();d&&this._updateAndAddDisplayable(d,t,n);var h=e.getTextContent();h&&this._updateAndAddDisplayable(h,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r=l["r"](this._roots,e);r>=0&&this._roots.splice(r,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),ot=it;rt=s["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var at=rt,st={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r))},elasticOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-st.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*st.bounceIn(2*e):.5*st.bounceOut(2*e-1)+.5}},lt=st,ut=Math.pow,ct=Math.sqrt,dt=1e-8,ht=1e-4,ft=ct(3),pt=1/3,mt=u(),gt=u(),vt=u();function yt(e){return e>-dt&&e<dt}function bt(e){return e>dt||e<-dt}function _t(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function wt(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function xt(e,t,n,r,i,o){var a=r+3*(t-n)-e,s=3*(n-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,d=s*l-9*a*u,h=l*l-3*s*u,f=0;if(yt(c)&&yt(d))if(yt(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[f++]=p)}else{var m=d*d-4*c*h;if(yt(m)){var g=d/c,v=(p=-s/a+g,-g/2);p>=0&&p<=1&&(o[f++]=p),v>=0&&v<=1&&(o[f++]=v)}else if(m>0){var y=ct(m),b=c*s+1.5*a*(-d+y),_=c*s+1.5*a*(-d-y);b=b<0?-ut(-b,pt):ut(b,pt),_=_<0?-ut(-_,pt):ut(_,pt);p=(-s-(b+_))/(3*a);p>=0&&p<=1&&(o[f++]=p)}else{var w=(2*c*s-3*a*d)/(2*ct(c*c*c)),x=Math.acos(w)/3,k=ct(c),M=Math.cos(x),S=(p=(-s-2*k*M)/(3*a),v=(-s+k*(M+ft*Math.sin(x)))/(3*a),(-s+k*(M-ft*Math.sin(x)))/(3*a));p>=0&&p<=1&&(o[f++]=p),v>=0&&v<=1&&(o[f++]=v),S>=0&&S<=1&&(o[f++]=S)}}return f}function kt(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(yt(a)){if(bt(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(yt(c))i[0]=-o/(2*a);else if(c>0){var d=ct(c),h=(u=(-o+d)/(2*a),(-o-d)/(2*a));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function Mt(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,d=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=r}function St(e,t,n,r,i,o,a,s,l,u,c){var d,h,f,p,m,g=.005,v=1/0;mt[0]=l,mt[1]=u;for(var y=0;y<1;y+=.05)gt[0]=_t(e,n,i,a,y),gt[1]=_t(t,r,o,s,y),p=k(mt,gt),p<v&&(d=y,v=p);v=1/0;for(var b=0;b<32;b++){if(g<ht)break;h=d-g,f=d+g,gt[0]=_t(e,n,i,a,h),gt[1]=_t(t,r,o,s,h),p=k(gt,mt),h>=0&&p<v?(d=h,v=p):(vt[0]=_t(e,n,i,a,f),vt[1]=_t(t,r,o,s,f),m=k(vt,mt),f<=1&&m<v?(d=f,v=m):g*=.5)}return c&&(c[0]=_t(e,n,i,a,d),c[1]=_t(t,r,o,s,d)),ct(v)}function Ct(e,t,n,r,i,o,a,s,l){for(var u=e,c=t,d=0,h=1/l,f=1;f<=l;f++){var p=f*h,m=_t(e,n,i,a,p),g=_t(t,r,o,s,p),v=m-u,y=g-c;d+=Math.sqrt(v*v+y*y),u=m,c=g}return d}function Tt(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function Ot(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function Lt(e,t,n,r,i){var o=e-2*t+n,a=2*(t-e),s=e-r,l=0;if(yt(o)){if(bt(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(yt(c)){u=-a/(2*o);u>=0&&u<=1&&(i[l++]=u)}else if(c>0){var d=ct(c),h=(u=(-a+d)/(2*o),(-a-d)/(2*o));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function At(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function Dt(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function Et(e,t,n,r,i,o,a,s,l){var u,c=.005,d=1/0;mt[0]=a,mt[1]=s;for(var h=0;h<1;h+=.05){gt[0]=Tt(e,n,i,h),gt[1]=Tt(t,r,o,h);var f=k(mt,gt);f<d&&(u=h,d=f)}d=1/0;for(var p=0;p<32;p++){if(c<ht)break;var m=u-c,g=u+c;gt[0]=Tt(e,n,i,m),gt[1]=Tt(t,r,o,m);f=k(gt,mt);if(m>=0&&f<d)u=m,d=f;else{vt[0]=Tt(e,n,i,g),vt[1]=Tt(t,r,o,g);var v=k(vt,mt);g<=1&&v<d?(u=g,d=v):c*=.5}}return l&&(l[0]=Tt(e,n,i,u),l[1]=Tt(t,r,o,u)),ct(d)}function It(e,t,n,r,i,o,a){for(var s=e,l=t,u=0,c=1/a,d=1;d<=a;d++){var h=d*c,f=Tt(e,n,i,h),p=Tt(t,r,o,h),m=f-s,g=p-l;u+=Math.sqrt(m*m+g*g),s=f,l=p}return u}var jt=/cubic-bezier\(([0-9,\.e ]+)\)/;function Pt(e){var t=e&&jt.exec(e);if(t){var n=t[1].split(","),r=+Object(l["T"])(n[0]),i=+Object(l["T"])(n[1]),o=+Object(l["T"])(n[2]),a=+Object(l["T"])(n[3]);if(isNaN(r+i+o+a))return;var s=[];return function(e){return e<=0?0:e>=1?1:xt(0,r,o,1,e,s)&&_t(0,i,a,1,s[0])}}}var Rt=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||l["L"],this.ondestroy=e.ondestroy||l["L"],this.onrestart=e.onrestart||l["L"],e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=Object(l["w"])(e)?e:lt[e]||Pt(e)},e}(),Nt=Rt,Bt=n("41ef"),Yt=n("7a29"),Ft=Array.prototype.slice;function zt(e,t,n){return(t-e)*n+e}function Ht(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=zt(t[o],n[o],r);return e}function Vt(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=zt(t[a][s],n[a][s],r)}return e}function Wt(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+n[o]*r;return e}function Ut(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function $t(e,t){for(var n=e.length,r=t.length,i=n>r?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function Gt(e,t,n){var r=e,i=t;if(r.push&&i.push){var o=r.length,a=i.length;if(o!==a){var s=o>a;if(s)r.length=a;else for(var l=o;l<a;l++)r.push(1===n?i[l]:Ft.call(i[l]))}var u=r[0]&&r[0].length;for(l=0;l<r.length;l++)if(1===n)isNaN(r[l])&&(r[l]=i[l]);else for(var c=0;c<u;c++)isNaN(r[l][c])&&(r[l][c]=i[l][c])}}function qt(e){if(Object(l["u"])(e)){var t=e.length;if(Object(l["u"])(e[0])){for(var n=[],r=0;r<t;r++)n.push(Ft.call(e[r]));return n}return Ft.call(e)}return e}function Xt(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}function Kt(e){return Object(l["u"])(e&&e[0])?2:1}var Zt=0,Jt=1,Qt=2,en=3,tn=4,nn=5,rn=6;function on(e){return e===tn||e===nn}function an(e){return e===Jt||e===Qt}var sn=[0,0,0,0],ln=function(){function e(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,i=r.length,o=!1,a=rn,s=t;if(Object(l["u"])(t)){var u=Kt(t);a=u,(1===u&&!Object(l["z"])(t[0])||2===u&&!Object(l["z"])(t[0][0]))&&(o=!0)}else if(Object(l["z"])(t)&&!Object(l["l"])(t))a=Zt;else if(Object(l["C"])(t))if(isNaN(+t)){var c=Bt["h"](t);c&&(s=c,a=en)}else a=Zt;else if(Object(l["x"])(t)){var d=Object(l["m"])({},s);d.colorStops=Object(l["H"])(t.colorStops,(function(e){return{offset:e.offset,color:Bt["h"](e.color)}})),Object(Yt["m"])(t)?a=tn:Object(Yt["o"])(t)&&(a=nn),s=d}0===i?this.valType=a:a===this.valType&&a!==rn||(o=!0),this.discrete=this.discrete||o;var h={time:e,value:s,rawValue:t,percent:0};return n&&(h.easing=n,h.easingFunc=Object(l["w"])(n)?n:lt[n]||Pt(n)),r.push(h),h},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=an(r),l=on(r),u=0;u<i;u++){var c=n[u],d=c.value,h=o.value;c.percent=c.time/e,a||(s&&u!==i-1?Gt(d,h,r):l&&$t(d.colorStops,h.colorStops))}if(!a&&r!==nn&&t&&this.needsAnimate()&&t.needsAnimate()&&r===t.valType&&!t._finished){this._additiveTrack=t;var f=n[0].value;for(u=0;u<i;u++)r===Zt?n[u].additiveValue=n[u].value-f:r===en?n[u].additiveValue=Wt([],n[u].value,f,-1):an(r)&&(n[u].additiveValue=r===Jt?Wt([],n[u].value,f,-1):Ut([],n[u].value,f,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,u=this.keyframes,c=u.length,d=this.propName,h=s===en,f=this._lastFr,p=Math.min;if(1===c)r=i=u[0];else{if(t<0)n=0;else if(t<this._lastFrP){var m=p(f+1,c-1);for(n=m;n>=0;n--)if(u[n].percent<=t)break;n=p(n,c-2)}else{for(n=f;n<c;n++)if(u[n].percent>t)break;n=p(n-1,c-2)}i=u[n+1],r=u[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var g=i.percent-r.percent,v=0===g?1:p((t-r.percent)/g,1);i.easingFunc&&(v=i.easingFunc(v));var y=o?this._additiveValue:h?sn:e[d];if(!an(s)&&!h||y||(y=this._additiveValue=[]),this.discrete)e[d]=v<1?r.rawValue:i.rawValue;else if(an(s))s===Jt?Ht(y,r[a],i[a],v):Vt(y,r[a],i[a],v);else if(on(s)){var b=r[a],_=i[a],w=s===tn;e[d]={type:w?"linear":"radial",x:zt(b.x,_.x,v),y:zt(b.y,_.y,v),colorStops:Object(l["H"])(b.colorStops,(function(e,t){var n=_.colorStops[t];return{offset:zt(e.offset,n.offset,v),color:Xt(Ht([],e.color,n.color,v))}})),global:_.global},w?(e[d].x2=zt(b.x2,_.x2,v),e[d].y2=zt(b.y2,_.y2,v)):e[d].r=zt(b.r,_.r,v)}else if(h)Ht(y,r[a],i[a],v),o||(e[d]=Xt(y));else{var x=zt(r[a],i[a],v);o?this._additiveValue=x:e[d]=x}o&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;t===Zt?e[n]=e[n]+r:t===en?(Bt["h"](e[n],sn),Wt(sn,sn,r,1),e[n]=Xt(sn)):t===Jt?Wt(e[n],e[n],r,1):t===Qt&&Ut(e[n],e[n],r,1)},e}(),un=function(){function e(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r?Object(l["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,Object(l["F"])(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new ln(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,d=c[c.length-1];l=d&&d.value,u.valType===en&&l&&(l=Xt(l))}else l=this._target[a];if(null==l)continue;e>0&&s.addKeyframe(0,qt(l),r),this._trackKeys.push(a)}s.addKeyframe(e,qt(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n<t;n++)e[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var n=0;n<t.length;n++)t[n].call(this)},e.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,n=0;n<t.length;n++)e[t[n]].setFinished()},e.prototype._getAdditiveTrack=function(e){var t,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(e);i&&(t=i)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(t._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var d=new Nt({life:r,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var r=t._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(t._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(t._target,e);var a=t._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),e&&d.setEasing(e)}else this._doneCallback();return this}},e.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},e.prototype.delay=function(e){return this._delay=e,this},e.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},e.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},e.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(e){return this._tracks[e]},e.prototype.getTracks=function(){var e=this;return Object(l["H"])(this._trackKeys,(function(t){return e._tracks[t]}))},e.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<e.length;i++){var o=n[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var r=0;r<t.length;r++){var i=t[r],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(e[i]=qt(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||Object(l["F"])(e);for(var n=0;n<t.length;n++){var r=t[n],i=this._tracks[r];if(i){var o=i.keyframes;if(o.length>1){var a=o.pop();i.addKeyframe(a.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}(),cn=un;function dn(){return(new Date).getTime()}var hn=function(e){function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return a(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){var t=dn()-this._pausedTime,n=t-this._time,r=this._head;while(r){var i=r.next,o=r.step(t,n);o?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;function t(){e._running&&(at(t),!e._paused&&e.update())}this._running=!0,at(t)},t.prototype.start=function(){this._running||(this._time=dn(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=dn(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=dn()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){var e=this._head;while(e){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new cn(e,t.loop);return this.addAnimator(n),n},t}(E),fn=hn,pn=300,mn=s["a"].domSupported,gn=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=l["H"](e,(function(e){var t=e.replace("mouse","pointer");return n.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:r}}(),vn={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},yn=!1;function bn(e){var t=e.pointerType;return"pen"===t||"touch"===t}function _n(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function wn(e){e&&(e.zrByTouch=!0)}function xn(e,t){return J(e.dom,new Mn(e,t),!0)}function kn(e,t){var n=t,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot))n=n.parentNode;return r}var Mn=function(){function e(e,t){this.stopPropagation=l["L"],this.stopImmediatePropagation=l["L"],this.preventDefault=l["L"],this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return e}(),Sn={mousedown:function(e){e=J(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=J(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=J(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=J(this.dom,e);var t=e.toElement||e.relatedTarget;kn(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){yn=!0,e=J(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){yn||(e=J(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=J(this.dom,e),wn(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Sn.mousemove.call(this,e),Sn.mousedown.call(this,e)},touchmove:function(e){e=J(this.dom,e),wn(e),this.handler.processGesture(e,"change"),Sn.mousemove.call(this,e)},touchend:function(e){e=J(this.dom,e),wn(e),this.handler.processGesture(e,"end"),Sn.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<pn&&Sn.click.call(this,e)},pointerdown:function(e){Sn.mousedown.call(this,e)},pointermove:function(e){bn(e)||Sn.mousemove.call(this,e)},pointerup:function(e){Sn.mouseup.call(this,e)},pointerout:function(e){bn(e)||Sn.mouseout.call(this,e)}};l["k"](["click","dblclick","contextmenu"],(function(e){Sn[e]=function(t){t=J(this.dom,t),this.trigger(e,t)}}));var Cn={pointermove:function(e){bn(e)||Cn.mousemove.call(this,e)},pointerup:function(e){Cn.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function Tn(e,t){var n=t.domHandlers;s["a"].pointerEventsSupported?l["k"](gn.pointer,(function(r){Ln(t,r,(function(t){n[r].call(e,t)}))})):(s["a"].touchEventsSupported&&l["k"](gn.touch,(function(r){Ln(t,r,(function(i){n[r].call(e,i),_n(t)}))})),l["k"](gn.mouse,(function(r){Ln(t,r,(function(i){i=Z(i),t.touching||n[r].call(e,i)}))})))}function On(e,t){function n(n){function r(r){r=Z(r),kn(e,r.target)||(r=xn(e,r),t.domHandlers[n].call(e,r))}Ln(t,n,r,{capture:!0})}s["a"].pointerEventsSupported?l["k"](vn.pointer,n):s["a"].touchEventsSupported||l["k"](vn.mouse,n)}function Ln(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,ee(e.domTarget,t,n,r)}function An(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&te(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var Dn=function(){function e(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return e}(),En=function(e){function t(t,n){var r=e.call(this)||this;return r.__pointerCapturing=!1,r.dom=t,r.painterRoot=n,r._localHandlerScope=new Dn(t,Sn),mn&&(r._globalHandlerScope=new Dn(document,Cn)),Tn(r,r._localHandlerScope),r}return a(t,e),t.prototype.dispose=function(){An(this._localHandlerScope),mn&&An(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,mn&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?On(this,t):An(t)}},t}(E),In=En,jn=1;s["a"].hasGlobalWindow&&(jn=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Pn=jn,Rn=.4,Nn="#333",Bn="#ccc",Yn="#eee",Fn=ue,zn=5e-5;function Hn(e){return e>zn||e<-zn}var Vn=[],Wn=[],Un=le(),$n=Math.abs,Gn=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return Hn(this.rotation)||Hn(this.x)||Hn(this.y)||Hn(this.scaleX-1)||Hn(this.scaleY-1)||Hn(this.skewX)||Hn(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||le(),t?this.getLocalTransform(n):Fn(n),e&&(t?de(n,e,n):ce(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(Fn(n),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(Vn);var n=Vn[0]<0?-1:1,r=Vn[1]<0?-1:1,i=((Vn[0]-n)*t+n)/Vn[0]||0,o=((Vn[1]-r)*t+r)/Vn[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||le(),me(this.invTransform,e)},e.prototype.getComputedTransform=function(){var e=this,t=[];while(e)t.push(e),e=e.parent;while(e=t.pop())e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||le(),de(Wn,e.invTransform,t),t=Wn);var n=this.originX,r=this.originY;(n||r)&&(Un[4]=n,Un[5]=r,de(Wn,t,Un),Wn[4]-=n,Wn[5]-=r,t=Wn),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&S(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&S(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&$n(e[0]-1)>1e-10&&$n(e[3]-1)>1e-10?Math.sqrt($n(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){Xn(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,r=e.originY||0,i=e.scaleX,o=e.scaleY,a=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,c=e.y,d=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(n||r||a||s){var f=n+a,p=r+s;t[4]=-f*i-d*p*o,t[5]=-p*o-h*f*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=h*i,t[2]=d*o,l&&fe(t,t,l),t[4]+=n+u,t[5]+=r+c,t},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),qn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Xn(e,t){for(var n=0;n<qn.length;n++){var r=qn[n];e[r]=t[r]}}var Kn=Gn,Zn=n("d51b"),Jn=n("726e"),Qn={};function er(e,t){t=t||Jn["a"];var n=Qn[t];n||(n=Qn[t]=new Zn["a"](500));var r=n.get(e);return null==r&&(r=Jn["d"].measureText(e,t).width,n.put(e,r)),r}function tr(e,t,n,r){var i=er(e,t),o=or(t),a=rr(0,i,n),s=ir(0,o,r),l=new Oe(a,s,i,o);return l}function nr(e,t,n,r){var i=((e||"")+"").split("\n"),o=i.length;if(1===o)return tr(i[0],t,n,r);for(var a=new Oe(0,0,0,0),s=0;s<i.length;s++){var l=tr(i[s],t,n,r);0===s?a.copy(l):a.union(l)}return a}function rr(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function ir(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function or(e){return er("国",e)}function ar(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function sr(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",d="top";if(r instanceof Array)l+=ar(r[0],n.width),u+=ar(r[1],n.height),c=null,d=null;else switch(r){case"left":l-=i,u+=s,c="right",d="middle";break;case"right":l+=i+a,u+=s,d="middle";break;case"top":l+=a/2,u-=i,c="center",d="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=i,u+=s,d="middle";break;case"insideRight":l+=a-i,u+=s,c="right",d="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,d="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",d="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=d,e}var lr="__zr_normal__",ur=qn.concat(["ignore"]),cr=Object(l["N"])(qn,(function(e,t){return e[t]=!0,e}),{ignore:!1}),dr={},hr=new Oe(0,0,0,0),fr=function(){function e(e){this.id=Object(l["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=t.innerTransformable,o=void 0,a=void 0,s=!1;i.parent=r?this:null;var l=!1;if(i.copyTransform(t),null!=n.position){var u=hr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(dr,n,u):sr(dr,n,u),i.x=dr.x,i.y=dr.y,o=dr.align,a=dr.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var d=void 0,h=void 0;"center"===c?(d=.5*u.width,h=.5*u.height):(d=ar(c[0],u.width),h=ar(c[1],u.height)),l=!0,i.originX=-i.x+d+(r?0:u.x),i.originY=-i.y+h+(r?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var f=n.offset;f&&(i.x+=f[0],i.y+=f[1],l||(i.originX=-f[0],i.originY=-f[1]));var p=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,v=void 0,y=void 0;p&&this.canBeInsideText()?(g=n.insideFill,v=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(g),y=!0)):(g=n.outsideFill,v=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(g),y=!0)),g=g||"#000",g===m.fill&&v===m.stroke&&y===m.autoStroke&&o===m.align&&a===m.verticalAlign||(s=!0,m.fill=g,m.stroke=v,m.autoStroke=y,m.align=o,m.verticalAlign=a,t.setDefaultTextStyle(m)),t.__dirty|=Ze,s&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Bn:Nn},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof t&&Object(Bt["h"])(t);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,Object(Bt["i"])(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},Object(l["m"])(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(Object(l["A"])(e))for(var n=e,r=Object(l["F"])(n),i=0;i<r.length;i++){var o=r[i];this.attrKV(o,e[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==lr)){var o=r.targetName,a=o?t[o]:t;r.saveTo(a)}}},e.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,ur)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null==e[i]||i in t||(t[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(lr,!1,e)},e.prototype.useState=function(e,t,n,r){var i=e===lr,o=this.hasState();if(o||!i){var a=this.currentStates,s=this.stateTransition;if(!(Object(l["r"])(a,e)>=0)||!t&&1!==a.length){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),u||i){i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!n&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,h=this._textGuide;return d&&d.useState(e,t,n,c),h&&h.useState(e,t,n,c),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ze),u}Object(l["G"])("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],i=this.currentStates,o=e.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(e[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&r.push(u)}var c=r[o-1],d=!!(c&&c.hoverLayer||n);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(r),f=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,m=this._textGuide;p&&p.useStates(e,t,d),m&&m.useStates(e,t,d),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ze)}else this.clearStates()},e.prototype.isSilent=function(){var e=this.silent,t=this.parent;while(!e&&t){if(t.silent){e=!0;break}t=t.parent}return e},e.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},e.prototype.removeState=function(e){var t=Object(l["r"])(this.currentStates,e);if(t>=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=Object(l["r"])(r,e),o=Object(l["r"])(r,t)>=0;i>=0?o?r.splice(i,1):r[i]=t:n&&!o&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r<e.length;r++){var i=e[r];Object(l["m"])(n,i),i.textConfig&&(t=t||{},Object(l["m"])(t,i.textConfig))}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,r,i,o){var a=!(t&&r);t&&t.textConfig?(this.textConfig=Object(l["m"])({},r?this.textConfig:n.textConfig),Object(l["m"])(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<ur.length;c++){var d=ur[c],h=i&&cr[d];t&&null!=t[d]?h?(u=!0,s[d]=t[d]):this[d]=t[d]:a&&null!=n[d]&&(h?(u=!0,s[d]=n[d]):this[d]=n[d])}if(!i)for(c=0;c<this.animators.length;c++){var f=this.animators[c],p=f.targetName;f.getLoop()||f.__changeFinalValue(p?(t||n)[p]:t||n)}u&&this._transitionState(e,s,o)},e.prototype._attachComponent=function(e){if((!e.__zr||e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},e.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},e.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new Kn,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Object(l["m"])(this.textConfig,e),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Ze;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,n=this._textGuide;t&&(t.__inHover=e),n&&(n.__inHover=e)},e.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},e.prototype.animate=function(e,t,n){var r=e?this[e]:this;var i=new cn(r,t,n);return e&&(i.targetName=e),this.addAnimator(i,e),i},e.prototype.addAnimator=function(e,t){var n=this.__zr,r=this;e.during((function(){r.updateDuringAnimation(t)})).done((function(){var t=r.animators,n=Object(l["r"])(t,e);n>=0&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];e&&e!==a.scope?i.push(a):a.stop(t)}return this.animators=i,this},e.prototype.animateTo=function(e,t,n){pr(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){pr(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,r){for(var i=pr(this,t,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Ze;function n(e,n,r,i){function o(e,t){Object.defineProperty(t,0,{get:function(){return e[r]},set:function(t){e[r]=t}}),Object.defineProperty(t,1,{get:function(){return e[i]},set:function(t){e[i]=t}})}Object.defineProperty(t,e,{get:function(){if(!this[n]){var e=this[n]=[];o(this,e)}return this[n]},set:function(e){this[r]=e[0],this[i]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function pr(e,t,n,r,i){n=n||{};var o=[];_r(e,"",e,t,n,r,o,i);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},d=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(e,t){n.during(t)}));for(var h=0;h<o.length;h++){var f=o[h];c&&f.done(c),d&&f.aborted(d),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function mr(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function gr(e){return Object(l["u"])(e[0])}function vr(e,t,n){if(Object(l["u"])(t[n]))if(Object(l["u"])(e[n])||(e[n]=[]),Object(l["E"])(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),mr(e[n],t[n],r))}else{var i=t[n],o=e[n],a=i.length;if(gr(i))for(var s=i[0].length,u=0;u<a;u++)o[u]?mr(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else mr(o,i,a);o.length=i.length}else e[n]=t[n]}function yr(e,t){return e===t||Object(l["u"])(e)&&Object(l["u"])(t)&&br(e,t)}function br(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function _r(e,t,n,r,i,o,a,s){for(var u=Object(l["F"])(r),c=i.duration,d=i.delay,h=i.additive,f=i.setToFinal,p=!Object(l["A"])(o),m=e.animators,g=[],v=0;v<u.length;v++){var y=u[v],b=r[y];if(null!=b&&null!=n[y]&&(p||o[y]))if(!Object(l["A"])(b)||Object(l["u"])(b)||Object(l["x"])(b))g.push(y);else{if(t){s||(n[y]=b,e.updateDuringAnimation(t));continue}_r(e,y,n[y],b,i,o&&o[y],a,s)}else s||(n[y]=b,e.updateDuringAnimation(t),g.push(y))}var _=g.length;if(!h&&_)for(var w=0;w<m.length;w++){var x=m[w];if(x.targetName===t){var k=x.stopTracks(g);if(k){var M=Object(l["r"])(m,x);m.splice(M,1)}}}if(i.force||(g=Object(l["n"])(g,(function(e){return!yr(r[e],n[e])})),_=g.length),_>0||i.force&&!a.length){var S=void 0,C=void 0,T=void 0;if(s){C={},f&&(S={});for(w=0;w<_;w++){y=g[w];C[y]=n[y],f?S[y]=r[y]:n[y]=r[y]}}else if(f){T={};for(w=0;w<_;w++){y=g[w];T[y]=qt(n[y]),vr(n,r,y)}}x=new cn(n,!1,!1,h?Object(l["n"])(m,(function(e){return e.targetName===t})):null);x.targetName=t,i.scope&&(x.scope=i.scope),f&&S&&x.whenWithKeys(0,S,g),T&&x.whenWithKeys(0,T,g),x.whenWithKeys(null==c?500:c,s?C:r,g).delay(d||0),e.addAnimator(x,t),a.push(x)}}Object(l["K"])(fr,E),Object(l["K"])(fr,Kn);var wr=fr,xr=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return a(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=l["r"](this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=l["r"](n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n<e.length;n++){var r=e[n];t&&r.removeSelfFromZr(t),r.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=e.call(t,r);r.isGroup&&!i&&r.traverse(e,t)}return this},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++){var r=this._children[n];r.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++){var r=this._children[n];r.removeSelfFromZr(t)}},t.prototype.getBoundingRect=function(e){for(var t=new Oe(0,0,0,0),n=e||this._children,r=[],i=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(r);l?(Oe.applyTransform(t,s,l),i=i||t.clone(),i.union(t)):(i=i||s.clone(),i.union(s))}}return i||t},t}(wr);xr.prototype.type="group";var kr=xr,Mr={},Sr={};
  128. /*!
  129. * ZRender, a high performance 2d drawing library.
  130. *
  131. * Copyright (c) 2013, Baidu Inc.
  132. * All rights reserved.
  133. *
  134. * LICENSE
  135. * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
  136. */function Cr(e){delete Sr[e]}function Tr(e){if(!e)return!1;if("string"===typeof e)return Object(Bt["e"])(e,1)<Rn;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=Object(Bt["e"])(t[i].color,1);return n/=r,n<Rn}return!1}var Or,Lr=function(){function e(e,t,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var i=new ot,o=n.renderer||"canvas";Mr[o]||(o=l["F"](Mr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new Mr[o](t,i,n,e),u=n.ssr||a.ssrOnly;this.storage=i,this.painter=a;var c,d=s["a"].node||s["a"].worker||u?null:new In(a.getViewportRoot(),a.root),h=n.useCoarsePointer,f=null==h||"auto"===h?s["a"].touchEventsSupported:!!h,p=44;f&&(c=l["P"](n.pointerSize,p)),this.handler=new Fe(i,a,d,a.root,c),this.animation=new fn({stage:{update:u?null:function(){return r._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(e){!this._disposed&&e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){!this._disposed&&e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},e.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=Tr(e))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(e){this._darkMode=e},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(e){var t,n=dn();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var r=dn();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof kr&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,Cr(this.id))},e}();function Ar(e,t){var n=new Lr(l["p"](),e,t);return Sr[n.id]=n,n}function Dr(e,t){Mr[e]=t}function Er(e){if("function"===typeof Or)return Or(e)}function Ir(e){Or=e}var jr=1e-4,Pr=20;function Rr(e){return e.replace(/^\s+|\s+$/g,"")}function Nr(e,t,n,r){var i=t[0],o=t[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function Br(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return l["C"](e)?Rr(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function Yr(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),Pr),e=(+e).toFixed(t),n?e:+e}function Fr(e){return e.sort((function(e,t){return e-t})),e}function zr(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return Hr(e)}function Hr(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function Vr(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function Wr(e,t){var n=l["N"](e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];var r=Math.pow(10,t),i=l["H"](e,(function(e){return(isNaN(e)?0:e)/n*r*100})),o=100*r,a=l["H"](i,(function(e){return Math.floor(e)})),s=l["N"](a,(function(e,t){return e+t}),0),u=l["H"](i,(function(e,t){return e-a[t]}));while(s<o){for(var c=Number.NEGATIVE_INFINITY,d=null,h=0,f=u.length;h<f;++h)u[h]>c&&(c=u[h],d=h);++a[d],u[d]=0,++s}return l["H"](a,(function(e){return e/r}))}function Ur(e,t){var n=Math.max(zr(e),zr(t)),r=e+t;return n>Pr?r:Yr(r,n)}var $r=9007199254740991;function Gr(e){var t=2*Math.PI;return(e%t+t)%t}function qr(e){return e>-jr&&e<jr}var Xr=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Kr(e){if(e instanceof Date)return e;if(l["C"](e)){var t=Xr.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function Zr(e){return Math.pow(10,Jr(e))}function Jr(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function Qr(e,t){var n,r=Jr(e),i=Math.pow(10,r),o=e/i;return n=t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function ei(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function ti(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,o=e[r].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-n),t=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!==1?e.splice(r,1):r++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]===(n?-1:1)||!n&&s(e,t,1))}}function ni(e){var t=parseFloat(e);return t==e&&(0!==t||!l["C"](e)||e.indexOf("x")<=0)?t:NaN}function ri(e){return!isNaN(ni(e))}function ii(){return Math.round(9*Math.random())}function oi(e,t){return 0===t?e:oi(t,e%t)}function ai(e,t){return null==e?t:null==t?e:e*t/oi(e,t)}function si(e,t,n){return(t-e)*n+e}var li="series\0",ui="\0_ec_\0";function ci(e){return e instanceof Array?e:null==e?[]:[e]}function di(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var hi=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function fi(e){return!Object(l["A"])(e)||Object(l["t"])(e)||e instanceof Date?e:e.value}function pi(e){return Object(l["A"])(e)&&!(e instanceof Array)}function mi(e,t,n){var r="normalMerge"===n,i="replaceMerge"===n,o="replaceAll"===n;e=e||[],t=(t||[]).slice();var a=Object(l["f"])();Object(l["k"])(t,(function(e,n){Object(l["A"])(e)||(t[n]=null)}));var s=gi(e,a,n);return(r||i)&&vi(s,e,a,t),r&&yi(s,t),r||i?bi(s,t,i):o&&_i(s,t),wi(s),s}function gi(e,t,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<e.length;i++){var o=e[i];o&&null!=o.id&&t.set(o.id,i),r.push({existing:"replaceMerge"===n||Ci(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}function vi(e,t,n,r){Object(l["k"])(r,(function(i,o){if(i&&null!=i.id){var a=ki(i.id),s=n.get(a);if(null!=s){var u=e[s];Object(l["b"])(!u.newOption,'Duplicated option on id "'+a+'".'),u.newOption=i,u.existing=t[s],r[o]=null}}}))}function yi(e,t){Object(l["k"])(t,(function(n,r){if(n&&null!=n.name)for(var i=0;i<e.length;i++){var o=e[i].existing;if(!e[i].newOption&&o&&(null==o.id||null==n.id)&&!Ci(n)&&!Ci(o)&&xi("name",o,n))return e[i].newOption=n,void(t[r]=null)}}))}function bi(e,t,n){Object(l["k"])(t,(function(t){if(t){var r,i=0;while((r=e[i])&&(r.newOption||Ci(r.existing)||r.existing&&null!=t.id&&!xi("id",t,r.existing)))i++;r?(r.newOption=t,r.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),i++}}))}function _i(e,t){Object(l["k"])(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}function wi(e){var t=Object(l["f"])();Object(l["k"])(e,(function(e){var n=e.existing;n&&t.set(n.id,e)})),Object(l["k"])(e,(function(e){var n=e.newOption;Object(l["b"])(!n||null==n.id||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})})),Object(l["k"])(e,(function(e,n){var r=e.existing,i=e.newOption,o=e.keyInfo;if(Object(l["A"])(i)){if(o.name=null!=i.name?ki(i.name):r?r.name:li+n,r)o.id=ki(r.id);else if(null!=i.id)o.id=ki(i.id);else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(t.get(o.id))}t.set(o.id,e)}}))}function xi(e,t,n){var r=Mi(t[e],null),i=Mi(n[e],null);return null!=r&&null!=i&&r===i}function ki(e){return Mi(e,"")}function Mi(e,t){return null==e?t:Object(l["C"])(e)?e:Object(l["z"])(e)||Object(l["D"])(e)?e+"":t}function Si(e){var t=e.name;return!(!t||!t.indexOf(li))}function Ci(e){return e&&null!=e.id&&0===ki(e.id).indexOf(ui)}function Ti(e){return ui+e}function Oi(e,t,n){Object(l["k"])(e,(function(e){var r=e.newOption;Object(l["A"])(r)&&(e.keyInfo.mainType=t,e.keyInfo.subType=Li(t,r,e.existing,n))}))}function Li(e,t,n,r){var i=t.type?t.type:n?n.subType:r.determineSubType(e,t);return i}function Ai(e,t){var n={},r={};return i(e||[],n),i(t||[],r,n),[o(n),o(r)];function i(e,t,n){for(var r=0,i=e.length;r<i;r++){var o=Mi(e[r].seriesId,null);if(null==o)return;for(var a=ci(e[r].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(t[o]||(t[o]={}))[c]=1}}}function o(e,t){var n=[];for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r])if(t)n.push(+r);else{var i=o(e[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}function Di(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?Object(l["t"])(t.dataIndex)?Object(l["H"])(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?Object(l["t"])(t.name)?Object(l["H"])(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function Ei(){var e="__ec_inner_"+Ii++;return function(t){return t[e]||(t[e]={})}}var Ii=ii();function ji(e,t,n){var r=Pi(t,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=a,l=n?n.defaultMainType:null;return!i&&l&&o.set(l,{}),o.each((function(t,r){var i=Bi(e,r,t,{useDefault:l===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[r+"Models"]=i.models,s[r+"Model"]=i.models[0]})),s}function Pi(e,t){var n;if(Object(l["C"])(e)){var r={};r[e+"Index"]=0,n=r}else n=e;var i=Object(l["f"])(),o={},a=!1;return Object(l["k"])(n,(function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],u=(r[2]||"").toLowerCase();if(s&&u&&!(t&&t.includeMainTypes&&Object(l["r"])(t.includeMainTypes,s)<0)){a=a||!!s;var c=i.get(s)||i.set(s,{});c[u]=e}}else o[n]=e})),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var Ri={useDefault:!0,enableAll:!1,enableNone:!1},Ni={useDefault:!1,enableAll:!0,enableNone:!0};function Bi(e,t,n,r){r=r||Ri;var i=n.index,o=n.id,a=n.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var u=void 0;return s.models=r.useDefault&&(u=e.getComponent(t))?[u]:[],s}return"none"===i||!1===i?(Object(l["b"])(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===i&&(Object(l["b"])(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=e.queryComponents({mainType:t,index:i,id:o,name:a}),s)}function Yi(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function Fi(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function zi(e){return"auto"===e?s["a"].domSupported?"html":"richText":e||"html"}function Hi(e,t){var n=Object(l["f"])(),r=[];return Object(l["k"])(e,(function(e){var i=t(e);(n.get(i)||(r.push(i),n.set(i,[]))).push(e)})),{keys:r,buckets:n}}function Vi(e,t,n,r,i){var o=null==t||"auto"===t;if(null==r)return r;if(Object(l["z"])(r)){var a=si(n||0,r,i);return Yr(a,o?Math.max(zr(n||0),zr(r)):t)}if(Object(l["C"])(r))return i<1?n:r;for(var s=[],u=n,c=r,d=Math.max(u?u.length:0,c.length),h=0;h<d;++h){var f=e.getDimensionInfo(h);if(f&&"ordinal"===f.type)s[h]=(i<1&&u?u:c)[h];else{var p=u&&u[h]?u[h]:0,m=c[h];a=si(p,m,i);s[h]=Yr(a,o?Math.max(zr(p),zr(m)):t)}}return s}var Wi=".",Ui="___EC__COMPONENT__CONTAINER___",$i="___EC__EXTENDED_CLASS___";function Gi(e){var t={main:"",sub:""};if(e){var n=e.split(Wi);t.main=n[0]||"",t.sub=n[1]||""}return t}function qi(e){l["b"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function Xi(e){return!(!e||!e[$i])}function Ki(e,t){e.$constructor=e,e.extend=function(e){var t,n=this;return Zi(n)?t=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(n):(t=function(){(e.$constructor||n).apply(this,arguments)},l["s"](t,this)),l["m"](t.prototype,e),t[$i]=!0,t.extend=this.extend,t.superCall=to,t.superApply=no,t.superClass=n,t}}function Zi(e){return l["w"](e)&&/^class\s/.test(Function.prototype.toString.call(e))}function Ji(e,t){e.extend=t.extend}var Qi=Math.round(10*Math.random());function eo(e){var t=["__\0is_clz",Qi++].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function to(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function no(e,t,n){return this.superClass.prototype[t].apply(e,n)}function ro(e){var t={};function n(e){var n=t[e.main];return n&&n[Ui]||(n=t[e.main]={},n[Ui]=!0),n}e.registerClass=function(e){var r=e.type||e.prototype.type;if(r){qi(r),e.prototype.type=r;var i=Gi(r);if(i.sub){if(i.sub!==Ui){var o=n(i);o[i.sub]=e}}else t[i.main]=e}return e},e.getClass=function(e,n,r){var i=t[e];if(i&&i[Ui]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){var n=Gi(e),r=[],i=t[n.main];return i&&i[Ui]?l["k"](i,(function(e,t){t!==Ui&&r.push(e)})):r.push(i),r},e.hasClass=function(e){var n=Gi(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return l["k"](t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){var n=Gi(e),r=t[n.main];return r&&r[Ui]}}function io(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(n,r,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(r&&l["r"](r,s)>=0||i&&l["r"](i,s)<0)){var u=n.getShallow(s,t);null!=u&&(o[e[a][0]]=u)}}return o}}var oo=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],ao=io(oo),so=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return ao(this,e,t)},e}(),lo=new Zn["a"](50);function uo(e){if("string"===typeof e){var t=lo.get(e);return t&&t.image}return e}function co(e,t,n,r,i){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var o=lo.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?(t=o.image,!fo(t)&&o.pending.push(a)):(t=Jn["d"].loadImage(e,ho,ho),t.__zrImageSrc=e,lo.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}return e}return t}function ho(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function fo(e){return e&&e.width&&e.height}var po=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function mo(e,t,n,r,i,o){if(!n)return e.text="",void(e.isTruncated=!1);var a=(t+"").split("\n");o=go(n,r,i,o);for(var s=!1,l={},u=0,c=a.length;u<c;u++)vo(l,a[u],o),a[u]=l.textLine,s=s||l.isTruncated;e.text=a.join("\n"),e.isTruncated=s}function go(e,t,n,r){r=r||{};var i=Object(l["m"])({},r);i.font=t,n=Object(l["P"])(n,"..."),i.maxIterations=Object(l["P"])(r.maxIterations,2);var o=i.minChar=Object(l["P"])(r.minChar,0);i.cnCharWidth=er("国",t);var a=i.ascCharWidth=er("a",t);i.placeholder=Object(l["P"])(r.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<o&&s>=a;u++)s-=a;var c=er(n,t);return c>s&&(n="",c=0),s=e-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=s,i.containerWidth=e,i}function vo(e,t,n){var r=n.containerWidth,i=n.font,o=n.contentWidth;if(!r)return e.textLine="",void(e.isTruncated=!1);var a=er(t,i);if(a<=r)return e.textLine=t,void(e.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){t+=n.ellipsis;break}var l=0===s?yo(t,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(t.length*o/a):0;t=t.substr(0,l),a=er(t,i)}""===t&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function yo(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function bo(e,t){null!=e&&(e+="");var n,r=t.overflow,i=t.padding,o=t.font,a="truncate"===r,s=or(o),u=Object(l["P"])(t.lineHeight,s),c=!!t.backgroundColor,d="truncate"===t.lineOverflow,h=!1,f=t.width;n=null==f||"break"!==r&&"breakAll"!==r?e?e.split("\n"):[]:e?Oo(e,t.font,f,"breakAll"===r,0).lines:[];var p=n.length*u,m=Object(l["P"])(t.height,p);if(p>m&&d){var g=Math.floor(m/u);h=h||n.length>g,n=n.slice(0,g)}if(e&&a&&null!=f)for(var v=go(f,o,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),y={},b=0;b<n.length;b++)vo(y,n[b],v),n[b]=y.textLine,h=h||y.isTruncated;var _=m,w=0;for(b=0;b<n.length;b++)w=Math.max(er(n[b],o),w);null==f&&(f=w);var x=w;return i&&(_+=i[0]+i[2],x+=i[1]+i[3],f+=i[1]+i[3]),c&&(x=f),{lines:n,height:m,outerWidth:x,outerHeight:_,lineHeight:u,calculatedLineHeight:s,contentWidth:w,contentHeight:p,width:f,isTruncated:h}}var _o=function(){function e(){}return e}(),wo=function(){function e(e){this.tokens=[],e&&(this.tokens=e)}return e}(),xo=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e}();function ko(e,t){var n=new xo;if(null!=e&&(e+=""),!e)return n;var r,i=t.width,o=t.height,a=t.overflow,s="break"!==a&&"breakAll"!==a||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===a},u=po.lastIndex=0;while(null!=(r=po.exec(e))){var c=r.index;c>u&&Mo(n,e.substring(u,c),t,s),Mo(n,r[2],t,s,r[1]),u=po.lastIndex}u<e.length&&Mo(n,e.substring(u,e.length),t,s);var d=[],h=0,f=0,p=t.padding,m="truncate"===a,g="truncate"===t.lineOverflow,v={};function y(e,t,n){e.width=t,e.lineHeight=n,h+=n,f=Math.max(f,t)}e:for(var b=0;b<n.lines.length;b++){for(var _=n.lines[b],w=0,x=0,k=0;k<_.tokens.length;k++){var M=_.tokens[k],S=M.styleName&&t.rich[M.styleName]||{},C=M.textPadding=S.padding,T=C?C[1]+C[3]:0,O=M.font=S.font||t.font;M.contentHeight=or(O);var L=Object(l["P"])(S.height,M.contentHeight);if(M.innerHeight=L,C&&(L+=C[0]+C[2]),M.height=L,M.lineHeight=Object(l["Q"])(S.lineHeight,t.lineHeight,L),M.align=S&&S.align||t.align,M.verticalAlign=S&&S.verticalAlign||"middle",g&&null!=o&&h+M.lineHeight>o){var A=n.lines.length;k>0?(_.tokens=_.tokens.slice(0,k),y(_,x,w),n.lines=n.lines.slice(0,b+1)):n.lines=n.lines.slice(0,b),n.isTruncated=n.isTruncated||n.lines.length<A;break e}var D=S.width,E=null==D||"auto"===D;if("string"===typeof D&&"%"===D.charAt(D.length-1))M.percentWidth=D,d.push(M),M.contentWidth=er(M.text,O);else{if(E){var I=S.backgroundColor,j=I&&I.image;j&&(j=uo(j),fo(j)&&(M.width=Math.max(M.width,j.width*L/j.height)))}var P=m&&null!=i?i-x:null;null!=P&&P<M.width?!E||P<T?(M.text="",M.width=M.contentWidth=0):(mo(v,M.text,P-T,O,t.ellipsis,{minChar:t.truncateMinChar}),M.text=v.text,n.isTruncated=n.isTruncated||v.isTruncated,M.width=M.contentWidth=er(M.text,O)):M.contentWidth=er(M.text,O)}M.width+=T,x+=M.width,S&&(w=Math.max(w,M.lineHeight))}y(_,x,w)}n.outerWidth=n.width=Object(l["P"])(i,f),n.outerHeight=n.height=Object(l["P"])(o,h),n.contentHeight=h,n.contentWidth=f,p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]);for(b=0;b<d.length;b++){M=d[b];var R=M.percentWidth;M.width=parseInt(R,10)/100*n.width}return n}function Mo(e,t,n,r,i){var o,a,s=""===t,l=i&&n.rich[i]||{},u=e.lines,c=l.font||n.font,d=!1;if(r){var h=l.padding,f=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var p=ar(l.width,r.width)+f;u.length>0&&p+r.accumWidth>r.width&&(o=t.split("\n"),d=!0),r.accumWidth=p}else{var m=Oo(t,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+f,a=m.linesWidths,o=m.lines}}else o=t.split("\n");for(var g=0;g<o.length;g++){var v=o[g],y=new _o;if(y.styleName=i,y.text=v,y.isLineHolder=!v&&!s,"number"===typeof l.width?y.width=l.width:y.width=a?a[g]:er(v,c),g||d)u.push(new wo([y]));else{var b=(u[u.length-1]||(u[0]=new wo)).tokens,_=b.length;1===_&&b[0].isLineHolder?b[0]=y:(v||!_||s)&&b.push(y)}}}function So(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Co=Object(l["N"])(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function To(e){return!So(e)||!!Co[e]}function Oo(e,t,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,d=0;d<e.length;d++){var h=e.charAt(d);if("\n"!==h){var f=er(h,t),p=!r&&!To(h);(o.length?c+f>n:i+c+f>n)?c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=h,u+=f,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=f)):p?(o.push(l),a.push(u),l=h,u=f):(o.push(h),a.push(f)):(c+=f,p?(l+=h,u+=f):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var Lo="__zr_style_"+Math.round(10*Math.random()),Ao={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Do={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ao[Lo]=!0;var Eo=["z","z2","invisible"],Io=["invisible"],jo=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype._init=function(t){for(var n=Object(l["F"])(t),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(t[i]):e.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,t,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&No(this,e,t)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(r&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},t.prototype.contain=function(e,t){return this.rectContain(e,t)},t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.rectContain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,o=r.shadowOffsetX||0,a=r.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new Oe(0,0,0,0)),t?Oe.applyTransform(e,n,t):e.copy(n),(i||o||a)&&(e.width+=2*i+Math.abs(o),e.height+=2*i+Math.abs(a),e.x=Math.min(e.x,e.x+o-i),e.y=Math.min(e.y,e.y+a-i));var s=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-s),e.y=Math.floor(e.y-s),e.width=Math.ceil(e.width+1+2*s),e.height=Math.ceil(e.height+1+2*s))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new Oe(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(t,n){"style"!==t?e.prototype.attrKV.call(this,t,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,t){return"string"===typeof e?this.style[e]=t:Object(l["m"])(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=Je,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Je)},t.prototype.styleUpdated=function(){this.__dirty&=~Je},t.prototype.createStyle=function(e){return Object(l["g"])(Ao,e)},t.prototype.useStyle=function(e){e[Lo]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[Lo]},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,n,Eo)},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,u=!(n&&i);if(n&&n.style?o?i?s=n.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(s,n.style)):u&&(s=r.style),s)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var d=Object(l["F"])(c),h=0;h<d.length;h++){var f=d[h];f in s&&(s[f]=s[f],this.style[f]=c[f])}var p=Object(l["F"])(s);for(h=0;h<p.length;h++){f=p[h];this.style[f]=this.style[f]}this._transitionState(t,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var m=this.__inHover?Io:Eo;for(h=0;h<m.length;h++){f=m[h];n&&null!=n[f]?this[f]=n[f]:u&&null!=r[f]&&(this[f]=r[f])}},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},t.prototype._mergeStyle=function(e,t){return Object(l["m"])(e,t),e},t.prototype.getAnimationStyleProps=function(){return Do},t.initDefaultProps=function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=Ze|Je}(),t}(wr),Po=new Oe(0,0,0,0),Ro=new Oe(0,0,0,0);function No(e,t,n){return Po.copy(e.getBoundingRect()),e.transform&&Po.applyTransform(e.transform),Ro.width=t,Ro.height=n,!Po.intersect(Ro)}var Bo=jo,Yo=Math.min,Fo=Math.max,zo=Math.sin,Ho=Math.cos,Vo=2*Math.PI,Wo=u(),Uo=u(),$o=u();function Go(e,t,n){if(0!==e.length){for(var r=e[0],i=r[0],o=r[0],a=r[1],s=r[1],l=1;l<e.length;l++)r=e[l],i=Yo(i,r[0]),o=Fo(o,r[0]),a=Yo(a,r[1]),s=Fo(s,r[1]);t[0]=i,t[1]=a,n[0]=o,n[1]=s}}function qo(e,t,n,r,i,o){i[0]=Yo(e,n),i[1]=Yo(t,r),o[0]=Fo(e,n),o[1]=Fo(t,r)}var Xo=[],Ko=[];function Zo(e,t,n,r,i,o,a,s,l,u){var c=kt,d=_t,h=c(e,n,i,a,Xo);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<h;f++){var p=d(e,n,i,a,Xo[f]);l[0]=Yo(p,l[0]),u[0]=Fo(p,u[0])}h=c(t,r,o,s,Ko);for(f=0;f<h;f++){var m=d(t,r,o,s,Ko[f]);l[1]=Yo(m,l[1]),u[1]=Fo(m,u[1])}l[0]=Yo(e,l[0]),u[0]=Fo(e,u[0]),l[0]=Yo(a,l[0]),u[0]=Fo(a,u[0]),l[1]=Yo(t,l[1]),u[1]=Fo(t,u[1]),l[1]=Yo(s,l[1]),u[1]=Fo(s,u[1])}function Jo(e,t,n,r,i,o,a,s){var l=At,u=Tt,c=Fo(Yo(l(e,n,i),1),0),d=Fo(Yo(l(t,r,o),1),0),h=u(e,n,i,c),f=u(t,r,o,d);a[0]=Yo(e,i,h),a[1]=Yo(t,o,f),s[0]=Fo(e,i,h),s[1]=Fo(t,o,f)}function Qo(e,t,n,r,i,o,a,s,l){var u=C,c=T,d=Math.abs(i-o);if(d%Vo<1e-4&&d>1e-4)return s[0]=e-n,s[1]=t-r,l[0]=e+n,void(l[1]=t+r);if(Wo[0]=Ho(i)*n+e,Wo[1]=zo(i)*r+t,Uo[0]=Ho(o)*n+e,Uo[1]=zo(o)*r+t,u(s,Wo,Uo),c(l,Wo,Uo),i%=Vo,i<0&&(i+=Vo),o%=Vo,o<0&&(o+=Vo),i>o&&!a?o+=Vo:i<o&&a&&(i+=Vo),a){var h=o;o=i,i=h}for(var f=0;f<o;f+=Math.PI/2)f>i&&($o[0]=Ho(f)*n+e,$o[1]=zo(f)*r+t,u(s,$o,s),c(l,$o,l))}var ea={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ta=[],na=[],ra=[],ia=[],oa=[],aa=[],sa=Math.min,la=Math.max,ua=Math.cos,ca=Math.sin,da=Math.abs,ha=Math.PI,fa=2*ha,pa="undefined"!==typeof Float32Array,ma=[];function ga(e){var t=Math.round(e/ha*1e8)/1e8;return t%2*ha}function va(e,t){var n=ga(e[0]);n<0&&(n+=fa);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=fa?i=n+fa:t&&n-i>=fa?i=n-fa:!t&&n>i?i=n+(fa-ga(n-i)):t&&n<i&&(i=n-(fa-ga(i-n))),e[0]=n,e[1]=i}var ya=function(){function e(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(e,t,n){n=n||0,n>0&&(this._ux=da(n/Pn/e)||0,this._uy=da(n/Pn/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(ea.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=da(e-this._xi),r=da(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(ea.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){return this._drawPendingPt(),this.addData(ea.C,e,t,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(ea.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,o){this._drawPendingPt(),ma[0]=r,ma[1]=i,va(ma,o),r=ma[0],i=ma[1];var a=i-r;return this.addData(ea.A,e,t,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=ua(i)*n+e,this._yi=ca(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(ea.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(ea.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!pa||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},e.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();pa&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},e.prototype.addData=function(e,t,n,r,i,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,pa&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){ra[0]=ra[1]=oa[0]=oa[1]=Number.MAX_VALUE,ia[0]=ia[1]=aa[0]=aa[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,r=0,i=0,o=0;for(e=0;e<this._len;){var a=t[e++],s=1===e;switch(s&&(n=t[e],r=t[e+1],i=n,o=r),a){case ea.M:n=i=t[e++],r=o=t[e++],oa[0]=i,oa[1]=o,aa[0]=i,aa[1]=o;break;case ea.L:qo(n,r,t[e],t[e+1],oa,aa),n=t[e++],r=t[e++];break;case ea.C:Zo(n,r,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],oa,aa),n=t[e++],r=t[e++];break;case ea.Q:Jo(n,r,t[e++],t[e++],t[e],t[e+1],oa,aa),n=t[e++],r=t[e++];break;case ea.A:var l=t[e++],u=t[e++],c=t[e++],d=t[e++],h=t[e++],f=t[e++]+h;e+=1;var p=!t[e++];s&&(i=ua(h)*c+l,o=ca(h)*d+u),Qo(l,u,c,d,h,f,p,oa,aa),n=ua(f)*c+l,r=ca(f)*d+u;break;case ea.R:i=n=t[e++],o=r=t[e++];var m=t[e++],g=t[e++];qo(i,o,i+m,o+g,oa,aa);break;case ea.Z:n=i,r=o;break}C(ra,ra,oa),T(ia,ia,aa)}return 0===e&&(ra[0]=ra[1]=ia[0]=ia[1]=0),new Oe(ra[0],ra[1],ia[0]-ra[0],ia[1]-ra[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,r=this._uy,i=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,d=0;d<t;){var h=e[d++],f=1===d;f&&(i=e[d],o=e[d+1],a=i,s=o);var p=-1;switch(h){case ea.M:i=a=e[d++],o=s=e[d++];break;case ea.L:var m=e[d++],g=e[d++],v=m-i,y=g-o;(da(v)>n||da(y)>r||d===t-1)&&(p=Math.sqrt(v*v+y*y),i=m,o=g);break;case ea.C:var b=e[d++],_=e[d++],w=(m=e[d++],g=e[d++],e[d++]),x=e[d++];p=Ct(i,o,b,_,m,g,w,x,10),i=w,o=x;break;case ea.Q:b=e[d++],_=e[d++],m=e[d++],g=e[d++];p=It(i,o,b,_,m,g,10),i=m,o=g;break;case ea.A:var k=e[d++],M=e[d++],S=e[d++],C=e[d++],T=e[d++],O=e[d++],L=O+T;d+=1,f&&(a=ua(T)*S+k,s=ca(T)*C+M),p=la(S,C)*sa(fa,Math.abs(O)),i=ua(L)*S+k,o=ca(L)*C+M;break;case ea.R:a=i=e[d++],s=o=e[d++];var A=e[d++],D=e[d++];p=2*A+2*D;break;case ea.Z:v=a-i,y=s-o;p=Math.sqrt(v*v+y*y),i=a,o=s;break}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},e.prototype.rebuildPath=function(e,t){var n,r,i,o,a,s,l,u,c,d,h,f=this.data,p=this._ux,m=this._uy,g=this._len,v=t<1,y=0,b=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,c=t*u,c))e:for(var w=0;w<g;){var x=f[w++],k=1===w;switch(k&&(i=f[w],o=f[w+1],n=i,r=o),x!==ea.L&&_>0&&(e.lineTo(d,h),_=0),x){case ea.M:n=i=f[w++],r=o=f[w++],e.moveTo(i,o);break;case ea.L:a=f[w++],s=f[w++];var M=da(a-i),S=da(s-o);if(M>p||S>m){if(v){var C=l[b++];if(y+C>c){var T=(c-y)/C;e.lineTo(i*(1-T)+a*T,o*(1-T)+s*T);break e}y+=C}e.lineTo(a,s),i=a,o=s,_=0}else{var O=M*M+S*S;O>_&&(d=a,h=s,_=O)}break;case ea.C:var L=f[w++],A=f[w++],D=f[w++],E=f[w++],I=f[w++],j=f[w++];if(v){C=l[b++];if(y+C>c){T=(c-y)/C;Mt(i,L,D,I,T,ta),Mt(o,A,E,j,T,na),e.bezierCurveTo(ta[1],na[1],ta[2],na[2],ta[3],na[3]);break e}y+=C}e.bezierCurveTo(L,A,D,E,I,j),i=I,o=j;break;case ea.Q:L=f[w++],A=f[w++],D=f[w++],E=f[w++];if(v){C=l[b++];if(y+C>c){T=(c-y)/C;Dt(i,L,D,T,ta),Dt(o,A,E,T,na),e.quadraticCurveTo(ta[1],na[1],ta[2],na[2]);break e}y+=C}e.quadraticCurveTo(L,A,D,E),i=D,o=E;break;case ea.A:var P=f[w++],R=f[w++],N=f[w++],B=f[w++],Y=f[w++],F=f[w++],z=f[w++],H=!f[w++],V=N>B?N:B,W=da(N-B)>.001,U=Y+F,$=!1;if(v){C=l[b++];y+C>c&&(U=Y+F*(c-y)/C,$=!0),y+=C}if(W&&e.ellipse?e.ellipse(P,R,N,B,z,Y,U,H):e.arc(P,R,V,Y,U,H),$)break e;k&&(n=ua(Y)*N+P,r=ca(Y)*B+R),i=ua(U)*N+P,o=ca(U)*B+R;break;case ea.R:n=i=f[w],r=o=f[w+1],a=f[w++],s=f[w++];var G=f[w++],q=f[w++];if(v){C=l[b++];if(y+C>c){var X=c-y;e.moveTo(a,s),e.lineTo(a+sa(X,G),s),X-=G,X>0&&e.lineTo(a+G,s+sa(X,q)),X-=q,X>0&&e.lineTo(a+la(G-X,0),s+q),X-=G,X>0&&e.lineTo(a,s+la(q-X,0));break e}y+=C}e.rect(a,s,G,q);break;case ea.Z:if(v){C=l[b++];if(y+C>c){T=(c-y)/C;e.lineTo(i*(1-T)+n*T,o*(1-T)+r*T);break e}y+=C}e.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=ea,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}(),ba=ya;function _a(e,t,n,r,i,o,a){if(0===i)return!1;var s=i,l=0,u=e;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;l=(t-r)/(e-n),u=(e*r-n*t)/(e-n);var c=l*o-a+u,d=c*c/(l*l+1);return d<=s/2*s/2}function wa(e,t,n,r,i,o,a,s,l,u,c){if(0===l)return!1;var d=l;if(c>t+d&&c>r+d&&c>o+d&&c>s+d||c<t-d&&c<r-d&&c<o-d&&c<s-d||u>e+d&&u>n+d&&u>i+d&&u>a+d||u<e-d&&u<n-d&&u<i-d&&u<a-d)return!1;var h=St(e,t,n,r,i,o,a,s,u,c,null);return h<=d/2}function xa(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;if(l>t+u&&l>r+u&&l>o+u||l<t-u&&l<r-u&&l<o-u||s>e+u&&s>n+u&&s>i+u||s<e-u&&s<n-u&&s<i-u)return!1;var c=Et(e,t,n,r,i,o,s,l,null);return c<=u/2}var ka=2*Math.PI;function Ma(e){return e%=ka,e<0&&(e+=ka),e}var Sa=2*Math.PI;function Ca(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(r-i)%Sa<1e-4)return!0;if(o){var d=r;r=Ma(i),i=Ma(d)}else r=Ma(r),i=Ma(i);r>i&&(i+=Sa);var h=Math.atan2(l,s);return h<0&&(h+=Sa),h>=r&&h<=i||h+Sa>=r&&h+Sa<=i}function Ta(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r)return 0;if(r===t)return 0;var a=(o-t)/(r-t),s=r<t?1:-1;1!==a&&0!==a||(s=r<t?.5:-.5);var l=a*(n-e)+e;return l===i?1/0:l>i?s:0}var Oa=ba.CMD,La=2*Math.PI,Aa=1e-4;function Da(e,t){return Math.abs(e-t)<Aa}var Ea=[-1,-1,-1],Ia=[-1,-1];function ja(){var e=Ia[0];Ia[0]=Ia[1],Ia[1]=e}function Pa(e,t,n,r,i,o,a,s,l,u){if(u>t&&u>r&&u>o&&u>s||u<t&&u<r&&u<o&&u<s)return 0;var c=xt(t,r,o,s,u,Ea);if(0===c)return 0;for(var d=0,h=-1,f=void 0,p=void 0,m=0;m<c;m++){var g=Ea[m],v=0===g||1===g?.5:1,y=_t(e,n,i,a,g);y<l||(h<0&&(h=kt(t,r,o,s,Ia),Ia[1]<Ia[0]&&h>1&&ja(),f=_t(t,r,o,s,Ia[0]),h>1&&(p=_t(t,r,o,s,Ia[1]))),2===h?g<Ia[0]?d+=f<t?v:-v:g<Ia[1]?d+=p<f?v:-v:d+=s<p?v:-v:g<Ia[0]?d+=f<t?v:-v:d+=s<f?v:-v)}return d}function Ra(e,t,n,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var l=Lt(t,r,o,s,Ea);if(0===l)return 0;var u=At(t,r,o);if(u>=0&&u<=1){for(var c=0,d=Tt(t,r,o,u),h=0;h<l;h++){var f=0===Ea[h]||1===Ea[h]?.5:1,p=Tt(e,n,i,Ea[h]);p<a||(Ea[h]<u?c+=d<t?f:-f:c+=o<d?f:-f)}return c}f=0===Ea[0]||1===Ea[0]?.5:1,p=Tt(e,n,i,Ea[0]);return p<a?0:o<t?f:-f}function Na(e,t,n,r,i,o,a,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Ea[0]=-l,Ea[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=La-1e-4){r=0,i=La;var c=o?1:-1;return a>=Ea[0]+e&&a<=Ea[1]+e?c:0}if(r>i){var d=r;r=i,i=d}r<0&&(r+=La,i+=La);for(var h=0,f=0;f<2;f++){var p=Ea[f];if(p+e>a){var m=Math.atan2(s,p);c=o?1:-1;m<0&&(m=La+m),(m>=r&&m<=i||m+La>=r&&m+La<=i)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),h+=c)}}return h}function Ba(e,t,n,r,i){for(var o,a,s=e.data,l=e.len(),u=0,c=0,d=0,h=0,f=0,p=0;p<l;){var m=s[p++],g=1===p;switch(m===Oa.M&&p>1&&(n||(u+=Ta(c,d,h,f,r,i))),g&&(c=s[p],d=s[p+1],h=c,f=d),m){case Oa.M:h=s[p++],f=s[p++],c=h,d=f;break;case Oa.L:if(n){if(_a(c,d,s[p],s[p+1],t,r,i))return!0}else u+=Ta(c,d,s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case Oa.C:if(n){if(wa(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],t,r,i))return!0}else u+=Pa(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case Oa.Q:if(n){if(xa(c,d,s[p++],s[p++],s[p],s[p+1],t,r,i))return!0}else u+=Ra(c,d,s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case Oa.A:var v=s[p++],y=s[p++],b=s[p++],_=s[p++],w=s[p++],x=s[p++];p+=1;var k=!!(1-s[p++]);o=Math.cos(w)*b+v,a=Math.sin(w)*_+y,g?(h=o,f=a):u+=Ta(c,d,o,a,r,i);var M=(r-v)*_/b+v;if(n){if(Ca(v,y,_,w,w+x,k,t,M,i))return!0}else u+=Na(v,y,_,w,w+x,k,M,i);c=Math.cos(w+x)*b+v,d=Math.sin(w+x)*_+y;break;case Oa.R:h=c=s[p++],f=d=s[p++];var S=s[p++],C=s[p++];if(o=h+S,a=f+C,n){if(_a(h,f,o,f,t,r,i)||_a(o,f,o,a,t,r,i)||_a(o,a,h,a,t,r,i)||_a(h,a,h,f,t,r,i))return!0}else u+=Ta(o,f,o,a,r,i),u+=Ta(h,a,h,f,r,i);break;case Oa.Z:if(n){if(_a(c,d,h,f,t,r,i))return!0}else u+=Ta(c,d,h,f,r,i);c=h,d=f;break}}return n||Da(d,f)||(u+=Ta(c,d,h,f,r,i)||0),0!==u}function Ya(e,t,n){return Ba(e,0,!1,t,n)}function Fa(e,t,n,r){return Ba(e,t,!0,n,r)}var za=Object(l["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ao),Ha={style:Object(l["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Do.style)},Va=qn.concat(["invisible","culling","z","z2","zlevel","parent"]),Wa=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<Va.length;++s)i[Va[s]]=this[Va[s]];i.__dirty|=Ze}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=Object(l["F"])(t);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=t[o];"style"===o?this.style?Object(l["m"])(this.style,a):this.useStyle(a):"shape"===o?Object(l["m"])(this.shape,a):e.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if(Object(l["C"])(e)){var t=Object(Bt["e"])(e,0);return t>.5?Nn:t>.2?Yn:Bn}if(e)return Bn}return Nn},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(Object(l["C"])(t)){var n=this.__zr,r=!(!n||!n.isDarkMode()),i=Object(Bt["e"])(e,0)<Rn;if(r===i)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=~Qe},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new ba(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&Qe)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){o.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),Fa(o,a/s,e,t)))return!0}if(this.hasFill())return Ya(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Qe,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"===typeof e?n[e]=t:Object(l["m"])(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Qe)},t.prototype.createStyle=function(e){return Object(l["g"])(za,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=Object(l["m"])({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,u=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=Object(l["m"])({},r.shape),Object(l["m"])(s,n.shape)):(s=Object(l["m"])({},i?this.shape:r.shape),Object(l["m"])(s,n.shape)):u&&(s=r.shape),s)if(o){this.shape=Object(l["m"])({},this.shape);for(var c={},d=Object(l["F"])(s),h=0;h<d.length;h++){var f=d[h];"object"===typeof s[f]?this.shape[f]=s[f]:c[f]=s[f]}this._transitionState(t,{shape:c},a)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},t.prototype.getAnimationStyleProps=function(){return Ha},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var r=t.call(this,n)||this;return e.init&&e.init.call(r,n),r}return a(n,t),n.prototype.getDefaultStyle=function(){return Object(l["d"])(e.style)},n.prototype.getDefaultShape=function(){return Object(l["d"])(e.shape)},n}(t);for(var r in e)"function"===typeof e[r]&&(n.prototype[r]=e[r]);return n},t.initDefaultProps=function(){var e=t.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=Ze|Je|Qe}(),t}(Bo),Ua=Wa,$a=Object(l["i"])({strokeFirst:!0,font:Jn["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},za),Ga=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.createStyle=function(e){return Object(l["g"])($a,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=nr(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(Bo);Ga.prototype.type="tspan";var qa=Ga,Xa=Object(l["i"])({x:0,y:0},Ao),Ka={style:Object(l["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Do.style)};function Za(e){return!!(e&&"string"!==typeof e&&e.width&&e.height)}var Ja=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.createStyle=function(e){return Object(l["g"])(Xa,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r=Za(t.image)?t.image:this.__image;if(!r)return 0;var i="width"===e?"height":"width",o=t[i];return null==o?r[e]:r[e]/r[i]*o},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Ka},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new Oe(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Bo);Ja.prototype.type="image";var Qa=Ja;function es(e,t){var n,r,i,o,a,s=t.x,l=t.y,u=t.width,c=t.height,d=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof d?n=r=i=o=d:d instanceof Array?1===d.length?n=r=i=o=d[0]:2===d.length?(n=i=d[0],r=o=d[1]):3===d.length?(n=d[0],r=o=d[1],i=d[2]):(n=d[0],r=d[1],i=d[2],o=d[3]):n=r=i=o=0,n+r>u&&(a=n+r,n*=u/a,r*=u/a),i+o>u&&(a=i+o,i*=u/a,o*=u/a),r+i>c&&(a=r+i,r*=c/a,i*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),e.moveTo(s+n,l),e.lineTo(s+u-r,l),0!==r&&e.arc(s+u-r,l+r,r,-Math.PI/2,0),e.lineTo(s+u,l+c-i),0!==i&&e.arc(s+u-i,l+c-i,i,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var ts=Math.round;function ns(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var s=n&&n.lineWidth;return s?(ts(2*r)===ts(2*i)&&(e.x1=e.x2=is(r,s,!0)),ts(2*o)===ts(2*a)&&(e.y1=e.y2=is(o,s,!0)),e):e}}function rs(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var s=n&&n.lineWidth;return s?(e.x=is(r,s,!0),e.y=is(i,s,!0),e.width=Math.max(is(r+o,s,!1)-e.x,0===o?0:1),e.height=Math.max(is(i+a,s,!1)-e.y,0===a?0:1),e):e}}function is(e,t,n){if(!t)return e;var r=ts(2*e);return(r+ts(t))%2===0?r/2:(r+(n?1:-1))/2}var os=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),as={},ss=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new os},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=rs(as,t,this.style);n=a.x,r=a.y,i=a.width,o=a.height,a.r=t.r,t=a}else n=t.x,r=t.y,i=t.width,o=t.height;t.r?es(e,t):e.rect(n,r,i,o)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Ua);ss.prototype.type="rect";var ls=ss,us={fill:"#000"},cs=2,ds={style:Object(l["i"])({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Do.style)},hs=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=us,n.attr(t),n}return a(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var n=this._children[t];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(t){var n=this.innerTransformable;return n?n.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,bs(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=t},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new Oe(0,0,0,0),t=this._children,n=[],r=null,i=0;i<t.length;i++){var o=t[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(e.copy(a),e.applyTransform(s),r=r||e.clone(),r.union(e)):(r=r||a.clone(),r.union(a))}this._rect=r||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||us},t.prototype.setTextContent=function(e){0},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,r=e.rich||n&&{};return Object(l["m"])(e,t),n&&r?(this._mergeRich(r,n),e.rich=r):r&&(e.rich=r),e},t.prototype._mergeRich=function(e,t){for(var n=Object(l["F"])(t),r=0;r<n.length;r++){var i=n[r];e[i]=e[i]||{},Object(l["m"])(e[i],t[i])}},t.prototype.getAnimationStyleProps=function(){return ds},t.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),this._children[this._childCursor++]=t,t.__zr=this.__zr,t.parent=this,t},t.prototype._updatePlainTexts=function(){var e=this.style,t=e.font||Jn["a"],n=e.padding,r=Ms(e),i=bo(r,e),o=Ss(e),a=!!e.backgroundColor,s=i.outerHeight,l=i.outerWidth,u=i.contentWidth,c=i.lines,d=i.lineHeight,h=this._defaultStyle;this.isTruncated=!!i.isTruncated;var f=e.x||0,p=e.y||0,m=e.align||h.align||"left",g=e.verticalAlign||h.verticalAlign||"top",v=f,y=ir(p,i.contentHeight,g);if(o||n){var b=rr(f,l,m),_=ir(p,s,g);o&&this._renderBackground(e,e,b,_,l,s)}y+=d/2,n&&(v=ks(f,m,n),"top"===g?y+=n[0]:"bottom"===g&&(y-=n[2]));for(var w=0,x=!1,k=(xs("fill"in e?e.fill:(x=!0,h.fill))),M=(ws("stroke"in e?e.stroke:a||h.autoStroke&&!x?null:(w=cs,h.stroke))),S=e.textShadowBlur>0,C=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),T=i.calculatedLineHeight,O=0;O<c.length;O++){var L=this._getOrCreateChild(qa),A=L.createStyle();L.useStyle(A),A.text=c[O],A.x=v,A.y=y,m&&(A.textAlign=m),A.textBaseline="middle",A.opacity=e.opacity,A.strokeFirst=!0,S&&(A.shadowBlur=e.textShadowBlur||0,A.shadowColor=e.textShadowColor||"transparent",A.shadowOffsetX=e.textShadowOffsetX||0,A.shadowOffsetY=e.textShadowOffsetY||0),A.stroke=M,A.fill=k,M&&(A.lineWidth=e.lineWidth||w,A.lineDash=e.lineDash,A.lineDashOffset=e.lineDashOffset||0),A.font=t,vs(A,e),y+=d,C&&L.setBoundingRect(new Oe(rr(A.x,u,A.textAlign),ir(A.y,T,A.textBaseline),u,T))}},t.prototype._updateRichTexts=function(){var e=this.style,t=Ms(e),n=ko(t,e),r=n.width,i=n.outerWidth,o=n.outerHeight,a=e.padding,s=e.x||0,l=e.y||0,u=this._defaultStyle,c=e.align||u.align,d=e.verticalAlign||u.verticalAlign;this.isTruncated=!!n.isTruncated;var h=rr(s,i,c),f=ir(l,o,d),p=h,m=f;a&&(p+=a[3],m+=a[0]);var g=p+r;Ss(e)&&this._renderBackground(e,e,h,f,i,o);for(var v=!!e.backgroundColor,y=0;y<n.lines.length;y++){var b=n.lines[y],_=b.tokens,w=_.length,x=b.lineHeight,k=b.width,M=0,S=p,C=g,T=w-1,O=void 0;while(M<w&&(O=_[M],!O.align||"left"===O.align))this._placeToken(O,e,x,m,S,"left",v),k-=O.width,S+=O.width,M++;while(T>=0&&(O=_[T],"right"===O.align))this._placeToken(O,e,x,m,C,"right",v),k-=O.width,C-=O.width,T--;S+=(r-(S-p)-(g-C)-k)/2;while(M<=T)O=_[M],this._placeToken(O,e,x,m,S+O.width/2,"center",v),S+=O.width,M++;m+=x}},t.prototype._placeToken=function(e,t,n,r,i,o,a){var s=t.rich[e.styleName]||{};s.text=e.text;var u=e.verticalAlign,c=r+n/2;"top"===u?c=r+e.height/2:"bottom"===u&&(c=r+n-e.height/2);var d=!e.isLineHolder&&Ss(s);d&&this._renderBackground(s,t,"right"===o?i-e.width:"center"===o?i-e.width/2:i,c-e.height/2,e.width,e.height);var h=!!s.backgroundColor,f=e.textPadding;f&&(i=ks(i,o,f),c-=e.height/2-f[0]-e.innerHeight/2);var p=this._getOrCreateChild(qa),m=p.createStyle();p.useStyle(m);var g=this._defaultStyle,v=!1,y=0,b=xs("fill"in s?s.fill:"fill"in t?t.fill:(v=!0,g.fill)),_=ws("stroke"in s?s.stroke:"stroke"in t?t.stroke:h||a||g.autoStroke&&!v?null:(y=cs,g.stroke)),w=s.textShadowBlur>0||t.textShadowBlur>0;m.text=e.text,m.x=i,m.y=c,w&&(m.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,m.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",m.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,m.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),m.textAlign=o,m.textBaseline="middle",m.font=e.font||Jn["a"],m.opacity=Object(l["Q"])(s.opacity,t.opacity,1),vs(m,s),_&&(m.lineWidth=Object(l["Q"])(s.lineWidth,t.lineWidth,y),m.lineDash=Object(l["P"])(s.lineDash,t.lineDash),m.lineDashOffset=t.lineDashOffset||0,m.stroke=_),b&&(m.fill=b);var x=e.contentWidth,k=e.contentHeight;p.setBoundingRect(new Oe(rr(m.x,x,m.textAlign),ir(m.y,k,m.textBaseline),x,k))},t.prototype._renderBackground=function(e,t,n,r,i,o){var a,s,u=e.backgroundColor,c=e.borderWidth,d=e.borderColor,h=u&&u.image,f=u&&!h,p=e.borderRadius,m=this;if(f||e.lineHeight||c&&d){a=this._getOrCreateChild(ls),a.useStyle(a.createStyle()),a.style.fill=null;var g=a.shape;g.x=n,g.y=r,g.width=i,g.height=o,g.r=p,a.dirtyShape()}if(f){var v=a.style;v.fill=u||null,v.fillOpacity=Object(l["P"])(e.fillOpacity,1)}else if(h){s=this._getOrCreateChild(Qa),s.onload=function(){m.dirtyStyle()};var y=s.style;y.image=u.image,y.x=n,y.y=r,y.width=i,y.height=o}if(c&&d){v=a.style;v.lineWidth=c,v.stroke=d,v.strokeOpacity=Object(l["P"])(e.strokeOpacity,1),v.lineDash=e.borderDash,v.lineDashOffset=e.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(v.strokeFirst=!0,v.lineWidth*=2)}var b=(a||s).style;b.shadowBlur=e.shadowBlur||0,b.shadowColor=e.shadowColor||"transparent",b.shadowOffsetX=e.shadowOffsetX||0,b.shadowOffsetY=e.shadowOffsetY||0,b.opacity=Object(l["Q"])(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return ys(e)&&(t=[e.fontStyle,e.fontWeight,gs(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(l["T"])(t)||e.textFont||e.font},t}(Bo),fs={left:!0,right:1,center:1},ps={top:1,bottom:1,middle:1},ms=["fontStyle","fontWeight","fontSize","fontFamily"];function gs(e){return"string"!==typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?Jn["c"]+"px":e+"px":e}function vs(e,t){for(var n=0;n<ms.length;n++){var r=ms[n],i=t[r];null!=i&&(e[r]=i)}}function ys(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function bs(e){return _s(e),Object(l["k"])(e.rich,_s),e}function _s(e){if(e){e.font=hs.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||fs[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||ps[n]?n:"top";var r=e.padding;r&&(e.padding=Object(l["M"])(e.padding))}}function ws(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function xs(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function ks(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function Ms(e){var t=e.text;return null!=t&&(t+=""),t}function Ss(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var Cs=hs,Ts=Ei(),Os=function(e,t,n,r){if(r){var i=Ts(r);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,i.ssrType="chart","group"===r.type&&r.traverse((function(r){var i=Ts(r);i.seriesIndex=e,i.dataIndex=n,i.dataType=t,i.ssrType="chart"}))}},Ls=1,As={},Ds=Ei(),Es=Ei(),Is=0,js=1,Ps=2,Rs=["emphasis","blur","select"],Ns=["normal","emphasis","blur","select"],Bs=10,Ys=9,Fs="highlight",zs="downplay",Hs="select",Vs="unselect",Ws="toggleSelect";function Us(e){return null!=e&&"none"!==e}function $s(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function Gs(e){$s(e,"emphasis",Ps)}function qs(e){e.hoverState===Ps&&$s(e,"normal",Is)}function Xs(e){$s(e,"blur",js)}function Ks(e){e.hoverState===js&&$s(e,"normal",Is)}function Zs(e){e.selected=!0}function Js(e){e.selected=!1}function Qs(e,t,n){t(e,n)}function el(e,t,n){Qs(e,t,n),e.isGroup&&e.traverse((function(e){Qs(e,t,n)}))}function tl(e,t){switch(t){case"emphasis":e.hoverState=Ps;break;case"normal":e.hoverState=Is;break;case"blur":e.hoverState=js;break;case"select":e.selected=!0}}function nl(e,t,n,r){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(a=0;a<e.animators.length;a++){var u=e.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,t)}return o}function rl(e,t,n,r){var i=n&&Object(l["r"])(n,"select")>=0,o=!1;if(e instanceof Ua){var a=Ds(e),s=i&&a.selectFill||a.normalFill,u=i&&a.selectStroke||a.normalStroke;if(Us(s)||Us(u)){r=r||{};var c=r.style||{};"inherit"===c.fill?(o=!0,r=Object(l["m"])({},r),c=Object(l["m"])({},c),c.fill=s):!Us(c.fill)&&Us(s)?(o=!0,r=Object(l["m"])({},r),c=Object(l["m"])({},c),c.fill=Object(Bt["d"])(s)):!Us(c.stroke)&&Us(u)&&(o||(r=Object(l["m"])({},r),c=Object(l["m"])({},c)),c.stroke=Object(Bt["d"])(u)),r.style=c}}if(r&&null==r.z2){o||(r=Object(l["m"])({},r));var d=e.z2EmphasisLift;r.z2=e.z2+(null!=d?d:Bs)}return r}function il(e,t,n){if(n&&null==n.z2){n=Object(l["m"])({},n);var r=e.z2SelectLift;n.z2=e.z2+(null!=r?r:Ys)}return n}function ol(e,t,n){var r=Object(l["r"])(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:nl(e,["opacity"],t,{opacity:1});n=n||{};var a=n.style||{};return null==a.opacity&&(n=Object(l["m"])({},n),a=Object(l["m"])({opacity:r?i:.1*o.opacity},a),n.style=a),n}function al(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return rl(this,e,t,n);if("blur"===e)return ol(this,e,n);if("select"===e)return il(this,e,n)}return n}function sl(e){e.stateProxy=al;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=al),n&&(n.stateProxy=al)}function ll(e,t){!gl(e,t)&&!e.__highByOuter&&el(e,Gs)}function ul(e,t){!gl(e,t)&&!e.__highByOuter&&el(e,qs)}function cl(e,t){e.__highByOuter|=1<<(t||0),el(e,Gs)}function dl(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&el(e,qs)}function hl(e){el(e,Xs)}function fl(e){el(e,Ks)}function pl(e){el(e,Zs)}function ml(e){el(e,Js)}function gl(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function vl(e){var t=e.getModel(),n=[],r=[];t.eachComponent((function(t,i){var o=Es(i),a="series"===t,s=a?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(e){Ks(e)})),a&&n.push(i)),o.isBlured=!1})),Object(l["k"])(r,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function yl(e,t,n,r){var i=r.getModel();function o(e,t){for(var n=0;n<t.length;n++){var r=e.getItemGraphicEl(t[n]);r&&fl(r)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var a=i.getSeriesByIndex(e),s=a.coordinateSystem;s&&s.master&&(s=s.master);var u=[];i.eachSeries((function(e){var i=a===e,c=e.coordinateSystem;c&&c.master&&(c=c.master);var d=c&&s?c===s:i;if(!("series"===n&&!i||"coordinateSystem"===n&&!d||"series"===t&&i)){var h=r.getViewOfSeriesModel(e);if(h.group.traverse((function(e){e.__highByOuter&&i&&"self"===t||Xs(e)})),Object(l["u"])(t))o(e.getData(),t);else if(Object(l["A"])(t))for(var f=Object(l["F"])(t),p=0;p<f.length;p++)o(e.getData(f[p]),t[f[p]]);u.push(e),Es(e).isBlured=!0}})),i.eachComponent((function(e,t){if("series"!==e){var n=r.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,i)}}))}}function bl(e,t,n){if(null!=e&&null!=t){var r=n.getModel().getComponent(e,t);if(r){Es(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse((function(e){Xs(e)}))}}}function _l(e,t,n){var r=e.seriesIndex,i=e.getData(t.dataType);if(i){var o=Di(i,t);o=(Object(l["t"])(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a){var s=i.count(),u=0;while(!a&&u<s)a=i.getItemGraphicEl(u++)}if(a){var c=Ts(a);yl(r,c.focus,c.blurScope,n)}else{var d=e.get(["emphasis","focus"]),h=e.get(["emphasis","blurScope"]);null!=d&&yl(r,d,h,n)}}}function wl(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return i;var o=r.getModel().getComponent(e,t);if(!o)return i;var a=r.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===Ts(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function xl(e,t,n){var r=Ts(e),i=wl(r.componentMainType,r.componentIndex,r.componentHighDownName,n),o=i.dispatchers,a=i.focusSelf;o?(a&&bl(r.componentMainType,r.componentIndex,n),Object(l["k"])(o,(function(e){return ll(e,t)}))):(yl(r.seriesIndex,r.focus,r.blurScope,n),"self"===r.focus&&bl(r.componentMainType,r.componentIndex,n),ll(e,t))}function kl(e,t,n){vl(n);var r=Ts(e),i=wl(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?Object(l["k"])(i,(function(e){return ul(e,t)})):ul(e,t)}function Ml(e,t,n){if(Bl(t)){var r=t.dataType,i=e.getData(r),o=Di(i,t);Object(l["t"])(o)||(o=[o]),e[t.type===Ws?"toggleSelect":t.type===Hs?"select":"unselect"](o,r)}}function Sl(e){var t=e.getAllData();Object(l["k"])(t,(function(t){var n=t.data,r=t.type;n.eachItemGraphicEl((function(t,n){e.isSelected(n,r)?pl(t):ml(t)}))}))}function Cl(e){var t=[];return e.eachSeries((function(e){var n=e.getAllData();Object(l["k"])(n,(function(n){n.data;var r=n.type,i=e.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}}))})),t}function Tl(e,t,n){jl(e,!0),el(e,sl),Al(e,t,n)}function Ol(e){jl(e,!1)}function Ll(e,t,n,r){r?Ol(e):Tl(e,t,n)}function Al(e,t,n){var r=Ts(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var Dl=["emphasis","blur","select"],El={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Il(e,t,n,r){n=n||"itemStyle";for(var i=0;i<Dl.length;i++){var o=Dl[i],a=t.getModel([o,n]),s=e.ensureState(o);s.style=r?r(a):a[El[n]]()}}function jl(e,t){var n=!1===t,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function Pl(e){return!(!e||!e.__highDownDispatcher)}function Rl(e,t,n){var r=Ts(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}function Nl(e){var t=As[e];return null==t&&Ls<=32&&(t=As[e]=Ls++),t}function Bl(e){var t=e.type;return t===Hs||t===Vs||t===Ws}function Yl(e){var t=e.type;return t===Fs||t===zs}function Fl(e){var t=Ds(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}var zl=Ei();function Hl(e,t,n,r,i){var o;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();o=a&&a.animation}var s=t&&t.isAnimationEnabled(),u="update"===e;if(s){var c=void 0,d=void 0,h=void 0;r?(c=Object(l["P"])(r.duration,200),d=Object(l["P"])(r.easing,"cubicOut"),h=0):(c=t.getShallow(u?"animationDurationUpdate":"animationDuration"),d=t.getShallow(u?"animationEasingUpdate":"animationEasing"),h=t.getShallow(u?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(c=o.duration),null!=o.easing&&(d=o.easing),null!=o.delay&&(h=o.delay)),Object(l["w"])(h)&&(h=h(n,i)),Object(l["w"])(c)&&(c=c(n));var f={duration:c||0,delay:h,easing:d};return f}return null}function Vl(e,t,n,r,i,o,a){var s,u=!1;Object(l["w"])(i)?(a=o,o=i,i=null):Object(l["A"])(i)&&(o=i.cb,a=i.during,u=i.isFrom,s=i.removeOpt,i=i.dataIndex);var c="leave"===e;c||t.stopAnimation("leave");var d=Hl(e,r,i,c?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null);if(d&&d.duration>0){var h=d.duration,f=d.delay,p=d.easing,m={duration:h,delay:f||0,easing:p,done:o,force:!!o||!!a,setToFinal:!c,scope:e,during:a};u?t.animateFrom(n,m):t.animateTo(n,m)}else t.stopAnimation(),!u&&t.attr(n),a&&a(1),o&&o()}function Wl(e,t,n,r,i,o){Vl("update",e,t,n,r,i,o)}function Ul(e,t,n,r,i,o){Vl("enter",e,t,n,r,i,o)}function $l(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var n=e.animators[t];if("leave"===n.scope)return!0}return!1}function Gl(e,t,n,r,i,o){$l(e)||Vl("leave",e,t,n,r,i,o)}function ql(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),Gl(e,{style:{opacity:0}},t,n,r)}function Xl(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||ql(e,t,n,r)})):ql(e,t,n,r)}function Kl(e){zl(e).oldStyle=e.style}function Zl(e){return zl(e).oldStyle}var Jl={};function Ql(e,t){for(var n=0;n<Rs.length;n++){var r=Rs[n],i=t[r],o=e.ensureState(r);o.style=o.style||{},o.style.text=i}var a=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(a,!0)}function eu(e,t,n){var r,i=e.labelFetcher,o=e.labelDataIndex,a=e.labelDimIndex,s=t.normal;i&&(r=i.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=Object(l["w"])(e.defaultText)?e.defaultText(o,e,n):e.defaultText);for(var u={normal:r},c=0;c<Rs.length;c++){var d=Rs[c],h=t[d];u[d]=Object(l["P"])(i?i.getFormattedLabel(o,d,null,a,h&&h.get("formatter")):null,r)}return u}function tu(e,t,n,r){n=n||Jl;for(var i=e instanceof Cs,o=!1,a=0;a<Ns.length;a++){var s=t[Ns[a]];if(s&&s.getShallow("show")){o=!0;break}}var u=i?e:e.getTextContent();if(o){i||(u||(u=new Cs,e.setTextContent(u)),e.stateProxy&&(u.stateProxy=e.stateProxy));var c=eu(n,t),d=t.normal,h=!!d.getShallow("show"),f=ru(d,r&&r.normal,n,!1,!i);f.text=c.normal,i||e.setTextConfig(iu(d,n,!1));for(a=0;a<Rs.length;a++){var p=Rs[a];s=t[p];if(s){var m=u.ensureState(p),g=!!Object(l["P"])(s.getShallow("show"),h);if(g!==h&&(m.ignore=!g),m.style=ru(s,r&&r[p],n,!0,!i),m.style.text=c[p],!i){var v=e.ensureState(p);v.textConfig=iu(s,n,!0)}}}u.silent=!!d.getShallow("silent"),null!=u.style.x&&(f.x=u.style.x),null!=u.style.y&&(f.y=u.style.y),u.ignore=!h,u.useStyle(f),u.dirty(),n.enableTextSetter&&(hu(u).setLabelText=function(e){var r=eu(n,t,e);Ql(u,r)})}else u&&(u.ignore=!0);e.dirty()}function nu(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<Rs.length;r++){var i=Rs[r];n[i]=e.getModel([i,t])}return n}function ru(e,t,n,r,i){var o={};return ou(o,e,n,r,i),t&&Object(l["m"])(o,t),o}function iu(e,t,n){t=t||{};var r,i={},o=e.getShallow("rotate"),a=Object(l["P"])(e.getShallow("distance"),n?null:5),s=e.getShallow("offset");return r=e.getShallow("position")||(n?null:"inside"),"outside"===r&&(r=t.defaultOutsidePosition||"top"),null!=r&&(i.position=r),null!=s&&(i.offset=s),null!=o&&(o*=Math.PI/180,i.rotation=o),null!=a&&(i.distance=a),i.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",i}function ou(e,t,n,r,i){n=n||Jl;var o,a=t.ecModel,s=a&&a.option.textStyle,l=au(t);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=t.getModel(["rich",u]);cu(o[u]={},c,s,n,r,i,!1,!0)}o&&(e.rich=o);var d=t.get("overflow");d&&(e.overflow=d);var h=t.get("minMargin");null!=h&&(e.margin=h),cu(e,t,s,n,r,i,!0,!1)}function au(e){var t;while(e&&e!==e.ecModel){var n=(e.option||Jl).rich;if(n){t=t||{};for(var r=Object(l["F"])(n),i=0;i<r.length;i++){var o=r[i];t[o]=1}}e=e.parentModel}return t}var su=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],lu=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],uu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function cu(e,t,n,r,i,o,a,s){n=!i&&n||Jl;var u=r&&r.inheritColor,c=t.getShallow("color"),d=t.getShallow("textBorderColor"),h=Object(l["P"])(t.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=u||null),"inherit"!==d&&"auto"!==d||(d=u||null),o||(c=c||n.color,d=d||n.textBorderColor),null!=c&&(e.fill=c),null!=d&&(e.stroke=d);var f=Object(l["P"])(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=f&&(e.lineWidth=f);var p=Object(l["P"])(t.getShallow("textBorderType"),n.textBorderType);null!=p&&(e.lineDash=p);var m=Object(l["P"])(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=m&&(e.lineDashOffset=m),i||null!=h||s||(h=r&&r.defaultOpacity),null!=h&&(e.opacity=h),i||o||null==e.fill&&r.inheritColor&&(e.fill=r.inheritColor);for(var g=0;g<su.length;g++){var v=su[g],y=Object(l["P"])(t.getShallow(v),n[v]);null!=y&&(e[v]=y)}for(g=0;g<lu.length;g++){v=lu[g],y=t.getShallow(v);null!=y&&(e[v]=y)}if(null==e.verticalAlign){var b=t.getShallow("baseline");null!=b&&(e.verticalAlign=b)}if(!a||!r.disableBox){for(g=0;g<uu.length;g++){v=uu[g],y=t.getShallow(v);null!=y&&(e[v]=y)}var _=t.getShallow("borderType");null!=_&&(e.borderDash=_),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!u||(e.backgroundColor=u),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!u||(e.borderColor=u)}}function du(e,t){var n=t&&t.getModel("textStyle");return Object(l["T"])([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var hu=Ei();function fu(e,t,n,r){if(e){var i=hu(e);i.prevValue=i.value,i.value=n;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=t)}}function pu(e,t,n,r,i){var o=hu(e);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=Object(l["P"])(o.interpolatedValue,o.prevValue),u=o.value;e.percent=0,(null==o.prevValue?Ul:Wl)(e,{percent:1},r,t,null,c)}function c(r){var l=Vi(n,o.precision,s,u,r);o.interpolatedValue=1===r?null:l;var c=eu({labelDataIndex:t,labelFetcher:i,defaultText:a?a(l):l+""},o.statesModels,l);Ql(e,c)}}var mu=["textStyle","color"],gu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],vu=new Cs,yu=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(mu):null)},e.prototype.getFont=function(){return du({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<gu.length;n++)t[gu[n]]=this.getShallow(gu[n]);return vu.useStyle(t),vu.update(),vu.getBoundingRect()},e}(),bu=yu,_u=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],wu=io(_u),xu=function(){function e(){}return e.prototype.getLineStyle=function(e){return wu(this,e)},e}(),ku=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Mu=io(ku),Su=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return Mu(this,e,t)},e}(),Cu=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},e.prototype.mergeOption=function(e,t){Object(l["I"])(this.option,e,!0)},e.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},e.prototype.getShallow=function(e,t){var n=this.option,r=null==n?n:n[e];if(null==r&&!t){var i=this.parentModel;i&&(r=i.getShallow(e))}return r},e.prototype.getModel=function(t,n){var r=null!=t,i=r?this.parsePath(t):null,o=r?this._doGet(i):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(o,n,this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){var e=this.constructor;return new e(Object(l["d"])(this.option))},e.prototype.parsePath=function(e){return"string"===typeof e?e.split("."):e},e.prototype.resolveParentPath=function(e){return e},e.prototype.isAnimationEnabled=function(){if(!s["a"].node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(e,t){var n=this.option;if(!e)return n;for(var r=0;r<e.length;r++)if(e[r]&&(n=n&&"object"===typeof n?n[e[r]]:null,null==n))break;return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();Ki(Cu),eo(Cu),Object(l["K"])(Cu,xu),Object(l["K"])(Cu,Su),Object(l["K"])(Cu,so),Object(l["K"])(Cu,bu);var Tu=Cu,Ou=Math.round(10*Math.random());function Lu(e){return[e||"",Ou++].join("_")}function Au(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Gi(e);t[r.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var o=Gi(n).main;e.hasSubTypes(n)&&t[o]&&(i=t[o](r))}return i}}function Du(e,t){function n(e){var n={},o=[];return l["k"](e,(function(a){var s=r(n,a),u=s.originalDeps=t(a),c=i(u,e);s.entryCount=c.length,0===s.entryCount&&o.push(a),l["k"](c,(function(e){l["r"](s.predecessor,e)<0&&s.predecessor.push(e);var t=r(n,e);l["r"](t.successor,e)<0&&t.successor.push(a)}))})),{graph:n,noEntryList:o}}function r(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function i(e,t){var n=[];return l["k"](e,(function(e){l["r"](t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,r,i){if(e.length){var o=n(t),a=o.graph,s=o.noEntryList,u={};l["k"](e,(function(e){u[e]=!0}));while(s.length){var c=s.pop(),d=a[c],h=!!u[c];h&&(r.call(i,c,d.originalDeps.slice()),delete u[c]),l["k"](d.successor,h?p:f)}l["k"](u,(function(){var e="";throw new Error(e)}))}function f(e){a[e].entryCount--,0===a[e].entryCount&&s.push(e)}function p(e){u[e]=!0,f(e)}}}function Eu(e,t){return l["I"](l["I"]({},e,!0),t,!0)}var Iu={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},ju={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},Pu="ZH",Ru="EN",Nu=Ru,Bu={},Yu={},Fu=s["a"].domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Nu).toUpperCase();return e.indexOf(Pu)>-1?Pu:Nu}():Nu;function zu(e,t){e=e.toUpperCase(),Yu[e]=new Tu(t),Bu[e]=t}function Hu(e){if(Object(l["C"])(e)){var t=Bu[e.toUpperCase()]||{};return e===Pu||e===Ru?Object(l["d"])(t):Object(l["I"])(Object(l["d"])(t),Object(l["d"])(Bu[Nu]),!1)}return Object(l["I"])(Object(l["d"])(e),Object(l["d"])(Bu[Nu]),!1)}function Vu(e){return Yu[e]}function Wu(){return Yu[Nu]}zu(Ru,Iu),zu(Pu,ju);var Uu=1e3,$u=60*Uu,Gu=60*$u,qu=24*Gu,Xu=365*qu,Ku={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Zu="{yyyy}-{MM}-{dd}",Ju={year:"{yyyy}",month:"{yyyy}-{MM}",day:Zu,hour:Zu+" "+Ku.hour,minute:Zu+" "+Ku.minute,second:Zu+" "+Ku.second,millisecond:Ku.none},Qu=["year","month","day","hour","minute","second","millisecond"],ec=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function tc(e,t){return e+="","0000".substr(0,t-e.length)+e}function nc(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function rc(e){return e===nc(e)}function ic(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function oc(e,t,n,r){var i=Kr(e),o=i[uc(n)](),a=i[cc(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[dc(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[hc(n)](),d=(c-1)%12+1,h=i[fc(n)](),f=i[pc(n)](),p=i[mc(n)](),m=c>=12?"pm":"am",g=m.toUpperCase(),v=r instanceof Tu?r:Vu(r||Fu)||Wu(),y=v.getModel("time"),b=y.get("month"),_=y.get("monthAbbr"),w=y.get("dayOfWeek"),x=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,m+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,tc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,b[a-1]).replace(/{MMM}/g,_[a-1]).replace(/{MM}/g,tc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,tc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,tc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,tc(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,tc(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,tc(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,tc(p,3)).replace(/{S}/g,p+"")}function ac(e,t,n,r,i){var o=null;if(l["C"](n))o=n;else if(l["w"](n))o=n(e.value,t,{level:e.level});else{var a=l["m"]({},Ku);if(e.level>0)for(var s=0;s<Qu.length;++s)a[Qu[s]]="{primary|"+a[Qu[s]]+"}";var u=n?!1===n.inherit?n:l["i"](n,a):a,c=sc(e.value,i);if(u[c])o=u[c];else if(u.inherit){var d=ec.indexOf(c);for(s=d-1;s>=0;--s)if(u[c]){o=u[c];break}o=o||a.none}if(l["t"](o)){var h=null==e.level?0:e.level>=0?e.level:o.length+e.level;h=Math.min(h,o.length-1),o=o[h]}}return oc(new Date(e.value),o,i,r)}function sc(e,t){var n=Kr(e),r=n[cc(t)]()+1,i=n[dc(t)](),o=n[hc(t)](),a=n[fc(t)](),s=n[pc(t)](),l=n[mc(t)](),u=0===l,c=u&&0===s,d=c&&0===a,h=d&&0===o,f=h&&1===i,p=f&&1===r;return p?"year":f?"month":h?"day":d?"hour":c?"minute":u?"second":"millisecond"}function lc(e,t,n){var r=l["z"](e)?Kr(e):e;switch(t=t||sc(e,n),t){case"year":return r[uc(n)]();case"half-year":return r[cc(n)]()>=6?1:0;case"quarter":return Math.floor((r[cc(n)]()+1)/4);case"month":return r[cc(n)]();case"day":return r[dc(n)]();case"half-day":return r[hc(n)]()/24;case"hour":return r[hc(n)]();case"minute":return r[fc(n)]();case"second":return r[pc(n)]();case"millisecond":return r[mc(n)]()}}function uc(e){return e?"getUTCFullYear":"getFullYear"}function cc(e){return e?"getUTCMonth":"getMonth"}function dc(e){return e?"getUTCDate":"getDate"}function hc(e){return e?"getUTCHours":"getHours"}function fc(e){return e?"getUTCMinutes":"getMinutes"}function pc(e){return e?"getUTCSeconds":"getSeconds"}function mc(e){return e?"getUTCMilliseconds":"getMilliseconds"}function gc(e){return e?"setUTCFullYear":"setFullYear"}function vc(e){return e?"setUTCMonth":"setMonth"}function yc(e){return e?"setUTCDate":"setDate"}function bc(e){return e?"setUTCHours":"setHours"}function _c(e){return e?"setUTCMinutes":"setMinutes"}function wc(e){return e?"setUTCSeconds":"setSeconds"}function xc(e){return e?"setUTCMilliseconds":"setMilliseconds"}function kc(e){if(!ri(e))return l["C"](e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Mc(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Sc=l["M"];function Cc(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(e){return e&&l["T"](e)?e:"-"}function o(e){return!(null==e||isNaN(e)||!isFinite(e))}var a="time"===t,s=e instanceof Date;if(a||s){var u=a?Kr(e):e;if(!isNaN(+u))return oc(u,r,n);if(s)return"-"}if("ordinal"===t)return l["D"](e)?i(e):l["z"](e)&&o(e)?e+"":"-";var c=ni(e);return o(c)?kc(c):l["D"](e)?i(e):"boolean"===typeof e?e+"":"-"}var Tc=["a","b","c","d","e","f","g"],Oc=function(e,t){return"{"+e+(null==t?"":t)+"}"};function Lc(e,t,n){l["t"](t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=Tc[o];e=e.replace(Oc(a),Oc(a,0))}for(var s=0;s<r;s++)for(var u=0;u<i.length;u++){var c=t[s][i[u]];e=e.replace(Oc(Tc[u],s),n?U(c):c)}return e}function Ac(e,t,n){return l["k"](t,(function(t,r){e=e.replace("{"+r+"}",n?U(t):t)})),e}function Dc(e,t){var n=l["C"](e)?{color:e,extraCssText:t}:e||{},r=n.color,i=n.type;t=n.extraCssText;var o=n.renderMode||"html";if(!r)return"";if("html"===o)return"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+U(r)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+U(r)+";"+(t||"")+'"></span>';var a=n.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function Ec(e,t){return t=t||"transparent",l["C"](e)?e:l["A"](e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Ic(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var jc=l["k"],Pc=["left","right","top","bottom","width","height"],Rc=[["width","left","right"],["height","top","bottom"]];function Nc(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,d,h=l.getBoundingRect(),f=t.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===e){var m=h.width+(p?-p.x+h.x:0);c=o+m,c>r||l.newline?(o=0,c=m,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(p?-p.y+h.y:0);d=a+g,d>i||l.newline?(o+=s+n,a=0,d=g,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+n:a=d+n)}))}var Bc=Nc;l["h"](Nc,"vertical"),l["h"](Nc,"horizontal");function Yc(e,t,n){var r=t.width,i=t.height,o=Br(e.left,r),a=Br(e.top,i),s=Br(e.right,r),l=Br(e.bottom,i);return(isNaN(o)||isNaN(parseFloat(e.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=r),(isNaN(a)||isNaN(parseFloat(e.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(e.bottom)))&&(l=i),n=Sc(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}function Fc(e,t,n){n=Sc(n||0);var r=t.width,i=t.height,o=Br(e.left,r),a=Br(e.top,i),s=Br(e.right,r),l=Br(e.bottom,i),u=Br(e.width,r),c=Br(e.height,i),d=n[2]+n[0],h=n[1]+n[3],f=e.aspect;switch(isNaN(u)&&(u=r-s-h-o),isNaN(c)&&(c=i-l-d-a),null!=f&&(isNaN(u)&&isNaN(c)&&(f>r/i?u=.8*r:c=.8*i),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(o)&&(o=r-s-u-h),isNaN(a)&&(a=i-l-c-d),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-h;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-d;break}o=o||0,a=a||0,isNaN(u)&&(u=r-h-o-(s||0)),isNaN(c)&&(c=i-d-a-(l||0));var p=new Oe(o+n[3],a+n[0],u,c);return p.margin=n,p}function zc(e,t,n,r,i,o){var a,s=!i||!i.hv||i.hv[0],u=!i||!i.hv||i.hv[1],c=i&&i.boundingMode||"all";if(o=o||e,o.x=e.x,o.y=e.y,!s&&!u)return!1;if("raw"===c)a="group"===e.type?new Oe(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(a=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();a=a.clone(),a.applyTransform(d)}var h=Fc(l["i"]({width:a.width,height:a.height},t),n,r),f=s?h.x-a.x:0,p=u?h.y-a.y:0;return"raw"===c?(o.x=f,o.y=p):(o.x+=f,o.y+=p),o===e&&e.markRedraw(),!0}function Hc(e,t){return null!=e[Rc[t][0]]||null!=e[Rc[t][1]]&&null!=e[Rc[t][2]]}function Vc(e){var t=e.layoutMode||e.constructor.layoutMode;return l["A"](t)?t:t?{type:t}:null}function Wc(e,t,n){var r=n&&n.ignoreSize;!l["t"](r)&&(r=[r,r]);var i=a(Rc[0],0),o=a(Rc[1],1);function a(n,i){var o={},a=0,l={},c=0,d=2;if(jc(n,(function(t){l[t]=e[t]})),jc(n,(function(e){s(t,e)&&(o[e]=l[e]=t[e]),u(o,e)&&a++,u(l,e)&&c++})),r[i])return u(t,n[1])?l[n[2]]=null:u(t,n[2])&&(l[n[1]]=null),l;if(c!==d&&a){if(a>=d)return o;for(var h=0;h<n.length;h++){var f=n[h];if(!s(o,f)&&s(e,f)){o[f]=e[f];break}}return o}return l}function s(e,t){return e.hasOwnProperty(t)}function u(e,t){return null!=e[t]&&"auto"!==e[t]}function c(e,t,n){jc(e,(function(e){t[e]=n[e]}))}c(Rc[0],e,i),c(Rc[1],e,o)}function Uc(e){return $c({},e)}function $c(e,t){return t&&e&&jc(Pc,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var Gc=Ei(),qc=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=Lu("ec_cpt_model"),i}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Vc(this),r=n?Uc(e):{},i=t.getTheme();l["I"](e,i.get(this.mainType)),l["I"](e,this.getDefaultOption()),n&&Wc(e,r,n)},t.prototype.mergeOption=function(e,t){l["I"](this.option,e,!0);var n=Vc(this);n&&Wc(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!Xi(e))return e.defaultOption;var t=Gc(this);if(!t.defaultOption){var n=[],r=e;while(r){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var o={},a=n.length-1;a>=0;a--)o=l["I"](o,n[a],!0);t.defaultOption=o}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return Bi(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Tu);function Xc(e){var t=[];return l["k"](qc.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=l["H"](t,(function(e){return Gi(e).main})),"dataset"!==e&&l["r"](t,"dataset")<=0&&t.unshift("dataset"),t}Ji(qc,Tu),ro(qc),Au(qc),Du(qc,Xc);var Kc=qc,Zc="";"undefined"!==typeof navigator&&(Zc=navigator.platform||"");var Jc="rgba(0, 0, 0, 0.2)",Qc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Jc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Jc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Jc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Jc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Jc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Jc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},ed=Object(l["f"])(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),td="original",nd="arrayRows",rd="objectRows",id="keyedColumns",od="typedArray",ad="unknown",sd="column",ld="row",ud={Must:1,Might:2,Not:3},cd=Ei();function dd(e){cd(e).datasetMap=Object(l["f"])()}function hd(e,t,n){var r={},i=pd(t);if(!i||!e)return r;var o,a,s=[],u=[],c=t.ecModel,d=cd(c).datasetMap,h=i.uid+"_"+n.seriesLayoutBy;e=e.slice(),Object(l["k"])(e,(function(t,n){var i=Object(l["A"])(t)?t:e[n]={name:t};"ordinal"===i.type&&null==o&&(o=n,a=m(i)),r[i.name]=[]}));var f=d.get(h)||d.set(h,{categoryWayDim:a,valueWayDim:0});function p(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function m(e){var t=e.dimsDef;return t?t.length:1}return Object(l["k"])(e,(function(e,t){var n=e.name,i=m(e);if(null==o){var a=f.valueWayDim;p(r[n],a,i),p(u,a,i),f.valueWayDim+=i}else if(o===t)p(r[n],0,i),p(s,0,i);else{a=f.categoryWayDim;p(r[n],a,i),p(u,a,i),f.categoryWayDim+=i}})),s.length&&(r.itemName=s),u.length&&(r.seriesName=u),r}function fd(e,t,n){var r={},i=pd(e);if(!i)return r;var o,a=t.sourceFormat,s=t.dimensionsDefine;a!==rd&&a!==id||Object(l["k"])(s,(function(e,t){"name"===(Object(l["A"])(e)?e.name:e)&&(o=t)}));var u=function(){for(var e={},r={},i=[],l=0,u=Math.min(5,n);l<u;l++){var c=vd(t.data,a,t.seriesLayoutBy,s,t.startIndex,l);i.push(c);var d=c===ud.Not;if(d&&null==e.v&&l!==o&&(e.v=l),(null==e.n||e.n===e.v||!d&&i[e.n]===ud.Not)&&(e.n=l),h(e)&&i[e.n]!==ud.Not)return e;d||(c===ud.Might&&null==r.v&&l!==o&&(r.v=l),null!=r.n&&r.n!==r.v||(r.n=l))}function h(e){return null!=e.v&&null!=e.n}return h(e)?e:h(r)?r:null}();if(u){r.value=[u.v];var c=null!=o?o:u.n;r.itemName=[c],r.seriesName=[c]}return r}function pd(e){var t=e.get("data",!0);if(!t)return Bi(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},Ri).models[0]}function md(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?Bi(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},Ri).models:[]}function gd(e,t){return vd(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function vd(e,t,n,r,i,o){var a,s,u,c=5;if(Object(l["E"])(e))return ud.Not;if(r){var d=r[o];Object(l["A"])(d)?(s=d.name,u=d.type):Object(l["C"])(d)&&(s=d)}if(null!=u)return"ordinal"===u?ud.Must:ud.Not;if(t===nd){var h=e;if(n===ld){for(var f=h[o],p=0;p<(f||[]).length&&p<c;p++)if(null!=(a=w(f[i+p])))return a}else for(p=0;p<h.length&&p<c;p++){var m=h[i+p];if(m&&null!=(a=w(m[o])))return a}}else if(t===rd){var g=e;if(!s)return ud.Not;for(p=0;p<g.length&&p<c;p++){var v=g[p];if(v&&null!=(a=w(v[s])))return a}}else if(t===id){var y=e;if(!s)return ud.Not;f=y[s];if(!f||Object(l["E"])(f))return ud.Not;for(p=0;p<f.length&&p<c;p++)if(null!=(a=w(f[p])))return a}else if(t===td){var b=e;for(p=0;p<b.length&&p<c;p++){v=b[p];var _=fi(v);if(!Object(l["t"])(_))return ud.Not;if(null!=(a=w(_[o])))return a}}function w(e){var t=Object(l["C"])(e);return null!=e&&Number.isFinite(Number(e))&&""!==e?t?ud.Might:ud.Not:t&&"-"!==e?ud.Must:void 0}return ud.Not}var yd=Object(l["f"])();function bd(e,t){Object(l["b"])(null==yd.get(e)&&t),yd.set(e,t)}function _d(e,t,n){var r=yd.get(t);if(!r)return n;var i=r(e);return i?n.concat(i):n}var wd=Ei(),xd=Ei(),kd=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var r=ci(this.get("color",!0)),i=this.get("colorLayer",!0);return Cd(this,wd,r,i,e,t,n)},e.prototype.clearColorPalette=function(){Td(this,wd)},e}();function Md(e,t,n,r){var i=ci(e.get(["aria","decal","decals"]));return Cd(e,xd,i,null,t,n,r)}function Sd(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}function Cd(e,t,n,r,i,o,a){o=o||e;var s=t(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&r?Sd(r,a):n;if(c=c||n,c&&c.length){var d=c[l];return i&&(u[i]=d),s.paletteIdx=(l+1)%c.length,d}}function Td(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Od,Ld,Ad;"undefined"!==typeof console&&console.warn&&console.log;function Dd(e){0}function Ed(e){throw new Error(e)}var Id="\0_ec_inner",jd=1;var Pd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(e,t,n,r,i,o){r=r||{},this.option=null,this._theme=new Tu(r),this._locale=new Tu(i),this._optionManager=o},t.prototype.setOption=function(e,t,n){var r=Fd(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,Fd(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var i=r.mountOption("recreate"===e);0,this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(i,t)):Ad(this,i),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,t))}if(!e||"recreate"===e||"media"===e){var a=r.getMediaOption(this);a.length&&Object(l["k"])(a,(function(e){n=!0,this._mergeOption(e,t)}),this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,i=this._componentsCount,o=[],a=Object(l["f"])(),s=t&&t.replaceMergeMainTypeMap;function u(t){var o=_d(this,t,ci(e[t])),a=r.get(t),u=a?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll",c=mi(a,o,u);Oi(c,t,Kc),n[t]=null,r.set(t,null),i.set(t,0);var d,h=[],f=[],p=0;Object(l["k"])(c,(function(e,n){var r=e.existing,i=e.newOption;if(i){var o="series"===t,a=Kc.getClass(t,e.keyInfo.subType,!o);if(!a)return;if("tooltip"===t){if(d)return void 0;d=!0}if(r&&r.constructor===a)r.name=e.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var s=Object(l["m"])({componentIndex:n},e.keyInfo);r=new a(i,this,this,s),Object(l["m"])(r,s),e.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(h.push(r.option),f.push(r),p++):(h.push(void 0),f.push(void 0))}),this),n[t]=h,r.set(t,f),i.set(t,p),"series"===t&&Od(this)}dd(this),Object(l["k"])(e,(function(e,t){null!=e&&(Kc.hasClass(t)?t&&(o.push(t),a.set(t,!0)):n[t]=null==n[t]?Object(l["d"])(e):Object(l["I"])(n[t],e,!0))})),s&&s.each((function(e,t){Kc.hasClass(t)&&!a.get(t)&&(o.push(t),a.set(t,!0))})),Kc.topologicalTravel(o,Kc.getAllClassMainTypes(),u,this),this._seriesIndices||Od(this)},t.prototype.getOption=function(){var e=Object(l["d"])(this.option);return Object(l["k"])(e,(function(t,n){if(Kc.hasClass(n)){for(var r=ci(t),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!Ci(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,e[n]=r}})),delete e[Id],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,o=e.name,a=this._componentsMap.get(t);return a&&a.length?(null!=r?(n=[],Object(l["k"])(ci(r),(function(e){a[e]&&n.push(a[e])}))):n=null!=i?Bd("id",i,a):null!=o?Bd("name",o,a):Object(l["n"])(a,(function(e){return!!e})),Yd(n,e)):[]},t.prototype.findComponents=function(e){var t=e.query,n=e.mainType,r=o(t),i=r?this.queryComponents(r):Object(l["n"])(this._componentsMap.get(n),(function(e){return!!e}));return a(Yd(i,e));function o(e){var t=n+"Index",r=n+"Id",i=n+"Name";return!e||null==e[t]&&null==e[r]&&null==e[i]?null:{mainType:n,index:e[t],id:e[r],name:e[i]}}function a(t){return e.filter?Object(l["n"])(t,e.filter):t}},t.prototype.eachComponent=function(e,t,n){var r=this._componentsMap;if(Object(l["w"])(e)){var i=t,o=e;r.each((function(e,t){for(var n=0;e&&n<e.length;n++){var r=e[n];r&&o.call(i,t,r,r.componentIndex)}}))}else for(var a=Object(l["C"])(e)?r.get(e):Object(l["A"])(e)?this.findComponents(e):null,s=0;a&&s<a.length;s++){var u=a[s];u&&t.call(n,u,u.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=Mi(e,null);return Object(l["n"])(this._componentsMap.get("series"),(function(e){return!!e&&null!=t&&e.name===t}))},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return Object(l["n"])(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return Object(l["n"])(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){Ld(this),Object(l["k"])(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},t.prototype.eachRawSeries=function(e,t){Object(l["k"])(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,n){Ld(this),Object(l["k"])(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},t.prototype.eachRawSeriesByType=function(e,t,n){return Object(l["k"])(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return Ld(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){Ld(this);var n=[];Object(l["k"])(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];e.call(t,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=Object(l["f"])(n)},t.prototype.restoreData=function(e){Od(this);var t=this._componentsMap,n=[];t.each((function(e,t){Kc.hasClass(t)&&n.push(t)})),Kc.topologicalTravel(n,Kc.getAllClassMainTypes(),(function(n){Object(l["k"])(t.get(n),(function(t){!t||"series"===n&&Rd(t,e)||t.restoreData()}))}))},t.internalField=function(){Od=function(e){var t=e._seriesIndices=[];Object(l["k"])(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=Object(l["f"])(t)},Ld=function(e){0},Ad=function(e,t){e.option={},e.option[Id]=jd,e._componentsMap=Object(l["f"])({series:[]}),e._componentsCount=Object(l["f"])();var n=t.aria;Object(l["A"])(n)&&null==n.enabled&&(n.enabled=!0),Nd(t,e._theme.option),Object(l["I"])(t,Qc,!1),e._mergeOption(t,null)}}(),t}(Tu);function Rd(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}function Nd(e,t){var n=e.color&&!e.colorLayer;Object(l["k"])(t,(function(t,r){"colorLayer"===r&&n||Kc.hasClass(r)||("object"===typeof t?e[r]=e[r]?Object(l["I"])(e[r],t,!1):Object(l["d"])(t):null==e[r]&&(e[r]=t))}))}function Bd(e,t,n){if(Object(l["t"])(t)){var r=Object(l["f"])();return Object(l["k"])(t,(function(e){if(null!=e){var t=Mi(e,null);null!=t&&r.set(e,!0)}})),Object(l["n"])(n,(function(t){return t&&r.get(t[e])}))}var i=Mi(t,null);return Object(l["n"])(n,(function(t){return t&&null!=i&&t[e]===i}))}function Yd(e,t){return t.hasOwnProperty("subType")?Object(l["n"])(e,(function(e){return e&&e.subType===t.subType})):e}function Fd(e){var t=Object(l["f"])();return e&&Object(l["k"])(ci(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}Object(l["K"])(Pd,kd);var zd=Pd,Hd=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Vd=function(){function e(e){l["k"](Hd,(function(t){this[t]=l["c"](e[t],e)}),this)}return e}(),Wd=Vd,Ud={},$d=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];l["k"](Ud,(function(r,i){var o=r.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){l["k"](this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){Ud[e]=t},e.get=function(e){return Ud[e]},e}(),Gd=$d,qd=/^(min|max)?(.+)$/,Xd=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&(Object(l["k"])(ci(e.series),(function(e){e&&e.data&&Object(l["E"])(e.data)&&Object(l["R"])(e.data)})),Object(l["k"])(ci(e.dataset),(function(e){e&&e.source&&Object(l["E"])(e.source)&&Object(l["R"])(e.source)}))),e=Object(l["d"])(e);var r=this._optionBackup,i=Kd(e,t,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],Object(l["d"])(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=Object(l["d"])(n[r.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],a=[];if(!r.length&&!i)return a;for(var s=0,u=r.length;s<u;s++)Zd(r[s].query,t,n)&&o.push(s);return!o.length&&i&&(o=[-1]),o.length&&!Qd(o,this._currentMediaIndices)&&(a=Object(l["H"])(o,(function(e){return Object(l["d"])(-1===e?i.option:r[e].option)}))),this._currentMediaIndices=o,a},e}();function Kd(e,t,n){var r,i,o=[],a=e.baseOption,s=e.timeline,u=e.options,c=e.media,d=!!e.media,h=!!(u||s||a&&a.timeline);function f(e){Object(l["k"])(t,(function(t){t(e,n)}))}return a?(i=a,i.timeline||(i.timeline=s)):((h||d)&&(e.options=e.media=null),i=e),d&&Object(l["t"])(c)&&Object(l["k"])(c,(function(e){e&&e.option&&(e.query?o.push(e):r||(r=e))})),f(i),Object(l["k"])(u,(function(e){return f(e)})),Object(l["k"])(o,(function(e){return f(e.option)})),{baseOption:i,timelineOptions:u||[],mediaDefault:r,mediaList:o}}function Zd(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return Object(l["k"])(e,(function(e,t){var n=t.match(qd);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();Jd(r[a],e,o)||(i=!1)}})),i}function Jd(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function Qd(e,t){return e.join(",")===t.join(",")}var eh=Xd,th=l["k"],nh=l["A"],rh=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ih(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=rh.length;n<r;n++){var i=rh[n],o=t.normal,a=t.emphasis;o&&o[i]&&(e[i]=e[i]||{},e[i].normal?l["I"](e[i].normal,o[i]):e[i].normal=o[i],o[i]=null),a&&a[i]&&(e[i]=e[i]||{},e[i].emphasis?l["I"](e[i].emphasis,a[i]):e[i].emphasis=a[i],a[i]=null)}}function oh(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,i=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,l["i"](e[t],r)):e[t]=r),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function ah(e){oh(e,"itemStyle"),oh(e,"lineStyle"),oh(e,"areaStyle"),oh(e,"label"),oh(e,"labelLine"),oh(e,"upperLabel"),oh(e,"edgeLabel")}function sh(e,t){var n=nh(e)&&e[t],r=nh(n)&&n.textStyle;if(r){0;for(var i=0,o=hi.length;i<o;i++){var a=hi[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}}function lh(e){e&&(ah(e),sh(e,"label"),e.emphasis&&sh(e.emphasis,"label"))}function uh(e){if(nh(e)){ih(e),ah(e),sh(e,"label"),sh(e,"upperLabel"),sh(e,"edgeLabel"),e.emphasis&&(sh(e.emphasis,"label"),sh(e.emphasis,"upperLabel"),sh(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(ih(t),lh(t));var n=e.markLine;n&&(ih(n),lh(n));var r=e.markArea;r&&lh(r);var i=e.data;if("graph"===e.type){i=i||e.nodes;var o=e.links||e.edges;if(o&&!l["E"](o))for(var a=0;a<o.length;a++)lh(o[a]);l["k"](e.categories,(function(e){ah(e)}))}if(i&&!l["E"](i))for(a=0;a<i.length;a++)lh(i[a]);if(t=e.markPoint,t&&t.data){var s=t.data;for(a=0;a<s.length;a++)lh(s[a])}if(n=e.markLine,n&&n.data){var u=n.data;for(a=0;a<u.length;a++)l["t"](u[a])?(lh(u[a][0]),lh(u[a][1])):lh(u[a])}"gauge"===e.type?(sh(e,"axisLabel"),sh(e,"title"),sh(e,"detail")):"treemap"===e.type?(oh(e.breadcrumb,"itemStyle"),l["k"](e.levels,(function(e){ah(e)}))):"tree"===e.type&&ah(e.leaves)}}function ch(e){return l["t"](e)?e:e?[e]:[]}function dh(e){return(l["t"](e)?e[0]:e)||{}}function hh(e,t){th(ch(e.series),(function(e){nh(e)&&uh(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),th(n,(function(t){th(ch(e[t]),(function(e){e&&(sh(e,"axisLabel"),sh(e.axisPointer,"label"))}))})),th(ch(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;sh(t,"axisLabel"),sh(t&&t.axisPointer,"label")})),th(ch(e.calendar),(function(e){oh(e,"itemStyle"),sh(e,"dayLabel"),sh(e,"monthLabel"),sh(e,"yearLabel")})),th(ch(e.radar),(function(e){sh(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)})),th(ch(e.geo),(function(e){nh(e)&&(lh(e),th(ch(e.regions),(function(e){lh(e)})))})),th(ch(e.timeline),(function(e){lh(e),oh(e,"label"),oh(e,"itemStyle"),oh(e,"controlStyle",!0);var t=e.data;l["t"](t)&&l["k"](t,(function(e){l["A"](e)&&(oh(e,"label"),oh(e,"itemStyle"))}))})),th(ch(e.toolbox),(function(e){oh(e,"iconStyle"),th(e.feature,(function(e){oh(e,"iconStyle")}))})),sh(dh(e.axisPointer),"label"),sh(dh(e.tooltip).axisPointer,"label")}function fh(e,t){for(var n=t.split(","),r=e,i=0;i<n.length;i++)if(r=r&&r[n[i]],null==r)break;return r}function ph(e,t,n,r){for(var i,o=t.split(","),a=e,s=0;s<o.length-1;s++)i=o[s],null==a[i]&&(a[i]={}),a=a[i];(r||null==a[o[s]])&&(a[o[s]]=n)}function mh(e){e&&Object(l["k"])(gh,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var gh=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],vh=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],yh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function bh(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<yh.length;n++){var r=yh[n][1],i=yh[n][0];null!=t[r]&&(t[i]=t[r])}}function _h(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function wh(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function xh(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}function kh(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&kh(e[n].children,t)}function Mh(e,t){hh(e,t),e.series=ci(e.series),Object(l["k"])(e.series,(function(e){if(Object(l["A"])(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t){null!=e.clockWise&&(e.clockwise=e.clockWise),_h(e.label);var n=e.data;if(n&&!Object(l["E"])(n))for(var r=0;r<n.length;r++)_h(n[r]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var i=fh(e,"pointer.color");null!=i&&ph(e,"itemStyle.color",i)}else if("bar"===t){bh(e),bh(e.backgroundStyle),bh(e.emphasis);n=e.data;if(n&&!Object(l["E"])(n))for(r=0;r<n.length;r++)"object"===typeof n[r]&&(bh(n[r]),bh(n[r]&&n[r].emphasis))}else if("sunburst"===t){var o=e.highlightPolicy;o&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=o)),wh(e),kh(e.data,wh)}else"graph"===t||"sankey"===t?xh(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&Object(l["i"])(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),mh(e)}})),e.dataRange&&(e.visualMap=e.dataRange),Object(l["k"])(vh,(function(t){var n=e[t];n&&(Object(l["t"])(n)||(n=[n]),Object(l["k"])(n,(function(e){mh(e)})))}))}function Sh(e){var t=Object(l["f"])();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),t.each(Ch)}function Ch(e){Object(l["k"])(e,(function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var d,h,f=a.get(t.stackedDimension,c);if(isNaN(f))return i;s?h=a.getRawIndex(c):d=a.get(t.stackedByDimension,c);for(var p=NaN,m=n-1;m>=0;m--){var g=e[m];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,d)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=Ur(f,v),p=v;break}}}return r[0]=f,r[1]=p,r}))}))}var Th,Oh,Lh,Ah,Dh,Eh=function(){function e(e){this.data=e.data||(e.sourceFormat===id?{}:[]),this.sourceFormat=e.sourceFormat||ad,this.seriesLayoutBy=e.seriesLayoutBy||sd,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n<t.length;n++){var r=t[n];null==r.type&&gd(this,n)===ud.Must&&(r.type="ordinal")}}return e}();function Ih(e){return e instanceof Eh}function jh(e,t,n){n=n||Nh(e);var r=t.seriesLayoutBy,i=Bh(e,n,r,t.sourceHeader,t.dimensions),o=new Eh({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Object(l["d"])(t)});return o}function Ph(e){return new Eh({data:e,sourceFormat:Object(l["E"])(e)?od:td})}function Rh(e){return new Eh({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:Object(l["d"])(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function Nh(e){var t=ad;if(Object(l["E"])(e))t=od;else if(Object(l["t"])(e)){0===e.length&&(t=nd);for(var n=0,r=e.length;n<r;n++){var i=e[n];if(null!=i){if(Object(l["t"])(i)||Object(l["E"])(i)){t=nd;break}if(Object(l["A"])(i)){t=rd;break}}}}else if(Object(l["A"])(e))for(var o in e)if(Object(l["q"])(e,o)&&Object(l["u"])(e[o])){t=id;break}return t}function Bh(e,t,n,r,i){var o,a;if(!e)return{dimensionsDefine:Fh(i),startIndex:a,dimensionsDetectedCount:o};if(t===nd){var s=e;"auto"===r||null==r?zh((function(e){null!=e&&"-"!==e&&(Object(l["C"])(e)?null==a&&(a=1):a=0)}),n,s,10):a=Object(l["z"])(r)?r:r?1:0,i||1!==a||(i=[],zh((function(e,t){i[t]=null!=e?e+"":""}),n,s,1/0)),o=i?i.length:n===ld?s.length:s[0]?s[0].length:null}else if(t===rd)i||(i=Yh(e));else if(t===id)i||(i=[],Object(l["k"])(e,(function(e,t){i.push(t)})));else if(t===td){var u=fi(e[0]);o=Object(l["t"])(u)&&u.length||1}return{startIndex:a,dimensionsDefine:Fh(i),dimensionsDetectedCount:o}}function Yh(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t)return Object(l["F"])(t)}function Fh(e){if(e){var t=Object(l["f"])();return Object(l["H"])(e,(function(e,n){e=Object(l["A"])(e)?e:{name:e};var r={name:e.name,displayName:e.displayName,type:e.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var i=t.get(r.name);return i?r.name+="-"+i.count++:t.set(r.name,{count:1}),r}))}}function zh(e,t,n,r){if(t===ld)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)e(o[i],i)}}function Hh(e){var t=e.sourceFormat;return t===rd||t===id}var Vh=function(){function e(e,t){var n=Ih(e)?e:Ph(e);this._source=n;var r=this._data=n.data;n.sourceFormat===od&&(this._offset=0,this._dimSize=t,this._data=r),Dh(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;Dh=function(e,i,o){var a=o.sourceFormat,s=o.seriesLayoutBy,u=o.startIndex,c=o.dimensionsDefine,d=Ah[Qh(a,s)];if(Object(l["m"])(e,d),a===od)e.getItem=t,e.count=r,e.fillStorage=n;else{var h=$h(a,s);e.getItem=Object(l["c"])(h,null,i,u,c);var f=Xh(a,s);e.count=Object(l["c"])(f,null,i,u,c)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;o<r;o++)t[o]=n[i+o];return t},n=function(e,t,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=t-e,d=n[a],h=0;h<c;h++){var f=i[h*o+a];d[e+h]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}e={},e[nd+"_"+sd]={pure:!0,appendData:i},e[nd+"_"+ld]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[rd]={pure:!0,appendData:i},e[id]={pure:!0,appendData:function(e){var t=this._data;Object(l["k"])(e,(function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])}))}},e[td]={appendData:i},e[od]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},Ah=e}(),e}(),Wh=function(e,t,n,r){return e[r]},Uh=(Th={},Th[nd+"_"+sd]=function(e,t,n,r){return e[r+t]},Th[nd+"_"+ld]=function(e,t,n,r,i){r+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[r]:null}return o},Th[rd]=Wh,Th[id]=function(e,t,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=n[a].name;0;var l=e[s];o[a]=l?l[r]:null}return o},Th[td]=Wh,Th);function $h(e,t){var n=Uh[Qh(e,t)];return n}var Gh=function(e,t,n){return e.length},qh=(Oh={},Oh[nd+"_"+sd]=function(e,t,n){return Math.max(0,e.length-t)},Oh[nd+"_"+ld]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},Oh[rd]=Gh,Oh[id]=function(e,t,n){var r=n[0].name;var i=e[r];return i?i.length:0},Oh[td]=Gh,Oh);function Xh(e,t){var n=qh[Qh(e,t)];return n}var Kh=function(e,t,n){return e[t]},Zh=(Lh={},Lh[nd]=Kh,Lh[rd]=function(e,t,n){return e[n]},Lh[id]=Kh,Lh[td]=function(e,t,n){var r=fi(e);return r instanceof Array?r[t]:r},Lh[od]=Kh,Lh);function Jh(e){var t=Zh[e];return t}function Qh(e,t){return e===nd?e+"_"+t:e}function ef(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var i=e.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=e.getDimensionIndex(n),s=i.getDimensionProperty(a);return Jh(o)(r,a,s)}var l=r;return o===td&&(l=fi(r)),l}}}var tf=/\{@(.+?)\}/g,nf=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,h=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,r,i,o){t=t||"normal";var a=this.getData(n),s=this.getDataParams(e,n);if(o&&(s.value=o.interpolatedValue),null!=r&&l["t"](s.value)&&(s.value=s.value[r]),!i){var u=a.getItemModel(e);i=u.get("normal"===t?["label","formatter"]:[t,"label","formatter"])}if(l["w"](i))return s.status=t,s.dimensionIndex=r,i(s);if(l["C"](i)){var c=Lc(i,s);return c.replace(tf,(function(t,n){var r=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(r-1)&&(i=+i.slice(1,r-1));var s=ef(a,e,i);if(o&&l["t"](o.interpolatedValue)){var u=a.getDimensionIndex(i);u>=0&&(s=o.interpolatedValue[u])}return null!=s?s+"":""}))}},e.prototype.getRawValue=function(e,t){return ef(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function rf(e){var t,n;return l["A"](e)?e.type&&(n=e):t=e,{text:t,frag:n}}function of(e){return new af(e)}var af=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var o,a=d(this._modBy),s=this._modDataCount||0,u=d(e&&e.modBy),c=e&&e.modDataCount||0;function d(e){return!(e>=1)&&(e=1),e}a===u&&s===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(r)),this._modBy=u,this._modDataCount=c;var h=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!r&&(o||f<p)){var m=this._progress;if(Object(l["t"])(m))for(var g=0;g<m.length;g++)this._doProgress(m[g],f,p,u,c);else this._doProgress(m,f,p,u,c)}this._dueIndex=p;var v=null!=this._settedOutputEnd?this._settedOutputEnd:p;0,this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(e,t,n,r,i){sf.reset(t,n,r,i),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:sf.next},this.context)},e.prototype._doReset=function(e){var t,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(n=t.forceFirstProgress,t=t.progress),Object(l["t"])(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},e}(),sf=function(){var e,t,n,r,i,o={reset:function(l,u,c,d){t=l,e=u,n=c,r=d,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*n+Math.ceil(t/i),a=t>=e?null:o<r?o:t;return t++,a}}();function lf(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||Object(l["z"])(e)||null==e||"-"===e||(e=+Kr(e)),null==e||""===e?NaN:Number(e))}var uf=Object(l["f"])({number:function(e){return parseFloat(e)},time:function(e){return+Kr(e)},trim:function(e){return Object(l["C"])(e)?Object(l["T"])(e):e}});function cf(e){return uf.get(e)}var df={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},hf=function(){function e(e,t){if(!Object(l["z"])(t)){var n="";0,Ed(n)}this._opFn=df[e],this._rvalFloat=ni(t)}return e.prototype.evaluate=function(e){return Object(l["z"])(e)?this._opFn(e,this._rvalFloat):this._opFn(ni(e),this._rvalFloat)},e}(),ff=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=Object(l["z"])(e)?e:ni(e),r=Object(l["z"])(t)?t:ni(t),i=isNaN(n),o=isNaN(r);if(i&&(n=this._incomparable),o&&(r=this._incomparable),i&&o){var a=Object(l["C"])(e),s=Object(l["C"])(t);a&&(n=s?e:0),s&&(r=a?t:0)}return n<r?this._resultLT:n>r?-this._resultLT:0},e}(),pf=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=ni(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=ni(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function mf(e,t){return"eq"===e||"ne"===e?new pf("eq"===e,t):Object(l["q"])(df,e)?new hf(e,t):null}var gf=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return lf(e,t)},e}();function vf(e,t){var n=new gf,r=e.data,i=n.sourceFormat=e.sourceFormat,o=e.startIndex,a="";e.seriesLayoutBy!==sd&&Ed(a);var s=[],u={},c=e.dimensionsDefine;if(c)Object(l["k"])(c,(function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};if(s.push(r),null!=n){var i="";Object(l["q"])(u,n)&&Ed(i),u[n]=r}}));else for(var d=0;d<e.dimensionsDetectedCount;d++)s.push({index:d});var h=$h(i,sd);t.__isBuiltIn&&(n.getRawDataItem=function(e){return h(r,o,s,e)},n.getRawData=Object(l["c"])(yf,null,e)),n.cloneRawData=Object(l["c"])(bf,null,e);var f=Xh(i,sd);n.count=Object(l["c"])(f,null,r,o,s);var p=Jh(i);n.retrieveValue=function(e,t){var n=h(r,o,s,e);return m(n,t)};var m=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=s[t];return n?p(e,t,n.name):void 0}};return n.getDimensionInfo=Object(l["c"])(_f,null,s,u),n.cloneAllDimensionInfo=Object(l["c"])(wf,null,s),n}function yf(e){var t=e.sourceFormat;if(!Cf(t)){var n="";0,Ed(n)}return e.data}function bf(e){var t=e.sourceFormat,n=e.data;if(!Cf(t)){var r="";0,Ed(r)}if(t===nd){for(var i=[],o=0,a=n.length;o<a;o++)i.push(n[o].slice());return i}if(t===rd){for(i=[],o=0,a=n.length;o<a;o++)i.push(Object(l["m"])({},n[o]));return i}}function _f(e,t,n){if(null!=n)return Object(l["z"])(n)||!isNaN(n)&&!Object(l["q"])(t,n)?e[n]:Object(l["q"])(t,n)?t[n]:void 0}function wf(e){return Object(l["d"])(e)}var xf=Object(l["f"])();function kf(e){e=Object(l["d"])(e);var t=e.type,n="";t||Ed(n);var r=t.split(":");2!==r.length&&Ed(n);var i=!1;"echarts"===r[0]&&(t=r[1],i=!0),e.__isBuiltIn=i,xf.set(t,e)}function Mf(e,t,n){var r=ci(e),i=r.length,o="";i||Ed(o);for(var a=0,s=i;a<s;a++){var l=r[a];t=Sf(l,t,n,1===i?null:a),a!==s-1&&(t.length=Math.max(t.length,1))}return t}function Sf(e,t,n,r){var i="";t.length||Ed(i),Object(l["A"])(e)||Ed(i);var o=e.type,a=xf.get(o);a||Ed(i);var s=Object(l["H"])(t,(function(e){return vf(e,a)})),u=ci(a.transform({upstream:s[0],upstreamList:s,config:Object(l["d"])(e.config)}));return Object(l["H"])(u,(function(e,n){var r="";Object(l["A"])(e)||Ed(r),e.data||Ed(r);var i,o=Nh(e.data);Cf(o)||Ed(r);var a=t[0];if(a&&0===n&&!e.dimensions){var s=a.startIndex;s&&(e.data=a.data.slice(0,s).concat(e.data)),i={seriesLayoutBy:sd,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:sd,sourceHeader:0,dimensions:e.dimensions};return jh(e.data,i,null)}))}function Cf(e){return e===nd||e===rd}var Tf,Of="undefined",Lf=typeof Uint32Array===Of?Array:Uint32Array,Af=typeof Uint16Array===Of?Array:Uint16Array,Df=typeof Int32Array===Of?Array:Int32Array,Ef=typeof Float64Array===Of?Array:Float64Array,If={float:Ef,int:Df,ordinal:Array,number:Array,time:Ef};function jf(e){return e>65535?Lf:Af}function Pf(){return[1/0,-1/0]}function Rf(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function Nf(e,t,n,r,i){var o=If[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];e[t]=l}}else e[t]=new o(r)}var Bf=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(l["f"])()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=e.getSource(),i=this.defaultDimValueGetter=Tf[r.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[];Hh(r);this._dimensions=Object(l["H"])(t,(function(e){return{type:e.type,property:e.property}})),this._initDataFromProvider(0,e.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(e,t){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(e);if(null!=i){if(r[i].type===t)return i}else i=r.length;return r[i]={type:t},n.set(e,i),this._chunks[i]=new If[t||"float"](this._rawCount),this._rawExtent[i]=Pf(),i},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],r=this._dimensions[e],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[e]=Pf());for(var s=i[e],l=o;l<a;l++){var u=n[l]=t.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}r.ordinalMeta=t,r.ordinalOffset=a,r.type="ordinal"},e.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],n=t.ordinalMeta;return n},e.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},e.prototype.appendData=function(e){var t=this._provider,n=this.count();t.appendData(e);var r=t.count();return t.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,r=this._dimensions,i=r.length,o=this._rawExtent,a=this.count(),s=a+Math.max(e.length,t||0),l=0;l<i;l++){var u=r[l];Nf(n,l,u.type,s,!0)}for(var c=[],d=a;d<s;d++)for(var h=d-a,f=0;f<i;f++){u=r[f];var p=Tf.arrayRows.call(this,e[h]||c,u.property,h,f);n[f][d]=p;var m=o[f];p<m[0]&&(m[0]=p),p>m[1]&&(m[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,u=Object(l["H"])(o,(function(e){return e.property})),c=0;c<a;c++){var d=o[c];s[c]||(s[c]=Pf()),Nf(i,c,d.type,t,n)}if(r.fillStorage)r.fillStorage(e,t,i,s);else for(var h=[],f=e;f<t;f++){h=r.getItem(f,h);for(var p=0;p<a;p++){var m=i[p],g=this._dimValueGetter(h,u[p],f,p);m[f]=g;var v=s[p];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._chunks[e];return n?n[this.getRawIndex(t)]:NaN},e.prototype.getValues=function(e,t){var n=[],r=[];if(null==t){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=e;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],t));return n},e.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._chunks[e];return n?n[t]:NaN},e.prototype.getSum=function(e){var t=this._chunks[e],n=0;if(t)for(var r=0,i=this.count();r<i;r++){var o=this.get(e,r);isNaN(o)||(n+=o)}return n},e.prototype.getMedian=function(e){var t=[];this.each([e],(function(e){isNaN(e)||t.push(e)}));var n=t.sort((function(e,t){return e-t})),r=this.count();return 0===r?0:r%2===1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},e.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;var r=0,i=this._count-1;while(r<=i){var o=(r+i)/2|0;if(t[o]<e)r=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks,i=r[e],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var d=this.getRawIndex(u),h=t-i[d],f=Math.abs(h);f<=n&&((f<a||f===a&&h>=0&&s<0)&&(a=f,s=h,l=0),h===s&&(o[l++]=u))}return o.length=l,o},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i<r;i++)e[i]=t[i]}else e=new n(t.buffer,0,r)}else{n=jf(this._rawCount);e=new n(this.count());for(i=0;i<e.length;i++)e[i]=i}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=jf(n._rawCount),o=new i(r),a=[],s=e.length,l=0,u=e[0],c=n._chunks,d=0;d<r;d++){var h=void 0,f=n.getRawIndex(d);if(0===s)h=t(d);else if(1===s){var p=c[u][f];h=t(p,d)}else{for(var m=0;m<s;m++)a[m]=c[e[m]][f];a[m]=d,h=t.apply(null,a)}h&&(o[l++]=f)}return l<r&&(n._indices=o),n._count=l,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var r=Object(l["F"])(e),i=r.length;if(!i)return this;var o=t.count(),a=jf(t._rawCount),s=new a(o),u=0,c=r[0],d=e[c][0],h=e[c][1],f=t._chunks,p=!1;if(!t._indices){var m=0;if(1===i){for(var g=f[r[0]],v=0;v<n;v++){var y=g[v];(y>=d&&y<=h||isNaN(y))&&(s[u++]=m),m++}p=!0}else if(2===i){g=f[r[0]];var b=f[r[1]],_=e[r[1]][0],w=e[r[1]][1];for(v=0;v<n;v++){y=g[v];var x=b[v];(y>=d&&y<=h||isNaN(y))&&(x>=_&&x<=w||isNaN(x))&&(s[u++]=m),m++}p=!0}}if(!p)if(1===i)for(v=0;v<o;v++){var k=t.getRawIndex(v);y=f[r[0]][k];(y>=d&&y<=h||isNaN(y))&&(s[u++]=k)}else for(v=0;v<o;v++){for(var M=!0,S=(k=t.getRawIndex(v),0);S<i;S++){var C=r[S];y=f[C][k];(y<e[C][0]||y>e[C][1])&&(M=!1)}M&&(s[u++]=t.getRawIndex(v))}return u<o&&(t._indices=s),t._count=u,t._extent=[],t._updateGetRawIdx(),t},e.prototype.map=function(e,t){var n=this.clone(e);return this._updateDims(n,e,t),n},e.prototype.modify=function(e,t){this._updateDims(this,e,t)},e.prototype._updateDims=function(e,t,n){for(var r=e._chunks,i=[],o=t.length,a=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=Pf();for(var c=0;c<a;c++){for(var d=e.getRawIndex(c),h=0;h<o;h++)s[h]=r[t[h]][d];s[o]=c;var f=n&&n.apply(null,s);if(null!=f){"object"!==typeof f&&(i[0]=f,f=i);for(u=0;u<f.length;u++){var p=t[u],m=f[u],g=l[p],v=r[p];v&&(v[d]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks,s=a[e],l=this.count(),u=0,c=Math.floor(1/t),d=this.getRawIndex(0),h=new(jf(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));h[u++]=d;for(var f=1;f<l-1;f+=c){for(var p=Math.min(f+c,l-1),m=Math.min(f+2*c,l),g=(m+p)/2,v=0,y=p;y<m;y++){var b=this.getRawIndex(y),_=s[b];isNaN(_)||(v+=_)}v/=m-p;var w=f,x=Math.min(f+c,l),k=f-1,M=s[d];n=-1,i=w;var S=-1,C=0;for(y=w;y<x;y++){b=this.getRawIndex(y),_=s[b];isNaN(_)?(C++,S<0&&(S=b)):(r=Math.abs((k-g)*(_-M)-(k-y)*(v-M)),r>n&&(n=r,i=b))}C>0&&C<x-w&&(h[u++]=Math.min(S,i),i=Math.max(S,i)),h[u++]=i,d=i}return h[u++]=this.getRawIndex(l-1),o._count=u,o._indices=h,o.getRawIndex=this._getRawIdx,o},e.prototype.minmaxDownSample=function(e,t){for(var n=this.clone([e],!0),r=n._chunks,i=Math.floor(1/t),o=r[e],a=this.count(),s=new(jf(this._rawCount))(2*Math.ceil(a/i)),l=0,u=0;u<a;u+=i){var c=u,d=o[this.getRawIndex(c)],h=u,f=o[this.getRawIndex(h)],p=i;u+i>a&&(p=a-u);for(var m=0;m<p;m++){var g=this.getRawIndex(u+m),v=o[g];v<d&&(d=v,c=u+m),v>f&&(f=v,h=u+m)}var y=this.getRawIndex(c),b=this.getRawIndex(h);c<h?(s[l++]=y,s[l++]=b):(s[l++]=b,s[l++]=y)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=i._rawExtent[e]=Pf(),d=new(jf(this._rawCount))(Math.ceil(u/s)),h=0,f=0;f<u;f+=s){s>u-f&&(s=u-f,a.length=s);for(var p=0;p<s;p++){var m=this.getRawIndex(f+p);a[p]=l[m]}var g=n(a),v=this.getRawIndex(Math.min(f+r(a,g)||0,u-1));l[v]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),d[h++]=v}return i._count=h,i._indices=d,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:t(i);break;case 1:t(r[e[0]][a],i);break;case 2:t(r[e[0]][a],r[e[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[e[s]][a];l[s]=i,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=Pf();if(!t)return n;var r,i=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(r=this._extent[e],r)return r.slice();r=n;for(var a=r[0],s=r[1],l=0;l<i;l++){var u=this.getRawIndex(l),c=t[u];c<a&&(a=c),c>s&&(s=c)}return r=[a,s],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][t]);return n},e.prototype.clone=function(t,n){var r=new e,i=this._chunks,o=t&&Object(l["N"])(t,(function(e,t){return e[t]=!0,e}),{});if(o)for(var a=0;a<i.length;a++)r._chunks[a]=o[a]?Rf(i[a]):i[a];else r._chunks=i;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Object(l["d"])(this._extent),e._rawExtent=Object(l["d"])(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var n=this._indices.length;t=new e(n);for(var r=0;r<n;r++)t[r]=this._indices[r]}else t=new e(this._indices);return t}return null},e.prototype._getRawIdxIdentity=function(e){return e},e.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return lf(e[r],this._dimensions[r])}Tf={arrayRows:e,objectRows:function(e,t,n,r){return lf(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return lf(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}(),Yf=Bf,Ff=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length;if(Hf(n)){var o=n,a=void 0,s=void 0,u=void 0;if(i){var c=r[0];c.prepareSource(),u=c.getSource(),a=u.data,s=u.sourceFormat,t=[c._getVersionSign()]}else a=o.get("data",!0),s=Object(l["E"])(a)?od:td,t=[];var d=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},f=Object(l["P"])(d.seriesLayoutBy,h.seriesLayoutBy)||null,p=Object(l["P"])(d.sourceHeader,h.sourceHeader),m=Object(l["P"])(d.dimensions,h.dimensions),g=f!==h.seriesLayoutBy||!!p!==!!h.sourceHeader||m;e=g?[jh(a,{seriesLayoutBy:f,sourceHeader:p,dimensions:m},s)]:[]}else{var v=n;if(i){var y=this._applyTransform(r);e=y.sourceList,t=y.upstreamSignList}else{var b=v.get("source",!0);e=[jh(b,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){var o="";1!==e.length&&Vf(o)}var a=[],s=[];return Object(l["k"])(e,(function(e){e.prepareSource();var t=e.getSource(i||0),n="";null==i||t||Vf(n),a.push(t),s.push(e._getVersionSign())})),r?t=Mf(r,a,{datasetIndex:n.componentIndex}):null!=i&&(t=[Rh(a[0])]),{sourceList:t,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var n=e[t];if(n._isDirty()||this._upstreamSignList[t]!==n._getVersionSign())return!0}},e.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(e)}return t},e.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},e.prototype._innerGetDataStore=function(e,t,n){var r=0,i=this._storeList,o=i[r];o||(o=i[r]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];Hf(this._sourceHost)&&s?a=s._innerGetDataStore(e,t,n):(a=new Yf,a.initData(new Vh(t,e.length),e)),o[n]=a}return a},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Hf(e)){var t=pd(e);return t?[t.getSourceManager()]:[]}return Object(l["H"])(md(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,n,r=this._sourceHost;if(Hf(r))e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;e=i.get("seriesLayoutBy",!0),t=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function zf(e){var t=e.option.transform;t&&Object(l["R"])(e.option.transform)}function Hf(e){return"series"===e.mainType}function Vf(e){throw new Error(e)}var Wf="line-height:1";function Uf(e){var t=e.lineHeight;return null==t?Wf:"line-height:"+U(t+"")+"px"}function $f(e,t){var n=e.color||"#6e7079",r=e.fontSize||12,i=e.fontWeight||"400",o=e.color||"#464646",a=e.fontSize||14,s=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+U(r+"")+"px;color:"+U(n)+";font-weight:"+U(i+""),valueStyle:"font-size:"+U(a+"")+"px;color:"+U(o)+";font-weight:"+U(s+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var Gf=[0,10,20,30],qf=["","\n","\n\n","\n\n\n"];function Xf(e,t){return t.type=e,t}function Kf(e){return"section"===e.type}function Zf(e){return Kf(e)?Qf:ep}function Jf(e){if(Kf(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return Object(l["k"])(e.blocks,(function(e){var n=Jf(e);n>=t&&(t=n+ +(r&&(!n||Kf(e)&&!e.noHeader)))})),t}return 0}function Qf(e,t,n,r){var i=t.noHeader,o=np(Jf(t)),a=[],s=t.blocks||[];Object(l["b"])(!s||Object(l["t"])(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Object(l["q"])(c,u)){var d=new ff(c[u],null);s.sort((function(e,t){return d.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===u&&s.reverse()}Object(l["k"])(s,(function(n,i){var s=t.valueFormatter,u=Zf(n)(s?Object(l["m"])(Object(l["m"])({},e),{valueFormatter:s}):e,n,i>0?o.html:0,r);null!=u&&a.push(u)}));var h="richText"===e.renderMode?a.join(o.richText):rp(r,a.join(""),i?n:o.html);if(i)return h;var f=Cc(t.header,"ordinal",e.useUTC),p=$f(r,e.renderMode).nameStyle,m=Uf(r);return"richText"===e.renderMode?ap(e,f,p)+o.richText+h:rp(r,'<div style="'+p+";"+m+';">'+U(f)+"</div>"+h,n)}function ep(e,t,n,r){var i=e.renderMode,o=t.noName,a=t.noValue,s=!t.markerType,u=t.name,c=e.useUTC,d=t.valueFormatter||e.valueFormatter||function(e){return e=Object(l["t"])(e)?e:[e],Object(l["H"])(e,(function(e,t){return Cc(e,Object(l["t"])(p)?p[t]:p,c)}))};if(!o||!a){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),f=o?"":Cc(u,"ordinal",c),p=t.valueType,m=a?[]:d(t.value,t.dataIndex),g=!s||!o,v=!s&&o,y=$f(r,i),b=y.nameStyle,_=y.valueStyle;return"richText"===i?(s?"":h)+(o?"":ap(e,f,b))+(a?"":sp(e,m,g,v,_)):rp(r,(s?"":h)+(o?"":ip(f,!s,b))+(a?"":op(m,g,v,_)),n)}}function tp(e,t,n,r,i,o){if(e){var a=Zf(e),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(s,e,0,o)}}function np(e){return{html:Gf[e],richText:qf[e]}}function rp(e,t,n){var r='<div style="clear:both"></div>',i="margin: "+n+"px 0 0",o=Uf(e);return'<div style="'+i+";"+o+';">'+t+r+"</div>"}function ip(e,t,n){var r=t?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+U(e)+"</span>"}function op(e,t,n,r){var i=n?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return e=Object(l["t"])(e)?e:[e],'<span style="'+o+";"+r+'">'+Object(l["H"])(e,(function(e){return U(e)})).join("&nbsp;&nbsp;")+"</span>"}function ap(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function sp(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(l["t"])(t)?t.join(" "):t,o)}function lp(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Ec(r)}function up(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var cp=function(){function e(){this.richTextStyles={},this._nextStyleNameId=ii()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,i=Dc({color:t,type:e,renderMode:n,markerId:r});return Object(l["C"])(i)?i:(this.richTextStyles[r]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(l["t"])(t)?Object(l["k"])(t,(function(e){return Object(l["m"])(n,e)})):Object(l["m"])(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}();function dp(e){var t,n,r,i,o=e.series,a=e.dataIndex,s=e.multipleSeries,u=o.getData(),c=u.mapDimensionsAll("defaultedTooltip"),d=c.length,h=o.getRawValue(a),f=Object(l["t"])(h),p=lp(o,a);if(d>1||f&&!d){var m=hp(h,o,a,c,p);t=m.inlineValues,n=m.inlineValueTypes,r=m.blocks,i=m.inlineValues[0]}else if(d){var g=u.getDimensionInfo(c[0]);i=t=ef(u,a,c[0]),n=g.type}else i=t=f?h[0]:h;var v=Si(o),y=v&&o.name||"",b=u.getName(a),_=s?y:b;return Xf("section",{header:y,noHeader:s||!v,sortParam:i,blocks:[Xf("nameValue",{markerType:"item",markerColor:p,name:_,noName:!Object(l["T"])(_),value:t,valueType:n,dataIndex:a})].concat(r||[])})}function hp(e,t,n,r,i){var o=t.getData(),a=Object(l["N"])(e,(function(e,t,n){var r=o.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName}),!1),s=[],u=[],c=[];function d(e,t){var n=o.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(a?c.push(Xf("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:e,valueType:n.type})):(s.push(e),u.push(n.type)))}return r.length?Object(l["k"])(r,(function(e){d(ef(o,n,e),e)})):Object(l["k"])(e,d),{inlineValues:s,inlineValueTypes:u,blocks:c}}var fp=Ei();function pp(e,t){return e.getName(t)||e.getId(t)}var mp="__universalTransitionEnabled",gp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return a(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=of({count:bp,reset:_p}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var r=fp(this).sourceManager=new Ff(this);r.prepareSource();var i=this.getInitialData(e,n);xp(i,this),this.dataTask.context.data=i,fp(this).dataBeforeProcessed=i,vp(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Vc(this),r=n?Uc(e):{},i=this.subType;Kc.hasClass(i)&&(i+="Series"),l["I"](e,t.getTheme().get(this.subType)),l["I"](e,this.getDefaultOption()),di(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&Wc(e,r,n)},t.prototype.mergeOption=function(e,t){e=l["I"](this.option,e,!0),this.fillDataTextStyle(e.data);var n=Vc(this);n&&Wc(this.option,e,n);var r=fp(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(e,t);xp(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,fp(this).dataBeforeProcessed=i,vp(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!l["E"](e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&di(e[n],"label",t)},t.prototype.getInitialData=function(e,t){},t.prototype.appendData=function(e){var t=this.getRawData();t.appendData(e.data)},t.prototype.getData=function(e){var t=Mp(this);if(t){var n=t.context.data;return null!=e&&n.getLinkedData?n.getLinkedData(e):n}return fp(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var t=Mp(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}fp(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return l["f"](e)},t.prototype.getSourceManager=function(){return fp(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return fp(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,t,n){return dp({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(s["a"].node&&(!e||!e.ssr))return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=kd.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<e.length;o++){var a=e[o],s=pp(i,a);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],r=0;r<e.length;r++)n[0]=e[r],this.isSelected(e[r],t)?this.unselect(n,t):this.select(n,t)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=l["F"](e),n=[],r=0;r<t.length;r++){var i=e[t[r]];i>=0&&n.push(i)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[pp(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[mp])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,i=this.option,o=i.selectedMode,a=t.length;if(o&&a)if("series"===o)i.selectedMap="all";else if("multiple"===o){l["A"](i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,u=0;u<a;u++){var c=t[u],d=pp(e,c);s[d]=!0,this._selectedDataIndicesMap[d]=e.getRawIndex(c)}}else if("single"===o||!0===o){var h=t[a-1];d=pp(e,h);i.selectedMap=(n={},n[d]=!0,n),this._selectedDataIndicesMap=(r={},r[d]=e.getRawIndex(h),r)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(n){var r=e.getRawDataItem(n);r&&r.selected&&t.push(n)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return Kc.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(Kc);function vp(e){var t=e.name;Si(e)||(e.name=yp(e)||t)}function yp(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return l["k"](n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}function bp(e){return e.model.getRawData().count()}function _p(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),wp}function wp(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function xp(e,t){l["k"](l["e"](e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,l["h"](kp,t))}))}function kp(e,t){var n=Mp(e);return n&&n.setOutputEnd((t||this).count()),t}function Mp(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}l["K"](gp,nf),l["K"](gp,kd),Ji(gp,Kc);var Sp=gp,Cp=function(){function e(){this.group=new kr,this.uid=Lu("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();Ki(Cp),ro(Cp);var Tp=Cp;function Op(){var e=Ei();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}var Lp=ba.CMD,Ap=[[],[],[]],Dp=Math.sqrt,Ep=Math.atan2;function Ip(e,t){if(t){var n,r,i,o,a,s,l=e.data,u=e.len(),c=Lp.M,d=Lp.C,h=Lp.L,f=Lp.R,p=Lp.A,m=Lp.Q;for(i=0,o=0;i<u;){switch(n=l[i++],o=i,r=0,n){case c:r=1;break;case h:r=1;break;case d:r=3;break;case m:r=2;break;case p:var g=t[4],v=t[5],y=Dp(t[0]*t[0]+t[1]*t[1]),b=Dp(t[2]*t[2]+t[3]*t[3]),_=Ep(-t[1]/b,t[0]/y);l[i]*=y,l[i++]+=g,l[i]*=b,l[i++]+=v,l[i++]*=y,l[i++]*=b,l[i++]+=_,l[i++]+=_,i+=2,o=i;break;case f:s[0]=l[i++],s[1]=l[i++],S(s,s,t),l[o++]=s[0],l[o++]=s[1],s[0]+=l[i++],s[1]+=l[i++],S(s,s,t),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<r;a++){var w=Ap[a];w[0]=l[i++],w[1]=l[i++],S(w,w,t),l[o++]=w[0],l[o++]=w[1]}}e.increaseVersion()}}var jp=Math.sqrt,Pp=Math.sin,Rp=Math.cos,Np=Math.PI;function Bp(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Yp(e,t){return(e[0]*t[0]+e[1]*t[1])/(Bp(e)*Bp(t))}function Fp(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Yp(e,t))}function zp(e,t,n,r,i,o,a,s,l,u,c){var d=l*(Np/180),h=Rp(d)*(e-n)/2+Pp(d)*(t-r)/2,f=-1*Pp(d)*(e-n)/2+Rp(d)*(t-r)/2,p=h*h/(a*a)+f*f/(s*s);p>1&&(a*=jp(p),s*=jp(p));var m=(i===o?-1:1)*jp((a*a*(s*s)-a*a*(f*f)-s*s*(h*h))/(a*a*(f*f)+s*s*(h*h)))||0,g=m*a*f/s,v=m*-s*h/a,y=(e+n)/2+Rp(d)*g-Pp(d)*v,b=(t+r)/2+Pp(d)*g+Rp(d)*v,_=Fp([1,0],[(h-g)/a,(f-v)/s]),w=[(h-g)/a,(f-v)/s],x=[(-1*h-g)/a,(-1*f-v)/s],k=Fp(w,x);if(Yp(w,x)<=-1&&(k=Np),Yp(w,x)>=1&&(k=0),k<0){var M=Math.round(k/Np*1e6)/1e6;k=2*Np+M%2*Np}c.addData(u,y,b,a,s,_,k,d,o)}var Hp=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Vp=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Wp(e){var t=new ba;if(!e)return t;var n,r=0,i=0,o=r,a=i,s=ba.CMD,l=e.match(Hp);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],d=c.charAt(0),h=void 0,f=c.match(Vp)||[],p=f.length,m=0;m<p;m++)f[m]=parseFloat(f[m]);var g=0;while(g<p){var v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,k=void 0,M=r,S=i,C=void 0,T=void 0;switch(d){case"l":r+=f[g++],i+=f[g++],h=s.L,t.addData(h,r,i);break;case"L":r=f[g++],i=f[g++],h=s.L,t.addData(h,r,i);break;case"m":r+=f[g++],i+=f[g++],h=s.M,t.addData(h,r,i),o=r,a=i,d="l";break;case"M":r=f[g++],i=f[g++],h=s.M,t.addData(h,r,i),o=r,a=i,d="L";break;case"h":r+=f[g++],h=s.L,t.addData(h,r,i);break;case"H":r=f[g++],h=s.L,t.addData(h,r,i);break;case"v":i+=f[g++],h=s.L,t.addData(h,r,i);break;case"V":i=f[g++],h=s.L,t.addData(h,r,i);break;case"C":h=s.C,t.addData(h,f[g++],f[g++],f[g++],f[g++],f[g++],f[g++]),r=f[g-2],i=f[g-1];break;case"c":h=s.C,t.addData(h,f[g++]+r,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r,f[g++]+i),r+=f[g-2],i+=f[g-1];break;case"S":v=r,y=i,C=t.len(),T=t.data,n===s.C&&(v+=r-T[C-4],y+=i-T[C-3]),h=s.C,M=f[g++],S=f[g++],r=f[g++],i=f[g++],t.addData(h,v,y,M,S,r,i);break;case"s":v=r,y=i,C=t.len(),T=t.data,n===s.C&&(v+=r-T[C-4],y+=i-T[C-3]),h=s.C,M=r+f[g++],S=i+f[g++],r+=f[g++],i+=f[g++],t.addData(h,v,y,M,S,r,i);break;case"Q":M=f[g++],S=f[g++],r=f[g++],i=f[g++],h=s.Q,t.addData(h,M,S,r,i);break;case"q":M=f[g++]+r,S=f[g++]+i,r+=f[g++],i+=f[g++],h=s.Q,t.addData(h,M,S,r,i);break;case"T":v=r,y=i,C=t.len(),T=t.data,n===s.Q&&(v+=r-T[C-4],y+=i-T[C-3]),r=f[g++],i=f[g++],h=s.Q,t.addData(h,v,y,r,i);break;case"t":v=r,y=i,C=t.len(),T=t.data,n===s.Q&&(v+=r-T[C-4],y+=i-T[C-3]),r+=f[g++],i+=f[g++],h=s.Q,t.addData(h,v,y,r,i);break;case"A":b=f[g++],_=f[g++],w=f[g++],x=f[g++],k=f[g++],M=r,S=i,r=f[g++],i=f[g++],h=s.A,zp(M,S,r,i,x,k,b,_,w,h,t);break;case"a":b=f[g++],_=f[g++],w=f[g++],x=f[g++],k=f[g++],M=r,S=i,r+=f[g++],i+=f[g++],h=s.A,zp(M,S,r,i,x,k,b,_,w,h,t);break}}"z"!==d&&"Z"!==d||(h=s.Z,t.addData(h),r=o,i=a),n=h}return t.toStatic(),t}var Up=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.applyTransform=function(e){},t}(Ua);function $p(e){return null!=e.setData}function Gp(e,t){var n=Wp(e),r=Object(l["m"])({},t);return r.buildPath=function(e){if($p(e)){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t,1)}else{t=e;n.rebuildPath(t,1)}},r.applyTransform=function(e){Ip(n,e),this.dirtyShape()},r}function qp(e,t){return new Up(Gp(e,t))}function Xp(e,t){var n=Gp(e,t),r=function(e){function t(t){var r=e.call(this,t)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return a(t,e),t}(Up);return r}function Kp(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var o=e[i];n.push(o.getUpdatedPathProxy(!0))}var a=new Ua(t);return a.createPathProxy(),a.buildPath=function(e){if($p(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},a}function Zp(e,t){t=t||{};var n=new Ua;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?Ip(n.path,e.getComputedTransform()):t.toLocal?n.setLocalTransform(e.getComputedTransform()):n.copyTransform(e),n.buildPath=e.buildPath,n.applyTransform=n.applyTransform,n.z=e.z,n.z2=e.z2,n.zlevel=e.zlevel,n}var Jp=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),Qp=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new Jp},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}(Ua);Qp.prototype.type="circle";var em=Qp,tm=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),nm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new tm},t.prototype.buildPath=function(e,t){var n=.5522848,r=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(r-o,i),e.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),e.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),e.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),e.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),e.closePath()},t}(Ua);nm.prototype.type="ellipse";var rm=nm,im=Math.PI,om=2*im,am=Math.sin,sm=Math.cos,lm=Math.acos,um=Math.atan2,cm=Math.abs,dm=Math.sqrt,hm=Math.max,fm=Math.min,pm=1e-4;function mm(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,d=s-o,h=d*l-c*u;if(!(h*h<pm))return h=(c*(t-o)-d*(e-i))/h,[e+h*l,t+h*u]}function gm(e,t,n,r,i,o,a){var s=e-n,l=t-r,u=(a?o:-o)/dm(s*s+l*l),c=u*l,d=-u*s,h=e+c,f=t+d,p=n+c,m=r+d,g=(h+p)/2,v=(f+m)/2,y=p-h,b=m-f,_=y*y+b*b,w=i-o,x=h*m-p*f,k=(b<0?-1:1)*dm(hm(0,w*w*_-x*x)),M=(x*b-y*k)/_,S=(-x*y-b*k)/_,C=(x*b+y*k)/_,T=(-x*y+b*k)/_,O=M-g,L=S-v,A=C-g,D=T-v;return O*O+L*L>A*A+D*D&&(M=C,S=T),{cx:M,cy:S,x0:-c,y0:-d,x1:M*(i/w-1),y1:S*(i/w-1)}}function vm(e){var t;if(Object(l["t"])(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}function ym(e,t){var n,r=hm(t.r,0),i=hm(t.r0||0,0),o=r>0,a=i>0;if(o||a){if(o||(r=i,i=0),i>r){var s=r;r=i,i=s}var l=t.startAngle,u=t.endAngle;if(!isNaN(l)&&!isNaN(u)){var c=t.cx,d=t.cy,h=!!t.clockwise,f=cm(u-l),p=f>om&&f%om;if(p>pm&&(f=p),r>pm)if(f>om-pm)e.moveTo(c+r*sm(l),d+r*am(l)),e.arc(c,d,r,l,u,!h),i>pm&&(e.moveTo(c+i*sm(u),d+i*am(u)),e.arc(c,d,i,u,l,h));else{var m=void 0,g=void 0,v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,k=void 0,M=void 0,S=void 0,C=void 0,T=void 0,O=void 0,L=void 0,A=void 0,D=r*sm(l),E=r*am(l),I=i*sm(u),j=i*am(u),P=f>pm;if(P){var R=t.cornerRadius;R&&(n=vm(R),m=n[0],g=n[1],v=n[2],y=n[3]);var N=cm(r-i)/2;if(b=fm(N,v),_=fm(N,y),w=fm(N,m),x=fm(N,g),S=k=hm(b,_),C=M=hm(w,x),(k>pm||M>pm)&&(T=r*sm(u),O=r*am(u),L=i*sm(l),A=i*am(l),f<im)){var B=mm(D,E,L,A,T,O,I,j);if(B){var Y=D-B[0],F=E-B[1],z=T-B[0],H=O-B[1],V=1/am(lm((Y*z+F*H)/(dm(Y*Y+F*F)*dm(z*z+H*H)))/2),W=dm(B[0]*B[0]+B[1]*B[1]);S=fm(k,(r-W)/(V+1)),C=fm(M,(i-W)/(V-1))}}}if(P)if(S>pm){var U=fm(v,S),$=fm(y,S),G=gm(L,A,D,E,r,U,h),q=gm(T,O,I,j,r,$,h);e.moveTo(c+G.cx+G.x0,d+G.cy+G.y0),S<k&&U===$?e.arc(c+G.cx,d+G.cy,S,um(G.y0,G.x0),um(q.y0,q.x0),!h):(U>0&&e.arc(c+G.cx,d+G.cy,U,um(G.y0,G.x0),um(G.y1,G.x1),!h),e.arc(c,d,r,um(G.cy+G.y1,G.cx+G.x1),um(q.cy+q.y1,q.cx+q.x1),!h),$>0&&e.arc(c+q.cx,d+q.cy,$,um(q.y1,q.x1),um(q.y0,q.x0),!h))}else e.moveTo(c+D,d+E),e.arc(c,d,r,l,u,!h);else e.moveTo(c+D,d+E);if(i>pm&&P)if(C>pm){U=fm(m,C),$=fm(g,C),G=gm(I,j,T,O,i,-$,h),q=gm(D,E,L,A,i,-U,h);e.lineTo(c+G.cx+G.x0,d+G.cy+G.y0),C<M&&U===$?e.arc(c+G.cx,d+G.cy,C,um(G.y0,G.x0),um(q.y0,q.x0),!h):($>0&&e.arc(c+G.cx,d+G.cy,$,um(G.y0,G.x0),um(G.y1,G.x1),!h),e.arc(c,d,i,um(G.cy+G.y1,G.cx+G.x1),um(q.cy+q.y1,q.cx+q.x1),h),U>0&&e.arc(c+q.cx,d+q.cy,U,um(q.y1,q.x1),um(q.y0,q.x0),!h))}else e.lineTo(c+I,d+j),e.arc(c,d,i,u,l,h);else e.lineTo(c+I,d+j)}else e.moveTo(c,d);e.closePath()}}}var bm=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return e}(),_m=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new bm},t.prototype.buildPath=function(e,t){ym(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Ua);_m.prototype.type="sector";var wm=_m,xm=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),km=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new xm},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}(Ua);km.prototype.type="ring";var Mm=km;function Sm(e,t,n,r){var i,o,a,s,l=[],u=[],c=[],h=[];if(r){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,g=e.length;p<g;p++)C(a,a,e[p]),T(s,s,e[p]);C(a,a,r[0]),T(s,s,r[1])}for(p=0,g=e.length;p<g;p++){var v=e[p];if(n)i=e[p?p-1:g-1],o=e[(p+1)%g];else{if(0===p||p===g-1){l.push(d(e[p]));continue}i=e[p-1],o=e[p+1]}m(u,o,i),y(u,u,t);var b=_(v,i),w=_(v,o),x=b+w;0!==x&&(b/=x,w/=x),y(c,u,-b),y(h,u,w);var k=f([],v,c),M=f([],v,h);r&&(T(k,k,a),C(k,k,s),T(M,M,a),C(M,M,s)),l.push(k),l.push(M)}return n&&l.push(l.shift()),l}function Cm(e,t,n){var r=t.smooth,i=t.points;if(i&&i.length>=2){if(r){var o=Sm(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);s=1;for(var d=i.length;s<d;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}var Tm=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),Om=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new Tm},t.prototype.buildPath=function(e,t){Cm(e,t,!0)},t}(Ua);Om.prototype.type="polygon";var Lm=Om,Am=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),Dm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Am},t.prototype.buildPath=function(e,t){Cm(e,t,!1)},t}(Ua);Dm.prototype.type="polyline";var Em=Dm,Im={},jm=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),Pm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new jm},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=ns(Im,t,this.style);n=a.x1,r=a.y1,i=a.x2,o=a.y2}else n=t.x1,r=t.y1,i=t.x2,o=t.y2;var s=t.percent;0!==s&&(e.moveTo(n,r),s<1&&(i=n*(1-s)+i*s,o=r*(1-s)+o*s),e.lineTo(i,o))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(Ua);Pm.prototype.type="line";var Rm=Pm,Nm=[],Bm=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function Ym(e,t,n){var r=e.cpx2,i=e.cpy2;return null!=r||null!=i?[(n?wt:_t)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?wt:_t)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?Ot:Tt)(e.x1,e.cpx1,e.x2,t),(n?Ot:Tt)(e.y1,e.cpy1,e.y2,t)]}var Fm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Bm},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.cpx1,s=t.cpy1,l=t.cpx2,u=t.cpy2,c=t.percent;0!==c&&(e.moveTo(n,r),null==l||null==u?(c<1&&(Dt(n,a,i,c,Nm),a=Nm[1],i=Nm[2],Dt(r,s,o,c,Nm),s=Nm[1],o=Nm[2]),e.quadraticCurveTo(a,s,i,o)):(c<1&&(Mt(n,a,l,i,c,Nm),a=Nm[1],l=Nm[2],i=Nm[3],Mt(r,s,u,o,c,Nm),s=Nm[1],u=Nm[2],o=Nm[3]),e.bezierCurveTo(a,s,l,u,i,o)))},t.prototype.pointAt=function(e){return Ym(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=Ym(this.shape,e,!0);return b(t,t)},t}(Ua);Fm.prototype.type="bezier-curve";var zm=Fm,Hm=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),Vm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Hm},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*i+n,u*i+r),e.arc(n,r,i,o,a,!s)},t}(Ua);Vm.prototype.type="arc";var Wm=Vm,Um=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return a(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n<e.length;n++)t=t||e[n].shapeChanged();t&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Ua.prototype.getBoundingRect.call(this)},t}(Ua),$m=Um,Gm=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}(),qm=Gm,Xm=function(e){function t(t,n,r,i,o,a){var s=e.call(this,o)||this;return s.x=null==t?0:t,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return a(t,e),t}(qm),Km=Xm,Zm=function(e){function t(t,n,r,i,o){var a=e.call(this,i)||this;return a.x=null==t?.5:t,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return a(t,e),t}(qm),Jm=Zm,Qm=[0,0],eg=[0,0],tg=new ye,ng=new ye,rg=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new ye;for(n=0;n<2;n++)this._axes[n]=new ye;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,r=this._axes,i=e.x,o=e.y,a=i+e.width,s=o+e.height;if(n[0].set(i,o),n[1].set(a,o),n[2].set(a,s),n[3].set(i,s),t)for(var l=0;l<4;l++)n[l].transform(t);ye.sub(r[0],n[1],n[0]),ye.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,r=!t;return tg.set(1/0,1/0),ng.set(0,0),!this._intersectCheckOneSide(this,e,tg,ng,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(e,this,tg,ng,r,-1)&&(n=!1,r)||r||ye.copy(t,n?tg:ng),n},e.prototype._intersectCheckOneSide=function(e,t,n,r,i,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,Qm),this._getProjMinMaxOnAxis(s,t._corners,eg),Qm[1]<eg[0]||Qm[0]>eg[1]){if(a=!1,i)return a;var u=Math.abs(eg[0]-Qm[1]),c=Math.abs(Qm[0]-eg[1]);Math.min(u,c)>r.len()&&(u<c?ye.scale(r,l,-u*o):ye.scale(r,l,c*o))}else if(n){u=Math.abs(eg[0]-Qm[1]),c=Math.abs(Qm[0]-eg[1]);Math.min(u,c)<n.len()&&(u<c?ye.scale(n,l,u*o):ye.scale(n,l,-c*o))}}return a},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],i=this._origin,o=t[0].dot(r)+i[e],a=o,s=o,l=1;l<t.length;l++){var u=t[l].dot(r)+i[e];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},e}(),ig=rg,og=[],ag=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return a(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new Oe(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(og)),e.union(r)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(r.contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){var o=this._displayables[i];if(o.contain(e,t))return!0}return!1},t}(Bo),sg=ag,lg=Math.max,ug=Math.min,cg={};function dg(e){return Ua.extend(e)}var hg=Xp;function fg(e,t){return hg(e,t)}function pg(e,t){cg[e]=t}function mg(e){if(cg.hasOwnProperty(e))return cg[e]}function gg(e,t,n,r){var i=qp(e,t);return n&&("center"===r&&(n=yg(n,i.getBoundingRect())),_g(i,n)),i}function vg(e,t,n){var r=new Qa({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(yg(t,i))}}});return r}function yg(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var bg=Kp;function _g(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function wg(e,t){return ns(e,e,{lineWidth:t}),e}function xg(e){return rs(e.shape,e.shape,e.style),e}var kg=is;function Mg(e,t){var n=ue([]);while(e&&e!==t)de(n,e.getLocalTransform(),n),e=e.parent;return n}function Sg(e,t,n){return t&&!Object(l["u"])(t)&&(t=Kn.getLocalTransform(t)),n&&(t=me([],t)),S([],e,t)}function Cg(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=Sg(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Tg(e){return!e.isGroup}function Og(e){return null!=e.shape}function Lg(e,t,n){if(e&&t){var r=i(e);t.traverse((function(e){if(Tg(e)&&e.anid){var t=r[e.anid];if(t){var i=o(e);e.attr(o(t)),Wl(e,i,n,Ts(e).dataIndex)}}}))}function i(e){var t={};return e.traverse((function(e){Tg(e)&&e.anid&&(t[e.anid]=e)})),t}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return Og(e)&&(t.shape=Object(l["m"])({},e.shape)),t}}function Ag(e,t){return Object(l["H"])(e,(function(e){var n=e[0];n=lg(n,t.x),n=ug(n,t.x+t.width);var r=e[1];return r=lg(r,t.y),r=ug(r,t.y+t.height),[n,r]}))}function Dg(e,t){var n=lg(e.x,t.x),r=ug(e.x+e.width,t.x+t.width),i=lg(e.y,t.y),o=ug(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function Eg(e,t,n){var r=Object(l["m"])({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(l["i"])(i,n),new Qa(r)):gg(e.replace("path://",""),r,n,"center")}function Ig(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(jg(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function jg(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,d=s-o,h=Pg(c,d,l,u);if(Rg(h))return!1;var f=e-i,p=t-o,m=Pg(f,p,l,u)/h;if(m<0||m>1)return!1;var g=Pg(f,p,c,d)/h;return!(g<0||g>1)}function Pg(e,t,n,r){return e*r-n*t}function Rg(e){return e<=1e-6&&e>=-1e-6}function Ng(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Object(l["C"])(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var u=e.formatterParamsExtra;u&&Object(l["k"])(Object(l["F"])(u),(function(e){Object(l["q"])(s,e)||(s[e]=u[e],s.$vars.push(e))}));var c=Ts(e.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:r,option:Object(l["i"])({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function Bg(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Yg(e,t){if(e)if(Object(l["t"])(e))for(var n=0;n<e.length;n++)Bg(e[n],t);else Bg(e,t)}pg("circle",em),pg("ellipse",rm),pg("sector",wm),pg("ring",Mm),pg("polygon",Lm),pg("polyline",Em),pg("rect",ls),pg("line",Rm),pg("bezierCurve",zm),pg("arc",Wm);var Fg=Ei(),zg=Op(),Hg=function(){function e(){this.group=new kr,this.uid=Lu("viewChart"),this.renderTask=of({plan:Ug,reset:$g}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){0},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&Wg(i,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&Wg(i,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){Yg(this.group,e)},e.markUpdateMethod=function(e,t){Fg(e).updateMethod=t},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function Vg(e,t,n){e&&Pl(e)&&("emphasis"===t?cl:dl)(e,n)}function Wg(e,t,n){var r=Di(e,t),i=t&&null!=t.highlightKey?Nl(t.highlightKey):null;null!=r?Object(l["k"])(ci(r),(function(t){Vg(e.getItemGraphicEl(t),n,i)})):e.eachItemGraphicEl((function(e){Vg(e,n,i)}))}function Ug(e){return zg(e.model)}function $g(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&Fg(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),Gg[l]}Ki(Hg,["dispose"]),ro(Hg);var Gg={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},qg=Hg,Xg="\0__throttleOriginMethod",Kg="\0__throttleRate",Zg="\0__throttleType";function Jg(e,t,n){var r,i,o,a,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var h=function(){for(var e=[],h=0;h<arguments.length;h++)e[h]=arguments[h];r=(new Date).getTime(),o=this,a=e;var f=s||t,p=s||n;s=null,i=r-(p?l:u)-f,clearTimeout(c),p?c=setTimeout(d,f):i>=0?d():c=setTimeout(d,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}function Qg(e,t,n,r){var i=e[t];if(i){var o=i[Xg]||i,a=i[Zg],s=i[Kg];if(s!==n||a!==r){if(null==n||!r)return e[t]=o;i=e[t]=Jg(o,n,"debounce"===r),i[Xg]=o,i[Zg]=r,i[Kg]=n}return i}}function ev(e,t){var n=e[t];n&&n[Xg]&&(n.clear&&n.clear(),e[t]=n[Xg])}var tv=Ei(),nv={itemStyle:io(ku,!0),lineStyle:io(_u,!0)},rv={lineStyle:"stroke",itemStyle:"fill"};function iv(e,t){var n=e.visualStyleMapper||nv[t];return n||(console.warn("Unknown style type '"+t+"'."),nv.itemStyle)}function ov(e,t){var n=e.visualDrawType||rv[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var av={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=iv(e,r),a=o(i),s=i.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var u=ov(e,r),c=a[u],d=Object(l["w"])(c)?c:null,h="auto"===a.fill||"auto"===a.stroke;if(!a[u]||d||h){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[u]||(a[u]=f,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||Object(l["w"])(a.fill)?f:a.fill,a.stroke="auto"===a.stroke||Object(l["w"])(a.stroke)?f:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",u),!t.isSeriesFiltered(e)&&d)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=Object(l["m"])({},a);i[u]=d(r),t.setItemVisual(n,"style",i)}}}},sv=new Tu,lv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=iv(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){sv.option=n[r];var a=i(sv),s=e.ensureUniqueItemVisual(t,"style");Object(l["m"])(s,a),sv.option.decal&&(e.setItemVisual(t,"decal",sv.option.decal),sv.option.decal.dirty=!0),o in a&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},uv={performRawSeries:!0,overallReset:function(e){var t=Object(l["f"])();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,i=t.get(r);i||(i={},t.set(r,i)),tv(e).scope=i}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},i=t.getData(),o=tv(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=ov(t,a);i.each((function(e){var t=i.getRawIndex(e);r[t]=e})),n.each((function(e){var a=r[e],l=i.getItemVisual(a,"colorFromPalette");if(l){var u=i.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",d=n.count();u[s]=t.getColorFromPalette(c,o,d)}}))}}))}},cv=Math.PI;function dv(e,t){t=t||{},l["i"](t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new kr,r=new ls({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i,o=new Cs({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new ls({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(a),t.showSpinner&&(i=new Wm({shape:{startAngle:-cv/2,endAngle:-cv/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*cv/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*cv/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=o.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*s-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:s),u=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var hv=function(){function e(e,t,n,r){this._stageTaskMap=Object(l["f"])(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Object(l["f"])();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;Object(l["k"])(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,{}),o="";Object(l["b"])(!(r.reset&&r.overallReset),o),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)}),this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,o=this;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(l["k"])(e,(function(e,s){if(!r.visualType||r.visualType===e.visualType){var l=o._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(e){a(r,e)&&(e.dirty(),d=!0)})),d&&c.dirty(),o.updatePayload(c,n);var f=o.getPerformArgs(c,r.block);h.each((function(e){e.perform(f)})),c.perform(f)&&(i=!0)}else u&&u.each((function(s,l){a(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,o=t.seriesTaskMap,a=t.seriesTaskMap=Object(l["f"])(),s=e.seriesType,u=e.getTargetSeries;function c(t){var s=t.uid,l=a.set(s,o&&o.get(s)||of({plan:vv,reset:yv,count:wv}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):u&&u(n,r).each(c)},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,o=t.overallTask=t.overallTask||of({reset:fv});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=Object(l["f"])(),u=e.seriesType,c=e.getTargetSeries,d=!0,h=!1,f="";function p(e){var t=e.uid,n=s.set(t,a&&a.get(t)||(h=!0,of({reset:pv,onDirty:gv})));n.context={model:e,overallProgress:d},n.agent=o,n.__block=d,i._pipe(e,n)}Object(l["b"])(!e.createOnAllSeries,f),u?n.eachRawSeriesByType(u,p):c?c(n,r).each(p):(d=!1,Object(l["k"])(n.getSeries(),p)),h&&o.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return Object(l["w"])(e)&&(e={overallReset:e,seriesType:xv(e)}),e.uid=Lu("stageHandler"),t&&(e.visualType=t),e},e}();function fv(e){e.overallReset(e.ecModel,e.api,e.payload)}function pv(e){return e.overallProgress&&mv}function mv(){this.agent.dirty(),this.getDownstream().dirty()}function gv(){this.agent&&this.agent.dirty()}function vv(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function yv(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=ci(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(l["H"])(t,(function(e,t){return _v(t)})):bv}var bv=_v(0);function _v(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function wv(e){return e.data.count()}function xv(e){kv=null;try{e(Mv,Sv)}catch(t){}return kv}var kv,Mv={},Sv={};function Cv(e,t){for(var n in t.prototype)e[n]=l["L"]}Cv(Mv,zd),Cv(Sv,Wd),Mv.eachSeriesByType=Mv.eachRawSeriesByType=function(e){kv=e},Mv.eachComponent=function(e){"series"===e.mainType&&e.subType&&(kv=e.subType)};var Tv=hv,Ov=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Lv={color:Ov,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Ov]},Av="#B9B8CE",Dv="#100C2A",Ev=function(){return{axisLine:{lineStyle:{color:Av}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Iv=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],jv={darkMode:!0,color:Iv,backgroundColor:Dv,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Av},pageTextStyle:{color:Av}},textStyle:{color:Av},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Av}},dataZoom:{borderColor:"#71708A",textStyle:{color:Av},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Av}},timeline:{lineStyle:{color:Av},label:{color:Av},controlStyle:{color:Av,borderColor:Av}},calendar:{itemStyle:{color:Dv},dayLabel:{color:Av},monthLabel:{color:Av},yearLabel:{color:Av}},timeAxis:Ev(),logAxis:Ev(),valueAxis:Ev(),categoryAxis:Ev(),line:{symbol:"circle"},graph:{color:Iv},gauge:{title:{color:Av},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Av},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};jv.categoryAxis.splitLine.show=!1;var Pv=jv,Rv=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},r={};if(l["C"](e)){var i=Gi(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};l["k"](e,(function(e,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var d=i.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,s=!0)}}a.hasOwnProperty(i)&&(n[i]=e,s=!0),s||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,i));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),Nv=["symbol","symbolSize","symbolRotate","symbolOffset"],Bv=Nv.concat(["symbolKeepAspect"]),Yv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a<Nv.length;a++){var s=Nv[a],u=e.get(s);Object(l["w"])(u)?(o=!0,i[s]=u):r[s]=u}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual(Object(l["m"])({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),!t.isSeriesFiltered(e)){var c=Object(l["F"])(i);return{dataEach:o?d:null}}}function d(t,n){for(var r=e.getRawValue(n),o=e.getDataParams(n),a=0;a<c.length;a++){var s=c[a];t.setItemVisual(n,s,i[s](r,o))}}}},Fv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e)){var n=e.getData();return{dataEach:n.hasItemOption?r:null}}function r(e,t){for(var n=e.getItemModel(t),r=0;r<Bv.length;r++){var i=Bv[r],o=n.getShallow(i,!0);null!=o&&e.setItemVisual(t,i,o)}}}};function zv(e,t,n){switch(n){case"color":var r=e.getItemVisual(t,"style");return r[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n);default:0}}function Hv(e,t){switch(t){case"color":var n=e.getVisual("style");return n[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}function Vv(e,t,n,r){switch(n){case"color":var i=e.ensureUniqueItemVisual(t,"style");i[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r);break;default:0}}function Wv(e,t){function n(t,n){var r=[];return t.eachComponent({mainType:"series",subType:e,query:n},(function(e){r.push(e.seriesIndex)})),r}Object(l["k"])([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,r,i){t=Object(l["m"])({},t),i.dispatchAction(Object(l["m"])(t,{type:e[1],seriesIndex:n(r,t)}))}))}))}function Uv(e,t,n,r,i){var o=e+t;n.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,r=e.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===t){var u=e.getData(),c=Di(u,i.fromActionPayload);n.trigger(o,{type:o,seriesId:e.id,name:Object(l["t"])(c)?u.getName(c[0]):u.getName(c),selected:Object(l["C"])(r)?r:Object(l["m"])({},r)})}}))}function $v(e,t,n){e.on("selectchanged",(function(e){var r=n.getModel();e.isFromClick?(Uv("map","selectchanged",t,r,e),Uv("pie","selectchanged",t,r,e)):"select"===e.fromAction?(Uv("map","selected",t,r,e),Uv("pie","selected",t,r,e)):"unselect"===e.fromAction&&(Uv("map","unselected",t,r,e),Uv("pie","unselected",t,r,e))}))}function Gv(e,t,n){var r;while(e){if(t(e)&&(r=e,n))break;e=e.__hostTarget||e.parent}return r}var qv=Math.round(9*Math.random()),Xv="function"===typeof Object.defineProperty,Kv=function(){function e(){this._id="__ec_inner_"+qv++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return Xv?Object.defineProperty(n,this._id,{value:t,enumerable:!1,configurable:!0}):n[this._id]=t,this},e.prototype["delete"]=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},e.prototype.has=function(e){return!!this._guard(e)[this._id]},e.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},e}(),Zv=Kv,Jv=Ua.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),Qv=Ua.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),ey=Ua.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,d=Math.sin(u),h=Math.cos(u),f=.6*a,p=.7*a;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-d*f,l+s+h*f,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+d*f,l+s+h*f,n-c,l+s),e.closePath()}}),ty=Ua.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),ny={line:Rm,rect:ls,roundRect:ls,square:ls,circle:em,diamond:Qv,pin:ey,arrow:ty,triangle:Jv},ry={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},iy={};Object(l["k"])(ny,(function(e,t){iy[t]=new e}));var oy=Ua.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=sr(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.position&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=iy[r];i||(r="rect",i=iy[r]),ry[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function ay(e,t){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw()}}function sy(e,t,n,r,i,o,a){var s,l=0===e.indexOf("empty");return l&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),s=0===e.indexOf("image://")?vg(e.slice(8),new Oe(t,n,r,i),a?"center":"cover"):0===e.indexOf("path://")?gg(e.slice(7),{},new Oe(t,n,r,i),a?"center":"cover"):new oy({shape:{symbolType:e,x:t,y:n,width:r,height:i}}),s.__isEmptyBrush=l,s.setColor=ay,o&&s.setColor(o),s}function ly(e){return Object(l["t"])(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function uy(e,t){if(null!=e)return Object(l["t"])(e)||(e=[e,e]),[Br(e[0],t[0])||0,Br(Object(l["P"])(e[1],e[0]),t[1])||0]}function cy(e){return isFinite(e)}function dy(e,t,n){var r=null==t.x?0:t.x,i=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;t.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=cy(r)?r:0,i=cy(i)?i:1,o=cy(o)?o:0,a=cy(a)?a:0;var s=e.createLinearGradient(r,o,i,a);return s}function hy(e,t,n){var r=n.width,i=n.height,o=Math.min(r,i),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(a=a*r+n.x,s=s*i+n.y,l*=o),a=cy(a)?a:.5,s=cy(s)?s:.5,l=l>=0&&cy(l)?l:.5;var u=e.createRadialGradient(a,s,0,a,s,l);return u}function fy(e,t,n){for(var r="radial"===t.type?hy(e,t,n):dy(e,t,n),i=t.colorStops,o=0;o<i.length;o++)r.addColorStop(i[o].offset,i[o].color);return r}function py(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function my(e){return parseInt(e,10)}function gy(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(e);return(e[i]||my(s[r])||my(e.style[r]))-(my(s[o])||0)-(my(s[a])||0)|0}function vy(e,t){return e&&"solid"!==e&&t>0?"dashed"===e?[4*t,2*t]:"dotted"===e?[t]:Object(l["z"])(e)?[e]:Object(l["t"])(e)?e:null:null}function yy(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&vy(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&1!==i&&(n=Object(l["H"])(n,(function(e){return e/i})),r/=i)}return[n,r]}var by=new ba(!0);function _y(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function wy(e){return"string"===typeof e&&"none"!==e}function xy(e){var t=e.fill;return null!=t&&"none"!==t}function ky(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function My(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function Sy(e,t,n){var r=co(t.image,t.__image,n);if(fo(r)){var i=e.createPattern(r,t.repeat||"repeat");if("function"===typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*l["a"]),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function Cy(e,t,n,r){var i,o=_y(n),a=xy(n),s=n.strokePercent,l=s<1,u=!t.path;t.silent&&!l||!u||t.createPathProxy();var c=t.path||by,d=t.__dirty;if(!r){var h=n.fill,f=n.stroke,p=a&&!!h.colorStops,m=o&&!!f.colorStops,g=a&&!!h.image,v=o&&!!f.image,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0;(p||m)&&(x=t.getBoundingRect()),p&&(y=d?fy(e,h,x):t.__canvasFillGradient,t.__canvasFillGradient=y),m&&(b=d?fy(e,f,x):t.__canvasStrokeGradient,t.__canvasStrokeGradient=b),g&&(_=d||!t.__canvasFillPattern?Sy(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=_),v&&(w=d||!t.__canvasStrokePattern?Sy(e,f,t):t.__canvasStrokePattern,t.__canvasStrokePattern=_),p?e.fillStyle=y:g&&(_?e.fillStyle=_:a=!1),m?e.strokeStyle=b:v&&(w?e.strokeStyle=w:o=!1)}var k,M,S=t.getGlobalScale();c.setScale(S[0],S[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(i=yy(t),k=i[0],M=i[1]);var C=!0;(u||d&Qe)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),C=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),C&&c.rebuildPath(e,l?s:1),k&&(e.setLineDash(k),e.lineDashOffset=M),r||(n.strokeFirst?(o&&My(e,n),a&&ky(e,n)):(a&&ky(e,n),o&&My(e,n))),k&&e.setLineDash([])}function Ty(e,t,n){var r=t.__image=co(n.image,t.__image,t,t.onload);if(r&&fo(r)){var i=n.x||0,o=n.y||0,a=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){u=n.sx,c=n.sy;var d=a-u,h=s-c;e.drawImage(r,u,c,d,h,i,o,a,s)}else e.drawImage(r,i,o,a,s)}}function Oy(e,t,n){var r,i=n.text;if(null!=i&&(i+=""),i){e.font=n.font||Jn["a"],e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=yy(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(_y(n)&&e.strokeText(i,n.x,n.y),xy(n)&&e.fillText(i,n.x,n.y)):(xy(n)&&e.fillText(i,n.x,n.y),_y(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var Ly=["shadowBlur","shadowOffsetX","shadowOffsetY"],Ay=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Dy(e,t,n,r,i){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){Hy(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?Ao.opacity:a}(r||t.blend!==n.blend)&&(o||(Hy(e,i),o=!0),e.globalCompositeOperation=t.blend||Ao.blend);for(var s=0;s<Ly.length;s++){var l=Ly[s];(r||t[l]!==n[l])&&(o||(Hy(e,i),o=!0),e[l]=e.dpr*(t[l]||0))}return(r||t.shadowColor!==n.shadowColor)&&(o||(Hy(e,i),o=!0),e.shadowColor=t.shadowColor||Ao.shadowColor),o}function Ey(e,t,n,r,i){var o=Vy(t,i.inHover),a=r?null:n&&Vy(n,i.inHover)||{};if(o===a)return!1;var s=Dy(e,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(Hy(e,i),s=!0),wy(o.fill)&&(e.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(Hy(e,i),s=!0),wy(o.stroke)&&(e.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(Hy(e,i),s=!0),e.globalAlpha=null==o.opacity?1:o.opacity),t.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(Hy(e,i),s=!0),e.lineWidth=u)}for(var c=0;c<Ay.length;c++){var d=Ay[c],h=d[0];(r||o[h]!==a[h])&&(s||(Hy(e,i),s=!0),e[h]=o[h]||d[1])}return s}function Iy(e,t,n,r,i){return Dy(e,Vy(t,i.inHover),n&&Vy(n,i.inHover),r,i)}function jy(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}function Py(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];r=r||o.isZeroArea(),jy(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}n.allClipped=r}function Ry(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var Ny=1,By=2,Yy=3,Fy=4;function zy(e){var t=xy(e),n=_y(e);return!(e.lineDash||!(+t^+n)||t&&"string"!==typeof e.fill||n&&"string"!==typeof e.stroke||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function Hy(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function Vy(e,t){return t&&e.__hoverStyle||e.style}function Wy(e,t){Uy(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Uy(e,t,n,r){var i=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=~Ze,void(t.__isRendered=!1);var o=t.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!py(o,a)||(a&&a.length&&(Hy(e,n),e.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Hy(e,n),e.save(),Py(o,e,n),s=!0),n.prevElClipPaths=o),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c=t instanceof Ua&&t.autoBatch&&zy(t.style);s||Ry(i,u.transform)?(Hy(e,n),jy(e,t)):c||Hy(e,n);var d=Vy(t,n.inHover);t instanceof Ua?(n.lastDrawType!==Ny&&(l=!0,n.lastDrawType=Ny),Ey(e,t,u,l,n),c&&(n.batchFill||n.batchStroke)||e.beginPath(),Cy(e,t,d,c),c&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):t instanceof qa?(n.lastDrawType!==Yy&&(l=!0,n.lastDrawType=Yy),Ey(e,t,u,l,n),Oy(e,t,d)):t instanceof Qa?(n.lastDrawType!==By&&(l=!0,n.lastDrawType=By),Iy(e,t,u,l,n),Ty(e,t,d)):t.getTemporalDisplayables&&(n.lastDrawType!==Fy&&(l=!0,n.lastDrawType=Fy),$y(e,t,n)),c&&r&&Hy(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}function $y(e,t,n){var r=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=t.getCursor(),a=r.length;o<a;o++){var l=r[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Uy(e,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=i.length;u<c;u++){l=i[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Uy(e,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var Gy=new Zv,qy=new Zn["a"](100),Xy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Ky(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&Gy["delete"](e);var o=Gy.get(e);if(o)return o;var a=Object(l["i"])(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return u(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,Gy.set(e,s),e.dirty=!1,s;function u(e){for(var t,o=[n],s=!0,u=0;u<Xy.length;++u){var c=a[Xy[u]];if(null!=c&&!Object(l["t"])(c)&&!Object(l["C"])(c)&&!Object(l["z"])(c)&&"boolean"!==typeof c){s=!1;break}o.push(c)}if(s){t=o.join(",")+(i?"-svg":"");var d=qy.get(t);d&&(i?e.svgElement=d:e.image=d)}var h,f=Jy(a.dashArrayX),p=Qy(a.dashArrayY),m=Zy(a.symbol),g=eb(f),v=tb(p),y=!i&&Jn["d"].createCanvas(),b=i&&{tag:"g",attrs:{},key:"dcl",children:[]},_=w();function w(){for(var e=1,t=0,n=g.length;t<n;++t)e=ai(e,g[t]);var r=1;for(t=0,n=m.length;t<n;++t)r=ai(r,m[t].length);e*=r;var i=v*g.length*m.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}function x(){h&&(h.clearRect(0,0,y.width,y.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,y.width,y.height)));for(var e=0,t=0;t<p.length;++t)e+=p[t];if(!(e<=0)){var o=-v,s=0,l=0,u=0;while(o<_.height){if(s%2===0){var c=l/2%m.length,d=0,g=0,w=0;while(d<2*_.width){var x=0;for(t=0;t<f[u].length;++t)x+=f[u][t];if(x<=0)break;if(g%2===0){var k=.5*(1-a.symbolSize),M=d+f[u][g]*k,S=o+p[s]*k,C=f[u][g]*a.symbolSize,T=p[s]*a.symbolSize,O=w/2%m[c].length;L(M,S,C,T,m[c][O])}d+=f[u][g],++w,++g,g===f[u].length&&(g=0)}++u,u===f.length&&(u=0)}o+=p[s],++l,++s,s===p.length&&(s=0)}}function L(e,t,o,s,l){var u=i?1:n,c=sy(l,e*u,t*u,o*u,s*u,a.color,a.symbolKeepAspect);if(i){var d=r.painter.renderOneToVNode(c);d&&b.children.push(d)}else Wy(h,c)}}y&&(y.width=_.width*n,y.height=_.height*n,h=y.getContext("2d")),x(),s&&qy.put(t,y||b),e.image=y,e.svgElement=b,e.svgWidth=_.width,e.svgHeight=_.height}}function Zy(e){if(!e||0===e.length)return[["rect"]];if(Object(l["C"])(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!Object(l["C"])(e[n])){t=!1;break}if(t)return Zy([e]);var r=[];for(n=0;n<e.length;++n)Object(l["C"])(e[n])?r.push([e[n]]):r.push(e[n]);return r}function Jy(e){if(!e||0===e.length)return[[0,0]];if(Object(l["z"])(e)){var t=Math.ceil(e);return[[t,t]]}for(var n=!0,r=0;r<e.length;++r)if(!Object(l["z"])(e[r])){n=!1;break}if(n)return Jy([e]);var i=[];for(r=0;r<e.length;++r)if(Object(l["z"])(e[r])){t=Math.ceil(e[r]);i.push([t,t])}else{t=Object(l["H"])(e[r],(function(e){return Math.ceil(e)}));t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function Qy(e){if(!e||"object"===typeof e&&0===e.length)return[0,0];if(Object(l["z"])(e)){var t=Math.ceil(e);return[t,t]}var n=Object(l["H"])(e,(function(e){return Math.ceil(e)}));return e.length%2?n.concat(n):n}function eb(e){return Object(l["H"])(e,(function(e){return tb(e)}))}function tb(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?2*t:t}function nb(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(e){var n=r.getItemVisual(e,"decal");if(n){var i=r.ensureUniqueItemVisual(e,"style");i.decal=Ky(n,t)}}));var i=r.getVisual("decal");if(i){var o=r.getVisual("style");o.decal=Ky(i,t)}}}))}var rb=new E,ib=rb,ob={};function ab(e,t){ob[e]=t}function sb(e){return ob[e]}var lb=1,ub=800,cb=900,db=1e3,hb=2e3,fb=5e3,pb=1e3,mb=1100,gb=2e3,vb=3e3,yb=4e3,bb=4500,_b=4600,wb=5e3,xb=6e3,kb=7e3,Mb={PROCESSOR:{FILTER:db,SERIES_FILTER:ub,STATISTIC:fb},VISUAL:{LAYOUT:pb,PROGRESSIVE_LAYOUT:mb,GLOBAL:gb,CHART:vb,POST_CHART_LAYOUT:_b,COMPONENT:yb,BRUSH:wb,CHART_ITEM:bb,ARIA:xb,DECAL:kb}},Sb="__flagInMainProcess",Cb="__pendingUpdate",Tb="__needsUpdateStatus",Ob=/^[a-zA-Z0-9_]+$/,Lb="__connectUpdateStatus",Ab=0,Db=1,Eb=2;function Ib(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return Pb(this,e,t);o_(this.id)}}function jb(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Pb(this,e,t)}}function Pb(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),E.prototype[t].apply(e,n)}var Rb,Nb,Bb,Yb,Fb,zb,Hb,Vb,Wb,Ub,$b,Gb,qb,Xb,Kb,Zb,Jb,Qb,e_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(E),t_=e_.prototype;t_.on=jb("on"),t_.off=jb("off");var n_=function(e){function t(t,n,r){var i=e.call(this,new Rv)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},Object(l["C"])(n)&&(n=d_[n]),i._dom=t;var o="canvas",a="auto",s=!1;r.ssr&&Ir((function(e){var t=Ts(e),n=t.dataIndex;if(null!=n){var r=Object(l["f"])();return r.set("series_index",t.seriesIndex),r.set("data_index",n),t.ssrType&&r.set("ssr_type",t.ssrType),r}}));var u=i._zr=Ar(t,{renderer:r.renderer||o,devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:Object(l["P"])(r.useDirtyRect,s),useCoarsePointer:Object(l["P"])(r.useCoarsePointer,a),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=Jg(Object(l["c"])(u.flush,u),17),n=Object(l["d"])(n),n&&Mh(n,!0),i._theme=n,i._locale=Hu(r.locale||Fu),i._coordSysMgr=new Gd;var c=i._api=Kb(i);function d(e,t){return e.__prio-t.__prio}return Ke(c_,d),Ke(l_,d),i._scheduler=new Tv(i,c,l_,c_),i._messageCenter=new e_,i._initEvents(),i.resize=Object(l["c"])(i.resize,i),u.animation.on("frame",i._onframe,i),Ub(u,i),$b(u,i),Object(l["R"])(i),i}return a(t,e),t.prototype._onframe=function(){if(!this._disposed){Qb(this);var e=this._scheduler;if(this[Cb]){var t=this[Cb].silent;this[Sb]=!0;try{Rb(this),Yb.update.call(this,null,this[Cb].updateParams)}catch(a){throw this[Sb]=!1,this[Cb]=null,a}this._zr.flush(),this[Sb]=!1,this[Cb]=null,Vb.call(this,t),Wb.call(this,t)}else if(e.unfinished){var n=lb,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),zb(this,r),e.performVisualTasks(r),Xb(this,this._model,i,"remain",{}),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[Sb])if(this._disposed)o_(this.id);else{var r,i,o;if(Object(l["A"])(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,o=t.transition,t=t.notMerge),this[Sb]=!0,!this._model||t){var a=new eh(this._api),s=this._theme,u=this._model=new zd;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(e,{replaceMerge:i},u_);var c={seriesTransition:o,optionChanged:!0};if(n)this[Cb]={silent:r,updateParams:c},this[Sb]=!1,this.getZr().wakeUp();else{try{Rb(this),Yb.update.call(this,null,c)}catch(d){throw this[Cb]=null,this[Sb]=!1,d}this._ssr||this._zr.flush(),this[Cb]=null,this[Sb]=!1,Vb.call(this,r),Wb.call(this,r)}}},t.prototype.setTheme=function(){Dd("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||s["a"].hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var t=this._zr.painter;return t.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var t=this._zr.painter;return t.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(s["a"].svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(l["k"])(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;Object(l["k"])(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(l["k"])(r,(function(e){e.group.ignore=!1})),o}o_(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,i=Math.max,o=1/0;if(p_[n]){var a=o,s=o,u=-o,c=-o,d=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();Object(l["k"])(f_,(function(o,h){if(o.group===n){var f=t?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Object(l["d"])(e)),p=o.getDom().getBoundingClientRect();a=r(p.left,a),s=r(p.top,s),u=i(p.right,u),c=i(p.bottom,c),d.push({dom:f,left:p.left,top:p.top})}})),a*=h,s*=h,u*=h,c*=h;var f=u-a,p=c-s,m=Jn["d"].createCanvas(),g=Ar(m,{renderer:t?"svg":"canvas"});if(g.resize({width:f,height:p}),t){var v="";return Object(l["k"])(d,(function(e){var t=e.left-a,n=e.top-s;v+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=v,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return e.connectedBackgroundColor&&g.add(new ls({shape:{x:0,y:0,width:f,height:p},style:{fill:e.connectedBackgroundColor}})),Object(l["k"])(d,(function(e){var t=new Qa({style:{x:e.left*h-a,y:e.top*h-s,image:e.dom}});g.add(t)})),g.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}o_(this.id)},t.prototype.convertToPixel=function(e,t){return Fb(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return Fb(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=ji(r,e);return Object(l["k"])(i,(function(e,r){r.indexOf("Models")>=0&&Object(l["k"])(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0}),this)}),this),!!n}o_(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=ji(n,e,{defaultMainType:"series"}),i=r.seriesModel;var o=i.getData(),a=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=a?zv(o,a,t):Hv(o,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Object(l["k"])(i_,(function(t){var n=function(n){var r,i=e.getModel(),o=n.target,a="globalout"===t;if(a?r={}:o&&Gv(o,(function(e){var t=Ts(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType,o)||{},!0}if(t.eventData)return r=Object(l["m"])({},t.eventData),!0}),!0),r){var s=r.componentType,u=r.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",u=r.seriesIndex);var c=s&&null!=u&&i.getComponent(s,u),d=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:c,view:d},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),Object(l["k"])(s_,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),Object(l["k"])(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),$v(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?o_(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)o_(this.id);else{this._disposed=!0;var e=this.getDom();e&&Yi(this.getDom(),g_,"");var t=this,n=t._api,r=t._model;Object(l["k"])(t._componentsViews,(function(e){e.dispose(r,n)})),Object(l["k"])(t._chartsViews,(function(e){e.dispose(r,n)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete f_[t.id]}},t.prototype.resize=function(e){if(!this[Sb])if(this._disposed)o_(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[Cb]&&(null==r&&(r=this[Cb].silent),n=!0,this[Cb]=null),this[Sb]=!0;try{n&&Rb(this),Yb.update.call(this,{type:"resize",animation:Object(l["m"])({duration:0},e&&e.animation)})}catch(i){throw this[Sb]=!1,i}this[Sb]=!1,Vb.call(this,r),Wb.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)o_(this.id);else if(Object(l["A"])(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),h_[e]){var n=h_[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?o_(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(l["m"])({},e);return t.type=s_[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)o_(this.id);else if(Object(l["A"])(t)||(t={silent:!!t}),a_[e.type]&&this._model)if(this[Sb])this._pendingActions.push(e);else{var n=t.silent;Hb.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&s["a"].browser.weChat&&this._throttledZrFlush(),Vb.call(this,n),Wb.call(this,n)}},t.prototype.updateLabelLayout=function(){ib.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)o_(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);0,r.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){var t=[],n=[],r=!1;if(e.eachComponent((function(e,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:o,z:a,idx:i.componentIndex,type:e,key:s})})),r){var i,o,a=t.concat(n);Ke(a,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),Object(l["k"])(a,(function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,a=t.key;null!=i&&(r=Math.max(i,r)),a?(r===i&&a!==o&&r++,o=a):o&&(r===i&&r++,o=""),i=r,n.setZLevel(r)}))}}function n(e){for(var t=[],n=e.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&t.push(i)}e.selected&&e.states.select&&t.push("select"),e.hoverState===Ps&&e.states.emphasis?t.push("emphasis"):e.hoverState===js&&e.states.blur&&t.push("blur"),e.useStates(t)}function r(e,t){var n=e._zr,r=n.storage,i=0;r.traverse((function(e){e.isGroup||i++})),i>t.get("hoverLayerThreshold")&&!s["a"].node&&!s["a"].worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}function i(e,t){var n=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=n)}))}function o(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,r=e.get("zlevel")||0;t.eachRendered((function(e){return u(e,n,r,-1/0),!0}))}}function u(e,t,n,r){var i=e.getTextContent(),o=e.getTextGuideLine(),a=e.isGroup;if(a)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(u(s[l],t,n,r),r);else e.z=t,e.zlevel=n,r=Math.max(e.z2,r);if(i&&(i.z=t,i.zlevel=n,isFinite(r)&&(i.z2=r+2)),o){var c=e.textGuideLineConfig;o.z=t,o.zlevel=n,isFinite(r)&&(o.z2=r+(c&&c.showAbove?1:-1))}return r}function c(e,t){t.eachRendered((function(e){if(!$l(e)){var t=e.getTextContent(),n=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}}))}function d(e,t){var r=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;t.eachRendered((function(e){if(e.states&&e.states.emphasis){if($l(e))return;if(e instanceof Ua&&Fl(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(i){e.stateTransition=a;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&n(e)}}))}Rb=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),Nb(e,!0),Nb(e,!1),t.plan()},Nb=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(e){var l=e.__requireNewView;e.__requireNewView=!1;var u="_ec_"+e.id+"_"+e.type,c=!l&&o[u];if(!c){var d=Gi(e.type),h=t?Tp.getClass(d.main,d.sub):qg.getClass(d.sub);0,c=new h,c.init(n,s),o[u]=c,i.push(c),a.add(c.group)}e.__viewId=c.__id=u,c.__alive=!0,c.__model=e,c.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&r.prepareView(c,e,n,s)}t?n.eachComponent((function(e,t){"series"!==e&&u(t)})):n.eachSeries(u);for(l=0;l<i.length;){var c=i[l];c.__alive?l++:(!t&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},Bb=function(e,t,n,r,i){var o=e._model;if(o.setUpdatePayload(n),r){var a={};a[r+"Id"]=n[r+"Id"],a[r+"Index"]=n[r+"Index"],a[r+"Name"]=n[r+"Name"];var s={mainType:r,query:a};i&&(s.subType=i);var u,c=n.excludeSeriesId;null!=c&&(u=Object(l["f"])(),Object(l["k"])(ci(c),(function(e){var t=Mi(e,null);null!=t&&u.set(t,!0)}))),o&&o.eachComponent(s,(function(t){var r=u&&null!=u.get(t.id);if(!r)if(Yl(n))if(t instanceof Sp)n.type!==Fs||n.notBlur||t.get(["emphasis","disabled"])||_l(t,n,e._api);else{var i=wl(t.mainType,t.componentIndex,n.name,e._api),o=i.focusSelf,a=i.dispatchers;n.type===Fs&&o&&!n.notBlur&&bl(t.mainType,t.componentIndex,e._api),a&&Object(l["k"])(a,(function(e){n.type===Fs?cl(e):dl(e)}))}else Bl(n)&&t instanceof Sp&&(Ml(t,n,e._api),Sl(t),Jb(e))}),e),o&&o.eachComponent(s,(function(t){var n=u&&null!=u.get(t.id);n||d(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else Object(l["k"])([].concat(e._componentsViews).concat(e._chartsViews),d);function d(r){r&&r.__alive&&r[t]&&r[t](r.__model,o,e._api,n)}},Yb={prepareAndUpdate:function(e){Rb(this),Yb.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(t),s.restoreData(r,t),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,t),zb(this,r),a.update(r,i),e(r),s.performVisualTasks(r,t),Gb(this,r,i,t,n);var l=r.get("backgroundColor")||"transparent",u=r.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),ib.trigger("afterupdate",r,i)}},updateTransform:function(t){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(t);var o=[];r.eachComponent((function(e,a){if("series"!==e){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,i,t);l&&l.update&&o.push(s)}else o.push(s)}}));var a=Object(l["f"])();r.eachSeries((function(e){var o=n._chartsMap[e.__viewId];if(o.updateTransform){var s=o.updateTransform(e,r,i,t);s&&s.update&&a.set(e.uid,1)}else a.set(e.uid,1)})),e(r),this._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:a}),Xb(this,r,i,t,{},a),ib.trigger("afterupdate",r,i)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),qg.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),Gb(this,n,this._api,t,{}),ib.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,r=this._model;r&&(r.setUpdatePayload(t),r.eachSeries((function(e){e.getData().clearAllVisual()})),qg.markUpdateMethod(t,"updateVisual"),e(r),this._scheduler.performVisualTasks(r,t,{visualType:"visual",setDirty:!0}),r.eachComponent((function(e,i){if("series"!==e){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,t)}})),r.eachSeries((function(e){var i=n._chartsMap[e.__viewId];i.updateVisual(e,r,n._api,t)})),ib.trigger("afterupdate",r,this._api))},updateLayout:function(e){Yb.update.call(this,e)}},Fb=function(e,t,n,r){if(e._disposed)o_(e.id);else{for(var i,o=e._model,a=e._coordSysMgr.getCoordinateSystems(),s=ji(o,n),l=0;l<a.length;l++){var u=a[l];if(u[t]&&null!=(i=u[t](o,s,r)))return i}0}},zb=function(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))},Hb=function(e,t){var n=this,r=this.getModel(),i=e.type,o=e.escapeConnect,a=a_[i],s=a.actionInfo,u=(s.update||"update").split(":"),c=u.pop(),d=null!=u[0]&&Gi(u[0]);this[Sb]=!0;var h=[e],f=!1;e.batch&&(f=!0,h=Object(l["H"])(e.batch,(function(t){return t=Object(l["i"])(Object(l["m"])({},t),e),t.batch=null,t})));var p,m=[],g=Bl(e),v=Yl(e);if(v&&vl(this._api),Object(l["k"])(h,(function(t){if(p=a.action(t,n._model,n._api),p=p||Object(l["m"])({},t),p.type=s.event||p.type,m.push(p),v){var r=Pi(e),i=r.queryOptionMap,o=r.mainTypeSpecified,u=o?i.keys()[0]:"series";Bb(n,c,t,u),Jb(n)}else g?(Bb(n,c,t,"series"),Jb(n)):d&&Bb(n,c,t,d.main,d.sub)})),"none"!==c&&!v&&!g&&!d)try{this[Cb]?(Rb(this),Yb.update.call(this,e),this[Cb]=null):Yb[c].call(this,e)}catch(_){throw this[Sb]=!1,_}if(p=f?{type:s.event||i,escapeConnect:o,batch:m}:m[0],this[Sb]=!1,!t){var y=this._messageCenter;if(y.trigger(p.type,p),g){var b={type:"selectchanged",escapeConnect:o,selected:Cl(r),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};y.trigger(b.type,b)}}},Vb=function(e){var t=this._pendingActions;while(t.length){var n=t.shift();Hb.call(this,n,e)}},Wb=function(e){!e&&this.trigger("updated")},Ub=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t[Cb]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},$b=function(e,t){e.on("mouseover",(function(e){var n=e.target,r=Gv(n,Pl);r&&(xl(r,e,t._api),Jb(t))})).on("mouseout",(function(e){var n=e.target,r=Gv(n,Pl);r&&(kl(r,e,t._api),Jb(t))})).on("click",(function(e){var n=e.target,r=Gv(n,(function(e){return null!=Ts(e).dataIndex}),!0);if(r){var i=r.selected?"unselect":"select",o=Ts(r);t._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},Gb=function(e,n,r,i,o){t(n),qb(e,n,r,i,o),Object(l["k"])(e._chartsViews,(function(e){e.__alive=!1})),Xb(e,n,r,i,o),Object(l["k"])(e._chartsViews,(function(e){e.__alive||e.remove(n,r)}))},qb=function(e,t,n,r,i,a){Object(l["k"])(a||e._componentsViews,(function(e){var i=e.__model;c(i,e),e.render(i,t,n,r),o(i,e),d(i,e)}))},Xb=function(e,t,n,a,s,u){var h=e._scheduler;s=Object(l["m"])(s||{},{updatedSeries:t.getSeries()}),ib.trigger("series:beforeupdate",t,n,s);var f=!1;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var r=n.renderTask;h.updatePayload(r,a),c(t,n),u&&u.get(t.uid)&&r.dirty(),r.perform(h.getPerformArgs(r))&&(f=!0),n.group.silent=!!t.get("silent"),i(t,n),Sl(t)})),h.unfinished=f||h.unfinished,ib.trigger("series:layoutlabels",t,n,s),ib.trigger("series:transition",t,n,s),t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];o(t,n),d(t,n)})),r(e,t),ib.trigger("series:afterupdate",t,n,s)},Jb=function(e){e[Tb]=!0,e.getZr().wakeUp()},Qb=function(e){e[Tb]&&(e.getZr().storage.traverse((function(e){$l(e)||n(e)})),e[Tb]=!1)},Kb=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){cl(t,n),Jb(e)},n.prototype.leaveEmphasis=function(t,n){dl(t,n),Jb(e)},n.prototype.enterBlur=function(t){hl(t),Jb(e)},n.prototype.leaveBlur=function(t){fl(t),Jb(e)},n.prototype.enterSelect=function(t){pl(t),Jb(e)},n.prototype.leaveSelect=function(t){ml(t),Jb(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(Wd))(e)},Zb=function(e){function t(e,t){for(var n=0;n<e.length;n++){var r=e[n];r[Lb]=t}}Object(l["k"])(s_,(function(n,r){e._messageCenter.on(r,(function(n){if(p_[e.group]&&e[Lb]!==Ab){if(n&&n.escapeConnect)return;var r=e.makeActionFromEvent(n),i=[];Object(l["k"])(f_,(function(t){t!==e&&t.group===e.group&&i.push(t)})),t(i,Ab),Object(l["k"])(i,(function(e){e[Lb]!==Db&&e.dispatchAction(r)})),t(i,Eb)}}))}))}}(),t}(E),r_=n_.prototype;r_.on=Ib("on"),r_.off=Ib("off"),r_.one=function(e,t,n){var r=this;function i(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t&&t.apply&&t.apply(this,n),r.off(e,i)}Dd("ECharts#one is deprecated."),this.on.call(this,e,i,n)};var i_=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function o_(e){0}var a_={},s_={},l_=[],u_=[],c_=[],d_={},h_={},f_={},p_={},m_=+new Date-0,g_=(new Date,"_echarts_instance_");function v_(e,t,n){var r=!(n&&n.ssr);if(r){0;var i=y_(e);if(i)return i;0}var o=new n_(e,t,n);return o.id="ec_"+m_++,f_[o.id]=o,r&&Yi(e,g_,o.id),Zb(o),ib.trigger("afterinit",o),o}function y_(e){return f_[Fi(e,g_)]}function b_(e,t){d_[e]=t}function __(e){Object(l["r"])(u_,e)<0&&u_.push(e)}function w_(e,t){A_(l_,e,t,hb)}function x_(e){M_("afterinit",e)}function k_(e){M_("afterupdate",e)}function M_(e,t){ib.on(e,t)}function S_(e,t,n){Object(l["w"])(t)&&(n=t,t="");var r=Object(l["A"])(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,s_[t]||(Object(l["b"])(Ob.test(r)&&Ob.test(t)),a_[r]||(a_[r]={action:n,actionInfo:e}),s_[t]=r)}function C_(e,t){Gd.register(e,t)}function T_(e,t){A_(c_,e,t,pb,"layout")}function O_(e,t){A_(c_,e,t,vb,"visual")}var L_=[];function A_(e,t,n,r,i){if((Object(l["w"])(t)||Object(l["A"])(t))&&(n=t,t=r),!(Object(l["r"])(L_,n)>=0)){L_.push(n);var o=Tv.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function D_(e,t){h_[e]=t}function E_(e,t,n){var r=sb("registerMap");r&&r(e,t,n)}function I_(e){var t=sb("getMap");return t&&t(e)}var j_=kf;O_(gb,av),O_(bb,lv),O_(bb,uv),O_(gb,Yv),O_(bb,Fv),O_(kb,nb),__(Mh),w_(cb,Sh),D_("default",dv),S_({type:Fs,event:Fs,update:Fs},l["L"]),S_({type:zs,event:zs,update:zs},l["L"]),S_({type:Hs,event:Hs,update:Hs},l["L"]),S_({type:Vs,event:Vs,update:Vs},l["L"]),S_({type:Ws,event:Ws,update:Ws},l["L"]),b_("light",Lv),b_("dark",Pv);var P_=[],R_={registerPreprocessor:__,registerProcessor:w_,registerPostInit:x_,registerPostUpdate:k_,registerUpdateLifecycle:M_,registerAction:S_,registerCoordinateSystem:C_,registerLayout:T_,registerVisual:O_,registerTransform:j_,registerLoading:D_,registerMap:E_,registerImpl:ab,PRIORITY:Mb,ComponentModel:Kc,ComponentView:Tp,SeriesModel:Sp,ChartView:qg,registerComponentModel:function(e){Kc.registerClass(e)},registerComponentView:function(e){Tp.registerClass(e)},registerSeriesModel:function(e){Sp.registerClass(e)},registerChartView:function(e){qg.registerClass(e)},registerSubTypeDefaulter:function(e,t){Kc.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Dr(e,t)}};function N_(e){Object(l["t"])(e)?Object(l["k"])(e,(function(e){N_(e)})):Object(l["r"])(P_,e)>=0||(P_.push(e),Object(l["w"])(e)&&(e={install:e}),e.install(R_))}var B_=2*Math.PI,Y_=ba.CMD,F_=["top","right","bottom","left"];function z_(e,t,n,r,i){var o=n.width,a=n.height;switch(e){case"top":r.set(n.x+o/2,n.y-t),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+t),i.set(0,1);break;case"left":r.set(n.x-t,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+t,n.y+a/2),i.set(1,0);break}}function H_(e,t,n,r,i,o,a,s,l){a-=e,s-=t;var u=Math.sqrt(a*a+s*s);a/=u,s/=u;var c=a*n+e,d=s*n+t;if(Math.abs(r-i)%B_<1e-4)return l[0]=c,l[1]=d,u-n;if(o){var h=r;r=Ma(i),i=Ma(h)}else r=Ma(r),i=Ma(i);r>i&&(i+=B_);var f=Math.atan2(s,a);if(f<0&&(f+=B_),f>=r&&f<=i||f+B_>=r&&f+B_<=i)return l[0]=c,l[1]=d,u-n;var p=n*Math.cos(r)+e,m=n*Math.sin(r)+t,g=n*Math.cos(i)+e,v=n*Math.sin(i)+t,y=(p-a)*(p-a)+(m-s)*(m-s),b=(g-a)*(g-a)+(v-s)*(v-s);return y<b?(l[0]=p,l[1]=m,Math.sqrt(y)):(l[0]=g,l[1]=v,Math.sqrt(b))}function V_(e,t,n,r,i,o,a,s){var l=i-e,u=o-t,c=n-e,d=r-t,h=Math.sqrt(c*c+d*d);c/=h,d/=h;var f=l*c+u*d,p=f/h;s&&(p=Math.min(Math.max(p,0),1)),p*=h;var m=a[0]=e+p*c,g=a[1]=t+p*d;return Math.sqrt((m-i)*(m-i)+(g-o)*(g-o))}function W_(e,t,n,r,i,o,a){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r);var s=e+n,l=t+r,u=a[0]=Math.min(Math.max(i,e),s),c=a[1]=Math.min(Math.max(o,t),l);return Math.sqrt((u-i)*(u-i)+(c-o)*(c-o))}var U_=[];function $_(e,t,n){var r=W_(t.x,t.y,t.width,t.height,e.x,e.y,U_);return n.set(U_[0],U_[1]),r}function G_(e,t,n){for(var r,i,o=0,a=0,s=0,l=0,u=1/0,c=t.data,d=e.x,h=e.y,f=0;f<c.length;){var p=c[f++];1===f&&(o=c[f],a=c[f+1],s=o,l=a);var m=u;switch(p){case Y_.M:s=c[f++],l=c[f++],o=s,a=l;break;case Y_.L:m=V_(o,a,c[f],c[f+1],d,h,U_,!0),o=c[f++],a=c[f++];break;case Y_.C:m=St(o,a,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],d,h,U_),o=c[f++],a=c[f++];break;case Y_.Q:m=Et(o,a,c[f++],c[f++],c[f],c[f+1],d,h,U_),o=c[f++],a=c[f++];break;case Y_.A:var g=c[f++],v=c[f++],y=c[f++],b=c[f++],_=c[f++],w=c[f++];f+=1;var x=!!(1-c[f++]);r=Math.cos(_)*y+g,i=Math.sin(_)*b+v,f<=1&&(s=r,l=i);var k=(d-g)*b/y+g;m=H_(g,v,b,_,_+w,x,k,h,U_),o=Math.cos(_+w)*y+g,a=Math.sin(_+w)*b+v;break;case Y_.R:s=o=c[f++],l=a=c[f++];var M=c[f++],S=c[f++];m=W_(s,l,M,S,d,h,U_);break;case Y_.Z:m=V_(o,a,s,l,d,h,U_,!0),o=s,a=l;break}m<u&&(u=m,n.set(U_[0],U_[1]))}return u}var q_=new ye,X_=new ye,K_=new ye,Z_=new ye,J_=new ye;function Q_(e,t){if(e){var n=e.getTextGuideLine(),r=e.getTextContent();if(r&&n){var i=e.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||F_,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var l=1/0,u=i.anchor,c=e.getComputedTransform(),d=c&&me([],c),h=t.get("length2")||0;u&&K_.copy(u);for(var f=0;f<a.length;f++){var p=a[f];z_(p,0,s,q_,Z_),ye.scaleAndAdd(X_,q_,Z_,h),X_.transform(d);var m=e.getBoundingRect(),g=u?u.distance(X_):e instanceof Ua?G_(X_,e.path,K_):$_(X_,m,K_);g<l&&(l=g,X_.transform(c),K_.transform(c),K_.toArray(o[0]),X_.toArray(o[1]),q_.toArray(o[2]))}nw(o,t.get("minTurnAngle")),n.setShape({points:o})}}}var ew=[],tw=new ye;function nw(e,t){if(t<=180&&t>0){t=t/180*Math.PI,q_.fromArray(e[0]),X_.fromArray(e[1]),K_.fromArray(e[2]),ye.sub(Z_,q_,X_),ye.sub(J_,K_,X_);var n=Z_.len(),r=J_.len();if(!(n<.001||r<.001)){Z_.scale(1/n),J_.scale(1/r);var i=Z_.dot(J_),o=Math.cos(t);if(o<i){var a=V_(X_.x,X_.y,K_.x,K_.y,q_.x,q_.y,ew,!1);tw.fromArray(ew),tw.scaleAndAdd(J_,a/Math.tan(Math.PI-t));var s=K_.x!==X_.x?(tw.x-X_.x)/(K_.x-X_.x):(tw.y-X_.y)/(K_.y-X_.y);if(isNaN(s))return;s<0?ye.copy(tw,X_):s>1&&ye.copy(tw,K_),tw.toArray(e[1])}}}}function rw(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,q_.fromArray(e[0]),X_.fromArray(e[1]),K_.fromArray(e[2]),ye.sub(Z_,X_,q_),ye.sub(J_,K_,X_);var r=Z_.len(),i=J_.len();if(!(r<.001||i<.001)){Z_.scale(1/r),J_.scale(1/i);var o=Z_.dot(t),a=Math.cos(n);if(o<a){var s=V_(X_.x,X_.y,K_.x,K_.y,q_.x,q_.y,ew,!1);tw.fromArray(ew);var l=Math.PI/2,u=Math.acos(J_.dot(t)),c=l+u-n;if(c>=l)ye.copy(tw,K_);else{tw.scaleAndAdd(J_,s/Math.tan(Math.PI/2-c));var d=K_.x!==X_.x?(tw.x-X_.x)/(K_.x-X_.x):(tw.y-X_.y)/(K_.y-X_.y);if(isNaN(d))return;d<0?ye.copy(tw,X_):d>1&&ye.copy(tw,K_)}tw.toArray(e[1])}}}}function iw(e,t,n,r){var i="normal"===n,o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function ow(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=w(r[0],r[1]),o=w(r[1],r[2]);if(!i||!o)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=M([],r[1],r[0],a/i),l=M([],r[1],r[2],a/o),u=M([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)e.lineTo(r[c][0],r[c][1])}function aw(e,t,n){var r=e.getTextGuideLine(),i=e.getTextContent();if(i){for(var o=t.normal,a=o.get("show"),s=i.ignore,u=0;u<Ns.length;u++){var c=Ns[u],d=t[c],h="normal"===c;if(d){var f=d.get("show"),p=h?s:Object(l["P"])(i.states[c]&&i.states[c].ignore,s);if(p||!Object(l["P"])(f,a)){var m=h?r:r&&r.states[c];m&&(m.ignore=!0),r&&iw(r,!0,c,d);continue}r||(r=new Em,e.setTextGuideLine(r),h||!s&&a||iw(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),iw(r,!1,c,d)}}if(r){Object(l["i"])(r.style,n),r.style.fill=null;var g=o.get("showAbove"),v=e.textGuideLineConfig=e.textGuideLineConfig||{};v.showAbove=g||!1,r.buildPath=ow}}else r&&e.removeTextGuideLine()}function sw(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<Rs.length;r++){var i=Rs[r];n[i]=e.getModel([i,t])}return n}function lw(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new ig(a,o):null;t.push({label:i,labelLine:r.labelLine,rect:u,localRect:a,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return t}function uw(e,t,n,r,i,o){var a=e.length;if(!(a<2)){e.sort((function(e,n){return e.rect[t]-n.rect[t]}));for(var s,l=0,u=!1,c=[],d=0,h=0;h<a;h++){var f=e[h],p=f.rect;s=p[t]-l,s<0&&(p[t]-=s,f.label[t]-=s,u=!0);var m=Math.max(-s,0);c.push(m),d+=m,l=p[t]+p[n]}d>0&&o&&x(-d/a,0,a);var g,v,y=e[0],b=e[a-1];return _(),g<0&&k(-g,.8),v<0&&k(v,.8),_(),w(g,v,1),w(v,g,-1),_(),g<0&&M(-g),v<0&&M(v),u}function _(){g=y.rect[t]-r,v=i-b.rect[t]-b.rect[n]}function w(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){x(r*n,0,a);var i=r+e;i<0&&k(-i*n,1)}else k(-e*n,1)}}function x(n,r,i){0!==n&&(u=!0);for(var o=r;o<i;o++){var a=e[o],s=a.rect;s[t]+=n,a.label[t]+=n}}function k(r,i){for(var o=[],s=0,l=1;l<a;l++){var u=e[l-1].rect,c=Math.max(e[l].rect[t]-u[t]-u[n],0);o.push(c),s+=c}if(s){var d=Math.min(Math.abs(r)/s,i);if(r>0)for(l=0;l<a-1;l++){var h=o[l]*d;x(h,0,l+1)}else for(l=a-1;l>0;l--){h=o[l-1]*d;x(-h,l,a)}}}function M(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),r=0;r<a-1;r++)if(t>0?x(n,0,r+1):x(-n,a-r-1,a),e-=n,e<=0)return}}function cw(e,t,n,r){return uw(e,"x","width",t,n,r)}function dw(e,t,n,r){return uw(e,"y","height",t,n,r)}function hw(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new Oe(0,0,0,0);function r(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var i=0;i<e.length;i++){var o=e[i],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=o.obb,h=!1,f=0;f<t.length;f++){var p=t[f];if(n.intersect(p.rect)){if(a&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new ig(p.localRect,p.transform)),d||(d=new ig(s,l)),d.intersect(p.obb)){h=!0;break}}}h?(r(u),c&&r(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}function fw(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function pw(e,t){var n=e.label,r=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:fw(r&&r.shape.points)}}var mw=["align","verticalAlign","width","height","fontSize"],gw=new Kn,vw=Ei(),yw=Ei();function bw(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null!=t[i]&&(e[i]=t[i])}}var _w=["x","y","rotation"],ww=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,n,r,i){var o=r.style,a=r.__hostTarget,s=a.textConfig||{},l=r.getComputedTransform(),u=r.getBoundingRect().plain();Oe.applyTransform(u,u,l),l?gw.setLocalTransform(l):(gw.x=gw.y=gw.rotation=gw.originX=gw.originY=0,gw.scaleX=gw.scaleY=1),gw.rotation=Ma(gw.rotation);var c,d=r.__hostTarget;if(d){c=d.getBoundingRect().plain();var h=d.getComputedTransform();Oe.applyTransform(c,c,h)}var f=c&&d.getTextGuideLine();this._labelList.push({label:r,labelLine:f,seriesModel:n,dataIndex:e,dataType:t,layoutOption:i,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:f&&f.ignore,x:gw.x,y:gw.y,scaleX:gw.scaleX,scaleY:gw.scaleY,rotation:gw.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:r.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var n=e.__model,r=n.get("labelLayout");(Object(l["w"])(r)||Object(l["F"])(r).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var i=e.getTextContent(),o=Ts(e);i&&!i.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,n,i,r)}))},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),n=e.getHeight();function r(e,t){return function(){Q_(e,t)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],a=o.label,s=a.__hostTarget,u=o.defaultAttr,c=void 0;c=Object(l["w"])(o.layoutOption)?o.layoutOption(pw(o,s)):o.layoutOption,c=c||{},o.computedLayoutOption=c;var d=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:u.attachedPos,rotation:null!=c.rotate?c.rotate*d:u.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(null!=c.x?(a.x=Br(c.x,t),a.setStyle("x",0),h=!0):(a.x=u.x,a.setStyle("x",u.style.x)),null!=c.y?(a.y=Br(c.y,n),a.setStyle("y",0),h=!0):(a.y=u.y,a.setStyle("y",u.style.y)),c.labelLinePoints){var f=s.getTextGuideLine();f&&(f.setShape({points:c.labelLinePoints}),h=!1)}var p=vw(a);p.needsUpdateLabelLine=h,a.rotation=null!=c.rotate?c.rotate*d:u.rotation,a.scaleX=u.scaleX,a.scaleY=u.scaleY;for(var m=0;m<mw.length;m++){var g=mw[m];a.setStyle(g,null!=c[g]?c[g]:u.style[g])}if(c.draggable){if(a.draggable=!0,a.cursor="move",s){var v=o.seriesModel;if(null!=o.dataIndex){var y=o.seriesModel.getData(o.dataType);v=y.getItemModel(o.dataIndex)}a.on("drag",r(s,v.getModel("labelLine")))}}else a.off("drag"),a.cursor=u.cursor}},e.prototype.layout=function(e){var t=e.getWidth(),n=e.getHeight(),r=lw(this._labelList),i=Object(l["n"])(r,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),o=Object(l["n"])(r,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));cw(i,0,t),dw(o,0,n);var a=Object(l["n"])(r,(function(e){return e.layoutOption.hideOverlap}));hw(a)},e.prototype.processLabelsOverall=function(){var e=this;Object(l["k"])(this._chartViewList,(function(t){var n=t.__model,r=t.ignoreLabelLineUpdate,i=n.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var o=!r,a=t.getTextContent();!o&&a&&(o=vw(a).needsUpdateLabelLine),o&&e._updateLabelLine(t,n),i&&e._animateLabels(t,n)}))}))},e.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),r=Ts(e),i=r.dataIndex;if(n&&null!=i){var o=t.getData(r.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var c=a.getModel("labelLine");aw(e,sw(a),s),Q_(e,c)}},e.prototype._animateLabels=function(e,t){var n=e.getTextContent(),r=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!$l(e))){var i=vw(n),o=i.oldLayout,a=Ts(e),s=a.dataIndex,u={x:n.x,y:n.y,rotation:n.rotation},c=t.getData(a.dataType);if(o){n.attr(o);var d=e.prevStates;d&&(Object(l["r"])(d,"select")>=0&&n.attr(i.oldLayoutSelect),Object(l["r"])(d,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),Wl(n,u,t,s)}else if(n.attr(u),!hu(n).valueAnimation){var h=Object(l["P"])(n.style.opacity,1);n.style.opacity=0,Ul(n,{style:{opacity:h}},t,s)}if(i.oldLayout=u,n.states.select){var f=i.oldLayoutSelect={};bw(f,u,_w),bw(f,n.states.select,_w)}if(n.states.emphasis){var p=i.oldLayoutEmphasis={};bw(p,u,_w),bw(p,n.states.emphasis,_w)}pu(n,s,c,t,t)}if(r&&!r.ignore&&!r.invisible){i=yw(r),o=i.oldLayout;var m={points:r.shape.points};o?(r.attr({shape:o}),Wl(r,{shape:m},t)):(r.setShape(m),r.style.strokePercent=0,Ul(r,{style:{strokePercent:1}},t)),i.oldLayout=m}},e}(),xw=ww,kw=Ei();function Mw(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var r=kw(t).labelManager;r||(r=kw(t).labelManager=new xw),r.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var r=kw(t).labelManager;n.updatedSeries.forEach((function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()}))}function Sw(e,t,n){var r=Jn["d"].createCanvas(),i=t.getWidth(),o=t.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=o*n,r}N_(Mw);var Cw=function(e){function t(t,n,r){var i,o=e.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,r=r||Pn,"string"===typeof t?i=Sw(t,n,r):l["A"](t)&&(i=t,t=i.id),o.id=t,o.dom=i;var a=i.style;return a&&(l["j"](i),i.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=r,o}return a(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=Sw("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new Oe(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===o.length){var t=new Oe(0,0,0,0);t.copy(e),o.push(t)}else{for(var n=!1,r=1/0,i=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(e)){var d=new Oe(0,0,0,0);d.copy(c),d.union(e),o[u]=d,n=!0;break}if(s){l.copy(e),l.union(c);var h=e.width*e.height,f=c.width*c.height,p=l.width*l.height,m=p-h-f;m<r&&(r=m,i=u)}}if(s&&(o[i].union(e),n=!0),!n){t=new Oe(0,0,0,0);t.copy(e),o.push(t)}s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var d=e[c];if(d){var h=d.shouldBePainted(n,r,!0,!0),f=d.__isRendered&&(d.__dirty&Ze||!h)?d.getPrevPaintRect():null;f&&u(f);var p=h&&(d.__dirty&Ze||!d.__isRendered)?d.getPaintRect():null;p&&u(p)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){d=t[c],h=d&&d.shouldBePainted(n,r,!0,!0);if(d&&(!h||!d.__zr)&&d.__isRendered){f=d.getPrevPaintRect();f&&u(f)}}do{i=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var m=c+1;m<o.length;)o[c].intersect(o[m])?(i=!0,o[c].union(o[m]),o.splice(m,1)):m++;c++}}while(i);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var r=this.dom,i=this.ctx,o=r.width,a=r.height;t=t||this.clearColor;var s=this.motionBlur&&!e,u=this.lastFrameAlpha,c=this.dpr,d=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/c,a/c));var h=this.domBack;function f(e,n,r,o){if(i.clearRect(e,n,r,o),t&&"transparent"!==t){var a=void 0;if(l["x"](t)){var f=t.global||t.__width===r&&t.__height===o;a=f&&t.__canvasGradient||fy(i,t,{x:0,y:0,width:r,height:o}),t.__canvasGradient=a,t.__width=r,t.__height=o}else l["y"](t)&&(t.scaleX=t.scaleX||c,t.scaleY=t.scaleY||c,a=Sy(i,t,{dirty:function(){d.setUnpainted(),d.painter.refresh()}}));i.save(),i.fillStyle=a||t,i.fillRect(e,n,r,o),i.restore()}s&&(i.save(),i.globalAlpha=u,i.drawImage(h,e,n,r,o),i.restore())}!n||s?f(0,0,o,a):n.length&&l["k"](n,(function(e){f(e.x*c,e.y*c,e.width*c,e.height*c)}))},t}(E),Tw=Cw,Ow=1e5,Lw=314159,Aw=.01,Dw=.001;function Ew(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}function Iw(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var jw=function(){function e(e,t,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=l["m"]({},n||{}),this.dpr=n.devicePixelRatio||Pn,this._singleCanvas=i,this.root=e;var o=e.style;o&&(l["j"](e),e.innerHTML=""),this.storage=t;var a=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var u=e,c=u.width,d=u.height;null!=n.width&&(c=n.width),null!=n.height&&(d=n.height),this.dpr=n.devicePixelRatio||1,u.width=c*this.dpr,u.height=d*this.dpr,this._width=c,this._height=d;var h=new Tw(u,this,this.dpr);h.__builtin__=!0,h.initContext(),s[Lw]=h,h.zlevel=Lw,a.push(Lw),this._domRoot=e}else{this._width=gy(e,0,n),this._height=gy(e,1,n);var f=this._domRoot=Iw(this._width,this._height);e.appendChild(f)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(e){var t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<t;o++){var a=e[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(Ow)),r||(r=n.ctx,r.save()),Uy(r,a,i,o===t-1))}r&&r.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(Ow)},e.prototype.paintOne=function(e,t){Wy(e,t)},e.prototype._paintList=function(e,t,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,n),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),o)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var s=this;at((function(){s._paintList(e,t,n,r)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(Lw).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},e.prototype._doPaintList=function(e,t,n){for(var r=this,i=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var u=this._zlevelList[a],c=this._layers[u];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||n)&&i.push(c)}for(var d=!0,h=!1,f=function(a){var s,l=i[a],u=l.ctx,c=o&&l.createRepaintRects(e,t,p._width,p._height),f=n?l.__startIndex:l.__drawIndex,m=!n&&l.incremental&&Date.now,g=m&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,c);else if(f===l.__startIndex){var y=e[f];y.incremental&&y.notClear&&!n||l.clear(!1,v,c)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var b=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=f;s<l.__endIndex;s++){var i=e[s];if(i.__inHover&&(h=!0),r._doPaintEl(i,l,o,t,n,s===l.__endIndex-1),m){var a=Date.now()-g;if(a>15)break}}n.prevElClipPaths&&u.restore()};if(c)if(0===c.length)s=l.__endIndex;else for(var _=p.dpr,w=0;w<c.length;++w){var x=c[w];u.save(),u.beginPath(),u.rect(x.x*_,x.y*_,x.width*_,x.height*_),u.clip(),b(x),u.restore()}else u.save(),b(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(d=!1)},p=this,m=0;m<i.length;m++)f(m);return s["a"].wxa&&l["k"](this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:d,needsRefreshHover:h}},e.prototype._doPaintEl=function(e,t,n,r,i,o){var a=t.ctx;if(n){var s=e.getPaintRect();(!r||s&&s.intersect(r))&&(Uy(a,e,i,o),e.setPrevPaintRect(s))}else Uy(a,e,i,o)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Lw);var n=this._layers[e];return n||(n=new Tw("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?l["I"](n,this._layerConfig[e],!0):this._layerConfig[e-Aw]&&l["I"](n,this._layerConfig[e-Aw],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,a=null,s=-1;if(!n[e]&&Ew(t)){if(i>0&&e>r[0]){for(s=0;s<i-1;s++)if(r[s]<e&&r[s+1]>e)break;a=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(t.dom,l.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];e.call(t,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&e.call(t,o,i)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||e.call(t,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){a&&(a.__endIndex!==e&&(a.__dirty=!0),a.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var r=e[n];if(r.zlevel!==e[n-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var i,o,a=null,s=0;for(o=0;o<e.length;o++){r=e[o];var u=r.zlevel,c=void 0;i!==u&&(i=u,s=0),r.incremental?(c=this.getLayer(u+Dw,this._needsManuallyCompositing),c.incremental=!0,s=1):c=this.getLayer(u+(s>0?Aw:0),this._needsManuallyCompositing),c.__builtin__||l["G"]("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,t(o),a=c),r.__dirty&Ze&&!r.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}t(o),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,l["k"](this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?l["I"](n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===e||i===e+Aw){var o=this._layers[i];l["I"](o,n[e],!0)}}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(l["r"](n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=gy(i,0,r),t=gy(i,1,r),n.style.display="",this._width!==e||t!==this._height){for(var o in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(Lw).resize(e,t)}return this},e.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[Lw].dom;var t=new Tw("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var n=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,i=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,i):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Uy(n,u,o,s===l-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}(),Pw=jw;function Rw(e){e.registerPainter("canvas",Pw)}var Nw=Math.sin,Bw=Math.cos,Yw=Math.PI,Fw=2*Math.PI,zw=180/Yw,Hw=function(){function e(){}return e.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},e.prototype.moveTo=function(e,t){this._add("M",e,t)},e.prototype.lineTo=function(e,t){this._add("L",e,t)},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){this._add("C",e,t,n,r,i,o)},e.prototype.quadraticCurveTo=function(e,t,n,r){this._add("Q",e,t,n,r)},e.prototype.arc=function(e,t,n,r,i,o){this.ellipse(e,t,n,n,0,r,i,o)},e.prototype.ellipse=function(e,t,n,r,i,o,a,s){var l=a-o,u=!s,c=Math.abs(l),d=Object(Yt["j"])(c-Fw)||(u?l>=Fw:-l>=Fw),h=l>0?l%Fw:l%Fw+Fw,f=!1;f=!!d||!Object(Yt["j"])(c)&&h>=Yw===!!u;var p=e+n*Bw(o),m=t+r*Nw(o);this._start&&this._add("M",p,m);var g=Math.round(i*zw);if(d){var v=1/this._p,y=(u?1:-1)*(Fw-v);this._add("A",n,r,g,1,+u,e+n*Bw(o+y),t+r*Nw(o+y)),v>.01&&this._add("A",n,r,g,0,+u,p,m)}else{var b=e+n*Bw(a),_=t+r*Nw(a);this._add("A",n,r,g,+f,+u,b,_)}},e.prototype.rect=function(e,t,n,r){this._add("M",e,t),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,n,r,i,o,a,s,l){for(var u=[],c=this._p,d=1;d<arguments.length;d++){var h=arguments[d];if(isNaN(h))return void(this._invalid=!0);u.push(Math.round(h*c)/c)}this._d.push(e+u.join(" ")),this._start="Z"===e},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}(),Vw=Hw,Ww="none",Uw=Math.round;function $w(e){var t=e.fill;return null!=t&&t!==Ww}function Gw(e){var t=e.stroke;return null!=t&&t!==Ww}var qw=["lineCap","miterLimit","lineJoin"],Xw=Object(l["H"])(qw,(function(e){return"stroke-"+e.toLowerCase()}));function Kw(e,t,n,r){var i=null==t.opacity?1:t.opacity;if(n instanceof Qa)e("opacity",i);else{if($w(t)){var o=Object(Yt["p"])(t.fill);e("fill",o.color);var a=null!=t.fillOpacity?t.fillOpacity*o.opacity*i:o.opacity*i;(r||a<1)&&e("fill-opacity",a)}else e("fill",Ww);if(Gw(t)){var s=Object(Yt["p"])(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?n.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=null!=t.strokeOpacity?t.strokeOpacity*s.opacity*i:s.opacity*i,d=t.strokeFirst;if((r||1!==u)&&e("stroke-width",u),(r||d)&&e("paint-order",d?"stroke":"fill"),(r||c<1)&&e("stroke-opacity",c),t.lineDash){var h=yy(n),f=h[0],p=h[1];f&&(p=Uw(p||0),e("stroke-dasharray",f.join(",")),(p||r)&&e("stroke-dashoffset",p))}else r&&e("stroke-dasharray",Ww);for(var m=0;m<qw.length;m++){var g=qw[m];if(r||t[g]!==za[g]){var v=t[g]||za[g];v&&e(Xw[m],v)}}}else r&&e("stroke",Ww)}}var Zw="http://www.w3.org/2000/svg",Jw="http://www.w3.org/1999/xlink",Qw="http://www.w3.org/2000/xmlns/",ex="http://www.w3.org/XML/1998/namespace",tx="ecmeta_";function nx(e){return document.createElementNS(Zw,e)}function rx(e,t,n,r,i){return{tag:e,attrs:n||{},children:r,text:i,key:t}}function ix(e,t){var n=[];if(t)for(var r in t){var i=t[r],o=r;!1!==i&&(!0!==i&&null!=i&&(o+='="'+i+'"'),n.push(o))}return"<"+e+" "+n.join(" ")+">"}function ox(e){return"</"+e+">"}function ax(e,t){t=t||{};var n=t.newline?"\n":"";function r(e){var t=e.children,i=e.tag,o=e.attrs,a=e.text;return ix(i,o)+("style"!==i?U(a):a||"")+(t?""+n+Object(l["H"])(t,(function(e){return r(e)})).join(n)+n:"")+ox(i)}return r(e)}function sx(e,t,n){n=n||{};var r=n.newline?"\n":"",i=" {"+r,o=r+"}",a=Object(l["H"])(Object(l["F"])(e),(function(t){return t+i+Object(l["H"])(Object(l["F"])(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(r)+o})).join(r),s=Object(l["H"])(Object(l["F"])(t),(function(e){return"@keyframes "+e+i+Object(l["H"])(Object(l["F"])(t[e]),(function(n){return n+i+Object(l["H"])(Object(l["F"])(t[e][n]),(function(r){var i=t[e][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(r)+o})).join(r)+o})).join(r);return a||s?["<![CDATA[",a,s,"]]>"].join(r):""}function lx(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function ux(e,t,n,r){return rx("svg","root",{width:e,height:t,xmlns:Zw,"xmlns:xlink":Jw,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}var cx=0;function dx(){return cx++}var hx={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},fx="transform-origin";function px(e,t,n){var r=Object(l["m"])({},e.shape);Object(l["m"])(r,t),e.buildPath(n,r);var i=new Vw;return i.reset(Object(Yt["f"])(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function mx(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[fx]=n+"px "+r+"px")}var gx={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function vx(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function yx(e,t,n){var r,i,o=e.shape.paths,a={};if(Object(l["k"])(o,(function(e){var t=lx(n.zrId);t.animation=!0,_x(e,{},t,!0);var o=t.cssAnims,s=t.cssNodes,u=Object(l["F"])(o),c=u.length;if(c){i=u[c-1];var d=o[i];for(var h in d){var f=d[h];a[h]=a[h]||{d:""},a[h].d+=f.d||""}for(var p in s){var m=s[p].animation;m.indexOf(i)>=0&&(r=m)}}})),r){t.d=!1;var s=vx(a,n);return r.replace(i,s)}}function bx(e){return Object(l["C"])(e)?hx[e]?"cubic-bezier("+hx[e]+")":Pt(e)?e:"":""}function _x(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof $m){var s=yx(e,t,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var u={},c=0;c<o;c++){var d=i[c],h=[d.getMaxTime()/1e3+"s"],f=bx(d.getClip().easing),p=d.getDelay();f?h.push(f):h.push("linear"),p&&h.push(p/1e3+"s"),d.getLoop()&&h.push("infinite");var m=h.join(" ");u[m]=u[m]||[m,[]],u[m][1].push(d)}function g(i){var o,a=i[1],s=a.length,u={},c={},d={},h="animation-timing-function";function f(e,t,n){for(var r=e.getTracks(),i=e.getMaxTime(),o=0;o<r.length;o++){var a=r[o];if(a.needsAnimate()){var s=a.keyframes,u=a.propName;if(n&&(u=n(u)),u)for(var c=0;c<s.length;c++){var d=s[c],f=Math.round(d.time/i*100)+"%",p=bx(d.easing),m=d.rawValue;(Object(l["C"])(m)||Object(l["z"])(m))&&(t[f]=t[f]||{},t[f][u]=d.rawValue,p&&(t[f][h]=p))}}}}for(var p=0;p<s;p++){var m=a[p],g=m.targetName;g?"shape"===g&&f(m,c):!r&&f(m,u)}for(var v in u){var y={};Xn(y,e),Object(l["m"])(y,u[v]);var b=Object(Yt["g"])(y),_=u[v][h];d[v]=b?{transform:b}:{},mx(d[v],y),_&&(d[v][h]=_)}var w=!0;for(var v in c){d[v]=d[v]||{};var x=!o;_=c[v][h];x&&(o=new ba);var k=o.len();o.reset(),d[v].d=px(e,c[v],o);var M=o.len();if(!x&&k!==M){w=!1;break}_&&(d[v][h]=_)}if(!w)for(var v in d)delete d[v].d;if(!r)for(p=0;p<s;p++){m=a[p],g=m.targetName;"style"===g&&f(m,d,(function(e){return gx[e]}))}var S,C=Object(l["F"])(d),T=!0;for(p=1;p<C.length;p++){var O=C[p-1],L=C[p];if(d[O][fx]!==d[L][fx]){T=!1;break}S=d[O][fx]}if(T&&S){for(var v in d)d[v][fx]&&delete d[v][fx];t[fx]=S}if(Object(l["n"])(C,(function(e){return Object(l["F"])(d[e]).length>0})).length){var A=vx(d,n);return A+" "+i[0]+" both"}}for(var v in u){s=g(u[v]);s&&a.push(s)}if(a.length){var y=n.zrId+"-cls-"+dx();n.cssNodes["."+y]={animation:a.join(",")},t["class"]=y}}function wx(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};xx(r,t,n,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&s||a;l&&(o=Object(Bt["d"])(l))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u/=c}r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),xx(r,t,n,!0)}}function xx(e,t,n,r){var i=JSON.stringify(e),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+dx(),n.cssStyleCache[i]=o,n.cssNodes["."+o+(r?":hover":"")]=e),t["class"]=t["class"]?t["class"]+" "+o:o}var kx=Math.round;function Mx(e){return e&&Object(l["C"])(e.src)}function Sx(e){return e&&Object(l["w"])(e.toDataURL)}function Cx(e,t,n,r){Kw((function(i,o){var a="fill"===i||"stroke"===i;a&&Object(Yt["k"])(o)?zx(t,e,i,r):a&&Object(Yt["n"])(o)?Hx(n,e,i,r):e[i]=o,a&&r.ssr&&"none"===o&&(e["pointer-events"]="visible")}),t,n,!1),Fx(n,e,r)}function Tx(e,t){var n=Er(t);n&&(n.each((function(t,n){null!=t&&(e[(tx+n).toLowerCase()]=t+"")})),t.isSilent()&&(e[tx+"silent"]="true"))}function Ox(e){return Object(Yt["j"])(e[0]-1)&&Object(Yt["j"])(e[1])&&Object(Yt["j"])(e[2])&&Object(Yt["j"])(e[3]-1)}function Lx(e){return Object(Yt["j"])(e[4])&&Object(Yt["j"])(e[5])}function Ax(e,t,n){if(t&&(!Lx(t)||!Ox(t))){var r=n?10:1e4;e.transform=Ox(t)?"translate("+kx(t[4]*r)/r+" "+kx(t[5]*r)/r+")":Object(Yt["e"])(t)}}function Dx(e,t,n){for(var r=e.points,i=[],o=0;o<r.length;o++)i.push(kx(r[o][0]*n)/n),i.push(kx(r[o][1]*n)/n);t.points=i.join(" ")}function Ex(e){return!e.smooth}function Ix(e){var t=Object(l["H"])(e,(function(e){return"string"===typeof e?[e,e]:e}));return function(e,n,r){for(var i=0;i<t.length;i++){var o=t[i],a=e[o[0]];null!=a&&(n[o[1]]=kx(a*r)/r)}}}var jx={circle:[Ix(["cx","cy","r"])],polyline:[Dx,Ex],polygon:[Dx,Ex]};function Px(e){for(var t=e.animators,n=0;n<t.length;n++)if("shape"===t[n].targetName)return!0;return!1}function Rx(e,t){var n=e.style,r=e.shape,i=jx[e.type],o={},a=t.animation,s="path",l=e.style.strokePercent,u=t.compress&&Object(Yt["f"])(e)||4;if(!i||t.willUpdate||i[1]&&!i[1](r)||a&&Px(e)||l<1){var c=!e.path||e.shapeChanged();e.path||e.createPathProxy();var d=e.path;c&&(d.beginPath(),e.buildPath(d,e.shape),e.pathUpdated());var h=d.getVersion(),f=e,p=f.__svgPathBuilder;f.__svgPathVersion===h&&p&&l===f.__svgPathStrokePercent||(p||(p=f.__svgPathBuilder=new Vw),p.reset(u),d.rebuildPath(p,l),p.generateStr(),f.__svgPathVersion=h,f.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=e.type;var m=Math.pow(10,u);i[0](r,o,m)}return Ax(o,e.transform),Cx(o,n,e,t),Tx(o,e),t.animation&&_x(e,o,t),t.emphasis&&wx(e,o,t),rx(s,e.id+"",o)}function Nx(e,t){var n=e.style,r=n.image;if(r&&!Object(l["C"])(r)&&(Mx(r)?r=r.src:Sx(r)&&(r=r.toDataURL())),r){var i=n.x||0,o=n.y||0,a=n.width,s=n.height,u={href:r,width:a,height:s};return i&&(u.x=i),o&&(u.y=o),Ax(u,e.transform),Cx(u,n,e,t),Tx(u,e),t.animation&&_x(e,u,t),rx("image",e.id+"",u)}}function Bx(e,t){var n=e.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var i=n.font||Jn["a"],o=n.x||0,a=Object(Yt["b"])(n.y||0,or(i),n.textBaseline),s=Yt["a"][n.textAlign]||n.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(ys(n)){var u="",c=n.fontStyle,d=gs(n.fontSize);if(!parseFloat(d))return;var h=n.fontFamily||Jn["b"],f=n.fontWeight;u+="font-size:"+d+";font-family:"+h+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),f&&"normal"!==f&&(u+="font-weight:"+f+";"),l.style=u}else l.style="font: "+i;return r.match(/\s/)&&(l["xml:space"]="preserve"),o&&(l.x=o),a&&(l.y=a),Ax(l,e.transform),Cx(l,n,e,t),Tx(l,e),t.animation&&_x(e,l,t),rx("text",e.id+"",l,void 0,r)}}function Yx(e,t){return e instanceof Ua?Rx(e,t):e instanceof Qa?Nx(e,t):e instanceof qa?Bx(e,t):void 0}function Fx(e,t,n){var r=e.style;if(Object(Yt["i"])(r)){var i=Object(Yt["h"])(e),o=n.shadowCache,a=o[i];if(!a){var s=e.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=r.shadowOffsetX||0,d=r.shadowOffsetY||0,h=r.shadowBlur,f=Object(Yt["p"])(r.shadowColor),p=f.opacity,m=f.color,g=h/2/l,v=h/2/u,y=g+" "+v;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=rx("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[rx("feDropShadow","",{dx:c/l,dy:d/u,stdDeviation:y,"flood-color":m,"flood-opacity":p})]),o[i]=a}t.filter=Object(Yt["d"])(a)}}function zx(e,t,n,r){var i,o=e[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(Yt["m"])(o))i="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(Yt["o"])(o))return void 0;i="radialGradient",a.cx=Object(l["P"])(o.x,.5),a.cy=Object(l["P"])(o.y,.5),a.r=Object(l["P"])(o.r,.5)}for(var s=o.colorStops,u=[],c=0,d=s.length;c<d;++c){var h=100*Object(Yt["q"])(s[c].offset)+"%",f=s[c].color,p=Object(Yt["p"])(f),m=p.color,g=p.opacity,v={offset:h};v["stop-color"]=m,g<1&&(v["stop-opacity"]=g),u.push(rx("stop",c+"",v))}var y=rx(i,"",a,u),b=ax(y),_=r.gradientCache,w=_[b];w||(w=r.zrId+"-g"+r.gradientIdx++,_[b]=w,a.id=w,r.defs[w]=rx(i,w,a,u)),t[n]=Object(Yt["d"])(w)}function Hx(e,t,n,r){var i,o=e.style[n],a=e.getBoundingRect(),s={},u=o.repeat,c="no-repeat"===u,d="repeat-x"===u,h="repeat-y"===u;if(Object(Yt["l"])(o)){var f=o.imageWidth,p=o.imageHeight,m=void 0,g=o.image;if(Object(l["C"])(g)?m=g:Mx(g)?m=g.src:Sx(g)&&(m=g.toDataURL()),"undefined"===typeof Image){var v="Image width/height must been given explictly in svg-ssr renderer.";Object(l["b"])(f,v),Object(l["b"])(p,v)}else if(null==f||null==p){var y=function(e,t){if(e){var n=e.elm,r=f||t.width,i=p||t.height;"pattern"===e.tag&&(d?(i=1,r/=a.width):h&&(r=1,i/=a.height)),e.attrs.width=r,e.attrs.height=i,n&&(n.setAttribute("width",r),n.setAttribute("height",i))}},b=co(m,null,e,(function(e){c||y(k,e),y(i,e)}));b&&b.width&&b.height&&(f=f||b.width,p=p||b.height)}i=rx("image","img",{href:m,width:f,height:p}),s.width=f,s.height=p}else o.svgElement&&(i=Object(l["d"])(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(i){var _,w;c?_=w=1:d?(w=1,_=s.width/a.width):h?(_=1,w=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==w||isNaN(w)||(s.height=w);var x=Object(Yt["g"])(o);x&&(s.patternTransform=x);var k=rx("pattern","",s,[i]),M=ax(k),S=r.patternCache,C=S[M];C||(C=r.zrId+"-p"+r.patternIdx++,S[M]=C,s.id=C,k=r.defs[C]=rx("pattern",C,s,[i])),t[n]=Object(Yt["d"])(C)}}function Vx(e,t,n){var r=n.clipPathCache,i=n.defs,o=r[e.id];if(!o){o=n.zrId+"-c"+n.clipPathIdx++;var a={id:o};r[e.id]=o,i[o]=rx("clipPath",o,a,[Rx(e,n)])}t["clip-path"]=Object(Yt["d"])(o)}function Wx(e){return document.createTextNode(e)}function Ux(e,t,n){e.insertBefore(t,n)}function $x(e,t){e.removeChild(t)}function Gx(e,t){e.appendChild(t)}function qx(e){return e.parentNode}function Xx(e){return e.nextSibling}function Kx(e,t){e.textContent=t}var Zx=58,Jx=120,Qx=rx("","");function ek(e){return void 0===e}function tk(e){return void 0!==e}function nk(e,t,n){for(var r={},i=t;i<=n;++i){var o=e[i].key;void 0!==o&&(r[o]=i)}return r}function rk(e,t){var n=e.key===t.key,r=e.tag===t.tag;return r&&n}function ik(e){var t,n=e.children,r=e.tag;if(tk(r)){var i=e.elm=nx(r);if(sk(Qx,e),Object(l["t"])(n))for(t=0;t<n.length;++t){var o=n[t];null!=o&&Gx(i,ik(o))}else tk(e.text)&&!Object(l["A"])(e.text)&&Gx(i,Wx(e.text))}else e.elm=Wx(e.text);return e.elm}function ok(e,t,n,r,i){for(;r<=i;++r){var o=n[r];null!=o&&Ux(e,ik(o),t)}}function ak(e,t,n,r){for(;n<=r;++n){var i=t[n];if(null!=i)if(tk(i.tag)){var o=qx(i.elm);$x(o,i.elm)}else $x(e,i.elm)}}function sk(e,t){var n,r=t.elm,i=e&&e.attrs||{},o=t.attrs||{};if(i!==o){for(n in o){var a=o[n],s=i[n];s!==a&&(!0===a?r.setAttribute(n,""):!1===a?r.removeAttribute(n):"style"===n?r.style.cssText=a:n.charCodeAt(0)!==Jx?r.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?r.setAttributeNS(Qw,n,a):n.charCodeAt(3)===Zx?r.setAttributeNS(ex,n,a):n.charCodeAt(5)===Zx?r.setAttributeNS(Jw,n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}function lk(e,t,n){var r,i,o,a,s=0,l=0,u=t.length-1,c=t[0],d=t[u],h=n.length-1,f=n[0],p=n[h];while(s<=u&&l<=h)null==c?c=t[++s]:null==d?d=t[--u]:null==f?f=n[++l]:null==p?p=n[--h]:rk(c,f)?(uk(c,f),c=t[++s],f=n[++l]):rk(d,p)?(uk(d,p),d=t[--u],p=n[--h]):rk(c,p)?(uk(c,p),Ux(e,c.elm,Xx(d.elm)),c=t[++s],p=n[--h]):rk(d,f)?(uk(d,f),Ux(e,d.elm,c.elm),d=t[--u],f=n[++l]):(ek(r)&&(r=nk(t,s,u)),i=r[f.key],ek(i)?Ux(e,ik(f),c.elm):(o=t[i],o.tag!==f.tag?Ux(e,ik(f),c.elm):(uk(o,f),t[i]=void 0,Ux(e,o.elm,c.elm))),f=n[++l]);(s<=u||l<=h)&&(s>u?(a=null==n[h+1]?null:n[h+1].elm,ok(e,a,n,l,h)):ak(e,t,s,u))}function uk(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(sk(e,t),ek(t.text)?tk(r)&&tk(i)?r!==i&&lk(n,r,i):tk(i)?(tk(e.text)&&Kx(n,""),ok(n,null,i,0,i.length-1)):tk(r)?ak(n,r,0,r.length-1):tk(e.text)&&Kx(n,""):e.text!==t.text&&(tk(r)&&ak(n,r,0,r.length-1),Kx(n,t.text)))}function ck(e,t){if(rk(e,t))uk(e,t);else{var n=e.elm,r=qx(n);ik(t),null!==r&&(Ux(r,t.elm,Xx(n)),ak(r,[e],0,0))}return t}var dk=0,hk=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=fk("refreshHover"),this.configLayer=fk("configLayer"),this.storage=t,this._opts=n=Object(l["m"])({},n),this.root=e,this._id="zr"+dk++,this._oldVNode=ux(n.width,n.height),e&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=nx("svg");sk(null,this._oldVNode),r.appendChild(i),e.appendChild(r)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",ck(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return Yx(e,lx(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=lx(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress,i.emphasis=e.emphasis,i.ssr=this._opts.ssr;var o=[],a=this._bgVNode=pk(n,r,this._backgroundColor,i);a&&o.push(a);var s=e.compress?null:this._mainVNode=rx("g","main",{},[]);this._paintList(t,i,s?s.children:o),s&&o.push(s);var u=Object(l["H"])(Object(l["F"])(i.defs),(function(e){return i.defs[e]}));if(u.length&&o.push(rx("defs","defs",{},u)),e.animation){var c=sx(i.cssNodes,i.cssAnims,{newline:!0});if(c){var d=rx("style","stl",{},[],c);o.push(d)}}return ux(n,r,o,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},ax(this.renderToVNode({animation:Object(l["P"])(e.cssAnimation,!0),emphasis:Object(l["P"])(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Object(l["P"])(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,n){for(var r,i,o=e.length,a=[],s=0,l=0,u=0;u<o;u++){var c=e[u];if(!c.invisible){var d=c.__clipPaths,h=d&&d.length||0,f=i&&i.length||0,p=void 0;for(p=Math.max(h-1,f-1);p>=0;p--)if(d&&i&&d[p]===i[p])break;for(var m=f-1;m>p;m--)s--,r=a[s-1];for(var g=p+1;g<h;g++){var v={};Vx(d[g],v,t);var y=rx("g","clip-g-"+l++,v,[]);(r?r.children:n).push(y),a[s++]=y,r=y}i=d;var b=Yx(c,t);b&&(r?r.children:n).push(b)}}},e.prototype.resize=function(e,t){var n=this._opts,r=this.root,i=this._viewport;if(null!=e&&(n.width=e),null!=t&&(n.height=t),r&&i&&(i.style.display="none",e=gy(r,0,n),t=gy(r,1,n),i.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,i){var o=i.style;o.width=e+"px",o.height=t+"px"}if(Object(Yt["n"])(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",e),a.setAttribute("height",t));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",e),s.setAttribute("height",t))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(e){var t=this.renderToString(),n="data:image/svg+xml;";return e?(t=Object(Yt["c"])(t),t&&n+"base64,"+t):n+"charset=UTF-8,"+encodeURIComponent(t)},e}();function fk(e){return function(){0}}function pk(e,t,n,r){var i;if(n&&"none"!==n)if(i=rx("rect","bg",{width:e,height:t,x:"0",y:"0"}),Object(Yt["k"])(n))zx({fill:n},i.attrs,"fill",r);else if(Object(Yt["n"])(n))Hx({style:{fill:n},dirty:l["L"],getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",r);else{var o=Object(Yt["p"])(n),a=o.color,s=o.opacity;i.attrs.fill=a,s<1&&(i.attrs["fill-opacity"]=s)}return i}var mk=hk;function gk(e){e.registerPainter("svg",mk)}function vk(e){return null==e?0:e.length||1}function yk(e){return e}var bk=function(){function e(e,t,n,r,i,o){this._old=e,this._new=t,this._oldKeyGetter=n||yk,this._newKeyGetter=r||yk,this.context=i,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},r=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,r,"_oldKeyGetter"),this._initIndexMap(t,n,i,"_newKeyGetter");for(var o=0;o<e.length;o++){var a=r[o],s=n[a],l=vk(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},r={},i=[],o=[];this._initIndexMap(e,n,i,"_oldKeyGetter"),this._initIndexMap(t,r,o,"_newKeyGetter");for(var a=0;a<i.length;a++){var s=i[a],l=n[s],u=r[s],c=vk(l),d=vk(u);if(c>1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,l),r[s]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(u,l),r[s]=null;else if(1===c&&1===d)this._update&&this._update(u,l),r[s]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,l),r[s]=null;else if(c>1)for(var h=0;h<c;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(o,r)},e.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t[r],o=vk(i);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(i[a]);else 1===o&&this._add&&this._add(i);t[r]=null}},e.prototype._initIndexMap=function(e,t,n,r){for(var i=this._diffModeMultiple,o=0;o<e.length;o++){var a="_ec_"+this[r](e[o],o);if(i||(n[o]=a),t){var s=t[a],l=vk(s);0===l?(t[a]=o,i&&n.push(a)):1===l?t[a]=[s,o]:s.push(o)}}},e}(),_k=bk,wk=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function xk(e,t){var n={},r=n.encode={},i=Object(l["f"])(),o=[],a=[],s={};Object(l["k"])(e.dimensions,(function(t){var n=e.getDimensionInfo(t),l=n.coordDim;if(l){0;var u=n.coordDimIndex;kk(r,l)[u]=t,n.isExtraCoord||(i.set(l,1),Sk(n.type)&&(o[0]=t),kk(s,l)[u]=e.getDimensionIndex(n.name)),n.defaultTooltip&&a.push(t)}ed.each((function(e,t){var i=kk(r,t),o=n.otherDims[t];null!=o&&!1!==o&&(i[o]=n.name)}))}));var u=[],c={};i.each((function(e,t){var n=r[t];c[t]=n[0],u=u.concat(n)})),n.dataDimsOnCoord=u,n.dataDimIndicesOnCoord=Object(l["H"])(u,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=c;var d=r.label;d&&d.length&&(o=d.slice());var h=r.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,n.userOutput=new wk(s,t),n}function kk(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function Mk(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function Sk(e){return!("ordinal"===e||"time"===e)}var Ck=function(){function e(e){this.otherDims={},null!=e&&l["m"](this,e)}return e}(),Tk=Ck,Ok=Ei(),Lk={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Ak=function(){function e(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=Ik(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return Object(l["P"])(this._dimNameMap.get(e),-1)},e.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},e.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=Hh(this.source),n=!jk(e),r="",i=[],o=0,a=0;o<e;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=t?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var d=this.getSourceDimension(o);d&&(s=t?d.name:null,l=d.type)}i.push({property:s,type:l,ordinalMeta:u}),!t||null==s||c&&c.isCalculationCoord||(r+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),r+="$",r+=Lk[l]||"f",u&&(r+=u.uid),r+="$"}var h=this.source,f=[h.seriesLayoutBy,h.startIndex,r].join("$$");return{dimensions:i,hash:f}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(t);o&&(r=o.name)}e.push(r)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function Dk(e){return e instanceof Ak}function Ek(e){for(var t=Object(l["f"])(),n=0;n<(e||[]).length;n++){var r=e[n],i=Object(l["A"])(r)?r.name:r;null!=i&&null==t.get(i)&&t.set(i,n)}return t}function Ik(e){var t=Ok(e);return t.dimNameMap||(t.dimNameMap=Ek(e.dimensionsDefine))}function jk(e){return e>30}var Pk,Rk,Nk,Bk,Yk,Fk,zk,Hk=l["A"],Vk=l["H"],Wk="undefined"===typeof Int32Array?Array:Int32Array,Uk="e\0\0",$k=-1,Gk=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],qk=["_approximateExtent"],Xk=function(){function e(e,t){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r=!1;Dk(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||["x","y"];for(var i={},o=[],a={},s=!1,u={},c=0;c<n.length;c++){var d=n[c],h=l["C"](d)?new Tk({name:d}):d instanceof Tk?d:new Tk(d),f=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=f,h.coordDimIndex=0);var p=h.otherDims=h.otherDims||{};o.push(f),i[f]=h,null!=u[f]&&(s=!0),h.createInvertedIndices&&(a[f]=[]),0===p.itemName&&(this._nameDimIdx=c),0===p.itemId&&(this._idDimIdx=c),r&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var m=this._dimIdxToName=l["f"]();l["k"](o,(function(e){m.set(i[e].storeDimIndex,e)}))}}return e.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(null==t)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var n=this._dimIdxToName.get(t);if(null!=n)return n;var r=this._schema.getSourceDimension(t);return r?r.name:void 0},e.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(null!=t)return t;if(null==e)return-1;var n=this._getDimInfo(e);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},e.prototype._recognizeDimIndex=function(e){if(l["z"](e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);return t},e.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},e.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(e,t){var n=this._dimSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return r?r[t]:null},e.prototype.mapDimensionsAll=function(e){var t=this._dimSummary,n=t.encode[e];return(n||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(e,t,n){var r,i=this;if(e instanceof Yf&&(r=e),!r){var o=this.dimensions,a=Ih(e)||l["u"](e)?new Vh(e,o.length):e;r=new Yf;var s=Vk(o,(function(e){return{type:i._dimInfos[e].type,property:e}}));r.initData(a,s,n)}this._store=r,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=xk(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},e.prototype.appendValues=function(e,t){var n=this._store.appendValues(e,t&&t.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=t[s],o&&zk(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var r=this._dimInfos[t[n]];r.ordinalMeta&&e.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==od&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store,r=n.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,a=r.getSource().sourceFormat,s=a===td;if(s&&!r.pure)for(var l=[],u=e;u<t;u++){var c=r.getItem(u,l);if(!this.hasItemOption&&pi(c)&&(this.hasItemOption=!0),c){var d=c.name;null==i[u]&&null!=d&&(i[u]=Mi(d,null));var h=c.id;null==o[u]&&null!=h&&(o[u]=Mi(h,null))}}if(this._shouldMakeIdFromName())for(u=e;u<t;u++)zk(this,u);Pk(this)}},e.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},e.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},e.prototype.setCalculationInfo=function(e,t){Hk(e)?l["m"](this._calculationInfo,e):this._calculationInfo[e]=t},e.prototype.getName=function(e){var t=this.getRawIndex(e),n=this._nameList[t];return null==n&&null!=this._nameDimIdx&&(n=Nk(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),r=this._store.getOrdinalMeta(e);return r?r.categories[n]:n},e.prototype.getId=function(e){return Rk(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.get(r.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.getByRawIndex(r.storeDimIndex,t)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},e.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},e.prototype.getValues=function(e,t){var n=this,r=this._store;return l["t"](e)?r.getValues(Vk(e,(function(e){return n._getStoreDimIndex(e)})),t):r.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this._store.get(t[n],e)))return!1;return!0},e.prototype.indexOfName=function(e){for(var t=0,n=this._store.count();t<n;t++)if(this.getName(t)===e)return t;return-1},e.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},e.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},e.prototype.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e];var r=n&&n[t];return null==r||isNaN(r)?$k:r},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){l["w"](e)&&(n=t,t=e,e=[]);var r=n||this,i=Vk(Bk(e),this._getStoreDimIndex,this);this._store.each(i,r?l["c"](t,r):t)},e.prototype.filterSelf=function(e,t,n){l["w"](e)&&(n=t,t=e,e=[]);var r=n||this,i=Vk(Bk(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?l["c"](t,r):t),this},e.prototype.selectRange=function(e){var t=this,n={},r=l["F"](e),i=[];return l["k"](r,(function(r){var o=t._getStoreDimIndex(r);n[o]=e[r],i.push(o)})),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){l["w"](e)&&(n=t,t=e,e=[]),n=n||this;var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n),r},e.prototype.map=function(e,t,n,r){var i=n||r||this,o=Vk(Bk(e),this._getStoreDimIndex,this),a=Fk(this);return a._store=this._store.map(o,i?l["c"](t,i):t),a},e.prototype.modify=function(e,t,n,r){var i=n||r||this;var o=Vk(Bk(e),this._getStoreDimIndex,this);this._store.modify(o,i?l["c"](t,i):t)},e.prototype.downSample=function(e,t,n,r){var i=Fk(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,n,r),i},e.prototype.minmaxDownSample=function(e,t){var n=Fk(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),t),n},e.prototype.lttbDownSample=function(e,t){var n=Fk(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),n},e.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},e.prototype.getItemModel=function(e){var t=this.hostModel,n=this.getRawDataItem(e);return new Tu(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new _k(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return Rk(e,t)}),(function(e){return Rk(t,e)}))},e.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},e.prototype.setVisual=function(e,t){this._visual=this._visual||{},Hk(e)?l["m"](this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],r=n&&n[t];return null==r?this.getVisual(t):r},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(i=this.getVisual(t),l["t"](i)?i=i.slice():Hk(i)&&(i=l["m"]({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,Hk(t)?l["m"](r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){Hk(e)?l["m"](this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?l["m"](this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Os(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){l["k"](this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Vk(this.dimensions,this._getDimInfo,this),this.hostModel)),Yk(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];l["w"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(l["S"](arguments)))})},e.internalField=function(){Pk=function(e){var t=e._invertedIndicesMap;l["k"](t,(function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new Wk(o.categories.length);for(var s=0;s<n.length;s++)n[s]=$k;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}}))},Nk=function(e,t,n){return Mi(e._getCategory(t,n),null)},Rk=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=Nk(e,e._idDimIdx,t)),null==n&&(n=Uk+t),n},Bk=function(e){return l["t"](e)||(e=null!=e?[e]:[]),e},Fk=function(t){var n=new e(t._schema?t._schema:Vk(t.dimensions,t._getDimInfo,t),t.hostModel);return Yk(n,t),n},Yk=function(e,t){l["k"](Gk.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,l["k"](qk,(function(n){e[n]=l["d"](t[n])})),e._calculationInfo=l["m"]({},t._calculationInfo)},zk=function(e,t){var n=e._nameList,r=e._idList,i=e._nameDimIdx,o=e._idDimIdx,a=n[t],s=r[t];if(null==a&&null!=i&&(n[t]=a=Nk(e,i,t)),null==s&&null!=o&&(r[t]=s=Nk(e,o,t)),null==s&&null!=a){var l=e._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),r[t]=s}}}(),e}(),Kk=Xk;function Zk(e,t){Ih(e)||(e=Ph(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=Object(l["f"])(),o=[],a=Qk(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&jk(a),u=r===e.dimensionsDefine,c=u?Ik(e):Ek(r),d=t.encodeDefine;!d&&t.encodeDefaulter&&(d=t.encodeDefaulter(e,a));for(var h=Object(l["f"])(d),f=new Df(a),p=0;p<f.length;p++)f[p]=-1;function m(e){var t=f[e];if(t<0){var n=r[e],i=Object(l["A"])(n)?n:{name:n},a=new Tk,s=i.name;null!=s&&null!=c.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=o.length;return f[e]=u,a.storeDimIndex=e,o.push(a),a}return o[t]}if(!s)for(p=0;p<a;p++)m(p);h.each((function(e,t){var n=ci(e).slice();if(1===n.length&&!Object(l["C"])(n[0])&&n[0]<0)h.set(t,!1);else{var r=h.set(t,[]);Object(l["k"])(n,(function(e,n){var i=Object(l["C"])(e)?c.get(e):e;null!=i&&i<a&&(r[n]=i,v(m(i),t,n))}))}}));var g=0;function v(e,t,n){null!=ed.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,i.set(t,!0))}Object(l["k"])(n,(function(e){var t,n,r,i;if(Object(l["C"])(e))t=e,i={};else{i=e,t=i.name;var o=i.ordinalMeta;i.ordinalMeta=null,i=Object(l["m"])({},i),i.ordinalMeta=o,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=h.get(t);if(!1!==s){if(s=ci(s),!s.length)for(var c=0;c<(n&&n.length||1);c++){while(g<a&&null!=m(g).coordDim)g++;g<a&&s.push(g++)}Object(l["k"])(s,(function(e,o){var a=m(e);if(u&&null!=i.type&&(a.type=i.type),v(Object(l["i"])(a,i),t,o),null==a.name&&n){var s=n[o];!Object(l["A"])(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}r&&Object(l["i"])(a.otherDims,r)}))}}));var y=t.generateCoord,b=t.generateCoordCount,_=null!=b;b=y?b||1:0;var w=y||"value";function x(e){null==e.name&&(e.name=e.coordDim)}if(s)Object(l["k"])(o,(function(e){x(e)})),o.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var k=0;k<a;k++){var M=m(k),S=M.coordDim;null==S&&(M.coordDim=eM(w,i,_),M.coordDimIndex=0,(!y||b<=0)&&(M.isExtraCoord=!0),b--),x(M),null!=M.type||gd(e,k)!==ud.Must&&(!M.isExtraCoord||null==M.otherDims.itemName&&null==M.otherDims.seriesName)||(M.type="ordinal")}return Jk(o),new Ak({source:e,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Jk(e){for(var t=Object(l["f"])(),n=0;n<e.length;n++){var r=e[n],i=r.name,o=t.get(i)||0;o>0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function Qk(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return Object(l["k"])(t,(function(e){var t;Object(l["A"])(e)&&(t=e.dimsDef)&&(i=Math.max(i,t.length))})),i}function eM(e,t,n){if(n||t.hasKey(e)){var r=0;while(t.hasKey(e+r))r++;e+=r}return t.set(e,!0),e}var tM=function(){function e(e){this.coordSysDims=[],this.axisMap=Object(l["f"])(),this.categoryAxisMap=Object(l["f"])(),this.coordSysName=e}return e}();function nM(e){var t=e.get("coordinateSystem"),n=new tM(t),r=rM[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var rM={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",Ri).models[0],o=e.getReferringComponents("yAxis",Ri).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),iM(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),iM(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",Ri).models[0];t.coordSysDims=["single"],n.set("single",i),iM(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",Ri).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),iM(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),iM(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();Object(l["k"])(o.parallelAxisIndex,(function(e,o){var s=i.getComponent("parallelAxis",e),l=a[o];n.set(l,s),iM(s)&&(r.set(l,s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=o))}))}};function iM(e){return"category"===e.get("type")}function oM(e,t,n){n=n||{};var r,i,o,a=n.byIndex,s=n.stackedCoordDimension;aM(t)?r=t:(i=t.schema,r=i.dimensions,o=t.store);var u,c,d,h,f=!(!e||!e.get("stack"));if(Object(l["k"])(r,(function(e,t){Object(l["C"])(e)&&(r[t]=e={name:e}),f&&!e.isExtraCoord&&(a||u||!e.ordinalMeta||(u=e),c||"ordinal"===e.type||"time"===e.type||s&&s!==e.coordDim||(c=e))})),!c||a||u||(a=!0),c){d="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var p=c.coordDim,m=c.type,g=0;Object(l["k"])(r,(function(e){e.coordDim===p&&g++}));var v={name:d,coordDim:p,coordDimIndex:g,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},y={name:h,coordDim:h,coordDimIndex:g+1,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};i?(o&&(v.storeDimIndex=o.ensureCalculationDimension(h,m),y.storeDimIndex=o.ensureCalculationDimension(d,m)),i.appendCalculationDimension(v),i.appendCalculationDimension(y)):(r.push(v),r.push(y))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:d}}function aM(e){return!Dk(e.schema)}function sM(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function lM(e,t){return sM(e,t)?e.getCalculationInfo("stackResultDimension"):t}function uM(e,t){var n,r=e.get("coordinateSystem"),i=Gd.get(r);return t&&t.coordSysDims&&(n=l["H"](t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=Mk(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}function cM(e,t,n){var r,i;return n&&l["k"](e,(function(e,o){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=o),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(i=!0)})),i||null==r||(e[r].otherDims.itemName=0),r}function dM(e,t,n){n=n||{};var r,i=t.getSourceManager(),o=!1;e?(o=!0,r=Ph(e)):(r=i.getSource(),o=r.sourceFormat===td);var a=nM(t),s=uM(t,a),u=n.useEncodeDefaulter,c=l["w"](u)?u:u?l["h"](hd,s,t):null,d={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o},h=Zk(r,d),f=cM(h.dimensions,n.createInvertedIndices,a),p=o?null:i.getSharedDataStore(h),m=oM(t,{schema:h,store:p}),g=new Kk(h,t);g.setCalculationInfo(m);var v=null!=f&&hM(r)?function(e,t,n,r){return r===f?n:this.defaultDimValueGetter(e,t,n,r)}:null;return g.hasItemOption=!1,g.initData(o?r:p,null,v),g}function hM(e){if(e.sourceFormat===td){var t=fM(e.data||[]);return!l["t"](fi(t))}}function fM(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var pM=dM,mM=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.getInitialData=function(e){return pM(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new kr,n=sy("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===r?"circle":r,a=.8*e.itemHeight,s=sy(o,(e.itemWidth-a)/2,(e.itemHeight-a)/2,a,a,e.itemStyle.fill);t.add(s),s.setStyle(e.itemStyle);var l="inherit"===e.iconRotate?i:e.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Sp),gM=mM;function vM(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=ef(e,t,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a<n.length;a++)o.push(ef(e,t,n[a]));return o.join(" ")}}function yM(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!Object(l["t"])(t))return t+"";for(var r=[],i=0;i<n.length;i++){var o=e.getDimensionIndex(n[i]);o>=0&&r.push(t[o])}return r.join(" ")}var bM=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.updateData(t,n,r,i),o}return a(t,e),t.prototype._createSymbol=function(e,t,n,r,i){this.removeAll();var o=sy(e,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=_M,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){cl(this.childAt(0))},t.prototype.downplay=function(){dl(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",a=e.hostModel,s=t.getSymbolSize(e,n),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,s,c)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):Wl(d,h,a,n),Kl(d)}if(this._updateCommon(e,n,s,r,i),l){d=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,Ul(d,h,a,n)}}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,i){var o,a,s,u,c,d,h,f,p,m=this.childAt(0),g=e.hostModel;if(r&&(o=r.emphasisItemStyle,a=r.blurItemStyle,s=r.selectItemStyle,u=r.focus,c=r.blurScope,h=r.labelStatesModels,f=r.hoverScale,p=r.cursorStyle,d=r.emphasisDisabled),!r||e.hasItemOption){var v=r&&r.itemModel?r.itemModel:e.getItemModel(t),y=v.getModel("emphasis");o=y.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),u=y.get("focus"),c=y.get("blurScope"),d=y.get("disabled"),h=nu(v),f=y.getShallow("scale"),p=v.getShallow("cursor")}var b=e.getItemVisual(t,"symbolRotate");m.attr("rotation",(b||0)*Math.PI/180||0);var _=uy(e.getItemVisual(t,"symbolOffset"),n);_&&(m.x=_[0],m.y=_[1]),p&&m.attr("cursor",p);var w=e.getItemVisual(t,"style"),x=w.fill;if(m instanceof Qa){var k=m.style;m.useStyle(Object(l["m"])({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},w))}else m.__isEmptyBrush?m.useStyle(Object(l["m"])({},w)):m.useStyle(w),m.style.decal=null,m.setColor(x,i&&i.symbolInnerColor),m.style.strokeNoScale=!0;var M=e.getItemVisual(t,"liftZ"),S=this._z2;null!=M?null==S&&(this._z2=m.z2,m.z2+=M):null!=S&&(m.z2=S,this._z2=null);var C=i&&i.useNameLabel;function T(t){return C?e.getName(t):vM(e,t)}tu(m,h,{labelFetcher:g,labelDataIndex:t,defaultText:T,inheritColor:x,defaultOpacity:w.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var O=m.ensureState("emphasis");O.style=o,m.ensureState("select").style=s,m.ensureState("blur").style=a;var L=null==f||!0===f?Math.max(1.1,3/this._sizeY):isFinite(f)&&f>0?+f:1;O.scaleX=this._sizeX*L,O.scaleY=this._sizeY*L,this.setSymbolScale(1),Ll(this,u,c,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=Ts(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&Gl(a,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();Gl(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return ly(e.getItemVisual(t,"symbolSize"))},t}(kr);function _M(e,t){this.parent.drift(e,t)}var wM=bM;function xM(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function kM(e){return null==e||Object(l["A"])(e)||(e={isIgnore:e}),e||{}}function MM(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:nu(t),cursorStyle:t.get("cursor")}}var SM=function(){function e(e){this.group=new kr,this._SymbolCtor=e||wM}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=kM(t);var n=this.group,r=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=MM(e),l={disableAnimation:a},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add((function(r){var i=u(r);if(xM(e,i,r,t)){var a=new o(e,r,s,l);a.setPosition(i),e.setItemGraphicEl(r,a),n.add(a)}})).update((function(c,d){var h=i.getItemGraphicEl(d),f=u(c);if(xM(e,f,c,t)){var p=e.getItemVisual(c,"symbol")||"circle",m=h&&h.getSymbolType&&h.getSymbolType();if(!h||m&&m!==p)n.remove(h),h=new o(e,c,s,l),h.setPosition(f);else{h.updateData(e,c,s,l);var g={x:f[0],y:f[1]};a?h.attr(g):Wl(h,g,r)}n.add(h),e.setItemGraphicEl(c,h)}else n.remove(h)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=MM(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=kM(n);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(xM(t,o,i,n)){var a=new this._SymbolCtor(t,i,this._seriesScope);a.traverse(r),a.setPosition(o),this.group.add(a),t.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){Yg(this._progressiveEls||this.group,e)},e.prototype.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}),n.hostModel)})):t.removeAll()},e}(),CM=SM;function TM(e,t,n){var r=e.getBaseAxis(),i=e.getOtherAxis(r),o=OM(i,n),a=r.dim,s=i.dim,u=t.mapDimension(s),c=t.mapDimension(a),d="x"===s||"radius"===s?1:0,h=Object(l["H"])(e.dimensions,(function(e){return t.mapDimension(e)})),f=!1,p=t.getCalculationInfo("stackResultDimension");return sM(t,h[0])&&(f=!0,h[0]=p),sM(t,h[1])&&(f=!0,h[1]=p),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!f,valueDim:u,baseDim:c,baseDataOffset:d,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function OM(e,t){var n=0,r=e.scale.getExtent();return"start"===t?n=r[0]:"end"===t?n=r[1]:Object(l["z"])(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function LM(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var AM="undefined"!==typeof Float32Array,DM=AM?Float32Array:Array;function EM(e){return Object(l["t"])(e)?AM?new Float32Array(e):e:new DM(e)}function IM(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}function jM(e,t,n,r,i,o,a,s){for(var l=IM(e,t),u=[],c=[],d=[],h=[],f=[],p=[],m=[],g=TM(i,t,a),v=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b<l.length;b++){var _=l[b],w=!0,x=void 0,k=void 0;switch(_.cmd){case"=":x=2*_.idx,k=2*_.idx1;var M=v[x],S=v[x+1],C=y[k],T=y[k+1];(isNaN(M)||isNaN(S))&&(M=C,S=T),u.push(M,S),c.push(C,T),d.push(n[x],n[x+1]),h.push(r[k],r[k+1]),m.push(t.getRawIndex(_.idx1));break;case"+":var O=_.idx,L=g.dataDimsForPoint,A=i.dataToPoint([t.get(L[0],O),t.get(L[1],O)]);k=2*O,u.push(A[0],A[1]),c.push(y[k],y[k+1]);var D=LM(g,i,t,O);d.push(D[0],D[1]),h.push(r[k],r[k+1]),m.push(t.getRawIndex(O));break;case"-":w=!1}w&&(f.push(_),p.push(p.length))}p.sort((function(e,t){return m[e]-m[t]}));var E=u.length,I=EM(E),j=EM(E),P=EM(E),R=EM(E),N=[];for(b=0;b<p.length;b++){var B=p[b],Y=2*b,F=2*B;I[Y]=u[F],I[Y+1]=u[F+1],j[Y]=c[F],j[Y+1]=c[F+1],P[Y]=d[F],P[Y+1]=d[F+1],R[Y]=h[F],R[Y+1]=h[F+1],N[b]=f[B]}return{current:I,next:j,stackedOnCurrent:P,stackedOnNext:R,status:N}}var PM=Math.min,RM=Math.max;function NM(e,t){return isNaN(e)||isNaN(t)}function BM(e,t,n,r,i,o,a,s,l){for(var u,c,d,h,f,p,m=n,g=0;g<r;g++){var v=t[2*m],y=t[2*m+1];if(m>=i||m<0)break;if(NM(v,y)){if(l){m+=o;continue}break}if(m===n)e[o>0?"moveTo":"lineTo"](v,y),d=v,h=y;else{var b=v-u,_=y-c;if(b*b+_*_<.5){m+=o;continue}if(a>0){var w=m+o,x=t[2*w],k=t[2*w+1];while(x===v&&k===y&&g<r)g++,w+=o,m+=o,x=t[2*w],k=t[2*w+1],v=t[2*m],y=t[2*m+1],b=v-u,_=y-c;var M=g+1;if(l)while(NM(x,k)&&M<r)M++,w+=o,x=t[2*w],k=t[2*w+1];var S=.5,C=0,T=0,O=void 0,L=void 0;if(M>=r||NM(x,k))f=v,p=y;else{C=x-u,T=k-c;var A=v-u,D=x-v,E=y-c,I=k-y,j=void 0,P=void 0;if("x"===s){j=Math.abs(A),P=Math.abs(D);var R=C>0?1:-1;f=v-R*j*a,p=y,O=v+R*P*a,L=y}else if("y"===s){j=Math.abs(E),P=Math.abs(I);var N=T>0?1:-1;f=v,p=y-N*j*a,O=v,L=y+N*P*a}else j=Math.sqrt(A*A+E*E),P=Math.sqrt(D*D+I*I),S=P/(P+j),f=v-C*a*(1-S),p=y-T*a*(1-S),O=v+C*a*S,L=y+T*a*S,O=PM(O,RM(x,v)),L=PM(L,RM(k,y)),O=RM(O,PM(x,v)),L=RM(L,PM(k,y)),C=O-v,T=L-y,f=v-C*j/P,p=y-T*j/P,f=PM(f,RM(u,v)),p=PM(p,RM(c,y)),f=RM(f,PM(u,v)),p=RM(p,PM(c,y)),C=v-f,T=y-p,O=v+C*P/j,L=y+T*P/j}e.bezierCurveTo(d,h,f,p,v,y),d=O,h=L}else e.lineTo(v,y)}u=v,c=y,m+=o}return g}var YM=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),FM=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new YM},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0;i--)if(!NM(n[2*i-2],n[2*i-1]))break;for(;r<i;r++)if(!NM(n[2*r],n[2*r+1]))break}while(r<i)r+=BM(e,n,r,i,i,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path,o=i.data,a=ba.CMD,s="x"===t,l=[],u=0;u<o.length;){var c=o[u++],d=void 0,h=void 0,f=void 0,p=void 0,m=void 0,g=void 0,v=void 0;switch(c){case a.M:n=o[u++],r=o[u++];break;case a.L:if(d=o[u++],h=o[u++],v=s?(e-n)/(d-n):(e-r)/(h-r),v<=1&&v>=0){var y=s?(h-r)*v+r:(d-n)*v+n;return s?[e,y]:[y,e]}n=d,r=h;break;case a.C:d=o[u++],h=o[u++],f=o[u++],p=o[u++],m=o[u++],g=o[u++];var b=s?xt(n,d,f,m,e,l):xt(r,h,p,g,e,l);if(b>0)for(var _=0;_<b;_++){var w=l[_];if(w<=1&&w>=0){y=s?_t(r,h,p,g,w):_t(n,d,f,m,w);return s?[e,y]:[y,e]}}n=m,r=g;break}}},t}(Ua),zM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(YM),HM=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return a(t,e),t.prototype.getDefaultShape=function(){return new zM},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0;o--)if(!NM(n[2*o-2],n[2*o-1]))break;for(;i<o;i++)if(!NM(n[2*i],n[2*i+1]))break}while(i<o){var s=BM(e,n,i,o,o,1,t.smooth,a,t.connectNulls);BM(e,r,i+s-1,s,o,-1,t.stackedOnSmooth,a,t.connectNulls),i+=s+1,e.closePath()}},t}(Ua);function VM(e,t,n,r,i){var o=e.getArea(),a=o.x,s=o.y,u=o.width,c=o.height,d=n.get(["lineStyle","width"])||0;a-=d/2,s-=d/2,u+=d,c+=d,u=Math.ceil(u),a!==Math.floor(a)&&(a=Math.floor(a),u++);var h=new ls({shape:{x:a,y:s,width:u,height:c}});if(t){var f=e.getBaseAxis(),p=f.isHorizontal(),m=f.inverse;p?(m&&(h.shape.x+=u),h.shape.width=0):(m||(h.shape.y+=c),h.shape.height=0);var g=Object(l["w"])(i)?function(e){i(e,h)}:null;Ul(h,{shape:{width:u,height:c,x:a,y:s}},n,null,r,g)}return h}function WM(e,t,n){var r=e.getArea(),i=Yr(r.r0,1),o=Yr(r.r,1),a=new wm({shape:{cx:Yr(e.cx,1),cy:Yr(e.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var s="angle"===e.getBaseAxis().dim;s?a.shape.endAngle=r.startAngle:a.shape.r=i,Ul(a,{shape:{endAngle:r.endAngle,r:o}},n)}return a}function UM(e,t,n,r,i){return e?"polar"===e.type?WM(e,t,n):"cartesian2d"===e.type?VM(e,t,n,r,i):null:null}function $M(e,t){return e.type===t}function GM(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function qM(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function XM(e,t){var n=qM(e),r=n[0],i=n[1],o=qM(t),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function KM(e){return l["z"](e)?e:e?.5:0}function ZM(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=EM(2*r),o=0;o<r;o++){var a=LM(n,e,t,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}function JM(e,t,n,r,i){var o=n.getBaseAxis(),a="x"===o.dim||"radius"===o.dim?0:1,s=[],l=0,u=[],c=[],d=[],h=[];if(i){for(l=0;l<e.length;l+=2){var f=t||e;isNaN(f[l])||isNaN(f[l+1])||h.push(e[l],e[l+1])}e=h}for(l=0;l<e.length-2;l+=2)switch(d[0]=e[l+2],d[1]=e[l+3],c[0]=e[l],c[1]=e[l+1],s.push(c[0],c[1]),r){case"end":u[a]=d[a],u[1-a]=c[1-a],s.push(u[0],u[1]);break;case"middle":var p=(c[a]+d[a])/2,m=[];u[a]=m[a]=p,u[1-a]=c[1-a],m[1-a]=d[1-a],s.push(u[0],u[1]),s.push(m[0],m[1]);break;default:u[a]=c[a],u[1-a]=d[1-a],s.push(u[0],u[1])}return s.push(e[l++],e[l++]),s}function QM(e,t){var n,r,i=[],o=e.length;function a(e,t,n){var r=e.coord,i=(n-r)/(t.coord-r),o=Object(Bt["b"])(i,[e.color,t.color]);return{coord:n,color:o}}for(var s=0;s<o;s++){var l=e[s],u=l.coord;if(u<0)n=l;else{if(u>t){r?i.push(a(r,l,t)):n&&i.push(a(n,l,0),a(n,l,t));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}function eS(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,"x"===i||"y"===i){o=r[a];break}}if(o){var u=t.getAxis(i),c=l["H"](o.stops,(function(e){return{coord:u.toGlobalCoord(u.dataToCoord(e.value)),color:e.color}})),d=c.length,h=o.outerColors.slice();d&&c[0].coord>c[d-1].coord&&(c.reverse(),h.reverse());var f=QM(c,"x"===i?n.getWidth():n.getHeight()),p=f.length;if(!p&&d)return c[0].coord<0?h[1]?h[1]:c[d-1].color:h[0]?h[0]:c[0].color;var m=10,g=f[0].coord-m,v=f[p-1].coord+m,y=v-g;if(y<.001)return"transparent";l["k"](f,(function(e){e.offset=(e.coord-g)/y})),f.push({offset:p?f[p-1].offset:.5,color:h[1]||"transparent"}),f.unshift({offset:p?f[0].offset:.5,color:h[0]||"transparent"});var b=new Km(0,0,0,0,f,!0);return b[i]=g,b[i+"2"]=v,b}}}function tS(e,t,n){var r=e.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!nS(o,t))){var a=t.mapDimension(o.dim),s={};return l["k"](o.getViewLabels(),(function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1})),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}function nS(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*wM.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}function rS(e,t){return isNaN(e)||isNaN(t)}function iS(e){for(var t=e.length/2;t>0;t--)if(!rS(e[2*t-2],e[2*t-1]))break;return t-1}function oS(e,t){return[e[2*t],e[2*t+1]]}function aS(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(i=e[2*u+a],!isNaN(i)&&!isNaN(e[2*u+1-a]))if(0!==u){if(r<=t&&i>=t||r>=t&&i<=t){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(t-r)/(i-r)}}function sS(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<Rs.length;t++)if(e.get([Rs[t],"endLabel","show"]))return!0;return!1}function lS(e,t,n,r){if($M(t,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=sS(r)?function(n,r){e._endLabelOnDuring(n,r,a,s,o,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=VM(t,n,r,(function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),l);if(!r.get("clip",!0)){var d=c.shape,h=Math.max(d.width,d.height);u?(d.y-=h,d.height+=2*h):(d.x-=h,d.width+=2*h)}return l&&l(1,c),c}return WM(t,n,r)}function uS(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||a}}}var cS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(){var e=new kr,t=new CM;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e,this._changePolyState=l["c"](this._changePolyState,this)},t.prototype.render=function(e,t,n){var r=e.coordinateSystem,i=this.group,o=e.getData(),a=e.getModel("lineStyle"),s=e.getModel("areaStyle"),u=o.getLayout("points")||[],c="polar"===r.type,d=this._coordSys,h=this._symbolDraw,f=this._polyline,p=this._polygon,m=this._lineGroup,g=!t.ssr&&e.get("animation"),v=!s.isEmpty(),y=s.get("origin"),b=TM(r,o,y),_=v&&ZM(r,o,b),w=e.get("showSymbol"),x=e.get("connectNulls"),k=w&&!c&&tS(e,o,r),M=this._data;M&&M.eachItemGraphicEl((function(e,t){e.__temp&&(i.remove(e),M.setItemGraphicEl(t,null))})),w||h.remove(),i.add(m);var S,C=!c&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(S=r.getArea(),null!=S.width?(S.x-=.1,S.y-=.1,S.width+=.2,S.height+=.2):S.r0&&(S.r0-=.5,S.r+=.5)),this._clipShapeForSymbol=S;var T=eS(o,r,n)||o.getVisual("style")[o.getVisual("drawType")];if(f&&d.type===r.type&&C===this._step){v&&!p?p=this._newPolygon(u,_):p&&!v&&(m.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(e,r,Ec(T));var O=m.getClipPath();if(O){var L=lS(this,r,!1,e);Ul(O,{shape:L.shape},e)}else m.setClipPath(lS(this,r,!0,e));w&&h.updateData(o,{isIgnore:k,clipShape:S,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),GM(this._stackedOnPoints,_)&&GM(this._points,u)||(g?this._doUpdateAnimation(o,_,r,n,C,y,x):(C&&(_&&(_=JM(_,u,r,C,x)),u=JM(u,null,r,C,x)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:_})))}else w&&h.updateData(o,{isIgnore:k,clipShape:S,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),g&&this._initSymbolLabelAnimation(o,r,S),C&&(_&&(_=JM(_,u,r,C,x)),u=JM(u,null,r,C,x)),f=this._newPolyline(u),v?p=this._newPolygon(u,_):p&&(m.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(e,r,Ec(T)),m.setClipPath(lS(this,r,!0,e));var A=e.getModel("emphasis"),D=A.get("focus"),E=A.get("blurScope"),I=A.get("disabled");if(f.useStyle(l["i"](a.getLineStyle(),{fill:"none",stroke:T,lineJoin:"bevel"})),Il(f,e,"lineStyle"),f.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])){var j=f.getState("emphasis").style;j.lineWidth=+f.style.lineWidth+1}Ts(f).seriesIndex=e.seriesIndex,Ll(f,D,E,I);var P=KM(e.get("smooth")),R=e.get("smoothMonotone");if(f.setShape({smooth:P,smoothMonotone:R,connectNulls:x}),p){var N=o.getCalculationInfo("stackedOnSeries"),B=0;p.useStyle(l["i"](s.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),N&&(B=KM(N.get("smooth"))),p.setShape({smooth:P,stackedOnSmooth:B,smoothMonotone:R,connectNulls:x}),Il(p,e,"areaStyle"),Ts(p).seriesIndex=e.seriesIndex,Ll(p,D,E,I)}var Y=this._changePolyState;o.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=Y)})),this._polyline.onHoverStateChange=Y,this._data=o,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=C,this._valueOrigin=y,e.get("triggerLineEvent")&&(this.packEventData(e,f),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,t){Ts(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=Di(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,d=e.get("z")||0;s=new wM(i,o),s.x=l,s.y=u,s.setZ(c,d);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=c,h.z=d,h.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else qg.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),o=Di(i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else qg.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;tl(this._polyline,e),t&&tl(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new FM({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new HM({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,o=t.getBaseAxis(),a=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),i=!1):"polar"===t.type&&(r="angle"===o.dim,i=!0);var s=e.hostModel,u=s.get("animationDuration");l["w"](u)&&(u=u(null));var c=s.get("animationDelay")||0,d=l["w"](c)?c(null):c;e.eachItemGraphicEl((function(e,o){var s=e;if(s){var h=[e.x,e.y],f=void 0,p=void 0,m=void 0;if(n)if(i){var g=n,v=t.pointToCoord(h);r?(f=g.startAngle,p=g.endAngle,m=-v[1]/180*Math.PI):(f=g.r0,p=g.r,m=v[0])}else{var y=n;r?(f=y.x,p=y.x+y.width,m=e.x):(f=y.y+y.height,p=y.y,m=e.y)}var b=p===f?0:(m-f)/(p-f);a&&(b=1-b);var _=l["w"](c)?c(o):u*b+d,w=s.getSymbolPath(),x=w.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:_}),w.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(sS(e)){var i=e.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new Cs({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=iS(a);l>=0&&(tu(o,nu(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?yM(i,n):vM(i,e)},enableTextSetter:!0},uS(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,d=c.get("connectNulls"),h=o.get("precision"),f=o.get("distance")||0,p=a.getBaseAxis(),m=p.isHorizontal(),g=p.inverse,v=t.shape,y=g?m?v.x:v.y+v.height:m?v.x+v.width:v.y,b=(m?f:0)*(g?-1:1),_=(m?0:-f)*(g?-1:1),w=m?"x":"y",x=aS(u,y,w),k=x.range,M=k[1]-k[0],S=void 0;if(M>=1){if(M>1&&!d){var C=oS(u,k[0]);s.attr({x:C[0]+b,y:C[1]+_}),i&&(S=c.getRawValue(k[0]))}else{C=l.getPointOn(y,w);C&&s.attr({x:C[0]+b,y:C[1]+_});var T=c.getRawValue(k[0]),O=c.getRawValue(k[1]);i&&(S=Vi(n,h,T,O,x.t))}r.lastFrameIndex=k[0]}else{var L=1===e||r.lastFrameIndex>0?k[0]:0;C=oS(u,L);i&&(S=c.getRawValue(L)),s.attr({x:C[0]+b,y:C[1]+_})}if(i){var A=hu(s);"function"===typeof A.setLabelText&&A.setLabelText(S)}}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,o,a){var s=this._polyline,l=this._polygon,u=e.hostModel,c=jM(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),d=c.current,h=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(i&&(h=JM(c.stackedOnCurrent,c.current,n,i,a),d=JM(c.current,null,n,i,a),p=JM(c.stackedOnNext,c.next,n,i,a),f=JM(c.next,null,n,i,a)),XM(d,f)>3e3||l&&XM(h,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=d;var m={shape:{points:f}};c.current!==d&&(m.shape.__points=c.next),s.stopAnimation(),Wl(s,m,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),Wl(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],v=c.status,y=0;y<v.length;y++){var b=v[y].cmd;if("="===b){var _=e.getItemGraphicEl(v[y].idx1);_&&g.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<g.length;t++){var n=g[t].el,r=2*g[t].ptIdx;n.x=e[r],n.y=e[r+1],n.markRedraw()}}))},t.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(qg),dS=cS;function hS(e,t){return{seriesType:e,plan:Op(),reset:function(e){var n=e.getData(),r=e.coordinateSystem,i=e.pipelineContext,o=t||i.large;if(r){var a=Object(l["H"])(r.dimensions,(function(e){return n.mapDimension(e)})).slice(0,2),s=a.length,u=n.getCalculationInfo("stackResultDimension");sM(n,a[0])&&(a[0]=u),sM(n,a[1])&&(a[1]=u);var c=n.getStore(),d=n.getDimensionIndex(a[0]),h=n.getDimensionIndex(a[1]);return s&&{progress:function(e,t){for(var n=e.end-e.start,i=o&&EM(n*s),a=[],l=[],u=e.start,f=0;u<e.end;u++){var p=void 0;if(1===s){var m=c.get(d,u);p=r.dataToPoint(m,null,l)}else a[0]=c.get(d,u),a[1]=c.get(h,u),p=r.dataToPoint(a,null,l);o?(i[f++]=p[0],i[f++]=p[1]):t.setItemLayout(u,p.slice())}o&&t.setLayout("points",i)}}}}}}var fS={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},pS=function(e){return Math.round(e.length/2)};function mS(e){return{seriesType:e,reset:function(e,t,n){var r=e.getData(),i=e.get("sampling"),o=e.coordinateSystem,a=r.count();if(a>10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),u=o.getOtherAxis(s),c=s.getExtent(),d=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(d||1),f=Math.round(a/h);if(isFinite(f)&&f>1){"lttb"===i?e.setData(r.lttbDownSample(r.mapDimension(u.dim),1/f)):"minmax"===i&&e.setData(r.minmaxDownSample(r.mapDimension(u.dim),1/f));var p=void 0;Object(l["C"])(i)?p=fS[i]:Object(l["w"])(i)&&(p=i),p&&e.setData(r.downSample(r.mapDimension(u.dim),1/f,p,pS))}}}}}function gS(e){e.registerChartView(dS),e.registerSeriesModel(gM),e.registerLayout(hS("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,mS("line"))}var vS="__ec_stack_";function yS(e){return e.get("stack")||vS+e.seriesIndex}function bS(e){return e.dim+e.index}function _S(e){var t=[],n=e.axis,r="axis0";if("category"===n.type){for(var i=n.getBandWidth(),o=0;o<e.count;o++)t.push(Object(l["i"])({bandWidth:i,axisKey:r,stackId:vS+o},e));var a=MS(t),s=[];for(o=0;o<e.count;o++){var u=a[r][vS+o];u.offsetCenter=u.offset+u.width/2,s.push(u)}return s}}function wS(e,t){var n=[];return t.eachSeriesByType(e,(function(e){OS(e)&&n.push(e)})),n}function xS(e){var t={};Object(l["k"])(e,(function(e){var n=e.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=e.getData(),o=r.dim+"_"+r.index,a=i.getDimensionIndex(i.mapDimension(r.dim)),s=i.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(a,l);t[o]?t[o].push(c):t[o]=[c]}}));var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(i){i.sort((function(e,t){return e-t}));for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[r]=o}}return n}function kS(e){var t=xS(e),n=[];return Object(l["k"])(e,(function(e){var r,i=e.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=t[s],u=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),d=Math.abs(c[1]-c[0]);r=l?u/d*l:u}else{var h=e.getData();r=Math.abs(a[1]-a[0])/h.count()}var f=Br(e.get("barWidth"),r),p=Br(e.get("barMaxWidth"),r),m=Br(e.get("barMinWidth")||(LS(e)?.5:1),r),g=e.get("barGap"),v=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:f,barMaxWidth:p,barMinWidth:m,barGap:g,barCategoryGap:v,axisKey:bS(o),stackId:yS(e)})})),MS(n)}function MS(e){var t={};Object(l["k"])(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var d=e.barGap;null!=d&&(o.gap=d);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return Object(l["k"])(t,(function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=e.categoryGap;if(null==o){var a=Object(l["F"])(r).length;o=Math.max(35-4*a,15)+"%"}var s=Br(o,i),u=Br(e.gap,1),c=e.remainedWidth,d=e.autoWidthCount,h=(c-s)/(d+(d-1)*u);h=Math.max(h,0),Object(l["k"])(r,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,c-=r+u*r,d--}else{var r=h;t&&t<r&&(r=Math.min(t,c)),n&&n>r&&(r=n),r!==h&&(e.width=r,c-=r+u*r,d--)}})),h=(c-s)/(d+(d-1)*u),h=Math.max(h,0);var f,p=0;Object(l["k"])(r,(function(e,t){e.width||(e.width=h),f=e,p+=e.width*(1+u)})),f&&(p-=f.width*u);var m=-p/2;Object(l["k"])(r,(function(e,r){n[t][r]=n[t][r]||{bandWidth:i,offset:m,width:e.width},m+=e.width*(1+u)}))})),n}function SS(e,t,n){if(e&&t){var r=e[bS(t)];return null!=r&&null!=n?r[yS(n)]:r}}function CS(e,t){var n=wS(e,t),r=kS(n);Object(l["k"])(n,(function(e){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),o=yS(e),a=r[bS(i)][o],s=a.offset,l=a.width;t.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function TS(e){return{seriesType:e,plan:Op(),reset:function(e){if(OS(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=t.getDimensionIndex(t.mapDimension(i.dim)),a=t.getDimensionIndex(t.mapDimension(r.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),u=t.getCalculationInfo("stackResultDimension"),c=sM(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),d=i.isHorizontal(),h=AS(r,i),f=LS(e),p=e.get("barMinHeight")||0,m=u&&t.getDimensionIndex(u),g=t.getLayout("size"),v=t.getLayout("offset");return{progress:function(e,t){var r,i=e.count,l=f&&EM(3*i),u=f&&s&&EM(3*i),y=f&&EM(i),b=n.master.getRect(),_=d?b.width:b.height,w=t.getStore(),x=0;while(null!=(r=e.next())){var k=w.get(c?m:o,r),M=w.get(a,r),S=h,C=void 0;c&&(C=+k-w.get(o,r));var T=void 0,O=void 0,L=void 0,A=void 0;if(d){var D=n.dataToPoint([k,M]);if(c){var E=n.dataToPoint([C,M]);S=E[0]}T=S,O=D[1]+v,L=D[0]-S,A=g,Math.abs(L)<p&&(L=(L<0?-1:1)*p)}else{D=n.dataToPoint([M,k]);if(c){E=n.dataToPoint([M,C]);S=E[1]}T=D[0]+v,O=S,L=g,A=D[1]-S,Math.abs(A)<p&&(A=(A<=0?-1:1)*p)}f?(l[x]=T,l[x+1]=O,l[x+2]=d?L:A,u&&(u[x]=d?b.x:T,u[x+1]=d?O:b.y,u[x+2]=_),y[r]=r):t.setItemLayout(r,{x:T,y:O,width:L,height:A}),x+=3}f&&t.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:d})}}}}}}function OS(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function LS(e){return e.pipelineContext&&e.pipelineContext.large}function AS(e,t){var n=t.model.get("startValue");return n||(n=0),t.toGlobalCoord(t.dataToCoord("log"===t.type?n>0?n:1:n))}var DS=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(e,t){return pM(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.clampData(e),o=r.dataToPoint(i);if(n)Object(l["k"])(r.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var r=e.getTicksCoords(),a=e.getTickModel().get("alignWithLabel"),s=i[n],l="x1"===t[n]||"y1"===t[n];if(l&&!a&&(s+=1),r.length<2)return;if(2===r.length)return void(o[n]=e.toGlobalCoord(e.getExtent()[l?1:0]));for(var u=void 0,c=void 0,d=1,h=0;h<r.length;h++){var f=r[h].coord,p=h===r.length-1?r[h-1].tickValue+d:r[h].tickValue;if(p===s){c=f;break}if(p<s)u=f;else if(null!=u&&p>s){c=(f+u)/2;break}1===h&&(d=p-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),o[n]=e.toGlobalCoord(c)}}));else{var a=this.getData(),s=a.getLayout("offset"),u=a.getLayout("size"),c=r.getBaseAxis().isHorizontal()?0:1;o[c]+=s+u/2}return o}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Sp);Sp.registerClass(DS);var ES=DS,IS=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(){return pM(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Eu(ES.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(ES),jS=IS,PS=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),RS=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return a(t,e),t.prototype.getDefaultShape=function(){return new PS},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=2*Math.PI,h=c?u-l<d:l-u<d;h||(l=u-(c?d:-d));var f=Math.cos(l),p=Math.sin(l),m=Math.cos(u),g=Math.sin(u);h?(e.moveTo(f*i+n,p*i+r),e.arc(f*s+n,p*s+r,a,-Math.PI+l,l,!c)):e.moveTo(f*o+n,p*o+r),e.arc(n,r,o,l,u,!c),e.arc(m*s+n,g*s+r,a,u-2*Math.PI,u-Math.PI,!c),0!==i&&e.arc(n,r,i,u,l,c)},t}(Ua),NS=RS;function BS(e,t){t=t||{};var n=t.isRoundCap;return function(t,r,i){var o=r.position;if(!o||o instanceof Array)return sr(t,r,i);var a=e(o),s=null!=r.distance?r.distance:5,l=this.shape,u=l.cx,c=l.cy,d=l.r,h=l.r0,f=(d+h)/2,p=l.startAngle,m=l.endAngle,g=(p+m)/2,v=n?Math.abs(d-h)/2:0,y=Math.cos,b=Math.sin,_=u+d*y(p),w=c+d*b(p),x="left",k="top";switch(a){case"startArc":_=u+(h-s)*y(g),w=c+(h-s)*b(g),x="center",k="top";break;case"insideStartArc":_=u+(h+s)*y(g),w=c+(h+s)*b(g),x="center",k="bottom";break;case"startAngle":_=u+f*y(p)+FS(p,s+v,!1),w=c+f*b(p)+zS(p,s+v,!1),x="right",k="middle";break;case"insideStartAngle":_=u+f*y(p)+FS(p,-s+v,!1),w=c+f*b(p)+zS(p,-s+v,!1),x="left",k="middle";break;case"middle":_=u+f*y(g),w=c+f*b(g),x="center",k="middle";break;case"endArc":_=u+(d+s)*y(g),w=c+(d+s)*b(g),x="center",k="bottom";break;case"insideEndArc":_=u+(d-s)*y(g),w=c+(d-s)*b(g),x="center",k="top";break;case"endAngle":_=u+f*y(m)+FS(m,s+v,!0),w=c+f*b(m)+zS(m,s+v,!0),x="left",k="middle";break;case"insideEndAngle":_=u+f*y(m)+FS(m,-s+v,!0),w=c+f*b(m)+zS(m,-s+v,!0),x="right",k="middle";break;default:return sr(t,r,i)}return t=t||{},t.x=_,t.y=w,t.align=x,t.verticalAlign=k,t}}function YS(e,t,n,r){if(Object(l["z"])(r))e.setTextConfig({rotation:r});else if(Object(l["t"])(t))e.setTextConfig({rotation:0});else{var i,o=e.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,u=(a+s)/2,c=n(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=u;break;case"startAngle":case"insideStartAngle":i=a;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void e.setTextConfig({rotation:0})}var d=1.5*Math.PI-i;"middle"===c&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),e.setTextConfig({rotation:d})}}function FS(e,t,n){return t*Math.sin(e)*(n?-1:1)}function zS(e,t,n){return t*Math.cos(e)*(n?1:-1)}function HS(e,t,n){var r=e.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;Object(l["t"])(r)||(r=[r,r,r,r]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Object(l["H"])(r,(function(e){return ar(e,i)}))}}var VS=Math.max,WS=Math.min;function US(e,t){var n=e.getArea&&e.getArea();if($M(e,"cartesian2d")){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var $S=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return a(t,e),t.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var i=e.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){Yg(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,r){var i,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,d=XS(e,l);d&&this._enableRealtimeSort(d,a,n);var h=e.get("clip",!0)||d,f=US(l,a);o.removeClipPath();var p=e.get("roundCap",!0),m=e.get("showBackground",!0),g=e.getModel("backgroundStyle"),v=g.get("borderRadius")||0,y=[],b=this._backgroundEls,_=r&&r.isInitSort,w=r&&"changeAxisOrder"===r.type;function x(e){var t=tC[l.type](a,e),n=hC(l,i,t);return n.useStyle(g.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),y[e]=n,n}a.diff(s).add((function(t){var n=a.getItemModel(t),r=tC[l.type](a,t,n);if(m&&x(t),a.hasValue(t)&&eC[l.type](r)){var s=!1;h&&(s=GS[l.type](f,r));var g=qS[l.type](e,a,t,r,i,c,u.model,!1,p);d&&(g.forceLabelAnimation=!0),iC(g,a,t,n,r,e,i,"polar"===l.type),_?g.attr({shape:r}):d?KS(d,c,g,r,t,i,!1,!1):Ul(g,{shape:r},e,t),a.setItemGraphicEl(t,g),o.add(g),g.ignore=s}})).update((function(t,n){var r=a.getItemModel(t),k=tC[l.type](a,t,r);if(m){var M=void 0;0===b.length?M=x(n):(M=b[n],M.useStyle(g.getItemStyle()),"cartesian2d"===l.type?M.setShape("r",v):M.setShape("cornerRadius",v),y[t]=M);var S=tC[l.type](a,t),C=dC(i,S,l);Wl(M,{shape:C},c,t)}var T=s.getItemGraphicEl(n);if(a.hasValue(t)&&eC[l.type](k)){var O=!1;if(h&&(O=GS[l.type](f,k),O&&o.remove(T)),T?Kl(T):T=qS[l.type](e,a,t,k,i,c,u.model,!!T,p),d&&(T.forceLabelAnimation=!0),w){var L=T.getTextContent();if(L){var A=hu(L);null!=A.prevValue&&(A.prevValue=A.value)}}else iC(T,a,t,r,k,e,i,"polar"===l.type);_?T.attr({shape:k}):d?KS(d,c,T,k,t,i,!0,w):Wl(T,{shape:k},e,t,null),a.setItemGraphicEl(t,T),T.ignore=O,o.add(T)}else o.remove(T)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&Xl(n,e,t)})).execute();var k=this._backgroundGroup||(this._backgroundGroup=new kr);k.removeAll();for(var M=0;M<y.length;++M)k.add(y[M]);o.add(k),this._backgroundEls=y,this._data=a},t.prototype._renderLarge=function(e,t,n){this._clear(),lC(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),lC(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&UM(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var r=this;if(t.count()){var i=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var o=function(e){var n=t.getItemGraphicEl(e),r=n&&n.shape;return r&&Math.abs(i.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(t,o,i,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var r=[];return e.each(e.mapDimension(t.dim),(function(e,t){var i=n(t);i=null==i?NaN:i,r.push({dataIndex:t,mappedValue:i,ordinalNumber:e})})),r.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:Object(l["H"])(r,(function(e){return e.ordinalNumber}))}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var r=n.scale,i=e.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;a<s;++a){var l=e.rawIndexOf(i,r.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:t(e.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(e.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var i=this._dataSort(e,n,t);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){Xl(t,e,Ts(t).dataIndex)}))):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(qg),GS={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=VS(t.x,e.x),s=WS(t.x+t.width,i),l=VS(t.y,e.y),u=WS(t.y+t.height,o),c=s<a,d=u<l;return t.x=c&&a>i?s:a,t.y=d&&l>o?u:l,t.width=c?0:s-a,t.height=d?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=WS(t.r,e.r),o=VS(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){r=t.r;t.r=t.r0,t.r0=r}return a}},qS={cartesian2d:function(e,t,n,r,i,o,a,s,u){var c=new ls({shape:Object(l["m"])({},r),z2:1});if(c.__dataIndex=n,c.name="item",o){var d=c.shape,h=i?"height":"width";d[h]=0}return c},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?NS:wm,c=new u({shape:r,z2:1});c.name="item";var d=rC(i);if(c.calculateTextPosition=BS(d,{isRoundCap:u===NS}),o){var h=c.shape,f=i?"r":"endAngle",p={};h[f]=i?r.r0:r.startAngle,p[f]=r[f],(s?Wl:Ul)(c,{shape:p},o)}return c}};function XS(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===t.type)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function KS(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?Wl:Ul)(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?Wl:Ul)(n,{shape:u},c,i)}function ZS(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var JS=["x","y","width","height"],QS=["cx","cy","r","startAngle","endAngle"],eC={cartesian2d:function(e){return!ZS(e,JS)},polar:function(e){return!ZS(e,QS)}},tC={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?oC(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function nC(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function rC(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function iC(e,t,n,r,i,o,a,s){var u=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=e.shape,d=HS(r.getModel("itemStyle"),c,!0);Object(l["m"])(c,d),e.setShape(c)}}else{var h=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",h)}e.useStyle(u);var f=r.getShallow("cursor");f&&e.attr("cursor",f);var p=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",m=nu(r);tu(e,m,{labelFetcher:o,labelDataIndex:n,defaultText:vM(o.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:p});var g=e.getTextContent();if(s&&g){var v=r.get(["label","position"]);e.textConfig.inside="middle"===v||null,YS(e,"outside"===v?p:v,rC(a),r.get(["label","rotate"]))}fu(g,m,o.getRawValue(n),(function(e){return yM(t,e)}));var y=r.getModel(["emphasis"]);Ll(e,y.get("focus"),y.get("blurScope"),y.get("disabled")),Il(e,r),nC(i)&&(e.style.fill="none",e.style.stroke="none",Object(l["k"])(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}function oC(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var aC=function(){function e(){}return e}(),sC=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return a(t,e),t.prototype.getDefaultShape=function(){return new aC},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[r]=s,a[i]=n[l+2],o[r]=n[l+r],o[i]=n[l+i],e.rect(o[0],o[1],a[0],a[1])},t}(Ua);function lC(e,t,n,r){var i=e.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new sC({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),n&&n.push(c)}var d=new sC({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,t.add(d),d.useStyle(i.getVisual("style")),d.style.stroke=null,Ts(d).seriesIndex=e.seriesIndex,e.get("silent")||(d.on("mousedown",uC),d.on("mousemove",uC)),n&&n.push(d)}var uC=Jg((function(e){var t=this,n=cC(t,e.offsetX,e.offsetY);Ts(t).dataIndex=n>=0?n:null}),30,!1);function cC(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,d=o.length/3;c<d;c++){var h=3*c;if(l[r]=u,l[i]=o[h+2],s[r]=o[h+r],s[i]=o[h+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function dC(e,t,n){if($M(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}i=n.getArea();var o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}function hC(e,t,n){var r="polar"===e.type?wm:ls;return new r({shape:dC(t,n,e),silent:!0,z2:0})}var fC=$S;function pC(e){e.registerChartView(fC),e.registerSeriesModel(jS),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,l["h"](CS,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,TS("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,mS("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)}))}))}var mC=2*Math.PI,gC=Math.PI/180;function vC(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function yC(e,t){var n=vC(e,t),r=e.get("center"),i=e.get("radius");l["t"](i)||(i=[0,i]);var o,a,s=Br(n.width,t.getWidth()),u=Br(n.height,t.getHeight()),c=Math.min(s,u),d=Br(i[0],c/2),h=Br(i[1],c/2),f=e.coordinateSystem;if(f){var p=f.dataToPoint(r);o=p[0]||0,a=p[1]||0}else l["t"](r)||(r=[r,r]),o=Br(r[0],s)+n.x,a=Br(r[1],u)+n.y;return{cx:o,cy:a,r0:d,r:h}}function bC(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),i=vC(e,n),o=yC(e,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-e.get("startAngle")*gC,d=e.get("endAngle"),h=e.get("padAngle")*gC;d="auto"===d?c-mC:-d*gC;var f=e.get("minAngle")*gC,p=f+h,m=0;t.each(r,(function(e){!isNaN(e)&&m++}));var g=t.getSum(r),v=Math.PI/(g||m)*2,y=e.get("clockwise"),b=e.get("roseType"),_=e.get("stillShowZeroSum"),w=t.getDataExtent(r);w[0]=0;var x=y?1:-1,k=[c,d],M=x*h/2;va(k,!y),c=k[0],d=k[1];var S=_C(e);S.startAngle=c,S.endAngle=d,S.clockwise=y;var C=Math.abs(d-c),T=C,O=0,L=c;if(t.setLayout({viewRect:i,r:l}),t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:a,cy:s,r0:u,r:b?NaN:l});else{r="area"!==b?0===g&&_?v:e*v:C/m,r<p?(r=p,T-=p):O+=e;var i=L+x*r,o=0,c=0;h>r?(o=L+x*r/2,c=o):(o=L+M,c=i-M),t.setItemLayout(n,{angle:r,startAngle:o,endAngle:c,clockwise:y,cx:a,cy:s,r0:u,r:b?Nr(e,w,[u,l]):l}),L=i}})),T<mC&&m)if(T<=.001){var A=C/m;t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=A;var i=0,o=0;A<h?(i=c+x*(n+.5)*A,o=i):(i=c+x*n*A+M,o=c+x*(n+1)*A-M),r.startAngle=i,r.endAngle=o}}))}else v=T/O,L=c,t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n),i=r.angle===p?p:e*v,o=0,a=0;i<h?(o=L+x*i/2,a=o):(o=L+M,a=L+x*i-M),r.startAngle=o,r.endAngle=a,L+=x*i}}))}))}var _C=Ei();function wC(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),i=0;i<n.length;i++)if(!n[i].isSelected(t))return!1;return!0}))}}}}var xC=Math.PI/180;function kC(e,t,n,r,i,o,a,s,l,u){if(!(e.length<2)){for(var c=e.length,d=0;d<c;d++)if("outer"===e[d].position&&"labelLine"===e[d].labelAlignTo){var h=e[d].label.x-u;e[d].linePoints[1][0]+=h,e[d].label.x=u}dw(e,l,l+a)&&p(e)}function f(e){for(var o=e.rB,a=o*o,s=0;s<e.list.length;s++){var l=e.list[s],u=Math.abs(l.label.y-n),c=r+l.len,d=c*c,h=Math.sqrt(Math.abs((1-u*u/a)*d)),f=t+(h+l.len2)*i,p=f-l.label.x,m=l.targetTextWidth-p*i;SC(l,m,!0),l.label.x=f}}function p(e){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var d=l.label.x-t-l.len2*i,h=r+l.len,p=Math.abs(d)<h?Math.sqrt(c*c/(1-d*d/h/h)):h;u.rB=p,u.maxY=c}u.list.push(l)}f(o),f(a)}}function MC(e,t,n,r,i,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,h=0;h<e.length;h++){var f=e[h].label;CC(e[h])||(f.x<t?(c=Math.min(c,f.x),l.push(e[h])):(d=Math.max(d,f.x),u.push(e[h])))}for(h=0;h<e.length;h++){var p=e[h];if(!CC(p)&&p.linePoints){if(null!=p.labelStyleWidth)continue;f=p.label;var m=p.linePoints,g=void 0;g="edge"===p.labelAlignTo?f.x<t?m[2][0]-p.labelDistance-a-p.edgeDistance:a+i-p.edgeDistance-m[2][0]-p.labelDistance:"labelLine"===p.labelAlignTo?f.x<t?c-a-p.bleedMargin:a+i-d-p.bleedMargin:f.x<t?f.x-a-p.bleedMargin:a+i-f.x-p.bleedMargin,p.targetTextWidth=g,SC(p,g)}}kC(u,t,n,r,1,i,o,a,s,d),kC(l,t,n,r,-1,i,o,a,s,c);for(h=0;h<e.length;h++){p=e[h];if(!CC(p)&&p.linePoints){f=p.label,m=p.linePoints;var v="edge"===p.labelAlignTo,y=f.style.padding,b=y?y[1]+y[3]:0,_=f.style.backgroundColor?0:b,w=p.rect.width+_,x=m[1][0]-m[2][0];v?f.x<t?m[2][0]=a+p.edgeDistance+w+p.labelDistance:m[2][0]=a+i-p.edgeDistance-w-p.labelDistance:(f.x<t?m[2][0]=f.x+p.labelDistance:m[2][0]=f.x-p.labelDistance,m[1][0]=m[2][0]+x),m[1][1]=m[2][1]=f.y}}}function SC(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var r=e.label,i=r.style,o=e.rect,a=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=o.width+(a?0:l);if(t<c||n){var d=o.height;if(u&&u.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-l);var h=r.getBoundingRect();r.setStyle("width",Math.ceil(h.width)),r.setStyle("backgroundColor",a)}else{var f=t-l,p=t<c?f:n?f>e.unconstrainedWidth?null:f:null;r.setStyle("width",p)}var m=r.getBoundingRect();o.width=m.width;var g=(r.style.margin||0)+2.1;o.height=m.height+g,o.y-=(o.height-d)/2}}}function CC(e){return"center"===e.position}function TC(e){var t,n,r=e.getData(),i=[],o=!1,a=(e.get("minShowLabelAngle")||0)*xC,s=r.getLayout("viewRect"),u=r.getLayout("r"),c=s.width,d=s.x,h=s.y,f=s.height;function p(e){e.ignore=!0}function m(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}r.each((function(e){var s=r.getItemGraphicEl(e),h=s.shape,f=s.getTextContent(),g=s.getTextGuideLine(),v=r.getItemModel(e),y=v.getModel("label"),b=y.get("position")||v.get(["emphasis","label","position"]),_=y.get("distanceToLabelLine"),w=y.get("alignTo"),x=Br(y.get("edgeDistance"),c),k=y.get("bleedMargin"),M=v.getModel("labelLine"),S=M.get("length");S=Br(S,c);var C=M.get("length2");if(C=Br(C,c),Math.abs(h.endAngle-h.startAngle)<a)return Object(l["k"])(f.states,p),f.ignore=!0,void(g&&(Object(l["k"])(g.states,p),g.ignore=!0));if(m(f)){var T,O,L,A,D=(h.startAngle+h.endAngle)/2,E=Math.cos(D),I=Math.sin(D);t=h.cx,n=h.cy;var j="inside"===b||"inner"===b;if("center"===b)T=h.cx,O=h.cy,A="center";else{var P=(j?(h.r+h.r0)/2*E:h.r*E)+t,R=(j?(h.r+h.r0)/2*I:h.r*I)+n;if(T=P+3*E,O=R+3*I,!j){var N=P+E*(S+u-h.r),B=R+I*(S+u-h.r),Y=N+(E<0?-1:1)*C,F=B;T="edge"===w?E<0?d+x:d+c-x:Y+(E<0?-_:_),O=F,L=[[P,R],[N,B],[Y,F]]}A=j?"center":"edge"===w?E>0?"right":"left":E>0?"left":"right"}var z=Math.PI,H=0,V=y.get("rotate");if(Object(l["z"])(V))H=V*(z/180);else if("center"===b)H=0;else if("radial"===V||!0===V){var W=E<0?-D+z:-D;H=W}else if("tangential"===V&&"outside"!==b&&"outer"!==b){var U=Math.atan2(E,I);U<0&&(U=2*z+U);var $=I>0;$&&(U=z+U),H=U-z}if(o=!!H,f.x=T,f.y=O,f.rotation=H,f.setStyle({verticalAlign:"middle"}),j){f.setStyle({align:A});var G=f.states.select;G&&(G.x+=f.x,G.y+=f.y)}else{var q=f.getBoundingRect().clone();q.applyTransform(f.getComputedTransform());var X=(f.style.margin||0)+2.1;q.y-=X/2,q.height+=X,i.push({label:f,labelLine:g,position:b,len:S,len2:C,minTurnAngle:M.get("minTurnAngle"),maxSurfaceAngle:M.get("maxSurfaceAngle"),surfaceNormal:new ye(E,I),linePoints:L,textAlign:A,labelDistance:_,labelAlignTo:w,edgeDistance:x,bleedMargin:k,rect:q,unconstrainedWidth:q.width,labelStyleWidth:f.style.width})}s.setTextConfig({inside:j})}})),!o&&e.get("avoidLabelOverlap")&&MC(i,t,n,u,c,f,d,h);for(var g=0;g<i.length;g++){var v=i[g],y=v.label,b=v.labelLine,_=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:v.textAlign}),_&&(Object(l["k"])(y.states,p),y.ignore=!0);var w=y.states.select;w&&(w.x+=y.x,w.y+=y.y)}if(b){var x=v.linePoints;_||!x?(Object(l["k"])(b.states,p),b.ignore=!0):(nw(x,v.minTurnAngle),rw(x,v.surfaceNormal,v.maxSurfaceAngle),b.setShape({points:x}),y.__hostTarget.textGuideLineConfig={anchor:new ye(x[0][0],x[0][1])})}}}var OC=function(e){function t(t,n,r){var i=e.call(this)||this;i.z2=2;var o=new Cs;return i.setTextContent(o),i.updateData(t,n,r,!0),i}return a(t,e),t.prototype.updateData=function(e,t,n,r){var i=this,o=e.hostModel,a=e.getItemModel(t),s=a.getModel("emphasis"),u=e.getItemLayout(t),c=Object(l["m"])(HS(a.getModel("itemStyle"),u,!0),u);if(isNaN(c.startAngle))i.setShape(c);else{if(r){i.setShape(c);var d=o.getShallow("animationType");o.ecModel.ssr?(Ul(i,{scaleX:0,scaleY:0},o,{dataIndex:t,isFrom:!0}),i.originX=c.cx,i.originY=c.cy):"scale"===d?(i.shape.r=u.r0,Ul(i,{shape:{r:u.r}},o,t)):null!=n?(i.setShape({startAngle:n,endAngle:n}),Ul(i,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},o,t)):(i.shape.endAngle=u.startAngle,Wl(i,{shape:{endAngle:u.endAngle}},o,t))}else Kl(i),Wl(i,{shape:c},o,t);i.useStyle(e.getItemVisual(t,"style")),Il(i,a);var h=(u.startAngle+u.endAngle)/2,f=o.get("selectedOffset"),p=Math.cos(h)*f,m=Math.sin(h)*f,g=a.getShallow("cursor");g&&i.attr("cursor",g),this._updateLabel(o,e,t),i.ensureState("emphasis").shape=Object(l["m"])({r:u.r+(s.get("scale")&&s.get("scaleSize")||0)},HS(s.getModel("itemStyle"),u)),Object(l["m"])(i.ensureState("select"),{x:p,y:m,shape:HS(a.getModel(["select","itemStyle"]),u)}),Object(l["m"])(i.ensureState("blur"),{shape:HS(a.getModel(["blur","itemStyle"]),u)});var v=i.getTextGuideLine(),y=i.getTextContent();v&&Object(l["m"])(v.ensureState("select"),{x:p,y:m}),Object(l["m"])(y.ensureState("select"),{x:p,y:m}),Ll(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var r=this,i=t.getItemModel(n),o=i.getModel("labelLine"),a=t.getItemVisual(n,"style"),s=a&&a.fill,u=a&&a.opacity;tu(r,nu(i),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:u,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var c=r.getTextContent();r.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var d=e.get(["label","position"]);if("outside"!==d&&"outer"!==d)r.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new Em,this.setTextGuideLine(h)),aw(this,sw(i),{stroke:s,opacity:Object(l["Q"])(o.get(["lineStyle","opacity"]),u,1)})}},t}(wm),LC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return a(t,e),t.prototype.render=function(e,t,n,r){var i,o=e.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var u=o.getItemLayout(0),c=1;isNaN(u&&u.startAngle)&&c<o.count();++c)u=o.getItemLayout(c);u&&(i=u.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&e.get("showEmptyCircle")){var d=_C(e),h=new wm({shape:Object(l["m"])(yC(e,n),d)});h.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,s.add(h)}o.diff(a).add((function(e){var t=new OC(o,e,i);o.setItemGraphicEl(e,t),s.add(t)})).update((function(e,t){var n=a.getItemGraphicEl(t);n.updateData(o,e,i),n.off("click"),s.add(n),o.setItemGraphicEl(e,n)})).remove((function(t){var n=a.getItemGraphicEl(t);Xl(n,e,t)})).execute(),TC(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}},t.type="pie",t}(qg),AC=LC;function DC(e,t,n){t=Object(l["t"])(t)&&{coordDimensions:t}||Object(l["m"])({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=Zk(r,t).dimensions,o=new Kk(i,e);return o.initData(r,n),o}var EC=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){var t=this._getRawData();return t.indexOfName(e)>=0},e.prototype.indexOfName=function(e){var t=this._getDataWithEncodedVisual();return t.indexOfName(e)},e.prototype.getItemVisual=function(e,t){var n=this._getDataWithEncodedVisual();return n.getItemVisual(e,t)},e}(),IC=EC,jC=Ei(),PC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new IC(l["c"](this.getData,this),l["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return DC(this,{coordDimensions:["value"],encodeDefaulter:l["h"](fd,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),r=jC(n),i=r.seats;if(!i){var o=[];n.each(n.mapDimension("value"),(function(e){o.push(e)})),i=r.seats=Wr(o,n.hostModel.get("percentPrecision"))}var a=e.prototype.getDataParams.call(this,t);return a.percent=i[t]||0,a.$vars.push("percent"),a},t.prototype._defaultLabelLine=function(e){di(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Sp),RC=PC;function NC(e){return{seriesType:e,reset:function(e,t){var n=e.getData();n.filterSelf((function(e){var t=n.mapDimension("value"),r=n.get(t,e);return!(Object(l["z"])(r)&&!isNaN(r)&&r<0)}))}}}function BC(e){e.registerChartView(AC),e.registerSeriesModel(RC),Wv("pie",e.registerAction),e.registerLayout(Object(l["h"])(bC,"pie")),e.registerProcessor(wC("pie")),e.registerProcessor(NC("pie"))}var YC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){return pM(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Sp),FC=YC,zC=4,HC=function(){function e(){}return e}(),VC=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(t,e),t.prototype.getDefaultShape=function(){return new HC},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,r=t.points,i=t.size,o=this.symbolProxy,a=o.shape,s=e.getContext?e.getContext():e,l=s&&i[0]<zC,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<r.length;){var c=r[n++],d=r[n++];isNaN(c)||isNaN(d)||(u&&!u.contain(c,d)||(a.x=c-i[0]/2,a.y=d-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(e,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,n=t.points,r=t.size,i=this._ctx,o=this.softClipShape;if(i){for(e=this._off;e<n.length;){var a=n[e++],s=n[e++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||i.fillRect(a-r[0]/2,s-r[1]/2,r[0],r[1]))}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var n=this.shape,r=n.points,i=n.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(e=n[0],t=n[1],r.contain(e,t)){var i=this.hoverDataIdx=this.findDataIndex(e,t);return i>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,r=t.size,i=r[0],o=r[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var d=n[c++],h=n[c++];a=Math.min(d,a),l=Math.max(d,l),s=Math.min(h,s),u=Math.max(h,u)}e=this._rect=new Oe(a-i/2,s-o/2,l-a+i,u-s+o)}return e},t}(Ua),WC=function(){function e(){this.group=new kr}return e.prototype.updateData=function(e,t){this._clear();var n=this._create();n.setShape({points:e.getLayout("points")}),this._setCommon(n,e,t)},e.prototype.updateLayout=function(e){var t=e.getLayout("points");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),r=4*e.startIndex*2;t=new Float32Array(t.buffer,r,n)}e.setShape("points",t),e.reset()}))},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,n){var r=this._newAdded[0],i=t.getLayout("points"),o=r&&r.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+i.length);s.set(o),s.set(i,a),r.endIndex=e.end,r.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:i}),this._setCommon(l,t,n)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new VC({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;n=n||{};var i=t.getVisual("symbolSize");e.setShape("size",i instanceof Array?i:[i,i]),e.softClipShape=n.clipShape||null,e.symbolProxy=sy(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var o=e.shape.size[0]<zC;e.useStyle(r.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),s=a&&a.fill;s&&e.setColor(s);var l=Ts(e);l.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){l.dataIndex=null;var n=e.hoverDataIdx;n>=0&&(l.dataIndex=n+(e.startIndex||0))}))},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),UC=WC,$C=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.incrementalPrepareUpdate(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=hS("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext,i=r.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new UC:new CM,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(qg),GC=$C,qC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Kc),XC=qC,KC=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},e.prototype.getCoordSysModel=function(){},e}(),ZC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ri).models[0]},t.type="cartesian2dAxis",t}(Kc);l["K"](ZC,KC);var JC={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},QC=l["I"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},JC),eT=l["I"]({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},JC),tT=l["I"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},eT),nT=l["i"]({logBase:10},eT),rT={category:QC,value:eT,time:tT,log:nT},iT=0,oT=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++iT}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&Object(l["H"])(r,aT);return new e({categories:i,needCollect:!i,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!Object(l["C"])(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=this._getOrCreateMap();return t=r.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(l["f"])(this.categories))},e}();function aT(e){return Object(l["A"])(e)&&null!=e.value?e.value:e+""}var sT=oT,lT={value:1,category:1,time:1,log:1};function uT(e,t,n,r){Object(l["k"])(lT,(function(i,o){var s=Object(l["I"])(Object(l["I"])({},rT[o],!0),r,!0),u=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+o,n}return a(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=Vc(this),r=n?Uc(e):{},i=t.getTheme();Object(l["I"])(e,i.get(o+"Axis")),Object(l["I"])(e,this.getDefaultOption()),e.type=cT(e),n&&Wc(e,r,n)},n.prototype.optionUpdated=function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=sT.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+o,n.defaultOption=s,n}(n);e.registerComponentModel(u)})),e.registerSubTypeDefaulter(t+"Axis",cT)}function cT(e){return e.type||(e.data?"category":"value")}var dT=function(){function e(e){this._setting=e||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(e){return this._setting[e]},e.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();ro(dT);var hT=dT;function fT(e){return"interval"===e.type||"log"===e.type}function pT(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=Qr(o/t,!0);null!=n&&a<n&&(a=i.interval=n),null!=r&&a>r&&(a=i.interval=r);var s=i.intervalPrecision=gT(a),l=i.niceTickExtent=[Yr(Math.ceil(e[0]/a)*a,s),Yr(Math.floor(e[1]/a)*a,s)];return yT(l,e),i}function mT(e){var t=Math.pow(10,Jr(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Yr(n*t)}function gT(e){return zr(e)+2}function vT(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function yT(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),vT(e,0,t),vT(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function bT(e,t){return e>=t[0]&&e<=t[1]}function _T(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function wT(e,t){return e*(t[1]-t[0])+t[0]}var xT=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new sT({})),Object(l["t"])(r)&&(r=new sT({categories:Object(l["H"])(r,(function(e){return Object(l["A"])(e)?e.value:e}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return a(t,e),t.prototype.parse=function(e){return null==e?NaN:Object(l["C"])(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),bT(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),_T(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(wT(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i<a;++i){var s=t[i];n[i]=s,r[s]=i}for(var l=0;i<o;++i){while(null!=r[l])l++;n.push(l),r[l]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var t=this.getRawOrdinalNumber(e.value),n=this._ordinalMeta.categories[t];return null==n?"":n+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(hT);hT.registerClass(xT);var kT=xT,MT=Yr,ST=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return a(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return bT(e,this._extent)},t.prototype.normalize=function(e){return _T(e,this._extent)},t.prototype.scale=function(e){return wT(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=gT(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]<r[0]&&(e?o.push({value:MT(r[0]-t,i)}):o.push({value:n[0]}));var s=r[0];while(s<=r[1]){if(o.push({value:s}),s=MT(s+t,i),s===o[o.length-1].value)break;if(o.length>a)return[]}var l=o.length?o[o.length-1].value:r[1];return n[1]>l&&(e?o.push({value:MT(l+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<t.length;i++){var o=t[i],a=t[i-1],s=0,l=[],u=o.value-a.value,c=u/e;while(s<e-1){var d=MT(a.value+(s+1)*c);d>r[0]&&d<r[1]&&l.push(d),s++}n.push(l)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;null==n?n=zr(e.value)||0:"auto"===n&&(n=this._intervalPrecision);var r=MT(e.value,n,!0);return kc(r)},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=pT(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=Math.abs(t[0]);e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=MT(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=MT(Math.ceil(t[1]/i)*i))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(hT);hT.registerClass(ST);var CT=ST,TT=function(e,t,n,r){while(n<r){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n},OT=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return a(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return oc(e.value,Ju[ic(nc(this._minLevelUnit))]||Ju.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC"),i=this.getSetting("locale");return ac(e,t,n,i,r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),i=NT(this._minLevelUnit,this._approxInterval,r,t);return n=n.concat(i),n.push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=qu,t[1]+=qu),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-qu}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=LT.length,a=Math.min(TT(LT,this._approxInterval,0,o),o-1);this._interval=LT[a][1],this._minLevelUnit=LT[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return Object(l["z"])(e)?e:+Kr(e)},t.prototype.contain=function(e){return bT(this.parse(e),this._extent)},t.prototype.normalize=function(e){return _T(this.parse(e),this._extent)},t.prototype.scale=function(e){return wT(e,this._extent)},t.type="time",t}(CT),LT=[["second",Uu],["minute",$u],["hour",Gu],["quarter-day",6*Gu],["half-day",12*Gu],["day",1.2*qu],["half-week",3.5*qu],["week",7*qu],["month",31*qu],["quarter",95*qu],["half-year",Xu/2],["year",Xu]];function AT(e,t,n,r){var i=Kr(t),o=Kr(n),a=function(e){return lc(i,e,r)===lc(o,e,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},d=function(){return c()&&a("minute")},h=function(){return d()&&a("second")},f=function(){return h()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return d();case"second":return h();case"millisecond":return f()}}function DT(e,t){return e/=qu,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function ET(e){var t=30*qu;return e/=t,e>6?6:e>3?3:e>2?2:1}function IT(e){return e/=Gu,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function jT(e,t){return e/=t?$u:Uu,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function PT(e){return Qr(e,!0)}function RT(e,t,n){var r=new Date(e);switch(nc(t)){case"year":case"month":r[vc(n)](0);case"day":r[yc(n)](1);case"hour":r[bc(n)](0);case"minute":r[_c(n)](0);case"second":r[wc(n)](0),r[xc(n)](0)}return r.getTime()}function NT(e,t,n,r){var i=1e4,o=ec,a=0;function s(e,t,n,i,o,a,s){var l=new Date(t),u=t,c=l[i]();while(u<n&&u<=r[1])s.push({value:u}),c+=e,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function u(e,i,o){var a=[],l=!i.length;if(!AT(nc(e),r[0],r[1],n)){l&&(i=[{value:RT(new Date(r[0]),e,n)},{value:r[1]}]);for(var u=0;u<i.length-1;u++){var c=i[u].value,d=i[u+1].value;if(c!==d){var h=void 0,f=void 0,p=void 0,m=!1;switch(e){case"year":h=Math.max(1,Math.round(t/qu/365)),f=uc(n),p=gc(n);break;case"half-year":case"quarter":case"month":h=ET(t),f=cc(n),p=vc(n);break;case"week":case"half-week":case"day":h=DT(t,31),f=dc(n),p=yc(n),m=!0;break;case"half-day":case"quarter-day":case"hour":h=IT(t),f=hc(n),p=bc(n);break;case"minute":h=jT(t,!0),f=fc(n),p=_c(n);break;case"second":h=jT(t,!1),f=pc(n),p=wc(n);break;case"millisecond":h=PT(t),f=mc(n),p=xc(n);break}s(h,c,d,f,p,m,a),"year"===e&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var c=[],d=[],h=0,f=0,p=0;p<o.length&&a++<i;++p){var m=nc(o[p]);if(rc(o[p])){u(o[p],c[c.length-1]||[],d);var g=o[p+1]?nc(o[p+1]):null;if(m!==g){if(d.length){f=h,d.sort((function(e,t){return e.value-t.value}));for(var v=[],y=0;y<d.length;++y){var b=d[y].value;0!==y&&d[y-1].value===b||(v.push(d[y]),b>=r[0]&&b<=r[1]&&h++)}var _=(r[1]-r[0])/t;if(h>1.5*_&&f>_/1.5)break;if(c.push(v),h>_||e===o[p])break}d=[]}}}var w=Object(l["n"])(Object(l["H"])(c,(function(e){return Object(l["n"])(e,(function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd}))})),(function(e){return e.length>0})),x=[],k=w.length-1;for(p=0;p<w.length;++p)for(var M=w[p],S=0;S<M.length;++S)x.push({value:M[S].value,level:k-p});x.sort((function(e,t){return e.value-t.value}));var C=[];for(p=0;p<x.length;++p)0!==p&&x[p].value===x[p-1].value||C.push(x[p]);return C}hT.registerClass(OT);var BT=OT,YT=hT.prototype,FT=CT.prototype,zT=Yr,HT=Math.floor,VT=Math.ceil,WT=Math.pow,UT=Math.log,$T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new CT,t._interval=0,t}return a(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,r=t.getExtent(),i=FT.getTicks.call(this,e);return l["H"](i,(function(e){var t=e.value,i=Yr(WT(this.base,t));return i=t===n[0]&&this._fixMin?qT(i,r[0]):i,i=t===n[1]&&this._fixMax?qT(i,r[1]):i,{value:i}}),this)},t.prototype.setExtent=function(e,t){var n=UT(this.base);e=UT(Math.max(0,e))/n,t=UT(Math.max(0,t))/n,FT.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=YT.getExtent.call(this);t[0]=WT(e,t[0]),t[1]=WT(e,t[1]);var n=this._originalScale,r=n.getExtent();return this._fixMin&&(t[0]=qT(t[0],r[0])),this._fixMax&&(t[1]=qT(t[1],r[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=UT(e[0])/UT(t),e[1]=UT(e[1])/UT(t),YT.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=Zr(n),i=e/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var o=[Yr(VT(t[0]/r)*r),Yr(HT(t[1]/r)*r)];this._interval=r,this._niceExtent=o}},t.prototype.calcNiceExtent=function(e){FT.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=UT(e)/UT(this.base),bT(e,this._extent)},t.prototype.normalize=function(e){return e=UT(e)/UT(this.base),_T(e,this._extent)},t.prototype.scale=function(e){return e=wT(e,this._extent),WT(this.base,e)},t.type="log",t}(hT),GT=$T.prototype;function qT(e,t){return zT(e,zr(t))}GT.getMinorTicks=FT.getMinorTicks,GT.getLabel=FT.getLabel,hT.registerClass($T);var XT=$T,KT=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=t.get("min",!0);null==i&&(i=t.get("startValue",!0));var o=this._modelMinRaw=i;Object(l["w"])(o)?this._modelMinNum=eO(e,o({min:n[0],max:n[1]})):"dataMin"!==o&&(this._modelMinNum=eO(e,o));var a=this._modelMaxRaw=t.get("max",!0);if(Object(l["w"])(a)?this._modelMaxNum=eO(e,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=eO(e,a)),r)this._axisDataLen=t.getCategories().length;else{var s=t.get("boundaryGap"),u=Object(l["t"])(s)?s:[s||0,s||0];"boolean"===typeof u[0]||"boolean"===typeof u[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[ar(u[0],1),ar(u[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,o=e?null:n-t||Math.abs(t),a="dataMin"===this._modelMinRaw?t:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=a,c=null!=s;null==a&&(a=e?r?0:NaN:t-i[0]*o),null==s&&(s=e?r?r-1:NaN:n+i[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var d=Object(l["l"])(a)||Object(l["l"])(s)||e&&!r;this._needCrossZero&&(a>0&&s>0&&!u&&(a=0),a<0&&s<0&&!c&&(s=0));var h=this._determinedMin,f=this._determinedMax;return null!=h&&(a=h,u=!0),null!=f&&(s=f,c=!0),{min:a,max:s,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(e,t){this[JT[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var n=ZT[e];this[n]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),ZT={min:"_determinedMin",max:"_determinedMax"},JT={min:"_dataMin",max:"_dataMax"};function QT(e,t,n){var r=e.rawExtentInfo;return r||(r=new KT(e,t,n),e.rawExtentInfo=r,r)}function eO(e,t){return null==t?null:Object(l["l"])(t)?NaN:e.parse(t)}function tO(e,t){var n=e.type,r=QT(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&"time"===n){var s=wS("bar",a),u=!1;if(l["k"](s,(function(e){u=u||e.getBaseAxis()===t.axis})),u){var c=kS(s),d=nO(i,o,t,c);i=d.min,o=d.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function nO(e,t,n,r){var i=n.axis.getExtent(),o=Math.abs(i[1]-i[0]),a=SS(r,n.axis);if(void 0===a)return{min:e,max:t};var s=1/0;l["k"](a,(function(e){s=Math.min(e.offset,s)}));var u=-1/0;l["k"](a,(function(e){u=Math.max(e.offset+e.width,u)})),s=Math.abs(s),u=Math.abs(u);var c=s+u,d=t-e,h=1-(s+u)/o,f=d/h-d;return t+=f*(u/c),e-=f*(s/c),{min:e,max:t}}function rO(e,t){var n=t,r=tO(e,n),i=r.extent,o=n.get("splitNumber");e instanceof XT&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l="interval"===a||"time"===a;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function iO(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new kT({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new BT({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(hT.getClass(t)||CT)}}function oO(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function aO(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?function(t){return function(n,r){return e.scale.getFormattedLabel(n,r,t)}}(t):l["C"](t)?function(t){return function(n){var r=e.scale.getLabel(n),i=t.replace("{value}",null!=r?r:"");return i}}(t):l["w"](t)?function(t){return function(r,i){return null!=n&&(i=r.value-n),t(sO(e,r),i,null!=r.level?{level:r.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function sO(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function lO(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();n instanceof kT?i=n.count():(r=n.getTicks(),i=r.length);var a,s=e.getLabelModel(),l=aO(e),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var d=r?r[c]:{value:o[0]+c},h=l(d,c),f=s.getTextRect(h),p=uO(f,s.get("rotate")||0);a?a.union(p):a=p}return a}}function uO(e,t){var n=t*Math.PI/180,r=e.width,i=e.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n)),s=new Oe(e.x,e.y,o,a);return s}function cO(e){var t=e.get("interval");return null==t?"auto":t}function dO(e){return"category"===e.type&&0===cO(e.getLabelModel())}function hO(e,t){var n={};return l["k"](e.mapDimensionsAll(t),(function(t){n[lM(e,t)]=!0})),l["F"](n)}function fO(e,t,n){t&&l["k"](hO(t,n),(function(n){var r=t.getApproximateExtent(n);r[0]<e[0]&&(e[0]=r[0]),r[1]>e[1]&&(e[1]=r[1])}))}var pO=function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return l["H"](this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),l["n"](this.getAxes(),(function(t){return t.scale.type===e}))},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}(),mO=pO,gO=["x","y"];function vO(e){return"interval"===e.type||"time"===e.type}var yO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=gO,t}return a(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(vO(e)&&vO(t)){var n=e.getExtent(),r=t.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-n[0]*l,d=i[1]-r[0]*u,h=this._transform=[l,0,0,u,c,d];this._invTransform=me([],h)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),i=this.getArea(),o=new Oe(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return S(n,e,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,t)),n[1]=a.toGlobalCoord(a.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return S(n,e,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(t[0],t[1])-e,i=Math.min(n[0],n[1])-e,o=Math.max(t[0],t[1])-r+e,a=Math.max(n[0],n[1])-i+e;return new Oe(r,i,o,a)},t}(mO),bO=yO,_O=Ei();function wO(e,t){var n=l["H"](t,(function(t){return e.scale.parse(t)}));return"time"===e.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function xO(e){var t=e.getLabelModel().get("customValues");if(t){var n=aO(e),r=e.scale.getExtent(),i=wO(e,t),o=l["n"](i,(function(e){return e>=r[0]&&e<=r[1]}));return{labels:l["H"](o,(function(t){var r={value:t};return{formattedLabel:n(r),rawLabel:e.scale.getLabel(r),tickValue:t}}))}}return"category"===e.type?MO(e):TO(e)}function kO(e,t){var n=e.getTickModel().get("customValues");if(n){var r=e.scale.getExtent(),i=wO(e,n);return{ticks:l["n"](i,(function(e){return e>=r[0]&&e<=r[1]}))}}return"category"===e.type?CO(e,t):{ticks:l["H"](e.scale.getTicks(),(function(e){return e.value}))}}function MO(e){var t=e.getLabelModel(),n=SO(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function SO(e,t){var n,r,i=OO(e,"labels"),o=cO(t),a=LO(i,o);return a||(l["w"](o)?n=PO(e,o):(r="auto"===o?DO(e):o,n=jO(e,r)),AO(i,o,{labels:n,labelCategoryInterval:r}))}function CO(e,t){var n,r,i=OO(e,"ticks"),o=cO(t),a=LO(i,o);if(a)return a;if(t.get("show")&&!e.scale.isBlank()||(n=[]),l["w"](o))n=PO(e,o,!0);else if("auto"===o){var s=SO(e,e.getLabelModel());r=s.labelCategoryInterval,n=l["H"](s.labels,(function(e){return e.tickValue}))}else r=o,n=jO(e,r,!0);return AO(i,o,{ticks:n,tickCategoryInterval:r})}function TO(e){var t=e.scale.getTicks(),n=aO(e);return{labels:l["H"](t,(function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}function OO(e,t){return _O(e)[t]||(_O(e)[t]=[])}function LO(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function AO(e,t,n){return e.push({key:t,value:n}),n}function DO(e){var t=_O(e).autoInterval;return null!=t?t:_O(e).autoInterval=e.calculateCategoryInterval()}function EO(e){var t=IO(e),n=aO(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),d=Math.abs(u*Math.sin(r)),h=0,f=0;l<=o[1];l+=s){var p=0,m=0,g=nr(n({value:l}),t.font,"center","top");p=1.3*g.width,m=1.3*g.height,h=Math.max(h,p,7),f=Math.max(f,m,7)}var v=h/c,y=f/d;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),_=_O(e.model),w=e.getExtent(),x=_.lastAutoInterval,k=_.lastTickCount;return null!=x&&null!=k&&Math.abs(x-b)<=1&&Math.abs(k-a)<=1&&x>b&&_.axisExtent0===w[0]&&_.axisExtent1===w[1]?b=x:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=w[0],_.axisExtent1=w[1]),b}function IO(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function jO(e,t,n){var r=aO(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=dO(e),h=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;h&&u!==o[0]&&m(o[0]);for(var p=u;p<=o[1];p+=l)m(p);function m(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return f&&p-l!==o[1]&&m(o[1]),s}function PO(e,t,n){var r=e.scale,i=aO(e),o=[];return l["k"](r.getTicks(),(function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})})),o}var RO=[0,1],NO=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Vr(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),BO(n,r.count())),Nr(e,RO,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),BO(n,r.count()));var i=Nr(e,n,RO,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=kO(this,t),r=n.ticks,i=Object(l["H"])(r,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this),o=t.get("alignWithLabel");return YO(this,i,o,e.clamp),i},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=Object(l["H"])(n,(function(e){return Object(l["H"])(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return r},e.prototype.getViewLabels=function(){return xO(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return EO(this)},e}();function BO(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function YO(e,t,n,r){var i=t.length;if(e.onBand&&!n&&i){var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[1],tickValue:t[0].tickValue};else{var u=t[i-1].tickValue-t[0].tickValue,c=(t[i-1].coord-t[0].coord)/u;Object(l["k"])(t,(function(e){e.coord-=c/2}));var d=e.scale.getExtent();a=1+d[1]-t[i-1].tickValue,o={coord:t[i-1].coord+c*a,tickValue:d[1]+1},t.push(o)}var h=s[0]>s[1];f(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift()),r&&f(s[0],t[0].coord)&&t.unshift({coord:s[0]}),f(s[1],o.coord)&&(r?o.coord=s[1]:t.pop()),r&&f(o.coord,s[1])&&t.push({coord:s[1]})}function f(e,t){return e=Yr(e),t=Yr(t),h?e>t:e<t}}var FO=NO,zO=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return a(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(FO),HO=zO;function VO(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,u=a?"onZero":s,c=i.dim,d=r.getRect(),h=[d.x,d.x+d.width,d.y,d.y+d.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,m="x"===c?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));m[f.onZero]=Math.max(Math.min(g,m[1]),m[0])}o.position=["y"===c?m[f[u]]:h[0],"x"===c?m[f[u]]:h[3]],o.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=v[s],o.labelOffset=a?m[f[s]]-m[f.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),l["O"](n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=t.get(["axisLabel","rotate"]);return o.labelRotate="top"===u?-y:y,o.z2=1,o}function WO(e){return"cartesian2d"===e.get("coordinateSystem")}function UO(e){var t={xAxisModel:null,yAxisModel:null};return l["k"](t,(function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,Ri).models[0];t[r]=o})),t}var $O=Math.log;function GO(e,t,n){var r=CT.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=tO(e,t),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===e.type){var h=$O(e.base);u=[$O(u[0])/h,$O(u[1])/h]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var f=r.getExtent.call(e);c&&(u[0]=f[0]),d&&(u[1]=f[1]);var p=r.getInterval.call(e),m=u[0],g=u[1];if(c&&d)p=(g-m)/a;else if(c){g=u[0]+p*a;while(g<u[1]&&isFinite(g)&&isFinite(u[1]))p=mT(p),g=u[0]+p*a}else if(d){m=u[1]-p*a;while(m>u[0]&&isFinite(m)&&isFinite(u[0]))p=mT(p),m=u[1]-p*a}else{var v=e.getTicks().length-1;v>a&&(p=mT(p));var y=p*a;g=Math.ceil(u[1]/p)*p,m=Yr(g-y),m<0&&u[0]>=0?(m=0,g=Yr(y)):g>0&&u[1]<=0&&(g=0,m=-Yr(y))}var b=(i[0].value-o[0].value)/s,_=(i[a].value-o[a].value)/s;r.setExtent.call(e,m+p*b,g+p*_),r.setInterval.call(e,p),(b||_)&&r.setNiceExtent.call(e,m+p,g-p)}var qO=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=gO,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=Object(l["F"])(e),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=+n[o],s=e[a],u=s.model,c=s.scale;fT(c)&&u.get("alignTicks")&&null==u.get("interval")?i.push(s):(rO(c,u),fT(c)&&(t=s))}i.length&&(t||(t=i.pop(),rO(t.scale,t.model)),Object(l["k"])(i,(function(e){GO(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),r(n.x),r(n.y);var i={};Object(l["k"])(n.x,(function(e){KO(n,"y",e,i)})),Object(l["k"])(n.y,(function(e){KO(n,"x",e,i)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=!n&&e.get("containLabel"),o=Fc(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(l["k"])(a,(function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),JO(e,t?o.x:o.y)}))}s(),i&&(Object(l["k"])(a,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=lO(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);o[n]-=t[n]+r,"top"===e.position?o.y+=t.height+r:"left"===e.position&&(o.x+=t.width+r)}}})),s()),Object(l["k"])(this._coordsList,(function(e){e.calcAffineTransform()}))},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}Object(l["A"])(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===e||i[r].getAxis("y").index===t)return i[r]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,r=e.seriesModel,i=e.xAxisModel||r&&r.getReferringComponents("xAxis",Ri).models[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis",Ri).models[0],a=e.gridModel,s=this._coordsList;if(r)t=r.coordinateSystem,Object(l["r"])(s,t)<0&&(t=null);else if(i&&o)t=this.getCartesian(i.componentIndex,o.componentIndex);else if(i)n=this.getAxis("x",i.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){var u=a.coordinateSystem;u===this&&(t=this._coordsList[0])}return{cartesian:t,axis:n}},e.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},e.prototype._initCartesian=function(e,t,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",u("x"),this),t.eachComponent("yAxis",u("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function u(t){return function(n,r){if(XO(n,e)){var l=n.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new HO(t,iO(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=r,i._axesList.push(u),a[t][r]=u,s[t]++}}}this._axesMap=a,Object(l["k"])(a.x,(function(t,n){Object(l["k"])(a.y,(function(i,o){var a="x"+n+"y"+o,s=new bO(a);s.master=r,s.model=e,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(t),s.addAxis(i)}))}))},e.prototype._updateScale=function(e,t){function n(e,t){Object(l["k"])(hO(e,t.dim),(function(n){t.scale.unionExtentFromData(e,n)}))}Object(l["k"])(this._axesList,(function(e){if(e.scale.setExtent(1/0,-1/0),"category"===e.type){var t=e.model.get("categorySortInfo");e.scale.setSortInfo(t)}})),e.eachSeries((function(e){if(WO(e)){var r=UO(e),i=r.xAxisModel,o=r.yAxisModel;if(!XO(i,t)||!XO(o,t))return;var a=this.getCartesian(i.componentIndex,o.componentIndex),s=e.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return Object(l["k"])(this.getCartesians(),(function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),o=r.getOtherAxis(i);Object(l["r"])(t,i)<0&&t.push(i),Object(l["r"])(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var r=[];return t.eachComponent("grid",(function(i,o){var a=new e(i,t,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)})),t.eachSeries((function(e){if(WO(e)){var t=UO(e),n=t.xAxisModel,r=t.yAxisModel,i=n.getCoordSysModel();0;var o=i.coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,r.componentIndex)}})),r},e.dimensions=gO,e}();function XO(e,t){return e.getCoordSysModel()===t}function KO(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)ZO(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&ZO(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(e){return e.dim+"_"+e.index}}function ZO(e){return e&&"category"!==e.type&&"time"!==e.type&&oO(e)}function JO(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}var QO=qO,eL=Math.PI,tL=function(){function e(e,t){this.group=new kr,this.opt=t,this.axisModel=e,Object(l["i"])(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new kr({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!nL[e]},e.prototype.add=function(e){nL[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var r,i,o=Gr(t-e);return qr(o)?(i=n>0?"top":"bottom",r="center"):qr(o-eL)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<eL?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),nL={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if("auto"===i&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],u=[o[1],0],c=s[0]>u[0];a&&(S(s,s,a),S(u,u,a));var d=Object(l["m"])({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Rm({shape:{x1:s[0],y1:s[1],x2:u[0],y2:u[1]},style:d,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});wg(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var f=t.get(["axisLine","symbol"]);if(null!=f){var p=t.get(["axisLine","symbolSize"]);Object(l["C"])(f)&&(f=[f,f]),(Object(l["C"])(p)||Object(l["z"])(p))&&(p=[p,p]);var m=uy(t.get(["axisLine","symbolOffset"])||0,p),g=p[0],v=p[1];Object(l["k"])([{rotate:e.rotation+Math.PI/2,offset:m[0],r:0},{rotate:e.rotation-Math.PI/2,offset:m[1],r:Math.sqrt((s[0]-u[0])*(s[0]-u[0])+(s[1]-u[1])*(s[1]-u[1]))}],(function(t,r){if("none"!==f[r]&&null!=f[r]){var i=sy(f[r],-g/2,-v/2,g,v,d.stroke,!0),o=t.r+t.offset,a=c?u:s;i.attr({rotation:t.rotate,x:a[0]+o*Math.cos(e.rotation),y:a[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(e,t,n,r){var i=uL(n,r,t,e),o=dL(n,r,t,e);if(iL(t,o,i),cL(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=lw(Object(l["H"])(o,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}})));hw(a)}},axisName:function(e,t,n,r){var i=Object(l["O"])(e.axisName,t.get("name"));if(i){var o,a,s=t.get("nameLocation"),u=e.nameDirection,c=t.getModel("nameTextStyle"),d=t.get("nameGap")||0,h=t.axis.getExtent(),f=h[0]>h[1]?-1:1,p=["start"===s?h[0]-f*d:"end"===s?h[1]+f*d:(h[0]+h[1])/2,sL(s)?e.labelOffset+u*d:0],m=t.get("nameRotate");null!=m&&(m=m*eL/180),sL(s)?o=tL.innerTextLayout(e.rotation,null!=m?m:e.rotation,u):(o=rL(e.rotation,s,m||0,h),a=e.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=c.getFont(),v=t.get("nameTruncate",!0)||{},y=v.ellipsis,b=Object(l["O"])(e.nameTruncateMaxWidth,v.maxWidth,a),_=new Cs({x:p[0],y:p[1],rotation:o.rotation,silent:tL.isLabelSilent(t),style:ru(c,{text:i,font:g,overflow:"truncate",width:b,ellipsis:y,fill:c.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Ng({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var w=tL.makeAxisEventDataBase(t);w.targetType="axisName",w.name=i,Ts(_).eventData=w}r.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function rL(e,t,n,r){var i,o,a=Gr(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return qr(a-eL/2)?(o=l?"bottom":"top",i="center"):qr(a-1.5*eL)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*eL&&a>eL/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function iL(e,t,n){if(!dO(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],d=n[n.length-1],h=n[n.length-2];!1===r?(oL(o),oL(u)):aL(o,a)&&(r?(oL(a),oL(c)):(oL(o),oL(u))),!1===i?(oL(s),oL(d)):aL(l,s)&&(i?(oL(l),oL(h)):(oL(s),oL(d)))}}function oL(e){e&&(e.ignore=!0)}function aL(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=ue([]);return fe(i,i,-e.rotation),n.applyTransform(de([],i,e.getLocalTransform())),r.applyTransform(de([],i,t.getLocalTransform())),n.intersect(r)}}function sL(e){return"middle"===e||"center"===e}function lL(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,t&&(S(a,a,t),S(s,s,t));var c=new Rm({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});wg(c.shape,c.style.lineWidth),c.anid=i+"_"+e[l].tickValue,o.push(c)}return o}function uL(e,t,n,r){var i=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick")),a&&!i.scale.isBlank()){for(var s=o.getModel("lineStyle"),u=r.tickDirection*o.get("length"),c=i.getTicksCoords(),d=lL(c,t.transform,u,Object(l["i"])(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<d.length;h++)e.add(d[h]);return d}}function cL(e,t,n,r){var i=n.axis,o=n.getModel("minorTick");if(o.get("show")&&!i.scale.isBlank()){var a=i.getMinorTicksCoords();if(a.length)for(var s=o.getModel("lineStyle"),u=r*o.get("length"),c=Object(l["i"])(s.getLineStyle(),Object(l["i"])(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),d=0;d<a.length;d++)for(var h=lL(a[d],t.transform,u,c,"minorticks_"+d),f=0;f<h.length;f++)e.add(h[f])}}function dL(e,t,n,r){var i=n.axis,o=Object(l["O"])(r.axisLabelShow,n.get(["axisLabel","show"]));if(o&&!i.scale.isBlank()){var a=n.getModel("axisLabel"),s=a.get("margin"),u=i.getViewLabels(),c=(Object(l["O"])(r.labelRotate,a.get("rotate"))||0)*eL/180,d=tL.innerTextLayout(r.rotation,c,r.labelDirection),h=n.getCategories&&n.getCategories(!0),f=[],p=tL.isLabelSilent(n),m=n.get("triggerEvent");return Object(l["k"])(u,(function(o,c){var g="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,v=o.formattedLabel,y=o.rawLabel,b=a;if(h&&h[g]){var _=h[g];Object(l["A"])(_)&&_.textStyle&&(b=new Tu(_.textStyle,a,n.ecModel))}var w=b.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=i.dataToCoord(g),k=b.getShallow("align",!0)||d.textAlign,M=Object(l["P"])(b.getShallow("alignMinLabel",!0),k),S=Object(l["P"])(b.getShallow("alignMaxLabel",!0),k),C=b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||d.textVerticalAlign,T=Object(l["P"])(b.getShallow("verticalAlignMinLabel",!0),C),O=Object(l["P"])(b.getShallow("verticalAlignMaxLabel",!0),C),L=new Cs({x:x,y:r.labelOffset+r.labelDirection*s,rotation:d.rotation,silent:p,z2:10+(o.level||0),style:ru(b,{text:v,align:0===c?M:c===u.length-1?S:k,verticalAlign:0===c?T:c===u.length-1?O:C,fill:Object(l["w"])(w)?w("category"===i.type?y:"value"===i.type?g+"":g,c):w})});if(L.anid="label_"+g,Ng({el:L,componentModel:n,itemName:v,formatterParamsExtra:{isTruncated:function(){return L.isTruncated},value:y,tickIndex:c}}),m){var A=tL.makeAxisEventDataBase(n);A.targetType="axisLabel",A.value=y,A.tickIndex=c,"category"===i.type&&(A.dataIndex=g),Ts(L).eventData=A}t.add(L),L.updateTransform(),f.push(L),e.add(L),L.decomposeTransform()})),f}}var hL=tL;function fL(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return pL(n,e,t),n.seriesInvolved&&gL(n,e),n}function pL(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),o=i.get("link",!0)||[],a=[];Object(l["k"])(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=kL(n.model),u=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var c=n.model,d=c.getModel("tooltip",r);if(Object(l["k"])(n.getAxes(),Object(l["h"])(m,!1,null)),n.getTooltipAxes&&r&&d.get("show")){var h="axis"===d.get("trigger"),f="cross"===d.get(["axisPointer","type"]),p=n.getTooltipAxes(d.get(["axisPointer","axis"]));(h||f)&&Object(l["k"])(p.baseAxes,Object(l["h"])(m,!f||"cross",h)),f&&Object(l["k"])(p.otherAxes,Object(l["h"])(m,"cross",!1))}}function m(r,s,l){var c=l.model.getModel("axisPointer",i),h=c.get("show");if(h&&("auto"!==h||r||xL(c))){null==s&&(s=c.get("triggerTooltip")),c=r?mL(l,d,i,t,r,s):c;var f=c.get("snap"),p=c.get("triggerEmphasis"),m=kL(l.model),g=s||f||"category"===l.type,v=e.axesInfo[m]={key:m,axis:l,coordSys:n,axisPointerModel:c,triggerTooltip:s,triggerEmphasis:p,involveSeries:g,snap:f,useHandle:xL(c),seriesModels:[],linkGroup:null};u[m]=v,e.seriesInvolved=e.seriesInvolved||g;var y=vL(o,l);if(null!=y){var b=a[y]||(a[y]={axesInfo:{}});b.axesInfo[m]=v,b.mapper=o[y].mapper,v.linkGroup=b}}}}))}function mL(e,t,n,r,i,o){var a=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};Object(l["k"])(s,(function(e){u[e]=Object(l["d"])(a.get(e))})),u.snap="category"!==e.type&&!!o,"cross"===a.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===i){var d=a.get(["label","show"]);if(c.show=null==d||d,!o){var h=u.lineStyle=a.get("crossStyle");h&&Object(l["i"])(c,h.textStyle)}}return e.model.getModel("axisPointer",new Tu(u,n,r))}function gL(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&Object(l["k"])(e.coordSysAxesInfo[kL(n.model)],(function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}function vL(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(yL(o[r+"AxisId"],n.id)||yL(o[r+"AxisIndex"],n.componentIndex)||yL(o[r+"AxisName"],n.name))return i}}function yL(e,t){return"all"===e||Object(l["t"])(e)&&Object(l["r"])(e,t)>=0||e===t}function bL(e){var t=_L(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=xL(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function _L(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[kL(e)]}function wL(e){var t=_L(e);return t&&t.axisPointerModel}function xL(e){return!!e.get(["handle","show"])}function kL(e){return e.type+"||"+e.id}var ML={},SL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(t,n,r,i){this.axisPointerClass&&bL(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=wL(e);o?(this._axisPointer||(this._axisPointer=new i)).render(e,o,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){ML[e]=t},t.getAxisPointerClass=function(e){return e&&ML[e]},t.type="axis",t}(Tp),CL=SL,TL=Ei();function OL(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),u=r.coordinateSystem.getRect(),c=i.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var d=s.length,h=TL(e).splitAreaColors,f=l["f"](),p=0;if(h)for(var m=0;m<c.length;m++){var g=h.get(c[m].tickValue);if(null!=g){p=(g+(d-1)*m)%d;break}}var v=i.toGlobalCoord(c[0].coord),y=a.getAreaStyle();s=l["t"](s)?s:[s];for(m=1;m<c.length;m++){var b=i.toGlobalCoord(c[m].coord),_=void 0,w=void 0,x=void 0,k=void 0;i.isHorizontal()?(_=v,w=u.y,x=b-_,k=u.height,v=_+x):(_=u.x,w=v,x=u.width,k=b-w,v=w+k);var M=c[m-1].tickValue;null!=M&&f.set(M,p),t.add(new ls({anid:null!=M?"area_"+M:null,shape:{x:_,y:w,width:x,height:k},style:l["i"]({fill:s[p]},y),autoBatch:!0,silent:!0})),p=(p+1)%d}TL(e).splitAreaColors=f}}}function LL(e){TL(e).splitAreaColors=null}var AL=["axisLine","axisTickLabel","axisName"],DL=["splitArea","splitLine","minorSplitLine"],EL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return a(t,e),t.prototype.render=function(t,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new kr,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),s=VO(a,t),u=new hL(t,l["m"]({handleAutoShown:function(e){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if(fT(n[r].getOtherAxis(t.axis).scale))return!0;return!1}},s));l["k"](AL,u.add,u),this._axisGroup.add(u.getGroup()),l["k"](DL,(function(e){t.get([e,"show"])&&IL[e](this,this._axisGroup,t,a)}),this);var c=i&&"changeAxisOrder"===i.type&&i.isInitSort;c||Lg(o,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)}},t.prototype.remove=function(){LL(this)},t.type="cartesianAxis",t}(CL),IL={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),u=!1!==o.get("showMinLine"),c=!1!==o.get("showMaxLine");s=l["t"](s)?s:[s];for(var d=r.coordinateSystem.getRect(),h=i.isHorizontal(),f=0,p=i.getTicksCoords({tickModel:o}),m=[],g=[],v=a.getLineStyle(),y=0;y<p.length;y++){var b=i.toGlobalCoord(p[y].coord);if((0!==y||u)&&(y!==p.length-1||c)){var _=p[y].tickValue;h?(m[0]=b,m[1]=d.y,g[0]=b,g[1]=d.y+d.height):(m[0]=d.x,m[1]=b,g[0]=d.x+d.width,g[1]=b);var w=f++%s.length,x=new Rm({anid:null!=_?"line_"+_:null,autoBatch:!0,shape:{x1:m[0],y1:m[1],x2:g[0],y2:g[1]},style:l["i"]({stroke:s[w]},v),silent:!0});wg(x.shape,v.lineWidth),t.add(x)}}}},minorSplitLine:function(e,t,n,r){var i=n.axis,o=n.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],d=[],h=a.getLineStyle(),f=0;f<u.length;f++)for(var p=0;p<u[f].length;p++){var m=i.toGlobalCoord(u[f][p].coord);l?(c[0]=m,c[1]=s.y,d[0]=m,d[1]=s.y+s.height):(c[0]=s.x,c[1]=m,d[0]=s.x+s.width,d[1]=m);var g=new Rm({anid:"minor_line_"+u[f][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:h,silent:!0});wg(g.shape,h.lineWidth),t.add(g)}},splitArea:function(e,t,n,r){OL(e,t,n,r)}},jL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="xAxis",t}(EL),PL=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=jL.type,t}return a(t,e),t.type="yAxis",t}(EL),RL=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return a(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new ls({shape:e.coordinateSystem.getRect(),style:Object(l["i"])({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(Tp),NL={offset:0};function BL(e){e.registerComponentView(RL),e.registerComponentModel(XC),e.registerCoordinateSystem("cartesian2d",QO),uT(e,"x",ZC,NL),uT(e,"y",ZC,NL),e.registerComponentView(jL),e.registerComponentView(PL),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}function YL(e){N_(BL),e.registerSeriesModel(FC),e.registerChartView(GC),e.registerLayout(hS("scatter"))}function FL(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],r=e.coordinateSystem;if(r){var i=r.getIndicatorAxes();l["k"](i,(function(e,o){t.each(t.mapDimension(i[o].dim),(function(e,t){n[t]=n[t]||[];var i=r.dataToPoint(e,o);n[t][o]=zL(i)?i:HL(r)}))})),t.each((function(e){var i=l["o"](n[e],(function(e){return zL(e)}))||HL(r);n[e].push(i.slice()),t.setItemLayout(e,n[e])}))}}))}function zL(e){return!isNaN(e[0])&&!isNaN(e[1])}function HL(e){return[e.cx,e.cy]}function VL(e){var t=e.polar;if(t){l["t"](t)||(t=[t]);var n=[];l["k"](t,(function(t,r){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],l["t"](e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}l["k"](e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}var WL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var i=e.coordinateSystem,o=this.group,a=e.getData(),s=this._data;function u(e,t){var n=e.getItemVisual(t,"symbol")||"circle";if("none"!==n){var r=ly(e.getItemVisual(t,"symbolSize")),i=sy(n,-1,-1,2,2),o=e.getItemVisual(t,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:r[0]/2,scaleY:r[1]/2,rotation:o*Math.PI/180||0}),i}}function c(t,n,i,o,a,s){i.removeAll();for(var l=0;l<n.length-1;l++){var c=u(o,a);c&&(c.__dimIdx=l,t[l]?(c.setPosition(t[l]),r[s?"initProps":"updateProps"](c,{x:n[l][0],y:n[l][1]},e,a)):c.setPosition(n[l]),i.add(c))}}function d(e){return l["H"](e,(function(e){return[i.cx,i.cy]}))}a.diff(s).add((function(t){var n=a.getItemLayout(t);if(n){var r=new Lm,i=new Em,o={shape:{points:n}};r.shape.points=d(n),i.shape.points=d(n),Ul(r,o,e,t),Ul(i,o,e,t);var s=new kr,l=new kr;s.add(i),s.add(r),s.add(l),c(i.shape.points,n,l,a,t,!0),a.setItemGraphicEl(t,s)}})).update((function(t,n){var r=s.getItemGraphicEl(n),i=r.childAt(0),o=r.childAt(1),l=r.childAt(2),u={shape:{points:a.getItemLayout(t)}};u.shape.points&&(c(i.shape.points,u.shape.points,l,a,t,!1),Kl(o),Kl(i),Wl(i,u,e),Wl(o,u,e),a.setItemGraphicEl(t,r))})).remove((function(e){o.remove(s.getItemGraphicEl(e))})).execute(),a.eachItemGraphicEl((function(e,t){var n=a.getItemModel(t),r=e.childAt(0),i=e.childAt(1),s=e.childAt(2),u=a.getItemVisual(t,"style"),c=u.fill;o.add(e),r.useStyle(l["i"](n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),Il(r,n,"lineStyle"),Il(i,n,"areaStyle");var d=n.getModel("areaStyle"),h=d.isEmpty()&&d.parentModel.isEmpty();i.ignore=h,l["k"](["emphasis","select","blur"],(function(e){var t=n.getModel([e,"areaStyle"]),r=t.isEmpty()&&t.parentModel.isEmpty();i.ensureState(e).ignore=r&&h})),i.useStyle(l["i"](d.getAreaStyle(),{fill:c,opacity:.7,decal:u.decal}));var f=n.getModel("emphasis"),p=f.getModel("itemStyle").getItemStyle();s.eachChild((function(e){if(e instanceof Qa){var r=e.style;e.useStyle(l["m"]({image:r.image,x:r.x,y:r.y,width:r.width,height:r.height},u))}else e.useStyle(u),e.setColor(c),e.style.strokeNoScale=!0;var i=e.ensureState("emphasis");i.style=l["d"](p);var o=a.getStore().get(a.getDimensionIndex(e.__dimIdx),t);(null==o||isNaN(o))&&(o=""),tu(e,nu(n),{labelFetcher:a.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:o,inheritColor:c,defaultOpacity:u.opacity})})),Ll(e,f.get("focus"),f.get("blurScope"),f.get("disabled"))})),this._data=a},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(qg),UL=WL,$L=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new IC(l["c"](this.getData,this),l["c"](this.getRawData,this))},t.prototype.getInitialData=function(e,t){return DC(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.coordinateSystem,o=i.getIndicatorAxes(),a=this.getData().getName(e),s=""===a?this.name:a,u=lp(this,e);return Xf("section",{header:s,sortBlocks:!0,blocks:l["H"](o,(function(t){var n=r.get(r.mapDimension(t.dim),e);return Xf("nameValue",{markerType:"subItem",markerColor:u,name:t.name,value:n,sortParam:n})}))})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,r=t.getValues(l["H"](n.dimensions,(function(e){return t.mapDimension(e)})),e),i=0,o=r.length;i<o;i++)if(!isNaN(r[i])){var a=n.getIndicatorAxes();return n.coordToPoint(a[i].dataToCoord(r[i]),i)}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(Sp),GL=$L,qL=rT.value;function XL(e,t){return l["i"]({show:t},e)}var KL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),i=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),u=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),d=this.get("triggerEvent"),h=l["H"](this.get("indicator")||[],(function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var f=a;null!=h.color&&(f=l["i"]({color:h.color},a));var p=l["I"](l["d"](h),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:i,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:f,triggerEvent:d},!1);if(l["C"](u)){var m=p.name;p.name=u.replace("{value}",null!=m?m:"")}else l["w"](u)&&(p.name=u(p.name,p));var g=new Tu(p,null,this.ecModel);return l["K"](g,KC.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:l["I"]({lineStyle:{color:"#bbb"}},qL.axisLine),axisLabel:XL(qL.axisLabel,!1),axisTick:XL(qL.axisTick,!1),splitLine:XL(qL.splitLine,!0),splitArea:XL(qL.splitArea,!0),indicator:[]},t}(Kc),ZL=KL,JL=["axisLine","axisTickLabel","axisName"],QL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=l["H"](n,(function(e){var n=e.model.get("showName")?e.name:"",r=new hL(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return r}));l["k"](r,(function(e){l["k"](JL,e.add,e),this.group.add(e.getGroup())}),this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),o=e.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),u=i.get("show"),c=o.get("show"),d=a.get("color"),h=s.get("color"),f=l["t"](d)?d:[d],p=l["t"](h)?h:[h],m=[],g=[];if("circle"===r)for(var v=n[0].getTicksCoords(),y=t.cx,b=t.cy,_=0;_<v.length;_++){if(u){var w=L(m,f,_);m[w].push(new em({shape:{cx:y,cy:b,r:v[_].coord}}))}if(c&&_<v.length-1){w=L(g,p,_);g[w].push(new Mm({shape:{cx:y,cy:b,r0:v[_].coord,r:v[_+1].coord}}))}}else{var x,k=l["H"](n,(function(e,n){var r=e.getTicksCoords();return x=null==x?r.length-1:Math.min(r.length-1,x),l["H"](r,(function(e){return t.coordToPoint(e.coord,n)}))})),M=[];for(_=0;_<=x;_++){for(var S=[],C=0;C<n.length;C++)S.push(k[C][_]);if(S[0]&&S.push(S[0].slice()),u){w=L(m,f,_);m[w].push(new Em({shape:{points:S}}))}if(c&&M){w=L(g,p,_-1);g[w].push(new Lm({shape:{points:S.concat(M)}}))}M=S.slice().reverse()}}var T=a.getLineStyle(),O=s.getAreaStyle();l["k"](g,(function(e,t){this.group.add(bg(e,{style:l["i"]({stroke:"none",fill:p[t%p.length]},O),silent:!0}))}),this),l["k"](m,(function(e,t){this.group.add(bg(e,{style:l["i"]({fill:"none",stroke:f[t%f.length]},T),silent:!0}))}),this)}function L(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}},t.type="radar",t}(Tp),eA=QL,tA=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="value",i.angle=0,i.name="",i}return a(t,e),t}(FO),nA=tA,rA=function(){function e(e,t,n){this.dimensions=[],this._model=e,this._indicatorAxes=Object(l["H"])(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,r=new nA(n,new CT);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r}),this),this.resize(e,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},e.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],r=n.angle,i=this.cx+e*Math.cos(r),o=this.cy-e*Math.sin(r);return[i,o]},e.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var i,o=Math.atan2(-n,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(i=u,s=l,a=c)}return[s,+(i&&i.coordToData(r))]},e.prototype.resize=function(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i)/2;this.cx=Br(n[0],r),this.cy=Br(n[1],i),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");(Object(l["C"])(a)||Object(l["z"])(a))&&(a=[0,a]),this.r0=Br(a[0],o),this.r=Br(a[1],o),Object(l["k"])(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},e.prototype.update=function(e,t){var n=this._indicatorAxes,r=this._model;Object(l["k"])(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,i){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var o=t.getData();Object(l["k"])(n,(function(e){e.scale.unionExtentFromData(o,o.mapDimension(e.dim))}))}}),this);var i=r.get("splitNumber"),o=new CT;o.setExtent(0,i),o.setInterval(1),Object(l["k"])(n,(function(e,t){GO(e.scale,e.model,o)}))},e.prototype.convertToPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.create=function(t,n){var r=[];return t.eachComponent("radar",(function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o})),t.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("radarIndex")||0])})),r},e.dimensions=[],e}(),iA=rA;function oA(e){e.registerCoordinateSystem("radar",iA),e.registerComponentModel(ZL),e.registerComponentView(eA),e.registerVisual({seriesType:"radar",reset:function(e){var t=e.getData();t.each((function(e){t.setItemVisual(e,"legendIcon","roundRect")})),t.setVisual("legendIcon","roundRect")}})}function aA(e){N_(oA),e.registerChartView(UL),e.registerSeriesModel(GL),e.registerLayout(FL),e.registerProcessor(wC("radar")),e.registerPreprocessor(VL)}var sA="\0_ec_interaction_mutex";function lA(e,t,n){var r=dA(e);r[t]=n}function uA(e,t,n){var r=dA(e),i=r[t];i===n&&(r[t]=null)}function cA(e,t){return!!dA(e)[t]}function dA(e){return e[sA]||(e[sA]={})}S_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},l["L"]);var hA=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var r=Object(l["c"])(n._mousedownHandler,n),i=Object(l["c"])(n._mousemoveHandler,n),o=Object(l["c"])(n._mouseupHandler,n),a=Object(l["c"])(n._mousewheelHandler,n),s=Object(l["c"])(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=Object(l["i"])(Object(l["d"])(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",r),t.on("mousemove",i),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",s))},n.disable=function(){t.off("mousedown",r),t.off("mousemove",i),t.off("mouseup",o),t.off("mousewheel",a),t.off("pinch",s)},n}return a(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!re(e)){var t=e.target;while(t){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,r=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&mA("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!cA(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,o=t-r,a=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&ne(e.event),pA(this,"pan","moveOnMouseMove",e,{dx:o,dy:a,oldX:r,oldY:i,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){re(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=mA("zoomOnMouseWheel",e,this._opt),n=mA("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),o=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;fA(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(r),c=(r>0?1:-1)*(u>3?.4:u>1?.15:.05);fA(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!cA(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;fA(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(E);function fA(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(ne(r.event),pA(e,t,n,r,i))}function pA(e,t,n,r,i){i.isAvailableBehavior=Object(l["c"])(mA,null,n,r),e.trigger(t,i)}function mA(e,t,n){var r=n[e];return!e||r&&(!Object(l["C"])(r)||t.event[r+"Key"])}var gA=hA;function vA(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function yA(e,t,n,r){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var bA,_A={axisPointer:1,tooltip:1,brush:1};function wA(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!_A.hasOwnProperty(r.mainType)&&i&&i.model!==n}function xA(e){if(Object(l["C"])(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var n=e;9===n.nodeType&&(n=n.firstChild);while("svg"!==n.nodeName.toLowerCase()||1!==n.nodeType)n=n.nextSibling;return n}var kA={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},MA=Object(l["F"])(kA),SA={"alignment-baseline":"textBaseline","stop-color":"stopColor"},CA=Object(l["F"])(SA),TA=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=xA(e);this._defsUsePending=[];var r=new kr;this._root=r;var i=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),s=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),IA(n,r,null,!0,!1);var l,u,c=n.firstChild;while(c)this._parseNode(c,r,i,null,!1,!1),c=c.nextSibling;if(NA(this._defs,this._defsUsePending),this._defsUsePending=[],o){var d=YA(o);d.length>=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=a&&null!=s&&(u=$A(l,{x:0,y:0,width:a,height:s}),!t.ignoreViewBox)){var h=r;r=new kr,r.add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return t.ignoreRootClip||null==a||null==s||r.setClipPath(new ls({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:i}},e.prototype._parseNode=function(e,t,n,r,i,o){var a,s=e.nodeName.toLowerCase(),u=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=t;else{if(!i){var c=bA[s];if(c&&Object(l["q"])(bA,s)){a=c.call(this,e,t);var d=e.getAttribute("name");if(d){var h={name:d,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(u=h)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});t.add(a)}}var f=OA[s];if(f&&Object(l["q"])(OA,s)){var p=f.call(this,e),m=e.getAttribute("id");m&&(this._defs[m]=p)}}if(a&&a.isGroup){var g=e.firstChild;while(g)1===g.nodeType?this._parseNode(g,a,n,u,i,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling}},e.prototype._parseText=function(e,t){var n=new qa({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});DA(t,n),IA(e,n,this._defsUsePending,!1,!1),jA(n,t);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var a=n.getBoundingRect();return this._textX+=a.width,t.add(n),n},e.internalField=function(){bA={g:function(e,t){var n=new kr;return DA(t,n),IA(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new ls;return DA(t,n),IA(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,t){var n=new em;return DA(t,n),IA(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,t){var n=new Rm;return DA(t,n),IA(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,t){var n=new rm;return DA(t,n),IA(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,t){var n,r=e.getAttribute("points");r&&(n=EA(r));var i=new Lm({shape:{points:n||[]},silent:!0});return DA(t,i),IA(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var n,r=e.getAttribute("points");r&&(n=EA(r));var i=new Em({shape:{points:n||[]},silent:!0});return DA(t,i),IA(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var n=new Qa;return DA(t,n),IA(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute("x")||"0",r=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var a=new kr;return DA(t,a),IA(e,a,this._defsUsePending,!1,!0),a},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",a=new kr;return DA(t,a),IA(e,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(e,t){var n=e.getAttribute("d")||"",r=qp(n);return DA(t,r),IA(e,r,this._defsUsePending,!1,!1),r.silent=!0,r}}}(),e}(),OA={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),o=new Km(t,n,r,i);return LA(e,o),AA(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),i=new Jm(t,n,r);return LA(e,i),AA(e,i),i}};function LA(e,t){var n=e.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(t.global=!0)}function AA(e,t){var n=e.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o={};WA(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function DA(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Object(l["i"])(t.__inheritedStyle,e.__inheritedStyle))}function EA(e){for(var t=YA(e),n=[],r=0;r<t.length;r+=2){var i=parseFloat(t[r]),o=parseFloat(t[r+1]);n.push([i,o])}return n}function IA(e,t,n,r,i){var o=t,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===e.nodeType&&(HA(e,t),WA(e,a,s),r||UA(e,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=RA(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=RA(o,"stroke",a.stroke,n)),Object(l["k"])(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){null!=a[e]&&(o.style[e]=parseFloat(a[e]))})),Object(l["k"])(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(e){null!=a[e]&&(o.style[e]=a[e])})),i&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=Object(l["H"])(YA(a.lineDash),(function(e){return parseFloat(e)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}function jA(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",e.style.textBaseline=i}var o=t.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),e.style.textAlign=s)}}var PA=/^url\(\s*#(.*?)\)/;function RA(e,t,n,r){var i=n&&n.match(PA);if(!i)return"none"===n&&(n=null),n;var o=Object(l["T"])(i[1]);r.push([e,t,o])}function NA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r[0].style[r[1]]=e[r[2]]}}var BA=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function YA(e){return e.match(BA)||[]}var FA=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,zA=Math.PI/180;function HA(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],i=null;n.replace(FA,(function(e,t,n){return r.push(t,n),""}));for(var o=r.length-1;o>0;o-=2){var a=r[o],s=r[o-1],l=YA(a);switch(i=i||le(),s){case"translate":he(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":pe(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":fe(i,i,-parseFloat(l[0])*zA,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*zA);de(i,[1,0,u,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(l[0])*zA);de(i,[1,c,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}t.setLocalTransform(i)}}var VA=/([^\s:;]+)\s*:\s*([^:;]+)/g;function WA(e,t,n){var r=e.getAttribute("style");if(r){var i;VA.lastIndex=0;while(null!=(i=VA.exec(r))){var o=i[1],a=Object(l["q"])(kA,o)?kA[o]:null;a&&(t[a]=i[2]);var s=Object(l["q"])(SA,o)?SA[o]:null;s&&(n[s]=i[2])}}}function UA(e,t,n){for(var r=0;r<MA.length;r++){var i=MA[r],o=e.getAttribute(i);null!=o&&(t[kA[i]]=o)}for(r=0;r<CA.length;r++){i=CA[r],o=e.getAttribute(i);null!=o&&(n[SA[i]]=o)}}function $A(e,t){var n=t.width/e.width,r=t.height/e.height,i=Math.min(n,r);return{scale:i,x:-(e.x+e.width/2)*i+(t.x+t.width/2),y:-(e.y+e.height/2)*i+(t.y+t.height/2)}}function GA(e,t){var n=new TA;return n.parse(e,t)}var qA=1e-8;function XA(e,t){return Math.abs(e-t)<qA}function KA(e,t,n){var r=0,i=e[0];if(!i)return!1;for(var o=1;o<e.length;o++){var a=e[o];r+=Ta(i[0],i[1],a[0],a[1],t,n),i=a}var s=e[0];return XA(i[0],s[0])&&XA(i[1],s[1])||(r+=Ta(i[0],i[1],s[0],s[1],t,n)),0!==r}var ZA=[];function JA(e,t){for(var n=0;n<e.length;n++)S(e[n],e[n],t)}function QA(e,t,n,r){for(var i=0;i<e.length;i++){var o=e[i];r&&(o=r.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(C(t,t,o),T(n,n,o))}}function eD(e){for(var t=0,n=0,r=0,i=e.length,o=e[i-1][0],a=e[i-1][1],s=0;s<i;s++){var l=e[s][0],u=e[s][1],c=o*u-l*a;t+=c,n+=(o+l)*c,r+=(a+u)*c,o=l,a=u}return t?[n/t/3,r/t/3,t]:[e[0][0]||0,e[0][1]||0]}var tD=function(){function e(e){this.name=e}return e.prototype.setCenter=function(e){this._center=e},e.prototype.getCenter=function(){var e=this._center;return e||(e=this._center=this.calcCenter()),e},e}(),nD=function(){function e(e,t){this.type="polygon",this.exterior=e,this.interiors=t}return e}(),rD=function(){function e(e){this.type="linestring",this.points=e}return e}(),iD=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.type="geoJSON",i.geometries=n,i._center=r&&[r[0],r[1]],i}return a(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,r=0;r<t.length;r++){var i=t[r],o=i.exterior,a=o&&o.length;a>n&&(e=i,n=a)}if(e)return eD(e.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],r=[-1/0,-1/0],i=this.geometries;return Object(l["k"])(i,(function(t){"polygon"===t.type?QA(t.exterior,n,r,e):Object(l["k"])(t.points,(function(t){QA(t,n,r,e)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),t=new Oe(n[0],n[1],r[0]-n[0],r[1]-n[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,i=n.length;r<i;r++){var o=n[r];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(KA(a,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(KA(s[l],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=i.width/i.height;n?r||(r=n/o):n=o*r;for(var a=new Oe(e,t,n,r),s=i.calculateTransform(a),u=this.geometries,c=0;c<u.length;c++){var d=u[c];"polygon"===d.type?(JA(d.exterior,s),Object(l["k"])(d.interiors,(function(e){JA(e,s)}))):Object(l["k"])(d.points,(function(e){JA(e,s)}))}i=this._rect,i.copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var n=new t(e,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(tD),oD=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="geoSVG",r._elOnlyForCalculate=n,r}return a(t,e),t.prototype.calcCenter=function(){var e=this._elOnlyForCalculate,t=e.getBoundingRect(),n=[t.x+t.width/2,t.y+t.height/2],r=ue(ZA),i=e;while(i&&!i.isGeoSVGGraphicRoot)de(r,i.getLocalTransform(),r),i=i.parent;return me(r,r),S(n,n,r),n},t}(tD),aD=Object(l["f"])(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),sD=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=Object(l["f"])(),this._freedGraphics=[],this._mapName=e,this._parsedXML=xA(t)}return e.prototype.load=function(){var e=this._firstGraphic;if(!e){e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(e),this._boundingRect=this._firstGraphic.boundingRect.clone();var t=uD(e.named),n=t.regions,r=t.regionsMap;this._regions=n,this._regionsMap=r}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,n;try{t=e&&GA(e,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=t.root,Object(l["b"])(null!=n)}catch(g){throw new Error("Invalid svg format\n"+g.message)}var r=new kr;r.add(n),r.isGeoSVGGraphicRoot=!0;var i=t.width,o=t.height,a=t.viewBoxRect,s=this._boundingRect;if(!s){var u=void 0,c=void 0,d=void 0,h=void 0;if(null!=i?(u=0,d=i):a&&(u=a.x,d=a.width),null!=o?(c=0,h=o):a&&(c=a.y,h=a.height),null==u||null==c){var f=n.getBoundingRect();null==u&&(u=f.x,d=f.width),null==c&&(c=f.y,h=f.height)}s=this._boundingRect=new Oe(u,c,d,h)}if(a){var p=$A(a,s);n.scaleX=n.scaleY=p.scale,n.x=p.x,n.y=p.y}r.setClipPath(new ls({shape:s.plain()}));var m=[];return Object(l["k"])(t.named,(function(e){null!=aD.get(e.svgNodeTagLower)&&(m.push(e),lD(e.el))})),{root:r,boundingRect:s,named:m}},e.prototype.useGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,n),n)},e.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);n&&(t.removeKey(e),this._freedGraphics.push(n))},e}();function lD(e){e.silent=!1,e.isGroup&&e.traverse((function(e){e.silent=!1}))}function uD(e){var t=[],n=Object(l["f"])();return Object(l["k"])(e,(function(e){if(null==e.namedFrom){var r=new oD(e.name,e.el);t.push(r),n.set(e.name,r)}})),{regions:t,regionsMap:n}}function cD(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;null==n&&(n=1024);var r=t.features;return l["k"](r,(function(e){var t=e.geometry,r=t.encodeOffsets,i=t.coordinates;if(r)switch(t.type){case"LineString":t.coordinates=hD(i,r,n);break;case"Polygon":dD(i,r,n);break;case"MultiLineString":dD(i,r,n);break;case"MultiPolygon":l["k"](i,(function(e,t){return dD(e,r[t],n)}))}})),t.UTF8Encoding=!1,t}function dD(e,t,n){for(var r=0;r<e.length;r++)e[r]=hD(e[r],t[r],n)}function hD(e,t,n){for(var r=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=i,l+=o,i=s,o=l,r.push([s/n,l/n])}return r}function fD(e,t){return e=cD(e),l["H"](l["n"](e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,r=e.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new nD(o[0],o.slice(1)));break;case"MultiPolygon":l["k"](r.coordinates,(function(e){e[0]&&i.push(new nD(e[0],e.slice(1)))}));break;case"LineString":i.push(new rD([r.coordinates]));break;case"MultiLineString":i.push(new rD(r.coordinates))}var a=new iD(n[t||"name"],i,n.cp);return a.properties=n,a}))}for(var pD=[126,25],mD="南海诸岛",gD=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],vD=0;vD<gD.length;vD++)for(var yD=0;yD<gD[vD].length;yD++)gD[vD][yD][0]/=10.5,gD[vD][yD][1]/=-14,gD[vD][yD][0]+=pD[0],gD[vD][yD][1]+=pD[1];function bD(e,t){if("china"===e){for(var n=0;n<t.length;n++)if(t[n].name===mD)return;t.push(new iD(mD,l["H"](gD,(function(e){return{type:"polygon",exterior:e}})),pD))}}var _D={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function wD(e,t){if("china"===e){var n=_D[t.name];if(n){var r=t.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/14,t.setCenter(r)}}}var xD=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function kD(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:xD[0]})}var MD="name",SD=function(){function e(e,t,n){this.type="geoJSON",this._parsedMap=Object(l["f"])(),this._mapName=e,this._specialAreas=n,this._geoJSON=TD(t)}return e.prototype.load=function(e,t){t=t||MD;var n=this._parsedMap.get(t);if(!n){var r=this._parseToRegions(t);n=this._parsedMap.set(t,{regions:r,boundingRect:CD(r)})}var i=Object(l["f"])(),o=[];return Object(l["k"])(n.regions,(function(t){var n=t.name;e&&Object(l["q"])(e,n)&&(t=t.cloneShallow(n=e[n])),o.push(t),i.set(n,t)})),{regions:o,boundingRect:n.boundingRect||new Oe(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(e){var t,n=this._mapName,r=this._geoJSON;try{t=r?fD(r,e):[]}catch(i){throw new Error("Invalid geoJson format\n"+i.message)}return bD(n,t),Object(l["k"])(t,(function(e){var t=e.name;wD(n,e),kD(n,e);var r=this._specialAreas&&this._specialAreas[t];r&&e.transformTo(r.left,r.top,r.width,r.height)}),this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function CD(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();t=t||r.clone(),t.union(r)}return t}function TD(e){return Object(l["C"])(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var OD=Object(l["f"])(),LD={registerMap:function(e,t,n){if(t.svg){var r=new sD(e,t.svg);OD.set(e,r)}else{var i=t.geoJson||t.geoJSON;i&&!t.features?n=t.specialAreas:i=t;r=new SD(e,i,n);OD.set(e,r)}},getGeoResource:function(e){return OD.get(e)},getMapForUser:function(e){var t=OD.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,n){var r=OD.get(e);if(r)return r.load(t,n)}},AD=["rect","circle","line","ellipse","polygon","polyline","path"],DD=l["f"](AD),ED=l["f"](AD.concat(["g"])),ID=l["f"](AD.concat(["g"])),jD=Ei();function PD(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function RD(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var ND=function(){function e(e){var t=new kr;this.uid=Lu("ec_map_draw"),this._controller=new gA(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new kr),t.add(this._svgGroup=new kr)}return e.prototype.draw=function(e,t,n,r,i){var o="geo"===e.mainType,a=e.getData&&e.getData();o&&t.eachComponent({mainType:"series",subType:"map"},(function(t){a||t.getHostGeoModel()!==e||(a=t.getData())}));var s=e.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),d=c.raw,h=c.roam,f=!l.childAt(0)||i;f?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):Wl(u,h,e);var p=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,m={api:n,geo:s,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(m):"geoSVG"===s.resourceType&&this._buildSVG(m),this._updateController(e,t,n),this._updateMapSelectHandler(e,l,n,r)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=l["f"](),n=l["f"](),r=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,a=e.data,s=e.geo.projection,u=s&&s.stream;function c(e,t){return t&&(e=t(e)),e&&[e[0]*i.scaleX+i.x,e[1]*i.scaleY+i.y]}function d(e){for(var t=[],n=!u&&s&&s.project,r=0;r<e.length;++r){var i=c(e[r],n);i&&t.push(i)}return t}function h(e){return{shape:{points:d(e)}}}r.removeAll(),l["k"](e.geo.regions,(function(i){var d=i.name,f=t.get(d),p=n.get(d)||{},m=p.dataIdx,g=p.regionModel;if(!f){f=t.set(d,new kr),r.add(f),m=a?a.indexOfName(d):null,g=e.isGeo?o.getRegionModel(d):a?a.getItemModel(m):null;var v=g.get("silent",!0);null!=v&&(f.silent=v),n.set(d,{dataIdx:m,regionModel:g})}var y=[],b=[];l["k"](i.geometries,(function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);u&&(t=VD(t,u)),l["k"](t,(function(e){y.push(new Lm(h(e)))}))}else{var n=e.points;u&&(n=VD(n,u,!0)),l["k"](n,(function(e){b.push(new Em(h(e)))}))}}));var _=c(i.getCenter(),s&&s.project);function w(t,n){if(t.length){var r=new $m({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});f.add(r),BD(e,r,m,g),YD(e,r,d,g,o,m,_),n&&(RD(r),l["k"](r.states,RD))}}w(y),w(b,!0)})),t.each((function(t,r){var i=n.get(r),a=i.dataIdx,s=i.regionModel;FD(e,t,r,s,o,a),zD(e,t,r,s,o),HD(e,t,r,s,o)}),this)},e.prototype._buildSVG=function(e){var t=e.geo.map,n=e.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var r=this._svgDispatcherMap=l["f"](),i=!1;l["k"](this._svgGraphicRecord.named,(function(t){var n=t.name,o=e.mapOrGeoModel,a=e.data,s=t.svgNodeTagLower,l=t.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);null!=DD.get(s)&&l instanceof Bo&&BD(e,l,u,c),l instanceof Bo&&(l.culling=!0);var d=c.get("silent",!0);if(null!=d&&(l.silent=d),l.z2EmphasisLift=0,!t.namedFrom&&(null!=ID.get(s)&&YD(e,l,n,c,o,u,null),FD(e,l,n,c,o,u),zD(e,l,n,c,o),null!=ED.get(s))){var h=HD(e,l,n,c,o);"self"===h&&(i=!0);var f=r.get(n)||r.set(n,[]);f.push(l)}}),this),this._enableBlurEntireSVG(i,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var n=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),r=n.opacity;this._svgGraphicRecord.root.traverse((function(e){if(!e.isGroup){sl(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=r&&(t.opacity=r),e.ensureState("emphasis")}}))}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(e,t){if(null==e)return[];var n=t.coordinateSystem;if("geoJSON"===n.resourceType){var r=this._regionsGroupByName;if(r){var i=r.get(e);return i?[i]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},e.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},e.prototype._useSVG=function(e){var t=LD.getGeoResource(e);if(t&&"geoSVG"===t.type){var n=t.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=e}},e.prototype._freeSVG=function(){var e=this._svgMapName;if(null!=e){var t=LD.getGeoResource(e);t&&"geoSVG"===t.type&&t.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(e,t,n){var r=e.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=e.get("scaleLimit"),o.zoom=r.getZoom(),i.enable(e.get("roam")||!1);var a=e.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}i.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,vA(o,e.dx,e.dy),n.dispatchAction(l["m"](s(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))}),this),i.off("zoom").on("zoom",(function(e){this._mouseDownFlag=!1,yA(o,e.scale,e.originX,e.originY),n.dispatchAction(l["m"](s(),{totalZoom:o.zoom,zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))}),this),i.setPointerChecker((function(t,i,o){return r.containPoint([i,o])&&!wA(t,n,e)}))},e.prototype.resetForLabelLayout=function(){this.group.traverse((function(e){var t=e.getTextContent();t&&(t.ignore=jD(t).ignore)}))},e.prototype._updateMapSelectHandler=function(e,t,n,r){var i=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",(function(){i._mouseDownFlag=!0})),t.on("click",(function(e){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},e}();function BD(e,t,n,r){var i=r.getModel("itemStyle"),o=r.getModel(["emphasis","itemStyle"]),a=r.getModel(["blur","itemStyle"]),s=r.getModel(["select","itemStyle"]),l=PD(i),u=PD(o),c=PD(s),d=PD(a),h=e.data;if(h){var f=h.getItemVisual(n,"style"),p=h.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=Ky(p,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=d,sl(t)}function YD(e,t,n,r,i,o,a){var s=e.data,l=e.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var d=l?n:o,h=void 0;(!s||o>=0)&&(h=i);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;tu(t,nu(r),{labelFetcher:h,labelDataIndex:d,defaultText:n},f);var p=t.getTextContent();if(p&&(jD(p).ignore=p.ignore,t.textConfig&&a)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(a[0]-m.x)/m.width*100+"%",(a[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function FD(e,t,n,r,i,o){e.data?e.data.setItemGraphicEl(o,t):Ts(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function zD(e,t,n,r,i){e.data||Ng({el:t,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function HD(e,t,n,r,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return Ll(t,a,o.get("blurScope"),o.get("disabled")),e.isGeo&&Rl(t,i,n),a}function VD(e,t,n){var r,i=[];function o(){r=[]}function a(){r.length&&(i.push(r),r=[])}var s=t({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(e,t){isFinite(e)&&isFinite(t)&&r.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),l["k"](e,(function(e){s.lineStart();for(var t=0;t<e.length;t++)s.point(e[t][0],e[t][1]);s.lineEnd()})),!n&&s.polygonEnd(),i}var WD=ND,UD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&r&&"geoRoam"===r.type&&this._mapDraw.resetForLabelLayout(),r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===e.id){o=this._mapDraw;o&&i.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new WD(n);i.add(o.group),o.draw(e,t,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,t,n){var r=e.originalData,i=this.group;r.each(r.mapDimension("value"),(function(t,n){if(!isNaN(t)){var o=r.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new em({style:{fill:e.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Bs+1)});if(!s){var u=e.mainSeries.getData(),c=r.getName(n),d=u.indexOfName(c),h=r.getItemModel(n),f=h.getModel("label"),p=u.getItemGraphicEl(d);tu(l,nu(h),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(d,n)}},defaultText:c}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(e){tl(l,e)}}i.add(l)}}}))},t.type="map",t}(qg),$D=UD,GD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.getCenter())}},n}return a(t,e),t.prototype.getInitialData=function(e){for(var t=DC(this,{coordDimensions:["value"],encodeDefaulter:l["h"](fd,this)}),n=l["f"](),r=[],i=0,o=t.count();i<o;i++){var a=t.getName(i);n.set(a,i)}var s=LD.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return l["k"](s.regions,(function(e){var i,o=e.name,a=n.get(o),s=e.properties&&e.properties.echartsStyle;null==a?(i={name:o},r.push(i)):i=t.getRawDataItem(a),s&&l["I"](i,s)})),t.appendData(r),t},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData(),i=this.getRawValue(e),o=r.getName(e),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=r.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return Xf("section",{header:s.join(", "),noHeader:!s.length,blocks:[Xf("nameValue",{name:o,value:i})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var t=e.icon||"roundRect",n=sy(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return n.setStyle(e.itemStyle),n.style.stroke="none",t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(Sp),qD=GD;function XD(e,t){var n={};return l["k"](e,(function(e){e.each(e.mapDimension("value"),(function(t,r){var i="ec-"+e.getName(r);n[i]=n[i]||[],isNaN(t)||n[i].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(r,i){for(var o,a="ec-"+e[0].getName(i),s=0,l=1/0,u=-1/0,c=n[a].length,d=0;d<c;d++)l=Math.min(l,n[a][d]),u=Math.max(u,n[a][d]),s+=n[a][d];return o="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:o}))}function KD(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)})),l["k"](t,(function(e,t){for(var n=XD(l["H"](e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),r=0;r<e.length;r++)e[r].originalData=e[r].getData();for(r=0;r<e.length;r++)e[r].seriesGroup=e,e[r].needsDrawMap=0===r&&!e[r].getHostGeoModel(),e[r].setData(n.cloneShallow()),e[r].mainSeries=e[0]}))}function ZD(e){var t={};e.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var i={};l["k"](n.seriesGroup,(function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),(function(e,t){var o=r.getName(t),a=n.getRegion(o);if(a&&!isNaN(e)){var s=i[o]||0,l=n.dataToPoint(a.getCenter());i[o]=s+1,r.setItemLayout(t,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(e){var t=o.getName(e),n=o.getItemLayout(e)||{};n.showLabel=!i[t],o.setItemLayout(e,n)})),t[r]=!0}}))}var JD=S,QD=function(e){function t(t){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Kn,n._rawTransformable=new Kn,n.name=t,n}return a(t,e),t.prototype.setBoundingRect=function(e,t,n,r){return this._rect=new Oe(e,t,n,r),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,n,r){this._transformTo(e,t,n,r),this._viewRect=new Oe(e,t,n,r)},t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new Oe(e,t,n,r));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[Br(e[0],t.getWidth()),Br(e[1],t.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect(),t=e.x+e.width/2,n=e.y+e.height/2;return[t,n]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),i=this.getZoom();r=S([],r,e),n=S([],n,e),t.originX=r[0],t.originY=r[1],t.x=n[0]-r[0],t.y=n[1]-r[1],t.scaleX=t.scaleY=i,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),ce(this.transform||(this.transform=[]),t.transform||le()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],me(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,n=new Kn;return n.transform=t.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?JD(n,e,r):c(n,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?JD([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,n){var r=eE(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=eE(t);return r===this?r.pointToData(n):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(Kn);function eE(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var tE=QD,nE={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},rE=["lng","lat"],iE=function(e){function t(t,n,r){var i=e.call(this,t)||this;i.dimensions=rE,i.type="geo",i._nameCoordMap=l["f"](),i.map=n;var o,a=r.projection,s=LD.load(n,r.nameMap,r.nameProperty),u=LD.getGeoResource(n),c=(i.resourceType=u?u.type:null,i.regions=s.regions),d=nE[u.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=a,a)for(var h=0;h<c.length;h++){var f=c[h].getBoundingRect(a);o=o||f.clone(),o.union(f)}else o=s.boundingRect;return i.setBoundingRect(o.x,o.y,o.width,o.height),i.aspectScale=a?1:l["P"](r.aspectScale,d.aspectScale),i._invertLongitute=!a&&d.invertLongitute,i}return a(t,e),t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._invertLongitute;i=i.clone(),o&&(i.y=-i.y-i.height);var a=this._rawTransformable;a.transform=i.calculateTransform(new Oe(e,t,n,r));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var t=this.regions,n=0;n<t.length;n++){var r=t[n];if("geoJSON"===r.type&&r.contain(e))return t[n]}},t.prototype.addGeoCoord=function(e,t){this._nameCoordMap.set(e,t)},t.prototype.getGeoCoord=function(e){var t=this._regionsMap.get(e);return this._nameCoordMap.get(e)||t&&t.getCenter()},t.prototype.dataToPoint=function(e,t,n){if(l["C"](e)&&(e=this.getGeoCoord(e)),e){var r=this.projection;return r&&(e=r.project(e)),e&&this.projectedToPoint(e,t,n)}},t.prototype.pointToData=function(e){var t=this.projection;return t&&(e=t.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(t){return e.prototype.pointToData.call(this,t)},t.prototype.projectedToPoint=function(t,n,r){return e.prototype.dataToPoint.call(this,t,n,r)},t.prototype.convertToPixel=function(e,t,n){var r=oE(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=oE(t);return r===this?r.pointToData(n):null},t}(tE);function oE(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",Ri).models[0]||{}).coordinateSystem:null}l["K"](iE,tE);var aE=iE;function sE(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])){var o=this.projection;if(o){var a=r[0],s=r[1],l=i[0],u=i[1];r=[1/0,1/0],i=[-1/0,-1/0];var c=function(e,t,n,a){for(var s=n-e,l=a-t,u=0;u<=100;u++){var c=u/100,d=o.project([e+s*c,t+l*c]);C(r,r,d),T(i,i,d)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}else 0}var d,h,f,p=this.getBoundingRect(),m=e.get("layoutCenter"),g=e.get("layoutSize"),v=t.getWidth(),y=t.getHeight(),b=p.width/p.height*this.aspectScale,_=!1;if(m&&g&&(d=[Br(m[0],v),Br(m[1],y)],h=Br(g,Math.min(v,y)),isNaN(d[0])||isNaN(d[1])||isNaN(h)||(_=!0)),_)f={},b>1?(f.width=h,f.height=h/b):(f.height=h,f.width=h*b),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var w=e.getBoxLayoutParams();w.aspect=b,f=Fc(w,{width:v,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function lE(e,t){l["k"](t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var uE=function(){function e(){this.dimensions=rE}return e.prototype.create=function(e,t){var n=[];function r(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,i){var o=e.get("map"),a=new aE(o+i,o,l["m"]({nameMap:e.get("nameMap")},r(e)));a.zoomLimit=e.get("scaleLimit"),n.push(a),e.coordinateSystem=a,a.model=e,a.resize=sE,a.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var r=e.get("geoIndex")||0;e.coordinateSystem=n[r]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),l["k"](i,(function(e,i){var o=l["H"](e,(function(e){return e.get("nameMap")})),a=new aE(i,i,l["m"]({nameMap:l["J"](o)},r(e[0])));a.zoomLimit=l["O"].apply(null,l["H"](e,(function(e){return e.get("scaleLimit")}))),n.push(a),a.resize=sE,a.resize(e[0],t),l["k"](e,(function(e){e.coordinateSystem=a,lE(a,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,r){for(var i=(e||[]).slice(),o=l["f"](),a=0;a<i.length;a++)o.set(i[a].name,i[a]);var s=LD.load(t,n,r);return l["k"](s.regions,(function(e){var t=e.name,n=o.get(t),r=e.properties&&e.properties.echartsStyle;n||(n={name:t},i.push(n)),r&&l["I"](n,r)})),i},e}(),cE=new uE,dE=cE,hE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t,n){var r=LD.getGeoResource(e.map);if(r&&"geoJSON"===r.type){var i=e.itemStyle=e.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(e,n),di(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=dE.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var n={};this._optionModelMap=l["N"](t.regions||[],(function(t,r){var i=r.name;return i&&(t.set(i,new Tu(r,e,e.ecModel)),r.selected&&(n[i]=!0)),t}),l["f"]()),t.selectedMap||(t.selectedMap=n)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Tu(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var n=this.getRegionModel(e),r="normal"===t?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:e};return l["w"](r)?(i.status=t,r(i)):l["C"](r)?r.replace("{a}",null!=e?e:""):void 0},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var t=this.option,n=t.selectedMode;if(n){"multiple"!==n&&(t.selectedMap=null);var r=t.selectedMap||(t.selectedMap={});r[e]=!0}},t.prototype.unSelect=function(e){var t=this.option.selectedMap;t&&(t[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var t=this.option.selectedMap;return!(!t||!t[e])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(Kc),fE=hE;function pE(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function mE(e,t,n,r){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,s=e.projectedToPoint?e.projectedToPoint(o):e.dataToPoint(o);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(pE(e,s),r)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(i*a,u),l)/i}e.scaleX*=a,e.scaleY*=a;var c=(t.originX-e.x)*(a-1),d=(t.originY-e.y)*(a-1);e.x-=c,e.y-=d,e.updateTransform(),e.setCenter(pE(e,s),r),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}var gE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return a(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,n,r){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new WD(n));var i=this._mapDraw;i.draw(e,t,n,this,r),i.group.on("click",this._handleRegionClick,this),i.group.silent=e.get("silent"),this.group.add(i.group),this.updateSelectStatus(e,t,n)},t.prototype._handleRegionClick=function(e){var t;Gv(e.target,(function(e){return null!=(t=Ts(e).eventData)}),!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,n){var r=this;this._mapDraw.group.traverse((function(e){var t=Ts(e).eventData;if(t)return r._model.isSelected(t.name)?n.enterSelect(e):n.leaveSelect(e),!0}))},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(Tp),vE=gE;function yE(e,t,n){LD.registerMap(e,t,n)}function bE(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,(function(e,n){var r={},i=[];return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var o=n.coordinateSystem;Object(l["k"])(o.regions,(function(e){r[e.name]=n.isSelected(e.name)||!1}));var a=[];Object(l["k"])(r,(function(e,t){r[t]&&a.push(t)})),i.push({geoIndex:n.componentIndex,name:a})})),{selected:r,allSelected:i,name:e.name}}))}e.registerCoordinateSystem("geo",dE),e.registerComponentModel(fE),e.registerComponentView(vE),e.registerImpl("registerMap",yE),e.registerImpl("getMap",(function(e){return LD.getMapForUser(e)})),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t,n){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=mE(i,e,t.get("scaleLimit"),n);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===r&&Object(l["k"])(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))}function _E(e){N_(bE),e.registerChartView($D),e.registerSeriesModel(qD),e.registerLayout(ZD),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,KD),Wv("map",e.registerAction)}function wE(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var n,r,i=[t];while(n=i.pop())if(r=n.children,n.isExpand&&r.length)for(var o=r.length,a=o-1;a>=0;a--){var s=r[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(s)}}function xE(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){TE(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=OE(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function kE(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function ME(e){return arguments.length?e:IE}function SE(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function CE(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function TE(e){var t=e.children,n=t.length,r=0,i=0;while(--n>=0){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function OE(e,t,n,r){if(t){var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=s.hierNode.modifier;while(s=LE(s),o=AE(o),s&&o){i=LE(i),a=AE(a),i.hierNode.ancestor=e;var h=s.hierNode.prelim+d-o.hierNode.prelim-u+r(s,o);h>0&&(EE(DE(s,e,n),e,h),u+=h,l+=h),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!LE(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),o&&!AE(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}function LE(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function AE(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function DE(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function EE(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function IE(e,t){return e.parentNode===t.parentNode?1:2}var jE=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),PE=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new jE},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,o=n[0],a=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=Br(t.forkPosition,1),d=[];d[l]=i[l],d[u]=i[u]+(a[u]-i[u])*c,e.moveTo(i[0],i[1]),e.lineTo(d[0],d[1]),e.moveTo(o[0],o[1]),d[l]=o[l],e.lineTo(d[0],d[1]),d[l]=a[l],e.lineTo(d[0],d[1]),e.lineTo(a[0],a[1]);for(var h=1;h<r-1;h++){var f=n[h];e.moveTo(f[0],f[1]),d[l]=f[l],e.lineTo(d[0],d[1])}},t}(Ua),RE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new kr,n}return a(t,e),t.prototype.init=function(e,t){this._controller=new gA(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,n){var r=e.getData(),i=e.layoutInfo,o=this._mainGroup,a=e.get("layout");"radial"===a?(o.x=i.x+i.width/2,o.y=i.y+i.height/2):(o.x=i.x,o.y=i.y),this._updateViewCoordSys(e,n),this._updateController(e,t,n);var s=this._data;r.diff(s).add((function(t){NE(r,t)&&BE(r,t,null,o,e)})).update((function(t,n){var i=s.getItemGraphicEl(n);NE(r,t)?BE(r,t,i,o,e):i&&HE(s,n,i,o,e)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&HE(s,t,n,o,e)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&r.eachItemGraphicEl((function(t,r){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:r})}))})),this._data=r},t.prototype._updateViewCoordSys=function(e,t){var n=e.getData(),r=[];n.each((function(e){var t=n.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||r.push([+t.x,+t.y])}));var i=[],o=[];Go(r,i,o);var a=this._min,s=this._max;o[0]-i[0]===0&&(i[0]=a?a[0]:i[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-i[1]===0&&(i[1]=a?a[1]:i[1]-1,o[1]=s?s[1]:o[1]+1);var l=e.coordinateSystem=new tE;l.zoomLimit=e.get("scaleLimit"),l.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),l.setCenter(e.get("center"),t),l.setZoom(e.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=i,this._max=o},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!wA(t,n,e)})),i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){vA(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){yA(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(e),n.updateLabelLayout()}))},t.prototype._updateNodeAndLinkScale=function(e){var t=e.getData(),n=this._getNodeGlobalScale(e);t.eachItemGraphicEl((function(e,t){e.setSymbolScale(n)}))},t.prototype._getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,r=t.scaleX||1,i=t.getZoom(),o=(i-1)*n+1;return o/r},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(qg);function NE(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function BE(e,t,n,r,i){var o=!n,a=e.tree.getNodeByDataIndex(t),s=a.getModel(),u=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?u:"#fff",d=e.tree.root,h=a.parentNode===d?a:a.parentNode||a,f=e.getItemGraphicEl(h.dataIndex),p=h.getLayout(),m=f?{x:f.__oldX,y:f.__oldY,rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:p,g=a.getLayout();o?(n=new wM(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),n.x=m.x,n.y=m.y):n.updateData(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,r.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,Wl(n,{x:g.x,y:g.y},i);var v=n.getSymbolPath();if("radial"===i.get("layout")){var y=d.children[0],b=y.getLayout(),_=y.children.length,w=void 0,x=void 0;if(g.x===b.x&&!0===a.isExpand&&y.children.length){var k={x:(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2};w=Math.atan2(k.y-b.y,k.x-b.x),w<0&&(w=2*Math.PI+w),x=k.x<b.x,x&&(w-=Math.PI)}else w=Math.atan2(g.y-b.y,g.x-b.x),w<0&&(w=2*Math.PI+w),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(x=g.x<b.x,x&&(w-=Math.PI)):(x=g.x>b.x,x||(w-=Math.PI));var M=x?"left":"right",S=s.getModel("label"),C=S.get("rotate"),T=C*(Math.PI/180),O=v.getTextContent();O&&(v.setTextConfig({position:S.get("position")||M,rotation:null==C?-w:T,origin:"center"}),O.setStyle("verticalAlign","middle"))}var L=s.get(["emphasis","focus"]),A="relative"===L?l["e"](a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===L?a.getAncestorsIndices():"descendant"===L?a.getDescendantIndices():null;A&&(Ts(n).focus=A),YE(i,a,d,n,m,p,g,r),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var r=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);r&&r.hoverState===js||tl(n.__edge,t)}})}function YE(e,t,n,r,i,o,a,s){var u=t.getModel(),c=e.get("edgeShape"),d=e.get("layout"),h=e.getOrient(),f=e.get(["lineStyle","curveness"]),p=e.get("edgeForkPosition"),m=u.getModel("lineStyle").getLineStyle(),g=r.__edge;if("curve"===c)t.parentNode&&t.parentNode!==n&&(g||(g=r.__edge=new zm({shape:VE(d,h,f,i,i)})),Wl(g,{shape:VE(d,h,f,o,a)},e));else if("polyline"===c)if("orthogonal"===d){if(t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var v=t.children,y=[],b=0;b<v.length;b++){var _=v[b].getLayout();y.push([_.x,_.y])}g||(g=r.__edge=new PE({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:p}})),Wl(g,{shape:{parentPoint:[a.x,a.y],childPoints:y}},e)}}else 0;g&&("polyline"!==c||t.isExpand)&&(g.useStyle(l["i"]({strokeNoScale:!0,fill:null},m)),Il(g,u,"lineStyle"),sl(g),s.add(g))}function FE(e,t,n,r,i){var o=t.tree.root,a=zE(o,e),s=a.source,l=a.sourceLayout,u=t.getItemGraphicEl(e.dataIndex);if(u){var c=t.getItemGraphicEl(s.dataIndex),d=c.__edge,h=u.__edge||(!1===s.isExpand||1===s.children.length?d:void 0),f=r.get("edgeShape"),p=r.get("layout"),m=r.get("orient"),g=r.get(["lineStyle","curveness"]);h&&("curve"===f?Gl(h,{shape:VE(p,m,g,l,l),style:{opacity:0}},r,{cb:function(){n.remove(h)},removeOpt:i}):"polyline"===f&&"orthogonal"===r.get("layout")&&Gl(h,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},r,{cb:function(){n.remove(h)},removeOpt:i}))}}function zE(e,t){var n,r=t.parentNode===e?t:t.parentNode||t;while(n=r.getLayout(),null==n)r=r.parentNode===e?r:r.parentNode||r;return{source:r,sourceLayout:n}}function HE(e,t,n,r,i){var o=e.tree.getNodeByDataIndex(t),a=e.tree.root,s=zE(a,o).sourceLayout,l={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Gl(n,{x:s.x+1,y:s.y+1},i,{cb:function(){r.remove(n),e.setItemGraphicEl(t,null)},removeOpt:l}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:l}),o.children.forEach((function(t){FE(t,e,r,i,l)})),FE(o,e,r,i,l)}function VE(e,t,n,r,i){var o,a,s,l,u,c,d,h;if("radial"===e){u=r.rawX,d=r.rawY,c=i.rawX,h=i.rawY;var f=SE(u,d),p=SE(u,d+(h-d)*n),m=SE(c,h+(d-h)*n),g=SE(c,h);return{x1:f.x||0,y1:f.y||0,x2:g.x||0,y2:g.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:m.x||0,cpy2:m.y||0}}return u=r.x,d=r.y,c=i.x,h=i.y,"LR"!==t&&"RL"!==t||(o=u+(c-u)*n,a=d,s=c+(u-c)*n,l=h),"TB"!==t&&"BT"!==t||(o=u,a=d+(h-d)*n,s=c,l=h+(d-h)*n),{x1:u,y1:d,x2:c,y2:h,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var WE=RE,UE=Ei();function $E(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,QE(t,n,e),Object(l["k"])(n,(function(n){Object(l["k"])(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,Object(l["h"])(GE,e))}))})),t.wrapMethod("cloneShallow",Object(l["h"])(XE,e)),Object(l["k"])(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,Object(l["h"])(qE,e))})),Object(l["b"])(n[t.dataType]===t)}function GE(e,t){if(JE(this)){var n=Object(l["m"])({},UE(this).datas);n[this.dataType]=t,QE(t,n,e)}else eI(t,this.dataType,UE(this).mainData,e);return t}function qE(e,t){return e.struct&&e.struct.update(),t}function XE(e,t){return Object(l["k"])(UE(t).datas,(function(n,r){n!==t&&eI(n.cloneShallow(),r,t,e)})),t}function KE(e){var t=UE(this).mainData;return null==e||null==t?t:UE(t).datas[e]}function ZE(){var e=UE(this).mainData;return null==e?[{data:e}]:Object(l["H"])(Object(l["F"])(UE(e).datas),(function(t){return{type:t,data:UE(e).datas[t]}}))}function JE(e){return UE(e).mainData===e}function QE(e,t,n){UE(e).datas={},Object(l["k"])(t,(function(t,r){eI(t,r,e,n)}))}function eI(e,t,n,r){UE(n).datas[t]=e,UE(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=KE,e.getLinkedDataAll=ZE}var tI=$E,nI=function(){function e(e,t){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||"",this.hostTree=t}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(e,t,n){l["w"](e)&&(n=t,t=e,e=null),e=e||{},l["C"](e)&&(e={order:e});var r,i=e.order||"preorder",o=this[e.attr||"children"];"preorder"===i&&(r=t.call(n,this));for(var a=0;!r&&a<o.length;a++)o[a].eachNode(e,t,n);"postorder"===i&&t.call(n,this)},e.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(e+1),r.height>t&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].getNodeById(e);if(i)return i}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].contains(e);if(i)return i}},e.prototype.getAncestors=function(e){var t=[],n=e?this:this.parentNode;while(n)t.push(n),n=n.parentNode;return t.reverse(),t},e.prototype.getAncestorsIndices=function(){var e=[],t=this;while(t)e.push(t.dataIndex),t=t.parentNode;return e.reverse(),e},e.prototype.getDescendantIndices=function(){var e=[];return this.eachNode((function(t){e.push(t.dataIndex)})),e},e.prototype.getValue=function(e){var t=this.hostTree.data;return t.getStore().get(t.getDimensionIndex(e||"value"),this.dataIndex)},e.prototype.setLayout=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t<e.length;++t)if(e[t]===this)return t;return-1}return-1},e.prototype.isAncestorOf=function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},e.prototype.isDescendantOf=function(e){return e!==this&&e.isAncestorOf(this)},e}(),rI=function(){function e(e){this.type="tree",this._nodes=[],this.hostModel=e}return e.prototype.eachNode=function(e,t,n){this.root.eachNode(e,t,n)},e.prototype.getNodeByDataIndex=function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},e.prototype.getNodeById=function(e){return this.root.getNodeById(e)},e.prototype.update=function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n<r;n++)t[n].dataIndex=-1;for(n=0,r=e.count();n<r;n++)t[e.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,r){var i=new e(n),o=[],a=1;function s(e,t){var n=e.value;a=Math.max(a,l["t"](n)?n.length:1),o.push(e);var r=new nI(Mi(e.name,""),i);t?iI(r,t):i.root=r,i._nodes.push(r);var u=e.children;if(u)for(var c=0;c<u.length;c++)s(u[c],r)}s(t),i.root.updateDepthAndHeight(0);var u=Zk(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,c=new Kk(u,n);return c.initData(o),r&&r(c),tI({mainData:c,struct:i,structAttr:"tree"}),i.update(),i},e}();function iI(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}var oI=rI;function aI(e,t,n){if(e&&l["r"](t,e.type)>=0){var r=n.getData().tree.root,i=e.targetNode;if(l["C"](i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=e.targetNodeId;if(null!=o&&(i=r.getNodeById(o)))return{node:i}}}function sI(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function lI(e,t){var n=sI(e);return l["r"](n,t)>=0}function uI(e,t){var n=[];while(e){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var cI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return a(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new Tu(n,this,this.ecModel),i=oI.createTree(t,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var n=i.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=r),e}))}var a=0;i.eachNode("preorder",(function(e){e.depth>a&&(a=e.depth)}));var s=e.expandAndCollapse,l=s&&e.initialTreeDepth>=0?e.initialTreeDepth:a;return i.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),i.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,n){var r=this.getData().tree,i=r.root.children[0],o=r.getNodeByDataIndex(e),a=o.getValue(),s=o.name;while(o&&o!==i)s=o.parentNode.name+"."+s,o=o.parentNode;return Xf("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=uI(r,this),n.collapsed=!r.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(Sp),dI=cI;function hI(e,t,n){var r,i=[e],o=[];while(r=i.pop())if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}while(r=o.pop())t(r,n)}function fI(e,t){var n,r=[e];while(n=r.pop())if(t(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}function pI(e,t){e.eachSeriesByType("tree",(function(e){mI(e,t)}))}function mI(e,t){var n=CE(e,t);e.layoutInfo=n;var r=e.get("layout"),i=0,o=0,a=null;"radial"===r?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=ME((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(i=n.width,o=n.height,a=ME());var s=e.getData().tree.root,l=s.children[0];if(l){wE(s),hI(l,xE,a),s.hierNode.modifier=-l.hierNode.prelim,fI(l,kE);var u=l,c=l,d=l;fI(l,(function(e){var t=e.getLayout().x;t<u.getLayout().x&&(u=e),t>c.getLayout().x&&(c=e),e.depth>d.depth&&(d=e)}));var h=u===c?1:a(u,c)/2,f=h-u.getLayout().x,p=0,m=0,g=0,v=0;if("radial"===r)p=i/(c.getLayout().x+h+f),m=o/(d.depth-1||1),fI(l,(function(e){g=(e.getLayout().x+f)*p,v=(e.depth-1)*m;var t=SE(g,v);e.setLayout({x:t.x,y:t.y,rawX:g,rawY:v},!0)}));else{var y=e.getOrient();"RL"===y||"LR"===y?(m=o/(c.getLayout().x+h+f),p=i/(d.depth-1||1),fI(l,(function(e){v=(e.getLayout().x+f)*m,g="LR"===y?(e.depth-1)*p:i-(e.depth-1)*p,e.setLayout({x:g,y:v},!0)}))):"TB"!==y&&"BT"!==y||(p=i/(c.getLayout().x+h+f),m=o/(d.depth-1||1),fI(l,(function(e){g=(e.getLayout().x+f)*p,v="TB"===y?(e.depth-1)*m:o-(e.depth-1)*m,e.setLayout({x:g,y:v},!0)})))}}}function gI(e){e.eachSeriesByType("tree",(function(e){var t=e.getData(),n=t.tree;n.eachNode((function(e){var n=e.getModel(),r=n.getModel("itemStyle").getItemStyle(),i=t.ensureUniqueItemVisual(e.dataIndex,"style");Object(l["m"])(i,r)}))}))}function vI(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,r=t.getData().tree,i=r.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t,n){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var r=t.coordinateSystem,i=mE(r,e,void 0,n);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))}function yI(e){e.registerChartView(WE),e.registerSeriesModel(dI),e.registerLayout(pI),e.registerVisual(gI),vI(e)}var bI=["treemapZoomToNode","treemapRender","treemapMove"];function _I(e){for(var t=0;t<bI.length;t++)e.registerAction({type:bI[t],update:"updateView"},l["L"]);e.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){function n(t,n){var r=["treemapZoomToNode","treemapRootToNode"],i=aI(e,r,t);if(i){var o=t.getViewRoot();o&&(e.direction=lI(o,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},n)}))}function wI(e){var t=e.getData(),n=t.tree,r={};n.eachNode((function(t){var n=t;while(n&&n.depth>1)n=n.parentNode;var i=Md(e.ecModel,n.name||n.dataIndex+"",r);t.setVisual("decal",i)}))}var xI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};kI(n);var r=e.levels||[],i=this.designatedVisualItemStyle={},o=new Tu({itemStyle:i},this,t);r=e.levels=MI(r,t);var a=l["H"](r||[],(function(e){return new Tu(e,o,t)}),this),s=oI.createTree(n,this,u);function u(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),r=n?a[n.depth]:null;return e.parentModel=r||o,e}))}return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return Xf("nameValue",{name:o,value:i})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=uI(r,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},l["m"](this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=l["f"](),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){wI(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(Sp);function kI(e){var t=0;l["k"](e.children,(function(e){kI(e);var n=e.value;l["t"](n)&&(n=n[0]),t+=n}));var n=e.value;l["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),l["t"](e.value)?e.value[0]=n:e.value=n}function MI(e,t){var n=ci(t.get("color")),r=ci(t.get(["aria","decal","decals"]));if(n){var i,o;e=e||[],l["k"](e,(function(e){var t=new Tu(e),n=t.get("color"),r=t.get("decal");(t.get(["itemStyle","color"])||n&&"none"!==n)&&(i=!0),(t.get(["itemStyle","decal"])||r&&"none"!==r)&&(o=!0)}));var a=e[0]||(e[0]={});return i||(a.color=n.slice()),!o&&r&&(a.decal=r.slice()),e}}var SI=xI,CI=8,TI=8,OI=5,LI=function(){function e(e){this.group=new kr,e.add(this.group)}return e.prototype.render=function(e,t,n,r){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(e,c,a,s,l,u,r),zc(o,c.pos,c.box)}},e.prototype._prepare=function(e,t,n){for(var r=e;r;r=r.parentNode){var i=Mi(r.getModel().get("name"),""),o=n.getTextRect(i),a=Math.max(o.width+2*CI,t.emptyItemWidth);t.totalWidth+=a+TI,t.renderList.push({node:r,text:i,width:a})}},e.prototype._renderContent=function(e,t,n,r,i,o,a){for(var s=0,u=t.emptyItemWidth,c=e.get(["breadcrumb","height"]),d=Yc(t.pos,t.box),h=t.totalWidth,f=t.renderList,p=r.getModel("itemStyle").getItemStyle(),m=f.length-1;m>=0;m--){var g=f[m],v=g.node,y=g.width,b=g.text;h>d.width&&(h-=y-u,y=u,b=null);var _=new Lm({shape:{points:AI(s,0,y,c,m===f.length-1,0===m)},style:Object(l["i"])(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Cs({style:ru(i,{text:b})}),textConfig:{position:"inside"},z2:1e4*Bs,onclick:Object(l["h"])(a,v)});_.disableLabelAnimation=!0,_.getTextContent().ensureState("emphasis").style=ru(o,{text:b}),_.ensureState("emphasis").style=p,Ll(_,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(_),DI(_,e,v),s+=y+TI}},e.prototype.remove=function(){this.group.removeAll()},e}();function AI(e,t,n,r,i,o){var a=[[i?e:e-OI,t],[e+n,t],[e+n,t+r],[i?e:e-OI,t+r]];return!o&&a.splice(2,0,[e+n+OI,t+r/2]),!i&&a.push([e,t+r/2]),a}function DI(e,t,n){Ts(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&uI(n,t)}}var EI=LI,II=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,r,i){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:r,easing:i}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,n=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var o=this._storage[r];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},e}();function jI(){return new II}var PI=kr,RI=ls,NI=3,BI="label",YI="upperLabel",FI=10*Bs,zI=2*Bs,HI=3*Bs,VI=io([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),WI=function(e){var t=VI(e);return t.stroke=t.fill=t.lineWidth=null,t},UI=Ei(),$I=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage=GI(),n}return a(t,e),t.prototype.render=function(e,t,n,r){var i=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!(Object(l["r"])(i,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var o=["treemapZoomToNode","treemapRootToNode"],a=aI(r,o,e),s=r&&r.type,u=e.layoutInfo,c=!this._oldTree,d=this._storage,h="treemapRootToNode"===s&&a&&d?{rootNodeGroup:d.nodeGroup[a.node.getRawIndex()],direction:r.direction}:null,f=this._giveContainerGroup(u),p=e.get("animation"),m=this._doRender(f,e,h);!p||c||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?m.renderFinally():this._doAnimation(f,m,e,h),this._resetController(n),this._renderBreadcrumb(e,n,a)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new PI,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var r=t.getData().tree,i=this._oldTree,o=GI(),a=GI(),s=this._storage,u=[];function c(e,r,i,l){return qI(t,a,s,n,o,u,e,r,i,l)}p(r.root?[r.root]:[],i&&i.root?[i.root]:[],e,r===i||!i,0);var d=m(s);if(this._oldTree=r,this._storage=a,this._controllerHost){var h=this.seriesModel.layoutInfo,f=r.root.getLayout();f.width===h.width&&f.height===h.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:o,willDeleteEls:d,renderFinally:g};function p(e,t,n,r,i){function o(e){return e.getId()}function a(o,a){var s=null!=o?e[o]:null,l=null!=a?t[a]:null,u=c(s,l,n,i);u&&p(s&&s.viewChildren||[],l&&l.viewChildren||[],u,r,i+1)}r?(t=e,Object(l["k"])(e,(function(e,t){!e.isRemoved()&&a(t,t)}))):new _k(t,e,o,o).add(a).update(a).remove(Object(l["h"])(a,null)).execute()}function m(e){var t=GI();return e&&Object(l["k"])(e,(function(e,n){var r=t[n];Object(l["k"])(e,(function(e){e&&(r.push(e),UI(e).willDelete=!0)}))})),t}function g(){Object(l["k"])(d,(function(e){Object(l["k"])(e,(function(e){e.parent&&e.parent.remove(e)}))})),Object(l["k"])(u,(function(e){e.invisible=!0,e.dirty()}))}},t.prototype._doAnimation=function(e,t,n,r){var i=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(Object(l["w"])(i)?0:i)||0,s=(Object(l["w"])(o)?null:o)||"cubicOut",u=jI();Object(l["k"])(t.willDeleteEls,(function(e,t){Object(l["k"])(e,(function(e,n){if(!e.invisible){var i,o=e.parent,l=UI(o);if(r&&"drillDown"===r.direction)i=o===r.rootNodeGroup?{shape:{x:0,y:0,width:l.nodeWidth,height:l.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,d=0;l.willDelete||(c=l.nodeWidth/2,d=l.nodeHeight/2),i="nodeGroup"===t?{x:c,y:d,style:{opacity:0}}:{shape:{x:c,y:d,width:0,height:0},style:{opacity:0}}}i&&u.add(e,i,a,0,s)}}))})),Object(l["k"])(this._storage,(function(e,n){Object(l["k"])(e,(function(e,r){var i=t.lastsForAnimation[n][r],o={};i&&(e instanceof kr?null!=i.oldX&&(o.x=e.x,o.y=e.y,e.x=i.oldX,e.y=i.oldY):(i.oldShape&&(o.shape=Object(l["m"])({},e.shape),e.setShape(i.oldShape)),i.fadein?(e.setStyle("opacity",0),o.style={opacity:1}):1!==e.style.opacity&&(o.style={opacity:1})),u.add(e,o,a,0,s))}))}),this),this._state="animating",u.finished(Object(l["c"])((function(){this._state="ready",t.renderFinally()}),this)).start()},t.prototype._resetController=function(e){var t=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),t||(t=this._controller=new gA(e.getZr()),t.enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),t.on("pan",Object(l["c"])(this._onPan,this)),t.on("zoom",Object(l["c"])(this._onZoom,this)));var r=new Oe(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return r.contain(t,n)}))},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>NI||Math.abs(e.dy)>NI)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY,r=e.scale;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new Oe(o.x,o.y,o.width,o.height),s=null,l=this._controllerHost;s=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=r,s){var c=s.min||0,d=s.max||1/0;u=Math.max(Math.min(d,u),c)}var h=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo;t-=f.x,n-=f.y;var p=le();he(p,p,[-t,-n]),pe(p,p,[h,h]),he(p,p,[t,n]),a.applyTransform(p),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",(function(e){if("ready"===t._state){var n=t.seriesModel.get("nodeClick",!0);if(n){var r=t.findTarget(e.offsetX,e.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)t._rootToNode(r);else if("zoomToNode"===n)t._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Ic(a,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var r=this;n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new EI(this.group))).render(e,t,n.node,(function(t){"animating"!==r._state&&(lI(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=GI(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(e,t),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n},t.type="treemap",t}(qg);function GI(){return{nodeGroup:[],background:[],content:[]}}function qI(e,t,n,r,i,o,a,s,u,c){if(a){var d=a.getLayout(),h=e.getData(),f=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),d&&d.isInView){var p=d.width,m=d.height,g=d.borderWidth,v=d.invisible,y=a.getRawIndex(),b=s&&s.getRawIndex(),_=a.viewChildren,w=d.upperHeight,x=_&&_.length,k=f.getModel("itemStyle"),M=f.getModel(["emphasis","itemStyle"]),S=f.getModel(["blur","itemStyle"]),C=f.getModel(["select","itemStyle"]),T=k.get("borderRadius")||0,O=H("nodeGroup",PI);if(O){if(u.add(O),O.x=d.x||0,O.y=d.y||0,O.markRedraw(),UI(O).nodeWidth=p,UI(O).nodeHeight=m,d.isAboveViewRoot)return O;var L=H("background",RI,c,zI);L&&N(O,L,x&&d.upperLabelHeight);var A=f.getModel("emphasis"),D=A.get("focus"),E=A.get("blurScope"),I=A.get("disabled"),j="ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():D;if(x)Pl(O)&&jl(O,!1),L&&(jl(L,!I),h.setItemGraphicEl(a.dataIndex,L),Al(L,j,E));else{var P=H("content",RI,c,HI);P&&B(O,P),L.disableMorphing=!0,L&&Pl(L)&&jl(L,!1),jl(O,!I),h.setItemGraphicEl(a.dataIndex,O);var R=f.getShallow("cursor");R&&P.attr("cursor",R),Al(O,j,E)}return O}}}function N(t,n,r){var i=Ts(n);if(i.dataIndex=a.dataIndex,i.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:p,height:m,r:T}),v)Y(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=WI(k);l.fill=s;var u=VI(M);u.fill=M.get("borderColor");var c=VI(S);c.fill=S.get("borderColor");var d=VI(C);if(d.fill=C.get("borderColor"),r){var h=p-2*g;F(n,s,o.opacity,{x:g,y:0,width:h,height:w})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=d,sl(n)}t.add(n)}function B(t,n){var r=Ts(n);r.dataIndex=a.dataIndex,r.seriesIndex=e.seriesIndex;var i=Math.max(p-2*g,0),o=Math.max(m-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:i,height:o,r:T}),v)Y(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=WI(k);u.fill=l,u.decal=s.decal;var c=VI(M),d=VI(S),h=VI(C);F(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=d,n.ensureState("select").style=h,sl(n)}t.add(n)}function Y(e){!e.invisible&&o.push(e)}function F(t,n,r,i){var o=f.getModel(i?YI:BI),s=Mi(f.get("name"),null),u=o.getShallow("show");tu(t,nu(f,i?YI:BI),{defaultText:u?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:e,labelDataIndex:a.dataIndex});var c=t.getTextContent();if(c){var h=c.style,p=Object(l["M"])(h.padding||0);i&&(t.setTextConfig({layoutRect:i}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var e=Math.max((i?i.width:t.shape.width)-p[1]-p[3],0),n=Math.max((i?i.height:t.shape.height)-p[0]-p[2],0);h.width===e&&h.height===n||c.setStyle({width:e,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",z(h,i,d);var m=c.getState("emphasis");z(m?m.style:null,i,d)}}function z(t,n,r){var i=t?t.text:null;if(!n&&r.isLeafRoot&&null!=i){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+i:i}}function H(e,r,o,a){var s=null!=b&&n[e][b],l=i[e];return s?(n[e][b]=null,V(l,s)):v||(s=new r,s instanceof Bo&&(s.z2=XI(o,a)),W(l,s)),t[e][y]=s}function V(e,t){var n=e[y]={};t instanceof PI?(n.oldX=t.x,n.oldY=t.y):n.oldShape=Object(l["m"])({},t.shape)}function W(e,t){var n=e[y]={},o=a.parentNode,s=t instanceof kr;if(o&&(!r||"drillDown"===r.direction)){var l=0,u=0,c=i.background[o.getRawIndex()];!r&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}function XI(e,t){return e*FI+t}var KI=$I,ZI=l["k"],JI=l["A"],QI=-1,ej=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=l["d"](t);this.type=r,this.mappingMethod=n,this._normalizeData=hj[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(rj(i),tj(i)):"category"===n?i.categories?nj(i):rj(i,!0):(l["b"]("linear"!==n||i.dataExtent),rj(i))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return l["c"](this._normalizeData,this)},e.listVisualTypes=function(){return l["F"](e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){l["A"](e)?l["k"](e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var i,o=l["t"](t)?[]:l["A"](t)?{}:(i=!0,null);return e.eachVisual(t,(function(e,t){var a=n.call(r,e,t);i?o=a:o[t]=a})),o},e.retrieveVisuals=function(t){var n,r={};return t&&ZI(e.visualHandlers,(function(e,i){t.hasOwnProperty(i)&&(r[i]=t[i],n=!0)})),n?r:null},e.prepareVisualTypes=function(e){if(l["t"](e))e=e.slice();else{if(!JI(e))return[];var t=[];ZI(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var r,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||l["C"](s)&&s===e+"")return o;n&&h(s,o)}}for(o=0,a=t.length;o<a;o++){var u=t[o],c=u.interval,d=u.close;if(c){if(c[0]===-1/0){if(fj(d[1],e,c[1]))return o}else if(c[1]===1/0){if(fj(d[0],c[0],e))return o}else if(fj(d[0],c[0],e)&&fj(d[1],e,c[1]))return o;n&&h(c[0],o),n&&h(c[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function h(t,n){var o=Math.abs(t-e);o<i&&(i=o,r=n)}},e.visualHandlers={color:{applyVisual:aj("color"),getColorMapper:function(){var e=this.option;return l["c"]("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),sj.call(this,e)}:function(t,n,r){var i=!!r;return!n&&(t=this._normalizeData(t)),r=Bt["a"](t,e.parsedVisual,r),i?r:Bt["i"](r,"rgba")},this)},_normalizedToVisual:{linear:function(e){return Bt["i"](Bt["a"](e,this.option.parsedVisual),"rgba")},category:sj,piecewise:function(e,t){var n=cj.call(this,t);return null==n&&(n=Bt["i"](Bt["a"](e,this.option.parsedVisual),"rgba")),n},fixed:lj}},colorHue:ij((function(e,t){return Bt["g"](e,t)})),colorSaturation:ij((function(e,t){return Bt["g"](e,null,t)})),colorLightness:ij((function(e,t){return Bt["g"](e,null,null,t)})),colorAlpha:ij((function(e,t){return Bt["f"](e,t)})),decal:{applyVisual:aj("decal"),_normalizedToVisual:{linear:null,category:sj,piecewise:null,fixed:null}},opacity:{applyVisual:aj("opacity"),_normalizedToVisual:uj([0,1])},liftZ:{applyVisual:aj("liftZ"),_normalizedToVisual:{linear:lj,category:lj,piecewise:lj,fixed:lj}},symbol:{applyVisual:function(e,t,n){var r=this.mapValueToVisual(e);n("symbol",r)},_normalizedToVisual:{linear:oj,category:sj,piecewise:function(e,t){var n=cj.call(this,t);return null==n&&(n=oj.call(this,e)),n},fixed:lj}},symbolSize:{applyVisual:aj("symbolSize"),_normalizedToVisual:uj([0,1])}},e}();function tj(e){var t=e.pieceList;e.hasSpecialVisual=!1,l["k"](t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function nj(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(ZI(t,(function(e,t){n[e]=t})),!l["t"](r)){var i=[];l["A"](r)?ZI(r,(function(e,t){var r=n[t];i[null!=r?r:QI]=e})):i[QI]=r,r=dj(e,i)}for(var o=t.length-1;o>=0;o--)null==r[o]&&(delete n[t[o]],t.pop())}function rj(e,t){var n=e.visual,r=[];l["A"](n)?ZI(n,(function(e){r.push(e)})):null!=n&&r.push(n);var i={color:1,symbol:1};t||1!==r.length||i.hasOwnProperty(e.type)||(r[1]=r[0]),dj(e,r)}function ij(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("color",e(n("color"),i))},_normalizedToVisual:uj([0,1])}}function oj(e){var t=this.option.visual;return t[Math.round(Nr(e,[0,1],[0,t.length-1],!0))]||{}}function aj(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function sj(e){var t=this.option.visual;return t[this.option.loop&&e!==QI?e%t.length:e]}function lj(){return this.option.visual[0]}function uj(e){return{linear:function(t){return Nr(t,e,this.option.visual,!0)},category:sj,piecewise:function(t,n){var r=cj.call(this,n);return null==r&&(r=Nr(t,e,this.option.visual,!0)),r},fixed:lj}}function cj(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=ej.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function dj(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=l["H"](t,(function(e){var t=Bt["h"](e);return t||[0,0,0,1]}))),t}var hj={linear:function(e){return Nr(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=ej.findPieceIndex(e,t,!0);if(null!=n)return Nr(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?QI:t},fixed:l["L"]};function fj(e,t,n){return e?t<=n:t<n}var pj=ej,mj="itemStyle",gj=Ei(),vj={seriesType:"treemap",reset:function(e){var t=e.getData().tree,n=t.root;n.isRemoved()||yj(n,{},e.getViewRoot().getAncestors(),e)}};function yj(e,t,n,r){var i=e.getModel(),o=e.getLayout(),a=e.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,u=i.getModel(mj),c=bj(u,t,r),d=a.ensureUniqueItemVisual(e.dataIndex,"style"),h=u.get("borderColor"),f=u.get("borderColorSaturation");null!=f&&(s=_j(c),h=wj(f,s)),d.stroke=h;var p=e.viewChildren;if(p&&p.length){var m=kj(e,i,o,u,c,p);Object(l["k"])(p,(function(e,t){if(e.depth>=n.length||e===n[e.depth]){var o=Sj(i,c,e,t,m,r);yj(e,o,n,r)}}))}else s=_j(c),d.fill=s}}function bj(e,t,n){var r=Object(l["m"])({},t),i=n.designatedVisualItemStyle;return Object(l["k"])(["color","colorAlpha","colorSaturation"],(function(n){i[n]=t[n];var o=e.get(n);i[n]=null,null!=o&&(r[n]=o)})),r}function _j(e){var t=xj(e,"color");if(t){var n=xj(e,"colorAlpha"),r=xj(e,"colorSaturation");return r&&(t=Object(Bt["g"])(t,null,null,r)),n&&(t=Object(Bt["f"])(t,n)),t}}function wj(e,t){return null!=t?Object(Bt["g"])(t,null,null,e):null}function xj(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function kj(e,t,n,r,i,o){if(o&&o.length){var a=Mj(t,"color")||null!=i.color&&"none"!==i.color&&(Mj(t,"colorAlpha")||Mj(t,"colorSaturation"));if(a){var s=t.get("visualMin"),l=t.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=t.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};"color"!==d.type||"index"!==c&&"id"!==c?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var h=new pj(d);return gj(h).drColorMappingBy=c,h}}}function Mj(e,t){var n=e.get(t);return Object(l["t"])(n)&&n.length?{name:t,range:n}:null}function Sj(e,t,n,r,i,o){var a=Object(l["m"])({},t);if(i){var s=i.type,u="color"===s&&gj(i).drColorMappingBy,c="index"===u?r:"id"===u?o.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[s]=i.mapValueToVisual(c)}return a}var Cj=Math.max,Tj=Math.min,Oj=l["O"],Lj=l["k"],Aj=["itemStyle","borderWidth"],Dj=["itemStyle","gapWidth"],Ej=["upperLabel","show"],Ij=["upperLabel","height"],jj={seriesType:"treemap",reset:function(e,t,n,r){var i=n.getWidth(),o=n.getHeight(),a=e.option,s=Fc(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),u=a.size||[],c=Br(Oj(s.width,u[0]),i),d=Br(Oj(s.height,u[1]),o),h=r&&r.type,f=["treemapZoomToNode","treemapRootToNode"],p=aI(r,f,e),m="treemapRender"===h||"treemapMove"===h?r.rootRect:null,g=e.getViewRoot(),v=sI(g);if("treemapMove"!==h){var y="treemapZoomToNode"===h?Hj(e,p,g,c,d):m?[m.width,m.height]:[c,d],b=a.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var _={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};g.hostTree.clearLayouts();var w={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};g.setLayout(w),Pj(g,_,!1,0),w=g.getLayout(),Lj(v,(function(e,t){var n=(v[t+1]||g).getValue();e.setLayout(l["m"]({dataExtent:[n,n],borderWidth:0,upperHeight:0},w))}))}var x=e.getData().tree.root;x.setLayout(Vj(s,m,p),!0),e.setLayoutInfo(s),Wj(x,new Oe(-s.x,-s.y,i,o),v,g,0)}};function Pj(e,t,n,r){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var s=e.getModel(),l=s.get(Aj),u=s.get(Dj)/2,c=Uj(s),d=Math.max(l,c),h=l-u,f=d-u;e.setLayout({borderWidth:l,upperHeight:d,upperLabelHeight:c},!0),i=Cj(i-2*h,0),o=Cj(o-h-f,0);var p=i*o,m=Rj(e,s,p,t,n,r);if(m.length){var g={x:h,y:f,width:i,height:o},v=Tj(i,o),y=1/0,b=[];b.area=0;for(var _=0,w=m.length;_<w;){var x=m[_];b.push(x),b.area+=x.getLayout().area;var k=Fj(b,v,t.squareRatio);k<=y?(_++,y=k):(b.area-=b.pop().getLayout().area,zj(b,v,g,u,!1),v=Tj(g.width,g.height),b.length=b.area=0,y=1/0)}if(b.length&&zj(b,v,g,u,!0),!n){var M=s.get("childrenVisibleMin");null!=M&&p<M&&(n=!0)}for(_=0,w=m.length;_<w;_++)Pj(m[_],t,n,r+1)}}}function Rj(e,t,n,r,i,o){var a=e.children||[],s=r.sort;"asc"!==s&&"desc"!==s&&(s=null);var u=null!=r.leafDepth&&r.leafDepth<=o;if(i&&!u)return e.viewChildren=[];a=l["n"](a,(function(e){return!e.isRemoved()})),Bj(a,s);var c=Yj(t,a,s);if(0===c.sum)return e.viewChildren=[];if(c.sum=Nj(t,n,c.sum,s,a),0===c.sum)return e.viewChildren=[];for(var d=0,h=a.length;d<h;d++){var f=a[d].getValue()/c.sum*n;a[d].setLayout({area:f})}return u&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0),e.viewChildren=a,e.setLayout({dataExtent:c.dataExtent},!0),a}function Nj(e,t,n,r,i){if(!r)return n;for(var o=e.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*t<o&&(s=l,n-=u)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}function Bj(e,t){return t&&e.sort((function(e,n){var r="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:r})),e}function Yj(e,t,n){for(var r=0,i=0,o=t.length;i<o;i++)r+=t[i].getValue();var a,s=e.get("visualDimension");return t&&t.length?"value"===s&&n?(a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],Lj(t,(function(e){var t=e.getValue(s);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}))):a=[NaN,NaN],{sum:r,dataExtent:a}}function Fj(e,t,n){for(var r=0,i=1/0,o=0,a=void 0,s=e.length;o<s;o++)a=e[o].getLayout().area,a&&(a<i&&(i=a),a>r&&(r=a));var l=e.area*e.area,u=t*t*n;return l?Cj(u*r/l,l/(u*i)):1/0}function zj(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=t?e.area/t:0;(i||c>n[l[a]])&&(c=n[l[a]]);for(var d=0,h=e.length;d<h;d++){var f=e[d],p={},m=c?f.getLayout().area/c:0,g=p[l[a]]=Cj(c-2*r,0),v=n[s[o]]+n[l[o]]-u,y=d===h-1||v<m?v:m,b=p[l[o]]=Cj(y-2*r,0);p[s[a]]=n[s[a]]+Tj(r,g/2),p[s[o]]=u+Tj(r,b/2),u+=y,f.setLayout(p,!0)}n[s[a]]+=c,n[l[a]]-=c}function Hj(e,t,n,r,i){var o,a=(t||{}).node,s=[r,i];if(!a||a===n)return s;var l=r*i,u=l*e.option.zoomToNodeRatio;while(o=a.parentNode){for(var c=0,d=o.children,h=0,f=d.length;h<f;h++)c+=d[h].getValue();var p=a.getValue();if(0===p)return s;u*=c/p;var m=o.getModel(),g=m.get(Aj),v=Math.max(g,Uj(m));u+=4*g*g+(3*g+v)*Math.pow(u,.5),u>$r&&(u=$r),a=o}u<l&&(u=l);var y=Math.pow(u/l,.5);return[r*y,i*y]}function Vj(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;var a=[o.width/2,o.height/2],s=i;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function Wj(e,t,n,r,i){var o=e.getLayout(),a=n[i],s=a&&a===e;if(!(a&&!s||i===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(o),isAboveViewRoot:s},!0);var l=new Oe(t.x-o.x,t.y-o.y,t.width,t.height);Lj(e.viewChildren||[],(function(e){Wj(e,l,n,r,i+1)}))}}function Uj(e){return e.get(Ej)?e.get(Ij):0}function $j(e){e.registerSeriesModel(SI),e.registerChartView(KI),e.registerVisual(vj),e.registerLayout(jj),_I(e)}function Gj(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getGraph(),i=r.data,o=n.mapArray(n.getName);i.filterSelf((function(e){var n=i.getItemModel(e),r=n.getShallow("category");if(null!=r){Object(l["z"])(r)&&(r=o[r]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(r))return!1}return!0}))}))}function qj(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getData(),i={};n.each((function(r){var o=n.getName(r);i["ec-"+o]=r;var a=n.getItemModel(r),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(o,t)),n.setItemVisual(r,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(r,l[u],c)}})),n.count()&&r.each((function(e){var t=r.getItemModel(e),o=t.getShallow("category");if(null!=o){Object(l["C"])(o)&&(o=i["ec-"+o]);var a=n.getItemVisual(o,"style"),s=r.ensureUniqueItemVisual(e,"style");Object(l["m"])(s,a);for(var u=["symbol","symbolSize","symbolKeepAspect"],c=0;c<u.length;c++)r.setItemVisual(e,u[c],n.getItemVisual(o,u[c]))}}))}))}function Xj(e){return e instanceof Array||(e=[e,e]),e}function Kj(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),n=e.getEdgeData(),r=Xj(e.get("edgeSymbol")),i=Xj(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",r&&r[0]),n.setVisual("toSymbol",r&&r[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each((function(e){var r=n.getItemModel(e),i=t.getEdgeByIndex(e),o=Xj(r.getShallow("symbol",!0)),a=Xj(r.getShallow("symbolSize",!0)),s=r.getModel("lineStyle").getLineStyle(),u=n.ensureUniqueItemVisual(e,"style");switch(Object(l["m"])(u,s),u.stroke){case"source":var c=i.node1.getVisual("style");u.stroke=c&&c.fill;break;case"target":c=i.node2.getVisual("style");u.stroke=c&&c.fill;break}o[0]&&i.setVisual("fromSymbol",o[0]),o[1]&&i.setVisual("toSymbol",o[1]),a[0]&&i.setVisual("fromSymbolSize",a[0]),a[1]&&i.setVisual("toSymbolSize",a[1])}))}))}var Zj="--\x3e",Jj=function(e){return e.get("autoCurveness")||null},Qj=function(e,t){var n=Jj(e),r=20,i=[];if(l["z"](n))r=n;else if(l["t"](n))return void(e.__curvenessList=n);t>r&&(r=t);var o=r%2?r+2:r+3;i=[];for(var a=0;a<o;a++)i.push((a%2?a+1:a)/10*(a%2?-1:1));e.__curvenessList=i},eP=function(e,t,n){var r=[e.id,e.dataIndex].join("."),i=[t.id,t.dataIndex].join(".");return[n.uid,r,i].join(Zj)},tP=function(e){var t=e.split(Zj);return[t[0],t[2],t[1]].join(Zj)},nP=function(e,t){var n=eP(e.node1,e.node2,t);return t.__edgeMap[n]},rP=function(e,t){var n=iP(eP(e.node1,e.node2,t),t),r=iP(eP(e.node2,e.node1,t),t);return n+r},iP=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function oP(e){Jj(e)&&(e.__curvenessList=[],e.__edgeMap={},Qj(e))}function aP(e,t,n,r){if(Jj(n)){var i=eP(e,t,n),o=n.__edgeMap,a=o[tP(i)];o[i]&&!a?o[i].isForward=!0:a&&o[i]&&(a.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(r)}}function sP(e,t,n,r){var i=Jj(t),o=l["t"](i);if(!i)return null;var a=nP(e,t);if(!a)return null;for(var s=-1,u=0;u<a.length;u++)if(a[u]===n){s=u;break}var c=rP(e,t);Qj(t,c),e.lineStyle=e.lineStyle||{};var d=eP(e.node1,e.node2,t),h=t.__curvenessList,f=o||c%2?0:1;if(a.isForward)return h[f+s];var p=tP(d),m=iP(p,t),g=h[s+m+f];return r?o?i&&0===i[0]?(m+f)%2?g:-g:((m%2?0:1)+f)%2?g:-g:(m+f)%2?g:-g:h[s+m+f]}function lP(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),uP(n,e)}}function uP(e,t){e.eachEdge((function(e,n){var r=l["Q"](e.getModel().get(["lineStyle","curveness"]),-sP(e,t,n,!0),0),i=d(e.node1.getLayout()),o=d(e.node2.getLayout()),a=[i,o];+r&&a.push([(i[0]+o[0])/2-(i[1]-o[1])*r,(i[1]+o[1])/2-(o[0]-i[0])*r]),e.setLayout(a)}))}function cP(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var r=e.getData(),i=[];Object(l["k"])(n.dimensions,(function(e){i=i.concat(r.mapDimensionsAll(e))}));for(var o=0;o<r.count();o++){for(var a=[],s=!1,u=0;u<i.length;u++){var c=r.get(i[u],o);isNaN(c)||(s=!0),a.push(c)}s?r.setItemLayout(o,n.dataToPoint(a)):r.setItemLayout(o,[NaN,NaN])}uP(r.graph,e)}else t&&"none"!==t||lP(e)}))}function dP(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scaleX,i=t.getZoom(),o=(i-1)*n+1;return o/r}function hP(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var fP=Math.PI,pP=[];function mP(e,t,n,r){var i=e.coordinateSystem;if(!i||"view"===i.type){var o=i.getBoundingRect(),a=e.getData(),s=a.graph,u=o.width/2+o.x,c=o.height/2+o.y,h=Math.min(o.width,o.height)/2,f=a.count();if(a.setLayout({cx:u,cy:c}),f){if(n){var p=i.pointToData(r),m=p[0],g=p[1],v=[m-u,g-c];b(v,v),y(v,v,h),n.setLayout([u+v[0],c+v[1]],!0);var _=e.get(["circular","rotateLabel"]);vP(n,_,u,c)}gP[t](e,s,a,h,u,c,f),s.eachEdge((function(t,n){var r,i=l["Q"](t.getModel().get(["lineStyle","curveness"]),sP(t,e,n),0),o=d(t.node1.getLayout()),a=d(t.node2.getLayout()),s=(o[0]+a[0])/2,h=(o[1]+a[1])/2;+i&&(i*=3,r=[u*i+s*(1-i),c*i+h*(1-i)]),t.setLayout([o,a,r])}))}}}var gP={value:function(e,t,n,r,i,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);t.eachNode((function(e){var t=e.getValue("value"),n=u*(l?t:1)/2;s+=n,e.setLayout([r*Math.cos(s)+i,r*Math.sin(s)+o]),s+=n}))},symbolSize:function(e,t,n,r,i,o,a){var s=0;pP.length=a;var l=dP(e);t.eachNode((function(e){var t=hP(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=l;var n=Math.asin(t/2/r);isNaN(n)&&(n=fP/2),pP[e.dataIndex]=n,s+=2*n}));var u=(2*fP-s)/a/2,c=0;t.eachNode((function(e){var t=u+pP[e.dataIndex];c+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([r*Math.cos(c)+i,r*Math.sin(c)+o]),c+=t}))}};function vP(e,t,n,r){var i=e.getGraphicEl();if(i){var o=e.getModel(),a=o.get(["label","rotate"])||0,s=i.getSymbolPath();if(t){var u=e.getLayout(),c=Math.atan2(u[1]-r,u[0]-n);c<0&&(c=2*Math.PI+c);var d=u[0]<n;d&&(c-=Math.PI);var h=d?"left":"right";s.setTextConfig({rotation:-c,position:h,origin:"center"});var f=s.ensureState("emphasis");l["m"](f.textConfig||(f.textConfig={}),{position:h})}else s.setTextConfig({rotation:a*=Math.PI/180})}}function yP(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&mP(e,"symbolSize")}))}var bP=p;function _P(e,t,n){for(var r=e,i=t,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],f=null==n.gravity?.1:n.gravity,p=0;p<r.length;p++){var v=r[p];v.p||(v.p=u(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),v.pp=d(v.p),v.edges=null}var y,_,w=null==n.friction?.6:n.friction,x=w;return{warmUp:function(){x=.8*w},setFixed:function(e){r[e].fixed=!0},setUnfixed:function(e){r[e].fixed=!1},beforeStep:function(e){y=e},afterStep:function(e){_=e},step:function(e){y&&y(r,i);for(var t=[],n=r.length,o=0;o<i.length;o++){var a=i[o];if(!a.ignoreForceLayout){var s=a.n1,u=a.n2;m(t,u.p,s.p);var d=g(t)-a.d,p=u.w/(s.w+u.w);isNaN(p)&&(p=0),b(t,t),!s.fixed&&bP(s.p,s.p,t,p*d*x),!u.fixed&&bP(u.p,u.p,t,-(1-p)*d*x)}}for(o=0;o<n;o++){var v=r[o];v.fixed||(m(t,l,v.p),bP(v.p,v.p,t,f*x))}for(o=0;o<n;o++){s=r[o];for(var w=o+1;w<n;w++){u=r[w];m(t,u.p,s.p);d=g(t);0===d&&(h(t,Math.random()-.5,Math.random()-.5),d=1);var k=(s.rep+u.rep)/d/d;!s.fixed&&bP(s.pp,s.pp,t,k),!u.fixed&&bP(u.pp,u.pp,t,-k)}}var M=[];for(o=0;o<n;o++){v=r[o];v.fixed||(m(M,v.p,v.pp),bP(v.p,v.p,M,x),c(v.pp,v.p))}x*=.992;var S=x<.01;_&&_(r,i,S),e&&e(S)}}}function wP(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),i=r.data,o=r.edgeData,a=e.getModel("force"),s=a.get("initLayout");e.preservedPoints?i.each((function(e){var t=i.getId(e);i.setItemLayout(e,n[t]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&mP(e,"value"):lP(e);var u=i.getDataExtent("value"),d=o.getDataExtent("value"),h=a.get("repulsion"),f=a.get("edgeLength"),p=l["t"](h)?h:[h,h],m=l["t"](f)?f:[f,f];m=[m[1],m[0]];var g=i.mapArray("value",(function(e,t){var n=i.getItemLayout(t),r=Nr(e,u,p);return isNaN(r)&&(r=(p[0]+p[1])/2),{w:r,rep:r,fixed:i.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),v=o.mapArray("value",(function(t,n){var i=r.getEdgeByIndex(n),o=Nr(t,d,m);isNaN(o)&&(o=(m[0]+m[1])/2);var a=i.getModel(),s=l["Q"](i.getModel().get(["lineStyle","curveness"]),-sP(i,e,n,!0),0);return{n1:g[i.node1.dataIndex],n2:g[i.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),y=t.getBoundingRect(),b=_P(g,v,{rect:y,gravity:a.get("gravity"),friction:a.get("friction")});b.beforeStep((function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].fixed&&c(e[n].p,r.getNodeByIndex(n).getLayout())})),b.afterStep((function(e,t,o){for(var a=0,s=e.length;a<s;a++)e[a].fixed||r.getNodeByIndex(a).setLayout(e[a].p),n[i.getId(a)]=e[a].p;for(a=0,s=t.length;a<s;a++){var l=t[a],u=r.getEdgeByIndex(a),d=l.n1.p,h=l.n2.p,f=u.getLayout();f=f?f.slice():[],f[0]=f[0]||[],f[1]=f[1]||[],c(f[0],d),c(f[1],h),+l.curveness&&(f[2]=[(d[0]+h[0])/2-(d[1]-h[1])*l.curveness,(d[1]+h[1])/2-(h[0]-d[0])*l.curveness]),u.setLayout(f)}})),e.forceLayout=b,e.preservedPoints=n,b.step()}else e.forceLayout=null}))}function xP(e,t,n){var r=Object(l["m"])(e.getBoxLayoutParams(),{aspect:n});return Fc(r,{width:t.getWidth(),height:t.getHeight()})}function kP(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var i=e.getData(),o=i.mapArray((function(e){var t=i.getItemModel(e);return[+t.get("x"),+t.get("y")]})),a=[],s=[];Go(o,a,s),s[0]-a[0]===0&&(s[0]+=1,a[0]-=1),s[1]-a[1]===0&&(s[1]+=1,a[1]-=1);var l=(s[0]-a[0])/(s[1]-a[1]),u=xP(e,t,l);isNaN(l)&&(a=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var c=s[0]-a[0],d=s[1]-a[1],h=u.width,f=u.height,p=e.coordinateSystem=new tE;p.zoomLimit=e.get("scaleLimit"),p.setBoundingRect(a[0],a[1],c,d),p.setViewRect(u.x,u.y,h,f),p.setCenter(e.get("center"),t),p.setZoom(e.get("zoom")),n.push(p)}})),n}var MP=Rm.prototype,SP=zm.prototype,CP=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}();(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}a(t,e)})(CP);function TP(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var OP=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new CP},t.prototype.buildPath=function(e,t){TP(t)?MP.buildPath.call(this,e,t):SP.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return TP(this.shape)?MP.pointAt.call(this,e):SP.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=TP(t)?[t.x2-t.x1,t.y2-t.y1]:SP.tangentAt.call(this,e);return b(n,n)},t}(Ua),LP=OP,AP=["fromSymbol","toSymbol"];function DP(e){return"_"+e+"Type"}function EP(e,t,n){var r=t.getItemVisual(n,e);if(!r||"none"===r)return r;var i=t.getItemVisual(n,e+"Size"),o=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=ly(i),u=uy(a||0,l);return r+l+u+(o||"")+(s||"")}function IP(e,t,n){var r=t.getItemVisual(n,e);if(r&&"none"!==r){var i=t.getItemVisual(n,e+"Size"),o=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=ly(i),u=uy(a||0,l),c=sy(r,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=e,c}}function jP(e){var t=new LP({name:"line",subPixelOptimize:!0});return PP(t.shape,e),t}function PP(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}var RP=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createLine(t,n,r),i}return a(t,e),t.prototype._createLine=function(e,t,n){var r=e.hostModel,i=e.getItemLayout(t),o=jP(i);o.shape.percent=0,Ul(o,{shape:{percent:1}},r,t),this.add(o),Object(l["k"])(AP,(function(n){var r=IP(n,e,t);this.add(r),this[DP(n)]=EP(n,e,t)}),this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=e.getItemLayout(t),a={shape:{}};PP(a.shape,o),Wl(i,a,r,t),Object(l["k"])(AP,(function(n){var r=EP(n,e,t),i=DP(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=IP(n,e,t);this.add(o)}this[i]=r}),this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,u=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,d=n&&n.focus,h=n&&n.blurScope;if(!n||e.hasItemOption){var f=e.getItemModel(t),p=f.getModel("emphasis");o=p.getModel("lineStyle").getLineStyle(),a=f.getModel(["blur","lineStyle"]).getLineStyle(),s=f.getModel(["select","lineStyle"]).getLineStyle(),c=p.get("disabled"),d=p.get("focus"),h=p.get("blurScope"),u=nu(f)}var m=e.getItemVisual(t,"style"),g=m.stroke;i.useStyle(m),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,i.ensureState("blur").style=a,i.ensureState("select").style=s,Object(l["k"])(AP,(function(e){var t=this.childOfName(e);if(t){t.setColor(g),t.style.opacity=m.opacity;for(var n=0;n<Rs.length;n++){var r=Rs[n],o=i.getState(r);if(o){var a=o.style||{},s=t.ensureState(r),l=s.style||(s.style={});null!=a.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}t.markRedraw()}}),this);var v=r.getRawValue(t);tu(this,u,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return r.getFormattedLabel(t,n,e.dataType)}},inheritColor:g||"#000",defaultOpacity:m.opacity,defaultText:(null==v?e.getName(t):isFinite(v)?Yr(v):v)+""});var y=this.getTextContent();if(y){var b=u.normal;y.__align=y.style.align,y.__verticalAlign=y.style.verticalAlign,y.__position=b.get("position")||"middle";var _=b.get("distance");Object(l["t"])(_)||(_=[_,_]),y.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),Ll(this,d,h,c)},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){dl(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");PP(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),r=e.getTextContent();if(t||n||r&&!r.ignore){var i=1,o=this.parent;while(o)o.scaleX&&(i/=o.scaleX),o=o.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=m([],u,l);if(b(c,c),t&&(t.setPosition(l),S(t,0),t.scaleX=t.scaleY=i*s,t.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=i*s,n.markRedraw()),r&&!r.ignore){r.x=r.y=0,r.originX=r.originY=0;var d=void 0,h=void 0,f=r.__labelDistance,p=f[0]*i,g=f[1]*i,v=s/2,y=a.tangentAt(v),_=[y[1],-y[0]],w=a.pointAt(v);_[1]>0&&(_[0]=-_[0],_[1]=-_[1]);var x=y[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var k=-Math.atan2(y[1],y[0]);u[0]<l[0]&&(k=Math.PI+k),r.rotation=k}var M=void 0;switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":M=-g,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":M=g,h="top";break;default:M=0,h="middle"}switch(r.__position){case"end":r.x=c[0]*p+u[0],r.y=c[1]*g+u[1],d=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":r.x=-c[0]*p+l[0],r.y=-c[1]*g+l[1],d=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=p*x+l[0],r.y=l[1]+M,d=y[0]<0?"right":"left",r.originX=-p*x,r.originY=-M;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=w[0],r.y=w[1]+M,d="center",r.originY=-M;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-p*x+u[0],r.y=u[1]+M,d=y[0]>=0?"right":"left",r.originX=p*x,r.originY=-M;break}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||h,align:r.__align||d})}}}function S(e,t){var n=e.__specifiedRotation;if(null==n){var r=a.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else e.attr("rotation",n)}},t}(kr),NP=RP,BP=function(){function e(e){this.group=new kr,this._LineCtor=e||NP}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=e,i||r.removeAll();var o=FP(e);e.diff(i).add((function(n){t._doAdd(e,n,o)})).update((function(n,r){t._doUpdate(i,e,r,n,o)})).remove((function(e){r.remove(i.getItemGraphicEl(e))})).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=FP(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||YP(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r<e.end;r++){var i=t.getItemLayout(r);if(HP(i)){var o=new this._LineCtor(t,r,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(r,o),this._progressiveEls.push(o)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){Yg(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){var r=e.getItemLayout(t);if(HP(r)){var i=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,i),this.group.add(i)}},e.prototype._doUpdate=function(e,t,n,r,i){var o=e.getItemGraphicEl(n);HP(t.getItemLayout(r))?(o?o.updateData(t,r,i):o=new this._LineCtor(t,r,i),t.setItemGraphicEl(r,o),this.group.add(o)):this.group.remove(o)},e}();function YP(e){return e.animators&&e.animators.length>0}function FP(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:nu(t)}}function zP(e){return isNaN(e[0])||isNaN(e[1])}function HP(e){return e&&!zP(e[0])&&!zP(e[1])}var VP=BP,WP=[],UP=[],$P=[],GP=Tt,qP=k,XP=Math.abs;function KP(e,t,n){for(var r,i=e[0],o=e[1],a=e[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){WP[0]=GP(i[0],o[0],a[0],c),WP[1]=GP(i[1],o[1],a[1],c);var d=XP(qP(WP,t)-l);d<s&&(s=d,r=c)}for(var h=0;h<32;h++){var f=r+u;UP[0]=GP(i[0],o[0],a[0],r),UP[1]=GP(i[1],o[1],a[1],r),$P[0]=GP(i[0],o[0],a[0],f),$P[1]=GP(i[1],o[1],a[1],f);d=qP(UP,t)-l;if(XP(d)<.01)break;var p=qP($P,t)-l;u/=2,d<0?p>=0?r+=u:r-=u:p>=0?r-=u:r+=u}return r}function ZP(e,t){var n=[],r=Dt,i=[[],[],[]],o=[[],[]],a=[];t/=2,e.eachEdge((function(e,s){var l=e.getLayout(),u=e.getVisual("fromSymbol"),h=e.getVisual("toSymbol");l.__original||(l.__original=[d(l[0]),d(l[1])],l[2]&&l.__original.push(d(l[2])));var f=l.__original;if(null!=l[2]){if(c(i[0],f[0]),c(i[1],f[2]),c(i[2],f[1]),u&&"none"!==u){var g=hP(e.node1),v=KP(i,f[0],g*t);r(i[0][0],i[1][0],i[2][0],v,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],v,n),i[0][1]=n[3],i[1][1]=n[4]}if(h&&"none"!==h){g=hP(e.node2),v=KP(i,f[1],g*t);r(i[0][0],i[1][0],i[2][0],v,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],v,n),i[1][1]=n[1],i[2][1]=n[2]}c(l[0],i[0]),c(l[1],i[2]),c(l[2],i[1])}else{if(c(o[0],f[0]),c(o[1],f[1]),m(a,o[1],o[0]),b(a,a),u&&"none"!==u){g=hP(e.node1);p(o[0],o[0],a,g*t)}if(h&&"none"!==h){g=hP(e.node2);p(o[1],o[1],a,-g*t)}c(l[0],o[0]),c(l[1],o[1])}}))}function JP(e){return"view"===e.type}var QP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){var n=new CM,r=new VP,i=this.group;this._controller=new gA(t.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},t.prototype.render=function(e,t,n){var r=this,i=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(JP(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):Wl(s,l,e)}ZP(e.getGraph(),dP(e));var u=e.getData();o.updateData(u);var c=e.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var d=e.forceLayout,h=e.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,h);var f=e.get("layout");u.graph.eachNode((function(t){var n=t.dataIndex,i=t.getGraphicEl(),o=t.getModel();if(i){i.off("drag").off("dragend");var a=o.get("draggable");a&&i.on("drag",(function(o){switch(f){case"force":d.warmUp(),!r._layouting&&r._startForceLayoutIteration(d,h),d.setFixed(n),u.setItemLayout(n,[i.x,i.y]);break;case"circular":u.setItemLayout(n,[i.x,i.y]),t.setLayout({fixed:!0},!0),mP(e,"symbolSize",t,[o.offsetX,o.offsetY]),r.updateLayout(e);break;case"none":default:u.setItemLayout(n,[i.x,i.y]),uP(e.getGraph(),e),r.updateLayout(e);break}})).on("dragend",(function(){d&&d.setUnfixed(n)})),i.setDraggable(a,!!o.get("cursor"));var s=o.get(["emphasis","focus"]);"adjacency"===s&&(Ts(i).focus=t.getAdjacentDataIndices())}})),u.graph.eachEdge((function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&(Ts(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})}));var p="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),m=u.getLayout("cx"),g=u.getLayout("cy");u.graph.eachNode((function(e){vP(e,p,m,g)})),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var n=this;(function r(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())}))})()},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!wA(t,n,e)})),JP(e.coordinateSystem)?(i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){vA(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){yA(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(),ZP(e.getGraph(),dP(e)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=dP(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(n)}))},t.prototype.updateLayout=function(e){ZP(e.getGraph(),dP(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(qg),eR=QP;function tR(e){return"_EC_"+e}var nR=function(){function e(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[tR(e)]){var r=new rR(e,t);return r.hostGraph=this,this.nodes.push(r),n[tR(e)]=r,r}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[tR(e)]},e.prototype.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if(l["z"](e)&&(e=this.nodes[e]),l["z"](t)&&(t=this.nodes[t]),e instanceof rR||(e=r[tR(e)]),t instanceof rR||(t=r[tR(t)]),e&&t){var o=e.id+"-"+t.id,a=new iR(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),i[o]=a,a}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof rR&&(e=e.id),t instanceof rR&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},e.prototype.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&e.call(t,n[i],i)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},e.prototype.breadthFirstTraverse=function(e,t,n,r){if(t instanceof rR||(t=this._nodesMap[tR(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(r,t,null)){var a=[t];while(a.length){var s=a.shift(),l=s[i];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(e.call(r,c,s))return;a.push(c),c.__visited=!0}}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,r=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)n[e.getRawIndex(i)].dataIndex=i;t.filterSelf((function(e){var n=r[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)r[t.getRawIndex(i)].dataIndex=i},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,r=this.edges,i=0;i<n.length;i++)t.addNode(n[i].id,n[i].dataIndex);for(i=0;i<r.length;i++){var o=r[i];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},e}(),rR=function(){function e(e,t){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==e?"":e,this.dataIndex=null==t?-1:t}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}},e.prototype.getAdjacentDataIndices=function(){for(var e={edge:[],node:[]},t=0;t<this.edges.length;t++){var n=this.edges[t];n.dataIndex<0||(e.edge.push(n.dataIndex),e.node.push(n.node1.dataIndex,n.node2.dataIndex))}return e},e.prototype.getTrajectoryDataIndices=function(){for(var e=l["f"](),t=l["f"](),n=0;n<this.edges.length;n++){var r=this.edges[n];if(!(r.dataIndex<0)){e.set(r.dataIndex,!0);var i=[r.node1],o=[r.node2],a=0;while(a<i.length){var s=i[a];a++,t.set(s.dataIndex,!0);for(var u=0;u<s.inEdges.length;u++)e.set(s.inEdges[u].dataIndex,!0),i.push(s.inEdges[u].node1)}a=0;while(a<o.length){var c=o[a];a++,t.set(c.dataIndex,!0);for(u=0;u<c.outEdges.length;u++)e.set(c.outEdges[u].dataIndex,!0),o.push(c.outEdges[u].node2)}}}return{edge:e.keys(),node:t.keys()}},e}(),iR=function(){function e(e,t,n){this.dataIndex=-1,this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}return e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.edgeData.getItemModel(this.dataIndex);return n.getModel(e)}},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var e=l["f"](),t=l["f"]();e.set(this.dataIndex,!0);var n=[this.node1],r=[this.node2],i=0;while(i<n.length){var o=n[i];i++,t.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)e.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}i=0;while(i<r.length){var s=r[i];i++,t.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)e.set(s.outEdges[a].dataIndex,!0),r.push(s.outEdges[a].node2)}return{edge:e.keys(),node:t.keys()}},e}();function oR(e,t){return{getValue:function(n){var r=this[e][t];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}l["K"](rR,oR("hostGraph","data")),l["K"](iR,oR("hostGraph","edgeData"));var aR=nR;function sR(e,t,n,r,i){for(var o=new aR(r),a=0;a<e.length;a++)o.addNode(l["O"](e[a].id,e[a].name,a),a);var s=[],u=[],c=0;for(a=0;a<t.length;a++){var d=t[a],h=d.source,f=d.target;o.addEdge(h,f,c)&&(u.push(d),s.push(l["O"](Mi(d.id,null),h+" > "+f)),c++)}var p,m=n.get("coordinateSystem");if("cartesian2d"===m||"polar"===m)p=pM(e,n);else{var g=Gd.get(m),v=g&&g.dimensions||[];l["r"](v,"value")<0&&v.concat(["value"]);var y=Zk(e,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;p=new Kk(y,n),p.initData(e)}var b=new Kk(["value"],n);return b.initData(u,s),i&&i(p,b),tI({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var lR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new IC(r,r),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(t){e.prototype.mergeDefaultAndTheme.apply(this,arguments),di(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],i=this;if(r&&n){oP(this);var o=sR(r,n,this,!0,a);return l["k"](o.edges,(function(e){aP(e.node1,e.node2,this,e.dataIndex)}),this),o.data}function a(e,t){e.wrapMethod("getItemModel",(function(e){var t=i._categoriesModels,n=e.getShallow("category"),r=t[n];return r&&(r.parentModel=e.parentModel,e.parentModel=r),e}));var n=Tu.prototype.getModel;function r(e,t){var r=n.call(this,e,t);return r.resolveParentPath=o,r}function o(e){if(e&&("label"===e[0]||"label"===e[1])){var t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}t.wrapMethod("getItemModel",(function(e){return e.resolveParentPath=o,e.getModel=r,e}))}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,t,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(e,n),o=r.graph.getEdgeByIndex(e),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Xf("nameValue",{name:l.join(" > "),value:i.value,noValue:null==i.value})}var u=dp({series:this,dataIndex:e,multipleSeries:t});return u},t.prototype._updateCategoriesData=function(){var e=l["H"](this.option.categories||[],(function(e){return null!=e.value?e:l["m"]({value:0},e)})),t=new Kk(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e)}))},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Sp),uR=lR,cR={type:"graphRoam",event:"graphRoam",update:"none"};function dR(e){e.registerChartView(eR),e.registerSeriesModel(uR),e.registerProcessor(Gj),e.registerVisual(qj),e.registerVisual(Kj),e.registerLayout(cP),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,yP),e.registerLayout(wP),e.registerCoordinateSystem("graphView",{dimensions:tE.dimensions,create:kP}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},l["L"]),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},l["L"]),e.registerAction(cR,(function(e,t,n){t.eachComponent({mainType:"series",query:e},(function(t){var r=t.coordinateSystem,i=mE(r,e,void 0,n);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))}var hR=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),fR=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return a(t,e),t.prototype.getDefaultShape=function(){return new hR},t.prototype.buildPath=function(e,t){var n=Math.cos,r=Math.sin,i=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=i/3?1:2),l=t.y-r(a)*o*(o>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+r(a)*o),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(a)*o,t.y-r(a)*o),e.lineTo(s,l)},t}(Ua),pR=fR;function mR(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i),a=Br(n[0],t.getWidth()),s=Br(n[1],t.getHeight()),l=Br(e.get("radius"),o/2);return{cx:a,cy:s,r:l}}function gR(e,t){var n=null==e?"":e+"";return t&&(Object(l["C"])(t)?n=t.replace("{value}",n):Object(l["w"])(t)&&(n=t(e))),n}var vR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var r=e.get(["axisLine","lineStyle","color"]),i=mR(e,n);this._renderMain(e,t,n,r,i),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,r,i){var o=this.group,a=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,u=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),d=c.get("roundCap"),h=d?NS:wm,f=c.get("show"),p=c.getModel("lineStyle"),m=p.get("width"),g=[s,u];va(g,!a),s=g[0],u=g[1];for(var v=u-s,y=s,b=[],_=0;f&&_<r.length;_++){var w=Math.min(Math.max(r[_][0],0),1);u=s+v*w;var x=new h({shape:{startAngle:y,endAngle:u,cx:i.cx,cy:i.cy,clockwise:a,r0:i.r-m,r:i.r},silent:!0});x.setStyle({fill:r[_][1]}),x.setStyle(p.getLineStyle(["color","width"])),b.push(x),y=u}b.reverse(),Object(l["k"])(b,(function(e){return o.add(e)}));var k=function(e){if(e<=0)return r[0][1];var t;for(t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};this._renderTicks(e,t,n,k,i,s,u,a,m),this._renderTitleAndDetail(e,t,n,k,i),this._renderAnchor(e,i),this._renderPointer(e,t,n,k,i,s,u,a,m)},t.prototype._renderTicks=function(e,t,n,r,i,o,a,s,u){for(var c,d,h=this.group,f=i.cx,p=i.cy,m=i.r,g=+e.get("min"),v=+e.get("max"),y=e.getModel("splitLine"),b=e.getModel("axisTick"),_=e.getModel("axisLabel"),w=e.get("splitNumber"),x=b.get("splitNumber"),k=Br(y.get("length"),m),M=Br(b.get("length"),m),S=o,C=(a-o)/w,T=C/x,O=y.getModel("lineStyle").getLineStyle(),L=b.getModel("lineStyle").getLineStyle(),A=y.get("distance"),D=0;D<=w;D++){if(c=Math.cos(S),d=Math.sin(S),y.get("show")){var E=A?A+u:u,I=new Rm({shape:{x1:c*(m-E)+f,y1:d*(m-E)+p,x2:c*(m-k-E)+f,y2:d*(m-k-E)+p},style:O,silent:!0});"auto"===O.stroke&&I.setStyle({stroke:r(D/w)}),h.add(I)}if(_.get("show")){E=_.get("distance")+A;var j=gR(Yr(D/w*(v-g)+g),_.get("formatter")),P=r(D/w),R=c*(m-k-E)+f,N=d*(m-k-E)+p,B=_.get("rotate"),Y=0;"radial"===B?(Y=-S+2*Math.PI,Y>Math.PI/2&&(Y+=Math.PI)):"tangential"===B?Y=-S-Math.PI/2:Object(l["z"])(B)&&(Y=B*Math.PI/180),0===Y?h.add(new Cs({style:ru(_,{text:j,x:R,y:N,verticalAlign:d<-.8?"top":d>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:P}),silent:!0})):h.add(new Cs({style:ru(_,{text:j,x:R,y:N,verticalAlign:"middle",align:"center"},{inheritColor:P}),silent:!0,originX:R,originY:N,rotation:Y}))}if(b.get("show")&&D!==w){E=b.get("distance");E=E?E+u:u;for(var F=0;F<=x;F++){c=Math.cos(S),d=Math.sin(S);var z=new Rm({shape:{x1:c*(m-E)+f,y1:d*(m-E)+p,x2:c*(m-M-E)+f,y2:d*(m-M-E)+p},silent:!0,style:L});"auto"===L.stroke&&z.setStyle({stroke:r((D+F/x)/w)}),h.add(z),S+=T}S-=T}else S+=C}},t.prototype._renderPointer=function(e,t,n,r,i,o,a,s,u){var c=this.group,d=this._data,h=this._progressEls,f=[],p=e.get(["pointer","show"]),m=e.getModel("progress"),g=m.get("show"),v=e.getData(),y=v.mapDimension("value"),b=+e.get("min"),_=+e.get("max"),w=[b,_],x=[o,a];function k(t,n){var r,o=v.getItemModel(t),a=o.getModel("pointer"),s=Br(a.get("width"),i.r),l=Br(a.get("length"),i.r),u=e.get(["pointer","icon"]),c=a.get("offsetCenter"),d=Br(c[0],i.r),h=Br(c[1],i.r),f=a.get("keepAspect");return r=u?sy(u,d-s/2,h-l,s,l,null,f):new pR({shape:{angle:-Math.PI/2,width:s,r:l,x:d,y:h}}),r.rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function M(e,t){var n=m.get("roundCap"),r=n?NS:wm,a=m.get("overlap"),l=a?m.get("width"):u/v.count(),c=a?i.r-l:i.r-(e+1)*l,d=a?i.r:i.r-e*l,h=new r({shape:{startAngle:o,endAngle:t,cx:i.cx,cy:i.cy,clockwise:s,r0:c,r:d}});return a&&(h.z2=Nr(v.get(y,e),[b,_],[100,0],!0)),h}(g||p)&&(v.diff(d).add((function(t){var n=v.get(y,t);if(p){var r=k(t,o);Ul(r,{rotation:-((isNaN(+n)?x[0]:Nr(n,w,x,!0))+Math.PI/2)},e),c.add(r),v.setItemGraphicEl(t,r)}if(g){var i=M(t,o),a=m.get("clip");Ul(i,{shape:{endAngle:Nr(n,w,x,a)}},e),c.add(i),Os(e.seriesIndex,v.dataType,t,i),f[t]=i}})).update((function(t,n){var r=v.get(y,t);if(p){var i=d.getItemGraphicEl(n),a=i?i.rotation:o,s=k(t,a);s.rotation=a,Wl(s,{rotation:-((isNaN(+r)?x[0]:Nr(r,w,x,!0))+Math.PI/2)},e),c.add(s),v.setItemGraphicEl(t,s)}if(g){var l=h[n],u=l?l.shape.endAngle:o,b=M(t,u),_=m.get("clip");Wl(b,{shape:{endAngle:Nr(r,w,x,_)}},e),c.add(b),Os(e.seriesIndex,v.dataType,t,b),f[t]=b}})).execute(),v.each((function(e){var t=v.getItemModel(e),n=t.getModel("emphasis"),i=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(p){var s=v.getItemGraphicEl(e),u=v.getItemVisual(e,"style"),c=u.fill;if(s instanceof Qa){var d=s.style;s.useStyle(Object(l["m"])({image:d.image,x:d.x,y:d.y,width:d.width,height:d.height},u))}else s.useStyle(u),"pointer"!==s.type&&s.setColor(c);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(Nr(v.get(y,e),w,[0,1],!0))),s.z2EmphasisLift=0,Il(s,t),Ll(s,i,o,a)}if(g){var h=f[e];h.useStyle(v.getItemVisual(e,"style")),h.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,Il(h,t),Ll(h,i,o,a)}})),this._progressEls=f)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor"),r=n.get("show");if(r){var i=n.get("size"),o=n.get("icon"),a=n.get("offsetCenter"),s=n.get("keepAspect"),l=sy(o,t.cx-i/2+Br(a[0],t.r),t.cy-i/2+Br(a[1],t.r),i,i,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},t.prototype._renderTitleAndDetail=function(e,t,n,r,i){var o=this,a=e.getData(),s=a.mapDimension("value"),l=+e.get("min"),u=+e.get("max"),c=new kr,d=[],h=[],f=e.isAnimationEnabled(),p=e.get(["pointer","showAbove"]);a.diff(this._data).add((function(e){d[e]=new Cs({silent:!0}),h[e]=new Cs({silent:!0})})).update((function(e,t){d[e]=o._titleEls[t],h[e]=o._detailEls[t]})).execute(),a.each((function(t){var n=a.getItemModel(t),o=a.get(s,t),m=new kr,g=r(Nr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),b=i.cx+Br(y[0],i.r),_=i.cy+Br(y[1],i.r),w=d[t];w.attr({z2:p?0:2,style:ru(v,{x:b,y:_,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(w)}var x=n.getModel("detail");if(x.get("show")){var k=x.get("offsetCenter"),M=i.cx+Br(k[0],i.r),S=i.cy+Br(k[1],i.r),C=Br(x.get("width"),i.r),T=Br(x.get("height"),i.r),O=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:g,L=(w=h[t],x.get("formatter"));w.attr({z2:p?0:2,style:ru(x,{x:M,y:S,text:gR(o,L),width:isNaN(C)?null:C,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:O})}),fu(w,{normal:x},o,(function(e){return gR(e,L)})),f&&pu(w,t,a,e,{getFormattedLabel:function(e,t,n,r,i,a){return gR(a?a.interpolatedValue:o,L)}}),m.add(w)}c.add(m)})),this.group.add(c),this._titleEls=d,this._detailEls=h},t.type="gauge",t}(qg),yR=vR,bR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return a(t,e),t.prototype.getInitialData=function(e,t){return DC(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(Sp),_R=bR;function wR(e){e.registerChartView(yR),e.registerSeriesModel(_R)}var xR=["itemStyle","opacity"],kR=function(e){function t(t,n){var r=e.call(this)||this,i=r,o=new Em,a=new Cs;return i.setTextContent(a),r.setTextGuideLine(o),r.updateData(t,n,!0),r}return a(t,e),t.prototype.updateData=function(e,t,n){var r=this,i=e.hostModel,o=e.getItemModel(t),a=e.getItemLayout(t),s=o.getModel("emphasis"),l=o.get(xR);l=null==l?1:l,n||Kl(r),r.useStyle(e.getItemVisual(t,"style")),r.style.lineJoin="round",n?(r.setShape({points:a.points}),r.style.opacity=0,Ul(r,{style:{opacity:l}},i,t)):Wl(r,{style:{opacity:l},shape:{points:a.points}},i,t),Il(r,o),this._updateLabel(e,t),Ll(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"style"),c=u.fill;tu(i,nu(a),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:u.opacity,defaultText:e.getName(t)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:c,outsideFill:c});var d=l.linePoints;r.setShape({points:d}),n.textGuideLineConfig={anchor:d?new ye(d[0][0],d[0][1]):null},Wl(i,{style:{x:l.x,y:l.y}},o,t),i.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),aw(n,sw(a),{stroke:c})},t}(Lm),MR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._data,o=this.group;r.diff(i).add((function(e){var t=new kR(r,e);r.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),o.add(n),r.setItemGraphicEl(e,n)})).remove((function(t){var n=i.getItemGraphicEl(t);Xl(n,e,t)})).execute(),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(qg),SR=MR,CR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new IC(l["c"](this.getData,this),l["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return DC(this,{coordDimensions:["value"],encodeDefaulter:l["h"](fd,this)})},t.prototype._defaultLabelLine=function(e){di(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var n=this.getData(),r=e.prototype.getDataParams.call(this,t),i=n.mapDimension("value"),o=n.getSum(i);return r.percent=o?+(n.get(i,t)/o*100).toFixed(2):0,r.$vars.push("percent"),r},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Sp),TR=CR;function OR(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function LR(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),i=[],o="ascending"===t,a=0,s=e.count();a<s;a++)i[a]=a;return Object(l["w"])(t)?i.sort(t):"none"!==t&&i.sort((function(e,t){return o?r[e]-r[t]:r[t]-r[e]})),i}function AR(e){var t=e.hostModel,n=t.get("orient");e.each((function(t){var r,i,o,a,s=e.getItemModel(t),l=s.getModel("label"),u=l.get("position"),c=s.getModel("labelLine"),d=e.getItemLayout(t),h=d.points,f="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(f)"insideLeft"===u?(i=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,r="left"):"insideRight"===u?(i=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,r="right"):(i=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,r="center"),a=[[i,o],[i,o]];else{var p=void 0,m=void 0,g=void 0,v=void 0,y=c.get("length");0,"left"===u?(p=(h[3][0]+h[0][0])/2,m=(h[3][1]+h[0][1])/2,g=p-y,i=g-5,r="right"):"right"===u?(p=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,g=p+y,i=g+5,r="left"):"top"===u?(p=(h[3][0]+h[0][0])/2,m=(h[3][1]+h[0][1])/2,v=m-y,o=v-5,r="center"):"bottom"===u?(p=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,v=m+y,o=v+5,r="center"):"rightTop"===u?(p="horizontal"===n?h[3][0]:h[1][0],m="horizontal"===n?h[3][1]:h[1][1],"horizontal"===n?(v=m-y,o=v-5,r="center"):(g=p+y,i=g+5,r="top")):"rightBottom"===u?(p=h[2][0],m=h[2][1],"horizontal"===n?(v=m+y,o=v+5,r="center"):(g=p+y,i=g+5,r="bottom")):"leftTop"===u?(p=h[0][0],m="horizontal"===n?h[0][1]:h[1][1],"horizontal"===n?(v=m-y,o=v-5,r="center"):(g=p-y,i=g-5,r="right")):"leftBottom"===u?(p="horizontal"===n?h[1][0]:h[3][0],m="horizontal"===n?h[1][1]:h[2][1],"horizontal"===n?(v=m+y,o=v+5,r="center"):(g=p-y,i=g-5,r="right")):(p=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,"horizontal"===n?(v=m+y,o=v+5,r="center"):(g=p+y,i=g+5,r="left")),"horizontal"===n?(g=p,i=g):(v=m,o=v),a=[[p,m],[g,v]]}d.label={linePoints:a,x:i,y:o,verticalAlign:"middle",textAlign:r,inside:f}}))}function DR(e,t){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),r=n.mapDimension("value"),i=e.get("sort"),o=OR(e,t),a=e.get("orient"),s=o.width,l=o.height,u=LR(n,i),c=o.x,d=o.y,h="horizontal"===a?[Br(e.get("minSize"),l),Br(e.get("maxSize"),l)]:[Br(e.get("minSize"),s),Br(e.get("maxSize"),s)],f=n.getDataExtent(r),p=e.get("min"),m=e.get("max");null==p&&(p=Math.min(f[0],0)),null==m&&(m=f[1]);var g=e.get("funnelAlign"),v=e.get("gap"),y="horizontal"===a?s:l,b=(y-v*(n.count()-1))/n.count(),_=function(e,t){if("horizontal"===a){var i=n.get(r,e)||0,o=Nr(i,[p,m],h,!0),u=void 0;switch(g){case"top":u=d;break;case"center":u=d+(l-o)/2;break;case"bottom":u=d+(l-o);break}return[[t,u],[t,u+o]]}var f,v=n.get(r,e)||0,y=Nr(v,[p,m],h,!0);switch(g){case"left":f=c;break;case"center":f=c+(s-y)/2;break;case"right":f=c+s-y;break}return[[f,t],[f+y,t]]};"ascending"===i&&(b=-b,v=-v,"horizontal"===a?c+=s:d+=l,u=u.reverse());for(var w=0;w<u.length;w++){var x=u[w],k=u[w+1],M=n.getItemModel(x);if("horizontal"===a){var S=M.get(["itemStyle","width"]);null==S?S=b:(S=Br(S,s),"ascending"===i&&(S=-S));var C=_(x,c),T=_(k,c+S);c+=S+v,n.setItemLayout(x,{points:C.concat(T.slice().reverse())})}else{var O=M.get(["itemStyle","height"]);null==O?O=b:(O=Br(O,l),"ascending"===i&&(O=-O));C=_(x,d),T=_(k,d+O);d+=O+v,n.setItemLayout(x,{points:C.concat(T.slice().reverse())})}}AR(n)}))}function ER(e){e.registerChartView(SR),e.registerSeriesModel(TR),e.registerLayout(DR),e.registerProcessor(wC("funnel"))}var IR=.3,jR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new kr,n._initialized=!1,n}return a(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._dataGroup,o=e.getData(),a=this._data,s=e.coordinateSystem,l=s.dimensions,u=BR(e);function c(e){var t=NR(o,i,e,l,s);YR(t,o,e,u)}function d(t,n){var r=a.getItemGraphicEl(n),i=RR(o,t,l,s);o.setItemGraphicEl(t,r),Wl(r,{shape:{points:i}},e,t),Kl(r),YR(r,o,t,u)}function h(e){var t=a.getItemGraphicEl(e);i.remove(t)}if(o.diff(a).add(c).update(d).remove(h).execute(),!this._initialized){this._initialized=!0;var f=PR(s,e,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(f)}this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,t,n){for(var r=t.getData(),i=t.coordinateSystem,o=i.dimensions,a=BR(t),s=this._progressiveEls=[],l=e.start;l<e.end;l++){var u=NR(r,this._dataGroup,l,o,i);u.incremental=!0,YR(u,r,l,a),s.push(u)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(qg);function PR(e,t,n){var r=e.model,i=e.getRect(),o=new ls({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),a="horizontal"===r.get("layout")?"width":"height";return o.setShape(a,0),Ul(o,{shape:{width:i.width,height:i.height}},t,n),o}function RR(e,t,n,r){for(var i=[],o=0;o<n.length;o++){var a=n[o],s=e.get(e.mapDimension(a),t);FR(s,r.getAxis(a).type)||i.push(r.dataToPoint(s,a))}return i}function NR(e,t,n,r,i){var o=RR(e,n,r,i),a=new Em({shape:{points:o},z2:10});return t.add(a),e.setItemGraphicEl(n,a),a}function BR(e){var t=e.get("smooth",!0);return!0===t&&(t=IR),t=ni(t),Object(l["l"])(t)&&(t=0),{smooth:t}}function YR(e,t,n,r){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",r.smooth);var i=t.getItemModel(n),o=i.getModel("emphasis");Il(e,i,"lineStyle"),Ll(e,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function FR(e,t){return"category"===t?null==e:null==e||isNaN(e)}var zR=jR,HR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return a(t,e),t.prototype.getInitialData=function(e,t){return pM(null,this,{useEncodeDefaulter:Object(l["c"])(VR,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,(function(t,i){e===t&&r.push(n.getRawIndex(i))})),r},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(Sp);function VR(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return Object(l["k"])(t.dimensions,(function(e){var t=WR(e);n[e]=t})),n}}function WR(e){return+e.replace("dim","")}var UR=HR,$R=["lineStyle","opacity"],GR={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,r={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(e,t){n.eachActiveState(t,(function(e,n){var i=r[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(n).get($R,!0);null!=o&&(i=o)}var a=t.ensureUniqueItemVisual(n,"style");a.opacity=i}),e.start,e.end)}}}},qR=GR;function XR(e){KR(e),ZR(e)}function KR(e){if(!e.parallel){var t=!1;l["k"](e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function ZR(e){var t=ci(e.parallelAxis);l["k"](t,(function(t){if(l["A"](t)){var n=t.parallelIndex||0,r=ci(e.parallel)[n];r&&r.parallelAxisDefault&&l["I"](t,r.parallelAxisDefault,!1)}}))}var JR=5,QR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},Object(l["k"])(eN,(function(e,t){n.getZr().on(t,this._handlers[t]=Object(l["c"])(e,this))}),this)),Qg(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){ev(this,"_throttledDispatchExpand"),Object(l["k"])(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(Object(l["m"])({type:"parallelAxisExpand"},e))},t.type="parallel",t}(Tp),eN={mousedown:function(e){tN(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(tN(this,"click")&&t){var n=[e.offsetX,e.offsetY],r=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(r>JR)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&tN(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function tN(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}var nN=QR,rN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&l["I"](t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},t.prototype.setAxisExpand=function(e){l["k"](["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=l["n"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);l["k"](n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Kc),iN=rN,oN=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.axisIndex=o,a}return a(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(FO),aN=oN;function sN(e,t,n,r,i,o){e=e||0;var a=n[1]-n[0];if(null!=i&&(i=uN(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var s=Math.abs(t[1]-t[0]);s=uN(s,[0,a]),i=o=uN(s,[i,o]),r=0}t[0]=uN(t[0],n),t[1]=uN(t[1],n);var l=lN(t,r);t[r]+=e;var u,c=i||0,d=n.slice();return l.sign<0?d[0]+=c:d[1]-=c,t[r]=uN(t[r],d),u=lN(t,r),null!=i&&(u.sign!==l.sign||u.span<i)&&(t[1-r]=t[r]+l.sign*i),u=lN(t,r),null!=o&&u.span>o&&(t[1-r]=t[r]+u.sign*o),t}function lN(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function uN(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var cN=l["k"],dN=Math.min,hN=Math.max,fN=Math.floor,pN=Math.ceil,mN=Yr,gN=Math.PI,vN=function(){function e(e,t,n){this.type="parallel",this._axesMap=l["f"](),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;cN(r,(function(e,n){var r=i[n],o=t.getComponent("parallelAxis",r),a=this._axesMap.set(e,new aN(e,iO(o),[0,0],o.get("type"),r)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],a=e[i];return o>=n&&o<=n+t.axisLength&&a>=r&&a<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();cN(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),rO(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],u=this.dimensions.length,c=yN(t.get("axisExpandWidth"),l),d=yN(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,f=t.get("axisExpandWindow");if(f)e=yN(f[1]-f[0],l),f[1]=f[0]+e;else{e=yN(c*(d-1),l);var p=t.get("axisExpandCenter")||fN(u/2);f=[c*p-e/2],f[1]=f[0]+e}var m=(s-e)/(u-d);m<3&&(m=0);var g=[fN(mN(f[0]/c,1))+1,pN(mN(f[1]/c,1))-1],v=m/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:m,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:v}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),cN(n,(function(t,n){var o=(r.axisExpandable?_N:bN)(n,r),a={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:gN/2,vertical:0},l=[a[i].x+e.x,a[i].y+e.y],u=s[i],c=le();fe(c,c,u),he(c,c,l),this._axesLayout[t]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];l["k"](o,(function(t){a.push(e.mapDimension(t)),s.push(i.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;c<r;c++){var d=void 0;if(u){d="active";for(var h=e.getValues(a,c),f=0,p=o.length;f<p;f++){var m=s[f].getActiveState(h[f]);if("inactive"===m){d="inactive";break}}}else d="normal";t(d,c)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,n=!1,r=0,i=e.length;r<i;r++)"normal"!==t.get(e[r]).model.getActiveState()&&(n=!0);return n},e.prototype.axisCoordToPoint=function(e,t){var n=this._axesLayout[t];return Sg([e,0],n.transform)},e.prototype.getAxisLayout=function(e){return l["d"](this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,r=t.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:r};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),d=null!=c[0];if(u)d&&u&&s<i*c[0]?(l="jump",a=s-i*c[2]):d&&u&&s>i*(1-c[0])?(l="jump",a=s-i*(1-c[2])):(a=s-i*c[1])>=0&&(a=s-i*(1-c[1]))<=0&&(a=0),a*=t.axisExpandWidth/u,a?sN(a,r,o,"all"):l="none";else{var h=r[1]-r[0],f=o[1]*s/h;r=[hN(0,f-h/2)],r[1]=dN(o[1],r[0]+h),r[0]=r[1]-h}return{axisExpandWindow:r,behavior:l}},e}();function yN(e,t){return dN(hN(e,t[0]),t[1])}function bN(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function _N(e,t){var n,r,i=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(n=e*s,r=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],u=o,c=!0):(n=i-(a-1-e)*s,r=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:r}}var wN=vN;function xN(e,t){var n=[];return e.eachComponent("parallel",(function(r,i){var o=new wN(r,e,t);o.name="parallel_"+i,o.resize(r,t),r.coordinateSystem=o,o.model=r,n.push(o)})),e.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",Ri).models[0];e.coordinateSystem=t.coordinateSystem}})),n}var kN={create:xN},MN=kN,SN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return a(t,e),t.prototype.getAreaSelectStyle=function(){return io([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=l["d"](e);if(t)for(var n=t.length-1;n>=0;n--)Fr(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,i=t.length;r<i;r++)if(t[r][0]<=e&&e<=t[r][1])return"active";return"inactive"},t}(Kc);l["K"](SN,KC);var CN=SN,TN=!0,ON=Math.min,LN=Math.max,AN=Math.pow,DN=1e4,EN=6,IN=6,jN="globalPan",PN={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},RN={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},NN={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},BN=0,YN=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new kr,n._uid="brushController_"+BN++,Object(l["k"])(vB,(function(e,t){this._handlers[t]=Object(l["c"])(e,this)}),n),n}return a(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||lA(t,jN,this._uid),Object(l["k"])(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=Object(l["I"])(Object(l["d"])(NN),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;uA(e,jN,this._uid),Object(l["k"])(this._handlers,(function(t,n){e.off(n,t)})),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};Object(l["k"])(e,(function(e){t[e.panelId]=Object(l["d"])(e)}))}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Object(l["H"])(e,(function(e){return Object(l["I"])(Object(l["d"])(NN),e,!0)}));var t="\0-brush-index-",n=this._covers,r=this._covers=[],i=this,o=this._creatingCover;return new _k(n,e,s,a).add(u).update(u).remove(c).execute(),this;function a(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function s(e,t){return a(e.__brushOption,t)}function u(t,a){var s=e[t];if(null!=a&&n[a]===o)r[t]=n[a];else{var l=r[t]=null!=a?(n[a].__brushOption=s,n[a]):zN(i,FN(i,s));WN(i,l)}}function c(e){n[e]!==o&&i.group.remove(n[e])}},t.prototype.unmount=function(){return this.enableBrush(!1),qN(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(E);function FN(e,t){var n=_B[t.brushType].createCover(e,t);return n.__brushOption=t,VN(n,t),e.group.add(n),n}function zN(e,t){var n=UN(t);return n.endCreating&&(n.endCreating(e,t),VN(t,t.__brushOption)),t}function HN(e,t){var n=t.__brushOption;UN(t).updateCoverShape(e,t,n.range,n)}function VN(e,t){var n=t.z;null==n&&(n=DN),e.traverse((function(e){e.z=n,e.z2=n}))}function WN(e,t){UN(t).updateCommon(e,t),HN(e,t)}function UN(e){return _B[e.__brushOption.brushType]}function $N(e,t,n){var r,i=e._panels;if(!i)return TN;var o=e._transform;return Object(l["k"])(i,(function(e){e.isTargetByCursor(t,n,o)&&(r=e)})),r}function GN(e,t){var n=e._panels;if(!n)return TN;var r=t.__brushOption.panelId;return null!=r?n[r]:TN}function qN(e){var t=e._covers,n=t.length;return Object(l["k"])(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function XN(e,t){var n=Object(l["H"])(e._covers,(function(e){var t=e.__brushOption,n=Object(l["d"])(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function KN(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1],a=AN(i*i+o*o,.5);return a>EN}function ZN(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function JN(e,t,n,r){var i=new kr;return i.add(new ls({name:"main",style:nB(n),silent:!0,draggable:!0,cursor:"move",drift:Object(l["h"])(sB,e,t,i,["n","s","w","e"]),ondragend:Object(l["h"])(XN,t,{isEnd:!0})})),Object(l["k"])(r,(function(n){i.add(new ls({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(l["h"])(sB,e,t,i,n),ondragend:Object(l["h"])(XN,t,{isEnd:!0})}))})),i}function QN(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=LN(i,IN),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],d=n[1][1],h=c-o+i/2,f=d-o+i/2,p=c-a,m=d-s,g=p+i,v=m+i;tB(e,t,"main",a,s,p,m),r.transformable&&(tB(e,t,"w",l,u,o,v),tB(e,t,"e",h,u,o,v),tB(e,t,"n",l,u,g,o),tB(e,t,"s",l,f,g,o),tB(e,t,"nw",l,u,o,o),tB(e,t,"ne",h,u,o,o),tB(e,t,"sw",l,f,o,o),tB(e,t,"se",h,f,o,o))}function eB(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(nB(n)),i.attr({silent:!r,cursor:r?"move":"default"}),Object(l["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=t.childOfName(n.join("")),o=1===n.length?oB(e,n[0]):aB(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?RN[o]+"-resize":null})}))}function tB(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape(dB(cB(e,t,[[r,i],[r+o,i+a]])))}function nB(e){return Object(l["i"])({strokeNoScale:!0},e.brushStyle)}function rB(e,t,n,r){var i=[ON(e,n),ON(t,r)],o=[LN(e,n),LN(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function iB(e){return Mg(e.group)}function oB(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=Cg(n[t],iB(e));return r[i]}function aB(e,t){var n=[oB(e,t[0]),oB(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function sB(e,t,n,r,i,o){var a=n.__brushOption,s=e.toRectRange(a.range),u=uB(t,i,o);Object(l["k"])(r,(function(e){var t=PN[e];s[t[0]][t[1]]+=u[t[0]]})),a.range=e.fromRectRange(rB(s[0][0],s[1][0],s[0][1],s[1][1])),WN(t,n),XN(t,{isEnd:!1})}function lB(e,t,n,r){var i=t.__brushOption.range,o=uB(e,n,r);Object(l["k"])(i,(function(e){e[0]+=o[0],e[1]+=o[1]})),WN(e,t),XN(e,{isEnd:!1})}function uB(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function cB(e,t,n){var r=GN(e,t);return r&&r!==TN?r.clipPath(n,e._transform):Object(l["d"])(n)}function dB(e){var t=ON(e[0][0],e[1][0]),n=ON(e[0][1],e[1][1]),r=LN(e[0][0],e[1][0]),i=LN(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function hB(e,t,n){if(e._brushType&&!bB(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=$N(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(o===TN||s.panelId===o.panelId)&&_B[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}function fB(e){var t=e.event;t.preventDefault&&t.preventDefault()}function pB(e,t,n){return e.childOfName("main").contain(t,n)}function mB(e,t,n,r){var i,o=e._creatingCover,a=e._creatingPanel,s=e._brushOption;if(e._track.push(n.slice()),KN(e)||o){if(a&&!o){"single"===s.brushMode&&qN(e);var u=Object(l["d"])(s);u.brushType=gB(u.brushType,a),u.panelId=a===TN?null:a.panelId,o=e._creatingCover=FN(e,u),e._covers.push(o)}if(o){var c=_B[gB(e._brushType,a)],d=o.__brushOption;d.range=c.getCreatingRange(cB(e,o,e._track)),r&&(zN(e,o),c.updateCommon(e,o)),HN(e,o),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&$N(e,t,n)&&qN(e)&&(i={isEnd:r,removeOnClick:!0});return i}function gB(e,t){return"auto"===e?t.defaultBrushType:e}var vB={mousedown:function(e){if(this._dragging)yB(this,e);else if(!e.target||!e.target.draggable){fB(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=$N(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(hB(this,e,r),this._dragging){fB(e);var i=mB(this,e,r,!1);i&&XN(this,i)}},mouseup:function(e){yB(this,e)}};function yB(e,t){if(e._dragging){fB(t);var n=t.offsetX,r=t.offsetY,i=e.group.transformCoordToLocal(n,r),o=mB(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&XN(e,o)}}function bB(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var _B={lineX:wB(0),lineY:wB(1),rect:{createCover:function(e,t){function n(e){return e}return JN({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=ZN(e);return rB(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){QN(e,t,n,r)},updateCommon:eB,contain:pB},polygon:{createCover:function(e,t){var n=new kr;return n.add(new Em({name:"main",style:nB(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Lm({name:"main",draggable:!0,drift:Object(l["h"])(lB,e,t),ondragend:Object(l["h"])(XN,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:cB(e,t,n)})},updateCommon:eB,contain:pB}};function wB(e){return{createCover:function(t,n){return JN({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=ZN(t),r=ON(n[0][e],n[1][e]),i=LN(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=GN(t,n);if(a!==TN&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),QN(t,n,l,i)},updateCommon:eB,contain:pB}}var xB=YN;function kB(e){return e=CB(e),function(t){return Ag(t,e)}}function MB(e,t){return e=CB(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function SB(e,t,n){var r=CB(e);return function(e,i){return r.contain(i[0],i[1])&&!wA(e,t,n)}}function CB(e){return Oe.create(e)}var TB=["axisLine","axisTickLabel","axisName"],OB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new xB(n.getZr())).on("brush",l["c"](this._onBrush,this))},t.prototype.render=function(e,t,n,r){if(!LB(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new kr,this.group.add(this._axisGroup),e.get("show")){var o=DB(e,t),a=o.coordinateSystem,s=e.getAreaSelectStyle(),u=s.width,c=e.axis.dim,d=a.getAxisLayout(c),h=l["m"]({strokeContainThreshold:u},d),f=new hL(e,h);l["k"](TB,f.add,f),this._axisGroup.add(f.getGroup()),this._refreshBrushController(h,s,e,o,u,n),Lg(i,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,r,i,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Oe.create({x:a[0],y:-i/2,width:s,height:i});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:kB(u),isTargetByCursor:SB(u,o,r),getLinearBrushOtherExtent:MB(u,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(AB(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,r=n.axis,i=l["H"](t,(function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(Tp);function LB(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function AB(e){var t=e.axis;return l["H"](e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function DB(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var EB=OB,IB={type:"axisAreaSelect",event:"axisAreaSelected"};function jB(e){e.registerAction(IB,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),e.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))}var PB={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function RB(e){e.registerComponentView(nN),e.registerComponentModel(iN),e.registerCoordinateSystem("parallel",MN),e.registerPreprocessor(XR),e.registerComponentModel(CN),e.registerComponentView(EB),uT(e,"parallel",CN,PB),jB(e)}function NB(e){N_(RB),e.registerChartView(zR),e.registerSeriesModel(UR),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,qR)}var BB=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return e}(),YB=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new BB},t.prototype.buildPath=function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){dl(this)},t}(Ua),FB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this,i=e.getGraph(),o=this.group,a=e.layoutInfo,s=a.width,u=a.height,c=e.getData(),d=e.getData("edge"),h=e.get("orient");this._model=e,o.removeAll(),o.x=a.x,o.y=a.y,i.eachEdge((function(t){var n=new YB,r=Ts(n);r.dataIndex=t.dataIndex,r.seriesIndex=e.seriesIndex,r.dataType="edge";var i,a,c,f,p,m,g,v,y=t.getModel(),b=y.getModel("lineStyle"),_=b.get("curveness"),w=t.node1.getLayout(),x=t.node1.getModel(),k=x.get("localX"),M=x.get("localY"),S=t.node2.getLayout(),C=t.node2.getModel(),T=C.get("localX"),O=C.get("localY"),L=t.getLayout();n.shape.extent=Math.max(1,L.dy),n.shape.orient=h,"vertical"===h?(i=(null!=k?k*s:w.x)+L.sy,a=(null!=M?M*u:w.y)+w.dy,c=(null!=T?T*s:S.x)+L.ty,f=null!=O?O*u:S.y,p=i,m=a*(1-_)+f*_,g=c,v=a*_+f*(1-_)):(i=(null!=k?k*s:w.x)+w.dx,a=(null!=M?M*u:w.y)+L.sy,c=null!=T?T*s:S.x,f=(null!=O?O*u:S.y)+L.ty,p=i*(1-_)+c*_,m=a,g=i*_+c*(1-_),v=f),n.setShape({x1:i,y1:a,x2:c,y2:f,cpx1:p,cpy1:m,cpx2:g,cpy2:v}),n.useStyle(b.getItemStyle()),zB(n.style,h,t);var A=""+y.get("value"),D=nu(y,"edgeLabel");tu(n,D,{labelFetcher:{getFormattedLabel:function(t,n,r,i,o,a){return e.getFormattedLabel(t,n,"edge",i,Object(l["Q"])(o,D.normal&&D.normal.get("formatter"),A),a)}},labelDataIndex:t.dataIndex,defaultText:A}),n.setTextConfig({position:"inside"});var E=y.getModel("emphasis");Il(n,y,"lineStyle",(function(e){var n=e.getItemStyle();return zB(n,h,t),n})),o.add(n),d.setItemGraphicEl(t.dataIndex,n);var I=E.get("focus");Ll(n,"adjacency"===I?t.getAdjacentDataIndices():"trajectory"===I?t.getTrajectoryDataIndices():I,E.get("blurScope"),E.get("disabled"))})),i.eachNode((function(t){var n=t.getLayout(),r=t.getModel(),i=r.get("localX"),a=r.get("localY"),l=r.getModel("emphasis"),d=r.get(["itemStyle","borderRadius"])||0,h=new ls({shape:{x:null!=i?i*s:n.x,y:null!=a?a*u:n.y,width:n.dx,height:n.dy,r:d},style:r.getModel("itemStyle").getItemStyle(),z2:10});tu(h,nu(r),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(t,n,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),h.disableLabelAnimation=!0,h.setStyle("fill",t.getVisual("color")),h.setStyle("decal",t.getVisual("style").decal),Il(h,r),o.add(h),c.setItemGraphicEl(t.dataIndex,h),Ts(h).dataType="node";var f=l.get("focus");Ll(h,"adjacency"===f?t.getAdjacentDataIndices():"trajectory"===f?t.getTrajectoryDataIndices():f,l.get("blurScope"),l.get("disabled"))})),c.eachItemGraphicEl((function(t,i){var o=c.getItemModel(i);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/u})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")})),!this._data&&e.isAnimationEnabled()&&o.setClipPath(HB(o.getBoundingRect(),e,(function(){o.removeClipPath()}))),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(qg);function zB(e,t,n){switch(e.fill){case"source":e.fill=n.node1.getVisual("color"),e.decal=n.node1.getVisual("style").decal;break;case"target":e.fill=n.node2.getVisual("color"),e.decal=n.node2.getVisual("style").decal;break;case"gradient":var r=n.node1.getVisual("color"),i=n.node2.getVisual("color");Object(l["C"])(r)&&Object(l["C"])(i)&&(e.fill=new Km(0,0,+("horizontal"===t),+("vertical"===t),[{color:r,offset:0},{color:i,offset:1}]))}}function HB(e,t,n){var r=new ls({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ul(r,{shape:{width:e.width+20}},t,n),r}var VB=FB,WB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],i=e.levels||[];this.levelModels=[];for(var o=this.levelModels,a=0;a<i.length;a++)null!=i[a].depth&&i[a].depth>=0&&(o[i[a].depth]=new Tu(i[a],this,t));var s=sR(r,n,this,!0,l);return s.data;function l(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getData().getItemLayout(t);if(r){var i=r.depth,o=n.levelModels[i];o&&(e.parentModel=o)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getGraph().getEdgeByIndex(t),i=r.node1.getLayout();if(i){var o=i.depth,a=n.levelModels[o];a&&(e.parentModel=a)}return e}))}},t.prototype.setNodePosition=function(e,t){var n=this.option.data||this.option.nodes,r=n[e];r.localX=t[0],r.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function r(e){return isNaN(e)||null==e}if("edge"===n){var i=this.getDataParams(e,n),o=i.data,a=i.value,s=o.source+" -- "+o.target;return Xf("nameValue",{name:s,value:a,noValue:r(a)})}var l=this.getGraph().getNodeByIndex(e),u=l.getLayout().value,c=this.getDataParams(e,n).data.name;return Xf("nameValue",{name:null!=c?c+"":null,value:u,noValue:r(u)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(t),o=i.getLayout().value;r.value=o}return r},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(Sp),UB=WB;function $B(e,t){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),i=GB(e,t);e.layoutInfo=i;var o=i.width,a=i.height,s=e.getGraph(),u=s.nodes,c=s.edges;XB(u);var d=l["n"](u,(function(e){return 0===e.getLayout().value})),h=0!==d.length?0:e.get("layoutIterations"),f=e.get("orient"),p=e.get("nodeAlign");qB(u,c,n,r,o,a,h,f,p)}))}function GB(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function qB(e,t,n,r,i,o,a,s,l){KB(e,t,n,i,o,s,l),tY(e,t,o,i,r,a,s),pY(e,s)}function XB(e){l["k"](e,(function(e){var t=hY(e.outEdges,dY),n=hY(e.inEdges,dY),r=e.getValue()||0,i=Math.max(t,n,r);e.setLayout({value:i},!0)}))}function KB(e,t,n,r,i,o,a){for(var s=[],l=[],u=[],c=[],d=0,h=0;h<t.length;h++)s[h]=1;for(h=0;h<e.length;h++)l[h]=e[h].inEdges.length,0===l[h]&&u.push(e[h]);var f=-1;while(u.length){for(var p=0;p<u.length;p++){var m=u[p],g=m.hostGraph.data.getRawDataItem(m.dataIndex),v=null!=g.depth&&g.depth>=0;v&&g.depth>f&&(f=g.depth),m.setLayout({depth:v?g.depth:d},!0),"vertical"===o?m.setLayout({dy:n},!0):m.setLayout({dx:n},!0);for(var y=0;y<m.outEdges.length;y++){var b=m.outEdges[y],_=t.indexOf(b);s[_]=0;var w=b.node2,x=e.indexOf(w);0===--l[x]&&c.indexOf(w)<0&&c.push(w)}}++d,u=c,c=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var k=f>d-1?f:d-1;a&&"left"!==a&&JB(e,a,o,k);var M="vertical"===o?(i-n)/k:(r-n)/k;eY(e,M,o)}function ZB(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function JB(e,t,n,r){if("right"===t){var i=[],o=e,a=0;while(o.length){for(var s=0;s<o.length;s++){var u=o[s];u.setLayout({skNodeHeight:a},!0);for(var c=0;c<u.inEdges.length;c++){var d=u.inEdges[c];i.indexOf(d.node1)<0&&i.push(d.node1)}}o=i,i=[],++a}l["k"](e,(function(e){ZB(e)||e.setLayout({depth:Math.max(0,r-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&QB(e,r)}function QB(e,t){l["k"](e,(function(e){ZB(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function eY(e,t,n){l["k"](e,(function(e){var r=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:r},!0):e.setLayout({x:r},!0)}))}function tY(e,t,n,r,i,o,a){var s=nY(e,a);rY(s,t,n,r,i,a),iY(s,i,n,r,a);for(var l=1;o>0;o--)l*=.99,oY(s,l,a),iY(s,i,n,r,a),fY(s,l,a),iY(s,i,n,r,a)}function nY(e,t){var n=[],r="vertical"===t?"y":"x",i=Hi(e,(function(e){return e.getLayout()[r]}));return i.keys.sort((function(e,t){return e-t})),l["k"](i.keys,(function(e){n.push(i.buckets.get(e))})),n}function rY(e,t,n,r,i,o){var a=1/0;l["k"](e,(function(e){var t=e.length,s=0;l["k"](e,(function(e){s+=e.getLayout().value}));var u="vertical"===o?(r-(t-1)*i)/s:(n-(t-1)*i)/s;u<a&&(a=u)})),l["k"](e,(function(e){l["k"](e,(function(e,t){var n=e.getLayout().value*a;"vertical"===o?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),l["k"](t,(function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)}))}function iY(e,t,n,r,i){var o="vertical"===i?"x":"y";l["k"](e,(function(e){var a,s,l;e.sort((function(e,t){return e.getLayout()[o]-t.getLayout()[o]}));for(var u=0,c=e.length,d="vertical"===i?"dx":"dy",h=0;h<c;h++)s=e[h],l=u-s.getLayout()[o],l>0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[d]+t;var f="vertical"===i?r:n;if(l=u-t-f,l>0){a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(h=c-2;h>=0;--h)s=e[h],l=s.getLayout()[o]+s.getLayout()[d]+t-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function oY(e,t,n){l["k"](e.slice().reverse(),(function(e){l["k"](e,(function(e){if(e.outEdges.length){var r=hY(e.outEdges,aY,n)/hY(e.outEdges,dY);if(isNaN(r)){var i=e.outEdges.length;r=i?hY(e.outEdges,sY,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-cY(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-cY(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function aY(e,t){return cY(e.node2,t)*e.getValue()}function sY(e,t){return cY(e.node2,t)}function lY(e,t){return cY(e.node1,t)*e.getValue()}function uY(e,t){return cY(e.node1,t)}function cY(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function dY(e){return e.getValue()}function hY(e,t,n){var r=0,i=e.length,o=-1;while(++o<i){var a=+t(e[o],n);isNaN(a)||(r+=a)}return r}function fY(e,t,n){l["k"](e,(function(e){l["k"](e,(function(e){if(e.inEdges.length){var r=hY(e.inEdges,lY,n)/hY(e.inEdges,dY);if(isNaN(r)){var i=e.inEdges.length;r=i?hY(e.inEdges,uY,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-cY(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-cY(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function pY(e,t){var n="vertical"===t?"x":"y";l["k"](e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),l["k"](e,(function(e){var t=0,n=0;l["k"](e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),l["k"](e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}function mY(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes,r=t.edges;if(n.length){var i=1/0,o=-1/0;l["k"](n,(function(e){var t=e.getLayout().value;t<i&&(i=t),t>o&&(o=t)})),l["k"](n,(function(t){var n=new pj({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),r=n.mapValueToVisual(t.getLayout().value),a=t.getModel().get(["itemStyle","color"]);null!=a?(t.setVisual("color",a),t.setVisual("style",{fill:a})):(t.setVisual("color",r),t.setVisual("style",{fill:r}))}))}r.length&&l["k"](r,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}function gY(e){e.registerChartView(VB),e.registerSeriesModel(UB),e.registerLayout($B),e.registerVisual(mY),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))}var vY=function(){function e(){}return e.prototype._hasEncodeRule=function(e){var t=this.getEncode();return t&&null!=t.get(e)},e.prototype.getInitialData=function(e,t){var n,r,i=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(e.layout="horizontal",n=i.getOrdinalMeta(),r=!this._hasEncodeRule("x")):"category"===s?(e.layout="vertical",n=o.getOrdinalMeta(),r=!this._hasEncodeRule("y")):e.layout=e.layout||"horizontal";var u=["x","y"],c="horizontal"===e.layout?0:1,d=this._baseAxisDim=u[c],h=u[1-c],f=[i,o],p=f[c].get("type"),m=f[1-c].get("type"),g=e.data;if(g&&r){var v=[];l["k"](g,(function(e,t){var n;l["t"](e)?(n=e.slice(),e.unshift(t)):l["t"](e.value)?(n=l["m"]({},e),n.value=n.value.slice(),e.value.unshift(t)):n=e,v.push(n)})),e.data=v}var y=this.defaultValueDimensions,b=[{name:d,type:Mk(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:Mk(m),dimsDef:y.slice()}];return DC(this,{coordDimensions:b,dimensionsCount:y.length+1,encodeDefaulter:l["h"](hd,b,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),yY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return a(t,e),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(Sp);Object(l["K"])(yY,vY,!0);var bY=yY,_Y=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===e.get("layout")?1:0;r.diff(o).add((function(e){if(r.hasValue(e)){var t=r.getItemLayout(e),n=kY(t,r,e,a,!0);r.setItemGraphicEl(e,n),i.add(n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?(Kl(n),MY(s,n,r,e)):n=kY(s,r,e,a),i.add(n),r.setItemGraphicEl(e,n)}else i.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=r},t.prototype.remove=function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},t.type="boxplot",t}(qg),wY=function(){function e(){}return e}(),xY=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return a(t,e),t.prototype.getDefaultShape=function(){return new wY},t.prototype.buildPath=function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();r<n.length;r++)e.moveTo(n[r][0],n[r][1]),r++,e.lineTo(n[r][0],n[r][1])},t}(Ua);function kY(e,t,n,r,i){var o=e.ends,a=new xY({shape:{points:i?SY(o,r,e):o}});return MY(e,a,t,n,i),a}function MY(e,t,n,i,o){var a=n.hostModel,s=r[o?"initProps":"updateProps"];s(t,{shape:{points:e.ends}},a,i),t.useStyle(n.getItemVisual(i,"style")),t.style.strokeNoScale=!0,t.z2=100;var l=n.getItemModel(i),u=l.getModel("emphasis");Il(t,l),Ll(t,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function SY(e,t,n){return l["H"](e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var CY=_Y,TY=l["k"];function OY(e){var t=LY(e);TY(t,(function(e){var t=e.seriesModels;t.length&&(AY(e),TY(t,(function(t,n){DY(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function LY(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),i=l["r"](n,r);i<0&&(i=n.length,n[i]=r,t[i]={axis:r,seriesModels:[]}),t[i].seriesModels.push(e)})),t}function AY(e){var t,n=e.axis,r=e.seriesModels,i=r.length,o=e.boxWidthList=[],a=e.boxOffsetList=[],s=[];if("category"===n.type)t=n.getBandWidth();else{var u=0;TY(r,(function(e){u=Math.max(u,e.getData().count())}));var c=n.getExtent();t=Math.abs(c[1]-c[0])/u}TY(r,(function(e){var n=e.get("boxWidth");l["t"](n)||(n=[n,n]),s.push([Br(n[0],t)||0,Br(n[1],t)||0])}));var d=.8*t-2,h=d/i*.3,f=(d-h*(i-1))/i,p=f/2-d/2;TY(r,(function(e,t){a.push(p),p+=h+f,o.push(Math.min(Math.max(f,s[t][0]),s[t][1]))}))}function DY(e,t,n){var r=e.coordinateSystem,i=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],u=i.mapDimension(l[a]),c=i.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var d=0;d<i.count();d++){var h=i.get(u,d),f=b(h,c[2],d),p=b(h,c[0],d),m=b(h,c[1],d),g=b(h,c[3],d),v=b(h,c[4],d),y=[];_(y,m,!1),_(y,g,!0),y.push(p,m,v,g),w(y,p),w(y,v),w(y,f),i.setItemLayout(d,{initBaseline:f[s],ends:y})}function b(e,n,o){var l,u=i.get(n,o),c=[];return c[a]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=r.dataToPoint(c),l[a]+=t),l}function _(e,t,n){var r=t.slice(),i=t.slice();r[a]+=o,i[a]-=o,n?e.push(r,i):e.push(i,r)}function w(e,t){var n=t.slice(),r=t.slice();n[a]-=o,r[a]+=o,e.push(n,r)}}function EY(e,t){t=t||{};for(var n=[],r=[],i=t.boundIQR,o="none"===i||0===i,a=0;a<e.length;a++){var s=Fr(e[a].slice()),u=ei(s,.25),c=ei(s,.5),d=ei(s,.75),h=s[0],f=s[s.length-1],p=(null==i?1.5:i)*(d-u),m=o?h:Math.max(h,u-p),g=o?f:Math.min(f,d+p),v=t.itemNameFormatter,y=Object(l["w"])(v)?v({value:a}):Object(l["C"])(v)?v.replace("{value}",a+""):a+"";n.push([y,m,u,c,d,g]);for(var b=0;b<s.length;b++){var _=s[b];if(_<m||_>g){var w=[y,_];r.push(w)}}}return{boxData:n,outliers:r}}var IY={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==nd){var n="";0,Ed(n)}var r=EY(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:r.boxData},{data:r.outliers}]}};function jY(e){e.registerSeriesModel(bY),e.registerChartView(CY),e.registerLayout(OY),e.registerTransform(IY)}var PY=["itemStyle","borderColor"],RY=["itemStyle","borderColor0"],NY=["itemStyle","borderColorDoji"],BY=["itemStyle","color"],YY=["itemStyle","color0"];function FY(e,t){return t.get(e>0?BY:YY)}function zY(e,t){return t.get(0===e?NY:e>0?PY:RY)}var HY={seriesType:"candlestick",plan:Op(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e)){var n=e.pipelineContext.large;return!n&&{progress:function(e,t){var n;while(null!=(n=e.next())){var r=t.getItemModel(n),i=t.getItemLayout(n).sign,o=r.getItemStyle();o.fill=FY(i,r),o.stroke=zY(i,r)||o.fill;var a=t.ensureUniqueItemVisual(n,"style");Object(l["m"])(a,o)}}}}}},VY=HY,WY=["color","borderColor"],UY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,n){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){Yg(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout("isSimpleBox"),o=e.get("clip",!0),a=e.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var a=t.getItemLayout(n);if(o&&XY(s,a))return;var l=qY(a,n,!0);Ul(l,{shape:{points:a.ends}},e,n),KY(l,t,n,i),r.add(l),t.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(t.hasValue(a)){var c=t.getItemLayout(a);o&&XY(s,c)?r.remove(u):(u?(Wl(u,{shape:{points:c.ends}},e,a),Kl(u)):u=qY(c,a),KY(u,t,a,i),r.add(u),t.setItemGraphicEl(a,u))}else r.remove(u)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),eF(e,this.group);var t=e.get("clip",!0)?UM(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){var n,r=t.getData(),i=r.getLayout("isSimpleBox");while(null!=(n=e.next())){var o=r.getItemLayout(n),a=qY(o,n);KY(a,r,n,i),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},t.prototype._incrementalRenderLarge=function(e,t){eF(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(qg),$Y=function(){function e(){}return e}(),GY=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return a(t,e),t.prototype.getDefaultShape=function(){return new $Y},t.prototype.buildPath=function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))},t}(Ua);function qY(e,t,n){var r=e.ends;return new GY({shape:{points:n?ZY(r,e):r},z2:100})}function XY(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function KY(e,t,n,r){var i=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=r,Il(e,i);var o=t.getItemLayout(n).sign;l["k"](e.states,(function(e,t){var n=i.getModel(t),r=FY(o,n),a=zY(o,n)||r,s=e.style||(e.style={});r&&(s.fill=r),a&&(s.stroke=a)}));var a=i.getModel("emphasis");Ll(e,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function ZY(e,t){return l["H"](e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var JY=function(){function e(){}return e}(),QY=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeCandlestickBox",n}return a(t,e),t.prototype.getDefaultShape=function(){return new JY},t.prototype.buildPath=function(e,t){for(var n=t.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];e.moveTo(i,n[r++]),e.lineTo(i,n[r++])}else r+=3},t}(Ua);function eF(e,t,n,r){var i=e.getData(),o=i.getLayout("largePoints"),a=new QY({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(a);var s=new QY({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new QY({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(l),tF(1,a,e,i),tF(-1,s,e,i),tF(0,l,e,i),r&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function tF(e,t,n,r){var i=zY(e,n)||FY(e,n),o=n.getModel("itemStyle").getItemStyle(WY);t.useStyle(o),t.style.fill=null,t.style.stroke=i}var nF=UY,rF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return a(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(Sp);Object(l["K"])(rF,vY,!0);var iF=rF;function oF(e){e&&l["t"](e.series)&&l["k"](e.series,(function(e){l["A"](e)&&"k"===e.type&&(e.type="candlestick")}))}var aF={seriesType:"candlestick",plan:Op(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=lF(e,n),i=0,o=1,a=["x","y"],s=n.getDimensionIndex(n.mapDimension(a[i])),u=Object(l["H"])(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),c=u[0],d=u[1],h=u[2],f=u[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(s<0||u.length<4))return{progress:e.pipelineContext.large?m:p};function p(e,n){var a,l=n.getStore();while(null!=(a=e.next())){var u=l.get(s,a),p=l.get(c,a),m=l.get(d,a),g=l.get(h,a),v=l.get(f,a),y=Math.min(p,m),b=Math.max(p,m),_=T(y,u),w=T(b,u),x=T(g,u),k=T(v,u),M=[];O(M,w,0),O(M,_,1),M.push(A(k),A(w),A(x),A(_));var S=n.getItemModel(a),C=!!S.get(["itemStyle","borderColorDoji"]);n.setItemLayout(a,{sign:sF(l,a,p,m,d,C),initBaseline:p>m?w[o]:_[o],ends:M,brushRect:L(g,v,u)})}function T(e,n){var r=[];return r[i]=n,r[o]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function O(e,t,n){var o=t.slice(),a=t.slice();o[i]=kg(o[i]+r/2,1,!1),a[i]=kg(a[i]-r/2,1,!0),n?e.push(o,a):e.push(a,o)}function L(e,t,n){var a=T(e,n),s=T(t,n);return a[i]-=r/2,s[i]-=r/2,{x:a[0],y:a[1],width:o?r:s[0]-a[0],height:o?s[1]-a[1]:r}}function A(e){return e[i]=kg(e[i],1),e}}function m(n,r){var a,l,u=EM(4*n.count),p=0,m=[],g=[],v=r.getStore(),y=!!e.get(["itemStyle","borderColorDoji"]);while(null!=(l=n.next())){var b=v.get(s,l),_=v.get(c,l),w=v.get(d,l),x=v.get(h,l),k=v.get(f,l);isNaN(b)||isNaN(x)||isNaN(k)?(u[p++]=NaN,p+=3):(u[p++]=sF(v,l,_,w,d,y),m[i]=b,m[o]=x,a=t.dataToPoint(m,null,g),u[p++]=a?a[0]:NaN,u[p++]=a?a[1]:NaN,m[o]=k,a=t.dataToPoint(m,null,g),u[p++]=a?a[1]:NaN)}r.setLayout("largePoints",u)}}};function sF(e,t,n,r,i,o){var a;return a=n>r?-1:n<r?1:o?0:t>0?e.get(i,t-1)<=r?1:-1:1,a}function lF(e,t){var n,r=e.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=Br(Object(l["P"])(e.get("barMaxWidth"),i),i),a=Br(Object(l["P"])(e.get("barMinWidth"),1),i),s=e.get("barWidth");return null!=s?Br(s,i):Math.max(Math.min(i/2,o),a)}var uF=aF;function cF(e){e.registerChartView(nF),e.registerSeriesModel(iF),e.registerPreprocessor(oF),e.registerVisual(VY),e.registerLayout(uF)}function dF(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}var hF=function(e){function t(t,n){var r=e.call(this)||this,i=new wM(t,n),o=new kr;return r.add(i),r.add(o),r.updateData(t,n),r}return a(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=e.rippleNumber,i=this.childAt(1),o=0;o<r;o++){var a=sy(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/r*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),i.add(a)}dF(i,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale","rippleNumber"],i=0;i<r.length;i++){var o=r[i];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}dF(n,e)},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){dl(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var n=this,r=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),o=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),s=ly(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"style"),u=l&&l.fill,c=o.getModel("emphasis");i.setScale(s),i.traverse((function(e){e.setStyle("fill",u)}));var d=uy(e.getItemVisual(t,"symbolOffset"),s);d&&(i.x=d[0],i.y=d[1]);var h=e.getItemVisual(t,"symbolRotate");i.rotation=(h||0)*Math.PI/180||0;var f={};f.showEffectOn=r.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=t/e.count(),f.z=r.getShallow("z")||0,f.zlevel=r.getShallow("zlevel")||0,f.symbolType=a,f.color=u,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(e){"emphasis"===e?"render"!==f.showEffectOn&&n.startEffectAnimation(f):"normal"===e&&"render"!==f.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=f,Ll(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(kr),fF=hF,pF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){this._symbolDraw=new CM(fF)},t.prototype.render=function(e,t,n){var r=e.getData(),i=this._symbolDraw;i.updateData(r,{clipShape:this._getClipShape(e)}),this.group.add(i.group)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype.updateTransform=function(e,t,n){var r=e.getData();this.group.dirty();var i=hS("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=ge(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(qg),mF=pF,gF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){return pM(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(Sp),vF=gF;function yF(e){e.registerChartView(mF),e.registerSeriesModel(vF),e.registerLayout(hS("effectScatter"))}var bF=function(e){function t(t,n,r){var i=e.call(this)||this;return i.add(i.createLine(t,n,r)),i._updateEffectSymbol(t,n),i}return a(t,e),t.prototype.createLine=function(e,t,n){return new NP(e,t,n)},t.prototype._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),r=n.getModel("effect"),i=r.get("symbolSize"),o=r.get("symbol");l["t"](i)||(i=[i,i]);var a=e.getItemVisual(t,"style"),s=r.get("color")||a&&a.stroke,u=this.childAt(1);this._symbolType!==o&&(this.remove(u),u=sy(o,-.5,-.5,1,1,s),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",s),u.setStyle(r.getItemStyle(["color"])),u.scaleX=i[0],u.scaleY=i[1],u.setColor(s),this._symbolType=o,this._symbolScale=i,this._updateEffectAnimation(e,r,t))},t.prototype._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var i=e.getItemLayout(n),o=1e3*t.get("period"),a=t.get("loop"),s=t.get("roundTrip"),u=t.get("constantSpeed"),c=l["O"](t.get("delay"),(function(t){return t/e.count()*o/3}));if(r.ignore=!0,this._updateAnimationPoints(r,i),u>0&&(o=this._getLineLength(r)/u*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){r.stopAnimation();var d=void 0;d=l["w"](c)?c(n):c,r.__t>0&&(d=-o*r.__t),this._animateSymbol(r,o,d,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,r,i){if(t>0){e.__t=0;var o=this,a=e.animate("",r).when(i?2*t:t,{__t:i?2:1}).delay(n).during((function(){o._updateSymbolPosition(e)}));r||a.done((function(){o.remove(e)})),a.start()}},t.prototype._getLineLength=function(e){return w(e.__p1,e.__cp1)+w(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t<1?e.__t:2-e.__t,o=[e.x,e.y],a=o.slice(),s=Tt,l=Ot;o[0]=s(t[0],r[0],n[0],i),o[1]=s(t[1],r[1],n[1],i);var u=e.__t<1?l(t[0],r[0],n[0],i):l(n[0],r[0],t[0],1-i),c=e.__t<1?l(t[1],r[1],n[1],i):l(n[1],r[1],t[1],1-i);e.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastT<e.__t?(e.scaleY=1.05*w(a,o),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===e.__lastT?e.scaleY=2*w(t,o):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=o[0],e.y=o[1]},t.prototype.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},t}(kr),_F=bF,wF=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createPolyline(t,n,r),i}return a(t,e),t.prototype._createPolyline=function(e,t,n){var r=e.getItemLayout(t),i=new Em({shape:{points:r}});this.add(i),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,i=this.childAt(0),o={shape:{points:e.getItemLayout(t)}};Wl(i,o,r,t),this._updateCommonStl(e,t,n)},t.prototype._updateCommonStl=function(e,t,n){var r=this.childAt(0),i=e.getItemModel(t),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||e.hasItemOption){var u=i.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}r.useStyle(e.getItemVisual(t,"style")),r.style.fill=null,r.style.strokeNoScale=!0;var c=r.ensureState("emphasis");c.style=o,Ll(this,a,s,l)},t.prototype.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},t}(kr),xF=wF,kF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return a(t,e),t.prototype.createLine=function(e,t,n){return new xF(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,i=1;i<t.length;i++){var o=t[i-1],a=t[i];r+=w(o,a),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}else this._length=0},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var t=e.__t<1?e.__t:2-e.__t,n=this._points,r=this._offsets,i=n.length;if(r){var o,a=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(a+1,i-1);for(o=s;o>=0;o--)if(r[o]<=t)break;o=Math.min(o,i-2)}else{for(o=a;o<i;o++)if(r[o]>t)break;o=Math.min(o-1,i-2)}var l=(t-r[o])/(r[o+1]-r[o]),u=n[o],c=n[o+1];e.x=u[0]*(1-l)+l*c[0],e.y=u[1]*(1-l)+l*c[1];var d=e.__t<1?c[0]-u[0]:u[0]-c[0],h=e.__t<1?c[1]-u[1]:u[1]-c[1];e.rotation=-Math.atan2(h,d)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(_F),MF=kF,SF=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),CF=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(t,e),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new SF},t.prototype.buildPath=function(e,t){var n,r=t.segs,i=t.curveness;if(t.polyline)for(n=this._off;n<r.length;){var o=r[n++];if(o>0){e.moveTo(r[n++],r[n++]);for(var a=1;a<o;a++)e.lineTo(r[n++],r[n++])}}else for(n=this._off;n<r.length;){var s=r[n++],l=r[n++],u=r[n++],c=r[n++];if(e.moveTo(s,l),i>0){var d=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var n=this.shape,r=n.segs,i=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<r.length;){var l=r[s++];if(l>0)for(var u=r[s++],c=r[s++],d=1;d<l;d++){var h=r[s++],f=r[s++];if(_a(u,c,h,f,o,e,t))return a}a++}else for(a=0,s=0;s<r.length;){u=r[s++],c=r[s++],h=r[s++],f=r[s++];if(i>0){var p=(u+h)/2-(c-f)*i,m=(c+f)/2-(h-u)*i;if(xa(u,c,p,m,h,f,o,e,t))return a}else if(_a(u,c,h,f,o,e,t))return a;a++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(e=n[0],t=n[1],r.contain(e,t)){var i=this.hoverDataIdx=this.findDataIndex(e,t);return i>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.segs,r=1/0,i=1/0,o=-1/0,a=-1/0,s=0;s<n.length;){var l=n[s++],u=n[s++];r=Math.min(l,r),o=Math.max(l,o),i=Math.min(u,i),a=Math.max(u,a)}e=this._rect=new Oe(r,i,o,a)}return e},t}(Ua),TF=function(){function e(){this.group=new kr}return e.prototype.updateData=function(e){this._clear();var t=this._create();t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e)},e.prototype.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(e,t){var n=this._newAdded[0],r=t.getLayout("linesPoints"),i=n&&n.shape.segs;if(i&&i.length<2e4){var o=i.length,a=new Float32Array(o+r.length);a.set(i),a.set(r,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:r}),this._setCommon(s,t),s.__startIndex=e.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new CF({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;e.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),e.useStyle(r.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("style");i&&i.stroke&&e.setStyle("stroke",i.stroke),e.setStyle("fill",null);var o=Ts(e);o.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){o.dataIndex=null;var n=e.hoverDataIdx;n>0&&(o.dataIndex=n+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),OF=TF,LF={seriesType:"lines",plan:Op(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var u=0,c=i.start;c<i.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=i.start;c<i.end;c++){var f=e.getLineCoords(c,a);n&&(s[d++]=f);for(var p=0;p<f;p++)h=t.dataToPoint(a[p],!1,h),s[d++]=h[0],s[d++]=h[1]}o.setLayout("linesPoints",s)}else for(c=i.start;c<i.end;c++){var m=o.getItemModel(c),g=(f=e.getLineCoords(c,a),[]);if(n)for(var v=0;v<f;v++)g.push(t.dataToPoint(a[v]));else{g[0]=t.dataToPoint(a[0]),g[1]=t.dataToPoint(a[1]);var y=m.get(["lineStyle","curveness"]);+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}o.setItemLayout(c,g)}}}}}},AF=LF,DF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e),o=e.get("zlevel"),a=e.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var u=e.get("clip",!0)&&UM(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e);i.incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var r=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=AF.reset(e,t,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,r=this._showEffect(t),i=!!t.get("polyline"),o=t.pipelineContext,a=o.large;return n&&r===this._hasEffet&&i===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new OF:new VP(i?r?MF:xF:r?_F:NP),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=a),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr(),n="svg"===t.painter.getType();n||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(qg),EF=DF,IF="undefined"===typeof Uint32Array?Array:Uint32Array,jF="undefined"===typeof Float64Array?Array:Float64Array;function PF(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Object(l["H"])(t,(function(e){var t=[e[0].coord,e[1].coord],n={coords:t};return e[0].name&&(n.fromName=e[0].name),e[1].name&&(n.toName=e[1].name),Object(l["J"])([n,e[0],e[1]])})))}var RF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return a(t,e),t.prototype.init=function(t){t.data=t.data||[],PF(t);var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(PF(t),t.data){var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Object(l["e"])(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Object(l["e"])(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;i<r;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[n+2*i],t[i][1]=this._flatCoords[n+2*i+1];return r}var o=this._getCoordsFromItemModel(e);for(i=0;i<o.length;i++)t[i]=t[i]||[],t[i][0]=o[i][0],t[i][1]=o[i][1];return o.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),Object(l["z"])(e[0])){for(var n=e.length,r=new IF(n),i=new jF(n),o=0,a=0,s=0,u=0;u<n;){s++;var c=e[u++];r[a++]=o+t,r[a++]=c;for(var d=0;d<c;d++){var h=e[u++],f=e[u++];i[o++]=h,i[o++]=f}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var n=new Kk(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,r,i){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[i]:o:void 0})),n},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=r.getItemModel(e),o=i.get("name");if(o)return o;var a=i.get("fromName"),s=i.get("toName"),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Xf("nameValue",{name:l.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(Sp),NF=RF;function BF(e){return e instanceof Array||(e=[e,e]),e}var YF={seriesType:"lines",reset:function(e){var t=BF(e.get("symbol")),n=BF(e.get("symbolSize")),r=e.getData();function i(e,t){var n=e.getItemModel(t),r=BF(n.getShallow("symbol",!0)),i=BF(n.getShallow("symbolSize",!0));r[0]&&e.setItemVisual(t,"fromSymbol",r[0]),r[1]&&e.setItemVisual(t,"toSymbol",r[1]),i[0]&&e.setItemVisual(t,"fromSymbolSize",i[0]),i[1]&&e.setItemVisual(t,"toSymbolSize",i[1])}return r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?i:null}}},FF=YF;function zF(e){e.registerChartView(EF),e.registerSeriesModel(NF),e.registerLayout(AF),e.registerVisual(FF)}var HF=256,VF=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Jn["d"].createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,r,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=e.length;c.width=t,c.height=n;for(var f=0;f<h;++f){var p=e[f],m=p[0],g=p[1],v=p[2],y=r(v);d.globalAlpha=y,d.drawImage(a,m-u,g-u)}if(!c.width||!c.height)return c;var b=d.getImageData(0,0,c.width,c.height),_=b.data,w=0,x=_.length,k=this.minOpacity,M=this.maxOpacity,S=M-k;while(w<x){y=_[w+3]/256;var C=4*Math.floor(y*(HF-1));if(y>0){var T=o(y)?s:l;y>0&&(y=y*S+k),_[w++]=T[C],_[w++]=T[C+1],_[w++]=T[C+2],_[w++]=T[C+3]*y*256}else w+=4}return d.putImageData(b,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Jn["d"].createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,r=n[t]||(n[t]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)e[t](a/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},e}(),WF=VF;function UF(e,t,n){var r=e[1]-e[0];t=l["H"](t,(function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}}));var i=t.length,o=0;return function(e){var r;for(r=o;r<i;r++){var a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}if(r===i)for(r=o-1;r>=0;r--){a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}return r>=0&&r<i&&n[r]}}function $F(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}function GF(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var qF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this._progressiveEls=null,this.group.removeAll();var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):GF(i)&&this._renderOnGeo(i,e,r,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,r){var i=t.coordinateSystem;i&&(GF(i)?this.render(t,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Yg(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,r,i){var o,a,s,l,u=e.coordinateSystem,c=$M(u,"cartesian2d");if(c){var d=u.getAxis("x"),h=u.getAxis("y");0,o=d.getBandWidth()+.5,a=h.getBandWidth()+.5,s=d.scale.getExtent(),l=h.scale.getExtent()}for(var f=this.group,p=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),g=e.getModel(["blur","itemStyle"]).getItemStyle(),v=e.getModel(["select","itemStyle"]).getItemStyle(),y=e.get(["itemStyle","borderRadius"]),b=nu(e),_=e.getModel("emphasis"),w=_.get("focus"),x=_.get("blurScope"),k=_.get("disabled"),M=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],S=n;S<r;S++){var C=void 0,T=p.getItemVisual(S,"style");if(c){var O=p.get(M[0],S),L=p.get(M[1],S);if(isNaN(p.get(M[2],S))||isNaN(O)||isNaN(L)||O<s[0]||O>s[1]||L<l[0]||L>l[1])continue;var A=u.dataToPoint([O,L]);C=new ls({shape:{x:A[0]-o/2,y:A[1]-a/2,width:o,height:a},style:T})}else{if(isNaN(p.get(M[1],S)))continue;C=new ls({z2:1,shape:u.dataToRect([p.get(M[0],S)]).contentShape,style:T})}if(p.hasItemOption){var D=p.getItemModel(S),E=D.getModel("emphasis");m=E.getModel("itemStyle").getItemStyle(),g=D.getModel(["blur","itemStyle"]).getItemStyle(),v=D.getModel(["select","itemStyle"]).getItemStyle(),y=D.get(["itemStyle","borderRadius"]),w=E.get("focus"),x=E.get("blurScope"),k=E.get("disabled"),b=nu(D)}C.shape.r=y;var I=e.getRawValue(S),j="-";I&&null!=I[2]&&(j=I[2]+""),tu(C,b,{labelFetcher:e,labelDataIndex:S,defaultOpacity:T.opacity,defaultText:j}),C.ensureState("emphasis").style=m,C.ensureState("blur").style=g,C.ensureState("select").style=v,Ll(C,w,x,k),C.incremental=i,i&&(C.states.emphasis.hoverLayer=!0),f.add(C),p.setItemGraphicEl(S,C),this._progressiveEls&&this._progressiveEls.push(C)}},t.prototype._renderOnGeo=function(e,t,n,r){var i=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new WF;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=e.getViewRect().clone(),u=e.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),d=Math.max(l.y,0),h=Math.min(l.width+l.x,r.getWidth()),f=Math.min(l.height+l.y,r.getHeight()),p=h-c,m=f-d,g=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(g,(function(t,n,r){var i=e.dataToPoint([t,n]);return i[0]-=c,i[1]-=d,i.push(r),i})),y=n.getExtent(),b="visualMap.continuous"===n.type?$F(y,n.option.range):UF(y,n.getPieceList(),n.option.selected);s.update(v,p,m,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var _=new Qa({style:{width:p,height:m,x:c,y:d,image:s.canvas},silent:!0});this.group.add(_)},t.type="heatmap",t}(qg),XF=qF,KF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(e,t){return pM(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=Gd.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(Sp),ZF=KF;function JF(e){e.registerChartView(XF),e.registerSeriesModel(ZF)}var QF=["itemStyle","borderWidth"],ez=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],tz=new em,nz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this.group,i=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),u=a.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:ez[+l],categoryDim:ez[1-+l]};i.diff(o).add((function(e){if(i.hasValue(e)){var t=pz(i,e),n=rz(i,e,t,c),o=vz(i,c,n);i.setItemGraphicEl(e,o),r.add(o),kz(o,c,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var a=pz(i,e),s=rz(i,e,a,c),l=_z(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(e,null),n=null),n?yz(n,c,s):n=vz(i,c,s,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),kz(n,c,s)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&bz(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute();var d=e.get("clip",!0)?UM(e.coordinateSystem,!1,e):null;return d?r.setClipPath(d):r.removeClipPath(),this._data=i,this.group},t.prototype.remove=function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl((function(t){bz(r,Ts(t).dataIndex,e,t)})):n.removeAll()},t.type="pictorialBar",t}(qg);function rz(e,t,n,r){var i=e.getItemLayout(t),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,d=n.isAnimationEnabled(),h={dataIndex:t,layout:i,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:d?n:null,hoverScale:d&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};iz(n,o,i,r,h),az(e,t,i,o,a,h.boundingLength,h.pxSign,c,r,h),sz(n,h.symbolScale,u,r,h);var f=h.symbolSize,p=uy(n.get("symbolOffset"),f);return lz(n,f,i,o,a,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,r,h),h}function iz(e,t,n,r,i){var o,a=r.valueDim,s=e.get("symbolBoundingData"),u=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),d=1-+(n[a.wh]<=0);if(l["t"](s)){var h=[oz(u,s[0])-c,oz(u,s[1])-c];h[1]<h[0]&&h.reverse(),o=h[d]}else o=null!=s?oz(u,s)-c:t?r.coordSysExtent[a.index][d]-c:n[a.wh];i.boundingLength=o,t&&(i.repeatCutLength=n[a.wh]);var f="x"===a.xy,p=u.inverse;i.pxSign=f&&!p||!f&&p?o>=0?1:-1:o>0?1:-1}function oz(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function az(e,t,n,r,i,o,a,s,u,c){var d,h=u.valueDim,f=u.categoryDim,p=Math.abs(n[f.wh]),m=e.getItemVisual(t,"symbolSize");d=l["t"](m)?m.slice():null==m?["100%","100%"]:[m,m],d[f.index]=Br(d[f.index],p),d[h.index]=Br(d[h.index],r?p:Math.abs(o)),c.symbolSize=d;var g=c.symbolScale=[d[0]/s,d[1]/s];g[h.index]*=(u.isHorizontal?-1:1)*a}function sz(e,t,n,r,i){var o=e.get(QF)||0;o&&(tz.attr({scaleX:t[0],scaleY:t[1],rotation:n}),tz.updateTransform(),o/=tz.getLineScale(),o*=t[r.valueDim.index]),i.valueLineWidth=o||0}function lz(e,t,n,r,i,o,a,s,u,c,d,h){var f=d.categoryDim,p=d.valueDim,m=h.pxSign,g=Math.max(t[p.index]+s,0),v=g;if(r){var y=Math.abs(u),b=l["O"](e.get("symbolMargin"),"15%")+"",_=!1;b.lastIndexOf("!")===b.length-1&&(_=!0,b=b.slice(0,b.length-1));var w=Br(b,t[p.index]),x=Math.max(g+2*w,0),k=_?0:2*w,M=ri(r),S=M?r:Mz((y+k)/x),C=y-S*g;w=C/2/(_?S:Math.max(S-1,1)),x=g+2*w,k=_?0:2*w,M||"fixed"===r||(S=c?Mz((Math.abs(c)+k)/x):0),v=S*x-k,h.repeatTimes=S,h.symbolMargin=w}var T=m*(v/2),O=h.pathPosition=[];O[f.index]=n[f.wh]/2,O[p.index]="start"===a?T:"end"===a?u-T:u/2,o&&(O[0]+=o[0],O[1]+=o[1]);var L=h.bundlePosition=[];L[f.index]=n[f.xy],L[p.index]=n[p.xy];var A=h.barRectShape=l["m"]({},n);A[p.wh]=m*Math.max(Math.abs(n[p.wh]),Math.abs(O[p.index]+T)),A[f.wh]=n[f.wh];var D=h.clipShape={};D[f.xy]=-n[f.xy],D[f.wh]=d.ecSize[f.wh],D[p.xy]=0,D[p.wh]=n[p.wh]}function uz(e){var t=e.symbolPatternSize,n=sy(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function cz(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,d=o[t.valueDim.index]+a+2*n.symbolMargin;for(wz(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?xz(e,null,p(c),n,r):xz(e,null,{scaleX:0,scaleY:0},n,r,(function(){i.remove(e)})),c++}));c<u;c++){var h=uz(n);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,i.add(h);var f=p(c);xz(h,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,r)}function p(e){var t=s.slice(),r=n.pxSign,i=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=u-1-e),t[l.index]=d*(i-u/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function dz(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;o?xz(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=e.__pictorialMainPath=uz(n),i.add(o),xz(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function hz(e,t,n){var r=l["m"]({},t.barRectShape),i=e.__pictorialBarRect;i?xz(i,null,{shape:r},t,n):(i=e.__pictorialBarRect=new ls({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function fz(e,t,n,i){if(n.symbolClip){var o=e.__pictorialClipPath,a=l["m"]({},n.clipShape),s=t.valueDim,u=n.animationModel,c=n.dataIndex;if(o)Wl(o,{shape:a},u,c);else{a[s.wh]=0,o=new ls({shape:a}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var d={};d[s.wh]=n.clipShape[s.wh],r[i?"updateProps":"initProps"](o,{shape:d},u,c)}}}function pz(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=mz,n.isAnimationEnabled=gz,n}function mz(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function gz(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function vz(e,t,n,r){var i=new kr,o=new kr;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?cz(i,t,n):dz(i,t,n),hz(i,n,r),fz(i,t,n,r),i.__pictorialShapeStr=_z(e,n),i.__pictorialSymbolMeta=n,i}function yz(e,t,n){var r=n.animationModel,i=n.dataIndex,o=e.__pictorialBundle;Wl(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?cz(e,t,n,!0):dz(e,t,n,!0),hz(e,n,!0),fz(e,t,n,!0)}function bz(e,t,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];wz(r,(function(e){o.push(e)})),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),l["k"](o,(function(e){Gl(e,{scaleX:0,scaleY:0},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function _z(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function wz(e,t,n){l["k"](e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function xz(e,t,n,i,o,a){t&&e.attr(t),i.symbolClip&&!o?n&&e.attr(n):n&&r[o?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,a)}function kz(e,t,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),u=i.getModel(["select","itemStyle"]).getItemStyle(),c=i.getShallow("cursor"),d=o.get("focus"),h=o.get("blurScope"),f=o.get("scale");wz(e,(function(e){if(e instanceof Qa){var t=e.style;e.useStyle(l["m"]({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var r=e.ensureState("emphasis");r.style=a,f&&(r.scaleX=1.1*e.scaleX,r.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=u,c&&(e.cursor=c),e.z2=n.z2}));var p=t.valueDim.posDesc[+(n.boundingLength>0)],m=e.__pictorialBarRect;m.ignoreClip=!0,tu(m,nu(i),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:vM(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),Ll(e,d,h,o.get("disabled"))}function Mz(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var Sz=nz,Cz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return a(t,e),t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Eu(ES.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(ES),Tz=Cz;function Oz(e){e.registerChartView(Sz),e.registerSeriesModel(Tz),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Object(l["h"])(CS,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,TS("pictorialBar"))}var Lz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this,o=this.group,a=e.getLayerSeries(),s=r.getLayout("layoutInfo"),u=s.rect,c=s.boundaryGap;function d(e){return e.name}o.x=0,o.y=u.y+c[0];var h=new _k(this._layersSeries||[],a,d,d),f=[];function p(t,n,s){var l=i._layers;if("remove"!==t){for(var u,c,d=[],h=[],p=a[n].indices,m=0;m<p.length;m++){var g=r.getItemLayout(p[m]),v=g.x,y=g.y0,b=g.y;d.push(v,y),h.push(v,y+b),u=r.getItemVisual(p[m],"style")}var _=r.getItemLayout(p[0]),w=e.getModel("label"),x=w.get("margin"),k=e.getModel("emphasis");if("add"===t){var M=f[n]=new kr;c=new HM({shape:{points:d,stackedOnPoints:h,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),M.add(c),o.add(M),e.isAnimationEnabled()&&c.setClipPath(Az(c.getBoundingRect(),e,(function(){c.removeClipPath()})))}else{M=l[s];c=M.childAt(0),o.add(M),f[n]=M,Wl(c,{shape:{points:d,stackedOnPoints:h}},e),Kl(c)}tu(c,nu(e),{labelDataIndex:p[m-1],defaultText:r.getName(p[m-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var S=c.getTextContent();S&&(S.x=_.x-x,S.y=_.y0+_.y/2),c.useStyle(u),r.setItemGraphicEl(n,c),Il(c,e),Ll(c,k.get("focus"),k.get("blurScope"),k.get("disabled"))}else o.remove(l[n])}h.add(Object(l["c"])(p,this,"add")).update(Object(l["c"])(p,this,"update")).remove(Object(l["c"])(p,this,"remove")).execute(),this._layersSeries=a,this._layers=f},t.type="themeRiver",t}(qg);function Az(e,t,n){var r=new ls({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ul(r,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),r}var Dz=Lz,Ez=2,Iz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new IC(l["c"](this.getData,this),l["c"](this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},r=Hi(e,(function(e){return n.hasOwnProperty(e[0]+"")||(n[e[0]+""]=-1),e[2]})),i=[];r.buckets.each((function(e,t){i.push({name:t,dataList:e})}));for(var o=i.length,a=0;a<o;++a){for(var s=i[a].name,l=0;l<i[a].dataList.length;++l){var u=i[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,e[t]=[u,0,s],t++)}return e},t.prototype.getInitialData=function(e,t){for(var n=this.getReferringComponents("singleAxis",Ri).models[0],r=n.get("type"),i=l["n"](e.data,(function(e){return void 0!==e[2]})),o=this.fixData(i||[]),a=[],s=this.nameMap=l["f"](),u=0,c=0;c<o.length;++c)a.push(o[c][Ez]),s.get(o[c][Ez])||(s.set(o[c][Ez],u),u++);var d=Zk(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Mk(r)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,h=new Kk(d,this);return h.initData(o),h},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),n=[],r=0;r<t;++r)n[r]=r;var i=e.mapDimension("single"),o=Hi(n,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,n){t.sort((function(t,n){return e.get(i,t)-e.get(i,n)})),a.push({name:n,indices:t})})),a},t.prototype.getAxisTooltipData=function(e,t,n){l["t"](e)||(e=e?[e]:[]);for(var r,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,d=-1,h=o[u].indices.length,f=0;f<h;++f){var p=i.get(e[0],o[u].indices[f]),m=Math.abs(p-t);m<=c&&(r=p,c=m,d=o[u].indices[f])}a.push(d)}return{dataIndices:a,nestestValue:r}},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=r.getName(e),o=r.get(r.mapDimension("value"),e);return Xf("nameValue",{name:i,value:o})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(Sp),jz=Iz;function Pz(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,r={},i=n.getRect();r.rect=i;var o=e.get("boundaryGap"),a=n.getAxis();if(r.boundaryGap=o,"horizontal"===a.orient){o[0]=Br(o[0],i.height),o[1]=Br(o[1],i.height);var s=i.height-o[0]-o[1];Rz(t,e,s)}else{o[0]=Br(o[0],i.width),o[1]=Br(o[1],i.width);var l=i.width-o[0]-o[1];Rz(t,e,l)}t.setLayout("layoutInfo",r)}))}function Rz(e,t,n){if(e.count())for(var r,i=t.coordinateSystem,o=t.getLayerSeries(),a=e.mapDimension("single"),s=e.mapDimension("value"),u=l["H"](o,(function(t){return l["H"](t.indices,(function(t){var n=i.dataToPoint(e.get(a,t));return n[1]=e.get(s,t),n}))})),c=Nz(u),d=c.y0,h=n/c.max,f=o.length,p=o[0].indices.length,m=0;m<p;++m){r=d[m]*h,e.setItemLayout(o[0].indices[m],{layerIndex:0,x:u[0][m][0],y0:r,y:u[0][m][1]*h});for(var g=1;g<f;++g)r+=u[g-1][m][1]*h,e.setItemLayout(o[g].indices[m],{layerIndex:g,x:u[g][m][0],y0:r,y:u[g][m][1]*h})}}function Nz(e){for(var t=e.length,n=e[0].length,r=[],i=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<t;++l)s+=e[l][a][1];s>o&&(o=s),r.push(s)}for(var u=0;u<n;++u)i[u]=(o-r[u])/2;o=0;for(var c=0;c<n;++c){var d=r[c]+i[c];d>o&&(o=d)}return{y0:i,max:o}}function Bz(e){e.registerChartView(Dz),e.registerSeriesModel(jz),e.registerLayout(Pz),e.registerProcessor(wC("themeRiver"))}var Yz=2,Fz=4,zz=function(e){function t(t,n,r,i){var o=e.call(this)||this;o.z2=Yz,o.textConfig={inside:!0},Ts(o).seriesIndex=n.seriesIndex;var a=new Cs({z2:Fz,silent:t.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,t,n,r,i),o}return a(t,e),t.prototype.updateData=function(e,t,n,r,i){this.node=t,t.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var o=this;Ts(o).dataIndex=t.dataIndex;var a=t.getModel(),s=a.getModel("emphasis"),u=t.getLayout(),c=l["m"]({},u);c.label=null;var d=t.getVisual("style");d.lineJoin="bevel";var h=t.getVisual("decal");h&&(d.decal=Ky(h,i));var f=HS(a.getModel("itemStyle"),c,!0);l["m"](c,f),l["k"](Rs,(function(e){var t=o.ensureState(e),n=a.getModel([e,"itemStyle"]);t.style=n.getItemStyle();var r=HS(n,c);r&&(t.shape=r)})),e?(o.setShape(c),o.shape.r=u.r0,Ul(o,{shape:{r:u.r}},n,t.dataIndex)):(Wl(o,{shape:c},n),Kl(o)),o.useStyle(d),this._updateLabel(n);var p=a.getShallow("cursor");p&&o.attr("cursor",p),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var m=s.get("focus"),g="relative"===m?l["e"](t.getAncestorsIndices(),t.getDescendantIndices()):"ancestor"===m?t.getAncestorsIndices():"descendant"===m?t.getDescendantIndices():m;Ll(this,g,s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),r=n.getModel("label"),i=this.node.getLayout(),o=i.endAngle-i.startAngle,a=(i.startAngle+i.endAngle)/2,s=Math.cos(a),u=Math.sin(a),c=this,d=c.getTextContent(),h=this.node.dataIndex,f=r.get("minAngle")/180*Math.PI,p=r.get("show")&&!(null!=f&&Math.abs(o)<f);function m(e,t){var n=e.get(t);return null==n?r.get(t):n}d.ignore=!p,l["k"](Ns,(function(r){var f="normal"===r?n.getModel("label"):n.getModel([r,"label"]),p="normal"===r,g=p?d:d.ensureState(r),v=e.getFormattedLabel(h,r);p&&(v=v||t.node.name),g.style=ru(f,{},null,"normal"!==r,!0),v&&(g.style.text=v);var y=f.get("show");null==y||p||(g.ignore=!y);var b,_=m(f,"position"),w=p?c:c.states[r],x=w.style.fill;w.textConfig={outsideFill:"inherit"===f.get("color")?x:null,inside:"outside"!==_};var k=m(f,"distance")||0,M=m(f,"align"),S=m(f,"rotate"),C=.5*Math.PI,T=1.5*Math.PI,O=Ma("tangential"===S?Math.PI/2-a:a),L=O>C&&!qr(O-C)&&O<T;"outside"===_?(b=i.r+k,M=L?"right":"left"):M&&"center"!==M?"left"===M?(b=i.r0+k,M=L?"right":"left"):"right"===M&&(b=i.r-k,M=L?"left":"right"):(b=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,M="center"),g.style.align=M,g.style.verticalAlign=m(f,"verticalAlign")||"middle",g.x=b*s+i.cx,g.y=b*u+i.cy;var A=0;"radial"===S?A=Ma(-a)+(L?Math.PI:0):"tangential"===S?A=Ma(Math.PI/2-a)+(L?Math.PI:0):l["z"](S)&&(A=S*Math.PI/180),g.rotation=Ma(A)})),d.dirtyStyle()},t}(wm),Hz=zz,Vz="sunburstRootToNode",Wz="sunburstHighlight",Uz="sunburstUnhighlight";function $z(e){e.registerAction({type:Vz,update:"updateView"},(function(e,t){function n(t,n){var r=aI(e,[Vz],t);if(r){var i=t.getViewRoot();i&&(e.direction=lI(i,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)})),e.registerAction({type:Wz,update:"none"},(function(e,t,n){function r(t){var n=aI(e,[Wz],t);n&&(e.dataIndex=n.node.dataIndex)}e=Object(l["m"])({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},r),n.dispatchAction(Object(l["m"])(e,{type:"highlight"}))})),e.registerAction({type:Uz,update:"updateView"},(function(e,t,n){e=Object(l["m"])({},e),n.dispatchAction(Object(l["m"])(e,{type:"downplay"}))}))}var Gz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){var i=this;this.seriesModel=e,this.api=n,this.ecModel=t;var o=e.getData(),a=o.tree.root,s=e.getViewRoot(),u=this.group,c=e.get("renderLabelForZeroData"),d=[];s.eachNode((function(e){d.push(e)}));var h=this._oldChildren||[];function f(e,t){function n(e){return e.getId()}function r(n,r){var i=null==n?null:e[n],o=null==r?null:t[r];p(i,o)}0===e.length&&0===t.length||new _k(t,e,n,n).add(r).update(r).remove(l["h"](r,null)).execute()}function p(r,i){if(c||!r||r.getValue()||(r=null),r!==a&&i!==a)if(i&&i.piece)r?(i.piece.updateData(!1,r,e,t,n),o.setItemGraphicEl(r.dataIndex,i.piece)):m(i);else if(r){var s=new Hz(r,e,t,n);u.add(s),o.setItemGraphicEl(r.dataIndex,s)}}function m(e){e&&e.piece&&(u.remove(e.piece),e.piece=null)}function g(r,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,e,t,n):(i.virtualPiece=new Hz(r,e,t,n),u.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",(function(e){i._rootToNode(o.parentNode)}))):i.virtualPiece&&(u.remove(i.virtualPiece),i.virtualPiece=null)}f(d,h),g(a,s),this._initEvents(),this._oldChildren=d},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",(function(t){var n=!1,r=e.seriesModel.getViewRoot();r.eachNode((function(r){if(!n&&r.piece&&r.piece===t.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";Ic(a,s)}}n=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Vz,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}},t.type="sunburst",t}(qg),qz=Gz,Xz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};Kz(n);var r=this._levelModels=l["H"](e.levels||[],(function(e){return new Tu(e,this,t)}),this),i=oI.createTree(n,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var n=i.getNodeByDataIndex(t),o=r[n.depth];return o&&(e.parentModel=o),e}))}return i.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=uI(r,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){wI(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(Sp);function Kz(e){var t=0;l["k"](e.children,(function(e){Kz(e);var n=e.value;l["t"](n)&&(n=n[0]),t+=n}));var n=e.value;l["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),l["t"](e.value)?e.value[0]=n:e.value=n}var Zz=Xz,Jz=Math.PI/180;function Qz(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),r=e.get("radius");l["t"](r)||(r=[0,r]),l["t"](t)||(t=[t,t]);var i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o),s=Br(t[0],i),u=Br(t[1],o),c=Br(r[0],a/2),d=Br(r[1],a/2),h=-e.get("startAngle")*Jz,f=e.get("minAngle")*Jz,p=e.getData().tree.root,m=e.getViewRoot(),g=m.depth,v=e.get("sort");null!=v&&eH(m,v);var y=0;l["k"](m.children,(function(e){!isNaN(e.getValue())&&y++}));var b=m.getValue(),_=Math.PI/(b||y)*2,w=m.depth>0,x=m.height-(w?-1:1),k=(d-c)/(x||1),M=e.get("clockwise"),S=e.get("stillShowZeroSum"),C=M?1:-1,T=function(t,n){if(t){var r=n;if(t!==p){var i=t.getValue(),o=0===b&&S?_:i*_;o<f&&(o=f),r=n+C*o;var d=t.depth-g-(w?-1:1),h=c+k*d,m=c+k*(d+1),v=e.getLevelModel(t);if(v){var y=v.get("r0",!0),x=v.get("r",!0),O=v.get("radius",!0);null!=O&&(y=O[0],x=O[1]),null!=y&&(h=Br(y,a/2)),null!=x&&(m=Br(x,a/2))}t.setLayout({angle:o,startAngle:n,endAngle:r,clockwise:M,cx:s,cy:u,r0:h,r:m})}if(t.children&&t.children.length){var L=0;l["k"](t.children,(function(e){L+=T(e,n+L)}))}return r-n}};if(w){var O=c,L=c+k,A=2*Math.PI;p.setLayout({angle:A,startAngle:h,endAngle:h+A,clockwise:M,cx:s,cy:u,r0:O,r:L})}T(m,h)}))}function eH(e,t){var n=e.children||[];e.children=tH(n,t),n.length&&l["k"](e.children,(function(e){eH(e,t)}))}function tH(e,t){if(l["w"](t)){var n=l["H"](e,(function(e,t){var n=e.getValue();return{params:{depth:e.depth,height:e.height,dataIndex:e.dataIndex,getValue:function(){return n}},index:t}}));return n.sort((function(e,n){return t(e.params,n.params)})),l["H"](n,(function(t){return e[t.index]}))}var r="asc"===t;return e.sort((function(e,t){var n=(e.getValue()-t.getValue())*(r?1:-1);return 0===n?(e.dataIndex-t.dataIndex)*(r?-1:1):n}))}function nH(e){var t={};function n(e,n,r){var i=e;while(i&&i.depth>1)i=i.parentNode;var o=n.getColorFromPalette(i.name||i.dataIndex+"",t);return e.depth>1&&Object(l["C"])(o)&&(o=Object(Bt["c"])(o,(e.depth-1)/(r-1)*.5)),o}e.eachSeriesByType("sunburst",(function(e){var t=e.getData(),r=t.tree;r.eachNode((function(i){var o=i.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=n(i,e,r.root.height));var s=t.ensureUniqueItemVisual(i.dataIndex,"style");Object(l["m"])(s,a)}))}))}function rH(e){e.registerChartView(qz),e.registerSeriesModel(Zz),e.registerLayout(Object(l["h"])(Qz,"sunburst")),e.registerProcessor(Object(l["h"])(wC,"sunburst")),e.registerVisual(nH),$z(e)}var iH={color:"fill",borderColor:"stroke"},oH={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},aH=Ei(),sH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return pM(null,this)},t.prototype.getDataParams=function(t,n,r){var i=e.prototype.getDataParams.call(this,t,n);return r&&(i.info=aH(r).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(Sp),lH=sH;function uH(e,t){return t=t||[0,0],l["H"](["x","y"],(function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function cH(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:l["c"](uH,e)}}}function dH(e,t){return t=t||[0,0],l["H"]([0,1],(function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function hH(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:l["c"](dH,e)}}}function fH(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function pH(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:Object(l["c"])(fH,e)}}}function mH(e,t){return t=t||[0,0],l["H"](["Radius","Angle"],(function(n,r){var i="get"+n+"Axis",o=this[i](),a=t[r],s=e[r]/2,l="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function gH(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=t.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=e.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:l["c"](mH,e)}}}function vH(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}function yH(e,t,n,r){return e&&(e.legacy||!1!==e.legacy&&!n&&!r&&"tspan"!==t&&("text"===t||Object(l["q"])(e,"text")))}function bH(e,t,n){var r,i,o,a=e;if("text"===t)o=a;else{o={},Object(l["q"])(a,"text")&&(o.text=a.text),Object(l["q"])(a,"rich")&&(o.rich=a.rich),Object(l["q"])(a,"textFill")&&(o.fill=a.textFill),Object(l["q"])(a,"textStroke")&&(o.stroke=a.textStroke),Object(l["q"])(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(l["q"])(a,"fontSize")&&(o.fontSize=a.fontSize),Object(l["q"])(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(l["q"])(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=Object(l["q"])(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),Object(l["q"])(a,"textPosition")&&(r.position=a.textPosition),Object(l["q"])(a,"textOffset")&&(r.offset=a.textOffset),Object(l["q"])(a,"textRotation")&&(r.rotation=a.textRotation),Object(l["q"])(a,"textDistance")&&(r.distance=a.textDistance)}return _H(o,e),Object(l["k"])(o.rich,(function(e){_H(e,e)})),{textConfig:r,textContent:i}}function _H(e,t){t&&(t.font=t.textFont||t.font,Object(l["q"])(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Object(l["q"])(t,"textAlign")&&(e.align=t.textAlign),Object(l["q"])(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Object(l["q"])(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Object(l["q"])(t,"textWidth")&&(e.width=t.textWidth),Object(l["q"])(t,"textHeight")&&(e.height=t.textHeight),Object(l["q"])(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Object(l["q"])(t,"textPadding")&&(e.padding=t.textPadding),Object(l["q"])(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Object(l["q"])(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Object(l["q"])(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Object(l["q"])(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Object(l["q"])(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Object(l["q"])(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Object(l["q"])(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function wH(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";xH(r,t);var a=null==r.textFill;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,Object(l["k"])(t.rich,(function(e){xH(e,e)})),r}function xH(e,t){t&&(Object(l["q"])(t,"fill")&&(e.textFill=t.fill),Object(l["q"])(t,"stroke")&&(e.textStroke=t.fill),Object(l["q"])(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Object(l["q"])(t,"font")&&(e.font=t.font),Object(l["q"])(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Object(l["q"])(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Object(l["q"])(t,"fontSize")&&(e.fontSize=t.fontSize),Object(l["q"])(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Object(l["q"])(t,"align")&&(e.textAlign=t.align),Object(l["q"])(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Object(l["q"])(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Object(l["q"])(t,"width")&&(e.textWidth=t.width),Object(l["q"])(t,"height")&&(e.textHeight=t.height),Object(l["q"])(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Object(l["q"])(t,"padding")&&(e.textPadding=t.padding),Object(l["q"])(t,"borderColor")&&(e.textBorderColor=t.borderColor),Object(l["q"])(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Object(l["q"])(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Object(l["q"])(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Object(l["q"])(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Object(l["q"])(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Object(l["q"])(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Object(l["q"])(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Object(l["q"])(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Object(l["q"])(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Object(l["q"])(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var kH={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},MH=Object(l["F"])(kH),SH=(Object(l["N"])(qn,(function(e,t){return e[t]=1,e}),{}),qn.join(", "),["","style","shape","extra"]),CH=Ei();function TH(e,t,n,r,i){var o=e+"Animation",a=Hl(e,r,i)||{},s=CH(t).userDuring;return a.duration>0&&(a.during=s?Object(l["c"])(NH,{el:t,userDuring:s}):null,a.setToFinal=!0,a.scope=e),Object(l["m"])(a,n[o]),a}function OH(e,t,n,r){r=r||{};var i=r.dataIndex,o=r.isInit,a=r.clearStyle,s=n.isAnimationEnabled(),u=CH(e),c=t.style;u.userDuring=t.during;var d={},h={};if(zH(e,t,h),YH("shape",t,h),YH("extra",t,h),!o&&s&&(FH(e,t,d),BH("shape",e,t,d),BH("extra",e,t,d),HH(e,t,c,d)),h.style=c,EH(e,h,a),jH(e,t),s)if(o){var f={};Object(l["k"])(SH,(function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(f[e]=f[e]||{}),Object(l["m"])(e?f[e]:f,n.enterFrom))}));var p=TH("enter",e,t,n,i);p.duration>0&&e.animateFrom(f,p)}else IH(e,t,i||0,n,d);LH(e,t),c?e.dirty():e.markRedraw()}function LH(e,t){for(var n=CH(e).leaveToProps,r=0;r<SH.length;r++){var i=SH[r],o=i?t[i]:t;o&&o.leaveTo&&(n||(n=CH(e).leaveToProps={}),i&&(n[i]=n[i]||{}),Object(l["m"])(i?n[i]:n,o.leaveTo))}}function AH(e,t,n,r){if(e){var i=e.parent,o=CH(e).leaveToProps;if(o){var a=TH("update",e,t,n,0);a.done=function(){i.remove(e),r&&r()},e.animateTo(o,a)}else i.remove(e),r&&r()}}function DH(e){return"all"===e}function EH(e,t,n){var r=t.style;if(!e.isGroup&&r){if(n){e.useStyle({});for(var i=e.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(r)}t&&(t.style=null,t&&e.attr(t),t.style=r)}function IH(e,t,n,r,i){if(i){var o=TH("update",e,t,r,n);o.duration>0&&e.animateFrom(i,o)}}function jH(e,t){Object(l["q"])(t,"silent")&&(e.silent=t.silent),Object(l["q"])(t,"ignore")&&(e.ignore=t.ignore),e instanceof Bo&&Object(l["q"])(t,"invisible")&&(e.invisible=t.invisible),e instanceof Ua&&Object(l["q"])(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var PH={},RH={setTransform:function(e,t){return PH.el[e]=t,this},getTransform:function(e){return PH.el[e]},setShape:function(e,t){var n=PH.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=PH.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=PH.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=PH.el.style;if(t)return t[e]},setExtra:function(e,t){var n=PH.el.extra||(PH.el.extra={});return n[e]=t,this},getExtra:function(e){var t=PH.el.extra;if(t)return t[e]}};function NH(){var e=this,t=e.el;if(t){var n=CH(t).userDuring,r=e.userDuring;n===r?(PH.el=t,r(RH)):e.el=e.userDuring=null}}function BH(e,t,n,r){var i=n[e];if(i){var o,a=t[e];if(a){var s=n.transition,u=i.transition;if(u)if(!o&&(o=r[e]={}),DH(u))Object(l["m"])(o,a);else for(var c=ci(u),d=0;d<c.length;d++){var h=c[d],f=a[h];o[h]=f}else if(DH(s)||Object(l["r"])(s,e)>=0){!o&&(o=r[e]={});var p=Object(l["F"])(a);for(d=0;d<p.length;d++){h=p[d],f=a[h];VH(i[h],f)&&(o[h]=f)}}}}}function YH(e,t,n){var r=t[e];if(r)for(var i=n[e]={},o=Object(l["F"])(r),a=0;a<o.length;a++){var s=o[a];i[s]=qt(r[s])}}function FH(e,t,n){for(var r=t.transition,i=DH(r)?qn:ci(r||[]),o=0;o<i.length;o++){var a=i[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=e[a];0,n[a]=s}}}function zH(e,t,n){for(var r=0;r<MH.length;r++){var i=MH[r],o=kH[i],a=t[i];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(r=0;r<qn.length;r++){var s=qn[r];null!=t[s]&&(n[s]=t[s])}}function HH(e,t,n,r){if(n){var i,o=e.style;if(o){var a=n.transition,s=t.transition;if(a&&!DH(a)){var u=ci(a);!i&&(i=r.style={});for(var c=0;c<u.length;c++){var d=u[c],h=o[d];i[d]=h}}else if(e.getAnimationStyleProps&&(DH(s)||DH(a)||Object(l["r"])(s,"style")>=0)){var f=e.getAnimationStyleProps(),p=f?f.style:null;if(p){!i&&(i=r.style={});var m=Object(l["F"])(n);for(c=0;c<m.length;c++){d=m[c];if(p[d]){h=o[d];i[d]=h}}}}}}}function VH(e,t){return Object(l["u"])(e)?e!==t:null!=e&&isFinite(e)}var WH=Ei(),UH=["percent","easing","shape","style","extra"];function $H(e){e.stopAnimation("keyframe"),e.attr(WH(e))}function GH(e,t,n){if(n.isAnimationEnabled()&&t)if(Object(l["t"])(t))Object(l["k"])(t,(function(t){GH(e,t,n)}));else{var r=t.keyframes,i=t.duration;if(n&&null==i){var o=Hl("enter",n,0);i=o&&o.duration}if(r&&i){var a=WH(e);Object(l["k"])(SH,(function(n){if(!n||e[n]){var o;r.sort((function(e,t){return e.percent-t.percent})),Object(l["k"])(r,(function(r){var s=e.animators,u=n?r[n]:r;if(u){var c=Object(l["F"])(u);if(n||(c=Object(l["n"])(c,(function(e){return Object(l["r"])(UH,e)<0}))),c.length){o||(o=e.animate(n,t.loop,!0),o.scope="keyframe");for(var d=0;d<s.length;d++)s[d]!==o&&s[d].targetName===o.targetName&&s[d].stopTracks(c);n&&(a[n]=a[n]||{});var h=n?a[n]:a;Object(l["k"])(c,(function(t){h[t]=((n?e[n]:e)||{})[t]})),o.whenWithKeys(i*r.percent,u,c,r.easing)}}})),o&&o.delay(t.delay||0).duration(i).start(t.easing)}}))}}}var qH="emphasis",XH="normal",KH="blur",ZH="select",JH=[XH,qH,KH,ZH],QH={normal:["itemStyle"],emphasis:[qH,"itemStyle"],blur:[KH,"itemStyle"],select:[ZH,"itemStyle"]},eV={normal:["label"],emphasis:[qH,"label"],blur:[KH,"label"],select:[ZH,"label"]},tV=["x","y"],nV="e\0\0",rV={normal:{},emphasis:{},blur:{},select:{}},iV={cartesian2d:cH,geo:hH,single:pH,polar:gH,calendar:vH};function oV(e){return e instanceof Ua}function aV(e){return e instanceof Bo}function sV(e,t){t.copyTransform(e),aV(t)&&aV(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,oV(t)&&oV(e)&&t.setShape(e.shape))}var lV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._data,o=e.getData(),a=this.group,s=mV(e,o,t,n);i||a.removeAll(),o.diff(i).add((function(t){vV(n,null,t,s(t,r),e,a,o)})).remove((function(t){var n=i.getItemGraphicEl(t);n&&AH(n,aH(n).option,e)})).update((function(t,l){var u=i.getItemGraphicEl(l);vV(n,u,t,s(t,r),e,a,o)})).execute();var l=e.get("clip",!0)?UM(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,r,i){var o=t.getData(),a=mV(t,o,n,r),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var c=vV(null,null,u,a(u,i),t,this.group,o);c&&(c.traverse(l),s.push(c))}},t.prototype.eachRendered=function(e){Yg(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,r){var i=t.element;if(null==i||n.name===i)return!0;while((n=n.__hostTarget||n.parent)&&n!==this.group)if(n.name===i)return!0;return!1},t.type="custom",t}(qg),uV=lV;function cV(e){var t,n=e.type;if("path"===n){var r=e.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=DV(r);t=gg(o,null,i,r.layout||"center"),aH(t).customPathData=o}else if("image"===n)t=new Qa({}),aH(t).customImagePath=e.style.image;else if("text"===n)t=new Cs({});else if("group"===n)t=new kr;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=mg(n);if(!a){var s="";0,Ed(s)}t=new a}return aH(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function dV(e,t,n,r,i,o,a){$H(t);var s=i&&i.normal.cfg;s&&t.setTextConfig(s),r&&null==r.transition&&(r.transition=tV);var u=r&&r.style;if(u){if("text"===t.type){var c=u;Object(l["q"])(c,"textFill")&&(c.fill=c.textFill),Object(l["q"])(c,"textStroke")&&(c.stroke=c.textStroke)}var d=void 0,h=oV(t)?u.decal:null;e&&h&&(h.dirty=!0,d=Ky(h,e)),u.__decalPattern=d}if(aV(t)&&u){d=u.__decalPattern;d&&(u.decal=d)}OH(t,r,o,{dataIndex:n,isInit:a,clearStyle:!0}),GH(t,r.keyframeAnimation,o)}function hV(e,t,n,r,i){var o=t.isGroup?null:t,a=i&&i[e].cfg;if(o){var s=o.ensureState(e);if(!1===r){var l=o.getState(e);l&&(l.style=null)}else s.style=r||null;a&&(s.textConfig=a),sl(o)}}function fV(e,t,n){if(!e.isGroup){var r=e,i=n.currentZ,o=n.currentZLevel;r.z=i,r.zlevel=o;var a=t.z2;null!=a&&(r.z2=a||0);for(var s=0;s<JH.length;s++)pV(r,t,JH[s])}}function pV(e,t,n){var r,i=n===XH,o=i?t:kV(t,n),a=o?o.z2:null;null!=a&&(r=i?e:e.ensureState(n),r.z2=a||0)}function mV(e,t,n,r){var i=e.get("renderItem"),o=e.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):iV[o.type](o));for(var s,u,c=Object(l["i"])({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:w,style:k,ordinalRawValue:x,styleEmphasis:M,visual:T,barLayout:O,currentSeriesIndices:L,font:A},a.api||{}),d={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:gV(e.getData())},h={},f={},p={},m={},g=0;g<JH.length;g++){var v=JH[g];p[v]=e.getModel(QH[v]),m[v]=e.getModel(eV[v])}function y(e){return e===s?u||(u=t.getItemModel(e)):t.getItemModel(e)}function b(e,n){return t.hasItemOption?e===s?h[n]||(h[n]=y(e).getModel(QH[n])):y(e).getModel(QH[n]):p[n]}function _(e,n){return t.hasItemOption?e===s?f[n]||(f[n]=y(e).getModel(eV[n])):y(e).getModel(eV[n]):m[n]}return function(e,n){return s=e,u=null,h={},f={},i&&i(Object(l["i"])({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},d),c)};function w(e,n){return null==n&&(n=s),t.getStore().get(t.getDimensionIndex(e||0),n)}function x(e,n){null==n&&(n=s),e=e||0;var r=t.getDimensionInfo(e);if(!r){var i=t.getDimensionIndex(e);return i>=0?t.getStore().get(i,n):void 0}var o=t.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[o]:o}function k(n,r){null==r&&(r=s);var i=t.getItemVisual(r,"style"),o=i&&i.fill,a=i&&i.opacity,u=b(r,XH).getItemStyle();null!=o&&(u.fill=o),null!=a&&(u.opacity=a);var c={inheritColor:Object(l["C"])(o)?o:"#000"},d=_(r,XH),h=ru(d,null,c,!1,!0);h.text=d.getShallow("show")?Object(l["P"])(e.getFormattedLabel(r,XH),vM(t,r)):null;var f=iu(d,c,!1);return C(n,u),u=wH(u,h,f),n&&S(u,n),u.legacy=!0,u}function M(n,r){null==r&&(r=s);var i=b(r,qH).getItemStyle(),o=_(r,qH),a=ru(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(l["Q"])(e.getFormattedLabel(r,qH),e.getFormattedLabel(r,XH),vM(t,r)):null;var u=iu(o,null,!0);return C(n,i),i=wH(i,a,u),n&&S(i,n),i.legacy=!0,i}function S(e,t){for(var n in t)Object(l["q"])(t,n)&&(e[n]=t[n])}function C(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}function T(e,n){if(null==n&&(n=s),Object(l["q"])(iH,e)){var r=t.getItemVisual(n,"style");return r?r[iH[e]]:null}if(Object(l["q"])(oH,e))return t.getItemVisual(n,e)}function O(e){if("cartesian2d"===o.type){var t=o.getBaseAxis();return _S(Object(l["i"])({axis:t},e))}}function L(){return n.getCurrentSeriesIndices()}function A(e){return du(e,n)}}function gV(e){var t={};return Object(l["k"])(e.dimensions,(function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim,o=t[i]=t[i]||[];o[r.coordDimIndex]=e.getDimensionIndex(n)}})),t}function vV(e,t,n,r,i,o,a){if(r){var s=yV(e,t,n,r,i,o);return s&&a.setItemGraphicEl(n,s),s&&Ll(s,r.focus,r.blurScope,r.emphasisDisabled),s}o.remove(t)}function yV(e,t,n,r,i,o){var a=-1,s=t;t&&bV(t,r,i)&&(a=Object(l["r"])(o.childrenRef(),t),t=null);var u=!t,c=t;c?c.clearStates():(c=cV(r),s&&sV(s,c)),!1===r.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),rV.normal.cfg=rV.normal.conOpt=rV.emphasis.cfg=rV.emphasis.conOpt=rV.blur.cfg=rV.blur.conOpt=rV.select.cfg=rV.select.conOpt=null,rV.isLegacy=!1,wV(c,n,r,i,u,rV),_V(c,n,r,i,u),dV(e,c,n,r,rV,i,u),Object(l["q"])(r,"info")&&(aH(c).info=r.info);for(var d=0;d<JH.length;d++){var h=JH[d];if(h!==XH){var f=kV(r,h),p=MV(r,f,h);hV(h,c,f,p,rV)}}return fV(c,r,i),"group"===r.type&&SV(e,c,n,r,i),a>=0?o.replaceAt(c,a):o.add(c),c}function bV(e,t,n){var r=aH(e),i=t.type,o=t.shape,a=t.style;return n.isUniversalTransitionEnabled()||null!=i&&i!==r.customGraphicType||"path"===i&&EV(o)&&DV(o)!==r.customPathData||"image"===i&&Object(l["q"])(a,"image")&&a.image!==r.customImagePath}function _V(e,t,n,r,i){var o=n.clipPath;if(!1===o)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&bV(a,o,r)&&(a=null),a||(a=cV(o),e.setClipPath(a)),dV(null,a,t,o,null,r,i)}}function wV(e,t,n,r,i,o){if(!e.isGroup){xV(n,null,o),xV(n,qH,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=e.getTextContent();if(!1===a)c&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=cV(a),e.setTextContent(c)),dV(null,c,t,a,null,r,i);for(var d=a&&a.style,h=0;h<JH.length;h++){var f=JH[h];if(f!==XH){var p=o[f].conOpt;hV(f,c,p,MV(a,p,f),null)}}d?c.dirty():c.markRedraw()}}}}function xV(e,t,n){var r=t?kV(e,t):e,i=t?MV(e,r,qH):e.style,o=e.type,a=r?r.textConfig:null,s=e.textContent,l=s?t?kV(s,t):s:null;if(i&&(n.isLegacy||yH(i,o,!!a,!!l))){n.isLegacy=!0;var u=bH(i,o,!t);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;!c.type&&(c.type="text")}var d=t?n[t]:n.normal;d.cfg=a,d.conOpt=l}function kV(e,t){return t?e?e[t]:null:e}function MV(e,t,n){var r=t&&t.style;return null==r&&n===qH&&e&&(r=e.styleEmphasis),r}function SV(e,t,n,r,i){var o=r.children,a=o?o.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,u=!1===s;if(a||l||u)if(l)TV({api:e,oldChildren:t.children()||[],newChildren:o||[],dataIndex:n,seriesModel:i,group:t});else{u&&t.removeAll();for(var c=0;c<a;c++){var d=o[c],h=t.childAt(c);d?(null==d.ignore&&(d.ignore=!1),yV(e,h,n,d,i,t)):h.ignore=!0}for(var f=t.childCount()-1;f>=c;f--){var p=t.childAt(f);CV(t,p,i)}}}function CV(e,t,n){t&&AH(t,aH(e).option,n)}function TV(e){new _k(e.oldChildren,e.newChildren,OV,OV,e).add(LV).update(LV).remove(AV).execute()}function OV(e,t){var n=e&&e.name;return null!=n?n:nV+t}function LV(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,i=null!=t?n.oldChildren[t]:null;yV(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function AV(e){var t=this.context,n=t.oldChildren[e];n&&AH(n,aH(n).option,t.seriesModel)}function DV(e){return e&&(e.pathData||e.d)}function EV(e){return e&&(Object(l["q"])(e,"pathData")||Object(l["q"])(e,"d"))}function IV(e){e.registerChartView(uV),e.registerSeriesModel(lH)}var jV=Ei(),PV=l["d"],RV=l["c"],NV=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,r){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var u={};this.makeElOption(u,i,e,t,n);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(e,t);if(a){var h=l["h"](BV,t,d);this.updatePointerEl(a,u,h),this.updateLabelEl(a,u,h,t)}else a=this._group=new kr,this.createPointerEl(a,u,e,t),this.createLabelEl(a,u,e,t),n.getZr().add(a);HV(a,t,!0),this._renderHandle(i)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get("animation"),r=e.axis,i="category"===r.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=_L(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,i){var o=t.pointer;if(o){var a=jV(e).pointerEl=new r[o.type](PV(t.pointer));e.add(a)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=jV(e).labelEl=new Cs(PV(t.label));e.add(i),FV(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=jV(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=jV(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),FV(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return i&&r.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=Eg(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){ne(e.event)},onmousedown:RV(this._onHandleDragMove,this,0,0),drift:RV(this._onHandleDragMove,this),ondragend:RV(this._onHandleDragEnd,this)}),r.add(i)),HV(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");l["t"](s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,Qg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){BV(this._axisPointerModel,!t&&this._moveAnimation,this._handle,zV(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(zV(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(zV(r)),jV(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),ev(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},e}();function BV(e,t,n,r){YV(jV(n).lastProp,r)||(jV(n).lastProp=r,t?Wl(n,r,e):(n.stopAnimation(),n.attr(r)))}function YV(e,t){if(l["A"](e)&&l["A"](t)){var n=!0;return l["k"](t,(function(t,r){n=n&&YV(e[r],t)})),!!n}return e===t}function FV(e,t){e[t.get(["label","show"])?"show":"hide"]()}function zV(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function HV(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}var VV=NV;function WV(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle(),t.fill=null):"shadow"===n&&(t=r.getAreaStyle(),t.stroke=null),t}function UV(e,t,n,r,i){var o=n.get("value"),a=GV(o,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=Sc(s.get("padding")||0),u=s.getFont(),c=nr(a,u),d=i.position,h=c.width+l[1]+l[3],f=c.height+l[0]+l[2],p=i.align;"right"===p&&(d[0]-=h),"center"===p&&(d[0]-=h/2);var m=i.verticalAlign;"bottom"===m&&(d[1]-=f),"middle"===m&&(d[1]-=f/2),$V(d,h,f,r);var g=s.get("backgroundColor");g&&"auto"!==g||(g=t.get(["axisLine","lineStyle","color"])),e.label={x:d[0],y:d[1],style:ru(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function $V(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function GV(e,t,n,r,i){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:i.precision}),a=i.formatter;if(a){var s={value:sO(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};l["k"](r,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&s.seriesData.push(i)})),l["C"](a)?o=a.replace("{value}",o):l["w"](a)&&(o=a(s))}return o}function qV(e,t,n){var r=le();return fe(r,r,n.rotation),he(r,r,n.position),Sg([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function XV(e,t,n,r,i,o){var a=hL.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),UV(t,r,i,o,{position:qV(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function KV(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function ZV(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function JV(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}var QV=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=eW(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=WV(r),d=tW[s](o,u,l);d.style=c,e.graphicKey=d.type,e.pointer=d}var h=VO(a.model,n);XV(t,e,h,n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=VO(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=qV(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=eW(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,d=[c,c];d[l]=u[l];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:d,tooltipOption:h[l]}},t}(VV);function eW(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var tW={line:function(e,t,n){var r=KV([t,n[0]],[t,n[1]],nW(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:ZV([t-r/2,n[0]],[r,i],nW(e))}}};function nW(e){return"x"===e.dim?0:1}var rW=QV,iW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Kc),oW=iW,aW=Ei(),sW=l["k"];function lW(e,t,n){if(!s["a"].node){var r=t.getZr();aW(r).records||(aW(r).records={}),uW(r,t);var i=aW(r).records[e]||(aW(r).records[e]={});i.handler=n}}function uW(e,t){function n(n,r){e.on(n,(function(n){var i=fW(t);sW(aW(e).records,(function(e){e&&r(e,n,i.dispatchAction)})),cW(i.pendings,t)}))}aW(e).initialized||(aW(e).initialized=!0,n("click",l["h"](hW,"click")),n("mousemove",l["h"](hW,"mousemove")),n("globalout",dW))}function cW(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function dW(e,t,n){e.handler("leave",null,n)}function hW(e,t,n,r){t.handler(e,n,r)}function fW(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function pW(e,t){if(!s["a"].node){var n=t.getZr(),r=(aW(n).records||{})[e];r&&(aW(n).records[e]=null)}}var mW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),i=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";lW("axisPointer",n,(function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){pW("axisPointer",t)},t.prototype.dispose=function(e,t){pW("axisPointer",t)},t.type="axisPointer",t}(Tp),gW=mW;function vW(e,t){var n,r=[],i=e.seriesIndex;if(null==i||!(n=t.getSeriesByIndex(i)))return{point:[]};var o=n.getData(),a=Di(o,e);if(null==a||a<0||l["t"](a))return{point:[]};var s=o.getItemGraphicEl(a),u=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(a)||[];else if(u&&u.dataToPoint)if(e.isStacked){var c=u.getBaseAxis(),d=u.getOtherAxis(c),h=d.dim,f=c.dim,p="x"===h||"radius"===h?1:0,m=o.mapDimension(f),g=[];g[p]=o.get(m,a),g[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),r=u.dataToPoint(g)||[]}else r=u.dataToPoint(o.getValues(l["H"](u.dimensions,(function(e){return o.mapDimension(e)})),a))||[];else if(s){var v=s.getBoundingRect().clone();v.applyTransform(s.transform),r=[v.x+v.width/2,v.y+v.height/2]}return{point:r,el:s}}var yW=Ei();function bW(e,t,n){var r=e.currTrigger,i=[e.x,e.y],o=e,a=e.dispatchAction||Object(l["c"])(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){LW(i)&&(i=vW({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var u=LW(i),c=o.axesInfo,d=s.axesInfo,h="leave"===r||LW(i),f={},p={},m={list:[],map:{}},g={showPointer:Object(l["h"])(xW,p),showTooltip:Object(l["h"])(kW,m)};Object(l["k"])(s.coordSysMap,(function(e,t){var n=u||e.containPoint(i);Object(l["k"])(s.coordSysAxesInfo[t],(function(e,t){var r=e.axis,o=TW(c,e);if(!h&&n&&(!c||o)){var a=o&&o.value;null!=a||u||(a=r.pointToData(i)),null!=a&&_W(e,a,g,!1,f)}}))}));var v={};return Object(l["k"])(d,(function(e,t){var n=e.linkGroup;n&&!p[t]&&Object(l["k"])(n.axesInfo,(function(t,r){var i=p[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,OW(t),OW(e)))),v[e.key]=o}}))})),Object(l["k"])(v,(function(e,t){_W(d[t],e,g,!0,f)})),MW(p,d,f),SW(m,i,e,a),CW(d,a,n),f}}function _W(e,t,n,r,i){var o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var a=wW(t,e),s=a.payloadBatch,u=a.snapToValue;s[0]&&null==i.seriesIndex&&Object(l["m"])(i,s[0]),!r&&e.snap&&o.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,s),n.showTooltip(e,a,u)}else n.showPointer(e,t)}function wW(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,s=-1;return Object(l["k"])(t.seriesModels,(function(t,u){var c,d,h=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(h,e,n);d=f.dataIndices,c=f.nestestValue}else{if(d=t.getData().indicesOfNearest(h[0],e,"category"===n.type?.5:null),!d.length)return;c=t.getData().get(h[0],d[0])}if(null!=c&&isFinite(c)){var p=e-c,m=Math.abs(p);m<=a&&((m<a||p>=0&&s<0)&&(a=m,s=p,i=c,o.length=0),Object(l["k"])(d,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:i}}function xW(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function kW(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,u=kL(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function MW(e,t,n){var r=n.axesInfo=[];Object(l["k"])(t,(function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}))}function SW(e,t,n,r){if(!LW(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}function CW(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",o=yW(r)[i]||{},a=yW(r)[i]={};Object(l["k"])(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&e.triggerEmphasis&&Object(l["k"])(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e}))}));var s=[],u=[];Object(l["k"])(o,(function(e,t){!a[t]&&u.push(e)})),Object(l["k"])(a,(function(e,t){!o[t]&&s.push(e)})),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function TW(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function OW(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function LW(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function AW(e){CL.registerAxisPointerClass("CartesianAxisPointer",rW),e.registerComponentModel(oW),e.registerComponentView(gW),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!Object(l["t"])(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=fL(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},bW)}function DW(e){N_(BL),N_(AW)}var EW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),u=o.dataToCoord(t),c=r.get("type");if(c&&"none"!==c){var d=WV(r),h=jW[c](o,a,u,l);h.style=d,e.graphicKey=h.type,e.pointer=h}var f=r.get(["label","margin"]),p=IW(t,n,r,a,f);UV(e,n,r,i,p)},t}(VV);function IW(e,t,n,r,i){var o=t.axis,a=o.dataToCoord(e),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,d=r.getRadiusAxis().getExtent();if("radius"===o.dim){var h=le();fe(h,h,s),he(h,h,[r.cx,r.cy]),l=Sg([a,-i],h);var f=t.getModel("axisLabel").get("rotate")||0,p=hL.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var m=d[1];l=r.coordToPoint([m+i,a]);var g=r.cx,v=r.cy;u=Math.abs(l[0]-g)/m<.3?"center":l[0]>g?"left":"right",c=Math.abs(l[1]-v)/m<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var jW={line:function(e,t,n,r){return"angle"===e.dim?{type:"Line",shape:KV(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var i=Math.max(1,e.getBandWidth()),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:JV(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(i/2-n)*o)}:{type:"Sector",shape:JV(t.cx,t.cy,n-i/2,n+i/2,0,2*Math.PI)}}},PW=EW,RW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.findAxisModel=function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Kc),NW=RW,BW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ri).models[0]},t.type="polarAxis",t}(Kc);l["K"](BW,KC);var YW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="angleAxis",t}(BW),FW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="radiusAxis",t}(BW),zW=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return a(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(FO);zW.prototype.dataToRadius=FO.prototype.dataToCoord,zW.prototype.radiusToData=FO.prototype.coordToData;var HW=zW,VW=Ei(),WW=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return a(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var o=r[0],a=e.dataToCoord(o+1)-e.dataToCoord(o),s=Math.abs(a),l=nr(null==o?"":o+"",t.getFont(),"center","top"),u=Math.max(l.height,7),c=u/s;isNaN(c)&&(c=1/0);var d=Math.max(0,Math.floor(c)),h=VW(e.model),f=h.lastAutoInterval,p=h.lastTickCount;return null!=f&&null!=p&&Math.abs(f-d)<=1&&Math.abs(p-i)<=1&&f>d?d=f:(h.lastTickCount=i,h.lastAutoInterval=d),d},t}(FO);WW.prototype.dataToAngle=FO.prototype.dataToCoord,WW.prototype.angleToData=FO.prototype.coordToData;var UW=WW,$W=["radius","angle"],GW=function(){function e(e){this.dimensions=$W,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new HW,this._angleAxis=new UW,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){var t="_"+e+"Axis";return this[t]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},e.prototype.pointToData=function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;var l=Math.atan2(-n,t)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI,r=Math.cos(n)*t+this.cx,i=-Math.sin(n)*t+this.cy;return[r,i]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),n=t.getExtent().slice();n[0]>n[1]&&n.reverse();var r=e.getExtent(),i=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-r[0]*i,endAngle:-r[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r,a=this.r,s=this.r0;return a!==s&&i-o<=a*a&&i+o>=s*s}}},e.prototype.convertToPixel=function(e,t,n){var r=qW(t);return r===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=qW(t);return r===this?this.pointToData(n):null},e}();function qW(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var XW=GW;function KW(e,t,n){var r=t.get("center"),i=n.getWidth(),o=n.getHeight();e.cx=Br(r[0],i),e.cy=Br(r[1],o);var a=e.getRadiusAxis(),s=Math.min(i,o)/2,u=t.get("radius");null==u?u=[0,"100%"]:l["t"](u)||(u=[0,u]);var c=[Br(u[0],s),Br(u[1],s)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function ZW(e,t){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();l["k"](hO(t,"radius"),(function(e){i.scale.unionExtentFromData(t,e)})),l["k"](hO(t,"angle"),(function(e){r.scale.unionExtentFromData(t,e)}))}})),rO(r.scale,r.model),rO(i.scale,i.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function JW(e){return"angleAxis"===e.mainType}function QW(e,t){var n;if(e.type=t.get("type"),e.scale=iO(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),JW(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),i=null!==(n=t.get("endAngle"))&&void 0!==n?n:r+(e.inverse?-360:360);e.setExtent(r,i)}t.axis=e,e.model=t}var eU={dimensions:$W,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var i=new XW(r+"");i.update=ZW;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");QW(o,s),QW(a,l),KW(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",Ri).models[0];0,e.coordinateSystem=t.coordinateSystem}})),n}},tU=eU,nU=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function rU(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function iU(e){var t=e.getRadiusAxis();return t.inverse?0:1}function oU(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var aU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return a(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=l["H"](n.getViewLabels(),(function(e){e=l["d"](e);var t=n.scale,r="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(r),e}));oU(s),oU(o),l["k"](nU,(function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||sU[t](this.group,e,r,o,a,i,s)}),this)}},t.type="angleAxis",t}(CL),sU={axisLine:function(e,t,n,i,o,a){var s,l=t.getModel(["axisLine","lineStyle"]),u=n.getAngleAxis(),c=Math.PI/180,d=u.getExtent(),h=iU(n),f=h?0:1,p=360===Math.abs(d[1]-d[0])?"Circle":"Arc";s=0===a[f]?new r[p]({shape:{cx:n.cx,cy:n.cy,r:a[h],startAngle:-d[0]*c,endAngle:-d[1]*c,clockwise:u.inverse},style:l.getLineStyle(),z2:1,silent:!0}):new Mm({shape:{cx:n.cx,cy:n.cy,r:a[h],r0:a[f]},style:l.getLineStyle(),z2:1,silent:!0}),s.style.fill=null,e.add(s)},axisTick:function(e,t,n,r,i,o){var a=t.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),u=o[iU(n)],c=l["H"](r,(function(e){return new Rm({shape:rU(n,[u,u+s],e.coord)})}));e.add(bg(c,{style:l["i"](a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("axisTick"),s=t.getModel("minorTick"),u=(a.get("inside")?-1:1)*s.get("length"),c=o[iU(n)],d=[],h=0;h<i.length;h++)for(var f=0;f<i[h].length;f++)d.push(new Rm({shape:rU(n,[c,c+u],i[h][f].coord)}));e.add(bg(d,{style:l["i"](s.getModel("lineStyle").getLineStyle(),l["i"](a.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,r,i,o,a){var s=t.getCategories(!0),u=t.getModel("axisLabel"),c=u.get("margin"),d=t.get("triggerEvent");l["k"](a,(function(r,i){var a=u,h=r.tickValue,f=o[iU(n)],p=n.coordToPoint([f+c,r.coord]),m=n.cx,g=n.cy,v=Math.abs(p[0]-m)/f<.3?"center":p[0]>m?"left":"right",y=Math.abs(p[1]-g)/f<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[h]){var b=s[h];l["A"](b)&&b.textStyle&&(a=new Tu(b.textStyle,u,u.ecModel))}var _=new Cs({silent:hL.isLabelSilent(t),style:ru(a,{x:p[0],y:p[1],fill:a.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:v,verticalAlign:y})});if(e.add(_),d){var w=hL.makeAxisEventDataBase(t);w.targetType="axisLabel",w.value=r.rawLabel,Ts(_).eventData=w}}),this)},splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine"),s=a.getModel("lineStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=0;h<r.length;h++){var f=c++%u.length;d[f]=d[f]||[],d[f].push(new Rm({shape:rU(n,o,r[h].coord)}))}for(h=0;h<d.length;h++)e.add(bg(d[h],{style:l["i"]({stroke:u[h%u.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],u=0;u<i.length;u++)for(var c=0;c<i[u].length;c++)l.push(new Rm({shape:rU(n,o,i[u][c].coord)}));e.add(bg(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,r,i,o){if(r.length){var a=t.getModel("splitArea"),s=a.getModel("areaStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=Math.PI/180,f=-r[0].coord*h,p=Math.min(o[0],o[1]),m=Math.max(o[0],o[1]),g=t.get("clockwise"),v=1,y=r.length;v<=y;v++){var b=v===y?r[0].coord:r[v].coord,_=c++%u.length;d[_]=d[_]||[],d[_].push(new wm({shape:{cx:n.cx,cy:n.cy,r0:p,r:m,startAngle:f,endAngle:-b*h,clockwise:g},silent:!0})),f=-b*h}for(v=0;v<d.length;v++)e.add(bg(d[v],{style:l["i"]({fill:u[v%u.length]},s.getAreaStyle()),silent:!0}))}}},lU=aU,uU=["axisLine","axisTickLabel","axisName"],cU=["splitLine","splitArea","minorSplitLine"],dU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return a(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=this._axisGroup,r=this._axisGroup=new kr;this.group.add(r);var i=e.axis,o=i.polar,a=o.getAngleAxis(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),c=a.getExtent()[0],d=i.getExtent(),h=fU(o,e,c),f=new hL(e,h);l["k"](uU,f.add,f),r.add(f.getGroup()),Lg(n,r,e),l["k"](cU,(function(t){e.get([t,"show"])&&!i.scale.isBlank()&&hU[t](this.group,e,o,c,d,s,u)}),this)}},t.type="radiusAxis",t}(CL),hU={splitLine:function(e,t,n,i,o,a){var s=t.getModel("splitLine"),u=s.getModel("lineStyle"),c=u.get("color"),d=0,h=n.getAngleAxis(),f=Math.PI/180,p=h.getExtent(),m=360===Math.abs(p[1]-p[0])?"Circle":"Arc";c=c instanceof Array?c:[c];for(var g=[],v=0;v<a.length;v++){var y=d++%c.length;g[y]=g[y]||[],g[y].push(new r[m]({shape:{cx:n.cx,cy:n.cy,r:Math.max(a[v].coord,0),startAngle:-p[0]*f,endAngle:-p[1]*f,clockwise:h.inverse}}))}for(v=0;v<g.length;v++)e.add(bg(g[v],{style:l["i"]({stroke:c[v%c.length],fill:null},u.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,r,i,o,a){if(a.length){for(var s=t.getModel("minorSplitLine"),u=s.getModel("lineStyle"),c=[],d=0;d<a.length;d++)for(var h=0;h<a[d].length;h++)c.push(new em({shape:{cx:n.cx,cy:n.cy,r:a[d][h].coord}}));e.add(bg(c,{style:l["i"]({fill:null},u.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,r,i,o){if(o.length){var a=t.getModel("splitArea"),s=a.getModel("areaStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=o[0].coord,f=1;f<o.length;f++){var p=c++%u.length;d[p]=d[p]||[],d[p].push(new wm({shape:{cx:n.cx,cy:n.cy,r0:h,r:o[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=o[f].coord}for(f=0;f<d.length;f++)e.add(bg(d[f],{style:l["i"]({fill:u[f%u.length]},s.getAreaStyle()),silent:!0}))}}};function fU(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}var pU=dU;function mU(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function gU(e,t){return t.dim+e.model.componentIndex}function vU(e,t,n){var r={},i=yU(l["n"](t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,o=n.getBaseAxis(),a=gU(n,o),s=mU(e),l=i[a][s],u=l.offset,c=l.width,d=n.getOtherAxis(o),h=e.coordinateSystem.cx,f=e.coordinateSystem.cy,p=e.get("barMinHeight")||0,m=e.get("barMinAngle")||0;r[s]=r[s]||[];for(var g=t.mapDimension(d.dim),v=t.mapDimension(o.dim),y=sM(t,g),b="radius"!==o.dim||!e.get("roundCap",!0),_=d.model,w=_.get("startValue"),x=d.dataToCoord(w||0),k=0,M=t.count();k<M;k++){var S=t.get(g,k),C=t.get(v,k),T=S>=0?"p":"n",O=x;y&&(r[s][C]||(r[s][C]={p:x,n:x}),O=r[s][C][T]);var L=void 0,A=void 0,D=void 0,E=void 0;if("radius"===d.dim){var I=d.dataToCoord(S)-x,j=o.dataToCoord(C);Math.abs(I)<p&&(I=(I<0?-1:1)*p),L=O,A=O+I,D=j-u,E=D-c,y&&(r[s][C][T]=A)}else{var P=d.dataToCoord(S,b)-x,R=o.dataToCoord(C);Math.abs(P)<m&&(P=(P<0?-1:1)*m),L=R+u,A=L+c,D=O,E=O+P,y&&(r[s][C][T]=E)}t.setItemLayout(k,{cx:h,cy:f,r0:L,r:A,startAngle:-D*Math.PI/180,endAngle:-E*Math.PI/180,clockwise:D>=E})}}}))}function yU(e){var t={};l["k"](e,(function(e,n){var r=e.getData(),i=e.coordinateSystem,o=i.getBaseAxis(),a=gU(i,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/r.count(),u=t[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;t[a]=u;var d=mU(e);c[d]||u.autoWidthCount++,c[d]=c[d]||{width:0,maxWidth:0};var h=Br(e.get("barWidth"),l),f=Br(e.get("barMaxWidth"),l),p=e.get("barGap"),m=e.get("barCategoryGap");h&&!c[d].width&&(h=Math.min(u.remainedWidth,h),c[d].width=h,u.remainedWidth-=h),f&&(c[d].maxWidth=f),null!=p&&(u.gap=p),null!=m&&(u.categoryGap=m)}));var n={};return l["k"](t,(function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=Br(e.categoryGap,i),a=Br(e.gap,1),s=e.remainedWidth,u=e.autoWidthCount,c=(s-o)/(u+(u-1)*a);c=Math.max(c,0),l["k"](r,(function(e,t){var n=e.maxWidth;n&&n<c&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,u--)})),c=(s-o)/(u+(u-1)*a),c=Math.max(c,0);var d,h=0;l["k"](r,(function(e,t){e.width||(e.width=c),d=e,h+=e.width*(1+a)})),d&&(h-=d.width*a);var f=-h/2;l["k"](r,(function(e,r){n[t][r]=n[t][r]||{offset:f,width:e.width},f+=e.width*(1+a)}))})),n}var bU=vU,_U={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},wU={splitNumber:5},xU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="polar",t}(Tp);function kU(e){N_(AW),CL.registerAxisPointerClass("PolarAxisPointer",PW),e.registerCoordinateSystem("polar",tU),e.registerComponentModel(NW),e.registerComponentView(xU),uT(e,"angle",YW,_U),uT(e,"radius",FW,wU),e.registerComponentView(lU),e.registerComponentView(pU),e.registerLayout(Object(l["h"])(bU,"bar"))}function MU(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,i={},o=r.position,a=r.orient,s=n.getRect(),u=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};i.position=["vertical"===a?c.vertical[o]:u[0],"horizontal"===a?c.horizontal[o]:u[3]];var d={horizontal:0,vertical:1};i.rotation=Math.PI/2*d[a];var h={top:-1,bottom:1,right:1,left:-1};i.labelDirection=i.tickDirection=i.nameDirection=h[o],e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),l["O"](t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var f=t.rotate;return null==f&&(f=e.get(["axisLabel","rotate"])),i.labelRotation="top"===o?-f:f,i.z2=1,i}var SU=["axisLine","axisTickLabel","axisName"],CU=["splitArea","splitLine"],TU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return a(t,e),t.prototype.render=function(t,n,r,i){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new kr;var s=MU(t),u=new hL(t,s);l["k"](SU,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),l["k"](CU,(function(e){t.get([e,"show"])&&OU[e](this,this.group,this._axisGroup,t)}),this),Lg(a,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)},t.prototype.remove=function(){LL(this)},t.type="singleAxis",t}(CL),OU={splitLine:function(e,t,n,r){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var u=a.get("width"),c=r.coordinateSystem.getRect(),d=i.isHorizontal(),h=[],f=0,p=i.getTicksCoords({tickModel:o}),m=[],g=[],v=0;v<p.length;++v){var y=i.toGlobalCoord(p[v].coord);d?(m[0]=y,m[1]=c.y,g[0]=y,g[1]=c.y+c.height):(m[0]=c.x,m[1]=y,g[0]=c.x+c.width,g[1]=y);var b=new Rm({shape:{x1:m[0],y1:m[1],x2:g[0],y2:g[1]},silent:!0});wg(b.shape,u);var _=f++%s.length;h[_]=h[_]||[],h[_].push(b)}var w=a.getLineStyle(["color"]);for(v=0;v<h.length;++v)t.add(bg(h[v],{style:l["i"]({stroke:s[v%s.length]},w),silent:!0}))}},splitArea:function(e,t,n,r){OL(e,n,r,r)}},LU=TU,AU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(Kc);Object(l["K"])(AU,KC.prototype);var DU=AU,EU=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.position=o||"bottom",a}return a(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.pointToData=function(e,t){return this.coordinateSystem.pointToData(e)[0]},t}(FO),IU=EU,jU=["single"],PU=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=jU,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=this.dimension,i=new IU(r,iO(e),[0,0],e.get("type"),e.get("position")),o="category"===i.type;i.onBand=o&&e.get("boundaryGap"),i.inverse=e.get("inverse"),i.orient=e.get("orient"),e.axis=i,i.model=e,i.coordinateSystem=this,this._axis=i},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();Object(l["k"])(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),rO(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=Fc({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.inverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(e){var t=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},e.prototype.convertToPixel=function(e,t,n){var r=RU(t);return r===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=RU(t);return r===this?this.pointToData(n):null},e}();function RU(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var NU=PU;function BU(e,t){var n=[];return e.eachComponent("singleAxis",(function(r,i){var o=new NU(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",Ri).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),n}var YU={create:BU,dimensions:jU},FU=YU,zU=["x","y"],HU=["width","height"],VU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.coordinateSystem,s=$U(a,1-UU(o)),l=a.dataToPoint(t)[0],u=r.get("type");if(u&&"none"!==u){var c=WV(r),d=WU[u](o,l,s);d.style=c,e.graphicKey=d.type,e.pointer=d}var h=MU(n);XV(t,e,h,n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=MU(t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=qV(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.coordinateSystem,a=UU(i),s=$U(o,a),l=[e.x,e.y];l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=$U(o,1-a),c=(u[1]+u[0])/2,d=[c,c];return d[a]=l[a],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},t}(VV),WU={line:function(e,t,n){var r=KV([t,n[0]],[t,n[1]],UU(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=e.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:ZV([t-r/2,n[0]],[r,i],UU(e))}}};function UU(e){return e.isHorizontal()?0:1}function $U(e,t){var n=e.getRect();return[n[zU[t]],n[zU[t]]+n[HU[t]]]}var GU=VU,qU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="single",t}(Tp);function XU(e){N_(AW),CL.registerAxisPointerClass("SingleAxisPointer",GU),e.registerComponentView(qU),e.registerComponentView(LU),e.registerComponentModel(DU),uT(e,"single",DU,DU.defaultOption),e.registerCoordinateSystem("single",FU)}var KU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t,n,r){var i=Uc(t);e.prototype.init.apply(this,arguments),ZU(t,i)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),ZU(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Kc);function ZU(e,t){var n,r=e.cellSize;n=l["t"](r)?r:e.cellSize=[r,r],1===n.length&&(n[1]=n[0]);var i=l["H"]([0,1],(function(e){return Hc(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));Wc(e,t,{type:"box",ignoreSize:i})}var JU=KU,QU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll();var i=e.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,o,r),this._renderLines(e,o,a,r),this._renderYearText(e,o,a,r),this._renderMonthText(e,s,a,r),this._renderWeekText(e,s,o,a,r)},t.prototype._renderDayRect=function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),a=r.getCellHeight(),s=t.start.time;s<=t.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,u=new ls({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});n.add(u)}},t.prototype._renderLines=function(e,t,n,r){var i=this,o=e.coordinateSystem,a=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function h(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},t.prototype._getEdgesPoints=function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-t/2,r[1][i]=r[1][i]+t/2,r},t.prototype._drawSplitline=function(e,t,n){var r=new Em({z2:20,shape:{points:e},style:t});n.add(r)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var r=e.coordinateSystem,i=r.getDateInfo(t),o=[],a=0;a<7;a++){var s=r.getNextNDay(i.time,a),l=r.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},t.prototype._formatterLabel=function(e,t){return Object(l["C"])(e)&&e?Ac(e,t):Object(l["w"])(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,n,r,i){var o=t[0],a=t[1],s=["center","bottom"];"bottom"===r?(a+=i,s=["center","top"]):"left"===r?o-=i:"right"===r?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,r){var i=e.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,d={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},h=t.start.y;+t.end.y>+t.start.y&&(h=h+"-"+t.end.y);var f=i.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:h},m=this._formatterLabel(f,p),g=new Cs({z2:30,style:ru(i,{text:m}),silent:i.get("silent")});g.attr(this._yearTextPositionControl(g,d[a],n,a,o)),r.add(g)}},t.prototype._monthTextPositionControl=function(e,t,n,r,i){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=i,t&&(o="center"),"start"===r&&(a="bottom")):(s+=i,t&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderMonthText=function(e,t,n,r){var i=e.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),u=i.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(l["C"])(o)||(o&&(t=Vu(o)||t),o=t.get(["time","monthAbbr"])||[]);var d="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var f="center"===u,p=i.get("silent"),m=0;m<c[d].length-1;m++){var g=c[d][m].slice(),v=this._firstDayOfMonth[m];if(f){var y=this._firstDayPoints[m];g[h]=(y[h]+c[0][m+1][h])/2}var b=i.get("formatter"),_=o[+v.m-1],w={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:_},x=this._formatterLabel(b,w),k=new Cs({z2:30,style:Object(l["m"])(ru(i,{text:x}),this._monthTextPositionControl(g,f,n,s,a)),silent:p});r.add(k)}}},t.prototype._weekTextPositionControl=function(e,t,n,r,i){var o="center",a="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+r+(u?1:-1)*i[0]/2,o=u?"right":"left"):(l=l+r+(u?1:-1)*i[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderWeekText=function(e,t,n,r,i){var o=e.getModel("dayLabel");if(o.get("show")){var a=e.coordinateSystem,s=o.get("position"),u=o.get("nameMap"),c=o.get("margin"),d=a.getFirstDayOfWeek();if(!u||Object(l["C"])(u)){u&&(t=Vu(u)||t);var h=t.get(["time","dayOfWeekShort"]);u=h||Object(l["H"])(t.get(["time","dayOfWeekAbbr"]),(function(e){return e[0]}))}var f=a.getNextNDay(n.end.time,7-n.lweek).time,p=[a.getCellWidth(),a.getCellHeight()];c=Br(c,Math.min(p[1],p[0])),"start"===s&&(f=a.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var m=o.get("silent"),g=0;g<7;g++){var v=a.getNextNDay(f,g),y=a.dataToRect([v.time],!1).center,b=g;b=Math.abs((g+d)%7);var _=new Cs({z2:30,style:Object(l["m"])(ru(o,{text:u[b]}),this._weekTextPositionControl(y,r,s,c,p)),silent:m});i.add(_)}}},t.type="calendar",t}(Tp),e$=QU,t$=864e5,n$=function(){function e(t,n,r){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(e){e=Kr(e);var t=e.getFullYear(),n=e.getMonth()+1,r=n<10?"0"+n:""+n,i=e.getDate(),o=i<10?"0"+i:""+i,a=e.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:t+"",m:r,d:o,day:a,time:e.getTime(),formatedDate:t+"-"+r+"-"+o,date:e}},e.prototype.getNextNDay=function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},e.prototype.update=function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];l["k"]([0,1],(function(e){c(i,e)&&(o[r[e]]=i[e]*a[e])}));var s={width:t.getWidth(),height:t.getHeight()},u=this._rect=Fc(o,s);function c(e,t){return null!=e[t]&&"auto"!==e[t]}l["k"]([0,1],(function(e){c(i,e)||(i[e]=u[r[e]]/a[e])})),this._sw=i[0],this._sh=i[1]},e.prototype.dataToPoint=function(e,t){l["t"](e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,i=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<r.end.time+t$))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([r.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},e.prototype.pointToData=function(e){var t=this.pointToDate(e);return t&&t.time},e.prototype.dataToRect=function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},e.prototype.pointToDate=function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},e.prototype.convertToPixel=function(e,t,n){var r=r$(t);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=r$(t);return r===this?r.pointToData(n):null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(l["t"](t)&&1===t.length&&(t=t[0]),l["t"](t))e=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var r=this.getDateInfo(n),i=r.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[r.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return t;var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},e.prototype._getRangeInfo=function(e){var t,n=[this.getDateInfo(e[0]),this.getDateInfo(e[1])];n[0].time>n[1].time&&(t=!0,n.reverse());var r=Math.floor(n[1].time/t$)-Math.floor(n[0].time/t$)+1,i=new Date(n[0].time),o=i.getDate(),a=n[1].date.getDate();i.setDate(o+r-1);var s=i.getDate();if(s!==a){var l=i.getTime()-n[1].time>0?1:-1;while((s=i.getDate())!==a&&(i.getTime()-n[1].time)*l>0)r-=l,i.setDate(s-l)}var u=Math.floor((r+n[0].day+6)/7),c=t?1-u:u-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&t<r.fweek||e===r.weeks&&t>r.lweek)return null;var i=7*(e-1)-r.fweek+t,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",(function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("calendarIndex")||0])})),r},e.dimensions=["time","value"],e}();function r$(e){var t=e.calendarModel,n=e.seriesModel,r=t?t.coordinateSystem:n?n.coordinateSystem:null;return r}var i$=n$;function o$(e){e.registerComponentModel(JU),e.registerComponentView(e$),e.registerCoordinateSystem("calendar",i$)}function a$(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function s$(e,t){var n;return l["k"](t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function l$(e,t,n){var r=l["m"]({},n),i=e[t],o=n.$action||"merge";"merge"===o?i?(l["I"](i,r,!0),Wc(i,r,{ignoreSize:!0}),$c(n,i),d$(n,i),d$(n,i,"shape"),d$(n,i,"style"),d$(n,i,"extra"),n.clipPath=i.clipPath):e[t]=r:"replace"===o?e[t]=r:"remove"===o&&i&&(e[t]=null)}var u$=["transition","enterFrom","leaveTo"],c$=u$.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function d$(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var r=n?u$:c$,i=0;i<r.length;i++){var o=r[i];null==e[o]&&null!=t[o]&&(e[o]=t[o])}}function h$(e,t){if(e&&(e.hv=t.hv=[s$(t,["left","right"]),s$(t,["top","bottom"])],"group"===e.type)){var n=e,r=t;null==n.width&&(n.width=r.width=0),null==n.height&&(n.height=r.height=0)}}var f$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return a(t,e),t.prototype.mergeOption=function(t,n){var r=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,n),this.option.elements=r},t.prototype.optionUpdated=function(e,t){var n=this.option,r=(t?n:e).elements,i=n.elements=t?[]:n.elements,o=[];this._flatten(r,o,null);var a=mi(i,o,"normalMerge"),s=this._elOptionsToUpdate=[];l["k"](a,(function(e,t){var n=e.newOption;n&&(s.push(n),a$(e,n),l$(i,t,n),h$(i[t],n))}),this),n.elements=l["n"](i,(function(e){return e&&delete e.$action,null!=e}))},t.prototype._flatten=function(e,t,n){l["k"](e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;r&&r.length&&this._flatten(r,t,e),delete e.children}}),this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(Kc),p$={path:null,compoundPath:null,group:kr,image:Qa,text:Cs},m$=Ei(),g$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){this._elMap=l["f"]()},t.prototype.render=function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},t.prototype._updateElements=function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group,i=e.get("z"),o=e.get("zlevel");l["k"](t,(function(t){var a=Mi(t.id,null),s=null!=a?n.get(a):null,l=Mi(t.parentId,null),u=null!=l?n.get(l):r,c=t.type,d=t.style;"text"===c&&d&&t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=d.verticalAlign=d.align=null);var h=t.textContent,f=t.textConfig;if(d&&yH(d,c,!!f,!!h)){var p=bH(d,c,!0);!f&&p.textConfig&&(f=t.textConfig=p.textConfig),!h&&p.textContent&&(h=p.textContent)}var m=w$(t);var g=t.$action||"merge",v="merge"===g,y="replace"===g;if(v){var b=!s,_=s;b?_=y$(a,u,t.type,n):(_&&(m$(_).isNew=!1),$H(_)),_&&(OH(_,m,e,{isInit:b}),_$(_,t,i,o))}else if(y){b$(s,t,n,e);var w=y$(a,u,t.type,n);w&&(OH(w,m,e,{isInit:!0}),_$(w,t,i,o))}else"remove"===g&&(LH(s,t),b$(s,t,n,e));var x=n.get(a);if(x&&h)if(v){var k=x.getTextContent();k?k.attr(h):x.setTextContent(new Cs(h))}else y&&x.setTextContent(new Cs(h));if(x){var M=t.clipPath;if(M){var S=M.type,C=void 0;b=!1;if(v){var T=x.getClipPath();b=!T||m$(T).type!==S,C=b?v$(S):T}else y&&(b=!0,C=v$(S));x.setClipPath(C),OH(C,M,e,{isInit:b}),GH(C,M.keyframeAnimation,e)}var O=m$(x);x.setTextConfig(f),O.option=t,x$(x,e,t),Ng({el:x,componentModel:e,itemName:x.name,itemTooltipOption:t.tooltip}),GH(x,t.keyframeAnimation,e)}}))}},t.prototype._relocate=function(e,t){for(var n=e.option.elements,r=this.group,i=this._elMap,o=t.getWidth(),a=t.getHeight(),s=["x","y"],u=0;u<n.length;u++){var c=n[u],d=Mi(c.id,null),h=null!=d?i.get(d):null;if(h&&h.isGroup){var f=h.parent,p=f===r,m=m$(h),g=m$(f);m.width=Br(m.option.width,p?o:g.width)||0,m.height=Br(m.option.height,p?a:g.height)||0}}for(u=n.length-1;u>=0;u--){c=n[u],d=Mi(c.id,null),h=null!=d?i.get(d):null;if(h){f=h.parent,g=m$(f);var v=f===r?{width:o,height:a}:{width:g.width,height:g.height},y={},b=zc(h,c,v,null,{hv:c.hv,boundingMode:c.bounding},y);if(!m$(h).isNew&&b){for(var _=c.transition,w={},x=0;x<s.length;x++){var k=s[x],M=y[k];_&&(DH(_)||l["r"](_,k)>=0)?w[k]=M:h[k]=M}Wl(h,w,e,0)}else h.attr(y)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(n){b$(n,m$(n).option,t,e._lastGraphicModel)})),this._elMap=l["f"]()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Tp);function v$(e){var t=l["q"](p$,e)?p$[e]:mg(e);var n=new t({});return m$(n).type=e,n}function y$(e,t,n,r){var i=v$(n);return t.add(i),r.set(e,i),m$(i).id=e,m$(i).isNew=!0,i}function b$(e,t,n,r){var i=e&&e.parent;i&&("group"===e.type&&e.traverse((function(e){b$(e,t,n,r)})),AH(e,t,r),n.removeKey(m$(e).id))}function _$(e,t,n,r){e.isGroup||l["k"]([["cursor",Bo.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];l["q"](t,r)?e[r]=l["P"](t[r],n[1]):null==e[r]&&(e[r]=n[1])})),l["k"](l["F"](t),(function(n){if(0===n.indexOf("on")){var r=t[n];e[n]=l["w"](r)?r:null}})),l["q"](t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}function w$(e){return e=l["m"]({},e),l["k"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Pc),(function(t){delete e[t]})),e}function x$(e,t,n){var r=Ts(e).eventData;e.silent||e.ignore||r||(r=Ts(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function k$(e){e.registerComponentModel(f$),e.registerComponentView(g$),e.registerPreprocessor((function(e){var t=e.graphic;Object(l["t"])(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}))}var M$=["x","y","radius","angle","single"],S$=["cartesian2d","polar","singleAxis"];function C$(e){var t=e.get("coordinateSystem");return Object(l["r"])(S$,t)>=0}function T$(e){return e+"Axis"}function O$(e,t){var n,r=Object(l["f"])(),i=[],o=Object(l["f"])();e.eachComponent({mainType:"dataZoom",query:t},(function(e){o.get(e.uid)||s(e)}));do{n=!1,e.eachComponent("dataZoom",a)}while(n);function a(e){!o.get(e.uid)&&u(e)&&(s(e),n=!0)}function s(e){o.set(e.uid,!0),i.push(e),c(e)}function u(e){var t=!1;return e.eachTargetAxis((function(e,n){var i=r.get(e);i&&i[n]&&(t=!0)})),t}function c(e){e.eachTargetAxis((function(e,t){(r.get(e)||r.set(e,[]))[t]=!0}))}return i}function L$(e){var t=e.ecModel,n={infoList:[],infoMap:Object(l["f"])()};return e.eachTargetAxis((function(e,r){var i=t.getComponent(T$(e),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}})),n}var A$=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),D$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return a(t,e),t.prototype.init=function(e,t,n){var r=E$(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=E$(e);Object(l["I"])(this.option,e,!0),Object(l["I"])(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;Object(l["k"])([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Object(l["f"])(),n=this._fillSpecifiedTargetAxis(t);n?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each((function(e){e.indexList.length&&(this._noTarget=!1)}),this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return Object(l["k"])(M$,(function(n){var r=this.getReferringComponents(T$(n),Ni);if(r.specified){t=!0;var i=new A$;Object(l["k"])(r.models,(function(e){i.add(e.componentIndex)})),e.set(n,i)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i="vertical"===t?"y":"x",o=n.findComponents({mainType:i+"Axis"});a(o,i)}if(r){o=n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});a(o,"single")}function a(t,n){var i=t[0];if(i){var o=new A$;if(o.add(i.componentIndex),e.set(n,o),r=!1,"x"===n||"y"===n){var a=i.getReferringComponents("grid",Ri).models[0];a&&Object(l["k"])(t,(function(e){i.componentIndex!==e.componentIndex&&a===e.getReferringComponents("grid",Ri).models[0]&&o.add(e.componentIndex)}))}}}r&&Object(l["k"])(M$,(function(t){if(r){var i=n.findComponents({mainType:T$(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new A$;o.add(i[0].componentIndex),e.set(t,o),r=!1}}}),this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis((function(t){!e&&(e=t)}),this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");Object(l["k"])([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent(T$(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){Object(l["k"])(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(T$(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(l["k"])([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(l["k"])(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(Kc);function E$(e){var t={};return Object(l["k"])(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var I$=D$,j$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.select",t}(I$),P$=j$,R$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(Tp),N$=R$,B$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.select",t}(N$),Y$=B$,F$=l["k"],z$=Fr,H$=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries((function(t){if(C$(t)){var n=T$(this._dimName),r=t.getReferringComponents(n,Ri).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return l["d"](this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel(),i=r.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];F$(["start","end"],(function(r,u){var c=e[r],d=e[r+"Value"];"percent"===o[u]?(null==c&&(c=a[u]),d=i.parse(Nr(c,a,n))):(t=!0,d=null==d?n[u]:i.parse(d),c=Nr(d,n,a)),l[u]=null==d||isNaN(d)?n[u]:d,s[u]=null==c||isNaN(c)?a[u]:c})),z$(l),z$(s);var u=this._minMaxSpan;function c(e,t,n,r,o){var a=o?"Span":"ValueSpan";sN(0,e,n,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)t[s]=Nr(e[s],n,r,!0),o&&(t[s]=i.parse(t[s]))}return t?c(l,s,n,a,!1):c(s,l,a,n,!0),{valueWindow:l,percentWindow:s}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=V$(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),o=this._valueWindow;"none"!==i&&F$(r,(function(e){var t=e.getData(),r=t.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var s=t.getStore(),u=l["H"](r,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,i,a=0;a<r.length;a++){var l=s.get(u[a],e),c=!isNaN(l),d=l<o[0],h=l>o[1];if(c&&!d&&!h)return!0;c&&(i=!0),d&&(t=!0),h&&(n=!0)}return i&&t&&n}))}else F$(r,(function(n){if("empty"===i)e.setData(t=t.map(n,(function(e){return a(e)?e:NaN})));else{var r={};r[n]=o,t.selectRange(r)}}));F$(r,(function(e){t.setApproximateExtent(o,e)}))}}))}function a(e){return e>=o[0]&&e<=o[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;F$(["min","max"],(function(r){var i=t.get(r+"Span"),o=t.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=Nr(n[0]+o,n,[0,100],!0):null!=i&&(o=Nr(i,[0,100],n,!0)-n[0]),e[r+"Span"]=i,e[r+"ValueSpan"]=o}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=Vr(n,[0,500]);r=Math.min(r,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},e}();function V$(e,t,n){var r=[1/0,-1/0];F$(n,(function(e){fO(r,e.getData(),t)}));var i=e.getAxisModel(),o=QT(i.axis.scale,i,r).calculate();return[o.min,o.max]}var W$=H$,U$={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var o=e.getComponent(T$(r),i);t(r,i,o,n)}))}))}t((function(e,t,n,r){n.__dzAxisProxy=null}));var n=[];t((function(t,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new W$(t,r,o,e),n.push(i.__dzAxisProxy))}));var r=Object(l["f"])();return Object(l["k"])(n,(function(e){Object(l["k"])(e.getTargetSeriesModels(),(function(e){r.set(e.uid,e)}))})),r},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,r){e.getAxisProxy(n,r).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}},$$=U$;function G$(e){e.registerAction("dataZoom",(function(e,t){var n=O$(t,e);Object(l["k"])(n,(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}var q$=!1;function X$(e){q$||(q$=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,$$),G$(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function K$(e){e.registerComponentModel(P$),e.registerComponentView(Y$),X$(e)}var Z$=function(){function e(){}return e}(),J$={};function Q$(e,t){J$[e]=t}function eG(e){return J$[e]}var tG=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;l["k"](this.option.feature,(function(e,n){var r=eG(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),l["I"](e,r.defaultOption))}))},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Kc),nG=tG;function rG(e,t,n){var r=t.getBoxLayoutParams(),i=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Fc(r,o,i);Bc(t.get("orient"),e,t.get("itemGap"),a.width,a.height),zc(e,r,o,i)}function iG(e,t){var n=Sc(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new ls({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var oG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),e.get("show")){var o=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},u=this._features||(this._features={}),c=[];l["k"](s,(function(e,t){c.push(t)})),new _k(this._featureNames||[],c).add(d).update(d).remove(l["h"](d,null)).execute(),this._featureNames=c,rG(i,e,n),i.add(iG(i.getBoundingRect(),e)),a||i.eachChild((function(e){var t=e.__title,r=e.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=e.getTextContent(),u=s&&s.ensureState("emphasis");if(u&&!l["w"](u)&&t){var c=u.style||(u.style={}),d=nr(t,Cs.makeFont(c)),h=e.x+i.x,f=e.y+i.y+o,p=!1;f+d.height>n.getHeight()&&(a.position="top",p=!0);var m=p?-5-d.height:o+10;h+d.width/2>n.getWidth()?(a.position=["100%",m],c.align="right"):h-d.width/2<0&&(a.position=[0,m],c.align="left")}}))}function d(i,o){var a,l=c[i],d=c[o],f=s[l],p=new Tu(f,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===l&&(f.title=r.newTitle),l&&!d){if(aG(l))a={onclick:p.option.onclick,featureName:l};else{var m=eG(l);if(!m)return;a=new m}u[l]=a}else if(a=u[d],!a)return;a.uid=Lu("toolbox-feature"),a.model=p,a.ecModel=t,a.api=n;var g=a instanceof Z$;l||!d?!p.get("show")||g&&a.unusable?g&&a.remove&&a.remove(t,n):(h(p,a,l),p.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?cl:dl)(r[e])},a instanceof Z$&&a.render&&a.render(p,t,n,r)):g&&a.dispose&&a.dispose(t,n)}function h(r,s,u){var c,d,h=r.getModel("iconStyle"),f=r.getModel(["emphasis","iconStyle"]),p=s instanceof Z$&&s.getIcons?s.getIcons():r.get("icon"),m=r.get("title")||{};l["C"](p)?(c={},c[u]=p):c=p,l["C"](m)?(d={},d[u]=m):d=m;var g=r.iconPaths={};l["k"](c,(function(u,c){var p=Eg(u,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle());var m=p.ensureState("emphasis");m.style=f.getItemStyle();var v=new Cs({style:{text:d[c],align:f.get("textAlign"),borderRadius:f.get("textBorderRadius"),padding:f.get("textPadding"),fill:null,font:du({fontStyle:f.get("textFontStyle"),fontFamily:f.get("textFontFamily"),fontSize:f.get("textFontSize"),fontWeight:f.get("textFontWeight")},t)},ignore:!0});p.setTextContent(v),Ng({el:p,componentModel:e,itemName:c,formatterParamsExtra:{title:d[c]}}),p.__title=d[c],p.on("mouseover",(function(){var t=f.getItemStyle(),r=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";v.setStyle({fill:f.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:f.get("textBackgroundColor")}),p.setTextConfig({position:f.get("textPosition")||r}),v.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",c])&&n.leaveEmphasis(this),v.hide()})),("emphasis"===r.get(["iconStatus",c])?cl:dl)(p),i.add(p),p.on("click",l["c"](s.onclick,s,t,n,c)),g[c]=p}))}},t.prototype.updateView=function(e,t,n,r){l["k"](this._features,(function(e){e instanceof Z$&&e.updateView&&e.updateView(e.model,t,n,r)}))},t.prototype.remove=function(e,t){l["k"](this._features,(function(n){n instanceof Z$&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){l["k"](this._features,(function(n){n instanceof Z$&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(Tp);function aG(e){return 0===e.indexOf("my")}var sG=oG,lG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=s["a"].browser;if("function"!==typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||i){var u=a.split(","),c=u[0].indexOf("base64")>-1,d=i?decodeURIComponent(u[1]):u[1];c&&(d=window.atob(d));var h=r+"."+o;if(window.navigator.msSaveOrOpenBlob){var f=d.length,p=new Uint8Array(f);while(f--)p[f]=d.charCodeAt(f);var m=new Blob([p]);window.navigator.msSaveOrOpenBlob(m,h)}else{var g=document.createElement("iframe");document.body.appendChild(g);var v=g.contentWindow,y=v.document;y.open("image/svg+xml","replace"),y.write(d),y.close(),v.focus(),y.execCommand("SaveAs",!0,h),document.body.removeChild(g)}}else{var b=n.get("lang"),_='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(b&&b[0]||"")+'" /></body>',w=window.open();w.document.write(_),w.document.title=r}else{var x=document.createElement("a");x.download=r+"."+o,x.target="_blank",x.href=a;var k=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});x.dispatchEvent(k)}},t.getDefaultOption=function(e){var t={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return t},t}(Z$),uG=lG,cG="__ec_magicType_stack__",dG=[["line","bar"],["stack"]],hG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return l["k"](e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n},t.getDefaultOption=function(e){var t={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return t},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get(["seriesIndex",n]);if(fG[n]){var o,a={series:[]},s=function(e){var t=e.subType,i=e.id,o=fG[n](t,i,e,r);o&&(l["i"](o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var u=s.getAxesByScale("ordinal")[0];if(u){var c=u.dim,d=c+"Axis",h=e.getReferringComponents(d,Ri).models[0],f=h.componentIndex;a[d]=a[d]||[];for(var p=0;p<=f;p++)a[d][f]=a[d][f]||{};a[d][f].boundaryGap="bar"===n}}};l["k"](dG,(function(e){l["r"](e,n)>=0&&l["k"](e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},s);var u=n;"stack"===n&&(o=l["I"]({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(u="tiled")),t.dispatchAction({type:"changeMagicType",currentType:u,newOption:a,newTitle:o,featureName:"magicType"})}},t}(Z$),fG={line:function(e,t,n,r){if("bar"===e)return l["I"]({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return l["I"]({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===cG;if("line"===e||"bar"===e)return r.setIconStatus("stack",i?"normal":"emphasis"),l["I"]({id:t,stack:i?"":cG},r.get(["option","stack"])||{},!0)}};S_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));var pG=hG,mG=new Array(60).join("-"),gG="\t";function vG(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function yG(e){var t=[];return l["k"](e,(function(e,n){var r=e.categoryAxis,i=e.valueAxis,o=i.dim,a=[" "].concat(l["H"](e.series,(function(e){return e.name}))),s=[r.model.getCategories()];l["k"](e.series,(function(e){var t=e.getRawData();s.push(e.getRawData().mapArray(t.mapDimension(o),(function(e){return e})))}));for(var u=[a.join(gG)],c=0;c<s[0].length;c++){for(var d=[],h=0;h<s.length;h++)d.push(s[h][c]);u.push(d.join(gG))}t.push(u.join("\n"))})),t.join("\n\n"+mG+"\n\n")}function bG(e){return l["H"](e,(function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)r[a]=arguments[a];n.push((o?o+gG:"")+r.join(gG))})),n.join("\n")})).join("\n\n"+mG+"\n\n")}function _G(e){var t=vG(e);return{value:l["n"]([yG(t.seriesGroupByCategoryAxis),bG(t.other)],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+mG+"\n\n"),meta:t.meta}}function wG(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function xG(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(gG)>=0)return!0}var kG=new RegExp("["+gG+"]+","g");function MG(e){for(var t=e.split(/\n+/g),n=wG(t.shift()).split(kG),r=[],i=l["H"](n,(function(e){return{name:e,data:[]}})),o=0;o<t.length;o++){var a=wG(t[o]).split(kG);r.push(a.shift());for(var s=0;s<a.length;s++)i[s]&&(i[s].data[o]=a[s])}return{series:i,categories:r}}function SG(e){for(var t=e.split(/\n+/g),n=wG(t.shift()),r=[],i=0;i<t.length;i++){var o=wG(t[i]);if(o){var a=o.split(kG),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?r[i].value=l[0]:r[i]=l[0])}}return{name:n,data:r}}function CG(e,t){var n=e.split(new RegExp("\n*"+mG+"\n*","g")),r={series:[]};return l["k"](n,(function(e,n){if(xG(e)){var i=MG(e),o=t[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=SG(e);r.series.push(i)}})),r}var TG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=r.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=r.get("lang")||[];o.innerHTML=a[0]||r.get("title"),o.style.cssText="margin:10px 20px",o.style.color=r.get("textColor");var s=document.createElement("div"),u=document.createElement("textarea");s.style.cssText="overflow:auto";var c=r.get("optionToContent"),d=r.get("contentToOption"),h=_G(e);if(l["w"](c)){var f=c(t.getOption());l["C"](f)?s.innerHTML=f:l["v"](f)&&s.appendChild(f)}else{u.readOnly=r.get("readOnly");var p=u.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=r.get("textColor"),p.borderColor=r.get("textareaBorderColor"),p.backgroundColor=r.get("textareaColor"),u.value=h.value,s.appendChild(u)}var m=h.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),b=document.createElement("div");v+=";background-color:"+r.get("buttonColor"),v+=";color:"+r.get("buttonTextColor");var _=this;function w(){n.removeChild(i),_._dom=null}ee(y,"click",w),ee(b,"click",(function(){if(null==d&&null!=c||null!=d&&null==c)w();else{var e;try{e=l["w"](d)?d(s,t.getOption()):CG(u.value,m)}catch(n){throw w(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),w()}})),y.innerHTML=a[1],b.innerHTML=a[2],b.style.cssText=y.style.cssText=v,!r.get("readOnly")&&g.appendChild(b),g.appendChild(y),i.appendChild(o),i.appendChild(s),i.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){var t={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return t},t}(Z$);function OG(e,t){return l["H"](e,(function(e,n){var r=t&&t[n];if(l["A"](r)&&!l["t"](r)){var i=l["A"](e)&&!l["t"](e);i||(e={value:e});var o=null!=r.name&&null==e.name;return e=l["i"](e,r),o&&delete e.name,e}return e}))}S_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];l["k"](e.newOption.series,(function(e){var r=t.getSeriesByName(e.name)[0];if(r){var i=r.get("data");n.push({name:e.name,data:OG(e.data,i)})}else n.push(l["m"]({type:"scatter"},e))})),t.mergeOption(l["i"]({series:n},e.newOption))}));var LG=TG,AG=l["k"],DG=Ei();function EG(e,t){var n=RG(e);AG(t,(function(t,r){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(t)}function IG(e){var t=RG(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return AG(n,(function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n],e){r[n]=e;break}})),r}function jG(e){DG(e).snapshots=null}function PG(e){return RG(e).length}function RG(e){var t=DG(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var NG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){jG(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var t={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return t},t}(Z$);S_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var BG=NG,YG=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],FG=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=HG(t,e);Object(l["k"])(VG,(function(e,t){(!n||!n.include||Object(l["r"])(n.include,t)>=0)&&e(i,r._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=$G[e.brushType](0,n,t);e.__rangeOffset={offset:qG[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){Object(l["k"])(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&Object(l["k"])(r.coordSyses,(function(r){var i=$G[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)}))}),this)},e.prototype.setInputRanges=function(e,t){Object(l["k"])(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var r=$G[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?qG[e.brushType](r.values,i.offset,KG(r.xyMinMax,i.xyMinMax)):r.values}}),this)},e.prototype.makePanelOpts=function(e,t){return Object(l["H"])(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:kB(r),isTargetByCursor:SB(r,e,n.coordSysModel),getLinearBrushOtherExtent:MB(r)}}))},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&Object(l["r"])(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=HG(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<WG.length;s++)if(WG[s](r,o))return o}return!0},e}();function zG(e){return e[0]>e[1]&&e.reverse(),e}function HG(e,t){return ji(e,t,{includeMainTypes:YG})}var VG={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,o=Object(l["f"])(),a={},s={};(n||r||i)&&(Object(l["k"])(n,(function(e){var t=e.axis.grid.model;o.set(t.id,t),a[t.id]=!0})),Object(l["k"])(r,(function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0})),Object(l["k"])(i,(function(e){o.set(e.id,e),a[e.id]=!0,s[e.id]=!0})),o.each((function(e){var i=e.coordinateSystem,o=[];Object(l["k"])(i.getCartesians(),(function(e,t){(Object(l["r"])(n,e.getAxis("x").model)>=0||Object(l["r"])(r,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:UG.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})})))},geo:function(e,t){Object(l["k"])(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:UG.geo})}))}},WG=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],UG={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Mg(e)),t}},$G={lineX:Object(l["h"])(GG,0),lineY:Object(l["h"])(GG,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[zG([i[0],o[0]]),zG([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=Object(l["H"])(n,(function(n){var o=e?t.pointToData(n,r):t.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}));return{values:o,xyMinMax:i}}};function GG(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=zG(Object(l["H"])([0,1],(function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))}))),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var qG={lineX:Object(l["h"])(XG,0),lineY:Object(l["h"])(XG,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Object(l["H"])(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function XG(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function KG(e,t){var n=ZG(e),r=ZG(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function ZG(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var JG=FG,QG=l["k"],eq=Ti("toolbox-dataZoom_"),tq=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new xB(n.getZr()),this._brushController.on("brush",l["c"](this._onBrush,this)).mount()),oq(e,t,this,r,n),iq(e,t)},t.prototype.onclick=function(e,t,n){nq[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new JG(rq(this.model),r,{include:["grid"]});i.matchOutputRanges(t,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}})),EG(r,n),this._dispatchZoomAction(n)}function o(e,t,i){var o=t.getAxis(e),s=o.model,l=a(e,s,r),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=sN(0,i.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function a(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)})),r}},t.prototype._dispatchZoomAction=function(e){var t=[];QG(e,(function(e,n){t.push(l["d"](e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){var t={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return t},t}(Z$),nq={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(IG(this.ecModel))}};function rq(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function iq(e,t){e.setIconStatus("back",PG(t)>1?"emphasis":"normal")}function oq(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new JG(rq(e),t,{include:["grid"]}),s=a.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}bd("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],o=rq(r),a=ji(e,o);return QG(a.xAxisModels,(function(e){return s(e,"xAxis","xAxisIndex")})),QG(a.yAxisModels,(function(e){return s(e,"yAxis","yAxisIndex")})),i}function s(e,t,n){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:eq+t+o};a[n]=o,i.push(a)}}));var aq=tq;function sq(e){e.registerComponentModel(nG),e.registerComponentView(sG),Q$("saveAsImage",uG),Q$("magicType",pG),Q$("dataView",LG),Q$("dataZoom",aq),Q$("restore",BG),N_(K$)}var lq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Kc),uq=lq;function cq(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function dq(e){if(s["a"].domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}var hq=dq(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),fq=dq(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function pq(e,t){if(!e)return t;t=Mc(t,!0);var n=e.indexOf(t);return e=-1===n?t:"-"+e.slice(0,n)+"-"+t,e.toLowerCase()}function mq(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?t?n[t]:n:null}var gq=pq(fq,"transition"),vq=pq(hq,"transform"),yq="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(s["a"].transform3dSupported?"will-change:transform;":"");function bq(e){return e="left"===e?"right":"right"===e?"left":"top"===e?"bottom":"top",e}function _q(e,t,n){if(!Object(l["C"])(n)||"inside"===n)return"";var r=e.get("backgroundColor"),i=e.get("borderWidth");t=Ec(t);var o,a=bq(n),s=Math.max(1.5*Math.round(i),6),u="",c=vq+":";Object(l["r"])(["left","right"],a)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var d=o*Math.PI/180,h=s+i,f=h*Math.abs(Math.cos(d))+h*Math.abs(Math.sin(d)),p=Math.round(100*((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-h)/2))/100;u+=";"+a+":-"+p+"px";var m=t+" solid "+i+"px;",g=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",u+";"+c+";","border-bottom:"+m,"border-right:"+m,"background-color:"+r+";"];return'<div style="'+g.join("")+'"></div>'}function wq(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=s["a"].transformSupported?","+vq+r:",left"+r+",top"+r),gq+":"+i}function xq(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!s["a"].transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=s["a"].transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+vq+":"+a+";":[["top",0],["left",0],[hq,a]]}function kq(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont());var i=Object(l["P"])(e.get("lineHeight"),Math.round(3*n/2));n&&t.push("line-height:"+i+"px");var o=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,u=e.get("textShadowOffsetY")||0;return o&&a&&t.push("text-shadow:"+s+"px "+u+"px "+a+"px "+o),Object(l["k"])(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}function Mq(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),u=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),d=e.getModel("textStyle"),h=up(e,"html"),f=u+"px "+c+"px "+a+"px "+s;return r.push("box-shadow:"+f),t&&i&&r.push(wq(i,n)),o&&r.push("background-color:"+o),Object(l["k"])(["width","color","radius"],(function(t){var n="border-"+t,i=Mc(n),o=e.get(i);null!=o&&r.push(n+":"+o+("color"===t?"":"px"))})),r.push(kq(d)),null!=h&&r.push("padding:"+Sc(h).join("px ")+"px"),r.join(";")+";"}function Sq(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&B(e,a,n,r,i)}else{e[0]=r,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var Cq=function(){function e(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,s["a"].wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=e.getZr(),i=t.appendTo,o=i&&(Object(l["C"])(i)?document.querySelector(i):Object(l["v"])(i)?i:Object(l["w"])(i)&&i(e.getDom()));Sq(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),(o||e.getDom()).appendChild(n),this._api=e,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=r.handler,n=r.painter.getViewportRoot();J(n,e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),n=mq(t,"position"),r=t.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=yq+Mq(e,!this._firstShow,this._longHide)+xq(i[0],i[1],!0)+"border-color:"+Ec(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null!=e){var a="";if(Object(l["C"])(i)&&"item"===n.get("trigger")&&!cq(n)&&(a=_q(n,r,i)),Object(l["C"])(e))o.innerHTML=e+a;else if(e){o.innerHTML="",Object(l["t"])(e)||(e=[e]);for(var s=0;s<e.length;s++)Object(l["v"])(e[s])&&e[s].parentNode!==o&&o.appendChild(e[s]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}}else o.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},e.prototype.moveTo=function(e,t){if(this.el){var n=this._styleCoord;if(Sq(n,this._zr,this._container,e,t),null!=n[0]&&null!=n[1]){var r=this.el.style,i=xq(n[0],n[1]);Object(l["k"])(i,(function(e){r[e[0]]=e[1]}))}}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",s["a"].transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return e._longHide=!0}),500)},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Object(l["c"])(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null},e}(),Tq=Cq,Oq=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),Dq(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return e.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(e,t,n,r,i){var o=this;l["A"](e)&&Ed(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new Cs({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:up(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),l["k"](["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){o.el.style[e]=n.get(e)})),l["k"](["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){o.el.style[e]=a.get(e)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),n=Aq(e.style);return[t.width+n.left+n.right,t.height+n.top+n.bottom]},e.prototype.moveTo=function(e,t){var n=this.el;if(n){var r=this._styleCoord;Dq(r,this._zr,e,t),e=r[0],t=r[1];var i=n.style,o=Lq(i.borderWidth||0),a=Aq(i);n.x=e+o+a.left,n.y=t+o+a.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(l["c"](this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function Lq(e){return Math.max(0,e)}function Aq(e){var t=Lq(e.shadowBlur||0),n=Lq(e.shadowOffsetX||0),r=Lq(e.shadowOffsetY||0);return{left:Lq(t-n),right:Lq(t+n),top:Lq(t-r),bottom:Lq(t+r)}}function Dq(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var Eq=Oq,Iq=new ls({shape:{x:-1,y:-1,width:2,height:2}}),jq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){if(!s["a"].node&&t.getDom()){var n=e.getComponent("tooltip"),r=this._renderMode=zi(n.get("renderMode"));this._tooltipContent="richText"===r?new Eq(t):new Tq(t,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},t.prototype.render=function(e,t,n){if(!s["a"].node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var r=this._tooltipContent;r.update(e),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?Qg(this,"_updatePosition",50,"fixRate"):ev(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,t=e.get("triggerOn");lW("itemTooltip",this._api,Object(l["c"])((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!s["a"].node&&n.getDom()){var i=Rq(r,n);this._ticket="";var o=r.dataByCoordSys,a=zq(r,t,n);if(a){var l=a.el.getBoundingRect().clone();l.applyTransform(a.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=Iq;u.x=r.x,u.y=r.y,u.update(),Ts(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var c=vW(r,t),d=c.point[0],h=c.point[1];null!=d&&null!=h&&this._tryShow({offsetX:d,offsetY:h,target:c.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},t.prototype.manuallyHideTip=function(e,t,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(Rq(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData(),u=Pq([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},t.prototype._tryShow=function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,e);else if(n){var o,a,s=Ts(n);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,Gv(n,(function(e){return null!=Ts(e).dataIndex?(o=e,!0):null!=Ts(e).tooltipConfig?(a=e,!0):void 0}),!0),o?this._showSeriesItemTooltip(e,o,t):a?this._showComponentItemTooltip(e,a,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=Object(l["c"])(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=Pq([t.tooltipOption],r),a=this._renderMode,s=[],u=Xf("section",{blocks:[],noHeader:!0}),c=[],d=new cp;Object(l["k"])(e,(function(e){Object(l["k"])(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value;if(t&&null!=i){var o=GV(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),h=Xf("section",{header:o,noHeader:!Object(l["T"])(o),sortBlocks:!0,blocks:[]});u.blocks.push(h),Object(l["k"])(e.seriesDataIndices,(function(u){var f=n.getSeriesByIndex(u.seriesIndex),p=u.dataIndexInside,m=f.getDataParams(p);if(!(m.dataIndex<0)){m.axisDim=e.axisDim,m.axisIndex=e.axisIndex,m.axisType=e.axisType,m.axisId=e.axisId,m.axisValue=sO(t.axis,{value:i}),m.axisValueLabel=o,m.marker=d.makeTooltipMarker("item",Ec(m.color),a);var g=rf(f.formatTooltip(p,!0,null)),v=g.frag;if(v){var y=Pq([f],r).get("valueFormatter");h.blocks.push(y?Object(l["m"])({valueFormatter:y},v):v)}g.text&&c.push(g.text),s.push(m)}}))}}))})),u.blocks.reverse(),c.reverse();var h=t.position,f=o.get("order"),p=tp(u,d,a,f,n.get("useUTC"),o.get("textStyle"));p&&c.unshift(p);var m="richText"===a?"\n\n":"<br/>",g=c.join(m);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,h,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",i[0],i[1],h,null,d)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=Ts(t),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,u=i.dataIndex,c=i.dataType,d=s.getData(c),h=this._renderMode,f=e.positionDefault,p=Pq([d.getItemModel(u),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),m=p.get("trigger");if(null==m||"item"===m){var g=s.getDataParams(u,c),v=new cp;g.marker=v.makeTooltipMarker("item",Ec(g.color),h);var y=rf(s.formatTooltip(u,!1,c)),b=p.get("order"),_=p.get("valueFormatter"),w=y.frag,x=w?tp(_?Object(l["m"])({valueFormatter:_},w):w,v,h,b,r.get("useUTC"),p.get("textStyle")):y.text,k="item_"+s.name+"_"+u;this._showOrMove(p,(function(){this._showTooltipContent(p,x,g,k,e.offsetX,e.offsetY,e.position,e.target,v)})),n({type:"showTip",dataIndexInside:u,dataIndex:d.getRawIndex(u),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r="html"===this._renderMode,i=Ts(t),o=i.tooltipConfig,a=o.option||{},s=a.encodeHTMLContent;if(Object(l["C"])(a)){var u=a;a={content:u,formatter:u},s=!0}s&&r&&a.content&&(a=Object(l["d"])(a),a.content=U(a.content));var c=[a],d=this._ecModel.getComponent(i.componentMainType,i.componentIndex);d&&c.push(d),c.push({formatter:a.content});var h=e.positionDefault,f=Pq(c,this._tooltipModel,h?{position:h}:null),p=f.get("content"),m=Math.random()+"",g=new cp;this._showOrMove(f,(function(){var n=Object(l["d"])(f.get("formatterParams")||{});this._showTooltipContent(f,p,n,m,e.offsetX,e.offsetY,e.position,t,g)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent;c.setEnterable(e.get("enterable"));var d=e.get("formatter");a=a||e.get("position");var h=t,f=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")),p=f.color;if(d)if(Object(l["C"])(d)){var m=e.ecModel.get("useUTC"),g=Object(l["t"])(n)?n[0]:n,v=g&&g.axisType&&g.axisType.indexOf("time")>=0;h=d,v&&(h=oc(g.axisValue,h,m)),h=Lc(h,n,!0)}else if(Object(l["w"])(d)){var y=Object(l["c"])((function(t,r){t===this._ticket&&(c.setContent(r,u,e,p,a),this._updatePosition(e,a,i,o,c,n,s))}),this);this._ticket=r,h=d(n,r,y)}else h=d;c.setContent(h,u,e,p,a),c.show(e,p),this._updatePosition(e,a,i,o,c,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||Object(l["t"])(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:Object(l["t"])(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,i,o,a){var s=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=i.getSize(),d=e.get("align"),h=e.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),Object(l["w"])(t)&&(t=t([n,r],o,i.el,f,{viewSize:[s,u],contentSize:c.slice()})),Object(l["t"])(t))n=Br(t[0],s),r=Br(t[1],u);else if(Object(l["A"])(t)){var p=t;p.width=c[0],p.height=c[1];var m=Fc(p,{width:s,height:u});n=m.x,r=m.y,d=null,h=null}else if(Object(l["C"])(t)&&a){var g=Yq(t,f,c,e.get("borderWidth"));n=g[0],r=g[1]}else{g=Nq(n,r,i,s,u,d?null:20,h?null:20);n=g[0],r=g[1]}if(d&&(n-=Fq(d)?c[0]/2:"right"===d?c[0]:0),h&&(r-=Fq(h)?c[1]/2:"bottom"===h?c[1]:0),cq(e)){g=Bq(n,r,i,s,u);n=g[0],r=g[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&Object(l["k"])(n,(function(n,o){var a=n.dataByAxis||[],s=e[o]||{},u=s.dataByAxis||[];i=i&&a.length===u.length,i&&Object(l["k"])(a,(function(e,n){var o=u[n]||{},a=e.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===s.length,i&&Object(l["k"])(a,(function(e,t){var n=s[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),r&&Object(l["k"])(e.seriesDataIndices,(function(e){var n=e.seriesIndex,o=t[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!s["a"].node&&t.getDom()&&(ev(this,"_updatePosition"),this._tooltipContent.dispose(),pW("itemTooltip",t))},t.type="tooltip",t}(Tp);function Pq(e,t,n){var r,i=t.ecModel;n?(r=new Tu(n,i,i),r=new Tu(t.option,r,i)):r=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof Tu&&(a=a.get("tooltip",!0)),Object(l["C"])(a)&&(a={formatter:a}),a&&(r=new Tu(a,r,i)))}return r}function Rq(e,t){return e.dispatchAction||Object(l["c"])(t.dispatchAction,t)}function Nq(e,t,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(e+l+o+2>r?e-=l+o:e+=o),null!=a&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function Bq(e,t,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function Yq(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+a;break;case"left":s=t.x-i-a,l=t.y+c/2-o/2;break;case"right":s=t.x+u+a,l=t.y+c/2-o/2}return[s,l]}function Fq(e){return"center"===e||"middle"===e}function zq(e,t,n){var r=Pi(e).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o=Bi(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(t){var n=Ts(t).tooltipConfig;if(n&&n.name===e.name)return s=t,!0})),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}var Hq=jq;function Vq(e){N_(AW),e.registerComponentModel(uq),e.registerComponentView(Hq),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},l["L"]),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},l["L"])}var Wq=["rect","polygon","keep","clear"];function Uq(e,t){var n=ci(e?e.brush:[]);if(n.length){var r=[];l["k"](n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(r=r.concat(t))}));var i=e&&e.toolbox;l["t"](i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,r),$q(s),t&&!s.length&&s.push.apply(s,Wq)}}function $q(e){var t={};l["k"](e,(function(e){t[e]=1})),e.length=0,l["k"](t,(function(t,n){e.push(n)}))}var Gq=l["k"];function qq(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function Xq(e,t,n){var r={};return Gq(t,(function(t){var o=r[t]=i();Gq(e[t],(function(e,r){if(pj.isValidType(r)){var i={type:r,visual:e};n&&n(i,t),o[r]=new pj(i),"opacity"===r&&(i=l["d"](i),i.type="colorAlpha",o.__hidden.__alphaForOpacity=new pj(i))}}))})),r;function i(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function Kq(e,t,n){var r;l["k"](n,(function(e){t.hasOwnProperty(e)&&qq(t[e])&&(r=!0)})),r&&l["k"](n,(function(n){t.hasOwnProperty(n)&&qq(t[n])?e[n]=l["d"](t[n]):delete e[n]}))}function Zq(e,t,n,r,i,o){var a,s={};function u(e){return zv(n,a,e)}function c(e,t){Vv(n,a,e,t)}function d(e,l){a=null==o?e:l;var d=n.getRawDataItem(a);if(!d||!1!==d.visualMap)for(var h=r.call(i,e),f=t[h],p=s[h],m=0,g=p.length;m<g;m++){var v=p[m];f[v]&&f[v].applyVisual(e,u,c)}}l["k"](e,(function(e){var n=pj.prepareVisualTypes(t[e]);s[e]=n})),null==o?n.each(d):n.each([o],d)}function Jq(e,t,n,r){var i={};return l["k"](e,(function(e){var n=pj.prepareVisualTypes(t[e]);i[e]=n})),{progress:function(e,o){var a,s;function l(e){return zv(o,s,e)}function u(e,t){Vv(o,s,e,t)}null!=r&&(a=o.getDimensionIndex(r));var c=o.getStore();while(null!=(s=e.next())){var d=o.getRawDataItem(s);if(!d||!1!==d.visualMap)for(var h=null!=r?c.get(a,s):s,f=n(h),p=t[f],m=i[f],g=0,v=m.length;g<v;g++){var y=m[g];p[y]&&p[y].applyVisual(h,l,u)}}}}}function Qq(e){var t=e.brushType,n={point:function(r){return eX[t].point(r,n,e)},rect:function(r){return eX[t].rect(r,n,e)}};return n}var eX={lineX:tX(0),lineY:tX(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&KA(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var i=e.x,o=e.y,a=e.width,s=e.height,l=r[0];return!!(KA(r,i,o)||KA(r,i+a,o)||KA(r,i,o+s)||KA(r,i+a,o+s)||Oe.create(e).contain(l[0],l[1])||Ig(i,o,i+a,o,r)||Ig(i,o,i,o+s,r)||Ig(i+a,o,i+a,o+s,r)||Ig(i,o+s,i+a,o+s,r))||void 0}}};function tX(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var i=r.range,o=t[e];return nX(o,i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]<s[0]&&s.reverse(),nX(s[0],a)||nX(s[1],a)||nX(a[0],s)||nX(a[1],s)}}}}function nX(e,t){return t[0]<=e&&e<=t[1]}var rX=["inBrush","outOfBrush"],iX="__ecBrushSelect",oX="__ecInBrushSelectEvent";function aX(e){e.eachComponent({mainType:"brush"},(function(t){var n=t.brushTargetManager=new JG(t.option,e);n.setInputRanges(t.areas,e)}))}function sX(e,t,n){var r,i,o=[];e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),aX(e),e.eachComponent({mainType:"brush"},(function(t,n){var a={brushId:t.id,brushIndex:n,brushName:t.name,areas:l["d"](t.areas),selected:[]};o.push(a);var s=t.option,u=s.brushLink,c=[],d=[],h=[],f=!1;n||(r=s.throttleType,i=s.throttleDelay);var p=l["H"](t.areas,(function(e){var t=hX[e.brushType],n=l["i"]({boundingRect:t?t(e):void 0},e);return n.selectors=Qq(n),n})),m=Xq(t.option,rX,(function(e){e.mappingMethod="fixed"}));function g(e){return"all"===u||!!c[e]}function v(e){return!!e.length}function y(e,t){var n=e.coordinateSystem;f=f||n.hasAxisBrushed(),g(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(d[t]=1)}))}function b(n,r,i){if(n.brushSelector&&!dX(t,r)&&(l["k"](p,(function(r){t.brushTargetManager.controlSeries(r,n,e)&&i.push(r),f=f||v(i)})),g(r)&&v(i))){var o=n.getData();o.each((function(e){cX(n,i,o,e)&&(d[e]=1)}))}}l["t"](u)&&l["k"](u,(function(e){c[e]=1})),e.eachSeries((function(e,t){var n=h[t]=[];"parallel"===e.subType?y(e,t):b(e,t,n)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(n);var r=h[t],i=e.getData(),o=g(t)?function(e){return d[e]?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return cX(e,r,i,t)?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"};(g(t)?f:v(r))&&Zq(rX,m,i,o)}))})),lX(t,r,i,o,n)}function lX(e,t,n,r,i){if(i){var o=e.getZr();if(!o[oX]){o[iX]||(o[iX]=uX);var a=Qg(o,iX,n,t);a(e,r)}}}function uX(e,t){if(!e.isDisposed()){var n=e.getZr();n[oX]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[oX]=!1}}function cX(e,t,n,r){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e.brushSelector(r,n,a.selectors,a))return!0}}function dX(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(l["t"](n)?l["r"](n,t)<0:t!==n)}var hX={rect:function(e){return fX(e.range)},polygon:function(e){for(var t,n=e.range,r=0,i=n.length;r<i;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[r];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&fX(t)}};function fX(e){return new Oe(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var pX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new xB(t.getZr())).on("brush",l["c"](this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},t.prototype.updateTransform=function(e,t,n,r){aX(t),this._updateController(e,t,n,r)},t.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},t.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},t.prototype._updateController=function(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:l["d"](n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:l["d"](n),$from:t})},t.type="brush",t}(Tp),mX=pX,gX="#ddd",vX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return a(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&Kq(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:gX},r.hasOwnProperty("liftZ")||(r.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=l["H"](e,(function(e){return yX(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=yX(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Kc);function yX(e,t){return l["I"]({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Tu(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var bX=vX,_X=["rect","polygon","lineX","lineY","keep","clear"],wX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,n){var r,i,o;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,i=e.brushOption.brushMode||"single",o=o||!!e.areas.length})),this._brushType=r,this._brushMode=i,l["k"](e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===i:"clear"===t?o:t===r)?"emphasis":"normal")}))},t.prototype.updateView=function(e,t,n){this.render(e,t,n)},t.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return l["k"](e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},t.prototype.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},t.getDefaultOption=function(e){var t={show:!0,type:_X.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])};return t},t}(Z$),xX=wX;function kX(e){e.registerComponentView(mX),e.registerComponentModel(bX),e.registerPreprocessor(Uq),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,sX),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},l["L"]),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},l["L"]),Q$("brush",xX)}var MX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return a(t,e),t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Kc),SX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,i=e.getModel("textStyle"),o=e.getModel("subtextStyle"),a=e.get("textAlign"),s=l["P"](e.get("textBaseline"),e.get("textVerticalAlign")),u=new Cs({style:ru(i,{text:e.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),c=u.getBoundingRect(),d=e.get("subtext"),h=new Cs({style:ru(o,{text:d,fill:o.getTextColor(),y:c.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),f=e.get("link"),p=e.get("sublink"),m=e.get("triggerEvent",!0);u.silent=!f&&!m,h.silent=!p&&!m,f&&u.on("click",(function(){Ic(f,"_"+e.get("target"))})),p&&h.on("click",(function(){Ic(p,"_"+e.get("subtarget"))})),Ts(u).eventData=Ts(h).eventData=m?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(u),d&&r.add(h);var g=r.getBoundingRect(),v=e.getBoxLayoutParams();v.width=g.width,v.height=g.height;var y=Fc(v,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));a||(a=e.get("left")||e.get("right"),"middle"===a&&(a="center"),"right"===a?y.x+=y.width:"center"===a&&(y.x+=y.width/2)),s||(s=e.get("top")||e.get("bottom"),"center"===s&&(s="middle"),"bottom"===s?y.y+=y.height:"middle"===s&&(y.y+=y.height/2),s=s||"top"),r.x=y.x,r.y=y.y,r.markRedraw();var b={align:a,verticalAlign:s};u.setStyle(b),h.setStyle(b),g=r.getBoundingRect();var _=y.margin,w=e.getItemStyle(["color","opacity"]);w.fill=e.get("backgroundColor");var x=new ls({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:e.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});r.add(x)}},t.type="title",t}(Tp);function CX(e){e.registerComponentModel(MX),e.registerComponentView(SX)}var TX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],r=t.axisType,i=this._names=[];"category"===r?(e=[],Object(l["k"])(n,(function(t,n){var r,o=Mi(fi(t),"");Object(l["A"])(t)?(r=Object(l["d"])(t),r.value=n):r=n,e.push(r),i.push(o)}))):e=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number",a=this._data=new Kk([{name:"value",type:o}],this);a.initData(e,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Kc),OX=TX,LX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="timeline.slider",t.defaultOption=Eu(OX.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(OX);Object(l["K"])(LX,nf.prototype);var AX=LX,DX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="timeline",t}(Tp),EX=DX,IX=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r)||this;return o.type=i||"value",o}return a(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(FO),jX=IX,PX=Math.PI,RX=Ei(),NX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){var t=a.scale.getLabel({value:e});return Xf("nameValue",{noName:!0,value:t})},Object(l["k"])(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,i,a,e)}),this),this._renderAxisLabel(r,o,a,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n,r=e.get(["label","position"]),i=e.get("orient"),o=YX(e,t);n=null==r||"auto"===r?"horizontal"===i?o.y+o.height/2<t.getHeight()/2?"-":"+":o.x+o.width/2<t.getWidth()/2?"+":"-":Object(l["C"])(r)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][r]:r;var a,s,u,c={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},d={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:PX/2},f="vertical"===i?o.height:o.width,p=e.getModel("controlStyle"),m=p.get("show",!0),g=m?p.get("itemSize"):0,v=m?p.get("itemGap"):0,y=g+v,b=e.get(["label","rotate"])||0;b=b*PX/180;var _=p.get("position",!0),w=m&&p.get("showPlayBtn",!0),x=m&&p.get("showPrevBtn",!0),k=m&&p.get("showNextBtn",!0),M=0,S=f;"left"===_||"bottom"===_?(w&&(a=[0,0],M+=y),x&&(s=[M,0],M+=y),k&&(u=[S-g,0],S-=y)):(w&&(a=[S-g,0],S-=y),x&&(s=[0,0],M+=y),k&&(u=[S-g,0],S-=y));var C=[M,S];return e.get("inverse")&&C.reverse(),{viewRect:o,mainLength:f,orient:i,rotation:h[i],labelRotation:b,labelPosOpt:n,labelAlign:e.get(["label","align"])||c[i],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||d[i],playPosition:a,prevBtnPosition:s,nextBtnPosition:u,axisExtent:C,controlSize:g,controlGap:v}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var o=le(),a=i.x,s=i.y+i.height;he(o,o,[-a,-s]),fe(o,o,-PX/2),he(o,o,[a,s]),i=i.clone(),i.applyTransform(o)}var u=v(i),c=v(n.getBoundingRect()),d=v(r.getBoundingRect()),h=[n.x,n.y],f=[r.x,r.y];f[0]=h[0]=u[0][0];var p=e.labelPosOpt;if(null==p||Object(l["C"])(p)){var m="+"===p?0:1;y(h,c,u,1,m),y(f,d,u,1,1-m)}else{m=p>=0?0:1;y(h,c,u,1,m),f[1]=h[1]+p}function g(e){e.originX=u[0][0]-e.x,e.originY=u[1][0]-e.y}function v(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function y(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.setPosition(h),r.setPosition(f),n.rotation=r.rotation=e.rotation,g(n),g(r)},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get("axisType"),i=BX(t,r);i.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new jX("value",i,e.axisExtent,r);return a.model=t,a},t.prototype._createGroup=function(e){var t=this[e]=new kr;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var o=new Rm({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:Object(l["m"])({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(o);var a=this._progressLine=new Rm({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:Object(l["i"])({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(a)}},t.prototype._renderAxisTick=function(e,t,n,r){var i=this,o=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(l["k"])(a,(function(e){var a=n.dataToCoord(e.value),s=o.getItemModel(e.value),u=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),d=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:Object(l["c"])(i._changeTimeline,i,e.value)},f=zX(s,u,t,h);f.ensureState("emphasis").style=c.getItemStyle(),f.ensureState("progress").style=d.getItemStyle(),Tl(f);var p=Ts(f);s.get("tooltip")?(p.dataIndex=e.value,p.dataModel=r):p.dataIndex=p.dataModel=null,i._tickSymbols.push(f)}))},t.prototype._renderAxisLabel=function(e,t,n,r){var i=this,o=n.getLabelModel();if(o.get("show")){var a=r.getData(),s=n.getViewLabels();this._tickLabels=[],Object(l["k"])(s,(function(r){var o=r.tickValue,s=a.getItemModel(o),u=s.getModel("label"),c=s.getModel(["emphasis","label"]),d=s.getModel(["progress","label"]),h=n.dataToCoord(r.tickValue),f=new Cs({x:h,y:0,rotation:e.labelRotation-e.rotation,onclick:Object(l["c"])(i._changeTimeline,i,o),silent:!1,style:ru(u,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});f.ensureState("emphasis").style=ru(c),f.ensureState("progress").style=ru(d),t.add(f),Tl(f),RX(f).dataIndex=o,i._tickLabels.push(f)}))}},t.prototype._renderControl=function(e,t,n,r){var i=e.controlSize,o=e.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),u=r.getPlayState(),c=r.get("inverse",!0);function d(e,n,u,c){if(e){var d=ar(Object(l["P"])(r.get(["controlStyle",n+"BtnSize"]),i),i),h=[0,-d/2,d,d],f=FX(r,n+"Icon",h,{x:e[0],y:e[1],originX:i/2,originY:0,rotation:c?-o:0,rectHover:!0,style:a,onclick:u});f.ensureState("emphasis").style=s,t.add(f),Tl(f)}}d(e.nextBtnPosition,"next",Object(l["c"])(this._changeTimeline,this,c?"-":"+")),d(e.prevBtnPosition,"prev",Object(l["c"])(this._changeTimeline,this,c?"+":"-")),d(e.playPosition,u?"stop":"play",Object(l["c"])(this._handlePlayClick,this,!u),!0)},t.prototype._renderCurrentPointer=function(e,t,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,u={onCreate:function(e){e.draggable=!0,e.drift=Object(l["c"])(s._handlePointerDrag,s),e.ondragend=Object(l["c"])(s._handlePointerDragend,s),HX(e,s._progressLine,o,n,r,!0)},onUpdate:function(e){HX(e,s._progressLine,o,n,r)}};this._currentPointer=zX(a,a,this._mainGroup,{},this._currentPointer,u)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,i=Fr(r.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var o=this._progressLine;o&&(o.shape.x2=n,o.dirty());var a=this._findNearestTick(n),s=this.model;(t||a!==s.getCurrentIndex()&&s.get("realtime"))&&this._changeTimeline(a)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var t=e.model;e._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){var t=this._mainGroup.getLocalTransform();return Sg(e,t,!0)},t.prototype._findNearestTick=function(e){var t,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],(function(n,o){var a=i.dataToCoord(n),s=Math.abs(a-e);s<r&&(r=s,t=o)})),t},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),t=this._tickSymbols,n=this._tickLabels;if(t)for(var r=0;r<t.length;r++)t&&t[r]&&t[r].toggleState("progress",r<e);if(n)for(r=0;r<n.length;r++)n&&n[r]&&n[r].toggleState("progress",RX(n[r]).dataIndex<=e)},t.type="timeline.slider",t}(EX);function BX(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new kT({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new BT({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new CT}}function YX(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function FX(e,t,n,r){var i=r.style,o=Eg(e.get(["controlStyle",t]),r||{},new Oe(n[0],n[1],n[2],n[3]));return i&&o.setStyle(i),o}function zX(e,t,n,r,i,o){var a=t.get("color");if(i)i.setColor(a),n.add(i),o&&o.onUpdate(i);else{var s=e.get("symbol");i=sy(s,-1,-1,2,2,a),i.setStyle("strokeNoScale",!0),n.add(i),o&&o.onCreate(i)}var u=t.getItemStyle(["color"]);i.setStyle(u),r=Object(l["I"])({rectHover:!0,z2:100},r,!0);var c=ly(e.get("symbolSize"));r.scaleX=c[0]/2,r.scaleY=c[1]/2;var d=uy(e.get("symbolOffset"),c);d&&(r.x=(r.x||0)+d[0],r.y=(r.y||0)+d[1]);var h=e.get("symbolRotate");return r.rotation=(h||0)*Math.PI/180||0,i.attr(r),i.updateTransform(),i}function HX(e,t,n,r,i,o){if(!e.dragging){var a=i.getModel("checkpointStyle"),s=r.dataToCoord(i.getData().get("value",n));if(o||!a.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}var VX=NX;function WX(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t,n){var r=t.getComponent("timeline");return r&&null!=e.currentIndex&&(r.setCurrentIndex(e.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),Object(l["i"])({currentIndex:r.option.currentIndex},e)})),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))}function UX(e){var t=e&&e.timeline;l["t"](t)||(t=t?[t]:[]),l["k"](t,(function(e){e&&$X(e)}))}function $X(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),GX(e),qX(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});qX(r,"position")||(r.position=e.controlPosition),"none"!==r.position||qX(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}l["k"](e.data||[],(function(e){l["A"](e)&&!l["t"](e)&&(!qX(e,"value")&&qX(e,"name")&&(e.value=e.name),GX(e))}))}function GX(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},i=r.normal||(r.normal={}),o={normal:1,emphasis:1};l["k"](r,(function(e,t){o[t]||qX(i,t)||(i[t]=e)})),n.label&&!qX(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function qX(e,t){return e.hasOwnProperty(t)}function XX(e){e.registerComponentModel(AX),e.registerComponentView(VX),e.registerSubTypeDefaulter("timeline",(function(){return"slider"})),WX(e),e.registerPreprocessor(UX)}function KX(e,t){if(!e)return!1;for(var n=Object(l["t"])(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return!0;return!1}function ZX(e){di(e,"label",["show"])}var JX=Ei(),QX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(s["a"].node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,r){var i=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),o=JX(e)[i];n&&n.data?(o?o._mergeOption(n,t,!0):(r&&ZX(n),l["k"](n.data,(function(e){e instanceof Array?(ZX(e[0]),ZX(e[1])):ZX(e)})),o=this.createMarkerModelFromSeries(n,this,t),l["m"](o,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),JX(e)[i]=o):JX(e)[i]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return Xf("section",{header:this.name,blocks:[Xf("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,t){var n=nf.prototype.getDataParams.call(this,e,t),r=this.__hostSeries;return r&&(n.seriesId=r.id,n.seriesName=r.name,n.seriesType=r.subType),n},t.getMarkerModelFromSeries=function(e,t){return JX(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Kc);l["K"](QX,nf.prototype);var eK=QX,tK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(eK),nK=tK;function rK(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function iK(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function oK(e,t,n,r,i,o){var a=[],s=sM(t,r),l=s?t.getCalculationInfo("stackResultDimension"):r,u=fK(t,l,e),c=t.indicesOfNearest(l,u)[0];a[i]=t.get(n,c),a[o]=t.get(l,c);var d=t.get(r,c),h=zr(t.get(r,c));return h=Math.min(h,20),h>=0&&(a[o]=+a[o].toFixed(h)),[a,d]}var aK={min:Object(l["h"])(oK,"min"),max:Object(l["h"])(oK,"max"),average:Object(l["h"])(oK,"average"),median:Object(l["h"])(oK,"median")};function sK(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!iK(t)&&!Object(l["t"])(t.coord)&&Object(l["t"])(i)){var o=lK(t,n,r,e);if(t=Object(l["d"])(t),t.type&&aK[t.type]&&o.baseAxis&&o.valueAxis){var a=Object(l["r"])(i,o.baseAxis.dim),s=Object(l["r"])(i,o.valueAxis.dim),u=aK[t.type](n,o.baseDataDim,o.valueDataDim,a,s);t.coord=u[0],t.value=u[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&Object(l["t"])(i))for(var c=t.coord,d=0;d<2;d++)aK[c[d]]&&(c[d]=fK(n,n.mapDimension(i[d]),c[d]));else t.coord=[];return t}}function lK(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(uK(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function uK(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function cK(e,t){return!(e&&e.containData&&t.coord&&!rK(t))||e.containData(t.coord)}function dK(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!rK(t)&&!rK(n))||e.containZone(t.coord,n.coord)}function hK(e,t){return e?function(e,n,r,i){var o=i<2?e.coord&&e.coord[i]:e.value;return lf(o,t[i])}:function(e,n,r,i){return lf(e.value,t[i])}}function fK(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var pK=Ei(),mK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){this.markerGroupMap=Object(l["f"])()},t.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each((function(e){pK(e).keep=!1})),t.eachSeries((function(e){var i=eK.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)})),i.each((function(e){!pK(e).keep&&r.group.remove(e.group)}))},t.prototype.markKeep=function(e){pK(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;Object(l["k"])(e,(function(e){var r=eK.getMarkerModelFromSeries(e,n.type);if(r){var i=r.getData();i.eachItemGraphicEl((function(e){e&&(t?hl(e):fl(e))}))}}))},t.type="marker",t}(Tp),gK=mK;function vK(e,t,n){var r=t.coordinateSystem;e.each((function(i){var o,a=e.getItemModel(i),s=Br(a.get("x"),n.getWidth()),l=Br(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),c=e.get(r.dimensions[1],i);o=r.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(i,o)}))}var yK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=eK.getMarkerModelFromSeries(e,"markPoint");t&&(vK(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,new CM),c=bK(i,e,t);t.setData(c),vK(t.getData(),e,r),c.each((function(e){var n=c.getItemModel(e),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),u=n.getShallow("symbolKeepAspect");if(Object(l["w"])(r)||Object(l["w"])(i)||Object(l["w"])(o)||Object(l["w"])(s)){var d=t.getRawValue(e),h=t.getDataParams(e);Object(l["w"])(r)&&(r=r(d,h)),Object(l["w"])(i)&&(i=i(d,h)),Object(l["w"])(o)&&(o=o(d,h)),Object(l["w"])(s)&&(s=s(d,h))}var f=n.getModel("itemStyle").getItemStyle(),p=Hv(a,"color");f.fill||(f.fill=p),c.setItemVisual(e,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:u,style:f})})),u.updateData(c),this.group.add(u.group),c.eachItemGraphicEl((function(e){e.traverse((function(e){Ts(e).dataModel=t}))})),this.markKeep(u),u.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(gK);function bK(e,t,n){var r;r=e?Object(l["H"])(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Kk(r,n),o=Object(l["H"])(n.get("data"),Object(l["h"])(sK,t));e&&(o=Object(l["n"])(o,Object(l["h"])(cK,e)));var a=hK(!!e,r);return i.initData(o,null,a),i}var _K=yK;function wK(e){e.registerComponentModel(nK),e.registerComponentView(_K),e.registerPreprocessor((function(e){KX(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))}var xK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(eK),kK=xK,MK=Ei(),SK=function(e,t,n,r){var i,o=e.getData();if(Object(l["t"])(r))i=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,u=void 0;if(null!=r.yAxis||null!=r.xAxis)s=t.getAxis(null!=r.yAxis?"y":"x"),u=Object(l["O"])(r.yAxis,r.xAxis);else{var c=lK(r,o,t,e);s=c.valueAxis;var d=lM(o,c.valueDataDim);u=fK(o,d,a)}var h="x"===s.dim?0:1,f=1-h,p=Object(l["d"])(r),m={coord:[]};p.type=null,p.coord=[],p.coord[f]=-1/0,m.coord[f]=1/0;var g=n.get("precision");g>=0&&Object(l["z"])(u)&&(u=+u.toFixed(Math.min(g,20))),p.coord[h]=m.coord[h]=u,i=[p,m,{type:a,valueIndex:r.valueIndex,value:u}]}else i=[]}var v=[sK(e,i[0]),sK(e,i[1]),Object(l["m"])({},i[2])];return v[2].type=v[2].type||null,Object(l["I"])(v[2],v[0]),Object(l["I"])(v[2],v[1]),v};function CK(e){return!isNaN(e)&&!isFinite(e)}function TK(e,t,n,r){var i=1-e,o=r.dimensions[e];return CK(t[i])&&CK(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function OK(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(TK(1,n,r,e)||TK(0,n,r,e)))return!0}return cK(e,t[0])&&cK(e,t[1])}function LK(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=Br(s.get("x"),i.getWidth()),u=Br(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=a.dimensions,d=e.get(c[0],t),h=e.get(c[1],t);o=a.dataToPoint([d,h])}if($M(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");c=a.dimensions;CK(e.get(c[0],t))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):CK(e.get(c[1],t))&&(o[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];e.setItemLayout(t,o)}var AK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=eK.getMarkerModelFromSeries(e,"markLine");if(t){var r=t.getData(),i=MK(t).from,o=MK(t).to;i.each((function(t){LK(i,t,!0,e,n),LK(o,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[i.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,new VP);this.group.add(u.group);var c=DK(i,e,t),d=c.from,h=c.to,f=c.line;MK(t).from=d,MK(t).to=h,t.setData(f);var p=t.get("symbol"),m=t.get("symbolSize"),g=t.get("symbolRotate"),v=t.get("symbolOffset");function y(t,n,i){var o=t.getItemModel(n);LK(t,n,i,e,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Hv(a,"color")),t.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(l["P"])(o.get("symbolOffset",!0),v[i?0:1]),symbolRotate:Object(l["P"])(o.get("symbolRotate",!0),g[i?0:1]),symbolSize:Object(l["P"])(o.get("symbolSize"),m[i?0:1]),symbol:Object(l["P"])(o.get("symbol",!0),p[i?0:1]),style:s})}Object(l["t"])(p)||(p=[p,p]),Object(l["t"])(m)||(m=[m,m]),Object(l["t"])(g)||(g=[g,g]),Object(l["t"])(v)||(v=[v,v]),c.from.each((function(e){y(d,e,!0),y(h,e,!1)})),f.each((function(e){var t=f.getItemModel(e).getModel("lineStyle").getLineStyle();f.setItemLayout(e,[d.getItemLayout(e),h.getItemLayout(e)]),null==t.stroke&&(t.stroke=d.getItemVisual(e,"style").fill),f.setItemVisual(e,{fromSymbolKeepAspect:d.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:d.getItemVisual(e,"symbolOffset"),fromSymbolRotate:d.getItemVisual(e,"symbolRotate"),fromSymbolSize:d.getItemVisual(e,"symbolSize"),fromSymbol:d.getItemVisual(e,"symbol"),toSymbolKeepAspect:h.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(e,"symbolOffset"),toSymbolRotate:h.getItemVisual(e,"symbolRotate"),toSymbolSize:h.getItemVisual(e,"symbolSize"),toSymbol:h.getItemVisual(e,"symbol"),style:t})})),u.updateData(f),c.line.eachItemGraphicEl((function(e){Ts(e).dataModel=t,e.traverse((function(e){Ts(e).dataModel=t}))})),this.markKeep(u),u.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(gK);function DK(e,t,n){var r;r=e?Object(l["H"])(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Kk(r,n),o=new Kk(r,n),a=new Kk([],n),s=Object(l["H"])(n.get("data"),Object(l["h"])(SK,t,e,n));e&&(s=Object(l["n"])(s,Object(l["h"])(OK,e)));var u=hK(!!e,r);return i.initData(Object(l["H"])(s,(function(e){return e[0]})),null,u),o.initData(Object(l["H"])(s,(function(e){return e[1]})),null,u),a.initData(Object(l["H"])(s,(function(e){return e[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}var EK=AK;function IK(e){e.registerComponentModel(kK),e.registerComponentView(EK),e.registerPreprocessor((function(e){KX(e.series,"markLine")&&(e.markLine=e.markLine||{})}))}var jK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(eK),PK=jK,RK=Ei(),NK=function(e,t,n,r){var i=r[0],o=r[1];if(i&&o){var a=sK(e,i),s=sK(e,o),u=a.coord,c=s.coord;u[0]=Object(l["O"])(u[0],-1/0),u[1]=Object(l["O"])(u[1],-1/0),c[0]=Object(l["O"])(c[0],1/0),c[1]=Object(l["O"])(c[1],1/0);var d=Object(l["J"])([{},a,s]);return d.coord=[a.coord,s.coord],d.x0=a.x,d.y0=a.y,d.x1=s.x,d.y1=s.y,d}};function BK(e){return!isNaN(e)&&!isFinite(e)}function YK(e,t,n,r){var i=1-e;return BK(t[i])&&BK(n[i])}function FK(e,t){var n=t.coord[0],r=t.coord[1],i={coord:n,x:t.x0,y:t.y0},o={coord:r,x:t.x1,y:t.y1};return $M(e,"cartesian2d")?!(!n||!r||!YK(1,n,r,e)&&!YK(0,n,r,e))||dK(e,i,o):cK(e,i)||cK(e,o)}function zK(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=Br(s.get(n[0]),i.getWidth()),u=Br(s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition){var c=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),h=a.clampData(c),f=a.clampData(d),p=[];"x0"===n[0]?p[0]=h[0]>f[0]?d[0]:c[0]:p[0]=h[0]>f[0]?c[0]:d[0],"y0"===n[1]?p[1]=h[1]>f[1]?d[1]:c[1]:p[1]=h[1]>f[1]?c[1]:d[1],o=r.getMarkerPosition(p,n,!0)}else{var m=e.get(n[0],t),g=e.get(n[1],t),v=[m,g];a.clampData&&a.clampData(v,v),o=a.dataToPoint(v,!0)}if($M(a,"cartesian2d")){var y=a.getAxis("x"),b=a.getAxis("y");m=e.get(n[0],t),g=e.get(n[1],t);BK(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):BK(g)&&(o[1]=b.toGlobalCoord(b.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var HK=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],VK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=eK.getMarkerModelFromSeries(e,"markArea");if(t){var r=t.getData();r.each((function(t){var i=Object(l["H"])(HK,(function(i){return zK(r,t,i,e,n)}));r.setItemLayout(t,i);var o=r.getItemGraphicEl(t);o.setShape("points",i)}))}}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,{group:new kr});this.group.add(u.group),this.markKeep(u);var c=WK(i,e,t);t.setData(c),c.each((function(t){var n=Object(l["H"])(HK,(function(n){return zK(c,t,n,e,r)})),o=i.getAxis("x").scale,s=i.getAxis("y").scale,u=o.getExtent(),d=s.getExtent(),h=[o.parse(c.get("x0",t)),o.parse(c.get("x1",t))],f=[s.parse(c.get("y0",t)),s.parse(c.get("y1",t))];Fr(h),Fr(f);var p=!(u[0]>h[1]||u[1]<h[0]||d[0]>f[1]||d[1]<f[0]),m=!p;c.setItemLayout(t,{points:n,allClipped:m});var g=c.getItemModel(t).getModel("itemStyle").getItemStyle(),v=Hv(a,"color");g.fill||(g.fill=v,Object(l["C"])(g.fill)&&(g.fill=Bt["f"](g.fill,.4))),g.stroke||(g.stroke=v),c.setItemVisual(t,"style",g)})),c.diff(RK(u).data).add((function(e){var t=c.getItemLayout(e);if(!t.allClipped){var n=new Lm({shape:{points:t.points}});c.setItemGraphicEl(e,n),u.group.add(n)}})).update((function(e,n){var r=RK(u).data.getItemGraphicEl(n),i=c.getItemLayout(e);i.allClipped?r&&u.group.remove(r):(r?Wl(r,{shape:{points:i.points}},t,e):r=new Lm({shape:{points:i.points}}),c.setItemGraphicEl(e,r),u.group.add(r))})).remove((function(e){var t=RK(u).data.getItemGraphicEl(e);u.group.remove(t)})).execute(),c.eachItemGraphicEl((function(e,n){var r=c.getItemModel(n),i=c.getItemVisual(n,"style");e.useStyle(c.getItemVisual(n,"style")),tu(e,nu(r),{labelFetcher:t,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:Object(l["C"])(i.fill)?Bt["f"](i.fill,1):"#000"}),Il(e,r),Ll(e,null,null,r.get(["emphasis","disabled"])),Ts(e).dataModel=t})),RK(u).data=c,u.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(gK);function WK(e,t,n){var r,i,o=["x0","y0","x1","y1"];if(e){var a=Object(l["H"])(e&&e.dimensions,(function(e){var n=t.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},r),{name:e,ordinalMeta:null})}));i=Object(l["H"])(o,(function(e,t){return{name:e,type:a[t%2].type}})),r=new Kk(i,n)}else i=[{name:"value",type:"float"}],r=new Kk(i,n);var s=Object(l["H"])(n.get("data"),Object(l["h"])(NK,t,e,n));e&&(s=Object(l["n"])(s,Object(l["h"])(FK,e)));var u=e?function(e,t,n,r){var o=e.coord[Math.floor(r/2)][r%2];return lf(o,i[r])}:function(e,t,n,r){return lf(e.value,i[r])};return r.initData(s,null,u),r.hasItemOption=!0,r}var UK=VK;function $K(e){e.registerComponentModel(PK),e.registerComponentView(UK),e.registerPreprocessor((function(e){KX(e.series,"markArea")&&(e.markArea=e.markArea||{})}))}var GK=function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0},qK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),l["t"](t)&&l["k"](t,(function(e,r){l["C"](e)&&(e={type:e}),t[r]=l["I"](e,GK(n,e.type))}))},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries((function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider,s=a.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(s)),s.length?t=t.concat(s):i=!0}else i=!0;i&&Si(r)&&t.push(r.name)})),this._availableNames=n;var r=this.get("data")||t,i=l["f"](),o=l["H"](r,(function(e){return(l["C"](e)||l["z"](e))&&(e={name:e}),i.get(e.name)?null:(i.set(e.name,!0),new Tu(e,this,this.ecModel))}),this);this._data=l["n"](o,(function(e){return!!e}))},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected,n=this.get("selectedMode");if("single"===n){var r=this._data;l["k"](r,(function(e){t[e.get("name")]=!1}))}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;l["k"](e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;l["k"](e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&l["r"](this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Kc),XK=qK,KK=l["h"],ZK=l["k"],JK=kr,QK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return a(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new JK),this.group.add(this._selectorGroup=new JK),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),o=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===o?"right":"left");var a=e.get("selector",!0),s=e.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(i,e,t,n,a,o,s);var u=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},d=e.get("padding"),h=Fc(u,c,d),f=this.layoutInner(e,i,h,r,a,s),p=Fc(l["i"]({width:f.width,height:f.height},u),c,d);this.group.x=p.x-f.x,this.group.y=p.y-f.y,this.group.markRedraw(),this.group.add(this._backgroundEl=iG(f,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,o,a){var s=this.getContentGroup(),u=l["f"](),c=t.get("selectedMode"),d=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&d.push(e.id)})),ZK(t.getData(),(function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new JK;return h.newline=!0,void s.add(h)}var f=n.getSeriesByName(a)[0];if(!u.get(a)){if(f){var p=f.getData(),m=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),v=p.getVisual("style"),y=this._createItem(f,a,o,i,t,e,m,v,g,c,r);y.on("click",KK(nZ,a,null,r,d)).on("mouseover",KK(iZ,f.name,null,r,d)).on("mouseout",KK(oZ,f.name,null,r,d)),n.ssr&&y.eachChild((function(e){var t=Ts(e);t.seriesIndex=f.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),u.set(a,!0)}else n.eachRawSeries((function(s){if(!u.get(a)&&s.legendVisualProvider){var h=s.legendVisualProvider;if(!h.containName(a))return;var f=h.indexOfName(a),p=h.getItemVisual(f,"style"),m=h.getItemVisual(f,"legendIcon"),g=Object(Bt["h"])(p.fill);g&&0===g[3]&&(g[3]=.2,p=l["m"](l["m"]({},p),{fill:Object(Bt["i"])(g,"rgba")}));var v=this._createItem(s,a,o,i,t,e,{},p,m,c,r);v.on("click",KK(nZ,null,a,r,d)).on("mouseover",KK(iZ,null,a,r,d)).on("mouseout",KK(oZ,null,a,r,d)),n.ssr&&v.eachChild((function(e){var t=Ts(e);t.seriesIndex=s.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),u.set(a,!0)}}),this);0}}),this),i&&this._createSelector(i,t,r,o,a)},t.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();ZK(e,(function(e){var r=e.type,i=new Cs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect",legendId:t.id})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);tu(i,{normal:a,emphasis:s},{defaultText:e.title}),Tl(i)}))},t.prototype._createItem=function(e,t,n,r,i,o,a,s,u,c,d){var h=e.visualDrawType,f=i.get("itemWidth"),p=i.get("itemHeight"),m=i.isSelected(t),g=r.get("symbolRotate"),v=r.get("symbolKeepAspect"),y=r.get("icon");u=y||u||"roundRect";var b=eZ(u,r,a,s,h,m,d),_=new JK,w=r.getModel("textStyle");if(!l["w"](e.getLegendIcon)||y&&"inherit"!==y){var x="inherit"===y&&e.getData().getVisual("symbol")?"inherit"===g?e.getData().getVisual("symbolRotate"):g:0;_.add(tZ({itemWidth:f,itemHeight:p,icon:u,iconRotate:x,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}))}else _.add(e.getLegendIcon({itemWidth:f,itemHeight:p,icon:u,iconRotate:g,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}));var k="left"===o?f+5:-5,M=o,S=i.get("formatter"),C=t;l["C"](S)&&S?C=S.replace("{name}",null!=t?t:""):l["w"](S)&&(C=S(t));var T=m?w.getTextColor():r.get("inactiveColor");_.add(new Cs({style:ru(w,{text:C,x:k,y:p/2,fill:T,align:M,verticalAlign:"middle"},{inheritColor:T})}));var O=new ls({shape:_.getBoundingRect(),style:{fill:"transparent"}}),L=r.getModel("tooltip");return L.get("show")&&Ng({el:O,componentModel:i,itemName:t,itemTooltipOption:L.option}),_.add(O),_.eachChild((function(e){e.silent=!0})),O.silent=!c,this.getContentGroup().add(_),Tl(_),_.__legendDataIndex=n,_},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Bc(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){Bc("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],h=e.get("selectorButtonGap",!0),f=e.getOrient().index,p=0===f?"width":"height",m=0===f?"height":"width",g=0===f?"y":"x";"end"===o?d[f]+=l[p]+h:u[f]+=c[p]+h,d[1-f]+=l[m]/2-c[m]/2,s.x=d[0],s.y=d[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[p]=l[p]+h+c[p],v[m]=Math.max(l[m],c[m]),v[g]=Math.min(0,c[g]+d[1-f]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Tp);function eZ(e,t,n,r,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),ZK(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?Ky(d,a):r.decal,"inherit"===u.fill&&(u.fill=r[i]),"inherit"===u.stroke&&(u.stroke=r[c]),"inherit"===u.opacity&&(u.opacity=("fill"===i?r:n).opacity),s(u,r);var h=t.getModel("lineStyle"),f=h.getLineStyle();if(s(f,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===f.stroke&&(f.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth="auto"===p?r.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),f.stroke=h.get("inactiveColor"),f.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function tZ(e){var t=e.icon||"roundRect",n=sy(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function nZ(e,t,n,r){oZ(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),iZ(e,t,n,r)}function rZ(e){var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;while(r<i&&!(t=n[r].states.emphasis))r++;return t&&t.hoverLayer}function iZ(e,t,n,r){rZ(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function oZ(e,t,n,r){rZ(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}var aZ=QK;function sZ(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}function lZ(e,t,n){var r="allSelect"===e||"inverseSelect"===e,i={},o=[];n.eachComponent({mainType:"legend",query:t},(function(n){r?n[e]():n[e](t.name),uZ(n,i),o.push(n.componentIndex)}));var a={};return n.eachComponent("legend",(function(e){Object(l["k"])(i,(function(t,n){e[t?"select":"unSelect"](n)})),uZ(e,a)})),r?{selected:a,legendIndex:o}:{name:t.name,selected:a}}function uZ(e,t){var n=t||{};return Object(l["k"])(e.getData(),(function(t){var r=t.get("name");if("\n"!==r&&""!==r){var i=e.isSelected(r);Object(l["q"])(n,r)?n[r]=n[r]&&i:n[r]=i}})),n}function cZ(e){e.registerAction("legendToggleSelect","legendselectchanged",Object(l["h"])(lZ,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Object(l["h"])(lZ,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Object(l["h"])(lZ,"inverseSelect")),e.registerAction("legendSelect","legendselected",Object(l["h"])(lZ,"select")),e.registerAction("legendUnSelect","legendunselected",Object(l["h"])(lZ,"unSelect"))}function dZ(e){e.registerComponentModel(XK),e.registerComponentView(aZ),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,sZ),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),cZ(e)}var hZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,r){var i=Uc(t);e.prototype.init.call(this,t,n,r),fZ(this,t,i)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),fZ(this,this.option,t)},t.type="legend.scroll",t.defaultOption=Eu(XK.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(XK);function fZ(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,Wc(t,n,{type:"box",ignoreSize:!!i})}var pZ=hZ,mZ=kr,gZ=["width","height"],vZ=["x","y"],yZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return a(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new mZ),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new mZ)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,r,i,o,a,s){var u=this;e.prototype.renderInner.call(this,t,n,r,i,o,a,s);var c=this._controllerGroup,d=n.get("pageIconSize",!0),h=l["t"](d)?d:[d,d];p("pagePrev",0);var f=n.getModel("pageTextStyle");function p(e,t){var r=e+"DataIndex",o=Eg(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:l["c"](u._pageGo,u,r,n,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=e,c.add(o)}c.add(new Cs({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getSelectorGroup(),s=e.getOrient().index,u=gZ[s],c=vZ[s],d=gZ[1-s],h=vZ[1-s];i&&Bc("horizontal",a,e.get("selectorItemGap",!0));var f=e.get("selectorButtonGap",!0),p=a.getBoundingRect(),m=[-p.x,-p.y],g=l["d"](n);i&&(g[u]=n[u]-p[u]-f);var v=this._layoutContentAndController(e,r,g,s,u,d,h,c);if(i){if("end"===o)m[s]+=v[u]+f;else{var y=p[u]+f;m[s]-=y,v[c]-=y}v[u]+=p[u]+f,m[1-s]+=v[h]+v[d]/2-p[d]/2,v[d]=Math.max(v[d],p[d]),v[h]=Math.min(v[h],p[h]+m[1-s]),a.x=m[0],a.y=m[1],a.markRedraw()}return v},t.prototype._layoutContentAndController=function(e,t,n,r,i,o,a,s){var u=this.getContentGroup(),c=this._containerGroup,d=this._controllerGroup;Bc(e.get("orient"),u,e.get("itemGap"),r?n.width:null,r?null:n.height),Bc("horizontal",d,e.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),f=d.getBoundingRect(),p=this._showController=h[i]>n[i],m=[-h.x,-h.y];t||(m[r]=u[s]);var g=[0,0],v=[-f.x,-f.y],y=l["P"](e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var b=e.get("pageButtonPosition",!0);"end"===b?v[r]+=n[i]-f[i]:g[r]+=f[i]+y}v[1-r]+=h[o]/2-f[o]/2,u.setPosition(m),c.setPosition(g),d.setPosition(v);var _={x:0,y:0};if(_[i]=p?n[i]:h[i],_[o]=Math.max(h[o],f[o]),_[a]=Math.min(0,f[a]+v[1-r]),c.__rectSize=n[i],p){var w={x:0,y:0};w[i]=Math.max(n[i]-f[i]-y,0),w[o]=_[o],c.setClipPath(new ls({shape:w})),c.__rectSize=w[i]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(e);return null!=x.pageIndex&&Wl(u,{x:x.contentPosition[0],y:x.contentPosition[1]},p?e:null),this._updatePageInfoView(e,x),_},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;l["k"](["pagePrev","pageNext"],(function(r){var i=r+"DataIndex",o=null!=t[i],a=n.childOfName(r);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var r=n.childOfName("pageText"),i=e.get("pageFormatter"),o=t.pageIndex,a=null!=o?o+1:0,s=t.pageCount;r&&i&&r.setStyle("text",l["C"](i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=gZ[i],a=vZ[i],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,d=c?1:0,h={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var f=y(u);h.contentPosition[i]=-f.s;for(var p=s+1,m=f,g=f,v=null;p<=c;++p)v=y(l[p]),(!v&&g.e>m.s+r||v&&!b(v,m.s))&&(m=g.i>m.i?g:v,m&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=m.i),++h.pageCount)),g=v;for(p=s-1,m=f,g=f,v=null;p>=-1;--p)v=y(l[p]),v&&b(g,v.s)||!(m.i<g.i)||(g=m,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=m.i),++h.pageCount,++h.pageIndex),m=v;return h;function y(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function b(e,t){return e.e>=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)})),null!=t?t:n},t.type="legend.scroll",t}(aZ),bZ=yZ;function _Z(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}function wZ(e){N_(dZ),e.registerComponentModel(pZ),e.registerComponentView(bZ),_Z(e)}function xZ(e){N_(dZ),N_(wZ)}var kZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.inside",t.defaultOption=Eu(I$.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(I$),MZ=kZ,SZ=Ei();function CZ(e,t,n){SZ(e).coordSysRecordMap.each((function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)}))}function TZ(e,t){for(var n=SZ(e).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var o=r[i],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||OZ(n,a))}}}function OZ(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function LZ(e,t){var n={model:t,containsPoint:Object(l["h"])(DZ,t),dispatchAction:Object(l["h"])(AZ,e),dataZoomInfoMap:null,controller:null},r=n.controller=new gA(e.getZr());return Object(l["k"])(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(t){var r=[];n.dataZoomInfoMap.each((function(i){if(t.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[e],a=o&&o(i.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!i.model.get("disabled",!0)&&a&&r.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}})),r.length&&n.dispatchAction(r)}))})),n}function AZ(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function DZ(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function EZ(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return e.each((function(e){var o=e.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");r[n+a]>r[n+t]&&(t=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function IZ(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=SZ(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=Object(l["f"])());r.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){var n=L$(e);Object(l["k"])(n.infoList,(function(n){var i=n.model.uid,o=r.get(i)||r.set(i,LZ(t,n.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(l["f"])());a.set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),r.each((function(e){var t,n=e.controller,i=e.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(t=i.get(o))}if(t){var a=EZ(i);n.enable(a.controlType,a.opt),n.setPointerChecker(e.containsPoint),Qg(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else OZ(r,e)}))}))}var jZ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return a(t,e),t.prototype.render=function(t,n,r){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),CZ(r,t,{pan:Object(l["c"])(PZ.pan,this),zoom:Object(l["c"])(PZ.zoom,this),scrollMove:Object(l["c"])(PZ.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){TZ(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(N$),PZ={zoom:function(e,t,n,r){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var s=NZ[t](null,[r.originX,r.originY],a,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return sN(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:RZ((function(e,t,n,r,i,o){var a=NZ[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:RZ((function(e,t,n,r,i,o){var a=NZ[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function RZ(e){return function(t,n,r,i){var o=this.range,a=o.slice(),s=t.axisModels[0];if(s){var l=e(a,s,t,n,r,i);return sN(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var NZ={grid:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},BZ=jZ;function YZ(e){X$(e),e.registerComponentModel(MZ),e.registerComponentView(BZ),IZ(e)}var FZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Eu(I$.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(I$),zZ=FZ,HZ=ls,VZ=7,WZ=1,UZ=30,$Z=7,GZ="horizontal",qZ="vertical",XZ=5,KZ=["line","bar","candlestick","scatter"],ZZ={easing:"cubicOut",duration:100,delay:0},JZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return a(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=Object(l["c"])(this._onBrush,this),this._onBrushEnd=Object(l["c"])(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,i){if(e.prototype.render.apply(this,arguments),Qg(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){ev(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new kr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get("brushSelect"),r=n?$Z:0,i=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a=this._orient===GZ?{right:o.width-i.x-i.width,top:o.height-UZ-VZ-r,width:i.width,height:UZ}:{right:VZ,top:i.y,width:UZ,height:i.height},s=Uc(e.option);Object(l["k"])(["right","top","width","height"],(function(e){"ph"===s[e]&&(s[e]=a[e])}));var u=Fc(s,o);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===qZ&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==GZ||i?n===GZ&&i?{scaleY:a?1:-1,scaleX:-1}:n!==qZ||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get("brushSelect");n.add(new HZ({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var i=new HZ({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:Object(l["c"])(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],r=e.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var u=i.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var d,h=[0,t[1]],f=[0,t[0]],p=[[t[0],0],[0,0]],m=[],g=f[1]/(i.count()-1),v=0,y=Math.round(i.count()/t[0]);i.each([a],(function(e,t){if(y>0&&t%y)v+=g;else{var n=null==e||isNaN(e)||""===e,r=n?0:Nr(e,u,h,!0);n&&!d&&t?(p.push([p[p.length-1][0],0]),m.push([m[m.length-1][0],0])):!n&&d&&(p.push([v,0]),m.push([v,0])),p.push([v,r]),m.push([v,r]),v+=g,d=n}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=m}this._shadowData=i,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var b=this.dataZoomModel,_=0;_<3;_++){var w=x(1===_);this._displayables.sliderGroup.add(w),this._displayables.dataShadowSegs.push(w)}}}function x(e){var t=b.getModel(e?"selectedDataBackground":"dataBackground"),n=new kr,r=new Lm({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new Em({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(i,o){var a=e.getAxisProxy(i,o).getTargetSeriesModels();Object(l["k"])(a,(function(e){if(!n&&!(!0!==t&&Object(l["r"])(KZ,e.get("type"))<0)){var a,s=r.getComponent(T$(i),o).axis,u=QZ(i),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),u=e.getData().mapDimension(u),n={thisAxis:s,series:e,thisDim:i,otherDim:u,otherAxisInverse:a}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,u=a.get("borderRadius")||0,c=a.get("brushSelect"),d=t.filler=new HZ({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(d),i.add(new HZ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:WZ,fill:"rgba(0,0,0,0)"}})),Object(l["k"])([0,1],(function(t){var o=a.get("handleIcon");!iy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=sy(o,-1,0,2,2,null,!0);s.attr({cursor:eJ(this._orient),draggable:!0,drift:Object(l["c"])(this._onDragMove,this,t),ondragend:Object(l["c"])(this._onDragEnd,this),onmouseover:Object(l["c"])(this._showDataInfo,this,!0),onmouseout:Object(l["c"])(this._showDataInfo,this,!1),z2:5});var u=s.getBoundingRect(),c=a.get("handleSize");this._handleHeight=Br(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Tl(s);var d=a.get("handleColor");null!=d&&(s.style.fill=d),i.add(n[t]=s);var h=a.getModel("textStyle"),f=a.get("handleLabel")||{},p=f.show||!1;e.add(r[t]=new Cs({silent:!0,invisible:!p,style:ru(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=d;if(c){var f=Br(a.get("moveHandleSize"),o[1]),p=t.moveHandle=new ls({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:f}}),m=.8*f,g=t.moveHandleIcon=sy(a.get("moveHandleIcon"),-m/2,-m/2,m,m,"#fff",!0);g.silent=!0,g.y=o[1]+f/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(f,10));h=t.moveZone=new ls({invisible:!0,shape:{y:o[1]-v,height:f+v}}),h.on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),i.add(p),i.add(g),i.add(h)}h.attr({draggable:!0,cursor:eJ(this._orient),drift:Object(l["c"])(this._onDragMove,this,"all"),ondragstart:Object(l["c"])(this._showDataInfo,this,!0),ondragend:Object(l["c"])(this._onDragEnd,this),onmouseover:Object(l["c"])(this._showDataInfo,this,!0),onmouseout:Object(l["c"])(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[Nr(e[0],[0,100],t,!0),Nr(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];sN(t,r,i,n.get("zoomLock")?"all":e,null!=o.minSpan?Nr(o.minSpan,a,i,!0):null,null!=o.maxSpan?Nr(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=Fr([Nr(r[0],i,a,!0),Nr(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=Fr(n.slice()),i=this._size;Object(l["k"])([0,1],(function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[e]+(e?-1:1),y:i[1]/2-o/2})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=t.dataShadowSegs,s=[0,r[0],r[1],i[0]],u=0;u<a.length;u++){var c=a[u],d=c.getClipPath();d||(d=new ls,c.setClipPath(d)),d.setShape({x:s[u],y:0,width:s[u+1]-s[u],height:i[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=Fr(this._handleEnds.slice());function d(e){var t=Mg(n.handles[e].parent,this.group),a=Cg(0===e?"right":"left",t),s=this._handleWidth/2+XZ,l=Sg([c[e]+(0===e?-s:s),this._size[1]/2],t);r[e].setStyle({x:l[0],y:l[1],verticalAlign:i===GZ?"middle":a,align:i===GZ?a:"center",text:o[e]})}d.call(this,0),d.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(i,20));return Object(l["w"])(r)?r(e,o):Object(l["C"])(r)?r.replace("{value}",o):o},t.prototype._showDataInfo=function(e){var t=this.dataZoomModel.get("handleLabel")||{},n=t.show||!1,r=this.dataZoomModel.getModel(["emphasis","handleLabel"]),i=r.get("show")||!1,o=e||this._dragging?i:n,a=this._displayables,s=a.handleLabels;s[0].attr("invisible",!o),s[1].attr("invisible",!o),a.moveHandle&&this.api[o?"enterEmphasis":"leaveEmphasis"](a.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,r){this._dragging=!0,ne(r.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=Sg([t,n],i,!0),a=this._updateInterval(e,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new ye(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var n=t.shape,r=+new Date;if(!(r-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),o=[0,100];this._range=Fr([Nr(n.x,i,o,!0),Nr(n.x+n.width,i,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(ne(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new HZ({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?ZZ:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=L$(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),i=this.api.getHeight();e={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return e},t.type="dataZoom.slider",t}(N$);function QZ(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function eJ(e){return"vertical"===e?"ns-resize":"ew-resize"}var tJ=JZ;function nJ(e){e.registerComponentModel(zZ),e.registerComponentView(tJ),X$(e)}function rJ(e){N_(YZ),N_(nJ)}var iJ={get:function(e,t,n){var r=l["d"]((oJ[e]||{})[t]);return n&&l["t"](r)?r[r.length-1]:r}},oJ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},aJ=iJ,sJ=pj.mapVisual,lJ=pj.eachVisual,uJ=l["t"],cJ=l["k"],dJ=Fr,hJ=Nr,fJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&Kq(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=l["c"](e,this),this.controllerVisuals=Xq(this.option.controller,t,e),this.targetVisuals=Xq(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=ci(e),t},t.prototype.eachTargetSeries=function(e,t){l["k"](this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)}),this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},t.prototype.formatValueText=function(e,t,n){var r,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;n=n||["<",">"],l["t"](e)&&(e=e.slice(),r=!0);var u=t?e:r?[c(e[0]),c(e[1])]:c(e);return l["C"](s)?s.replace("{value}",r?u[0]:u).replace("{value2}",r?u[1]:u):l["w"](s)?r?s(e[0],e[1]):s(e):r?e[0]===a[0]?n[0]+" "+u[1]:e[1]===a[1]?n[1]+" "+u[0]:u[0]+" - "+u[1]:u;function c(e){return e===a[0]?"min":e===a[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=dJ([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var i=n[r],o=e.getDimensionInfo(i);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),i=t.controller||(t.controller={});l["I"](r,n),l["I"](i,n);var o=this.isCategory();function a(n){uJ(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}function s(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},cJ(r,(function(e,t){if(pj.isValidType(t)){var n=aJ.get(t,"inactive",o);null!=n&&(i[t]=n,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function u(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol(),a=i||"roundRect";cJ(this.stateList,(function(i){var s=this.itemSize,u=e[i];u||(u=e[i]={color:o?r:[r]}),null==u.symbol&&(u.symbol=t&&l["d"](t)||(o?a:[a])),null==u.symbolSize&&(u.symbolSize=n&&l["d"](n)||(o?s[0]:[s[0],s[0]])),u.symbol=sJ(u.symbol,(function(e){return"none"===e?a:e}));var c=u.symbolSize;if(null!=c){var d=-1/0;lJ(c,(function(e){e>d&&(d=e)})),u.symbolSize=sJ(c,(function(e){return hJ(e,[0,d],[0,s[0]],!0)}))}}),this)}a.call(this,r),a.call(this,i),s.call(this,r,"inRange","outOfRange"),u.call(this,i)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Kc),pJ=fJ,mJ=[20,140],gJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=mJ[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=mJ[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):l["t"](t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),l["k"](this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)}),this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=Fr((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},t.prototype.getVisualMeta=function(e){var t=vJ(this,"outOfRange",this.getExtent()),n=vJ(this,"inRange",this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,l=t.length;a<l&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&i(t[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&r.length&&i(n[o],"outOfRange"),i(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<t[a])&&(u&&(r.length&&i(r[r.length-1].value,"outOfRange"),u=0),i(t[a],"outOfRange"));var c=r.length;return{stops:r,outerColors:[c?r[0].color:"transparent",c?r[c-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=Eu(pJ.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(pJ);function vJ(e,t,n){if(n[0]===n[1])return n.slice();for(var r=200,i=(n[1]-n[0])/r,o=n[0],a=[],s=0;s<=r&&o<n[1];s++)a.push(o),o+=i;return a.push(n[1]),a}var yJ=gJ,bJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return a(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,n,r):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=Sc(t.get("padding")||0),r=e.getBoundingRect();e.add(new ls({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,n){n=n||{};var r=n.forceState,i=this.visualMapModel,o={};if("color"===t){var a=i.get("contentColor");o.color=a}function s(e){return o[e]}function u(e,t){o[e]=t}var c=i.controllerVisuals[r||i.getValueState(e)],d=pj.prepareVisualTypes(c);return l["k"](d,(function(r){var i=c[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=c.__alphaForOpacity),pj.dependsOn(r,t)&&i&&i.applyVisual(e,s,u)})),o[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;zc(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,r){},t.type="visualMap",t}(Tp),_J=bJ,wJ=[["left","right","width"],["top","bottom","height"]];function xJ(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===r.orient?1:0,s=wJ[a],l=[0,null,10],u={},c=0;c<3;c++)u[wJ[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:r[s[c]];var d=[["x","width",3],["y","height",0]][a],h=Fc(u,o,r.padding);return s[(h.margin[d[2]]||0)+h[d[0]]+.5*h[d[1]]<.5*o[d[1]]?0:1]}function kJ(e,t){return l["k"](e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}var MJ=Nr,SJ=l["k"],CJ=Math.min,TJ=Math.max,OJ=12,LJ=6,AJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return a(t,e),t.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this._hoverLinkFromSeriesMouseOver=l["c"](this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=l["c"](this._hideIndicator,this)},t.prototype.doRender=function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new Cs({style:ru(d,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:r})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,i=this._orient,o=this._useHandle,a=xJ(t,this.api,r),s=n.mainGroup=this._createBarGroup(a),u=new kr;s.add(u),u.add(n.outOfRange=DJ()),u.add(n.inRange=DJ(null,o?jJ(this._orient):null,l["c"](this._dragHandle,this,"all",!1),l["c"](this._dragHandle,this,"all",!0))),u.setClipPath(new ls({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),d=TJ(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,s,0,r,d,i),this._createHandle(t,s,1,r,d,i)),this._createIndicator(t,s,r,d,i),e.add(s)},t.prototype._createHandle=function(e,t,n,r,i,o){var a=l["c"](this._dragHandle,this,n,!1),s=l["c"](this._dragHandle,this,n,!0),u=ar(e.get("handleSize"),r[0]),c=sy(e.get("handleIcon"),-u/2,-u/2,u,u,null,!0),d=jJ(this._orient);c.attr({cursor:d,draggable:!0,drift:a,ondragend:s,onmousemove:function(e){ne(e.event)}}),c.x=r[0]/2,c.useStyle(e.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),jl(c,!0),t.add(c);var h=this.visualMapModel.textStyleModel,f=new Cs({cursor:d,draggable:!0,drift:a,onmousemove:function(e){ne(e.event)},ondragend:s,style:ru(h,{x:0,y:0,text:""})});f.ensureState("blur").style={opacity:.1},f.stateTransition={duration:200},this.group.add(f);var p=[u,0],m=this._shapes;m.handleThumbs[n]=c,m.handleLabelPoints[n]=p,m.handleLabels[n]=f},t.prototype._createIndicator=function(e,t,n,r,i){var o=ar(e.get("indicatorSize"),n[0]),a=sy(e.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(a instanceof Qa){var u=a.style;a.useStyle(l["m"]({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},s))}else a.useStyle(s);t.add(a);var c=this.visualMapModel.textStyleModel,d=new Cs({silent:!0,invisible:!0,style:ru(c,{x:0,y:0,text:""})});this.group.add(d);var h=[("horizontal"===i?r/2:LJ)+n[0]/2,0],f=this._shapes;f.indicator=a,f.indicatorLabel=d,f.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(e,i[1]),this._hideIndicator(),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():IJ(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[MJ(t[0],n,r,!0),MJ(t[1],n,r,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];sN(t,r,i,e,0);var o=n.getExtent();this._dataInterval=[MJ(r[0],i,o,!0),MJ(r[1],i,o,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],o=e?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},t.prototype._createBarVisual=function(e,t,n,r){var i={forceState:r,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,i),a=[this.getControllerVisual(e[0],"symbolSize",i),this.getControllerVisual(e[1],"symbolSize",i)],s=this._createBarPoints(n,a);return{barColor:new Km(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=100,r=[],i=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<n;o++){var a=e[0]+i*o;if(a>e[1])break;r.push({color:this.getControllerVisual(a,"color",t),offset:o/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new kr("horizontal"!==t||n?"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||n?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels,a=r.itemSize,s=r.getExtent(),l=this._applyTransform("left",n.mainGroup);SJ([0,1],(function(u){var c=i[u];c.setStyle("fill",t.handlesColor[u]),c.y=e[u];var d=MJ(e[u],[0,a[1]],s,!0),h=this.getControllerVisual(d,"symbolSize");c.scaleX=c.scaleY=h/a[0],c.x=a[0]-h/2;var f=Sg(n.handleLabelPoints[u],Mg(c,this.group));if("horizontal"===this._orient){var p="left"===l||"top"===l?(a[0]-h)/2:(a[0]-h)/-2;f[1]+=p}o[u].setStyle({x:f[0],y:f[1],text:r.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},d=this.getControllerVisual(e,"color",c),h=this.getControllerVisual(e,"symbolSize"),f=MJ(e,o,s,!0),p=a[0]-h/2,m={x:u.x,y:u.y};u.y=f,u.x=p;var g=Sg(l.indicatorLabelPoint,Mg(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",l.mainGroup),b=this._orient,_="horizontal"===b;v.setStyle({text:(n||"")+i.formatValueText(t),verticalAlign:_?y:"middle",align:_?"center":y});var w={x:p,y:f,style:{fill:d}},x={style:{x:g[0],y:g[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var k={duration:100,easing:"cubicInOut",additive:!0};u.x=m.x,u.y=m.y,u.animateTo(w,k),v.animateTo(x,k)}else u.attr(w),v.attr(x);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var S=0;S<M.length;S++)this.api.enterBlur(M[S])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);r[1]=CJ(TJ(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();e=CJ(TJ(i[0],e),i[1]);var a=EJ(n,o,i),s=[e-a,e+a],l=MJ(e,i,o,!0),u=[MJ(s[0],i,o,!0),MJ(s[1],i,o,!0)];s[0]<i[0]&&(u[0]=-1/0),s[1]>i[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,d=[];(t||IJ(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=Ai(c,d);this._dispatchHighDown("downplay",kJ(h[0],n)),this._dispatchHighDown("highlight",kJ(h[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if(Gv(e.target,(function(e){var n=Ts(e);if(null!=n.dataIndex)return t=n,!0}),!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(t.dataType),o=i.getStore().get(r.getDataDimensionIndex(i),t.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var n=0;n<t.length;n++)this.api.leaveBlur(t[n])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",kJ(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,n,r){var i=Mg(t,r?null:this.group);return l["t"](e)?Sg(e,i,n):Cg(e,i,n)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(_J);function DJ(e,t,n,r){return new Lm({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){ne(e.event)},ondragend:r})}function EJ(e,t,n){var r=OJ/2,i=e.get("hoverLinkDataSize");return i&&(r=MJ(i,t,n,!0)/2),r}function IJ(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function jJ(e){return"vertical"===e?"ns-resize":"ew-resize"}var PJ=AJ,RJ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},NJ=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))},BJ=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var r=e.pipelineContext;!t.isTargetSeries(e)||r&&r.large||n.push(Jq(t.stateList,t.targetVisuals,l["c"](t.getValueState,t),t.getDataDimensionIndex(e.getData())))})),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var i=t.getVisualMeta(l["c"](YJ,null,e,t))||{stops:[],outerColors:[]},o=t.getDataDimensionIndex(n);o>=0&&(i.dimension=o,r.push(i))}})),e.getData().setVisual("visualMeta",r)}}];function YJ(e,t,n,r){for(var i=t.targetVisuals[r],o=pj.prepareVisualTypes(i),a={color:Hv(e.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=i["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,d,h)}return a.color;function d(e){return a[e]}function h(e,t){a[e]=t}}var FJ=l["k"];function zJ(e){var t=e&&e.visualMap;l["t"](t)||(t=t?[t]:[]),FJ(t,(function(e){if(e){HJ(e,"splitList")&&!HJ(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&l["t"](t)&&FJ(t,(function(e){l["A"](e)&&(HJ(e,"start")&&!HJ(e,"min")&&(e.min=e.start),HJ(e,"end")&&!HJ(e,"max")&&(e.max=e.end))}))}}))}function HJ(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var VJ=!1;function WJ(e){VJ||(VJ=!0,e.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(RJ,NJ),Object(l["k"])(BJ,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(zJ))}function UJ(e){e.registerComponentModel(yJ),e.registerComponentView(PJ),WJ(e)}var $J=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return a(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],GJ[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var i=this.option.categories;this.resetVisual((function(e,t){"categories"===r?(e.mappingMethod="category",e.categories=l["d"](i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=l["H"](this._pieceList,(function(e){return e=l["d"](e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,n={},r=pj.listVisualTypes(),i=this.isCategory();function o(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}l["k"](t.pieces,(function(e){l["k"](r,(function(t){e.hasOwnProperty(t)&&(n[t]=1)}))})),l["k"](n,(function(e,n){var r=!1;l["k"](this.stateList,(function(e){r=r||o(t,e,n)||o(t.target,e,n)}),this),!r&&l["k"](this.stateList,(function(e){(t[e]||(t[e]={}))[n]=aJ.get(n,"inRange"===e?"active":"inactive",i)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,r=this._pieceList,i=(t?n:e).selected||{};if(n.selected=i,l["k"](r,(function(e,t){var n=this.getSelectedMapKey(e);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var o=!1;l["k"](r,(function(e,t){var n=this.getSelectedMapKey(e);i[n]&&(o?i[n]=!1:o=!0)}),this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=l["d"](e)},t.prototype.getValueState=function(e){var t=pj.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries((function(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),(function(t,r){var o=pj.findPieceIndex(t,n);o===e&&i.push(r)}),this),t.push({seriesId:r.id,dataIndex:i})}),this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],n=["",""],r=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),o=i[i.length-1].interval[1],o!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return l["k"](i,(function(e){var t=e.interval;t&&(t[0]>a&&s([a,t[0]],"outOfRange"),s(t.slice()),a=t[1])}),this),{stops:t,outerColors:n}}function s(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=e(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=Eu(pJ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(pJ),GJ={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;var o=(r[1]-r[0])/i;while(+o.toFixed(n)!==o&&n<5)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a<i;s+=o,a++){var u=a===i-1?r[1]:s+o;e.push({interval:[s,u],close:[1,1]})}t.maxOpen&&e.push({interval:[r[1],1/0],close:[0,0]}),ti(e),l["k"](e,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(e){var t=this.option;l["k"](t.categories,(function(t){e.push({text:this.formatValueText(t,!0),value:t})}),this),qJ(t,e)},pieces:function(e){var t=this.option;l["k"](t.pieces,(function(t,n){l["A"](t)||(t={value:t});var r={text:"",index:n};if(null!=t.label&&(r.text=t.label),t.hasOwnProperty("value")){var i=r.value=t.value;r.interval=[i,i],r.close=[1,1]}else{for(var o=r.interval=[],a=r.close=[0,0],s=[1,0,1],u=[-1/0,1/0],c=[],d=0;d<2;d++){for(var h=[["gte","gt","min"],["lte","lt","max"]][d],f=0;f<3&&null==o[d];f++)o[d]=t[h[f]],a[d]=s[f],c[d]=2===f;null==o[d]&&(o[d]=u[d])}c[0]&&o[1]===1/0&&(a[0]=0),c[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(r.value=o[0])}r.visual=pj.retrieveVisuals(t),e.push(r)}),this),qJ(t,e),ti(e),l["k"](e,(function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function qJ(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var XJ=$J,KJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,i=r.getFont(),o=r.getTextColor(),a=this._getItemAlign(),s=t.itemSize,u=this._getViewData(),c=u.endsText,d=l["O"](t.get("showLabel",!0),!c),h=!t.get("selectedMode");c&&this._renderEndsText(e,c[0],s,d,a),l["k"](u.viewPieceList,(function(r){var u=r.piece,c=new kr;c.onclick=l["c"](this._onItemClick,this,u),this._enableHoverLink(c,r.indexInModelPieceList);var f=t.getRepresentValue(u);if(this._createItemSymbol(c,f,[0,0,s[0],s[1]],h),d){var p=this.visualMapModel.getValueState(f);c.add(new Cs({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:u.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===p?.5:1},silent:h}))}e.add(c)}),this),c&&this._renderEndsText(e,c[1],s,d,a),Bc(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(e){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:e,batch:kJ(r.findTargetDataIndices(t),r)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return xJ(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,r,i){if(t){var o=new kr,a=this.visualMapModel.textStyleModel;o.add(new Cs({style:ru(a,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:t})})),e.add(o)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=l["H"](e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),r=e.get("orient"),i=e.get("inverse");return("horizontal"===r?i:!i)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n,r){var i=sy(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color"));i.silent=r,e.add(i)},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,r=n.selectedMode;if(r){var i=l["d"](n.selected),o=t.getSelectedMapKey(e);"single"===r||!0===r?(i[o]=!0,l["k"](i,(function(e,t){i[t]=t===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},t.type="visualMap.piecewise",t}(_J),ZJ=KJ;function JJ(e){e.registerComponentModel(XJ),e.registerComponentView(ZJ),WJ(e)}function QJ(e){N_(UJ),N_(JJ)}var eQ={label:{enabled:!0},decal:{show:!1}},tQ=Ei(),nQ={};function rQ(e,t){var n=e.getModel("aria");if(n.get("enabled")){var r=l["d"](eQ);l["I"](r.label,e.getLocaleModel().get("aria"),!1),l["I"](n.option,r,!1),i(),o()}function i(){var t=n.getModel("decal"),r=t.get("show");if(r){var i=l["f"]();e.eachSeries((function(e){if(!e.isColorBySeries()){var t=i.get(e.type);t||(t={},i.set(e.type,t)),tQ(e).scope=t}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(l["w"](t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var r=Md(t.ecModel,t.name,nQ,e.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",c(i,r))}else{var o=t.getRawData(),a={},s=tQ(t).scope;n.each((function(e){var t=n.getRawIndex(e);a[t]=e}));var u=o.count();o.each((function(e){var r=a[e],i=o.getName(e)||e+"",l=Md(t.ecModel,i,s,u),d=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",c(d,l))}))}}function c(e,t){var n=e?l["m"](l["m"]({},t),e):t;return n.dirty=!0,n}}))}}function o(){var r=t.getZr().dom;if(r){var i=e.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=l["i"](o.option,i),o.get("enabled"))if(r.setAttribute("role","img"),o.get("description"))r.setAttribute("aria-label",o.get("description"));else{var c,d=e.getSeriesCount(),h=o.get(["data","maxCount"])||10,f=o.get(["series","maxCount"])||10,p=Math.min(d,f);if(!(d<1)){var m=s();if(m){var g=o.get(["general","withTitle"]);c=a(g,{title:m})}else c=o.get(["general","withoutTitle"]);var v=[],y=d>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]);c+=a(y,{seriesCount:d}),e.eachSeries((function(e,t){if(t<p){var n=void 0,r=e.get("name"),i=r?"withName":"withoutName";n=d>1?o.get(["series","multiple",i]):o.get(["series","single",i]),n=a(n,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:u(e.subType)});var s=e.getData();if(s.count()>h){var c=o.get(["data","partialData"]);n+=a(c,{displayCnt:h})}else n+=o.get(["data","allData"]);for(var f=o.get(["data","separator","middle"]),m=o.get(["data","separator","end"]),g=o.get(["data","excludeDimensionId"]),y=[],b=0;b<s.count();b++)if(b<h){var _=s.getName(b),w=g?l["n"](s.getValues(b),(function(e,t){return-1===l["r"](g,t)})):s.getValues(b),x=o.get(["data",_?"withName":"withoutName"]);y.push(a(x,{name:_,value:w.join(f)}))}n+=y.join(f)+m,v.push(n)}}));var b=o.getModel(["series","multiple","separator"]),_=b.get("middle"),w=b.get("end");c+=v.join(_)+w,r.setAttribute("aria-label",c)}}}}function a(e,t){if(!l["C"](e))return e;var n=e;return l["k"](t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}function s(){var t=e.get("title");return t&&t.length&&(t=t[0]),t&&t.text}function u(t){var n=e.getLocaleModel().get(["series","typeNames"]);return n[t]||n.chart}}function iQ(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},l["k"](["description","general","series","data"],(function(e){null!=t[e]&&(t.label[e]=t[e])}))}}function oQ(e){e.registerPreprocessor(iQ),e.registerVisual(e.PRIORITY.VISUAL.ARIA,rQ)}var aQ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},sQ=function(){function e(e){var t=this._condVal=Object(l["C"])(e)?new RegExp(e):Object(l["B"])(e)?e:null;if(null==t){var n="";0,Ed(n)}}return e.prototype.evaluate=function(e){var t=typeof e;return Object(l["C"])(t)?this._condVal.test(e):!!Object(l["z"])(t)&&this._condVal.test(e+"")},e}(),lQ=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),uQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(!e[t].evaluate())return!1;return!0},e}(),cQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(e[t].evaluate())return!0;return!1},e}(),dQ=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),hQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=!!this.valueParser,t=this.getValue,n=t(this.valueGetterParam),r=e?this.valueParser(n):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(e?r:n))return!1;return!0},e}();function fQ(e,t){if(!0===e||!1===e){var n=new lQ;return n.value=e,n}var r="";return vQ(e)||Ed(r),e.and?pQ("and",e,t):e.or?pQ("or",e,t):e.not?mQ(e,t):gQ(e,t)}function pQ(e,t,n){var r=t[e],i="";Object(l["t"])(r)||Ed(i),r.length||Ed(i);var o="and"===e?new uQ:new cQ;return o.children=Object(l["H"])(r,(function(e){return fQ(e,n)})),o.children.length||Ed(i),o}function mQ(e,t){var n=e.not,r="";vQ(n)||Ed(r);var i=new dQ;return i.child=fQ(n,t),i.child||Ed(r),i}function gQ(e,t){for(var n="",r=t.prepareGetValue(e),i=[],o=Object(l["F"])(e),a=e.parser,s=a?cf(a):null,u=0;u<o.length;u++){var c=o[u];if("parser"!==c&&!t.valueGetterAttrMap.get(c)){var d=Object(l["q"])(aQ,c)?aQ[c]:c,h=e[c],f=s?s(h):h,p=mf(d,f)||"reg"===d&&new sQ(f);p||Ed(n),i.push(p)}}i.length||Ed(n);var m=new hQ;return m.valueGetterParam=r,m.valueParser=s,m.getValue=t.getValue,m.subCondList=i,m}function vQ(e){return Object(l["A"])(e)&&!Object(l["u"])(e)}var yQ=function(){function e(e,t){this._cond=fQ(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function bQ(e,t){return new yQ(e,t)}var _Q={type:"echarts:filter",transform:function(e){for(var t,n=e.upstream,r=bQ(e.config,{valueGetterAttrMap:Object(l["f"])({dimension:!0}),prepareGetValue:function(e){var t="",r=e.dimension;Object(l["q"])(e,"dimension")||Ed(t);var i=n.getDimensionInfo(r);return i||Ed(t),{dimIdx:i.index}},getValue:function(e){return n.retrieveValueFromItem(t,e.dimIdx)}}),i=[],o=0,a=n.count();o<a;o++)t=n.getRawDataItem(o),r.evaluate()&&i.push(t);return{data:i}}};var wQ={type:"echarts:sort",transform:function(e){var t=e.upstream,n=e.config,r="",i=ci(n);i.length||Ed(r);var o=[];Object(l["k"])(i,(function(e){var n=e.dimension,i=e.order,a=e.parser,s=e.incomparable;if(null==n&&Ed(r),"asc"!==i&&"desc"!==i&&Ed(r),s&&"min"!==s&&"max"!==s){var l="";0,Ed(l)}if("asc"!==i&&"desc"!==i){var u="";0,Ed(u)}var c=t.getDimensionInfo(n);c||Ed(r);var d=a?cf(a):null;a&&!d&&Ed(r),o.push({dimIdx:c.index,parser:d,comparator:new ff(i,s)})}));var a=t.sourceFormat;a!==nd&&a!==rd&&Ed(r);for(var s=[],u=0,c=t.count();u<c;u++)s.push(t.getRawDataItem(u));return s.sort((function(e,n){for(var r=0;r<o.length;r++){var i=o[r],a=t.retrieveValueFromItem(e,i.dimIdx),s=t.retrieveValueFromItem(n,i.dimIdx);i.parser&&(a=i.parser(a),s=i.parser(s));var l=i.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};function xQ(e){e.registerTransform(_Q),e.registerTransform(wQ)}var kQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return a(t,e),t.prototype.init=function(t,n,r){e.prototype.init.call(this,t,n,r),this._sourceManager=new Ff(this),zf(this)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),zf(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:sd},t}(Kc),MQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return a(t,e),t.type="dataset",t}(Tp);function SQ(e){e.registerComponentModel(kQ),e.registerComponentView(MQ)}var CQ=ba.CMD;function TQ(e,t){return Math.abs(e-t)<1e-5}function OQ(e){var t,n,r,i,o,a=e.data,s=e.len(),l=[],u=0,c=0,d=0,h=0;function f(e,n){t&&t.length>2&&l.push(t),t=[e,n]}function p(e,n,r,i){TQ(e,r)&&TQ(n,i)||t.push(e,n,r,i,r,i)}function m(e,n,r,i,o,a){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,u=n<e?-1:1,c=Math.cos(e),d=Math.sin(e),h=Math.cos(n),f=Math.sin(n),p=c*o+r,m=d*a+i,g=h*o+r,v=f*a+i,y=o*l*u,b=a*l*u;t.push(p-y*d,m+b*c,g+y*f,v-b*h,g,v)}for(var g=0;g<s;){var v=a[g++],y=1===g;switch(y&&(u=a[g],c=a[g+1],d=u,h=c,v!==CQ.L&&v!==CQ.C&&v!==CQ.Q||(t=[d,h])),v){case CQ.M:u=d=a[g++],c=h=a[g++],f(d,h);break;case CQ.L:n=a[g++],r=a[g++],p(u,c,n,r),u=n,c=r;break;case CQ.C:t.push(a[g++],a[g++],a[g++],a[g++],u=a[g++],c=a[g++]);break;case CQ.Q:n=a[g++],r=a[g++],i=a[g++],o=a[g++],t.push(u+2/3*(n-u),c+2/3*(r-c),i+2/3*(n-i),o+2/3*(r-o),i,o),u=i,c=o;break;case CQ.A:var b=a[g++],_=a[g++],w=a[g++],x=a[g++],k=a[g++],M=a[g++]+k;g+=1;var S=!a[g++];n=Math.cos(k)*w+b,r=Math.sin(k)*x+_,y?(d=n,h=r,f(d,h)):p(u,c,n,r),u=Math.cos(M)*w+b,c=Math.sin(M)*x+_;for(var C=(S?-1:1)*Math.PI/2,T=k;S?T>M:T<M;T+=C){var O=S?Math.max(T+C,M):Math.min(T+C,M);m(T,O,b,_,w,x)}break;case CQ.R:d=u=a[g++],h=c=a[g++],n=d+a[g++],r=h+a[g++],f(n,h),p(n,h,n,r),p(n,r,d,r),p(d,r,d,h),p(d,h,n,h);break;case CQ.Z:t&&p(u,c,d,h),u=d,c=h;break}}return t&&t.length>2&&l.push(t),l}function LQ(e,t,n,r,i,o,a,s,l,u){if(TQ(e,n)&&TQ(t,r)&&TQ(i,a)&&TQ(o,s))l.push(a,s);else{var c=2/u,d=c*c,h=a-e,f=s-t,p=Math.sqrt(h*h+f*f);h/=p,f/=p;var m=n-e,g=r-t,v=i-a,y=o-s,b=m*m+g*g,_=v*v+y*y;if(b<d&&_<d)l.push(a,s);else{var w=h*m+f*g,x=-h*v-f*y,k=b-w*w,M=_-x*x;if(k<d&&w>=0&&M<d&&x>=0)l.push(a,s);else{var S=[],C=[];Mt(e,n,i,a,.5,S),Mt(t,r,o,s,.5,C),LQ(S[0],C[0],S[1],C[1],S[2],C[2],S[3],C[3],l,u),LQ(S[4],C[4],S[5],C[5],S[6],C[6],S[7],C[7],l,u)}}}}function AQ(e,t){var n=OQ(e),r=[];t=t||1;for(var i=0;i<n.length;i++){var o=n[i],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],d=o[u++],h=o[u++],f=o[u++],p=o[u++],m=o[u++];LQ(s,l,c,d,h,f,p,m,a,t),s=p,l=m}r.push(a)}return r}function DQ(e,t,n){var r=e[t],i=e[1-t],o=Math.abs(r/i),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=a*s,d=n-c;if(d>0)for(u=0;u<d;u++)l[u%a]+=1;return l}function EQ(e,t,n){for(var r=e.r0,i=e.r,o=e.startAngle,a=e.endAngle,s=Math.abs(a-o),l=s*i,u=i-r,c=l>Math.abs(u),d=DQ([l,u],c?0:1,t),h=(c?s:u)/d.length,f=0;f<d.length;f++)for(var p=(c?u:s)/d[f],m=0;m<d[f];m++){var g={};c?(g.startAngle=o+h*f,g.endAngle=o+h*(f+1),g.r0=r+p*m,g.r=r+p*(m+1)):(g.startAngle=o+p*m,g.endAngle=o+p*(m+1),g.r0=r+h*f,g.r=r+h*(f+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,n.push(g)}}function IQ(e,t,n){for(var r=e.width,i=e.height,o=r>i,a=DQ([r,i],o?0:1,t),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=e[s]/a.length,h=0;h<a.length;h++)for(var f=e[l]/a[h],p=0;p<a[h];p++){var m={};m[u]=h*d,m[c]=p*f,m[s]=d,m[l]=f,m.x+=e.x,m.y+=e.y,n.push(m)}}function jQ(e,t,n,r){return e*r-n*t}function PQ(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,d=s-o,h=jQ(c,d,l,u);if(Math.abs(h)<1e-6)return null;var f=e-i,p=t-o,m=jQ(f,p,c,d)/h;return m<0||m>1?null:new ye(m*l+e,m*u+t)}function RQ(e,t,n){var r=new ye;ye.sub(r,n,t),r.normalize();var i=new ye;ye.sub(i,e,t);var o=i.dot(r);return o}function NQ(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function BQ(e,t,n){for(var r=e.length,i=[],o=0;o<r;o++){var a=e[o],s=e[(o+1)%r],l=PQ(a[0],a[1],s[0],s[1],t.x,t.y,n.x,n.y);l&&i.push({projPt:RQ(l,t,n),pt:l,idx:o})}if(i.length<2)return[{points:e},{points:e}];i.sort((function(e,t){return e.projPt-t.projPt}));var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var d=u;u=c,c=d}var h=[u.pt.x,u.pt.y],f=[c.pt.x,c.pt.y],p=[h],m=[f];for(o=u.idx+1;o<=c.idx;o++)NQ(p,e[o].slice());NQ(p,f),NQ(p,h);for(o=c.idx+1;o<=u.idx+r;o++)NQ(m,e[o%r].slice());return NQ(m,h),NQ(m,f),[{points:p},{points:m}]}function YQ(e){var t=e.points,n=[],r=[];Go(t,n,r);var i=new Oe(n[0],n[1],r[0]-n[0],r[1]-n[1]),o=i.width,a=i.height,s=i.x,l=i.y,u=new ye,c=new ye;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),BQ(t,u,c)}function FQ(e,t,n,r){if(1===n)r.push(t);else{var i=Math.floor(n/2),o=e(t);FQ(e,o[0],i,r),FQ(e,o[1],n-i,r)}return r}function zQ(e,t){for(var n=[],r=0;r<t;r++)n.push(Zp(e));return n}function HQ(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function VQ(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}function WQ(e,t){var n,r=[],i=e.shape;switch(e.type){case"rect":IQ(i,t,r),n=ls;break;case"sector":EQ(i,t,r),n=wm;break;case"circle":EQ({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},t,r),n=wm;break;default:var o=e.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=Object(l["H"])(AQ(e.getUpdatedPathProxy(),a),(function(e){return VQ(e)})),u=s.length;if(0===u)FQ(YQ,{points:s[0]},t,r);else if(u===t)for(var c=0;c<u;c++)r.push({points:s[c]});else{var d=0,h=Object(l["H"])(s,(function(e){var t=[],n=[];Go(e,t,n);var r=(n[1]-t[1])*(n[0]-t[0]);return d+=r,{poly:e,area:r}}));h.sort((function(e,t){return t.area-e.area}));var f=t;for(c=0;c<u;c++){var p=h[c];if(f<=0)break;var m=c===u-1?f:Math.ceil(p.area/d*t);m<0||(FQ(YQ,{points:p.poly},m,r),f-=m)}}n=Lm;break}if(!n)return zQ(e,t);var g=[];for(c=0;c<r.length;c++){var v=new n;v.setShape(r[c]),HQ(e,v),g.push(v)}return g}function UQ(e,t){var n=e.length,r=t.length;if(n===r)return[e,t];for(var i=[],o=[],a=n<r?e:t,s=Math.min(n,r),l=Math.abs(r-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,d=[a[0],a[1]],h=l,f=2;f<s;){var p=a[f-2],m=a[f-1],g=a[f++],v=a[f++],y=a[f++],b=a[f++],_=a[f++],w=a[f++];if(h<=0)d.push(g,v,y,b,_,w);else{for(var x=Math.min(h,c-1)+1,k=1;k<=x;k++){var M=k/x;Mt(p,g,y,_,M,i),Mt(m,v,b,w,M,o),p=i[3],m=o[3],d.push(i[1],o[1],i[2],o[2],p,m),g=i[5],v=o[5],y=i[6],b=o[6]}h-=x-1}}return a===e?[d,t]:[e,d]}function $Q(e,t){for(var n=e.length,r=e[n-2],i=e[n-1],o=[],a=0;a<t.length;)o[a++]=r,o[a++]=i;return o}function GQ(e,t){for(var n,r,i,o=[],a=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],u=t[s],c=void 0,d=void 0;l?u?(n=UQ(l,u),c=n[0],d=n[1],r=c,i=d):(d=$Q(i||l,l),c=l):(c=$Q(r||u,u),d=u),o.push(c),a.push(d)}return[o,a]}function qQ(e){for(var t=0,n=0,r=0,i=e.length,o=0,a=i-2;o<i;a=o,o+=2){var s=e[a],l=e[a+1],u=e[o],c=e[o+1],d=s*c-u*l;t+=d,n+=(s+u)*d,r+=(l+c)*d}return 0===t?[e[0]||0,e[1]||0]:[n/t/3,r/t/3,t]}function XQ(e,t,n,r){for(var i=(e.length-2)/6,o=1/0,a=0,s=e.length,l=s-2,u=0;u<i;u++){for(var c=6*u,d=0,h=0;h<s;h+=2){var f=0===h?c:(c+h-2)%l+2,p=e[f]-n[0],m=e[f+1]-n[1],g=t[h]-r[0],v=t[h+1]-r[1],y=g-p,b=v-m;d+=y*y+b*b}d<o&&(o=d,a=u)}return a}function KQ(e){for(var t=[],n=e.length,r=0;r<n;r+=2)t[r]=e[n-r-2],t[r+1]=e[n-r-1];return t}function ZQ(e,t,n,r){for(var i,o=[],a=0;a<e.length;a++){var s=e[a],l=t[a],u=qQ(s),c=qQ(l);null==i&&(i=u[2]<0!==c[2]<0);var d=[],h=[],f=0,p=1/0,m=[],g=s.length;i&&(s=KQ(s));for(var v=6*XQ(s,l,u,c),y=g-2,b=0;b<y;b+=2){var _=(v+b)%y+2;d[b+2]=s[_]-u[0],d[b+3]=s[_+1]-u[1]}if(d[0]=s[v]-u[0],d[1]=s[v+1]-u[1],n>0)for(var w=r/n,x=-r/2;x<=r/2;x+=w){var k=Math.sin(x),M=Math.cos(x),S=0;for(b=0;b<s.length;b+=2){var C=d[b],T=d[b+1],O=l[b]-c[0],L=l[b+1]-c[1],A=O*M-L*k,D=O*k+L*M;m[b]=A,m[b+1]=D;var E=A-C,I=D-T;S+=E*E+I*I}if(S<p){p=S,f=x;for(var j=0;j<m.length;j++)h[j]=m[j]}}else for(var P=0;P<g;P+=2)h[P]=l[P]-c[0],h[P+1]=l[P+1]-c[1];o.push({from:d,to:h,fromCp:u,toCp:c,rotation:-f})}return o}function JQ(e){return e.__isCombineMorphing}var QQ="__mOriginal_";function e0(e,t,n){var r=QQ+t,i=e[r]||e[t];e[r]||(e[r]=e[t]);var o=n.replace,a=n.after,s=n.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=o?o.apply(this,t):i.apply(this,t),a&&a.apply(this,t),e}}function t0(e,t){var n=QQ+t;e[n]&&(e[t]=e[n],e[n]=null)}function n0(e,t){for(var n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;){var o=r[i],a=r[i+1];r[i++]=t[0]*o+t[2]*a+t[4],r[i++]=t[1]*o+t[3]*a+t[5]}}function r0(e,t){var n=e.getUpdatedPathProxy(),r=t.getUpdatedPathProxy(),i=GQ(OQ(n),OQ(r)),o=i[0],a=i[1],s=e.getComputedTransform(),l=t.getComputedTransform();function u(){this.transform=null}s&&n0(o,s),l&&n0(a,l),e0(t,"updateTransform",{replace:u}),t.transform=null;var c=ZQ(o,a,10,Math.PI),d=[];e0(t,"buildPath",{replace:function(e){for(var n=t.__morphT,r=1-n,i=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,u=a.rotation*n,h=a.fromCp,f=a.toCp,p=Math.sin(u),m=Math.cos(u);M(i,h,f,n);for(var g=0;g<s.length;g+=2){var v=s[g],y=s[g+1],b=l[g],_=l[g+1],w=v*r+b*n,x=y*r+_*n;d[g]=w*m-x*p+i[0],d[g+1]=w*p+x*m+i[1]}var k=d[0],S=d[1];e.moveTo(k,S);for(g=2;g<s.length;){b=d[g++],_=d[g++];var C=d[g++],T=d[g++],O=d[g++],L=d[g++];k===b&&S===_&&C===O&&T===L?e.lineTo(O,L):e.bezierCurveTo(b,_,C,T,O,L),k=O,S=L}}}})}function i0(e,t,n){if(!e||!t)return t;var r=n.done,i=n.during;function o(){t0(t,"buildPath"),t0(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return r0(e,t),t.__morphT=0,t.animateTo({__morphT:1},Object(l["i"])({during:function(e){t.dirtyShape(),i&&i(e)},done:function(){o(),r&&r()}},n)),t}function o0(e,t,n,r,i,o){var a=16;e=i===n?0:Math.round(32767*(e-n)/(i-n)),t=o===r?0:Math.round(32767*(t-r)/(o-r));for(var s,l=0,u=(1<<a)/2;u>0;u/=2){var c=0,d=0;(e&u)>0&&(c=1),(t&u)>0&&(d=1),l+=u*u*(3*c^d),0===d&&(1===c&&(e=u-1-e,t=u-1-t),s=e,e=t,t=s)}return l}function a0(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,o=Object(l["H"])(e,(function(e){var o=e.getBoundingRect(),a=e.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return t=Math.min(s,t),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]})),a=Object(l["H"])(o,(function(o,a){return{cp:o,z:o0(o[0],o[1],t,n,r,i),path:e[a]}}));return a.sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function s0(e){return WQ(e.path,e.count)}function l0(){return{fromIndividuals:[],toIndividuals:[],count:0}}function u0(e,t,n){var r=[];function i(e){for(var t=0;t<e.length;t++){var n=e[t];JQ(n)?i(n.childrenRef()):n instanceof Ua&&r.push(n)}}i(e);var o=r.length;if(!o)return l0();var a=n.dividePath||s0,s=a({path:t,count:o});if(s.length!==o)return console.error("Invalid morphing: unmatched splitted path"),l0();r=a0(r),s=a0(s);for(var u=n.done,c=n.during,d=n.individualDelay,h=new Kn,f=0;f<o;f++){var p=r[f],m=s[f];m.parent=t,m.copyTransform(h),d||r0(p,m)}function g(e){for(var t=0;t<s.length;t++)s[t].addSelfToZr(e)}function v(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,t0(t,"addSelfToZr"),t0(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return s},e0(t,"addSelfToZr",{after:function(e){g(e)}}),e0(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<s.length;t++)s[t].removeSelfFromZr(e)}});var y=s.length;if(d){var b=y,_=function(){b--,0===b&&(v(),u&&u())};for(f=0;f<y;f++){var w=d?Object(l["i"])({delay:(n.delay||0)+d(f,y,r[f],s[f]),done:_},n):n;i0(r[f],s[f],w)}}else t.__morphT=0,t.animateTo({__morphT:1},Object(l["i"])({during:function(e){for(var n=0;n<y;n++){var r=s[n];r.__morphT=t.__morphT,r.dirtyShape()}c&&c(e)},done:function(){v();for(var t=0;t<e.length;t++)t0(e[t],"updateTransform");u&&u()}},n));return t.__zr&&g(t.__zr),{fromIndividuals:r,toIndividuals:s,count:y}}function c0(e,t,n){var r=t.length,i=[],o=n.dividePath||s0;function a(e){for(var t=0;t<e.length;t++){var n=e[t];JQ(n)?a(n.childrenRef()):n instanceof Ua&&i.push(n)}}if(JQ(e)){a(e.childrenRef());var s=i.length;if(s<r)for(var u=0,c=s;c<r;c++)i.push(Zp(i[u++%s]));i.length=r}else{i=o({path:e,count:r});var d=e.getComputedTransform();for(c=0;c<i.length;c++)i[c].setLocalTransform(d);if(i.length!==r)return console.error("Invalid morphing: unmatched splitted path"),l0()}i=a0(i),t=a0(t);var h=n.individualDelay;for(c=0;c<r;c++){var f=h?Object(l["i"])({delay:(n.delay||0)+h(c,r,i[c],t[c])},n):n;i0(i[c],t[c],f)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}function d0(e){return Object(l["t"])(e[0])}function h0(e,t){for(var n=[],r=e.length,i=0;i<r;i++)n.push({one:e[i],many:[]});for(i=0;i<t.length;i++){var o=t[i].length,a=void 0;for(a=0;a<o;a++)n[a%r].many.push(t[i][a])}var s=0;for(i=r-1;i>=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var f0={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r<e.count;r++){var i=Zp(e.path);i.setStyle("opacity",n),t.push(i)}return t},split:null};function p0(e,t,n,r,i,o){if(e.length&&t.length){var a=Hl("update",r,i);if(a&&a.duration>0){var s,u,c=r.getModel("universalTransition").get("delay"),d=Object.assign({setToFinal:!0},a);d0(e)&&(s=e,u=t),d0(t)&&(s=t,u=e);for(var h=s?s===e:e.length>t.length,f=s?h0(u,s):h0(h?t:e,[h?e:t]),p=0,m=0;m<f.length;m++)p+=f[m].many.length;var g=0;for(m=0;m<f.length;m++)v(f[m],h,g,p),g+=f[m].many.length}}function v(e,t,r,i,a){var s=e.many,u=e.one;if(1!==s.length||a)for(var h=Object(l["i"])({dividePath:f0[n],individualDelay:c&&function(e,t,n,o){return c(e+r,i)}},d),f=t?u0(s,u,h):c0(u,s,h),p=f.fromIndividuals,m=f.toIndividuals,g=p.length,y=0;y<g;y++){w=c?Object(l["i"])({delay:c(y,g)},d):d;o(p[y],m[y],t?s[y]:e.one,t?e.one:s[y],w)}else{var b=t?s[0]:u,_=t?u:s[0];if(JQ(b))v({many:[b],one:_},!0,r,i,!0);else{var w=c?Object(l["i"])({delay:c(r,i)},d):d;i0(b,_,w),o(b,_,b,_,w)}}}}function m0(e){if(!e)return[];if(Object(l["t"])(e)){for(var t=[],n=0;n<e.length;n++)t.push(m0(e[n]));return t}var r=[];return e.traverse((function(e){e instanceof Ua&&!e.disableMorphing&&!e.invisible&&!e.ignore&&r.push(e)})),r}var g0=1e4,v0=0,y0=1,b0=2,_0=Ei();function w0(e,t){for(var n=e.dimensions,r=0;r<n.length;r++){var i=e.getDimensionInfo(n[r]);if(i&&0===i.otherDims[t])return n[r]}}function x0(e,t,n){var r=e.getDimensionInfo(n),i=r&&r.ordinalMeta;if(r){var o=e.get(r.name,t);return i&&i.categories[o]||o+""}}function k0(e,t,n,r){var i=r?"itemChildGroupId":"itemGroupId",o=w0(e,i);if(o){var a=x0(e,t,o);return a}var s=e.getRawDataItem(t),l=r?"childGroupId":"groupId";return s&&s[l]?s[l]+"":r?void 0:n||e.getId(t)}function M0(e){var t=[];return Object(l["k"])(e,(function(e){var n=e.data,r=e.dataGroupId;if(!(n.count()>g0))for(var i=n.getIndices(),o=0;o<i.length;o++)t.push({data:n,groupId:k0(n,o,r,!1),childGroupId:k0(n,o,r,!0),divide:e.divide,dataIndex:o})})),t}function S0(e,t,n){e.traverse((function(e){e instanceof Ua&&Ul(e,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})}))}function C0(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function T0(e){e.stopAnimation(),e.isGroup&&e.traverse((function(e){e.stopAnimation()}))}function O0(e,t,n){var r=Hl("update",n,t);r&&e.traverse((function(e){if(e instanceof Bo){var t=Zl(e);t&&e.animateFrom({style:t},r)}}))}function L0(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++){var i=e[r],o=t[r];if(i.data.getId(i.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}function A0(e,t,n){var r=M0(e),i=M0(t);function o(e,t,n,r,i){(n||e)&&t.animateFrom({style:n&&n!==e?Object(l["m"])(Object(l["m"])({},n.style),e.style):e.style},i)}var a=!1,s=v0,u=Object(l["f"])(),c=Object(l["f"])();r.forEach((function(e){e.groupId&&u.set(e.groupId,!0),e.childGroupId&&c.set(e.childGroupId,!0)}));for(var d=0;d<i.length;d++){var h=i[d].groupId;if(c.get(h)){s=y0;break}var f=i[d].childGroupId;if(f&&u.get(f)){s=b0;break}}function p(e,t){return function(n){var r=n.data,i=n.dataIndex;return t?r.getId(i):e?s===y0?n.childGroupId:n.groupId:s===b0?n.childGroupId:n.groupId}}var m=L0(r,i),g={};if(!m)for(d=0;d<i.length;d++){var v=i[d],y=v.data.getItemGraphicEl(v.dataIndex);y&&(g[y.id]=!0)}function b(e,t){var n=r[t],s=i[e],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&g[u.id]||c&&(T0(c),u?(T0(u),C0(u),a=!0,p0(m0(u),m0(c),s.divide,l,e,o)):S0(c,l,e)):c&&O0(c,s.dataIndex,l)}new _k(r,i,p(!0,m),p(!1,m),null,"multiple").update(b).updateManyToOne((function(e,t){var n=i[e],s=n.data,u=s.hostModel,c=s.getItemGraphicEl(n.dataIndex),d=Object(l["n"])(Object(l["H"])(t,(function(e){return r[e].data.getItemGraphicEl(r[e].dataIndex)})),(function(e){return e&&e!==c&&!g[e.id]}));c&&(T0(c),d.length?(Object(l["k"])(d,(function(e){T0(e),C0(e)})),a=!0,p0(m0(d),m0(c),n.divide,u,e,o)):S0(c,u,n.dataIndex))})).updateOneToMany((function(e,t){var n=r[t],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!g[s.id]){var u=Object(l["n"])(Object(l["H"])(e,(function(e){return i[e].data.getItemGraphicEl(i[e].dataIndex)})),(function(e){return e&&e!==s})),c=i[e[0]].data.hostModel;u.length&&(Object(l["k"])(u,(function(e){return T0(e)})),s?(T0(s),C0(s),a=!0,p0(m0(s),m0(u),n.divide,c,e[0],o)):Object(l["k"])(u,(function(t){return S0(t,c,e[0])})))}})).updateManyToMany((function(e,t){new _k(t,e,(function(e){return r[e].data.getId(r[e].dataIndex)}),(function(e){return i[e].data.getId(i[e].dataIndex)})).update((function(n,r){b(e[n],t[r])})).execute()})).execute(),a&&Object(l["k"])(t,(function(e){var t=e.data,r=t.hostModel,i=r&&n.getViewOfSeriesModel(r),o=Hl("update",r,0);i&&r.isAnimationEnabled()&&o&&o.duration>0&&i.group.traverse((function(e){e instanceof Ua&&!e.animators.length&&e.animateFrom({style:{opacity:0}},o)}))}))}function D0(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function E0(e){return Object(l["t"])(e)?e.sort().join(","):e}function I0(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function j0(e,t){var n=Object(l["f"])(),r=Object(l["f"])(),i=Object(l["f"])();return Object(l["k"])(e.oldSeries,(function(t,n){var o=e.oldDataGroupIds[n],a=e.oldData[n],s=D0(t),u=E0(s);r.set(u,{dataGroupId:o,data:a}),Object(l["t"])(s)&&Object(l["k"])(s,(function(e){i.set(e,{key:u,dataGroupId:o,data:a})}))})),Object(l["k"])(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),o=e.getData(),a=D0(e),s=E0(a),u=r.get(s);if(u)n.set(s,{oldSeries:[{dataGroupId:u.dataGroupId,divide:I0(u.data),data:u.data}],newSeries:[{dataGroupId:t,divide:I0(o),data:o}]});else if(Object(l["t"])(a)){0;var c=[];Object(l["k"])(a,(function(e){var t=r.get(e);t.data&&c.push({dataGroupId:t.dataGroupId,divide:I0(t.data),data:t.data})})),c.length&&n.set(s,{oldSeries:c,newSeries:[{dataGroupId:t,data:o,divide:I0(o)}]})}else{var d=i.get(a);if(d){var h=n.get(d.key);h||(h={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:I0(d.data)}],newSeries:[]},n.set(d.key,h)),h.newSeries.push({dataGroupId:t,data:o,divide:I0(o)})}}}})),n}function P0(e,t){for(var n=0;n<e.length;n++){var r=null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id;if(r)return n}}function R0(e,t,n,r){var i=[],o=[];Object(l["k"])(ci(e.from),(function(e){var n=P0(t.oldSeries,e);n>=0&&i.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:I0(t.oldData[n]),groupIdDim:e.dimension})})),Object(l["k"])(ci(e.to),(function(e){var r=P0(n.updatedSeries,e);if(r>=0){var i=n.updatedSeries[r].getData();o.push({dataGroupId:t.oldDataGroupIds[r],data:i,divide:I0(i),groupIdDim:e.dimension})}})),i.length>0&&o.length>0&&A0(i,o,r)}function N0(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){Object(l["k"])(ci(n.seriesTransition),(function(e){Object(l["k"])(ci(e.to),(function(e){for(var t=n.updatedSeries,r=0;r<t.length;r++)(null!=e.seriesIndex&&e.seriesIndex===t[r].seriesIndex||null!=e.seriesId&&e.seriesId===t[r].id)&&(t[r][mp]=!0)}))}))})),e.registerUpdateLifecycle("series:transition",(function(e,t,n){var r=_0(t);if(r.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)Object(l["k"])(ci(i),(function(e){R0(e,r,n,t)}));else{var o=j0(r,n);Object(l["k"])(o.keys(),(function(e){var n=o.get(e);A0(n.oldSeries,n.newSeries,t)}))}Object(l["k"])(n.updatedSeries,(function(e){e[mp]&&(e[mp]=!1)}))}for(var a=e.getSeries(),s=r.oldSeries=[],u=r.oldDataGroupIds=[],c=r.oldData=[],d=0;d<a.length;d++){var h=a[d].getData();h.count()<g0&&(s.push(a[d]),u.push(a[d].get("dataGroupId")),c.push(h))}}))}n.d(t,"c",(function(){return v_})),n.d(t,"d",(function(){return E_})),n.d(t,"a",(function(){return I_})),n.d(t,"b",(function(){return i})),N_([Rw]),N_([gk]),N_([gS,pC,BC,YL,aA,_E,yI,$j,dR,wR,ER,NB,gY,jY,cF,yF,zF,JF,Oz,Bz,rH,IV]),N_(DW),N_(kU),N_(bE),N_(XU),N_(RB),N_(o$),N_(k$),N_(sq),N_(Vq),N_(AW),N_(kX),N_(CX),N_(XX),N_(wK),N_(IK),N_($K),N_(xZ),N_(rJ),N_(YZ),N_(nJ),N_(QJ),N_(UJ),N_(JJ),N_(oQ),N_(xQ),N_(SQ),N_(N0),N_(Mw)},"31f4":function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"323e":function(e,t,n){var r,i;
  137. /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
  138. * @license MIT */(function(o,a){r=a,i="function"===typeof r?r.call(t,n,t,e):r,void 0===i||(e.exports=i)})(0,(function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(e,t,n){return e<t?t:e>n?n:e}function r(e){return 100*(-1+e)}function i(e,n,i){var o;return o="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"},o.transition="all "+n+"ms "+i,o}e.configure=function(e){var n,r;for(n in e)r=e[n],void 0!==r&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var l=e.render(!s),u=l.querySelector(t.barSelector),c=t.speed,d=t.easing;return l.offsetWidth,o((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(u,i(r,c,d)),1===r?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),c)}),c)):setTimeout(n,c)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){n--,0===n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=t.template;var o,s=i.querySelector(t.barSelector),u=n?"-100":r(e.status||0),c=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),t.showSpinner||(o=i.querySelector(t.spinnerSelector),o&&d(o)),c!=document.body&&l(c,"nprogress-custom-parent"),c.appendChild(i),i},e.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;var r,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);while(i--)if(r=e[i]+o,r in n)return r;return t}function i(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=i(t),e.style[t]=n}return function(e,t){var n,r,i=arguments;if(2==i.length)for(n in t)r=t[n],void 0!==r&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,i[1],i[2])}}();function s(e,t){var n="string"==typeof e?e:c(e);return n.indexOf(" "+t+" ")>=0}function l(e,t){var n=c(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=c(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e}))},3252:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(t){var n=e,r=n.lib,i=r.Base,o=r.WordArray,a=n.x64={};a.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=i.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var i=e[r];n.push(i.high),n.push(i.low)}return o.create(n,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}})}(),e}))},"32a6":function(e,t,n){var r=n("241e"),i=n("c3a1");n("ce7e")("keys",(function(){return function(e){return i(r(e))}}))},"32d7":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},"32e9":function(e,t,n){var r=n("86cc"),i=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"32fc":function(e,t,n){var r=n("e53d").document;e.exports=r&&r.documentElement},"335c":function(e,t,n){var r=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"335d":function(e,t,n){},"33a4":function(e,t,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},3452:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"),n("17e1"),n("a8ce"),n("1132"),n("c1bc"),n("72fe"),n("df2f"),n("94f8"),n("191b"),n("d6e6"),n("b86b"),n("e61b"),n("10b7"),n("5980"),n("7bbcc"),n("2b79"),n("38ba"),n("00bb"),n("f4ea"),n("aaef"),n("4ba91"),n("81bf"),n("a817"),n("a11b"),n("8cef"),n("2a66"),n("b86c"),n("6d08"),n("c198"),n("a40e"),n("c3b6"),n("1382"),n("3d5a"),n("af5b"))})(0,(function(e){return e}))},"34ef":function(e,t,n){n("ec30")("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},3535:function(e,t,n){"use strict";var r=n("5ca1"),i=n("02f4")(!0),o=n("79e5"),a=o((function(){return"𠮷"!=="𠮷".at(0)}));r(r.P+r.F*a,"String",{at:function(e){return i(this,e)}})},"355d":function(e,t){t.f={}.propertyIsEnumerable},"357d":function(e,t,n){},"35e8":function(e,t,n){var r=n("d9f6"),i=n("aebd");e.exports=n("8e60")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},3648:function(e,t,n){},"366e":function(e,t,n){e.exports=n("ccb9").f("toPrimitive")},"36bd":function(e,t,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");e.exports=function(e){var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);while(u>s)t[s++]=e;return t}},"36c3":function(e,t,n){var r=n("335c"),i=n("25eb");e.exports=function(e){return r(i(e))}},3702:function(e,t,n){var r=n("481b"),i=n("5168")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},"373f":function(e,t,n){"use strict";var r=n("5ca1"),i=n("6821"),o=[].join;r(r.P+r.F*(n("626a")!=Object||!n("2f21")(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},"37a7":function(e,t,n){var r=n("f400"),i=n("5ca1"),o=n("5537")("metadata"),a=o.store||(o.store=new(n("10ad"))),s=function(e,t,n){var i=a.get(e);if(!i){if(!n)return;a.set(e,i=new r)}var o=i.get(t);if(!o){if(!n)return;i.set(t,o=new r)}return o},l=function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},u=function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},c=function(e,t,n,r){s(n,r,!0).set(e,t)},d=function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},h=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},f=function(e){i(i.S,"Reflect",e)};e.exports={store:a,map:s,has:l,get:u,set:c,keys:d,key:h,exp:f}},"37b5":function(e,t,n){"use strict";var r=n("5ca1"),i=n("7726"),o=n("8378"),a=n("8079")(),s=n("2b4c")("observable"),l=n("d8e8"),u=n("cb7c"),c=n("f605"),d=n("dcbc"),h=n("32e9"),f=n("4a59"),p=f.RETURN,m=function(e){return null==e?void 0:l(e)},g=function(e){var t=e._c;t&&(e._c=void 0,t())},v=function(e){return void 0===e._o},y=function(e){v(e)||(e._o=void 0,g(e))},b=function(e,t){u(e),this._c=void 0,this._o=e,e=new _(this);try{var n=t(e),r=n;null!=n&&("function"===typeof n.unsubscribe?n=function(){r.unsubscribe()}:l(n),this._c=n)}catch(i){return void e.error(i)}v(this)&&g(this)};b.prototype=d({},{unsubscribe:function(){y(this)}});var _=function(e){this._s=e};_.prototype=d({},{next:function(e){var t=this._s;if(!v(t)){var n=t._o;try{var r=m(n.next);if(r)return r.call(n,e)}catch(i){try{y(t)}finally{throw i}}}},error:function(e){var t=this._s;if(v(t))throw e;var n=t._o;t._o=void 0;try{var r=m(n.error);if(!r)throw e;e=r.call(n,e)}catch(i){try{g(t)}finally{throw i}}return g(t),e},complete:function(e){var t=this._s;if(!v(t)){var n=t._o;t._o=void 0;try{var r=m(n.complete);e=r?r.call(n,e):void 0}catch(i){try{g(t)}finally{throw i}}return g(t),e}}});var w=function(e){c(this,w,"Observable","_f")._f=l(e)};d(w.prototype,{subscribe:function(e){return new b(e,this._f)},forEach:function(e){var t=this;return new(o.Promise||i.Promise)((function(n,r){l(e);var i=t.subscribe({next:function(t){try{return e(t)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n})}))}}),d(w,{from:function(e){var t="function"===typeof this?this:w,n=m(u(e)[s]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}return new t((function(t){var n=!1;return a((function(){if(!n){try{if(f(e,!1,(function(e){if(t.next(e),n)return p}))===p)return}catch(r){if(n)throw r;return void t.error(r)}t.complete()}})),function(){n=!0}}))},of:function(){for(var e=0,t=arguments.length,n=new Array(t);e<t;)n[e]=arguments[e++];return new("function"===typeof this?this:w)((function(e){var t=!1;return a((function(){if(!t){for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}})),function(){t=!0}}))}}),h(w.prototype,s,(function(){return this})),r(r.G,{Observable:w}),n("7a56")("Observable")},"37c8":function(e,t,n){t.f=n("2b4c")},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(e,t,n){var r=n("5ca1"),i=n("79e5"),o=n("be13"),a=/"/g,s=function(e,t,n,r){var i=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},"386d":function(e,t,n){"use strict";var r=n("cb7c"),i=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(e,t,n,a){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),l=String(this),u=s.lastIndex;i(u,0)||(s.lastIndex=0);var c=o(s,l);return i(s.lastIndex,u)||(s.lastIndex=u),null===c?-1:c.index}]}))},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e}},3886:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  139. //! moment.js locale configuration
  140. var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},"38ba":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("2b79"))})(0,(function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,i=r.Base,o=r.WordArray,a=r.BufferedBlockAlgorithm,s=n.enc,l=(s.Utf8,s.Base64),u=n.algo,c=u.EvpKDF,d=r.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?k:_}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),h=(r.StreamCipher=d.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),f=r.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=h.CBC=function(){var e=f.extend();function n(e,n,r){var i,o=this._iv;o?(i=o,this._iv=t):i=this._prevBlock;for(var a=0;a<r;a++)e[n+a]^=i[a]}return e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize;n.call(this,e,t,i),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),e.Decryptor=e.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=e.slice(t,t+i);r.decryptBlock(e,t),n.call(this,e,t,i),this._prevBlock=o}}),e}(),m=n.pad={},g=m.Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,i=r<<24|r<<16|r<<8|r,a=[],s=0;s<r;s+=4)a.push(i);var l=o.create(a,r);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},v=(r.BlockCipher=d.extend({cfg:d.cfg.extend({mode:p,padding:g}),reset:function(){var e;d.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?o.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),v.create({ciphertext:n,salt:t})}},_=r.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return v.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=e.createDecryptor(n,r).finalize(t.ciphertext);return i},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=n.kdf={},x=w.OpenSSL={execute:function(e,t,n,r,i){if(r||(r=o.random(8)),i)a=c.create({keySize:t+n,hasher:i}).compute(e,r);else var a=c.create({keySize:t+n}).compute(e,r);var s=o.create(a.words.slice(t),4*n);return a.sigBytes=4*t,v.create({key:a,iv:s,salt:r})}},k=r.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:x}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=i.iv;var o=_.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);r.iv=i.iv;var o=_.decrypt.call(this,e,t,i.key,r);return o}})}()}))},"38fd":function(e,t,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},3938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarConfig=void 0;var r={show:!0,name:"",data:[],radarStyle:{lineWidth:1},point:{show:!0,radius:2,style:{fill:"#fff"}},label:{show:!0,offset:[0,0],labelGap:5,formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrane:50};t.radarConfig=r},3953:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("f921"),i=n.n(r),o=n("d8d6"),a=n.n(o),s=n("d2d5"),l=n.n(s);function u(e){if("undefined"!=typeof i.a&&null!=e[a.a]||null!=e["@@iterator"])return l()(e)}},"39a6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  141. //! moment.js locale configuration
  142. var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"39bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  143. //! moment.js locale configuration
  144. var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे";break}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां";break}return i.replace(/%d/i,e)}var i=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i}))},"3a38":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"3a39":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  145. //! moment.js locale configuration
  146. var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return r}))},"3a6c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  147. //! moment.js locale configuration
  148. var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"3a72":function(e,t,n){var r=n("7726"),i=n("8378"),o=n("2d00"),a=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"3a9c":function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=n("d8e8"),a=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?i:o)(n),a(r))}}})},"3b1b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  149. //! moment.js locale configuration
  150. var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"3b2b":function(e,t,n){var r=n("7726"),i=n("5dbc"),o=n("86cc").f,a=n("9093").f,s=n("aae3"),l=n("0bfb"),u=r.RegExp,c=u,d=u.prototype,h=/a/g,f=/a/g,p=new u(h)!==h;if(n("9e1e")&&(!p||n("79e5")((function(){return f[n("2b4c")("match")]=!1,u(h)!=h||u(f)==f||"/a/i"!=u(h,"i")})))){u=function(e,t){var n=this instanceof u,r=s(e),o=void 0===t;return!n&&r&&e.constructor===u&&o?e:i(p?new c(r&&!o?e.source:e,t):c((r=e instanceof u)?e.source:e,r&&o?l.call(e):t),n?this:d,u)};for(var m=function(e){e in u||o(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},g=a(c),v=0;g.length>v;)m(g[v++]);d.constructor=u,u.prototype=d,n("2aba")(r,"RegExp",u)}n("7a56")("RegExp")},"3b8d":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("696e"),i=n.n(r);function o(e,t,n,r,o,a,s){try{var l=e[a](s),u=l.value}catch(e){return void n(e)}l.done?t(u):i.a.resolve(u).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new i.a((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}},"3c0d":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  151. //! moment.js locale configuration
  152. var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!==~~(e/10)}function a(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(o(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(o(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(o(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3c0e":function(e,t,n){},"3c11":function(e,t,n){"use strict";var r=n("63b6"),i=n("584a"),o=n("e53d"),a=n("f201"),s=n("cd78");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?f(u(e),e,t):e}function d(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=f(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function h(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=f(e[o],t[o],n):i[o]=c(t[o],n)})),i}function f(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:d},a=r===i;if(a){if(r){var s=o.arrayMerge||d;return s(e,t,n)}return h(e,t,n)}return c(t,n)}f.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return f(e,n,t)}))};var p=f;e.exports=p},"3ca5":function(e,t,n){var r=n("7726").parseInt,i=n("aa77").trim,o=n("fdef"),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},"3d5a":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],a=[],s=[],l=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)u.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,h=c<<16|65535&l;r[0]^=l,r[1]^=d,r[2]^=c,r[3]^=h,r[4]^=l,r[5]^=d,r[6]^=c,r[7]^=h;for(i=0;i<4;i++)u.call(this)}},_doProcessBlock:function(e,t){var n=this._X;u.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(l)}(),e.RabbitLegacy}))},"3de5":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  153. //! moment.js locale configuration
  154. var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return r}))},"3e8a":function(e,t,n){},"3e92":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  155. //! moment.js locale configuration
  156. var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},r=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return r}))},"3f6b":function(e,t,n){e.exports={default:n("51b6"),__esModule:!0}},"3f71":function(e,t,n){var r=n("0d58"),i=n("6821");e.exports=function(e,t){var n,o=i(e),a=r(o),s=a.length,l=0;while(s>l)if(o[n=a[l++]]===t)return n}},"40b3":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s="./index.js")}({"./index.js":
  157. /*!******************!*\
  158. !*** ./index.js ***!
  159. \******************/
  160. /*! no static exports found */function(e,t,n){var r=n(/*! ./src/cos */"./src/cos.js");e.exports=r},"./lib/base64.js":
  161. /*!***********************!*\
  162. !*** ./lib/base64.js ***!
  163. \***********************/
  164. /*! no static exports found */function(e,t){var n=function(e){e=e||{};var t,n=e.Base64,r="2.1.9",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(i),a=String.fromCharCode,s=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?a(192|t>>>6)+a(128|63&t):a(224|t>>>12&15)+a(128|t>>>6&63)+a(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return a(240|t>>>18&7)+a(128|t>>>12&63)+a(128|t>>>6&63)+a(128|63&t)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,u=function(e){return e.replace(l,s)},c=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[i.charAt(n>>>18),i.charAt(n>>>12&63),t>=2?"=":i.charAt(n>>>6&63),t>=1?"=":i.charAt(63&n)];return r.join("")},d=e.btoa?function(t){return e.btoa(t)}:function(e){return e.replace(/[\s\S]{1,3}/g,c)},h=t?function(e){return(e.constructor===t.constructor?e:new t(e)).toString("base64")}:function(e){return d(u(e))},f=function(e,t){return t?h(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):h(String(e))},p=function(e){return f(e,!0)},m=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),g=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return a(55296+(n>>>10))+a(56320+(1023&n));case 3:return a((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return a((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},v=function(e){return e.replace(m,g)},y=function(e){var t=e.length,n=t%4,r=(t>0?o[e.charAt(0)]<<18:0)|(t>1?o[e.charAt(1)]<<12:0)|(t>2?o[e.charAt(2)]<<6:0)|(t>3?o[e.charAt(3)]:0),i=[a(r>>>16),a(r>>>8&255),a(255&r)];return i.length-=[0,0,2,1][n],i.join("")},b=e.atob?function(t){return e.atob(t)}:function(e){return e.replace(/[\s\S]{1,4}/g,y)},_=t?function(e){return(e.constructor===t.constructor?e:new t(e,"base64")).toString()}:function(e){return v(b(e))},w=function(e){return _(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(){var t=e.Base64;return e.Base64=n,t},k={VERSION:r,atob:b,btoa:d,fromBase64:w,toBase64:f,utob:u,encode:f,encodeURI:p,btou:v,decode:w,noConflict:x};return k}();e.exports=n},"./lib/crypto.js":
  165. /*!***********************!*\
  166. !*** ./lib/crypto.js ***!
  167. \***********************/
  168. /*! no static exports found */function(e,t,n){(function(e){var t=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),r=r||function(e,t){var n={},r=n.lib={},i=function(){},o=r.Base={extend:function(e){i.prototype=this;var t=new i;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=r.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes;if(e=e.sigBytes,this.clamp(),r%4)for(var i=0;i<e;i++)t[r+i>>>2]|=(n[i>>>2]>>>24-i%4*8&255)<<24-(r+i)%4*8;else if(65535<n.length)for(i=0;i<e;i+=4)t[r+i>>>2]=n[i>>>2];else t.push.apply(t,n);return this.sigBytes+=e,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n=[],r=0;r<t;r+=4)n.push(4294967296*e.random()|0);return new a.init(n,t)}}),s=n.enc={},l=s.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;r<e;r++){var i=t[r>>>2]>>>24-r%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;r<e;r++)n.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},c=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o);s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0);if(t=s*o,i=e.min(4*t,i),t){for(var l=0;l<t;l+=o)this._doProcessBlock(r,l);l=r.splice(0,t),n.sigBytes-=i}return new a.init(l,i)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});r.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new h.HMAC.init(e,n).finalize(t)}}});var h=n.algo={};return n}(Math);(function(){var e=r,t=e.lib,n=t.WordArray,i=t.Hasher,o=[];t=e.algo.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],a=n[2],s=n[3],l=n[4],u=0;80>u;u++){if(16>u)o[u]=0|e[t+u];else{var c=o[u-3]^o[u-8]^o[u-14]^o[u-16];o[u]=c<<1|c>>>31}c=(r<<5|r>>>27)+l+o[u],c=20>u?c+(1518500249+(i&a|~i&s)):40>u?c+(1859775393+(i^a^s)):60>u?c+((i&a|i&s|a&s)-1894007588):c+((i^a^s)-899497514),l=s,s=a,a=i<<30|i>>>2,i=r,r=c}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=i._createHelper(t),e.HmacSHA1=i._createHmacHelper(t)})(),function(){var e=r,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,n){e=this._hasher=new e.init,"string"==typeof n&&(n=t.parse(n));var r=e.blockSize,i=4*r;n.sigBytes>i&&(n=e.finalize(n)),n.clamp();for(var o=this._oKey=n.clone(),a=this._iKey=n.clone(),s=o.words,l=a.words,u=0;u<r;u++)s[u]^=1549556828,l[u]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}(),function(){var e=r,t=e.lib,n=t.WordArray,i=e.enc;i.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=t[o>>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,l=t[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|s<<8|l,c=0;c<4&&o+.75*c<n;c++)i.push(r.charAt(u>>>6*(3-c)&63));var d=r.charAt(64);if(d)while(i.length%4)i.push(d);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=r.charAt(64);if(i){var o=e.indexOf(i);-1!=o&&(t=o)}for(var a=[],s=0,l=0;l<t;l++)if(l%4){var u=r.indexOf(e.charAt(l-1))<<l%4*2,c=r.indexOf(e.charAt(l))>>>6-l%4*2;a[s>>>2]|=(u|c)<<24-s%4*8,s++}return n.create(a,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),"object"===t(e)?e.exports=r:window.CryptoJS=r}).call(this,n(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./lib/md5.js":
  169. /*!********************!*\
  170. !*** ./lib/md5.js ***!
  171. \********************/
  172. /*! no static exports found */function(e,t,n){(function(e){var t,r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");(function(){"use strict";var i="object"===("undefined"===typeof window?"undefined":r(window)),o=i?window:{};o.JS_MD5_NO_WINDOW&&(i=!1);var a=!i&&"object"===("undefined"===typeof self?"undefined":r(self));a&&(o=self);var s,l=!o.JS_MD5_NO_COMMON_JS&&"object"===r(e)&&e.exports,u=n(/*! !webpack amd options */"./node_modules/webpack/buildin/amd-options.js"),c=!o.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,d="0123456789abcdef".split(""),h=[128,32768,8388608,-2147483648],f=[0,8,16,24],p=["hex","array","digest","buffer","arrayBuffer","base64"],m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(c){var v=new ArrayBuffer(68);s=new Uint8Array(v),g=new Uint32Array(v)}!o.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!c||!o.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===r(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});var y=function(e){return function(t,n){return new _(!0).update(t,n)[e]()}},b=function(){var e=y("hex");e.getCtx=e.create=function(){return new _},e.update=function(t){return e.create().update(t)};for(var t=0;t<p.length;++t){var n=p[t];e[n]=y(n)}return e};function _(e){if(e)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=s;else if(c){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}_.prototype.update=function(e,t){if(!this.finalized){var n,r,i=0,o=e.length,a=this.blocks,s=this.buffer8;while(i<o){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),c)for(r=this.start;i<o&&r<64;++i)n=e.charCodeAt(i),t||n<128?s[r++]=n:n<2048?(s[r++]=192|n>>6,s[r++]=128|63&n):n<55296||n>=57344?(s[r++]=224|n>>12,s[r++]=128|n>>6&63,s[r++]=128|63&n):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++i)),s[r++]=240|n>>18,s[r++]=128|n>>12&63,s[r++]=128|n>>6&63,s[r++]=128|63&n);else for(r=this.start;i<o&&r<64;++i)n=e.charCodeAt(i),t||n<128?a[r>>2]|=n<<f[3&r++]:n<2048?(a[r>>2]|=(192|n>>6)<<f[3&r++],a[r>>2]|=(128|63&n)<<f[3&r++]):n<55296||n>=57344?(a[r>>2]|=(224|n>>12)<<f[3&r++],a[r>>2]|=(128|n>>6&63)<<f[3&r++],a[r>>2]|=(128|63&n)<<f[3&r++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++i)),a[r>>2]|=(240|n>>18)<<f[3&r++],a[r>>2]|=(128|n>>12&63)<<f[3&r++],a[r>>2]|=(128|n>>6&63)<<f[3&r++],a[r>>2]|=(128|63&n)<<f[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},_.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=h[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},_.prototype.hash=function(){var e,t,n,r,i,o,a=this.blocks;this.first?(e=a[0]-680876937,e=(e<<7|e>>>25)-271733879<<0,r=(-1732584194^2004318071&e)+a[1]-117830708,r=(r<<12|r>>>20)+e<<0,n=(-271733879^r&(-271733879^e))+a[2]-1126478375,n=(n<<17|n>>>15)+r<<0,t=(e^n&(r^e))+a[3]-1316259209,t=(t<<22|t>>>10)+n<<0):(e=this.h0,t=this.h1,n=this.h2,r=this.h3,e+=(r^t&(n^r))+a[0]-680876936,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+a[1]-389564586,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+a[2]+606105819,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+a[3]-1044525330,t=(t<<22|t>>>10)+n<<0),e+=(r^t&(n^r))+a[4]-176418897,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+a[5]+1200080426,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+a[6]-1473231341,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+a[7]-45705983,t=(t<<22|t>>>10)+n<<0,e+=(r^t&(n^r))+a[8]+1770035416,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+a[9]-1958414417,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+a[10]-42063,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+a[11]-1990404162,t=(t<<22|t>>>10)+n<<0,e+=(r^t&(n^r))+a[12]+1804603682,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+a[13]-40341101,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+a[14]-1502002290,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+a[15]+1236535329,t=(t<<22|t>>>10)+n<<0,e+=(n^r&(t^n))+a[1]-165796510,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+a[6]-1069501632,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+a[11]+643717713,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+a[0]-373897302,t=(t<<20|t>>>12)+n<<0,e+=(n^r&(t^n))+a[5]-701558691,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+a[10]+38016083,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+a[15]-660478335,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+a[4]-405537848,t=(t<<20|t>>>12)+n<<0,e+=(n^r&(t^n))+a[9]+568446438,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+a[14]-1019803690,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+a[3]-187363961,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+a[8]+1163531501,t=(t<<20|t>>>12)+n<<0,e+=(n^r&(t^n))+a[13]-1444681467,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+a[2]-51403784,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+a[7]+1735328473,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+a[12]-1926607734,t=(t<<20|t>>>12)+n<<0,i=t^n,e+=(i^r)+a[5]-378558,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+a[8]-2022574463,r=(r<<11|r>>>21)+e<<0,o=r^e,n+=(o^t)+a[11]+1839030562,n=(n<<16|n>>>16)+r<<0,t+=(o^n)+a[14]-35309556,t=(t<<23|t>>>9)+n<<0,i=t^n,e+=(i^r)+a[1]-1530992060,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+a[4]+1272893353,r=(r<<11|r>>>21)+e<<0,o=r^e,n+=(o^t)+a[7]-155497632,n=(n<<16|n>>>16)+r<<0,t+=(o^n)+a[10]-1094730640,t=(t<<23|t>>>9)+n<<0,i=t^n,e+=(i^r)+a[13]+681279174,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+a[0]-358537222,r=(r<<11|r>>>21)+e<<0,o=r^e,n+=(o^t)+a[3]-722521979,n=(n<<16|n>>>16)+r<<0,t+=(o^n)+a[6]+76029189,t=(t<<23|t>>>9)+n<<0,i=t^n,e+=(i^r)+a[9]-640364487,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+a[12]-421815835,r=(r<<11|r>>>21)+e<<0,o=r^e,n+=(o^t)+a[15]+530742520,n=(n<<16|n>>>16)+r<<0,t+=(o^n)+a[2]-995338651,t=(t<<23|t>>>9)+n<<0,e+=(n^(t|~r))+a[0]-198630844,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+a[7]+1126891415,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+a[14]-1416354905,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+a[5]-57434055,t=(t<<21|t>>>11)+n<<0,e+=(n^(t|~r))+a[12]+1700485571,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+a[3]-1894986606,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+a[10]-1051523,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+a[1]-2054922799,t=(t<<21|t>>>11)+n<<0,e+=(n^(t|~r))+a[8]+1873313359,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+a[15]-30611744,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+a[6]-1560198380,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+a[13]+1309151649,t=(t<<21|t>>>11)+n<<0,e+=(n^(t|~r))+a[4]-145523070,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+a[11]-1120210379,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+a[2]+718787259,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+a[9]-343485551,t=(t<<21|t>>>11)+n<<0,this.first?(this.h0=e+1732584193<<0,this.h1=t-271733879<<0,this.h2=n-1732584194<<0,this.h3=r+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0)},_.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3;return d[e>>4&15]+d[15&e]+d[e>>12&15]+d[e>>8&15]+d[e>>20&15]+d[e>>16&15]+d[e>>28&15]+d[e>>24&15]+d[t>>4&15]+d[15&t]+d[t>>12&15]+d[t>>8&15]+d[t>>20&15]+d[t>>16&15]+d[t>>28&15]+d[t>>24&15]+d[n>>4&15]+d[15&n]+d[n>>12&15]+d[n>>8&15]+d[n>>20&15]+d[n>>16&15]+d[n>>28&15]+d[n>>24&15]+d[r>>4&15]+d[15&r]+d[r>>12&15]+d[r>>8&15]+d[r>>20&15]+d[r>>16&15]+d[r>>28&15]+d[r>>24&15]},_.prototype.toString=_.prototype.hex,_.prototype.digest=function(e){if("hex"===e)return this.hex();this.finalize();var t=this.h0,n=this.h1,r=this.h2,i=this.h3,o=[255&t,t>>8&255,t>>16&255,t>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255];return o},_.prototype.array=_.prototype.digest,_.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},_.prototype.buffer=_.prototype.arrayBuffer,_.prototype.base64=function(){for(var e,t,n,r="",i=this.array(),o=0;o<15;)e=i[o++],t=i[o++],n=i[o++],r+=m[e>>>2]+m[63&(e<<4|t>>>4)]+m[63&(t<<2|n>>>6)]+m[63&n];return e=i[o],r+=m[e>>>2]+m[e<<4&63]+"==",r};var w=b();l?e.exports=w:(o.md5=w,u&&(t=function(){return w}.call(w,n,w,e),void 0===t||(e.exports=t)))})()}).call(this,n(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./lib/request.js":
  173. /*!************************!*\
  174. !*** ./lib/request.js ***!
  175. \************************/
  176. /*! no static exports found */function(e,t,n){var r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=function(e){switch(r(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},o=function(e,t,n,o){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===r(e)?Object.keys(e).map((function(r){var o=encodeURIComponent(i(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return o+encodeURIComponent(i(e))})).join(t):o+encodeURIComponent(i(e[r]))})).filter(Boolean).join(t):o?encodeURIComponent(i(o))+n+encodeURIComponent(i(e)):""},a=function(e,t,n){var r={},i=t.getAllResponseHeaders();return i&&i.length>0&&i.trim().split("\n").forEach((function(e){if(e){var t=e.indexOf(":"),n=e.substr(0,t).trim().toLowerCase(),i=e.substr(t+1).trim();r[n]=i}})),{error:e,statusCode:t.status,statusMessage:t.statusText,headers:r,body:n}},s=function(e,t){return t||"text"!==t?e.response:e.responseText},l=function(e,t){var n=(e.method||"GET").toUpperCase(),r=e.url;if(e.qs){var i=o(e.qs);i&&(r+=(-1===r.indexOf("?")?"?":"&")+i)}var l=new XMLHttpRequest;if(l.open(n,r,!0),l.responseType=e.dataType||"text",e.xhrFields)for(var u in e.xhrFields)l[u]=e.xhrFields[u];var c=e.headers;if(c)for(var d in c)c.hasOwnProperty(d)&&"content-length"!==d.toLowerCase()&&"user-agent"!==d.toLowerCase()&&"origin"!==d.toLowerCase()&&"host"!==d.toLowerCase()&&l.setRequestHeader(d,c[d]);return e.onProgress&&l.upload&&(l.upload.onprogress=e.onProgress),e.onDownloadProgress&&(l.onprogress=e.onDownloadProgress),e.timeout&&(l.timeout=e.timeout),l.ontimeout=function(e){var n=new Error("timeout");t(a(n,l))},l.onload=function(){t(a(null,l,s(l,e.dataType)))},l.onerror=function(n){var r=s(l,e.dataType);if(r)t(a(null,l,r));else{var i=l.statusText;i||0!==l.status||(i=new Error("CORS blocked or network error")),t(a(i,l,r))}},l.send(e.body||""),l};e.exports=l},"./node_modules/@babel/runtime/helpers/classCallCheck.js":
  177. /*!***************************************************************!*\
  178. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  179. \***************************************************************/
  180. /*! no static exports found */function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/createClass.js":
  181. /*!************************************************************!*\
  182. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  183. \************************************************************/
  184. /*! no static exports found */function(e,t,n){var r=n(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/toPropertyKey.js");function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":
  185. /*!************************************************************!*\
  186. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  187. \************************************************************/
  188. /*! no static exports found */function(e,t,n){var r=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js")["default"];function i(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":
  189. /*!**************************************************************!*\
  190. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  191. \**************************************************************/
  192. /*! no static exports found */function(e,t,n){var r=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js")["default"],i=n(/*! ./toPrimitive.js */"./node_modules/@babel/runtime/helpers/toPrimitive.js");function o(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":
  193. /*!*******************************************************!*\
  194. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  195. \*******************************************************/
  196. /*! no static exports found */function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/fast-xml-parser/src/fxp.js":
  197. /*!*************************************************!*\
  198. !*** ./node_modules/fast-xml-parser/src/fxp.js ***!
  199. \*************************************************/
  200. /*! no static exports found */function(e,t,n){"use strict";const r=n(/*! ./validator */"./node_modules/fast-xml-parser/src/validator.js"),i=n(/*! ./xmlparser/XMLParser */"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),o=n(/*! ./xmlbuilder/json2xml */"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");e.exports={XMLParser:i,XMLValidator:r,XMLBuilder:o}},"./node_modules/fast-xml-parser/src/ignoreAttributes.js":
  201. /*!**************************************************************!*\
  202. !*** ./node_modules/fast-xml-parser/src/ignoreAttributes.js ***!
  203. \**************************************************************/
  204. /*! no static exports found */function(e,t){function n(e){return"function"===typeof e?e:Array.isArray(e)?t=>{for(const n of e){if("string"===typeof n&&t===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}}:()=>!1}e.exports=n},"./node_modules/fast-xml-parser/src/util.js":
  205. /*!**************************************************!*\
  206. !*** ./node_modules/fast-xml-parser/src/util.js ***!
  207. \**************************************************/
  208. /*! no static exports found */function(e,t,n){"use strict";const r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",o="["+r+"]["+i+"]*",a=new RegExp("^"+o+"$"),s=function(e,t){const n=[];let r=t.exec(e);while(r){const i=[];i.startIndex=t.lastIndex-r[0].length;const o=r.length;for(let e=0;e<o;e++)i.push(r[e]);n.push(i),r=t.exec(e)}return n},l=function(e){const t=a.exec(e);return!(null===t||"undefined"===typeof t)};t.isExist=function(e){return"undefined"!==typeof e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t){const r=Object.keys(t),i=r.length;for(let o=0;o<i;o++)e[r[o]]="strict"===n?[t[r[o]]]:t[r[o]]}},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=l,t.getAllMatches=s,t.nameRegexp=o},"./node_modules/fast-xml-parser/src/validator.js":
  209. /*!*******************************************************!*\
  210. !*** ./node_modules/fast-xml-parser/src/validator.js ***!
  211. \*******************************************************/
  212. /*! no static exports found */function(e,t,n){"use strict";const r=n(/*! ./util */"./node_modules/fast-xml-parser/src/util.js"),i={allowBooleanAttributes:!1,unpairedTags:[]};function o(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function a(e,t){const n=t;for(;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{const r=e.substr(n,t-n);if(t>5&&"xml"===r)return m("InvalidXml","XML declaration allowed only at the start of the document.",y(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&(n--,0===n))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=Object.assign({},i,t);const n=[];let r=!1,l=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let i=0;i<e.length;i++)if("<"===e[i]&&"?"===e[i+1]){if(i+=2,i=a(e,i),i.err)return i}else{if("<"!==e[i]){if(o(e[i]))continue;return m("InvalidChar","char '"+e[i]+"' is not expected.",y(e,i))}{let u=i;if(i++,"!"===e[i]){i=s(e,i);continue}{let d=!1;"/"===e[i]&&(d=!0,i++);let f="";for(;i<e.length&&">"!==e[i]&&" "!==e[i]&&"\t"!==e[i]&&"\n"!==e[i]&&"\r"!==e[i];i++)f+=e[i];if(f=f.trim(),"/"===f[f.length-1]&&(f=f.substring(0,f.length-1),i--),!v(f)){let t;return t=0===f.trim().length?"Invalid space after '<'.":"Tag '"+f+"' is an invalid name.",m("InvalidTag",t,y(e,i))}const g=c(e,i);if(!1===g)return m("InvalidAttr","Attributes for '"+f+"' have open quote.",y(e,i));let b=g.value;if(i=g.index,"/"===b[b.length-1]){const n=i-b.length;b=b.substring(0,b.length-1);const o=h(b,t);if(!0!==o)return m(o.err.code,o.err.msg,y(e,n+o.err.line));r=!0}else if(d){if(!g.tagClosed)return m("InvalidTag","Closing tag '"+f+"' doesn't have proper closing.",y(e,i));if(b.trim().length>0)return m("InvalidTag","Closing tag '"+f+"' can't have attributes or invalid starting.",y(e,u));if(0===n.length)return m("InvalidTag","Closing tag '"+f+"' has not been opened.",y(e,u));{const t=n.pop();if(f!==t.tagName){let n=y(e,t.tagStartPos);return m("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+f+"'.",y(e,u))}0==n.length&&(l=!0)}}else{const o=h(b,t);if(!0!==o)return m(o.err.code,o.err.msg,y(e,i-b.length+o.err.line));if(!0===l)return m("InvalidXml","Multiple possible root nodes found.",y(e,i));-1!==t.unpairedTags.indexOf(f)||n.push({tagName:f,tagStartPos:u}),r=!0}for(i++;i<e.length;i++)if("<"===e[i]){if("!"===e[i+1]){i++,i=s(e,i);continue}if("?"!==e[i+1])break;if(i=a(e,++i),i.err)return i}else if("&"===e[i]){const t=p(e,i);if(-1==t)return m("InvalidChar","char '&' is not expected.",y(e,i));i=t}else if(!0===l&&!o(e[i]))return m("InvalidXml","Extra text at the end",y(e,i));"<"===e[i]&&i--}}}return r?1==n.length?m("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",y(e,n[0].tagStartPos)):!(n.length>0)||m("InvalidXml","Invalid '"+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):m("InvalidXml","Start tag expected.",1)};const l='"',u="'";function c(e,t){let n="",r="",i=!1;for(;t<e.length;t++){if(e[t]===l||e[t]===u)""===r?r=e[t]:r!==e[t]||(r="");else if(">"===e[t]&&""===r){i=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:i}}const d=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function h(e,t){const n=r.getAllMatches(e,d),i={};for(let r=0;r<n.length;r++){if(0===n[r][1].length)return m("InvalidAttr","Attribute '"+n[r][2]+"' has no space in starting.",b(n[r]));if(void 0!==n[r][3]&&void 0===n[r][4])return m("InvalidAttr","Attribute '"+n[r][2]+"' is without value.",b(n[r]));if(void 0===n[r][3]&&!t.allowBooleanAttributes)return m("InvalidAttr","boolean attribute '"+n[r][2]+"' is not allowed.",b(n[r]));const e=n[r][2];if(!g(e))return m("InvalidAttr","Attribute '"+e+"' is an invalid name.",b(n[r]));if(i.hasOwnProperty(e))return m("InvalidAttr","Attribute '"+e+"' is repeated.",b(n[r]));i[e]=1}return!0}function f(e,t){let n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return-1}function p(e,t){if(t++,";"===e[t])return-1;if("#"===e[t])return t++,f(e,t);let n=0;for(;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(";"===e[t])break;return-1}return t}function m(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function g(e){return r.isName(e)}function v(e){return r.isName(e)}function y(e,t){const n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function b(e){return e.startIndex+e[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":
  213. /*!*****************************************************************!*\
  214. !*** ./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js ***!
  215. \*****************************************************************/
  216. /*! no static exports found */function(e,t,n){"use strict";const r=n(/*! ./orderedJs2Xml */"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),i=n(/*! ../ignoreAttributes */"./node_modules/fast-xml-parser/src/ignoreAttributes.js"),o={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function a(e){this.options=Object.assign({},o,e),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=i(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=u),this.processTextOrObjNode=s,this.options.format?(this.indentate=l,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function s(e,t,n,r){const i=this.j2x(e,n+1,r.concat(t));return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,i.attrStr,n):this.buildObjectNode(i.val,t,i.attrStr,n)}function l(e){return this.options.indentBy.repeat(e)}function u(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}a.prototype.build=function(e){return this.options.preserveOrder?r(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},a.prototype.j2x=function(e,t,n){let r="",i="";const o=n.join(".");for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a))if("undefined"===typeof e[a])this.isAttribute(a)&&(i+="");else if(null===e[a])this.isAttribute(a)?i+="":"?"===a[0]?i+=this.indentate(t)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if(e[a]instanceof Date)i+=this.buildTextValNode(e[a],a,"",t);else if("object"!==typeof e[a]){const n=this.isAttribute(a);if(n&&!this.ignoreAttributesFn(n,o))r+=this.buildAttrPairStr(n,""+e[a]);else if(!n)if(a===this.options.textNodeName){let t=this.options.tagValueProcessor(a,""+e[a]);i+=this.replaceEntitiesValue(t)}else i+=this.buildTextValNode(e[a],a,"",t)}else if(Array.isArray(e[a])){const r=e[a].length;let o="",s="";for(let l=0;l<r;l++){const r=e[a][l];if("undefined"===typeof r);else if(null===r)"?"===a[0]?i+=this.indentate(t)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if("object"===typeof r)if(this.options.oneListGroup){const e=this.j2x(r,t+1,n.concat(a));o+=e.val,this.options.attributesGroupName&&r.hasOwnProperty(this.options.attributesGroupName)&&(s+=e.attrStr)}else o+=this.processTextOrObjNode(r,a,t,n);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(a,r);e=this.replaceEntitiesValue(e),o+=e}else o+=this.buildTextValNode(r,a,"",t)}this.options.oneListGroup&&(o=this.buildObjectNode(o,a,s,t)),i+=o}else if(this.options.attributesGroupName&&a===this.options.attributesGroupName){const t=Object.keys(e[a]),n=t.length;for(let i=0;i<n;i++)r+=this.buildAttrPairStr(t[i],""+e[a][t[i]])}else i+=this.processTextOrObjNode(e[a],a,t,n);return{attrStr:r,val:i}},a.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},a.prototype.buildObjectNode=function(e,t,n,r){if(""===e)return"?"===t[0]?this.indentate(r)+"<"+t+n+"?"+this.tagEndChar:this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let i="</"+t+this.tagEndChar,o="";return"?"===t[0]&&(o="?",i=""),!n&&""!==n||-1!==e.indexOf("<")?!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===o.length?this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine:this.indentate(r)+"<"+t+n+o+this.tagEndChar+e+this.indentate(r)+i:this.indentate(r)+"<"+t+n+o+">"+e+i}},a.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":"></"+e,t},a.prototype.buildTextValNode=function(e,t,n,r){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine;if("?"===t[0])return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),""===i?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+i+"</"+t+this.tagEndChar}},a.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e},e.exports=a},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":
  217. /*!**********************************************************************!*\
  218. !*** ./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js ***!
  219. \**********************************************************************/
  220. /*! no static exports found */function(e,t){const n="\n";function r(e,t){let r="";return t.format&&t.indentBy.length>0&&(r=n),i(e,t,"",r)}function i(e,t,n,r){let u="",c=!1;for(let d=0;d<e.length;d++){const h=e[d],f=o(h);if(void 0===f)continue;let p="";if(p=0===n.length?f:`${n}.${f}`,f===t.textNodeName){let e=h[f];s(p,t)||(e=t.tagValueProcessor(f,e),e=l(e,t)),c&&(u+=r),u+=e,c=!1;continue}if(f===t.cdataPropName){c&&(u+=r),u+=`<![CDATA[${h[f][0][t.textNodeName]}]]>`,c=!1;continue}if(f===t.commentPropName){u+=r+`\x3c!--${h[f][0][t.textNodeName]}--\x3e`,c=!0;continue}if("?"===f[0]){const e=a(h[":@"],t),n="?xml"===f?"":r;let i=h[f][0][t.textNodeName];i=0!==i.length?" "+i:"",u+=n+`<${f}${i}${e}?>`,c=!0;continue}let m=r;""!==m&&(m+=t.indentBy);const g=a(h[":@"],t),v=r+`<${f}${g}`,y=i(h[f],t,p,m);-1!==t.unpairedTags.indexOf(f)?t.suppressUnpairedNode?u+=v+">":u+=v+"/>":y&&0!==y.length||!t.suppressEmptyNode?y&&y.endsWith(">")?u+=v+`>${y}${r}</${f}>`:(u+=v+">",y&&""!==r&&(y.includes("/>")||y.includes("</"))?u+=r+t.indentBy+y+r:u+=y,u+=`</${f}>`):u+=v+"/>",c=!0}return u}function o(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const r=t[n];if(e.hasOwnProperty(r)&&":@"!==r)return r}}function a(e,t){let n="";if(e&&!t.ignoreAttributes)for(let r in e){if(!e.hasOwnProperty(r))continue;let i=t.attributeValueProcessor(r,e[r]);i=l(i,t),!0===i&&t.suppressBooleanAttributes?n+=" "+r.substr(t.attributeNamePrefix.length):n+=` ${r.substr(t.attributeNamePrefix.length)}="${i}"`}return n}function s(e,t){e=e.substr(0,e.length-t.textNodeName.length-1);let n=e.substr(e.lastIndexOf(".")+1);for(let r in t.stopNodes)if(t.stopNodes[r]===e||t.stopNodes[r]==="*."+n)return!0;return!1}function l(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){const r=t.entities[n];e=e.replace(r.regex,r.val)}return e}e.exports=r},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":
  221. /*!*********************************************************************!*\
  222. !*** ./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js ***!
  223. \*********************************************************************/
  224. /*! no static exports found */function(e,t,n){const r=n(/*! ../util */"./node_modules/fast-xml-parser/src/util.js");function i(e,t){const n={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let r=1,i=!1,h=!1,f="";for(;t<e.length;t++)if("<"!==e[t]||h)if(">"===e[t]){if(h?"-"===e[t-1]&&"-"===e[t-2]&&(h=!1,r--):r--,0===r)break}else"["===e[t]?i=!0:f+=e[t];else{if(i&&s(e,t))t+=7,[entityName,val,t]=o(e,t+1),-1===val.indexOf("&")&&(n[d(entityName)]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(i&&l(e,t))t+=8;else if(i&&u(e,t))t+=8;else if(i&&c(e,t))t+=9;else{if(!a)throw new Error("Invalid DOCTYPE");h=!0}r++,f=""}if(0!==r)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:t}}function o(e,t){let n="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)n+=e[t];if(n=n.trim(),-1!==n.indexOf(" "))throw new Error("External entites are not supported");const r=e[t++];let i="";for(;t<e.length&&e[t]!==r;t++)i+=e[t];return[n,i,t]}function a(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function s(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}function l(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}function u(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}function c(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}function d(e){if(r.isName(e))return e;throw new Error("Invalid entity name "+e)}e.exports=i},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":
  225. /*!**********************************************************************!*\
  226. !*** ./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js ***!
  227. \**********************************************************************/
  228. /*! no static exports found */function(e,t){const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e}},r=function(e){return Object.assign({},n,e)};t.buildOptions=r,t.defaultOptions=n},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":
  229. /*!************************************************************************!*\
  230. !*** ./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js ***!
  231. \************************************************************************/
  232. /*! no static exports found */function(e,t,n){"use strict";const r=n(/*! ../util */"./node_modules/fast-xml-parser/src/util.js"),i=n(/*! ./xmlNode */"./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),o=n(/*! ./DocTypeReader */"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),a=n(/*! strnum */"./node_modules/strnum/strnum.js"),s=n(/*! ../ignoreAttributes */"./node_modules/fast-xml-parser/src/ignoreAttributes.js");class l{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}},this.addExternalEntities=u,this.parseXml=p,this.parseTextData=c,this.resolveNameSpace=d,this.buildAttributesMap=f,this.isItStopNode=y,this.replaceEntitiesValue=g,this.readStopNodeData=x,this.saveTextToParentTag=v,this.addChild=m,this.ignoreAttributesFn=s(this.options.ignoreAttributes)}}function u(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const r=t[n];this.lastEntities[r]={regex:new RegExp("&"+r+";","g"),val:e[r]}}}function c(e,t,n,r,i,o,a){if(void 0!==e&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e));const r=this.options.tagValueProcessor(t,e,n,i,o);if(null===r||void 0===r)return e;if(typeof r!==typeof e||r!==e)return r;if(this.options.trimValues)return k(e,this.options.parseTagValue,this.options.numberParseOptions);{const t=e.trim();return t===e?k(e,this.options.parseTagValue,this.options.numberParseOptions):e}}}function d(e){if(this.options.removeNSPrefix){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}const h=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function f(e,t,n){if(!0!==this.options.ignoreAttributes&&"string"===typeof e){const n=r.getAllMatches(e,h),i=n.length,o={};for(let e=0;e<i;e++){const r=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(r,t))continue;let i=n[e][4],a=this.options.attributeNamePrefix+r;if(r.length)if(this.options.transformAttributeName&&(a=this.options.transformAttributeName(a)),"__proto__"===a&&(a="#__proto__"),void 0!==i){this.options.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i);const e=this.options.attributeValueProcessor(r,i,t);o[a]=null===e||void 0===e?i:typeof e!==typeof i||e!==i?e:k(i,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[a]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=o,e}return o}}const p=function(e){e=e.replace(/\r\n?/g,"\n");const t=new i("!xml");let n=t,r="",a="";for(let s=0;s<e.length;s++){const l=e[s];if("<"===l)if("/"===e[s+1]){const t=_(e,">",s,"Closing Tag is not closed.");let i=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){const e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),n&&(r=this.saveTextToParentTag(r,n,a));const o=a.substring(a.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw new Error(`Unpaired tag can not be used as closing tag: </${i}>`);let l=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(l=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=a.lastIndexOf("."),a=a.substring(0,l),n=this.tagsNodeStack.pop(),r="",s=t}else if("?"===e[s+1]){let t=w(e,s,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(n,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){const t=_(e,"--\x3e",s+4,"Comment is not closed.");if(this.options.commentPropName){const i=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,a),n.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}s=t}else if("!D"===e.substr(s+1,2)){const t=o(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){const t=_(e,"]]>",s,"CDATA is not closed.")-2,i=e.substring(s+9,t);r=this.saveTextToParentTag(r,n,a);let o=this.parseTextData(i,n.tagname,a,!0,!1,!0,!0);void 0==o&&(o=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]):n.add(this.options.textNodeName,o),s=t+2}else{let o=w(e,s,this.options.removeNSPrefix),l=o.tagName;const u=o.rawTagName;let c=o.tagExp,d=o.attrExpPresent,h=o.closeIndex;this.options.transformTagName&&(l=this.options.transformTagName(l)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,a,!1));const f=n;if(f&&-1!==this.options.unpairedTags.indexOf(f.tagname)&&(n=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),l!==t.tagname&&(a+=a?"."+l:l),this.isItStopNode(this.options.stopNodes,a,l)){let t="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)"/"===l[l.length-1]?(l=l.substr(0,l.length-1),a=a.substr(0,a.length-1),c=l):c=c.substr(0,c.length-1),s=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(l))s=o.closeIndex;else{const n=this.readStopNodeData(e,u,h+1);if(!n)throw new Error("Unexpected end of "+u);s=n.i,t=n.tagContent}const r=new i(l);l!==c&&d&&(r[":@"]=this.buildAttributesMap(c,a,l)),t&&(t=this.parseTextData(t,l,a,!0,d,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(n,r,a)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){"/"===l[l.length-1]?(l=l.substr(0,l.length-1),a=a.substr(0,a.length-1),c=l):c=c.substr(0,c.length-1),this.options.transformTagName&&(l=this.options.transformTagName(l));const e=new i(l);l!==c&&d&&(e[":@"]=this.buildAttributesMap(c,a,l)),this.addChild(n,e,a),a=a.substr(0,a.lastIndexOf("."))}else{const e=new i(l);this.tagsNodeStack.push(n),l!==c&&d&&(e[":@"]=this.buildAttributesMap(c,a,l)),this.addChild(n,e,a),n=e}r="",s=h}}else r+=e[s]}return t.child};function m(e,t,n){const r=this.options.updateTag(t.tagname,n,t[":@"]);!1===r||("string"===typeof r?(t.tagname=r,e.addChild(t)):e.addChild(t))}const g=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function v(e,t,n,r){return e&&(void 0===r&&(r=0===Object.keys(t.child).length),e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r),void 0!==e&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function y(e,t,n){const r="*."+n;for(const i in e){const n=e[i];if(r===n||t===n)return!0}return!1}function b(e,t,n=">"){let r,i="";for(let o=t;o<e.length;o++){let t=e[o];if(r)t===r&&(r="");else if('"'===t||"'"===t)r=t;else if(t===n[0]){if(!n[1])return{data:i,index:o};if(e[o+1]===n[1])return{data:i,index:o}}else"\t"===t&&(t=" ");i+=t}}function _(e,t,n,r){const i=e.indexOf(t,n);if(-1===i)throw new Error(r);return i+t.length-1}function w(e,t,n,r=">"){const i=b(e,t+1,r);if(!i)return;let o=i.data;const a=i.index,s=o.search(/\s/);let l=o,u=!0;-1!==s&&(l=o.substring(0,s),o=o.substring(s+1).trimStart());const c=l;if(n){const e=l.indexOf(":");-1!==e&&(l=l.substr(e+1),u=l!==i.data.substr(e+1))}return{tagName:l,tagExp:o,closeIndex:a,attrExpPresent:u,rawTagName:c}}function x(e,t,n){const r=n;let i=1;for(;n<e.length;n++)if("<"===e[n])if("/"===e[n+1]){const o=_(e,">",n,t+" is not closed");let a=e.substring(n+2,o).trim();if(a===t&&(i--,0===i))return{tagContent:e.substring(r,n),i:o};n=o}else if("?"===e[n+1]){const t=_(e,"?>",n+1,"StopNode is not closed.");n=t}else if("!--"===e.substr(n+1,3)){const t=_(e,"--\x3e",n+3,"StopNode is not closed.");n=t}else if("!["===e.substr(n+1,2)){const t=_(e,"]]>",n,"StopNode is not closed.")-2;n=t}else{const r=w(e,n,">");if(r){const e=r&&r.tagName;e===t&&"/"!==r.tagExp[r.tagExp.length-1]&&i++,n=r.closeIndex}}}function k(e,t,n){if(t&&"string"===typeof e){const t=e.trim();return"true"===t||"false"!==t&&a(e,n)}return r.isExist(e)?e:""}e.exports=l},"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js":
  233. /*!*****************************************************************!*\
  234. !*** ./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js ***!
  235. \*****************************************************************/
  236. /*! no static exports found */function(e,t,n){const{buildOptions:r}=n(/*! ./OptionsBuilder */"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"),i=n(/*! ./OrderedObjParser */"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:o}=n(/*! ./node2json */"./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),a=n(/*! ../validator */"./node_modules/fast-xml-parser/src/validator.js");class s{constructor(e){this.externalEntities={},this.options=r(e)}parse(e,t){if("string"===typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const n=a.validate(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new i(this.options);n.addExternalEntities(this.externalEntities);const r=n.parseXml(e);return this.options.preserveOrder||void 0===r?r:o(r,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}e.exports=s},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":
  237. /*!*****************************************************************!*\
  238. !*** ./node_modules/fast-xml-parser/src/xmlparser/node2json.js ***!
  239. \*****************************************************************/
  240. /*! no static exports found */function(e,t,n){"use strict";function r(e,t){return i(e,t)}function i(e,t,n){let r;const l={};for(let u=0;u<e.length;u++){const c=e[u],d=o(c);let h="";if(h=void 0===n?d:n+"."+d,d===t.textNodeName)void 0===r?r=c[d]:r+=""+c[d];else{if(void 0===d)continue;if(c[d]){let e=i(c[d],t,h);const n=s(e,t);c[":@"]?a(e,c[":@"],h,t):1!==Object.keys(e).length||void 0===e[t.textNodeName]||t.alwaysCreateTextNode?0===Object.keys(e).length&&(t.alwaysCreateTextNode?e[t.textNodeName]="":e=""):e=e[t.textNodeName],void 0!==l[d]&&l.hasOwnProperty(d)?(Array.isArray(l[d])||(l[d]=[l[d]]),l[d].push(e)):t.isArray(d,h,n)?l[d]=[e]:l[d]=e}}}return"string"===typeof r?r.length>0&&(l[t.textNodeName]=r):void 0!==r&&(l[t.textNodeName]=r),l}function o(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const e=t[n];if(":@"!==e)return e}}function a(e,t,n,r){if(t){const i=Object.keys(t),o=i.length;for(let a=0;a<o;a++){const o=i[a];r.isArray(o,n+"."+o,!0,!0)?e[o]=[t[o]]:e[o]=t[o]}}}function s(e,t){const{textNodeName:n}=t,r=Object.keys(e).length;return 0===r||!(1!==r||!e[n]&&"boolean"!==typeof e[n]&&0!==e[n])}t.prettify=r},"./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js":
  241. /*!***************************************************************!*\
  242. !*** ./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js ***!
  243. \***************************************************************/
  244. /*! no static exports found */function(e,t,n){"use strict";class r{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,[":@"]:e[":@"]}):this.child.push({[e.tagname]:e.child})}}e.exports=r},"./node_modules/process/browser.js":
  245. /*!*****************************************!*\
  246. !*** ./node_modules/process/browser.js ***!
  247. \*****************************************/
  248. /*! no static exports found */function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}})();var u,c=[],d=!1,h=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=s(f);d=!0;var t=c.length;while(t){u=c,c=[];while(++h<t)u&&u[h].run();h=-1,t=c.length}u=null,d=!1,l(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||d||s(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},"./node_modules/strnum/strnum.js":
  249. /*!***************************************!*\
  250. !*** ./node_modules/strnum/strnum.js ***!
  251. \***************************************/
  252. /*! no static exports found */function(e,t){const n=/^[-+]?0x[a-fA-F0-9]+$/,r=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const i={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function o(e,t={}){if(t=Object.assign({},i,t),!e||"string"!==typeof e)return e;let o=e.trim();if(void 0!==t.skipLike&&t.skipLike.test(o))return e;if(t.hex&&n.test(o))return Number.parseInt(o,16);{const n=r.exec(o);if(n){const r=n[1],i=n[2];let s=a(n[3]);const l=n[4]||n[6];if(!t.leadingZeros&&i.length>0&&r&&"."!==o[2])return e;if(!t.leadingZeros&&i.length>0&&!r&&"."!==o[1])return e;{const n=Number(o),a=""+n;return-1!==a.search(/[eE]/)||l?t.eNotation?n:e:-1!==o.indexOf(".")?"0"===a&&""===s||a===s||r&&a==="-"+s?n:e:i?s===a||r+s===a?n:e:o===a||o===r+a?n:e}}return e}}function a(e){return e&&-1!==e.indexOf(".")?(e=e.replace(/0+$/,""),"."===e?e="0":"."===e[0]?e="0"+e:"."===e[e.length-1]&&(e=e.substr(0,e.length-1)),e):e}e.exports=o},"./node_modules/webpack/buildin/amd-options.js":
  253. /*!****************************************!*\
  254. !*** (webpack)/buildin/amd-options.js ***!
  255. \****************************************/
  256. /*! no static exports found */function(e,t){(function(t){e.exports=t}).call(this,{})},"./node_modules/webpack/buildin/module.js":
  257. /*!***********************************!*\
  258. !*** (webpack)/buildin/module.js ***!
  259. \***********************************/
  260. /*! no static exports found */function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./package.json":
  261. /*!**********************!*\
  262. !*** ./package.json ***!
  263. \**********************/
  264. /*! exports provided: name, version, description, main, types, scripts, repository, keywords, author, license, bugs, homepage, dependencies, devDependencies, default */function(e){e.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.7","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"fast-xml-parser":"4.5.0"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":
  265. /*!************************!*\
  266. !*** ./src/advance.js ***!
  267. \************************/
  268. /*! no static exports found */function(e,t,n){var r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=n(/*! ./session */"./src/session.js"),o=n(/*! ./async */"./src/async.js"),a=n(/*! ./event */"./src/event.js").EventProxy,s=n(/*! ./util */"./src/util.js"),l=n(/*! ./tracker */"./src/tracker.js");function u(e,t){var n,r,o=this,l=new a,u=e.TaskId,d=e.Bucket,h=e.Region,p=e.Key,g=e.Body,v=e.ChunkSize||e.SliceSize||o.options.ChunkSize,y=e.AsyncLimit,b=e.StorageClass,_=e.ServerSideEncryption,w=e.onHashProgress,x=e.tracker;x&&x.setParams({chunkSize:v}),l.on("error",(function(n){if(o._isRunningTask(u))return e.UploadData.UploadId&&i.removeUsing(e.UploadData.UploadId),n.UploadId=e.UploadData.UploadId||"",t(n)})),l.on("upload_complete",(function(n){var r=s.extend({UploadId:e.UploadData.UploadId||""},n);t(null,r)})),l.on("upload_slice_complete",(function(t){var a={};s.each(e.Headers,(function(e,t){var n=t.toLowerCase();(0===n.indexOf("x-cos-meta-")||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(n))&&(a[t]=e)})),m.call(o,{Bucket:d,Region:h,Key:p,UploadId:t.UploadId,SliceList:t.SliceList,Headers:a,tracker:x},(function(e,a){if(o._isRunningTask(u)){if(i.removeUsing(t.UploadId),e)return r(null,!0),l.emit("error",e);i.removeUploadId.call(o,t.UploadId),r({loaded:n,total:n},!0),l.emit("upload_complete",a)}}))})),l.on("get_upload_data_finish",(function(t){var a=i.getFileId(g,e.ChunkSize,d,p);a&&i.saveUploadId.call(o,a,t.UploadId,o.options.UploadIdCacheLimit),i.setUsing(t.UploadId),r(null,!0),f.call(o,{TaskId:u,Bucket:d,Region:h,Key:p,Body:g,FileSize:n,SliceSize:v,AsyncLimit:y,ServerSideEncryption:_,UploadData:t,Headers:e.Headers,onProgress:r,tracker:x},(function(e,t){if(o._isRunningTask(u))return e?(r(null,!0),l.emit("error",e)):void l.emit("upload_slice_complete",t)}))})),l.on("get_file_size_finish",(function(){if(r=s.throttleOnProgress.call(o,n,e.onProgress),e.UploadData.UploadId)l.emit("get_upload_data_finish",e.UploadData);else{var t=s.extend({TaskId:u,Bucket:d,Region:h,Key:p,Headers:e.Headers,StorageClass:b,Body:g,FileSize:n,SliceSize:v,onHashProgress:w,tracker:x},e);c.call(o,t,(function(t,n){if(o._isRunningTask(u)){if(t)return l.emit("error",t);e.UploadData.UploadId=n.UploadId,e.UploadData.PartList=n.PartList,l.emit("get_upload_data_finish",e.UploadData)}}))}})),n=e.ContentLength,delete e.ContentLength,!e.Headers&&(e.Headers={}),s.each(e.Headers,(function(t,n){"content-length"===n.toLowerCase()&&delete e.Headers[n]})),function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],r=1048576,i=0;i<t.length;i++)if(r=1024*t[i]*1024,n/r<=o.options.MaxPartNumber)break;e.ChunkSize=e.SliceSize=v=Math.max(v,r)}(),0===n?(e.Body="",e.ContentLength=0,e.SkipTask=!0,o.putObject(e,t)):l.emit("get_file_size_finish")}function c(e,t){var n=e.TaskId,r=e.Bucket,l=e.Region,u=e.Key,c=e.StorageClass,f=this,p={},m=e.FileSize,g=e.SliceSize,v=Math.ceil(m/g),y=0,b=s.throttleOnProgress.call(f,m,e.onHashProgress),_=function(t,n){var r=g*(t-1),i=Math.min(r+g,m),o=i-r;p[t]?n(null,{PartNumber:t,ETag:p[t],Size:o}):s.fileSlice(e.Body,r,i,!1,(function(e){s.getFileMd5(e,(function(e,r){if(e)return n(s.error(e));var i='"'+r+'"';p[t]=i,1,y+=o,b({loaded:y,total:m}),n(null,{PartNumber:t,ETag:i,Size:o})}))}))},w=function(e,t){var n=e.length;if(0===n)return t(null,!0);if(n>v)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var i=function r(i){if(i<n){var o=e[i];_(o.PartNumber,(function(e,n){n&&n.ETag===o.ETag&&n.Size===o.Size?r(i+1):t(null,!1)}))}else t(null,!0)};i(0)},x=new a;x.on("error",(function(e){if(f._isRunningTask(n))return t(e)})),x.on("upload_id_available",(function(e){var n={},r=[];s.each(e.PartList,(function(e){n[e.PartNumber]=e}));for(var i=1;i<=v;i++){var o=n[i];o?(o.PartNumber=i,o.Uploaded=!0):o={PartNumber:i,ETag:null,Uploaded:!1},r.push(o)}e.PartList=r,t(null,e)})),x.on("no_available_upload_id",(function(){if(f._isRunningTask(n)){var i=s.extend({Bucket:r,Region:l,Key:u,Query:s.clone(e.Query),StorageClass:c,Body:e.Body,calledBySdk:"sliceUploadFile",tracker:e.tracker},e),o=s.clone(e.Headers);delete o["x-cos-mime-limit"],i.Headers=o,f.multipartInit(i,(function(e,r){if(f._isRunningTask(n)){if(e)return x.emit("error",e);var i=r.UploadId;if(!i)return t(s.error(new Error("no such upload id")));x.emit("upload_id_available",{UploadId:i,PartList:[]})}}))}})),x.on("has_and_check_upload_id",(function(t){t=t.reverse(),o.eachLimit(t,1,(function(t,o){f._isRunningTask(n)&&(i.using[t]?o():h.call(f,{Bucket:r,Region:l,Key:u,UploadId:t,tracker:e.tracker},(function(e,r){if(f._isRunningTask(n)){if(e)return i.removeUsing(t),x.emit("error",e);var a=r.PartList;a.forEach((function(e){e.PartNumber*=1,e.Size*=1,e.ETag=e.ETag||""})),w(a,(function(e,r){if(f._isRunningTask(n))return e?x.emit("error",e):void(r?o({UploadId:t,PartList:a}):o())}))}})))}),(function(e){f._isRunningTask(n)&&(b(null,!0),e&&e.UploadId?x.emit("upload_id_available",e):x.emit("no_available_upload_id"))}))})),x.on("seek_local_avail_upload_id",(function(t){var o=i.getFileId(e.Body,e.ChunkSize,r,u),a=i.getUploadIdList.call(f,o);if(o&&a){var c=function o(c){if(c>=a.length)x.emit("has_and_check_upload_id",t);else{var d=a[c];if(!s.isInArray(t,d))return i.removeUploadId.call(f,d),void o(c+1);i.using[d]?o(c+1):h.call(f,{Bucket:r,Region:l,Key:u,UploadId:d,tracker:e.tracker},(function(e,t){f._isRunningTask(n)&&(e?(i.removeUploadId.call(f,d),o(c+1)):x.emit("upload_id_available",{UploadId:d,PartList:t.PartList}))}))}};c(0)}else x.emit("has_and_check_upload_id",t)})),x.on("get_remote_upload_id_list",(function(){d.call(f,{Bucket:r,Region:l,Key:u,tracker:e.tracker},(function(t,o){if(f._isRunningTask(n)){if(t)return x.emit("error",t);var a=s.filter(o.UploadList,(function(e){return e.Key===u&&(!c||e.StorageClass.toUpperCase()===c.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(a.length)x.emit("seek_local_avail_upload_id",a);else{var l,d=i.getFileId(e.Body,e.ChunkSize,r,u);d&&(l=i.getUploadIdList.call(f,d))&&s.each(l,(function(e){i.removeUploadId.call(f,e)})),x.emit("no_available_upload_id")}}}))})),x.emit("get_remote_upload_id_list")}function d(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key,calledBySdk:e.calledBySdk||"sliceUploadFile",tracker:e.tracker},o=function e(){n.multipartList(i,(function(n,o){if(n)return t(n);r.push.apply(r,o.Upload||[]),"true"===o.IsTruncated?(i.KeyMarker=o.NextKeyMarker,i.UploadIdMarker=o.NextUploadIdMarker,e()):t(null,{UploadList:r})}))};o()}function h(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId,calledBySdk:"sliceUploadFile",tracker:e.tracker},o=function e(){n.multipartListPart(i,(function(n,o){if(n)return t(n);r.push.apply(r,o.Part||[]),"true"===o.IsTruncated?(i.PartNumberMarker=o.NextPartNumberMarker,e()):t(null,{PartList:r})}))};o()}function f(e,t){var n=this,r=e.TaskId,i=e.Bucket,a=e.Region,l=e.Key,u=e.UploadData,c=e.FileSize,d=e.SliceSize,h=Math.min(e.AsyncLimit||n.options.ChunkParallelLimit||1,256),f=e.Body,m=Math.ceil(c/d),g=0,v=e.ServerSideEncryption,y=e.Headers,b=s.filter(u.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&c%d||d),!e["Uploaded"]})),_=e.onProgress;o.eachLimit(b,h,(function(t,o){if(n._isRunningTask(r)){var s=t["PartNumber"],h=Math.min(c,t["PartNumber"]*d)-(t["PartNumber"]-1)*d,m=0;p.call(n,{TaskId:r,Bucket:i,Region:a,Key:l,SliceSize:d,FileSize:c,PartNumber:s,ServerSideEncryption:v,Body:f,UploadData:u,Headers:y,onProgress:function(e){g+=e.loaded-m,m=e.loaded,_({loaded:g,total:c})},tracker:e.tracker},(function(e,i){n._isRunningTask(r)&&(e||i.ETag||(e='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),e?g-=m:(g+=h-m,t.ETag=i.ETag),_({loaded:g,total:c}),o(e||null,i))}))}}),(function(e){if(n._isRunningTask(r))return e?t(e):void t(null,{UploadId:u.UploadId,SliceList:u.PartList})}))}function p(e,t){var n=this,r=e.TaskId,i=e.Bucket,a=e.Region,l=e.Key,u=e.FileSize,c=e.Body,d=1*e.PartNumber,h=e.SliceSize,f=e.ServerSideEncryption,p=e.UploadData,m=e.Headers||{},g=n.options.ChunkRetryTimes+1,v=h*(d-1),y=h,b=v+h;b>u&&(b=u,y=b-v);var _=["x-cos-traffic-limit","x-cos-mime-limit"],w={};s.each(m,(function(e,t){_.indexOf(t)>-1&&(w[t]=e)}));var x=p.PartList[d-1];o.retry(g,(function(t){n._isRunningTask(r)&&s.fileSlice(c,v,b,!0,(function(o){n.multipartUpload({TaskId:r,Bucket:i,Region:a,Key:l,ContentLength:y,PartNumber:d,UploadId:p.UploadId,ServerSideEncryption:f,Body:o,Headers:w,onProgress:e.onProgress,calledBySdk:"sliceUploadFile",tracker:e.tracker},(function(e,i){if(n._isRunningTask(r))return e?t(e):(x.Uploaded=!0,t(null,i))}))}))}),(function(e,i){if(n._isRunningTask(r))return t(e,i)}))}function m(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.UploadId,s=e.SliceList,l=this,u=this.options.ChunkRetryTimes+1,c=e.Headers,d=s.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));o.retry(u,(function(t){l.multipartComplete({Bucket:n,Region:r,Key:i,UploadId:a,Parts:d,Headers:c,calledBySdk:"sliceUploadFile",tracker:e.tracker},t)}),(function(e,n){t(e,n)}))}function g(e,t){var n=e.Bucket,r=e.Region,i=e.Key,o=e.UploadId,l=e.Level||"task",u=e.AsyncLimit,c=this,h=new a;if(h.on("error",(function(e){return t(e)})),h.on("get_abort_array",(function(o){v.call(c,{Bucket:n,Region:r,Key:i,Headers:e.Headers,AsyncLimit:u,AbortArray:o},t)})),"bucket"===l)d.call(c,{Bucket:n,Region:r,calledBySdk:"abortUploadTask"},(function(e,n){if(e)return t(e);h.emit("get_abort_array",n.UploadList||[])}));else if("file"===l){if(!i)return t(s.error(new Error("abort_upload_task_no_key")));d.call(c,{Bucket:n,Region:r,Key:i,calledBySdk:"abortUploadTask"},(function(e,n){if(e)return t(e);h.emit("get_abort_array",n.UploadList||[])}))}else{if("task"!==l)return t(s.error(new Error("abort_unknown_level")));if(!o)return t(s.error(new Error("abort_upload_task_no_id")));if(!i)return t(s.error(new Error("abort_upload_task_no_key")));h.emit("get_abort_array",[{Key:i,UploadId:o}])}}function v(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.AbortArray,s=e.AsyncLimit||1,l=this,u=0,c=new Array(a.length);o.eachLimit(a,s,(function(t,o){var a=u;if(i&&i!==t.Key)return c[a]={error:{KeyNotMatch:!0}},void o(null);var s=t.UploadId||t.UploadID;l.multipartAbort({Bucket:n,Region:r,Key:t.Key,Headers:e.Headers,UploadId:s},(function(e){var i={Bucket:n,Region:r,Key:t.Key,UploadId:s};c[a]={error:e,task:i},o(null)})),u++}),(function(e){if(e)return t(e);for(var n=[],r=[],i=0,o=c.length;i<o;i++){var a=c[i];a["task"]&&(a["error"]?r.push(a["task"]):n.push(a["task"]))}return t(null,{successList:n,errorList:r})}))}function y(e,t){var n=this,i=void 0===e.SliceSize?n.options.SliceSize:e.SliceSize,o=[],a=e.Body,u=a.size||a.length||0,c={TaskId:""};if(n.options.EnableReporter){var d=n.options.UseAccelerate||"string"===typeof n.options.Domain&&n.options.Domain.includes("accelerate."),h=u>i?"sliceUploadFile":"putObject";e.tracker=new l({Beacon:n.options.BeaconReporter,clsReporter:n.options.ClsReporter,bucket:e.Bucket,region:e.Region,apiName:"uploadFile",realApi:h,fileKey:e.Key,fileSize:u,accelerate:d,deepTracker:n.options.DeepTracker,customId:n.options.CustomId,delay:n.options.TrackerDelay})}s.each(e,(function(e,t){"object"!==r(e)&&"function"!==typeof e&&(c[t]=e)}));var f=e.onTaskReady,p=function(e){c.TaskId=e,f&&f(e)};e.onTaskReady=p;var m=u>i?"sliceUploadFile":"putObject",g=e.onFileFinish,v=function(n,r){e.tracker&&e.tracker.report(n,r),g&&g(n,r,c),t&&t(n,r)};o.push({api:m,params:e,callback:v}),n._addTasks(o)}function b(e,t){var n=this,i=void 0===e.SliceSize?n.options.SliceSize:e.SliceSize,o=0,a=0,u=s.throttleOnProgress.call(n,a,e.onProgress),c=e.files.length,d=e.onFileFinish,h=Array(c),f=function(e,n,r){u(null,!0),d&&d(e,n,r),h[r.Index]={options:r,error:e,data:n},--c<=0&&t&&t(null,{files:h})},p=[];s.each(e.files,(function(e,t){(function(){var c=e.Body,d=c.size||c.length||0,h={Index:t,TaskId:""};if(!n.options.UseRawKey&&e.Key&&"/"===e.Key.substr(0,1)&&(e.Key=e.Key.substr(1)),o+=d,n.options.EnableReporter){var m=n.options.UseAccelerate||"string"===typeof n.options.Domain&&n.options.Domain.includes("accelerate."),g=d>i?"sliceUploadFile":"putObject";e.tracker=new l({Beacon:n.options.BeaconReporter,clsReporter:n.options.ClsReporter,bucket:e.Bucket,region:e.Region,apiName:"uploadFiles",realApi:g,fileKey:e.Key,fileSize:d,accelerate:m,deepTracker:n.options.DeepTracker,customId:n.options.CustomId,delay:n.options.TrackerDelay})}s.each(e,(function(e,t){"object"!==r(e)&&"function"!==typeof e&&(h[t]=e)}));var v=e.onTaskReady,y=function(e){h.TaskId=e,v&&v(e)};e.onTaskReady=y;var b=0,_=e.onProgress,w=function(e){a=a-b+e.loaded,b=e.loaded,_&&_(e),u({loaded:a,total:o})};e.onProgress=w;var x=d>i?"sliceUploadFile":"putObject",k=e.onFileFinish,M=function(t,n){e.tracker&&e.tracker.report(t,n),k&&k(t,n),f&&f(t,n,h)};p.push({api:x,params:e,callback:M})})()})),n._addTasks(p)}function _(e,t){var n=new a,r=this,l=e.Bucket,u=e.Region,c=e.Key,d=e.CopySource,f=s.getSourceParams.call(this,d);if(f){var p=f.Bucket,m=f.Region,g=decodeURIComponent(f.Key),v=void 0===e.CopySliceSize?r.options.CopySliceSize:e.CopySliceSize;v=Math.max(0,v);var y,b,_=e.CopyChunkSize||this.options.CopyChunkSize,x=this.options.CopyChunkParallelLimit,k=this.options.ChunkRetryTimes+1,M=0,S=0,C={},T={},O={};n.on("copy_slice_complete",(function(n){var a={};s.each(e.Headers,(function(e,t){0===t.toLowerCase().indexOf("x-cos-meta-")&&(a[t]=e)}));var d=s.map(n.PartList,(function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));o.retry(k,(function(t){r.multipartComplete({Bucket:l,Region:u,Key:c,UploadId:n.UploadId,Parts:d,tracker:e.tracker,calledBySdk:"sliceCopyFile"},t)}),(function(e,r){if(i.removeUsing(n.UploadId),e)return b(null,!0),t(e);i.removeUploadId(n.UploadId),b({loaded:y,total:y},!0),t(null,r)}))})),n.on("get_copy_data_finish",(function(a){var h=i.getCopyFileId(d,C,_,l,c);h&&i.saveUploadId(h,a.UploadId,r.options.UploadIdCacheLimit),i.setUsing(a.UploadId);var f=s.filter(a.PartList,(function(e){return e["Uploaded"]&&(S+=e["PartNumber"]>=M&&y%_||_),!e["Uploaded"]}));o.eachLimit(f,x,(function(t,n){var i=t.PartNumber,s=t.CopySourceRange,h=t.end-t.start;o.retry(k,(function(t){w.call(r,{Bucket:l,Region:u,Key:c,CopySource:d,UploadId:a.UploadId,PartNumber:i,CopySourceRange:s,tracker:e.tracker,calledBySdk:"sliceCopyFile"},t)}),(function(e,r){if(e)return n(e);S+=h,b({loaded:S,total:y}),t.ETag=r.ETag,n(e||null,r)}))}),(function(e){if(e)return i.removeUsing(a.UploadId),b(null,!0),t(e);n.emit("copy_slice_complete",a)}))})),n.on("get_chunk_size_finish",(function(){var o=function(){r.multipartInit({Bucket:l,Region:u,Key:c,Headers:O,tracker:e.tracker,calledBySdk:"sliceCopyFile"},(function(r,i){if(r)return t(r);e.UploadId=i.UploadId,n.emit("get_copy_data_finish",{UploadId:e.UploadId,PartList:e.PartList})}))},a=i.getCopyFileId(d,C,_,l,c),f=i.getUploadIdList(a);if(!a||!f)return o();var p=function t(a){if(a>=f.length)return o();var d=f[a];if(i.using[d])return t(a+1);h.call(r,{Bucket:l,Region:u,Key:c,UploadId:d,tracker:e.tracker,calledBySdk:"sliceCopyFile"},(function(r,o){if(r)i.removeUploadId(d),t(a+1);else{if(i.using[d])return t(a+1);var l={},u=0;s.each(o.PartList,(function(e){var t=parseInt(e.Size),n=u+t-1;l[e.PartNumber+"|"+u+"|"+n]=e.ETag,u+=t})),s.each(e.PartList,(function(e){var t=l[e.PartNumber+"|"+e.start+"|"+e.end];t&&(e.ETag=t,e.Uploaded=!0)})),n.emit("get_copy_data_finish",{UploadId:d,PartList:e.PartList})}}))};p(0)})),n.on("get_file_size_finish",(function(){if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,i=0;i<t.length;i++)if(n=1024*t[i]*1024,y/n<=r.options.MaxPartNumber)break;e.ChunkSize=_=Math.max(_,n),M=Math.ceil(y/_);for(var o=[],a=1;a<=M;a++){var s=(a-1)*_,l=a*_<y?a*_-1:y-1,u={PartNumber:a,start:s,end:l,CopySourceRange:"bytes="+s+"-"+l};o.push(u)}e.PartList=o}(),O="Replaced"===e.Headers["x-cos-metadata-directive"]?e.Headers:T,O["x-cos-storage-class"]=e.Headers["x-cos-storage-class"]||T["x-cos-storage-class"],O=s.clearKey(O),"ARCHIVE"===T["x-cos-storage-class"]||"DEEP_ARCHIVE"===T["x-cos-storage-class"]){var i=T["x-cos-restore"];if(!i||'ongoing-request="true"'===i)return void t(s.error(new Error("Unrestored archive object is not allowed to be copied")))}delete O["x-cos-copy-source"],delete O["x-cos-metadata-directive"],delete O["x-cos-copy-source-If-Modified-Since"],delete O["x-cos-copy-source-If-Unmodified-Since"],delete O["x-cos-copy-source-If-Match"],delete O["x-cos-copy-source-If-None-Match"],n.emit("get_chunk_size_finish")})),r.headObject({Bucket:p,Region:m,Key:g,tracker:e.tracker,calledBySdk:"sliceCopyFile"},(function(i,o){if(i)i.statusCode&&404===i.statusCode?t(s.error(i,{ErrorStatus:g+" Not Exist"})):t(i);else if(y=e.FileSize=o.headers["content-length"],void 0!==y&&y)if(e.tracker&&e.tracker.setParams({httpSize:y}),b=s.throttleOnProgress.call(r,y,e.onProgress),y<=v)e.Headers["x-cos-metadata-directive"]||(e.Headers["x-cos-metadata-directive"]="Copy"),r.putObjectCopy(Object.assign(e,{calledBySdk:"sliceCopyFile"}),(function(e,n){if(e)return b(null,!0),t(e);b({loaded:y,total:y},!0),t(e,n)}));else{var a=o.headers;C=a,T={"Cache-Control":a["cache-control"],"Content-Disposition":a["content-disposition"],"Content-Encoding":a["content-encoding"],"Content-Type":a["content-type"],Expires:a["expires"],"x-cos-storage-class":a["x-cos-storage-class"]},s.each(a,(function(e,t){var n="x-cos-meta-";0===t.indexOf(n)&&t.length>n.length&&(T[t]=e)})),n.emit("get_file_size_finish")}else t(s.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.( 获取Content-Length失败,请在CORS ExposeHeader设置中添加Content-Length,请参考文档:https://cloud.tencent.com/document/product/436/13318 )')))}))}else t(s.error(new Error("CopySource format error")))}function w(e,t){var n=e.TaskId,r=e.Bucket,i=e.Region,a=e.Key,s=e.CopySource,l=e.UploadId,u=1*e.PartNumber,c=e.CopySourceRange,d=this.options.ChunkRetryTimes+1,h=this;o.retry(d,(function(t){h.uploadPartCopy({TaskId:n,Bucket:r,Region:i,Key:a,CopySource:s,UploadId:l,PartNumber:u,CopySourceRange:c,tracker:e.tracker,calledBySdk:e.calledBySdk},(function(e,n){t(e||null,n)}))}),(function(e,n){return t(e,n)}))}var x={sliceUploadFile:u,abortUploadTask:g,uploadFile:y,uploadFiles:b,sliceCopyFile:_};e.exports.init=function(e,t){t.transferToTaskMethod(x,"sliceUploadFile"),s.each(x,(function(t,n){e.prototype[n]=s.apiWrapper(n,t)}))}},"./src/async.js":
  269. /*!**********************!*\
  270. !*** ./src/async.js ***!
  271. \**********************/
  272. /*! no static exports found */function(e,t){var n=function(e,t,n,r){if(r=r||function(){},!e.length||t<=0)return r();var i=0,o=0,a=0;(function s(){if(i>=e.length)return r();while(a<t&&o<e.length)o+=1,a+=1,n(e[o-1],(function(t){t?(r(t),r=function(){}):(i+=1,a-=1,i>=e.length?r():s())}))})()},r=function(e,t,n){var r=function r(i){t((function(t,o){t&&i<e?r(i+1):n(t,o)}))};e<1?n():r(1)},i={eachLimit:n,retry:r};e.exports=i},"./src/base.js":
  273. /*!*********************!*\
  274. !*** ./src/base.js ***!
  275. \*********************/
  276. /*! no static exports found */function(e,t,n){var r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=n(/*! ../lib/request */"./lib/request.js"),o=n(/*! ./util */"./src/util.js");function a(e,t){var n=this.options.Protocol||(o.isBrowser&&"object"===("undefined"===typeof location?"undefined":r(location))&&"http:"===location.protocol?"http:":"https:"),i=this.options.ServiceDomain,a=e.AppId||this.options.appId,s=e.Region;i?(i=i.replace(/\{\{AppId\}\}/gi,a||"").replace(/\{\{Region\}\}/gi,s||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(i)||(i=n+"//"+i),"/"===i.slice(-1)&&(i=i.slice(0,-1))):i=s?n+"//cos."+s+".myqcloud.com":n+"//service.cos.myqcloud.com";var l="",u=s?"cos."+s+".myqcloud.com":"service.cos.myqcloud.com",c=i.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");u===c&&(l=u),je.call(this,{Action:"name/cos:GetService",url:i,method:"GET",headers:e.Headers,SignHost:l,tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Buckets&&n.ListAllMyBucketsResult.Buckets.Bucket||[];r=o.isArray(r)?r:[r];var i=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Owner||{};t(null,{Buckets:r,Owner:i,statusCode:n.statusCode,headers:n.headers})}))}function s(e,t){var n=this,r="";if(e["BucketAZConfig"]){var i={BucketAZConfig:e.BucketAZConfig};r=o.json2xml({CreateBucketConfiguration:i})}je.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,body:r,tracker:e.tracker},(function(r,i){if(r)return t(r);var o=Le({protocol:n.options.Protocol,domain:n.options.Domain,bucket:e.Bucket,region:e.Region,isLocation:!0});t(null,{Location:o,statusCode:i.statusCode,headers:i.headers})}))}function l(e,t){je.call(this,{Action:"name/cos:HeadBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"HEAD",tracker:e.tracker},t)}function u(e,t){var n={};n["prefix"]=e["Prefix"]||"",n["delimiter"]=e["Delimiter"],n["marker"]=e["Marker"],n["max-keys"]=e["MaxKeys"],n["encoding-type"]=e["EncodingType"],je.call(this,{Action:"name/cos:GetBucket",ResourceKey:n["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:n,tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n.ListBucketResult||{},i=r.Contents||[],a=r.CommonPrefixes||[];i=o.isArray(i)?i:[i],a=o.isArray(a)?a:[a];var s=o.clone(r);o.extend(s,{Contents:i,CommonPrefixes:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}function c(e,t){je.call(this,{Action:"name/cos:DeleteBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"DELETE",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function d(e,t){var n=e.Headers,r="";if(e["AccessControlPolicy"]){var i=o.clone(e["AccessControlPolicy"]||{}),a=i.Grants||i.Grant;a=o.isArray(a)?a:[a],delete i.Grant,delete i.Grants,i.AccessControlList={Grant:a},r=o.json2xml({AccessControlPolicy:i}),n["Content-Type"]="application/xml",n["Content-MD5"]=o.b64(o.md5(r))}o.each(n,(function(e,t){0===t.indexOf("x-cos-grant-")&&(n[t]=Oe(n[t]))})),je.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:n,action:"acl",body:r,tracker:e.tracker},(function(e,n){if(e)return t(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}function h(e,t){je.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"acl",tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n.AccessControlPolicy||{},i=r.Owner||{},a=r.AccessControlList.Grant||[];a=o.isArray(a)?a:[a];var s=Te(r);n.headers&&n.headers["x-cos-acl"]&&(s.ACL=n.headers["x-cos-acl"]),s=o.extend(s,{Owner:i,Grants:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}function f(e,t){var n=e["CORSConfiguration"]||{},r=n["CORSRules"]||e["CORSRules"]||[];r=o.clone(o.isArray(r)?r:[r]),o.each(r,(function(e){o.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var n=t+"s",r=e[n]||e[t]||[];delete e[n],e[t]=o.isArray(r)?r:[r]}))}));var i={CORSRule:r};e.ResponseVary&&(i.ResponseVary=e.ResponseVary);var a=o.json2xml({CORSConfiguration:i}),s=e.Headers;s["Content-Type"]="application/xml",s["Content-MD5"]=o.b64(o.md5(a)),je.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"cors",headers:s,tracker:e.tracker},(function(e,n){if(e)return t(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}function p(e,t){je.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors",tracker:e.tracker},(function(e,n){if(e)if(404===e.statusCode&&e.error&&"NoSuchCORSConfiguration"===e.error.Code){var r={CORSRules:[],statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else t(e);else{var i=n.CORSConfiguration||{},a=i.CORSRules||i.CORSRule||[];a=o.clone(o.isArray(a)?a:[a]);var s=i.ResponseVary;o.each(a,(function(e){o.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var n=t+"s",r=e[n]||e[t]||[];delete e[t],e[n]=o.isArray(r)?r:[r]}))})),t(null,{CORSRules:a,ResponseVary:s,statusCode:n.statusCode,headers:n.headers})}}))}function m(e,t){je.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode||e.statusCode,headers:n.headers})}))}function g(e,t){je.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"location",tracker:e.tracker},t)}function v(e,t){var n=e["Policy"];try{"string"===typeof n&&(n=JSON.parse(n))}catch(a){}if(!n||"string"===typeof n)return t(o.error(new Error("Policy format error")));var r=JSON.stringify(n);n.version||(n.version="2.0");var i=e.Headers;i["Content-Type"]="application/json",i["Content-MD5"]=o.b64(o.md5(r)),je.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:e.Bucket,Region:e.Region,action:"policy",body:r,headers:i,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function y(e,t){je.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"policy",rawBody:!0,tracker:e.tracker},(function(e,n){if(e)return e.statusCode&&403===e.statusCode?t(o.error(e,{ErrorStatus:"Access Denied"})):e.statusCode&&405===e.statusCode?t(o.error(e,{ErrorStatus:"Method Not Allowed"})):e.statusCode&&404===e.statusCode?t(o.error(e,{ErrorStatus:"Policy Not Found"})):t(e);var r={};try{r=JSON.parse(n.body)}catch(i){}t(null,{Policy:r,statusCode:n.statusCode,headers:n.headers})}))}function b(e,t){je.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"policy",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode||e.statusCode,headers:n.headers})}))}function _(e,t){var n=e["Tagging"]||{},r=n.TagSet||n.Tags||e["Tags"]||[];r=o.clone(o.isArray(r)?r:[r]);var i=o.json2xml({Tagging:{TagSet:{Tag:r}}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"tagging",headers:a,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function w(e,t){je.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging",tracker:e.tracker},(function(e,n){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"NoSuchTagSet"!==e.error.Code)t(e);else{var r={Tags:[],statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else{var i=[];try{i=n.Tagging.TagSet.Tag||[]}catch(a){}i=o.clone(o.isArray(i)?i:[i]),t(null,{Tags:i,statusCode:n.statusCode,headers:n.headers})}}))}function x(e,t){je.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function k(e,t){var n=e["LifecycleConfiguration"]||{},r=n.Rules||e.Rules||[];r=o.clone(r);var i=o.json2xml({LifecycleConfiguration:{Rule:r}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"lifecycle",headers:a,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function M(e,t){je.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"lifecycle",tracker:e.tracker},(function(e,n){if(e)if(404===e.statusCode&&e.error&&"NoSuchLifecycleConfiguration"===e.error.Code){var r={Rules:[],statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else t(e);else{var i=[];try{i=n.LifecycleConfiguration.Rule||[]}catch(a){}i=o.clone(o.isArray(i)?i:[i]),t(null,{Rules:i,statusCode:n.statusCode,headers:n.headers})}}))}function S(e,t){je.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"lifecycle",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function C(e,t){if(e["VersioningConfiguration"]){var n=e["VersioningConfiguration"]||{},r=o.json2xml({VersioningConfiguration:n}),i=e.Headers;i["Content-Type"]="application/xml",i["Content-MD5"]=o.b64(o.md5(r)),je.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:r,action:"versioning",headers:i,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}else t(o.error(new Error("missing param VersioningConfiguration")))}function T(e,t){je.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"versioning",tracker:e.tracker},(function(e,n){e||!n.VersioningConfiguration&&(n.VersioningConfiguration={}),t(e,n)}))}function O(e,t){var n=o.clone(e.ReplicationConfiguration),r=o.json2xml({ReplicationConfiguration:n});r=r.replace(/<(\/?)Rules>/gi,"<$1Rule>"),r=r.replace(/<(\/?)Tags>/gi,"<$1Tag>");var i=e.Headers;i["Content-Type"]="application/xml",i["Content-MD5"]=o.b64(o.md5(r)),je.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:r,action:"replication",headers:i,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function L(e,t){je.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication",tracker:e.tracker},(function(e,n){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"ReplicationConfigurationnotFoundError"!==e.error.Code)t(e);else{var r={ReplicationConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else!n.ReplicationConfiguration&&(n.ReplicationConfiguration={}),n.ReplicationConfiguration.Rule&&(n.ReplicationConfiguration.Rules=o.makeArray(n.ReplicationConfiguration.Rule),delete n.ReplicationConfiguration.Rule),t(e,n)}))}function A(e,t){je.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function D(e,t){if(e["WebsiteConfiguration"]){var n=o.clone(e["WebsiteConfiguration"]||{}),r=n["RoutingRules"]||n["RoutingRule"]||[];r=o.isArray(r)?r:[r],delete n.RoutingRule,delete n.RoutingRules,r.length&&(n.RoutingRules={RoutingRule:r});var i=o.json2xml({WebsiteConfiguration:n}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"website",headers:a,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}else t(o.error(new Error("missing param WebsiteConfiguration")))}function E(e,t){je.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"website",tracker:e.tracker},(function(e,n){if(e)if(404===e.statusCode&&"NoSuchWebsiteConfiguration"===e.error.Code){var r={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else t(e);else{var i=n.WebsiteConfiguration||{};if(i["RoutingRules"]){var a=o.clone(i["RoutingRules"].RoutingRule||[]);a=o.makeArray(a),i.RoutingRules=a}t(null,{WebsiteConfiguration:i,statusCode:n.statusCode,headers:n.headers})}}))}function I(e,t){je.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"website",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function j(e,t){if(e["RefererConfiguration"]){var n=o.clone(e["RefererConfiguration"]||{}),r=n["DomainList"]||{},i=r["Domains"]||r["Domain"]||[];i=o.isArray(i)?i:[i],i.length&&(n.DomainList={Domain:i});var a=o.json2xml({RefererConfiguration:n}),s=e.Headers;s["Content-Type"]="application/xml",s["Content-MD5"]=o.b64(o.md5(a)),je.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"referer",headers:s,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}else t(o.error(new Error("missing param RefererConfiguration")))}function P(e,t){je.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"referer",tracker:e.tracker},(function(e,n){if(e)if(404===e.statusCode&&"NoSuchRefererConfiguration"===e.error.Code){var r={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else t(e);else{var i=n.RefererConfiguration||{};if(i["DomainList"]){var a=o.makeArray(i["DomainList"].Domain||[]);i.DomainList={Domains:a}}t(null,{RefererConfiguration:i,statusCode:n.statusCode,headers:n.headers})}}))}function R(e,t){var n=e["DomainConfiguration"]||{},r=n.DomainRule||e.DomainRule||[];r=o.clone(r);var i=o.json2xml({DomainConfiguration:{DomainRule:r}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"domain",headers:a,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function N(e,t){je.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"domain",tracker:e.tracker},(function(e,n){if(e)return t(e);var r=[];try{r=n.DomainConfiguration.DomainRule||[]}catch(i){}r=o.clone(o.isArray(r)?r:[r]),t(null,{DomainRule:r,statusCode:n.statusCode,headers:n.headers})}))}function B(e,t){je.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"domain",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function Y(e,t){var n=e["OriginConfiguration"]||{},r=n.OriginRule||e.OriginRule||[];r=o.clone(r);var i=o.json2xml({OriginConfiguration:{OriginRule:r}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"origin",headers:a,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function F(e,t){je.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"origin",tracker:e.tracker},(function(e,n){if(e)return t(e);var r=[];try{r=n.OriginConfiguration.OriginRule||[]}catch(i){}r=o.clone(o.isArray(r)?r:[r]),t(null,{OriginRule:r,statusCode:n.statusCode,headers:n.headers})}))}function z(e,t){je.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"origin",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function H(e,t){var n=o.json2xml({BucketLoggingStatus:e["BucketLoggingStatus"]||""}),r=e.Headers;r["Content-Type"]="application/xml",r["Content-MD5"]=o.b64(o.md5(n)),je.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"logging",headers:r,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function V(e,t){je.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"logging",tracker:e.tracker},(function(e,n){if(e)return t(e);t(null,{BucketLoggingStatus:n.BucketLoggingStatus,statusCode:n.statusCode,headers:n.headers})}))}function W(e,t,n){var r=o.clone(t["InventoryConfiguration"]);if(r.OptionalFields){var i=r.OptionalFields||[];r.OptionalFields={Field:i}}if(r.Destination&&r.Destination.COSBucketDestination&&r.Destination.COSBucketDestination.Encryption){var a=r.Destination.COSBucketDestination.Encryption;Object.keys(a).indexOf("SSECOS")>-1&&(a["SSE-COS"]=a["SSECOS"],delete a["SSECOS"])}var s=o.json2xml({InventoryConfiguration:r}),l=t.Headers;l["Content-Type"]="application/xml",l["Content-MD5"]=o.b64(o.md5(s));var u="PUT"===e?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";je.call(this,{Action:u,method:e,Bucket:t.Bucket,Region:t.Region,body:s,action:"inventory",qs:{id:t["Id"]},headers:l,tracker:t.tracker},(function(e,t){return e&&204===e.statusCode?n(null,{statusCode:e.statusCode}):e?n(e):void n(null,{statusCode:t.statusCode,headers:t.headers})}))}function U(e,t){return W.call(this,"PUT",e,t)}function $(e,t){return W.call(this,"POST",e,t)}function G(e,t){je.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e["Id"]},tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n["InventoryConfiguration"];if(r&&r.OptionalFields&&r.OptionalFields.Field){var i=r.OptionalFields.Field;o.isArray(i)||(i=[i]),r.OptionalFields=i}if(r.Destination&&r.Destination.COSBucketDestination&&r.Destination.COSBucketDestination.Encryption){var a=r.Destination.COSBucketDestination.Encryption;Object.keys(a).indexOf("SSE-COS")>-1&&(a["SSECOS"]=a["SSE-COS"],delete a["SSE-COS"])}t(null,{InventoryConfiguration:r,statusCode:n.statusCode,headers:n.headers})}))}function q(e,t){je.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{"continuation-token":e["ContinuationToken"]},tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n["ListInventoryConfigurationResult"],i=r.InventoryConfiguration||[];i=o.isArray(i)?i:[i],delete r["InventoryConfiguration"],o.each(i,(function(e){if(e&&e.OptionalFields&&e.OptionalFields.Field){var t=e.OptionalFields.Field;o.isArray(t)||(t=[t]),e.OptionalFields=t}if(e.Destination&&e.Destination.COSBucketDestination&&e.Destination.COSBucketDestination.Encryption){var n=e.Destination.COSBucketDestination.Encryption;Object.keys(n).indexOf("SSE-COS")>-1&&(n["SSECOS"]=n["SSE-COS"],delete n["SSE-COS"])}})),r.InventoryConfigurations=i,o.extend(r,{statusCode:n.statusCode,headers:n.headers}),t(null,r)}))}function X(e,t){je.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e["Id"]},tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function K(e,t){if(e["AccelerateConfiguration"]){var n={AccelerateConfiguration:e.AccelerateConfiguration||{}},r=o.json2xml(n),i={"Content-Type":"application/xml"};i["Content-MD5"]=o.b64(o.md5(r)),je.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:r,action:"accelerate",headers:i,tracker:e.tracker},(function(e,n){if(e)return t(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}else t(o.error(new Error("missing param AccelerateConfiguration")))}function Z(e,t){je.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:e.Bucket,Region:e.Region,action:"accelerate",tracker:e.tracker},(function(e,n){e||!n.AccelerateConfiguration&&(n.AccelerateConfiguration={}),t(e,n)}))}function J(e,t){var n=e.ServerSideEncryptionConfiguration||{},r=n.Rule||n.Rules||[],i=o.json2xml({ServerSideEncryptionConfiguration:{Rule:r}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"encryption",headers:a,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function Q(e,t){je.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption",tracker:e.tracker},(function(e,n){if(e)if(404===e.statusCode&&"NoSuchEncryptionConfiguration"===e.code){var r={EncryptionConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else t(e);else{var i=o.makeArray(n.EncryptionConfiguration&&n.EncryptionConfiguration.Rule||[]);n.EncryptionConfiguration={Rules:i},t(e,n)}}))}function ee(e,t){je.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption",tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function te(e,t){je.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers,tracker:e.tracker},(function(n,r){if(n){var i=n.statusCode;return e.Headers["If-Modified-Since"]&&i&&304===i?t(null,{NotModified:!0,statusCode:i}):t(n)}r.ETag=o.attr(r.headers,"etag",""),t(null,r)}))}function ne(e,t){var n={};n["prefix"]=e["Prefix"]||"",n["delimiter"]=e["Delimiter"],n["key-marker"]=e["KeyMarker"],n["version-id-marker"]=e["VersionIdMarker"],n["max-keys"]=e["MaxKeys"],n["encoding-type"]=e["EncodingType"],je.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:n["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:n,action:"versions",tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n.ListVersionsResult||{},i=r.DeleteMarker||[];i=o.isArray(i)?i:[i];var a=r.Version||[];a=o.isArray(a)?a:[a];var s=o.clone(r);delete s.DeleteMarker,delete s.Version,o.extend(s,{DeleteMarkers:i,Versions:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}function re(e,t){if(this.options.ObjectKeySimplifyCheck){var n=o.simplifyPath(e.Key);if("/"===n)return void t(o.error(new Error("The Getobject Key is illegal")))}var r=e.Query||{},i=e.QueryString||"",a=o.throttleOnProgress.call(this,0,e.onProgress),s=e.tracker;s&&s.setParams({signStartTime:(new Date).getTime()}),r["response-content-type"]=e["ResponseContentType"],r["response-content-language"]=e["ResponseContentLanguage"],r["response-expires"]=e["ResponseExpires"],r["response-cache-control"]=e["ResponseCacheControl"],r["response-content-disposition"]=e["ResponseContentDisposition"],r["response-content-encoding"]=e["ResponseContentEncoding"],je.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,DataType:e.DataType,headers:e.Headers,qs:r,qsStr:i,rawBody:!0,onDownloadProgress:a,tracker:s},(function(n,r){if(a(null,!0),n){var i=n.statusCode;return e.Headers["If-Modified-Since"]&&i&&304===i?t(null,{NotModified:!0}):t(n)}t(null,{Body:r.body,ETag:o.attr(r.headers,"etag",""),statusCode:r.statusCode,headers:r.headers})}))}function ie(e,t){var n=this,r=e.ContentLength,i=o.throttleOnProgress.call(n,r,e.onProgress),a=e.Headers;a["Cache-Control"]||a["cache-control"]||(a["Cache-Control"]=""),a["Content-Type"]||a["content-type"]||(a["Content-Type"]=e.Body&&e.Body.type||"");var s=e.UploadAddMetaMd5||n.options.UploadAddMetaMd5||n.options.UploadCheckContentMd5,l=e.tracker;s&&l&&l.setParams({md5StartTime:(new Date).getTime()}),o.getBodyMd5(s,e.Body,(function(s){s&&(l&&l.setParams({md5EndTime:(new Date).getTime()}),n.options.UploadCheckContentMd5&&(a["Content-MD5"]=o.b64(s)),(e.UploadAddMetaMd5||n.options.UploadAddMetaMd5)&&(a["x-cos-meta-md5"]=s)),void 0!==e.ContentLength&&(a["Content-Length"]=e.ContentLength),i(null,!0),je.call(n,{Action:"name/cos:PutObject",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:e.Query,body:e.Body,onProgress:i,tracker:l},(function(a,s){if(a)return i(null,!0),t(a);i({loaded:r,total:r},!0);var l=Le({ForcePathStyle:n.options.ForcePathStyle,protocol:n.options.Protocol,domain:n.options.Domain,bucket:e.Bucket,region:n.options.UseAccelerate?"accelerate":e.Region,object:e.Key});l=l.substr(l.indexOf("://")+3),s.Location=l,s.ETag=o.attr(s.headers,"etag",""),t(null,s)}))}),e.onHashProgress)}function oe(e,t){je.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,VersionId:e.VersionId,action:e.Recursive?"recursive":"",tracker:e.tracker},(function(e,n){if(e){var r=e.statusCode;return r&&404===r?t(null,{BucketNotFound:!0,statusCode:r}):t(e)}t(null,{statusCode:n.statusCode,headers:n.headers})}))}function ae(e,t){var n={};e.VersionId&&(n.versionId=e.VersionId),je.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:n,action:"acl",tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n.AccessControlPolicy||{},i=r.Owner||{},a=r.AccessControlList&&r.AccessControlList.Grant||[];a=o.isArray(a)?a:[a];var s=Te(r);delete s.GrantWrite,n.headers&&n.headers["x-cos-acl"]&&(s.ACL=n.headers["x-cos-acl"]),s=o.extend(s,{Owner:i,Grants:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}function se(e,t){var n=e.Headers,r="";if(e["AccessControlPolicy"]){var i=o.clone(e["AccessControlPolicy"]||{}),a=i.Grants||i.Grant;a=o.isArray(a)?a:[a],delete i.Grant,delete i.Grants,i.AccessControlList={Grant:a},r=o.json2xml({AccessControlPolicy:i}),n["Content-Type"]="application/xml",n["Content-MD5"]=o.b64(o.md5(r))}o.each(n,(function(e,t){0===t.indexOf("x-cos-grant-")&&(n[t]=Oe(n[t]))})),je.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"acl",headers:n,body:r,tracker:e.tracker},(function(e,n){if(e)return t(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}function le(e,t){var n=e.Headers;n["Origin"]=e["Origin"],n["Access-Control-Request-Method"]=e["AccessControlRequestMethod"],n["Access-Control-Request-Headers"]=e["AccessControlRequestHeaders"],je.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:n,tracker:e.tracker},(function(e,n){if(e)return e.statusCode&&403===e.statusCode?t(null,{OptionsForbidden:!0,statusCode:e.statusCode}):t(e);var r=n.headers||{};t(null,{AccessControlAllowOrigin:r["access-control-allow-origin"],AccessControlAllowMethods:r["access-control-allow-methods"],AccessControlAllowHeaders:r["access-control-allow-headers"],AccessControlExposeHeaders:r["access-control-expose-headers"],AccessControlMaxAge:r["access-control-max-age"],statusCode:n.statusCode,headers:n.headers})}))}function ue(e,t){var n=this,r=e.Headers;r["Cache-Control"]||r["cache-control"]||(r["Cache-Control"]="");var i=e.CopySource||"",a=o.getSourceParams.call(this,i);if(a){var s=a.Bucket,l=a.Region,u=decodeURIComponent(a.Key);je.call(this,{Scope:[{action:"name/cos:GetObject",bucket:s,region:l,prefix:u},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers,tracker:e.tracker},(function(r,i){if(r)return t(r);var a=o.clone(i.CopyObjectResult||{}),s=Le({ForcePathStyle:n.options.ForcePathStyle,protocol:n.options.Protocol,domain:n.options.Domain,bucket:e.Bucket,region:e.Region,object:e.Key,isLocation:!0});o.extend(a,{Location:s,statusCode:i.statusCode,headers:i.headers}),t(null,a)}))}else t(o.error(new Error("CopySource format error")))}function ce(e,t){var n=e.CopySource||"",r=o.getSourceParams.call(this,n);if(r){var i=r.Bucket,a=r.Region,s=decodeURIComponent(r.Key);je.call(this,{Scope:[{action:"name/cos:GetObject",bucket:i,region:a,prefix:s},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,qs:{partNumber:e["PartNumber"],uploadId:e["UploadId"]},headers:e.Headers,tracker:e.tracker},(function(e,n){if(e)return t(e);var r=o.clone(n.CopyPartResult||{});o.extend(r,{statusCode:n.statusCode,headers:n.headers}),t(null,r)}))}else t(o.error(new Error("CopySource format error")))}function de(e,t){var n=e.Objects||[],r=e.Quiet;n=o.isArray(n)?n:[n];var i=o.json2xml({Delete:{Object:n,Quiet:r||!1}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i));var s=o.map(n,(function(t){return{action:"name/cos:DeleteObject",bucket:e.Bucket,region:e.Region,prefix:t.Key}}));je.call(this,{Scope:s,method:"POST",Bucket:e.Bucket,Region:e.Region,body:i,action:"delete",headers:a,tracker:e.tracker},(function(e,n){if(e)return t(e);var r=n.DeleteResult||{},i=r.Deleted||[],a=r.Error||[];i=o.isArray(i)?i:[i],a=o.isArray(a)?a:[a];var s=o.clone(r);o.extend(s,{Error:a,Deleted:i,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}function he(e,t){var n=e.Headers;if(e["RestoreRequest"]){var r=e.RestoreRequest||{},i=o.json2xml({RestoreRequest:r});n["Content-Type"]="application/xml",n["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,body:i,action:"restore",headers:n,tracker:e.tracker},t)}else t(o.error(new Error("missing param RestoreRequest")))}function fe(e,t){var n=e["Tagging"]||{},r=n.TagSet||n.Tags||e["Tags"]||[];r=o.clone(o.isArray(r)?r:[r]);var i=o.json2xml({Tagging:{TagSet:{Tag:r}}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:e.Bucket,Key:e.Key,Region:e.Region,body:i,action:"tagging",headers:a,VersionId:e.VersionId,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function pe(e,t){je.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:e.Key,Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging",VersionId:e.VersionId,tracker:e.tracker},(function(e,n){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"NoSuchTagSet"!==e.error.Code)t(e);else{var r={Tags:[],statusCode:e.statusCode};e.headers&&(r.headers=e.headers),t(null,r)}else{var i=[];try{i=n.Tagging.TagSet.Tag||[]}catch(a){}i=o.clone(o.isArray(i)?i:[i]),t(null,{Tags:i,statusCode:n.statusCode,headers:n.headers})}}))}function me(e,t){je.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"tagging",VersionId:e.VersionId,tracker:e.tracker},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function ge(e,t){var n=e["SelectType"];if(!n)return t(o.error(new Error("missing param SelectType")));var r=e["SelectRequest"]||{},i=o.json2xml({SelectRequest:r}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"select",qs:{"select-type":e["SelectType"]},VersionId:e.VersionId,body:i,DataType:"arraybuffer",rawBody:!0,tracker:e.tracker},(function(e,n){if(e&&204===e.statusCode)return t(null,{statusCode:e.statusCode});if(e)return t(e);var r=o.parseSelectPayload(n.body);t(null,{statusCode:n.statusCode,headers:n.headers,Body:r.body,Payload:r.payload})}))}function ve(e,t){var n=this,r=e.Headers,i=e.tracker;r["Cache-Control"]||r["cache-control"]||(r["Cache-Control"]=""),r["Content-Type"]||r["content-type"]||(r["Content-Type"]=e.Body&&e.Body.type||"");var a=e.Body&&(e.UploadAddMetaMd5||n.options.UploadAddMetaMd5);a&&i&&i.setParams({md5StartTime:(new Date).getTime()}),o.getBodyMd5(a,e.Body,(function(r){r&&(e.Headers["x-cos-meta-md5"]=r),a&&i&&i.setParams({md5EndTime:(new Date).getTime()}),je.call(n,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"uploads",headers:e.Headers,qs:e.Query,tracker:i},(function(e,n){return e?(i&&i.parent&&i.parent.setParams({errorNode:"multipartInit"}),t(e)):(n=o.clone(n||{}),n&&n.InitiateMultipartUploadResult?t(null,o.extend(n.InitiateMultipartUploadResult,{statusCode:n.statusCode,headers:n.headers})):void t(null,n))}))}),e.onHashProgress)}function ye(e,t){var n=this;o.getFileSize("multipartUpload",e,(function(){var r=e.tracker,i=n.options.UploadCheckContentMd5;i&&r&&r.setParams({md5StartTime:(new Date).getTime()}),o.getBodyMd5(i,e.Body,(function(a){a&&(e.Headers["Content-MD5"]=o.b64(a)),i&&r&&r.setParams({md5EndTime:(new Date).getTime()}),r&&r.setParams({partNumber:e.PartNumber}),je.call(n,{Action:"name/cos:UploadPart",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{partNumber:e["PartNumber"],uploadId:e["UploadId"]},headers:e.Headers,onProgress:e.onProgress,body:e.Body||null,tracker:r},(function(e,n){if(e)return r&&r.parent&&r.parent.setParams({errorNode:"multipartUpload"}),t(e);t(null,{ETag:o.attr(n.headers,"etag",""),statusCode:n.statusCode,headers:n.headers})}))}))}))}function be(e,t){for(var n=this,r=e.UploadId,i=e["Parts"],a=e.tracker,s=0,l=i.length;s<l;s++)i[s]["ETag"]&&0===i[s]["ETag"].indexOf('"')||(i[s]["ETag"]='"'+i[s]["ETag"]+'"');var u=o.json2xml({CompleteMultipartUpload:{Part:i}});u=u.replace(/\n\s*/g,"");var c=e.Headers;c["Content-Type"]="application/xml",c["Content-MD5"]=o.b64(o.md5(u)),je.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{uploadId:r},body:u,headers:c,tracker:a},(function(r,i){if(r)return a&&a.parent&&a.parent.setParams({errorNode:"multipartComplete"}),t(r);var s=Le({ForcePathStyle:n.options.ForcePathStyle,protocol:n.options.Protocol,domain:n.options.Domain,bucket:e.Bucket,region:e.Region,object:e.Key,isLocation:!0}),l=i.CompleteMultipartUploadResult||{};if(l.ProcessResults&&(l.UploadResult={OriginalInfo:{Key:l.Key,Location:s,ETag:l.ETag,ImageInfo:l.ImageInfo},ProcessResults:l.ProcessResults},delete l.ImageInfo,delete l.ProcessResults),l.CallbackResult){var u=l.CallbackResult;if("200"===u.Status&&u.CallbackBody)try{l.CallbackBody=JSON.parse(o.decodeBase64(u.CallbackBody))}catch(h){l.CallbackBody={}}else l.CallbackError=u.Error||{};delete l.CallbackResult}if(l.ReturnBodyResult){var c=l.ReturnBodyResult;if("200"===c.Status&&c.ReturnBody)try{l.ReturnBody=JSON.parse(o.decodeBase64(c.ReturnBody))}catch(h){l.ReturnBody={}}else l.ReturnError={Code:c.Code,Message:c.Message,Status:c.Status};delete l.ReturnBodyResult}var d=o.extend(l,{Location:s,statusCode:i.statusCode,headers:i.headers});t(null,d)}))}function _e(e,t){var n={};n["delimiter"]=e["Delimiter"],n["encoding-type"]=e["EncodingType"],n["prefix"]=e["Prefix"]||"",n["max-uploads"]=e["MaxUploads"],n["key-marker"]=e["KeyMarker"],n["upload-id-marker"]=e["UploadIdMarker"],n=o.clearKey(n);var r=e.tracker;r&&r.setParams({signStartTime:(new Date).getTime()}),je.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:n["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:n,action:"uploads",tracker:r},(function(e,n){if(e)return r&&r.parent&&r.parent.setParams({errorNode:"multipartList"}),t(e);if(n&&n.ListMultipartUploadsResult){var i=n.ListMultipartUploadsResult.Upload||[];i=o.isArray(i)?i:[i],n.ListMultipartUploadsResult.Upload=i}var a=o.clone(n.ListMultipartUploadsResult||{});o.extend(a,{statusCode:n.statusCode,headers:n.headers}),t(null,a)}))}function we(e,t){var n={},r=e.tracker;n["uploadId"]=e["UploadId"],n["encoding-type"]=e["EncodingType"],n["max-parts"]=e["MaxParts"],n["part-number-marker"]=e["PartNumberMarker"],je.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:n,tracker:r},(function(e,n){if(e)return r&&r.parent&&r.parent.setParams({errorNode:"multipartListPart"}),t(e);var i=n.ListPartsResult||{},a=i.Part||[];a=o.isArray(a)?a:[a],i.Part=a;var s=o.clone(i);o.extend(s,{statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}function xe(e,t){var n={};n["uploadId"]=e["UploadId"],je.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:n,tracker:e.tracker},(function(e,n){if(e)return t(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}function ke(e,t){je.call(this,{method:e.Method,Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:e.Action,headers:e.Headers,qs:e.Query,body:e.Body,Url:e.Url,rawBody:e.RawBody,DataType:e.DataType,tracker:e.tracker},(function(e,n){if(e)return t(e);n&&n.body&&(n.Body=n.body,delete n.body),t(e,n)}))}function Me(e,t){var n=e.Headers;n["Cache-Control"]||n["cache-control"]||(n["Cache-Control"]=""),n["Content-Type"]||n["content-type"]||(n["Content-Type"]=e.Body&&e.Body.type||""),je.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:e.Bucket,Region:e.Region,action:"append",Key:e.Key,body:e.Body,qs:{position:e.Position},headers:e.Headers,tracker:e.tracker},(function(e,n){if(e)return t(e);t(null,n)}))}function Se(e){var t=this;return o.getAuth({SecretId:e.SecretId||this.options.SecretId||"",SecretKey:e.SecretKey||this.options.SecretKey||"",Bucket:e.Bucket,Region:e.Region,Method:e.Method,Key:e.Key,Query:e.Query,Headers:e.Headers,Expires:e.Expires,UseRawKey:t.options.UseRawKey,SystemClockOffset:t.options.SystemClockOffset})}function Ce(e,t){var n=this,r=void 0===e.UseAccelerate?n.options.UseAccelerate:e.UseAccelerate,i=Le({ForcePathStyle:n.options.ForcePathStyle,protocol:e.Protocol||n.options.Protocol,domain:e.Domain||n.options.Domain,bucket:e.Bucket,region:r?"accelerate":e.Region,object:e.Key}),a="";e.Query&&(a+=o.obj2str(e.Query)),e.QueryString&&(a+=(a?"&":"")+e.QueryString);var s=i;if(void 0!==e.Sign&&!e.Sign)return a&&(s+="?"+a),t(null,{Url:s}),s;var l=Ae.call(this,{Bucket:e.Bucket,Region:e.Region,UseAccelerate:e.UseAccelerate,Url:i}),u=De.call(this,{Action:"PUT"===(e.Method||"").toUpperCase()?"name/cos:PutObject":"name/cos:GetObject",Bucket:e.Bucket||"",Region:e.Region||"",Method:e.Method||"get",Key:e.Key,Expires:e.Expires,Headers:e.Headers,Query:e.Query,SignHost:l,ForceSignHost:!1!==e.ForceSignHost&&n.options.ForceSignHost},(function(e,n){if(t)if(e)t(e);else{var r=function(e){var t=e.match(/q-url-param-list.*?(?=&)/g)[0],n="q-url-param-list="+encodeURIComponent(t.replace(/q-url-param-list=/,"")).toLowerCase(),r=new RegExp(t,"g"),i=e.replace(r,n);return i},o=i;o+="?"+(n.Authorization.indexOf("q-signature")>-1?r(n.Authorization):"sign="+encodeURIComponent(n.Authorization)),n.SecurityToken&&(o+="&x-cos-security-token="+n.SecurityToken),n.ClientIP&&(o+="&clientIP="+n.ClientIP),n.ClientUA&&(o+="&clientUA="+n.ClientUA),n.Token&&(o+="&token="+n.Token),a&&(o+="&"+a),setTimeout((function(){t(null,{Url:o})}))}}));return u?(s+="?"+u.Authorization+(u.SecurityToken?"&x-cos-security-token="+u.SecurityToken:""),a&&(s+="&"+a)):a&&(s+="?"+a),s}function Te(e){var t={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},n={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},r=e&&e.AccessControlList||{},i=r.Grant;i&&(i=o.isArray(i)?i:[i]);var a={READ:0,WRITE:0,FULL_CONTROL:0};return i&&i.length&&o.each(i,(function(r){var i=r.Grantee.URI&&r.Grantee.URI.endsWith("/groups/global/AllUsers");"qcs::cam::anyone:anyone"===r.Grantee.ID||i?a[r.Permission]=1:r.Grantee.ID!==e.Owner.ID&&t[n[r.Permission]].push('id="'+r.Grantee.ID+'"')})),a.FULL_CONTROL||a.WRITE&&a.READ?t.ACL="public-read-write":a.READ?t.ACL="public-read":t.ACL="private",o.each(n,(function(e){t[e]=Oe(t[e].join(","))})),t}function Oe(e){var t,n,r=e.split(","),i={};for(t=0;t<r.length;)n=r[t].trim(),i[n]?r.splice(t,1):(i[n]=!0,r[t]=n,t++);return r.join(",")}function Le(e){var t=e.region||"",n=e.bucket||"",i=n.substr(0,n.lastIndexOf("-")),a=n.substr(n.lastIndexOf("-")+1),s=e.domain,l=e.object;"function"===typeof s&&(s=s({Bucket:n,Region:t})),["http","https"].includes(e.protocol)&&(e.protocol=e.protocol+":");var u=e.protocol||(o.isBrowser&&"object"===("undefined"===typeof location?"undefined":r(location))&&"http:"===location.protocol?"http:":"https:");s||(s=["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(t)>-1?"{Region}.myqcloud.com":"cos.{Region}.myqcloud.com",e.ForcePathStyle||(s="{Bucket}."+s)),s=s.replace(/\{\{AppId\}\}/gi,a).replace(/\{\{Bucket\}\}/gi,i).replace(/\{\{Region\}\}/gi,t).replace(/\{\{.*?\}\}/gi,""),s=s.replace(/\{AppId\}/gi,a).replace(/\{BucketName\}/gi,i).replace(/\{Bucket\}/gi,n).replace(/\{Region\}/gi,t).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(s)||(s=u+"//"+s),"/"===s.slice(-1)&&(s=s.slice(0,-1));var c=s;return e.ForcePathStyle&&(c+="/"+n),c+="/",l&&(c+=o.camSafeUrlEncode(l).replace(/%2F/g,"/")),e.isLocation&&(c=c.replace(/^https?:\/\//,"")),c}var Ae=function(e){if(!e.Bucket||!e.Region)return"";var t=void 0===e.UseAccelerate?this.options.UseAccelerate:e.UseAccelerate,n=e.Url||Le({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:e.Bucket,region:t?"accelerate":e.Region}),r=n.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return r};function De(e,t){var n=o.clone(e.Headers),r="";o.each(n,(function(e,t){(""===e||["content-type","cache-control","expires"].indexOf(t.toLowerCase())>-1)&&delete n[t],"host"===t.toLowerCase()&&(r=e)}));var i=!1!==e.ForceSignHost;!r&&e.SignHost&&i&&(n.Host=e.SignHost);var a=!1,s=function(e,n){a||(a=!0,n&&n.XCosSecurityToken&&!n.SecurityToken&&(n=o.clone(n),n.SecurityToken=n.XCosSecurityToken,delete n.XCosSecurityToken),t&&t(e,n))},l=this,u=e.Bucket||"",c=e.Region||"",d=e.Key||"";l.options.ForcePathStyle&&u&&(d=u+"/"+d);var h="/"+d,f={},p=e.Scope;if(!p){var m=e.Action||"",g=e.ResourceKey||e.Key||"";p=e.Scope||[{action:m,bucket:u,region:c,prefix:g}]}var v=o.md5(JSON.stringify(p));l._StsCache=l._StsCache||[],function(){var e,t;for(e=l._StsCache.length-1;e>=0;e--){t=l._StsCache[e];var n=Math.round(o.getSkewTime(l.options.SystemClockOffset)/1e3)+30;if(t.StartTime&&n<t.StartTime||n>=t.ExpiredTime)l._StsCache.splice(e,1);else if(!t.ScopeLimit||t.ScopeLimit&&t.ScopeKey===v){f=t;break}}}();var y=function(){var t="";f.StartTime&&e.Expires?t=f.StartTime+";"+(f.StartTime+1*e.Expires):f.StartTime&&f.ExpiredTime&&(t=f.StartTime+";"+f.ExpiredTime);var r=o.getAuth({SecretId:f.TmpSecretId,SecretKey:f.TmpSecretKey,Method:e.Method,Pathname:h,Query:e.Query,Headers:n,Expires:e.Expires,UseRawKey:l.options.UseRawKey,SystemClockOffset:l.options.SystemClockOffset,KeyTime:t,ForceSignHost:i}),a={Authorization:r,SecurityToken:f.SecurityToken||f.XCosSecurityToken||"",Token:f.Token||"",ClientIP:f.ClientIP||"",ClientUA:f.ClientUA||"",SignFrom:"client"};s(null,a)},b=function(e){if(e.Authorization){var t=!1,n=e.Authorization;if(n)if(n.indexOf(" ")>-1)t=!1;else if(n.indexOf("q-sign-algorithm=")>-1&&n.indexOf("q-ak=")>-1&&n.indexOf("q-sign-time=")>-1&&n.indexOf("q-key-time=")>-1&&n.indexOf("q-url-param-list=")>-1)t=!0;else try{n=atob(n),n.indexOf("a=")>-1&&n.indexOf("k=")>-1&&n.indexOf("t=")>-1&&n.indexOf("r=")>-1&&n.indexOf("b=")>-1&&(t=!0)}catch(r){}if(!t)return o.error(new Error("getAuthorization callback params format error"))}else{if(!e.TmpSecretId)return o.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!e.TmpSecretKey)return o.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!e.SecurityToken&&!e.XCosSecurityToken)return o.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!e.ExpiredTime)return o.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(e.ExpiredTime&&10!==e.ExpiredTime.toString().length)return o.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(e.StartTime&&10!==e.StartTime.toString().length)return o.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(f.ExpiredTime&&f.ExpiredTime-o.getSkewTime(l.options.SystemClockOffset)/1e3>60)y();else if(l.options.getAuthorization)l.options.getAuthorization.call(l,{Bucket:u,Region:c,Method:e.Method,Key:d,Pathname:h,Query:e.Query,Headers:n,Scope:p,SystemClockOffset:l.options.SystemClockOffset,ForceSignHost:i},(function(e){"string"===typeof e&&(e={Authorization:e});var t=b(e);if(t)return s(t);e.Authorization?s(null,e):(f=e||{},f.Scope=p,f.ScopeKey=v,l._StsCache.push(f),y())}));else{if(!l.options.getSTS)return function(){var t="";if(l.options.StartTime&&e.Expires){if(10!==l.options.StartTime.toString().length)return s(o.error(new Error('params "StartTime" should be 10 digits')));t=l.options.StartTime+";"+(l.options.StartTime+1*e.Expires)}else if(l.options.StartTime&&l.options.ExpiredTime){if(10!==l.options.StartTime.toString().length)return s(o.error(new Error('params "StartTime" should be 10 digits')));if(10!==l.options.ExpiredTime.toString().length)return s(o.error(new Error('params "ExpiredTime" should be 10 digits')));t=l.options.StartTime+";"+1*l.options.ExpiredTime}var r=o.getAuth({SecretId:e.SecretId||l.options.SecretId,SecretKey:e.SecretKey||l.options.SecretKey,Method:e.Method,Pathname:h,Query:e.Query,Headers:n,Expires:e.Expires,KeyTime:t,UseRawKey:l.options.UseRawKey,SystemClockOffset:l.options.SystemClockOffset,ForceSignHost:i}),a={Authorization:r,SecurityToken:l.options.SecurityToken||l.options.XCosSecurityToken,SignFrom:"client"};return s(null,a),a}();l.options.getSTS.call(l,{Bucket:u,Region:c},(function(e){f=e||{},f.Scope=p,f.ScopeKey=v,f.TmpSecretId||(f.TmpSecretId=f.SecretId),f.TmpSecretKey||(f.TmpSecretKey=f.SecretKey);var t=b(f);if(t)return s(t);l._StsCache.push(f),y()}))}return""}function Ee(e){var t=this,n=!1,r=!1,i=!1,a=e.headers&&(e.headers.date||e.headers.Date)||e.error&&e.error.ServerTime;try{var s=e.error.Code,l=e.error.Message;("RequestTimeTooSkewed"===s||"AccessDenied"===s&&"Request has expired"===l)&&(r=!0)}catch(c){}if(e)if(r&&a){var u=Date.parse(a);this.options.CorrectClockSkew&&Math.abs(o.getSkewTime(this.options.SystemClockOffset)-u)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=u-Date.now(),n=!0)}else 5===Math.floor(e.statusCode/100)?n=!0:"CORS blocked or network error"===e.message&&(i=!0,n=t.options.AutoSwitchHost);return{canRetry:n,networkError:i}}function Ie(e){var t=e.requestUrl,n=e.clientCalcSign,r=e.networkError;if(!this.options.AutoSwitchHost)return!1;if(!t)return!1;if(!n)return!1;if(!r)return!1;var i=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,o=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,a=i.test(t)&&!o.test(t);return a}function je(e,t){var n=this;!e.headers&&(e.headers={}),!e.qs&&(e.qs={}),e.VersionId&&(e.qs.versionId=e.VersionId),e.qs=o.clearKey(e.qs),e.headers&&(e.headers=o.clearKey(e.headers)),e.qs&&(e.qs=o.clearKey(e.qs));var r=o.clone(e.qs);e.action&&(r[e.action]="");var i=e.url||e.Url,a=e.SignHost||Ae.call(this,{Bucket:e.Bucket,Region:e.Region,Url:i}),s=e.tracker,l=function i(o){var l=n.options.SystemClockOffset;s&&s.setParams({signStartTime:(new Date).getTime(),httpRetryTimes:o-1}),e.SwitchHost&&(a=a.replace(/myqcloud.com/,"tencentcos.cn")),De.call(n,{Bucket:e.Bucket||"",Region:e.Region||"",Method:e.method,Key:e.Key,Query:r,Headers:e.headers,SignHost:a,Action:e.Action,ResourceKey:e.ResourceKey,Scope:e.Scope,ForceSignHost:n.options.ForceSignHost,SwitchHost:e.SwitchHost},(function(r,a){r?t(r):(s&&s.setParams({signEndTime:(new Date).getTime(),httpStartTime:(new Date).getTime()}),e.AuthData=a,Pe.call(n,e,(function(r,u){s&&s.setParams({httpEndTime:(new Date).getTime()});var c=!1,d=!1;if(r){var h=Ee.call(n,r);c=h.canRetry||l!==n.options.SystemClockOffset,d=h.networkError}if(r&&o<2&&c){e.headers&&(delete e.headers.Authorization,delete e.headers["token"],delete e.headers["clientIP"],delete e.headers["clientUA"],e.headers["x-cos-security-token"]&&delete e.headers["x-cos-security-token"],e.headers["x-ci-security-token"]&&delete e.headers["x-ci-security-token"]);var f=Ie.call(n,{requestUrl:(null===r||void 0===r?void 0:r.url)||"",clientCalcSign:"client"===a.SignFrom,networkError:d});e.SwitchHost=f,e.retry=!0,i(o+1)}else t(r,u)})))}))};l(1)}function Pe(e,t){var n=this,r=e.TaskId;if(!r||n._isRunningTask(r)){var a=e.Bucket,s=e.Region,l=e.Key,u=e.method||"GET",c=e.Url||e.url,d=e.body,h=e.rawBody;n.options.UseAccelerate&&(s="accelerate"),c=c||Le({ForcePathStyle:n.options.ForcePathStyle,protocol:n.options.Protocol,domain:n.options.Domain,bucket:a,region:s,object:l}),e.SwitchHost&&(c=c.replace(/myqcloud.com/,"tencentcos.cn"));var f=l?c:"";e.action&&(c=c+"?"+(o.isIOS_QQ?"".concat(e.action,"="):e.action)),e.qsStr&&(c=c.indexOf("?")>-1?c+"&"+e.qsStr:c+"?"+e.qsStr);var p={method:u,url:c,headers:e.headers,qs:e.qs,body:d},m="x-cos-security-token";if(o.isCIHost(c)&&(m="x-ci-security-token"),p.headers.Authorization=e.AuthData.Authorization,e.AuthData.Token&&(p.headers["token"]=e.AuthData.Token),e.AuthData.ClientIP&&(p.headers["clientIP"]=e.AuthData.ClientIP),e.AuthData.ClientUA&&(p.headers["clientUA"]=e.AuthData.ClientUA),e.AuthData.SecurityToken&&(p.headers[m]=e.AuthData.SecurityToken),e.Action&&(p.action=e.Action),p.key=e.Key||e.ResourceKey,p.headers&&(p.headers=o.clearKey(p.headers)),e.retry&&(p.headers["x-cos-sdk-retry"]=!0),p=o.clearKey(p),e.onProgress&&"function"===typeof e.onProgress){var g=d&&(d.size||d.length)||0;p.onProgress=function(t){if(!r||n._isRunningTask(r)){var i=t?t.loaded:0;e.onProgress({loaded:i,total:g})}}}e.onDownloadProgress&&(p.onDownloadProgress=e.onDownloadProgress),e.DataType&&(p.dataType=e.DataType),this.options.Timeout&&(p.timeout=this.options.Timeout),n.options.ForcePathStyle&&(p.pathStyle=n.options.ForcePathStyle),n.emit("before-send",p);var v,y=p.url.includes("accelerate."),b=p.qs?Object.keys(p.qs).map((function(e){return"".concat(e,"=").concat(p.qs[e])})).join("&"):"",_=b?p.url+"?"+b:p.url;if(e.tracker)e.tracker.setParams({url:_,httpMethod:p.method,accelerate:y,httpSize:(null===(v=p.body)||void 0===v?void 0:v.size)||0}),e.tracker.parent&&!e.tracker.parent.params.url&&e.tracker.parent.setParams({url:f,accelerate:y});var w=(n.options.Request||i)(p,(function(i){if(!i||"abort"!==i.error){var a={options:p,error:i&&i.error,statusCode:i&&i.statusCode||0,statusMessage:i&&i.statusMessage||"",headers:i&&i.headers||{},body:i&&i.body};n.emit("after-receive",a);var s,l=a.error,u=a.body,c={statusCode:a.statusCode,statusMessage:a.statusMessage,headers:a.headers},d=function(i,a){if(r&&n.off("inner-kill-task",x),!s){s=!0;var l={};if(c&&c.statusCode&&(l.statusCode=c.statusCode),c&&c.headers&&(l.headers=c.headers),i)p.url&&(l.url=p.url),p.method&&(l.method=p.method),i=o.extend(i||{},l),t(i,null);else{if("name/cos:PutObject"===e.Action){var u={};for(var d in e.headers){var h=d.toLowerCase();u[h]=e.headers[d]}u["x-cos-callback"]?a.Error?(a.CallbackError=o.clone(a.Error),delete a.Error):a.CallbackBody=o.clone(a):u["x-cos-return-body"]&&(a.Error?(a.ReturnError=o.clone(a.Error),delete a.Error):a.ReturnBody=o.clone(a))}a=o.extend(a||{},l),t(null,a)}w=null}};if(l)return d(o.error(l));var f=c.statusCode,m=2===Math.floor(f/100);if(h){if(m)return d(null,{body:u});if(u instanceof Blob)return void o.readAsBinaryString(u,(function(e){var t=o.parseResBody(e),n=t.Error||t;return d(o.error(new Error(n.Message||"response body error"),{code:n.Code,error:n}))}))}var g=o.parseResBody(u),v=g.Error||g;m?d(null,g):v?d(o.error(new Error(v.Message),{code:v.Code,error:v})):f?d(o.error(new Error(c.statusMessage),{code:""+f})):f&&d(o.error(new Error("statusCode error")))}})),x=function e(t){t.TaskId===r&&(w&&w.abort&&w.abort(),n.off("inner-kill-task",e))};r&&n.on("inner-kill-task",x)}}var Re={getService:a,putBucket:s,headBucket:l,getBucket:u,deleteBucket:c,putBucketAcl:d,getBucketAcl:h,putBucketCors:f,getBucketCors:p,deleteBucketCors:m,getBucketLocation:g,getBucketPolicy:y,putBucketPolicy:v,deleteBucketPolicy:b,putBucketTagging:_,getBucketTagging:w,deleteBucketTagging:x,putBucketLifecycle:k,getBucketLifecycle:M,deleteBucketLifecycle:S,putBucketVersioning:C,getBucketVersioning:T,putBucketReplication:O,getBucketReplication:L,deleteBucketReplication:A,putBucketWebsite:D,getBucketWebsite:E,deleteBucketWebsite:I,putBucketReferer:j,getBucketReferer:P,putBucketDomain:R,getBucketDomain:N,deleteBucketDomain:B,putBucketOrigin:Y,getBucketOrigin:F,deleteBucketOrigin:z,putBucketLogging:H,getBucketLogging:V,putBucketInventory:U,postBucketInventory:$,getBucketInventory:G,listBucketInventory:q,deleteBucketInventory:X,putBucketAccelerate:K,getBucketAccelerate:Z,putBucketEncryption:J,getBucketEncryption:Q,deleteBucketEncryption:ee,getObject:re,headObject:te,listObjectVersions:ne,putObject:ie,deleteObject:oe,getObjectAcl:ae,putObjectAcl:se,optionsObject:le,putObjectCopy:ue,deleteMultipleObject:de,restoreObject:he,putObjectTagging:fe,getObjectTagging:pe,deleteObjectTagging:me,selectObjectContent:ge,appendObject:Me,uploadPartCopy:ce,multipartInit:ve,multipartUpload:ye,multipartComplete:be,multipartList:_e,multipartListPart:we,multipartAbort:xe,request:ke,getObjectUrl:Ce,getAuth:Se};function Ne(e,t,n){o.each(["Cors","Acl"],(function(r){if(e.slice(-r.length)===r){var i=e.slice(0,-r.length)+r.toUpperCase(),a=o.apiWrapper(e,t),s=!1;n[i]=function(){!s&&console.warn("warning: cos."+i+" has been deprecated. Please Use cos."+e+" instead."),s=!0,a.apply(this,arguments)}}}))}e.exports.init=function(e,t){t.transferToTaskMethod(Re,"putObject"),o.each(Re,(function(t,n){e.prototype[n]=o.apiWrapper(n,t),Ne(n,t,e.prototype)}))}},"./src/cos.js":
  277. /*!********************!*\
  278. !*** ./src/cos.js ***!
  279. \********************/
  280. /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ./util */"./src/util.js"),i=n(/*! ./event */"./src/event.js"),o=n(/*! ./task */"./src/task.js"),a=n(/*! ./base */"./src/base.js"),s=n(/*! ./advance */"./src/advance.js"),l=n(/*! ../package.json */"./package.json"),u={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",StartTime:0,ExpiredTime:0,ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},c=function(e){if(this.options=r.extend(r.clone(u),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),r.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");i.init(this),o.init(this)};a.init(c,o),s.init(c,o),c.util={md5:r.md5,xml2json:r.xml2json,json2xml:r.json2xml,encodeBase64:r.encodeBase64},c.getAuthorization=r.getAuth,c.version=l.version,e.exports=c},"./src/event.js":
  281. /*!**********************!*\
  282. !*** ./src/event.js ***!
  283. \**********************/
  284. /*! no static exports found */function(e,t){var n=function(e){var t={},n=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),n(e).push(t)},e.off=function(e,t){for(var r=n(e),i=r.length-1;i>=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),i=0;i<r.length;i++)r[i](t)}},r=function(){n(this)};e.exports.init=n,e.exports.EventProxy=r},"./src/session.js":
  285. /*!************************!*\
  286. !*** ./src/session.js ***!
  287. \************************/
  288. /*! no static exports found */function(e,t,n){var r,i,o=n(/*! ./util */"./src/util.js"),a="cos_sdk_upload_cache",s=2592e3,l=function(){try{var e=JSON.parse(localStorage.getItem(a))}catch(t){}e||(e=[]),r=e},u=function(){try{r.length?localStorage.setItem(a,JSON.stringify(r)):localStorage.removeItem(a)}catch(e){}},c=function(){if(!r){l.call(this);for(var e=!1,t=Math.round(Date.now()/1e3),n=r.length-1;n>=0;n--){var i=r[n][2];(!i||i+s<t)&&(r.splice(n,1),e=!0)}e&&u()}},d=function(){i||(i=setTimeout((function(){u(),i=null}),400))},h={using:{},setUsing:function(e){h.using[e]=!0},removeUsing:function(e){delete h.using[e]},getFileId:function(e,t,n,r){return e.name&&e.size&&e.lastModifiedDate&&t?o.md5([e.name,e.size,e.lastModifiedDate,t,n,r].join("::")):null},getCopyFileId:function(e,t,n,r,i){var a=t["content-length"],s=t.etag||"",l=t["last-modified"];return e&&n?o.md5([e,a,s,l,n,r,i].join("::")):null},getUploadIdList:function(e){if(!e)return null;c.call(this);for(var t=[],n=0;n<r.length;n++)r[n][0]===e&&t.push(r[n][1]);return t.length?t:null},saveUploadId:function(e,t,n){if(c.call(this),e){for(var i=r.length-1;i>=0;i--){var o=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),d()}},removeUploadId:function(e){c.call(this),delete h.using[e];for(var t=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);d()}};e.exports=h},"./src/task.js":
  289. /*!*********************!*\
  290. !*** ./src/task.js ***!
  291. \*********************/
  292. /*! no static exports found */function(e,t,n){var r=n(/*! ./session */"./src/session.js"),i=n(/*! ./util */"./src/util.js"),o={},a=function(e,t){o[t]=e[t],e[t]=function(e,n){e.SkipTask?o[t].call(this,e,n):this._addTask(t,e,n)}},s=function(e){var t=[],n={},a=0,s=0,l=function(e){var t={id:e.id,Bucket:e.Bucket,Region:e.Region,Key:e.Key,FilePath:e.FilePath,state:e.state,loaded:e.loaded,size:e.size,speed:e.speed,percent:e.percent,hashPercent:e.hashPercent,error:e.error};return e.FilePath&&(t.FilePath=e.FilePath),e._custom&&(t._custom=e._custom),t},u=function(){var n,r=function(){n=0,e.emit("task-list-update",{list:i.map(t,l)}),e.emit("list-update",{list:i.map(t,l)})};return function(){n||(n=setTimeout(r))}}(),c=function(){if(!(t.length<=e.options.UploadQueueSize)){for(var r=0;r<s&&r<t.length&&t.length>e.options.UploadQueueSize;){var i="waiting"===t[r].state||"checking"===t[r].state||"uploading"===t[r].state;t[r]&&i?r++:(n[t[r].id]&&delete n[t[r].id],t.splice(r,1),s--)}u()}},d=function n(){if(!(a>=e.options.FileParallelLimit)){while(t[s]&&"waiting"!==t[s].state)s++;if(!(s>=t.length)){var r=t[s];s++,a++,r.state="checking",r.params.onTaskStart&&r.params.onTaskStart(l(r)),!r.params.UploadData&&(r.params.UploadData={});var d=i.formatParams(r.api,r.params);o[r.api].call(e,d,(function(t,i){e._isRunningTask(r.id)&&("checking"!==r.state&&"uploading"!==r.state||(r.state=t?"error":"success",t&&(r.error=t),a--,u(),n(),r.callback&&r.callback(t,i),"success"===r.state&&(r.params&&(delete r.params.UploadData,delete r.params.Body,delete r.params),delete r.callback)),c())})),u(),setTimeout(n)}}},h=function(t,i){var o=n[t];if(o){var s=o&&"waiting"===o.state,l=o&&("checking"===o.state||"uploading"===o.state);if("canceled"===i&&"canceled"!==o.state||"paused"===i&&s||"paused"===i&&l){o.state=i,e.emit("inner-kill-task",{TaskId:t,toState:i});try{var h=o&&o.params&&o.params.UploadData.UploadId}catch(f){}"canceled"===i&&h&&r.removeUsing(h),u(),l&&(a--,d()),"canceled"===i&&(o.params&&(delete o.params.UploadData,delete o.params.Body,delete o.params),delete o.callback)}c()}};e._addTasks=function(t){i.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),u()};var f=!0;e._addTask=function(r,o,a,s){o=i.formatParams(r,o);var l=i.uuid();o.TaskId=l,o.onTaskReady&&o.onTaskReady(l),o.TaskReady&&(o.TaskReady(l),f&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),f=!1);var h={params:o,callback:a,api:r,index:t.length,id:l,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:o._custom},p=o.onHashProgress;o.onHashProgress=function(t){e._isRunningTask(h.id)&&(h.hashPercent=t.percent,p&&p(t),u())};var m=o.onProgress;return o.onProgress=function(t){e._isRunningTask(h.id)&&("checking"===h.state&&(h.state="uploading"),h.loaded=t.loaded,h.speed=t.speed,h.percent=t.percent,m&&m(t),u())},i.getFileSize(r,o,(function(e,r){if(e)return a(i.error(e));n[l]=h,t.push(h),h.size=r,!s&&u(),d(),c()})),l},e._isRunningTask=function(e){var t=n[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){return i.map(t,l)},e.cancelTask=function(e){h(e,"canceled")},e.pauseTask=function(e){h(e,"paused")},e.restartTask=function(e){var t=n[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),s=Math.min(s,t.index),d())},e.isUploadRunning=function(){return a||s<t.length}};e.exports.transferToTaskMethod=a,e.exports.init=s},"./src/tracker.js":
  293. /*!************************!*\
  294. !*** ./src/tracker.js ***!
  295. \************************/
  296. /*! no static exports found */function(e,t,n){var r=n(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a=n(/*! ../package.json */"./package.json"),s=null,l=function(e,t){if(!s){if("function"!==typeof e)throw new Error("Beacon not found");s=new e({appkey:"0WEB05PY6MHRGK0U",versionCode:a.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:t,sessionDuration:6e4})}return s},u=function(e){return!e||e<0?0:(e/1e3).toFixed(3)},c={getUid:function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},getNetType:function(){if("object"===("undefined"===typeof navigator?"undefined":o(navigator))){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(null===e||void 0===e?void 0:e.type)||(null===e||void 0===e?void 0:e.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return"object"===("undefined"===typeof location?"undefined":o(location))?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if("object"!==("undefined"===typeof navigator?"undefined":o(navigator)))return"unknown os";var e=navigator.userAgent.toLowerCase(),t=/macintosh|mac os x/i.test(navigator.userAgent);return e.indexOf("win32")>=0||e.indexOf("wow32")>=0?"win32":e.indexOf("win64")>=0||e.indexOf("wow64")>=0?"win64":t?"mac":"unknown os"},isMobile:function(){var e=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isAndroid:function(){var e=/(Android|Adr|Linux)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isIOS:function(){var e=/(iPhone|iPod|iPad|iOS)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isOtherMobile:function(){return d&&!isAndroid&&!isIOS},getUA:function(){if("object"!==("undefined"===typeof navigator?"undefined":o(navigator)))return"unknown device";var e=navigator.userAgent;return e}},d=c.isMobile(),h=c.isAndroid()?"android":c.isIOS?"ios":"other_mobile",f=c.getOsType(),p=d?h:f,m=c.getUA(),g=c.getProtocol(),v=function(e){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(e)?"UploadTask":"getObject"===e?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(e)?"CopyTask":e};function y(e){return e.replace(/([A-Z])/g,"_$1").toLowerCase()}function b(e){var t={},n=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],r=[].concat(n,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),i="Success"===e.requestResult?n:r;for(var o in e)if(i.includes(o)){var a=y(o);t[a]=e[o]}return t["request_name"]=e.realApi?v(e.realApi):e.requestName,t}var _=function(){"use strict";function e(t){r(this,e);var n=t.parent,i=t.traceId,o=t.bucket,s=t.region,u=t.apiName,d=t.realApi,h=t.httpMethod,f=t.fileKey,v=t.fileSize,y=t.accelerate,b=t.customId,_=t.delay,w=t.deepTracker,x=t.Beacon,k=t.clsReporter,M=o&&o.substr(o.lastIndexOf("-")+1)||"";this.parent=n,this.deepTracker=w,this.delay=_,k&&!this.clsReporter&&(this.clsReporter=k),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:a.version,osName:p,networkType:"",requestName:u||"",requestResult:"",realApi:d,bucket:o,region:s,accelerate:y,httpMethod:h,url:"",host:"",httpDomain:"",requestPath:f||"",userAgent:m,networkProtocol:g,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:v||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:(new Date).getTime(),endTime:0,traceId:i||c.getUid(),appid:M,partNumber:0,httpRetryTimes:0,customId:b||"",partTime:0},x&&(this.beacon=l(x,_))}return i(e,[{key:"formatResult",value:function(e,t){var n,r,i,o,a,s,l=(new Date).getTime(),d=c.getNetType(),h=e?(null===e||void 0===e?void 0:e.code)||(null===e||void 0===e||null===(n=e.error)||void 0===n?void 0:n.code)||(null===e||void 0===e||null===(r=e.error)||void 0===r?void 0:r.Code):"",f=e?(null===e||void 0===e?void 0:e.message)||(null===e||void 0===e||null===(i=e.error)||void 0===i?void 0:i.message)||(null===e||void 0===e||null===(o=e.error)||void 0===o?void 0:o.Message):"",p=f,m=e?(null===e||void 0===e?void 0:e.resource)||(null===e||void 0===e||null===(a=e.error)||void 0===a?void 0:a.resource)||(null===e||void 0===e||null===(s=e.error)||void 0===s?void 0:s.Resource):"",g=e?null===e||void 0===e?void 0:e.statusCode:t.statusCode,v=e?(null===e||void 0===e?void 0:e.headers)&&(null===e||void 0===e?void 0:e.headers["x-cos-request-id"]):(null===t||void 0===t?void 0:t.headers)&&(null===t||void 0===t?void 0:t.headers["x-cos-request-id"]),y=e?v?"Server":"Client":"";"getObject"===this.params.requestName&&(this.params.httpSize=t?t.headers&&t.headers["content-length"]:0);var b="sliceUploadFile"===this.params.realApi,_="sliceCopyFile"===this.params.realApi;if(b||_){var w=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:w<0?0:w.toFixed(3)})}else{var x=l-this.params.startTime,k=this.params.httpEndTime-this.params.httpStartTime,M=this.params.httpSize/1024/(k/1e3),S=this.params.md5EndTime-this.params.md5StartTime,C=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",u(k)),this.parent.addParamValue("httpFullTime",u(x)),this.parent.addParamValue("httpMd5",u(S)),this.parent.addParamValue("httpSign",u(C)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",u(k))),Object.assign(this.params,{httpFullTime:u(x),httpMd5:u(S),httpSign:u(C),httpTookTime:u(k),httpSpeed:M<0?0:M.toFixed(3)})}if(Object.assign(this.params,{networkType:d,requestResult:e?"Failure":"Success",errorType:y,errorCode:h,errorHttpCode:g,errorName:p,errorMessage:f,errorServiceName:m,errorRequestId:v}),!e||h&&f||(this.params.fullError=e?JSON.stringify(e):""),this.params.url){try{var T=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=T[2]}catch(O){this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(e,t){if(this.beacon||this.clsReporter){this.formatResult(e,t);var n=b(this.params);this.beacon&&this.sendEventsToBeacon(n),this.clsReporter&&this.sendEventsToCLS(n)}}},{key:"setParams",value:function(e){Object.assign(this.params,e)}},{key:"addParamValue",value:function(e,t){this.params[e]=(+this.params[e]+ +t).toFixed(3)}},{key:"sendEventsToBeacon",value:function(e){var t="sliceUploadFile"===this.params.requestName||"sliceUploadFile"===this.params.realApi;if(!t||this.deepTracker){var n="qcloud_track_cos_sdk";0===this.delay?this.beacon&&this.beacon.onDirectUserAction(n,e):this.beacon&&this.beacon.onUserAction(n,e)}}},{key:"sendEventsToCLS",value:function(e){var t=!(0!==this.delay);this.clsReporter.log(e,t)}},{key:"generateSubTracker",value:function(t){return Object.assign(t,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new e(t)}}]),e}();e.exports=_},"./src/util.js":
  297. /*!*********************!*\
  298. !*** ./src/util.js ***!
  299. \*********************/
  300. /*! no static exports found */function(e,t,n){"use strict";(function(t){var r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var s=n(/*! ../lib/md5 */"./lib/md5.js"),l=n(/*! ../lib/crypto */"./lib/crypto.js"),u=n(/*! fast-xml-parser */"./node_modules/fast-xml-parser/src/fxp.js"),c=u.XMLParser,d=u.XMLBuilder,h=new c({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),f=new d,p=n(/*! ../lib/base64 */"./lib/base64.js"),m=n(/*! ./tracker */"./src/tracker.js"),g=function(e){var t=h.parse(e);return t},v=function(e){var t=f.build(e);return t};function y(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function b(e,t){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(t?y(r).toLowerCase():r);return n.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))}var _=function(e,t){var n,r,i,o=[],a=b(e);for(n=0;n<a.length;n++)r=a[n],i=void 0===e[r]||null===e[r]?"":""+e[r],r=t?y(r).toLowerCase():y(r),i=y(i)||"",o.push(r+"="+i);return o.join("&")},w=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding","pic-operations"],x=function(e){var t={};for(var n in e){var r=n.toLowerCase();(r.indexOf("x-cos-")>-1||w.indexOf(r)>-1)&&(t[n]=e[n])}return t},k=function(e){e=e||{};var t,n=e.SecretId,r=e.SecretKey,i=e.KeyTime,o=(e.method||e.Method||"get").toLowerCase(),a=R(e.Query||e.params||{}),s=x(R(e.Headers||e.headers||{})),u=e.Key||"";e.UseRawKey?t=e.Pathname||e.pathname||"/"+u:(t=e.Pathname||e.pathname||u,0!==t.indexOf("/")&&(t="/"+t));var c=!1!==e.ForceSignHost;if(!s.Host&&!s.host&&e.Bucket&&e.Region&&c&&(s.Host=e.Bucket+".cos."+e.Region+".myqcloud.com"),!n)throw new Error("missing param SecretId");if(!r)throw new Error("missing param SecretKey");var d=Math.round(J(e.SystemClockOffset)/1e3)-1,h=d,f=e.Expires||e.expires;h+=void 0===f?900:1*f||0;var p="sha1",m=n,g=i||d+";"+h,v=i||d+";"+h,y=b(s,!0).join(";").toLowerCase(),_=b(a,!0).join(";").toLowerCase(),w=l.HmacSHA1(v,r).toString(),k=[o,t,ue.obj2str(a,!0),ue.obj2str(s,!0),""].join("\n"),M=["sha1",g,l.SHA1(k).toString(),""].join("\n"),S=l.HmacSHA1(M,w).toString(),C=["q-sign-algorithm="+p,"q-ak="+m,"q-sign-time="+g,"q-key-time="+v,"q-header-list="+y,"q-url-param-list="+_,"q-signature="+S].join("&");return C},M=function(e,t,n){var r=t/8,i=e.slice(n,n+r);return new Uint8Array(i).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[t](i)[0]},S=function(e,t,n,r){var i=e.slice(t,n),o="";return new Uint8Array(i).forEach((function(e){o+=String.fromCharCode(e)})),r&&(o=decodeURIComponent(escape(o))),o},C=function(e){var t={},n=S(e),r={records:[]};while(e.byteLength){var i,o=M(e,32,0),a=M(e,32,4),s=o-a-16,l=0;e=e.slice(12);while(l<a){var u=M(e,8,l),c=S(e,l+1,l+1+u),d=M(e,16,l+u+2),h=S(e,l+u+4,l+u+4+d);t[c]=h,l+=u+4+d}if("Records"===t[":event-type"])i=S(e,l,l+s,!0),r.records.push(i);else if("Stats"===t[":event-type"])i=S(e,l,l+s,!0),r.stats=ue.xml2json(i).Stats;else if("error"===t[":event-type"]){var f=t[":error-code"],p=t[":error-message"],m=new Error(p);m.message=p,m.name=m.code=f,r.error=m}else["Progress","Continuation","End"].includes(t[":event-type"]);e=e.slice(l+s+4)}return{payload:r.records.join(""),body:n}},T=function(e){var t=this.options.CopySourceParser;if(t)return t(e);var n=e.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return n?{Bucket:n[1],Region:n[3],Key:n[7]}:null},O=function(){},L=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&null!==e[n]&&(t[n]=e[n]);return t},A=function(e,t){var n,r=new FileReader;FileReader.prototype.readAsBinaryString?(n=FileReader.prototype.readAsBinaryString,r.onload=function(){t(this.result)}):FileReader.prototype.readAsArrayBuffer?n=function(e){var n="",r=new FileReader;r.onload=function(e){for(var i=new Uint8Array(r.result),o=i.byteLength,a=0;a<o;a++)n+=String.fromCharCode(i[a]);t(n)},r.readAsArrayBuffer(e)}:console.error("FileReader not support readAsBinaryString"),n.call(r,e)},D=function(){var e=function(e,t){e=e.split("."),t=t.split(".");for(var n=0;n<t.length;n++)if(e[n]!==t[n])return parseInt(e[n])>parseInt(t[n])?1:-1;return 0},t=function(t){if(!t)return!1;var n=(t.match(/Chrome\/([.\d]+)/)||[])[1],r=(t.match(/QBCore\/([.\d]+)/)||[])[1],i=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],o=n&&e(n,"53.0.2785.116")<0&&r&&e(r,"3.53.991.400")<0&&i&&e(i,"9.0.2524.400")<=0||!1;return o};return t("undefined"!==typeof navigator&&navigator.userAgent)}(),E=function(e,t,n,r,i){var o;if(e.slice?o=e.slice(t,n):e.mozSlice?o=e.mozSlice(t,n):e.webkitSlice&&(o=e.webkitSlice(t,n)),r&&D){var a=new FileReader;a.onload=function(e){o=null,i(new Blob([a.result]))},a.readAsArrayBuffer(o)}else i(o)},I=function(e,t,n,r){n=n||O,e?"string"===typeof t?n(ue.md5(t,!0)):Blob&&t instanceof Blob?ue.getFileMd5(t,(function(e,t){n(t)}),r):n():n()},j=1048576,P=function(e,t,n){var r=e.size,i=0,o=s.getCtx(),a=function a(s){if(s>=r){var l=o.digest("hex");t(null,l)}else{var u=Math.min(r,s+j);ue.fileSlice(e,s,u,!1,(function(e){A(e,(function(t){e=null,o=o.update(t,!0),i+=t.length,t=null,n&&n({loaded:i,total:r,percent:Math.round(i/r*1e4)/1e4}),a(s+j)}))}))}};a(0)};function R(e){return V(e,(function(e){return"object"===r(e)&&null!==e?R(e):e}))}function N(e,t,n){return e&&t in e?e[t]:n}function B(e,t){return H(t,(function(n,r){e[r]=t[r]})),e}function Y(e){return e instanceof Array}function F(e,t){for(var n=!1,r=0;r<e.length;r++)if(t===e[r]){n=!0;break}return n}function z(e){return Y(e)?e:[e]}function H(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function V(e,t){var n=Y(e)?[]:{};for(var r in e)e.hasOwnProperty(r)&&(n[r]=t(e[r],r));return n}function W(e,t){var n=Y(e),r=n?[]:{};for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)&&(n?r.push(e[i]):r[i]=e[i]);return r}var U=function(e){var t,n,r,i="";for(t=0,n=e.length/2;t<n;t++)r=parseInt(e[2*t]+e[2*t+1],16),i+=String.fromCharCode(r);return btoa(i)},$=function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},G=function(e,t){var n=t.Bucket,r=t.Region,i=t.Key,o=this.options.Domain,a=!o||"string"===typeof o&&o.indexOf("{Bucket}")>-1,s=!o||"string"===typeof o&&o.indexOf("{Region}")>-1;if(e.indexOf("Bucket")>-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(a&&!n)return"Bucket";if(s&&!r)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e||"uploadFile"===e){if(a&&!n)return"Bucket";if(s&&!r)return"Region";if(!i)return"Key"}return!1},q=function(e,t){if(t=B({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var n=t.Headers||{};if(t&&"object"===r(t)){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(n[e]=t[e])})();var i={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations","x-cos-callback":"Callback","x-cos-callback-var":"CallbackVar","x-cos-return-body":"ReturnBody"};ue.each(i,(function(e,r){void 0!==t[e]&&(n[r]=t[e])})),t.Headers=L(n)}}return t},X=function(e,t){return function(n,r){var i,o=this;if("function"===typeof n&&(r=n,n={}),n=q(e,n),o.options.EnableReporter)if("sliceUploadFile"===n.calledBySdk||"sliceCopyFile"===n.calledBySdk)i=n.tracker&&n.tracker.generateSubTracker({apiName:e});else if(["uploadFile","uploadFiles"].includes(e))i=null;else{var a=0;n.Body&&(a="string"===typeof n.Body?n.Body.length:n.Body.size||n.Body.byteLength||0);var s=o.options.UseAccelerate||"string"===typeof o.options.Domain&&o.options.Domain.includes("accelerate.");i=new m({Beacon:o.options.BeaconReporter,clsReporter:o.options.ClsReporter,bucket:n.Bucket,region:n.Region,apiName:e,realApi:e,accelerate:s,fileKey:n.Key,fileSize:a,deepTracker:o.options.DeepTracker,customId:o.options.CustomId,delay:o.options.TrackerDelay})}n.tracker=i;var l=function(e){return e&&e.headers&&(e.headers["x-cos-request-id"]&&(e.RequestId=e.headers["x-cos-request-id"]),e.headers["x-ci-request-id"]&&(e.RequestId=e.headers["x-ci-request-id"]),e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},u=function(e,t){i&&i.report(e,t),r&&r(l(e),l(t))},c=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=G.call(o,e,n);if(t)return"missing param "+t;if(n.Region){if(o.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(n.Region))return"Region format error."}else{if(n.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(n.Region))return"Region format error."}o.options.CompatibilityMode||-1!==n.Region.indexOf("-")||"yfb"===n.Region||"default"===n.Region||"accelerate"===n.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(n.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(n.Bucket))if(n.AppId)n.Bucket=n.Bucket+"-"+n.AppId;else{if(!o.options.AppId)return'Bucket should format as "test-1250000000".';n.Bucket=n.Bucket+"-"+o.options.AppId}n.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete n.AppId)}!o.options.UseRawKey&&n.Key&&"/"===n.Key.substr(0,1)&&(n.Key=n.Key.substr(1))}},d=c(),h=["getAuth","getObjectUrl"].includes(e);if("function"===typeof Promise&&!h&&!r)return new Promise((function(e,i){if(r=function(t,n){t?i(t):e(n)},d)return u(ue.error(new Error(d)));t.call(o,n,u)}));if(d)return u(ue.error(new Error(d)));var f=t.call(o,n,u);return h?f:void 0}},K=function(e,t){var n,r,i=this,o=0,a=0,s=Date.now();function l(){if(r=0,t&&"function"===typeof t){n=Date.now();var i,l=Math.max(0,Math.round((a-o)/((n-s)/1e3)*100)/100)||0;i=0===a&&0===e?1:Math.floor(a/e*100)/100||0,s=n,o=a;try{t({loaded:a,total:e,speed:l,percent:i})}catch(u){}}}return function(t,n){if(t&&(a=t.loaded,e=t.total),n)clearTimeout(r),l();else{if(r)return;r=setTimeout(l,i.options.ProgressInterval)}}},Z=function(e,t,n){var r;"string"===typeof t.Body?t.Body=new Blob([t.Body],{type:"text/plain"}):t.Body instanceof ArrayBuffer&&(t.Body=new Blob([t.Body])),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(r=t.Body.size,t.ContentLength=r,n(null,r)):n(ue.error(new Error("params body format error, Only allow File|Blob|String.")))},J=function(e){return Date.now()+(e||0)},Q=function(e,t){var n=e;return e.message=e.message||null,"string"===typeof t?(e.error=t,e.message=t):"object"===r(t)&&null!==t&&(B(e,t),(t.code||t.name)&&(e.code=t.code||t.name),t.message&&(e.message=t.message),t.stack&&(e.stack=t.stack)),"function"===typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.code||(e.code=e.name),e.error||(e.error=R(n)),e},ee=function(){return"object"===("undefined"===typeof globalThis?"undefined":r(globalThis))&&("DedicatedWorkerGlobalScope"===globalThis.constructor.name||globalThis.FileReaderSync)},te=function(){return"object"!==("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof t?"undefined":r(t))&&!ee()},ne=function(e){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(e)},re=function(){if("object"!==("undefined"===typeof navigator?"undefined":r(navigator)))return!1;var e=navigator.userAgent,t=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return t}(),ie=function(){return"object"===("undefined"===typeof navigator?"undefined":r(navigator))&&/\sQQ/i.test(navigator.userAgent)}(),oe=function(e,t){var n=p.encode(e);return t&&(n=n.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),n},ae=function(e){return e?p.decode(e):""},se=function(e){var t,n=e.split("/"),r=[],o=i(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;".."===a?r.length&&r.pop():a.length&&"."!==a&&r.push(a)}}catch(s){o.e(s)}finally{o.f()}return"/"+r.join("/")},le=function(e){var t;if(e&&"string"===typeof e){var n=e.trim(),r=0===n.indexOf("<"),i=0===n.indexOf("{");if(r)t=ue.xml2json(e)||{};else if(i)try{var o=e.replace(/\n/g," "),a=JSON.parse(o);t="[object Object]"===Object.prototype.toString.call(a)?a:e}catch(s){t=e}else t=e}else t=e||{};return t},ue={noop:O,formatParams:q,apiWrapper:X,xml2json:g,json2xml:v,md5:s,clearKey:L,fileSlice:E,getBodyMd5:I,getFileMd5:P,b64:U,extend:B,isArray:Y,isInArray:F,makeArray:z,each:H,map:V,filter:W,clone:R,attr:N,uuid:$,camSafeUrlEncode:y,throttleOnProgress:K,getFileSize:Z,getSkewTime:J,error:Q,obj2str:_,getAuth:k,parseSelectPayload:C,getSourceParams:T,isBrowser:!0,isNode:te,isCIHost:ne,isIOS_QQ:re&&ie,encodeBase64:oe,decodeBase64:ae,simplifyPath:se,readAsBinaryString:A,parseResBody:le};e.exports=ue}).call(this,n(/*! ./../node_modules/process/browser.js */"./node_modules/process/browser.js"))}})}))},"40c3":function(e,t,n){var r=n("6b4c"),i=n("5168")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},"416c":function(e,t,n){n("28e4")("Map")},4178:function(e,t,n){var r,i,o,a=n("d864"),s=n("3024"),l=n("32fc"),u=n("1ec9"),c=n("e53d"),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},_=function(e){b.call(e.data)};h&&f||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},f=function(e){delete v[e]},"process"==n("6b4c")(d)?r=function(e){d.nextTick(a(b,e,1))}:m&&m.now?r=function(e){m.now(a(b,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",_,!1)):r=y in u("script")?function(e){l.appendChild(u("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:f}},"41a0":function(e,t,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"41b2":function(e,t,n){"use strict";t.__esModule=!0;var r=n("3f6b"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},"41ef":function(e,t,n){"use strict";n.d(t,"h",(function(){return y})),n.d(t,"c",(function(){return w})),n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return k})),n.d(t,"g",(function(){return M})),n.d(t,"f",(function(){return S})),n.d(t,"i",(function(){return C})),n.d(t,"e",(function(){return T})),n.d(t,"d",(function(){return L}));var r=n("d51b"),i=n("6d8b"),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(e){return e=Math.round(e),e<0?0:e>255?255:e}function s(e){return e=Math.round(e),e<0?0:e>360?360:e}function l(e){return e<0?0:e>1?1:e}function u(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function c(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?l(parseFloat(t)/100):l(parseFloat(t))}function d(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){return e+(t-e)*n}function f(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function p(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var m=new r["a"](20),g=null;function v(e,t){g&&p(g,t),g=m.put(e,g||t.slice())}function y(e,t){if(e){t=t||[];var n=m.get(e);if(n)return p(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in o)return p(t,o[r]),v(e,t),t;var i=r.length;if("#"!==r.charAt(0)){var a=r.indexOf("("),s=r.indexOf(")");if(-1!==a&&s+1===i){var l=r.substr(0,a),d=r.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==d.length)return 3===d.length?f(t,+d[0],+d[1],+d[2],1):f(t,0,0,0,1);h=c(d.pop());case"rgb":return d.length>=3?(f(t,u(d[0]),u(d[1]),u(d[2]),3===d.length?h:c(d[3])),v(e,t),t):void f(t,0,0,0,1);case"hsla":return 4!==d.length?void f(t,0,0,0,1):(d[3]=c(d[3]),b(d,t),v(e,t),t);case"hsl":return 3!==d.length?void f(t,0,0,0,1):(b(d,t),v(e,t),t);default:return}}f(t,0,0,0,1)}else{if(4===i||5===i){var g=parseInt(r.slice(1,4),16);return g>=0&&g<=4095?(f(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,5===i?parseInt(r.slice(4),16)/15:1),v(e,t),t):void f(t,0,0,0,1)}if(7===i||9===i){g=parseInt(r.slice(1,7),16);return g>=0&&g<=16777215?(f(t,(16711680&g)>>16,(65280&g)>>8,255&g,9===i?parseInt(r.slice(7),16)/255:1),v(e,t),t):void f(t,0,0,0,1)}}}}function b(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=c(e[1]),i=c(e[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return t=t||[],f(t,a(255*d(s,o,n+1/3)),a(255*d(s,o,n)),a(255*d(s,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function _(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?t=h-d:i===s?t=1/3+c-h:o===s&&(t=2/3+d-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}function w(e,t){var n=y(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return C(n,4===n.length?"rgba":"rgb")}}function x(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),s=t[i],u=t[o],c=r-i;return n[0]=a(h(s[0],u[0],c)),n[1]=a(h(s[1],u[1],c)),n[2]=a(h(s[2],u[2],c)),n[3]=l(h(s[3],u[3],c)),n}}function k(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),s=y(t[i]),u=y(t[o]),c=r-i,d=C([a(h(s[0],u[0],c)),a(h(s[1],u[1],c)),a(h(s[2],u[2],c)),l(h(s[3],u[3],c))],"rgba");return n?{color:d,leftIndex:i,rightIndex:o,value:r}:d}}function M(e,t,n,r){var i=y(e);if(e)return i=_(i),null!=t&&(i[0]=s(t)),null!=n&&(i[1]=c(n)),null!=r&&(i[2]=c(r)),C(b(i),"rgba")}function S(e,t){var n=y(e);if(n&&null!=t)return n[3]=l(t),C(n,"rgba")}function C(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function T(e,t){var n=y(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var O=new r["a"](100);function L(e){if(Object(i["C"])(e)){var t=O.get(e);return t||(t=w(e,-.1),O.put(e,t)),t}if(Object(i["x"])(e)){var n=Object(i["m"])({},e);return n.colorStops=Object(i["H"])(e.colorStops,(function(e){return{offset:e.offset,color:w(e.color,-.1)}})),n}return e}},"41f6":function(e,t,n){},"423e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  301. //! moment.js locale configuration
  302. var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t}))},4276:function(e,t,n){var r=n("5ca1"),i=n("2d95");r(r.S,"Error",{isError:function(e){return"Error"===i(e)}})},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},4379:function(e,t,n){var r=n("4a59");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},"43fc":function(e,t,n){"use strict";var r=n("63b6"),i=n("656e"),o=n("4439");r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},"440c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  303. //! moment.js locale configuration
  304. function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return i(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return i(e)}return e/=1e3,i(e)}var o=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},4439:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"448a":function(e,t,n){var r=n("2236"),i=n("11b0"),o=n("6613"),a=n("0676");function s(e){return r(e)||i(e)||o(e)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},"44b8":function(e,t,n){var r=n("23c6"),i=n("4379");e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},4504:function(e,t,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("d8e8"),a=n("86cc");n("9e1e")&&r(r.P+n("c5b4"),"Object",{__defineGetter__:function(e,t){a.f(i(this),e,{get:o(t),enumerable:!0,configurable:!0})}})},"454f":function(e,t,n){n("46a7");var r=n("584a").Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},"456d":function(e,t,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(e){return i(r(e))}}))},4588:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"45f2":function(e,t,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4656:function(e,t,n){},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"46a7":function(e,t,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"46bb":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.grid=h;var i=r(n("278c")),o=r(n("9523")),a=n("18ad"),s=n("5557"),l=n("9d85"),u=n("becb");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.grid;n=(0,u.deepMerge)((0,s.deepClone)(l.gridConfig,!0),n||{}),(0,a.doUpdate)({chart:e,series:[n],key:"grid",getGraphConfig:f})}function f(e,t){var n=e.animationCurve,r=e.animationFrame,i=e.rLevel,o=p(e,t),a=g(e);return t.chart.gridArea=d({},o),[{name:"rect",index:i,animationCurve:n,animationFrame:r,shape:o,style:a}]}function p(e,t){var n=(0,i["default"])(t.chart.render.area,2),r=n[0],o=n[1],a=m(e.left,r),s=m(e.right,r),l=m(e.top,o),u=m(e.bottom,o),c=r-a-s,d=o-l-u;return{x:a,y:l,w:c,h:d}}function m(e,t){return"number"===typeof e?e:"string"!==typeof e?0:t*parseInt(e)/100}function g(e){var t=e.style;return t}},4704:function(e,t,n){var r=n("5ca1");r(r.P+r.R,"Map",{toJSON:n("44b8")("Map")})},"470c":function(e,t,n){},4795:function(e,t,n){var r=n("7726"),i=n("5ca1"),o=n("a25f"),a=[].slice,s=/MSIE .\./.test(o),l=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},"47ee":function(e,t,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");e.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},"481b":function(e,t){e.exports={}},"485c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  305. //! moment.js locale configuration
  306. var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n}))},"48c0":function(e,t,n){"use strict";n("386b")("bold",(function(e){return function(){return e(this,"b","","")}}))},"48f8":function(e,t,n){"use strict";var r=n("5ca1"),i=n("7b23");r(r.P+r.F*!n("2f21")([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},4917:function(e,t,n){"use strict";var r=n("cb7c"),i=n("9def"),o=n("0390"),a=n("5f1b");n("214f")("match",1,(function(e,t,n,s){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),u=String(this);if(!l.global)return a(l,u);var c=l.unicode;l.lastIndex=0;var d,h=[],f=0;while(null!==(d=a(l,u))){var p=String(d[0]);h[f]=p,""===p&&(l.lastIndex=o(u,i(l.lastIndex),c)),f++}return 0===f?null:h}]}))},"49ab":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  307. //! moment.js locale configuration
  308. var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"49bc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gridConfig=void 0;var r={left:"10%",right:"10%",top:60,bottom:60,style:{fill:"rgba(0, 0, 0, 0)"},rLevel:-30,animationCurve:"easeOutCubic",animationFrame:30};t.gridConfig=r},"4a59":function(e,t,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),l=n("27ee"),u={},c={};t=e.exports=function(e,t,n,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=r(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>b;b++)if(g=t?y(a(p=e[b])[0],p[1]):y(e[b]),g===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if(g=i(m,y,p.value,t),g===u||g===c)return g};t.BREAK=u,t.RETURN=c},"4ba9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  309. //! moment.js locale configuration
  310. function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var n=e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"4ba91":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var a=0;a<r;a++)e[t+a]^=o[a]}});return t.Decryptor=n,t}(),e.mode.OFB}))},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},"4c95":function(e,t,n){"use strict";var r=n("e53d"),i=n("584a"),o=n("d9f6"),a=n("8e60"),s=n("5168")("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},"4c98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  311. //! moment.js locale configuration
  312. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return n[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return r}))},"4dda":function(e,t,n){n("ec30")("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"4e86":function(e,t,n){},"4ea4":function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"4eb1":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.radar=m;var i=r(n("9523")),o=r(n("7037")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("9d85"),c=n("5557"),d=n("a870"),h=n("becb");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var r=(0,h.initNeedSeries)(n,u.radarConfig,"radar");r=g(r,e),r=v(r,e),r=y(r,e),(0,l.doUpdate)({chart:e,series:r,key:"radar",getGraphConfig:b,getStartGraphConfig:_,beforeChange:k}),(0,l.doUpdate)({chart:e,series:r,key:"radarPoint",getGraphConfig:M,getStartGraphConfig:S}),(0,l.doUpdate)({chart:e,series:r,key:"radarLabel",getGraphConfig:O})}function g(e,t){var n=t.radarAxis;if(!n)return[];var r=n.indicator,i=n.axisLineAngles,o=n.radius,a=n.centerPos;return e.forEach((function(e){var t=e.data;e.dataRadius=[],e.radarPosition=r.map((function(n,r){var l=n.max,u=n.min,d=t[r];"number"!==typeof l&&(l=d),"number"!==typeof u&&(u=0),"number"!==typeof d&&(d=u);var h=(d-u)/(l-u)*o;return e.dataRadius[r]=h,c.getCircleRadianPoint.apply(void 0,(0,s["default"])(a).concat([h,i[r]]))}))})),e}function v(e,t){var n=t.radarAxis;if(!n)return[];var r=n.centerPos,i=n.axisLineAngles;return e.forEach((function(e){var t=e.dataRadius,n=e.label,o=n.labelGap;e.labelPosition=t.map((function(e,t){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([e+o,i[t]]))}))})),e}function y(e,t){var n=t.radarAxis;if(!n)return[];var r=(0,a["default"])(n.centerPos,2),i=r[0],o=r[1];return e.forEach((function(e){var t=e.labelPosition,n=t.map((function(e){var t=(0,a["default"])(e,2),n=t[0],r=t[1],s=n>i?"left":"right",l=r>o?"top":"bottom";return{textAlign:s,textBaseline:l}}));e.labelAlign=n})),e}function b(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel;return[{name:"polyline",index:r,animationCurve:t,animationFrame:n,shape:w(e),style:x(e)}]}function _(e,t){var n=t.chart.radarAxis.centerPos,r=b(e)[0],i=r.shape.points.length,o=new Array(i).fill(0).map((function(e){return(0,s["default"])(n)}));return r.shape.points=o,[r]}function w(e){var t=e.radarPosition;return{points:t,close:!0}}function x(e){var t=e.radarStyle,n=e.color,r=(0,d.getRgbaValue)(n);r[3]=.5;var i={stroke:n,fill:(0,d.getColorFromRgbValue)(r)};return(0,h.deepMerge)(i,t)}function k(e,t){var n=t.shape,r=e.shape.points,i=r.length,o=n.points.length;if(o>i){var a=r.slice(-1)[0],l=new Array(o-i).fill(0).map((function(e){return(0,s["default"])(a)}));r.push.apply(r,(0,s["default"])(l))}else o<i&&r.splice(o)}function M(e){var t=e.radarPosition,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"circle",index:i,animationCurve:n,animationFrame:r,visible:e.point.show,shape:C(e,o),style:T(e,o)}}))}function S(e){var t=M(e);return t.forEach((function(e){return e.shape.r=.01})),t}function C(e,t){var n=e.radarPosition,r=e.point,i=r.radius,o=n[t];return{rx:o[0],ry:o[1],r:i}}function T(e,t){var n=e.point,r=e.color,i=n.style;return(0,h.deepMerge)({stroke:r},i)}function O(e){var t=e.labelPosition,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"text",index:i,visible:e.label.show,animationCurve:n,animationFrame:r,shape:L(e,o),style:D(e,o)}}))}function L(e,t){var n=e.labelPosition,r=e.label,i=e.data,a=r.offset,s=r.formatter,l=A(n[t],a),u=i[t]?i[t].toString():"0",c=(0,o["default"])(s);return"string"===c&&(u=s.replace("{value}",u)),"function"===c&&(u=s(u)),{content:u,position:l}}function A(e,t){var n=(0,a["default"])(e,2),r=n[0],i=n[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[r+s,i+l]}function D(e,t){var n=e.label,r=e.color,i=e.labelAlign,o=n.style,a=p({fill:r},i[t]);return(0,h.deepMerge)(a,o)}},"4ee1":function(e,t,n){var r=n("5168")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},e(o)}catch(a){}return n}},"4f37":function(e,t,n){"use strict";n("aa77")("trim",(function(e){return function(){return e(this,3)}}))},"4f7f":function(e,t,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Set";e.exports=n("e0b8")(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,o),e=0===e?0:e,e)}},r)},5038:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  313. //! moment.js locale configuration
  314. var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return t}))},"504c":function(e,t,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),a=n("52a7").f;e.exports=function(e){return function(t){var n,s=o(t),l=i(s),u=l.length,c=0,d=[];while(u>c)n=l[c++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5120:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  315. //! moment.js locale configuration
  316. var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],a=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return a}))},5147:function(e,t,n){var r=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},5168:function(e,t,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,a="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},"51b6":function(e,t,n){n("a3c3"),e.exports=n("584a").Object.assign},"520a":function(e,t,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[s]||0!==t[s]}(),u=void 0!==/()??/.exec("")[1],c=l||u;c&&(a=function(e){var t,n,a,c,d=this;return u&&(n=new RegExp("^"+d.source+"$(?!\\s)",r.call(d))),l&&(t=d[s]),a=i.call(d,e),l&&a&&(d[s]=d.global?a.index+a[0].length:t),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(a[c]=void 0)})),a}),e.exports=a},5270:function(e,t,n){"use strict";var r=n("c532"),i=n("c401"),o=n("2e67"),a=n("2444"),s=n("d925"),l=n("e683");function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){u(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5294:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  317. //! moment.js locale configuration
  318. var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],r=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return r}))},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"52bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  319. //! moment.js locale configuration
  320. var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},"536b":function(e,t,n){var r=n("5ca1"),i=Math.asinh;function o(e){return isFinite(e=+e)&&0!=e?e<0?-o(-e):Math.log(e+Math.sqrt(e*e+1)):e}r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:o})},"53e2":function(e,t,n){var r=n("07e3"),i=n("241e"),o=n("5559")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"549b":function(e,t,n){"use strict";var r=n("d864"),i=n("63b6"),o=n("241e"),a=n("b0dc"),s=n("3702"),l=n("b447"),u=n("20fd"),c=n("7cd6");i(i.S+i.F*!n("4ee1")((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(h);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&s(y))for(t=l(h.length),n=new f(t);t>v;v++)u(n,v,g?m(h[v],v):h[v]);else for(d=y.call(h),n=new f;!(i=d.next()).done;v++)u(n,v,g?a(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},"54a8":function(e,t,n){"use strict";var r=n("5ca1"),i=n("79e5"),o=n("bef9"),a=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==a.call(1,void 0)}))||!i((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},"551c":function(e,t,n){"use strict";var r,i,o,a,s=n("2d00"),l=n("7726"),u=n("9b43"),c=n("23c6"),d=n("5ca1"),h=n("d3f4"),f=n("d8e8"),p=n("f605"),m=n("4a59"),g=n("ebd6"),v=n("1991").set,y=n("8079")(),b=n("a5b8"),_=n("9c80"),w=n("a25f"),x=n("bcaa"),k="Promise",M=l.TypeError,S=l.process,C=S&&S.versions,T=C&&C.v8||"",O=l[k],L="process"==c(S),A=function(){},D=i=b.f,E=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(A,A)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(r){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?u(M("Promise-chain cycle")):(o=I(n))?o.call(n,l,u):l(n)):u(r)}catch(d){c&&!a&&c.exit(),u(d)}};while(n.length>o)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){v.call(l,(function(){var t,n,r,i=e._v,o=R(e);if(o&&(t=_((function(){L?S.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=L||R(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){v.call(l,(function(){var t;L?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},B=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},Y=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw M("Promise can't be resolved itself");(t=I(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,u(Y,r,1),u(B,r,1))}catch(i){B.call(r,i)}})):(n._v=e,n._s=1,j(n,!1))}catch(r){B.call({_w:n,_d:!1},r)}}};E||(O=function(e){p(this,O,k,"_h"),f(e),r.call(this);try{e(u(Y,this,1),u(B,this,1))}catch(t){B.call(this,t)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(O.prototype,{then:function(e,t){var n=D(g(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=L?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=u(Y,e,1),this.reject=u(B,e,1)},b.f=D=function(e){return e===O||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!E,{Promise:O}),n("7f20")(O,k),n("7a56")(k),a=n("8378")[k],d(d.S+d.F*!E,k,{reject:function(e){var t=D(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!E),k,{resolve:function(e){return x(s&&this===a?O:this,e)}}),d(d.S+d.F*!(E&&n("5cc5")((function(e){O.all(e)["catch"](A)}))),k,{all:function(e){var t=this,n=D(t),r=n.resolve,i=n.reject,o=_((function(){var n=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=D(t),r=n.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(e,t,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5557:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.deepClone=p,t.eliminateBlur=m,t.checkPointIsInCircle=g,t.getTwoPointDistance=v,t.checkPointIsInPolygon=y,t.checkPointIsInSector=b,t.checkPointIsNearPolyline=w,t.checkPointIsInRect=x,t.getRotatePointPos=k,t.getScalePointPos=M,t.getTranslatePointPos=S,t.getDistanceBetweenPointAndLine=C,t.getCircleRadianPoint=T,t.getRegularPolygonPoints=O,t["default"]=void 0;var i=r(n("448a")),o=r(n("278c")),a=r(n("7037")),s=Math.abs,l=Math.sqrt,u=Math.sin,c=Math.cos,d=Math.max,h=Math.min,f=Math.PI;function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;var n=JSON.parse,r=JSON.stringify;if(!t)return n(r(e));var i=e instanceof Array?[]:{};if(e&&"object"===(0,a["default"])(e))for(var o in e)e.hasOwnProperty(o)&&(e[o]&&"object"===(0,a["default"])(e[o])?i[o]=p(e[o],!0):i[o]=e[o]);return i}function m(e){return e.map((function(e){var t=(0,o["default"])(e,2),n=t[0],r=t[1];return[parseInt(n)+.5,parseInt(r)+.5]}))}function g(e,t,n,r){return v(e,[t,n])<=r}function v(e,t){var n=(0,o["default"])(e,2),r=n[0],i=n[1],a=(0,o["default"])(t,2),u=a[0],c=a[1],d=s(r-u),h=s(i-c);return l(d*d+h*h)}function y(e,t){for(var n=0,r=(0,o["default"])(e,2),i=r[0],a=r[1],s=t.length,l=1,u=t[0];l<=s;l++){var c=t[l%s];if(i>h(u[0],c[0])&&i<=d(u[0],c[0])&&a<=d(u[1],c[1])&&u[0]!==c[0]){var f=(i-u[0])*(c[1]-u[1])/(c[0]-u[0])+u[1];(u[1]===c[1]||a<=f)&&n++}u=c}return n%2===1}function b(e,t,n,r,i,a,s){if(!e)return!1;if(v(e,[t,n])>r)return!1;if(!s){var l=p([a,i]),u=(0,o["default"])(l,2);i=u[0],a=u[1]}var c=i>a;if(c){var d=[a,i];i=d[0],a=d[1]}var h=a-i;if(h>=2*f)return!0;var m=(0,o["default"])(e,2),g=m[0],y=m[1],b=T(t,n,r,i),w=(0,o["default"])(b,2),x=w[0],k=w[1],M=T(t,n,r,a),S=(0,o["default"])(M,2),C=S[0],O=S[1],L=[g-t,y-n],A=[x-t,k-n],D=[C-t,O-n],E=h>f;if(E){var I=p([D,A]),j=(0,o["default"])(I,2);A=j[0],D=j[1]}var P=_(A,L)&&!_(D,L);return E&&(P=!P),c&&(P=!P),P}function _(e,t){var n=(0,o["default"])(e,2),r=n[0],i=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return-i*s+r*l>0}function w(e,t,n){var r=n/2,a=t.map((function(e){var t=(0,o["default"])(e,2),n=t[0],i=t[1];return[n,i-r]})),s=t.map((function(e){var t=(0,o["default"])(e,2),n=t[0],i=t[1];return[n,i+r]})),l=[].concat((0,i["default"])(a),(0,i["default"])(s.reverse()));return y(e,l)}function x(e,t,n,r,i){var a=(0,o["default"])(e,2),s=a[0],l=a[1];return!(s<t)&&(!(l<n)&&(!(s>t+r)&&!(l>n+i)))}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(e%360===0)return t;var r=(0,o["default"])(t,2),i=r[0],a=r[1],s=(0,o["default"])(n,2),l=s[0],d=s[1];return e*=f/180,[(i-l)*c(e)-(a-d)*u(e)+l,(i-l)*u(e)+(a-d)*c(e)+d]}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[1,1],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(1===e)return t;var r=(0,o["default"])(t,2),i=r[0],a=r[1],s=(0,o["default"])(n,2),l=s[0],u=s[1],c=(0,o["default"])(e,2),d=c[0],h=c[1],f=i-l,p=a-u;return[f*d+l,p*h+u]}function S(e,t){if(!e||!t)return!1;var n=(0,o["default"])(t,2),r=n[0],i=n[1],a=(0,o["default"])(e,2),s=a[0],l=a[1];return[r+s,i+l]}function C(e,t,n){if(!e||!t||!n)return!1;var r=(0,o["default"])(e,2),i=r[0],a=r[1],u=(0,o["default"])(t,2),c=u[0],d=u[1],h=(0,o["default"])(n,2),f=h[0],p=h[1],m=p-d,g=c-f,v=d*(f-c)-c*(p-d),y=s(m*i+g*a+v),b=l(m*m+g*g);return y/b}function T(e,t,n,r){return[e+c(r)*n,t+u(r)*n]}function O(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-.5*f,o=2*f/r,a=new Array(r).fill("").map((function(e,t){return t*o+i}));return a.map((function(r){return T(e,t,n,r)}))}var L={deepClone:p,eliminateBlur:m,checkPointIsInCircle:g,checkPointIsInPolygon:y,checkPointIsInSector:b,checkPointIsNearPolyline:w,getTwoPointDistance:v,getRotatePointPos:k,getScalePointPos:M,getTranslatePointPos:S,getCircleRadianPoint:T,getRegularPolygonPoints:O,getDistanceBetweenPointAndLine:C};t["default"]=L},5559:function(e,t,n){var r=n("dbdb")("keys"),i=n("62a0");e.exports=function(e){return r[e]||(r[e]=i(e))}},"55c9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  321. //! moment.js locale configuration
  322. var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return o}))},"55dd":function(e,t,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("4bf8"),a=n("79e5"),s=[].sort,l=[1,2,3];r(r.P+r.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!n("2f21")(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},5695:function(e,t,n){var r=n("5ca1"),i=n("77f1"),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){var t,n=[],r=arguments.length,a=0;while(r>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},"576c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  323. //! moment.js locale configuration
  324. var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"57e7":function(e,t,n){"use strict";var r=n("5ca1"),i=n("c366")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n("2f21")(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},"57f0":function(e,t,n){var r=n("d3f4");n("5eda")("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},"584a":function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"58b2":function(e,t,n){var r=n("5ca1");r(r.S+r.F*!n("9e1e"),"Object",{defineProperties:n("1495")})},"597f":function(e,t){e.exports=function(e,t,n,r){var i,o=0;function a(){var a=this,s=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),n.apply(a,l)}function c(){i=void 0}r&&!i&&u(),i&&clearTimeout(i),void 0===r&&s>e?u():!0!==t&&(i=setTimeout(r?c:u,void 0===r?e-s:e))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),a}},5980:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){(function(){var t=e,n=t.lib,r=n.Base,i=t.enc,o=i.Utf8,a=t.algo;a.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,l=a.words,u=0;u<n;u++)s[u]^=1549556828,l[u]^=909522486;i.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);t.reset();var r=t.finalize(this._oKey.clone().concat(n));return r}})})()}))},"598a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  325. //! moment.js locale configuration
  326. var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return r}))},"5a43":function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"5aff":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  327. //! moment.js locale configuration
  328. var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,i=e%100-r,o=e>=100?100:null;return e+(t[r]||t[i]||t[o])}},week:{dow:1,doy:7}});return n}))},"5b14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  329. //! moment.js locale configuration
  330. var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var i=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},"5b4e":function(e,t,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"5bba":function(e,t,n){n("9d98");var r=n("584a").Object;e.exports=function(e,t){return r.defineProperties(e,t)}},"5c3a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  331. //! moment.js locale configuration
  332. var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t}))},"5c95":function(e,t,n){var r=n("35e8");e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},"5ca1":function(e,t,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),l="prototype",u=function(e,t,n){var c,d,h,f,p=e&u.F,m=e&u.G,g=e&u.S,v=e&u.P,y=e&u.B,b=m?r:g?r[t]||(r[t]={}):(r[t]||{})[l],_=m?i:i[t]||(i[t]={}),w=_[l]||(_[l]={});for(c in m&&(n=t),n)d=!p&&b&&void 0!==b[c],h=(d?b:n)[c],f=y&&d?s(h,r):v&&"function"==typeof h?s(Function.call,h):h,b&&a(b,c,h,e&u.U),_[c]!=h&&o(_,c,f),v&&w[c]!=h&&(w[c]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5cbb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  333. //! moment.js locale configuration
  334. var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},"5cc5":function(e,t,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},e(o)}catch(a){}return n}},"5ce3":function(e,t,n){"use strict";var r=n("5ca1"),i=n("abd7")(/[&<>"']/g,{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"});r(r.P+r.F,"String",{escapeHTML:function(){return i(this)}})},"5d40":function(e,t,n){n("28e4")("WeakMap")},"5d90":function(e,t,n){n("28e4")("WeakSet")},"5dbc":function(e,t,n){var r=n("d3f4"),i=n("8b97").set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},"5df2":function(e,t,n){var r=n("5ca1"),i=n("d752");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},"5df3":function(e,t,n){"use strict";var r=n("02f4")(!0);n("01f9")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"5e07":function(e,t,n){},"5eda":function(e,t,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(e,t,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"5fbd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  335. //! moment.js locale configuration
  336. var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+n},week:{dow:1,doy:4}});return t}))},6095:function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(4);r(r.P+r.F*!n("2f21")([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},"60f1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.legendConfig=void 0;var r={show:!0,orient:"horizontal",left:"auto",right:"auto",top:"auto",bottom:"auto",itemGap:10,iconWidth:25,iconHeight:10,selectAble:!0,data:[],textStyle:{fontFamily:"Arial",fontSize:13,fill:"#000"},iconStyle:{},textUnselectedStyle:{fontFamily:"Arial",fontSize:13,fill:"#999"},iconUnselectedStyle:{fill:"#999"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};t.legendConfig=r},"60f7":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.legend=d;var i=r(n("9523")),o=r(n("278c")),a=r(n("7037")),s=n("18ad"),l=n("5557"),u=n("9d85"),c=n("becb");function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.legend;n?(n=(0,c.deepMerge)((0,l.deepClone)(u.legendConfig,!0),n),n=h(n),n=f(n,t,e),n=p(n,e),n=v(n,e),n=[n]):n=[],(0,s.doUpdate)({chart:e,series:n,key:"legendIcon",getGraphConfig:O}),(0,s.doUpdate)({chart:e,series:n,key:"legendText",getGraphConfig:D})}function h(e){var t=e.data;return e.data=t.map((function(e){var t=(0,a["default"])(e);return"string"===t?{name:e}:"object"===t?e:{name:""}})),e}function f(e,t,n){var r=t.series,i=n.legendStatus,o=e.data.filter((function(e){var t=e.name,n=r.find((function(e){var n=e.name;return t===n}));return!!n&&(e.color||(e.color=n.color),e.icon||(e.icon=n.type),e)}));return i&&i.length===e.data.length||(i=new Array(e.data.length).fill(!0)),o.forEach((function(e,t){return e.status=i[t]})),e.data=o,n.legendStatus=i,e}function p(e,t){var n=t.render.ctx,r=e.data,i=e.textStyle,o=e.textUnselectedStyle;return r.forEach((function(e){var t=e.status,r=e.name;e.textWidth=m(n,r,t?i:o)})),e}function m(e,t,n){return e.font=g(n),e.measureText(t).width}function g(e){var t=e.fontFamily,n=e.fontSize;return"".concat(n,"px ").concat(t)}function v(e,t){var n=e.orient;return"vertical"===n?M(e,t):y(e,t),e}function y(e,t){var n=e.iconHeight,r=e.itemGap,i=b(e,t),o=i.map((function(n){return w(n,e,t)})),a=x(e,t),s={textAlign:"left",textBaseline:"middle"};i.forEach((function(e,t){return e.forEach((function(e){var i=e.iconPosition,l=e.textPosition,u=o[t],c=a+t*(r+n);e.iconPosition=k(i,[u,c]),e.textPosition=k(l,[u,c]),e.align=s}))}))}function b(e,t){var n=e.data,r=e.iconWidth,i=t.render.area[0],o=0,a=[[]];return n.forEach((function(t,n){var s=_(o,n,e),l=s+r+5+t.textWidth;l>=i&&(o=n,s=_(o,n,e),a.push([])),t.iconPosition=[s,0],t.textPosition=[s+r+5,0],a.slice(-1)[0].push(t)})),a}function _(e,t,n){var r=n.data,i=n.iconWidth,o=n.itemGap,a=r.slice(e,t);return(0,c.mulAdd)(a.map((function(e){var t=e.textWidth;return t})))+(t-e)*(o+5+i)}function w(e,t,n){var r=t.left,i=t.right,o=t.iconWidth,a=t.itemGap,s=n.render.area[0],l=e.length,u=(0,c.mulAdd)(e.map((function(e){var t=e.textWidth;return t})))+l*(5+o)+(l-1)*a,d=[r,i].findIndex((function(e){return"auto"!==e}));return-1===d?(s-u)/2:0===d?"number"===typeof r?r:parseInt(r)/100*s:("number"!==typeof i&&(i=parseInt(i)/100*s),s-(u+i))}function x(e,t){var n=e.top,r=e.bottom,i=e.iconHeight,o=t.render.area[1],a=[n,r].findIndex((function(e){return"auto"!==e})),s=i/2;if(-1===a){var l=t.gridArea,u=l.y,c=l.h;return u+c+45-s}return 0===a?"number"===typeof n?n-s:parseInt(n)/100*o-s:("number"!==typeof r&&(r=parseInt(r)/100*o),o-r-s)}function k(e,t){var n=(0,o["default"])(e,2),r=n[0],i=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[r+s,i+l]}function M(e,t){var n=S(e,t),r=(0,o["default"])(n,2),i=r[0],a=r[1],s=C(e,t);T(e,i);var l={textAlign:"left",textBaseline:"middle"};e.data.forEach((function(e){var t=e.textPosition,n=e.iconPosition;e.textPosition=k(t,[a,s]),e.iconPosition=k(n,[a,s]),e.align=l}))}function S(e,t){var n=e.left,r=e.right,i=t.render.area[0],o=[n,r].findIndex((function(e){return"auto"!==e}));if(-1===o)return[!0,i-10];var a=[n,r][o];return"number"!==typeof a&&(a=parseInt(a)/100*i),[Boolean(o),a]}function C(e,t){var n=e.iconHeight,r=e.itemGap,i=e.data,o=e.top,a=e.bottom,s=t.render.area[1],l=i.length,u=l*n+(l-1)*r,c=[o,a].findIndex((function(e){return"auto"!==e}));if(-1===c)return(s-u)/2;var d=[o,a][c];return"number"!==typeof d&&(d=parseInt(d)/100*s),1===c&&(d=s-d-u),d}function T(e,t){var n=e.data,r=e.iconWidth,i=e.iconHeight,o=e.itemGap,a=i/2;n.forEach((function(e,n){var s=e.textWidth,l=(i+o)*n+a,u=t?0-r:0,c=t?u-5-s:r+5;e.iconPosition=[u,l],e.textPosition=[c,l]}))}function O(e,t){var n=e.data,r=e.selectAble,o=e.animationCurve,a=e.animationFrame,s=e.rLevel;return n.map((function(n,l){return(0,i["default"])({name:"line"===n.icon?"lineIcon":"rect",index:s,visible:e.show,hover:r,click:r,animationCurve:o,animationFrame:a,shape:L(e,l),style:A(e,l)},"click",P(e,l,t))}))}function L(e,t){var n=e.data,r=e.iconWidth,i=e.iconHeight,a=(0,o["default"])(n[t].iconPosition,2),s=a[0],l=a[1],u=i/2;return{x:s,y:l-u,w:r,h:i}}function A(e,t){var n=e.data,r=e.iconStyle,i=e.iconUnselectedStyle,o=n[t],a=o.status,s=o.color,l=a?r:i;return(0,c.deepMerge)({fill:s},l)}function D(e,t){var n=e.data,r=e.selectAble,i=e.animationCurve,o=e.animationFrame,a=e.rLevel;return n.map((function(n,s){return{name:"text",index:a,visible:e.show,hover:r,animationCurve:i,animationFrame:o,hoverRect:j(e,s),shape:E(e,s),style:I(e,s),click:P(e,s,t)}}))}function E(e,t){var n=e.data[t],r=n.textPosition,i=n.name;return{content:i,position:r}}function I(e,t){var n=e.textStyle,r=e.textUnselectedStyle,i=e.data[t],o=i.status,a=i.align,s=o?n:r;return(0,c.deepMerge)((0,l.deepClone)(s,!0),a)}function j(e,t){var n=e.textStyle,r=e.textUnselectedStyle,i=e.data[t],a=i.status,s=(0,o["default"])(i.textPosition,2),l=s[0],u=s[1],c=i.textWidth,d=a?n:r,h=d.fontSize;return[l,u-h/2,c,h]}function P(e,t,n){var r=e.data[t].name;return function(){var e=n.chart,i=e.legendStatus,o=e.option,a=!i[t],s=o.series.find((function(e){var t=e.name;return t===r}));s.show=a,i[t]=a,n.chart.setOption(o)}}},6117:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  337. //! moment.js locale configuration
  338. var t=e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},"613b":function(e,t,n){var r=n("5537")("keys"),i=n("ca5a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"62a0":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"62fd":function(e,t,n){},"63b6":function(e,t,n){var r=n("e53d"),i=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),l="prototype",u=function(e,t,n){var c,d,h,f=e&u.F,p=e&u.G,m=e&u.S,g=e&u.P,v=e&u.B,y=e&u.W,b=p?i:i[t]||(i[t]={}),_=b[l],w=p?r:m?r[t]:(r[t]||{})[l];for(c in p&&(n=t),n)d=!f&&w&&void 0!==w[c],d&&s(b,c)||(h=d?w[c]:n[c],b[c]=p&&"function"!=typeof w[c]?n[c]:v&&d?o(h,r):y&&w[c]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((b.virtual||(b.virtual={}))[c]=h,e&u.R&&_&&!_[c]&&a(_,c,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"63d9":function(e,t,n){n("ec30")("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},6403:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  339. //! moment.js locale configuration
  340. var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},"643e":function(e,t,n){"use strict";var r=n("dcbc"),i=n("67ab").getWeak,o=n("cb7c"),a=n("d3f4"),s=n("f605"),l=n("4a59"),u=n("0a49"),c=n("69a8"),d=n("b39a"),h=u(5),f=u(6),p=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return h(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=r&&l(r,n,e[o],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(d(this,t))["delete"](e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=i(o(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},"64d5":function(e,t,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99"),a=n("38fd"),s=n("11e9").f;n("9e1e")&&r(r.P+n("c5b4"),"Object",{__lookupSetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=s(n,r))return t.set}while(n=a(n))}})},"656e":function(e,t,n){"use strict";var r=n("79aa");function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},"65db":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  341. //! moment.js locale configuration
  342. var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},6613:function(e,t,n){var r=n("5a43");function i(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},6625:function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=40)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(28)("wks"),i=n(29),o=n(0).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(7);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(0),i=n(2),o=n(11),a=n(5),s=n(9),l=function(e,t,n){var u,c,d,h=e&l.F,f=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=f?i:i[t]||(i[t]={}),b=y.prototype,_=f?r:p?r[t]:(r[t]||{}).prototype;for(u in f&&(n=t),n)(c=!h&&_&&void 0!==_[u])&&s(y,u)||(d=c?_[u]:n[u],y[u]=f&&"function"!=typeof _[u]?n[u]:g&&c?o(d,r):v&&_[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(13),i=n(31);e.exports=n(6)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=!n(14)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(12);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(3),i=n(50),o=n(51),a=Object.defineProperty;t.f=n(6)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(16);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(46),i=n(30);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(26),i=n(16);e.exports=function(e){return r(i(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(28)("keys"),i=n(29);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){e.exports=!0},function(e,t,n){var r=n(7),i=n(0).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(13).f,i=n(9),o=n(1)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(12);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}(e)}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(43)),i=c(n(32)),o=c(n(79)),a=c(n(86)),s=c(n(87)),l=c(n(88)),u=c(n(89));function c(e){return e&&e.__esModule?e:{default:e}}var d="UN_READY",h="PENDING",f="READY";t.default={name:"VueUeditorWrap",data:function(){return{status:d,defaultConfig:{UEDITOR_HOME_URL:void 0!==e&&e.env.BASE_URL?e.env.BASE_URL+"UEditor/":"/static/UEditor/"}}},props:{mode:{type:String,default:"observer",validator:function(e){return-1!==["observer","listener"].indexOf(e)}},value:{type:String,default:""},config:{type:Object,default:function(){return{}}},init:{type:Function,default:function(){}},destroy:{type:Boolean,default:!0},name:{type:String,default:""},observerDebounceTime:{type:Number,default:50,validator:function(e){return e>=20}},observerOptions:{type:Object,default:function(){return{attributes:!0,attributeFilter:["src","style","type","name"],characterData:!0,childList:!0,subtree:!0}}},forceInit:{type:Boolean,default:!1},editorId:{type:String},editorDependencies:Array,editorDependenciesChecker:Function},computed:{mixedConfig:function(){return(0,o.default)({},this.defaultConfig,this.config)}},methods:{registerButton:function(e){var t=e.name,n=e.icon,r=e.tip,i=e.handler,o=e.index,a=e.UE,s=void 0===a?window.UE:a;s.registerUI(t,(function(e,t){e.registerCommand(t,{execCommand:function(){i(e,t)}});var o=new s.ui.Button({name:t,title:r,cssRules:"background-image: url("+n+") !important;background-size: cover;",onclick:function(){e.execCommand(t)}});return e.addListener("selectionchange",(function(){var n=e.queryCommandState(t);-1===n?(o.setDisabled(!0),o.setChecked(!1)):(o.setDisabled(!1),o.setChecked(n))})),o}),o,this.id)},_initEditor:function(){var e=this;this.$refs.container.id=this.id=this.editorId||"editor_"+(0,u.default)(8),this.init(),this.$emit("before-init",this.id,this.mixedConfig),this.$emit("beforeInit",this.id,this.mixedConfig),this.editor=window.UE.getEditor(this.id,this.mixedConfig),this.editor.addListener("ready",(function(){e.status===f?e.editor.setContent(e.value):(e.status=f,e.$emit("ready",e.editor),e.value&&e.editor.setContent(e.value)),"observer"===e.mode&&window.MutationObserver?e._observerChangeListener():e._normalChangeListener()}))},_loadScript:function(e){return new i.default((function(t,n){if(window.$loadEventBus.on(e,t),!1===window.$loadEventBus.listeners[e].requested){window.$loadEventBus.listeners[e].requested=!0;var r=document.createElement("script");r.src=e,r.onload=function(){window.$loadEventBus.emit(e)},r.onerror=n,document.getElementsByTagName("head")[0].appendChild(r)}}))},_loadCss:function(e){return new i.default((function(t,n){if(window.$loadEventBus.on(e,t),!1===window.$loadEventBus.listeners[e].requested){window.$loadEventBus.listeners[e].requested=!0;var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,r.onload=function(){window.$loadEventBus.emit(e)},r.onerror=n,document.getElementsByTagName("head")[0].appendChild(r)}}))},_loadEditorDependencies:function(){var e=this;window.$loadEventBus||(window.$loadEventBus=new a.default);var t=["ueditor.config.js","ueditor.all.min.js"];return new i.default((function(n,o){if(e.editorDependencies&&e.editorDependenciesChecker&&e.editorDependenciesChecker())n();else if(!e.editorDependencies&&window.UE&&window.UE.getEditor&&window.UEDITOR_CONFIG&&0!==(0,r.default)(window.UEDITOR_CONFIG).length)n();else{var a=(e.editorDependencies||t).reduce((function(t,n){return/^((https?:)?\/\/)?[-a-zA-Z0-9]+(\.[-a-zA-Z0-9]+)+\//.test(n)||(n=(e.mixedConfig.UEDITOR_HOME_URL||"")+n),".js"===n.slice(-3)?t.jsLinks.push(n):".css"===n.slice(-4)&&t.cssLinks.push(n),t}),{jsLinks:[],cssLinks:[]}),s=a.jsLinks,u=a.cssLinks;i.default.all([i.default.all(u.map((function(t){return e._loadCss(t)}))),(0,l.default)(s.map((function(t){return function(){return e._loadScript(t)}})))]).then((function(){return n()})).catch(o)}}))},_contentChangeHandler:function(){this.innerValue=this.editor.getContent(),this.$emit("input",this.innerValue)},_normalChangeListener:function(){this.editor.addListener("contentChange",this._contentChangeHandler)},_observerChangeListener:function(){var e=this;this.observer=new MutationObserver((0,s.default)((function(){e.editor.document.getElementById("baidu_pastebin")||(e.innerValue=e.editor.getContent(),e.$emit("input",e.innerValue))}),this.observerDebounceTime)),this.observer.observe(this.editor.body,this.observerOptions)}},deactivated:function(){this.editor&&this.editor.removeListener("contentChange",this._contentChangeHandler),this.observer&&this.observer.disconnect()},beforeDestroy:function(){this.destroy&&this.editor&&this.editor.destroy&&this.editor.destroy(),this.observer&&this.observer.disconnect&&this.observer.disconnect()},watch:{value:{handler:function(e){var t=this;this.status===d?(this.status=h,(this.forceInit||"undefined"!=typeof window)&&this._loadEditorDependencies().then((function(){t.$refs.container?t._initEditor():t.$nextTick((function(){return t._initEditor()}))})).catch((function(){throw new Error("[vue-ueditor-wrap] UEditor 资源加载失败!请检查资源是否存在,UEDITOR_HOME_URL 是否配置正确!")}))):this.status===f&&(e===this.innerValue||this.editor.setContent(e||""))},immediate:!0}}}}).call(t,n(42))},function(e,t,n){var r=n(10);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(19),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports={default:n(52),__esModule:!0}},function(e,t,n){"use strict";var r=n(21),i=n(4),o=n(56),a=n(5),s=n(8),l=n(57),u=n(23),c=n(60),d=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var y,b,_,w=function(e){if(!h&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",k="values"==m,M=!1,S=e.prototype,C=S[d]||S["@@iterator"]||m&&S[m],T=C||w(m),O=m?k?w("entries"):T:void 0,L="Array"==t&&S.entries||C;if(L&&(_=c(L.call(new e)))!==Object.prototype&&_.next&&(u(_,x,!0),r||"function"==typeof _[d]||a(_,d,f)),k&&C&&"values"!==C.name&&(M=!0,T=function(){return C.call(this)}),r&&!v||!h&&!M&&S[d]||a(S,d,T),s[t]=T,s[x]=f,m)if(y={values:k?T:w("values"),keys:g?T:w("keys"),entries:O},v)for(b in y)b in S||o(S,b,y[b]);else i(i.P+i.F*(h||M),t,y);return y}},function(e,t,n){var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(10),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(3),i=n(12),o=n(1)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r,i,o,a=n(11),s=n(71),l=n(34),u=n(22),c=n(0),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,g=0,v={},y=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){y.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},f=function(e){delete v[e]},"process"==n(10)(d)?r=function(e){d.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:h,clear:f}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(3),i=n(7),o=n(24);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(25),i=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var a=n(90),s=n(41)(i.a,a.a,!1,null,null,null);s.options.__file="src/components/vue-ueditor-wrap.vue",t.default=s.exports},function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=r),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(e,t){return u.call(t),h(e,t)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){e.exports={default:n(44),__esModule:!0}},function(e,t,n){n(45),e.exports=n(2).Object.keys},function(e,t,n){var r=n(15),i=n(17);n(49)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){var r=n(9),i=n(18),o=n(47)(!1),a=n(20)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(18),i=n(27),o=n(48);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(19),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(4),i=n(2),o=n(14);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){e.exports=!n(6)&&!n(14)((function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(7);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){n(53),n(54),n(61),n(65),n(77),n(78),e.exports=n(2).Promise},function(e,t){},function(e,t,n){"use strict";var r=n(55)(!0);n(33)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(19),i=n(16);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){e.exports=n(5)},function(e,t,n){"use strict";var r=n(58),i=n(31),o=n(23),a={};n(5)(a,n(1)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(3),i=n(59),o=n(30),a=n(20)("IE_PROTO"),s=function(){},l=function(){var e,t=n(22)("iframe"),r=o.length;for(t.style.display="none",n(34).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(13),i=n(3),o=n(17);e.exports=n(6)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(9),i=n(15),o=n(20)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(62);for(var r=n(0),i=n(5),o=n(8),a=n(1)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){"use strict";var r=n(63),i=n(64),o=n(8),a=n(18);e.exports=n(33)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r,i,o,a,s=n(21),l=n(0),u=n(11),c=n(35),d=n(4),h=n(7),f=n(12),p=n(66),m=n(67),g=n(36),v=n(37).set,y=n(72)(),b=n(24),_=n(38),w=n(73),x=n(39),k=l.TypeError,M=l.process,S=M&&M.versions,C=S&&S.v8||"",T=l.Promise,O="process"==c(M),L=function(){},A=i=b.f,D=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(L,L)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(L)instanceof t&&0!==C.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),E=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&R(e),e._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?u(k("Promise-chain cycle")):(o=E(n))?o.call(n,l,u):l(n)):u(r)}catch(e){c&&!a&&c.exit(),u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&j(e)}))}},j=function(e){v.call(l,(function(){var t,n,r,i=e._v,o=P(e);if(o&&(t=_((function(){O?M.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=O||P(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(e){v.call(l,(function(){var t;O?M.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},B=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=E(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,u(B,r,1),u(N,r,1))}catch(e){N.call(r,e)}})):(n._v=e,n._s=1,I(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};D||(T=function(e){p(this,T,"Promise","_h"),f(e),r.call(this);try{e(u(B,this,1),u(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(74)(T.prototype,{then:function(e,t){var n=A(g(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?M.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=u(B,e,1),this.reject=u(N,e,1)},b.f=A=function(e){return e===T||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!D,{Promise:T}),n(23)(T,"Promise"),n(75)("Promise"),a=n(2).Promise,d(d.S+d.F*!D,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!D),"Promise",{resolve:function(e){return x(s&&this===a?T:this,e)}}),d(d.S+d.F*!(D&&n(76)((function(e){T.all(e).catch(L)}))),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,o=_((function(){var n=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(11),i=n(68),o=n(69),a=n(3),s=n(27),l=n(70),u={},c={};(t=e.exports=function(e,t,n,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=r(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>b;b++)if((g=t?y(a(p=e[b])[0],p[1]):y(e[b]))===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if((g=i(m,y,p.value,t))===u||g===c)return g}).BREAK=u,t.RETURN=c},function(e,t,n){var r=n(3);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(8),i=n(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){var r=n(35),i=n(1)("iterator"),o=n(8);e.exports=n(2).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(0),i=n(37).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(10)(a);e.exports=function(){var e,t,n,u=function(){var r,i;for(l&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t,n){var r=n(0).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(5);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){"use strict";var r=n(0),i=n(2),o=n(13),a=n(6),s=n(1)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(4),i=n(2),o=n(0),a=n(36),s=n(39);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";var r=n(4),i=n(24),o=n(38);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(80),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={default:n(81),__esModule:!0}},function(e,t,n){n(82),e.exports=n(2).Object.assign},function(e,t,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(83)})},function(e,t,n){"use strict";var r=n(6),i=n(17),o=n(84),a=n(85),s=n(15),l=n(26),u=Object.assign;e.exports=!u||n(14)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),u=arguments.length,c=1,d=o.f,h=a.f;u>c;)for(var f,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;g>v;)f=m[v++],r&&!h.call(p,f)||(n[f]=p[f]);return n}:u},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){this.listeners={},this.on=function(e,t){void 0===this.listeners[e]&&(this.listeners[e]={triggered:!1,requested:!1,cbs:[]}),this.listeners[e].triggered&&t(),this.listeners[e].cbs.push(t)},this.emit=function(e){this.listeners[e]&&(this.listeners[e].triggered=!0,this.listeners[e].cbs.forEach((function(e){return e()})))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;return function(){var r=this,i=arguments;n&&clearTimeout(n),n=setTimeout((function(){e.apply(r,i)}),t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(32),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return e.reduce((function(e,t){return e.then(t)}),o.default.resolve())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t="abcdefghijklmnopqrstuvwxyz",n="",r=0;r<e;r++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}},function(e,t,n){"use strict";var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("div",{ref:"container",attrs:{name:this.name}})])};r._withStripped=!0;var i={render:r,staticRenderFns:[]};t.a=i}]).default}))},"66c8":function(e,t,n){var r=n("d3f4");n("5eda")("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},"66f9":function(e,t,n){n("8a81"),n("8478"),n("1c01"),n("58b2"),n("9986"),n("e4f7"),n("456d"),n("25db"),n("0d6d"),n("cf6a"),n("9aea"),n("66c8"),n("57f0"),n("165b"),n("f751"),n("db97"),n("fd24"),n("06db"),n("d92a"),n("7f7f"),n("217b"),n("18d0"),n("b72c"),n("c5f6"),n("036c"),n("54a8"),n("2e37"),n("fca0"),n("7cdf"),n("ee1d"),n("b1b1"),n("87f3"),n("9278"),n("5df2"),n("04ff"),n("7f25"),n("536b"),n("d9ab"),n("f9ab"),n("32d7"),n("25c9"),n("9f3c"),n("042e"),n("c7c6"),n("f4ff"),n("7872"),n("049f"),n("a69f"),n("0b21"),n("6c1a"),n("c7c62"),n("84b4"),n("5695"),n("788d"),n("4f37"),n("5df3"),n("a032"),n("aef6"),n("2fdb"),n("14b9"),n("f559"),n("8449"),n("9c86"),n("fa83"),n("48c0"),n("d263"),n("6c37"),n("9ec8"),n("d0b0"),n("b54a"),n("f386"),n("1448"),n("673e"),n("242a"),n("78ce"),n("0298"),n("8ea5"),n("87b3"),n("c8ce"),n("2caf"),n("1c4c"),n("e804"),n("373f"),n("23bf"),n("55dd"),n("f3e2"),n("6d67"),n("d25f"),n("759f"),n("6095"),n("0cd8"),n("48f8"),n("57e7"),n("9865"),n("744f"),n("6c7b"),n("7514"),n("20d6"),n("d04f"),n("cadf"),n("3b2b"),n("b0c5"),n("6b54"),n("3846"),n("4917"),n("a481"),n("386d"),n("28a5"),n("551c"),n("f400"),n("4f7f"),n("10ad"),n("c02b"),n("c66f"),n("262f"),n("b05c"),n("34ef"),n("6aa2"),n("15ac"),n("af56"),n("b6e4"),n("9c29"),n("63d9"),n("4dda"),n("df1b"),n("2397"),n("88ca"),n("ba16"),n("7ff6"),n("d185"),n("ebde"),n("2d34"),n("f6b3"),n("2251"),n("c698"),n("a19f"),n("9253"),n("9275"),n("6762"),n("e956"),n("71f1"),n("3535"),n("f576"),n("ed50"),n("23be"),n("7c0e"),n("988d"),n("ac4d"),n("c7ca"),n("8e6e"),n("8615"),n("ffc1"),n("4504"),n("fee7"),n("b9a1"),n("64d5"),n("4704"),n("db9a"),n("729b"),n("99c5"),n("764f"),n("bdd1"),n("416c"),n("dd8a"),n("5d40"),n("5d90"),n("0c36"),n("a234"),n("4276"),n("09e0"),n("0c00"),n("2748"),n("1f91"),n("9c00"),n("2f78"),n("b4c2"),n("1f18"),n("692b"),n("c775"),n("8a5c"),n("ed7e"),n("097d"),n("a9cc"),n("e3d0"),n("ceaf"),n("e394"),n("b80b"),n("06a7"),n("7cdff"),n("896f"),n("ec39"),n("3a9c"),n("0d25"),n("37b5"),n("4795"),n("130f"),n("ac6a"),e.exports=n("8378")},6718:function(e,t,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),a=n("ccb9"),s=n("d9f6").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"673e":function(e,t,n){"use strict";n("386b")("sub",(function(e){return function(){return e(this,"sub","","")}}))},6762:function(e,t,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6784:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  343. //! moment.js locale configuration
  344. var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],r=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return r}))},"67ab":function(e,t,n){var r=n("ca5a")("meta"),i=n("d3f4"),o=n("69a8"),a=n("86cc").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},h=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},6821:function(e,t,n){var r=n("626a"),i=n("be13");e.exports=function(e){return r(i(e))}},6887:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  345. //! moment.js locale configuration
  346. function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function i(e,t){return 2===t?o(e):e}function o(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,u=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],f=e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:c,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:u,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}});return f}))},"688b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  347. //! moment.js locale configuration
  348. var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},6909:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  349. //! moment.js locale configuration
  350. var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"692b":function(e,t,n){var r=n("5ca1"),i=Math.PI/180;r(r.S,"Math",{radians:function(e){return e*i}})},"696e":function(e,t,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),e.exports=n("584a").Promise},"69a0":function(e,t,n){(function(t){e.exports=t()})((function(e){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];n+=(r&i|~r&o)+t[0]-680876936|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[1]-389564586|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[2]+606105819|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[3]-1044525330|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+t[4]-176418897|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[5]+1200080426|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[6]-1473231341|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[7]-45705983|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+t[8]+1770035416|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[9]-1958414417|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[10]-42063|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[11]-1990404162|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+t[12]+1804603682|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[13]-40341101|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[14]-1502002290|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[15]+1236535329|0,r=(r<<22|r>>>10)+i|0,n+=(r&o|i&~o)+t[1]-165796510|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[6]-1069501632|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[11]+643717713|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[0]-373897302|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+t[5]-701558691|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[10]+38016083|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[15]-660478335|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[4]-405537848|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+t[9]+568446438|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[14]-1019803690|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[3]-187363961|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[8]+1163531501|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+t[13]-1444681467|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[2]-51403784|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[7]+1735328473|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[12]-1926607734|0,r=(r<<20|r>>>12)+i|0,n+=(r^i^o)+t[5]-378558|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[8]-2022574463|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[11]+1839030562|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[14]-35309556|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+t[1]-1530992060|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[4]+1272893353|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[7]-155497632|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[10]-1094730640|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+t[13]+681279174|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[0]-358537222|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[3]-722521979|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[6]+76029189|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+t[9]-640364487|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[12]-421815835|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[15]+530742520|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[2]-995338651|0,r=(r<<23|r>>>9)+i|0,n+=(i^(r|~o))+t[0]-198630844|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[7]+1126891415|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[5]-57434055|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[12]+1700485571|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[3]-1894986606|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[10]-1051523|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[1]-2054922799|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[8]+1873313359|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[15]-30611744|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[13]+1309151649|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[4]-145523070|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[11]-1120210379|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[2]+718787259|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[9]-343485551|0,r=(r<<21|r>>>11)+i|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=i+e[2]|0,e[3]=o+e[3]|0}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function i(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function o(e){var t,i,o,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)n(c,r(e.substring(t-64,t)));for(e=e.substring(t-64),i=e.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(c,o),t=0;t<16;t+=1)o[t]=0;return a=8*u,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,n(c,o),c}function a(e){var t,r,o,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)n(c,i(e.subarray(t-64,t)));for(e=t-64<u?e.subarray(t-64):new Uint8Array(0),r=e.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)o[t>>2]|=e[t]<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(c,o),t=0;t<16;t+=1)o[t]=0;return a=8*u,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,n(c,o),c}function s(e){var n,r="";for(n=0;n<4;n+=1)r+=t[e>>8*n+4&15]+t[e>>8*n&15];return r}function l(e){var t;for(t=0;t<e.length;t+=1)e[t]=s(e[t]);return e.join("")}function u(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e,t){var n,r=e.length,i=new ArrayBuffer(r),o=new Uint8Array(i);for(n=0;n<r;n+=1)o[n]=e.charCodeAt(n);return t?o:i}function d(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function h(e,t,n){var r=new Uint8Array(e.byteLength+t.byteLength);return r.set(new Uint8Array(e)),r.set(new Uint8Array(t),e.byteLength),n?r:r.buffer}function f(e){var t,n=[],r=e.length;for(t=0;t<r-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function p(){this.reset()}return"5d41402abc4b2a76b9719d911017c592"!==l(o("hello"))&&function(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n},"undefined"===typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return e=0|e||0,e<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var i,o,a,s,l=this.byteLength,u=t(n,l),c=l;return r!==e&&(c=t(r,l)),u>c?new ArrayBuffer(0):(i=c-u,o=new ArrayBuffer(i),a=new Uint8Array(o),s=new Uint8Array(this,u,i),a.set(s),o)}}(),p.prototype.append=function(e){return this.appendBinary(u(e)),this},p.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,i=this._buff.length;for(t=64;t<=i;t+=64)n(this._hash,r(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},p.prototype.end=function(e){var t,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(o,i),n=l(this._hash),e&&(n=f(n)),this.reset(),n},p.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},p.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},p.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},p.prototype._finish=function(e,t){var r,i,o,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=8*this._length,r=r.toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(r[2],16),o=parseInt(r[1],16)||0,e[14]=i,e[15]=o,n(this._hash,e)},p.hash=function(e,t){return p.hashBinary(u(e),t)},p.hashBinary=function(e,t){var n=o(e),r=l(n);return t?f(r):r},p.ArrayBuffer=function(){this.reset()},p.ArrayBuffer.prototype.append=function(e){var t,r=h(this._buff.buffer,e,!0),o=r.length;for(this._length+=e.byteLength,t=64;t<=o;t+=64)n(this._hash,i(r.subarray(t-64,t)));return this._buff=t-64<o?new Uint8Array(r.buffer.slice(t-64)):new Uint8Array(0),this},p.ArrayBuffer.prototype.end=function(e){var t,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=r[t]<<(t%4<<3);return this._finish(o,i),n=l(this._hash),e&&(n=f(n)),this.reset(),n},p.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.ArrayBuffer.prototype.getState=function(){var e=p.prototype.getState.call(this);return e.buff=d(e.buff),e},p.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),p.prototype.setState.call(this,e)},p.ArrayBuffer.prototype.destroy=p.prototype.destroy,p.ArrayBuffer.prototype._finish=p.prototype._finish,p.ArrayBuffer.hash=function(e,t){var n=a(new Uint8Array(e)),r=l(n);return t?f(r):r},p}))},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(e,t,n){n("ec30")("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},"6abf":function(e,t,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6b54":function(e,t,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),a="toString",s=/./[a],l=function(e){n("2aba")(RegExp.prototype,a,e,!0)};n("79e5")((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):s.name!=a&&l((function(){return s.call(this)}))},"6c02":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"changeDefaultConfig",{enumerable:!0,get:function(){return o.changeDefaultConfig}}),t["default"]=void 0;var i=r(n("04fb")),o=n("9d85"),a=i["default"];t["default"]=a},"6c1a":function(e,t,n){var r=n("5ca1"),i=n("2d5c"),o=Math.exp;r(r.S+r.F*n("79e5")((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},"6c1c":function(e,t,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},"6c29":function(e,t,n){"use strict";n("62fd");var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-active-ring-chart"},[n("div",{ref:"active-ring-chart",staticClass:"active-ring-chart-container"}),e._v(" "),n("div",{staticClass:"active-ring-info"},[n("dv-digital-flop",{attrs:{config:e.digitalFlop}}),e._v(" "),n("div",{staticClass:"active-ring-name",style:e.fontSize},[e._v(e._s(e.ringName))])],1)])},i=[],o=n("75fc"),a=n("db72"),s=(n("ac6a"),n("7f7f"),n("6c02")),l=n.n(s),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-digital-flop"},[n("canvas",{ref:"digital-flop"})])},c=[],d=n("768b"),h=n("9886"),f=n.n(h),p=(n("0ca1"),n("becb")),m=n("5557"),g={name:"DvDigitalFlop",props:{config:{type:Object,default:function(){return{}}}},data:function(){return{renderer:null,defaultConfig:{number:[],content:"",toFixed:0,textAlign:"center",rowGap:0,style:{fontSize:30,fill:"#3de7c9"},formatter:void 0,animationCurve:"easeOutCubic",animationFrame:50},mergedConfig:null,graph:null}},watch:{config:function(){var e=this.update;e()}},methods:{init:function(){var e=this.initRender,t=this.mergeConfig,n=this.initGraph;e(),t(),n()},initRender:function(){var e=this.$refs;this.renderer=new f.a(e["digital-flop"])},mergeConfig:function(){var e=this.defaultConfig,t=this.config;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(e,!0),t||{})},initGraph:function(){var e=this.getShape,t=this.getStyle,n=this.renderer,r=this.mergedConfig,i=r.animationCurve,o=r.animationFrame,a=e(),s=t();this.graph=n.add({name:"numberText",animationCurve:i,animationFrame:o,shape:a,style:s})},getShape:function(){var e=this.mergedConfig,t=e.number,n=e.content,r=e.toFixed,i=e.textAlign,o=e.rowGap,a=e.formatter,s=Object(d["a"])(this.renderer.area,2),l=s[0],u=s[1],c=[l/2,u/2];return"left"===i&&(c[0]=0),"right"===i&&(c[0]=l),{number:t,content:n,toFixed:r,position:c,rowGap:o,formatter:a}},getStyle:function(){var e=this.mergedConfig,t=e.style,n=e.textAlign;return Object(p["deepMerge"])(t,{textAlign:n,textBaseline:"middle"})},update:function(){var e=this.mergeConfig,t=this.mergeShape,n=this.getShape,r=this.getStyle,i=this.graph,o=this.mergedConfig;if(i.animationEnd(),e(),i){var a=o.animationCurve,s=o.animationFrame,l=n(),u=r();t(i,l),i.animationCurve=a,i.animationFrame=s,i.animation("style",u,!0),i.animation("shape",l)}},mergeShape:function(e,t){var n=e.shape.number.length,r=t.number.length;n!==r&&(e.shape.number=t.number)}},mounted:function(){var e=this.init;e()}},v=g,y=n("2877"),b=Object(y["a"])(v,u,c,!1,null,null,null),_=b.exports,w={name:"DvActiveRingChart",components:{dvDigitalFlop:_},props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultConfig:{radius:"50%",activeRadius:"55%",data:[{name:"",value:0}],lineWidth:20,activeTimeGap:3e3,color:[],digitalFlopStyle:{fontSize:25,fill:"#fff"},digitalFlopToFixed:0,digitalFlopUnit:"",animationCurve:"easeOutCubic",animationFrame:50,showOriginValue:!1},mergedConfig:null,chart:null,activeIndex:0,animationHandler:""}},computed:{digitalFlop:function(){var e=this.mergedConfig,t=this.activeIndex;if(!e)return{};var n,r=e.digitalFlopStyle,i=e.digitalFlopToFixed,o=e.data,a=e.showOriginValue,s=e.digitalFlopUnit,l=o.map((function(e){var t=e.value;return t}));if(a)n=l[t];else{var u=l.reduce((function(e,t){return e+t}),0),c=parseFloat(l[t]/u*100)||0;n=c}return{content:"{nt}".concat(a?s:s||"%"),number:[n],style:r,toFixed:i}},ringName:function(){var e=this.mergedConfig,t=this.activeIndex;return e?e.data[t].name:""},fontSize:function(){var e=this.mergedConfig;return e?"font-size: ".concat(e.digitalFlopStyle.fontSize,"px;"):""}},watch:{config:function(){var e=this.animationHandler,t=this.mergeConfig,n=this.setRingOption;clearTimeout(e),this.activeIndex=0,t(),n()}},methods:{init:function(){var e=this.initChart,t=this.mergeConfig,n=this.setRingOption;e(),t(),n()},initChart:function(){var e=this.$refs;this.chart=new l.a(e["active-ring-chart"])},mergeConfig:function(){var e=this.defaultConfig,t=this.config;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(e,!0),t||{})},setRingOption:function(){var e=this.getRingOption,t=this.chart,n=this.ringAnimation,r=e();t.setOption(r,!0),n()},getRingOption:function(){var e=this.mergedConfig,t=this.getRealRadius,n=t();return e.data.forEach((function(e){e.radius=n})),{series:[Object(a["a"])(Object(a["a"])({type:"pie"},e),{},{outsideLabel:{show:!1}})],color:e.color}},getRealRadius:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.mergedConfig,n=this.chart,r=t.radius,i=t.activeRadius,a=t.lineWidth,s=Math.min.apply(Math,Object(o["a"])(n.render.area))/2,l=a/2,u=e?i:r;"number"!==typeof u&&(u=parseInt(u)/100*s);var c=u-l,d=u+l;return[c,d]},ringAnimation:function(){var e=this,t=this.activeIndex,n=this.getRingOption,r=this.chart,i=this.getRealRadius,o=i(),a=i(!0),s=n(),l=s.series[0].data;l.forEach((function(e,n){e.radius=n===t?a:o})),r.setOption(s,!0);var u=s.series[0].activeTimeGap;this.animationHandler=setTimeout((function(n){t+=1,t>=l.length&&(t=0),e.activeIndex=t,e.ringAnimation()}),u)}},mounted:function(){var e=this.init;e()},beforeDestroy:function(){var e=this.animationHandler;clearTimeout(e)}},x=w,k=Object(y["a"])(x,r,i,!1,null,null,null),M=(k.exports,n("fe7b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-1"},[n("svg",{staticClass:"border",attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.backgroundColor,points:"10, 27 10, "+(e.height-27)+" 13, "+(e.height-24)+" 13, "+(e.height-21)+" 24, "+(e.height-11)+"\n 38, "+(e.height-11)+" 41, "+(e.height-8)+" 73, "+(e.height-8)+" 75, "+(e.height-10)+" 81, "+(e.height-10)+"\n 85, "+(e.height-6)+" "+(e.width-85)+", "+(e.height-6)+" "+(e.width-81)+", "+(e.height-10)+" "+(e.width-75)+", "+(e.height-10)+"\n "+(e.width-73)+", "+(e.height-8)+" "+(e.width-41)+", "+(e.height-8)+" "+(e.width-38)+", "+(e.height-11)+"\n "+(e.width-24)+", "+(e.height-11)+" "+(e.width-13)+", "+(e.height-21)+" "+(e.width-13)+", "+(e.height-24)+"\n "+(e.width-10)+", "+(e.height-27)+" "+(e.width-10)+", 27 "+(e.width-13)+", 25 "+(e.width-13)+", 21\n "+(e.width-24)+", 11 "+(e.width-38)+", 11 "+(e.width-41)+", 8 "+(e.width-73)+", 8 "+(e.width-75)+", 10\n "+(e.width-81)+", 10 "+(e.width-85)+", 6 85, 6 81, 10 75, 10 73, 8 41, 8 38, 11 24, 11 13, 21 13, 24"}})]),e._v(" "),e._l(e.border,(function(t){return n("svg",{key:t,class:t+" border",attrs:{width:"150px",height:"150px"}},[n("polygon",{attrs:{fill:e.mergedColor[0],points:"6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"}},[n("animate",{attrs:{attributeName:"fill",values:e.mergedColor[0]+";"+e.mergedColor[1]+";"+e.mergedColor[0],dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("polygon",{attrs:{fill:e.mergedColor[1],points:"27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8"}},[n("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0]+";"+e.mergedColor[1],dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("polygon",{attrs:{fill:e.mergedColor[0],points:"9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"}},[n("animate",{attrs:{attributeName:"fill",values:e.mergedColor[0]+";"+e.mergedColor[1]+";transparent",dur:"1s",begin:"0s",repeatCount:"indefinite"}})])])})),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)],2)}),S=[];function C(e,t){return 1===arguments.length?parseInt(Math.random()*e+1,10):parseInt(Math.random()*(t-e+1)+e,10)}function T(e,t){let n;return function(){clearTimeout(n);const[r,i]=[this,arguments];n=setTimeout(()=>{t.apply(r,i)},e)}}function O(e,t){const n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,r=new n(t);return r.observe(e,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0}),r}function L(e,t){const n=Math.abs(e[0]-t[0]),r=Math.abs(e[1]-t[1]);return Math.sqrt(n*n+r*r)}function A(e){return(e?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx":"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx").replace(/[xy]/g,(function(e){const t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))}var D={data(){return{dom:"",width:0,height:0,debounceInitWHFun:"",domObserver:""}},methods:{async autoResizeMixinInit(){const{initWH:e,getDebounceInitWHFun:t,bindDomResizeCallback:n,afterAutoResizeMixinInit:r}=this;await e(!1),t(),n(),"function"===typeof r&&r()},initWH(e=!0){const{$nextTick:t,$refs:n,ref:r,onResize:i}=this;return new Promise(o=>{t(t=>{const a=this.dom=n[r];this.width=a?a.clientWidth:0,this.height=a?a.clientHeight:0,a?this.width&&this.height||console.warn("DataV: Component width or height is 0px, rendering abnormality may occur!"):console.warn("DataV: Failed to get dom node, component rendering may be abnormal!"),"function"===typeof i&&e&&i(),o()})})},getDebounceInitWHFun(){const{initWH:e}=this;this.debounceInitWHFun=T(100,e)},bindDomResizeCallback(){const{dom:e,debounceInitWHFun:t}=this;this.domObserver=O(e,t),window.addEventListener("resize",t)},unbindDomResizeCallback(){let{domObserver:e,debounceInitWHFun:t}=this;e&&(e.disconnect(),e.takeRecords(),e=null,window.removeEventListener("resize",t))}},mounted(){const{autoResizeMixinInit:e}=this;e()},beforeDestroy(){const{unbindDomResizeCallback:e}=this;e()}},E={name:"DvBorderBox1",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-1",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#4fd2dd","#235fa7"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},I=E,j=Object(y["a"])(I,M,S,!1,null,null,null),P=j.exports,R=function(e){e.component(P.name,P)},N=(n("6ccd"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-10",style:"box-shadow: inset 0 0 25px 3px "+e.mergedColor[0]},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.backgroundColor,points:"\n 4, 0 "+(e.width-4)+", 0 "+e.width+", 4 "+e.width+", "+(e.height-4)+" "+(e.width-4)+", "+e.height+"\n 4, "+e.height+" 0, "+(e.height-4)+" 0, 4\n "}})]),e._v(" "),e._l(e.border,(function(t){return n("svg",{key:t,class:t+" dv-border-svg-container",attrs:{width:"150px",height:"150px"}},[n("polygon",{attrs:{fill:e.mergedColor[1],points:"40, 0 5, 0 0, 5 0, 16 3, 19 3, 7 7, 3 35, 3"}})])})),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)],2)}),B=[],Y={name:"DvBorderBox10",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-10",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#1d48c4","#d3e1f8"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},F=Y,z=Object(y["a"])(F,N,B,!1,null,null,null),H=(z.exports,n("4656"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-11"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("defs",[n("filter",{attrs:{id:e.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[n("feMorphology",{attrs:{operator:"dilate",radius:"2",in:"SourceAlpha",result:"thicken"}}),e._v(" "),n("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"3",result:"blurred"}}),e._v(" "),n("feFlood",{attrs:{"flood-color":e.mergedColor[1],result:"glowColor"}}),e._v(" "),n("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),e._v(" "),n("feMerge",[n("feMergeNode",{attrs:{in:"softGlowColored"}}),e._v(" "),n("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),e._v(" "),n("polygon",{attrs:{fill:e.backgroundColor,points:"\n 20, 32 "+(.5*e.width-e.titleWidth/2)+", 32 "+(.5*e.width-e.titleWidth/2+20)+", 53\n "+(.5*e.width+e.titleWidth/2-20)+", 53 "+(.5*e.width+e.titleWidth/2)+", 32\n "+(e.width-20)+", 32 "+(e.width-8)+", 48 "+(e.width-8)+", "+(e.height-25)+" "+(e.width-20)+", "+(e.height-8)+"\n 20, "+(e.height-8)+" 8, "+(e.height-25)+" 8, 50\n "}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],filter:"url(#"+e.filterId+")",points:"\n "+(e.width-e.titleWidth)/2+", 30\n 20, 30 7, 50 7, "+(50+(e.height-167)/2)+"\n 13, "+(55+(e.height-167)/2)+" 13, "+(135+(e.height-167)/2)+"\n 7, "+(140+(e.height-167)/2)+" 7, "+(e.height-27)+"\n 20, "+(e.height-7)+" "+(e.width-20)+", "+(e.height-7)+" "+(e.width-7)+", "+(e.height-27)+"\n "+(e.width-7)+", "+(140+(e.height-167)/2)+" "+(e.width-13)+", "+(135+(e.height-167)/2)+"\n "+(e.width-13)+", "+(55+(e.height-167)/2)+" "+(e.width-7)+", "+(50+(e.height-167)/2)+"\n "+(e.width-7)+", 50 "+(e.width-20)+", 30 "+(e.width+e.titleWidth)/2+", 30\n "+((e.width+e.titleWidth)/2-20)+", 7 "+((e.width-e.titleWidth)/2+20)+", 7\n "+(e.width-e.titleWidth)/2+", 30 "+((e.width-e.titleWidth)/2+20)+", 52\n "+((e.width+e.titleWidth)/2-20)+", 52 "+(e.width+e.titleWidth)/2+", 30\n "}}),e._v(" "),n("polygon",{attrs:{stroke:e.mergedColor[0],fill:"transparent",points:"\n "+((e.width+e.titleWidth)/2-5)+", 30 "+((e.width+e.titleWidth)/2-21)+", 11\n "+((e.width+e.titleWidth)/2-27)+", 11 "+((e.width+e.titleWidth)/2-8)+", 34\n "}}),e._v(" "),n("polygon",{attrs:{stroke:e.mergedColor[0],fill:"transparent",points:"\n "+((e.width-e.titleWidth)/2+5)+", 30 "+((e.width-e.titleWidth)/2+22)+", 49\n "+((e.width-e.titleWidth)/2+28)+", 49 "+((e.width-e.titleWidth)/2+8)+", 26\n "}}),e._v(" "),n("polygon",{attrs:{stroke:e.mergedColor[0],fill:e.fade(e.mergedColor[1]||e.defaultColor[1],30),filter:"url(#"+e.filterId+")",points:"\n "+((e.width+e.titleWidth)/2-11)+", 37 "+((e.width+e.titleWidth)/2-32)+", 11\n "+((e.width-e.titleWidth)/2+23)+", 11 "+((e.width-e.titleWidth)/2+11)+", 23\n "+((e.width-e.titleWidth)/2+33)+", 49 "+((e.width+e.titleWidth)/2-22)+", 49\n "}}),e._v(" "),n("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"1",points:"\n "+((e.width-e.titleWidth)/2-10)+", 37 "+((e.width-e.titleWidth)/2-31)+", 37\n "+((e.width-e.titleWidth)/2-25)+", 46 "+((e.width-e.titleWidth)/2-4)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.7",points:"\n "+((e.width-e.titleWidth)/2-40)+", 37 "+((e.width-e.titleWidth)/2-61)+", 37\n "+((e.width-e.titleWidth)/2-55)+", 46 "+((e.width-e.titleWidth)/2-34)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.5",points:"\n "+((e.width-e.titleWidth)/2-70)+", 37 "+((e.width-e.titleWidth)/2-91)+", 37\n "+((e.width-e.titleWidth)/2-85)+", 46 "+((e.width-e.titleWidth)/2-64)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"1",points:"\n "+((e.width+e.titleWidth)/2+30)+", 37 "+((e.width+e.titleWidth)/2+9)+", 37\n "+((e.width+e.titleWidth)/2+3)+", 46 "+((e.width+e.titleWidth)/2+24)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.7",points:"\n "+((e.width+e.titleWidth)/2+60)+", 37 "+((e.width+e.titleWidth)/2+39)+", 37\n "+((e.width+e.titleWidth)/2+33)+", 46 "+((e.width+e.titleWidth)/2+54)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.5",points:"\n "+((e.width+e.titleWidth)/2+90)+", 37 "+((e.width+e.titleWidth)/2+69)+", 37\n "+((e.width+e.titleWidth)/2+63)+", 46 "+((e.width+e.titleWidth)/2+84)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("text",{staticClass:"dv-border-box-11-title",attrs:{x:""+e.width/2,y:"32",fill:"#fff","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("polygon",{attrs:{fill:e.mergedColor[0],filter:"url(#"+e.filterId+")",points:"\n 7, "+(53+(e.height-167)/2)+" 11, "+(57+(e.height-167)/2)+"\n 11, "+(133+(e.height-167)/2)+" 7, "+(137+(e.height-167)/2)+"\n "}}),e._v(" "),n("polygon",{attrs:{fill:e.mergedColor[0],filter:"url(#"+e.filterId+")",points:"\n "+(e.width-7)+", "+(53+(e.height-167)/2)+" "+(e.width-11)+", "+(57+(e.height-167)/2)+"\n "+(e.width-11)+", "+(133+(e.height-167)/2)+" "+(e.width-7)+", "+(137+(e.height-167)/2)+"\n "}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),V=[],W=(n("c5f6"),n("a870")),U={name:"DvBorderBox11",mixins:[D],props:{color:{type:Array,default:function(){return[]}},titleWidth:{type:Number,default:250},title:{type:String,default:""},backgroundColor:{type:String,default:"transparent"}},data:function(){var e=A();return{ref:"border-box-11",filterId:"border-box-11-filterId-".concat(e),defaultColor:["#8aaafb","#1f33a2"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:W["fade"]},mounted:function(){var e=this.mergeColor;e()}},$=U,G=Object(y["a"])($,H,V,!1,null,null,null),q=(G.exports,n("3c0e"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-12"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("defs",[n("filter",{attrs:{id:e.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[n("feMorphology",{attrs:{operator:"dilate",radius:"1",in:"SourceAlpha",result:"thicken"}}),e._v(" "),n("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"2",result:"blurred"}}),e._v(" "),n("feFlood",{attrs:{"flood-color":e.fade(e.mergedColor[1]||e.defaultColor[1],70),result:"glowColor"}},[n("animate",{attrs:{attributeName:"flood-color",values:"\n "+e.fade(e.mergedColor[1]||e.defaultColor[1],70)+";\n "+e.fade(e.mergedColor[1]||e.defaultColor[1],30)+";\n "+e.fade(e.mergedColor[1]||e.defaultColor[1],70)+";\n ",dur:"3s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),e._v(" "),n("feMerge",[n("feMergeNode",{attrs:{in:"softGlowColored"}}),e._v(" "),n("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),e._v(" "),e.width&&e.height?n("path",{attrs:{fill:e.backgroundColor,"stroke-width":"2",stroke:e.mergedColor[0],d:"\n M15 5 L "+(e.width-15)+" 5 Q "+(e.width-5)+" 5, "+(e.width-5)+" 15\n L "+(e.width-5)+" "+(e.height-15)+" Q "+(e.width-5)+" "+(e.height-5)+", "+(e.width-15)+" "+(e.height-5)+"\n L 15, "+(e.height-5)+" Q 5 "+(e.height-5)+" 5 "+(e.height-15)+" L 5 15\n Q 5 5 15 5\n "}}):e._e(),e._v(" "),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"M 20 5 L 15 5 Q 5 5 5 15 L 5 20"}}),e._v(" "),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"M "+(e.width-20)+" 5 L "+(e.width-15)+" 5 Q "+(e.width-5)+" 5 "+(e.width-5)+" 15 L "+(e.width-5)+" 20"}}),e._v(" "),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"\n M "+(e.width-20)+" "+(e.height-5)+" L "+(e.width-15)+" "+(e.height-5)+"\n Q "+(e.width-5)+" "+(e.height-5)+" "+(e.width-5)+" "+(e.height-15)+"\n L "+(e.width-5)+" "+(e.height-20)+"\n "}}),e._v(" "),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"\n M 20 "+(e.height-5)+" L 15 "+(e.height-5)+"\n Q 5 "+(e.height-5)+" 5 "+(e.height-15)+"\n L 5 "+(e.height-20)+"\n "}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),X=[],K={name:"DvBorderBox12",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){var e=A();return{ref:"border-box-12",filterId:"borderr-box-12-filterId-".concat(e),defaultColor:["#2e6099","#7ce7fd"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:W["fade"]},mounted:function(){var e=this.mergeColor;e()}},Z=K,J=Object(y["a"])(Z,q,X,!1,null,null,null),Q=(J.exports,n("470c"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-13"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("path",{attrs:{fill:e.backgroundColor,stroke:e.mergedColor[0],d:"\n M 5 20 L 5 10 L 12 3 L 60 3 L 68 10\n L "+(e.width-20)+" 10 L "+(e.width-5)+" 25\n L "+(e.width-5)+" "+(e.height-5)+" L 20 "+(e.height-5)+"\n L 5 "+(e.height-20)+" L 5 20\n "}}),e._v(" "),n("path",{attrs:{fill:"transparent","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"10, 5",stroke:e.mergedColor[0],d:"M 16 9 L 61 9"}}),e._v(" "),n("path",{attrs:{fill:"transparent",stroke:e.mergedColor[1],d:"M 5 20 L 5 10 L 12 3 L 60 3 L 68 10"}}),e._v(" "),n("path",{attrs:{fill:"transparent",stroke:e.mergedColor[1],d:"M "+(e.width-5)+" "+(e.height-30)+" L "+(e.width-5)+" "+(e.height-5)+" L "+(e.width-30)+" "+(e.height-5)}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),ee=[],te={name:"DvBorderBox13",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-13",defaultColor:["#6586ec","#2cf7fe"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},ne=te,re=Object(y["a"])(ne,Q,ee,!1,null,null,null),ie=(re.exports,n("b72d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-2"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.backgroundColor,points:"\n 7, 7 "+(e.width-7)+", 7 "+(e.width-7)+", "+(e.height-7)+" 7, "+(e.height-7)+"\n "}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"2, 2 "+(e.width-2)+" ,2 "+(e.width-2)+", "+(e.height-2)+" 2, "+(e.height-2)+" 2, 2"}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[1],points:"6, 6 "+(e.width-6)+", 6 "+(e.width-6)+", "+(e.height-6)+" 6, "+(e.height-6)+" 6, 6"}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[0],cx:"11",cy:"11",r:"1"}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[0],cx:e.width-11,cy:"11",r:"1"}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[0],cx:e.width-11,cy:e.height-11,r:"1"}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[0],cx:"11",cy:e.height-11,r:"1"}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),oe=[],ae={name:"DvBorderBox2",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-2",defaultColor:["#fff","rgba(255, 255, 255, 0.6)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},se=ae,le=Object(y["a"])(se,ie,oe,!1,null,null,null),ue=(le.exports,n("1e4c"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-3"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.backgroundColor,points:"\n 23, 23 "+(e.width-24)+", 23 "+(e.width-24)+", "+(e.height-24)+" 23, "+(e.height-24)+"\n "}}),e._v(" "),n("polyline",{staticClass:"dv-bb3-line1",attrs:{stroke:e.mergedColor[0],points:"4, 4 "+(e.width-22)+" ,4 "+(e.width-22)+", "+(e.height-22)+" 4, "+(e.height-22)+" 4, 4"}}),e._v(" "),n("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:"10, 10 "+(e.width-16)+", 10 "+(e.width-16)+", "+(e.height-16)+" 10, "+(e.height-16)+" 10, 10"}}),e._v(" "),n("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:"16, 16 "+(e.width-10)+", 16 "+(e.width-10)+", "+(e.height-10)+" 16, "+(e.height-10)+" 16, 16"}}),e._v(" "),n("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:"22, 22 "+(e.width-4)+", 22 "+(e.width-4)+", "+(e.height-4)+" 22, "+(e.height-4)+" 22, 22"}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),ce=[],de={name:"DvBorderBox3",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-3",defaultColor:["#2862b7","#2862b7"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},he=de,fe=Object(y["a"])(he,ue,ce,!1,null,null,null),pe=(fe.exports,n("1dac"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-4"},[n("svg",{class:"dv-border-svg-container "+(e.reverse&&"dv-reverse"),attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.backgroundColor,points:"\n "+(e.width-15)+", 22 170, 22 150, 7 40, 7 28, 21 32, 24\n 16, 42 16, "+(e.height-32)+" 41, "+(e.height-7)+" "+(e.width-15)+", "+(e.height-7)+"\n "}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-1",attrs:{stroke:e.mergedColor[0],points:"145, "+(e.height-5)+" 40, "+(e.height-5)+" 10, "+(e.height-35)+"\n 10, 40 40, 5 150, 5 170, 20 "+(e.width-15)+", 20"}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-2",attrs:{stroke:e.mergedColor[1],points:"245, "+(e.height-1)+" 36, "+(e.height-1)+" 14, "+(e.height-23)+"\n 14, "+(e.height-100)}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-3",attrs:{stroke:e.mergedColor[0],points:"7, "+(e.height-40)+" 7, "+(e.height-75)}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-4",attrs:{stroke:e.mergedColor[0],points:"28, 24 13, 41 13, 64"}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-5",attrs:{stroke:e.mergedColor[0],points:"5, 45 5, 140"}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-6",attrs:{stroke:e.mergedColor[1],points:"14, 75 14, 180"}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-7",attrs:{stroke:e.mergedColor[1],points:"55, 11 147, 11 167, 26 250, 26"}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-8",attrs:{stroke:e.mergedColor[1],points:"158, 5 173, 16"}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-9",attrs:{stroke:e.mergedColor[0],points:"200, 17 "+(e.width-10)+", 17"}}),e._v(" "),n("polyline",{staticClass:"dv-bb4-line-10",attrs:{stroke:e.mergedColor[1],points:"385, 17 "+(e.width-10)+", 17"}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),me=[],ge={name:"DvBorderBox4",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-4",defaultColor:["red","rgba(0,0,255,0.8)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},ve=ge,ye=Object(y["a"])(ve,pe,me,!1,null,null,null),be=(ye.exports,n("042d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-5"},[n("svg",{class:"dv-border-svg-container "+(e.reverse&&"dv-reverse"),attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.backgroundColor,points:"\n 10, 22 "+(e.width-22)+", 22 "+(e.width-22)+", "+(e.height-86)+" "+(e.width-84)+", "+(e.height-24)+" 10, "+(e.height-24)+"\n "}}),e._v(" "),n("polyline",{staticClass:"dv-bb5-line-1",attrs:{stroke:e.mergedColor[0],points:"8, 5 "+(e.width-5)+", 5 "+(e.width-5)+", "+(e.height-100)+"\n "+(e.width-100)+", "+(e.height-5)+" 8, "+(e.height-5)+" 8, 5"}}),e._v(" "),n("polyline",{staticClass:"dv-bb5-line-2",attrs:{stroke:e.mergedColor[1],points:"3, 5 "+(e.width-20)+", 5 "+(e.width-20)+", "+(e.height-60)+"\n "+(e.width-74)+", "+(e.height-5)+" 3, "+(e.height-5)+" 3, 5"}}),e._v(" "),n("polyline",{staticClass:"dv-bb5-line-3",attrs:{stroke:e.mergedColor[1],points:"50, 13 "+(e.width-35)+", 13"}}),e._v(" "),n("polyline",{staticClass:"dv-bb5-line-4",attrs:{stroke:e.mergedColor[1],points:"15, 20 "+(e.width-35)+", 20"}}),e._v(" "),n("polyline",{staticClass:"dv-bb5-line-5",attrs:{stroke:e.mergedColor[1],points:"15, "+(e.height-20)+" "+(e.width-110)+", "+(e.height-20)}}),e._v(" "),n("polyline",{staticClass:"dv-bb5-line-6",attrs:{stroke:e.mergedColor[1],points:"15, "+(e.height-13)+" "+(e.width-110)+", "+(e.height-13)}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),_e=[],we={name:"DvBorderBox5",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-5",defaultColor:["rgba(255, 255, 255, 0.35)","rgba(255, 255, 255, 0.20)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},xe=we,ke=Object(y["a"])(xe,be,_e,!1,null,null,null),Me=(ke.exports,n("4e86"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-6"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.backgroundColor,points:"\n 9, 7 "+(e.width-9)+", 7 "+(e.width-9)+", "+(e.height-7)+" 9, "+(e.height-7)+"\n "}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[1],cx:"5",cy:"5",r:"2"}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[1],cx:e.width-5,cy:"5",r:"2"}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[1],cx:e.width-5,cy:e.height-5,r:"2"}}),e._v(" "),n("circle",{attrs:{fill:e.mergedColor[1],cx:"5",cy:e.height-5,r:"2"}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"10, 4 "+(e.width-10)+", 4"}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"10, "+(e.height-4)+" "+(e.width-10)+", "+(e.height-4)}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"5, 70 5, "+(e.height-70)}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-5+", 70 "+(e.width-5)+", "+(e.height-70)}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"3, 10, 3, 50"}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"7, 30 7, 80"}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-3+", 10 "+(e.width-3)+", 50"}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-7+", 30 "+(e.width-7)+", 80"}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"3, "+(e.height-10)+" 3, "+(e.height-50)}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:"7, "+(e.height-30)+" 7, "+(e.height-80)}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-3+", "+(e.height-10)+" "+(e.width-3)+", "+(e.height-50)}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-7+", "+(e.height-30)+" "+(e.width-7)+", "+(e.height-80)}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Se=[],Ce={name:"DvBorderBox6",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-6",defaultColor:["rgba(255, 255, 255, 0.35)","gray"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Te=Ce,Oe=Object(y["a"])(Te,Me,Se,!1,null,null,null),Le=(Oe.exports,n("3648"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-7",style:"box-shadow: inset 0 0 40px "+e.mergedColor[0]+"; border: 1px solid "+e.mergedColor[0]+"; background-color: "+e.backgroundColor},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:"0, 25 0, 0 25, 0"}}),e._v(" "),n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:e.width-25+", 0 "+e.width+", 0 "+e.width+", 25"}}),e._v(" "),n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:e.width-25+", "+e.height+" "+e.width+", "+e.height+" "+e.width+", "+(e.height-25)}}),e._v(" "),n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:"0, "+(e.height-25)+" 0, "+e.height+" 25, "+e.height}}),e._v(" "),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:"0, 10 0, 0 10, 0"}}),e._v(" "),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:e.width-10+", 0 "+e.width+", 0 "+e.width+", 10"}}),e._v(" "),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:e.width-10+", "+e.height+" "+e.width+", "+e.height+" "+e.width+", "+(e.height-10)}}),e._v(" "),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:"0, "+(e.height-10)+" 0, "+e.height+" 10, "+e.height}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Ae=[],De={name:"DvBorderBox7",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-7",defaultColor:["rgba(128,128,128,0.3)","rgba(128,128,128,0.5)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Ee=De,Ie=Object(y["a"])(Ee,Le,Ae,!1,null,null,null),je=(Ie.exports,n("733c"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-8"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("defs",[n("path",{attrs:{id:e.path,d:e.pathD,fill:"transparent"}}),e._v(" "),n("radialGradient",{attrs:{id:e.gradient,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),e._v(" "),n("mask",{attrs:{id:e.mask}},[n("circle",{attrs:{cx:"0",cy:"0",r:"150",fill:"url(#"+e.gradient+")"}},[n("animateMotion",{attrs:{dur:e.dur+"s",path:e.pathD,rotate:"auto",repeatCount:"indefinite"}})],1)])],1),e._v(" "),n("polygon",{attrs:{fill:e.backgroundColor,points:"5, 5 "+(e.width-5)+", 5 "+(e.width-5)+" "+(e.height-5)+" 5, "+(e.height-5)}}),e._v(" "),n("use",{attrs:{stroke:e.mergedColor[0],"stroke-width":"1","xlink:href":"#"+e.path}}),e._v(" "),n("use",{attrs:{stroke:e.mergedColor[1],"stroke-width":"3","xlink:href":"#"+e.path,mask:"url(#"+e.mask+")"}},[n("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+e.length,to:e.length+", 0",dur:e.dur+"s",repeatCount:"indefinite"}})])]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Pe=[],Re={name:"DvBorderBox8",mixins:[D],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:3},backgroundColor:{type:String,default:"transparent"},reverse:{type:Boolean,default:!1}},data:function(){var e=A();return{ref:"border-box-8",path:"border-box-8-path-".concat(e),gradient:"border-box-8-gradient-".concat(e),mask:"border-box-8-mask-".concat(e),defaultColor:["#235fa7","#4fd2dd"],mergedColor:[]}},computed:{length:function(){var e=this.width,t=this.height;return 2*(e+t-5)},pathD:function(){var e=this.reverse,t=this.width,n=this.height;return e?"M 2.5, 2.5 L 2.5, ".concat(n-2.5," L ").concat(t-2.5,", ").concat(n-2.5," L ").concat(t-2.5,", 2.5 L 2.5, 2.5"):"M2.5, 2.5 L".concat(t-2.5,", 2.5 L").concat(t-2.5,", ").concat(n-2.5," L2.5, ").concat(n-2.5," L2.5, 2.5")}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Ne=Re,Be=Object(y["a"])(Ne,je,Pe,!1,null,null,null),Ye=(Be.exports,n("6fc2"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-border-box-9"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[n("defs",[n("linearGradient",{attrs:{id:e.gradientId,x1:"0%",y1:"0%",x2:"100%",y2:"100%"}},[n("animate",{attrs:{attributeName:"x1",values:"0%;100%;0%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"x2",values:"100%;0%;100%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),e._v(" "),n("stop",{attrs:{offset:"0%","stop-color":e.mergedColor[0]}},[n("animate",{attrs:{attributeName:"stop-color",values:e.mergedColor[0]+";"+e.mergedColor[1]+";"+e.mergedColor[0],dur:"10s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":e.mergedColor[1]}},[n("animate",{attrs:{attributeName:"stop-color",values:e.mergedColor[1]+";"+e.mergedColor[0]+";"+e.mergedColor[1],dur:"10s",begin:"0s",repeatCount:"indefinite"}})])],1),e._v(" "),n("mask",{attrs:{id:e.maskId}},[n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:"8, "+.4*e.height+" 8, 3, "+(.4*e.width+7)+", 3"}}),e._v(" "),n("polyline",{attrs:{fill:"#fff",points:"8, "+.15*e.height+" 8, 3, "+(.1*e.width+7)+", 3\n "+.1*e.width+", 8 14, 8 14, "+(.15*e.height-7)+"\n "}}),e._v(" "),n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:.5*e.width+", 3 "+(e.width-3)+", 3, "+(e.width-3)+", "+.25*e.height}}),e._v(" "),n("polyline",{attrs:{fill:"#fff",points:"\n "+.52*e.width+", 3 "+.58*e.width+", 3\n "+(.58*e.width-7)+", 9 "+(.52*e.width+7)+", 9\n "}}),e._v(" "),n("polyline",{attrs:{fill:"#fff",points:"\n "+.9*e.width+", 3 "+(e.width-3)+", 3 "+(e.width-3)+", "+.1*e.height+"\n "+(e.width-9)+", "+(.1*e.height-7)+" "+(e.width-9)+", 9 "+(.9*e.width+7)+", 9\n "}}),e._v(" "),n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:"8, "+.5*e.height+" 8, "+(e.height-3)+" "+(.3*e.width+7)+", "+(e.height-3)}}),e._v(" "),n("polyline",{attrs:{fill:"#fff",points:"\n 8, "+.55*e.height+" 8, "+.7*e.height+"\n 2, "+(.7*e.height-7)+" 2, "+(.55*e.height+7)+"\n "}}),e._v(" "),n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:.35*e.width+", "+(e.height-3)+" "+(e.width-3)+", "+(e.height-3)+" "+(e.width-3)+", "+.35*e.height}}),e._v(" "),n("polyline",{attrs:{fill:"#fff",points:"\n "+.92*e.width+", "+(e.height-3)+" "+(e.width-3)+", "+(e.height-3)+" "+(e.width-3)+", "+.8*e.height+"\n "+(e.width-9)+", "+(.8*e.height+7)+" "+(e.width-9)+", "+(e.height-9)+" "+(.92*e.width+7)+", "+(e.height-9)+"\n "}})])],1),e._v(" "),n("polygon",{attrs:{fill:e.backgroundColor,points:"\n 15, 9 "+(.1*e.width+1)+", 9 "+(.1*e.width+4)+", 6 "+(.52*e.width+2)+", 6\n "+(.52*e.width+6)+", 10 "+(.58*e.width-7)+", 10 "+(.58*e.width-2)+", 6\n "+(.9*e.width+2)+", 6 "+(.9*e.width+6)+", 10 "+(e.width-10)+", 10 "+(e.width-10)+", "+(.1*e.height-6)+"\n "+(e.width-6)+", "+(.1*e.height-1)+" "+(e.width-6)+", "+(.8*e.height+1)+" "+(e.width-10)+", "+(.8*e.height+6)+"\n "+(e.width-10)+", "+(e.height-10)+" "+(.92*e.width+7)+", "+(e.height-10)+" "+(.92*e.width+2)+", "+(e.height-6)+"\n 11, "+(e.height-6)+" 11, "+(.15*e.height-2)+" 15, "+(.15*e.height-7)+"\n "}}),e._v(" "),n("rect",{attrs:{x:"0",y:"0",width:e.width,height:e.height,fill:"url(#"+e.gradientId+")",mask:"url(#"+e.maskId+")"}})]),e._v(" "),n("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Fe=[],ze={name:"DvBorderBox9",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){var e=A();return{ref:"border-box-9",gradientId:"border-box-9-gradient-".concat(e),maskId:"border-box-9-mask-".concat(e),defaultColor:["#11eefd","#0078d2"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},He=ze,Ve=Object(y["a"])(He,Ye,Fe,!1,null,null,null),We=(Ve.exports,n("335d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-capsule-chart"},[e.mergedConfig?[n("div",{staticClass:"label-column"},[e._l(e.mergedConfig.data,(function(t){return n("div",{key:t.name},[e._v(e._s(t.name))])})),e._v(" "),n("div",[e._v(" ")])],2),e._v(" "),n("div",{staticClass:"capsule-container"},[e._l(e.capsuleLength,(function(t,r){return n("div",{key:r,staticClass:"capsule-item"},[n("div",{staticClass:"capsule-item-column",style:"width: "+100*t+"%; background-color: "+e.mergedConfig.colors[r%e.mergedConfig.colors.length]+";"},[e.mergedConfig.showValue?n("div",{staticClass:"capsule-item-value"},[e._v(e._s(e.capsuleValue[r]))]):e._e()])])})),e._v(" "),n("div",{staticClass:"unit-label"},e._l(e.labelData,(function(t,r){return n("div",{key:t+r},[e._v(e._s(t))])})),0)],2),e._v(" "),e.mergedConfig.unit?n("div",{staticClass:"unit-text"},[e._v(e._s(e.mergedConfig.unit))]):e._e()]:e._e()],2)}),Ue=[],$e=(n("6c7b"),n("4f7f"),n("5df3"),n("1c4c"),{name:"DvCapsuleChart",props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultConfig:{data:[],colors:["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293"],unit:"",showValue:!1},mergedConfig:null,capsuleLength:[],capsuleValue:[],labelData:[],labelDataLength:[]}},watch:{config:function(){var e=this.calcData;e()}},methods:{calcData:function(){var e=this.mergeConfig,t=this.calcCapsuleLengthAndLabelData;e(),t()},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})},calcCapsuleLengthAndLabelData:function(){var e=this.mergedConfig.data;if(e.length){var t=e.map((function(e){var t=e.value;return t})),n=Math.max.apply(Math,Object(o["a"])(t));this.capsuleValue=t,this.capsuleLength=t.map((function(e){return n?e/n:0}));var r=n/5,i=Array.from(new Set(new Array(6).fill(0).map((function(e,t){return Math.ceil(t*r)}))));this.labelData=i,this.labelDataLength=Array.from(i).map((function(e){return n?e/n:0}))}}},mounted:function(){var e=this.calcData;e()}}),Ge=$e,qe=Object(y["a"])(Ge,We,Ue,!1,null,null,null),Xe=qe.exports,Ke=function(e){e.component(Xe.name,Xe)},Ze=(n("8261"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-charts-container"},[n("div",{ref:e.chartRef,staticClass:"charts-canvas-container"})])}),Je=[],Qe={name:"DvCharts",mixins:[D],props:{option:{type:Object,default:function(){return{}}}},data:function(){var e=A();return{ref:"charts-container-".concat(e),chartRef:"chart-".concat(e),chart:null}},watch:{option:function(){var e=this.chart,t=this.option;e&&(t||(t={}),e.setOption(t,!0))}},methods:{afterAutoResizeMixinInit:function(){var e=this.initChart;e()},initChart:function(){var e=this.$refs,t=this.chartRef,n=this.option,r=this.chart=new l.a(e[t]);n&&r.setOption(n)},onResize:function(){var e=this.chart;e&&e.resize()}}},et=Qe,tt=Object(y["a"])(et,Ze,Je,!1,null,null,null),nt=(tt.exports,n("7ed3"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-conical-column-chart"},[n("svg",{attrs:{width:e.width,height:e.height}},e._l(e.column,(function(t,r){return n("g",{key:r},[n("path",{attrs:{d:t.d,fill:e.mergedConfig.columnColor}}),e._v(" "),n("text",{style:"fontSize:"+e.mergedConfig.fontSize+"px",attrs:{fill:e.mergedConfig.textColor,x:t.x,y:e.height-4}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),e.mergedConfig.img.length?n("image",{attrs:{"xlink:href":e.mergedConfig.img[r%e.mergedConfig.img.length],width:e.mergedConfig.imgSideLength,height:e.mergedConfig.imgSideLength,x:t.x-e.mergedConfig.imgSideLength/2,y:t.y-e.mergedConfig.imgSideLength}}):e._e(),e._v(" "),e.mergedConfig.showValue?n("text",{style:"fontSize:"+e.mergedConfig.fontSize+"px",attrs:{fill:e.mergedConfig.textColor,x:t.x,y:t.textY}},[e._v("\n "+e._s(t.value)+"\n ")]):e._e()])})),0)])}),rt=[],it=(n("55dd"),{name:"DvConicalColumnChart",mixins:[D],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"conical-column-chart",defaultConfig:{data:[],img:[],fontSize:12,imgSideLength:30,columnColor:"rgba(0, 194, 255, 0.4)",textColor:"#fff",showValue:!1},mergedConfig:null,column:[]}},watch:{config:function(){var e=this.calcData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.calcData;e()},calcData:function(){var e=this.mergeConfig,t=this.initData,n=this.calcSVGPath;e(),t(),n()},mergeConfig:function(){var e=this.defaultConfig,t=this.config;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(e,!0),t||{})},initData:function(){var e=this.mergedConfig,t=e.data;t=Object(m["deepClone"])(t,!0),t.sort((function(e,t){var n=e.value,r=t.value;return n>r?-1:n<r?1:n===r?0:void 0}));var n=t[0]?t[0].value:10;t=t.map((function(e){return Object(a["a"])(Object(a["a"])({},e),{},{percent:e.value/n})})),e.data=t},calcSVGPath:function(){var e=this.mergedConfig,t=this.width,n=this.height,r=e.imgSideLength,i=e.fontSize,o=e.data,s=o.length,l=t/(s+1),u=n-r-i-5,c=n-i-5;this.column=o.map((function(e,t){var n=e.percent,r=l*(t+1),o=l*t,s=l*(t+2),d=c-u*n,h=u*n*.6+d,f="\n M".concat(o,", ").concat(c,"\n Q").concat(r,", ").concat(h," ").concat(r,",").concat(d,"\n M").concat(r,",").concat(d,"\n Q").concat(r,", ").concat(h," ").concat(s,",").concat(c,"\n L").concat(o,", ").concat(c,"\n Z\n "),p=(c+d)/2+i/2;return Object(a["a"])(Object(a["a"])({},e),{},{d:f,x:r,y:d,textY:p})}))}}}),ot=it,at=Object(y["a"])(ot,nt,rt,!1,null,null,null),st=(at.exports,n("11b09"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-1"},[n("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[e._l(e.points,(function(t,r){return[Math.random()>.6?n("rect",{key:r,attrs:{fill:e.mergedColor[0],x:t[0]-e.halfPointSideLength,y:t[1]-e.halfPointSideLength,width:e.pointSideLength,height:e.pointSideLength}},[Math.random()>.6?n("animate",{attrs:{attributeName:"fill",values:e.mergedColor[0]+";transparent",dur:"1s",begin:2*Math.random(),repeatCount:"indefinite"}}):e._e()]):e._e()]})),e._v(" "),e.rects[0]?n("rect",{attrs:{fill:e.mergedColor[1],x:e.rects[0][0]-e.pointSideLength,y:e.rects[0][1]-e.pointSideLength,width:2*e.pointSideLength,height:2*e.pointSideLength}},[n("animate",{attrs:{attributeName:"width",values:"0;"+2*e.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",values:"0;"+2*e.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"x",values:e.rects[0][0]+";"+(e.rects[0][0]-e.pointSideLength),dur:"2s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",values:e.rects[0][1]+";"+(e.rects[0][1]-e.pointSideLength),dur:"2s",repeatCount:"indefinite"}})]):e._e(),e._v(" "),e.rects[1]?n("rect",{attrs:{fill:e.mergedColor[1],x:e.rects[1][0]-40,y:e.rects[1][1]-e.pointSideLength,width:40,height:2*e.pointSideLength}},[n("animate",{attrs:{attributeName:"width",values:"0;40;0",dur:"2s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"x",values:e.rects[1][0]+";"+(e.rects[1][0]-40)+";"+e.rects[1][0],dur:"2s",repeatCount:"indefinite"}})]):e._e()],2)])}),lt=[],ut={name:"DvDecoration1",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=2.5;return{ref:"decoration-1",svgWH:[200,50],svgScale:[1,1],rowNum:4,rowPoints:20,pointSideLength:e,halfPointSideLength:e/2,points:[],rects:[],defaultColor:["#fff","#0de7c2"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.calcPointsPosition,t=this.calcRectsPosition,n=this.calcScale;e(),t(),n()},calcPointsPosition:function(){var e=this.svgWH,t=this.rowNum,n=this.rowPoints,r=Object(d["a"])(e,2),i=r[0],a=r[1],s=i/(n+1),l=a/(t+1),u=new Array(t).fill(0).map((function(e,t){return new Array(n).fill(0).map((function(e,n){return[s*(n+1),l*(t+1)]}))}));this.points=u.reduce((function(e,t){return[].concat(Object(o["a"])(e),Object(o["a"])(t))}),[])},calcRectsPosition:function(){var e=this.points,t=this.rowPoints,n=e[2*t-1],r=e[2*t-3];this.rects=[n,r]},calcScale:function(){var e=this.width,t=this.height,n=this.svgWH,r=Object(d["a"])(n,2),i=r[0],o=r[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},ct=ut,dt=Object(y["a"])(ct,st,lt,!1,null,null,null),ht=(dt.exports,n("c423"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-10"},[n("svg",{attrs:{width:e.width,height:e.height}},[n("polyline",{attrs:{stroke:e.mergedColor[1],"stroke-width":"2",points:"0, "+e.height/2+" "+e.width+", "+e.height/2}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:"5, "+e.height/2+" "+(.2*e.width-3)+", "+e.height/2,"stroke-dasharray":"0, "+.2*e.width,fill:"freeze"}},[n("animate",{attrs:{id:e.animationId2,attributeName:"stroke-dasharray",values:"0, "+.2*e.width+";"+.2*e.width+", 0;",dur:"3s",begin:e.animationId1+".end",fill:"freeze"}}),e._v(" "),n("animate",{attrs:{attributeName:"stroke-dasharray",values:.2*e.width+", 0;0, "+.2*e.width,dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:.2*e.width+3+", "+e.height/2+" "+(.8*e.width-3)+", "+e.height/2,"stroke-dasharray":"0, "+.6*e.width}},[n("animate",{attrs:{id:e.animationId4,attributeName:"stroke-dasharray",values:"0, "+.6*e.width+";"+.6*e.width+", 0",dur:"3s",begin:e.animationId3+".end + 1s",fill:"freeze"}}),e._v(" "),n("animate",{attrs:{attributeName:"stroke-dasharray",values:.6*e.width+", 0;0, "+.6*e.width,dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:.8*e.width+3+", "+e.height/2+" "+(e.width-5)+", "+e.height/2,"stroke-dasharray":"0, "+.2*e.width}},[n("animate",{attrs:{id:e.animationId6,attributeName:"stroke-dasharray",values:"0, "+.2*e.width+";"+.2*e.width+", 0",dur:"3s",begin:e.animationId5+".end + 1s",fill:"freeze"}}),e._v(" "),n("animate",{attrs:{attributeName:"stroke-dasharray",values:.2*e.width+", 0;0, "+.3*e.width,dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),n("circle",{attrs:{cx:"2",cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[n("animate",{attrs:{id:e.animationId1,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:"0s;"+e.animationId7+".end",dur:"0.3s",fill:"freeze"}})]),e._v(" "),n("circle",{attrs:{cx:.2*e.width,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[n("animate",{attrs:{id:e.animationId3,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:e.animationId2+".end",dur:"0.3s",fill:"freeze"}}),e._v(" "),n("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[1],dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),n("circle",{attrs:{cx:.8*e.width,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[n("animate",{attrs:{id:e.animationId5,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:e.animationId4+".end",dur:"0.3s",fill:"freeze"}}),e._v(" "),n("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[1],dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),n("circle",{attrs:{cx:e.width-2,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[n("animate",{attrs:{id:e.animationId7,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:e.animationId6+".end",dur:"0.3s",fill:"freeze"}}),e._v(" "),n("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[1],dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})])])])}),ft=[],pt={name:"DvDecoration10",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=A();return{ref:"decoration-10",animationId1:"d10ani1".concat(e),animationId2:"d10ani2".concat(e),animationId3:"d10ani3".concat(e),animationId4:"d10ani4".concat(e),animationId5:"d10ani5".concat(e),animationId6:"d10ani6".concat(e),animationId7:"d10ani7".concat(e),defaultColor:["#00c2ff","rgba(0, 194, 255, 0.3)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},mt=pt,gt=Object(y["a"])(mt,ht,ft,!1,null,null,null),vt=(gt.exports,n("3e8a"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-11"},[n("svg",{attrs:{width:e.width,height:e.height}},[n("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:"20 10, 25 4, 55 4 60 10"}}),e._v(" "),n("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:"20 "+(e.height-10)+", 25 "+(e.height-4)+", 55 "+(e.height-4)+" 60 "+(e.height-10)}}),e._v(" "),n("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:e.width-20+" 10, "+(e.width-25)+" 4, "+(e.width-55)+" 4 "+(e.width-60)+" 10"}}),e._v(" "),n("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:e.width-20+" "+(e.height-10)+", "+(e.width-25)+" "+(e.height-4)+", "+(e.width-55)+" "+(e.height-4)+" "+(e.width-60)+" "+(e.height-10)}}),e._v(" "),n("polygon",{attrs:{fill:e.fade(e.mergedColor[0]||e.defaultColor[0],20),stroke:e.mergedColor[0],points:"\n 20 10, 5 "+e.height/2+" 20 "+(e.height-10)+"\n "+(e.width-20)+" "+(e.height-10)+" "+(e.width-5)+" "+e.height/2+" "+(e.width-20)+" 10\n "}}),e._v(" "),n("polyline",{attrs:{fill:"transparent",stroke:e.fade(e.mergedColor[0]||e.defaultColor[0],70),points:"25 18, 15 "+e.height/2+" 25 "+(e.height-18)}}),e._v(" "),n("polyline",{attrs:{fill:"transparent",stroke:e.fade(e.mergedColor[0]||e.defaultColor[0],70),points:e.width-25+" 18, "+(e.width-15)+" "+e.height/2+" "+(e.width-25)+" "+(e.height-18)}})]),e._v(" "),n("div",{staticClass:"decoration-content"},[e._t("default")],2)])}),yt=[],bt={name:"DvDecoration11",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){return{ref:"decoration-11",defaultColor:["#1a98fc","#2cf7fe"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:W["fade"]},mounted:function(){var e=this.mergeColor;e()}},_t=bt,wt=Object(y["a"])(_t,vt,yt,!1,null,null,null),xt=(wt.exports,n("e11f"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-12"},[n("svg",{attrs:{width:e.width,height:e.height}},[n("defs",[n("g",{attrs:{id:e.gId}},e._l(e.pathD,(function(t,r){return n("path",{key:t,attrs:{stroke:e.pathColor[r],"stroke-width":e.width/2,fill:"transparent",d:t}})})),0),e._v(" "),n("radialGradient",{attrs:{id:e.gradientId,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"transparent","stop-opacity":"1"}}),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stop-opacity":"1"}})],1)],1),e._v(" "),e._l(e.circleR,(function(t){return n("circle",{key:t,attrs:{r:t,cx:e.x,cy:e.y,stroke:e.mergedColor[1],"stroke-width":.5,fill:"transparent"}})})),e._v(" "),n("circle",{attrs:{r:"1",cx:e.x,cy:e.y,stroke:"transparent",fill:"url(#"+e.gradientId+")"}},[n("animate",{attrs:{attributeName:"r",values:"1;"+e.width/2,dur:e.haloDur+"s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:e.haloDur+"s",repeatCount:"indefinite"}})]),e._v(" "),n("circle",{attrs:{r:"2",cx:e.x,cy:e.y,fill:e.mergedColor[1]}}),e._v(" "),e.showSplitLine?n("g",e._l(e.splitLinePoints,(function(t){return n("polyline",{key:t,attrs:{points:t,stroke:e.mergedColor[1],"stroke-width":.5,opacity:"0.5"}})})),0):e._e(),e._v(" "),e._l(e.arcD,(function(t){return n("path",{key:t,attrs:{d:t,stroke:e.mergedColor[1],"stroke-width":"2",fill:"transparent"}})})),e._v(" "),n("use",{attrs:{"xlink:href":"#"+e.gId}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0, "+e.x+" "+e.y+";360, "+e.x+" "+e.y,dur:e.scanDur+"s",repeatCount:"indefinite"}})],1)],2),e._v(" "),n("div",{staticClass:"decoration-content"},[e._t("default")],2)])}),kt=[],Mt={name:"DvDecoration12",mixins:[D],props:{color:{type:Array,default:function(){return[]}},scanDur:{type:Number,default:3},haloDur:{type:Number,default:2}},data:function(){var e=A();return{ref:"decoration-12",gId:"decoration-12-g-".concat(e),gradientId:"decoration-12-gradient-".concat(e),defaultColor:["#2783ce","#2cf7fe"],mergedColor:[],pathD:[],pathColor:[],circleR:[],splitLinePoints:[],arcD:[],segment:30,sectorAngle:Math.PI/3,ringNum:3,ringWidth:1,showSplitLine:!0}},watch:{color:function(){var e=this.mergeColor;e()}},computed:{x:function(){var e=this.width;return e/2},y:function(){var e=this.height;return e/2}},methods:{init:function(){var e=this.mergeColor,t=this.calcPathD,n=this.calcPathColor,r=this.calcCircleR,i=this.calcSplitLinePoints,o=this.calcArcD;e(),t(),n(),r(),i(),o()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},calcPathD:function(){var e=this.x,t=this.y,n=this.width,r=this.segment,i=this.sectorAngle,o=-Math.PI/2,a=i/r,s=n/4,l=Object(m["getCircleRadianPoint"])(e,t,s,o);this.pathD=new Array(r).fill("").map((function(n,r){var i=Object(m["getCircleRadianPoint"])(e,t,s,o-(r+1)*a).map((function(e){return e.toFixed(5)})),u="M".concat(l.join(",")," A").concat(s,", ").concat(s," 0 0 0 ").concat(i.join(","));return l=i,u}))},calcPathColor:function(){var e=Object(d["a"])(this.mergedColor,1),t=e[0],n=this.segment,r=100/(n-1);this.pathColor=new Array(n).fill(t).map((function(e,n){return Object(W["fade"])(t,100-n*r)}))},calcCircleR:function(){this.segment;var e=this.ringNum,t=this.width,n=this.ringWidth,r=(t/2-n/2)/e;this.circleR=new Array(e).fill(0).map((function(e,t){return r*(t+1)}))},calcSplitLinePoints:function(){var e=this.x,t=this.y,n=this.width,r=Math.PI/6,i=n/2;this.splitLinePoints=new Array(6).fill("").map((function(n,o){var a=r*(o+1),s=a+Math.PI,l=Object(m["getCircleRadianPoint"])(e,t,i,a),u=Object(m["getCircleRadianPoint"])(e,t,i,s);return"".concat(l.join(",")," ").concat(u.join(","))}))},calcArcD:function(){var e=this.x,t=this.y,n=this.width,r=Math.PI/6,i=n/2-1;this.arcD=new Array(4).fill("").map((function(n,o){var a=r*(3*o+1),s=a+r,l=Object(m["getCircleRadianPoint"])(e,t,i,a),u=Object(m["getCircleRadianPoint"])(e,t,i,s);return"M".concat(l.join(",")," A").concat(e,", ").concat(t," 0 0 1 ").concat(u.join(","))}))},afterAutoResizeMixinInit:function(){var e=this.init;e()},fade:W["fade"]}},St=Mt,Ct=Object(y["a"])(St,xt,kt,!1,null,null,null),Tt=(Ct.exports,n("9b06"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-2"},[n("svg",{attrs:{width:e.width+"px",height:e.height+"px"}},[n("rect",{attrs:{x:e.x,y:e.y,width:e.w,height:e.h,fill:e.mergedColor[0]}},[n("animate",{attrs:{attributeName:e.reverse?"height":"width",from:"0",to:e.reverse?e.height:e.width,dur:e.dur+"s",calcMode:"spline",keyTimes:"0;1",keySplines:".42,0,.58,1",repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:e.x,y:e.y,width:"1",height:"1",fill:e.mergedColor[1]}},[n("animate",{attrs:{attributeName:e.reverse?"y":"x",from:"0",to:e.reverse?e.height:e.width,dur:e.dur+"s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.42,0,0.58,1",repeatCount:"indefinite"}})])])])}),Ot=[],Lt={name:"DvDecoration2",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},dur:{type:Number,default:6}},data:function(){return{ref:"decoration-2",x:0,y:0,w:0,h:0,defaultColor:["#3faacb","#fff"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()},reverse:function(){var e=this.calcSVGData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.reverse,t=this.width,n=this.height;e?(this.w=1,this.h=n,this.x=t/2,this.y=0):(this.w=t,this.h=1,this.x=0,this.y=n/2)},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},At=Lt,Dt=Object(y["a"])(At,Tt,Ot,!1,null,null,null),Et=(Dt.exports,n("5e07"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-3"},[n("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[e._l(e.points,(function(t,r){return[n("rect",{key:r,attrs:{fill:e.mergedColor[0],x:t[0]-e.halfPointSideLength,y:t[1]-e.halfPointSideLength,width:e.pointSideLength,height:e.pointSideLength}},[Math.random()>.6?n("animate",{attrs:{attributeName:"fill",values:""+e.mergedColor.join(";"),dur:Math.random()+1+"s",begin:2*Math.random(),repeatCount:"indefinite"}}):e._e()])]}))],2)])}),It=[],jt={name:"DvDecoration3",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=7;return{ref:"decoration-3",svgWH:[300,35],svgScale:[1,1],rowNum:2,rowPoints:25,pointSideLength:e,halfPointSideLength:e/2,points:[],defaultColor:["#7acaec","transparent"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.calcPointsPosition,t=this.calcScale;e(),t()},calcPointsPosition:function(){var e=this.svgWH,t=this.rowNum,n=this.rowPoints,r=Object(d["a"])(e,2),i=r[0],a=r[1],s=i/(n+1),l=a/(t+1),u=new Array(t).fill(0).map((function(e,t){return new Array(n).fill(0).map((function(e,n){return[s*(n+1),l*(t+1)]}))}));this.points=u.reduce((function(e,t){return[].concat(Object(o["a"])(e),Object(o["a"])(t))}),[])},calcScale:function(){var e=this.width,t=this.height,n=this.svgWH,r=Object(d["a"])(n,2),i=r[0],o=r[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Pt=jt,Rt=Object(y["a"])(Pt,Et,It,!1,null,null,null),Nt=(Rt.exports,n("c2ca"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-4"},[n("div",{class:"container "+(e.reverse?"reverse":"normal"),style:e.reverse?"width:"+e.width+"px;height:5px;animation-duration:"+e.dur+"s":"width:5px;height:"+e.height+"px;animation-duration:"+e.dur+"s"},[n("svg",{attrs:{width:e.reverse?e.width:5,height:e.reverse?5:e.height}},[n("polyline",{attrs:{stroke:e.mergedColor[0],points:e.reverse?"0, 2.5 "+e.width+", 2.5":"2.5, 0 2.5, "+e.height}}),e._v(" "),n("polyline",{staticClass:"bold-line",attrs:{stroke:e.mergedColor[1],"stroke-width":"3","stroke-dasharray":"20, 80","stroke-dashoffset":"-30",points:e.reverse?"0, 2.5 "+e.width+", 2.5":"2.5, 0 2.5, "+e.height}})])])])}),Bt=[],Yt={name:"DvDecoration4",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},dur:{type:Number,default:3}},data:function(){return{ref:"decoration-4",defaultColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.3)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Ft=Yt,zt=Object(y["a"])(Ft,Nt,Bt,!1,null,null,null),Ht=(zt.exports,n("2848"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-5"},[n("svg",{attrs:{width:e.width,height:e.height}},[n("polyline",{attrs:{fill:"transparent",stroke:e.mergedColor[0],"stroke-width":"3",points:e.line1Points}},[n("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+e.line1Length/2+", 0, "+e.line1Length/2,to:"0, 0, "+e.line1Length+", 0",dur:e.dur+"s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.4,1,0.49,0.98",repeatCount:"indefinite"}})]),e._v(" "),n("polyline",{attrs:{fill:"transparent",stroke:e.mergedColor[1],"stroke-width":"2",points:e.line2Points}},[n("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+e.line2Length/2+", 0, "+e.line2Length/2,to:"0, 0, "+e.line2Length+", 0",dur:e.dur+"s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:".4,1,.49,.98",repeatCount:"indefinite"}})])])])}),Vt=[],Wt={name:"DvDecoration5",mixins:[D],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:1.2}},data:function(){return{ref:"decoration-5",line1Points:"",line2Points:"",line1Length:0,line2Length:0,defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.width,t=this.height,n=[[0,.2*t],[.18*e,.2*t],[.2*e,.4*t],[.25*e,.4*t],[.27*e,.6*t],[.72*e,.6*t],[.75*e,.4*t],[.8*e,.4*t],[.82*e,.2*t],[e,.2*t]],r=[[.3*e,.8*t],[.7*e,.8*t]],i=Object(p["getPolylineLength"])(n),o=Object(p["getPolylineLength"])(r);n=n.map((function(e){return e.join(",")})).join(" "),r=r.map((function(e){return e.join(",")})).join(" "),this.line1Points=n,this.line2Points=r,this.line1Length=i,this.line2Length=o},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Ut=Wt,$t=Object(y["a"])(Ut,Ht,Vt,!1,null,null,null),Gt=($t.exports,n("c7c8"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-6"},[n("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[e._l(e.points,(function(t,r){return[n("rect",{key:r,attrs:{fill:e.mergedColor[Math.random()>.5?0:1],x:t[0]-e.halfRectWidth,y:t[1]-e.heights[r]/2,width:e.rectWidth,height:e.heights[r]}},[n("animate",{attrs:{attributeName:"y",values:t[1]-e.minHeights[r]/2+";"+(t[1]-e.heights[r]/2)+";"+(t[1]-e.minHeights[r]/2),dur:e.randoms[r]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",values:e.minHeights[r]+";"+e.heights[r]+";"+e.minHeights[r],dur:e.randoms[r]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}})])]}))],2)])}),qt=[],Xt={name:"DvDecoration6",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=7;return{ref:"decoration-6",svgWH:[300,35],svgScale:[1,1],rowNum:1,rowPoints:40,rectWidth:e,halfRectWidth:e/2,points:[],heights:[],minHeights:[],randoms:[],defaultColor:["#7acaec","#7acaec"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.calcPointsPosition,t=this.calcScale;e(),t()},calcPointsPosition:function(){var e=this.svgWH,t=this.rowNum,n=this.rowPoints,r=Object(d["a"])(e,2),i=r[0],a=r[1],s=i/(n+1),l=a/(t+1),u=new Array(t).fill(0).map((function(e,t){return new Array(n).fill(0).map((function(e,n){return[s*(n+1),l*(t+1)]}))}));this.points=u.reduce((function(e,t){return[].concat(Object(o["a"])(e),Object(o["a"])(t))}),[]);var c=this.heights=new Array(t*n).fill(0).map((function(e){return Math.random()>.8?C(.7*a,a):C(.2*a,.5*a)}));this.minHeights=new Array(t*n).fill(0).map((function(e,t){return c[t]*Math.random()})),this.randoms=new Array(t*n).fill(0).map((function(e){return Math.random()+1.5}))},calcScale:function(){var e=this.width,t=this.height,n=this.svgWH,r=Object(d["a"])(n,2),i=r[0],o=r[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Kt=Xt,Zt=Object(y["a"])(Kt,Gt,qt,!1,null,null,null),Jt=(Zt.exports,n("d51d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-decoration-7"},[n("svg",{attrs:{width:"21px",height:"20px"}},[n("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:e.mergedColor[0],points:"10, 0 19, 10 10, 20"}}),e._v(" "),n("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:e.mergedColor[1],points:"2, 0 11, 10 2, 20"}})]),e._v(" "),e._t("default"),e._v(" "),n("svg",{attrs:{width:"21px",height:"20px"}},[n("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:e.mergedColor[0],points:"11, 0 2, 10 11, 20"}}),e._v(" "),n("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:e.mergedColor[1],points:"19, 0 10, 10 19, 20"}})])],2)}),Qt=[],en={name:"DvDecoration7",props:{color:{type:Array,default:function(){return[]}}},data:function(){return{defaultColor:["#1dc1f5","#1dc1f5"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},tn=en,nn=Object(y["a"])(tn,Jt,Qt,!1,null,null,null),rn=(nn.exports,n("357d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-8"},[n("svg",{attrs:{width:e.width,height:e.height}},[n("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",fill:"transparent",points:e.xPos(0)+", 0 "+e.xPos(30)+", "+e.height/2}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",fill:"transparent",points:e.xPos(20)+", 0 "+e.xPos(50)+", "+e.height/2+" "+e.xPos(e.width)+", "+e.height/2}}),e._v(" "),n("polyline",{attrs:{stroke:e.mergedColor[1],fill:"transparent","stroke-width":"3",points:e.xPos(0)+", "+(e.height-3)+", "+e.xPos(200)+", "+(e.height-3)}})])])}),on=[],an={name:"DvDecoration8",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1}},data:function(){return{ref:"decoration-8",defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{xPos:function(e){var t=this.reverse,n=this.width;return t?n-e:e},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},sn=an,ln=Object(y["a"])(sn,rn,on,!1,null,null,null),un=(ln.exports,n("9ab4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-decoration-9"},[n("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[n("defs",[n("polygon",{attrs:{id:e.polygonId,points:"15, 46.5, 21, 47.5, 21, 52.5, 15, 53.5"}})]),e._v(" "),n("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:e.mergedColor[1],"stroke-width":"10","stroke-dasharray":"80, 100, 30, 100"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:e.dur+"s",repeatCount:"indefinite"}})],1),e._v(" "),n("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:e.mergedColor[0],"stroke-width":"6","stroke-dasharray":"50, 66, 100, 66"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;-360 50 50",dur:e.dur+"s",repeatCount:"indefinite"}})],1),e._v(" "),n("circle",{attrs:{cx:"50",cy:"50",r:"38",fill:"transparent",stroke:e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}}),e._v(" "),e._l(new Array(20).fill(0),(function(t,r){return n("use",{key:r,attrs:{"xlink:href":"#"+e.polygonId,stroke:e.mergedColor[1],fill:Math.random()>.4?"transparent":e.mergedColor[0]}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:e.dur+"s",begin:r*e.dur/20+"s",repeatCount:"indefinite"}})],1)})),e._v(" "),n("circle",{attrs:{cx:"50",cy:"50",r:"26",fill:"transparent",stroke:e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}})],2),e._v(" "),e._t("default")],2)}),cn=[],dn={name:"DvDecoration9",mixins:[D],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:3}},data:function(){var e=A();return{ref:"decoration-9",polygonId:"decoration-9-polygon-".concat(e),svgWH:[100,100],svgScale:[1,1],defaultColor:["rgba(3, 166, 224, 0.8)","rgba(3, 166, 224, 0.5)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcScale;e()},calcScale:function(){var e=this.width,t=this.height,n=this.svgWH,r=Object(d["a"])(n,2),i=r[0],o=r[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcScale;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:W["fade"]},mounted:function(){var e=this.mergeColor;e()}},hn=dn,fn=Object(y["a"])(hn,un,cn,!1,null,null,null),pn=(fn.exports,n("bc96"),function(e){e.component(_.name,_)}),mn=(n("41f6"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dv-flyline-chart",staticClass:"dv-flyline-chart",style:"background-image: url("+(e.mergedConfig?e.mergedConfig.bgImgUrl:"")+")",on:{click:e.consoleClickPos}},[e.mergedConfig?n("svg",{attrs:{width:e.width,height:e.height}},[n("defs",[n("radialGradient",{attrs:{id:e.gradientId,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),e._v(" "),n("radialGradient",{attrs:{id:e.gradient2Id,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"0"}}),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"1"}})],1),e._v(" "),e.paths[0]?n("circle",{attrs:{id:"circle"+e.paths[0].toString(),cx:e.paths[0][2][0],cy:e.paths[0][2][1]}},[n("animate",{attrs:{attributeName:"r",values:"1;"+e.mergedConfig.halo.radius,dur:e.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:e.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}})]):e._e()],1),e._v(" "),e.paths[0]?n("image",{attrs:{"xlink:href":e.mergedConfig.centerPointImg.url,width:e.mergedConfig.centerPointImg.width,height:e.mergedConfig.centerPointImg.height,x:e.paths[0][2][0]-e.mergedConfig.centerPointImg.width/2,y:e.paths[0][2][1]-e.mergedConfig.centerPointImg.height/2}}):e._e(),e._v(" "),n("mask",{attrs:{id:"maskhalo"+e.paths[0].toString()}},[e.paths[0]?n("use",{attrs:{"xlink:href":"#circle"+e.paths[0].toString(),fill:"url(#"+e.gradient2Id+")"}}):e._e()]),e._v(" "),e.paths[0]&&e.mergedConfig.halo.show?n("use",{attrs:{"xlink:href":"#circle"+e.paths[0].toString(),fill:e.mergedConfig.halo.color,mask:"url(#maskhalo"+e.paths[0].toString()+")"}}):e._e(),e._v(" "),e._l(e.paths,(function(t,r){return n("g",{key:r},[n("defs",[n("path",{ref:"path"+r,refInFor:!0,attrs:{id:"path"+t.toString(),d:"M"+t[0].toString()+" Q"+t[1].toString()+" "+t[2].toString(),fill:"transparent"}})]),e._v(" "),n("use",{attrs:{"xlink:href":"#path"+t.toString(),"stroke-width":e.mergedConfig.lineWidth,stroke:e.mergedConfig.orbitColor}}),e._v(" "),e.lengths[r]?n("use",{attrs:{"xlink:href":"#path"+t.toString(),"stroke-width":e.mergedConfig.lineWidth,stroke:e.mergedConfig.flylineColor,mask:"url(#mask"+e.unique+t.toString()+")"}},[n("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+e.lengths[r],to:e.lengths[r]+", 0",dur:e.times[r]||0,repeatCount:"indefinite"}})]):e._e(),e._v(" "),n("mask",{attrs:{id:"mask"+e.unique+t.toString()}},[n("circle",{attrs:{cx:"0",cy:"0",r:e.mergedConfig.flylineRadius,fill:"url(#"+e.gradientId+")"}},[n("animateMotion",{attrs:{dur:e.times[r]||0,path:"M"+t[0].toString()+" Q"+t[1].toString()+" "+t[2].toString(),rotate:"auto",repeatCount:"indefinite"}})],1)]),e._v(" "),n("image",{attrs:{"xlink:href":e.mergedConfig.pointsImg.url,width:e.mergedConfig.pointsImg.width,height:e.mergedConfig.pointsImg.height,x:t[0][0]-e.mergedConfig.pointsImg.width/2,y:t[0][1]-e.mergedConfig.pointsImg.height/2}}),e._v(" "),n("text",{style:"fontSize:"+e.mergedConfig.text.fontSize+"px;",attrs:{fill:e.mergedConfig.text.color,x:t[0][0]+e.mergedConfig.text.offset[0],y:t[0][1]+e.mergedConfig.text.offset[1]}},[e._v("\n "+e._s(e.texts[r])+"\n ")])])}))],2):e._e()])}),gn=[],vn=n("c80c"),yn=(n("96cf"),n("3b8d")),bn={name:"DvFlylineChart",mixins:[D],props:{config:{type:Object,default:function(){return{}}},dev:{type:Boolean,default:!1}},data:function(){var e=A();return{ref:"dv-flyline-chart",unique:Math.random(),maskId:"flyline-mask-id-".concat(e),maskCircleId:"mask-circle-id-".concat(e),gradientId:"gradient-id-".concat(e),gradient2Id:"gradient2-id-".concat(e),defaultConfig:{centerPoint:[0,0],points:[],lineWidth:1,orbitColor:"rgba(103, 224, 227, .2)",flylineColor:"#ffde93",k:-.5,curvature:5,flylineRadius:100,duration:[20,30],relative:!0,bgImgUrl:"",text:{offset:[0,15],color:"#ffdb5c",fontSize:12},halo:{show:!0,duration:30,color:"#fb7293",radius:120},centerPointImg:{width:40,height:40,url:""},pointsImg:{width:15,height:15,url:""}},mergedConfig:null,paths:[],lengths:[],times:[],texts:[]}},watch:{config:function(){var e=this.calcData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.calcData;e()},calcData:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r,i,o;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.mergeConfig,n=this.createFlylinePaths,r=this.calcLineLengths,t(),n(),e.next=5,r();case 5:i=this.calcTimes,o=this.calcTexts,i(),o();case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),mergeConfig:function(){var e=this.config,t=this.defaultConfig,n=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{}),r=n.points;n.points=r.map((function(e){return e instanceof Array?{position:e,text:""}:e})),this.mergedConfig=n},createFlylinePaths:function(){var e=this.getPath,t=this.mergedConfig,n=this.width,r=this.height,i=t.centerPoint,o=t.points,a=t.relative;o=o.map((function(e){var t=e.position;return t})),a&&(i=[n*i[0],r*i[1]],o=o.map((function(e){var t=Object(d["a"])(e,2),i=t[0],o=t[1];return[n*i,r*o]}))),this.paths=o.map((function(t){return e(i,t)}))},getPath:function(e,t){var n=this.getControlPoint,r=n(e,t);return[t,r,e]},getControlPoint:function(e,t){var n=Object(d["a"])(e,2),r=n[0],i=n[1],o=Object(d["a"])(t,2),a=o[0],s=o[1],l=this.getKLinePointByx,u=this.mergedConfig,c=u.curvature,h=u.k,f=(r+a)/2,p=(i+s)/2,m=L([r,i],[a,s]),g=m/c,v=g/2,y=f,b=p;do{y+=v,b=l(h,[f,p],y)[1]}while(L([f,p],[y,b])<g);return[y,b]},getKLinePointByx:function(e,t,n){var r=Object(d["a"])(t,2),i=r[0],o=r[1],a=o-e*i+e*n;return[n,a]},calcLineLengths:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$nextTick,n=this.paths,r=this.$refs,e.next=3,t();case 3:this.lengths=n.map((function(e,t){return r["path".concat(t)][0].getTotalLength()}));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),calcTimes:function(){var e=this.mergedConfig,t=e.duration,n=e.points;this.times=n.map((function(e){return C.apply(void 0,Object(o["a"])(t))/10}))},calcTexts:function(){var e=this.mergedConfig.points;this.texts=e.map((function(e){var t=e.text;return t}))},consoleClickPos:function(e){var t=e.offsetX,n=e.offsetY,r=this.width,i=this.height,o=this.dev;if(o){var a=(t/r).toFixed(2),s=(n/i).toFixed(2);console.warn("dv-flyline-chart DEV: \n Click Position is [".concat(t,", ").concat(n,"] \n Relative Position is [").concat(a,", ").concat(s,"]"))}}}},_n=bn,wn=Object(y["a"])(_n,mn,gn,!1,null,null,null),xn=(wn.exports,n("dbbf"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-flyline-chart-enhanced",style:"background-image: url("+(e.mergedConfig?e.mergedConfig.bgImgSrc:"")+")",on:{click:e.consoleClickPos}},[e.flylines.length?n("svg",{attrs:{width:e.width,height:e.height}},[n("defs",[n("radialGradient",{attrs:{id:e.flylineGradientId,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),e._v(" "),n("radialGradient",{attrs:{id:e.haloGradientId,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"0"}}),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"1"}})],1)],1),e._v(" "),e._l(e.flylinePoints,(function(t){return n("g",{key:t.key+Math.random()},[n("defs",[t.halo.show?n("circle",{attrs:{id:"halo"+e.unique+t.key,cx:t.coordinate[0],cy:t.coordinate[1]}},[n("animate",{attrs:{attributeName:"r",values:"1;"+t.halo.radius,dur:t.halo.time+"s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:t.halo.time+"s",repeatCount:"indefinite"}})]):e._e()]),e._v(" "),n("mask",{attrs:{id:"mask"+e.unique+t.key}},[t.halo.show?n("use",{attrs:{"xlink:href":"#halo"+e.unique+t.key,fill:"url(#"+e.haloGradientId+")"}}):e._e()]),e._v(" "),t.halo.show?n("use",{attrs:{"xlink:href":"#halo"+e.unique+t.key,fill:t.halo.color,mask:"url(#mask"+e.unique+t.key+")"}}):e._e(),e._v(" "),t.icon.show?n("image",{attrs:{"xlink:href":t.icon.src,width:t.icon.width,height:t.icon.height,x:t.icon.x,y:t.icon.y}}):e._e(),e._v(" "),t.text.show?n("text",{style:"fontSize:"+t.text.fontSize+"px;color:"+t.text.color,attrs:{fill:t.text.color,x:t.text.x,y:t.text.y}},[e._v("\n "+e._s(t.name)+"\n ")]):e._e()])})),e._v(" "),e._l(e.flylines,(function(t,r){return n("g",{key:t.key+Math.random()},[n("defs",[n("path",{ref:t.key,refInFor:!0,attrs:{id:t.key,d:t.d,fill:"transparent"}})]),e._v(" "),n("use",{attrs:{"xlink:href":"#"+t.key,"stroke-width":t.width,stroke:t.orbitColor}}),e._v(" "),n("mask",{attrs:{id:"mask"+e.unique+t.key}},[n("circle",{attrs:{cx:"0",cy:"0",r:t.radius,fill:"url(#"+e.flylineGradientId+")"}},[n("animateMotion",{attrs:{dur:t.time,path:t.d,rotate:"auto",repeatCount:"indefinite"}})],1)]),e._v(" "),e.flylineLengths[r]?n("use",{attrs:{"xlink:href":"#"+t.key,"stroke-width":t.width,stroke:t.color,mask:"url(#mask"+e.unique+t.key+")"}},[n("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+e.flylineLengths[r],to:e.flylineLengths[r]+", 0",dur:t.time,repeatCount:"indefinite"}})]):e._e()])}))],2):e._e()])}),kn=[],Mn=(n("7514"),n("6b54"),{name:"DvFlylineChartEnhanced",mixins:[D],props:{config:{type:Object,default:function(){return{}}},dev:{type:Boolean,default:!1}},data:function(){var e=A();return{ref:"dv-flyline-chart-enhanced",unique:Math.random(),flylineGradientId:"flyline-gradient-id-".concat(e),haloGradientId:"halo-gradient-id-".concat(e),defaultConfig:{points:[],lines:[],halo:{show:!1,duration:[20,30],color:"#fb7293",radius:120},text:{show:!1,offset:[0,15],color:"#ffdb5c",fontSize:12},icon:{show:!1,src:"",width:15,height:15},line:{width:1,color:"#ffde93",orbitColor:"rgba(103, 224, 227, .2)",duration:[20,30],radius:100},bgImgSrc:"",k:-.5,curvature:5,relative:!0},flylines:[],flylineLengths:[],flylinePoints:[],mergedConfig:null}},watch:{config:function(){var e=this.calcData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.calcData;e()},calcData:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r,i;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.mergeConfig,n=this.calcflylinePoints,r=this.calcLinePaths,t(),n(),r(),i=this.calcLineLengths,e.next=7,i();case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),mergeConfig:function(){var e=this.config,t=this.defaultConfig,n=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{}),r=n.points,i=n.lines,o=n.halo,a=n.text,s=n.icon,l=n.line;n.points=r.map((function(e){return e.halo=Object(p["deepMerge"])(Object(m["deepClone"])(o,!0),e.halo||{}),e.text=Object(p["deepMerge"])(Object(m["deepClone"])(a,!0),e.text||{}),e.icon=Object(p["deepMerge"])(Object(m["deepClone"])(s,!0),e.icon||{}),e})),n.lines=i.map((function(e){return Object(p["deepMerge"])(Object(m["deepClone"])(l,!0),e)})),this.mergedConfig=n},calcflylinePoints:function(){var e=this.mergedConfig,t=this.width,n=this.height,r=e.relative,i=e.points;this.flylinePoints=i.map((function(e,i){var a=Object(d["a"])(e.coordinate,2),s=a[0],l=a[1],u=e.halo,c=e.icon,h=e.text;r&&(e.coordinate=[s*t,l*n]),e.halo.time=C.apply(void 0,Object(o["a"])(u.duration))/10;var f=c.width,p=c.height;e.icon.x=e.coordinate[0]-f/2,e.icon.y=e.coordinate[1]-p/2;var m=Object(d["a"])(h.offset,2),g=m[0],v=m[1];return e.text.x=e.coordinate[0]+g,e.text.y=e.coordinate[1]+v,e.key="".concat(e.coordinate.toString()).concat(i),e}))},calcLinePaths:function(){var e=this.getPath,t=this.mergedConfig,n=t.points,r=t.lines;this.flylines=r.map((function(t){var r=t.source,i=t.target,s=t.duration,l=n.find((function(e){var t=e.name;return t===r})).coordinate,u=n.find((function(e){var t=e.name;return t===i})).coordinate,c=e(l,u).map((function(e){return e.map((function(e){return parseFloat(e.toFixed(10))}))})),d="M".concat(c[0].toString()," Q").concat(c[1].toString()," ").concat(c[2].toString()),h="path".concat(c.toString()),f=C.apply(void 0,Object(o["a"])(s))/10;return Object(a["a"])(Object(a["a"])({},t),{},{path:c,key:h,d:d,time:f})}))},getPath:function(e,t){var n=this.getControlPoint,r=n(e,t);return[e,r,t]},getControlPoint:function(e,t){var n=Object(d["a"])(e,2),r=n[0],i=n[1],o=Object(d["a"])(t,2),a=o[0],s=o[1],l=this.getKLinePointByx,u=this.mergedConfig,c=u.curvature,h=u.k,f=(r+a)/2,p=(i+s)/2,m=L([r,i],[a,s]),g=m/c,v=g/2,y=f,b=p;do{y+=v,b=l(h,[f,p],y)[1]}while(L([f,p],[y,b])<g);return[y,b]},getKLinePointByx:function(e,t,n){var r=Object(d["a"])(t,2),i=r[0],o=r[1],a=o-e*i+e*n;return[n,a]},calcLineLengths:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$nextTick,n=this.flylines,r=this.$refs,e.next=3,t();case 3:this.flylineLengths=n.map((function(e){var t=e.key;return r[t][0].getTotalLength()}));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),consoleClickPos:function(e){var t=e.offsetX,n=e.offsetY,r=this.width,i=this.height,o=this.dev;if(o){var a=(t/r).toFixed(2),s=(n/i).toFixed(2);console.warn("dv-flyline-chart-enhanced DEV: \n Click Position is [".concat(t,", ").concat(n,"] \n Relative Position is [").concat(a,", ").concat(s,"]"))}}}}),Sn=Mn,Cn=Object(y["a"])(Sn,xn,kn,!1,null,null,null),Tn=(Cn.exports,n("7cc8"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,attrs:{id:"dv-full-screen-container"}},[e.ready?[e._t("default")]:e._e()],2)}),On=[],Ln={name:"DvFullScreenContainer",mixins:[D],data:function(){return{ref:"full-screen-container",allWidth:0,scale:0,datavRoot:"",ready:!1}},methods:{afterAutoResizeMixinInit:function(){var e=this.initConfig,t=this.setAppScale;e(),t(),this.ready=!0},initConfig:function(){var e=this.dom,t=screen,n=t.width,r=t.height;this.allWidth=n,e.style.width="".concat(n,"px"),e.style.height="".concat(r,"px")},setAppScale:function(){var e=this.allWidth,t=this.dom,n=document.body.clientWidth;t.style.transform="scale(".concat(n/e,")")},onResize:function(){var e=this.setAppScale;e()}}},An=Ln,Dn=Object(y["a"])(An,Tn,On,!1,null,null,null),En=Dn.exports,In=function(e){e.component(En.name,En)},jn=(n("84cd"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-loading"},[n("svg",{attrs:{width:"50px",height:"50px"}},[n("circle",{attrs:{cx:"25",cy:"25",r:"20",fill:"transparent","stroke-width":"3","stroke-dasharray":"31.415, 31.415",stroke:"#02bcfe","stroke-linecap":"round"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0, 25 25;360, 25 25",dur:"1.5s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"stroke",values:"#02bcfe;#3be6cb;#02bcfe",dur:"3s",repeatCount:"indefinite"}})],1),e._v(" "),n("circle",{attrs:{cx:"25",cy:"25",r:"10",fill:"transparent","stroke-width":"3","stroke-dasharray":"15.7, 15.7",stroke:"#3be6cb","stroke-linecap":"round"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"360, 25 25;0, 25 25",dur:"1.5s",repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"stroke",values:"#3be6cb;#02bcfe;#3be6cb",dur:"3s",repeatCount:"indefinite"}})],1)]),e._v(" "),n("div",{staticClass:"loading-tip"},[e._t("default")],2)])}),Pn=[],Rn={name:"DvLoading"},Nn=Rn,Bn=Object(y["a"])(Nn,jn,Pn,!1,null,null,null),Yn=Bn.exports,Fn=function(e){e.component(Yn.name,Yn)},zn=(n("a157"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"percent-pond",staticClass:"dv-percent-pond"},[n("svg",[n("defs",[n("linearGradient",{attrs:{id:e.gradientId1,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},e._l(e.linearGradient,(function(e){return n("stop",{key:e[0],attrs:{offset:e[0]+"%","stop-color":e[1]}})})),1),e._v(" "),n("linearGradient",{attrs:{id:e.gradientId2,x1:"0%",y1:"0%",x2:e.gradient2XPos,y2:"0%"}},e._l(e.linearGradient,(function(e){return n("stop",{key:e[0],attrs:{offset:e[0]+"%","stop-color":e[1]}})})),1)],1),e._v(" "),n("rect",{attrs:{x:e.mergedConfig?e.mergedConfig.borderWidth/2:"0",y:e.mergedConfig?e.mergedConfig.borderWidth/2:"0",rx:e.mergedConfig?e.mergedConfig.borderRadius:"0",ry:e.mergedConfig?e.mergedConfig.borderRadius:"0",fill:"transparent","stroke-width":e.mergedConfig?e.mergedConfig.borderWidth:"0",stroke:"url(#"+e.gradientId1+")",width:e.rectWidth>0?e.rectWidth:0,height:e.rectHeight>0?e.rectHeight:0}}),e._v(" "),n("polyline",{attrs:{"stroke-width":e.polylineWidth,"stroke-dasharray":e.mergedConfig?e.mergedConfig.lineDash.join(","):"0",stroke:"url(#"+e.polylineGradient+")",points:e.points}}),e._v(" "),n("text",{attrs:{stroke:e.mergedConfig?e.mergedConfig.textColor:"#fff",fill:e.mergedConfig?e.mergedConfig.textColor:"#fff",x:e.width/2,y:e.height/2}},[e._v("\n "+e._s(e.details)+"\n ")])])])}),Hn=[],Vn=(n("a481"),{name:"DvPercentPond",props:{config:{type:Object,default:function(){return{}}}},data:function(){var e=A();return{gradientId1:"percent-pond-gradientId1-".concat(e),gradientId2:"percent-pond-gradientId2-".concat(e),width:0,height:0,defaultConfig:{value:0,colors:["#3DE7C9","#00BAFF"],borderWidth:3,borderGap:3,lineDash:[5,1],textColor:"#fff",borderRadius:5,localGradient:!1,formatter:"{value}%"},mergedConfig:null}},computed:{rectWidth:function(){var e=this.mergedConfig,t=this.width;if(!e)return 0;var n=e.borderWidth;return t-n},rectHeight:function(){var e=this.mergedConfig,t=this.height;if(!e)return 0;var n=e.borderWidth;return t-n},points:function(){var e=this.mergedConfig,t=this.width,n=this.height,r=n/2;if(!e)return"0, ".concat(r," 0, ").concat(r);var i=e.borderWidth,o=e.borderGap,a=e.value,s=(t-2*(i+o))/100*a;return"\n ".concat(i+o,", ").concat(r,"\n ").concat(i+o+s,", ").concat(r+.001,"\n ")},polylineWidth:function(){var e=this.mergedConfig,t=this.height;if(!e)return 0;var n=e.borderWidth,r=e.borderGap;return t-2*(n+r)},linearGradient:function(){var e=this.mergedConfig;if(!e)return[];var t=e.colors,n=t.length,r=100/(n-1);return t.map((function(e,t){return[r*t,e]}))},polylineGradient:function(){var e=this.gradientId1,t=this.gradientId2,n=this.mergedConfig;return n&&n.localGradient?e:t},gradient2XPos:function(){var e=this.mergedConfig;if(!e)return"100%";var t=e.value;return"".concat(200-t,"%")},details:function(){var e=this.mergedConfig;if(!e)return"";var t=e.value,n=e.formatter;return n.replace("{value}",t)}},watch:{config:function(){var e=this.mergeConfig;e()}},methods:{init:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.initWH,n=this.config,r=this.mergeConfig,e.next=3,t();case 3:if(n){e.next=5;break}return e.abrupt("return");case 5:r();case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),initWH:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r,i,o;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$nextTick,n=this.$refs,e.next=3,t();case 3:r=n["percent-pond"],i=r.clientWidth,o=r.clientHeight,this.width=i,this.height=o;case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})}},mounted:function(){var e=this.init;e()}}),Wn=Vn,Un=Object(y["a"])(Wn,zn,Hn,!1,null,null,null),$n=(Un.exports,n("037e"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-scroll-board"},[e.header.length&&e.mergedConfig?n("div",{staticClass:"header",style:"background-color: "+e.mergedConfig.headerBGC+";"},e._l(e.header,(function(t,r){return n("div",{key:""+t+r,staticClass:"header-item",style:"\n height: "+e.mergedConfig.headerHeight+"px;\n line-height: "+e.mergedConfig.headerHeight+"px;\n width: "+e.widths[r]+"px;\n ",attrs:{align:e.aligns[r]},domProps:{innerHTML:e._s(t)}})})),0):e._e(),e._v(" "),e.mergedConfig?n("div",{staticClass:"rows",style:"height: "+(e.height-(e.header.length?e.mergedConfig.headerHeight:0))+"px;"},e._l(e.rows,(function(t,r){return n("div",{key:""+t.toString()+t.scroll,staticClass:"row-item",style:"\n height: "+e.heights[r]+"px;\n line-height: "+e.heights[r]+"px;\n background-color: "+e.mergedConfig[t.rowIndex%2===0?"evenRowBGC":"oddRowBGC"]+";\n "},e._l(t.ceils,(function(i,o){return n("div",{key:""+i+r+o,staticClass:"ceil",style:"width: "+e.widths[o]+"px;",attrs:{align:e.aligns[o]},domProps:{innerHTML:e._s(i)},on:{click:function(n){return e.emitEvent("click",r,o,t,i)},mouseenter:function(n){return e.handleHover(!0,r,o,t,i)},mouseleave:function(t){return e.handleHover(!1)}}})})),0)})),0):e._e()])}),Gn=[],qn={name:"DvScrollBoard",mixins:[D],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"scroll-board",defaultConfig:{header:[],data:[],rowNum:5,headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732",waitTime:2e3,headerHeight:35,columnWidth:[],align:[],index:!1,indexHeader:"#",carousel:"single",hoverPause:!0},mergedConfig:null,header:[],rowsData:[],rows:[],widths:[],heights:[],avgHeight:0,aligns:[],animationIndex:0,animationHandler:"",updater:0,needCalc:!1}},watch:{config:function(){var e=this.stopAnimation,t=this.calcData;e(),this.animationIndex=0,t()}},methods:{handleHover:function(e,t,n,r,i){var o=this.mergedConfig,a=this.emitEvent,s=this.stopAnimation,l=this.animation;e&&a("mouseover",t,n,r,i),o.hoverPause&&(e?s():l(!0))},afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.mergedConfig,t=this.calcWidths,n=this.calcHeights;e&&(t(),n())},calcData:function(){var e=this.mergeConfig,t=this.calcHeaderData,n=this.calcRowsData;e(),t(),n();var r=this.calcWidths,i=this.calcHeights,o=this.calcAligns;r(),i(),o();var a=this.animation;a(!0)},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})},calcHeaderData:function(){var e=this.mergedConfig,t=e.header,n=e.index,r=e.indexHeader;t.length?(t=Object(o["a"])(t),n&&t.unshift(r),this.header=t):this.header=[]},calcRowsData:function(){var e=this.mergedConfig,t=e.data,n=e.index,r=e.headerBGC,i=e.rowNum;n&&(t=t.map((function(e,t){e=Object(o["a"])(e);var n='<span class="index" style="background-color: '.concat(r,';">').concat(t+1,"</span>");return e.unshift(n),e}))),t=t.map((function(e,t){return{ceils:e,rowIndex:t}}));var s=t.length;s>i&&s<2*i&&(t=[].concat(Object(o["a"])(t),Object(o["a"])(t))),t=t.map((function(e,t){return Object(a["a"])(Object(a["a"])({},e),{},{scroll:t})})),this.rowsData=t,this.rows=t},calcWidths:function(){var e=this.width,t=this.mergedConfig,n=this.rowsData,r=t.columnWidth,i=t.header,o=r.reduce((function(e,t){return e+t}),0),a=0;n[0]?a=n[0].ceils.length:i.length&&(a=i.length);var s=(e-o)/(a-r.length),l=new Array(a).fill(s);this.widths=Object(p["deepMerge"])(l,r)},calcHeights:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.height,n=this.mergedConfig,r=this.header,i=n.headerHeight,o=n.rowNum,a=n.data,s=t;r.length&&(s-=i);var l=s/o;this.avgHeight=l,e||(this.heights=new Array(a.length).fill(l))},calcAligns:function(){var e=this.header,t=this.mergedConfig,n=e.length,r=new Array(n).fill("left"),i=t.align;this.aligns=Object(p["deepMerge"])(r,i)},animation:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r,i,a,s,l,u,c,d,h,f,p,m,g,v,y,b,_=arguments;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=_.length>0&&void 0!==_[0]&&_[0],r=this.needCalc,i=this.calcHeights,a=this.calcRowsData,r&&(a(),i(),this.needCalc=!1),s=this.avgHeight,l=this.animationIndex,u=this.mergedConfig,c=this.rowsData,d=this.animation,h=this.updater,f=u.waitTime,p=u.carousel,m=u.rowNum,g=c.length,!(m>=g)){e.next=8;break}return e.abrupt("return");case 8:if(!n){e.next=13;break}return e.next=11,new Promise((function(e){return setTimeout(e,f)}));case 11:if(h===this.updater){e.next=13;break}return e.abrupt("return");case 13:return v="single"===p?1:m,y=c.slice(l),y.push.apply(y,Object(o["a"])(c.slice(0,l))),this.rows=y.slice(0,"page"===p?2*m:m+1),this.heights=new Array(g).fill(s),e.next=20,new Promise((function(e){return setTimeout(e,300)}));case 20:if(h===this.updater){e.next=22;break}return e.abrupt("return");case 22:(t=this.heights).splice.apply(t,[0,v].concat(Object(o["a"])(new Array(v).fill(0)))),l+=v,b=l-g,b>=0&&(l=b),this.animationIndex=l,this.animationHandler=setTimeout(d,f-300);case 28:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),stopAnimation:function(){var e=this.animationHandler,t=this.updater;this.updater=(t+1)%999999,e&&clearTimeout(e)},emitEvent:function(e,t,n,r,i){var o=r.ceils,a=r.rowIndex;this.$emit(e,{row:o,ceil:i,rowIndex:a,columnIndex:n})},updateRows:function(e,t){var n=this.mergedConfig,r=this.animationHandler,i=this.animation;this.mergedConfig=Object(a["a"])(Object(a["a"])({},n),{},{data:Object(o["a"])(e)}),this.needCalc=!0,"number"===typeof t&&(this.animationIndex=t),r||i(!0)}},destroyed:function(){var e=this.stopAnimation;e()}},Xn=qn,Kn=Object(y["a"])(Xn,$n,Gn,!1,null,null,null),Zn=(Kn.exports,n("c280"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.ref,staticClass:"dv-scroll-ranking-board"},e._l(e.rows,(function(t,r){return n("div",{key:t.toString()+t.scroll,staticClass:"row-item",style:"height: "+e.heights[r]+"px;"},[n("div",{staticClass:"ranking-info"},[n("div",{staticClass:"rank"},[e._v("No."+e._s(t.ranking))]),e._v(" "),n("div",{staticClass:"info-name",domProps:{innerHTML:e._s(t.name)}}),e._v(" "),n("div",{staticClass:"ranking-value"},[e._v(e._s(e.mergedConfig.valueFormatter?e.mergedConfig.valueFormatter(t):t.value+e.mergedConfig.unit))])]),e._v(" "),n("div",{staticClass:"ranking-column"},[n("div",{staticClass:"inside-column",style:"width: "+t.percent+"%;"},[n("div",{staticClass:"shine"})])])])})),0)}),Jn=[],Qn={name:"DvScrollRankingBoard",mixins:[D],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"scroll-ranking-board",defaultConfig:{data:[],rowNum:5,waitTime:2e3,carousel:"single",unit:"",sort:!0,valueFormatter:null},mergedConfig:null,rowsData:[],rows:[],heights:[],animationIndex:0,animationHandler:"",updater:0}},watch:{config:function(){var e=this.stopAnimation,t=this.calcData;e(),t()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.mergedConfig,t=this.calcHeights;e&&t(!0)},calcData:function(){var e=this.mergeConfig,t=this.calcRowsData;e(),t();var n=this.calcHeights;n();var r=this.animation;r(!0)},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})},calcRowsData:function(){var e=this.mergedConfig,t=e.data,n=e.rowNum,r=e.sort;r&&t.sort((function(e,t){var n=e.value,r=t.value;return n>r?-1:n<r?1:n===r?0:void 0}));var i=t.map((function(e){var t=e.value;return t})),s=Math.min.apply(Math,Object(o["a"])(i))||0,l=Math.abs(s),u=Math.max.apply(Math,Object(o["a"])(i))||0,c=(Math.abs(u),u+l);t=t.map((function(e,t){return Object(a["a"])(Object(a["a"])({},e),{},{ranking:t+1,percent:(e.value+l)/c*100})}));var d=t.length;d>n&&d<2*n&&(t=[].concat(Object(o["a"])(t),Object(o["a"])(t))),t=t.map((function(e,t){return Object(a["a"])(Object(a["a"])({},e),{},{scroll:t})})),this.rowsData=t,this.rows=t},calcHeights:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.height,n=this.mergedConfig,r=n.rowNum,i=n.data,o=t/r;this.avgHeight=o,e||(this.heights=new Array(i.length).fill(o))},animation:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r,i,a,s,l,u,c,d,h,f,p,m,g,v=arguments;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=v.length>0&&void 0!==v[0]&&v[0],r=this.avgHeight,i=this.animationIndex,a=this.mergedConfig,s=this.rowsData,l=this.animation,u=this.updater,c=a.waitTime,d=a.carousel,h=a.rowNum,f=s.length,!(h>=f)){e.next=6;break}return e.abrupt("return");case 6:if(!n){e.next=11;break}return e.next=9,new Promise((function(e){return setTimeout(e,c)}));case 9:if(u===this.updater){e.next=11;break}return e.abrupt("return");case 11:return p="single"===d?1:h,m=s.slice(i),m.push.apply(m,Object(o["a"])(s.slice(0,i))),this.rows=m.slice(0,h+1),this.heights=new Array(f).fill(r),e.next=18,new Promise((function(e){return setTimeout(e,300)}));case 18:if(u===this.updater){e.next=20;break}return e.abrupt("return");case 20:(t=this.heights).splice.apply(t,[0,p].concat(Object(o["a"])(new Array(p).fill(0)))),i+=p,g=i-f,g>=0&&(i=g),this.animationIndex=i,this.animationHandler=setTimeout(l,c-300);case 26:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),stopAnimation:function(){var e=this.animationHandler,t=this.updater;this.updater=(t+1)%999999,e&&clearTimeout(e)}},destroyed:function(){var e=this.stopAnimation;e()}},er=Qn,tr=Object(y["a"])(er,Zn,Jn,!1,null,null,null),nr=tr.exports,rr=function(e){e.component(nr.name,nr)},ir=(n("fa10"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-water-pond-level"},[e.renderer?n("svg",[n("defs",[n("linearGradient",{attrs:{id:e.gradientId,x1:"0%",y1:"0%",x2:"0%",y2:"100%"}},e._l(e.svgBorderGradient,(function(e){return n("stop",{key:e[0],attrs:{offset:e[0],"stop-color":e[1]}})})),1)],1),e._v(" "),e.renderer?n("text",{attrs:{stroke:"url(#"+e.gradientId+")",fill:"url(#"+e.gradientId+")",x:e.renderer.area[0]/2+8,y:e.renderer.area[1]/2+8}},[e._v("\n "+e._s(e.details)+"\n ")]):e._e(),e._v(" "),e.shape&&"round"!==e.shape?n("rect",{attrs:{x:"2",y:"2",rx:"roundRect"===e.shape?10:0,ry:"roundRect"===e.shape?10:0,width:e.renderer.area[0]+12,height:e.renderer.area[1]+12,stroke:"url(#"+e.gradientId+")"}}):n("ellipse",{attrs:{cx:e.renderer.area[0]/2+8,cy:e.renderer.area[1]/2+8,rx:e.renderer.area[0]/2+5,ry:e.renderer.area[1]/2+5,stroke:"url(#"+e.gradientId+")"}})]):e._e(),e._v(" "),n("canvas",{ref:"water-pond-level",style:"border-radius: "+e.radius+";"})])}),or=[];var ar={name:"DvWaterLevelPond",props:{config:Object,default:function(){return{}}},data:function(){var e=A();return{gradientId:"water-level-pond-".concat(e),defaultConfig:{data:[],shape:"rect",waveNum:3,waveHeight:40,waveOpacity:.4,colors:["#3DE7C9","#00BAFF"],formatter:"{value}%"},mergedConfig:{},renderer:null,svgBorderGradient:[],details:"",waves:[],animation:!1}},computed:{radius:function(){var e=this.mergedConfig.shape;return"round"===e?"50%":"rect"===e?"0":"roundRect"===e?"10px":"0"},shape:function(){var e=this.mergedConfig.shape;return e||"rect"}},watch:{config:function(){var e=this.calcData,t=this.renderer;t.delAllGraph(),this.waves=[],setTimeout(e,0)}},methods:{init:function(){var e=this.initRender,t=this.config,n=this.calcData;e(),t&&n()},initRender:function(){var e=this.$refs;this.renderer=new f.a(e["water-pond-level"])},calcData:function(){var e=this.mergeConfig,t=this.calcSvgBorderGradient,n=this.calcDetails;e(),t(),n();var r=this.addWave,i=this.animationWave;r(),i()},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e)},calcSvgBorderGradient:function(){var e=this.mergedConfig.colors,t=e.length,n=100/(t-1);this.svgBorderGradient=e.map((function(e,t){return[n*t,e]}))},calcDetails:function(){var e=this.mergedConfig,t=e.data,n=e.formatter;if(t.length){var r=Math.max.apply(Math,Object(o["a"])(t));this.details=n.replace("{value}",r)}else this.details=""},addWave:function(){var e=this.renderer,t=this.getWaveShapes,n=this.getWaveStyle,r=this.drawed,i=t(),o=n();this.waves=i.map((function(t){return e.add({name:"smoothline",animationFrame:300,shape:t,style:o,drawed:r})}))},getWaveShapes:function(){var e=this.mergedConfig,t=this.renderer,n=this.mergeOffset,r=e.waveNum,i=e.waveHeight,o=e.data,a=Object(d["a"])(t.area,2),s=a[0],l=a[1],u=4*r+4,c=s/r/2;return o.map((function(e){var t=new Array(u).fill(0).map((function(t,n){var r=s-c*n,o=(1-e/100)*l,a=n%2===0?o:o-i;return[r,a]}));return t=t.map((function(e){return n(e,[2*c,0])})),{points:t}}))},mergeOffset:function(e,t){var n=Object(d["a"])(e,2),r=n[0],i=n[1],o=Object(d["a"])(t,2),a=o[0],s=o[1];return[r+a,i+s]},getWaveStyle:function(){var e=this.renderer,t=this.mergedConfig,n=e.area[1];return{gradientColor:t.colors,gradientType:"linear",gradientParams:[0,0,0,n],gradientWith:"fill",opacity:t.waveOpacity,translate:[0,0]}},drawed:function(e,t){var n=e.shape.points,r=t.ctx,i=t.area,o=n[0],a=n.slice(-1)[0],s=i[1];r.lineTo(a[0],s),r.lineTo(o[0],s),r.closePath(),r.fill()},animationWave:function(){var e=Object(yn["a"])(Object(vn["a"])().mark((function e(){var t,n,r,i,o,a=arguments;return Object(vn["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:1,n=this.waves,r=this.renderer,i=this.animation,!i){e.next=4;break}return e.abrupt("return");case 4:return this.animation=!0,o=r.area[0],n.forEach((function(e){e.attr("style",{translate:[0,0]}),e.animation("style",{translate:[o,0]},!0)})),e.next=9,r.launchAnimation();case 9:if(this.animation=!1,r.graphs.length){e.next=12;break}return e.abrupt("return");case 12:this.animationWave(t+1);case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){var e=this.init;e()},beforeDestroy:function(){var e=this.renderer;e.delAllGraph(),this.waves=[]}},sr=ar,lr=Object(y["a"])(sr,ir,or,!1,null,null,null);lr.exports;n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return Ke})),n.d(t,"c",(function(){return pn})),n.d(t,"d",(function(){return In})),n.d(t,"e",(function(){return Fn})),n.d(t,"f",(function(){return rr}))},"6c37":function(e,t,n){"use strict";n("386b")("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},"6c7b":function(e,t,n){var r=n("5ca1");r(r.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"6ccd":function(e,t,n){},"6ce3":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  351. //! moment.js locale configuration
  352. var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"6d08":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return function(t){var n=e,r=n.lib,i=r.CipherParams,o=n.enc,a=o.Hex,s=n.format;s.Hex={stringify:function(e){return e.ciphertext.toString(a)},parse:function(e){var t=a.parse(e);return i.create({ciphertext:t})}}}(),e.format.Hex}))},"6d67":function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(1);r(r.P+r.F*!n("2f21")([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},"6d79":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  353. //! moment.js locale configuration
  354. var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"6d83":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  355. //! moment.js locale configuration
  356. var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"6d8b":function(e,t,n){"use strict";n.d(t,"p",(function(){return g})),n.d(t,"G",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"I",(function(){return b})),n.d(t,"J",(function(){return _})),n.d(t,"m",(function(){return w})),n.d(t,"i",(function(){return x})),n.d(t,"r",(function(){return k})),n.d(t,"s",(function(){return M})),n.d(t,"K",(function(){return S})),n.d(t,"u",(function(){return C})),n.d(t,"k",(function(){return T})),n.d(t,"H",(function(){return O})),n.d(t,"N",(function(){return L})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return D})),n.d(t,"F",(function(){return E})),n.d(t,"c",(function(){return j})),n.d(t,"h",(function(){return P})),n.d(t,"t",(function(){return R})),n.d(t,"w",(function(){return N})),n.d(t,"C",(function(){return B})),n.d(t,"D",(function(){return Y})),n.d(t,"z",(function(){return F})),n.d(t,"A",(function(){return z})),n.d(t,"E",(function(){return V})),n.d(t,"v",(function(){return W})),n.d(t,"x",(function(){return U})),n.d(t,"y",(function(){return $})),n.d(t,"B",(function(){return G})),n.d(t,"l",(function(){return q})),n.d(t,"O",(function(){return X})),n.d(t,"P",(function(){return K})),n.d(t,"Q",(function(){return Z})),n.d(t,"S",(function(){return J})),n.d(t,"M",(function(){return Q})),n.d(t,"b",(function(){return ee})),n.d(t,"T",(function(){return te})),n.d(t,"R",(function(){return re})),n.d(t,"f",(function(){return ue})),n.d(t,"e",(function(){return ce})),n.d(t,"g",(function(){return de})),n.d(t,"j",(function(){return he})),n.d(t,"q",(function(){return fe})),n.d(t,"L",(function(){return pe})),n.d(t,"a",(function(){return me}));var r=n("726e"),i=L(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),o=L(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,d=s.map,h=function(){}.constructor,f=h?h.prototype:null,p="__proto__",m=2311;function g(){return m++}function v(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!==typeof console&&console.error.apply(console,e)}function y(e){if(null==e||"object"!==typeof e)return e;var t=e,n=a.call(e);if("[object Array]"===n){if(!ie(e)){t=[];for(var r=0,s=e.length;r<s;r++)t[r]=y(e[r])}}else if(o[n]){if(!ie(e)){var l=e.constructor;if(l.from)t=l.from(e);else{t=new l(e.length);for(r=0,s=e.length;r<s;r++)t[r]=e[r]}}}else if(!i[n]&&!ie(e)&&!W(e))for(var u in t={},e)e.hasOwnProperty(u)&&u!==p&&(t[u]=y(e[u]));return t}function b(e,t,n){if(!z(t)||!z(e))return n?y(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==p){var i=e[r],o=t[r];!z(o)||!z(i)||R(o)||R(i)||W(o)||W(i)||H(o)||H(i)||ie(o)||ie(i)?!n&&r in e||(e[r]=y(t[r])):b(i,o,n)}return e}function _(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=b(n,e[r],t);return n}function w(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==p&&(e[n]=t[n]);return e}function x(e,t,n){for(var r=E(t),i=0,o=r.length;i<o;i++){var a=r[i];(n?null!=t[a]:null==e[a])&&(e[a]=t[a])}return e}r["d"].createCanvas;function k(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function M(e,t){var n=e.prototype;function r(){}for(var i in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function S(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}else x(e,t,n)}function C(e){return!!e&&("string"!==typeof e&&"number"===typeof e.length)}function T(e,t,n){if(e&&t)if(e.forEach&&e.forEach===l)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function O(e,t,n){if(!e)return[];if(!t)return J(e);if(e.map&&e.map===d)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}function L(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function A(e,t,n){if(!e)return[];if(!t)return J(e);if(e.filter&&e.filter===u)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}function D(e,t,n){if(e&&t)for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]}function E(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function I(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(c.call(arguments)))}}var j=f&&N(f.bind)?f.call.bind(f.bind):I;function P(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(c.call(arguments)))}}function R(e){return Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)}function N(e){return"function"===typeof e}function B(e){return"string"===typeof e}function Y(e){return"[object String]"===a.call(e)}function F(e){return"number"===typeof e}function z(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function H(e){return!!i[a.call(e)]}function V(e){return!!o[a.call(e)]}function W(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function U(e){return null!=e.colorStops}function $(e){return null!=e.image}function G(e){return"[object RegExp]"===a.call(e)}function q(e){return e!==e}function X(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]}function K(e,t){return null!=e?e:t}function Z(e,t,n){return null!=e?e:null!=t?t:n}function J(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return c.apply(e,t)}function Q(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function ee(e,t){if(!e)throw new Error(t)}function te(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ne="__ec_primitive__";function re(e){e[ne]=!0}function ie(e){return e[ne]}var oe=function(){function e(){this.data={}}return e.prototype["delete"]=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return E(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),ae="function"===typeof Map;function se(){return ae?new Map:new oe}var le=function(){function e(t){var n=R(t);this.data=se();var r=this;function i(e,t){n?r.set(e,t):r.set(t,e)}t instanceof e?t.each(i):t&&T(t,i)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach((function(n,r){e.call(t,n,r)}))},e.prototype.keys=function(){var e=this.data.keys();return ae?Array.from(e):e},e.prototype.removeKey=function(e){this.data["delete"](e)},e}();function ue(e){return new le(e)}function ce(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var i=e.length;for(r=0;r<t.length;r++)n[r+i]=t[r];return n}function de(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&w(n,t),n}function he(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function fe(e,t){return e.hasOwnProperty(t)}function pe(){}var me=180/Math.PI},"6dc5":function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,(function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=c[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(o(n.parts[i]));c[n.id]={id:n.id,refs:1,parts:a}}}}function i(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function o(e){var t,n,r=document.querySelector("style["+v+'~="'+e.id+'"]');if(r){if(p)return m;r.parentNode.removeChild(r)}if(y){var o=f++;r=h||(h=i()),t=a.bind(null,r,o,!1),n=a.bind(null,r,o,!0)}else r=i(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function a(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function s(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),g.ssrId&&e.setAttribute(v,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(8),c={},d=l&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,p=!1,m=function(){},g=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,i){p=n,g=i||{};var o=u(e,t);return r(o),function(t){for(var n=[],i=0;i<o.length;i++){var a=o[i],s=c[a.id];s.refs--,n.push(s)}t?(o=u(e,t),r(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete c[s.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=r),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(e,t){return u.call(t),h(e,t)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,n){"use strict";var r=n(9);t.a={name:"vue-waterfall-easy",components:{alink:r.a},props:{width:{type:Number},height:{type:[Number,String]},reachBottomDistance:{type:Number,default:20},loadingDotCount:{type:Number,default:3},loadingDotStyle:{type:Object},gap:{type:Number,default:20},mobileGap:{type:Number,default:8},maxCols:{type:Number,default:5},imgsArr:{type:Array,required:!0},srcKey:{type:String,default:"src"},hrefKey:{type:String,default:"href"},imgWidth:{type:Number,default:240},isRouterLink:{type:Boolean,default:!1},linkRange:{type:String,default:"card"},loadingTimeOut:{type:Number,default:500},cardAnimationClass:{type:[String],default:"default-card-animation"},enablePullDownEvent:{type:Boolean,default:!1}},data:function(){return{msg:"this is from vue-waterfall-easy.vue",isMobile:!!navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i),isPreloading:!0,isPreloading_c:!0,imgsArr_c:[],loadedCount:0,cols:NaN,imgBoxEls:null,beginIndex:0,colsHeightArr:[],LoadingTimer:null,isFirstLoad:!0,over:!1}},computed:{colWidth:function(){return this.imgWidth+this.gap},imgWidth_c:function(){return this.isMobile?window.innerWidth/2-this.mobileGap:this.imgWidth},hasLoadingSlot:function(){return!!this.$scopedSlots.loading}},mounted:function(){var e=this;this.bindClickEvent(),this.loadingMiddle(),this.preload(),this.cols=this.calcuCols(),this.$on("preloaded",(function(){e.isFirstLoad=!1,e.imgsArr_c=e.imgsArr.concat([]),e.$nextTick((function(){e.isPreloading=!1,e.imgBoxEls=e.$el.getElementsByClassName("img-box"),e.waterfall()}))})),this.isMobile||this.width||window.addEventListener("resize",this.response),this.isMobile&&this.enablePullDownEvent&&this.pullDown(),this.scroll()},beforeDestroy:function(){window.removeEventListener("resize",this.response)},watch:{isPreloading:function(e,t){var n=this;e?setTimeout((function(){n.isPreloading&&(n.isPreloading_c=!0)}),this.loadingTimeOut):this.isPreloading_c=!1},imgsArr:function(e,t){(this.imgsArr_c.length>e.length||this.imgsArr_c.length>0&&e[0]&&!e[0]._height)&&this.reset(),this.preload()}},methods:{preload:function(e,t){var n=this;this.imgsArr.forEach((function(e,t){if(!(t<n.loadedCount)){if(!e[n.srcKey])return n.imgsArr[t]._height="0",void(++n.loadedCount==n.imgsArr.length&&n.$emit("preloaded"));var r=new Image;r.src=e[n.srcKey],r.onload=r.onerror=function(e){n.loadedCount++,n.imgsArr[t]._height="load"==e.type?Math.round(n.imgWidth_c/(r.width/r.height)):n.isMobile?n.imgWidth_c:n.imgWidth,"error"==e.type&&(n.imgsArr[t]._error=!0,n.$emit("imgError",n.imgsArr[t])),n.loadedCount==n.imgsArr.length&&n.$emit("preloaded")}}}))},calcuCols:function(){var e=this.width?this.width:window.innerWidth,t=parseInt(e/this.colWidth);return t=0===t?1:t,this.isMobile?2:t>this.maxCols?this.maxCols:t},waterfall:function(){if(this.imgBoxEls){var e,t,n,r=this.isMobile?this.imgBoxEls[0].offsetWidth:this.colWidth;0==this.beginIndex&&(this.colsHeightArr=[]);for(var i=this.beginIndex;i<this.imgsArr.length;i++){if(!this.imgBoxEls[i])return;if(n=this.imgBoxEls[i].offsetHeight,i<this.cols)this.colsHeightArr.push(n),e=0,t=i*r;else{var o=Math.min.apply(null,this.colsHeightArr),a=this.colsHeightArr.indexOf(o);e=o,t=a*r,this.colsHeightArr[a]=o+n}this.imgBoxEls[i].style.left=t+"px",this.imgBoxEls[i].style.top=e+"px"}this.beginIndex=this.imgsArr.length}},response:function(){var e=this.cols;this.cols=this.calcuCols(),e!==this.cols&&(this.beginIndex=0,this.waterfall(),this.over&&this.setOverTipPos())},scrollFn:function(){var e=this.$refs.scrollEl;if(!this.isPreloading){var t=Math.min.apply(null,this.colsHeightArr);e.scrollTop+e.offsetHeight>t-this.reachBottomDistance&&(this.isPreloading=!0,this.$emit("scrollReachBottom"))}},scroll:function(){this.$refs.scrollEl.addEventListener("scroll",this.scrollFn)},waterfallOver:function(){this.$refs.scrollEl.removeEventListener("scroll",this.scrollFn),this.isPreloading=!1,this.over=!0,this.setOverTipPos()},setOverTipPos:function(){var e=this,t=Math.max.apply(null,this.colsHeightArr);this.$nextTick((function(){e.$refs.over.style.top=t+"px"}))},bindClickEvent:function(){var e=this;this.$el.querySelector(".vue-waterfall-easy").addEventListener("click",(function(t){var n=t.target;if(-1===t.target.className.indexOf("over")&&-1==n.className.indexOf("img-box")){for(;-1==n.className.indexOf("img-inner-box");)n=n.parentNode;var r=n.getAttribute("data-index");e.$emit("click",t,{index:r,value:e.imgsArr_c[r]})}}))},pullDown:function(){var e,t=this,n=this.$el.querySelector(".vue-waterfall-easy-scroll");n.addEventListener("touchmove",(function(r){if(0===n.scrollTop){var i=r.changedTouches[0];e||(e=i.pageY);var o=i.pageY-e;o>0&&r.preventDefault(),t.$emit("pullDownMove",o)}})),n.addEventListener("touchend",(function(r){0===n.scrollTop&&(e=NaN,t.$emit("pullDownEnd"))}))},loadingMiddle:function(){var e=this.$el.querySelector(".vue-waterfall-easy-scroll"),t=e.offsetWidth-e.clientWidth;this.$el.querySelector(".loading").style.marginLeft=-t/2+"px"},reset:function(){this.imgsArr_c=[],this.beginIndex=0,this.loadedCount=0,this.isFirstLoad=!0,this.isPreloading=!0,this.scroll(),this.over=!1}}}},function(e,t,n){"use strict";t.a={name:"alink",props:["to"],data:function(){return{msg:"this is from alink.vue"}},methods:{}}},function(e,t,n){"use strict";function r(e){a||n(6)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(13),a=!1,s=n(2),l=r,u=s(i.a,o.a,!1,l,"data-v-ded6b974",null);u.options.__file="src\\vue-waterfall-easy\\vue-waterfall-easy.vue",t.default=u.exports},function(e,t,n){var r=n(7);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("5fd04388",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vue-waterfall-easy-container[data-v-ded6b974] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy-scroll[data-v-ded6b974] {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy[data-v-ded6b974] {\n position: absolute;\n width: 100%;\n}\n@-webkit-keyframes show-card-data-v-ded6b974 {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes show-card-data-v-ded6b974 {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n.vue-waterfall-easy-container .vue-waterfall-easy > .img-box[data-v-ded6b974] {\n position: absolute;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 50%;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy > .img-box.default-card-animation[data-v-ded6b974] {\n -webkit-animation: show-card-data-v-ded6b974 0.4s;\n animation: show-card-data-v-ded6b974 0.4s;\n -webkit-transition: left 0.6s, top 0.6s;\n transition: left 0.6s, top 0.6s;\n -webkit-transition-delay: 0.1s;\n transition-delay: 0.1s;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy a[data-v-ded6b974] {\n display: block;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy a.img-inner-box[data-v-ded6b974] {\n -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy .__err__ .img-wraper[data-v-ded6b974] {\n background-image: url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjk1M0JCM0QwNkVFNDExRThCNTJCQUQ2RDFGQzg0NzIxIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk1M0JCM0NGNkVFNDExRThCNTJCQUQ2RDFGQzg0NzIxIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTYwRUMyMDE2RUUzMTFFOEJCRTU5RTFDODg1ODgwMjYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTYwRUMyMDI2RUUzMTFFOEJCRTU5RTFDODg1ODgwMjYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAQCwsLDAsQDAwQFw8NDxcbFBAQFBsfFxcXFxcfHhcaGhoaFx4eIyUnJSMeLy8zMy8vQEBAQEBAQEBAQEBAQEBAAREPDxETERUSEhUUERQRFBoUFhYUGiYaGhwaGiYwIx4eHh4jMCsuJycnLis1NTAwNTVAQD9AQEBAQEBAQEBAQED/wAARCACRAJEDASIAAhEBAxEB/8QAZQAAAwEBAQAAAAAAAAAAAAAAAAIDAQQHAQEAAAAAAAAAAAAAAAAAAAAAEAACAQMDBAEFAAMBAAAAAAAAAQIRMQMhQRJRYYEycZHBIkITsdFSYhEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A9AAAAAMFnNQWt9kAwkssVbV9CTnKb10XQVtLSyAd5ZuzURW27yfhmX9RlDI+wD4Vf/ZVi41SKCdeNI3YEnOXJtOiBZZr/wBGcMi2Ft7AXjli76PoOcqael0Mpyg9NV0A6QEhNTWl90MBoAAAAAAGGiTlxjXfZAZkycdEqyI3q26sOrd92CTm6bbsA1boh1i3lqPGKiqIZAYklYHY0x6tIDY2B3NdjEBgNJ3NACTxbx0E1TozoYsoqSowI2o06MtjyctGqSItODptsw6NX2YHSaJCXKNd90OAAAAYznnLnJvZWK5pUjRXloiNdwCjk0l9S0YqKohcSpGrvLUcDUBLK23x23FWNtVSAuHch/KXQP5PoBdqq77GJ1XfczFVKjVBcuPk6rXqBQCH8n0D+UugFwZD+bV1oNif5OOzQDyipKjI0cW0/qXYmVVjVXjqAkZcHXZ3OhHNXcthlWNHeOjAoAABDLKs6bISlWl1Busm+42Jfm30At2BmI1gRy+3gpD1XwTy+3gpH1QDASyt8uKdFuJRw1iwOjdBKy+TIutGbK3kAAxtJNuwiywdmA7s/glj9/BV04unQli9l8AWDsBjAhSja6D4pUnTZmZV+afUVOkk+4HUBgAc0bD4v2+fsJGw+L9vn7AVQMEDAjl9vBSHqvgnl9vBSHqvgDJwbfJC8JPSlEO5wTo3qMnUDEqNGz0jXoD08BRSXyBB/m6u2xvFPQ1qjoDAVNxqv1ZuJUnT5BGw9/AFQYAwJZf1+fsJKw+X9fn7CSsB0AAAc7VG13GxP82uoZFSbezFWkkwOgGCBgRy15adDZTaioq7QZPfwZQDFFfPc2MnB0vE1AwCc+WituPjaS4kzU6agPkS9hEVeqJJU0AAh7+ACHv4AqAAwI5X+aXQVKrS7g3WTY2ONZp7IC9AAAJ5lWNf+dSV1XqdL1VGc8lxk47bAUxyqqO60GIpuL5LyuxZNNVVtmAmVfkpbbi1RYAI1QVRYAI1QJ1aRYzdAbJ8Y1I1RZggI1SNxL8uW1NCoAYxckqKiu9Bm0lV23ZFtyfJ+F2Ayyr0K4VSNf8ArUnFcpKO250LRUQABoAYLkhzXdWHMA5u26uNGXF9tx8uOusfYlbTcC6aaqrdTTnTlHVfQrHJF6PRsBwAAC5i9vg0xbgaAIAAxtJVduosskVotWiTcpav6ANKXJ9the27sF9NyuLHTWXsA2OHBd3cYDQAAAAAAAwSeNS1syhgHNRxdJfUK10ujoaTuJLCrp0Amm1Ztdhv6z3Sfkxwmu4leqoBT+1P1f8AkZy4469daEaopllRqPRAH9ZOyp5Fbbu2+xmuyGUJvsAtaaWQUcnSP1Kxwq7dR0krALDGo63Y4GgAAAAAAAAAAAAAAAAAshJ7AAGK6B3YABsNx4gADAAAAAAAAAAAAAf/2Q==);\n background-repeat: no-repeat;\n background-position: center;\n background-size: 50% 50%;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy .__err__ .img-wraper img[data-v-ded6b974] {\n display: none;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy a.img-wraper > img[data-v-ded6b974] {\n width: 100%;\n display: block;\n border: none;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy .over[data-v-ded6b974] {\n position: absolute;\n width: 100%;\n text-align: center;\n font-size: 12px;\n line-height: 1.6;\n color: #aaa;\n}\n.vue-waterfall-easy-container > .loading.first[data-v-ded6b974] {\n bottom: 50%;\n -webkit-transform: translate(-50%, 50%);\n transform: translate(-50%, 50%);\n}\n.vue-waterfall-easy-container > .loading[data-v-ded6b974] {\n position: absolute;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n bottom: 6px;\n z-index: 999;\n}\n@-webkit-keyframes ball-beat-data-v-ded6b974 {\n50% {\n opacity: 0.2;\n -webkit-transform: scale(0.75);\n transform: scale(0.75);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes ball-beat-data-v-ded6b974 {\n50% {\n opacity: 0.2;\n -webkit-transform: scale(0.75);\n transform: scale(0.75);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n.vue-waterfall-easy-container > .loading.ball-beat > .dot[data-v-ded6b974] {\n vertical-align: bottom;\n background-color: #4b15ab;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n margin: 3px;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n display: inline-block;\n -webkit-animation: ball-beat-data-v-ded6b974 0.7s 0s infinite linear;\n animation: ball-beat-data-v-ded6b974 0.7s 0s infinite linear;\n}\n.vue-waterfall-easy-container > .loading.ball-beat > .dot[data-v-ded6b974]:nth-child(2n-1) {\n -webkit-animation-delay: 0.35s;\n animation-delay: 0.35s;\n}\n",""])},function(e,t){e.exports=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],l=o[2],u=o[3],c={id:e+":"+i,css:s,media:l,sourceMap:u};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}},function(e,t,n){"use strict";function r(e){a||n(10)}var i=n(4),o=n(12),a=!1,s=n(2),l=r,u=s(i.a,o.a,!1,l,null,null);u.options.__file="src\\vue-waterfall-easy\\components\\alink.vue",t.a=u.exports},function(e,t,n){var r=n(11);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("75b4b0a0",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("a",{staticClass:"alink",attrs:{href:e.to,target:"_blank"}},[e._t("default")],2)},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-waterfall-easy-container",style:{width:e.width&&!e.isMobile?e.width+"px":"",height:parseFloat(e.height)==e.height?e.height+"px":e.height}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isPreloading_c,expression:"isPreloading_c"}],staticClass:"loading ball-beat",class:{first:e.isFirstLoad}},[e._t("loading",null,{isFirstLoad:e.isFirstLoad}),e._l(e.loadingDotCount,(function(t){return e.hasLoadingSlot?e._e():n("div",{staticClass:"dot",style:e.loadingDotStyle})}))],2),n("div",{ref:"scrollEl",staticClass:"vue-waterfall-easy-scroll"},[e._t("waterfall-head"),n("div",{staticClass:"vue-waterfall-easy",style:e.isMobile?"":{width:e.colWidth*e.cols+"px",left:"50%",marginLeft:-1*e.colWidth*e.cols/2+"px"}},[e._l(e.imgsArr_c,(function(t,r){return n("div",{staticClass:"img-box",class:[e.cardAnimationClass,{__err__:t._error}],style:{padding:(e.isMobile?e.mobileGap:e.gap)/2+"px",width:e.isMobile?"":e.colWidth+"px"}},[n(e.isRouterLink&&"card"==e.linkRange?"router-link":"alink",{tag:"component",staticClass:"img-inner-box",attrs:{"data-index":r,to:"card"==e.linkRange&&t[e.hrefKey]}},[t[e.srcKey]?n(e.isRouterLink&&"img"==e.linkRange?"router-link":"alink",{tag:"component",staticClass:"img-wraper",style:{width:e.imgWidth_c+"px",height:!!t._height&&t._height+"px"},attrs:{to:"img"==e.linkRange&&t[e.hrefKey]}},[n("img",{attrs:{src:t[e.srcKey]}})]):e._e(),e._t("default",null,{index:r,value:t})],2)],1)})),e.over?n("div",{ref:"over",staticClass:"over"},[e._t("waterfall-over",[e._v("被你看光了")])],2):e._e()],2)],2)])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o}]).default}))},"6dd8":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function s(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&u()}function l(){o(s)}function u(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(l,t);i=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=u.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=M(0,0,0,0);function m(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+m(r)}),0)}function v(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var o=i[r],a=e["padding-"+o];n[o]=m(a)}return n}function y(e){var t=e.getBBox();return M(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),i=v(r),o=i.left+i.right,a=i.top+i.bottom,s=m(r.width),l=m(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=g(r,"left","right")+o),Math.round(l+a)!==n&&(l-=g(r,"top","bottom")+a)),!w(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return M(i.left,i.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===f(e).document.documentElement}function x(e){return r?_(e)?y(e):b(e):p}function k(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return h(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function M(e,t,n,r){return{x:e,y:t,width:n,height:r}}var S=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=x(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(){function e(e,t){var n=k(t);h(this,{target:e,contentRect:n})}return e}(),T=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new S(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new C(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),O="undefined"!==typeof WeakMap?new WeakMap:new n,L=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new T(t,n,this);O.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){L.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));var A=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:L}();t["default"]=A}.call(this,n("24aa"))},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  357. //! moment.js locale configuration
  358. var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6eb9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineConfig=void 0;var r={show:!0,name:"",stack:"",smooth:!1,xAxisIndex:0,yAxisIndex:0,data:[],lineStyle:{lineWidth:1},linePoint:{show:!0,radius:2,style:{fill:"#fff",lineWidth:1}},lineArea:{show:!1,gradient:[],style:{opacity:.5}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};t.lineConfig=r},"6f12":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  359. //! moment.js locale configuration
  360. var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6f50":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  361. //! moment.js locale configuration
  362. var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"6fc2":function(e,t,n){},7037:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},7074:function(e,t,n){"use strict";var r=n("2ef0"),i=n("2655");e.exports=function(e){if("object"!==typeof e)throw new Error("An adapter must be provided, see https://github.com/typicode/lowdb/#usage");var t=r.runInContext(),n=t.chain({});function o(e){return n.__wrapped__=e,n}return t.prototype.write=t.wrap(t.prototype.value,(function(e){var t=e.apply(this);return n.write(t)})),n._=t,n.read=function(){var t=e.read();return i(t)?t.then(o):o(t)},n.write=function(t){var r=e.write(n.getState());return i(r)?r.then((function(){return t})):t},n.getState=function(){return n.__wrapped__},n.setState=function(e){return o(e)},n.read()}},7118:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  363. //! moment.js locale configuration
  364. var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r}))},"71c1":function(e,t,n){var r=n("3a38"),i=n("25eb");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"71f1":function(e,t,n){"use strict";var r=n("5ca1"),i=n("c45f"),o=n("4bf8"),a=n("9def"),s=n("4588"),l=n("cd1c");r(r.P,"Array",{flatten:function(){var e=arguments[0],t=o(this),n=a(t.length),r=l(t,0);return i(r,t,t,n,0,void 0===e?1:s(e)),r}}),n("9c6c")("flatten")},7212:function(e,t,n){!function(t,r){e.exports=r(n("d090"))}(0,(function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(t,n){t.exports=e},function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=r),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(e,t){return u.call(t),h(e,t)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),i=n.n(r),o=n(8),a=n(1),s=a(i.a,o.a,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=n.n(r),o=n(7),a=n(1),s=a(i.a,o.a,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.swiperSlide=t.swiper=t.Swiper=void 0;var i=n(0),o=r(i),a=n(2),s=r(a),l=n(3),u=r(l),c=window.Swiper||o.default,d=u.default,h=s.default,f=function(e,t){t&&(u.default.props.globalOptions.default=function(){return t}),e.component(u.default.name,u.default),e.component(s.default.name,s.default)},p={Swiper:c,swiper:d,swiperSlide:h,install:f};t.default=p,t.Swiper=c,t.swiper=d,t.swiperSlide=h,t.install=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"swiper-slide",data:function(){return{slideClass:"swiper-slide"}},ready:function(){this.update()},mounted:function(){this.update(),this.$parent&&this.$parent.options&&this.$parent.options.slideClass&&(this.slideClass=this.$parent.options.slideClass)},updated:function(){this.update()},attached:function(){this.update()},methods:{update:function(){this.$parent&&this.$parent.swiper&&this.$parent.update()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=window.Swiper||i.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},writable:!0,configurable:!0});var a=["beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize"];t.default={name:"swiper",props:{options:{type:Object,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},data:function(){return{swiper:null,classes:{wrapperClass:"swiper-wrapper"}}},ready:function(){this.swiper||this.mountInstance()},mounted:function(){if(!this.swiper){var e=!1;for(var t in this.classes)this.classes.hasOwnProperty(t)&&this.options[t]&&(e=!0,this.classes[t]=this.options[t]);e?this.$nextTick(this.mountInstance):this.mountInstance()}},activated:function(){this.update()},updated:function(){this.update()},beforeDestroy:function(){this.$nextTick((function(){this.swiper&&(this.swiper.destroy&&this.swiper.destroy(),delete this.swiper)}))},methods:{update:function(){this.swiper&&(this.swiper.update&&this.swiper.update(),this.swiper.navigation&&this.swiper.navigation.update(),this.swiper.pagination&&this.swiper.pagination.render(),this.swiper.pagination&&this.swiper.pagination.update())},mountInstance:function(){var e=Object.assign({},this.globalOptions,this.options);this.swiper=new o(this.$el,e),this.bindEvents(),this.$emit("ready",this.swiper)},bindEvents:function(){var e=this,t=this;a.forEach((function(n){e.swiper.on(n,(function(){t.$emit.apply(t,[n].concat(Array.prototype.slice.call(arguments))),t.$emit.apply(t,[n.replace(/([A-Z])/g,"-$1").toLowerCase()].concat(Array.prototype.slice.call(arguments)))}))}))}}}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"swiper-container"},[e._t("parallax-bg"),e._v(" "),n("div",{class:e.classes.wrapperClass},[e._t("default")],2),e._v(" "),e._t("pagination"),e._v(" "),e._t("button-prev"),e._v(" "),e._t("button-next"),e._v(" "),e._t("scrollbar")],2)},i=[],o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.slideClass},[e._t("default")],2)},i=[],o={render:r,staticRenderFns:i};t.a=o}])}))},"726e":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return h}));var r=12,i="sans-serif",o=r+"px "+i,a=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(e){var t={};if("undefined"===typeof JSON)return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-a)/s;t[r]=i}return t}var c=u(l),d={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,i){if(!e){var a=d.createCanvas();e=a&&a.getContext("2d")}if(e)return t!==i&&(t=e.font=i||o),e.measureText(n);n=n||"",i=i||o;var s=/((?:\d+)?\.?\d*)px/.exec(i),l=s&&+s[1]||r,u=0;if(i.indexOf("mono")>=0)u=l*n.length;else for(var h=0;h<n.length;h++){var f=c[n[h]];u+=null==f?l:f*l}return{width:u}}}(),loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}};function h(e){for(var t in d)e[t]&&(d[t]=e[t])}},"729b":function(e,t,n){n("c6a1")("Map")},"729e":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.pie=p;var i=r(n("9523")),o=r(n("7037")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("222a"),c=n("5557"),d=n("becb");function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,i["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var r=(0,d.initNeedSeries)(n,u.pieConfig,"pie");r=m(r,e),r=g(r,e),r=y(r,e),r=w(r),r=M(r,e),r=C(r),r=O(r),r=L(r),(0,l.doUpdate)({chart:e,series:r,key:"pie",getGraphConfig:P,getStartGraphConfig:R,beforeChange:N}),(0,l.doUpdate)({chart:e,series:r,key:"pieInsideLabel",getGraphConfig:F}),(0,l.doUpdate)({chart:e,series:r,key:"pieOutsideLabelLine",getGraphConfig:V,getStartGraphConfig:W}),(0,l.doUpdate)({chart:e,series:r,key:"pieOutsideLabel",getGraphConfig:G,getStartGraphConfig:q})}function m(e,t){var n=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*n[t]})),e.center=t})),e}function g(e,t){var n=Math.min.apply(Math,(0,s["default"])(t.render.area))/2;return e.forEach((function(e){var t=e.radius,r=e.data;t=v(t,n),r.forEach((function(e){var r=e.radius;r||(r=t),r=v(r,n),e.radius=r})),e.radius=t})),e}function v(e,t){return e instanceof Array||(e=[0,e]),e=e.map((function(e){return"number"===typeof e?e:parseInt(e)/100*t})),e}function y(e,t){var n=e.filter((function(e){var t=e.roseType;return t}));return n.forEach((function(e){var t=e.radius,n=e.data,r=e.roseSort,i=_(e),o=(0,s["default"])(n);n=b(n),n.forEach((function(e,n){e.radius[1]=t[1]-i*n})),r?n.reverse():e.data=o,e.roseIncrement=i})),e}function b(e){return e.sort((function(e,t){var n=e.value,r=t.value;return n===r?0:n>r?-1:n<r?1:void 0}))}function _(e){var t=e.radius,n=e.roseIncrement;if("number"===typeof n)return n;if("auto"===n){var r=e.data,i=r.reduce((function(e,t){var n=t.radius;return[].concat((0,s["default"])(e),(0,s["default"])(n))}),[]),o=Math.min.apply(Math,(0,s["default"])(i)),a=Math.max.apply(Math,(0,s["default"])(i));return.6*(a-o)/(r.length-1||1)}return parseInt(n)/100*t[1]}function w(e){return e.forEach((function(e){var t=e.data,n=e.percentToFixed,r=k(t);t.forEach((function(e){var t=e.value;e.percent=t/r*100,e.percentForLabel=x(t/r*100,n)}));var i=(0,d.mulAdd)(t.slice(0,-1).map((function(e){var t=e.percent;return t})));t.slice(-1)[0].percent=100-i,t.slice(-1)[0].percentForLabel=x(100-i,n)})),e}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.toString(),r=n.split("."),i=r[1]||"0",o=i.slice(0,t);return r[1]=o,parseFloat(r.join("."))}function k(e){return(0,d.mulAdd)(e.map((function(e){var t=e.value;return t})))}function M(e){return e.forEach((function(e){var t=e.startAngle,n=e.data;n.forEach((function(e,r){var i=S(n,r),o=(0,a["default"])(i,2),s=o[0],l=o[1];e.startAngle=t+s,e.endAngle=t+l}))})),e}function S(e,t){var n=2*Math.PI,r=e.slice(0,t+1),i=(0,d.mulAdd)(r.map((function(e){var t=e.percent;return t}))),o=e[t].percent,a=i-o;return[n*a/100,n*i/100]}function C(e){return e.forEach((function(e){var t=e.data;t.forEach((function(t){t.insideLabelPos=T(e,t)}))})),e}function T(e,t){var n=e.center,r=t.startAngle,i=t.endAngle,o=(0,a["default"])(t.radius,2),l=o[0],u=o[1],d=(l+u)/2,h=(r+i)/2;return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([d,h]))}function O(e){return e.forEach((function(e){var t=e.data,n=e.center;t.forEach((function(e){var t=e.startAngle,r=e.endAngle,i=e.radius,o=(t+r)/2,a=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([i[1],o]));e.edgeCenterPos=a}))})),e}function L(e){return e.forEach((function(e){var t=E(e),n=E(e,!1);t=I(t),n=I(n),j(t,e),j(n,e,!1)})),e}function A(e){var t=e.outsideLabel.labelLineBendGap,n=D(e);return"number"!==typeof t&&(t=parseInt(t)/100*n),t+n}function D(e){var t=e.data,n=t.map((function(e){var t=(0,a["default"])(e.radius,2),n=(t[0],t[1]);return n}));return Math.max.apply(Math,(0,s["default"])(n))}function E(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.data,r=e.center,i=r[0];return n.filter((function(e){var n=e.edgeCenterPos,r=n[0];return t?r<=i:r>i}))}function I(e){return e.sort((function(e,t){var n=(0,a["default"])(e.edgeCenterPos,2),r=(n[0],n[1]),i=(0,a["default"])(t.edgeCenterPos,2),o=(i[0],i[1]);return r>o?1:r<o?-1:r===o?0:void 0})),e}function j(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t.center,i=t.outsideLabel,o=A(t);e.forEach((function(e){var t=e.edgeCenterPos,a=e.startAngle,l=e.endAngle,u=i.labelLineEndLength,h=(a+l)/2,f=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([o,h])),p=(0,s["default"])(f);p[0]+=u*(n?-1:1),e.labelLine=[t,f,p],e.labelLineLength=(0,d.getPolylineLength)(e.labelLine),e.align={textAlign:"left",textBaseline:"middle"},n&&(e.align.textAlign="right")}))}function P(e){var t=e.data,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"pie",index:i,animationCurve:n,animationFrame:r,shape:B(e,o),style:Y(e,o)}}))}function R(e){var t=e.animationDelayGap,n=e.startAnimationCurve,r=P(e);return r.forEach((function(e,r){e.animationCurve=n,e.animationDelay=r*t,e.shape.or=e.shape.ir})),r}function N(e){e.animationDelay=0}function B(e,t){var n=e.center,r=e.data,i=r[t],o=i.radius,a=i.startAngle,s=i.endAngle;return{startAngle:a,endAngle:s,ir:o[0],or:o[1],rx:n[0],ry:n[1]}}function Y(e,t){var n=e.pieStyle,r=e.data,i=r[t],o=i.color;return(0,d.deepMerge)({fill:o},n)}function F(e){var t=e.animationCurve,n=e.animationFrame,r=e.data,i=e.rLevel;return r.map((function(r,o){return{name:"text",index:i,visible:e.insideLabel.show,animationCurve:t,animationFrame:n,shape:z(e,o),style:H(e,o)}}))}function z(e,t){var n=e.insideLabel,r=e.data,i=n.formatter,a=r[t],s=(0,o["default"])(i),l="";return"string"===s&&(l=i.replace("{name}",a.name),l=l.replace("{percent}",a.percentForLabel),l=l.replace("{value}",a.value)),"function"===s&&(l=i(a)),{content:l,position:a.insideLabelPos}}function H(e,t){var n=e.insideLabel.style;return n}function V(e){var t=e.animationCurve,n=e.animationFrame,r=e.data,i=e.rLevel;return r.map((function(r,o){return{name:"polyline",index:i,visible:e.outsideLabel.show,animationCurve:t,animationFrame:n,shape:U(e,o),style:$(e,o)}}))}function W(e){var t=e.data,n=V(e);return n.forEach((function(e,n){e.style.lineDash=[0,t[n].labelLineLength]})),n}function U(e,t){var n=e.data,r=n[t];return{points:r.labelLine}}function $(e,t){var n=e.outsideLabel,r=e.data,i=n.labelLineStyle,o=r[t].color;return(0,d.deepMerge)({stroke:o,lineDash:[r[t].labelLineLength,0]},i)}function G(e){var t=e.animationCurve,n=e.animationFrame,r=e.data,i=e.rLevel;return r.map((function(r,o){return{name:"text",index:i,visible:e.outsideLabel.show,animationCurve:t,animationFrame:n,shape:X(e,o),style:K(e,o)}}))}function q(e){var t=e.data,n=G(e);return n.forEach((function(e,n){e.shape.position=t[n].labelLine[1]})),n}function X(e,t){var n=e.outsideLabel,r=e.data,i=n.formatter,a=r[t],s=a.labelLine,l=a.name,u=a.percentForLabel,c=a.value,d=(0,o["default"])(i),h="";return"string"===d&&(h=i.replace("{name}",l),h=h.replace("{percent}",u),h=h.replace("{value}",c)),"function"===d&&(h=i(r[t])),{content:h,position:s[2]}}function K(e,t){var n=e.outsideLabel,r=e.data,i=r[t],o=i.color,a=i.align,s=n.style;return(0,d.deepMerge)(f({fill:o},a),s)}},"72fe":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=[];(function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0})();var l=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],l=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],_=e[t+9],w=e[t+10],x=e[t+11],k=e[t+12],M=e[t+13],S=e[t+14],C=e[t+15],T=o[0],O=o[1],L=o[2],A=o[3];T=u(T,O,L,A,a,7,s[0]),A=u(A,T,O,L,l,12,s[1]),L=u(L,A,T,O,f,17,s[2]),O=u(O,L,A,T,p,22,s[3]),T=u(T,O,L,A,m,7,s[4]),A=u(A,T,O,L,g,12,s[5]),L=u(L,A,T,O,v,17,s[6]),O=u(O,L,A,T,y,22,s[7]),T=u(T,O,L,A,b,7,s[8]),A=u(A,T,O,L,_,12,s[9]),L=u(L,A,T,O,w,17,s[10]),O=u(O,L,A,T,x,22,s[11]),T=u(T,O,L,A,k,7,s[12]),A=u(A,T,O,L,M,12,s[13]),L=u(L,A,T,O,S,17,s[14]),O=u(O,L,A,T,C,22,s[15]),T=c(T,O,L,A,l,5,s[16]),A=c(A,T,O,L,v,9,s[17]),L=c(L,A,T,O,x,14,s[18]),O=c(O,L,A,T,a,20,s[19]),T=c(T,O,L,A,g,5,s[20]),A=c(A,T,O,L,w,9,s[21]),L=c(L,A,T,O,C,14,s[22]),O=c(O,L,A,T,m,20,s[23]),T=c(T,O,L,A,_,5,s[24]),A=c(A,T,O,L,S,9,s[25]),L=c(L,A,T,O,p,14,s[26]),O=c(O,L,A,T,b,20,s[27]),T=c(T,O,L,A,M,5,s[28]),A=c(A,T,O,L,f,9,s[29]),L=c(L,A,T,O,y,14,s[30]),O=c(O,L,A,T,k,20,s[31]),T=d(T,O,L,A,g,4,s[32]),A=d(A,T,O,L,b,11,s[33]),L=d(L,A,T,O,x,16,s[34]),O=d(O,L,A,T,S,23,s[35]),T=d(T,O,L,A,l,4,s[36]),A=d(A,T,O,L,m,11,s[37]),L=d(L,A,T,O,y,16,s[38]),O=d(O,L,A,T,w,23,s[39]),T=d(T,O,L,A,M,4,s[40]),A=d(A,T,O,L,a,11,s[41]),L=d(L,A,T,O,p,16,s[42]),O=d(O,L,A,T,v,23,s[43]),T=d(T,O,L,A,_,4,s[44]),A=d(A,T,O,L,k,11,s[45]),L=d(L,A,T,O,C,16,s[46]),O=d(O,L,A,T,f,23,s[47]),T=h(T,O,L,A,a,6,s[48]),A=h(A,T,O,L,y,10,s[49]),L=h(L,A,T,O,S,15,s[50]),O=h(O,L,A,T,g,21,s[51]),T=h(T,O,L,A,k,6,s[52]),A=h(A,T,O,L,p,10,s[53]),L=h(L,A,T,O,w,15,s[54]),O=h(O,L,A,T,l,21,s[55]),T=h(T,O,L,A,b,6,s[56]),A=h(A,T,O,L,C,10,s[57]),L=h(L,A,T,O,v,15,s[58]),O=h(O,L,A,T,M,21,s[59]),T=h(T,O,L,A,m,6,s[60]),A=h(A,T,O,L,x,10,s[61]),L=h(L,A,T,O,f,15,s[62]),O=h(O,L,A,T,_,21,s[63]),o[0]=o[0]+T|0,o[1]=o[1]+O|0,o[2]=o[2]+L|0,o[3]=o[3]+A|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,u=0;u<4;u++){var c=l[u];l[u]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function c(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function h(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}n.MD5=o._createHelper(l),n.HmacMD5=o._createHmacHelper(l)}(Math),e.MD5}))},7333:function(e,t,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),l=n("626a"),u=Object.assign;e.exports=!u||n("79e5")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){var n=s(e),u=arguments.length,c=1,d=o.f,h=a.f;while(u>c){var f,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;while(g>v)f=m[v++],r&&!h.call(p,f)||(n[f]=p[f])}return n}:u},73332:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  365. //! moment.js locale configuration
  366. var t=e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},"733c":function(e,t,n){},"744f":function(e,t,n){var r=n("5ca1");r(r.P,"Array",{copyWithin:n("ba92")}),n("9c6c")("copyWithin")},"74dc":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  367. //! moment.js locale configuration
  368. var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t}))},7514:function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},7558:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  369. //! moment.js locale configuration
  370. function t(e,t,n,r){var i={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?i[n][0]:i[n][1]}function n(e){e=""+e;var t=e.substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}var r=e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var r=t.toLowerCase();return r.includes("w")||r.includes("m")?e+".":e+n(e)},week:{dow:1,doy:4}});return r}))},"759f":function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(3);r(r.P+r.F*!n("2f21")([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},"75fc":function(e,t,n){"use strict";var r=n("f410"),i=n.n(r),o=n("db2a");function a(e){if(i()(e))return Object(o["a"])(e)}var s=n("3953"),l=n("e630");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e){return a(e)||Object(s["a"])(e)||Object(l["a"])(e)||u()}n.d(t,"a",(function(){return c}))},7618:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("f921"),i=n.n(r),o=n("d8d6"),a=n.n(o);function s(e){return s="function"==typeof i.a&&"symbol"==typeof a.a?function(e){return typeof e}:function(e){return e&&"function"==typeof i.a&&e.constructor===i.a&&e!==i.a.prototype?"symbol":typeof e},s(e)}},"764f":function(e,t,n){n("c6a1")("WeakMap")},"765d":function(e,t,n){n("6718")("observable")},"768b":function(e,t,n){"use strict";var r=n("178b"),i=n("f921"),o=n.n(i),a=n("d8d6"),s=n.n(a);function l(e,t){var n=null==e?null:"undefined"!=typeof o.a&&e[s.a]||e["@@iterator"];if(null!=n){var r,i,a,l,u=[],c=!0,d=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){d=!0,i=e}finally{try{if(!c&&null!=n["return"]&&(l=n["return"](),Object(l)!==l))return}finally{if(d)throw i}}return u}}var u=n("e630"),c=n("1df6");function d(e,t){return Object(r["a"])(e)||l(e,t)||Object(u["a"])(e,t)||Object(c["a"])()}n.d(t,"a",(function(){return d}))},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},7872:function(e,t,n){var r=n("5ca1");r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},"788d":function(e,t,n){var r=n("5ca1"),i=n("6821"),o=n("9def");r(r.S,"String",{raw:function(e){var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],s=0;while(n>s)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},"78ce":function(e,t,n){var r=n("5ca1");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e3":function(e,t,n){"use strict";(function(e){var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return t(e,[{key:"on",value:function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};var t=this._callbacks[e];if(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=t,a=!0,s=0;for(o=a?o:o[Symbol.iterator]();;){var l;if(a){if(s>=o.length)break;l=o[s++]}else{if(s=o.next(),s.done)break;l=s.value}var u=l;u.apply(this,r)}}return this}},{key:"off",value:function(e,t){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(var r=0;r<n.length;r++){var i=n[r];if(i===t){n.splice(r,1);break}}return this}}]),e}(),a=function(e){function a(e,t){i(this,a);var r=n(this,(a.__proto__||Object.getPrototypeOf(a)).call(this)),o=void 0,s=void 0;if(r.element=e,r.version=a.version,r.defaultOptions.previewTemplate=r.defaultOptions.previewTemplate.replace(/\n*/g,""),r.clickableElements=[],r.listeners=[],r.files=[],"string"===typeof r.element&&(r.element=document.querySelector(r.element)),!r.element||null==r.element.nodeType)throw new Error("Invalid dropzone element.");if(r.element.dropzone)throw new Error("Dropzone already attached.");a.instances.push(r),r.element.dropzone=r;var l,u=null!=(s=a.optionsForElement(r.element))?s:{};if(r.options=a.extend({},r.defaultOptions,u,null!=t?t:{}),r.options.forceFallback||!a.isBrowserSupported())return l=r.options.fallback.call(r),n(r,l);if(null==r.options.url&&(r.options.url=r.element.getAttribute("action")),!r.options.url)throw new Error("No URL provided.");if(r.options.acceptedFiles&&r.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(r.options.uploadMultiple&&r.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return r.options.acceptedMimeTypes&&(r.options.acceptedFiles=r.options.acceptedMimeTypes,delete r.options.acceptedMimeTypes),null!=r.options.renameFilename&&(r.options.renameFile=function(e){return r.options.renameFilename.call(r,e.name,e)}),r.options.method=r.options.method.toUpperCase(),(o=r.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),!1!==r.options.previewsContainer&&(r.options.previewsContainer?r.previewsContainer=a.getElement(r.options.previewsContainer,"previewsContainer"):r.previewsContainer=r.element),r.options.clickable&&(!0===r.options.clickable?r.clickableElements=[r.element]:r.clickableElements=a.getElements(r.options.clickable,"clickable")),r.init(),r}return r(a,e),t(a,null,[{key:"initClass",value:function(){this.prototype.Emitter=o,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(e,t,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(e,t){return t()},chunksUploaded:function(e,t){t()},fallback:function(){var e=void 0;this.element.className=this.element.className+" dz-browser-not-supported";var t=this.element.getElementsByTagName("div"),n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(/(^| )dz-message($| )/.test(o.className)){e=o,o.className="dz-message";break}}e||(e=a.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));var s=e.getElementsByTagName("span")[0];return s&&(null!=s.textContent?s.textContent=this.options.dictFallbackMessage:null!=s.innerText&&(s.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,n,r){var i={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},o=e.width/e.height;null==t&&null==n?(t=i.srcWidth,n=i.srcHeight):null==t?t=n*o:null==n&&(n=t/o),t=Math.min(t,i.srcWidth),n=Math.min(n,i.srcHeight);var a=t/n;if(i.srcWidth>t||i.srcHeight>n)if("crop"===r)o>a?(i.srcHeight=e.height,i.srcWidth=i.srcHeight*a):(i.srcWidth=e.width,i.srcHeight=i.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '"+r+"'");o>a?n=t/o:t=n*o}return i.srcX=(e.width-i.srcWidth)/2,i.srcY=(e.height-i.srcHeight)/2,i.trgWidth=t,i.trgHeight=n,i},transformFile:function(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>',drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function(e){},dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:function(e){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var t=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){e.previewElement=a.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement);var n=e.previewElement.querySelectorAll("[data-dz-name]"),r=!0,i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;s.textContent=e.name}var l=e.previewElement.querySelectorAll("[data-dz-size]"),u=!0,c=0;for(l=u?l:l[Symbol.iterator]();;){if(u){if(c>=l.length)break;s=l[c++]}else{if(c=l.next(),c.done)break;s=c.value}s.innerHTML=this.filesize(e.size)}this.options.addRemoveLinks&&(e._removeLink=a.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink));var d=function(n){return n.preventDefault(),n.stopPropagation(),e.status===a.UPLOADING?a.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)})):t.options.dictRemoveFileConfirmation?a.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)})):t.removeFile(e)},h=e.previewElement.querySelectorAll("[data-dz-remove]"),f=!0,p=0;for(h=f?h:h[Symbol.iterator]();;){var m;if(f){if(p>=h.length)break;m=h[p++]}else{if(p=h.next(),p.done)break;m=p.value}var g=m;g.addEventListener("click",d)}}},removedfile:function(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var n=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=!0,i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;a.alt=e.name,a.src=t}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"String"!==typeof t&&t.error&&(t=t.error);var n=e.previewElement.querySelectorAll("[data-dz-errormessage]"),r=!0,i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;a.textContent=t}}},errormultiple:function(){},processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(e,t,n){if(e.previewElement){var r=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),i=!0,o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;"PROGRESS"===s.nodeName?s.value=t:s.style.width=t+"%"}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;for(var u in l){var c=l[u];e[u]=c}}return e}}]),t(a,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(e){return e.accepted})).map((function(e){return e}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(e){return!e.accepted})).map((function(e){return e}))}},{key:"getFilesWithStatus",value:function(e){return this.files.filter((function(t){return t.status===e})).map((function(e){return e}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(a.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(a.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(a.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(e){return e.status===a.UPLOADING||e.status===a.QUEUED})).map((function(e){return e}))}},{key:"init",value:function(){var e=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(a.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length){var t=function t(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null===e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!==e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!==e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",a.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",(function(){var n=e.hiddenFileInput.files;if(n.length){var r=n,i=!0,o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;e.addFile(s)}}return e.emit("addedfiles",n),t()}))};t()}this.URL=null!==window.URL?window.URL:window.webkitURL;var n=this.events,r=!0,i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;this.on(s,this.options[s])}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()})),this.on("removedfile",(function(){return e.updateTotalUploadProgress()})),this.on("canceled",(function(t){return e.emit("complete",t)})),this.on("complete",(function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout((function(){return e.emit("queuecomplete")}),0)}));var l=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(t){return e.emit("dragstart",t)},dragenter:function(t){return l(t),e.emit("dragenter",t)},dragover:function(t){var n=void 0;try{n=t.dataTransfer.effectAllowed}catch(r){}return t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",l(t),e.emit("dragover",t)},dragleave:function(t){return e.emit("dragleave",t)},drop:function(t){return l(t),e.drop(t)},dragend:function(t){return e.emit("dragend",t)}}}],this.clickableElements.forEach((function(t){return e.listeners.push({element:t,events:{click:function(n){return(t!==e.element||n.target===e.element||a.elementInside(n.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,a.instances.splice(a.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var e=void 0,t=0,n=0,r=this.getActiveFiles();if(r.length){var i=this.getActiveFiles(),o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;t+=l.upload.bytesSent,n+=l.upload.total}e=100*t/n}else e=100;return this.emit("totaluploadprogress",e,n,t)}},{key:"_getParamName",value:function(e){return"function"===typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")}},{key:"_renameFile",value:function(e){return"function"!==typeof this.options.renameFile?e.name:this.options.renameFile(e)}},{key:"getFallbackForm",value:function(){var e=void 0,t=void 0;if(e=this.getExistingFallback())return e;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>"+this.options.dictFallbackText+"</p>"),n+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var r=a.createElement(n);return"FORM"!==this.element.tagName?(t=a.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),t.appendChild(r)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=t?t:r}},{key:"getExistingFallback",value:function(){for(var e=function(e){var t=e,n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(/(^| )fallback($| )/.test(o.className))return o}},t=["div","form"],n=0;n<t.length;n++){var r,i=t[n];if(r=e(this.element.getElementsByTagName(i)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.addEventListener(n,r,!1))}return t}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.removeEventListener(n,r,!1))}return t}()}))}},{key:"disable",value:function(){var e=this;return this.clickableElements.forEach((function(e){return e.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(t){return e.cancelUpload(t)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(e){return e.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(e){var t=0,n="b";if(e>0){for(var r=["tb","gb","mb","kb","b"],i=0;i<r.length;i++){var o=r[i],a=Math.pow(this.options.filesizeBase,4-i)/10;if(e>=a){t=e/Math.pow(this.options.filesizeBase,4-i),n=o;break}}t=Math.round(10*t)/10}return"<strong>"+t+"</strong> "+this.options.dictFileSizeUnits[n]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(e){if(e.dataTransfer){this.emit("drop",e);for(var t=[],n=0;n<e.dataTransfer.files.length;n++)t[n]=e.dataTransfer.files[n];if(this.emit("addedfiles",t),t.length){var r=e.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(t)}}}},{key:"paste",value:function(e){if(null!=f(null!=e?e.clipboardData:void 0,(function(e){return e.items}))){this.emit("paste",e);var t=e.clipboardData.items;return t.length?this._addFilesFromItems(t):void 0}}},{key:"handleFiles",value:function(e){var t=e,n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;this.addFile(o)}}},{key:"_addFilesFromItems",value:function(e){var t=this;return function(){var n=[],r=e,i=!0,o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s,l=a;null!=l.webkitGetAsEntry&&(s=l.webkitGetAsEntry())?s.isFile?n.push(t.addFile(l.getAsFile())):s.isDirectory?n.push(t._addFilesFromDirectory(s,s.name)):n.push(void 0):null!=l.getAsFile&&(null==l.kind||"file"===l.kind)?n.push(t.addFile(l.getAsFile())):n.push(void 0)}return n}()}},{key:"_addFilesFromDirectory",value:function(e,t){var n=this,r=e.createReader(),i=function(e){return p(console,"log",(function(t){return t.log(e)}))},o=function e(){return r.readEntries((function(r){if(r.length>0){var i=r,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;l.isFile?l.file((function(e){if(!n.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath=t+"/"+e.name,n.addFile(e)})):l.isDirectory&&n._addFilesFromDirectory(l,t+"/"+l.name)}e()}return null}),i)};return o()}},{key:"accept",value:function(e,t){return this.options.maxFilesize&&e.size>1024*this.options.maxFilesize*1024?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):a.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}},{key:"addFile",value:function(e){var t=this;return e.upload={uuid:a.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e),chunked:this.options.chunking&&(this.options.forceChunking||e.size>this.options.chunkSize),totalChunkCount:Math.ceil(e.size/this.options.chunkSize)},this.files.push(e),e.status=a.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,(function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(e){var t=e,n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;this.enqueueFile(o)}return null}},{key:"enqueueFile",value:function(e){var t=this;if(e.status!==a.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=a.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return t.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout((function(){return t._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var e=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return e.emit("thumbnail",t,n),e._processingThumbnail=!1,e._processThumbnailQueue()}))}}},{key:"removeFile",value:function(e){if(e.status===a.UPLOADING&&this.cancelUpload(e),this.files=s(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(e){null==e&&(e=!1);var t=this.files.slice(),n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;(o.status!==a.UPLOADING||e)&&this.removeFile(o)}return null}},{key:"resizeImage",value:function(e,t,n,r,i){var o=this;return this.createThumbnail(e,t,n,r,!0,(function(t,n){if(null==n)return i(e);var r=o.options.resizeMimeType;null==r&&(r=e.type);var s=n.toDataURL(r,o.options.resizeQuality);return"image/jpeg"!==r&&"image/jpg"!==r||(s=d.restore(e.dataURL,s)),i(a.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(e,t,n,r,i,o){var a=this,s=new FileReader;return s.onload=function(){if(e.dataURL=s.result,"image/svg+xml"!==e.type)return a.createThumbnailFromUrl(e,t,n,r,i,o);null!=o&&o(s.result)},s.readAsDataURL(e)}},{key:"createThumbnailFromUrl",value:function(e,t,n,r,i,o,a){var s=this,l=document.createElement("img");return a&&(l.crossOrigin=a),l.onload=function(){var a=function(e){return e(1)};return"undefined"!==typeof EXIF&&null!==EXIF&&i&&(a=function(e){return EXIF.getData(l,(function(){return e(EXIF.getTag(this,"Orientation"))}))}),a((function(i){e.width=l.width,e.height=l.height;var a=s.options.resize.call(s,e,t,n,r),u=document.createElement("canvas"),d=u.getContext("2d");switch(u.width=a.trgWidth,u.height=a.trgHeight,i>4&&(u.width=a.trgHeight,u.height=a.trgWidth),i){case 2:d.translate(u.width,0),d.scale(-1,1);break;case 3:d.translate(u.width,u.height),d.rotate(Math.PI);break;case 4:d.translate(0,u.height),d.scale(1,-1);break;case 5:d.rotate(.5*Math.PI),d.scale(1,-1);break;case 6:d.rotate(.5*Math.PI),d.translate(0,-u.width);break;case 7:d.rotate(.5*Math.PI),d.translate(u.height,-u.width),d.scale(-1,1);break;case 8:d.rotate(-.5*Math.PI),d.translate(-u.height,0);break}c(d,l,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var h=u.toDataURL("image/png");if(null!=o)return o(h,u)}))},null!=o&&(l.onerror=o),l.src=e.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,n=t;if(!(t>=e)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,e-t));while(n<e){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(e){return this.processFiles([e])}},{key:"processFiles",value:function(e){var t=e,n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;o.processing=!0,o.status=a.UPLOADING,this.emit("processing",o)}return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function(e){return this.files.filter((function(t){return t.xhr===e})).map((function(e){return e}))}},{key:"cancelUpload",value:function(e){if(e.status===a.UPLOADING){var t=this._getFilesWithXhr(e.xhr),n=t,r=!0,i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;s.status=a.CANCELED}"undefined"!==typeof e.xhr&&e.xhr.abort();var l=t,u=!0,c=0;for(l=u?l:l[Symbol.iterator]();;){var d;if(u){if(c>=l.length)break;d=l[c++]}else{if(c=l.next(),c.done)break;d=c.value}var h=d;this.emit("canceled",h)}this.options.uploadMultiple&&this.emit("canceledmultiple",t)}else e.status!==a.ADDED&&e.status!==a.QUEUED||(e.status=a.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(e){if("function"===typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(this,n)}return e}},{key:"uploadFile",value:function(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function(e){var t=this;this._transformFiles(e,(function(n){if(e[0].upload.chunked){var r=e[0],i=n[0];r.upload.chunks=[];var o=function(){var n=0;while(void 0!==r.upload.chunks[n])n++;if(!(n>=r.upload.totalChunkCount)){0;var o=n*t.options.chunkSize,s=Math.min(o+t.options.chunkSize,r.size),l={name:t._getParamName(0),data:i.webkitSlice?i.webkitSlice(o,s):i.slice(o,s),filename:r.upload.filename,chunkIndex:n};r.upload.chunks[n]={file:r,index:n,dataBlock:l,status:a.UPLOADING,progress:0,retries:0},t._uploadData(e,[l])}};if(r.upload.finishedChunkUpload=function(n){var i=!0;n.status=a.SUCCESS,n.dataBlock=null,n.xhr=null;for(var s=0;s<r.upload.totalChunkCount;s++){if(void 0===r.upload.chunks[s])return o();r.upload.chunks[s].status!==a.SUCCESS&&(i=!1)}i&&t.options.chunksUploaded(r,(function(){t._finished(e,"",null)}))},t.options.parallelChunkUploads)for(var s=0;s<r.upload.totalChunkCount;s++)o();else o()}else{for(var l=[],u=0;u<e.length;u++)l[u]={name:t._getParamName(u),data:n[u],filename:e[u].upload.filename};t._uploadData(e,l)}}))}},{key:"_getChunk",value:function(e,t){for(var n=0;n<e.upload.totalChunkCount;n++)if(void 0!==e.upload.chunks[n]&&e.upload.chunks[n].xhr===t)return e.upload.chunks[n]}},{key:"_uploadData",value:function(e,t){var n=this,r=new XMLHttpRequest,i=e,o=!0,s=0;for(i=o?i:i[Symbol.iterator]();;){var l;if(o){if(s>=i.length)break;l=i[s++]}else{if(s=i.next(),s.done)break;l=s.value}var u=l;u.xhr=r}e[0].upload.chunked&&(e[0].upload.chunks[t[0].chunkIndex].xhr=r);var c=this.resolveOption(this.options.method,e),d=this.resolveOption(this.options.url,e);r.open(c,d,!0),r.timeout=this.resolveOption(this.options.timeout,e),r.withCredentials=!!this.options.withCredentials,r.onload=function(t){n._finishedUploading(e,r,t)},r.onerror=function(){n._handleUploadError(e,r)};var h=null!=r.upload?r.upload:r;h.onprogress=function(t){return n._updateFilesUploadProgress(e,r,t)};var f={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var p in this.options.headers&&a.extend(f,this.options.headers),f){var m=f[p];m&&r.setRequestHeader(p,m)}var g=new FormData;if(this.options.params){var v=this.options.params;for(var y in"function"===typeof v&&(v=v.call(this,e,r,e[0].upload.chunked?this._getChunk(e[0],r):null)),v){var b=v[y];g.append(y,b)}}var _=e,w=!0,x=0;for(_=w?_:_[Symbol.iterator]();;){var k;if(w){if(x>=_.length)break;k=_[x++]}else{if(x=_.next(),x.done)break;k=x.value}var M=k;this.emit("sending",M,r,g)}this.options.uploadMultiple&&this.emit("sendingmultiple",e,r,g),this._addFormElementData(g);for(var S=0;S<t.length;S++){var C=t[S];g.append(C.name,C.data,C.filename)}this.submitRequest(r,g,e)}},{key:"_transformFiles",value:function(e,t){for(var n=this,r=[],i=0,o=function(o){n.options.transformFile.call(n,e[o],(function(n){r[o]=n,++i===e.length&&t(r)}))},a=0;a<e.length;a++)o(a)}},{key:"_addFormElementData",value:function(e){if("FORM"===this.element.tagName){var t=this.element.querySelectorAll("input, textarea, select, button"),n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=o.getAttribute("name"),s=o.getAttribute("type");if(s&&(s=s.toLowerCase()),"undefined"!==typeof a&&null!==a)if("SELECT"===o.tagName&&o.hasAttribute("multiple")){var l=o.options,u=!0,c=0;for(l=u?l:l[Symbol.iterator]();;){var d;if(u){if(c>=l.length)break;d=l[c++]}else{if(c=l.next(),c.done)break;d=c.value}var h=d;h.selected&&e.append(a,h.value)}}else(!s||"checkbox"!==s&&"radio"!==s||o.checked)&&e.append(a,o.value)}}}},{key:"_updateFilesUploadProgress",value:function(e,t,n){var r=void 0;if("undefined"!==typeof n){if(r=100*n.loaded/n.total,e[0].upload.chunked){var i=e[0],o=this._getChunk(i,t);o.progress=r,o.total=n.total,o.bytesSent=n.loaded;i.upload.progress=0,i.upload.total=0,i.upload.bytesSent=0;for(var a=0;a<i.upload.totalChunkCount;a++)void 0!==i.upload.chunks[a]&&void 0!==i.upload.chunks[a].progress&&(i.upload.progress+=i.upload.chunks[a].progress,i.upload.total+=i.upload.chunks[a].total,i.upload.bytesSent+=i.upload.chunks[a].bytesSent);i.upload.progress=i.upload.progress/i.upload.totalChunkCount}else{var s=e,l=!0,u=0;for(s=l?s:s[Symbol.iterator]();;){var c;if(l){if(u>=s.length)break;c=s[u++]}else{if(u=s.next(),u.done)break;c=u.value}var d=c;d.upload.progress=r,d.upload.total=n.total,d.upload.bytesSent=n.loaded}}var h=e,f=!0,p=0;for(h=f?h:h[Symbol.iterator]();;){var m;if(f){if(p>=h.length)break;m=h[p++]}else{if(p=h.next(),p.done)break;m=p.value}var g=m;this.emit("uploadprogress",g,g.upload.progress,g.upload.bytesSent)}}else{var v=!0;r=100;var y=e,b=!0,_=0;for(y=b?y:y[Symbol.iterator]();;){var w;if(b){if(_>=y.length)break;w=y[_++]}else{if(_=y.next(),_.done)break;w=_.value}var x=w;100===x.upload.progress&&x.upload.bytesSent===x.upload.total||(v=!1),x.upload.progress=r,x.upload.bytesSent=x.upload.total}if(v)return;var k=e,M=!0,S=0;for(k=M?k:k[Symbol.iterator]();;){var C;if(M){if(S>=k.length)break;C=k[S++]}else{if(S=k.next(),S.done)break;C=S.value}var T=C;this.emit("uploadprogress",T,r,T.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(e,t,n){var r=void 0;if(e[0].status!==a.CANCELED&&4===t.readyState){if("arraybuffer"!==t.responseType&&"blob"!==t.responseType&&(r=t.responseText,t.getResponseHeader("content-type")&&~t.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(i){n=i,r="Invalid JSON response from server."}this._updateFilesUploadProgress(e),200<=t.status&&t.status<300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],t)):this._finished(e,r,n):this._handleUploadError(e,t,r)}}},{key:"_handleUploadError",value:function(e,t,n){if(e[0].status!==a.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var r=this._getChunk(e[0],t);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(e,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}var i=e,o=!0,s=0;for(i=o?i:i[Symbol.iterator]();;){if(o){if(s>=i.length)break;i[s++]}else{if(s=i.next(),s.done)break;s.value}this._errorProcessing(e,n||this.options.dictResponseError.replace("{{statusCode}}",t.status),t)}}}},{key:"submitRequest",value:function(e,t,n){e.send(t)}},{key:"_finished",value:function(e,t,n){var r=e,i=!0,o=0;for(r=i?r:r[Symbol.iterator]();;){var s;if(i){if(o>=r.length)break;s=r[o++]}else{if(o=r.next(),o.done)break;s=o.value}var l=s;l.status=a.SUCCESS,this.emit("success",l,t,n),this.emit("complete",l)}if(this.options.uploadMultiple&&(this.emit("successmultiple",e,t,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(e,t,n){var r=e,i=!0,o=0;for(r=i?r:r[Symbol.iterator]();;){var s;if(i){if(o>=r.length)break;s=r[o++]}else{if(o=r.next(),o.done)break;s=o.value}var l=s;l.status=a.ERROR,this.emit("error",l,t,n),this.emit("complete",l)}if(this.options.uploadMultiple&&(this.emit("errormultiple",e,t,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)}))}}]),a}(o);a.initClass(),a.version="5.5.1",a.options={},a.optionsForElement=function(e){return e.getAttribute("id")?a.options[l(e.getAttribute("id"))]:void 0},a.instances=[],a.forElement=function(e){if("string"===typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},a.autoDiscover=!0,a.discover=function(){var e=void 0;if(document.querySelectorAll)e=document.querySelectorAll(".dropzone");else{e=[];var t=function(t){return function(){var n=[],r=t,i=!0,o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;/(^| )dropzone($| )/.test(s.className)?n.push(e.push(s)):n.push(void 0)}return n}()};t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return function(){var t=[],n=e,r=!0,i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;!1!==a.optionsForElement(s)?t.push(new a(s)):t.push(void 0)}return t}()},a.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],a.isBrowserSupported=function(){var e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){var t=a.blacklistedBrowsers,n=!0,r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;o.test(navigator.userAgent)&&(e=!1)}}else e=!1;else e=!1;return e},a.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),i=new Uint8Array(r),o=0,a=t.length,s=0<=a;s?o<=a:o>=a;s?o++:o--)i[o]=t.charCodeAt(o);return new Blob([r],{type:n})};var s=function(e,t){return e.filter((function(e){return e!==t})).map((function(e){return e}))},l=function(e){return e.replace(/[\-_](\w)/g,(function(e){return e.charAt(1).toUpperCase()}))};a.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},a.elementInside=function(e,t){if(e===t)return!0;while(e=e.parentNode)if(e===t)return!0;return!1},a.getElement=function(e,t){var n=void 0;if("string"===typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},a.getElements=function(e,t){var n=void 0,r=void 0;if(e instanceof Array){r=[];try{var i=e,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){if(o){if(a>=i.length)break;n=i[a++]}else{if(a=i.next(),a.done)break;n=a.value}r.push(this.getElement(n,t))}}catch(c){r=null}}else if("string"===typeof e){r=[];var s=document.querySelectorAll(e),l=!0,u=0;for(s=l?s:s[Symbol.iterator]();;){if(l){if(u>=s.length)break;n=s[u++]}else{if(u=s.next(),u.done)break;n=u.value}r.push(n)}}else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},a.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},a.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");var n=e.type,r=n.replace(/\/.*$/,""),i=t,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;if(l=l.trim(),"."===l.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(l.toLowerCase(),e.name.length-l.length))return!0}else if(/\/\*$/.test(l)){if(r===l.replace(/\/.*$/,""))return!0}else if(n===l)return!0}return!1},"undefined"!==typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each((function(){return new a(this,e)}))}),null!==e?e.exports=a:window.Dropzone=a,a.ADDED="added",a.QUEUED="queued",a.ACCEPTED=a.QUEUED,a.UPLOADING="uploading",a.PROCESSING=a.UPLOADING,a.CANCELED="canceled",a.ERROR="error",a.SUCCESS="success";var u=function(e){e.naturalWidth;var t=e.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=t;var r=n.getContext("2d");r.drawImage(e,0,0);var i=r.getImageData(1,0,1,t),o=i.data,a=0,s=t,l=t;while(l>a){var u=o[4*(l-1)+3];0===u?s=l:a=l,l=s+a>>1}var c=l/t;return 0===c?1:c},c=function(e,t,n,r,i,o,a,s,l,c){var d=u(t);return e.drawImage(t,n,r,i,o,a,s,l,c/d)},d=function(){function e(){i(this,e)}return t(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){var t="",n=void 0,r=void 0,i="",o=void 0,a=void 0,s=void 0,l="",u=0;while(1)if(n=e[u++],r=e[u++],i=e[u++],o=n>>2,a=(3&n)<<4|r>>4,s=(15&r)<<2|i>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),t=t+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),n=r=i="",o=a=s=l="",!(u<e.length))break;return t}},{key:"restore",value:function(e,t){if(!e.match("data:image/jpeg;base64,"))return t;var n=this.decode64(e.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),i=this.exifManipulation(t,r);return"data:image/jpeg;base64,"+this.encode64(i)}},{key:"exifManipulation",value:function(e,t){var n=this.getExifArray(t),r=this.insertExif(e,n),i=new Uint8Array(r);return i}},{key:"getExifArray",value:function(e){var t=void 0,n=0;while(n<e.length){if(t=e[n],255===t[0]&225===t[1])return t;n++}return[]}},{key:"insertExif",value:function(e,t){var n=e.replace("data:image/jpeg;base64,",""),r=this.decode64(n),i=r.indexOf(255,3),o=r.slice(0,i),a=r.slice(i),s=o;return s=s.concat(t),s=s.concat(a),s}},{key:"slice2Segments",value:function(e){var t=0,n=[];while(1){var r;if(255===e[t]&218===e[t+1])break;if(255===e[t]&216===e[t+1])t+=2;else{r=256*e[t+2]+e[t+3];var i=t+r+2,o=e.slice(t,i);n.push(o),t=i}if(t>e.length)break}return n}},{key:"decode64",value:function(e){var t=void 0,n=void 0,r="",i=void 0,o=void 0,a=void 0,s="",l=0,u=[],c=/[^A-Za-z0-9\+\/\=]/g;c.exec(e)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(1)if(i=this.KEY_STR.indexOf(e.charAt(l++)),o=this.KEY_STR.indexOf(e.charAt(l++)),a=this.KEY_STR.indexOf(e.charAt(l++)),s=this.KEY_STR.indexOf(e.charAt(l++)),t=i<<2|o>>4,n=(15&o)<<4|a>>2,r=(3&a)<<6|s,u.push(t),64!==a&&u.push(n),64!==s&&u.push(r),t=n=r="",i=o=a=s="",!(l<e.length))break;return u}}]),e}();d.initClass();var h=function(e,t){var n=!1,r=!0,i=e.document,o=i.documentElement,a=i.addEventListener?"addEventListener":"attachEvent",s=i.addEventListener?"removeEventListener":"detachEvent",l=i.addEventListener?"":"on",u=function r(o){if("readystatechange"!==o.type||"complete"===i.readyState)return("load"===o.type?e:i)[s](l+o.type,r,!1),!n&&(n=!0)?t.call(e,o.type||o):void 0},c=function e(){try{o.doScroll("left")}catch(t){return void setTimeout(e,50)}return u("poll")};if("complete"!==i.readyState){if(i.createEventObject&&o.doScroll){try{r=!e.frameElement}catch(d){}r&&c()}return i[a](l+"DOMContentLoaded",u,!1),i[a](l+"readystatechange",u,!1),e[a](l+"load",u,!1)}};function f(e,t){return"undefined"!==typeof e&&null!==e?t(e):void 0}function p(e,t,n){return"undefined"!==typeof e&&null!==e&&"function"===typeof e[t]?n(e,t):void 0}a._autoDiscoverFunction=function(){if(a.autoDiscover)return a.discover()},h(window,a._autoDiscoverFunction)}).call(this,n("7ebd")(e))},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a29":function(e,t,n){"use strict";(function(e){n.d(t,"p",(function(){return s})),n.d(t,"j",(function(){return u})),n.d(t,"q",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return p})),n.d(t,"i",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"l",(function(){return v})),n.d(t,"n",(function(){return b})),n.d(t,"m",(function(){return _})),n.d(t,"o",(function(){return w})),n.d(t,"k",(function(){return x})),n.d(t,"d",(function(){return k})),n.d(t,"f",(function(){return M})),n.d(t,"g",(function(){return S})),n.d(t,"c",(function(){return C}));var r=n("6d8b"),i=n("41ef"),o=n("22d1"),a=Math.round;function s(e){var t;if(e&&"transparent"!==e){if("string"===typeof e&&e.indexOf("rgba")>-1){var n=Object(i["h"])(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}}var l=1e-4;function u(e){return e<l&&e>-l}function c(e){return a(1e3*e)/1e3}function d(e){return a(1e4*e)/1e4}function h(e){return"matrix("+c(e[0])+","+c(e[1])+","+c(e[2])+","+c(e[3])+","+d(e[4])+","+d(e[5])+")"}var f={left:"start",right:"end",center:"middle",middle:"middle"};function p(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}function m(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function g(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function v(e){return e&&!!e.image}function y(e){return e&&!!e.svgElement}function b(e){return v(e)||y(e)}function _(e){return"linear"===e.type}function w(e){return"radial"===e.type}function x(e){return e&&("linear"===e.type||"radial"===e.type)}function k(e){return"url(#"+e+")"}function M(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function S(e){var t=e.x||0,n=e.y||0,i=(e.rotation||0)*r["a"],o=Object(r["P"])(e.scaleX,1),s=Object(r["P"])(e.scaleY,1),l=e.skewX||0,u=e.skewY||0,c=[];return(t||n)&&c.push("translate("+t+"px,"+n+"px)"),i&&c.push("rotate("+i+")"),1===o&&1===s||c.push("scale("+o+","+s+")"),(l||u)&&c.push("skew("+a(l*r["a"])+"deg, "+a(u*r["a"])+"deg)"),c.join(" ")}var C=function(){return o["a"].hasGlobalWindow&&Object(r["w"])(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:"undefined"!==typeof e?function(t){return e.from(t).toString("base64")}:function(e){return null}}()}).call(this,n("1c35").Buffer)},"7a56":function(e,t,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},"7a77":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"7aac":function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b23":function(e,t,n){var r=n("d8e8"),i=n("4bf8"),o=n("626a"),a=n("9def");e.exports=function(e,t,n,s,l){r(t);var u=i(e),c=o(u),d=a(u.length),h=l?d-1:0,f=l?-1:1;if(n<2)for(;;){if(h in c){s=c[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in c&&(s=t(s,c[h],h,u));return s}},"7b3e":function(e,t,n){"use strict";var r,i=n("a3de");
  371. /**
  372. * Checks if an event is supported in the current execution environment.
  373. *
  374. * NOTE: This will not work correctly for non-generic events such as `change`,
  375. * `reset`, `load`, `error`, and `select`.
  376. *
  377. * Borrows from Modernizr.
  378. *
  379. * @param {string} eventNameSuffix Event name, e.g. "click".
  380. * @param {?boolean} capture Check if the capture phase is supported.
  381. * @return {boolean} True if the event is supported.
  382. * @internal
  383. * @license Modernizr 3.0.0pre (Custom Build) | MIT
  384. */
  385. function o(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},"7bbc":function(e,t,n){var r=n("6821"),i=n("9093").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},"7bbcc":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"),n("5980"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,i=n.WordArray,o=t.algo,a=o.SHA256,s=o.HMAC,l=o.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,r=s.create(n.hasher,e),o=i.create(),a=i.create([1]),l=o.words,u=a.words,c=n.keySize,d=n.iterations;while(l.length<c){var h=r.update(t).finalize(a);r.reset();for(var f=h.words,p=f.length,m=h,g=1;g<d;g++){m=r.finalize(m),r.reset();for(var v=m.words,y=0;y<p;y++)f[y]^=v[y]}o.concat(h),u[0]++}return o.sigBytes=4*c,o}});t.PBKDF2=function(e,t,n){return l.create(n).compute(e,t)}}(),e.PBKDF2}))},"7be6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  386. //! moment.js locale configuration
  387. var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}var o=e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"7c0e":function(e,t,n){"use strict";n("aa77")("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},"7c89":function(e,t,n){var r=n("1395"),i=n("5ca1");n("8378")._=r._=r._||{},i(i.P+i.F,"Function",{part:n("b477")})},"7cc8":function(e,t,n){},"7cd6":function(e,t,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"7cdf":function(e,t,n){var r=n("5ca1");r(r.S,"Number",{isInteger:n("9c12")})},"7cdff":function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return o(i(e),arguments.length<2?void 0:a(arguments[1]))}})},"7e90":function(e,t,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},"7ebd":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"7ec2":function(e,t,n){var r=n("7037")["default"];function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(t){h=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,o=Object.create(i.prototype),a=new I(r||[]);return s(o,"_invoke",{value:L(e,n,a)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var m="suspendedStart",g="suspendedYield",v="executing",y="completed",b={};function _(){}function w(){}function x(){}var k={};h(k,u,(function(){return this}));var M=Object.getPrototypeOf,S=M&&M(M(j([])));S&&S!==o&&a.call(S,u)&&(k=S);var C=x.prototype=_.prototype=Object.create(k);function T(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(i,o,s,l){var u=p(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function L(e,n,r){var i=m;return function(o,a){if(i===v)throw Error("Generator is already running");if(i===y){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=A(s,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===m)throw i=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var u=p(e,n,r);if("normal"===u.type){if(i=r.done?y:g,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=y,r.method="throw",r.arg=u.arg)}}}function A(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var o=p(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function j(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(a.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=x,s(C,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:w,configurable:!0}),w.displayName=h(x,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,h(e,d,"GeneratorFunction")),e.prototype=Object.create(C),e},n.awrap=function(e){return{__await:e}},T(O.prototype),h(O.prototype,c,(function(){return this})),n.AsyncIterator=O,n.async=function(e,t,r,i,o){void 0===o&&(o=Promise);var a=new O(f(e,t,r,i),o);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(C),h(C,d,"Generator"),h(C,u,(function(){return this})),h(C,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=j,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"7ed3":function(e,t,n){},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"7f25":function(e,t,n){var r=n("5ca1"),i=n("d6c6"),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},"7f33":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  388. //! moment.js locale configuration
  389. var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t}))},"7f7f":function(e,t,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},"7ff6":function(e,t,n){"use strict";var r=n("5ca1"),i=n("cb7c"),o=function(e){this._t=i(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n("41a0")(o,"Object",(function(){var e,t=this,n=t._k;do{if(t._i>=n.length)return{value:void 0,done:!0}}while(!((e=n[t._i++])in t._t));return{value:e,done:!1}})),r(r.S,"Reflect",{enumerate:function(e){return new o(e)}})},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n("2d95")(a);e.exports=function(){var e,t,n,u=function(){var r,i;l&&(r=a.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8155:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  390. //! moment.js locale configuration
  391. function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund",i;case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami",i;case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami",i;case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi",i;case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci",i;case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti",i}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"81bf":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB}))},"81e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  392. //! moment.js locale configuration
  393. var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var o="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":o=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta";break}return o=i(e,r)+" "+o,o}function i(e,r){return e<10?r?n[e]:t[e]:e}var o=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},8230:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  394. //! moment.js locale configuration
  395. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return r}))},8261:function(e,t,n){},8378:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8381:function(e,t,n){"use strict";var r=n("cb7c"),i=n("6a99"),o="number";e.exports=function(e){if("string"!==e&&e!==o&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),e!=o)}},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},8436:function(e,t){e.exports=function(){}},8449:function(e,t,n){"use strict";n("386b")("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},8478:function(e,t,n){var r=n("5ca1");r(r.S,"Object",{create:n("2aeb")})},"84aa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  396. //! moment.js locale configuration
  397. var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"84b4":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},"84cd":function(e,t,n){},"84f2":function(e,t){e.exports={}},8580:function(e,t,n){n("ee6d"),e.exports=n("584a").Object.getOwnPropertyDescriptors},"85c4":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n("9523")),o=r(n("448a")),a=r(n("970b")),s=r(n("a870")),l=r(n("050c")),u=n("5557"),c=r(n("b06d")),d=r(n("eb53"));function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){(0,i["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function e(t){if((0,a["default"])(this,e),t){var n=t.getContext("2d"),r=t.clientWidth,i=t.clientHeight,o=[r,i];t.setAttribute("width",r),t.setAttribute("height",i),this.ctx=n,this.area=o,this.animationStatus=!1,this.graphs=[],this.color=s["default"],this.bezierCurve=l["default"],t.addEventListener("mousedown",v.bind(this)),t.addEventListener("mousemove",y.bind(this)),t.addEventListener("mouseup",b.bind(this))}else console.error("CRender Missing parameters!")};function m(e,t){var n=this.graphs;g(n)?(n.forEach((function(e){return e.turnNextAnimationFrame(t)})),this.drawAllGraph(),requestAnimationFrame(m.bind(this,e,t))):e()}function g(e){return e.find((function(e){return!e.animationPause&&e.animationFrameState.length}))}function v(e){var t=this.graphs,n=t.find((function(e){return"hover"===e.status}));n&&(n.status="active")}function y(e){var t=e.offsetX,n=e.offsetY,r=[t,n],i=this.graphs,o=i.find((function(e){return"active"===e.status||"drag"===e.status}));if(o){if(!o.drag)return;return"function"!==typeof o.move?void console.error("No move method is provided, cannot be dragged!"):(o.moveProcessor(e),void(o.status="drag"))}var a=i.find((function(e){return"hover"===e.status})),s=i.filter((function(e){return e.hover&&("function"===typeof e.hoverCheck||e.hoverRect)})),l=s.find((function(e){return e.hoverCheckProcessor(r,e)}));document.body.style.cursor=l?l.style.hoverCursor:"default";var u=!1,c=!1;if(a&&(u="function"===typeof a.mouseOuter),l&&(c="function"===typeof l.mouseEnter),l||a){if(!l&&a)return u&&a.mouseOuter(e,a),void(a.status="static");if(!l||l!==a)return l&&!a?(c&&l.mouseEnter(e,l),void(l.status="hover")):void(l&&a&&l!==a&&(u&&a.mouseOuter(e,a),a.status="static",c&&l.mouseEnter(e,l),l.status="hover"))}}function b(e){var t=this.graphs,n=t.find((function(e){return"active"===e.status})),r=t.find((function(e){return"drag"===e.status}));n&&"function"===typeof n.click&&n.click(e,n),t.forEach((function(e){return e&&(e.status="static")})),n&&(n.status="hover"),r&&(r.status="hover")}t["default"]=p,p.prototype.clearArea=function(){var e,t=this.area;(e=this.ctx).clearRect.apply(e,[0,0].concat((0,o["default"])(t)))},p.prototype.add=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name;if(t){var n=c["default"].get(t);if(n){var r=new d["default"](n,e);if(r.validator(r))return r.render=this,this.graphs.push(r),this.sortGraphsByIndex(),this.drawAllGraph(),r}else console.warn("No corresponding graph configuration found!")}else console.error("add Missing parameters!")},p.prototype.sortGraphsByIndex=function(){var e=this.graphs;e.sort((function(e,t){return e.index>t.index?1:e.index===t.index?0:e.index<t.index?-1:void 0}))},p.prototype.delGraph=function(e){"function"===typeof e.delProcessor&&(e.delProcessor(this),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph())},p.prototype.delAllGraph=function(){var e=this;this.graphs.forEach((function(t){return t.delProcessor(e)})),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph()},p.prototype.drawAllGraph=function(){var e=this;this.clearArea(),this.graphs.filter((function(e){return e&&e.visible})).forEach((function(t){return t.drawProcessor(e,t)}))},p.prototype.launchAnimation=function(){var e=this,t=this.animationStatus;if(!t)return this.animationStatus=!0,new Promise((function(t){m.call(e,(function(){e.animationStatus=!1,t()}),Date.now())}))},p.prototype.clone=function(e){var t=e.style.getStyle(),n=f({},e,{style:t});return delete n.render,n=(0,u.deepClone)(n,!0),this.add(n)}},8615:function(e,t,n){var r=n("5ca1"),i=n("504c")(!1);r(r.S,"Object",{values:function(e){return i(e)}})},8689:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  398. //! moment.js locale configuration
  399. var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r=e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return r}))},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"873c":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.title=u;var i=r(n("278c")),o=n("18ad"),a=n("5557"),s=n("9d85"),l=n("becb");function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];t.title&&(n[0]=(0,l.deepMerge)((0,a.deepClone)(s.titleConfig,!0),t.title)),(0,o.doUpdate)({chart:e,series:n,key:"title",getGraphConfig:c})}function c(e,t){var n=s.titleConfig.animationCurve,r=s.titleConfig.animationFrame,i=s.titleConfig.rLevel,o=d(e,t),a=h(e);return[{name:"text",index:i,visible:e.show,animationCurve:n,animationFrame:r,shape:o,style:a}]}function d(e,t){var n=e.offset,r=e.text,o=t.chart.gridArea,a=o.x,s=o.y,l=o.w,u=(0,i["default"])(n,2),c=u[0],d=u[1];return{content:r,position:[a+l/2+c,s+d]}}function h(e){var t=e.style;return t}},"87b3":function(e,t,n){var r=Date.prototype,i="Invalid Date",o="toString",a=r[o],s=r.getTime;new Date(NaN)+""!=i&&n("2aba")(r,o,(function(){var e=s.call(this);return e===e?a.call(this):i}))},"87f3":function(e,t,n){var r=n("5ca1");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},8840:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  400. //! moment.js locale configuration
  401. var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"887c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.titleConfig=void 0;var r={show:!0,text:"",offset:[0,-20],style:{fill:"#333",fontSize:17,fontWeight:"bold",textAlign:"center",textBaseline:"bottom"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};t.titleConfig=r},8894:function(e,t,n){var r=n("86cc"),i=n("11e9"),o=n("990b"),a=n("6821");e.exports=function(e,t){var n,s=o(a(t)),l=s.length,u=0;while(l>u)r.f(e,n=s[u++],i.f(t,n));return e}},"88ca":function(e,t,n){var r=n("86cc"),i=n("5ca1"),o=n("cb7c"),a=n("6a99");i(i.S+i.F*n("79e5")((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(i){return!1}}})},"896f":function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=n("38fd"),a=r.has,s=r.key,l=function(e,t,n){var r=a(e,t,n);if(r)return!0;var i=o(t);return null!==i&&l(e,i,n)};r.exp({hasMetadata:function(e,t){return l(e,i(t),arguments.length<3?void 0:s(arguments[2]))}})},"898b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  402. //! moment.js locale configuration
  403. var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return o}))},"8a1d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeColor=a;var r=n("9d85"),i=n("5557"),o=n("becb");function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,i.deepClone)(r.colorConfig,!0),a=t.color,s=t.series;if(s||(s=[]),a||(a=[]),t.color=a=(0,o.deepMerge)(n,a),s.length){var l=a.length;s.forEach((function(e,t){e.color||(e.color=a[t%l])}));var u=s.filter((function(e){var t=e.type;return"pie"===t}));u.forEach((function(e){return e.data.forEach((function(e,t){return e.color=a[t%l]}))}));var c=s.filter((function(e){var t=e.type;return"gauge"===t}));c.forEach((function(e){return e.data.forEach((function(e,t){return e.color=a[t%l]}))}));var d=s.filter((function(e){var t=e.type,n=e.independentColor;return"bar"===t&&n}));d.forEach((function(e){e.independentColors||(e.independentColors=a)}))}}},"8a5c":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{umulh:function(e,t){var n=65535,r=+e,i=+t,o=r&n,a=i&n,s=r>>>16,l=i>>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>>16)+((o*l>>>0)+(u&n)>>>16)}})},"8a81":function(e,t,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("9e1e"),a=n("5ca1"),s=n("2aba"),l=n("67ab").KEY,u=n("79e5"),c=n("5537"),d=n("7f20"),h=n("ca5a"),f=n("2b4c"),p=n("37c8"),m=n("3a72"),g=n("d4c0"),v=n("1169"),y=n("cb7c"),b=n("d3f4"),_=n("4bf8"),w=n("6821"),x=n("6a99"),k=n("4630"),M=n("2aeb"),S=n("7bbc"),C=n("11e9"),T=n("2621"),O=n("86cc"),L=n("0d58"),A=C.f,D=O.f,E=S.f,I=r.Symbol,j=r.JSON,P=j&&j.stringify,R="prototype",N=f("_hidden"),B=f("toPrimitive"),Y={}.propertyIsEnumerable,F=c("symbol-registry"),z=c("symbols"),H=c("op-symbols"),V=Object[R],W="function"==typeof I&&!!T.f,U=r.QObject,$=!U||!U[R]||!U[R].findChild,G=o&&u((function(){return 7!=M(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A(V,t);r&&delete V[t],D(e,t,n),r&&e!==V&&D(V,t,r)}:D,q=function(e){var t=z[e]=M(I[R]);return t._k=e,t},X=W&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,n){return e===V&&K(H,t,n),y(e),t=x(t,!0),y(n),i(z,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=M(n,{enumerable:k(0,!1)})):(i(e,N)||D(e,N,k(1,{})),e[N][t]=!0),G(e,t,n)):D(e,t,n)},Z=function(e,t){y(e);var n,r=g(t=w(t)),i=0,o=r.length;while(o>i)K(e,n=r[i++],t[n]);return e},J=function(e,t){return void 0===t?M(e):Z(M(e),t)},Q=function(e){var t=Y.call(this,e=x(e,!0));return!(this===V&&i(z,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,N)&&this[N][e])||t)},ee=function(e,t){if(e=w(e),t=x(t,!0),e!==V||!i(z,t)||i(H,t)){var n=A(e,t);return!n||!i(z,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},te=function(e){var t,n=E(w(e)),r=[],o=0;while(n.length>o)i(z,t=n[o++])||t==N||t==l||r.push(t);return r},ne=function(e){var t,n=e===V,r=E(n?H:w(e)),o=[],a=0;while(r.length>a)!i(z,t=r[a++])||n&&!i(V,t)||o.push(z[t]);return o};W||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(H,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),G(this,e,k(1,n))};return o&&$&&G(V,e,{configurable:!0,set:t}),q(e)},s(I[R],"toString",(function(){return this._k})),C.f=ee,O.f=K,n("9093").f=S.f=te,n("52a7").f=Q,T.f=ne,o&&!n("2d00")&&s(V,"propertyIsEnumerable",Q,!0),p.f=function(e){return q(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:I});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)f(re[ie++]);for(var oe=L(f.store),ae=0;oe.length>ae;)m(oe[ae++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!W,"Object",{create:J,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){T.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(_(e))}}),j&&a(a.S+a.F*(!W||u((function(){var e=I();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,P.apply(j,r)}}),I[R][B]||n("32e9")(I[R],B,I[R].valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},"8aae":function(e,t,n){n("32a6"),e.exports=n("584a").Object.keys},"8b97":function(e,t,n){var r=n("d3f4"),i=n("cb7c"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},"8c4e":function(e,t,n){"use strict";n("01f9")(Number,"Number",(function(e){this._l=+e,this._i=0}),(function(){var e=this._i++,t=!(e<this._l);return{done:t,value:t?void 0:e}}))},"8c4f":function(e,t,n){"use strict";
  404. /*!
  405. * vue-router v3.0.2
  406. * (c) 2018 Evan You
  407. * @license MIT
  408. */function r(e,t){0}function i(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function o(e,t){for(var n in t)e[n]=t[n];return e}var a={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,i=t.parent,a=t.data;a.routerView=!0;var l=i.$createElement,u=n.name,c=i.$route,d=i._routerViewCache||(i._routerViewCache={}),h=0,f=!1;while(i&&i._routerRoot!==i)i.$vnode&&i.$vnode.data.routerView&&h++,i._inactive&&(f=!0),i=i.$parent;if(a.routerViewDepth=h,f)return l(d[u],a,r);var p=c.matched[h];if(!p)return d[u]=null,l();var m=d[u]=p.components[u];a.registerRouteInstance=function(e,t){var n=p.instances[u];(t&&n!==e||!t&&n===e)&&(p.instances[u]=t)},(a.hook||(a.hook={})).prepatch=function(e,t){p.instances[u]=t.componentInstance};var g=a.props=s(c,p.props&&p.props[u]);if(g){g=a.props=o({},g);var v=a.attrs=a.attrs||{};for(var y in g)m.props&&y in m.props||(v[y]=g[y],delete g[y])}return l(m,a,r)}};function s(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}var l=/[!'()*]/g,u=function(e){return"%"+e.charCodeAt(0).toString(16)},c=/%2C/g,d=function(e){return encodeURIComponent(e).replace(l,u).replace(c,",")},h=decodeURIComponent;function f(e,t,n){void 0===t&&(t={});var r,i=n||p;try{r=i(e||"")}catch(a){r={}}for(var o in t)r[o]=t[o];return r}function p(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=h(n.shift()),i=n.length>0?h(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}function m(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return d(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(d(t)):r.push(d(t)+"="+d(e)))})),r.join("&")}return d(t)+"="+d(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var g=/\/?$/;function v(e,t,n,r){var i=r&&r.options.stringifyQuery,o=t.query||{};try{o=y(o)}catch(s){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:w(t,i),matched:e?_(e):[]};return n&&(a.redirectedFrom=w(n,i)),Object.freeze(a)}function y(e){if(Array.isArray(e))return e.map(y);if(e&&"object"===typeof e){var t={};for(var n in e)t[n]=y(e[n]);return t}return e}var b=v(null,{path:"/"});function _(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function w(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var i=e.hash;void 0===i&&(i="");var o=t||m;return(n||"/")+o(r)+i}function x(e,t){return t===b?e===t:!!t&&(e.path&&t.path?e.path.replace(g,"")===t.path.replace(g,"")&&e.hash===t.hash&&k(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&k(e.query,t.query)&&k(e.params,t.params)))}function k(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){var r=e[n],i=t[n];return"object"===typeof r&&"object"===typeof i?k(r,i):String(r)===String(i)}))}function M(e,t){return 0===e.path.replace(g,"/").indexOf(t.path.replace(g,"/"))&&(!t.hash||e.hash===t.hash)&&S(e.query,t.query)}function S(e,t){for(var n in t)if(!(n in e))return!1;return!0}var C,T=[String,Object],O=[String,Array],L={name:"RouterLink",props:{to:{type:T,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:O,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),a=i.location,s=i.route,l=i.href,u={},c=n.options.linkActiveClass,d=n.options.linkExactActiveClass,h=null==c?"router-link-active":c,f=null==d?"router-link-exact-active":d,p=null==this.activeClass?h:this.activeClass,m=null==this.exactActiveClass?f:this.exactActiveClass,g=a.path?v(null,a,null,n):s;u[m]=x(r,g),u[p]=this.exact?u[m]:M(r,g);var y=function(e){A(e)&&(t.replace?n.replace(a):n.push(a))},b={click:A};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=y})):b[this.event]=y;var _={class:u};if("a"===this.tag)_.on=b,_.attrs={href:l};else{var w=D(this.$slots.default);if(w){w.isStatic=!1;var k=w.data=o({},w.data);k.on=b;var S=w.data.attrs=o({},w.data.attrs);S.href=l}else _.on=b}return e(this.tag,_,this.$slots.default)}};function A(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function D(e){if(e)for(var t,n=0;n<e.length;n++){if(t=e[n],"a"===t.tag)return t;if(t.children&&(t=D(t.children)))return t}}function E(e){if(!E.installed||C!==e){E.installed=!0,C=e;var t=function(e){return void 0!==e},n=function(e,n){var r=e.$options._parentVnode;t(r)&&t(r=r.data)&&t(r=r.registerRouteInstance)&&r(e,n)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",a),e.component("RouterLink",L);var r=e.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var I="undefined"!==typeof window;function j(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var i=t.split("/");n&&i[i.length-1]||i.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function P(e){var t="",n="",r=e.indexOf("#");r>=0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}function R(e){return e.replace(/\/\//g,"/")}var N=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},B=re,Y=W,F=U,z=q,H=ne,V=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function W(e,t){var n,r=[],i=0,o=0,a="",s=t&&t.delimiter||"/";while(null!=(n=V.exec(e))){var l=n[0],u=n[1],c=n.index;if(a+=e.slice(o,c),o=c+l.length,u)a+=u[1];else{var d=e[o],h=n[2],f=n[3],p=n[4],m=n[5],g=n[6],v=n[7];a&&(r.push(a),a="");var y=null!=h&&null!=d&&d!==h,b="+"===g||"*"===g,_="?"===g||"*"===g,w=n[2]||s,x=p||m;r.push({name:f||i++,prefix:h||"",delimiter:w,optional:_,repeat:b,partial:y,asterisk:!!v,pattern:x?K(x):v?".*":"[^"+X(w)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&r.push(a),r}function U(e,t){return q(W(e,t))}function $(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function G(e){return encodeURI(e).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function q(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"===typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,r){for(var i="",o=n||{},a=r||{},s=a.pretty?$:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!==typeof u){var c,d=o[u.name];if(null==d){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(N(d)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(c=s(d[h]),!t[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");i+=(0===h?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?G(d):s(d),!t[l].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');i+=u.prefix+c}}else i+=u}return i}}function X(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function K(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function Z(e,t){return e.keys=t,e}function J(e){return e.sensitive?"":"i"}function Q(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Z(e,t)}function ee(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(re(e[i],t,n).source);var o=new RegExp("(?:"+r.join("|")+")",J(n));return Z(o,t)}function te(e,t,n){return ne(W(e,n),t,n)}function ne(e,t,n){N(t)||(n=t||n,t=[]),n=n||{};for(var r=n.strict,i=!1!==n.end,o="",a=0;a<e.length;a++){var s=e[a];if("string"===typeof s)o+=X(s);else{var l=X(s.prefix),u="(?:"+s.pattern+")";t.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=X(n.delimiter||"/"),d=o.slice(-c.length)===c;return r||(o=(d?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=i?"$":r&&d?"":"(?="+c+"|$)",Z(new RegExp("^"+o,J(n)),t)}function re(e,t,n){return N(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?Q(e,t):N(e)?ee(e,t,n):te(e,t,n)}B.parse=Y,B.compile=F,B.tokensToFunction=z,B.tokensToRegExp=H;var ie=Object.create(null);function oe(e,t,n){try{var r=ie[e]||(ie[e]=B.compile(e));return r(t||{},{pretty:!0})}catch(i){return""}}function ae(e,t,n,r){var i=t||[],o=n||Object.create(null),a=r||Object.create(null);e.forEach((function(e){se(i,o,a,e)}));for(var s=0,l=i.length;s<l;s++)"*"===i[s]&&(i.push(i.splice(s,1)[0]),l--,s--);return{pathList:i,pathMap:o,nameMap:a}}function se(e,t,n,r,i,o){var a=r.path,s=r.name;var l=r.pathToRegexpOptions||{},u=ue(a,i,l.strict);"boolean"===typeof r.caseSensitive&&(l.sensitive=r.caseSensitive);var c={path:u,regex:le(u,l),components:r.components||{default:r.component},instances:{},name:s,parent:i,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach((function(r){var i=o?R(o+"/"+r.path):void 0;se(e,t,n,r,c,i)})),void 0!==r.alias){var d=Array.isArray(r.alias)?r.alias:[r.alias];d.forEach((function(o){var a={path:o,children:r.children};se(e,t,n,a,i,c.path||"/")}))}t[c.path]||(e.push(c.path),t[c.path]=c),s&&(n[s]||(n[s]=c))}function le(e,t){var n=B(e,[],t);return n}function ue(e,t,n){return n||(e=e.replace(/\/$/,"")),"/"===e[0]||null==t?e:R(t.path+"/"+e)}function ce(e,t,n,r){var i="string"===typeof e?{path:e}:e;if(i.name||i._normalized)return i;if(!i.path&&i.params&&t){i=o({},i),i._normalized=!0;var a=o(o({},t.params),i.params);if(t.name)i.name=t.name,i.params=a;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;i.path=oe(s,a,"path "+t.path)}else 0;return i}var l=P(i.path||""),u=t&&t.path||"/",c=l.path?j(l.path,u,n||i.append):u,d=f(l.query,i.query,r&&r.options.parseQuery),h=i.hash||l.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:d,hash:h}}function de(e,t){var n=ae(e),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(e){ae(e,r,i,o)}function s(e,n,a){var s=ce(e,n,!1,t),l=s.name;if(l){var u=o[l];if(!u)return c(null,s);var d=u.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!==typeof s.params&&(s.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in s.params)&&d.indexOf(h)>-1&&(s.params[h]=n.params[h]);if(u)return s.path=oe(u.path,s.params,'named route "'+l+'"'),c(u,s,a)}else if(s.path){s.params={};for(var f=0;f<r.length;f++){var p=r[f],m=i[p];if(he(m.regex,s.path,s.params))return c(m,s,a)}}return c(null,s)}function l(e,n){var r=e.redirect,i="function"===typeof r?r(v(e,n,null,t)):r;if("string"===typeof i&&(i={path:i}),!i||"object"!==typeof i)return c(null,n);var a=i,l=a.name,u=a.path,d=n.query,h=n.hash,f=n.params;if(d=a.hasOwnProperty("query")?a.query:d,h=a.hasOwnProperty("hash")?a.hash:h,f=a.hasOwnProperty("params")?a.params:f,l){o[l];return s({_normalized:!0,name:l,query:d,hash:h,params:f},void 0,n)}if(u){var p=fe(u,e),m=oe(p,f,'redirect route with path "'+p+'"');return s({_normalized:!0,path:m,query:d,hash:h},void 0,n)}return c(null,n)}function u(e,t,n){var r=oe(n,t.params,'aliased route with path "'+n+'"'),i=s({_normalized:!0,path:r});if(i){var o=i.matched,a=o[o.length-1];return t.params=i.params,c(a,t)}return c(null,t)}function c(e,n,r){return e&&e.redirect?l(e,r||n):e&&e.matchAs?u(e,n,e.matchAs):v(e,n,r,t)}return{match:s,addRoutes:a}}function he(e,t,n){var r=t.match(e);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var a=e.keys[i-1],s="string"===typeof r[i]?decodeURIComponent(r[i]):r[i];a&&(n[a.name||"pathMatch"]=s)}return!0}function fe(e,t){return j(e,t.parent?t.parent.path:"/",!0)}var pe=Object.create(null);function me(){window.history.replaceState({key:Le()},"",window.location.href.replace(window.location.origin,"")),window.addEventListener("popstate",(function(e){ve(),e.state&&e.state.key&&Ae(e.state.key)}))}function ge(e,t,n,r){if(e.app){var i=e.options.scrollBehavior;i&&e.app.$nextTick((function(){var o=ye(),a=i.call(e,t,n,r?o:null);a&&("function"===typeof a.then?a.then((function(e){Me(e,o)})).catch((function(e){0})):Me(a,o))}))}}function ve(){var e=Le();e&&(pe[e]={x:window.pageXOffset,y:window.pageYOffset})}function ye(){var e=Le();if(e)return pe[e]}function be(e,t){var n=document.documentElement,r=n.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-r.left-t.x,y:i.top-r.top-t.y}}function _e(e){return ke(e.x)||ke(e.y)}function we(e){return{x:ke(e.x)?e.x:window.pageXOffset,y:ke(e.y)?e.y:window.pageYOffset}}function xe(e){return{x:ke(e.x)?e.x:0,y:ke(e.y)?e.y:0}}function ke(e){return"number"===typeof e}function Me(e,t){var n="object"===typeof e;if(n&&"string"===typeof e.selector){var r=document.querySelector(e.selector);if(r){var i=e.offset&&"object"===typeof e.offset?e.offset:{};i=xe(i),t=be(r,i)}else _e(e)&&(t=we(e))}else n&&_e(e)&&(t=we(e));t&&window.scrollTo(t.x,t.y)}var Se=I&&function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),Ce=I&&window.performance&&window.performance.now?window.performance:Date,Te=Oe();function Oe(){return Ce.now().toFixed(3)}function Le(){return Te}function Ae(e){Te=e}function De(e,t){ve();var n=window.history;try{t?n.replaceState({key:Te},"",e):(Te=Oe(),n.pushState({key:Te},"",e))}catch(r){window.location[t?"replace":"assign"](e)}}function Ee(e){De(e,!0)}function Ie(e,t,n){var r=function(i){i>=e.length?n():e[i]?t(e[i],(function(){r(i+1)})):r(i+1)};r(0)}function je(e){return function(t,n,r){var o=!1,a=0,s=null;Pe(e,(function(e,t,n,l){if("function"===typeof e&&void 0===e.cid){o=!0,a++;var u,c=Ye((function(t){Be(t)&&(t=t.default),e.resolved="function"===typeof t?t:C.extend(t),n.components[l]=t,a--,a<=0&&r()})),d=Ye((function(e){var t="Failed to resolve async component "+l+": "+e;s||(s=i(e)?e:new Error(t),r(s))}));try{u=e(c,d)}catch(f){d(f)}if(u)if("function"===typeof u.then)u.then(c,d);else{var h=u.component;h&&"function"===typeof h.then&&h.then(c,d)}}})),o||r()}}function Pe(e,t){return Re(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Re(e){return Array.prototype.concat.apply([],e)}var Ne="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Be(e){return e.__esModule||Ne&&"Module"===e[Symbol.toStringTag]}function Ye(e){var t=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var Fe=function(e,t){this.router=e,this.base=ze(t),this.current=b,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function ze(e){if(!e)if(I){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function He(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n<r;n++)if(e[n]!==t[n])break;return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}function Ve(e,t,n,r){var i=Pe(e,(function(e,r,i,o){var a=We(e,t);if(a)return Array.isArray(a)?a.map((function(e){return n(e,r,i,o)})):n(a,r,i,o)}));return Re(r?i.reverse():i)}function We(e,t){return"function"!==typeof e&&(e=C.extend(e)),e.options[t]}function Ue(e){return Ve(e,"beforeRouteLeave",Ge,!0)}function $e(e){return Ve(e,"beforeRouteUpdate",Ge)}function Ge(e,t){if(t)return function(){return e.apply(t,arguments)}}function qe(e,t,n){return Ve(e,"beforeRouteEnter",(function(e,r,i,o){return Xe(e,i,o,t,n)}))}function Xe(e,t,n,r,i){return function(o,a,s){return e(o,a,(function(e){s(e),"function"===typeof e&&r.push((function(){Ke(e,t.instances,n,i)}))}))}}function Ke(e,t,n,r){t[n]&&!t[n]._isBeingDestroyed?e(t[n]):r()&&setTimeout((function(){Ke(e,t,n,r)}),16)}Fe.prototype.listen=function(e){this.cb=e},Fe.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Fe.prototype.onError=function(e){this.errorCbs.push(e)},Fe.prototype.transitionTo=function(e,t,n){var r=this,i=this.router.match(e,this.current);this.confirmTransition(i,(function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)})))}))},Fe.prototype.confirmTransition=function(e,t,n){var o=this,a=this.current,s=function(e){i(e)&&(o.errorCbs.length?o.errorCbs.forEach((function(t){t(e)})):(r(!1,"uncaught error during route navigation:"),console.error(e))),n&&n(e)};if(x(e,a)&&e.matched.length===a.matched.length)return this.ensureURL(),s();var l=He(this.current.matched,e.matched),u=l.updated,c=l.deactivated,d=l.activated,h=[].concat(Ue(c),this.router.beforeHooks,$e(u),d.map((function(e){return e.beforeEnter})),je(d));this.pending=e;var f=function(t,n){if(o.pending!==e)return s();try{t(e,a,(function(e){!1===e||i(e)?(o.ensureURL(!0),s(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(s(),"object"===typeof e&&e.replace?o.replace(e):o.push(e)):n(e)}))}catch(r){s(r)}};Ie(h,f,(function(){var n=[],r=function(){return o.current===e},i=qe(d,n,r),a=i.concat(o.router.resolveHooks);Ie(a,f,(function(){if(o.pending!==e)return s();o.pending=null,t(e),o.router.app&&o.router.app.$nextTick((function(){n.forEach((function(e){e()}))}))}))}))},Fe.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach((function(n){n&&n(e,t)}))};var Ze=function(e){function t(t,n){var r=this;e.call(this,t,n);var i=t.options.scrollBehavior,o=Se&&i;o&&me();var a=Je(this.base);window.addEventListener("popstate",(function(e){var n=r.current,i=Je(r.base);r.current===b&&i===a||r.transitionTo(i,(function(e){o&&ge(t,e,n,!0)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,i=this,o=i.current;this.transitionTo(e,(function(e){De(R(r.base+e.fullPath)),ge(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,i=this,o=i.current;this.transitionTo(e,(function(e){Ee(R(r.base+e.fullPath)),ge(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(Je(this.base)!==this.current.fullPath){var t=R(this.base+this.current.fullPath);e?De(t):Ee(t)}},t.prototype.getCurrentLocation=function(){return Je(this.base)},t}(Fe);function Je(e){var t=decodeURI(window.location.pathname);return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Qe=function(e){function t(t,n,r){e.call(this,t,n),r&&et(this.base)||tt()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this,t=this.router,n=t.options.scrollBehavior,r=Se&&n;r&&me(),window.addEventListener(Se?"popstate":"hashchange",(function(){var t=e.current;tt()&&e.transitionTo(nt(),(function(n){r&&ge(e.router,n,t,!0),Se||ot(n.fullPath)}))}))},t.prototype.push=function(e,t,n){var r=this,i=this,o=i.current;this.transitionTo(e,(function(e){it(e.fullPath),ge(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,i=this,o=i.current;this.transitionTo(e,(function(e){ot(e.fullPath),ge(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;nt()!==t&&(e?it(t):ot(t))},t.prototype.getCurrentLocation=function(){return nt()},t}(Fe);function et(e){var t=Je(e);if(!/^\/#/.test(t))return window.location.replace(R(e+"/#"+t)),!0}function tt(){var e=nt();return"/"===e.charAt(0)||(ot("/"+e),!1)}function nt(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":decodeURI(e.slice(t+1))}function rt(e){var t=window.location.href,n=t.indexOf("#"),r=n>=0?t.slice(0,n):t;return r+"#"+e}function it(e){Se?De(rt(e)):window.location.hash=e}function ot(e){Se?Ee(rt(e)):window.location.replace(rt(e))}var at=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){t.index=n,t.updateRoute(r)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Fe),st=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=de(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Se&&!1!==e.fallback,this.fallback&&(t="hash"),I||(t="abstract"),this.mode=t,t){case"history":this.history=new Ze(this,e.base);break;case"hash":this.history=new Qe(this,e.base,this.fallback);break;case"abstract":this.history=new at(this,e.base);break;default:0}},lt={currentRoute:{configurable:!0}};function ut(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function ct(e,t,n){var r="hash"===n?"#"+t:t;return e?R(e+"/"+r):r}st.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},lt.currentRoute.get=function(){return this.history&&this.history.current},st.prototype.init=function(e){var t=this;if(this.apps.push(e),!this.app){this.app=e;var n=this.history;if(n instanceof Ze)n.transitionTo(n.getCurrentLocation());else if(n instanceof Qe){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},st.prototype.beforeEach=function(e){return ut(this.beforeHooks,e)},st.prototype.beforeResolve=function(e){return ut(this.resolveHooks,e)},st.prototype.afterEach=function(e){return ut(this.afterHooks,e)},st.prototype.onReady=function(e,t){this.history.onReady(e,t)},st.prototype.onError=function(e){this.history.onError(e)},st.prototype.push=function(e,t,n){this.history.push(e,t,n)},st.prototype.replace=function(e,t,n){this.history.replace(e,t,n)},st.prototype.go=function(e){this.history.go(e)},st.prototype.back=function(){this.go(-1)},st.prototype.forward=function(){this.go(1)},st.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},st.prototype.resolve=function(e,t,n){var r=ce(e,t||this.history.current,n,this),i=this.match(r,t),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=ct(a,o,this.mode);return{location:r,route:i,href:s,normalizedTo:r,resolved:i}},st.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==b&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(st.prototype,lt),st.install=E,st.version="3.0.2",I&&window.Vue&&window.Vue.use(st),t["a"]=st},"8cef":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971}))},"8d47":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  409. //! moment.js locale configuration
  410. function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var r=this._calendarEl[e],i=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n}))},"8d57":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  411. //! moment.js locale configuration
  412. var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(i(e)?"godziny":"godzin");case"ww":return r+(i(e)?"tygodnie":"tygodni");case"MM":return r+(i(e)?"miesiące":"miesięcy");case"yy":return r+(i(e)?"lata":"lat")}}var a=e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"8df4":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  413. //! moment.js locale configuration
  414. var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r}))},"8df4b":function(e,t,n){"use strict";var r=n("7a77");function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},"8e60":function(e,t,n){e.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(e,t,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),a=n("11e9"),s=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,r=o(e),l=a.f,u=i(r),c={},d=0;while(u.length>d)n=l(r,t=u[d++]),void 0!==n&&s(c,t,n);return c}})},"8e73":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  415. //! moment.js locale configuration
  416. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,a){var s=r(t),l=i[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},"8ea5":function(e,t,n){var r=n("5ca1"),i=n("8ed0");r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},"8eb7":function(e,t){var n,r,i,o,a,s,l,u,c,d,h,f,p,m,g,v=!1;function y(){if(!v){v=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),h=!!/Win64/.exec(e),t){n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:n,r=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,o=t[4]?parseFloat(t[4]):NaN,o?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else n=r=i=a=o=NaN;if(y){if(y[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!_||parseFloat(_[1].replace("_","."))}else l=!1;u=!!y[2],c=!!y[3]}else l=u=c=!1}}var b={ie:function(){return y()||n},ieCompatibilityMode:function(){return y()||s>n},ie64:function(){return b.ie()&&h},firefox:function(){return y()||r},opera:function(){return y()||i},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||a},windows:function(){return y()||u},osx:function(){return y()||l},linux:function(){return y()||c},iphone:function(){return y()||f},mobile:function(){return y()||f||p||d||g},nativeApp:function(){return y()||m},android:function(){return y()||d},ipad:function(){return y()||p}};e.exports=b},"8ed0":function(e,t,n){"use strict";var r=n("79e5"),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},"8f47":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.transition=l,t.injectNewCurve=w,t["default"]=void 0;var i=r(n("278c")),o=r(n("7037")),a=r(n("df83")),s="linear";function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!u.apply(void 0,arguments))return!1;try{var o=c(e),a=d(o,r);return i&&"number"!==typeof n?_(t,n,a):g(t,n,a)}catch(s){return console.warn("Transition parameter may be abnormal!"),[n]}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;if(!e||!1===t||!1===n||!r)return console.error("transition: Missing Parameters!"),!1;if((0,o["default"])(t)!==(0,o["default"])(n))return console.error("transition: Inconsistent Status Types!"),!1;var i=(0,o["default"])(n);return"string"!==i&&"boolean"!==i&&e.length?(a["default"].has(e)||e instanceof Array||console.warn("transition: Transition curve not found, default curve will be used!"),!0):(console.error("transition: Unsupported Data Type of State!"),!1)}function c(e){var t="";return t=a["default"].has(e)?a["default"].get(e):e instanceof Array?e:a["default"].get(s),t}function d(e,t){var n=1/(t-1),r=new Array(t).fill(0).map((function(e,t){return t*n})),i=r.map((function(t){return h(e,t)}));return i}function h(e,t){var n=f(e,t),r=p(n,t);return m(n,r)}function f(e,t){var n=e.length-1,r="",i="";e.findIndex((function(o,a){if(a!==n){r=o,i=e[a+1];var s=r[0][0],l=i[0][0];return t>=s&&t<l}}));var o=r[0],a=r[2]||r[0],s=i[1]||i[0],l=i[0];return[o,a,s,l]}function p(e,t){var n=e[0][0],r=e[3][0],i=r-n,o=t-n;return o/i}function m(e,t){var n=(0,i["default"])(e,4),r=(0,i["default"])(n[0],2),o=r[1],a=(0,i["default"])(n[1],2),s=a[1],l=(0,i["default"])(n[2],2),u=l[1],c=(0,i["default"])(n[3],2),d=c[1],h=Math.pow,f=1-t,p=o*h(f,3),m=3*s*t*h(f,2),g=3*u*h(t,2)*f,v=d*h(t,3);return 1-(p+m+g+v)}function g(e,t,n){var r="object";return"number"===typeof e&&(r="number"),e instanceof Array&&(r="array"),"number"===r?v(e,t,n):"array"===r?y(e,t,n):"object"===r?b(e,t,n):n.map((function(e){return t}))}function v(e,t,n){var r=t-e;return n.map((function(t){return e+r*t}))}function y(e,t,n){var r=t.map((function(t,n){return"number"===typeof t&&t-e[n]}));return n.map((function(n){return r.map((function(r,i){return!1===r?t[i]:e[i]+r*n}))}))}function b(e,t,n){var r=Object.keys(t),i=r.map((function(t){return e[t]})),o=r.map((function(e){return t[e]})),a=y(i,o,n);return a.map((function(e){var t={};return e.forEach((function(e,n){return t[r[n]]=e})),t}))}function _(e,t,n){var r=g(e,t,n),i=function(i){var a=e[i],s=t[i];if("object"!==(0,o["default"])(s))return"continue";var l=_(a,s,n);r.forEach((function(e,t){return e[i]=l[t]}))};for(var a in t)i(a);return r}function w(e,t){e&&t?a["default"].set(e,t):console.error("InjectNewCurve Missing Parameters!")}var x=l;t["default"]=x},"8f60":function(e,t,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},9003:function(e,t,n){var r=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==r(e)}},9043:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  417. //! moment.js locale configuration
  418. var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return r}))},9091:function(e,t,n){var r=n("7726"),i=n("8378"),o=n("5ca1"),a=n("b477");o(o.G+o.F,{delay:function(e){return new(i.Promise||r.Promise)((function(t){setTimeout(a.call(t,!0),e)}))}})},9093:function(e,t,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"90ea":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  419. //! moment.js locale configuration
  420. var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},9138:function(e,t,n){e.exports=n("35e8")},"913b":function(e,t){(function(t){e.exports=t}).call(this,{})},9152:function(e,t){
  421. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  422. t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+f]=255&a,f+=p,a/=256,u-=8);e[n+f-p]|=128*m}},"91ca":function(e,t,n){var r=n("96fb"),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),l=i(2,-126),u=function(e){return e+1/o-1/o};e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),c=r(e);return i<l?c*u(i/l/a)*l*a:(t=(1+a/o)*i,n=t-(t-i),n>s||n!=n?c*(1/0):c*n)}},"91dd":function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!==typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;o&&"number"===typeof o.maxKeys&&(l=o.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var d,h,f,p,m=e[c].replace(s,"%20"),g=m.indexOf(n);g>=0?(d=m.substr(0,g),h=m.substr(g+1)):(d=m,h=""),f=decodeURIComponent(d),p=decodeURIComponent(h),r(a,f)?i(a[f])?a[f].push(p):a[f]=[a[f],p]:a[f]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},9253:function(e,t,n){var r=n("86cc"),i=n("11e9"),o=n("38fd"),a=n("69a8"),s=n("5ca1"),l=n("4630"),u=n("cb7c"),c=n("d3f4");function d(e,t,n){var s,h,f=arguments.length<4?e:arguments[3],p=i.f(u(e),t);if(!p){if(c(h=o(e)))return d(h,t,n,f);p=l(0)}if(a(p,"value")){if(!1===p.writable||!c(f))return!1;if(s=i.f(f,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,r.f(f,t,s)}else r.f(f,t,l(0,n));return!0}return void 0!==p.set&&(p.set.call(f,n),!0)}s(s.S,"Reflect",{set:d})},9275:function(e,t,n){var r=n("5ca1"),i=n("8b97");i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(n){return!1}}})},9278:function(e,t,n){var r=n("5ca1");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"92fa":function(e,t){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var i,o,a,s,l;for(a in t)if(i=e[a],o=t[a],i&&n.test(a))if("class"===a&&("string"===typeof i&&(l=i,e[a]=i={},i[l]=!0),"string"===typeof o&&(l=o,t[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=r(i[s],o[s]);else if(Array.isArray(i))e[a]=i.concat(o);else if(Array.isArray(o))e[a]=[i].concat(o);else for(s in o)i[s]=o[s];else e[a]=t[a];return e}),{})}},9306:function(e,t,n){"use strict";var r=n("8e60"),i=n("c3a1"),o=n("9aa9"),a=n("355d"),s=n("241e"),l=n("335c"),u=Object.assign;e.exports=!u||n("294c")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){var n=s(e),u=arguments.length,c=1,d=o.f,h=a.f;while(u>c){var f,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;while(g>v)f=m[v++],r&&!h.call(p,f)||(n[f]=p[f])}return n}:u},"93bf":function(e,t,n){
  423. /*!
  424. * screenfull
  425. * v4.2.0 - 2019-04-01
  426. * (c) Sindre Sorhus; MIT License
  427. */
  428. (function(){"use strict";var t="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=e.exports,r="undefined"!==typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,i=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if(e=n[r],e&&e[1]in t){for(r=0;r<e.length;r++)o[n[0][r]]=e[r];return o}return!1}(),o={change:i.fullscreenchange,error:i.fullscreenerror},a={request:function(e){return new Promise(function(n){var o=i.requestFullscreen,a=function(){this.off("change",a),n()}.bind(this);e=e||t.documentElement,/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?e[o]():e[o](r?Element.ALLOW_KEYBOARD_INPUT:{}),this.on("change",a)}.bind(this))},exit:function(){return new Promise(function(e){if(this.isFullscreen){var n=function(){this.off("change",n),e()}.bind(this);t[i.exitFullscreen](),this.on("change",n)}else e()}.bind(this))},toggle:function(e){return this.isFullscreen?this.exit():this.request(e)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=o[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=o[e];r&&t.removeEventListener(r,n,!1)},raw:i};i?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[i.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[i.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(t[i.fullscreenEnabled])}}}),n?(e.exports=a,e.exports.default=a):window.screenfull=a):n?e.exports=!1:window.screenfull=!1})()},9427:function(e,t,n){var r=n("63b6");r(r.S,"Object",{create:n("a159")})},"94f8":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=[],l=[];(function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var r=2,i=0;while(i<64)e(r)&&(i<8&&(s[i]=n(t.pow(r,.5))),l[i]=n(t.pow(r,1/3)),i++),r++})();var u=[],c=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],d=n[6],h=n[7],f=0;f<64;f++){if(f<16)u[f]=0|e[t+f];else{var p=u[f-15],m=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=u[f-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[f]=m+u[f-7]+v+u[f-16]}var y=s&c^~s&d,b=r&i^r&o^i&o,_=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),x=h+w+y+l[f]+u[f],k=_+b;h=d,d=c,c=s,s=a+x|0,a=o,o=i,i=r,r=x+k|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=o._createHelper(c),n.HmacSHA256=o._createHmacHelper(c)}(Math),e.SHA256}))},9523:function(e,t,n){var r=n("a395");function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"957c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  429. //! moment.js locale configuration
  430. function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return i}))},"958b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  431. //! moment.js locale configuration
  432. function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var n=e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return n}))},9609:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  433. //! moment.js locale configuration
  434. var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},9619:function(e,t,n){var r=n("597f"),i=n("0e15");e.exports={throttle:r,debounce:i}},9686:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  435. //! moment.js locale configuration
  436. var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return r}))},"96cf":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(I){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),s=new A(r||[]);return i(a,"_invoke",{value:C(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(I){return{type:"throw",arg:I}}}e.wrap=c;var h="suspendedStart",f="suspendedYield",p="executing",m="completed",g={};function v(){}function y(){}function b(){}var _={};u(_,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(D([])));x&&x!==n&&r.call(x,a)&&(_=x);var k=b.prototype=v.prototype=Object.create(_);function M(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"===typeof c&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(c).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;function a(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}i(this,"_invoke",{value:a})}function C(e,t,n){var r=h;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===m){if("throw"===i)throw o;return E()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=d(e,t,n);if("normal"===l.type){if(r=n.done?m:f,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=m,n.method="throw",n.arg=l.arg)}}}function T(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=d(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(e){if(null!=e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){while(++i<e.length)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}function E(){return{value:t,done:!0}}return y.prototype=b,i(k,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},M(S.prototype),u(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new S(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},M(k),u(k,l,"Generator"),u(k,a,(function(){return this})),u(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){while(n.length){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=D,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"96fb":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"970b":function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"972c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  437. //! moment.js locale configuration
  438. function t(e,t,n){var r={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100===0)&&(i=" de "),e+i+r[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n}))},9744:function(e,t,n){"use strict";var r=n("4588"),i=n("be13");e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},9797:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  439. //! moment.js locale configuration
  440. var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}});return t}))},"980a":function(e,t,n){var r=n("5ca1"),i=n("8894");r(r.S+r.F,"Object",{define:i})},9865:function(e,t,n){"use strict";var r=n("5ca1"),i=n("6821"),o=n("4588"),a=n("9def"),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n("2f21")(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=i(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},9886:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CRender",{enumerable:!0,get:function(){return i["default"]}}),Object.defineProperty(t,"extendNewGraph",{enumerable:!0,get:function(){return o.extendNewGraph}}),t["default"]=void 0;var i=r(n("85c4")),o=n("b06d"),a=i["default"];t["default"]=a},"988d":function(e,t,n){"use strict";var r=n("5ca1"),i=n("be13"),o=n("9def"),a=n("aae3"),s=n("0bfb"),l=RegExp.prototype,u=function(e,t){this._r=e,this._s=t};n("41a0")(u,"RegExp String",(function(){var e=this._r.exec(this._s);return{value:e,done:null===e}})),r(r.P,"String",{matchAll:function(e){if(i(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in l?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(e.lastIndex),new u(r,t)}})},"990b":function(e,t,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),a=n("7726").Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},9964:function(e,t,n){var r=n("cb7c"),i=n("27ee");e.exports=n("8378").getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},9986:function(e,t,n){var r=n("6821"),i=n("11e9").f;n("5eda")("getOwnPropertyDescriptor",(function(){return function(e,t){return i(r(e),t)}}))},"99c5":function(e,t,n){n("c6a1")("Set")},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9ab4":function(e,t,n){},"9aea":function(e,t,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("preventExtensions",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},"9b06":function(e,t,n){},"9b42":function(e,t){function n(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw i}}return s}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9c00":function(e,t,n){var r=n("5ca1");r(r.S,"Math",{iaddh:function(e,t,n,r){var i=e>>>0,o=t>>>0,a=n>>>0;return o+(r>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}})},"9c12":function(e,t,n){var r=n("d3f4"),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},"9c29":function(e,t,n){n("ec30")("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9c86":function(e,t,n){"use strict";n("386b")("big",(function(e){return function(){return e(this,"big","","")}}))},"9d85":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.changeDefaultConfig=g,Object.defineProperty(t,"colorConfig",{enumerable:!0,get:function(){return r.colorConfig}}),Object.defineProperty(t,"gridConfig",{enumerable:!0,get:function(){return i.gridConfig}}),Object.defineProperty(t,"xAxisConfig",{enumerable:!0,get:function(){return o.xAxisConfig}}),Object.defineProperty(t,"yAxisConfig",{enumerable:!0,get:function(){return o.yAxisConfig}}),Object.defineProperty(t,"titleConfig",{enumerable:!0,get:function(){return a.titleConfig}}),Object.defineProperty(t,"lineConfig",{enumerable:!0,get:function(){return s.lineConfig}}),Object.defineProperty(t,"barConfig",{enumerable:!0,get:function(){return l.barConfig}}),Object.defineProperty(t,"pieConfig",{enumerable:!0,get:function(){return u.pieConfig}}),Object.defineProperty(t,"radarAxisConfig",{enumerable:!0,get:function(){return c.radarAxisConfig}}),Object.defineProperty(t,"radarConfig",{enumerable:!0,get:function(){return d.radarConfig}}),Object.defineProperty(t,"gaugeConfig",{enumerable:!0,get:function(){return h.gaugeConfig}}),Object.defineProperty(t,"legendConfig",{enumerable:!0,get:function(){return f.legendConfig}}),t.keys=void 0;var r=n("f3cb"),i=n("49bc"),o=n("c930"),a=n("887c"),s=n("6eb9"),l=n("f111"),u=n("222a"),c=n("0cd4"),d=n("3938"),h=n("cc6d"),f=n("60f1"),p=n("becb"),m={colorConfig:r.colorConfig,gridConfig:i.gridConfig,xAxisConfig:o.xAxisConfig,yAxisConfig:o.yAxisConfig,titleConfig:a.titleConfig,lineConfig:s.lineConfig,barConfig:l.barConfig,pieConfig:u.pieConfig,radarAxisConfig:c.radarAxisConfig,radarConfig:d.radarConfig,gaugeConfig:h.gaugeConfig,legendConfig:f.legendConfig};function g(e,t){m["".concat(e,"Config")]?(0,p.deepMerge)(m["".concat(e,"Config")],t):console.warn("Change default config Error - Invalid key!")}var v=["color","title","legend","xAxis","yAxis","grid","radarAxis","line","bar","pie","radar","gauge"];t.keys=v},"9d98":function(e,t,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperties:n("7e90")})},"9def":function(e,t,n){var r=n("4588"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9ec8":function(e,t,n){"use strict";n("386b")("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},"9f26":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  441. //! moment.js locale configuration
  442. var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return o}))},"9f3c":function(e,t,n){var r=n("5ca1"),i=n("2d5c");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},a032:function(e,t,n){"use strict";var r=n("5ca1"),i=n("02f4")(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},a0f0:function(e,t,n){},a11b:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.Iso10126={pad:function(t,n){var r=4*n,i=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126}))},a143:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxis=f;var i=r(n("278c")),o=r(n("9523")),a=r(n("448a")),s=n("18ad"),l=n("9d85"),u=n("5557"),c=n("becb");function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,o["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.radar,r=[];n&&(r=p(n),r=m(r,e),r=g(r,e),r=v(r),r=y(r),r=b(r),r=[r]);var i=r;r.length&&!r[0].show&&(i=[]),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisSplitArea",getGraphConfig:_,beforeUpdate:k,beforeChange:M}),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisSplitLine",getGraphConfig:S,beforeUpdate:O,beforeChange:L}),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisLine",getGraphConfig:A}),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisLable",getGraphConfig:I}),e.radarAxis=r[0]}function p(e){return(0,c.deepMerge)((0,u.deepClone)(l.radarAxisConfig),e)}function m(e,t){var n=t.render.area,r=e.center;return e.centerPos=r.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*n[t]})),e}function g(e,t){var n=t.render.area,r=e.splitNum,i=e.radius,o=Math.min.apply(Math,(0,a["default"])(n))/2;"number"!==typeof i&&(i=parseInt(i)/100*o);var s=i/r;return e.ringRadius=new Array(r).fill(0).map((function(e,t){return s*(t+1)})),e.radius=i,e}function v(e){var t=e.indicator,n=e.centerPos,r=e.radius,i=e.startAngle,o=2*Math.PI,s=t.length,l=o/s,c=new Array(s).fill(0).map((function(e,t){return l*t+i}));return e.axisLineAngles=c,e.axisLinePosition=c.map((function(e){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(n).concat([r,e]))})),e}function y(e){var t=e.ringRadius,n=t[0]/2;return e.areaRadius=t.map((function(e){return e-n})),e}function b(e){var t=e.axisLineAngles,n=e.centerPos,r=e.radius,i=e.axisLabel;return r+=i.labelGap,e.axisLabelPosition=t.map((function(e){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(n).concat([r,e]))})),e}function _(e){var t=e.areaRadius,n=e.polygon,r=e.animationCurve,i=e.animationFrame,o=e.rLevel,a=n?"regPolygon":"ring";return t.map((function(t,n){return{name:a,index:o,visible:e.splitArea.show,animationCurve:r,animationFrame:i,shape:w(e,n),style:x(e,n)}}))}function w(e,t){var n=e.polygon,r=e.areaRadius,i=e.indicator,o=e.centerPos,a=i.length,s={rx:o[0],ry:o[1],r:r[t]};return n&&(s.side=a),s}function x(e,t){var n=e.splitArea,r=e.ringRadius,i=e.axisLineAngles,o=e.polygon,s=e.centerPos,l=n.color,d=n.style;d=h({fill:"rgba(0, 0, 0, 0)"},d);var f=r[0]-0;if(o){var p=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([r[0],i[0]])),m=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([r[0],i[1]]));f=(0,c.getPointToLineDistance)(s,p,m)}if(d=(0,c.deepMerge)((0,u.deepClone)(d,!0),{lineWidth:f}),!l.length)return d;var g=l.length;return(0,c.deepMerge)(d,{stroke:l[t%g]})}function k(e,t,n,r){var i=e[n];if(i){var o=r.chart.render,a=t.polygon,s=i[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(i.forEach((function(e){return o.delGraph(e)})),e[n]=null)}}function M(e,t){var n=t.shape.side;"number"===typeof n&&(e.shape.side=n)}function S(e){var t=e.ringRadius,n=e.polygon,r=e.animationCurve,i=e.animationFrame,o=e.rLevel,a=n?"regPolygon":"ring";return t.map((function(t,n){return{name:a,index:o,animationCurve:r,animationFrame:i,visible:e.splitLine.show,shape:C(e,n),style:T(e,n)}}))}function C(e,t){var n=e.ringRadius,r=e.centerPos,i=e.indicator,o=e.polygon,a={rx:r[0],ry:r[1],r:n[t]},s=i.length;return o&&(a.side=s),a}function T(e,t){var n=e.splitLine,r=n.color,i=n.style;if(i=h({fill:"rgba(0, 0, 0, 0)"},i),!r.length)return i;var o=r.length;return(0,c.deepMerge)(i,{stroke:r[t%o]})}function O(e,t,n,r){var i=e[n];if(i){var o=r.chart.render,a=t.polygon,s=i[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(i.forEach((function(e){return o.delGraph(e)})),e[n]=null)}}function L(e,t){var n=t.shape.side;"number"===typeof n&&(e.shape.side=n)}function A(e){var t=e.axisLinePosition,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"polyline",index:i,visible:e.axisLine.show,animationCurve:n,animationFrame:r,shape:D(e,o),style:E(e,o)}}))}function D(e,t){var n=e.centerPos,r=e.axisLinePosition,i=[n,r[t]];return{points:i}}function E(e,t){var n=e.axisLine,r=n.color,i=n.style;if(!r.length)return i;var o=r.length;return(0,c.deepMerge)(i,{stroke:r[t%o]})}function I(e){var t=e.axisLabelPosition,n=e.animationCurve,r=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"text",index:i,visible:e.axisLabel.show,animationCurve:n,animationFrame:r,shape:j(e,o),style:P(e,o)}}))}function j(e,t){var n=e.axisLabelPosition,r=e.indicator;return{content:r[t].name,position:n[t]}}function P(e,t){var n=e.axisLabel,r=(0,i["default"])(e.centerPos,2),o=r[0],a=r[1],s=e.axisLabelPosition,l=n.color,u=n.style,d=(0,i["default"])(s[t],2),h=d[0],f=d[1],p=h>o?"left":"right",m=f>a?"top":"bottom";if(u=(0,c.deepMerge)({textAlign:p,textBaseline:m},u),!l.length)return u;var g=l.length;return(0,c.deepMerge)(u,{fill:l[t%g]})}},a157:function(e,t,n){},a159:function(e,t,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("1ec9")("iframe"),r=o.length,i="<",a=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(r--)delete u[l][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},a15e:function(e,t,n){"use strict";n.r(t);var r=n("41b2"),i=n.n(r),o=n("1098"),a=n.n(o),s=/%[sdj%]/g,l=function(){};function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],o=t.length;if("function"===typeof i)return i.apply(null,t.slice(1));if("string"===typeof i){for(var a=String(i).replace(s,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(n){return"[Circular]"}break;default:return e}})),l=t[r];r<o;l=t[++r])a+=" "+l;return a}return i}function c(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function d(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!c(t)||"string"!==typeof e||e))}function h(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,e),i++,i===o&&n(r)}e.forEach((function(e){t(e,a)}))}function f(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?t(e[s],o):n([])}}o([])}function p(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}function m(e,t,n,r){if(t.first){var i=p(e);return f(i,n,r)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,l=0,u=[],c=function(e){u.push.apply(u,e),l++,l===s&&r(u)};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?f(r,n,c):h(r,n,c)}))}function g(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function v(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===("undefined"===typeof r?"undefined":a()(r))&&"object"===a()(e[n])?e[n]=i()({},e[n],r):e[n]=r}return e}function y(e,t,n,r,i,o){!e.required||n.hasOwnProperty(e.field)&&!d(t,o||e.type)||r.push(u(i.messages.required,e.fullField))}var b=y;function _(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(u(i.messages.whitespace,e.fullField))}var w=_,x={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},k={integer:function(e){return k.number(e)&&parseInt(e,10)===e},float:function(e){return k.number(e)&&!k.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===("undefined"===typeof e?"undefined":a()(e))&&!k.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(x.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(x.url)},hex:function(e){return"string"===typeof e&&!!e.match(x.hex)}};function M(e,t,n,r,i){if(e.required&&void 0===t)b(e,t,n,r,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=e.type;o.indexOf(s)>-1?k[s](t)||r.push(u(i.messages.types[s],e.fullField,e.type)):s&&("undefined"===typeof t?"undefined":a()(t))!==e.type&&r.push(u(i.messages.types[s],e.fullField,e.type))}}var S=M;function C(e,t,n,r,i){var o="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,d=null,h="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(h?d="number":f?d="string":p&&(d="array"),!d)return!1;p&&(c=t.length),f&&(c=t.replace(l,"_").length),o?c!==e.len&&r.push(u(i.messages[d].len,e.fullField,e.len)):a&&!s&&c<e.min?r.push(u(i.messages[d].min,e.fullField,e.min)):s&&!a&&c>e.max?r.push(u(i.messages[d].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&r.push(u(i.messages[d].range,e.fullField,e.min,e.max))}var T=C,O="enum";function L(e,t,n,r,i){e[O]=Array.isArray(e[O])?e[O]:[],-1===e[O].indexOf(t)&&r.push(u(i.messages[O],e.fullField,e[O].join(", ")))}var A=L;function D(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(u(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||r.push(u(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var E=D,I={required:b,whitespace:w,type:S,range:T,enum:A,pattern:E};function j(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return n();I.required(e,t,r,o,i,"string"),d(t,"string")||(I.type(e,t,r,o,i),I.range(e,t,r,o,i),I.pattern(e,t,r,o,i),!0===e.whitespace&&I.whitespace(e,t,r,o,i))}n(o)}var P=j;function R(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&I.type(e,t,r,o,i)}n(o)}var N=R;function B(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}var Y=B;function F(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&I.type(e,t,r,o,i)}n(o)}var z=F;function H(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),d(t)||I.type(e,t,r,o,i)}n(o)}var V=H;function W(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}var U=W;function $(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}var G=$;function q(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t,"array")&&!e.required)return n();I.required(e,t,r,o,i,"array"),d(t,"array")||(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}var X=q;function K(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&I.type(e,t,r,o,i)}n(o)}var Z=K,J="enum";function Q(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();I.required(e,t,r,o,i),t&&I[J](e,t,r,o,i)}n(o)}var ee=Q;function te(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return n();I.required(e,t,r,o,i),d(t,"string")||I.pattern(e,t,r,o,i)}n(o)}var ne=te;function re(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();if(I.required(e,t,r,o,i),!d(t)){var s=void 0;s="number"===typeof t?new Date(t):t,I.type(e,s,r,o,i),s&&I.range(e,s.getTime(),r,o,i)}}n(o)}var ie=re;function oe(e,t,n,r,i){var o=[],s=Array.isArray(t)?"array":"undefined"===typeof t?"undefined":a()(t);I.required(e,t,r,o,i,s),n(o)}var ae=oe;function se(e,t,n,r,i){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(d(t,o)&&!e.required)return n();I.required(e,t,r,a,i,o),d(t,o)||I.type(e,t,r,a,i)}n(a)}var le=se,ue={string:P,method:N,number:Y,boolean:z,regexp:V,integer:U,float:G,array:X,object:Z,enum:ee,pattern:ne,date:ie,url:le,hex:le,email:le,required:ae};function ce(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var de=ce();function he(e){this.rules=null,this._messages=de,this.define(e)}he.prototype={messages:function(e){return e&&(this._messages=v(ce(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":a()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],o=e,s=n,c=r;if("function"===typeof s&&(c=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var d=this.messages();d===de&&(d=ce()),v(d,s.messages),s.messages=d}else s.messages=this.messages();var h=void 0,f=void 0,p={},y=s.keys||Object.keys(this.rules);y.forEach((function(n){h=t.rules[n],f=o[n],h.forEach((function(r){var a=r;"function"===typeof a.transform&&(o===e&&(o=i()({},o)),f=o[n]=a.transform(f)),a="function"===typeof a?{validator:a}:i()({},a),a.validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(p[n]=p[n]||[],p[n].push({rule:a,value:f,source:o,field:n}))}))}));var b={};m(p,s,(function(e,t){var n=e.rule,r=("object"===n.type||"array"===n.type)&&("object"===a()(n.fields)||"object"===a()(n.defaultField));function o(e,t){return i()({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;if(Array.isArray(c)||(c=[c]),c.length&&l("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(g(n)),s.first&&c.length)return b[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map(g(n)):s.error?[s.error(n,u(s.messages.required,n.field))]:[],t(c);var d={};if(n.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(d[h]=n.defaultField);for(var f in d=i()({},d,e.rule.fields),d)if(d.hasOwnProperty(f)){var p=Array.isArray(d[f])?d[f]:[d[f]];d[f]=p.map(o.bind(null,f))}var m=new he(d);m.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),m.validate(e.value,e.rule.options||s,(function(e){t(e&&e.length?c.concat(e):e)}))}else t(c)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var d=n.validator(n,e.value,c,e.source,s);d&&d.then&&d.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){_(e)}))}else c&&c();function _(e){var t=void 0,n=void 0,r=[],i={};function o(e){Array.isArray(e)?r=r.concat.apply(r,e):r.push(e)}for(t=0;t<e.length;t++)o(e[t]);if(r.length)for(t=0;t<r.length;t++)n=r[t].field,i[n]=i[n]||[],i[n].push(r[t]);else r=null,i=null;c(r,i)}},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!ue.hasOwnProperty(e.type))throw new Error(u("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?ue.required:ue[this.getType(e)]||!1}},he.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");ue[e]=t},he.messages=de;t["default"]=he},a19f:function(e,t,n){var r=n("5ca1"),i=n("cb7c"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(t){return!1}}})},a22a:function(e,t,n){var r=n("d864"),i=n("b0dc"),o=n("3702"),a=n("e4ae"),s=n("b447"),l=n("7cd6"),u={},c={};t=e.exports=function(e,t,n,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=r(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>b;b++)if(g=t?y(a(p=e[b])[0],p[1]):y(e[b]),g===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if(g=i(m,y,p.value,t),g===u||g===c)return g};t.BREAK=u,t.RETURN=c},a234:function(e,t,n){var r=n("5ca1");r(r.S,"System",{global:n("7726")})},a25f:function(e,t,n){var r=n("7726"),i=r.navigator;e.exports=i&&i.userAgent||""},a34a:function(e,t,n){var r=n("7ec2")();e.exports=r;try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},a356:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  443. //! moment.js locale configuration
  444. var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,i,o,a){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return o}))},a395:function(e,t,n){var r=n("7037")["default"],i=n("e50d");function o(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},a3c3:function(e,t,n){var r=n("63b6");r(r.S+r.F,"Object",{assign:n("9306")})},a3de:function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},a40e:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=n.BlockCipher,o=t.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=i.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],r=0;r<56;r++){var i=a[r]-1;n[r]=t[i>>>5]>>>31-i%32&1}for(var o=this._subKeys=[],u=0;u<16;u++){var c=o[u]=[],d=l[u];for(r=0;r<24;r++)c[r/6|0]|=n[(s[r]-1+d)%28]<<31-r%6,c[4+(r/6|0)]|=n[28+(s[r+24]-1+d)%28]<<31-r%6;c[0]=c[0]<<1|c[0]>>>31;for(r=1;r<7;r++)c[r]=c[r]>>>4*(r-1)+3;c[7]=c[7]<<5|c[7]>>>27}var h=this._invSubKeys=[];for(r=0;r<16;r++)h[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],o=this._lBlock,a=this._rBlock,s=0,l=0;l<8;l++)s|=u[l][((a^i[l])&c[l])>>>0];this._lBlock=a,this._rBlock=o^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function f(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=i._createHelper(d);var p=o.TripleDES=i.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=t.slice(0,2),i=t.length<4?t.slice(0,2):t.slice(2,4),o=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=d.createEncryptor(r.create(n)),this._des2=d.createEncryptor(r.create(i)),this._des3=d.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(p)}(),e.TripleDES}))},a481:function(e,t,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),u=Math.max,c=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,(function(e,t,n,m){return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=m(n,e,this,t);if(i.done)return i.value;var d=r(e),h=String(this),f="function"===typeof t;f||(t=String(t));var v=d.global;if(v){var y=d.unicode;d.lastIndex=0}var b=[];while(1){var _=l(d,h);if(null===_)break;if(b.push(_),!v)break;var w=String(_[0]);""===w&&(d.lastIndex=s(h,o(d.lastIndex),y))}for(var x="",k=0,M=0;M<b.length;M++){_=b[M];for(var S=String(_[0]),C=u(c(a(_.index),h.length),0),T=[],O=1;O<_.length;O++)T.push(p(_[O]));var L=_.groups;if(f){var A=[S].concat(T,C,h);void 0!==L&&A.push(L);var D=String(t.apply(void 0,A))}else D=g(S,h,C,T,L,t);C>=k&&(x+=h.slice(k,C)+D,k=C+S.length)}return x+h.slice(k)}];function g(e,t,r,o,a,s){var l=r+e.length,u=o.length,c=f;return void 0!==a&&(a=i(a),c=h),n.call(s,c,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>u){var h=d(c/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},a5b8:function(e,t,n){"use strict";var r=n("d8e8");function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},a5d8:function(e,t,n){},a69f:function(e,t,n){var r=n("5ca1");r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},a6fa:function(e,t,n){"use strict";var r=n("7618"),i=n("366e"),o=n.n(i);function a(e,t){if("object"!=Object(r["a"])(e)||!e)return e;var n=e[o.a];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=Object(r["a"])(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e){var t=a(e,"string");return"symbol"==Object(r["a"])(t)?t:t+""}n.d(t,"a",(function(){return s}))},a736:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mergeColor",{enumerable:!0,get:function(){return r.mergeColor}}),Object.defineProperty(t,"title",{enumerable:!0,get:function(){return i.title}}),Object.defineProperty(t,"grid",{enumerable:!0,get:function(){return o.grid}}),Object.defineProperty(t,"axis",{enumerable:!0,get:function(){return a.axis}}),Object.defineProperty(t,"line",{enumerable:!0,get:function(){return s.line}}),Object.defineProperty(t,"bar",{enumerable:!0,get:function(){return l.bar}}),Object.defineProperty(t,"pie",{enumerable:!0,get:function(){return u.pie}}),Object.defineProperty(t,"radarAxis",{enumerable:!0,get:function(){return c.radarAxis}}),Object.defineProperty(t,"radar",{enumerable:!0,get:function(){return d.radar}}),Object.defineProperty(t,"gauge",{enumerable:!0,get:function(){return h.gauge}}),Object.defineProperty(t,"legend",{enumerable:!0,get:function(){return f.legend}});var r=n("8a1d"),i=n("873c"),o=n("46bb"),a=n("0680"),s=n("252f"),l=n("204e"),u=n("729e"),c=n("a143"),d=n("4eb1"),h=n("1f55"),f=n("60f7")},a78e:function(e,t,n){var r,i;
  445. /*!
  446. * JavaScript Cookie v2.2.0
  447. * https://github.com/js-cookie/js-cookie
  448. *
  449. * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
  450. * Released under the MIT license
  451. */(function(o){var a=!1;if(r=o,i="function"===typeof r?r.call(t,n,t,e):r,void 0===i||(e.exports=i),a=!0,e.exports=o(),a=!0,!a){var s=window.Cookies,l=window.Cookies=o();l.noConflict=function(){return window.Cookies=s,l}}})((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(n){function r(t,i,o){var a;if("undefined"!==typeof document){if(arguments.length>1){if(o=e({path:"/"},r.defaults,o),"number"===typeof o.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*o.expires),o.expires=s}o.expires=o.expires?o.expires.toUTCString():"";try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch(g){}i=n.write?n.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape);var l="";for(var u in o)o[u]&&(l+="; "+u,!0!==o[u]&&(l+="="+o[u]));return document.cookie=t+"="+i+l}t||(a={});for(var c=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,h=0;h<c.length;h++){var f=c[h].split("="),p=f.slice(1).join("=");this.json||'"'!==p.charAt(0)||(p=p.slice(1,-1));try{var m=f[0].replace(d,decodeURIComponent);if(p=n.read?n.read(p,m):n(p,m)||p.replace(d,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(g){}if(t===m){a=p;break}t||(a[m]=p)}catch(g){}}return a}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}return t((function(){}))}))},a7fa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  452. //! moment.js locale configuration
  453. var t=e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return t}))},a817:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,i=r-n%r,o=n+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923}))},a870:function(e,t,n){"use strict";n.r(t);var r=(e=>(e.transparent="rgba(0,0,0,0)",e.black="#000000",e.silver="#C0C0C0",e.gray="#808080",e.white="#FFFFFF",e.maroon="#800000",e.red="#FF0000",e.purple="#800080",e.fuchsia="#FF00FF",e.green="#008000",e.lime="#00FF00",e.olive="#808000",e.yellow="#FFFF00",e.navy="#000080",e.blue="#0000FF",e.teal="#008080",e.aqua="#00FFFF",e.aliceblue="#f0f8ff",e.antiquewhite="#faebd7",e.aquamarine="#7fffd4",e.azure="#f0ffff",e.beige="#f5f5dc",e.bisque="#ffe4c4",e.blanchedalmond="#ffebcd",e.blueviolet="#8a2be2",e.brown="#a52a2a",e.burlywood="#deb887",e.cadetblue="#5f9ea0",e.chartreuse="#7fff00",e.chocolate="#d2691e",e.coral="#ff7f50",e.cornflowerblue="#6495ed",e.cornsilk="#fff8dc",e.crimson="#dc143c",e.cyan="#00ffff",e.darkblue="#00008b",e.darkcyan="#008b8b",e.darkgoldenrod="#b8860b",e.darkgray="#a9a9a9",e.darkgreen="#006400",e.darkgrey="#a9a9a9",e.darkkhaki="#bdb76b",e.darkmagenta="#8b008b",e.darkolivegreen="#556b2f",e.darkorange="#ff8c00",e.darkorchid="#9932cc",e.darkred="#8b0000",e.darksalmon="#e9967a",e.darkseagreen="#8fbc8f",e.darkslateblue="#483d8b",e.darkslategray="#2f4f4f",e.darkslategrey="#2f4f4f",e.darkturquoise="#00ced1",e.darkviolet="#9400d3",e.deeppink="#ff1493",e.deepskyblue="#00bfff",e.dimgray="#696969",e.dimgrey="#696969",e.dodgerblue="#1e90ff",e.firebrick="#b22222",e.floralwhite="#fffaf0",e.forestgreen="#228b22",e.gainsboro="#dcdcdc",e.ghostwhite="#f8f8ff",e.gold="#ffd700",e.goldenrod="#daa520",e.greenyellow="#adff2f",e.grey="#808080",e.honeydew="#f0fff0",e.hotpink="#ff69b4",e.indianred="#cd5c5c",e.indigo="#4b0082",e.ivory="#fffff0",e.khaki="#f0e68c",e.lavender="#e6e6fa",e.lavenderblush="#fff0f5",e.lawngreen="#7cfc00",e.lemonchiffon="#fffacd",e.lightblue="#add8e6",e.lightcoral="#f08080",e.lightcyan="#e0ffff",e.lightgoldenrodyellow="#fafad2",e.lightgray="#d3d3d3",e.lightgreen="#90ee90",e.lightgrey="#d3d3d3",e.lightpink="#ffb6c1",e.lightsalmon="#ffa07a",e.lightseagreen="#20b2aa",e.lightskyblue="#87cefa",e.lightslategray="#778899",e.lightslategrey="#778899",e.lightsteelblue="#b0c4de",e.lightyellow="#ffffe0",e.limegreen="#32cd32",e.linen="#faf0e6",e.magenta="#ff00ff",e.mediumaquamarine="#66cdaa",e.mediumblue="#0000cd",e.mediumorchid="#ba55d3",e.mediumpurple="#9370db",e.mediumseagreen="#3cb371",e.mediumslateblue="#7b68ee",e.mediumspringgreen="#00fa9a",e.mediumturquoise="#48d1cc",e.mediumvioletred="#c71585",e.midnightblue="#191970",e.mintcream="#f5fffa",e.mistyrose="#ffe4e1",e.moccasin="#ffe4b5",e.navajowhite="#ffdead",e.oldlace="#fdf5e6",e.olivedrab="#6b8e23",e.orange="#ffa500",e.orangered="#ff4500",e.orchid="#da70d6",e.palegoldenrod="#eee8aa",e.palegreen="#98fb98",e.paleturquoise="#afeeee",e.palevioletred="#db7093",e.papayawhip="#ffefd5",e.peachpuff="#ffdab9",e.peru="#cd853f",e.pink="#ffc0cb",e.plum="#dda0dd",e.powderblue="#b0e0e6",e.rosybrown="#bc8f8f",e.royalblue="#4169e1",e.saddlebrown="#8b4513",e.salmon="#fa8072",e.sandybrown="#f4a460",e.seagreen="#2e8b57",e.seashell="#fff5ee",e.sienna="#a0522d",e.skyblue="#87ceeb",e.slateblue="#6a5acd",e.slategray="#708090",e.snow="#fffafa",e.springgreen="#00ff7f",e.steelblue="#4682b4",e.tan="#d2b48c",e.thistle="#d8bfd8",e.tomato="#ff6347",e.turquoise="#40e0d0",e.violet="#ee82ee",e.wheat="#f5deb3",e.whitesmoke="#f5f5f5",e.yellowgreen="#9acd32",e))(r||{});function i(e){return"string"==typeof e&&(e=e.toLowerCase(),/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e))}function o(e){return"string"==typeof e&&(e=e.toLowerCase(),/^(rgb\(|RGB\()/.test(e))}function a(e){return"string"==typeof e&&(e=e.toLowerCase(),/^(rgba|RGBA)/.test(e))}function s(e){return/^(rgb|rgba|RGB|RGBA)/.test(e)}function l(e){return r[e]}function u(e){if(i(e)||s(e))return e;const t=l(e);if(!t)throw new Error("Color: Invalid Input of "+e);return t}function c(e){e=e.replace("#",""),3===e.length&&(e=Array.from(e).map(e=>e+e).join(""));const t=e.split("");return new Array(3).fill(0).map((e,n)=>parseInt(`0x${t[2*n]}${t[2*n+1]}`))}function d(e){return e.replace(/rgb\(|rgba\(|\)/g,"").split(",").slice(0,3).map(e=>parseInt(e))}function h(e){const t=u(e).toLowerCase();return i(t)?c(t):d(t)}function f(e){const t=u(e);return a(t)?Number(t.toLowerCase().split(",").slice(-1)[0].replace(/[)|\s]/g,"")):1}function p(e){const t=h(e);return t&&[...t,f(e)]}function m(e,t){const n=h(e);return"number"==typeof t?`rgba(${n.join(",")},${t})`:`rgb(${n.join(",")})`}function g(e){if(i(e))return e;const t=h(e),n=e=>Number(e).toString(16).padStart(2,"0");return"#"+t.map(n).join("")}function v(e){if(!Array.isArray(e))throw new Error(`getColorFromRgbValue: ${e} is not an array`);const{length:t}=e;if(3!==t&&4!==t)throw new Error("getColorFromRgbValue: value length should be 3 or 4");return(3===t?"rgb(":"rgba(")+e.join(",")+")"}function y(e,t=0){let n=p(e);return n=n.map((e,n)=>3===n?e:e-Math.ceil(2.55*t)).map(e=>e<0?0:e),v(n)}function b(e,t=0){let n=p(e);return n=n.map((e,n)=>3===n?e:e+Math.ceil(2.55*t)).map(e=>e>255?255:e),v(n)}function _(e,t=100){const n=h(e);return v([...n,t/100])}n.d(t,"darken",(function(){return y})),n.d(t,"fade",(function(){return _})),n.d(t,"getColorFromRgbValue",(function(){return v})),n.d(t,"getOpacity",(function(){return f})),n.d(t,"getRgbValue",(function(){return h})),n.d(t,"getRgbaValue",(function(){return p})),n.d(t,"isHex",(function(){return i})),n.d(t,"isRgb",(function(){return o})),n.d(t,"isRgbOrRgba",(function(){return s})),n.d(t,"isRgba",(function(){return a})),n.d(t,"lighten",(function(){return b})),n.d(t,"toHex",(function(){return g})),n.d(t,"toRgb",(function(){return m}))},a8ce:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return r.create(n,2*t)}};function o(e){return e<<8&4278255360|e>>>8&16711935}i.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16}))},a9cc:function(e,t,n){"use strict";var r=n("5ca1"),i=n("a5b8"),o=n("9c80");r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},aa77:function(e,t,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),a=n("fdef"),s="["+a+"]",l="​…",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),d=function(e,t,n){var i={},s=o((function(){return!!a[e]()||l[e]()!=l})),u=i[e]=s?t(h):a[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},h=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=d},aae3:function(e,t,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},aaef:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){
  454. /** @preserve
  455. * Counter block mode compatible with Dr Brian Gladman fileenc.c
  456. * derived from CryptoJS.mode.CTR
  457. * Jan Hruby jhruby.web@gmail.com
  458. */
  459. return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255===(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),r(a);var s=a.slice(0);n.encryptBlock(s,0);for(var l=0;l<i;l++)e[t+l]^=s[l]}});return t.Decryptor=i,t}(),e.mode.CTRGladman}))},aaf2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  460. //! moment.js locale configuration
  461. function t(e,t,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?i[n][0]:i[n][1]}var n=e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return n}))},aba2:function(e,t,n){var r=n("e53d"),i=n("4178").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n("6b4c")(a);e.exports=function(){var e,t,n,u=function(){var r,i;l&&(r=a.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},abd7:function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac6a:function(e,t,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),l=n("84f2"),u=n("2b4c"),c=u("iterator"),d=u("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),m=0;m<p.length;m++){var g,v=p[m],y=f[v],b=a[v],_=b&&b.prototype;if(_&&(_[c]||s(_,c,h),_[d]||s(_,d,v),l[v]=h,y))for(g in r)_[g]||o(_,g,r[g],!0)}},ada2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  462. //! moment.js locale configuration
  463. function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r["nominative"].slice(1,7).concat(r["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r["nominative"]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return o}))},ae10:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n("278c")),o=r(n("448a"));function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.25,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25;if(!(e instanceof Array))return console.error("polylineToBezierCurve: Parameter polyline must be an array!"),!1;if(e.length<=2)return console.error("polylineToBezierCurve: Converting to a curve requires at least 3 points!"),!1;var i=e[0],a=e.length-1,u=new Array(a).fill(0).map((function(i,a){return[].concat((0,o["default"])(s(e,a,t,n,r)),[e[a+1]])}));return t&&l(u,i),u.unshift(e[0]),u}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.25,o=e.length;if(!(o<3||t>=o)){var a=t-1;a<0&&(a=n?o+a:0);var s=t+1;s>=o&&(s=n?s-o:o-1);var l=t+2;l>=o&&(l=n?l-o:o-1);var u=e[a],c=e[t],d=e[s],h=e[l];return[[c[0]+r*(d[0]-u[0]),c[1]+r*(d[1]-u[1])],[d[0]-i*(h[0]-c[0]),d[1]-i*(h[1]-c[1])]]}}function l(e,t){var n=e[0],r=e.slice(-1)[0];return e.push([u(r[1],r[2]),u(n[0],t),t]),e}function u(e,t){var n=(0,i["default"])(e,2),r=n[0],o=n[1],a=(0,i["default"])(t,2),s=a[0],l=a[1],u=s-r,c=l-o;return[s+u,l+c]}var c=a;t["default"]=c},aebd:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},aef6:function(e,t,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),a="endsWith",s=""[a];r(r.P+r.F*n("5147")(a),"String",{endsWith:function(e){var t=o(this,e,a),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),l=void 0===n?r:Math.min(i(n),r),u=String(e);return s?s.call(t,u,l):t.slice(l-u.length,l)===u}})},af56:function(e,t,n){n("ec30")("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},af5b:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.BlockCipher,i=t.algo;const o=16,a=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var l={pbox:[],sbox:[]};function u(e,t){let n=t>>24&255,r=t>>16&255,i=t>>8&255,o=255&t,a=e.sbox[0][n]+e.sbox[1][r];return a^=e.sbox[2][i],a+=e.sbox[3][o],a}function c(e,t,n){let r,i=t,a=n;for(let s=0;s<o;++s)i^=e.pbox[s],a=u(e,i)^a,r=i,i=a,a=r;return r=i,i=a,a=r,a^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:a}}function d(e,t,n){let r,i=t,a=n;for(let s=o+1;s>1;--s)i^=e.pbox[s],a=u(e,i)^a,r=i,i=a,a=r;return r=i,i=a,a=r,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function h(e,t,n){for(let o=0;o<4;o++){e.sbox[o]=[];for(let t=0;t<256;t++)e.sbox[o][t]=s[o][t]}let r=0;for(let s=0;s<o+2;s++)e.pbox[s]=a[s]^t[r],r++,r>=n&&(r=0);let i=0,l=0,u=0;for(let a=0;a<o+2;a+=2)u=c(e,i,l),i=u.left,l=u.right,e.pbox[a]=i,e.pbox[a+1]=l;for(let o=0;o<4;o++)for(let t=0;t<256;t+=2)u=c(e,i,l),i=u.left,l=u.right,e.sbox[o][t]=i,e.sbox[o][t+1]=l;return!0}var f=i.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;h(l,t,n)}},encryptBlock:function(e,t){var n=c(l,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=d(l,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(f)}(),e.Blowfish}))},af87:function(e,t,n){n("66f9"),n("e82b"),n("27ee"),n("9964"),n("d5d2"),n("9091"),n("7c89"),n("ba3e"),n("cc89"),n("980a"),n("20fc"),n("8c4e"),n("d0ca"),n("5ce3"),n("d511"),e.exports=n("8378")},b05c:function(e,t,n){n("ec30")("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},b06d:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.extendNewGraph=M,t["default"]=t.text=t.bezierCurve=t.smoothline=t.polyline=t.regPolygon=t.sector=t.arc=t.ring=t.rect=t.ellipse=t.circle=void 0;var i=r(n("448a")),o=r(n("278c")),a=r(n("050c")),s=n("5557"),l=n("e169"),u=a["default"].polylineToBezierCurve,c=a["default"].bezierCurveToPolyline,d={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,n=t.rx,r=t.ry,i=t.r;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i||(console.error("Circle shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r;n.arc(i,o,a>0?a:.01,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,r=n.rx,i=n.ry,o=n.r;return(0,s.checkPointIsInCircle)(e,r,i,o)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};t.circle=d;var h={shape:{rx:0,ry:0,hr:0,vr:0},validator:function(e){var t=e.shape,n=t.rx,r=t.ry,i=t.hr,o=t.vr;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i&&"number"===typeof o||(console.error("Ellipse shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.hr,s=r.vr;n.ellipse(i,o,a>0?a:.01,s>0?s:.01,0,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,r=n.rx,i=n.ry,o=n.hr,a=n.vr,l=Math.max(o,a),u=Math.min(o,a),c=Math.sqrt(l*l-u*u),d=[r-c,i],h=[r+c,i],f=(0,s.getTwoPointDistance)(e,d)+(0,s.getTwoPointDistance)(e,h);return f<=2*l},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};t.ellipse=h;var f={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,n=t.x,r=t.y,i=t.w,o=t.h;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i&&"number"===typeof o||(console.error("Rect shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.x,o=r.y,a=r.w,s=r.h;n.rect(i,o,a,s),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,r=n.x,i=n.y,o=n.w,a=n.h;return(0,s.checkPointIsInRect)(e,r,i,o,a)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.x,o=n.y,a=n.w,s=n.h;r.graphCenter=[i+a/2,o+s/2]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape;this.attr("shape",{x:i.x+n,y:i.y+r})}};t.rect=f;var p={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,n=t.rx,r=t.ry,i=t.r;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i||(console.error("Ring shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r;n.arc(i,o,a>0?a:.01,0,2*Math.PI),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry,a=n.r,l=r.lineWidth,u=l/2,c=a-u,d=a+u,h=(0,s.getTwoPointDistance)(e,[i,o]);return h>=c&&h<=d},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};t.ring=p;var m={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("Arc shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r,s=r.startAngle,l=r.endAngle,u=r.clockWise;n.arc(i,o,a>0?a:.001,s,l,!u),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry,a=n.r,l=n.startAngle,u=n.endAngle,c=n.clockWise,d=r.lineWidth,h=d/2,f=a-h,p=a+h;return!(0,s.checkPointIsInSector)(e,i,o,f,l,u,c)&&(0,s.checkPointIsInSector)(e,i,o,p,l,u,c)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};t.arc=m;var g={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("Sector shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r,s=r.startAngle,l=r.endAngle,u=r.clockWise;n.arc(i,o,a>0?a:.01,s,l,!u),n.lineTo(i,o),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(e,t){var n=t.shape,r=n.rx,i=n.ry,o=n.r,a=n.startAngle,l=n.endAngle,u=n.clockWise;return(0,s.checkPointIsInSector)(e,r,i,o,a,l,u)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape,o=i.rx,a=i.ry;this.attr("shape",{rx:o+n,ry:a+r})}};t.sector=g;var v={shape:{rx:0,ry:0,r:0,side:0},validator:function(e){var t=e.shape,n=t.side,r=["rx","ry","r","side"];return r.find((function(e){return"number"!==typeof t[e]}))?(console.error("RegPolygon shape configuration is abnormal!"),!1):!(n<3)||(console.error("RegPolygon at least trigon!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape,i=t.cache;n.beginPath();var o=r.rx,a=r.ry,u=r.r,c=r.side;if(!i.points||i.rx!==o||i.ry!==a||i.r!==u||i.side!==c){var d=(0,s.getRegularPolygonPoints)(o,a,u,c);Object.assign(i,{points:d,rx:o,ry:a,r:u,side:c})}var h=i.points;(0,l.drawPolylinePath)(n,h),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(e,t){var n=t.cache,r=n.points;return(0,s.checkPointIsInPolygon)(e,r)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape,a=t.cache,s=i.rx,l=i.ry;a.rx+=n,a.ry+=r,this.attr("shape",{rx:s+n,ry:l+r}),a.points=a.points.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+n,a+r]}))}};t.regPolygon=v;var y={shape:{points:[],close:!1},validator:function(e){var t=e.shape,n=t.points;return n instanceof Array||(console.error("Polyline points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape,i=t.style.lineWidth;n.beginPath();var o=r.points,a=r.close;1===i&&(o=(0,s.eliminateBlur)(o)),(0,l.drawPolylinePath)(n,o),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.shape,r=t.style,i=n.points,o=n.close,a=r.lineWidth;return o?(0,s.checkPointIsInPolygon)(e,i):(0,s.checkPointIsNearPolyline)(e,i,a)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.points;r.graphCenter=i[0]},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape,a=i.points,s=a.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+n,a+r]}));this.attr("shape",{points:s})}};t.polyline=y;var b={shape:{points:[],close:!1},validator:function(e){var t=e.shape,n=t.points;return n instanceof Array||(console.error("Smoothline points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape,i=t.cache,o=r.points,a=r.close;if(!i.points||i.points.toString()!==o.toString()){var d=u(o,a),h=c(d);Object.assign(i,{points:(0,s.deepClone)(o,!0),bezierCurve:d,hoverPoints:h})}var f=i.bezierCurve;n.beginPath(),(0,l.drawBezierCurvePath)(n,f.slice(1),f[0]),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.cache,r=t.shape,i=t.style,o=n.hoverPoints,a=r.close,l=i.lineWidth;return a?(0,s.checkPointIsInPolygon)(e,o):(0,s.checkPointIsNearPolyline)(e,o,l)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.points;r.graphCenter=i[0]},move:function(e,t){var n=e.movementX,r=e.movementY,a=t.shape,s=t.cache,l=a.points,u=l.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+n,a+r]}));s.points=u;var c=(0,o["default"])(s.bezierCurve[0],2),d=c[0],h=c[1],f=s.bezierCurve.slice(1);s.bezierCurve=[[d+n,h+r]].concat((0,i["default"])(f.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+n,a+r]}))})))),s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+n,a+r]})),this.attr("shape",{points:u})}};t.smoothline=b;var _={shape:{points:[],close:!1},validator:function(e){var t=e.shape,n=t.points;return n instanceof Array||(console.error("BezierCurve points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape,i=t.cache,o=r.points,a=r.close;if(!i.points||i.points.toString()!==o.toString()){var u=c(o,20);Object.assign(i,{points:(0,s.deepClone)(o,!0),hoverPoints:u})}n.beginPath(),(0,l.drawBezierCurvePath)(n,o.slice(1),o[0]),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.cache,r=t.shape,i=t.style,o=n.hoverPoints,a=r.close,l=i.lineWidth;return a?(0,s.checkPointIsInPolygon)(e,o):(0,s.checkPointIsNearPolyline)(e,o,l)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.points;r.graphCenter=i[0]},move:function(e,t){var n=e.movementX,r=e.movementY,a=t.shape,s=t.cache,l=a.points,u=(0,o["default"])(l[0],2),c=u[0],d=u[1],h=l.slice(1),f=[[c+n,d+r]].concat((0,i["default"])(h.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+n,a+r]}))}))));s.points=f,s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+n,a+r]})),this.attr("shape",{points:f})}};t.bezierCurve=_;var w={shape:{content:"",position:[],maxWidth:void 0,rowGap:0},validator:function(e){var t=e.shape,n=t.content,r=t.position,i=t.rowGap;return"string"!==typeof n?(console.error("Text content should be a string!"),!1):r instanceof Array?"number"===typeof i||(console.error("Text rowGap should be a number!"),!1):(console.error("Text position should be an array!"),!1)},draw:function(e,t){var n=e.ctx,r=t.shape,a=r.content,s=r.position,l=r.maxWidth,u=r.rowGap,c=n.textBaseline,d=n.font,h=parseInt(d.replace(/\D/g,"")),f=s,p=(0,o["default"])(f,2),m=p[0],g=p[1];a=a.split("\n");var v=a.length,y=h+u,b=v*y-u,_=0;"middle"===c&&(_=b/2,g+=h/2),"bottom"===c&&(_=b,g+=h),s=new Array(v).fill(0).map((function(e,t){return[m,g+t*y-_]})),n.beginPath(),a.forEach((function(e,t){n.fillText.apply(n,[e].concat((0,i["default"])(s[t]),[l])),n.strokeText.apply(n,[e].concat((0,i["default"])(s[t]),[l]))})),n.closePath()},hoverCheck:function(e,t){t.shape,t.style;return!1},setGraphCenter:function(e,t){var n=t.shape,r=t.style,o=n.position;r.graphCenter=(0,i["default"])(o)},move:function(e,t){var n=e.movementX,r=e.movementY,i=t.shape,a=(0,o["default"])(i.position,2),s=a[0],l=a[1];this.attr("shape",{position:[s+n,l+r]})}};t.text=w;var x=new Map([["circle",d],["ellipse",h],["rect",f],["ring",p],["arc",m],["sector",g],["regPolygon",v],["polyline",y],["smoothline",b],["bezierCurve",_],["text",w]]),k=x;function M(e,t){e&&t?t.shape?t.validator?t.draw?x.set(e,t):console.error("Required function of draw to extendNewGraph!"):console.error("Required function of validator to extendNewGraph!"):console.error("Required attribute of shape to extendNewGraph!"):console.error("ExtendNewGraph Missing Parameters!")}t["default"]=k},b0c5:function(e,t,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b0dc:function(e,t,n){var r=n("e4ae");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e["return"];throw void 0!==o&&r(o.call(e)),a}}},b1b1:function(e,t,n){var r=n("5ca1"),i=n("9c12"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},b29d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  464. //! moment.js locale configuration
  465. var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t}))},b311:function(e,t,n){
  466. /*!
  467. * clipboard.js v2.0.11
  468. * https://clipboardjs.com/
  469. *
  470. * Licensed MIT © Zeno Rocha
  471. */
  472. (function(t,n){e.exports=n()})(0,(function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return E}});var r=n(279),i=n.n(r),o=n(370),a=n.n(o),s=n(817),l=n.n(s);function u(e){try{return document.execCommand(e)}catch(t){return!1}}var c=function(e){var t=l()(e);return u("cut"),t},d=c;function h(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}var f=function(e,t){var n=h(e);t.container.appendChild(n);var r=l()(n);return u("copy"),n.remove(),r},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"===typeof e?n=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null===e||void 0===e?void 0:e.type)?n=f(e.value,t):(n=l()(e),u("copy")),n},m=p;function g(e){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,o=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==g(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?m(o,{container:r}):i?"cut"===n?d(i):m(i,{container:r}):void 0},y=v;function b(e){return b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function k(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}function M(e,t){return M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},M(e,t)}function S(e){var t=O();return function(){var n,r=L(e);if(t){var i=L(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return C(this,n)}}function C(e,t){return!t||"object"!==b(t)&&"function"!==typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}function A(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var D=function(e){k(n,e);var t=S(n);function n(e,r){var i;return _(this,n),i=t.call(this),i.resolveOptions(r),i.listenClick(e),i}return x(n,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof e.action?e.action:this.defaultAction,this.target="function"===typeof e.target?e.target:this.defaultTarget,this.text="function"===typeof e.text?e.text:this.defaultText,this.container="object"===b(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=y({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return A("action",e)}},{key:"defaultTarget",value:function(e){var t=A("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return A("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return m(e,t)}},{key:"cut",value:function(e){return d(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"===typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),n}(i()),E=D},828:function(e){var t=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}function r(e,n){while(e&&e.nodeType!==t){if("function"===typeof e.matches&&e.matches(n))return e;e=e.parentNode}}e.exports=r},438:function(e,t,n){var r=n(828);function i(e,t,n,r,i){var o=a.apply(this,arguments);return e.addEventListener(n,o,i),{destroy:function(){e.removeEventListener(n,o,i)}}}function o(e,t,n,r,o){return"function"===typeof e.addEventListener?i.apply(null,arguments):"function"===typeof n?i.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,n,r,o)})))}function a(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=o},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},370:function(e,t,n){var r=n(879),i=n(438);function o(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return a(e,t,n);if(r.nodeList(e))return s(e,t,n);if(r.string(e))return l(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function s(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}function l(e,t,n){return i(document.body,e,t,n)}e.exports=o},817:function(e){function t(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}e.exports=t},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),n(686)}().default}))},b383:function(e,t,n){"use strict";t.decode=t.parse=n("91dd"),t.encode=t.stringify=n("e099")},b39a:function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},b3eb:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  473. //! moment.js locale configuration
  474. function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b447:function(e,t,n){var r=n("3a38"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},b469:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  475. //! moment.js locale configuration
  476. function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b477:function(e,t,n){"use strict";var r=n("1395"),i=n("31f4"),o=n("d8e8");e.exports=function(){var e=o(this),t=arguments.length,n=new Array(t),a=0,s=r._,l=!1;while(t>a)(n[a]=arguments[a++])===s&&(l=!0);return function(){var r,o=this,a=arguments.length,u=0,c=0;if(!l&&!a)return i(e,n,o);if(r=n.slice(),l)for(;t>u;u++)r[u]===s&&(r[u]=arguments[c++]);while(a>c)r.push(arguments[c++]);return i(e,r,o)}}},b4c2:function(e,t,n){var r=n("5ca1");r(r.S,"Math",{imulh:function(e,t){var n=65535,r=+e,i=+t,o=r&n,a=i&n,s=r>>16,l=i>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>16)+((o*l>>>0)+(u&n)>>16)}})},b50d:function(e,t,n){"use strict";var r=n("c532"),i=n("467f"),o=n("30b5"),a=n("c345"),s=n("3934"),l=n("2d83");e.exports=function(e){return new Promise((function(t,u){var c=e.data,d=e.headers;r.isFormData(c)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";d.Authorization="Basic "+btoa(f+":"+p)}if(h.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?h.response:h.responseText,o={data:r,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,u,o),h=null}},h.onerror=function(){u(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){u(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=n("7aac"),g=(e.withCredentials||s(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(d,(function(e,t){"undefined"===typeof c&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(v){if("json"!==e.responseType)throw v}"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),u(e),h=null)})),void 0===c&&(c=null),h.send(c)}))}},b53d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  477. //! moment.js locale configuration
  478. var t=e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return t}))},b540:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  479. //! moment.js locale configuration
  480. var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},b54a:function(e,t,n){"use strict";n("386b")("link",(function(e){return function(t){return e(this,"a","href",t)}}))},b5b7:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  481. //! moment.js locale configuration
  482. var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return o}))},b6e4:function(e,t,n){n("ec30")("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},b72c:function(e,t,n){var r=n("5ca1"),i=n("d752");r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},b72d:function(e,t,n){},b7e9:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  483. //! moment.js locale configuration
  484. var t=e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},b80b:function(e,t,n){var r=n("4f7f"),i=n("4379"),o=n("37a7"),a=n("cb7c"),s=n("38fd"),l=o.keys,u=o.key,c=function(e,t){var n=l(e,t),o=s(e);if(null===o)return n;var a=c(o,t);return a.length?n.length?i(new r(n.concat(a))):a:n};o.exp({getMetadataKeys:function(e){return c(a(e),arguments.length<2?void 0:u(arguments[1]))}})},b84c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  485. //! moment.js locale configuration
  486. var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},b86b:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"),n("d6e6"))})(0,(function(e){return function(){var t=e,n=t.x64,r=n.Word,i=n.WordArray,o=t.algo,a=o.SHA512,s=o.SHA384=a.extend({_doReset:function(){this._hash=new i.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=a._createHelper(s),t.HmacSHA384=a._createHmacHelper(s)}(),e.SHA384}))},b86c:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}))},b8e3:function(e,t){e.exports=!0},b97c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  487. //! moment.js locale configuration
  488. var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}function o(e,t){return t?"dažas sekundes":"dažām sekundēm"}var a=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:o,ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},b9a1:function(e,t,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99"),a=n("38fd"),s=n("11e9").f;n("9e1e")&&r(r.P+n("c5b4"),"Object",{__lookupGetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=s(n,r))return t.get}while(n=a(n))}})},ba16:function(e,t,n){var r=n("5ca1"),i=n("11e9").f,o=n("cb7c");r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},ba3e:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{isObject:n("d3f4")})},ba92:function(e,t,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),l=i(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:i(u,a))-l,a-s),d=1;l<s&&s<l+c&&(d=-1,l+=c-1,s+=c-1);while(c-- >0)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},ba99:function(e,t,n){var r=n("6abf"),i=n("9aa9"),o=n("e4ae"),a=n("e53d").Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},bb71:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  489. //! moment.js locale configuration
  490. function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},bc13:function(e,t,n){var r=n("e53d"),i=r.navigator;e.exports=i&&i.userAgent||""},bc3a:function(e,t,n){e.exports=n("cee4")},bc96:function(e,t,n){},bcaa:function(e,t,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},bd11:function(e,t){e.exports=m,e.exports.parse=o,e.exports.compile=a,e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var n="/",r="./",i=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function o(e,t){var o,a=[],s=0,c=0,d="",h=t&&t.delimiter||n,f=t&&t.delimiters||r,p=!1;while(null!==(o=i.exec(e))){var m=o[0],g=o[1],v=o.index;if(d+=e.slice(c,v),c=v+m.length,g)d+=g[1],p=!0;else{var y="",b=e[c],_=o[2],w=o[3],x=o[4],k=o[5];if(!p&&d.length){var M=d.length-1;f.indexOf(d[M])>-1&&(y=d[M],d=d.slice(0,M))}d&&(a.push(d),d="",p=!1);var S=""!==y&&void 0!==b&&b!==y,C="+"===k||"*"===k,T="?"===k||"*"===k,O=y||h,L=w||x;a.push({name:_||s++,prefix:y,delimiter:O,optional:T,repeat:C,partial:S,pattern:L?u(L):"[^"+l(O)+"]+?"})}}return(d||c<e.length)&&a.push(d+e.substr(c)),a}function a(e,t){return s(o(e,t))}function s(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"===typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,r){for(var i="",o=r&&r.encode||encodeURIComponent,a=0;a<e.length;a++){var s=e[a];if("string"!==typeof s){var l,u=n?n[s.name]:void 0;if(Array.isArray(u)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but got array');if(0===u.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var c=0;c<u.length;c++){if(l=o(u[c],s),!t[a].test(l))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'"');i+=(0===c?s.prefix:s.delimiter)+l}}else if("string"!==typeof u&&"number"!==typeof u&&"boolean"!==typeof u){if(!s.optional)throw new TypeError('Expected "'+s.name+'" to be '+(s.repeat?"an array":"a string"));s.partial&&(i+=s.prefix)}else{if(l=o(String(u),s),!t[a].test(l))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but got "'+l+'"');i+=s.prefix+l}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$/()])/g,"\\$1")}function c(e){return e&&e.sensitive?"":"i"}function d(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}function h(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(m(e[i],t,n).source);return new RegExp("(?:"+r.join("|")+")",c(n))}function f(e,t,n){return p(o(e,n),t,n)}function p(e,t,i){i=i||{};for(var o=i.strict,a=!1!==i.start,s=!1!==i.end,u=l(i.delimiter||n),d=i.delimiters||r,h=[].concat(i.endsWith||[]).map(l).concat("$").join("|"),f=a?"^":"",p=0===e.length,m=0;m<e.length;m++){var g=e[m];if("string"===typeof g)f+=l(g),p=m===e.length-1&&d.indexOf(g[g.length-1])>-1;else{var v=g.repeat?"(?:"+g.pattern+")(?:"+l(g.delimiter)+"(?:"+g.pattern+"))*":g.pattern;t&&t.push(g),g.optional?g.partial?f+=l(g.prefix)+"("+v+")?":f+="(?:"+l(g.prefix)+"("+v+"))?":f+=l(g.prefix)+"("+v+")"}}return s?(o||(f+="(?:"+u+")?"),f+="$"===h?"$":"(?="+h+")"):(o||(f+="(?:"+u+"(?="+h+"))?"),p||(f+="(?="+u+"|"+h+")")),new RegExp(f,c(i))}function m(e,t,n){return e instanceof RegExp?d(e,t):Array.isArray(e)?h(e,t,n):f(e,t,n)}},bd86:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("454f"),i=n.n(r),o=n("a6fa");function a(e,t,n){return(t=Object(o["a"])(t))in e?i()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},bdd1:function(e,t,n){n("c6a1")("WeakSet")},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},becb:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.filterNonNumber=s,t.deepMerge=l,t.mulAdd=u,t.mergeSameStackData=c,t.getTwoPointDistance=d,t.getLinearGradientColor=h,t.getPolylineLength=f,t.getPointToLineDistance=p,t.initNeedSeries=m,t.radianToAngle=g;var i=r(n("448a")),o=r(n("7037")),a=n("5557");function s(e){return e.filter((function(e){return"number"===typeof e}))}function l(e,t){for(var n in t)e[n]&&"object"===(0,o["default"])(e[n])?l(e[n],t[n]):"object"!==(0,o["default"])(t[n])?e[n]=t[n]:e[n]=(0,a.deepClone)(t[n],!0);return e}function u(e){return e=s(e),e.reduce((function(e,t){return e+t}),0)}function c(e,t){var n=e.stack;if(!n)return(0,i["default"])(e.data);var r=t.filter((function(e){var t=e.stack;return t===n})),o=r.findIndex((function(t){var n=t.data;return n===e.data})),a=r.splice(0,o+1).map((function(e){var t=e.data;return t})),s=a[0].length;return new Array(s).fill(0).map((function(e,t){return u(a.map((function(e){return e[t]})))}))}function d(e,t){var n=Math.abs(e[0]-t[0]),r=Math.abs(e[1]-t[1]);return Math.sqrt(n*n+r*r)}function h(e,t,n,r){if(e&&t&&n&&r.length){var o=r;"string"===typeof o&&(o=[r,r]);var a=e.createLinearGradient.apply(e,(0,i["default"])(t).concat((0,i["default"])(n))),s=1/(o.length-1);return o.forEach((function(e,t){return a.addColorStop(s*t,e)})),a}}function f(e){var t=new Array(e.length-1).fill(0).map((function(t,n){return[e[n],e[n+1]]})),n=t.map((function(e){return d.apply(void 0,(0,i["default"])(e))}));return u(n)}function p(e,t,n){var r=d(e,t),i=d(e,n),o=d(t,n);return.5*Math.sqrt((r+i+o)*(r+i-o)*(r+o-i)*(i+o-r))/o}function m(e,t,n){return e=e.filter((function(e){var t=e.type;return t===n})),e=e.map((function(e){return l((0,a.deepClone)(t,!0),e)})),e.filter((function(e){var t=e.show;return t}))}function g(e){return e/Math.PI*180}},bef9:function(e,t,n){var r=n("2d95");e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},bf0b:function(e,t,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),a=n("1bc3"),s=n("07e3"),l=n("794b"),u=Object.getOwnPropertyDescriptor;t.f=n("8e60")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},bf90:function(e,t,n){var r=n("36c3"),i=n("bf0b").f;n("ce7e")("getOwnPropertyDescriptor",(function(){return function(e,t){return i(r(e),t)}}))},c02b:function(e,t,n){"use strict";var r=n("643e"),i=n("b39a"),o="WeakSet";n("e0b8")(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,o),e,!0)}},r,!1,!0)},c098:function(e,t,n){e.exports=n("d4af")},c109:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  491. //! moment.js locale configuration
  492. var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t}))},c135:function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},c198:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.BlockCipher,i=t.algo,o=[],a=[],s=[],l=[],u=[],c=[],d=[],h=[],f=[],p=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var i=r^r<<1^r<<2^r<<3^r<<4;i=i>>>8^255&i^99,o[n]=i,a[i]=n;var m=e[n],g=e[m],v=e[g],y=257*e[i]^16843008*i;s[n]=y<<24|y>>>8,l[n]=y<<16|y>>>16,u[n]=y<<8|y>>>24,c[n]=y;y=16843009*v^65537*g^257*m^16843008*n;d[i]=y<<24|y>>>8,h[i]=y<<16|y>>>16,f[i]=y<<8|y>>>24,p[i]=y,n?(n=m^e[e[e[v^m]]],r^=e[e[r]]):n=r=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=this._nRounds=n+6,i=4*(r+1),a=this._keySchedule=[],s=0;s<i;s++)s<n?a[s]=t[s]:(c=a[s-1],s%n?n>6&&s%n==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=c<<8|c>>>24,c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=m[s/n|0]<<24),a[s]=a[s-n]^c);for(var l=this._invKeySchedule=[],u=0;u<i;u++){s=i-u;if(u%4)var c=a[s];else c=a[s-4];l[u]=u<4||s<=4?c:d[o[c>>>24]]^h[o[c>>>16&255]]^f[o[c>>>8&255]]^p[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,l,u,c,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,d,h,f,p,a);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,a,s){for(var l=this._nRounds,u=e[t]^n[0],c=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],f=4,p=1;p<l;p++){var m=r[u>>>24]^i[c>>>16&255]^o[d>>>8&255]^a[255&h]^n[f++],g=r[c>>>24]^i[d>>>16&255]^o[h>>>8&255]^a[255&u]^n[f++],v=r[d>>>24]^i[h>>>16&255]^o[u>>>8&255]^a[255&c]^n[f++],y=r[h>>>24]^i[u>>>16&255]^o[c>>>8&255]^a[255&d]^n[f++];u=m,c=g,d=v,h=y}m=(s[u>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&h])^n[f++],g=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^n[f++],v=(s[d>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&c])^n[f++],y=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[f++];e[t]=m,e[t+1]=g,e[t+2]=v,e[t+3]=y},keySize:8});t.AES=r._createHelper(g)}(),e.AES}))},c1bc:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var o=[],a=0;a<r;a+=3)for(var s=n[a>>>2]>>>24-a%4*8&255,l=n[a+1>>>2]>>>24-(a+1)%4*8&255,u=n[a+2>>>2]>>>24-(a+2)%4*8&255,c=s<<16|l<<8|u,d=0;d<4&&a+.75*d<r;d++)o.push(i.charAt(c>>>6*(3-d)&63));var h=i.charAt(64);if(h)while(o.length%4)o.push(h);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,r=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<r.length;a++)i[r.charCodeAt(a)]=a}var s=r.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(n=l)}return o(e,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(e,t,n){for(var i=[],o=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2,l=n[e.charCodeAt(a)]>>>6-a%4*2,u=s|l;i[o>>>2]|=u<<24-o%4*8,o++}return r.create(i,o)}}(),e.enc.Base64url}))},c1df:function(e,t,n){(function(e){var t;//! moment.js
  493. //! version : 2.30.1
  494. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  495. //! license : MIT
  496. //! momentjs.com
  497. (function(t,n){e.exports=n()})(0,(function(){"use strict";var r,i;function o(){return r.apply(null,arguments)}function a(e){r=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(u(e,t))return!1;return!0}function d(e){return void 0===e}function h(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function m(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function g(e,t,n,r){return Kn(e,t,n,r,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=v()),e._pf}function b(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());return r&&(t=y(e),n=i.call(t.parsedDateParts,(function(e){return null!=e})),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function _(e){var t=g(NaN);return null!=e?m(y(t),e):y(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=o.momentProperties=[],x=!1;function k(e,t){var n,r,i,o=w.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=y(t)),d(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)r=w[n],i=t[r],d(i)||(e[r]=i);return e}function M(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,o.updateOffset(this),x=!1)}function S(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function C(e){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,a,s=[],l=arguments.length;for(i=0;i<l;i++){if(r="","object"===typeof arguments[i]){for(a in r+="\n["+i+"] ",arguments[0])u(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}C(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var O,L={};function A(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),L[e]||(C(t),L[e]=!0)}function D(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)u(e,n)&&(t=e[n],D(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(e,t){var n,r=m({},e);for(n in t)u(t,n)&&(l(e[n])&&l(t[n])?(r[n]={},m(r[n],e[n]),m(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&l(e[n])&&(r[n]=m({},r[n]));return r}function j(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return D(r)?r.call(t,n):r}function N(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var B=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},z={};function H(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(z[e]=i),t&&(z[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function V(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(B);for(t=0,n=r.length;t<n;t++)z[r[t]]?r[t]=z[r[t]]:r[t]=V(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=D(r[i])?r[i].call(t,e):r[i];return o}}function U(e,t){return e.isValid()?(t=$(t,e.localeData()),F[t]=F[t]||W(t),F[t](e)):e.localeData().invalidDate()}function $(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}Y.lastIndex=0;while(n>=0&&Y.test(e))e=e.replace(Y,r),Y.lastIndex=0,n-=1;return e}var G={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(B).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var X="Invalid date";function K(){return this._invalidDate}var Z="%d",J=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var ee={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function te(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)}var re={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ie(e){return"string"===typeof e?re[e]||re[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)u(e,n)&&(t=ie(n),t&&(r[t]=e[n]));return r}var ae={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function se(e){var t,n=[];for(t in e)u(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var le,ue=/\d/,ce=/\d\d/,de=/\d{3}/,he=/\d{4}/,fe=/[+-]?\d{6}/,pe=/\d\d?/,me=/\d\d\d\d?/,ge=/\d\d\d\d\d\d?/,ve=/\d{1,3}/,ye=/\d{1,4}/,be=/[+-]?\d{1,6}/,_e=/\d+/,we=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,Me=/[+-]?\d+(\.\d{1,3})?/,Se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ce=/^[1-9]\d?/,Te=/^([1-9]\d|\d)/;function Oe(e,t,n){le[e]=D(t)?t:function(e,r){return e&&n?n:t}}function Le(e,t){return u(le,e)?le[e](t._strict,t._locale):new RegExp(Ae(e))}function Ae(e){return De(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function De(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ee(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ie(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Ee(t)),n}le={};var je={};function Pe(e,t){var n,r,i=t;for("string"===typeof e&&(e=[e]),h(t)&&(i=function(e,n){n[t]=Ie(e)}),r=e.length,n=0;n<r;n++)je[e[n]]=i}function Re(e,t){Pe(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ne(e,t,n){null!=t&&u(je,e)&&je[e](t,n._a,n,e)}function Be(e){return e%4===0&&e%100!==0||e%400===0}var Ye=0,Fe=1,ze=2,He=3,Ve=4,We=5,Ue=6,$e=7,Ge=8;function qe(e){return Be(e)?366:365}H("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),Oe("Y",we),Oe("YY",pe,ce),Oe("YYYY",ye,he),Oe("YYYYY",be,fe),Oe("YYYYYY",be,fe),Pe(["YYYYY","YYYYYY"],Ye),Pe("YYYY",(function(e,t){t[Ye]=2===e.length?o.parseTwoDigitYear(e):Ie(e)})),Pe("YY",(function(e,t){t[Ye]=o.parseTwoDigitYear(e)})),Pe("Y",(function(e,t){t[Ye]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return Ie(e)+(Ie(e)>68?1900:2e3)};var Xe,Ke=Je("FullYear",!0);function Ze(){return Be(this.year())}function Je(e,t){return function(n){return null!=n?(et(this,e,n),o.updateOffset(this,t),this):Qe(this,e)}}function Qe(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function et(e,t,n){var r,i,o,a,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,a=e.month(),s=e.date(),s=29!==s||1!==a||Be(o)?s:28,i?r.setUTCFullYear(o,a,s):r.setFullYear(o,a,s)}}function tt(e){return e=ie(e),D(this[e])?this[e]():this}function nt(e,t){if("object"===typeof e){e=oe(e);var n,r=se(e),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=ie(e),D(this[e]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=rt(t,12);return e+=(t-n)/12,1===n?Be(e)?29:28:31-n%7%2}Xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Oe("M",pe,Ce),Oe("MM",pe,ce),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Pe(["M","MM"],(function(e,t){t[Fe]=Ie(e)-1})),Pe(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Fe]=i:y(n).invalidMonth=e}));var ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),st=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=Se,ut=Se;function ct(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||st).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months["standalone"]}function dt(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[st.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ht(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=g([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=Xe.call(this._shortMonthsParse,a),-1!==i?i:null):(i=Xe.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=Xe.call(this._shortMonthsParse,a),-1!==i?i:(i=Xe.call(this._longMonthsParse,a),-1!==i?i:null)):(i=Xe.call(this._longMonthsParse,a),-1!==i?i:(i=Xe.call(this._shortMonthsParse,a),-1!==i?i:null))}function ft(e,t,n){var r,i,o;if(this._monthsParseExact)return ht.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=g([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function pt(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Ie(t);else if(t=e.localeData().monthsParse(t),!h(t))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,it(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function mt(e){return null!=e?(pt(this,e),o.updateOffset(this,!0),this):Qe(this,"Month")}function gt(){return it(this.year(),this.month())}function vt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=lt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ut),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,n,r,i,o=[],a=[],s=[];for(t=0;t<12;t++)n=g([2e3,t]),r=De(this.monthsShort(n,"")),i=De(this.months(n,"")),o.push(r),a.push(i),s.push(i),s.push(r);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function _t(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function wt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n,i=(7+wt(e,0,r).getUTCDay()-t)%7;return-i+r-1}function kt(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xt(e,r,i),u=1+7*(t-1)+s+l;return u<=0?(o=e-1,a=qe(o)+u):u>qe(e)?(o=e+1,a=u-qe(e)):(o=e,a=u),{year:o,dayOfYear:a}}function Mt(e,t,n){var r,i,o=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+St(i,t,n)):a>St(e.year(),t,n)?(r=a-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function St(e,t,n){var r=xt(e,t,n),i=xt(e+1,t,n);return(qe(e)-r+i)/7}function Ct(e){return Mt(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Oe("w",pe,Ce),Oe("ww",pe,ce),Oe("W",pe,Ce),Oe("WW",pe,ce),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Ie(e)}));var Tt={dow:0,doy:6};function Ot(){return this._week.dow}function Lt(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Dt(e){var t=Mt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Et(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function It(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Oe("d",pe),Oe("e",pe),Oe("E",pe),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:y(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=Ie(e)}));var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=Se,Yt=Se,Ft=Se;function zt(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vt(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Xe.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=Xe.call(this._weekdaysParse,a),-1!==i?i:(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Xe.call(this._weekdaysParse,a),-1!==i?i:(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:(i=Xe.call(this._weekdaysParse,a),-1!==i?i:(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function Ut(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function $t(e){if(!this.isValid())return null!=e?this:NaN;var t=Qe(this,"Day");return null!=e?(e=Et(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=It(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Xt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=g([2e3,1]).day(t),r=De(this.weekdaysMin(n,"")),i=De(this.weekdaysShort(n,"")),o=De(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function nn(e,t){return t._meridiemParse}function rn(e){return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Qt),H("k",["kk",2],0,en),H("hmm",0,0,(function(){return""+Qt.apply(this)+N(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Qt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),tn("a",!0),tn("A",!1),Oe("a",nn),Oe("A",nn),Oe("H",pe,Te),Oe("h",pe,Ce),Oe("k",pe,Ce),Oe("HH",pe,ce),Oe("hh",pe,ce),Oe("kk",pe,ce),Oe("hmm",me),Oe("hmmss",ge),Oe("Hmm",me),Oe("Hmmss",ge),Pe(["H","HH"],He),Pe(["k","kk"],(function(e,t,n){var r=Ie(e);t[He]=24===r?0:r})),Pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Pe(["h","hh"],(function(e,t,n){t[He]=Ie(e),y(n).bigHour=!0})),Pe("hmm",(function(e,t,n){var r=e.length-2;t[He]=Ie(e.substr(0,r)),t[Ve]=Ie(e.substr(r)),y(n).bigHour=!0})),Pe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=Ie(e.substr(0,r)),t[Ve]=Ie(e.substr(r,2)),t[We]=Ie(e.substr(i)),y(n).bigHour=!0})),Pe("Hmm",(function(e,t,n){var r=e.length-2;t[He]=Ie(e.substr(0,r)),t[Ve]=Ie(e.substr(r))})),Pe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=Ie(e.substr(0,r)),t[Ve]=Ie(e.substr(r,2)),t[We]=Ie(e.substr(i))}));var on=/[ap]\.?m?\.?/i,an=Je("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ln,un={calendar:P,longDateFormat:G,invalidDate:X,ordinal:Z,dayOfMonthOrdinalParse:J,relativeTime:ee,months:ot,monthsShort:at,week:Tt,weekdays:Pt,weekdaysMin:Nt,weekdaysShort:Rt,meridiemParse:on},cn={},dn={};function hn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function fn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){var t,n,r,i,o=0;while(o<e.length){i=fn(e[o]).split("-"),t=i.length,n=fn(e[o+1]),n=n?n.split("-"):null;while(t>0){if(r=gn(i.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&hn(i,n)>=t-1)break;t--}o++}return ln}function mn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function gn(r){var i=null;if(void 0===cn[r]&&"undefined"!==typeof e&&e&&e.exports&&mn(r))try{i=ln._abbr,t,n("4678")("./"+r),vn(i)}catch(o){cn[r]=null}return cn[r]}function vn(e,t){var n;return e&&(n=d(t)?_n(e):yn(e,t),n?ln=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ln._abbr}function yn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=cn[e])A("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(n=gn(t.parentLocale),null==n)return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new j(I(r,t)),dn[e]&&dn[e].forEach((function(e){yn(e.name,e.config)})),vn(e),cn[e]}return delete cn[e],null}function bn(e,t){if(null!=t){var n,r,i=un;null!=cn[e]&&null!=cn[e].parentLocale?cn[e].set(I(cn[e]._config,t)):(r=gn(e),null!=r&&(i=r._config),t=I(i,t),null==r&&(t.abbr=e),n=new j(t),n.parentLocale=cn[e],cn[e]=n),vn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===vn()&&vn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}function _n(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ln;if(!s(e)){if(t=gn(e),t)return t;e=[e]}return pn(e)}function wn(){return O(cn)}function xn(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[Fe]<0||n[Fe]>11?Fe:n[ze]<1||n[ze]>it(n[Ye],n[Fe])?ze:n[He]<0||n[He]>24||24===n[He]&&(0!==n[Ve]||0!==n[We]||0!==n[Ue])?He:n[Ve]<0||n[Ve]>59?Ve:n[We]<0||n[We]>59?We:n[Ue]<0||n[Ue]>999?Ue:-1,y(e)._overflowDayOfYear&&(t<Ye||t>ze)&&(t=ze),y(e)._overflowWeeks&&-1===t&&(t=$e),y(e)._overflowWeekday&&-1===t&&(t=Ge),y(e).overflow=t),e}var kn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Tn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((-?\d+)/i,Ln=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,An={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(e){var t,n,r,i,o,a,s=e._i,l=kn.exec(s)||Mn.exec(s),u=Cn.length,c=Tn.length;if(l){for(y(e).iso=!0,t=0,n=u;t<n;t++)if(Cn[t][1].exec(l[1])){i=Cn[t][0],r=!1!==Cn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(Tn[t][1].exec(l[3])){o=(l[2]||" ")+Tn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Vn(e)}else e._isValid=!1}function En(e,t,n,r,i,o){var a=[In(e),at.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function In(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function jn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,n){if(e){var r=Rt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return y(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Rn(e,t,n){if(e)return An[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}function Nn(e){var t,n=Ln.exec(jn(e._i));if(n){if(t=En(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Bn(e){var t=On.exec(e._i);null===t?(Dn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Yn(e,t,n){return null!=e?e:null!=t?t:n}function Fn(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function zn(e){var t,n,r,i,o,a=[];if(!e._d){for(r=Fn(e),e._w&&null==e._a[ze]&&null==e._a[Fe]&&Hn(e),null!=e._dayOfYear&&(o=Yn(e._a[Ye],r[Ye]),(e._dayOfYear>qe(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Fe]=n.getUTCMonth(),e._a[ze]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[He]&&0===e._a[Ve]&&0===e._a[We]&&0===e._a[Ue]&&(e._nextDay=!0,e._a[He]=0),e._d=(e._useUTC?wt:_t).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[He]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function Hn(e){var t,n,r,i,o,a,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Yn(t.GG,e._a[Ye],Mt(Zn(),1,4).year),r=Yn(t.W,1),i=Yn(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=Mt(Zn(),o,a),n=Yn(t.gg,e._a[Ye],u.year),r=Yn(t.w,u.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>St(n,o,a)?y(e)._overflowWeeks=!0:null!=l?y(e)._overflowWeekday=!0:(s=kt(n,r,i,o,a),e._a[Ye]=s.year,e._dayOfYear=s.dayOfYear)}function Vn(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],y(e).empty=!0;var t,n,r,i,a,s,l,u=""+e._i,c=u.length,d=0;for(r=$(e._f,e._locale).match(B)||[],l=r.length,t=0;t<l;t++)i=r[t],n=(u.match(Le(i,e))||[])[0],n&&(a=u.substr(0,u.indexOf(n)),a.length>0&&y(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),d+=n.length),z[i]?(n?y(e).empty=!1:y(e).unusedTokens.push(i),Ne(i,n,e)):e._strict&&!n&&y(e).unusedTokens.push(i);y(e).charsLeftOver=c-d,u.length>0&&y(e).unusedInput.push(u),e._a[He]<=12&&!0===y(e).bigHour&&e._a[He]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[He]=Wn(e._locale,e._a[He],e._meridiem),s=y(e).era,null!==s&&(e._a[Ye]=e._locale.erasConvertYear(s,e._a[Ye])),zn(e),xn(e)}else Nn(e);else Dn(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Un(e){var t,n,r,i,o,a,s=!1,l=e._f.length;if(0===l)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)o=0,a=!1,t=k({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Vn(t),b(t)&&(a=!0),o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));m(e,n||t)}function $n(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),zn(e)}}function Gn(e){var t=new M(xn(qn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function qn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new M(xn(t)):(f(t)?e._d=t:s(n)?Un(e):n?Vn(e):Xn(e),b(e)||(e._d=null),e))}function Xn(e){var t=e._i;d(t)?e._d=new Date(o.now()):f(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Bn(e):s(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),zn(e)):l(t)?$n(e):h(t)?e._d=new Date(t):o.createFromInputFallback(e)}function Kn(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(l(e)&&c(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Gn(o)}function Zn(e,t,n,r){return Kn(e,t,n,r,!1)}o.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Jn=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Qn=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function er(e,t){var n,r;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Zn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function tr(){var e=[].slice.call(arguments,0);return er("isBefore",e)}function nr(){var e=[].slice.call(arguments,0);return er("isAfter",e)}var rr=function(){return Date.now?Date.now():+new Date},ir=["year","quarter","month","week","day","hour","minute","second","millisecond"];function or(e){var t,n,r=!1,i=ir.length;for(t in e)if(u(e,t)&&(-1===Xe.call(ir,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[ir[n]]){if(r)return!1;parseFloat(e[ir[n]])!==Ie(e[ir[n]])&&(r=!0)}return!0}function ar(){return this._isValid}function sr(){return Ar(NaN)}function lr(e){var t=oe(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=or(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=_n(),this._bubble()}function ur(e){return e instanceof lr}function cr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&Ie(e[r])!==Ie(t[r]))&&a++;return a+o}function hr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),Oe("Z",ke),Oe("ZZ",ke),Pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pr(ke,e)}));var fr=/([\+\-]|\d\d)/gi;function pr(e,t){var n,r,i,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(fr)||["-",0,0],i=60*r[1]+Ie(r[2]),0===i?0:"+"===r[0]?i:-i)}function mr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(S(e)||f(e)?e.valueOf():Zn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Zn(e).local()}function gr(e){return-Math.round(e._d.getTimezoneOffset())}function vr(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=pr(ke,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=gr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Pr(this,Ar(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:gr(this)}function yr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function _r(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(gr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=pr(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?Zn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function kr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mr(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),t=qn(t),t._a?(e=t._isUTC?g(t._a):Zn(t._a),this._isDSTShifted=this.isValid()&&dr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sr(){return!!this.isValid()&&!this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC}function Tr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var Or=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Lr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ar(e,t){var n,r,i,o=e,a=null;return ur(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=Or.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:Ie(a[ze])*n,h:Ie(a[He])*n,m:Ie(a[Ve])*n,s:Ie(a[We])*n,ms:Ie(cr(1e3*a[Ue]))*n}):(a=Lr.exec(e))?(n="-"===a[1]?-1:1,o={y:Dr(a[2],n),M:Dr(a[3],n),w:Dr(a[4],n),d:Dr(a[5],n),h:Dr(a[6],n),m:Dr(a[7],n),s:Dr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Ir(Zn(o.from),Zn(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new lr(o),ur(e)&&u(e,"_locale")&&(r._locale=e._locale),ur(e)&&u(e,"_isValid")&&(r._isValid=e._isValid),r}function Dr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Er(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ir(e,t){var n;return e.isValid()&&t.isValid()?(t=mr(t,e),e.isBefore(t)?n=Er(e,t):(n=Er(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function jr(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(A(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=Ar(n,r),Pr(this,i,e),this}}function Pr(e,t,n,r){var i=t._milliseconds,a=cr(t._days),s=cr(t._months);e.isValid()&&(r=null==r||r,s&&pt(e,Qe(e,"Month")+s*n),a&&et(e,"Date",Qe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||s))}Ar.fn=lr.prototype,Ar.invalid=sr;var Rr=jr(1,"add"),Nr=jr(-1,"subtract");function Br(e){return"string"===typeof e||e instanceof String}function Yr(e){return S(e)||f(e)||Br(e)||h(e)||zr(e)||Fr(e)||null===e||void 0===e}function Fr(e){var t,n,r=l(e)&&!c(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)n=o[t],i=i||u(e,n);return r&&i}function zr(e){var t=s(e),n=!1;return t&&(n=0===e.filter((function(t){return!h(t)&&Br(e)})).length),t&&n}function Hr(e){var t,n,r=l(e)&&!c(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||u(e,n);return r&&i}function Vr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Wr(e,t){1===arguments.length&&(arguments[0]?Yr(arguments[0])?(e=arguments[0],t=void 0):Hr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Zn(),r=mr(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Zn(n)))}function Ur(){return new M(this)}function $r(e,t){var n=S(e)?e:Zn(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Gr(e,t){var n=S(e)?e:Zn(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function qr(e,t,n,r){var i=S(e)?e:Zn(e),o=S(t)?t:Zn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function Xr(e,t){var n,r=S(e)?e:Zn(e);return!(!this.isValid()||!r.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(r=mr(e,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=ie(t),t){case"year":o=Qr(this,r)/12;break;case"month":o=Qr(this,r);break;case"quarter":o=Qr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:Ee(o)}function Qr(e,t){if(e.date()<t.date())return-Qr(t,e);var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function ei(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ti(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ni(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ri(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function ii(e,t){return this.isValid()&&(S(e)&&e.isValid()||Zn(e).isValid())?Ar({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.from(Zn(),e)}function ai(e,t){return this.isValid()&&(S(e)&&e.isValid()||Zn(e).isValid())?Ar({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to(Zn(),e)}function li(e){var t;return void 0===e?this._locale._abbr:(t=_n(e),null!=t&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ui=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var di=1e3,hi=60*di,fi=60*hi,pi=3506328*fi;function mi(e,t){return(e%t+t)%t}function gi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-pi:new Date(e,t,n).valueOf()}function vi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-pi:Date.UTC(e,t,n)}function yi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vi:gi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*hi),fi);break;case"minute":t=this._d.valueOf(),t-=mi(t,hi);break;case"second":t=this._d.valueOf(),t-=mi(t,di);break}return this._d.setTime(t),o.updateOffset(this,!0),this}function bi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vi:gi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-mi(t+(this._isUTC?0:this.utcOffset()*hi),fi)-1;break;case"minute":t=this._d.valueOf(),t+=hi-mi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=di-mi(t,di)-1;break}return this._d.setTime(t),o.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function ki(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Si(){return this.isValid()?this.toISOString():null}function Ci(){return b(this)}function Ti(){return m({},y(this))}function Oi(){return y(this).overflow}function Li(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ai(e,t){var n,r,i,a=this._eras||_n("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=o(a[n].since).startOf("day"),a[n].since=i.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf();break}}return a}function Di(e,t,n){var r,i,o,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r];break}else if([o,a,s].indexOf(e)>=0)return l[r]}function Ei(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n}function Ii(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function ji(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Pi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ri(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()}function Ni(e){return u(this,"_erasNameRegex")||Wi.call(this),e?this._erasNameRegex:this._erasRegex}function Bi(e){return u(this,"_erasAbbrRegex")||Wi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Yi(e){return u(this,"_erasNarrowRegex")||Wi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function zi(e,t){return t.erasNameRegex(e)}function Hi(e,t){return t.erasNarrowRegex(e)}function Vi(e,t){return t._eraYearOrdinalRegex||_e}function Wi(){var e,t,n,r,i,o=[],a=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)n=De(u[e].name),r=De(u[e].abbr),i=De(u[e].narrow),a.push(n),o.push(r),s.push(i),l.push(n),l.push(r),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Ui(e,t){H(0,[e,e.length],0,t)}function $i(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qi(){return St(this.year(),1,4)}function Xi(){return St(this.isoWeekYear(),1,4)}function Ki(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Ji(e,t,n,r,i){var o;return null==e?Mt(this,r,i).year:(o=St(e,r,i),t>o&&(t=o),Qi.call(this,e,t,n,r,i))}function Qi(e,t,n,r,i){var o=kt(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function eo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Oe("N",Fi),Oe("NN",Fi),Oe("NNN",Fi),Oe("NNNN",zi),Oe("NNNNN",Hi),Pe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?y(n).era=i:y(n).invalidEra=e})),Oe("y",_e),Oe("yy",_e),Oe("yyy",_e),Oe("yyyy",_e),Oe("yo",Vi),Pe(["y","yy","yyy","yyyy"],Ye),Pe(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ye]=n._locale.eraYearOrdinalParse(e,i):t[Ye]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ui("gggg","weekYear"),Ui("ggggg","weekYear"),Ui("GGGG","isoWeekYear"),Ui("GGGGG","isoWeekYear"),Oe("G",we),Oe("g",we),Oe("GG",pe,ce),Oe("gg",pe,ce),Oe("GGGG",ye,he),Oe("gggg",ye,he),Oe("GGGGG",be,fe),Oe("ggggg",be,fe),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Ie(e)})),Re(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),Oe("Q",ue),Pe("Q",(function(e,t){t[Fe]=3*(Ie(e)-1)})),H("D",["DD",2],"Do","date"),Oe("D",pe,Ce),Oe("DD",pe,ce),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Pe(["D","DD"],ze),Pe("Do",(function(e,t){t[ze]=Ie(e.match(pe)[0])}));var to=Je("Date",!0);function no(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),Oe("DDD",ve),Oe("DDDD",de),Pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Ie(e)})),H("m",["mm",2],0,"minute"),Oe("m",pe,Te),Oe("mm",pe,ce),Pe(["m","mm"],Ve);var ro=Je("Minutes",!1);H("s",["ss",2],0,"second"),Oe("s",pe,Te),Oe("ss",pe,ce),Pe(["s","ss"],We);var io,oo,ao=Je("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Oe("S",ve,ue),Oe("SS",ve,ce),Oe("SSS",ve,de),io="SSSS";io.length<=9;io+="S")Oe(io,_e);function so(e,t){t[Ue]=Ie(1e3*("0."+e))}for(io="S";io.length<=9;io+="S")Pe(io,so);function lo(){return this._isUTC?"UTC":""}function uo(){return this._isUTC?"Coordinated Universal Time":""}oo=Je("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var co=M.prototype;function ho(e){return Zn(1e3*e)}function fo(){return Zn.apply(null,arguments).parseZone()}function po(e){return e}co.add=Rr,co.calendar=Wr,co.clone=Ur,co.diff=Jr,co.endOf=bi,co.format=ri,co.from=ii,co.fromNow=oi,co.to=ai,co.toNow=si,co.get=tt,co.invalidAt=Oi,co.isAfter=$r,co.isBefore=Gr,co.isBetween=qr,co.isSame=Xr,co.isSameOrAfter=Kr,co.isSameOrBefore=Zr,co.isValid=Ci,co.lang=ui,co.locale=li,co.localeData=ci,co.max=Qn,co.min=Jn,co.parsingFlags=Ti,co.set=nt,co.startOf=yi,co.subtract=Nr,co.toArray=ki,co.toObject=Mi,co.toDate=xi,co.toISOString=ti,co.inspect=ni,"undefined"!==typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Si,co.toString=ei,co.unix=wi,co.valueOf=_i,co.creationData=Li,co.eraName=Ii,co.eraNarrow=ji,co.eraAbbr=Pi,co.eraYear=Ri,co.year=Ke,co.isLeapYear=Ze,co.weekYear=$i,co.isoWeekYear=Gi,co.quarter=co.quarters=eo,co.month=mt,co.daysInMonth=gt,co.week=co.weeks=At,co.isoWeek=co.isoWeeks=Dt,co.weeksInYear=Ki,co.weeksInWeekYear=Zi,co.isoWeeksInYear=qi,co.isoWeeksInISOWeekYear=Xi,co.date=to,co.day=co.days=$t,co.weekday=Gt,co.isoWeekday=qt,co.dayOfYear=no,co.hour=co.hours=an,co.minute=co.minutes=ro,co.second=co.seconds=ao,co.millisecond=co.milliseconds=oo,co.utcOffset=vr,co.utc=br,co.local=_r,co.parseZone=wr,co.hasAlignedHourOffset=xr,co.isDST=kr,co.isLocal=Sr,co.isUtcOffset=Cr,co.isUtc=Tr,co.isUTC=Tr,co.zoneAbbr=lo,co.zoneName=uo,co.dates=T("dates accessor is deprecated. Use date instead.",to),co.months=T("months accessor is deprecated. Use month instead",mt),co.years=T("years accessor is deprecated. Use year instead",Ke),co.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mr);var mo=j.prototype;function go(e,t,n,r){var i=_n(),o=g().set(r,t);return i[n](o,e)}function vo(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return go(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=go(e,r,n,"month");return i}function yo(e,t,n,r){"boolean"===typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),a=e?o._week.dow:0,s=[];if(null!=n)return go(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=go(t,(i+a)%7,r,"day");return s}function bo(e,t){return vo(e,t,"months")}function _o(e,t){return vo(e,t,"monthsShort")}function wo(e,t,n){return yo(e,t,n,"weekdays")}function xo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}mo.calendar=R,mo.longDateFormat=q,mo.invalidDate=K,mo.ordinal=Q,mo.preparse=po,mo.postformat=po,mo.relativeTime=te,mo.pastFuture=ne,mo.set=E,mo.eras=Ai,mo.erasParse=Di,mo.erasConvertYear=Ei,mo.erasAbbrRegex=Bi,mo.erasNameRegex=Ni,mo.erasNarrowRegex=Yi,mo.months=ct,mo.monthsShort=dt,mo.monthsParse=ft,mo.monthsRegex=yt,mo.monthsShortRegex=vt,mo.week=Ct,mo.firstDayOfYear=Lt,mo.firstDayOfWeek=Ot,mo.weekdays=zt,mo.weekdaysMin=Vt,mo.weekdaysShort=Ht,mo.weekdaysParse=Ut,mo.weekdaysRegex=Xt,mo.weekdaysShortRegex=Kt,mo.weekdaysMinRegex=Zt,mo.isPM=rn,mo.meridiem=sn,vn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===Ie(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),o.lang=T("moment.lang is deprecated. Use moment.locale instead.",vn),o.langData=T("moment.langData is deprecated. Use moment.localeData instead.",_n);var Mo=Math.abs;function So(){var e=this._data;return this._milliseconds=Mo(this._milliseconds),this._days=Mo(this._days),this._months=Mo(this._months),e.milliseconds=Mo(e.milliseconds),e.seconds=Mo(e.seconds),e.minutes=Mo(e.minutes),e.hours=Mo(e.hours),e.months=Mo(e.months),e.years=Mo(e.years),this}function Co(e,t,n,r){var i=Ar(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function To(e,t){return Co(this,e,t,1)}function Oo(e,t){return Co(this,e,t,-1)}function Lo(e){return e<0?Math.floor(e):Math.ceil(e)}function Ao(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Lo(Eo(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=Ee(o/1e3),l.seconds=e%60,t=Ee(e/60),l.minutes=t%60,n=Ee(t/60),l.hours=n%24,a+=Ee(n/24),i=Ee(Do(a)),s+=i,a-=Lo(Eo(i)),r=Ee(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Do(e){return 4800*e/146097}function Eo(e){return 146097*e/4800}function Io(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ie(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Do(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Eo(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function jo(e){return function(){return this.as(e)}}var Po=jo("ms"),Ro=jo("s"),No=jo("m"),Bo=jo("h"),Yo=jo("d"),Fo=jo("w"),zo=jo("M"),Ho=jo("Q"),Vo=jo("y"),Wo=Po;function Uo(){return Ar(this)}function $o(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Go(e){return function(){return this.isValid()?this._data[e]:NaN}}var qo=Go("milliseconds"),Xo=Go("seconds"),Ko=Go("minutes"),Zo=Go("hours"),Jo=Go("days"),Qo=Go("months"),ea=Go("years");function ta(){return Ee(this.days()/7)}var na=Math.round,ra={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ia(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function oa(e,t,n,r){var i=Ar(e).abs(),o=na(i.as("s")),a=na(i.as("m")),s=na(i.as("h")),l=na(i.as("d")),u=na(i.as("M")),c=na(i.as("w")),d=na(i.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=r,ia.apply(null,h)}function aa(e){return void 0===e?na:"function"===typeof e&&(na=e,!0)}function sa(e,t){return void 0!==ra[e]&&(void 0===t?ra[e]:(ra[e]=t,"s"===e&&(ra.ss=t-1),!0))}function la(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ra;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},ra,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=oa(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var ua=Math.abs;function ca(e){return(e>0)-(e<0)||+e}function da(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=ua(this._milliseconds)/1e3,u=ua(this._days),c=ua(this._months),d=this.asSeconds();return d?(e=Ee(l/60),t=Ee(e/60),l%=60,e%=60,n=Ee(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=ca(this._months)!==ca(d)?"-":"",a=ca(this._days)!==ca(d)?"-":"",s=ca(this._milliseconds)!==ca(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ha=lr.prototype;return ha.isValid=ar,ha.abs=So,ha.add=To,ha.subtract=Oo,ha.as=Io,ha.asMilliseconds=Po,ha.asSeconds=Ro,ha.asMinutes=No,ha.asHours=Bo,ha.asDays=Yo,ha.asWeeks=Fo,ha.asMonths=zo,ha.asQuarters=Ho,ha.asYears=Vo,ha.valueOf=Wo,ha._bubble=Ao,ha.clone=Uo,ha.get=$o,ha.milliseconds=qo,ha.seconds=Xo,ha.minutes=Ko,ha.hours=Zo,ha.days=Jo,ha.weeks=ta,ha.months=Qo,ha.years=ea,ha.humanize=la,ha.toISOString=da,ha.toString=da,ha.toJSON=da,ha.locale=li,ha.localeData=ci,ha.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",da),ha.lang=ui,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Oe("x",we),Oe("X",Me),Pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Pe("x",(function(e,t,n){n._d=new Date(Ie(e))})),
  498. //! moment.js
  499. o.version="2.30.1",a(Zn),o.fn=co,o.min=tr,o.max=nr,o.now=rr,o.utc=g,o.unix=ho,o.months=bo,o.isDate=f,o.locale=vn,o.invalid=_,o.duration=Ar,o.isMoment=S,o.weekdays=wo,o.parseZone=fo,o.localeData=_n,o.isDuration=ur,o.monthsShort=_o,o.weekdaysMin=ko,o.defineLocale=yn,o.updateLocale=bn,o.locales=wn,o.weekdaysShort=xo,o.normalizeUnits=ie,o.relativeTimeRounding=aa,o.relativeTimeThreshold=sa,o.calendarFormat=Vr,o.prototype=co,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}))}).call(this,n("7ebd")(e))},c207:function(e,t){},c240:function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},c26b:function(e,t,n){"use strict";var r=n("86cc").f,i=n("2aeb"),o=n("dcbc"),a=n("9b43"),s=n("f605"),l=n("4a59"),u=n("01f9"),c=n("d53b"),d=n("7a56"),h=n("9e1e"),f=n("67ab").fastKey,p=n("b39a"),m=h?"_s":"size",g=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,r){s(e,c,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[u],e)}));return o(c.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=p(this,t),r=g(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(e){p(this,t);var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(e){return!!g(p(this,t),e)}}),h&&r(c.prototype,"size",{get:function(){return p(this,t)[m]}}),c},def:function(e,t,n){var r,i,o=g(e,t);return o?o.v=n:(e._l=o={i:i=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){var e=this,t=e._k,n=e._l;while(n&&n.r)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?c(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,c(1))}),n?"entries":"values",!n,!0),d(t)}}},c280:function(e,t,n){},c2ca:function(e,t,n){},c345:function(e,t,n){"use strict";var r=n("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},c366:function(e,t,n){var r=n("6821"),i=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},c367:function(e,t,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),a=n("36c3");e.exports=n("30f1")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(e,t,n){var r=n("e6f3"),i=n("1691");e.exports=Object.keys||function(e){return r(e,i)}},c3b6:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=i.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var o=0;i<256;i++){var a=i%n,s=t[a>>>2]>>>24-a%4*8&255;o=(o+r[i]+s)%256;var l=r[i];r[i]=r[o],r[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,r=0,i=0;i<4;i++){t=(t+1)%256,n=(n+e[t])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,r}t.RC4=r._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=r._createHelper(s)}(),e.RC4}))},c3f0:function(e,t,n){"use strict";e.exports=function(e){return JSON.stringify(e,null,2)}},c401:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},c423:function(e,t,n){},c45f:function(e,t,n){"use strict";var r=n("1169"),i=n("d3f4"),o=n("9def"),a=n("9b43"),s=n("2b4c")("isConcatSpreadable");function l(e,t,n,u,c,d,h,f){var p,m,g=c,v=0,y=!!h&&a(h,f,3);while(v<u){if(v in n){if(p=y?y(n[v],v,t):n[v],m=!1,i(p)&&(m=p[s],m=void 0!==m?!!m:r(p)),m&&d>0)g=l(e,t,p,o(p.length),g,d-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=p}g++}v++}return g}e.exports=l},c532:function(e,t,n){"use strict";var r=n("1d2b"),i=n("044b"),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function c(e){return"string"===typeof e}function d(e){return"number"===typeof e}function h(e){return"undefined"===typeof e}function f(e){return null!==e&&"object"===typeof e}function p(e){return"[object Date]"===o.call(e)}function m(e){return"[object File]"===o.call(e)}function g(e){return"[object Blob]"===o.call(e)}function v(e){return"[object Function]"===o.call(e)}function y(e){return f(e)&&v(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function _(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function k(){var e={};function t(t,n){"object"===typeof e[n]&&"object"===typeof t?e[n]=k(e[n],t):e[n]=t}for(var n=0,r=arguments.length;n<r;n++)x(arguments[n],t);return e}function M(e,t,n){return x(t,(function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t})),e}e.exports={isArray:a,isArrayBuffer:s,isBuffer:i,isFormData:l,isArrayBufferView:u,isString:c,isNumber:d,isObject:f,isUndefined:h,isDate:p,isFile:m,isBlob:g,isFunction:v,isStream:y,isURLSearchParams:b,isStandardBrowserEnv:w,forEach:x,merge:k,extend:M,trim:_}},c5b4:function(e,t,n){"use strict";e.exports=n("2d00")||!n("79e5")((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete n("7726")[e]}))},c5f6:function(e,t,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),a=n("5dbc"),s=n("6a99"),l=n("79e5"),u=n("9093").f,c=n("11e9").f,d=n("86cc").f,h=n("aa77").trim,f="Number",p=r[f],m=p,g=p.prototype,v=o(n("2aeb")(g))==f,y="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=y?t.trim():h(t,3);var n,r,i,o=t.charCodeAt(0);if(43===o||45===o){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;u<c;u++)if(a=l.charCodeAt(u),a<48||a>i)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(v?l((function(){g.valueOf.call(n)})):o(n)!=f)?a(new m(b(t)),n,p):b(t)};for(var _,w=n("9e1e")?u(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)i(m,_=w[x])&&!i(p,_)&&d(p,_,c(m,_));p.prototype=g,g.constructor=p,n("2aba")(r,f,p)}},c66f:function(e,t,n){"use strict";var r=n("5ca1"),i=n("0f88"),o=n("ed0b"),a=n("cb7c"),s=n("77f1"),l=n("9def"),u=n("d3f4"),c=n("7726").ArrayBuffer,d=n("ebd6"),h=o.ArrayBuffer,f=o.DataView,p=i.ABV&&c.isView,m=h.prototype.slice,g=i.VIEW,v="ArrayBuffer";r(r.G+r.W+r.F*(c!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,v,{isView:function(e){return p&&p(e)||u(e)&&g in e}}),r(r.P+r.U+r.F*n("79e5")((function(){return!new h(2).slice(1,void 0).byteLength})),v,{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);var n=a(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(d(this,h))(l(i-r)),u=new f(this),c=new f(o),p=0;while(r<i)c.setUint8(p++,u.getUint8(r++));return o}}),n("7a56")(v)},c698:function(e,t,n){var r=n("5ca1");r(r.S,"Reflect",{ownKeys:n("990b")})},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c6a1:function(e,t,n){"use strict";var r=n("5ca1");e.exports=function(e){r(r.S,e,{of:function(){var e=arguments.length,t=new Array(e);while(e--)t[e]=arguments[e];return new this(t)}})}},c71c:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return vn}));var i=n("c82c"),o=n.n(i),a=n("2b0e"),s="object"==typeof e&&e&&e.Object===Object&&e,l=s,u="object"==typeof self&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),d=c,h=d.Symbol,f=h,p=Object.prototype,m=p.hasOwnProperty,g=p.toString,v=f?f.toStringTag:void 0;function y(e){var t=m.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(o){}var i=g.call(e);return r&&(t?e[v]=n:delete e[v]),i}var b=Object.prototype,_=b.toString;function w(e){return _.call(e)}var x="[object Null]",k="[object Undefined]",M=f?f.toStringTag:void 0;function S(e){return null==e?void 0===e?k:x:M&&M in Object(e)?y(e):w(e)}function C(e){return null!=e&&"object"==typeof e}var T="[object Symbol]";function O(e){return"symbol"==typeof e||C(e)&&S(e)==T}var L=Array.isArray,A=L,D=/\s/;function E(e){var t=e.length;while(t--&&D.test(e.charAt(t)));return t}var I=/^\s+/;function j(e){return e?e.slice(0,E(e)+1).replace(I,""):e}function P(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var R=NaN,N=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,Y=/^0o[0-7]+$/i,F=parseInt;function z(e){if("number"==typeof e)return e;if(O(e))return R;if(P(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=P(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=j(e);var n=B.test(e);return n||Y.test(e)?F(e.slice(2),n?2:8):N.test(e)?R:+e}function H(e){return e}var V="[object AsyncFunction]",W="[object Function]",U="[object GeneratorFunction]",$="[object Proxy]";function G(e){if(!P(e))return!1;var t=S(e);return t==W||t==U||t==V||t==$}var q=d["__core-js_shared__"],X=q,K=function(){var e=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Z(e){return!!K&&K in e}var J=Function.prototype,Q=J.toString;function ee(e){if(null!=e){try{return Q.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var te=/[\\^$.*+?()[\]{}|]/g,ne=/^\[object .+?Constructor\]$/,re=Function.prototype,ie=Object.prototype,oe=re.toString,ae=ie.hasOwnProperty,se=RegExp("^"+oe.call(ae).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function le(e){if(!P(e)||Z(e))return!1;var t=G(e)?se:ne;return t.test(ee(e))}function ue(e,t){return null==e?void 0:e[t]}function ce(e,t){var n=ue(e,t);return le(n)?n:void 0}function de(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var he=800,fe=16,pe=Date.now;function me(e){var t=0,n=0;return function(){var r=pe(),i=fe-(r-n);if(n=r,i>0){if(++t>=he)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ge(e){return function(){return e}}var ve=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),ye=ve,be=ye?function(e,t){return ye(e,"toString",{configurable:!0,enumerable:!1,value:ge(t),writable:!0})}:H,_e=be,we=me(_e),xe=we,ke=9007199254740991,Me=/^(?:0|[1-9]\d*)$/;function Se(e,t){var n=typeof e;return t=null==t?ke:t,!!t&&("number"==n||"symbol"!=n&&Me.test(e))&&e>-1&&e%1==0&&e<t}function Ce(e,t,n){"__proto__"==t&&ye?ye(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Te(e,t){return e===t||e!==e&&t!==t}var Oe=Object.prototype,Le=Oe.hasOwnProperty;function Ae(e,t,n){var r=e[t];Le.call(e,t)&&Te(r,n)&&(void 0!==n||t in e)||Ce(e,t,n)}function De(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;while(++o<a){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Ce(n,s,l):Ae(n,s,l)}return n}var Ee=Math.max;function Ie(e,t,n){return t=Ee(void 0===t?e.length-1:t,0),function(){var r=arguments,i=-1,o=Ee(r.length-t,0),a=Array(o);while(++i<o)a[i]=r[t+i];i=-1;var s=Array(t+1);while(++i<t)s[i]=r[i];return s[t]=n(a),de(e,this,s)}}function je(e,t){return xe(Ie(e,t,H),e+"")}var Pe=9007199254740991;function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Pe}function Ne(e){return null!=e&&Re(e.length)&&!G(e)}function Be(e,t,n){if(!P(n))return!1;var r=typeof t;return!!("number"==r?Ne(n)&&Se(t,n.length):"string"==r&&t in n)&&Te(n[t],e)}function Ye(e){return je((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&Be(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);while(++r<i){var s=n[r];s&&e(t,s,r,o)}return t}))}var Fe=Object.prototype;function ze(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Fe;return e===n}function He(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}var Ve="[object Arguments]";function We(e){return C(e)&&S(e)==Ve}var Ue=Object.prototype,$e=Ue.hasOwnProperty,Ge=Ue.propertyIsEnumerable,qe=We(function(){return arguments}())?We:function(e){return C(e)&&$e.call(e,"callee")&&!Ge.call(e,"callee")},Xe=qe;function Ke(){return!1}var Ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,Je=Ze&&"object"==typeof r&&r&&!r.nodeType&&r,Qe=Je&&Je.exports===Ze,et=Qe?d.Buffer:void 0,tt=et?et.isBuffer:void 0,nt=tt||Ke,rt=nt,it="[object Arguments]",ot="[object Array]",at="[object Boolean]",st="[object Date]",lt="[object Error]",ut="[object Function]",ct="[object Map]",dt="[object Number]",ht="[object Object]",ft="[object RegExp]",pt="[object Set]",mt="[object String]",gt="[object WeakMap]",vt="[object ArrayBuffer]",yt="[object DataView]",bt="[object Float32Array]",_t="[object Float64Array]",wt="[object Int8Array]",xt="[object Int16Array]",kt="[object Int32Array]",Mt="[object Uint8Array]",St="[object Uint8ClampedArray]",Ct="[object Uint16Array]",Tt="[object Uint32Array]",Ot={};function Lt(e){return C(e)&&Re(e.length)&&!!Ot[S(e)]}function At(e){return function(t){return e(t)}}Ot[bt]=Ot[_t]=Ot[wt]=Ot[xt]=Ot[kt]=Ot[Mt]=Ot[St]=Ot[Ct]=Ot[Tt]=!0,Ot[it]=Ot[ot]=Ot[vt]=Ot[at]=Ot[yt]=Ot[st]=Ot[lt]=Ot[ut]=Ot[ct]=Ot[dt]=Ot[ht]=Ot[ft]=Ot[pt]=Ot[mt]=Ot[gt]=!1;var Dt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Dt&&"object"==typeof r&&r&&!r.nodeType&&r,It=Et&&Et.exports===Dt,jt=It&&l.process,Pt=function(){try{var e=Et&&Et.require&&Et.require("util").types;return e||jt&&jt.binding&&jt.binding("util")}catch(t){}}(),Rt=Pt,Nt=Rt&&Rt.isTypedArray,Bt=Nt?At(Nt):Lt,Yt=Bt,Ft=Object.prototype,zt=Ft.hasOwnProperty;function Ht(e,t){var n=A(e),r=!n&&Xe(e),i=!n&&!r&&rt(e),o=!n&&!r&&!i&&Yt(e),a=n||r||i||o,s=a?He(e.length,String):[],l=s.length;for(var u in e)!t&&!zt.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Se(u,l))||s.push(u);return s}function Vt(e,t){return function(n){return e(t(n))}}var Wt=Vt(Object.keys,Object),Ut=Wt,$t=Object.prototype,Gt=$t.hasOwnProperty;function qt(e){if(!ze(e))return Ut(e);var t=[];for(var n in Object(e))Gt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Xt(e){return Ne(e)?Ht(e):qt(e)}var Kt=Object.prototype,Zt=Kt.hasOwnProperty,Jt=Ye((function(e,t){if(ze(t)||Ne(t))De(t,Xt(t),e);else for(var n in t)Zt.call(t,n)&&Ae(e,n,t[n])})),Qt=Jt,en=function(){return d.Date.now()},tn=en,nn="Expected a function",rn=Math.max,on=Math.min;function an(e,t,n){var r,i,o,a,s,l,u=0,c=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError(nn);function f(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n),a}function p(e){return u=e,s=setTimeout(v,t),c?f(e):a}function m(e){var n=e-l,r=e-u,i=t-n;return d?on(i,o-r):i}function g(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||d&&r>=o}function v(){var e=tn();if(g(e))return y(e);s=setTimeout(v,m(e))}function y(e){return s=void 0,h&&r?f(e):(r=i=void 0,a)}function b(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0}function _(){return void 0===s?a:y(tn())}function w(){var e=tn(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return p(l);if(d)return clearTimeout(s),s=setTimeout(v,t),f(l)}return void 0===s&&(s=setTimeout(v,t)),a}return t=z(t)||0,P(n)&&(c=!!n.leading,d="maxWait"in n,o=d?rn(z(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),w.cancel=b,w.flush=_,w}var sn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default",null,{images:e.images,options:e.options})],2)},ln=[];function un(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}const cn={props:{images:{type:Array},rebuild:{type:Boolean,default:!1},trigger:{},options:{type:Object}},data(){return{}},computed:{},watch:{images(){this.$nextTick(()=>{this.onChange()})},trigger:{handler(){this.$nextTick(()=>{this.onChange()})},deep:!0},options:{handler(){this.$nextTick(()=>{this.rebuildViewer()})},deep:!0}},mounted(){this.createViewer()},unmounted(){this.destroyViewer()},methods:{onChange(){this.rebuild?this.rebuildViewer():this.updateViewer()},rebuildViewer(){this.destroyViewer(),this.createViewer()},updateViewer(){this.$viewer?(this.$viewer.update(),this.$emit("inited",this.$viewer)):this.createViewer()},destroyViewer(){this.$viewer&&this.$viewer.destroy()},createViewer(){this.$viewer=new o.a(this.$el,this.options),this.$emit("inited",this.$viewer)}}},dn={};var hn=un(cn,sn,ln,!1,fn,null,null,null);function fn(e){for(let t in dn)this[t]=dn[t]}var pn=function(){return hn.exports}();const mn=({name:e="viewer",debug:t=!1}={})=>{function n(t,n,i=!1,s=!1){a["default"].nextTick(()=>{s&&!r(t)||(i||!t["$"+e]?(l(t),t["$"+e]=new o.a(t,n),d("Viewer created")):(t["$"+e].update(),d("Viewer updated")))})}function r(e){const t=e.innerHTML.match(/<img([\w\W]+?)[\\/]?>/g),n=t?t.join(""):void 0;return e.__viewerImageDiffCache===n?(d("Element change detected, but image(s) has not changed"),!1):(d("Image change detected"),e.__viewerImageDiffCache=n,!0)}function i(e,t,n,r){u(e);const i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(!i)return void d("Observer not supported");const o=new i(i=>{i.forEach(i=>{d("Viewer mutation:"+i.type),n(e,t,r,!0)})}),a={attributes:!0,childList:!0,characterData:!0,subtree:!0};o.observe(e,a),e.__viewerMutationObserver=o,d("Observer created")}function s(e,{expression:t},n,r){const i=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/;t&&i.test(t)?(e.__viewerUnwatch=n.context.$watch(t,(n,i)=>{d("Change detected by watcher: ",t),r(e,n,!0)},{deep:!0}),d("Watcher created, expression: ",t)):d("Only simple dot-delimited paths can create watcher")}function l(t){t["$"+e]&&(t["$"+e].destroy(),delete t["$"+e],d("Viewer destroyed"))}function u(e){e.__viewerMutationObserver&&(e.__viewerMutationObserver.disconnect(),delete e.__viewerMutationObserver,d("Observer destroyed"))}function c(e){e.__viewerUnwatch&&(e.__viewerUnwatch(),delete e.__viewerUnwatch,d("Watcher destroyed"))}function d(){t&&console.log(...arguments)}const h={bind(e,t,r){d("Viewer bind");const o=an(n,50);o(e,t.value),s(e,t,r,o),t.modifiers.static||i(e,t.value,o,t.modifiers.rebuild)},unbind(e,t){d("Viewer unbind"),u(e),c(e),l(e)}};return h},gn=({images:e=[],options:t={}}={})=>{t=Qt(t,{inline:!1});const n=a["default"].extend({render(t){return t("div",{style:{display:"none"},class:["__viewer-token"]},e.map(e=>t("img",{attrs:"string"===typeof e?{src:e}:e})))}}),r=new n;r.$mount(),document.body.appendChild(r.$el);const i=new o.a(r.$el,t),s=i.destroy.bind(i);return i.destroy=function(){return s(),r.$destroy(),document.body.removeChild(r.$el),i},i.show(),r.$el.addEventListener("hidden",(function(){this.viewer===i&&i.destroy()})),i};var vn={install(e,{name:t="viewer",debug:n=!1,defaultOptions:r}={}){o.a.setDefaults(r),e.component(t,Qt(pn,{name:t})),e.directive(t,mn({name:t,debug:n})),e.prototype[`$${t}Api`]=gn},setDefaults(e){o.a.setDefaults(e)}}}).call(this,n("24aa"),n("faff")(e))},c775:function(e,t,n){var r=n("5ca1");r(r.S,"Math",{scale:n("e9d2")})},c7aa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  500. //! moment.js locale configuration
  501. var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},c7c6:function(e,t,n){var r=n("5ca1"),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){var n,r,o=0,a=0,s=arguments.length,l=0;while(a<s)n=i(arguments[a++]),l<n?(r=l/n,o=o*r*r+1,l=n):n>0?(r=n/l,o+=r*r):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},c7c62:function(e,t,n){var r=n("5ca1"),i=n("2d5c"),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},c7c8:function(e,t,n){},c7ca:function(e,t,n){n("3a72")("observable")},c80c:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n("7618"),i=n("454f"),o=n.n(i),a=n("f921"),s=n.n(a),l=n("dc62"),u=n.n(l),c=n("fa99"),d=n.n(c),h=n("25b0"),f=n.n(h),p=n("696e"),m=n.n(p);function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  502. g=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=o.a||function(e,t,n){e[t]=n.value},l="function"==typeof s.a?s.a:{},c=l.iterator||"@@iterator",h=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function v(e,t,n){return o()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{v({},"")}catch(e){v=function(e,t,n){return e[t]=n}}function y(e,t,n,r){var i=t&&t.prototype instanceof S?t:S,o=u()(i.prototype),s=new B(r||[]);return a(o,"_invoke",{value:j(e,n,s)}),o}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=y;var _="suspendedStart",w="suspendedYield",x="executing",k="completed",M={};function S(){}function C(){}function T(){}var O={};v(O,c,(function(){return this}));var L=d.a,A=L&&L(L(Y([])));A&&A!==n&&i.call(A,c)&&(O=A);var D=T.prototype=S.prototype=u()(O);function E(e){["next","throw","return"].forEach((function(t){v(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function n(o,a,s,l){var u=b(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==Object(r["a"])(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function j(t,n,r){var i=_;return function(o,a){if(i===x)throw Error("Generator is already running");if(i===k){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=P(s,r);if(l){if(l===M)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===_)throw i=k,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=x;var u=b(t,n,r);if("normal"===u.type){if(i=r.done?k:w,u.arg===M)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=k,r.method="throw",r.arg=u.arg)}}}function P(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator["return"]&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),M;var o=b(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,M;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,M):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,M)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function Y(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(i.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(Object(r["a"])(t)+" is not iterable")}return C.prototype=T,a(D,"constructor",{value:T,configurable:!0}),a(T,"constructor",{value:C,configurable:!0}),C.displayName=v(T,p,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===C||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return f.a?f()(e,T):(e.__proto__=T,v(e,p,"GeneratorFunction")),e.prototype=u()(D),e},t.awrap=function(e){return{__await:e}},E(I.prototype),v(I.prototype,h,(function(){return this})),t.AsyncIterator=I,t.async=function(e,n,r,i,o){void 0===o&&(o=m.a);var a=new I(y(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(D),v(D,p,"Generator"),v(D,c,(function(){return this})),v(D,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=Y,B.prototype={constructor:B,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,M):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),M},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:Y(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),M}},t}},c82c:function(e,t,n){
  503. /*!
  504. * Viewer.js v1.11.7
  505. * https://fengyuanchen.github.io/viewerjs
  506. *
  507. * Copyright 2015-present Chen Fengyuan
  508. * Released under the MIT license
  509. *
  510. * Date: 2024-11-24T04:32:19.116Z
  511. */
  512. (function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e){var t=a(e,"string");return"symbol"==typeof t?t:t+""}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},c='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',d="undefined"!==typeof window&&"undefined"!==typeof window.document,h=d?window:{},f=!(!d||!h.document.documentElement)&&"ontouchstart"in h.document.documentElement,p=!!d&&"PointerEvent"in h,m="viewer",g="move",v="switch",y="zoom",b="".concat(m,"-active"),_="".concat(m,"-close"),w="".concat(m,"-fade"),x="".concat(m,"-fixed"),k="".concat(m,"-fullscreen"),M="".concat(m,"-fullscreen-exit"),S="".concat(m,"-hide"),C="".concat(m,"-hide-md-down"),T="".concat(m,"-hide-sm-down"),O="".concat(m,"-hide-xs-down"),L="".concat(m,"-in"),A="".concat(m,"-invisible"),D="".concat(m,"-loading"),E="".concat(m,"-move"),I="".concat(m,"-open"),j="".concat(m,"-show"),P="".concat(m,"-transition"),R="click",N="dblclick",B="dragstart",Y="focusin",F="keydown",z="load",H="error",V=f?"touchend touchcancel":"mouseup",W=f?"touchmove":"mousemove",U=f?"touchstart":"mousedown",$=p?"pointerdown":U,G=p?"pointermove":W,q=p?"pointerup pointercancel":V,X="resize",K="transitionend",Z="wheel",J="ready",Q="show",ee="shown",te="hide",ne="hidden",re="view",ie="viewed",oe="move",ae="moved",se="rotate",le="rotated",ue="scale",ce="scaled",de="zoom",he="zoomed",fe="play",pe="stop",me="".concat(m,"Action"),ge=/\s\s*/,ve=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function ye(e){return"string"===typeof e}var be=Number.isNaN||h.isNaN;function _e(e){return"number"===typeof e&&!be(e)}function we(e){return"undefined"===typeof e}function xe(e){return"object"===l(e)&&null!==e}var ke=Object.prototype.hasOwnProperty;function Me(e){if(!xe(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&ke.call(n,"isPrototypeOf")}catch(r){return!1}}function Se(e){return"function"===typeof e}function Ce(e,t){if(e&&Se(t))if(Array.isArray(e)||_e(e.length)){var n,r=e.length;for(n=0;n<r;n+=1)if(!1===t.call(e,e[n],n,e))break}else xe(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}));return e}var Te=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return xe(e)&&n.length>0&&n.forEach((function(t){xe(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},Oe=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Le(e,t){var n=e.style;Ce(t,(function(e,t){Oe.test(t)&&_e(e)&&(e+="px"),n[t]=e}))}function Ae(e){return ye(e)?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):e}function De(e,t){return!(!e||!t)&&(e.classList?e.classList.contains(t):e.className.indexOf(t)>-1)}function Ee(e,t){if(e&&t)if(_e(e.length))Ce(e,(function(e){Ee(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Ie(e,t){e&&t&&(_e(e.length)?Ce(e,(function(e){Ie(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function je(e,t,n){t&&(_e(e.length)?Ce(e,(function(e){je(e,t,n)})):n?Ee(e,t):Ie(e,t))}var Pe=/([a-z\d])([A-Z])/g;function Re(e){return e.replace(Pe,"$1-$2").toLowerCase()}function Ne(e,t){return xe(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Re(t)))}function Be(e,t,n){xe(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Re(t)),n)}var Ye=function(){var e=!1;if(d){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});h.addEventListener("test",n,r),h.removeEventListener("test",n,r)}return e}();function Fe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(ge).forEach((function(t){if(!Ye){var o=e.listeners;o&&o[t]&&o[t][n]&&(i=o[t][n],delete o[t][n],0===Object.keys(o[t]).length&&delete o[t],0===Object.keys(o).length&&delete e.listeners)}e.removeEventListener(t,i,r)}))}function ze(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(ge).forEach((function(t){if(r.once&&!Ye){var o=e.listeners,a=void 0===o?{}:o;i=function(){delete a[t][n],e.removeEventListener(t,i,r);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];n.apply(e,s)},a[t]||(a[t]={}),a[t][n]&&e.removeEventListener(t,a[t][n],r),a[t][n]=i,e.listeners=a}e.addEventListener(t,i,r)}))}function He(e,t,n,r){var i;return Se(Event)&&Se(CustomEvent)?i=new CustomEvent(t,o({bubbles:!0,cancelable:!0,detail:n},r)):(i=document.createEvent("CustomEvent"),i.initCustomEvent(t,!0,!0,n)),e.dispatchEvent(i)}function Ve(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}function We(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,i=e.translateX,o=e.translateY,a=[];_e(i)&&0!==i&&a.push("translateX(".concat(i,"px)")),_e(o)&&0!==o&&a.push("translateY(".concat(o,"px)")),_e(t)&&0!==t&&a.push("rotate(".concat(t,"deg)")),_e(n)&&1!==n&&a.push("scaleX(".concat(n,")")),_e(r)&&1!==r&&a.push("scaleY(".concat(r,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function Ue(e){return ye(e)?decodeURIComponent(e.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var $e=h.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(h.navigator.userAgent);function Ge(e,t,n){var r=document.createElement("img");if(e.naturalWidth&&!$e)return n(e.naturalWidth,e.naturalHeight),r;var i=document.body||document.documentElement;return r.onload=function(){n(r.width,r.height),$e||i.removeChild(r)},Ce(t.inheritedAttributes,(function(t){var n=e.getAttribute(t);null!==n&&r.setAttribute(t,n)})),r.src=e.src,$e||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(r)),r}function qe(e){switch(e){case 2:return O;case 3:return T;case 4:return C;default:return""}}function Xe(e){var t=o({},e),n=[];return Ce(e,(function(e,r){delete t[r],Ce(t,(function(t){var r=Math.abs(e.startX-t.startX),i=Math.abs(e.startY-t.startY),o=Math.abs(e.endX-t.endX),a=Math.abs(e.endY-t.endY),s=Math.sqrt(r*r+i*i),l=Math.sqrt(o*o+a*a),u=(l-s)/s;n.push(u)}))})),n.sort((function(e,t){return Math.abs(e)<Math.abs(t)})),n[0]}function Ke(e,t){var n=e.pageX,r=e.pageY,i={endX:n,endY:r};return t?i:o({timeStamp:Date.now(),startX:n,startY:r},i)}function Ze(e){var t=0,n=0,r=0;return Ce(e,(function(e){var i=e.startX,o=e.startY;t+=i,n+=o,r+=1})),t/=r,n/=r,{pageX:t,pageY:n}}var Je={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var e=this.element.ownerDocument,t=e.body||e.documentElement;this.body=t,this.scrollbarWidth=window.innerWidth-e.documentElement.clientWidth,this.initialBodyPaddingRight=t.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(t).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var e,t=this.options,n=this.parent;t.inline&&(e={width:Math.max(n.offsetWidth,t.minWidth),height:Math.max(n.offsetHeight,t.minHeight)},this.parentData=e),!this.fulled&&e||(e=this.containerData),this.viewerData=Te({},e)},renderViewer:function(){this.options.inline&&!this.fulled&&Le(this.viewer,this.viewerData)},initList:function(){var e=this,t=this.element,n=this.options,r=this.list,i=[];r.innerHTML="",Ce(this.images,(function(t,o){var a=t.src,s=t.alt||Ue(a),l=e.getImageURL(t);if(a||l){var u=document.createElement("li"),c=document.createElement("img");Ce(n.inheritedAttributes,(function(e){var n=t.getAttribute(e);null!==n&&c.setAttribute(e,n)})),n.navbar&&(c.src=a||l),c.alt=s,c.setAttribute("data-original-url",l||a),u.setAttribute("data-index",o),u.setAttribute("data-viewer-action","view"),u.setAttribute("role","button"),n.keyboard&&u.setAttribute("tabindex",0),u.appendChild(c),r.appendChild(u),i.push(u)}})),this.items=i,Ce(i,(function(t){var r,i,o=t.firstElementChild;Be(o,"filled",!0),n.loading&&Ee(t,D),ze(o,z,r=function(r){Fe(o,H,i),n.loading&&Ie(t,D),e.loadImage(r)},{once:!0}),ze(o,H,i=function(){Fe(o,z,r),n.loading&&Ie(t,D)},{once:!0})})),n.transition&&ze(t,ie,(function(){Ee(r,P)}),{once:!0})},renderList:function(){var e=this.index,t=this.items[e];if(t){var n=t.nextElementSibling,r=parseInt(window.getComputedStyle(n||t).marginLeft,10),i=t.offsetWidth,o=i+r;Le(this.list,Te({width:o*this.length-r},We({translateX:(this.viewerData.width-i)/2-o*e})))}},resetList:function(){var e=this.list;e.innerHTML="",Ie(e,P),Le(e,We({translateX:0}))},initImage:function(e){var t,n=this,r=this.options,i=this.image,o=this.viewerData,a=this.footer.offsetHeight,s=o.width,l=Math.max(o.height-a,a),u=this.imageData||{};this.imageInitializing={abort:function(){t.onload=null}},t=Ge(i,r,(function(t,i){var o=t/i,a=Math.max(0,Math.min(1,r.initialCoverage)),c=s,d=l;n.imageInitializing=!1,l*o>s?d=s/o:c=l*o,a=_e(a)?a:.9,c=Math.min(c*a,t),d=Math.min(d*a,i);var h=(s-c)/2,f=(l-d)/2,p={left:h,top:f,x:h,y:f,width:c,height:d,oldRatio:1,ratio:c/t,aspectRatio:o,naturalWidth:t,naturalHeight:i},m=Te({},p);r.rotatable&&(p.rotate=u.rotate||0,m.rotate=0),r.scalable&&(p.scaleX=u.scaleX||1,p.scaleY=u.scaleY||1,m.scaleX=1,m.scaleY=1),n.imageData=p,n.initialImageData=m,e&&e()}))},renderImage:function(e){var t=this,n=this.image,r=this.imageData;if(Le(n,Te({width:r.width,height:r.height,marginLeft:r.x,marginTop:r.y},We(r))),e)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&De(n,P)){var i=function(){t.imageRendering=!1,e()};this.imageRendering={abort:function(){Fe(n,K,i)}},ze(n,K,i,{once:!0})}else e()},resetImage:function(){var e=this.image;e&&(this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null,this.title.innerHTML="")}},Qe={bind:function(){var e=this.options,t=this.viewer,n=this.canvas,r=this.element.ownerDocument;ze(t,R,this.onClick=this.click.bind(this)),ze(t,B,this.onDragStart=this.dragstart.bind(this)),ze(n,$,this.onPointerDown=this.pointerdown.bind(this)),ze(r,G,this.onPointerMove=this.pointermove.bind(this)),ze(r,q,this.onPointerUp=this.pointerup.bind(this)),ze(r,F,this.onKeyDown=this.keydown.bind(this)),ze(window,X,this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&ze(t,Z,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleOnDblclick&&ze(n,N,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,t=this.viewer,n=this.canvas,r=this.element.ownerDocument;Fe(t,R,this.onClick),Fe(t,B,this.onDragStart),Fe(n,$,this.onPointerDown),Fe(r,G,this.onPointerMove),Fe(r,q,this.onPointerUp),Fe(r,F,this.onKeyDown),Fe(window,X,this.onResize),e.zoomable&&e.zoomOnWheel&&Fe(t,Z,this.onWheel,{passive:!1,capture:!0}),e.toggleOnDblclick&&Fe(n,N,this.onDblclick)}},et={click:function(e){var t=this.options,n=this.imageData,r=e.target,i=Ne(r,me);switch(i||"img"!==r.localName||"li"!==r.parentElement.localName||(r=r.parentElement,i=Ne(r,me)),f&&e.isTrusted&&r===this.canvas&&clearTimeout(this.clickCanvasTimeout),i){case"mix":this.played?this.stop():t.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Ne(r,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(t.loop);break;case"play":this.play(t.fullscreen);break;case"next":this.next(t.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(f&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(e.isTrusted?e:e.detail&&e.detail.originalEvent))},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var t=this.element,n=this.options,r=this.image,i=this.index,o=this.viewerData;Ie(r,A),n.loading&&Ie(this.canvas,D),r.style.cssText="height:0;"+"margin-left:".concat(o.width/2,"px;")+"margin-top:".concat(o.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage((function(){je(r,E,n.movable),je(r,P,n.transition),e.renderImage((function(){e.viewed=!0,e.viewing=!1,Se(n.viewed)&&ze(t,ie,n.viewed,{once:!0}),He(t,ie,{originalImage:e.images[i],index:i,image:r},{cancelable:!1})}))}))},loadImage:function(e){var t=e.target,n=t.parentNode,r=n.offsetWidth||30,i=n.offsetHeight||50,o=!!Ne(t,"filled");Ge(t,this.options,(function(e,n){var a=e/n,s=r,l=i;i*a>r?o?s=i*a:l=r/a:o?l=r/a:s=i*a,Le(t,Te({width:s,height:l},We({translateX:(r-s)/2,translateY:(i-l)/2})))}))},keydown:function(e){var t=this.options;if(t.keyboard){var n=e.keyCode||e.which||e.charCode;switch(n){case 13:this.viewer.contains(e.target)&&this.click(e);break}if(this.fulled)switch(n){case 27:this.played?this.stop():t.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(t.loop);break;case 38:e.preventDefault(),this.zoom(t.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(t.loop);break;case 40:e.preventDefault(),this.zoom(-t.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle());break}}},dragstart:function(e){"img"===e.target.localName&&e.preventDefault()},pointerdown:function(e){var t=this.options,n=this.pointers,r=e.buttons,i=e.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(_e(r)&&1!==r||_e(i)&&0!==i||e.ctrlKey))){e.preventDefault(),e.changedTouches?Ce(e.changedTouches,(function(e){n[e.identifier]=Ke(e)})):n[e.pointerId||0]=Ke(e);var o=!!t.movable&&g;t.zoomOnTouch&&t.zoomable&&Object.keys(n).length>1?o=y:t.slideOnTouch&&("touch"===e.pointerType||"touchstart"===e.type)&&this.isSwitchable()&&(o=v),!t.transition||o!==g&&o!==y||Ie(this.image,P),this.action=o}},pointermove:function(e){var t=this.pointers,n=this.action;this.viewed&&n&&(e.preventDefault(),e.changedTouches?Ce(e.changedTouches,(function(e){Te(t[e.identifier]||{},Ke(e,!0))})):Te(t[e.pointerId||0]||{},Ke(e,!0)),this.change(e))},pointerup:function(e){var t,n=this,r=this.options,i=this.action,o=this.pointers;e.changedTouches?Ce(e.changedTouches,(function(e){t=o[e.identifier],delete o[e.identifier]})):(t=o[e.pointerId||0],delete o[e.pointerId||0]),i&&(e.preventDefault(),!r.transition||i!==g&&i!==y||Ee(this.image,P),this.action=!1,f&&i!==y&&t&&Date.now()-t.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),r.toggleOnDblclick&&this.viewed&&e.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){He(n.image,N,{originalEvent:e})}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){n.imageClicked=!1}),500)):(this.imageClicked=!1,r.backdrop&&"static"!==r.backdrop&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){He(n.canvas,R,{originalEvent:e})}),50)))))},resize:function(){var e=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();Ce(this.player.getElementsByTagName("img"),(function(t){ze(t,z,e.loadImage.bind(e),{once:!0}),He(t,z)}))}},wheel:function(e){var t=this;if(this.viewed&&(e.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50);var n=Number(this.options.zoomRatio)||.1,r=1;e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,!0,null,e)}}},tt={show:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(Se(n.show)&&ze(t,Q,n.show,{once:!0}),!1===He(t,Q)||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var r=this.viewer;if(Ie(r,S),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("aria-hidden"),n.transition&&!e){var i=this.shown.bind(this);this.transitioning={abort:function(){Fe(r,K,i),Ie(r,L)}},Ee(r,P),r.initialOffsetWidth=r.offsetWidth,ze(r,K,i,{once:!0}),Ee(r,L)}else Ee(r,L),this.shown();return this},hide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.element,r=this.options;if(r.inline||this.hiding||!this.isShown&&!this.showing)return this;if(Se(r.hide)&&ze(n,te,r.hide,{once:!0}),!1===He(n,te))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var i=this.viewer,o=this.image,a=function(){Ie(i,L),e.hidden()};if(r.transition&&!t){var s=function(t){t&&t.target===i&&(Fe(i,K,s),e.hidden())},l=function(){De(i,P)?(ze(i,K,s),Ie(i,L)):a()};this.transitioning={abort:function(){e.viewed&&De(o,P)?Fe(o,K,l):De(i,P)&&Fe(i,K,s)}},this.viewed&&De(o,P)?(ze(o,K,l,{once:!0}),this.zoomTo(0,!1,null,null,!0)):l()}else a();return this},view:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(t=Number(t)||0,this.hiding||this.played||t<0||t>=this.length||this.viewed&&t===this.index)return this;if(!this.isShown)return this.index=t,this.show();this.viewing&&this.viewing.abort();var n=this.element,r=this.options,i=this.title,o=this.canvas,a=this.items[t],s=a.querySelector("img"),l=Ne(s,"originalUrl"),u=s.getAttribute("alt"),c=document.createElement("img");if(Ce(r.inheritedAttributes,(function(e){var t=s.getAttribute(e);null!==t&&c.setAttribute(e,t)})),c.src=l,c.alt=u,Se(r.view)&&ze(n,re,r.view,{once:!0}),!1===He(n,re,{originalImage:this.images[t],index:t,image:c})||!this.isShown||this.hiding||this.played)return this;var d=this.items[this.index];d&&(Ie(d,b),d.removeAttribute("aria-selected")),Ee(a,b),a.setAttribute("aria-selected",!0),r.focus&&a.focus(),this.image=c,this.viewed=!1,this.index=t,this.imageData={},Ee(c,A),r.loading&&Ee(o,D),o.innerHTML="",o.appendChild(c),this.renderList(),i.innerHTML="";var h,f,p=function(){var t=e.imageData,n=Array.isArray(r.title)?r.title[1]:r.title;i.innerHTML=Ae(Se(n)?n.call(e,c,t):"".concat(u," (").concat(t.naturalWidth," × ").concat(t.naturalHeight,")"))};return ze(n,ie,p,{once:!0}),this.viewing={abort:function(){Fe(n,ie,p),c.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(c.src="",Fe(c,z,h),e.timeout&&clearTimeout(e.timeout))}},c.complete?this.load():(ze(c,z,h=function(){Fe(c,H,f),e.load()},{once:!0}),ze(c,H,f=function(){Fe(c,z,h),e.timeout&&(clearTimeout(e.timeout),e.timeout=!1),Ie(c,A),r.loading&&Ie(e.canvas,D)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){Ie(c,A),e.timeout=!1}),1e3)),this},prev:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.index-1;return t<0&&(t=e?this.length-1:0),this.view(t),this},next:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.length-1,n=this.index+1;return n>t&&(n=e?0:t),this.view(n),this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData;return this.moveTo(we(e)?e:n.x+Number(e),we(t)?t:n.y+Number(t)),this},moveTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.element,o=this.options,a=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&o.movable){var s=a.x,l=a.y,u=!1;if(_e(e)?u=!0:e=s,_e(n)?u=!0:n=l,u){if(Se(o.move)&&ze(i,oe,o.move,{once:!0}),!1===He(i,oe,{x:e,y:n,oldX:s,oldY:l,originalEvent:r}))return this;a.x=e,a.y=n,a.left=e,a.top=n,this.moving=!0,this.renderImage((function(){t.moving=!1,Se(o.moved)&&ze(i,ae,o.moved,{once:!0}),He(i,ae,{x:e,y:n,oldX:s,oldY:l,originalEvent:r},{cancelable:!1})}))}}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var t=this,n=this.element,r=this.options,i=this.imageData;if(e=Number(e),_e(e)&&this.viewed&&!this.played&&r.rotatable){var o=i.rotate;if(Se(r.rotate)&&ze(n,se,r.rotate,{once:!0}),!1===He(n,se,{degree:e,oldDegree:o}))return this;i.rotate=e,this.rotating=!0,this.renderImage((function(){t.rotating=!1,Se(r.rotated)&&ze(n,le,r.rotated,{once:!0}),He(n,le,{degree:e,oldDegree:o},{cancelable:!1})}))}return this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=this.element,i=this.options,o=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&i.scalable){var a=o.scaleX,s=o.scaleY,l=!1;if(_e(e)?l=!0:e=a,_e(n)?l=!0:n=s,l){if(Se(i.scale)&&ze(r,ue,i.scale,{once:!0}),!1===He(r,ue,{scaleX:e,scaleY:n,oldScaleX:a,oldScaleY:s}))return this;o.scaleX=e,o.scaleY=n,this.scaling=!0,this.renderImage((function(){t.scaling=!1,Se(i.scaled)&&ze(r,ce,i.scaled,{once:!0}),He(r,ce,{scaleX:e,scaleY:n,oldScaleX:a,oldScaleY:s},{cancelable:!1})}))}}return this},zoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=this.imageData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(i.width*e/i.naturalWidth,t,n,r),this},zoomTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=this.element,s=this.options,l=this.pointers,u=this.imageData,c=u.x,d=u.y,h=u.width,f=u.height,p=u.naturalWidth,m=u.naturalHeight;if(e=Math.max(0,e),_e(e)&&this.viewed&&!this.played&&(o||s.zoomable)){if(!o){var g=Math.max(.01,s.minZoomRatio),v=Math.min(100,s.maxZoomRatio);e=Math.min(Math.max(e,g),v)}if(i)switch(i.type){case"wheel":s.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);break;case"pointermove":case"touchmove":case"mousemove":e>.99&&e<1.01&&(e=1);break}var y=p*e,b=m*e,_=y-h,w=b-f,x=u.ratio;if(Se(s.zoom)&&ze(a,de,s.zoom,{once:!0}),!1===He(a,de,{ratio:e,oldRatio:x,originalEvent:i}))return this;if(this.zooming=!0,i){var k=Ve(this.viewer),M=l&&Object.keys(l).length>0?Ze(l):{pageX:i.pageX,pageY:i.pageY};u.x-=_*((M.pageX-k.left-c)/h),u.y-=w*((M.pageY-k.top-d)/f)}else Me(r)&&_e(r.x)&&_e(r.y)?(u.x-=_*((r.x-c)/h),u.y-=w*((r.y-d)/f)):(u.x-=_/2,u.y-=w/2);u.left=u.x,u.top=u.y,u.width=y,u.height=b,u.oldRatio=x,u.ratio=e,this.renderImage((function(){t.zooming=!1,Se(s.zoomed)&&ze(a,he,s.zoomed,{once:!0}),He(a,he,{ratio:e,oldRatio:x,originalEvent:i},{cancelable:!1})})),n&&this.tooltip()}return this},play:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.element,r=this.options;if(Se(r.play)&&ze(n,fe,r.play,{once:!0}),!1===He(n,fe))return this;var i=this.player,o=this.loadImage.bind(this),a=[],s=0,l=0;if(this.played=!0,this.onLoadWhenPlay=o,t&&this.requestFullscreen(t),Ee(i,j),Ce(this.items,(function(e,t){var n=e.querySelector("img"),u=document.createElement("img");u.src=Ne(n,"originalUrl"),u.alt=n.getAttribute("alt"),u.referrerPolicy=n.referrerPolicy,s+=1,Ee(u,w),je(u,P,r.transition),De(e,b)&&(Ee(u,L),l=t),a.push(u),ze(u,z,o,{once:!0}),i.appendChild(u)})),_e(r.interval)&&r.interval>0){var u=function(){clearTimeout(e.playing.timeout),Ie(a[l],L),l-=1,l=l>=0?l:s-1,Ee(a[l],L),e.playing.timeout=setTimeout(u,r.interval)},c=function(){clearTimeout(e.playing.timeout),Ie(a[l],L),l+=1,l=l<s?l:0,Ee(a[l],L),e.playing.timeout=setTimeout(c,r.interval)};s>1&&(this.playing={prev:u,next:c,timeout:setTimeout(c,r.interval)})}return this},stop:function(){var e=this;if(!this.played)return this;var t=this.element,n=this.options;if(Se(n.stop)&&ze(t,pe,n.stop,{once:!0}),!1===He(t,pe))return this;var r=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Ce(r.getElementsByTagName("img"),(function(t){Fe(t,z,e.onLoadWhenPlay)})),Ie(r,j),r.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,t=this.options,n=this.viewer,r=this.image,i=this.list;return!this.isShown||this.played||this.fulled||!t.inline||(this.fulled=!0,this.open(),Ee(this.button,M),t.transition&&(Ie(i,P),this.viewed&&Ie(r,P)),Ee(n,x),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),Le(n,{zIndex:t.zIndex}),t.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Te({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){Ee(r,P),Ee(i,P)}),0)}))}))),this},exit:function(){var e=this,t=this.options,n=this.viewer,r=this.image,i=this.list;return this.isShown&&!this.played&&this.fulled&&t.inline?(this.fulled=!1,this.close(),Ie(this.button,M),t.transition&&(Ie(i,P),this.viewed&&Ie(r,P)),t.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),Ie(n,x),Le(n,{zIndex:t.zIndexInline}),this.viewerData=Te({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){Ee(r,P),Ee(i,P)}),0)}))})),this):this},tooltip:function(){var e=this,t=this.options,n=this.tooltipBox,r=this.imageData;return this.viewed&&!this.played&&t.tooltip?(n.textContent="".concat(Math.round(100*r.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):t.transition?(this.fading&&He(n,K),Ee(n,j),Ee(n,w),Ee(n,P),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,Ee(n,L)):(Ee(n,j),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout((function(){t.transition?(ze(n,K,(function(){Ie(n,j),Ie(n,w),Ie(n,P),n.setAttribute("aria-hidden",!0),e.fading=!1}),{once:!0}),Ie(n,L),e.fading=!0):(Ie(n,j),n.setAttribute("aria-hidden",!0)),e.tooltipping=!1}),1e3),this):this},toggle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,null,e):this.zoomTo(1,!0,null,e),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Te({},this.initialImageData),this.renderImage()),this},update:function(){var e=this,t=this.element,n=this.options,r=this.isImg;if(r&&!t.parentNode)return this.destroy();var i=[];if(Ce(r?[t]:t.querySelectorAll("img"),(function(t){Se(n.filter)?n.filter.call(e,t)&&i.push(t):e.getImageURL(t)&&i.push(t)})),!i.length)return this;if(this.images=i,this.length=i.length,this.ready){var o=[];if(Ce(this.items,(function(e,t){var n=e.querySelector("img"),r=i[t];r&&n&&r.src===n.src&&r.alt===n.alt||o.push(t)})),Le(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var a=o.indexOf(this.index);if(a>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-a,this.length-1),0));else{var s=this.items[this.index];Ee(s,b),s.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,t=this.options;return e[m]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),t.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):t.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),t.inline||Fe(e,R,this.onStart),e[m]=void 0,this):this}},nt={getImageURL:function(e){var t=this.options.url;return t=ye(t)?e.getAttribute(t):Se(t)?t.call(this,e):"",t},enforceFocus:function(){var e=this;this.clearEnforceFocus(),ze(document,Y,this.onFocusin=function(t){var n=e.viewer,r=t.target;if(r!==document&&r!==n&&!n.contains(r)){while(r){if(null!==r.getAttribute("tabindex")||"true"===r.getAttribute("aria-modal"))return;r=r.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(Fe(document,Y,this.onFocusin),this.onFocusin=null)},open:function(){var e=this.body;Ee(e,I),this.scrollbarWidth>0&&(e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var e=this.body;Ie(e,I),this.scrollbarWidth>0&&(e.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var e=this.element,t=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,t.focus&&(n.focus(),this.enforceFocus()),Se(t.shown)&&ze(e,ee,t.shown,{once:!0}),!1!==He(e,ee)&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,t=this.options,n=this.viewer;t.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),Ee(n,S),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(Se(t.hidden)&&ze(e,ne,t.hidden,{once:!0}),He(e,ne,null,{cancelable:!1}))},requestFullscreen:function(e){var t=this.element.ownerDocument;if(this.fulled&&!(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)){var n=t.documentElement;n.requestFullscreen?Me(e)?n.requestFullscreen(e):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var e=this.element.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var t=this.options,n=this.pointers,r=n[Object.keys(n)[0]];if(r){var i=r.endX-r.startX,o=r.endY-r.startY;switch(this.action){case g:0===i&&0===o||(this.pointerMoved=!0,this.move(i,o,e));break;case y:this.zoom(Xe(n),!1,null,e);break;case v:this.action="switched";var a=Math.abs(i);a>1&&a>Math.abs(o)&&(this.pointers={},i>1?this.prev(t.loop):i<-1&&this.next(t.loop));break}Ce(n,(function(e){e.startX=e.endX,e.startY=e.endY}))}},isSwitchable:function(){var e=this.imageData,t=this.viewerData;return this.length>1&&e.x>=0&&e.y>=0&&e.width<=t.width&&e.height<=t.height}},rt=h.Viewer,it=function(e){return function(){return e+=1,e}}(-1),ot=function(){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e(this,t),!n||1!==n.nodeType)throw new Error("The first argument is required and must be an element.");this.element=n,this.options=Te({},u,Me(r)&&r),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=it(),this.init()}return n(t,[{key:"init",value:function(){var e=this,t=this.element,n=this.options;if(!t[m]){t[m]=this,n.focus&&!n.keyboard&&(n.focus=!1);var r="img"===t.localName,i=[];if(Ce(r?[t]:t.querySelectorAll("img"),(function(t){Se(n.filter)?n.filter.call(e,t)&&i.push(t):e.getImageURL(t)&&i.push(t)})),this.isImg=r,this.length=i.length,this.images=i,this.initBody(),we(document.createElement(m).style.transition)&&(n.transition=!1),n.inline){var o=0,a=function(){var t;(o+=1,o===e.length)&&(e.initializing=!1,e.delaying={abort:function(){clearTimeout(t)}},t=setTimeout((function(){e.delaying=!1,e.build()}),0))};this.initializing={abort:function(){Ce(i,(function(e){e.complete||(Fe(e,z,a),Fe(e,H,a))}))}},Ce(i,(function(e){var t,n;e.complete?a():(ze(e,z,t=function(){Fe(e,H,n),a()},{once:!0}),ze(e,H,n=function(){Fe(e,z,t),a()},{once:!0}))}))}else ze(t,R,this.onStart=function(t){var r=t.target;"img"!==r.localName||Se(n.filter)&&!n.filter.call(e,r)||e.view(e.images.indexOf(r))})}}},{key:"build",value:function(){if(!this.ready){var e=this.element,t=this.options,n=e.parentNode,r=document.createElement("div");r.innerHTML=c;var i=r.querySelector(".".concat(m,"-container")),o=i.querySelector(".".concat(m,"-title")),a=i.querySelector(".".concat(m,"-toolbar")),s=i.querySelector(".".concat(m,"-navbar")),l=i.querySelector(".".concat(m,"-button")),u=i.querySelector(".".concat(m,"-canvas"));if(this.parent=n,this.viewer=i,this.title=o,this.toolbar=a,this.navbar=s,this.button=l,this.canvas=u,this.footer=i.querySelector(".".concat(m,"-footer")),this.tooltipBox=i.querySelector(".".concat(m,"-tooltip")),this.player=i.querySelector(".".concat(m,"-player")),this.list=i.querySelector(".".concat(m,"-list")),i.id="".concat(m).concat(this.id),o.id="".concat(m,"Title").concat(this.id),Ee(o,t.title?qe(Array.isArray(t.title)?t.title[0]:t.title):S),Ee(s,t.navbar?qe(t.navbar):S),je(l,S,!t.button),t.keyboard&&l.setAttribute("tabindex",0),t.backdrop&&(Ee(i,"".concat(m,"-backdrop")),t.inline||"static"===t.backdrop||Be(u,me,"hide")),ye(t.className)&&t.className&&t.className.split(ge).forEach((function(e){Ee(i,e)})),t.toolbar){var d=document.createElement("ul"),h=Me(t.toolbar),f=ve.slice(0,3),p=ve.slice(7,9),g=ve.slice(9);h||Ee(a,qe(t.toolbar)),Ce(h?t.toolbar:ve,(function(e,n){var r=h&&Me(e),i=h?Re(n):e,o=r&&!we(e.show)?e.show:e;if(o&&(t.zoomable||-1===f.indexOf(i))&&(t.rotatable||-1===p.indexOf(i))&&(t.scalable||-1===g.indexOf(i))){var a=r&&!we(e.size)?e.size:e,s=r&&!we(e.click)?e.click:e,l=document.createElement("li");t.keyboard&&l.setAttribute("tabindex",0),l.setAttribute("role","button"),Ee(l,"".concat(m,"-").concat(i)),Se(s)||Be(l,me,i),_e(o)&&Ee(l,qe(o)),-1!==["small","large"].indexOf(a)?Ee(l,"".concat(m,"-").concat(a)):"play"===i&&Ee(l,"".concat(m,"-large")),Se(s)&&ze(l,R,s),d.appendChild(l)}})),a.appendChild(d)}else Ee(a,S);if(!t.rotatable){var v=a.querySelectorAll('li[class*="rotate"]');Ee(v,A),Ce(v,(function(e){a.appendChild(e)}))}if(t.inline)Ee(l,k),Le(i,{zIndex:t.zIndexInline}),"static"===window.getComputedStyle(n).position&&Le(n,{position:"relative"}),n.insertBefore(i,e.nextSibling);else{Ee(l,_),Ee(i,x),Ee(i,w),Ee(i,S),Le(i,{zIndex:t.zIndex});var y=t.container;ye(y)&&(y=e.ownerDocument.querySelector(y)),y||(y=this.body),y.appendChild(i)}t.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Se(t.ready)&&ze(e,J,t.ready,{once:!0}),!1!==He(e,J)?this.ready&&t.inline&&this.view(this.index):this.ready=!1}}}],[{key:"noConflict",value:function(){return window.Viewer=rt,t}},{key:"setDefaults",value:function(e){Te(u,Me(e)&&e)}}])}();return Te(ot.prototype,Je,Qe,et,tt,nt),ot}))},c8af:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},c8ce:function(e,t,n){var r=n("2b4c")("toPrimitive"),i=Date.prototype;r in i||n("32e9")(i,r,n("8381"))},c8f3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  513. //! moment.js locale configuration
  514. var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},c930:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yAxisConfig=t.xAxisConfig=void 0;var r={name:"",show:!0,position:"bottom",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!1,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.xAxisConfig=r;var i={name:"",show:!0,position:"left",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!0,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.yAxisConfig=i},c973:function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,"next",e)}function l(e){n(a,i,o,s,l,"throw",e)}s(void 0)}))}}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},caf9:function(e,t,n){"use strict";
  515. /*!
  516. * Vue-Lazyload.js v1.3.5
  517. * (c) 2023 Awe <hilongjw@gmail.com>
  518. * Released under the MIT License.
  519. */
  520. function r(e,t){return t={exports:{}},e(t,t.exports),t.exports}n.d(t,"a",(function(){return U}));var i=r((function(e){var t=Object.prototype.toString,n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;function i(e){return"function"===typeof e||"[object Object]"===t.call(e)||Array.isArray(e)}e.exports=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),a=1;a<t;a++)o[a-1]=arguments[a];if(!i(e))throw new TypeError("expected the first argument to be an object");if(0===o.length||"function"!==typeof Symbol||"function"!==typeof r)return e;var s=!0,l=!1,u=void 0;try{for(var c,d=o[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){var h=c.value,f=r(h),p=!0,m=!1,g=void 0;try{for(var v,y=f[Symbol.iterator]();!(p=(v=y.next()).done);p=!0){var b=v.value;n.call(h,b)&&(e[b]=h[b])}}catch(_){m=!0,g=_}finally{try{!p&&y.return&&y.return()}finally{if(m)throw g}}}}catch(_){l=!0,u=_}finally{try{!s&&d.return&&d.return()}finally{if(l)throw u}}return e}})),o=Object.freeze({__proto__:null,default:i,__moduleExports:i}),a=o&&i||o,s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=r((function(e){var t=Object.prototype.toString,n=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e},r=e.exports=function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),l=1;l<t;l++)s[l-1]=arguments[l];var u=0;for(o(e)&&(e=s[u++]),e||(e={});u<s.length;u++)if(i(s[u])){var c=!0,d=!1,h=void 0;try{for(var f,p=Object.keys(s[u])[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var m=f.value;n(m)&&(i(e[m])&&i(s[u][m])?r(e[m],s[u][m]):e[m]=s[u][m])}}catch(g){d=!0,h=g}finally{try{!c&&p.return&&p.return()}finally{if(d)throw h}}a(e,s[u])}return e};function i(e){return"function"===typeof e||"[object Object]"===t.call(e)}function o(e){return"object"===("undefined"===typeof e?"undefined":s(e))?null===e:"function"!==typeof e}})),d="undefined"!==typeof window&&null!==window,h=f();function f(){return!!(d&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)&&("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0)}var p={event:"event",observer:"observer"},m=function(){if(d)return"function"===typeof window.CustomEvent?window.CustomEvent:(e.prototype=window.Event.prototype,e);function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}();function g(e,t){if(e.length){var n=e.indexOf(t);return n>-1?e.splice(n,1):void 0}}function v(e,t){for(var n=!1,r=0,i=e.length;r<i;r++)if(t(e[r])){n=!0;break}return n}function y(e,t){if("IMG"===e.tagName&&e.getAttribute("data-srcset")){var n=e.getAttribute("data-srcset"),r=[],i=e.parentNode,o=i.offsetWidth*t,a=void 0,s=void 0,l=void 0;n=n.trim().split(","),n.map((function(e){e=e.trim(),a=e.lastIndexOf(" "),-1===a?(s=e,l=999998):(s=e.substr(0,a),l=parseInt(e.substr(a+1,e.length-a-2),10)),r.push([l,s])})),r.sort((function(e,t){if(e[0]<t[0])return 1;if(e[0]>t[0])return-1;if(e[0]===t[0]){if(-1!==t[1].indexOf(".webp",t[1].length-5))return 1;if(-1!==e[1].indexOf(".webp",e[1].length-5))return-1}return 0}));for(var u="",c=void 0,d=0;d<r.length;d++){c=r[d],u=c[1];var h=r[d+1];if(h&&h[0]<o){u=c[1];break}if(!h){u=c[1];break}}return u}}function b(e,t){for(var n=void 0,r=0,i=e.length;r<i;r++)if(t(e[r])){n=e[r];break}return n}var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return d&&window.devicePixelRatio||e};function w(){if(!d)return!1;var e=!0;try{var t=document.createElement("canvas");t.getContext&&t.getContext("2d")&&(e=0===t.toDataURL("image/webp").indexOf("data:image/webp"))}catch(n){e=!1}return e}function x(e,t){var n=null,r=null,i=0,o=!1;return function(){if(o=!0,!n){var a=Date.now()-i,s=this,l=arguments,u=function(){i=Date.now(),n=!1,e.apply(s,l)};a>=t?u():n=setTimeout(u,t),o&&(clearTimeout(r),r=setTimeout(u,2*t))}}}function k(){if(d){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(n){}return e}}var M=k(),S={on:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];M?e.addEventListener(t,n,{capture:r,passive:!0}):e.addEventListener(t,n,r)},off:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,r)}},C=function(e,t,n){var r=new Image;if(!e||!e.src){var i=new Error("image src is required");return n(i)}r.src=e.src,e.cors&&(r.crossOrigin=e.cors),r.onload=function(){t({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src})},r.onerror=function(e){n(e)}},T=function(e,t){return"undefined"!==typeof getComputedStyle?getComputedStyle(e,null).getPropertyValue(t):e.style[t]},O=function(e){return T(e,"overflow")+T(e,"overflow-y")+T(e,"overflow-x")},L=function(e){if(d){if(!(e instanceof HTMLElement))return window;var t=e;while(t){if(t===document.body||t===document.documentElement)break;if(!t.parentNode)break;if(/(scroll|auto)/.test(O(t)))return t;t=t.parentNode}return window}};function A(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":s(e))}function D(e){if(!(e instanceof Object))return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function E(e){for(var t=e.length,n=[],r=0;r<t;r++)n.push(e[r]);return n}function I(){}var j=function(){function e(t){var n=t.max;l(this,e),this.options={max:n||100},this._caches=[]}return u(e,[{key:"has",value:function(e){return this._caches.indexOf(e)>-1}},{key:"add",value:function(e){this.has(e)||(this._caches.push(e),this._caches.length>this.options.max&&this.free())}},{key:"free",value:function(){this._caches.shift()}}]),e}(),P=function(){function e(t){var n=t.el,r=t.src,i=t.error,o=t.loading,a=t.bindType,s=t.$parent,u=t.options,c=t.cors,d=t.elRenderer,h=t.imageCache;l(this,e),this.el=n,this.src=r,this.error=i,this.loading=o,this.bindType=a,this.attempt=0,this.cors=c,this.naturalHeight=0,this.naturalWidth=0,this.options=u,this.rect=null,this.$parent=s,this.elRenderer=d,this._imageCache=h,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return u(e,[{key:"initState",value:function(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(e){this.performanceData[e]=Date.now()}},{key:"update",value:function(e){var t=e.src,n=e.loading,r=e.error,i=this.src;this.src=t,this.loading=n,this.error=r,this.filter(),i!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var e=this;D(this.options.filter).map((function(t){e.options.filter[t](e,e.options)}))}},{key:"renderLoading",value:function(e){var t=this;this.state.loading=!0,C({src:this.loading,cors:this.cors},(function(n){t.render("loading",!1),t.state.loading=!1,e()}),(function(){e(),t.state.loading=!1,t.options.silent||console.warn("VueLazyload log: load failed with loading image("+t.loading+")")}))}},{key:"load",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void t()):this.state.rendered&&this.state.loaded?void 0:this._imageCache.has(this.src)?(this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,t()):void this.renderLoading((function(){e.attempt++,e.options.adapter["beforeLoad"]&&e.options.adapter["beforeLoad"](e,e.options),e.record("loadStart"),C({src:e.src,cors:e.cors},(function(n){e.naturalHeight=n.naturalHeight,e.naturalWidth=n.naturalWidth,e.state.loaded=!0,e.state.error=!1,e.record("loadEnd"),e.render("loaded",!1),e.state.rendered=!0,e._imageCache.add(e.src),t()}),(function(t){!e.options.silent&&console.error(t),e.state.error=!0,e.state.loaded=!1,e.render("error",!1)}))}))}},{key:"render",value:function(e,t){this.elRenderer(this,e,t)}},{key:"performance",value:function(){var e="loading",t=0;return this.state.loaded&&(e="loaded",t=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(e="error"),{src:this.src,state:e,time:t}}},{key:"$destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),e}(),R="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",N=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],B={rootMargin:"0px",threshold:0};function Y(e){return function(){function t(e){var n=e.preLoad,r=e.error,i=e.throttleWait,o=e.preLoadTop,a=e.dispatchEvent,s=e.loading,u=e.attempt,c=e.silent,d=void 0===c||c,h=e.scale,f=e.listenEvents;e.hasbind;var m=e.filter,g=e.adapter,v=e.observer,y=e.observerOptions;l(this,t),this.version='"1.3.5"',this.mode=p.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!a,throttleWait:i||200,preLoad:n||1.3,preLoadTop:o||0,error:r||R,loading:s||R,attempt:u||3,scale:h||_(h),ListenEvents:f||N,hasbind:!1,supportWebp:w(),filter:m||{},adapter:g||{},observer:!!v,observerOptions:y||B},this._initEvent(),this._imageCache=new j({max:200}),this.lazyLoadHandler=x(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?p.observer:p.event)}return u(t,[{key:"config",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this.options,e)}},{key:"performance",value:function(){var e=[];return this.ListenerQueue.map((function(t){e.push(t.performance())})),e}},{key:"addLazyBox",value:function(e){this.ListenerQueue.push(e),d&&(this._addListenerTarget(window),this._observer&&this._observer.observe(e.el),e.$el&&e.$el.parentNode&&this._addListenerTarget(e.$el.parentNode))}},{key:"add",value:function(t,n,r){var i=this;if(v(this.ListenerQueue,(function(e){return e.el===t})))return this.update(t,n),e.nextTick(this.lazyLoadHandler);var o=this._valueFormatter(n.value),a=o.src,s=o.loading,l=o.error,u=o.cors;e.nextTick((function(){a=y(t,i.options.scale)||a,i._observer&&i._observer.observe(t);var o=Object.keys(n.modifiers)[0],c=void 0;o&&(c=r.context.$refs[o],c=c?c.$el||c:document.getElementById(o)),c||(c=L(t));var h=new P({bindType:n.arg,$parent:c,el:t,loading:s,error:l,src:a,cors:u,elRenderer:i._elRenderer.bind(i),options:i.options,imageCache:i._imageCache});i.ListenerQueue.push(h),d&&(i._addListenerTarget(window),i._addListenerTarget(c)),i.lazyLoadHandler(),e.nextTick((function(){return i.lazyLoadHandler()}))}))}},{key:"update",value:function(t,n,r){var i=this,o=this._valueFormatter(n.value),a=o.src,s=o.loading,l=o.error;a=y(t,this.options.scale)||a;var u=b(this.ListenerQueue,(function(e){return e.el===t}));u?u.update({src:a,loading:s,error:l}):this.add(t,n,r),this._observer&&(this._observer.unobserve(t),this._observer.observe(t)),this.lazyLoadHandler(),e.nextTick((function(){return i.lazyLoadHandler()}))}},{key:"remove",value:function(e){if(e){this._observer&&this._observer.unobserve(e);var t=b(this.ListenerQueue,(function(t){return t.el===e}));t&&(this._removeListenerTarget(t.$parent),this._removeListenerTarget(window),g(this.ListenerQueue,t),t.$destroy())}}},{key:"removeComponent",value:function(e){e&&(g(this.ListenerQueue,e),this._observer&&this._observer.unobserve(e.el),e.$parent&&e.$el.parentNode&&this._removeListenerTarget(e.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(e){var t=this;h||e!==p.observer||(e=p.event),this.mode=e,e===p.event?(this._observer&&(this.ListenerQueue.forEach((function(e){t._observer.unobserve(e.el)})),this._observer=null),this.TargetQueue.forEach((function(e){t._initListen(e.el,!0)}))):(this.TargetQueue.forEach((function(e){t._initListen(e.el,!1)})),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(e){if(e){var t=b(this.TargetQueue,(function(t){return t.el===e}));return t?t.childrenCount++:(t={el:e,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===p.event&&this._initListen(t.el,!0),this.TargetQueue.push(t)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(e){var t=this;this.TargetQueue.forEach((function(n,r){n.el===e&&(n.childrenCount--,n.childrenCount||(t._initListen(n.el,!1),t.TargetQueue.splice(r,1),n=null))}))}},{key:"_initListen",value:function(e,t){var n=this;this.options.ListenEvents.forEach((function(r){return S[t?"on":"off"](e,r,n.lazyLoadHandler)}))}},{key:"_initEvent",value:function(){var e=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(t,n){e.Event.listeners[t]||(e.Event.listeners[t]=[]),e.Event.listeners[t].push(n)},this.$once=function(t,n){var r=e;function i(){r.$off(t,i),n.apply(r,arguments)}e.$on(t,i)},this.$off=function(t,n){if(n)g(e.Event.listeners[t],n);else{if(!e.Event.listeners[t])return;e.Event.listeners[t].length=0}},this.$emit=function(t,n,r){e.Event.listeners[t]&&e.Event.listeners[t].forEach((function(e){return e(n,r)}))}}},{key:"_lazyLoadHandler",value:function(){var e=this,t=[];this.ListenerQueue.forEach((function(e,n){e.el&&e.el.parentNode||t.push(e);var r=e.checkInView();r&&e.load()})),t.forEach((function(t){g(e.ListenerQueue,t),t.$destroy()}))}},{key:"_initIntersectionObserver",value:function(){var e=this;h&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach((function(t){e._observer.observe(t.el)})))}},{key:"_observerHandler",value:function(e,t){var n=this;e.forEach((function(e){e.isIntersecting&&n.ListenerQueue.forEach((function(t){if(t.el===e.target){if(t.state.loaded)return n._observer.unobserve(t.el);t.load()}}))}))}},{key:"_elRenderer",value:function(e,t,n){if(e.el){var r=e.el,i=e.bindType,o=void 0;switch(t){case"loading":o=e.loading;break;case"error":o=e.error;break;default:o=e.src;break}if(i?r.style[i]='url("'+o+'")':r.getAttribute("src")!==o&&r.setAttribute("src",o),r.setAttribute("lazy",t),this.$emit(t,e,n),this.options.adapter[t]&&this.options.adapter[t](e,this.options),this.options.dispatchEvent){var a=new m(t,{detail:e});r.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(e){var t=e,n=this.options.loading,r=this.options.error;return A(e)&&(e.src||this.options.silent||console.error("Vue Lazyload warning: miss src with "+e),t=e.src,n=e.loading||this.options.loading,r=e.error||this.options.error),{src:t,loading:n,error:r}}}]),t}()}Y.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Y(e),r=new n(t),i="2"===e.version.split(".")[0];i?e.directive("lazy",{bind:r.add.bind(r),update:r.update.bind(r),componentUpdated:r.lazyLoadHandler.bind(r),unbind:r.remove.bind(r)}):e.directive("lazy",{bind:r.lazyLoadHandler.bind(r),update:function(e,t){c(this.vm.$refs,this.vm.$els),r.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){r.remove(this.el)}})};var F=function(e){return{props:{tag:{type:String,default:"div"}},render:function(e){return e(this.tag,null,this.show?this.$slots.default:null)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeDestroy:function(){e.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),d&&this.rect.top<window.innerHeight*e.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*e.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)},destroy:function(){return this.$destroy}}}};F.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Y(e),r=new n(t);e.component("lazy-component",F(r))};var z=function(){function e(t){var n=t.lazy;l(this,e),this.lazy=n,n.lazyContainerMananger=this,this._queue=[]}return u(e,[{key:"bind",value:function(e,t,n){var r=new V({el:e,binding:t,vnode:n,lazy:this.lazy});this._queue.push(r)}},{key:"update",value:function(e,t,n){var r=b(this._queue,(function(t){return t.el===e}));r&&r.update({el:e,binding:t,vnode:n})}},{key:"unbind",value:function(e,t,n){var r=b(this._queue,(function(t){return t.el===e}));r&&(r.clear(),g(this._queue,r))}}]),e}(),H={selector:"img"},V=function(){function e(t){var n=t.el,r=t.binding,i=t.vnode,o=t.lazy;l(this,e),this.el=null,this.vnode=i,this.binding=r,this.options={},this.lazy=o,this._queue=[],this.update({el:n,binding:r})}return u(e,[{key:"update",value:function(e){var t=this,n=e.el,r=e.binding;this.el=n,this.options=c({},H,r.value);var i=this.getImgs();i.forEach((function(e){t.lazy.add(e,c({},t.binding,{value:{src:"dataset"in e?e.dataset.src:e.getAttribute("data-src"),error:("dataset"in e?e.dataset.error:e.getAttribute("data-error"))||t.options.error,loading:("dataset"in e?e.dataset.loading:e.getAttribute("data-loading"))||t.options.loading}}),t.vnode)}))}},{key:"getImgs",value:function(){return E(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var e=this,t=this.getImgs();t.forEach((function(t){return e.lazy.remove(t)})),this.vnode=null,this.binding=null,this.lazy=null}}]),e}();V.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Y(e),r=new n(t),i=new V({lazy:r}),o="2"===e.version.split(".")[0];o?e.directive("lazy-container",{bind:i.bind.bind(i),componentUpdated:i.update.bind(i),unbind:i.unbind.bind(i)}):e.directive("lazy-container",{update:function(e,t){i.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){i.unbind(this.el)}})};var W=function(e){return{props:{src:[String,Object],tag:{type:String,default:"img"}},render:function(e){return e(this.tag,{attrs:{src:this.renderSrc}},this.$slots.default)},data:function(){return{el:null,options:{src:"",error:"",loading:"",attempt:e.options.attempt},state:{loaded:!1,error:!1,attempt:0},rect:{},renderSrc:""}},watch:{src:function(){this.init(),e.addLazyBox(this),e.lazyLoadHandler()}},created:function(){this.init(),this.renderSrc=this.options.loading},mounted:function(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeDestroy:function(){e.removeComponent(this)},methods:{init:function(){var t=e._valueFormatter(this.src),n=t.src,r=t.loading,i=t.error;this.state.loaded=!1,this.options.src=n,this.options.error=i,this.options.loading=r,this.renderSrc=this.options.loading},getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),d&&this.rect.top<window.innerHeight*e.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*e.options.preLoad&&this.rect.right>0},load:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;if(this.state.attempt>this.options.attempt-1&&this.state.error)return e.options.silent||console.log("VueLazyload log: "+this.options.src+" tried too more than "+this.options.attempt+" times"),void n();var r=this.options.src;C({src:r},(function(e){var n=e.src;t.renderSrc=n,t.state.loaded=!0}),(function(e){t.state.attempt++,t.renderSrc=t.options.error,t.state.error=!0}))}}}};W.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Y(e),r=new n(t);e.component("lazy-image",W(r))};var U={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Y(e),r=new n(t),i=new z({lazy:r}),o="2"===e.version.split(".")[0];e.prototype.$Lazyload=r,t.lazyComponent&&e.component("lazy-component",F(r)),t.lazyImage&&e.component("lazy-image",W(r)),o?(e.directive("lazy",{bind:r.add.bind(r),update:r.update.bind(r),componentUpdated:r.lazyLoadHandler.bind(r),unbind:r.remove.bind(r)}),e.directive("lazy-container",{bind:i.bind.bind(i),componentUpdated:i.update.bind(i),unbind:i.unbind.bind(i)})):(e.directive("lazy",{bind:r.lazyLoadHandler.bind(r),update:function(e,t){c(this.vm.$refs,this.vm.$els),r.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){r.remove(this.el)}}),e.directive("lazy-container",{update:function(e,t){i.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){i.unbind(this.el)}}))}}},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},cc6d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gaugeConfig=void 0;var r={show:!0,name:"",radius:"60%",center:["50%","50%"],startAngle:-Math.PI/4*5,endAngle:Math.PI/4,min:0,max:100,splitNum:5,arcLineWidth:15,data:[],dataItemStyle:{},axisTick:{show:!0,tickLength:6,style:{stroke:"#999",lineWidth:1}},axisLabel:{show:!0,data:[],formatter:null,labelGap:5,style:{}},pointer:{show:!0,valueIndex:0,style:{scale:[1,1],fill:"#fb7293"}},details:{show:!1,formatter:null,offset:[0,0],valueToFixed:0,position:"center",style:{fontSize:20,fontWeight:"bold",textAlign:"center",textBaseline:"middle"}},backgroundArc:{show:!0,style:{stroke:"#e0e0e0"}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};t.gaugeConfig=r},cc89:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{classof:n("23c6")})},ccb9:function(e,t,n){t.f=n("5168")},cd1c:function(e,t,n){var r=n("e853");e.exports=function(e,t){return new(r(e))(t)}},cd78:function(e,t,n){var r=n("e4ae"),i=n("f772"),o=n("656e");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},ce10:function(e,t,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},ce7e:function(e,t,n){var r=n("63b6"),i=n("584a"),o=n("294c");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},ceaf:function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(t),n,!1);if(void 0===r||!r["delete"](e))return!1;if(r.size)return!0;var l=s.get(t);return l["delete"](n),!!l.size||s["delete"](t)}})},cee4:function(e,t,n){"use strict";var r=n("c532"),i=n("1d2b"),o=n("0a06"),a=n("2444");function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var l=s(a);l.Axios=o,l.create=function(e){return s(r.merge(a,e))},l.Cancel=n("7a77"),l.CancelToken=n("8df4b"),l.isCancel=n("2e67"),l.all=function(e){return Promise.all(e)},l.spread=n("0df6"),e.exports=l,e.exports.default=l},cf1e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  521. //! moment.js locale configuration
  522. var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,i){var o,a=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":i||n?a[0]:a[1]:(o=t.correctGrammaticalCase(e,a),"yy"===r&&n&&"godinu"===o?e+" godina":e+" "+o)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},cf51:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  523. //! moment.js locale configuration
  524. var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}return t}))},cf6a:function(e,t,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("seal",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},cf75:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  525. //! moment.js locale configuration
  526. var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function i(e,t,n,r){var i=o(e);switch(n){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function o(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}var a=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:r,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},cff6:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n("c3f0"),o=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.defaultValue,a=void 0===o?{}:o,s=n.serialize,l=void 0===s?i:s,u=n.deserialize,c=void 0===u?JSON.parse:u;r(this,e),this.source=t,this.defaultValue=a,this.serialize=l,this.deserialize=c};e.exports=o},d044:function(e,t,n){var r;(function(t,n){e.exports=n()})(0,(function(){function e(e){this.mode=n.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,r=this.data.length;t<r;t++){var i=[],o=this.data.charCodeAt(t);o>65536?(i[0]=240|(1835008&o)>>>18,i[1]=128|(258048&o)>>>12,i[2]=128|(4032&o)>>>6,i[3]=128|63&o):o>2048?(i[0]=224|(61440&o)>>>12,i[1]=128|(4032&o)>>>6,i[2]=128|63&o):o>128?(i[0]=192|(1984&o)>>>6,i[1]=128|63&o):i[0]=o,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t<n;t++)e.put(this.parsedData[t],8)}},t.prototype={addData:function(t){var n=new e(t);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[r][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,n),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n),i=1;this.make();for(var o=0;o<this.modules.length;o++)for(var a=o*i,s=0;s<this.modules[o].length;s++){var l=s*i,u=this.modules[o][s];u&&(r.beginFill(0,100),r.moveTo(l,a),r.lineTo(l+i,a),r.lineTo(l+i,a+i),r.lineTo(l,a+i),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][i+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},setupTypeNumber:function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++){o=!e&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,s=this.moduleCount-1;s>0;s-=2){6==s&&s--;while(1){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var u=!1;o<e.length&&(u=1==(e[o]>>>i&1));var c=a.getMask(t,r,s-l);c&&(u=!u),this.modules[r][s-l]=u,i--,-1==i&&(o++,i=7)}if(r+=n,r<0||this.moduleCount<=r){r-=n,n=-n;break}}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,n,r){for(var i=c.getRSBlocks(e,n),o=new d,s=0;s<r.length;s++){var l=r[s];o.put(l.mode,4),o.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(o)}var u=0;for(s=0;s<i.length;s++)u+=i[s].dataCount;if(o.getLengthInBits()>8*u)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*u+")");o.getLengthInBits()+4<=8*u&&o.put(0,4);while(o.getLengthInBits()%8!=0)o.putBit(!1);while(1){if(o.getLengthInBits()>=8*u)break;if(o.put(t.PAD0,8),o.getLengthInBits()>=8*u)break;o.put(t.PAD1,8)}return t.createBytes(o,i)},t.createBytes=function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),s=new Array(t.length),l=0;l<t.length;l++){var c=t[l].dataCount,d=t[l].totalCount-c;r=Math.max(r,c),i=Math.max(i,d),o[l]=new Array(c);for(var h=0;h<o[l].length;h++)o[l][h]=255&e.buffer[h+n];n+=c;var f=a.getErrorCorrectPolynomial(d),p=new u(o[l],f.getLength()-1),m=p.mod(f);s[l]=new Array(f.getLength()-1);for(h=0;h<s[l].length;h++){var g=h+m.getLength()-s[l].length;s[l][h]=g>=0?m.get(g):0}}var v=0;for(h=0;h<t.length;h++)v+=t[h].totalCount;var y=new Array(v),b=0;for(h=0;h<r;h++)for(l=0;l<t.length;l++)h<o[l].length&&(y[b++]=o[l][h]);for(h=0;h<i;h++)for(l=0;l<t.length;l++)h<s[l].length&&(y[b++]=s[l][h]);return y};for(var n={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},i={L:1,M:0,Q:3,H:2},o={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){var t=e<<10;while(a.getBCHDigit(t)-a.getBCHDigit(a.G15)>=0)t^=a.G15<<a.getBCHDigit(t)-a.getBCHDigit(a.G15);return(e<<10|t)^a.G15_MASK},getBCHTypeNumber:function(e){var t=e<<12;while(a.getBCHDigit(t)-a.getBCHDigit(a.G18)>=0)t^=a.G18<<a.getBCHDigit(t)-a.getBCHDigit(a.G18);return e<<12|t},getBCHDigit:function(e){var t=0;while(0!=e)t++,e>>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case o.PATTERN000:return(t+n)%2==0;case o.PATTERN001:return t%2==0;case o.PATTERN010:return n%3==0;case o.PATTERN011:return(t+n)%3==0;case o.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case o.PATTERN101:return t*n%2+t*n%3==0;case o.PATTERN110:return(t*n%2+t*n%3)%2==0;case o.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new u([1],0),n=0;n<e;n++)t=t.multiply(new u([1,s.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:return 8;case n.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var i=0;i<t;i++){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)i+l<0||t<=i+l||0==s&&0==l||a==e.isDark(r+s,i+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(i=0;i<t-1;i++){var u=0;e.isDark(r,i)&&u++,e.isDark(r+1,i)&&u++,e.isDark(r,i+1)&&u++,e.isDark(r+1,i+1)&&u++,0!=u&&4!=u||(n+=3)}for(r=0;r<t;r++)for(i=0;i<t-6;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;i<t;i++)for(r=0;r<t-6;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var c=0;for(i=0;i<t;i++)for(r=0;r<t;r++)e.isDark(r,i)&&c++;var d=Math.abs(100*c/t/t-50)/5;return n+=10*d,n}},s={glog:function(e){if(e<1)throw new Error("glog("+e+")");return s.LOG_TABLE[e]},gexp:function(e){while(e<0)e+=255;while(e>=256)e-=255;return s.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},l=0;l<8;l++)s.EXP_TABLE[l]=1<<l;for(l=8;l<256;l++)s.EXP_TABLE[l]=s.EXP_TABLE[l-4]^s.EXP_TABLE[l-5]^s.EXP_TABLE[l-6]^s.EXP_TABLE[l-8];for(l=0;l<255;l++)s.LOG_TABLE[s.EXP_TABLE[l]]=l;function u(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);var n=0;while(n<e.length&&0==e[n])n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function c(e,t){this.totalCount=e,this.dataCount=t}function d(){this.buffer=[],this.length=0}u.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<e.getLength();r++)t[n+r]^=s.gexp(s.glog(this.get(n))+s.glog(e.get(r)));return new u(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=s.glog(this.get(0))-s.glog(e.get(0)),n=new Array(this.getLength()),r=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<e.getLength();r++)n[r]^=s.gexp(s.glog(e.get(r))+t);return new u(n,0).mod(e)}},c.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],c.getRSBlocks=function(e,t){var n=c.getRsBlockTable(e,t);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,i=[],o=0;o<r;o++)for(var a=n[3*o+0],s=n[3*o+1],l=n[3*o+2],u=0;u<a;u++)i.push(new c(s,l));return i},c.getRsBlockTable=function(e,t){switch(t){case i.L:return c.RS_BLOCK_TABLE[4*(e-1)+0];case i.M:return c.RS_BLOCK_TABLE[4*(e-1)+1];case i.Q:return c.RS_BLOCK_TABLE[4*(e-1)+2];case i.H:return c.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},d.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var h=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function f(){return"undefined"!=typeof CanvasRenderingContext2D}function p(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}var m=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){var t=this._htOption,n=this._el,r=e.getModuleCount();Math.floor(t.width/r),Math.floor(t.height/r);function i(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}this.clear();var o=i("svg",{viewBox:"0 0 "+String(r)+" "+String(r),width:"100%",height:"100%",fill:t.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(o),o.appendChild(i("rect",{fill:t.colorLight,width:"100%",height:"100%"})),o.appendChild(i("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<r;a++)for(var s=0;s<r;s++)if(e.isDark(a,s)){var l=i("use",{x:String(s),y:String(a)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(l)}},e.prototype.clear=function(){while(this._el.hasChildNodes())this._el.removeChild(this._el.lastChild)},e}(),g="svg"===document.documentElement.tagName.toLowerCase(),v=g?m:f()?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var t=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,r,i,o,a,s,l,u,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*t;else"undefined"==typeof u&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);n.apply(this,arguments)}}function r(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),i=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)},o=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)};return r.onabort=i,r.onerror=i,r.onload=o,void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}var i=function(e,t){this._bIsPainted=!1,this._android=p(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,i=e.getModuleCount(),o=r.width/i,a=r.height/i,s=Math.round(o),l=Math.round(a);t.style.display="none",this.clear();for(var u=0;u<i;u++)for(var c=0;c<i;c++){var d=e.isDark(u,c),h=c*o,f=u*a;n.strokeStyle=d?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=d?r.colorDark:r.colorLight,n.fillRect(h,f,o,a),n.strokeRect(Math.floor(h)+.5,Math.floor(f)+.5,s,l),n.strokeRect(Math.ceil(h)-.5,Math.ceil(f)-.5,s,l)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&r.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},i}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),i=Math.floor(t.width/r),o=Math.floor(t.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<r;s++){a.push("<tr>");for(var l=0;l<r;l++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(e.isDark(s,l)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var u=n.childNodes[0],c=(t.width-u.offsetWidth)/2,d=(t.height-u.offsetHeight)/2;c>0&&d>0&&(u.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();function y(e,t){for(var n=1,r=b(e),o=0,a=h.length;o<=a;o++){var s=0;switch(t){case i.L:s=h[o][0];break;case i.M:s=h[o][1];break;case i.Q:s=h[o][2];break;case i.H:s=h[o][3];break}if(r<=s)break;n++}if(n>h.length)throw new Error("Too long data");return n}function b(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}return r=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:i.H},"string"===typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(v=m),this._android=p(),this._el=e,this._oQRCode=null,this._oDrawing=new v(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},r.prototype.makeCode=function(e){this._oQRCode=new t(y(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},r.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},r.prototype.clear=function(){this._oDrawing.clear()},r.CorrectLevel=i,r}))},d04f:function(e,t,n){n("7a56")("Array")},d090:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e="undefined"===typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"===typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,n=function(e){for(var t=this,n=0;n<e.length;n+=1)t[n]=e[n];return t.length=e.length,this};function r(r,i){var o=[],a=0;if(r&&!i&&r instanceof n)return r;if(r)if("string"===typeof r){var s,l,u=r.trim();if(u.indexOf("<")>=0&&u.indexOf(">")>=0){var c="div";for(0===u.indexOf("<li")&&(c="ul"),0===u.indexOf("<tr")&&(c="tbody"),0!==u.indexOf("<td")&&0!==u.indexOf("<th")||(c="tr"),0===u.indexOf("<tbody")&&(c="table"),0===u.indexOf("<option")&&(c="select"),l=e.createElement(c),l.innerHTML=u,a=0;a<l.childNodes.length;a+=1)o.push(l.childNodes[a])}else for(s=i||"#"!==r[0]||r.match(/[ .<>:~]/)?(i||e).querySelectorAll(r.trim()):[e.getElementById(r.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&o.push(s[a])}else if(r.nodeType||r===t||r===e)o.push(r);else if(r.length>0&&r[0].nodeType)for(a=0;a<r.length;a+=1)o.push(r[a]);return new n(o)}function i(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function o(e){if("undefined"===typeof e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var r=0;r<this.length;r+=1)"undefined"!==typeof this[r]&&"undefined"!==typeof this[r].classList&&this[r].classList.add(t[n]);return this}function a(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var r=0;r<this.length;r+=1)"undefined"!==typeof this[r]&&"undefined"!==typeof this[r].classList&&this[r].classList.remove(t[n]);return this}function s(e){return!!this[0]&&this[0].classList.contains(e)}function l(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var r=0;r<this.length;r+=1)"undefined"!==typeof this[r]&&"undefined"!==typeof this[r].classList&&this[r].classList.toggle(t[n]);return this}function u(e,t){var n=arguments;if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var r=0;r<this.length;r+=1)if(2===n.length)this[r].setAttribute(e,t);else for(var i in e)this[r][i]=e[i],this[r].setAttribute(i,e[i]);return this}function c(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function d(e,t){var n;if("undefined"!==typeof t){for(var r=0;r<this.length;r+=1)n=this[r],n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0],n){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];var i=n.getAttribute("data-"+e);return i||void 0}}function h(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this}function f(e){"string"!==typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this}function p(){var e,t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=t[0],o=t[1],a=t[2],s=t[3];function l(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),r(t).is(o))a.apply(t,n);else for(var i=r(t).parents(),s=0;s<i.length;s+=1)r(i[s]).is(o)&&a.apply(i[s],n)}}function u(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"===typeof t[1]&&(e=t,i=e[0],a=e[1],s=e[2],o=void 0),s||(s=!1);for(var c,d=i.split(" "),h=0;h<this.length;h+=1){var f=this[h];if(o)for(c=0;c<d.length;c+=1){var p=d[c];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:a,proxyListener:l}),f.addEventListener(p,l,s)}else for(c=0;c<d.length;c+=1){var m=d[c];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[m]||(f.dom7Listeners[m]=[]),f.dom7Listeners[m].push({listener:a,proxyListener:u}),f.addEventListener(m,u,s)}}return this}function m(){var e,t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];"function"===typeof t[1]&&(e=t,r=e[0],o=e[1],a=e[2],i=void 0),a||(a=!1);for(var s=r.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var d=this[c],h=void 0;if(!i&&d.dom7Listeners?h=d.dom7Listeners[u]:i&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[u]),h&&h.length)for(var f=h.length-1;f>=0;f-=1){var p=h[f];o&&p.listener===o||o&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===o?(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1)):o||(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1))}}return this}function g(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];for(var i=n[0].split(" "),o=n[1],a=0;a<i.length;a+=1)for(var s=i[a],l=0;l<this.length;l+=1){var u=this[l],c=void 0;try{c=new t.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0})}catch(d){c=e.createEvent("Event"),c.initEvent(s,!0,!0),c.detail=o}u.dom7EventData=n.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}return this}function v(e){var t,n=["webkitTransitionEnd","transitionend"],r=this;function i(o){if(o.target===this)for(e.call(this,o),t=0;t<n.length;t+=1)r.off(n[t],i)}if(e)for(t=0;t<n.length;t+=1)r.on(n[t],i);return this}function y(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function b(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function _(){if(this.length>0){var n=this[0],r=n.getBoundingClientRect(),i=e.body,o=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,s=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:r.top+s-o,left:r.left+l-a}}return null}function w(){return this[0]?t.getComputedStyle(this[0],null):{}}function x(e,n){var r;if(1===arguments.length){if("string"!==typeof e){for(r=0;r<this.length;r+=1)for(var i in e)this[r].style[i]=e[i];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(r=0;r<this.length;r+=1)this[r].style[e]=n;return this}return this}function k(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function M(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function S(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function C(i){var o,a,s=this[0];if(!s||"undefined"===typeof i)return!1;if("string"===typeof i){if(s.matches)return s.matches(i);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(i);if(s.msMatchesSelector)return s.msMatchesSelector(i);for(o=r(i),a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}if(i===e)return s===e;if(i===t)return s===t;if(i.nodeType||i instanceof n){for(o=i.nodeType?[i]:i,a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}return!1}function T(){var e,t=this[0];if(t){e=0;while(null!==(t=t.previousSibling))1===t.nodeType&&(e+=1);return e}}function O(e){if("undefined"===typeof e)return this;var t,r=this.length;return e>r-1?new n([]):e<0?(t=r+e,new n(t<0?[]:[this[t]])):new n([this[e]])}function L(){var t,r=[],i=arguments.length;while(i--)r[i]=arguments[i];for(var o=0;o<r.length;o+=1){t=r[o];for(var a=0;a<this.length;a+=1)if("string"===typeof t){var s=e.createElement("div");s.innerHTML=t;while(s.firstChild)this[a].appendChild(s.firstChild)}else if(t instanceof n)for(var l=0;l<t.length;l+=1)this[a].appendChild(t[l]);else this[a].appendChild(t)}return this}function A(t){var r,i;for(r=0;r<this.length;r+=1)if("string"===typeof t){var o=e.createElement("div");for(o.innerHTML=t,i=o.childNodes.length-1;i>=0;i-=1)this[r].insertBefore(o.childNodes[i],this[r].childNodes[0])}else if(t instanceof n)for(i=0;i<t.length;i+=1)this[r].insertBefore(t[i],this[r].childNodes[0]);else this[r].insertBefore(t,this[r].childNodes[0]);return this}function D(e){return this.length>0?e?this[0].nextElementSibling&&r(this[0].nextElementSibling).is(e)?new n([this[0].nextElementSibling]):new n([]):this[0].nextElementSibling?new n([this[0].nextElementSibling]):new n([]):new n([])}function E(e){var t=[],i=this[0];if(!i)return new n([]);while(i.nextElementSibling){var o=i.nextElementSibling;e?r(o).is(e)&&t.push(o):t.push(o),i=o}return new n(t)}function I(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&r(t.previousElementSibling).is(e)?new n([t.previousElementSibling]):new n([]):t.previousElementSibling?new n([t.previousElementSibling]):new n([])}return new n([])}function j(e){var t=[],i=this[0];if(!i)return new n([]);while(i.previousElementSibling){var o=i.previousElementSibling;e?r(o).is(e)&&t.push(o):t.push(o),i=o}return new n(t)}function P(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?r(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return r(i(t))}function R(e){for(var t=[],n=0;n<this.length;n+=1){var o=this[n].parentNode;while(o)e?r(o).is(e)&&t.push(o):t.push(o),o=o.parentNode}return r(i(t))}function N(e){var t=this;return"undefined"===typeof e?new n([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function B(e){for(var t=[],r=0;r<this.length;r+=1)for(var i=this[r].querySelectorAll(e),o=0;o<i.length;o+=1)t.push(i[o]);return new n(t)}function Y(e){for(var t=[],o=0;o<this.length;o+=1)for(var a=this[o].childNodes,s=0;s<a.length;s+=1)e?1===a[s].nodeType&&r(a[s]).is(e)&&t.push(a[s]):1===a[s].nodeType&&t.push(a[s]);return new n(i(t))}function F(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function z(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n,i,o=this;for(n=0;n<e.length;n+=1){var a=r(e[n]);for(i=0;i<a.length;i+=1)o[o.length]=a[i],o.length+=1}return o}r.fn=n.prototype,r.Class=n,r.Dom7=n;var H={addClass:o,removeClass:a,hasClass:s,toggleClass:l,attr:u,removeAttr:c,data:d,transform:h,transition:f,on:p,off:m,trigger:g,transitionEnd:v,outerWidth:y,outerHeight:b,offset:_,css:x,each:k,html:M,text:S,is:C,index:T,eq:O,append:L,prepend:A,next:D,nextAll:E,prev:I,prevAll:j,parent:P,parents:R,closest:N,find:B,children:Y,remove:F,add:z,styles:w};Object.keys(H).forEach((function(e){r.fn[e]=r.fn[e]||H[e]}));var V={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,n){var r,i,o;void 0===n&&(n="x");var a=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),o=new t.WebKitCSSMatrix("none"===i?"":i)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===n&&(i=t.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===n&&(i=t.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0},parseUrlQuery:function(e){var n,r,i,o,a={},s=e||t.location.href;if("string"===typeof s&&s.length)for(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"",r=s.split("&").filter((function(e){return""!==e})),o=r.length,n=0;n<o;n+=1)i=r[n].replace(/#\S+/g,"").split("="),a[decodeURIComponent(i[0])]="undefined"===typeof i[1]?void 0:decodeURIComponent(i[1])||"";return a},isObject:function(e){return"object"===typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];for(var n=Object(e[0]),r=1;r<e.length;r+=1){var i=e[r];if(void 0!==i&&null!==i)for(var o=Object.keys(Object(i)),a=0,s=o.length;a<s;a+=1){var l=o[a],u=Object.getOwnPropertyDescriptor(i,l);void 0!==u&&u.enumerable&&(V.isObject(n[l])&&V.isObject(i[l])?V.extend(n[l],i[l]):!V.isObject(n[l])&&V.isObject(i[l])?(n[l]={},V.extend(n[l],i[l])):n[l]=i[l])}}return n}},W=function(){var n=e.createElement("div");return{touch:t.Modernizr&&!0===t.Modernizr.touch||function(){return!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}(),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:function(){var e=n.style;return"transition"in e||"webkitTransition"in e||"MozTransition"in e}(),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=n.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=n.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),r=0;r<t.length;r+=1)if(t[r]in e)return!0;return!1}(),observer:function(){return"MutationObserver"in t||"WebkitMutationObserver"in t}(),passiveListener:function(){var e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(r){}return e}(),gestures:function(){return"ongesturestart"in t}()}}(),U=function(){function e(){var e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}return{isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:e(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),$=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},G={components:{configurable:!0}};function q(){var e,t,n=this,r=n.$el;e="undefined"!==typeof n.params.width?n.params.width:r[0].clientWidth,t="undefined"!==typeof n.params.height?n.params.height:r[0].clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(r.css("padding-left"),10)-parseInt(r.css("padding-right"),10),t=t-parseInt(r.css("padding-top"),10)-parseInt(r.css("padding-bottom"),10),V.extend(n,{width:e,height:t,size:n.isHorizontal()?e:t}))}function X(){var e=this,n=e.params,r=e.$wrapperEl,i=e.size,o=e.rtlTranslate,a=e.wrongRTL,s=e.virtual&&n.virtual.enabled,l=s?e.virtual.slides.length:e.slides.length,u=r.children("."+e.params.slideClass),c=s?e.virtual.slides.length:u.length,d=[],h=[],f=[],p=n.slidesOffsetBefore;"function"===typeof p&&(p=n.slidesOffsetBefore.call(e));var m=n.slidesOffsetAfter;"function"===typeof m&&(m=n.slidesOffsetAfter.call(e));var g=e.snapGrid.length,v=e.snapGrid.length,y=n.spaceBetween,b=-p,_=0,w=0;if("undefined"!==typeof i){var x,k;"string"===typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),n.slidesPerColumn>1&&(x=Math.floor(c/n.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/n.slidesPerColumn)*n.slidesPerColumn,"auto"!==n.slidesPerView&&"row"===n.slidesPerColumnFill&&(x=Math.max(x,n.slidesPerView*n.slidesPerColumn)));for(var M,S=n.slidesPerColumn,C=x/S,T=Math.floor(c/n.slidesPerColumn),O=0;O<c;O+=1){k=0;var L=u.eq(O);if(n.slidesPerColumn>1){var A=void 0,D=void 0,E=void 0;if("column"===n.slidesPerColumnFill||"row"===n.slidesPerColumnFill&&n.slidesPerGroup>1){if("column"===n.slidesPerColumnFill)D=Math.floor(O/S),E=O-D*S,(D>T||D===T&&E===S-1)&&(E+=1,E>=S&&(E=0,D+=1));else{var I=Math.floor(O/n.slidesPerGroup);E=Math.floor(O/n.slidesPerView)-I*n.slidesPerColumn,D=O-E*n.slidesPerView-I*n.slidesPerView}A=D+E*x/S,L.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else E=Math.floor(O/C),D=O-E*C;L.css("margin-"+(e.isHorizontal()?"top":"left"),0!==E&&n.spaceBetween&&n.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",E)}if("none"!==L.css("display")){if("auto"===n.slidesPerView){var j=t.getComputedStyle(L[0],null),P=L[0].style.transform,R=L[0].style.webkitTransform;if(P&&(L[0].style.transform="none"),R&&(L[0].style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);else if(e.isHorizontal()){var N=parseFloat(j.getPropertyValue("width")),B=parseFloat(j.getPropertyValue("padding-left")),Y=parseFloat(j.getPropertyValue("padding-right")),F=parseFloat(j.getPropertyValue("margin-left")),z=parseFloat(j.getPropertyValue("margin-right")),H=j.getPropertyValue("box-sizing");k=H&&"border-box"===H&&!U.isIE?N+F+z:N+B+Y+F+z}else{var $=parseFloat(j.getPropertyValue("height")),G=parseFloat(j.getPropertyValue("padding-top")),q=parseFloat(j.getPropertyValue("padding-bottom")),X=parseFloat(j.getPropertyValue("margin-top")),K=parseFloat(j.getPropertyValue("margin-bottom")),Z=j.getPropertyValue("box-sizing");k=Z&&"border-box"===Z&&!U.isIE?$+X+K:$+G+q+X+K}P&&(L[0].style.transform=P),R&&(L[0].style.webkitTransform=R),n.roundLengths&&(k=Math.floor(k))}else k=(i-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),u[O]&&(e.isHorizontal()?u[O].style.width=k+"px":u[O].style.height=k+"px");u[O]&&(u[O].swiperSlideSize=k),f.push(k),n.centeredSlides?(b=b+k/2+_/2+y,0===_&&0!==O&&(b=b-i/2-y),0===O&&(b=b-i/2-y),Math.abs(b)<.001&&(b=0),n.roundLengths&&(b=Math.floor(b)),w%n.slidesPerGroup===0&&d.push(b),h.push(b)):(n.roundLengths&&(b=Math.floor(b)),w%n.slidesPerGroup===0&&d.push(b),h.push(b),b=b+k+y),e.virtualSize+=k+y,_=k,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+m,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&r.css({width:e.virtualSize+n.spaceBetween+"px"}),W.flexbox&&!n.setWrapperSize||(e.isHorizontal()?r.css({width:e.virtualSize+n.spaceBetween+"px"}):r.css({height:e.virtualSize+n.spaceBetween+"px"})),n.slidesPerColumn>1&&(e.virtualSize=(k+n.spaceBetween)*x,e.virtualSize=Math.ceil(e.virtualSize/n.slidesPerColumn)-n.spaceBetween,e.isHorizontal()?r.css({width:e.virtualSize+n.spaceBetween+"px"}):r.css({height:e.virtualSize+n.spaceBetween+"px"}),n.centeredSlides)){M=[];for(var J=0;J<d.length;J+=1){var Q=d[J];n.roundLengths&&(Q=Math.floor(Q)),d[J]<e.virtualSize+d[0]&&M.push(Q)}d=M}if(!n.centeredSlides){M=[];for(var ee=0;ee<d.length;ee+=1){var te=d[ee];n.roundLengths&&(te=Math.floor(te)),d[ee]<=e.virtualSize-i&&M.push(te)}d=M,Math.floor(e.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-i)}if(0===d.length&&(d=[0]),0!==n.spaceBetween&&(e.isHorizontal()?o?u.css({marginLeft:y+"px"}):u.css({marginRight:y+"px"}):u.css({marginBottom:y+"px"})),n.centerInsufficientSlides){var ne=0;if(f.forEach((function(e){ne+=e+(n.spaceBetween?n.spaceBetween:0)})),ne-=n.spaceBetween,ne<i){var re=(i-ne)/2;d.forEach((function(e,t){d[t]=e-re})),h.forEach((function(e,t){h[t]=e+re}))}}V.extend(e,{slides:u,snapGrid:d,slidesGrid:h,slidesSizesGrid:f}),c!==l&&e.emit("slidesLengthChange"),d.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==v&&e.emit("slidesGridLengthChange"),(n.watchSlidesProgress||n.watchSlidesVisibility)&&e.updateSlidesOffset()}}function K(e){var t,n=this,r=[],i=0;if("number"===typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed),"auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var o=n.activeIndex+t;if(o>n.slides.length)break;r.push(n.slides.eq(o)[0])}else r.push(n.slides.eq(n.activeIndex)[0]);for(t=0;t<r.length;t+=1)if("undefined"!==typeof r[t]){var a=r[t].offsetHeight;i=a>i?a:i}i&&n.$wrapperEl.css("height",i+"px")}function Z(){for(var e=this,t=e.slides,n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop}function J(e){void 0===e&&(e=this&&this.translate||0);var t=this,n=t.params,i=t.slides,o=t.rtlTranslate;if(0!==i.length){"undefined"===typeof i[0].swiperSlideOffset&&t.updateSlidesOffset();var a=-e;o&&(a=e),i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<i.length;s+=1){var l=i[s],u=(a+(n.centeredSlides?t.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility){var c=-(a-l.swiperSlideOffset),d=c+t.slidesSizesGrid[s],h=c>=0&&c<t.size-1||d>1&&d<=t.size||c<=0&&d>=t.size;h&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(s),i.eq(s).addClass(n.slideVisibleClass))}l.progress=o?-u:u}t.visibleSlides=r(t.visibleSlides)}}function Q(e){void 0===e&&(e=this&&this.translate||0);var t=this,n=t.params,r=t.maxTranslate()-t.minTranslate(),i=t.progress,o=t.isBeginning,a=t.isEnd,s=o,l=a;0===r?(i=0,o=!0,a=!0):(i=(e-t.minTranslate())/r,o=i<=0,a=i>=1),V.extend(t,{progress:i,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.watchSlidesVisibility)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",i)}function ee(){var e,t=this,n=t.slides,r=t.params,i=t.$wrapperEl,o=t.activeIndex,a=t.realIndex,s=t.virtual&&r.virtual.enabled;n.removeClass(r.slideActiveClass+" "+r.slideNextClass+" "+r.slidePrevClass+" "+r.slideDuplicateActiveClass+" "+r.slideDuplicateNextClass+" "+r.slideDuplicatePrevClass),e=s?t.$wrapperEl.find("."+r.slideClass+'[data-swiper-slide-index="'+o+'"]'):n.eq(o),e.addClass(r.slideActiveClass),r.loop&&(e.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]').addClass(r.slideDuplicateActiveClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]').addClass(r.slideDuplicateActiveClass));var l=e.nextAll("."+r.slideClass).eq(0).addClass(r.slideNextClass);r.loop&&0===l.length&&(l=n.eq(0),l.addClass(r.slideNextClass));var u=e.prevAll("."+r.slideClass).eq(0).addClass(r.slidePrevClass);r.loop&&0===u.length&&(u=n.eq(-1),u.addClass(r.slidePrevClass)),r.loop&&(l.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass),u.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+u.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+u.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass))}function te(e){var t,n=this,r=n.rtlTranslate?n.translate:-n.translate,i=n.slidesGrid,o=n.snapGrid,a=n.params,s=n.activeIndex,l=n.realIndex,u=n.snapIndex,c=e;if("undefined"===typeof c){for(var d=0;d<i.length;d+=1)"undefined"!==typeof i[d+1]?r>=i[d]&&r<i[d+1]-(i[d+1]-i[d])/2?c=d:r>=i[d]&&r<i[d+1]&&(c=d+1):r>=i[d]&&(c=d);a.normalizeSlideIndex&&(c<0||"undefined"===typeof c)&&(c=0)}if(t=o.indexOf(r)>=0?o.indexOf(r):Math.floor(c/a.slidesPerGroup),t>=o.length&&(t=o.length-1),c!==s){var h=parseInt(n.slides.eq(c).attr("data-swiper-slide-index")||c,10);V.extend(n,{snapIndex:t,realIndex:h,previousIndex:s,activeIndex:c}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==h&&n.emit("realIndexChange"),(n.initialized||n.runCallbacksOnInit)&&n.emit("slideChange")}else t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"))}function ne(e){var t=this,n=t.params,i=r(e.target).closest("."+n.slideClass)[0],o=!1;if(i)for(var a=0;a<t.slides.length;a+=1)t.slides[a]===i&&(o=!0);if(!i||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(r(i).attr("data-swiper-slide-index"),10):t.clickedIndex=r(i).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}$.prototype.on=function(e,t,n){var r=this;if("function"!==typeof t)return r;var i=n?"unshift":"push";return e.split(" ").forEach((function(e){r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},$.prototype.once=function(e,t,n){var r=this;if("function"!==typeof t)return r;function i(){var n=[],o=arguments.length;while(o--)n[o]=arguments[o];t.apply(r,n),r.off(e,i),i.f7proxy&&delete i.f7proxy}return i.f7proxy=t,r.on(e,i,n)},$.prototype.off=function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((function(r,i){(r===t||r.f7proxy&&r.f7proxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},$.prototype.emit=function(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n,r,i,o=this;if(!o.eventsListeners)return o;"string"===typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=o):(n=e[0].events,r=e[0].data,i=e[0].context||o);var a=Array.isArray(n)?n:n.split(" ");return a.forEach((function(e){if(o.eventsListeners&&o.eventsListeners[e]){var t=[];o.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(i,r)}))}})),o},$.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var r=t.modules[n];r.params&&V.extend(e,r.params)}))},$.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var r=t.modules[n],i=e[n]||{};r.instance&&Object.keys(r.instance).forEach((function(e){var n=r.instance[e];t[e]="function"===typeof n?n.bind(t):n})),r.on&&t.on&&Object.keys(r.on).forEach((function(e){t.on(e,r.on[e])})),r.create&&r.create.bind(t)(i)}))},G.components.set=function(e){var t=this;t.use&&t.use(e)},$.installModule=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this;r.prototype.modules||(r.prototype.modules={});var i=e.name||Object.keys(r.prototype.modules).length+"_"+V.now();return r.prototype.modules[i]=e,e.proto&&Object.keys(e.proto).forEach((function(t){r.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){r[t]=e.static[t]})),e.install&&e.install.apply(r,t),r},$.use=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this;return Array.isArray(e)?(e.forEach((function(e){return r.installModule(e)})),r):r.installModule.apply(r,[e].concat(t))},Object.defineProperties($,G);var re={updateSize:q,updateSlides:X,updateAutoHeight:K,updateSlidesOffset:Z,updateSlidesProgress:J,updateProgress:Q,updateSlidesClasses:ee,updateActiveIndex:te,updateClickedSlide:ne};function ie(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,n=t.params,r=t.rtlTranslate,i=t.translate,o=t.$wrapperEl;if(n.virtualTranslate)return r?-i:i;var a=V.getTranslate(o[0],e);return r&&(a=-a),a||0}function oe(e,t){var n,r=this,i=r.rtlTranslate,o=r.params,a=r.$wrapperEl,s=r.progress,l=0,u=0,c=0;r.isHorizontal()?l=i?-e:e:u=e,o.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),o.virtualTranslate||(W.transforms3d?a.transform("translate3d("+l+"px, "+u+"px, "+c+"px)"):a.transform("translate("+l+"px, "+u+"px)")),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?l:u;var d=r.maxTranslate()-r.minTranslate();n=0===d?0:(e-r.minTranslate())/d,n!==s&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)}function ae(){return-this.snapGrid[0]}function se(){return-this.snapGrid[this.snapGrid.length-1]}var le={getTranslate:ie,setTranslate:oe,minTranslate:ae,maxTranslate:se};function ue(e,t){var n=this;n.$wrapperEl.transition(e),n.emit("setTransition",e,t)}function ce(e,t){void 0===e&&(e=!0);var n=this,r=n.activeIndex,i=n.params,o=n.previousIndex;i.autoHeight&&n.updateAutoHeight();var a=t;if(a||(a=r>o?"next":r<o?"prev":"reset"),n.emit("transitionStart"),e&&r!==o){if("reset"===a)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===a?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}}function de(e,t){void 0===e&&(e=!0);var n=this,r=n.activeIndex,i=n.previousIndex;n.animating=!1,n.setTransition(0);var o=t;if(o||(o=r>i?"next":r<i?"prev":"reset"),n.emit("transitionEnd"),e&&r!==i){if("reset"===o)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===o?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}var he={setTransition:ue,transitionStart:ce,transitionEnd:de};function fe(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var i=this,o=e;o<0&&(o=0);var a=i.params,s=i.snapGrid,l=i.slidesGrid,u=i.previousIndex,c=i.activeIndex,d=i.rtlTranslate;if(i.animating&&a.preventInteractionOnTransition)return!1;var h=Math.floor(o/a.slidesPerGroup);h>=s.length&&(h=s.length-1),(c||a.initialSlide||0)===(u||0)&&n&&i.emit("beforeSlideChangeStart");var f,p=-s[h];if(i.updateProgress(p),a.normalizeSlideIndex)for(var m=0;m<l.length;m+=1)-Math.floor(100*p)>=Math.floor(100*l[m])&&(o=m);if(i.initialized&&o!==c){if(!i.allowSlideNext&&p<i.translate&&p<i.minTranslate())return!1;if(!i.allowSlidePrev&&p>i.translate&&p>i.maxTranslate()&&(c||0)!==o)return!1}return f=o>c?"next":o<c?"prev":"reset",d&&-p===i.translate||!d&&p===i.translate?(i.updateActiveIndex(o),a.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==a.effect&&i.setTranslate(p),"reset"!==f&&(i.transitionStart(n,f),i.transitionEnd(n,f)),!1):(0!==t&&W.transition?(i.setTransition(t),i.setTranslate(p),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,f),i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,f))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd))):(i.setTransition(0),i.setTranslate(p),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,f),i.transitionEnd(n,f)),!0)}function pe(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var i=this,o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)}function me(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this,i=r.params,o=r.animating;return i.loop?!o&&(r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft,r.slideTo(r.activeIndex+i.slidesPerGroup,e,t,n)):r.slideTo(r.activeIndex+i.slidesPerGroup,e,t,n)}function ge(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this,i=r.params,o=r.animating,a=r.snapGrid,s=r.slidesGrid,l=r.rtlTranslate;if(i.loop){if(o)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}var u=l?r.translate:-r.translate;function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,h=c(u),f=a.map((function(e){return c(e)})),p=(s.map((function(e){return c(e)})),a[f.indexOf(h)],a[f.indexOf(h)-1]);return"undefined"!==typeof p&&(d=s.indexOf(p),d<0&&(d=r.activeIndex-1)),r.slideTo(d,e,t,n)}function ve(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this;return r.slideTo(r.activeIndex,e,t,n)}function ye(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this,i=r.activeIndex,o=Math.floor(i/r.params.slidesPerGroup);if(o<r.snapGrid.length-1){var a=r.rtlTranslate?r.translate:-r.translate,s=r.snapGrid[o],l=r.snapGrid[o+1];a-s>(l-s)/2&&(i=r.params.slidesPerGroup)}return r.slideTo(i,e,t,n)}function be(){var e,t=this,n=t.params,i=t.$wrapperEl,o="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,a=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(r(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<t.loopedSlides-o/2||a>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),a=i.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),V.nextTick((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-o?(t.loopFix(),a=i.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),V.nextTick((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}var _e={slideTo:fe,slideToLoop:pe,slideNext:me,slidePrev:ge,slideReset:ve,slideToClosest:ye,slideToClickedSlide:be};function we(){var t=this,n=t.params,i=t.$wrapperEl;i.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var o=i.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var a=n.slidesPerGroup-o.length%n.slidesPerGroup;if(a!==n.slidesPerGroup){for(var s=0;s<a;s+=1){var l=r(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);i.append(l)}o=i.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),t.loopedSlides=parseInt(n.loopedSlides||n.slidesPerView,10),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>o.length&&(t.loopedSlides=o.length);var u=[],c=[];o.each((function(e,n){var i=r(n);e<t.loopedSlides&&c.push(n),e<o.length&&e>=o.length-t.loopedSlides&&u.push(n),i.attr("data-swiper-slide-index",e)}));for(var d=0;d<c.length;d+=1)i.append(r(c[d].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var h=u.length-1;h>=0;h-=1)i.prepend(r(u[h].cloneNode(!0)).addClass(n.slideDuplicateClass))}function xe(){var e,t=this,n=t.params,r=t.activeIndex,i=t.slides,o=t.loopedSlides,a=t.allowSlidePrev,s=t.allowSlideNext,l=t.snapGrid,u=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var c=-l[r],d=c-t.getTranslate();if(r<o){e=i.length-3*o+r,e+=o;var h=t.slideTo(e,0,!1,!0);h&&0!==d&&t.setTranslate((u?-t.translate:t.translate)-d)}else if("auto"===n.slidesPerView&&r>=2*o||r>=i.length-o){e=-i.length+r+o,e+=o;var f=t.slideTo(e,0,!1,!0);f&&0!==d&&t.setTranslate((u?-t.translate:t.translate)-d)}t.allowSlidePrev=a,t.allowSlideNext=s}function ke(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides;t.children("."+n.slideClass+"."+n.slideDuplicateClass+",."+n.slideClass+"."+n.slideBlankClass).remove(),r.removeAttr("data-swiper-slide-index")}var Me={loopCreate:we,loopFix:xe,loopDestroy:ke};function Se(e){var t=this;if(!(W.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}}function Ce(){var e=this;W.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}var Te={setGrabCursor:Se,unsetGrabCursor:Ce};function Oe(e){var t=this,n=t.$wrapperEl,r=t.params;if(r.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&n.append(e[i]);else n.append(e);r.loop&&t.loopCreate(),r.observer&&W.observer||t.update()}function Le(e){var t=this,n=t.params,r=t.$wrapperEl,i=t.activeIndex;n.loop&&t.loopDestroy();var o=i+1;if("object"===typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&r.prepend(e[a]);o=i+e.length}else r.prepend(e);n.loop&&t.loopCreate(),n.observer&&W.observer||t.update(),t.slideTo(o,0,!1)}function Ae(e,t){var n=this,r=n.$wrapperEl,i=n.params,o=n.activeIndex,a=o;i.loop&&(a-=n.loopedSlides,n.loopDestroy(),n.slides=r.children("."+i.slideClass));var s=n.slides.length;if(e<=0)n.prependSlide(t);else if(e>=s)n.appendSlide(t);else{for(var l=a>e?a+1:a,u=[],c=s-1;c>=e;c-=1){var d=n.slides.eq(c);d.remove(),u.unshift(d)}if("object"===typeof t&&"length"in t){for(var h=0;h<t.length;h+=1)t[h]&&r.append(t[h]);l=a>e?a+t.length:a}else r.append(t);for(var f=0;f<u.length;f+=1)r.append(u[f]);i.loop&&n.loopCreate(),i.observer&&W.observer||n.update(),i.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)}}function De(e){var t=this,n=t.params,r=t.$wrapperEl,i=t.activeIndex,o=i;n.loop&&(o-=t.loopedSlides,t.loopDestroy(),t.slides=r.children("."+n.slideClass));var a,s=o;if("object"===typeof e&&"length"in e){for(var l=0;l<e.length;l+=1)a=e[l],t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1),s=Math.max(s,0);n.loop&&t.loopCreate(),n.observer&&W.observer||t.update(),n.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function Ee(){for(var e=this,t=[],n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}var Ie={appendSlide:Oe,prependSlide:Le,addSlide:Ae,removeSlide:De,removeAllSlides:Ee},je=function(){var n=t.navigator.userAgent,r={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},i=n.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),o=n.match(/(Android);?[\s\/]+([\d.]+)?/),a=n.match(/(iPad).*OS\s([\d_]+)/),s=n.match(/(iPod)(.*OS\s([\d_]+))?/),l=!a&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(i&&(r.os="windows",r.osVersion=i[2],r.windows=!0),o&&!i&&(r.os="android",r.osVersion=o[2],r.android=!0,r.androidChrome=n.toLowerCase().indexOf("chrome")>=0),(a||l||s)&&(r.os="ios",r.ios=!0),l&&!s&&(r.osVersion=l[2].replace(/_/g,"."),r.iphone=!0),a&&(r.osVersion=a[2].replace(/_/g,"."),r.ipad=!0),s&&(r.osVersion=s[3]?s[3].replace(/_/g,"."):null,r.iphone=!0),r.ios&&r.osVersion&&n.indexOf("Version/")>=0&&"10"===r.osVersion.split(".")[0]&&(r.osVersion=n.toLowerCase().split("version/")[1].split(" ")[0]),r.desktop=!(r.os||r.android||r.webView),r.webView=(l||a||s)&&n.match(/.*AppleWebKit(?!.*Safari)/i),r.os&&"ios"===r.os){var u=r.osVersion.split("."),c=e.querySelector('meta[name="viewport"]');r.minimalUi=!r.webView&&(s||l)&&(1*u[0]===7?1*u[1]>=1:1*u[0]>7)&&c&&c.getAttribute("content").indexOf("minimal-ui")>=0}return r.pixelRatio=t.devicePixelRatio||1,r}();function Pe(n){var i=this,o=i.touchEventsData,a=i.params,s=i.touches;if(!i.animating||!a.preventInteractionOnTransition){var l=n;if(l.originalEvent&&(l=l.originalEvent),o.isTouchEvent="touchstart"===l.type,(o.isTouchEvent||!("which"in l)||3!==l.which)&&!(!o.isTouchEvent&&"button"in l&&l.button>0)&&(!o.isTouched||!o.isMoved))if(a.noSwiping&&r(l.target).closest(a.noSwipingSelector?a.noSwipingSelector:"."+a.noSwipingClass)[0])i.allowClick=!0;else if(!a.swipeHandler||r(l).closest(a.swipeHandler)[0]){s.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,s.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var u=s.currentX,c=s.currentY,d=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,h=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!d||!(u<=h||u>=t.screen.width-h)){if(V.extend(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=u,s.startY=c,o.touchStartTime=V.now(),i.allowClick=!0,i.updateSize(),i.swipeDirection=void 0,a.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==l.type){var f=!0;r(l.target).is(o.formElements)&&(f=!1),e.activeElement&&r(e.activeElement).is(o.formElements)&&e.activeElement!==l.target&&e.activeElement.blur();var p=f&&i.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||p)&&l.preventDefault()}i.emit("touchStart",l)}}}}function Re(t){var n=this,i=n.touchEventsData,o=n.params,a=n.touches,s=n.rtlTranslate,l=t;if(l.originalEvent&&(l=l.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==l.type){var u="touchmove"===l.type?l.targetTouches[0].pageX:l.pageX,c="touchmove"===l.type?l.targetTouches[0].pageY:l.pageY;if(l.preventedByNestedSwiper)return a.startX=u,void(a.startY=c);if(!n.allowTouchMove)return n.allowClick=!1,void(i.isTouched&&(V.extend(a,{startX:u,startY:c,currentX:u,currentY:c}),i.touchStartTime=V.now()));if(i.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(c<a.startY&&n.translate<=n.maxTranslate()||c>a.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(u<a.startX&&n.translate<=n.maxTranslate()||u>a.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&r(l.target).is(i.formElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){a.currentX=u,a.currentY=c;var d=a.currentX-a.startX,h=a.currentY-a.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(h,2))<n.params.threshold)){var f;if("undefined"===typeof i.isScrolling)n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:d*d+h*h>=25&&(f=180*Math.atan2(Math.abs(h),Math.abs(d))/Math.PI,i.isScrolling=n.isHorizontal()?f>o.touchAngle:90-f>o.touchAngle);if(i.isScrolling&&n.emit("touchMoveOpposite",l),"undefined"===typeof i.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){n.allowClick=!1,l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation(),i.isMoved||(o.loop&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!o.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),i.isMoved=!0;var p=n.isHorizontal()?d:h;a.diff=p,p*=o.touchRatio,s&&(p=-p),n.swipeDirection=p>0?"prev":"next",i.currentTranslate=p+i.startTranslate;var m=!0,g=o.resistanceRatio;if(o.touchReleaseOnEdges&&(g=0),p>0&&i.currentTranslate>n.minTranslate()?(m=!1,o.resistance&&(i.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+i.startTranslate+p,g))):p<0&&i.currentTranslate<n.maxTranslate()&&(m=!1,o.resistance&&(i.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-i.startTranslate-p,g))),m&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(p)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}o.followFinger&&((o.freeMode||o.watchSlidesProgress||o.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&(0===i.velocities.length&&i.velocities.push({position:a[n.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:a[n.isHorizontal()?"currentX":"currentY"],time:V.now()})),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}}}}}else i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",l)}function Ne(e){var t=this,n=t.touchEventsData,r=t.params,i=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,u=e;if(u.originalEvent&&(u=u.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",u),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,d=V.now(),h=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(u),t.emit("tap",u),h<300&&d-n.lastClickTime>300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),n.clickTimeout=V.nextTick((function(){t&&!t.destroyed&&t.emit("click",u)}),300)),h<300&&d-n.lastClickTime<300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),t.emit("doubleTap",u))),n.lastClickTime=V.now(),V.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,c=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(r.freeModeMomentum){if(n.velocities.length>1){var f=n.velocities.pop(),p=n.velocities.pop(),m=f.position-p.position,g=f.time-p.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<r.freeModeMinimumVelocity&&(t.velocity=0),(g>150||V.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeModeMomentumVelocityRatio,n.velocities.length=0;var v=1e3*r.freeModeMomentumRatio,y=t.velocity*v,b=t.translate+y;o&&(b=-b);var _,w,x=!1,k=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;if(b<t.maxTranslate())r.freeModeMomentumBounce?(b+t.maxTranslate()<-k&&(b=t.maxTranslate()-k),_=t.maxTranslate(),x=!0,n.allowMomentumBounce=!0):b=t.maxTranslate(),r.loop&&r.centeredSlides&&(w=!0);else if(b>t.minTranslate())r.freeModeMomentumBounce?(b-t.minTranslate()>k&&(b=t.minTranslate()+k),_=t.minTranslate(),x=!0,n.allowMomentumBounce=!0):b=t.minTranslate(),r.loop&&r.centeredSlides&&(w=!0);else if(r.freeModeSticky){for(var M,S=0;S<l.length;S+=1)if(l[S]>-b){M=S;break}b=Math.abs(l[M]-b)<Math.abs(l[M-1]-b)||"next"===t.swipeDirection?l[M]:l[M-1],b=-b}if(w&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)v=o?Math.abs((-b-t.translate)/t.velocity):Math.abs((b-t.translate)/t.velocity);else if(r.freeModeSticky)return void t.slideToClosest();r.freeModeMomentumBounce&&x?(t.updateProgress(_),t.setTransition(v),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(r.speed),t.setTranslate(_),a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(b),t.setTransition(v),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(b),t.updateActiveIndex(),t.updateSlidesClasses()}else if(r.freeModeSticky)return void t.slideToClosest();(!r.freeModeMomentum||h>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var C=0,T=t.slidesSizesGrid[0],O=0;O<s.length;O+=r.slidesPerGroup)"undefined"!==typeof s[O+r.slidesPerGroup]?c>=s[O]&&c<s[O+r.slidesPerGroup]&&(C=O,T=s[O+r.slidesPerGroup]-s[O]):c>=s[O]&&(C=O,T=s[s.length-1]-s[s.length-2]);var L=(c-s[C])/T;if(h>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(L>=r.longSwipesRatio?t.slideTo(C+r.slidesPerGroup):t.slideTo(C)),"prev"===t.swipeDirection&&(L>1-r.longSwipesRatio?t.slideTo(C+r.slidesPerGroup):t.slideTo(C))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(C+r.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(C)}}}function Be(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,i=e.allowSlidePrev,o=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var a=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}}function Ye(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function Fe(){var t=this,n=t.params,r=t.touchEvents,i=t.el,o=t.wrapperEl;t.onTouchStart=Pe.bind(t),t.onTouchMove=Re.bind(t),t.onTouchEnd=Ne.bind(t),t.onClick=Ye.bind(t);var a="container"===n.touchEventsTarget?i:o,s=!!n.nested;if(W.touch||!W.pointerEvents&&!W.prefixedPointerEvents){if(W.touch){var l=!("touchstart"!==r.start||!W.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(r.start,t.onTouchStart,l),a.addEventListener(r.move,t.onTouchMove,W.passiveListener?{passive:!1,capture:s}:s),a.addEventListener(r.end,t.onTouchEnd,l)}(n.simulateTouch&&!je.ios&&!je.android||n.simulateTouch&&!W.touch&&je.ios)&&(a.addEventListener("mousedown",t.onTouchStart,!1),e.addEventListener("mousemove",t.onTouchMove,s),e.addEventListener("mouseup",t.onTouchEnd,!1))}else a.addEventListener(r.start,t.onTouchStart,!1),e.addEventListener(r.move,t.onTouchMove,s),e.addEventListener(r.end,t.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&a.addEventListener("click",t.onClick,!0),t.on(je.ios||je.android?"resize orientationchange observerUpdate":"resize observerUpdate",Be,!0)}function ze(){var t=this,n=t.params,r=t.touchEvents,i=t.el,o=t.wrapperEl,a="container"===n.touchEventsTarget?i:o,s=!!n.nested;if(W.touch||!W.pointerEvents&&!W.prefixedPointerEvents){if(W.touch){var l=!("onTouchStart"!==r.start||!W.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(r.start,t.onTouchStart,l),a.removeEventListener(r.move,t.onTouchMove,s),a.removeEventListener(r.end,t.onTouchEnd,l)}(n.simulateTouch&&!je.ios&&!je.android||n.simulateTouch&&!W.touch&&je.ios)&&(a.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,s),e.removeEventListener("mouseup",t.onTouchEnd,!1))}else a.removeEventListener(r.start,t.onTouchStart,!1),e.removeEventListener(r.move,t.onTouchMove,s),e.removeEventListener(r.end,t.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&a.removeEventListener("click",t.onClick,!0),t.off(je.ios||je.android?"resize orientationchange observerUpdate":"resize observerUpdate",Be)}var He={attachEvents:Fe,detachEvents:ze};function Ve(){var e=this,t=e.activeIndex,n=e.initialized,r=e.loopedSlides;void 0===r&&(r=0);var i=e.params,o=i.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var a=e.getBreakpoint(o);if(a&&e.currentBreakpoint!==a){var s=a in o?o[a]:void 0;s&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=s[e];"undefined"!==typeof t&&(s[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var l=s||e.originalParams,u=l.direction&&l.direction!==i.direction,c=i.loop&&(l.slidesPerView!==i.slidesPerView||u);u&&n&&e.changeDirection(),V.extend(e.params,l),V.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=a,c&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}}function We(e){var n=this;if(e){var r=!1,i=[];Object.keys(e).forEach((function(e){i.push(e)})),i.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var o=0;o<i.length;o+=1){var a=i[o];n.params.breakpointsInverse?a<=t.innerWidth&&(r=a):a>=t.innerWidth&&!r&&(r=a)}return r||"max"}}var Ue={setBreakpoint:Ve,getBreakpoint:We};function $e(){var e=this,t=e.classNames,n=e.params,r=e.rtl,i=e.$el,o=[];o.push("initialized"),o.push(n.direction),n.freeMode&&o.push("free-mode"),W.flexbox||o.push("no-flexbox"),n.autoHeight&&o.push("autoheight"),r&&o.push("rtl"),n.slidesPerColumn>1&&o.push("multirow"),je.android&&o.push("android"),je.ios&&o.push("ios"),(U.isIE||U.isEdge)&&(W.pointerEvents||W.prefixedPointerEvents)&&o.push("wp8-"+n.direction),o.forEach((function(e){t.push(n.containerModifierClass+e)})),i.addClass(t.join(" "))}function Ge(){var e=this,t=e.$el,n=e.classNames;t.removeClass(n.join(" "))}var qe={addClasses:$e,removeClasses:Ge};function Xe(e,n,r,i,o,a){var s;function l(){a&&a()}e.complete&&o?l():n?(s=new t.Image,s.onload=l,s.onerror=l,i&&(s.sizes=i),r&&(s.srcset=r),n&&(s.src=n)):l()}function Ke(){var e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}var Ze={loadImage:Xe,preloadImages:Ke};function Je(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}var Qe={checkOverflow:Je},et={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},tt={update:re,translate:le,transition:he,slide:_e,loop:Me,grabCursor:Te,manipulation:Ie,events:He,breakpoints:Ue,checkOverflow:Qe,classes:qe,images:Ze},nt={},rt=function(e){function t(){var n,i,o,a=[],s=arguments.length;while(s--)a[s]=arguments[s];1===a.length&&a[0].constructor&&a[0].constructor===Object?o=a[0]:(n=a,i=n[0],o=n[1]),o||(o={}),o=V.extend({},o),i&&!o.el&&(o.el=i),e.call(this,o),Object.keys(tt).forEach((function(e){Object.keys(tt[e]).forEach((function(n){t.prototype[n]||(t.prototype[n]=tt[e][n])}))}));var l=this;"undefined"===typeof l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var n=Object.keys(t.params)[0],r=t.params[n];if("object"!==typeof r||null===r)return;if(!(n in o)||!("enabled"in r))return;!0===o[n]&&(o[n]={enabled:!0}),"object"!==typeof o[n]||"enabled"in o[n]||(o[n].enabled=!0),o[n]||(o[n]={enabled:!1})}}));var u=V.extend({},et);l.useModulesParams(u),l.params=V.extend({},u,nt,o),l.originalParams=V.extend({},l.params),l.passedParams=V.extend({},o),l.$=r;var c=r(l.params.el);if(i=c[0],i){if(c.length>1){var d=[];return c.each((function(e,n){var r=V.extend({},o,{el:n});d.push(new t(r))})),d}i.swiper=l,c.data("swiper",l);var h=c.children("."+l.params.wrapperClass);return V.extend(l,{$el:c,el:i,$wrapperEl:h,wrapperEl:h[0],classNames:[],slides:r(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===i.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===h.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend"],t=["mousedown","mousemove","mouseup"];return W.pointerEvents?t=["pointerdown","pointermove","pointerup"]:W.prefixedPointerEvents&&(t=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:e[0],move:e[1],end:e[2]},l.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},W.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:V.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,n=e.slides,r=e.slidesGrid,i=e.size,o=e.activeIndex,a=1;if(t.centeredSlides){for(var s,l=n[o].swiperSlideSize,u=o+1;u<n.length;u+=1)n[u]&&!s&&(l+=n[u].swiperSlideSize,a+=1,l>i&&(s=!0));for(var c=o-1;c>=0;c-=1)n[c]&&!s&&(l+=n[c].swiperSlideSize,a+=1,l>i&&(s=!0))}else for(var d=o+1;d<n.length;d+=1)r[d]-r[o]<i&&(a+=1);return a},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t,n=e.snapGrid,r=e.params;r.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(t=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),t||i()),r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(""+n.params.containerModifierClass+r+" wp8-"+r).addClass(""+n.params.containerModifierClass+e),(U.isIE||U.isEdge)&&(W.pointerEvents||W.prefixedPointerEvents)&&n.$el.addClass(n.params.containerModifierClass+"wp8-"+e),n.params.direction=e,n.slides.each((function(t,n){"vertical"===e?n.style.width="":n.style.height=""})),n.emit("changeDirection"),t&&n.update()),n},t.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,r=n.params,i=n.$el,o=n.$wrapperEl,a=n.slides;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),V.deleteProps(n)),n.destroyed=!0),null},t.extendDefaults=function(e){V.extend(nt,e)},n.extendedDefaults.get=function(){return nt},n.defaults.get=function(){return et},n.Class.get=function(){return e},n.$.get=function(){return r},Object.defineProperties(t,n),t}($),it={name:"device",proto:{device:je},static:{device:je}},ot={name:"support",proto:{support:W},static:{support:W}},at={name:"browser",proto:{browser:U},static:{browser:U}},st={name:"resize",create:function(){var e=this;V.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){var e=this;t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(){var e=this;t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},lt={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,n){void 0===n&&(n={});var r=this,i=lt.func,o=new i((function(e){if(1!==e.length){var n=function(){r.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(n):t.setTimeout(n,0)}else r.emit("observerUpdate",e[0])}));o.observe(e,{attributes:"undefined"===typeof n.attributes||n.attributes,childList:"undefined"===typeof n.childList||n.childList,characterData:"undefined"===typeof n.characterData||n.characterData}),r.observer.observers.push(o)},init:function(){var e=this;if(W.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),n=0;n<t.length;n+=1)e.observer.attach(t[n]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach((function(e){e.disconnect()})),e.observer.observers=[]}},ut={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;V.extend(e,{observer:{init:lt.init.bind(e),attach:lt.attach.bind(e),destroy:lt.destroy.bind(e),observers:[]}})},on:{init:function(){var e=this;e.observer.init()},destroy:function(){var e=this;e.observer.destroy()}}},ct={update:function(e){var t=this,n=t.params,r=n.slidesPerView,i=n.slidesPerGroup,o=n.centeredSlides,a=t.params.virtual,s=a.addSlidesBefore,l=a.addSlidesAfter,u=t.virtual,c=u.from,d=u.to,h=u.slides,f=u.slidesGrid,p=u.renderSlide,m=u.offset;t.updateActiveIndex();var g,v,y,b=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",o?(v=Math.floor(r/2)+i+s,y=Math.floor(r/2)+i+l):(v=r+(i-1)+s,y=i+l);var _=Math.max((b||0)-y,0),w=Math.min((b||0)+v,h.length-1),x=(t.slidesGrid[_]||0)-(t.slidesGrid[0]||0);function k(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(V.extend(t.virtual,{from:_,to:w,offset:x,slidesGrid:t.slidesGrid}),c===_&&d===w&&!e)return t.slidesGrid!==f&&x!==m&&t.slides.css(g,x+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:x,from:_,to:w,slides:function(){for(var e=[],t=_;t<=w;t+=1)e.push(h[t]);return e}()}),void k();var M=[],S=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var C=c;C<=d;C+=1)(C<_||C>w)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+C+'"]').remove();for(var T=0;T<h.length;T+=1)T>=_&&T<=w&&("undefined"===typeof d||e?S.push(T):(T>d&&S.push(T),T<c&&M.push(T)));S.forEach((function(e){t.$wrapperEl.append(p(h[e],e))})),M.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(p(h[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,x+"px"),k()},renderSlide:function(e,t){var n=this,i=n.params.virtual;if(i.cache&&n.virtual.cache[t])return n.virtual.cache[t];var o=i.renderSlide?r(i.renderSlide.call(n,e,t)):r('<div class="'+n.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return o.attr("data-swiper-slide-index")||o.attr("data-swiper-slide-index",t),i.cache&&(n.virtual.cache[t]=o),o},appendSlide:function(e){var t=this;if("object"===typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.push(e[n]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,n=t.activeIndex,r=n+1,i=1;if(Array.isArray(e)){for(var o=0;o<e.length;o+=1)e[o]&&t.virtual.slides.unshift(e[o]);r=n+e.length,i=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var a=t.virtual.cache,s={};Object.keys(a).forEach((function(e){s[parseInt(e,10)+i]=a[e]})),t.virtual.cache=s}t.virtual.update(!0),t.slideTo(r,0)},removeSlide:function(e){var t=this;if("undefined"!==typeof e&&null!==e){var n=t.activeIndex;if(Array.isArray(e))for(var r=e.length-1;r>=0;r-=1)t.virtual.slides.splice(e[r],1),t.params.virtual.cache&&delete t.virtual.cache[e[r]],e[r]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},dt={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;V.extend(e,{virtual:{update:ct.update.bind(e),appendSlide:ct.appendSlide.bind(e),prependSlide:ct.prependSlide.bind(e),removeSlide:ct.removeSlide.bind(e),removeAllSlides:ct.removeAllSlides.bind(e),renderSlide:ct.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};V.extend(e.params,t),V.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){var e=this;e.params.virtual.enabled&&e.virtual.update()}}},ht={handle:function(n){var r=this,i=r.rtlTranslate,o=n;o.originalEvent&&(o=o.originalEvent);var a=o.keyCode||o.charCode;if(!r.allowSlideNext&&(r.isHorizontal()&&39===a||r.isVertical()&&40===a||34===a))return!1;if(!r.allowSlidePrev&&(r.isHorizontal()&&37===a||r.isVertical()&&38===a||33===a))return!1;if(!(o.shiftKey||o.altKey||o.ctrlKey||o.metaKey)&&(!e.activeElement||!e.activeElement.nodeName||"input"!==e.activeElement.nodeName.toLowerCase()&&"textarea"!==e.activeElement.nodeName.toLowerCase())){if(r.params.keyboard.onlyInViewport&&(33===a||34===a||37===a||39===a||38===a||40===a)){var s=!1;if(r.$el.parents("."+r.params.slideClass).length>0&&0===r.$el.parents("."+r.params.slideActiveClass).length)return;var l=t.innerWidth,u=t.innerHeight,c=r.$el.offset();i&&(c.left-=r.$el[0].scrollLeft);for(var d=[[c.left,c.top],[c.left+r.width,c.top],[c.left,c.top+r.height],[c.left+r.width,c.top+r.height]],h=0;h<d.length;h+=1){var f=d[h];f[0]>=0&&f[0]<=l&&f[1]>=0&&f[1]<=u&&(s=!0)}if(!s)return}r.isHorizontal()?(33!==a&&34!==a&&37!==a&&39!==a||(o.preventDefault?o.preventDefault():o.returnValue=!1),(34!==a&&39!==a||i)&&(33!==a&&37!==a||!i)||r.slideNext(),(33!==a&&37!==a||i)&&(34!==a&&39!==a||!i)||r.slidePrev()):(33!==a&&34!==a&&38!==a&&40!==a||(o.preventDefault?o.preventDefault():o.returnValue=!1),34!==a&&40!==a||r.slideNext(),33!==a&&38!==a||r.slidePrev()),r.emit("keyPress",a)}},enable:function(){var t=this;t.keyboard.enabled||(r(e).on("keydown",t.keyboard.handle),t.keyboard.enabled=!0)},disable:function(){var t=this;t.keyboard.enabled&&(r(e).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},ft={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;V.extend(e,{keyboard:{enabled:!1,enable:ht.enable.bind(e),disable:ht.disable.bind(e),handle:ht.handle.bind(e)}})},on:{init:function(){var e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(){var e=this;e.keyboard.enabled&&e.keyboard.disable()}}};function pt(){var t="onwheel",n=t in e;if(!n){var r=e.createElement("div");r.setAttribute(t,"return;"),n="function"===typeof r[t]}return!n&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(n=e.implementation.hasFeature("Events.wheel","3.0")),n}var mt={lastScrollTime:V.now(),event:function(){return t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":pt()?"wheel":"mousewheel"}(),normalize:function(e){var t=10,n=40,r=800,i=0,o=0,a=0,s=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=o,o=0),a=i*t,s=o*t,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||s)&&e.deltaMode&&(1===e.deltaMode?(a*=n,s*=n):(a*=r,s*=r)),a&&!i&&(i=a<1?-1:1),s&&!o&&(o=s<1?-1:1),{spinX:i,spinY:o,pixelX:a,pixelY:s}},handleMouseEnter:function(){var e=this;e.mouseEntered=!0},handleMouseLeave:function(){var e=this;e.mouseEntered=!1},handle:function(e){var n=e,r=this,i=r.params.mousewheel;if(!r.mouseEntered&&!i.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);var o=0,a=r.rtlTranslate?-1:1,s=mt.normalize(n);if(i.forceToAxis)if(r.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(i.invert&&(o=-o),r.params.freeMode){r.params.loop&&r.loopFix();var l=r.getTranslate()+o*i.sensitivity,u=r.isBeginning,c=r.isEnd;if(l>=r.minTranslate()&&(l=r.minTranslate()),l<=r.maxTranslate()&&(l=r.maxTranslate()),r.setTransition(0),r.setTranslate(l),r.updateProgress(),r.updateActiveIndex(),r.updateSlidesClasses(),(!u&&r.isBeginning||!c&&r.isEnd)&&r.updateSlidesClasses(),r.params.freeModeSticky&&(clearTimeout(r.mousewheel.timeout),r.mousewheel.timeout=V.nextTick((function(){r.slideToClosest()}),300)),r.emit("scroll",n),r.params.autoplay&&r.params.autoplayDisableOnInteraction&&r.autoplay.stop(),l===r.minTranslate()||l===r.maxTranslate())return!0}else{if(V.now()-r.mousewheel.lastScrollTime>60)if(o<0)if(r.isEnd&&!r.params.loop||r.animating){if(i.releaseOnEdges)return!0}else r.slideNext(),r.emit("scroll",n);else if(r.isBeginning&&!r.params.loop||r.animating){if(i.releaseOnEdges)return!0}else r.slidePrev(),r.emit("scroll",n);r.mousewheel.lastScrollTime=(new t.Date).getTime()}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1},enable:function(){var e=this;if(!mt.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=r(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(mt.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!mt.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=r(e.params.mousewheel.eventsTarged)),t.off(mt.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},gt={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;V.extend(e,{mousewheel:{enabled:!1,enable:mt.enable.bind(e),disable:mt.disable.bind(e),handle:mt.handle.bind(e),handleMouseEnter:mt.handleMouseEnter.bind(e),handleMouseLeave:mt.handleMouseLeave.bind(e),lastScrollTime:V.now()}})},on:{init:function(){var e=this;e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(){var e=this;e.mousewheel.enabled&&e.mousewheel.disable()}}},vt={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var n=e.navigation,r=n.$nextEl,i=n.$prevEl;i&&i.length>0&&(e.isBeginning?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),r&&r.length>0&&(e.isEnd?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,n=this,i=n.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=r(i.nextEl),n.params.uniqueNavElements&&"string"===typeof i.nextEl&&e.length>1&&1===n.$el.find(i.nextEl).length&&(e=n.$el.find(i.nextEl))),i.prevEl&&(t=r(i.prevEl),n.params.uniqueNavElements&&"string"===typeof i.prevEl&&t.length>1&&1===n.$el.find(i.prevEl).length&&(t=n.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",n.navigation.onNextClick),t&&t.length>0&&t.on("click",n.navigation.onPrevClick),V.extend(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,n=t.$nextEl,r=t.$prevEl;n&&n.length&&(n.off("click",e.navigation.onNextClick),n.removeClass(e.params.navigation.disabledClass)),r&&r.length&&(r.off("click",e.navigation.onPrevClick),r.removeClass(e.params.navigation.disabledClass))}},yt={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;V.extend(e,{navigation:{init:vt.init.bind(e),update:vt.update.bind(e),destroy:vt.destroy.bind(e),onNextClick:vt.onNextClick.bind(e),onPrevClick:vt.onPrevClick.bind(e)}})},on:{init:function(){var e=this;e.navigation.init(),e.navigation.update()},toEdge:function(){var e=this;e.navigation.update()},fromEdge:function(){var e=this;e.navigation.update()},destroy:function(){var e=this;e.navigation.destroy()},click:function(e){var t,n=this,i=n.navigation,o=i.$nextEl,a=i.$prevEl;!n.params.navigation.hideOnClick||r(e.target).is(a)||r(e.target).is(o)||(o?t=o.hasClass(n.params.navigation.hiddenClass):a&&(t=a.hasClass(n.params.navigation.hiddenClass)),!0===t?n.emit("navigationShow",n):n.emit("navigationHide",n),o&&o.toggleClass(n.params.navigation.hiddenClass),a&&a.toggleClass(n.params.navigation.hiddenClass))}}},bt={update:function(){var e=this,t=e.rtl,n=e.params.pagination;if(n.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,o=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,s=e.params.loop?Math.ceil((o-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),i>o-1-2*e.loopedSlides&&(i-=o-2*e.loopedSlides),i>s-1&&(i-=s),i<0&&"bullets"!==e.params.paginationType&&(i=s+i)):i="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var l,u,c,d=e.pagination.bullets;if(n.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=i-e.pagination.dynamicBulletIndex,u=l+(Math.min(d.length,n.dynamicMainBullets)-1),c=(u+l)/2),d.removeClass(n.bulletActiveClass+" "+n.bulletActiveClass+"-next "+n.bulletActiveClass+"-next-next "+n.bulletActiveClass+"-prev "+n.bulletActiveClass+"-prev-prev "+n.bulletActiveClass+"-main"),a.length>1)d.each((function(e,t){var o=r(t),a=o.index();a===i&&o.addClass(n.bulletActiveClass),n.dynamicBullets&&(a>=l&&a<=u&&o.addClass(n.bulletActiveClass+"-main"),a===l&&o.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),a===u&&o.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))}));else{var h=d.eq(i);if(h.addClass(n.bulletActiveClass),n.dynamicBullets){for(var f=d.eq(l),p=d.eq(u),m=l;m<=u;m+=1)d.eq(m).addClass(n.bulletActiveClass+"-main");f.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),p.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}if(n.dynamicBullets){var g=Math.min(d.length,n.dynamicMainBullets+4),v=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,y=t?"right":"left";d.css(e.isHorizontal()?y:"top",v+"px")}}if("fraction"===n.type&&(a.find("."+n.currentClass).text(n.formatFractionCurrent(i+1)),a.find("."+n.totalClass).text(n.formatFractionTotal(s))),"progressbar"===n.type){var b;b=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var _=(i+1)/s,w=1,x=1;"horizontal"===b?w=_:x=_,a.find("."+n.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+x+")").transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(a.html(n.renderCustom(e,i+1,s)),e.emit("paginationRender",e,a[0])):e.emit("paginationUpdate",e,a[0]),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,i="";if("bullets"===t.type){for(var o=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,a=0;a<o;a+=1)t.renderBullet?i+=t.renderBullet.call(e,a,t.bulletClass):i+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";r.html(i),e.pagination.bullets=r.find("."+t.bulletClass)}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',r.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',r.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=r(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&n.length>1&&1===e.$el.find(t.el).length&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();var n=r(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),V.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click","."+t.bulletClass)}}},_t={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;V.extend(e,{pagination:{init:bt.init.bind(e),render:bt.render.bind(e),update:bt.update.bind(e),destroy:bt.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;(e.params.loop||"undefined"===typeof e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){var e=this;e.params.loop||e.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){var e=this;e.pagination.destroy()},click:function(e){var t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!r(e.target).hasClass(t.params.pagination.bulletClass)){var n=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);!0===n?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},wt={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=e.rtlTranslate,r=e.progress,i=t.dragSize,o=t.trackSize,a=t.$dragEl,s=t.$el,l=e.params.scrollbar,u=i,c=(o-i)*r;n?(c=-c,c>0?(u=i-c,c=0):-c+i>o&&(u=o+c)):c<0?(u=i+c,c=0):c+i>o&&(u=o-c),e.isHorizontal()?(W.transforms3d?a.transform("translate3d("+c+"px, 0, 0)"):a.transform("translateX("+c+"px)"),a[0].style.width=u+"px"):(W.transforms3d?a.transform("translate3d(0px, "+c+"px, 0)"):a.transform("translateY("+c+"px)"),a[0].style.height=u+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),s[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){s[0].style.opacity=0,s.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=t.$dragEl,r=t.$el;n[0].style.width="",n[0].style.height="";var i,o=e.isHorizontal()?r[0].offsetWidth:r[0].offsetHeight,a=e.size/e.virtualSize,s=a*(o/e.size);i="auto"===e.params.scrollbar.dragSize?o*a:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width=i+"px":n[0].style.height=i+"px",r[0].style.display=a>=1?"none":"",e.params.scrollbar.hide&&(r[0].style.opacity=0),V.extend(t,{trackSize:o,divider:a,moveDivider:s,dragSize:i}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){var t=this;return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,n=this,r=n.scrollbar,i=n.rtlTranslate,o=r.$el,a=r.dragSize,s=r.trackSize,l=r.dragStartPos;t=(r.getPointerPosition(e)-o.offset()[n.isHorizontal()?"left":"top"]-(null!==l?l:a/2))/(s-a),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var u=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*t;n.updateProgress(u),n.setTranslate(u),n.updateActiveIndex(),n.updateSlidesClasses()},onDragStart:function(e){var t=this,n=t.params.scrollbar,r=t.scrollbar,i=t.$wrapperEl,o=r.$el,a=r.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===a[0]||e.target===a?r.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),a.transition(100),r.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),o.transition(0),n.hide&&o.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,n=t.scrollbar,r=t.$wrapperEl,i=n.$el,o=n.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,n.setDragPosition(e),r.transition(0),i.transition(0),o.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,n=t.params.scrollbar,r=t.scrollbar,i=r.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=V.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var n=t.scrollbar,r=t.touchEventsTouch,i=t.touchEventsDesktop,o=t.params,a=n.$el,s=a[0],l=!(!W.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},u=!(!W.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};W.touch?(s.addEventListener(r.start,t.scrollbar.onDragStart,l),s.addEventListener(r.move,t.scrollbar.onDragMove,l),s.addEventListener(r.end,t.scrollbar.onDragEnd,u)):(s.addEventListener(i.start,t.scrollbar.onDragStart,l),e.addEventListener(i.move,t.scrollbar.onDragMove,l),e.addEventListener(i.end,t.scrollbar.onDragEnd,u))}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var n=t.scrollbar,r=t.touchEventsTouch,i=t.touchEventsDesktop,o=t.params,a=n.$el,s=a[0],l=!(!W.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},u=!(!W.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};W.touch?(s.removeEventListener(r.start,t.scrollbar.onDragStart,l),s.removeEventListener(r.move,t.scrollbar.onDragMove,l),s.removeEventListener(r.end,t.scrollbar.onDragEnd,u)):(s.removeEventListener(i.start,t.scrollbar.onDragStart,l),e.removeEventListener(i.move,t.scrollbar.onDragMove,l),e.removeEventListener(i.end,t.scrollbar.onDragEnd,u))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.$el,i=e.params.scrollbar,o=r(i.el);e.params.uniqueNavElements&&"string"===typeof i.el&&o.length>1&&1===n.find(i.el).length&&(o=n.find(i.el));var a=o.find("."+e.params.scrollbar.dragClass);0===a.length&&(a=r('<div class="'+e.params.scrollbar.dragClass+'"></div>'),o.append(a)),V.extend(t,{$el:o,el:o[0],$dragEl:a,dragEl:a[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){var e=this;e.scrollbar.disableDraggable()}},xt={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;V.extend(e,{scrollbar:{init:wt.init.bind(e),destroy:wt.destroy.bind(e),updateSize:wt.updateSize.bind(e),setTranslate:wt.setTranslate.bind(e),setTransition:wt.setTransition.bind(e),enableDraggable:wt.enableDraggable.bind(e),disableDraggable:wt.disableDraggable.bind(e),setDragPosition:wt.setDragPosition.bind(e),getPointerPosition:wt.getPointerPosition.bind(e),onDragStart:wt.onDragStart.bind(e),onDragMove:wt.onDragMove.bind(e),onDragEnd:wt.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){var e=this;e.scrollbar.updateSize()},resize:function(){var e=this;e.scrollbar.updateSize()},observerUpdate:function(){var e=this;e.scrollbar.updateSize()},setTranslate:function(){var e=this;e.scrollbar.setTranslate()},setTransition:function(e){var t=this;t.scrollbar.setTransition(e)},destroy:function(){var e=this;e.scrollbar.destroy()}}},kt={setTransform:function(e,t){var n=this,i=n.rtl,o=r(e),a=i?-1:1,s=o.attr("data-swiper-parallax")||"0",l=o.attr("data-swiper-parallax-x"),u=o.attr("data-swiper-parallax-y"),c=o.attr("data-swiper-parallax-scale"),d=o.attr("data-swiper-parallax-opacity");if(l||u?(l=l||"0",u=u||"0"):n.isHorizontal()?(l=s,u="0"):(u=s,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*a+"%":l*t*a+"px",u=u.indexOf("%")>=0?parseInt(u,10)*t+"%":u*t+"px","undefined"!==typeof d&&null!==d){var h=d-(d-1)*(1-Math.abs(t));o[0].style.opacity=h}if("undefined"===typeof c||null===c)o.transform("translate3d("+l+", "+u+", 0px)");else{var f=c-(c-1)*(1-Math.abs(t));o.transform("translate3d("+l+", "+u+", 0px) scale("+f+")")}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,i=e.progress,o=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,i)})),n.each((function(t,n){var a=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(t/2)-i*(o.length-1)),a=Math.min(Math.max(a,-1),1),r(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,a)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed);var t=this,n=t.$el;n.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){var i=r(n),o=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(o=0),i.transition(o)}))}},Mt={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;V.extend(e,{parallax:{setTransform:kt.setTransform.bind(e),setTranslate:kt.setTranslate.bind(e),setTransition:kt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e){var t=this;t.params.parallax.enabled&&t.parallax.setTransition(e)}}},St={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,r=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY,o=Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2));return o},onGestureStart:function(e){var t=this,n=t.params.zoom,i=t.zoom,o=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!W.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,o.scaleStart=St.getDistanceBetweenTouches(e)}o.$slideEl&&o.$slideEl.length||(o.$slideEl=r(e.target).closest(".swiper-slide"),0===o.$slideEl.length&&(o.$slideEl=t.slides.eq(t.activeIndex)),o.$imageEl=o.$slideEl.find("img, svg, canvas"),o.$imageWrapEl=o.$imageEl.parent("."+n.containerClass),o.maxRatio=o.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==o.$imageWrapEl.length)?(o.$imageEl.transition(0),t.zoom.isScaling=!0):o.$imageEl=void 0},onGestureChange:function(e){var t=this,n=t.params.zoom,r=t.zoom,i=r.gesture;if(!W.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;r.fakeGestureMoved=!0,i.scaleMove=St.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(W.gestures?r.scale=e.scale*r.currentScale:r.scale=i.scaleMove/i.scaleStart*r.currentScale,r.scale>i.maxRatio&&(r.scale=i.maxRatio-1+Math.pow(r.scale-i.maxRatio+1,.5)),r.scale<n.minRatio&&(r.scale=n.minRatio+1-Math.pow(n.minRatio-r.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+r.scale+")"))},onGestureEnd:function(e){var t=this,n=t.params.zoom,r=t.zoom,i=r.gesture;if(!W.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!je.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,i.maxRatio),n.minRatio),i.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this,n=t.zoom,r=n.gesture,i=n.image;r.$imageEl&&0!==r.$imageEl.length&&(i.isTouched||(je.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,n=t.zoom,r=n.gesture,i=n.image,o=n.velocity;if(r.$imageEl&&0!==r.$imageEl.length&&(t.allowClick=!1,i.isTouched&&r.$slideEl)){i.isMoved||(i.width=r.$imageEl[0].offsetWidth,i.height=r.$imageEl[0].offsetHeight,i.startX=V.getTranslate(r.$imageWrapEl[0],"x")||0,i.startY=V.getTranslate(r.$imageWrapEl[0],"y")||0,r.slideWidth=r.$slideEl[0].offsetWidth,r.slideHeight=r.$slideEl[0].offsetHeight,r.$imageWrapEl.transition(0),t.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var a=i.width*n.scale,s=i.height*n.scale;if(!(a<r.slideWidth&&s<r.slideHeight)){if(i.minX=Math.min(r.slideWidth/2-a/2,0),i.maxX=-i.minX,i.minY=Math.min(r.slideHeight/2-s/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),o.prevPositionX||(o.prevPositionX=i.touchesCurrent.x),o.prevPositionY||(o.prevPositionY=i.touchesCurrent.y),o.prevTime||(o.prevTime=Date.now()),o.x=(i.touchesCurrent.x-o.prevPositionX)/(Date.now()-o.prevTime)/2,o.y=(i.touchesCurrent.y-o.prevPositionY)/(Date.now()-o.prevTime)/2,Math.abs(i.touchesCurrent.x-o.prevPositionX)<2&&(o.x=0),Math.abs(i.touchesCurrent.y-o.prevPositionY)<2&&(o.y=0),o.prevPositionX=i.touchesCurrent.x,o.prevPositionY=i.touchesCurrent.y,o.prevTime=Date.now(),r.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}}},onTouchEnd:function(){var e=this,t=e.zoom,n=t.gesture,r=t.image,i=t.velocity;if(n.$imageEl&&0!==n.$imageEl.length){if(!r.isTouched||!r.isMoved)return r.isTouched=!1,void(r.isMoved=!1);r.isTouched=!1,r.isMoved=!1;var o=300,a=300,s=i.x*o,l=r.currentX+s,u=i.y*a,c=r.currentY+u;0!==i.x&&(o=Math.abs((l-r.currentX)/i.x)),0!==i.y&&(a=Math.abs((c-r.currentY)/i.y));var d=Math.max(o,a);r.currentX=l,r.currentY=c;var h=r.width*t.scale,f=r.height*t.scale;r.minX=Math.min(n.slideWidth/2-h/2,0),r.maxX=-r.minX,r.minY=Math.min(n.slideHeight/2-f/2,0),r.maxY=-r.minY,r.currentX=Math.max(Math.min(r.currentX,r.maxX),r.minX),r.currentY=Math.max(Math.min(r.currentY,r.maxY),r.minY),n.$imageWrapEl.transition(d).transform("translate3d("+r.currentX+"px, "+r.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,n=t.gesture;n.$slideEl&&e.previousIndex!==e.activeIndex&&(n.$imageEl.transform("translate3d(0,0,0) scale(1)"),n.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle:function(e){var t=this,n=t.zoom;n.scale&&1!==n.scale?n.out():n.in(e)},in:function(e){var t,n,i,o,a,s,l,u,c,d,h,f,p,m,g,v,y,b,_=this,w=_.zoom,x=_.params.zoom,k=w.gesture,M=w.image;(k.$slideEl||(k.$slideEl=_.clickedSlide?r(_.clickedSlide):_.slides.eq(_.activeIndex),k.$imageEl=k.$slideEl.find("img, svg, canvas"),k.$imageWrapEl=k.$imageEl.parent("."+x.containerClass)),k.$imageEl&&0!==k.$imageEl.length)&&(k.$slideEl.addClass(""+x.zoomedSlideClass),"undefined"===typeof M.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,n="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=M.touchesStart.x,n=M.touchesStart.y),w.scale=k.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,w.currentScale=k.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,e?(y=k.$slideEl[0].offsetWidth,b=k.$slideEl[0].offsetHeight,i=k.$slideEl.offset().left,o=k.$slideEl.offset().top,a=i+y/2-t,s=o+b/2-n,c=k.$imageEl[0].offsetWidth,d=k.$imageEl[0].offsetHeight,h=c*w.scale,f=d*w.scale,p=Math.min(y/2-h/2,0),m=Math.min(b/2-f/2,0),g=-p,v=-m,l=a*w.scale,u=s*w.scale,l<p&&(l=p),l>g&&(l=g),u<m&&(u=m),u>v&&(u=v)):(l=0,u=0),k.$imageWrapEl.transition(300).transform("translate3d("+l+"px, "+u+"px,0)"),k.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+w.scale+")"))},out:function(){var e=this,t=e.zoom,n=e.params.zoom,i=t.gesture;i.$slideEl||(i.$slideEl=e.clickedSlide?r(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+n.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+n.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!W.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};W.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!W.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};W.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}}},Ct={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){t[n]=St[n].bind(e)})),V.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){if(n!==t){var r=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,i=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,r,i)}n=t}})},on:{init:function(){var e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy:function(){var e=this;e.zoom.disable()},touchStart:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},Tt={loadInSlide:function(e,t){void 0===t&&(t=!0);var n=this,i=n.params.lazy;if("undefined"!==typeof e&&0!==n.slides.length){var o=n.virtual&&n.params.virtual.enabled,a=o?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):n.slides.eq(e),s=a.find("."+i.elementClass+":not(."+i.loadedClass+"):not(."+i.loadingClass+")");!a.hasClass(i.elementClass)||a.hasClass(i.loadedClass)||a.hasClass(i.loadingClass)||(s=s.add(a[0])),0!==s.length&&s.each((function(e,o){var s=r(o);s.addClass(i.loadingClass);var l=s.attr("data-background"),u=s.attr("data-src"),c=s.attr("data-srcset"),d=s.attr("data-sizes");n.loadImage(s[0],u||l,c,d,!1,(function(){if("undefined"!==typeof n&&null!==n&&n&&(!n||n.params)&&!n.destroyed){if(l?(s.css("background-image",'url("'+l+'")'),s.removeAttr("data-background")):(c&&(s.attr("srcset",c),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),u&&(s.attr("src",u),s.removeAttr("data-src"))),s.addClass(i.loadedClass).removeClass(i.loadingClass),a.find("."+i.preloaderClass).remove(),n.params.loop&&t){var e=a.attr("data-swiper-slide-index");if(a.hasClass(n.params.slideDuplicateClass)){var r=n.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(r.index(),!1)}else{var o=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');n.lazy.loadInSlide(o.index(),!1)}}n.emit("lazyImageReady",a[0],s[0])}})),n.emit("lazyImageLoad",a[0],s[0])}))}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,i=e.slides,o=e.activeIndex,a=e.virtual&&n.virtual.enabled,s=n.lazy,l=n.slidesPerView;function u(e){if(a){if(t.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(i[e])return!0;return!1}function c(e){return a?r(e).attr("data-swiper-slide-index"):r(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((function(t,n){var i=a?r(n).attr("data-swiper-slide-index"):r(n).index();e.lazy.loadInSlide(i)}));else if(l>1)for(var d=o;d<o+l;d+=1)u(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(o);if(s.loadPrevNext)if(l>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var h=s.loadPrevNextAmount,f=l,p=Math.min(o+f+Math.max(h,f),i.length),m=Math.max(o-Math.max(f,h),0),g=o+l;g<p;g+=1)u(g)&&e.lazy.loadInSlide(g);for(var v=m;v<o;v+=1)u(v)&&e.lazy.loadInSlide(v)}else{var y=t.children("."+n.slideNextClass);y.length>0&&e.lazy.loadInSlide(c(y));var b=t.children("."+n.slidePrevClass);b.length>0&&e.lazy.loadInSlide(c(b))}}},Ot={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;V.extend(e,{lazy:{initialImageLoaded:!1,load:Tt.load.bind(e),loadInSlide:Tt.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},Lt={LinearSpline:function(e,t){var n,r,i=function(){var e,t,n;return function(r,i){t=-1,e=r.length;while(e-t>1)n=e+t>>1,r[n]<=i?t=n:e=n;return e}}();return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=i(this.x,e),n=r-1,(e-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Lt.LinearSpline(t.slidesGrid,e.slidesGrid):new Lt.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,r,i=this,o=i.controller.control;function a(e){var t=i.rtlTranslate?-i.translate:i.translate;"slide"===i.params.controller.by&&(i.controller.getInterpolateFunction(e),r=-i.controller.spline.interpolate(-t)),r&&"container"!==i.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(i.maxTranslate()-i.minTranslate()),r=(t-i.minTranslate())*n+e.minTranslate()),i.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,i),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s<o.length;s+=1)o[s]!==t&&o[s]instanceof rt&&a(o[s]);else o instanceof rt&&t!==o&&a(o)},setTransition:function(e,t){var n,r=this,i=r.controller.control;function o(t){t.setTransition(e,r),0!==e&&(t.transitionStart(),t.params.autoHeight&&V.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){i&&(t.params.loop&&"slide"===r.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(i))for(n=0;n<i.length;n+=1)i[n]!==t&&i[n]instanceof rt&&o(i[n]);else i instanceof rt&&t!==i&&o(i)}},At={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;V.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:Lt.getInterpolateFunction.bind(e),setTranslate:Lt.setTranslate.bind(e),setTransition:Lt.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){var n=this;n.controller.control&&n.controller.setTranslate(e,t)},setTransition:function(e,t){var n=this;n.controller.control&&n.controller.setTransition(e,t)}}},Dt={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,n=t.params.a11y;if(13===e.keyCode){var i=r(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&i.is("."+t.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this,n=t.a11y.liveRegion;0!==n.length&&(n.html(""),n.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,n=t.$nextEl,r=t.$prevEl;r&&r.length>0&&(e.isBeginning?e.a11y.disableEl(r):e.a11y.enableEl(r)),n&&n.length>0&&(e.isEnd?e.a11y.disableEl(n):e.a11y.enableEl(n))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n,i){var o=r(i);e.a11y.makeElFocusable(o),e.a11y.addElRole(o,"button"),e.a11y.addElLabel(o,t.paginationBulletMessage.replace(/{{index}}/,o.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,n,r=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,r.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,r.prevSlideMessage),n.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,n=this;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.off("keydown",n.a11y.onEnterKey),t&&t.off("keydown",n.a11y.onEnterKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown","."+n.params.pagination.bulletClass,n.a11y.onEnterKey)}},Et={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;V.extend(e,{a11y:{liveRegion:r('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(Dt).forEach((function(t){e.a11y[t]=Dt[t].bind(e)}))},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(){var e=this;e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(){var e=this;e.params.a11y.enabled&&e.a11y.destroy()}}},It={init:function(){var e=this;if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var n=e.history;n.initialized=!0,n.paths=It.getPathValues(),(n.paths.key||n.paths.value)&&(n.scrollToSlide(0,n.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this;e.params.history.replaceState||t.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=It.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),n=e.length,r=e[n-2],i=e[n-1];return{key:r,value:i}},setHistory:function(e,n){var r=this;if(r.history.initialized&&r.params.history.enabled){var i=r.slides.eq(n),o=It.slugify(i.attr("data-history"));t.location.pathname.includes(e)||(o=e+"/"+o);var a=t.history.state;a&&a.value===o||(r.params.history.replaceState?t.history.replaceState({value:o},null,o):t.history.pushState({value:o},null,o))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){var r=this;if(t)for(var i=0,o=r.slides.length;i<o;i+=1){var a=r.slides.eq(i),s=It.slugify(a.attr("data-history"));if(s===t&&!a.hasClass(r.params.slideDuplicateClass)){var l=a.index();r.slideTo(l,e,n)}}else r.slideTo(0,e,n)}},jt={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;V.extend(e,{history:{init:It.init.bind(e),setHistory:It.setHistory.bind(e),setHistoryPopState:It.setHistoryPopState.bind(e),scrollToSlide:It.scrollToSlide.bind(e),destroy:It.destroy.bind(e)}})},on:{init:function(){var e=this;e.params.history.enabled&&e.history.init()},destroy:function(){var e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},Pt={onHashCange:function(){var t=this,n=e.location.hash.replace("#",""),r=t.slides.eq(t.activeIndex).attr("data-hash");if(n!==r){var i=t.$wrapperEl.children("."+t.params.slideClass+'[data-hash="'+n+'"]').index();if("undefined"===typeof i)return;t.slideTo(i)}},setHash:function(){var n=this;if(n.hashNavigation.initialized&&n.params.hashNavigation.enabled)if(n.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+n.slides.eq(n.activeIndex).attr("data-hash")||!1);else{var r=n.slides.eq(n.activeIndex),i=r.attr("data-hash")||r.attr("data-history");e.location.hash=i||""}},init:function(){var n=this;if(!(!n.params.hashNavigation.enabled||n.params.history&&n.params.history.enabled)){n.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var o=0,a=0,s=n.slides.length;a<s;a+=1){var l=n.slides.eq(a),u=l.attr("data-hash")||l.attr("data-history");if(u===i&&!l.hasClass(n.params.slideDuplicateClass)){var c=l.index();n.slideTo(c,o,n.params.runCallbacksOnInit,!0)}}n.params.hashNavigation.watchState&&r(t).on("hashchange",n.hashNavigation.onHashCange)}},destroy:function(){var e=this;e.params.hashNavigation.watchState&&r(t).off("hashchange",e.hashNavigation.onHashCange)}},Rt={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;V.extend(e,{hashNavigation:{initialized:!1,init:Pt.init.bind(e),destroy:Pt.destroy.bind(e),setHash:Pt.setHash.bind(e),onHashCange:Pt.onHashCange.bind(e)}})},on:{init:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(){var e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()}}},Nt={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=V.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),n)},start:function(){var e=this;return"undefined"===typeof e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&("undefined"!==typeof e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},Bt={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;V.extend(e,{autoplay:{running:!1,paused:!1,run:Nt.run.bind(e),start:Nt.start.bind(e),stop:Nt.stop.bind(e),pause:Nt.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){var e=this;e.params.autoplay.enabled&&e.autoplay.start()},beforeTransitionStart:function(e,t){var n=this;n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):n.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){var e=this;e.autoplay.running&&e.autoplay.stop()}}},Yt={setTranslate:function(){for(var e=this,t=e.slides,n=0;n<t.length;n+=1){var r=e.slides.eq(n),i=r[0].swiperSlideOffset,o=-i;e.params.virtualTranslate||(o-=e.translate);var a=0;e.isHorizontal()||(a=o,o=0);var s=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(r[0].progress),0):1+Math.min(Math.max(r[0].progress,-1),0);r.css({opacity:s}).transform("translate3d("+o+"px, "+a+"px, 0px)")}},setTransition:function(e){var t=this,n=t.slides,r=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var i=!1;n.transitionEnd((function(){if(!i&&t&&!t.destroyed){i=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)r.trigger(e[n])}}))}}},Ft={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;V.extend(e,{fadeEffect:{setTranslate:Yt.setTranslate.bind(e),setTransition:Yt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};V.extend(e.params,t),V.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e){var t=this;"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}},zt={setTranslate:function(){var e,t=this,n=t.$el,i=t.$wrapperEl,o=t.slides,a=t.width,s=t.height,l=t.rtlTranslate,u=t.size,c=t.params.cubeEffect,d=t.isHorizontal(),h=t.virtual&&t.params.virtual.enabled,f=0;c.shadow&&(d?(e=i.find(".swiper-cube-shadow"),0===e.length&&(e=r('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:a+"px"})):(e=n.find(".swiper-cube-shadow"),0===e.length&&(e=r('<div class="swiper-cube-shadow"></div>'),n.append(e))));for(var p=0;p<o.length;p+=1){var m=o.eq(p),g=p;h&&(g=parseInt(m.attr("data-swiper-slide-index"),10));var v=90*g,y=Math.floor(v/360);l&&(v=-v,y=Math.floor(-v/360));var b=Math.max(Math.min(m[0].progress,1),-1),_=0,w=0,x=0;g%4===0?(_=4*-y*u,x=0):(g-1)%4===0?(_=0,x=4*-y*u):(g-2)%4===0?(_=u+4*y*u,x=u):(g-3)%4===0&&(_=-u,x=3*u+4*u*y),l&&(_=-_),d||(w=_,_=0);var k="rotateX("+(d?0:-v)+"deg) rotateY("+(d?v:0)+"deg) translate3d("+_+"px, "+w+"px, "+x+"px)";if(b<=1&&b>-1&&(f=90*g+90*b,l&&(f=90*-g-90*b)),m.transform(k),c.slideShadows){var M=d?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),S=d?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===M.length&&(M=r('<div class="swiper-slide-shadow-'+(d?"left":"top")+'"></div>'),m.append(M)),0===S.length&&(S=r('<div class="swiper-slide-shadow-'+(d?"right":"bottom")+'"></div>'),m.append(S)),M.length&&(M[0].style.opacity=Math.max(-b,0)),S.length&&(S[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+u/2+"px","-moz-transform-origin":"50% 50% -"+u/2+"px","-ms-transform-origin":"50% 50% -"+u/2+"px","transform-origin":"50% 50% -"+u/2+"px"}),c.shadow)if(d)e.transform("translate3d(0px, "+(a/2+c.shadowOffset)+"px, "+-a/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var C=Math.abs(f)-90*Math.floor(Math.abs(f)/90),T=1.5-(Math.sin(2*C*Math.PI/360)/2+Math.cos(2*C*Math.PI/360)/2),O=c.shadowScale,L=c.shadowScale/T,A=c.shadowOffset;e.transform("scale3d("+O+", 1, "+L+") translate3d(0px, "+(s/2+A)+"px, "+-s/2/L+"px) rotateX(-90deg)")}var D=U.isSafari||U.isUiWebView?-u/2:0;i.transform("translate3d(0px,0,"+D+"px) rotateX("+(t.isHorizontal()?0:f)+"deg) rotateY("+(t.isHorizontal()?-f:0)+"deg)")},setTransition:function(e){var t=this,n=t.$el,r=t.slides;r.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&n.find(".swiper-cube-shadow").transition(e)}},Ht={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;V.extend(e,{cubeEffect:{setTranslate:zt.setTranslate.bind(e),setTransition:zt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};V.extend(e.params,t),V.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e){var t=this;"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}},Vt={setTranslate:function(){for(var e=this,t=e.slides,n=e.rtlTranslate,i=0;i<t.length;i+=1){var o=t.eq(i),a=o[0].progress;e.params.flipEffect.limitRotation&&(a=Math.max(Math.min(o[0].progress,1),-1));var s=o[0].swiperSlideOffset,l=-180*a,u=l,c=0,d=-s,h=0;if(e.isHorizontal()?n&&(u=-u):(h=d,d=0,c=-u,u=0),o[0].style.zIndex=-Math.abs(Math.round(a))+t.length,e.params.flipEffect.slideShadows){var f=e.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),p=e.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");0===f.length&&(f=r('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),o.append(f)),0===p.length&&(p=r('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),o.append(p)),f.length&&(f[0].style.opacity=Math.max(-a,0)),p.length&&(p[0].style.opacity=Math.max(a,0))}o.transform("translate3d("+d+"px, "+h+"px, 0px) rotateX("+c+"deg) rotateY("+u+"deg)")}},setTransition:function(e){var t=this,n=t.slides,r=t.activeIndex,i=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var o=!1;n.eq(r).transitionEnd((function(){if(!o&&t&&!t.destroyed){o=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}}))}}},Wt={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;V.extend(e,{flipEffect:{setTranslate:Vt.setTranslate.bind(e),setTransition:Vt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};V.extend(e.params,t),V.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e){var t=this;"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}},Ut={setTranslate:function(){for(var e=this,t=e.width,n=e.height,i=e.slides,o=e.$wrapperEl,a=e.slidesSizesGrid,s=e.params.coverflowEffect,l=e.isHorizontal(),u=e.translate,c=l?t/2-u:n/2-u,d=l?s.rotate:-s.rotate,h=s.depth,f=0,p=i.length;f<p;f+=1){var m=i.eq(f),g=a[f],v=m[0].swiperSlideOffset,y=(c-v-g/2)/g*s.modifier,b=l?d*y:0,_=l?0:d*y,w=-h*Math.abs(y),x=l?0:s.stretch*y,k=l?s.stretch*y:0;Math.abs(k)<.001&&(k=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(b)<.001&&(b=0),Math.abs(_)<.001&&(_=0);var M="translate3d("+k+"px,"+x+"px,"+w+"px) rotateX("+_+"deg) rotateY("+b+"deg)";if(m.transform(M),m[0].style.zIndex=1-Math.abs(Math.round(y)),s.slideShadows){var S=l?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),C=l?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===S.length&&(S=r('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),m.append(S)),0===C.length&&(C=r('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),m.append(C)),S.length&&(S[0].style.opacity=y>0?y:0),C.length&&(C[0].style.opacity=-y>0?-y:0)}}if(W.pointerEvents||W.prefixedPointerEvents){var T=o[0].style;T.perspectiveOrigin=c+"px 50%"}},setTransition:function(e){var t=this;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},$t={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;V.extend(e,{coverflowEffect:{setTranslate:Ut.setTranslate.bind(e),setTransition:Ut.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){var e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e){var t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}},Gt={init:function(){var e=this,t=e.params,n=t.thumbs,r=e.constructor;n.swiper instanceof r?(e.thumbs.swiper=n.swiper,V.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),V.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):V.isObject(n.swiper)&&(e.thumbs.swiper=new r(V.extend({},n.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var n=t.clickedIndex,i=t.clickedSlide;if((!i||!r(i).hasClass(e.params.thumbs.slideThumbActiveClass))&&"undefined"!==typeof n&&null!==n){var o;if(o=t.params.loop?parseInt(r(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){var a=e.activeIndex;e.slides.eq(a).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,a=e.activeIndex);var s=e.slides.eq(a).prevAll('[data-swiper-slide-index="'+o+'"]').eq(0).index(),l=e.slides.eq(a).nextAll('[data-swiper-slide-index="'+o+'"]').eq(0).index();o="undefined"===typeof s?l:"undefined"===typeof l?s:l-a<a-s?l:s}e.slideTo(o)}}},update:function(e){var t=this,n=t.thumbs.swiper;if(n){var r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;if(t.realIndex!==n.realIndex){var i,o=n.activeIndex;if(n.params.loop){n.slides.eq(o).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,o=n.activeIndex);var a=n.slides.eq(o).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),s=n.slides.eq(o).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();i="undefined"===typeof a?s:"undefined"===typeof s?a:s-o===o-a?o:s-o<o-a?s:a}else i=t.realIndex;n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(i)<0&&(n.params.centeredSlides?i=i>o?i-Math.floor(r/2)+1:i+Math.floor(r/2)-1:i>o&&(i=i-r+1),n.slideTo(i,e?0:void 0))}var l=1,u=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),n.slides.removeClass(u),n.params.loop||n.params.virtual)for(var c=0;c<l;c+=1)n.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+c)+'"]').addClass(u);else for(var d=0;d<l;d+=1)n.slides.eq(t.realIndex+d).addClass(u)}}},qt={name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var e=this;V.extend(e,{thumbs:{swiper:null,init:Gt.init.bind(e),update:Gt.update.bind(e),onThumbClick:Gt.onThumbClick.bind(e)}})},on:{beforeInit:function(){var e=this,t=e.params,n=t.thumbs;n&&n.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},update:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},resize:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e){var t=this,n=t.thumbs.swiper;n&&n.setTransition(e)},beforeDestroy:function(){var e=this,t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}},Xt=[it,ot,at,st,ut,dt,ft,gt,yt,_t,xt,Mt,Ct,Ot,At,Et,jt,Rt,Bt,Ft,Ht,Wt,$t,qt];return"undefined"===typeof rt.use&&(rt.use=rt.Class.use,rt.installModule=rt.Class.installModule),rt.use(Xt),rt}))},d0b0:function(e,t,n){"use strict";n("386b")("italics",(function(e){return function(){return e(this,"i","","")}}))},d0b5:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n("448a")),o=r(n("970b")),a=n("a870"),s=n("5557"),l=function e(t){(0,o["default"])(this,e),this.colorProcessor(t);var n={fill:[0,0,0,1],stroke:[0,0,0,0],opacity:1,lineCap:null,lineJoin:null,lineDash:null,lineDashOffset:null,shadowBlur:0,shadowColor:[0,0,0,0],shadowOffsetX:0,shadowOffsetY:0,lineWidth:0,graphCenter:null,scale:null,rotate:null,translate:null,hoverCursor:"pointer",fontStyle:"normal",fontVarient:"normal",fontWeight:"normal",fontSize:10,fontFamily:"Arial",textAlign:"center",textBaseline:"middle",gradientColor:null,gradientType:"linear",gradientParams:null,gradientWith:"stroke",gradientStops:"auto",colors:null};Object.assign(this,n,t)};function u(e,t){e.save();var n=t.graphCenter,r=t.rotate,o=t.scale,a=t.translate;n instanceof Array&&(e.translate.apply(e,(0,i["default"])(n)),r&&e.rotate(r*Math.PI/180),o instanceof Array&&e.scale.apply(e,(0,i["default"])(o)),a&&e.translate.apply(e,(0,i["default"])(a)),e.translate(-n[0],-n[1]))}t["default"]=l,l.prototype.colorProcessor=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?a.getColorFromRgbValue:a.getRgbaValue,r=["fill","stroke","shadowColor"],i=Object.keys(e),o=i.filter((function(e){return r.find((function(t){return t===e}))}));o.forEach((function(t){return e[t]=n(e[t])}));var s=e.gradientColor,l=e.colors;if(s&&(e.gradientColor=s.map((function(e){return n(e)}))),l){var u=Object.keys(l);u.forEach((function(e){return l[e]=n(l[e])}))}},l.prototype.initStyle=function(e){u(e,this),d(e,this),h(e,this)};var c=["lineCap","lineJoin","lineDashOffset","shadowOffsetX","shadowOffsetY","lineWidth","textAlign","textBaseline"];function d(e,t){var n=t.fill,r=t.stroke,o=t.shadowColor,s=t.opacity;c.forEach((function(n){(n||"number"===typeof n)&&(e[n]=t[n])})),n=(0,i["default"])(n),r=(0,i["default"])(r),o=(0,i["default"])(o),n[3]*=s,r[3]*=s,o[3]*=s,e.fillStyle=(0,a.getColorFromRgbValue)(n),e.strokeStyle=(0,a.getColorFromRgbValue)(r),e.shadowColor=(0,a.getColorFromRgbValue)(o);var l=t.lineDash,u=t.shadowBlur;l&&(l=l.map((function(e){return e>=0?e:0})),e.setLineDash(l)),"number"===typeof u&&(e.shadowBlur=u>0?u:.001);var d=t.fontStyle,h=t.fontVarient,f=t.fontWeight,p=t.fontSize,m=t.fontFamily;e.font=d+" "+h+" "+f+" "+p+"px "+m}function h(e,t){if(f(t)){var n=t.gradientColor,r=t.gradientParams,o=t.gradientType,s=t.gradientWith,l=t.gradientStops,u=t.opacity;n=n.map((function(e){var t=e[3]*u,n=(0,i["default"])(e);return n[3]=t,n})),n=n.map((function(e){return(0,a.getColorFromRgbValue)(e)})),"auto"===l&&(l=p(n));var c=e["create".concat(o.slice(0,1).toUpperCase()+o.slice(1),"Gradient")].apply(e,(0,i["default"])(r));l.forEach((function(e,t){return c.addColorStop(e,n[t])})),e["".concat(s,"Style")]=c}}function f(e){var t=e.gradientColor,n=e.gradientParams,r=e.gradientType,i=e.gradientWith,o=e.gradientStops;if(!t||!n)return!1;if(1===t.length)return console.warn("The gradient needs to provide at least two colors"),!1;if("linear"!==r&&"radial"!==r)return console.warn("GradientType only supports linear or radial, current value is "+r),!1;var a=n.length;return"linear"===r&&4!==a||"radial"===r&&6!==a?(console.warn("The expected length of gradientParams is "+("linear"===r?"4":"6")),!1):"fill"!==i&&"stroke"!==i?(console.warn("GradientWith only supports fill or stroke, current value is "+i),!1):"auto"===o||o instanceof Array||(console.warn("gradientStops only supports 'auto' or Number Array ([0, .5, 1]), current value is "+o),!1)}function p(e){var t=1/(e.length-1);return e.map((function(e,n){return t*n}))}l.prototype.restoreTransform=function(e){e.restore()},l.prototype.update=function(e){this.colorProcessor(e),Object.assign(this,e)},l.prototype.getStyle=function(){var e=(0,s.deepClone)(this,!0);return this.colorProcessor(e,!0),e}},d0ca:function(e,t,n){var r=n("5ca1"),i=n("abd7")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return i(e)}})},d185:function(e,t,n){var r=n("11e9"),i=n("38fd"),o=n("69a8"),a=n("5ca1"),s=n("d3f4"),l=n("cb7c");function u(e,t){var n,a,c=arguments.length<3?e:arguments[2];return l(e)===c?e[t]:(n=r.f(e,t))?o(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:s(a=i(e))?u(a,t,c):void 0}a(a.S,"Reflect",{get:u})},d25f:function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(2);r(r.P+r.F*!n("2f21")([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},d263:function(e,t,n){"use strict";n("386b")("fixed",(function(e){return function(){return e(this,"tt","","")}}))},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  527. //! moment.js locale configuration
  528. var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r}))},d2c8:function(e,t,n){var r=n("aae3"),i=n("be13");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},d2d4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  529. //! moment.js locale configuration
  530. var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},d2d5:function(e,t,n){n("1654"),n("549b"),e.exports=n("584a").Array.from},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4af:function(e,t,n){"use strict";var r=n("8eb7"),i=n("7b3e"),o=10,a=40,s=800;function l(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*o,i=n*o,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1==e.deltaMode?(r*=a,i*=a):(r*=s,i*=s)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}l.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=l},d4c0:function(e,t,n){var r=n("0d58"),i=n("2621"),o=n("52a7");e.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},d511:function(e,t,n){"use strict";var r=n("5ca1"),i=n("abd7")(/&(?:amp|lt|gt|quot|apos);/g,{"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'"});r(r.P+r.F,"String",{unescapeHTML:function(){return i(this)}})},d51b:function(e,t,n){"use strict";var r=function(){function e(e){this.value=e}return e}(),i=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new r(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),o=function(){function e(e){this._list=new i,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,i=this._map,o=null;if(null==i[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return o},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();t["a"]=o},d51d:function(e,t,n){},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d5d2:function(e,t,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");e.exports=n("8378").isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},d69a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  531. //! moment.js locale configuration
  532. var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},d6b6:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  533. //! moment.js locale configuration
  534. var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},d6c6:function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},d6e6:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Hasher,i=t.x64,o=i.Word,a=i.WordArray,s=t.algo;function l(){return o.create.apply(o,arguments)}var u=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],c=[];(function(){for(var e=0;e<80;e++)c[e]=l()})();var d=s.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],d=n[6],h=n[7],f=r.high,p=r.low,m=i.high,g=i.low,v=o.high,y=o.low,b=a.high,_=a.low,w=s.high,x=s.low,k=l.high,M=l.low,S=d.high,C=d.low,T=h.high,O=h.low,L=f,A=p,D=m,E=g,I=v,j=y,P=b,R=_,N=w,B=x,Y=k,F=M,z=S,H=C,V=T,W=O,U=0;U<80;U++){var $,G,q=c[U];if(U<16)G=q.high=0|e[t+2*U],$=q.low=0|e[t+2*U+1];else{var X=c[U-15],K=X.high,Z=X.low,J=(K>>>1|Z<<31)^(K>>>8|Z<<24)^K>>>7,Q=(Z>>>1|K<<31)^(Z>>>8|K<<24)^(Z>>>7|K<<25),ee=c[U-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),oe=c[U-7],ae=oe.high,se=oe.low,le=c[U-16],ue=le.high,ce=le.low;$=Q+se,G=J+ae+($>>>0<Q>>>0?1:0),$+=ie,G=G+re+($>>>0<ie>>>0?1:0),$+=ce,G=G+ue+($>>>0<ce>>>0?1:0),q.high=G,q.low=$}var de=N&Y^~N&z,he=B&F^~B&H,fe=L&D^L&I^D&I,pe=A&E^A&j^E&j,me=(L>>>28|A<<4)^(L<<30|A>>>2)^(L<<25|A>>>7),ge=(A>>>28|L<<4)^(A<<30|L>>>2)^(A<<25|L>>>7),ve=(N>>>14|B<<18)^(N>>>18|B<<14)^(N<<23|B>>>9),ye=(B>>>14|N<<18)^(B>>>18|N<<14)^(B<<23|N>>>9),be=u[U],_e=be.high,we=be.low,xe=W+ye,ke=V+ve+(xe>>>0<W>>>0?1:0),Me=(xe=xe+he,ke=ke+de+(xe>>>0<he>>>0?1:0),xe=xe+we,ke=ke+_e+(xe>>>0<we>>>0?1:0),xe=xe+$,ke=ke+G+(xe>>>0<$>>>0?1:0),ge+pe),Se=me+fe+(Me>>>0<ge>>>0?1:0);V=z,W=H,z=Y,H=F,Y=N,F=B,B=R+xe|0,N=P+ke+(B>>>0<R>>>0?1:0)|0,P=I,R=j,I=D,j=E,D=L,E=A,A=xe+Me|0,L=ke+Se+(A>>>0<xe>>>0?1:0)|0}p=r.low=p+A,r.high=f+L+(p>>>0<A>>>0?1:0),g=i.low=g+E,i.high=m+D+(g>>>0<E>>>0?1:0),y=o.low=y+j,o.high=v+I+(y>>>0<j>>>0?1:0),_=a.low=_+R,a.high=b+P+(_>>>0<R>>>0?1:0),x=s.low=x+B,s.high=w+N+(x>>>0<B>>>0?1:0),M=l.low=M+F,l.high=k+Y+(M>>>0<F>>>0?1:0),C=d.low=C+H,d.high=S+z+(C>>>0<H>>>0?1:0),O=h.low=O+W,h.high=T+V+(O>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process();var i=this._hash.toX32();return i},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(d),t.HmacSHA512=r._createHmacHelper(d)}(),e.SHA512}))},d716:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  535. //! moment.js locale configuration
  536. var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},d752:function(e,t,n){var r=n("7726").parseFloat,i=n("aa77").trim;e.exports=1/r(n("fdef")+"-0")!==-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},d864:function(e,t,n){var r=n("79aa");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},d8d6:function(e,t,n){n("1654"),n("6c1c"),e.exports=n("ccb9").f("iterator")},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d92a:function(e,t,n){var r=n("5ca1");r(r.P,"Function",{bind:n("f0c1")})},d9ab:function(e,t,n){var r=n("5ca1"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},d9f6:function(e,t,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),a=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},d9f8:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  537. //! moment.js locale configuration
  538. var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},db29:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  539. //! moment.js locale configuration
  540. var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},db2a:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},db72:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("8aae"),i=n.n(r),o=n("ed33"),a=n.n(o),s=n("fde4"),l=n.n(s),u=n("8580"),c=n.n(u),d=n("5bba"),h=n.n(d),f=n("454f"),p=n.n(f),m=n("bd86");function g(e,t){var n=i()(e);if(a.a){var r=a()(e);t&&(r=r.filter((function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){Object(m["a"])(e,t,n[t])})):c.a?h()(e,c()(n)):g(Object(n)).forEach((function(t){p()(e,t,l()(n,t))}))}return e}},db97:function(e,t,n){var r=n("5ca1");r(r.S,"Object",{is:n("83a1")})},db9a:function(e,t,n){var r=n("5ca1");r(r.P+r.R,"Set",{toJSON:n("44b8")("Set")})},dbbf:function(e,t,n){},dbdb:function(e,t,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},dc4d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  541. //! moment.js locale configuration
  542. var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],o=e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:i,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return o}))},dc62:function(e,t,n){n("9427");var r=n("584a").Object;e.exports=function(e,t){return r.create(e,t)}},dcbc:function(e,t,n){var r=n("2aba");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},dd8a:function(e,t,n){n("28e4")("Set")},df1b:function(e,t,n){var r=n("5ca1"),i=n("d8e8"),o=n("cb7c"),a=(n("7726").Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n("79e5")((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=i(e),l=o(n);return a?a(r,t,l):s.call(r,t,l)}})},df2f:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=n.Hasher,o=t.algo,a=[],s=o.SHA1=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],s=n[3],l=n[4],u=0;u<80;u++){if(u<16)a[u]=0|e[t+u];else{var c=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=c<<1|c>>>31}var d=(r<<5|r>>>27)+l+a[u];d+=u<20?1518500249+(i&o|~i&s):u<40?1859775393+(i^o^s):u<60?(i&o|i&s|o&s)-1894007588:(i^o^s)-899497514,l=s,s=o,o=i<<30|i>>>2,i=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=i._createHelper(s),t.HmacSHA1=i._createHmacHelper(s)}(),e.SHA1}))},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(i(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===o(e,-1);return e=n(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var u=[];for(l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},df83:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.easeInOutBounce=t.easeOutBounce=t.easeInBounce=t.easeInOutElastic=t.easeOutElastic=t.easeInElastic=t.easeInOutBack=t.easeOutBack=t.easeInBack=t.easeInOutQuint=t.easeOutQuint=t.easeInQuint=t.easeInOutQuart=t.easeOutQuart=t.easeInQuart=t.easeInOutCubic=t.easeOutCubic=t.easeInCubic=t.easeInOutQuad=t.easeOutQuad=t.easeInQuad=t.easeInOutSine=t.easeOutSine=t.easeInSine=t.linear=void 0;var r=[[[0,1],"",[.33,.67]],[[1,0],[.67,.33]]];t.linear=r;var i=[[[0,1]],[[.538,.564],[.169,.912],[.88,.196]],[[1,0]]];t.easeInSine=i;var o=[[[0,1]],[[.444,.448],[.169,.736],[.718,.16]],[[1,0]]];t.easeOutSine=o;var a=[[[0,1]],[[.5,.5],[.2,1],[.8,0]],[[1,0]]];t.easeInOutSine=a;var s=[[[0,1]],[[.55,.584],[.231,.904],[.868,.264]],[[1,0]]];t.easeInQuad=s;var l=[[[0,1]],[[.413,.428],[.065,.816],[.76,.04]],[[1,0]]];t.easeOutQuad=l;var u=[[[0,1]],[[.5,.5],[.3,.9],[.7,.1]],[[1,0]]];t.easeInOutQuad=u;var c=[[[0,1]],[[.679,.688],[.366,.992],[.992,.384]],[[1,0]]];t.easeInCubic=c;var d=[[[0,1]],[[.321,.312],[.008,.616],[.634,.008]],[[1,0]]];t.easeOutCubic=d;var h=[[[0,1]],[[.5,.5],[.3,1],[.7,0]],[[1,0]]];t.easeInOutCubic=h;var f=[[[0,1]],[[.812,.74],[.611,.988],[1.013,.492]],[[1,0]]];t.easeInQuart=f;var p=[[[0,1]],[[.152,.244],[.001,.448],[.285,-.02]],[[1,0]]];t.easeOutQuart=p;var m=[[[0,1]],[[.5,.5],[.4,1],[.6,0]],[[1,0]]];t.easeInOutQuart=m;var g=[[[0,1]],[[.857,.856],[.714,1],[1,.712]],[[1,0]]];t.easeInQuint=g;var v=[[[0,1]],[[.108,.2],[.001,.4],[.214,-.012]],[[1,0]]];t.easeOutQuint=v;var y=[[[0,1]],[[.5,.5],[.5,1],[.5,0]],[[1,0]]];t.easeInOutQuint=y;var b=[[[0,1]],[[.667,.896],[.38,1.184],[.955,.616]],[[1,0]]];t.easeInBack=b;var _=[[[0,1]],[[.335,.028],[.061,.22],[.631,-.18]],[[1,0]]];t.easeOutBack=_;var w=[[[0,1]],[[.5,.5],[.4,1.4],[.6,-.4]],[[1,0]]];t.easeInOutBack=w;var x=[[[0,1]],[[.474,.964],[.382,.988],[.557,.952]],[[.619,1.076],[.565,1.088],[.669,1.08]],[[.77,.916],[.712,.924],[.847,.904]],[[.911,1.304],[.872,1.316],[.961,1.34]],[[1,0]]];t.easeInElastic=x;var k=[[[0,1]],[[.073,-.32],[.034,-.328],[.104,-.344]],[[.191,.092],[.11,.06],[.256,.08]],[[.31,-.076],[.26,-.068],[.357,-.076]],[[.432,.032],[.362,.028],[.683,-.004]],[[1,0]]];t.easeOutElastic=k;var M=[[[0,1]],[[.21,.94],[.167,.884],[.252,.98]],[[.299,1.104],[.256,1.092],[.347,1.108]],[[.5,.496],[.451,.672],[.548,.324]],[[.696,-.108],[.652,-.112],[.741,-.124]],[[.805,.064],[.756,.012],[.866,.096]],[[1,0]]];t.easeInOutElastic=M;var S=[[[0,1]],[[.148,1],[.075,.868],[.193,.848]],[[.326,1],[.276,.836],[.405,.712]],[[.6,1],[.511,.708],[.671,.348]],[[1,0]]];t.easeInBounce=S;var C=[[[0,1]],[[.357,.004],[.27,.592],[.376,.252]],[[.604,-.004],[.548,.312],[.669,.184]],[[.82,0],[.749,.184],[.905,.132]],[[1,0]]];t.easeOutBounce=C;var T=[[[0,1]],[[.102,1],[.05,.864],[.117,.86]],[[.216,.996],[.208,.844],[.227,.808]],[[.347,.996],[.343,.8],[.48,.292]],[[.635,.004],[.511,.676],[.656,.208]],[[.787,0],[.76,.2],[.795,.144]],[[.905,-.004],[.899,.164],[.944,.144]],[[1,0]]];t.easeInOutBounce=T;var O=new Map([["linear",r],["easeInSine",i],["easeOutSine",o],["easeInOutSine",a],["easeInQuad",s],["easeOutQuad",l],["easeInOutQuad",u],["easeInCubic",c],["easeOutCubic",d],["easeInOutCubic",h],["easeInQuart",f],["easeOutQuart",p],["easeInOutQuart",m],["easeInQuint",g],["easeOutQuint",v],["easeInOutQuint",y],["easeInBack",b],["easeOutBack",_],["easeInOutBack",w],["easeInElastic",x],["easeOutElastic",k],["easeInOutElastic",M],["easeInBounce",S],["easeOutBounce",C],["easeInOutBounce",T]]);t["default"]=O},dfa4:function(e,t,n){},e017:function(e,t,n){(function(t){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var n=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n};"undefined"!==typeof window?window:"undefined"!==typeof t||"undefined"!==typeof self&&self;function r(e,t){return t={exports:{}},e(t,t.exports),t.exports}var i=r((function(e,t){(function(t,n){e.exports=n()})(0,(function(){function e(e){var t=e&&"object"===typeof e;return t&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&e(n)?o(t(n),n,r):n}function r(t,r,i){var a=t.slice();return r.forEach((function(r,s){"undefined"===typeof a[s]?a[s]=n(r,i):e(r)?a[s]=o(t[s],r,i):-1===t.indexOf(r)&&a.push(n(r,i))})),a}function i(t,r,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],i)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=o(t[s],r[s],i):a[s]=n(r[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=o||{arrayMerge:r},l=s.arrayMerge||r;return a?Array.isArray(e)?l(e,t,o):n(t,o):i(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}))})),o=r((function(e,t){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=n,e.exports=t.default})),a=function(e){return Object.keys(e).map((function(t){var n=e[t].toString().replace(/"/g,"&quot;");return t+'="'+n+'"'})).join(" ")},s=o.svg,l=o.xlink,u={};u[s.name]=s.uri,u[l.name]=l.uri;var c=function(e,t){void 0===e&&(e="");var n=i(u,t||{}),r=a(n);return"<svg "+r+">"+e+"</svg>"},d=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"===typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return n(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,r),t}(e);return d}))}).call(this,n("24aa"))},e099:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?o(a(e),(function(a){var s=encodeURIComponent(r(a))+n;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(r(e))})).join(t):s+encodeURIComponent(r(e[a]))})).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},e0b8:function(e,t,n){"use strict";var r=n("7726"),i=n("5ca1"),o=n("2aba"),a=n("dcbc"),s=n("67ab"),l=n("4a59"),u=n("f605"),c=n("d3f4"),d=n("79e5"),h=n("5cc5"),f=n("7f20"),p=n("5dbc");e.exports=function(e,t,n,m,g,v){var y=r[e],b=y,_=g?"set":"add",w=b&&b.prototype,x={},k=function(e){var t=w[e];o(w,e,"delete"==e||"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(v||w.forEach&&!d((function(){(new b).entries().next()})))){var M=new b,S=M[_](v?{}:-0,1)!=M,C=d((function(){M.has(1)})),T=h((function(e){new b(e)})),O=!v&&d((function(){var e=new b,t=5;while(t--)e[_](t,t);return!e.has(-0)}));T||(b=t((function(t,n){u(t,b,e);var r=p(new y,t,b);return void 0!=n&&l(n,g,r[_],r),r})),b.prototype=w,w.constructor=b),(C||O)&&(k("delete"),k("has"),g&&k("get")),(O||S)&&k(_),v&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,g,_),a(b.prototype,n),s.NEED=!0;return f(b,e),x[e]=b,i(i.G+i.W+i.F*(b!=y),x),v||m.setStrong(b,e,g),b}},e0c5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  543. //! moment.js locale configuration
  544. var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},r=e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return r}))},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e11f:function(e,t,n){},e169:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.drawPolylinePath=o,t.drawBezierCurvePath=a,t["default"]=void 0;var i=r(n("448a"));function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||t.length<2)return!1;n&&e.beginPath(),t.forEach((function(t,n){return t&&(0===n?e.moveTo.apply(e,(0,i["default"])(t)):e.lineTo.apply(e,(0,i["default"])(t)))})),r&&e.closePath()}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!e||!t)return!1;r&&e.beginPath(),n&&e.moveTo.apply(e,(0,i["default"])(n)),t.forEach((function(t){return t&&e.bezierCurveTo.apply(e,(0,i["default"])(t[0]).concat((0,i["default"])(t[1]),(0,i["default"])(t[2])))})),o&&e.closePath()}var s={drawPolylinePath:o,drawBezierCurvePath:a};t["default"]=s},e1d3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  545. //! moment.js locale configuration
  546. var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},e394:function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=n("38fd"),a=r.has,s=r.get,l=r.key,u=function(e,t,n){var r=a(e,t,n);if(r)return s(e,t,n);var i=o(t);return null!==i?u(e,i,n):void 0};r.exp({getMetadata:function(e,t){return u(e,i(t),arguments.length<3?void 0:l(arguments[2]))}})},e3d0:function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,i(n),o(r))}})},e3db:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},e4ae:function(e,t,n){var r=n("f772");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},e4f7:function(e,t,n){var r=n("4bf8"),i=n("38fd");n("5eda")("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},e50d:function(e,t,n){var r=n("7037")["default"];function i(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e61b:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"))})(0,(function(e){return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.x64,s=a.Word,l=n.algo,u=[],c=[],d=[];(function(){for(var e=1,t=0,n=0;n<24;n++){u[e+5*t]=(n+1)*(n+2)/2%64;var r=t%5,i=(2*e+3*t)%5;e=r,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,a=0;a<24;a++){for(var l=0,h=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?h^=1<<p:l^=1<<p-32}128&o?o=o<<1^113:o<<=1}d[a]=s.create(l,h)}})();var h=[];(function(){for(var e=0;e<25;e++)h[e]=s.create()})();var f=l.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,i=0;i<r;i++){var o=e[t+2*i],a=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8);var s=n[i];s.high^=a,s.low^=o}for(var l=0;l<24;l++){for(var f=0;f<5;f++){for(var p=0,m=0,g=0;g<5;g++){s=n[f+5*g];p^=s.high,m^=s.low}var v=h[f];v.high=p,v.low=m}for(f=0;f<5;f++){var y=h[(f+4)%5],b=h[(f+1)%5],_=b.high,w=b.low;for(p=y.high^(_<<1|w>>>31),m=y.low^(w<<1|_>>>31),g=0;g<5;g++){s=n[f+5*g];s.high^=p,s.low^=m}}for(var x=1;x<25;x++){s=n[x];var k=s.high,M=s.low,S=u[x];S<32?(p=k<<S|M>>>32-S,m=M<<S|k>>>32-S):(p=M<<S-32|k>>>64-S,m=k<<S-32|M>>>64-S);var C=h[c[x]];C.high=p,C.low=m}var T=h[0],O=n[0];T.high=O.high,T.low=O.low;for(f=0;f<5;f++)for(g=0;g<5;g++){x=f+5*g,s=n[x];var L=h[x],A=h[(f+1)%5+5*g],D=h[(f+2)%5+5*g];s.high=L.high^~A.high&D.high,s.low=L.low^~A.low&D.low}s=n[0];var E=d[l];s.high^=E.high,s.low^=E.low}},_doFinalize:function(){var e=this._data,n=e.words,r=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,l=s/8,u=[],c=0;c<l;c++){var d=a[c],h=d.high,f=d.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),u.push(f),u.push(h)}return new i.init(u,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=o._createHelper(f),n.HmacSHA3=o._createHmacHelper(f)}(Math),e.SHA3}))},e630:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("d2d5"),i=n.n(r),o=n("db2a");function a(e,t){if(e){if("string"==typeof e)return Object(o["a"])(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?i()(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(o["a"])(e,t):void 0}}},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e6f3:function(e,t,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),a=n("5559")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},e804:function(e,t,n){"use strict";var r=n("5ca1"),i=n("f1ae");r(r.S+r.F*n("79e5")((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);while(t>e)i(n,e,arguments[e++]);return n.length=t,n}})},e81d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  547. //! moment.js locale configuration
  548. var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},r=e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return r}))},e82b:function(e,t,n){"use strict";var r=n("9b43"),i=n("5ca1"),o=n("4630"),a=n("7333"),s=n("2aeb"),l=n("38fd"),u=n("0d58"),c=n("86cc"),d=n("3f71"),h=n("d8e8"),f=n("4a59"),p=n("d5d2"),m=n("41a0"),g=n("d53b"),v=n("d3f4"),y=n("6821"),b=n("9e1e"),_=n("69a8"),w=function(e){var t=1==e,n=4==e;return function(i,o,a){var s,l,u,c=r(o,a,3),d=y(i),h=t||7==e||2==e?new("function"==typeof this?this:S):void 0;for(s in d)if(_(d,s)&&(l=d[s],u=c(l,s,i),e))if(t)h[s]=u;else if(u)switch(e){case 2:h[s]=l;break;case 3:return!0;case 5:return l;case 6:return s;case 7:h[u[0]]=u[1]}else if(n)return!1;return 3==e||n?n:h}},x=w(6),k=function(e){return function(t){return new M(t,e)}},M=function(e,t){this._t=y(e),this._a=u(e),this._i=0,this._k=t};function S(e){var t=s(null);return void 0!=e&&(p(e)?f(e,!0,(function(e,n){t[e]=n})):a(t,e)),t}function C(e,t,n){h(t);var r,i,o=y(e),a=u(o),s=a.length,l=0;if(arguments.length<3){if(!s)throw TypeError("Reduce of empty object with no initial value");r=o[a[l++]]}else r=Object(n);while(s>l)_(o,i=a[l++])&&(r=t(r,o[i],i,e));return r}function T(e,t){return void 0!==(t==t?d(e,t):x(e,(function(e){return e!=e})))}function O(e,t){if(_(e,t))return e[t]}function L(e,t,n){return b&&t in Object?c.f(e,t,o(0,n)):e[t]=n,e}function A(e){return v(e)&&l(e)===S.prototype}m(M,"Dict",(function(){var e,t=this,n=t._t,r=t._a,i=t._k;do{if(t._i>=r.length)return t._t=void 0,g(1)}while(!_(n,e=r[t._i++]));return g(0,"keys"==i?e:"values"==i?n[e]:[e,n[e]])})),S.prototype=null,i(i.G+i.F,{Dict:S}),i(i.S,"Dict",{keys:k("keys"),values:k("values"),entries:k("entries"),forEach:w(0),map:w(1),filter:w(2),some:w(3),every:w(4),find:w(5),findKey:x,mapPairs:w(7),reduce:C,keyOf:d,includes:T,has:_,get:O,set:L,isDict:A})},e853:function(e,t,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},e8ae:function(e,t,n){(function(t){var n;!function(t){e.exports=t()}((function(){return function e(t,r,i){function o(s,l){if(!r[s]){if(!t[s]){var u="function"==typeof n&&n;if(!l&&u)return n(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=r[s]={exports:{}};t[s][0].call(d.exports,(function(e){return o(t[s][1][e]||e)}),d,d.exports,e,t,r,i)}return r[s].exports}for(var a="function"==typeof n&&n,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,n){"use strict";const r=e("fs"),i=e("fast-csv"),o=e("dayjs/plugin/customParseFormat"),a=e("dayjs/plugin/utc"),s=e("dayjs").extend(o).extend(a),l=e("../utils/stream-buf"),{fs:{exists:u}}=e("../utils/utils"),c={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};t.exports=class{constructor(e){this.workbook=e,this.worksheet=null}async readFile(e,t){if(t=t||{},!await u(e))throw new Error("File not found: "+e);const n=r.createReadStream(e),i=await this.read(n,t);return n.close(),i}read(e,t){return t=t||{},new Promise((n,r)=>{const o=this.workbook.addWorksheet(t.sheetName),a=t.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],l=t.map||function(e){if(""===e)return null;const t=Number(e);if(!Number.isNaN(t)&&t!==1/0)return t;const n=a.reduce((t,n)=>{if(t)return t;const r=s(e,n,!0);return r.isValid()?r:null},null);if(n)return new Date(n.valueOf());const r=c[e];return void 0!==r?r:e},u=i.parse(t.parserOptions).on("data",e=>{o.addRow(e.map(l))}).on("end",()=>{u.emit("worksheet",o)});u.on("worksheet",n).on("error",r),e.pipe(u)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(e,t){return new Promise((n,r)=>{t=t||{};const o=this.workbook.getWorksheet(t.sheetName||t.sheetId),a=i.format(t.formatterOptions);e.on("finish",()=>{n()}),a.on("error",r),a.pipe(e);const{dateFormat:l,dateUTC:u}=t,c=t.map||(e=>{if(e){if(e.text||e.hyperlink)return e.hyperlink||e.text||"";if(e.formula||e.result)return e.result||"";if(e instanceof Date)return l?u?s.utc(e).format(l):s(e).format(l):u?s.utc(e).format():s(e).format();if(e.error)return e.error;if("object"==typeof e)return JSON.stringify(e)}return e}),d=void 0===t.includeEmptyRows||t.includeEmptyRows;let h=1;o&&o.eachRow((e,t)=>{if(d)for(;h++<t-1;)a.write([]);const{values:n}=e;n.shift(),a.write(n.map(c)),h=t}),a.end()})}writeFile(e,t){const n={encoding:(t=t||{}).encoding||"utf8"},i=r.createWriteStream(e,n);return this.write(i,t)}async writeBuffer(e){const t=new l;return await this.write(t,e),t.read()}}},{"../utils/stream-buf":24,"../utils/utils":27,dayjs:391,"dayjs/plugin/customParseFormat":392,"dayjs/plugin/utc":393,"fast-csv":424,fs:216}],2:[function(e,t,n){"use strict";const r=e("../utils/col-cache");class i{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.worksheet=e,t)if("string"==typeof t){const e=r.decodeAddress(t);this.nativeCol=e.col+n,this.nativeColOff=0,this.nativeRow=e.row+n,this.nativeRowOff=0}else void 0!==t.nativeCol?(this.nativeCol=t.nativeCol||0,this.nativeColOff=t.nativeColOff||0,this.nativeRow=t.nativeRow||0,this.nativeRowOff=t.nativeRowOff||0):void 0!==t.col?(this.col=t.col+n,this.row=t.row+n):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(e){return e instanceof i||null==e?e:new i(e)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(e){this.nativeCol=Math.floor(e),this.nativeColOff=Math.floor((e-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(e){this.nativeRow=Math.floor(e),this.nativeRowOff=Math.floor((e-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(e){this.nativeCol=e.nativeCol,this.nativeColOff=e.nativeColOff,this.nativeRow=e.nativeRow,this.nativeRowOff=e.nativeRowOff}}t.exports=i},{"../utils/col-cache":19}],3:[function(e,t,n){"use strict";const r=e("../utils/col-cache"),i=e("../utils/under-dash"),o=e("./enums"),{slideFormula:a}=e("../utils/shared-formula"),s=e("./note");class l{constructor(e,t,n){if(!e||!t)throw new Error("A Cell needs a Row");this._row=e,this._column=t,r.validateAddress(n),this._address=n,this._value=u.create(l.Types.Null,this),this.style=this._mergeStyle(e.style,t.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(e){this.style.numFmt=e}get font(){return this.style.font}set font(e){this.style.font=e}get alignment(){return this.style.alignment}set alignment(e){this.style.alignment=e}get border(){return this.style.border}set border(e){this.style.border=e}get fill(){return this.style.fill}set fill(e){this.style.fill=e}get protection(){return this.style.protection}set protection(e){this.style.protection=e}_mergeStyle(e,t,n){const r=e&&e.numFmt||t&&t.numFmt;r&&(n.numFmt=r);const i=e&&e.font||t&&t.font;i&&(n.font=i);const o=e&&e.alignment||t&&t.alignment;o&&(n.alignment=o);const a=e&&e.border||t&&t.border;a&&(n.border=a);const s=e&&e.fill||t&&t.fill;s&&(n.fill=s);const l=e&&e.protection||t&&t.protection;return l&&(n.protection=l),n}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===l.Types.Merge}merge(e,t){this._value.release(),this._value=u.create(l.Types.Merge,this,e),t||(this.style=e.style)}unmerge(){this.type===l.Types.Merge&&(this._value.release(),this._value=u.create(l.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(e){return this._value.type===l.Types.Merge&&this._value.isMergedTo(e)}get master(){return this.type===l.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===l.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(e){this.type!==l.Types.Merge?(this._value.release(),this._value=u.create(u.getType(e),this,e)):this._value.master.value=e}get note(){return this._comment&&this._comment.note}set note(e){this._comment=new s(e)}get text(){return this._value.toString()}get html(){return i.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(e){this.type===l.Types.String&&(this._value=u.create(l.Types.Hyperlink,this,{text:this._value.value,hyperlink:e}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:e}=this._row;return{sheetName:e.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(e){this.names=[e]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(e){const{definedNames:t}=this.workbook;t.removeAllNames(this.fullAddress),e.forEach(e=>{t.addEx(this.fullAddress,e)})}addName(e){this.workbook.definedNames.addEx(this.fullAddress,e)}removeName(e){this.workbook.definedNames.removeEx(this.fullAddress,e)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(e){this._dataValidations.add(this.address,e)}get model(){const{model:e}=this._value;return e.style=this.style,this._comment&&(e.comment=this._comment.model),e}set model(e){if(this._value.release(),this._value=u.create(e.type,this),this._value.model=e,e.comment)switch(e.comment.type){case"note":this._comment=s.fromModel(e.comment)}e.style?this.style=e.style:this.style={}}}l.Types=o.ValueType;const u={getType:e=>null==e?l.Types.Null:e instanceof String||"string"==typeof e?l.Types.String:"number"==typeof e?l.Types.Number:"boolean"==typeof e?l.Types.Boolean:e instanceof Date?l.Types.Date:e.text&&e.hyperlink?l.Types.Hyperlink:e.formula||e.sharedFormula?l.Types.Formula:e.richText?l.Types.RichText:e.sharedString?l.Types.SharedString:e.error?l.Types.Error:l.Types.JSON,types:[{t:l.Types.Null,f:class{constructor(e){this.model={address:e.address,type:l.Types.Null}}get value(){return null}set value(e){}get type(){return l.Types.Null}get effectiveType(){return l.Types.Null}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return""}release(){}toString(){return""}}},{t:l.Types.Number,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Number,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Number}get effectiveType(){return l.Types.Number}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.String,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.String}get effectiveType(){return l.Types.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:l.Types.Date,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Date,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Date}get effectiveType(){return l.Types.Date}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.Hyperlink,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Hyperlink,text:t?t.text:void 0,hyperlink:t?t.hyperlink:void 0},t&&t.tooltip&&(this.model.tooltip=t.tooltip)}get value(){const e={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(e.tooltip=this.model.tooltip),e}set value(e){this.model={text:e.text,hyperlink:e.hyperlink},e.tooltip&&(this.model.tooltip=e.tooltip)}get text(){return this.model.text}set text(e){this.model.text=e}get hyperlink(){return this.model.hyperlink}set hyperlink(e){this.model.hyperlink=e}get type(){return l.Types.Hyperlink}get effectiveType(){return l.Types.Hyperlink}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:l.Types.Formula,f:class{constructor(e,t){this.cell=e,this.model={address:e.address,type:l.Types.Formula,shareType:t?t.shareType:void 0,ref:t?t.ref:void 0,formula:t?t.formula:void 0,sharedFormula:t?t.sharedFormula:void 0,result:t?t.result:void 0}}_copyModel(e){const t={},n=n=>{const r=e[n];r&&(t[n]=r)};return n("formula"),n("result"),n("ref"),n("shareType"),n("sharedFormula"),t}get value(){return this._copyModel(this.model)}set value(e){this.model=this._copyModel(e)}validate(e){switch(u.getType(e)){case l.Types.Null:case l.Types.String:case l.Types.Number:case l.Types.Date:break;case l.Types.Hyperlink:case l.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(e){this.model.formula=e}get formulaType(){return this.model.formula?o.FormulaType.Master:this.model.sharedFormula?o.FormulaType.Shared:o.FormulaType.None}get result(){return this.model.result}set result(e){this.model.result=e}get type(){return l.Types.Formula}get effectiveType(){const e=this.model.result;return null==e?o.ValueType.Null:e instanceof String||"string"==typeof e?o.ValueType.String:"number"==typeof e?o.ValueType.Number:e instanceof Date?o.ValueType.Date:e.text&&e.hyperlink?o.ValueType.Hyperlink:e.formula?o.ValueType.Formula:o.ValueType.Null}get address(){return this.model.address}set address(e){this.model.address=e}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){const{worksheet:e}=this.cell,t=e.findCell(this.model.sharedFormula);this._translatedFormula=t&&a(t.formula,t.address,this.model.address)}return this._translatedFormula}toCsvString(){return""+(this.model.result||"")}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:l.Types.Merge,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Merge,master:t?t.address:void 0},this._master=t,t&&t.addMergeRef()}get value(){return this._master.value}set value(e){e instanceof l?(this._master&&this._master.releaseMergeRef(),e.addMergeRef(),this._master=e):this._master.value=e}isMergedTo(e){return e===this._master}get master(){return this._master}get type(){return l.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:l.Types.JSON,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.String,value:JSON.stringify(t),rawValue:t}}get value(){return this.model.rawValue}set value(e){this.model.rawValue=e,this.model.value=JSON.stringify(e)}get type(){return l.Types.String}get effectiveType(){return l.Types.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:l.Types.SharedString,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.SharedString,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.SharedString}get effectiveType(){return l.Types.SharedString}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.RichText,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}toString(){return this.model.value.richText.map(e=>e.text).join("")}get type(){return l.Types.RichText}get effectiveType(){return l.Types.RichText}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:l.Types.Boolean,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Boolean,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Boolean}get effectiveType(){return l.Types.Boolean}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.Error,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Error,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Error}get effectiveType(){return l.Types.Error}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((e,t)=>(e[t.t]=t.f,e),[]),create(e,t,n){const r=this.types[e];if(!r)throw new Error("Could not create Value of type "+e);return new r(t,n)}};t.exports=l},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(e,t,n){"use strict";const r=e("../utils/under-dash"),i=e("./enums"),o=e("../utils/col-cache");class a{constructor(e,t,n){this._worksheet=e,this._number=t,!1!==n&&(this.defn=n)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return o.n2l(this._number)}get isCustomWidth(){return void 0!==this.width&&9!==this.width}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(e){e?(this.key=e.key,this.width=void 0!==e.width?e.width:9,this.outlineLevel=e.outlineLevel,e.style?this.style=e.style:this.style={},this.header=e.header,this._hidden=!!e.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(e){void 0!==e?(this._header=e,this.headers.forEach((e,t)=>{this._worksheet.getCell(t+1,this.number).value=e})):this._header=void 0}get key(){return this._key}set key(e){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=e,e&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(e){return this.width===e.width&&this.hidden===e.hidden&&this.outlineLevel===e.outlineLevel&&r.isEqual(this.style,e.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;const e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}get headerCount(){return this.headers.length}eachCell(e,t){const n=this.number;t||(t=e,e=null),this._worksheet.eachRow(e,(e,r)=>{t(e.getCell(n),r)})}get values(){const e=[];return this.eachCell((t,n)=>{t&&t.type!==i.ValueType.Null&&(e[n]=t.value)}),e}set values(e){if(!e)return;const t=this.number;let n=0;e.hasOwnProperty("0")&&(n=1),e.forEach((e,r)=>{this._worksheet.getCell(r+n,t).value=e})}_applyStyle(e,t){return this.style[e]=t,this.eachCell(n=>{n[e]=t}),t}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}static toModel(e){const t=[];let n=null;return e&&e.forEach((e,r)=>{e.isDefault?n&&(n=null):n&&e.equivalentTo(n)?n.max=r+1:(n={min:r+1,max:r+1,width:void 0!==e.width?e.width:9,style:e.style,isCustomWidth:e.isCustomWidth,hidden:e.hidden,outlineLevel:e.outlineLevel,collapsed:e.collapsed},t.push(n))}),t.length?t:void 0}static fromModel(e,t){const n=[];let r=1,i=0;for(t=(t=t||[]).sort((function(e,t){return e.min-t.min}));i<t.length;){const o=t[i++];for(;r<o.min;)n.push(new a(e,r++));for(;r<=o.max;)n.push(new a(e,r++,o))}return n.length?n:null}}t.exports=a},{"../utils/col-cache":19,"../utils/under-dash":26,"./enums":7}],5:[function(e,t,n){"use strict";t.exports=class{constructor(e){this.model=e||{}}add(e,t){return this.model[e]=t}find(e){return this.model[e]}remove(e){this.model[e]=void 0}}},{}],6:[function(e,t,n){"use strict";const r=e("../utils/under-dash"),i=e("../utils/col-cache"),o=e("../utils/cell-matrix"),a=e("./range"),s=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;t.exports=class{constructor(){this.matrixMap={}}getMatrix(e){return this.matrixMap[e]||(this.matrixMap[e]=new o)}add(e,t){const n=i.decodeEx(e);this.addEx(n,t)}addEx(e,t){const n=this.getMatrix(t);if(e.top)for(let r=e.left;r<=e.right;r++)for(let t=e.top;t<=e.bottom;t++){const o={sheetName:e.sheetName,address:i.n2l(r)+t,row:t,col:r};n.addCellEx(o)}else n.addCellEx(e)}remove(e,t){const n=i.decodeEx(e);this.removeEx(n,t)}removeEx(e,t){this.getMatrix(t).removeCellEx(e)}removeAllNames(e){r.each(this.matrixMap,t=>{t.removeCellEx(e)})}forEach(e){r.each(this.matrixMap,(t,n)=>{t.forEach(t=>{e(n,t)})})}getNames(e){return this.getNamesEx(i.decodeEx(e))}getNamesEx(e){return r.map(this.matrixMap,(t,n)=>t.findCellEx(e)&&n).filter(Boolean)}_explore(e,t){t.mark=!1;const{sheetName:n}=t,r=new a(t.row,t.col,t.row,t.col,n);let i,o;function s(i,o){const a=e.findCellAt(n,i,t.col);return!(!a||!a.mark)&&(r[o]=i,a.mark=!1,!0)}for(o=t.row-1;s(o,"top");o--);for(o=t.row+1;s(o,"bottom");o++);function l(t,i){const a=[];for(o=r.top;o<=r.bottom;o++){const r=e.findCellAt(n,o,t);if(!r||!r.mark)return!1;a.push(r)}r[i]=t;for(let e=0;e<a.length;e++)a[e].mark=!1;return!0}for(i=t.col-1;l(i,"left");i--);for(i=t.col+1;l(i,"right");i++);return r}getRanges(e,t){return(t=t||this.matrixMap[e])?(t.forEach(e=>{e.mark=!0}),{name:e,ranges:t.map(e=>e.mark&&this._explore(t,e)).filter(Boolean).map(e=>e.$shortRange)}):{name:e,ranges:[]}}normaliseMatrix(e,t){e.forEachInSheet(t,(e,t,n)=>{e&&(e.row===t&&e.col===n||(e.row=t,e.col=n,e.address=i.n2l(n)+t))})}spliceRows(e,t,n,i){r.each(this.matrixMap,r=>{r.spliceRows(e,t,n,i),this.normaliseMatrix(r,e)})}spliceColumns(e,t,n,i){r.each(this.matrixMap,r=>{r.spliceColumns(e,t,n,i),this.normaliseMatrix(r,e)})}get model(){return r.map(this.matrixMap,(e,t)=>this.getRanges(t,e)).filter(e=>e.ranges.length)}set model(e){const t=this.matrixMap={};e.forEach(e=>{const n=t[e.name]=new o;e.ranges.forEach(e=>{s.test(e.split("!").pop()||"")&&n.addCell(e)})})}}},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(e,t,n){"use strict";t.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(e,t,n){"use strict";const r=e("../utils/col-cache"),i=e("./anchor");t.exports=class{constructor(e,t){this.worksheet=e,this.model=t}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model(e){let{type:t,imageId:n,range:o,hyperlinks:a}=e;if(this.type=t,this.imageId=n,"image"===t)if("string"==typeof o){const e=r.decode(o);this.range={tl:new i(this.worksheet,{col:e.left,row:e.top},-1),br:new i(this.worksheet,{col:e.right,row:e.bottom},0),editAs:"oneCell"}}else this.range={tl:new i(this.worksheet,o.tl,0),br:o.br&&new i(this.worksheet,o.br,0),ext:o.ext,editAs:o.editAs,hyperlinks:a||o.hyperlinks}}}},{"../utils/col-cache":19,"./anchor":2}],9:[function(e,t,n){"use strict";const r=e("../utils/under-dash");class i{constructor(e){this.note=e}get model(){let e=null;switch(typeof this.note){case"string":e={type:"note",note:{texts:[{text:this.note}]}};break;default:e={type:"note",note:this.note}}return r.deepMerge({},i.DEFAULT_CONFIGS,e)}set model(e){const{note:t}=e,{texts:n}=t;1===n.length&&1===Object.keys(n[0]).length?this.note=n[0].text:this.note=t}static fromModel(e){const t=new i;return t.model=e,t}}i.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},t.exports=i},{"../utils/under-dash":26}],10:[function(e,t,n){"use strict";const r=e("../utils/col-cache");class i{constructor(){this.decode(arguments)}setTLBR(e,t,n,i,o){if(arguments.length<4){const i=r.decodeAddress(e),a=r.decodeAddress(t);this.model={top:Math.min(i.row,a.row),left:Math.min(i.col,a.col),bottom:Math.max(i.row,a.row),right:Math.max(i.col,a.col),sheetName:n},this.setTLBR(i.row,i.col,a.row,a.col,o)}else this.model={top:Math.min(e,n),left:Math.min(t,i),bottom:Math.max(e,n),right:Math.max(t,i),sheetName:o}}decode(e){switch(e.length){case 5:this.setTLBR(e[0],e[1],e[2],e[3],e[4]);break;case 4:this.setTLBR(e[0],e[1],e[2],e[3]);break;case 3:this.setTLBR(e[0],e[1],e[2]);break;case 2:this.setTLBR(e[0],e[1]);break;case 1:{const t=e[0];if(t instanceof i)this.model={top:t.model.top,left:t.model.left,bottom:t.model.bottom,right:t.model.right,sheetName:t.sheetName};else if(t instanceof Array)this.decode(t);else if(t.top&&t.left&&t.bottom&&t.right)this.model={top:t.top,left:t.left,bottom:t.bottom,right:t.right,sheetName:t.sheetName};else{const e=r.decodeEx(t);e.top?this.model={top:e.top,left:e.left,bottom:e.bottom,right:e.right,sheetName:e.sheetName}:this.model={top:e.row,left:e.col,bottom:e.row,right:e.col,sheetName:e.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - "+e.length)}}get top(){return this.model.top||1}set top(e){this.model.top=e}get left(){return this.model.left||1}set left(e){this.model.left=e}get bottom(){return this.model.bottom||1}set bottom(e){this.model.bottom=e}get right(){return this.model.right||1}set right(e){this.model.right=e}get sheetName(){return this.model.sheetName}set sheetName(e){this.model.sheetName=e}get _serialisedSheetName(){const{sheetName:e}=this.model;return e?/^[a-zA-Z0-9]*$/.test(e)?e+"!":`'${e}'!`:""}expand(e,t,n,r){(!this.model.top||e<this.top)&&(this.top=e),(!this.model.left||t<this.left)&&(this.left=t),(!this.model.bottom||n>this.bottom)&&(this.bottom=n),(!this.model.right||r>this.right)&&(this.right=r)}expandRow(e){if(e){const{dimensions:t,number:n}=e;t&&this.expand(n,t.min,n,t.max)}}expandToAddress(e){const t=r.decodeEx(e);this.expand(t.row,t.col,t.row,t.col)}get tl(){return r.n2l(this.left)+this.top}get $t$l(){return`$${r.n2l(this.left)}$${this.top}`}get br(){return r.n2l(this.right)+this.bottom}get $b$r(){return`$${r.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(e){return(!e.sheetName||!this.sheetName||e.sheetName===this.sheetName)&&!(e.bottom<this.top)&&!(e.top>this.bottom)&&!(e.right<this.left)&&!(e.left>this.right)}contains(e){const t=r.decodeEx(e);return this.containsEx(t)}containsEx(e){return(!e.sheetName||!this.sheetName||e.sheetName===this.sheetName)&&e.row>=this.top&&e.row<=this.bottom&&e.col>=this.left&&e.col<=this.right}forEachAddress(e){for(let t=this.left;t<=this.right;t++)for(let n=this.top;n<=this.bottom;n++)e(r.encodeAddress(n,t),n,t)}}t.exports=i},{"../utils/col-cache":19}],11:[function(e,t,n){"use strict";const r=e("../utils/under-dash"),i=e("./enums"),o=e("../utils/col-cache"),a=e("./cell");t.exports=class{constructor(e,t){this._worksheet=e,this._number=t,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(e){return this._cells[e-1]}getCellEx(e){let t=this._cells[e.col-1];if(!t){const n=this._worksheet.getColumn(e.col);t=new a(this,n,e.address),this._cells[e.col-1]=t}return t}getCell(e){if("string"==typeof e){const t=this._worksheet.getColumnKey(e);e=t?t.number:o.l2n(e)}return this._cells[e-1]||this.getCellEx({address:o.encodeAddress(this._number,e),row:this._number,col:e})}splice(e,t){const n=e+t;for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];const a=i.length-t,s=this._cells.length;let l,u,c;if(a<0)for(l=e+i.length;l<=s;l++)c=this._cells[l-1],u=this._cells[l-a-1],u?(c=this.getCell(l),c.value=u.value,c.style=u.style,c._comment=u._comment):c&&(c.value=null,c.style={},c._comment=void 0);else if(a>0)for(l=s;l>=n;l--)u=this._cells[l-1],u?(c=this.getCell(l+a),c.value=u.value,c.style=u.style,c._comment=u._comment):this._cells[l+a-1]=void 0;for(l=0;l<i.length;l++)c=this.getCell(e+l),c.value=i[l],c.style={},c._comment=void 0}eachCell(e,t){if(t||(t=e,e=null),e&&e.includeEmpty){const e=this._cells.length;for(let n=1;n<=e;n++)t(this.getCell(n),n)}else this._cells.forEach((e,n)=>{e&&e.type!==i.ValueType.Null&&t(e,n+1)})}addPageBreak(e,t){const n=this._worksheet,r=Math.max(0,e-1)||0,i=Math.max(0,t-1)||16838,o={id:this._number,max:i,man:1};r&&(o.min=r),n.rowBreaks.push(o)}get values(){const e=[];return this._cells.forEach(t=>{t&&t.type!==i.ValueType.Null&&(e[t.col]=t.value)}),e}set values(e){if(this._cells=[],e)if(e instanceof Array){let t=0;e.hasOwnProperty("0")&&(t=1),e.forEach((e,n)=>{void 0!==e&&(this.getCellEx({address:o.encodeAddress(this._number,n+t),row:this._number,col:n+t}).value=e)})}else this._worksheet.eachColumnKey((t,n)=>{void 0!==e[n]&&(this.getCellEx({address:o.encodeAddress(this._number,t.number),row:this._number,col:t.number}).value=e[n])})}get hasValues(){return r.some(this._cells,e=>e&&e.type!==i.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let e=0;return this.eachCell(()=>{e++}),e}get dimensions(){let e=0,t=0;return this._cells.forEach(n=>{n&&n.type!==i.ValueType.Null&&((!e||e>n.col)&&(e=n.col),t<n.col&&(t=n.col))}),e>0?{min:e,max:t}:null}_applyStyle(e,t){return this.style[e]=t,this._cells.forEach(n=>{n&&(n[e]=t)}),t}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){const e=[];let t=0,n=0;return this._cells.forEach(r=>{if(r){const i=r.model;i&&((!t||t>r.col)&&(t=r.col),n<r.col&&(n=r.col),e.push(i))}}),this.height||e.length?{cells:e,number:this.number,min:t,max:n,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(e){if(e.number!==this._number)throw new Error("Invalid row number in model");let t;this._cells=[],e.cells.forEach(e=>{switch(e.type){case a.Types.Merge:break;default:{let n;if(e.address)n=o.decodeAddress(e.address);else if(t){const{row:e}=t,r=t.col+1;n={row:e,col:r,address:o.encodeAddress(e,r),$col$row:`$${o.n2l(r)}$${e}`}}t=n,this.getCellEx(n).model=e;break}}}),e.height?this.height=e.height:delete this.height,this.hidden=e.hidden,this.outlineLevel=e.outlineLevel||0,this.style=e.style&&JSON.parse(JSON.stringify(e.style))||{}}}},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(e,t,n){"use strict";const r=e("../utils/col-cache");class i{constructor(e,t,n){this.table=e,this.column=t,this.index=n}_set(e,t){this.table.cacheState(),this.column[e]=t}get name(){return this.column.name}set name(e){this._set("name",e)}get filterButton(){return this.column.filterButton}set filterButton(e){this.column.filterButton=e}get style(){return this.column.style}set style(e){this.column.style=e}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(e){this._set("totalsRowLabel",e)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(e){this._set("totalsRowFunction",e)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(e){this._set("totalsRowResult",e)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(e){this._set("totalsRowFormula",e)}}t.exports=class{constructor(e,t){this.worksheet=e,t&&(this.table=t,this.validate(),this.store())}getFormula(e){switch(e.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${e.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${e.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${e.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${e.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${e.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${e.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${e.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${e.name}])`;case"custom":return e.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: "+e.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:e}=this,t=(e,t,n)=>{void 0===e[t]&&(e[t]=n)};t(e,"headerRow",!0),t(e,"totalsRow",!1),t(e,"style",{}),t(e.style,"theme","TableStyleMedium2"),t(e.style,"showFirstColumn",!1),t(e.style,"showLastColumn",!1),t(e.style,"showRowStripes",!1),t(e.style,"showColumnStripes",!1);const n=(e,t)=>{if(!e)throw new Error(t)};n(e.ref,"Table must have ref"),n(e.columns,"Table must have column definitions"),n(e.rows,"Table must have row definitions"),e.tl=r.decodeAddress(e.ref);const{row:i,col:o}=e.tl;n(i>0,"Table must be on valid row"),n(o>0,"Table must be on valid col");const{width:a,filterHeight:s,tableHeight:l}=this;e.autoFilterRef=r.encode(i,o,i+s-1,o+a-1),e.tableRef=r.encode(i,o,i+l-1,o+a-1),e.columns.forEach((e,r)=>{n(e.name,`Column ${r} must have a name`),0===r?t(e,"totalsRowLabel","Total"):(t(e,"totalsRowFunction","none"),e.totalsRowFormula=this.getFormula(e))})}store(){const e=(e,t)=>{t&&Object.keys(t).forEach(n=>{e[n]=t[n]})},{worksheet:t,table:n}=this,{row:r,col:i}=n.tl;let o=0;if(n.headerRow){const a=t.getRow(r+o++);n.columns.forEach((t,n)=>{const{style:r,name:o}=t,s=a.getCell(i+n);s.value=o,e(s,r)})}if(n.rows.forEach(a=>{const s=t.getRow(r+o++);a.forEach((t,r)=>{const o=s.getCell(i+r);o.value=t,e(o,n.columns[r].style)})}),n.totalsRow){const a=t.getRow(r+o++);n.columns.forEach((t,n)=>{const r=a.getCell(i+n);if(0===n)r.value=t.totalsRowLabel;else{const e=this.getFormula(t);r.value=e?{formula:t.totalsRowFormula,result:t.totalsRowResult}:null}e(r,t.style)})}}load(e){const{table:t}=this,{row:n,col:r}=t.tl;let i=0;if(t.headerRow){const o=e.getRow(n+i++);t.columns.forEach((e,t)=>{o.getCell(r+t).value=e.name})}if(t.rows.forEach(t=>{const o=e.getRow(n+i++);t.forEach((e,t)=>{o.getCell(r+t).value=e})}),t.totalsRow){const o=e.getRow(n+i++);t.columns.forEach((e,t)=>{const n=o.getCell(r+t);0===t?n.value=e.totalsRowLabel:this.getFormula(e)&&(n.value={formula:e.totalsRowFormula,result:e.totalsRowResult})})}}get model(){return this.table}set model(e){this.table=e}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const e=r.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let t=0;t<this._cache.tableHeight;t++){const n=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++)n.getCell(e.col+t).value=null}else{for(let t=this.tableHeight;t<this._cache.tableHeight;t++){const n=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++)n.getCell(e.col+t).value=null}for(let t=0;t<this.tableHeight;t++){const n=this.worksheet.getRow(e.row+t);for(let t=this.width;t<this._cache.width;t++)n.getCell(e.col+t).value=null}}this.store()}addRow(e,t){this.cacheState(),void 0===t?this.table.rows.push(e):this.table.rows.splice(t,0,e)}removeRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.rows.splice(e,t)}getColumn(e){const t=this.table.columns[e];return new i(this,t,e)}addColumn(e,t,n){this.cacheState(),void 0===n?(this.table.columns.push(e),this.table.rows.forEach((e,n)=>{e.push(t[n])})):(this.table.columns.splice(n,0,e),this.table.rows.forEach((e,r)=>{e.splice(n,0,t[r])}))}removeColumns(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.columns.splice(e,t),this.table.rows.forEach(n=>{n.splice(e,t)})}_assign(e,t,n){this.cacheState(),e[t]=n}get ref(){return this.table.ref}set ref(e){this._assign(this.table,"ref",e)}get name(){return this.table.name}set name(e){this.table.name=e}get displayName(){return this.table.displyName||this.table.name}set displayNamename(e){this.table.displayName=e}get headerRow(){return this.table.headerRow}set headerRow(e){this._assign(this.table,"headerRow",e)}get totalsRow(){return this.table.totalsRow}set totalsRow(e){this._assign(this.table,"totalsRow",e)}get theme(){return this.table.style.name}set theme(e){this.table.style.name=e}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(e){this.table.style.showFirstColumn=e}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(e){this.table.style.showLastColumn=e}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(e){this.table.style.showRowStripes=e}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(e){this.table.style.showColumnStripes=e}}},{"../utils/col-cache":19}],13:[function(e,t,n){"use strict";const r=e("./worksheet"),i=e("./defined-names"),o=e("../xlsx/xlsx"),a=e("../csv/csv");t.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new i}get xlsx(){return this._xlsx||(this._xlsx=new o(this)),this._xlsx}get csv(){return this._csv||(this._csv=new a(this)),this._csv}get nextId(){for(let e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addWorksheet(e,t){const n=this.nextId;t&&("string"==typeof t?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),t={properties:{tabColor:{argb:t}}}):(t.argb||t.theme||t.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),t={properties:{tabColor:t}}));const i=this._worksheets.reduce((e,t)=>(t&&t.orderNo)>e?t.orderNo:e,0),o=Object.assign({},t,{id:n,name:e,orderNo:i+1,workbook:this}),a=new r(o);return this._worksheets[n]=a,a}removeWorksheetEx(e){delete this._worksheets[e.id]}removeWorksheet(e){const t=this.getWorksheet(e);t&&t.destroy()}getWorksheet(e){return void 0===e?this._worksheets.find(Boolean):"number"==typeof e?this._worksheets[e]:"string"==typeof e?this._worksheets.find(t=>t&&t.name===e):void 0}get worksheets(){return this._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}eachSheet(e){this.worksheets.forEach(t=>{e(t,t.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(e){const t=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),t}getImage(e){return this.media[e]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(e=>e.model),sheets:this.worksheets.map(e=>e.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(e){this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.calcProperties=e.calcProperties,this._worksheets=[],e.worksheets.forEach(t=>{const{id:n,name:i,state:o}=t,a=e.sheets&&e.sheets.findIndex(e=>e.id===n);(this._worksheets[n]=new r({id:n,name:i,orderNo:a,state:o,workbook:this})).model=t}),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[]}}},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(e,t,n){"use strict";const r=e("../utils/under-dash"),i=e("../utils/col-cache"),o=e("./range"),a=e("./row"),s=e("./column"),l=e("./enums"),u=e("./image"),c=e("./table"),d=e("./data-validations"),h=e("../utils/encryptor"),{copyStyle:f}=e("../utils/copy-style");t.exports=class{constructor(e){e=e||{},this._workbook=e.workbook,this.id=e.id,this.orderNo=e.orderNo,this.name=e.name,this.state=e.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!e.pageSetup||!e.pageSetup.fitToWidth&&!e.pageSetup.fitToHeight||e.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.dataValidations=new d,this.views=e.views||[],this.autoFilter=e.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(e){if(void 0===e&&(e="sheet"+this.id),this._name!==e){if("string"!=typeof e)throw new Error("The name has to be a string.");if(""===e)throw new Error("The name can't be empty.");if("History"===e)throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(e))throw new Error(`Worksheet name ${e} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(e))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: "+e);if(e&&e.length>31&&(console.warn(`Worksheet name ${e} exceeds 31 chars. This will be truncated`),e=e.substring(0,31)),this._workbook._worksheets.find(t=>t&&t.name.toLowerCase()===e.toLowerCase()))throw new Error("Worksheet name already exists: "+e);this._name=e}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const e=new o;return this._rows.forEach(t=>{if(t){const n=t.dimensions;n&&e.expand(t.number,n.min,t.number,n.max)}}),e}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce((e,t)=>{const n=(t.header?1:t.headers&&t.headers.length)||0;return Math.max(e,n)},0);let t=1;const n=this._columns=[];e.forEach(e=>{const r=new s(this,t++,!1);n.push(r),r.defn=e})}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){r.each(this._keys,e)}getColumn(e){if("string"==typeof e){const t=this._keys[e];if(t)return t;e=i.l2n(e)}if(this._columns||(this._columns=[]),e>this._columns.length){let t=this._columns.length+1;for(;t<=e;)this._columns.push(new s(this,t++))}return this._columns[e-1]}spliceColumns(e,t){const n=this._rows.length;for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(i.length>0)for(let u=0;u<n;u++){const n=[e,t];i.forEach(e=>{n.push(e[u]||null)});const r=this.getRow(u+1);r.splice.apply(r,n)}else this._rows.forEach(n=>{n&&n.splice(e,t)});const a=i.length-t,s=e+t,l=this._columns.length;if(a<0)for(let u=e+i.length;u<=l;u++)this.getColumn(u).defn=this.getColumn(u-a).defn;else if(a>0)for(let u=l;u>=s;u--)this.getColumn(u+a).defn=this.getColumn(u).defn;for(let u=e;u<e+i.length;u++)this.getColumn(u).defn=null;this.workbook.definedNames.spliceColumns(this.name,e,t,i.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let e=0;return this.eachRow(t=>{e=Math.max(e,t.cellCount)}),e}get actualColumnCount(){const e=[];let t=0;return this.eachRow(n=>{n.eachCell(n=>{let{col:r}=n;e[r]||(e[r]=!0,t++)})}),t}_commitRow(){}get _lastRowNumber(){const e=this._rows;let t=e.length;for(;t>0&&void 0===e[t-1];)t--;return t}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(e){return this._rows[e-1]}findRows(e,t){return this._rows.slice(e-1,e-1+t)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let e=0;return this.eachRow(()=>{e++}),e}getRow(e){let t=this._rows[e-1];return t||(t=this._rows[e-1]=new a(this,e)),t}getRows(e,t){if(t<1)return;const n=[];for(let r=e;r<e+t;r++)n.push(this.getRow(r));return n}addRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";const n=this._nextRow,r=this.getRow(n);return r.values=e,this._setStyleOption(n,"i"===t[0]?t:"n"),r}addRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";const n=[];return e.forEach(e=>{n.push(this.addRow(e,t))}),n}insertRow(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";return this.spliceRows(e,0,t),this._setStyleOption(e,n),this.getRow(e)}insertRows(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";if(this.spliceRows(e,0,...t),"n"!==n)for(let r=0;r<t.length;r++)"o"===n[0]&&void 0!==this.findRow(t.length+e+r)?this._copyStyle(t.length+e+r,e+r,"+"===n[1]):"i"===n[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e+r,"+"===n[1]);return this.getRows(e,t.length)}_setStyleOption(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";"o"===t[0]&&void 0!==this.findRow(e+1)?this._copyStyle(e+1,e,"+"===t[1]):"i"===t[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e,"+"===t[1])}_copyStyle(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=this.getRow(e),i=this.getRow(t);i.style=f(r.style),r.eachCell({includeEmpty:n},(e,t)=>{i.getCell(t).style=f(e.style)}),i.height=r.height}duplicateRow(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=this._rows[e-1],i=new Array(t).fill(r.values);this.spliceRows(e+1,n?0:t,...i);for(let o=0;o<t;o++){const t=this._rows[e+o];t.style=r.style,t.height=r.height,r.eachCell({includeEmpty:!0},(e,n)=>{t.getCell(n).style=e.style})}}spliceRows(e,t){const n=e+t;for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];const a=i.length,s=a-t,l=this._rows.length;let u,c;if(s<0)for(e===l&&(this._rows[l-1]=void 0),u=n;u<=l;u++)if(c=this._rows[u-1],c){const e=this.getRow(u+s);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},(t,n)=>{e.getCell(n).style=t.style}),this._rows[u-1]=void 0}else this._rows[u+s-1]=void 0;else if(s>0)for(u=l;u>=n;u--)if(c=this._rows[u-1],c){const e=this.getRow(u+s);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},(t,n)=>{if(e.getCell(n).style=t.style,"MergeValue"===t._value.constructor.name){const e=this.getRow(t._row._number+a).getCell(n),r=t._value._master,i=this.getRow(r._row._number+a).getCell(r._column._number);e.merge(i)}})}else this._rows[u+s-1]=void 0;for(u=0;u<a;u++){const t=this.getRow(e+u);t.style={},t.values=i[u]}this.workbook.definedNames.spliceRows(this.name,e,t,a)}eachRow(e,t){if(t||(t=e,e=void 0),e&&e.includeEmpty){const e=this._rows.length;for(let n=1;n<=e;n++)t(this.getRow(n),n)}else this._rows.forEach(e=>{e&&e.hasValues&&t(e,e.number)})}getSheetValues(){const e=[];return this._rows.forEach(t=>{t&&(e[t.number]=t.values)}),e}findCell(e,t){const n=i.getAddress(e,t),r=this._rows[n.row-1];return r?r.findCell(n.col):void 0}getCell(e,t){const n=i.getAddress(e,t);return this.getRow(n.row).getCellEx(n)}mergeCells(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=new o(t);this._mergeCellsInternal(r)}mergeCellsWithoutStyle(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=new o(t);this._mergeCellsInternal(r,!0)}_mergeCellsInternal(e,t){r.each(this._merges,t=>{if(t.intersects(e))throw new Error("Cannot merge already merged cells")});const n=this.getCell(e.top,e.left);for(let r=e.top;r<=e.bottom;r++)for(let i=e.left;i<=e.right;i++)(r>e.top||i>e.left)&&this.getCell(r,i).merge(n,t);this._merges[n.address]=e}_unMergeMaster(e){const t=this._merges[e.address];if(t){for(let e=t.top;e<=t.bottom;e++)for(let n=t.left;n<=t.right;n++)this.getCell(e,n).unmerge();delete this._merges[e.address]}}get hasMerges(){return r.some(this._merges,Boolean)}unMergeCells(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=new o(t);for(let i=r.top;i<=r.bottom;i++)for(let e=r.left;e<=r.right;e++){const t=this.findCell(i,e);t&&(t.type===l.ValueType.Merge?this._unMergeMaster(t.master):this._merges[t.address]&&this._unMergeMaster(t))}}fillFormula(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"shared";const o=i.decode(e),{top:a,left:s,bottom:l,right:u}=o,c=u-s+1,d=i.encodeAddress(a,s),h="shared"===r;let f;f="function"==typeof n?n:Array.isArray(n)?Array.isArray(n[0])?(e,t)=>n[e-a][t-s]:(e,t)=>n[(e-a)*c+(t-s)]:()=>{};let p=!0;for(let i=a;i<=l;i++)for(let n=s;n<=u;n++)p?(this.getCell(i,n).value={shareType:r,formula:t,ref:e,result:f(i,n)},p=!1):this.getCell(i,n).value=h?{sharedFormula:d,result:f(i,n)}:f(i,n)}addImage(e,t){const n={type:"image",imageId:e,range:t};this._media.push(new u(this,n))}getImages(){return this._media.filter(e=>"image"===e.type)}addBackgroundImage(e){const t={type:"background",imageId:e};this._media.push(new u(this,t))}getBackgroundImageId(){const e=this._media.find(e=>"background"===e.type);return e&&e.imageId}protect(e,t){return new Promise(n=>{this.sheetProtection={sheet:!0},t&&"spinCount"in t&&(t.spinCount=Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5),e&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=h.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=t&&"spinCount"in t?t.spinCount:1e5,this.sheetProtection.hashValue=h.convertPasswordToHash(e,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),t&&(this.sheetProtection=Object.assign(this.sheetProtection,t),!e&&"spinCount"in t&&delete this.sheetProtection.spinCount),n()})}unprotect(){this.sheetProtection=null}addTable(e){const t=new c(this,e);return this.tables[e.name]=t,t}getTable(e){return this.tables[e]}removeTable(e){delete this.tables[e]}getTables(){return Object.values(this.tables)}addConditionalFormatting(e){this.conditionalFormattings.push(e)}removeConditionalFormatting(e){"number"==typeof e?this.conditionalFormattings.splice(e,1):this.conditionalFormattings=e instanceof Function?this.conditionalFormattings.filter(e):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(e){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=e}get model(){const e={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(e=>e.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(e=>e.model),conditionalFormattings:this.conditionalFormattings};e.cols=s.toModel(this.columns);const t=e.rows=[],n=e.dimensions=new o;return this._rows.forEach(e=>{const r=e&&e.model;r&&(n.expand(r.number,r.min,r.number,r.max),t.push(r))}),e.merges=[],r.each(this._merges,t=>{e.merges.push(t.range)}),e}_parseRows(e){this._rows=[],e.rows.forEach(e=>{const t=new a(this,e.number);this._rows[t.number-1]=t,t.model=e})}_parseMergeCells(e){r.each(e.mergeCells,e=>{this.mergeCellsWithoutStyle(e)})}set model(e){this.name=e.name,this._columns=s.fromModel(this,e.cols),this._parseRows(e),this._parseMergeCells(e),this.dataValidations=new d(e.dataValidations),this.properties=e.properties,this.pageSetup=e.pageSetup,this.headerFooter=e.headerFooter,this.views=e.views,this.autoFilter=e.autoFilter,this._media=e.media.map(e=>new u(this,e)),this.sheetProtection=e.sheetProtection,this.tables=e.tables.reduce((e,t)=>{const n=new c;return n.model=t,e[t.name]=n,e},{}),this.conditionalFormattings=e.conditionalFormattings}}},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(e,t,n){"use strict";e("core-js/modules/es.promise"),e("core-js/modules/es.promise.finally"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.object.values"),e("core-js/modules/es.symbol"),e("core-js/modules/es.symbol.async-iterator"),e("core-js/modules/es.array.iterator"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.array.find-index"),e("core-js/modules/es.array.find"),e("core-js/modules/es.string.from-code-point"),e("core-js/modules/es.string.includes"),e("core-js/modules/es.number.is-nan"),e("regenerator-runtime/runtime");const r={Workbook:e("./doc/workbook")},i=e("./doc/enums");Object.keys(i).forEach(e=>{r[e]=i[e]}),t.exports=r},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(e,t,n){"use strict";const r="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");n.bufferToString=function(e){return"string"==typeof e?e:r?r.decode(e):e.toString()}},{}],17:[function(e,t,n){"use strict";const r="undefined"==typeof TextEncoder?null:new TextEncoder("utf-8"),{Buffer:i}=e("buffer");n.stringToBuffer=function(e){return"string"!=typeof e?e:r?i.from(r.encode(e).buffer):i.from(e)}},{buffer:220}],18:[function(e,t,n){"use strict";const r=e("./under-dash"),i=e("./col-cache");t.exports=class{constructor(e){this.template=e,this.sheets={}}addCell(e){this.addCellEx(i.decodeEx(e))}getCell(e){return this.findCellEx(i.decodeEx(e),!0)}findCell(e){return this.findCellEx(i.decodeEx(e),!1)}findCellAt(e,t,n){const r=this.sheets[e],i=r&&r[t];return i&&i[n]}addCellEx(e){if(e.top)for(let t=e.top;t<=e.bottom;t++)for(let n=e.left;n<=e.right;n++)this.getCellAt(e.sheetName,t,n);else this.findCellEx(e,!0)}getCellEx(e){return this.findCellEx(e,!0)}findCellEx(e,t){const n=this.findSheet(e,t),r=this.findSheetRow(n,e,t);return this.findRowCell(r,e,t)}getCellAt(e,t,n){const r=this.sheets[e]||(this.sheets[e]=[]),o=r[t]||(r[t]=[]);return o[n]||(o[n]={sheetName:e,address:i.n2l(n)+t,row:t,col:n})}removeCellEx(e){const t=this.findSheet(e);if(!t)return;const n=this.findSheetRow(t,e);n&&delete n[e.col]}forEachInSheet(e,t){const n=this.sheets[e];n&&n.forEach((e,n)=>{e&&e.forEach((e,r)=>{e&&t(e,n,r)})})}forEach(e){r.each(this.sheets,(t,n)=>{this.forEachInSheet(n,e)})}map(e){const t=[];return this.forEach(n=>{t.push(e(n))}),t}findSheet(e,t){const n=e.sheetName;return this.sheets[n]?this.sheets[n]:t?this.sheets[n]=[]:void 0}findSheetRow(e,t,n){const{row:r}=t;return e&&e[r]?e[r]:n?e[r]=[]:void 0}findRowCell(e,t,n){const{col:r}=t;return e&&e[r]?e[r]:n?e[r]=this.template?Object.assign(t,JSON.parse(JSON.stringify(this.template))):t:void 0}spliceRows(e,t,n,r){const i=this.sheets[e];if(i){const e=[];for(let t=0;t<r;t++)e.push([]);i.splice(t,n,...e)}}spliceColumns(e,t,n,i){const o=this.sheets[e];if(o){const e=[];for(let t=0;t<i;t++)e.push(null);r.each(o,r=>{r.splice(t,n,...e)})}}}},{"./col-cache":19,"./under-dash":26}],19:[function(e,t,n){"use strict";const r=/^[A-Z]+\d+$/,i={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:e=>e<=26?1:e<=676?2:3,_fill(e){let t,n,r,i,o,a=1;if(e>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&e>=1){for(;a<=26;)t=this._dictionary[a-1],this._n2l[a]=t,this._l2n[t]=a,a++;this._l2nFill=1}if(this._l2nFill<2&&e>=2){for(a=27;a<=702;)n=a-27,r=n%26,i=Math.floor(n/26),t=this._dictionary[i]+this._dictionary[r],this._n2l[a]=t,this._l2n[t]=a,a++;this._l2nFill=2}if(this._l2nFill<3&&e>=3){for(a=703;a<=16384;)n=a-703,r=n%26,i=Math.floor(n/26)%26,o=Math.floor(n/676),t=this._dictionary[o]+this._dictionary[i]+this._dictionary[r],this._n2l[a]=t,this._l2n[t]=a,a++;this._l2nFill=3}},l2n(e){if(this._l2n[e]||this._fill(e.length),!this._l2n[e])throw new Error("Out of bounds. Invalid column letter: "+e);return this._l2n[e]},n2l(e){if(e<1||e>16384)throw new Error(e+" is out of bounds. Excel supports columns from 1 to 16384");return this._n2l[e]||this._fill(this._level(e)),this._n2l[e]},_hash:{},validateAddress(e){if(!r.test(e))throw new Error("Invalid Address: "+e);return!0},decodeAddress(e){const t=e.length<5&&this._hash[e];if(t)return t;let n=!1,r="",i=0,o=!1,a="",s=0;for(let u,c=0;c<e.length;c++)if(u=e.charCodeAt(c),!o&&u>=65&&u<=90)n=!0,r+=e[c],i=26*i+u-64;else if(u>=48&&u<=57)o=!0,a+=e[c],s=10*s+u-48;else if(o&&n&&36!==u)break;if(n){if(i>16384)throw new Error("Out of bounds. Invalid column letter: "+r)}else i=void 0;o||(s=void 0);const l={address:e=r+a,col:i,row:s,$col$row:`$${r}$${a}`};return i<=100&&s<=100&&(this._hash[e]=l,this._hash[l.$col$row]=l),l},getAddress(e,t){if(t){const n=this.n2l(t)+e;return this.decodeAddress(n)}return this.decodeAddress(e)},decode(e){const t=e.split(":");if(2===t.length){const e=this.decodeAddress(t[0]),n=this.decodeAddress(t[1]),r={top:Math.min(e.row,n.row),left:Math.min(e.col,n.col),bottom:Math.max(e.row,n.row),right:Math.max(e.col,n.col)};return r.tl=this.n2l(r.left)+r.top,r.br=this.n2l(r.right)+r.bottom,r.dimensions=`${r.tl}:${r.br}`,r}return this.decodeAddress(e)},decodeEx(e){const t=e.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),n=t[1]||t[2],r=t[3],i=r.split(":");if(i.length>1){let e=this.decodeAddress(i[0]),t=this.decodeAddress(i[1]);const r=Math.min(e.row,t.row),o=Math.min(e.col,t.col),a=Math.max(e.row,t.row),s=Math.max(e.col,t.col);return e=this.n2l(o)+r,t=this.n2l(s)+a,{top:r,left:o,bottom:a,right:s,sheetName:n,tl:{address:e,col:o,row:r,$col$row:`$${this.n2l(o)}$${r}`,sheetName:n},br:{address:t,col:s,row:a,$col$row:`$${this.n2l(s)}$${a}`,sheetName:n},dimensions:`${e}:${t}`}}if(r.startsWith("#"))return n?{sheetName:n,error:r}:{error:r};const o=this.decodeAddress(r);return n?{sheetName:n,...o}:o},encodeAddress:(e,t)=>i.n2l(t)+e,encode(){switch(arguments.length){case 2:return i.encodeAddress(arguments[0],arguments[1]);case 4:return`${i.encodeAddress(arguments[0],arguments[1])}:${i.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(e,t){const[n,r,,i,o]=e,[a,s]=t;return a>=n&&a<=i&&s>=r&&s<=o}};t.exports=i},{}],20:[function(e,t,n){"use strict";const r=(e,t)=>({...e,...t.reduce((t,n)=>(e[n]&&(t[n]={...e[n]}),t),{})}),i=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];e[n]&&(t[n]=r(e[n],i))};n.copyStyle=e=>{if(!e)return e;if(t=e,0===Object.keys(t).length)return{};var t;const n={...e};return i(e,n,"font",["color"]),i(e,n,"alignment"),i(e,n,"protection"),e.border&&(i(e,n,"border"),i(e.border,n.border,"top",["color"]),i(e.border,n.border,"left",["color"]),i(e.border,n.border,"bottom",["color"]),i(e.border,n.border,"right",["color"]),i(e.border,n.border,"diagonal",["color"])),e.fill&&(i(e,n,"fill",["fgColor","bgColor","center"]),e.fill.stops&&(n.fill.stops=e.fill.stops.map(e=>r(e,["color"])))),n}},{}],21:[function(e,t,n){(function(n){(function(){"use strict";const r=e("crypto"),i={hash(e){const t=r.createHash(e);for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return t.update(n.concat(o)),t.digest()},convertPasswordToHash(e,t,i,o){if(t=t.toLowerCase(),r.getHashes().indexOf(t)<0)throw new Error(`Hash algorithm '${t}' not supported!`);const a=n.from(e,"utf16le");let s=this.hash(t,n.from(i,"base64"),a);for(let r=0;r<o;r++){const e=n.alloc(4);e.writeUInt32LE(r,0),s=this.hash(t,s,e)}return s.toString("base64")},randomBytes:e=>r.randomBytes(e)};t.exports=i}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(e,t,n){"use strict";const{SaxesParser:r}=e("saxes"),{PassThrough:i}=e("readable-stream"),{bufferToString:o}=e("./browser-buffer-decode");t.exports=async function*(e){e.pipe&&!e[Symbol.asyncIterator]&&(e=e.pipe(new i));const t=new r;let n;t.on("error",e=>{n=e});let a=[];t.on("opentag",e=>a.push({eventType:"opentag",value:e})),t.on("text",e=>a.push({eventType:"text",value:e})),t.on("closetag",e=>a.push({eventType:"closetag",value:e}));for await(const r of e){if(t.write(o(r)),n)throw n;yield a,a=[]}}},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(e,t,n){"use strict";const r=e("./col-cache"),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,o=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;t.exports={slideFormula:function(e,t,n){const a=r.decode(t),s=r.decode(n);return e.replace(i,(e,t,n,i,l)=>{if(l)return e;const u=o.exec(i);if(u){const n=u[1],i=u[2].toUpperCase(),o=u[3],l=u[4];if(i.length>3||3===i.length&&i>"XFD")return e;let c=r.l2n(i),d=parseInt(l,10);return n||(c+=s.col-a.col),o||(d+=s.row-a.row),(t||"")+(n||"")+r.n2l(c)+(o||"")+d}return e})}}},{"./col-cache":19}],24:[function(e,t,n){(function(n,r){(function(){"use strict";const i=e("readable-stream"),o=e("./utils"),a=e("./string-buf");class s{constructor(e,t){this._data=e,this._encoding=t}get length(){return this.toBuffer().length}copy(e,t,n,r){return this.toBuffer().copy(e,t,n,r)}toBuffer(){return this._buffer||(this._buffer=r.from(this._data,this._encoding)),this._buffer}}class l{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,n,r){return this._data._buf.copy(e,t,n,r)}toBuffer(){return this._data.toBuffer()}}class u{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,n,r){this._data.copy(e,t,n,r)}toBuffer(){return this._data}}class c{constructor(e){this.size=e,this.buffer=r.alloc(e),this.iRead=0,this.iWrite=0}toBuffer(){if(0===this.iRead&&this.iWrite===this.size)return this.buffer;const e=r.alloc(this.iWrite-this.iRead);return this.buffer.copy(e,0,this.iRead,this.iWrite),e}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(e){let t;return 0===e?null:void 0===e||e>=this.length?(t=this.toBuffer(),this.iRead=this.iWrite,t):(t=r.alloc(e),this.buffer.copy(t,0,this.iRead,e),this.iRead+=e,t)}write(e,t,n){const r=Math.min(n,this.size-this.iWrite);return e.copy(this.buffer,this.iWrite,t,t+r),this.iWrite+=r,r}}const d=function(e){e=e||{},this.bufSize=e.bufSize||1048576,this.buffers=[],this.batch=e.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};o.inherits(d,i.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return r.concat(this.buffers.map(e=>e.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const e=this.buffers[this.buffers.length-1];if(!e.full)return e}const e=new c(this.bufSize);return this.buffers.push(e),e},async _pipe(e){await Promise.all(this.pipes.map((function(t){return new Promise(n=>{t.write(e.toBuffer(),()=>{n()})})})))},_writeToBuffers(e){let t=0;const n=e.length;for(;t<n;)t+=this._getWritableBuffer().write(e,t,n-t)},async write(e,t,i){let c;if(t instanceof Function&&(i=t,t="utf8"),i=i||o.nop,e instanceof a)c=new l(e);else if(e instanceof r)c=new u(e);else{if(!("string"==typeof e||e instanceof String||e instanceof ArrayBuffer))throw new Error("Chunk must be one of type String, Buffer or StringBuf.");c=new s(e,t)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(c);!this.corked&&this.buffers.length>1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(c),n.nextTick(i)):(await this._pipe(c),i());else this.paused||this.emit("data",c.toBuffer()),this._writeToBuffers(c),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(e,t,n){const r=e=>{e?n(e):(this._flush(),this.pipes.forEach(e=>{e.end()}),this.emit("finish"))};e?this.write(e,t,r):r()},read(e){let t;if(e){for(t=[];e&&this.buffers.length&&!this.buffers[0].eod;){const n=this.buffers[0],r=n.read(e);e-=r.length,t.push(r),n.eod&&n.full&&this.buffers.shift()}return r.concat(t)}return t=this.buffers.map(e=>e.toBuffer()).filter(Boolean),this.buffers=[],r.concat(t)},setEncoding(e){this.encoding=e},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(e){this.pipes.push(e),!this.paused&&this.buffers.length&&this.end()},unpipe(e){this.pipes=this.pipes.filter(t=>t!==e)},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),t.exports=d}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(e,t,n){(function(e){(function(){"use strict";t.exports=class{constructor(t){this._buf=e.alloc(t&&t.size||16384),this._encoding=t&&t.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=e.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(e){e=e||0,this._buffer=void 0,this._inPos=e}_grow(t){let n=2*this._buf.length;for(;n<t;)n*=2;const r=e.alloc(n);this._buf.copy(r,0),this._buf=r}addText(e){this._buffer=void 0;let t=this._inPos+this._buf.write(e,this._inPos,this._encoding);for(;t>=this._buf.length-4;)this._grow(this._inPos+e.length),t=this._inPos+this._buf.write(e,this._inPos,this._encoding);this._inPos=t}addStringBuf(e){e.length&&(this._buffer=void 0,this.length+e.length>this.capacity&&this._grow(this.length+e.length),e._buf.copy(this._buf,this._inPos,0,e.length),this._inPos+=e.length)}}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220}],26:[function(e,t,n){"use strict";const{toString:r}=Object.prototype,i=/["&<>]/,o={each:function(e,t){e&&(Array.isArray(e)?e.forEach(t):Object.keys(e).forEach(n=>{t(e[n],n)}))},some:function(e,t){return!!e&&(Array.isArray(e)?e.some(t):Object.keys(e).some(n=>t(e[n],n)))},every:function(e,t){return!e||(Array.isArray(e)?e.every(t):Object.keys(e).every(n=>t(e[n],n)))},map:function(e,t){return e?Array.isArray(e)?e.map(t):Object.keys(e).map(n=>t(e[n],n)):[]},keyBy:(e,t)=>e.reduce((e,n)=>(e[n[t]]=n,e),{}),isEqual:function(e,t){const n=typeof e,r=typeof t,i=Array.isArray(e),a=Array.isArray(t);let s;if(n!==r)return!1;switch(typeof e){case"object":if(i||a)return!(!i||!a)&&e.length===t.length&&e.every((e,n)=>{const r=t[n];return o.isEqual(e,r)});if(null===e||null===t)return e===t;if(s=Object.keys(e),Object.keys(t).length!==s.length)return!1;for(const e of s)if(!t.hasOwnProperty(e))return!1;return o.every(e,(e,n)=>{const r=t[n];return o.isEqual(e,r)});default:return e===t}},escapeHtml(e){const t=i.exec(e);if(!t)return e;let n="",r="",o=0,a=t.index;for(;a<e.length;a++){switch(e.charAt(a)){case'"':r="&quot;";break;case"&":r="&amp;";break;case"'":r="&apos;";break;case"<":r="&lt;";break;case">":r="&gt;";break;default:continue}o!==a&&(n+=e.substring(o,a)),o=a+1,n+=r}return o!==a?n+e.substring(o,a):n},strcmp:(e,t)=>e<t?-1:e>t?1:0,isUndefined:e=>"[object Undefined]"===r.call(e),isObject:e=>"[object Object]"===r.call(e),deepMerge(){const e=arguments[0]||{},{length:t}=arguments;let n,r,i;function a(t,a){n=e[a],i=Array.isArray(t),o.isObject(t)||i?(i?(i=!1,r=n&&Array.isArray(n)?n:[]):r=n&&o.isObject(n)?n:{},e[a]=o.deepMerge(r,t)):o.isUndefined(t)||(e[a]=t)}for(let s=0;s<t;s++)o.each(arguments[s],a);return e}};t.exports=o},{}],27:[function(e,n,r){(function(t,r){(function(){"use strict";const i=e("fs"),o=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,a={nop(){},promiseImmediate:e=>new Promise(n=>{t.setImmediate?r(()=>{n(e)}):setTimeout(()=>{n(e)},1)}),inherits:function(e,t,n,r){e.super_=t,r||(r=n,n=null),n&&Object.keys(n).forEach(t=>{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))});const i={constructor:{value:e,enumerable:!1,writable:!1,configurable:!0}};r&&Object.keys(r).forEach(e=>{i[e]=Object.getOwnPropertyDescriptor(r,e)}),e.prototype=Object.create(t.prototype,i)},dateToExcel:(e,t)=>25569+e.getTime()/864e5-(t?1462:0),excelToDate(e,t){const n=Math.round(24*(e-25569+(t?1462:0))*3600*1e3);return new Date(n)},parsePath(e){const t=e.lastIndexOf("/");return{path:e.substring(0,t),name:e.substring(t+1)}},getRelsPath(e){const t=a.parsePath(e);return`${t.path}/_rels/${t.name}.rels`},xmlEncode(e){const t=o.exec(e);if(!t)return e;let n="",r="",i=0,a=t.index;for(;a<e.length;a++){const t=e.charCodeAt(a);switch(t){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&apos;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;case 127:r="";break;default:if(t<=31&&(t<=8||t>=11&&13!==t)){r="";break}continue}i!==a&&(n+=e.substring(i,a)),i=a+1,r&&(n+=r)}return i!==a?n+e.substring(i,a):n},xmlDecode:e=>e.replace(/&([a-z]*);/g,e=>{switch(e){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return e}}),validInt(e){const t=parseInt(e,10);return Number.isNaN(t)?0:t},isDateFmt(e){return!!e&&null!==(e=(e=e.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)},fs:{exists:e=>new Promise(t=>{i.access(e,i.constants.F_OK,e=>{t(!e)})})},toIsoDateString:e=>e.toIsoString().subsstr(0,10),parseBoolean:e=>!0===e||"true"===e||1===e||"1"===e};n.exports=a}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{fs:216,timers:523}],28:[function(e,t,n){"use strict";const r=e("./under-dash"),i=e("./utils");function o(e,t,n){e.push(` ${t}="${i.xmlEncode(n.toString())}"`)}function a(e,t){if(t){const n=[];r.each(t,(e,t)=>{void 0!==e&&o(n,t,e)}),e.push(n.join(""))}}class s{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(e){const t=this._xml;t.push("<?xml"),a(t,e),t.push("?>\n")}openNode(e,t){const n=this.tos,r=this._xml;n&&this.open&&r.push(">"),this._stack.push(e),r.push("<"),r.push(e),a(r,t),this.leaf=!0,this.open=!0}addAttribute(e,t){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");void 0!==t&&o(this._xml,e,t)}addAttributes(e){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");a(this._xml,e)}writeText(e){const t=this._xml;this.open&&(t.push(">"),this.open=!1),this.leaf=!1,t.push(i.xmlEncode(e.toString()))}writeXml(e){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(e)}closeNode(){const e=this._stack.pop(),t=this._xml;this.leaf?t.push("/>"):(t.push("</"),t.push(e),t.push(">")),this.open=!1,this.leaf=!1}leafNode(e,t,n){this.openNode(e,t),void 0!==n&&this.writeText(n),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const e=this._rollbacks.pop();this._xml.length>e.xml&&this._xml.splice(e.xml,this._xml.length-e.xml),this._stack.length>e.stack&&this._stack.splice(e.stack,this._stack.length-e.stack),this.leaf=e.leaf,this.open=e.open}get xml(){return this.closeAll(),this._xml.join("")}}s.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},t.exports=s},{"./under-dash":26,"./utils":27}],29:[function(e,t,n){(function(n){(function(){"use strict";const r=e("events"),i=e("jszip"),o=e("./stream-buf"),{stringToBuffer:a}=e("./browser-buffer-encode");class s extends r.EventEmitter{constructor(e){super(),this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},e),this.zip=new i,this.stream=new o}append(e,t){t.hasOwnProperty("base64")&&t.base64?this.zip.file(t.name,e,{base64:!0}):(n.browser&&"string"==typeof e&&(e=a(e)),this.zip.file(t.name,e))}async finalize(){const e=await this.zip.generateAsync(this.options);this.stream.end(e),this.emit("finish")}read(e){return this.stream.read(e)}setEncoding(e){return this.stream.setEncoding(e)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(e,t){return this.stream.pipe(e,t)}unpipe(e){return this.stream.unpipe(e)}unshift(e){return this.stream.unshift(e)}wrap(e){return this.stream.wrap(e)}}t.exports={ZipWriter:s}}).call(this)}).call(this,e("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(e,t,n){"use strict";t.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],31:[function(e,t,n){"use strict";t.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],32:[function(e,t,n){"use strict";const r=e("../../utils/parse-sax"),i=e("../../utils/xml-stream");class o{prepare(){}render(){}parseOpen(e){}parseText(e){}parseClose(e){}reconcile(e,t){}reset(){this.model=null,this.map&&Object.values(this.map).forEach(e=>{e instanceof o?e.reset():e.xform&&e.xform.reset()})}mergeModel(e){this.model=Object.assign(this.model||{},e)}async parse(e){for await(const t of e)for(const{eventType:e,value:n}of t)if("opentag"===e)this.parseOpen(n);else if("text"===e)this.parseText(n);else if("closetag"===e&&!this.parseClose(n.name))return this.model;return this.model}async parseStream(e){return this.parse(r(e))}get xml(){return this.toXml(this.model)}toXml(e){const t=new i;return this.render(t,e),t.xml}static toAttribute(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===e){if(n)return t}else if(n||e!==t)return e.toString()}static toStringAttribute(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return o.toAttribute(e,t,n)}static toStringValue(e,t){return void 0===e?t:e}static toBoolAttribute(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===e){if(n)return t}else if(n||e!==t)return e?"1":"0"}static toBoolValue(e,t){return void 0===e?t:"1"===e}static toIntAttribute(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return o.toAttribute(e,t,n)}static toIntValue(e,t){return void 0===e?t:parseInt(e,10)}static toFloatAttribute(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return o.toAttribute(e,t,n)}static toFloatValue(e,t){return void 0===e?t:parseFloat(e)}}t.exports=o},{"../../utils/parse-sax":22,"../../utils/xml-stream":28}],33:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("../../../utils/col-cache");function o(e){try{return i.decodeEx(e),!0}catch(e){return!1}}function a(e){const t=[];let n=!1,r="";return e.split(",").forEach(e=>{if(!e)return;const i=(e.match(/'/g)||[]).length;if(!i)return void(n?r+=e+",":o(e)&&t.push(e));const a=i%2==0;!n&&a&&o(e)?t.push(e):n&&!a?(n=!1,o(r+e)&&t.push(r+e),r=""):(n=!0,r+=e+",")}),t}t.exports=class extends r{render(e,t){e.openNode("definedName",{name:t.name,localSheetId:t.localSheetId}),e.writeText(t.ranges.join(",")),e.closeNode()}parseOpen(e){switch(e.name){case"definedName":return this._parsedName=e.attributes.name,this._parsedLocalSheetId=e.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText(e){this._parsedText.push(e)}parseClose(){return this.model={name:this._parsedName,ranges:a(this._parsedText.join(""))},void 0!==this._parsedLocalSheetId&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{"../../../utils/col-cache":19,"../base-xform":32}],34:[function(e,t,n){"use strict";const r=e("../../../utils/utils"),i=e("../base-xform");t.exports=class extends i{render(e,t){e.leafNode("sheet",{sheetId:t.id,name:t.name,state:t.state,"r:id":t.rId})}parseOpen(e){return"sheet"===e.name&&(this.model={name:r.xmlDecode(e.attributes.name),id:parseInt(e.attributes.sheetId,10),state:e.attributes.state,rId:e.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/utils":27,"../base-xform":32}],35:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{render(e,t){e.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:t.fullCalcOnLoad?1:void 0})}parseOpen(e){return"calcPr"===e.name&&(this.model={},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],36:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{render(e,t){e.leafNode("workbookPr",{date1904:t.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(e){return"workbookPr"===e.name&&(this.model={date1904:"1"===e.attributes.date1904},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],37:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{render(e,t){const n={xWindow:t.x||0,yWindow:t.y||0,windowWidth:t.width||12e3,windowHeight:t.height||24e3,firstSheet:t.firstSheet,activeTab:t.activeTab};t.visibility&&"visible"!==t.visibility&&(n.visibility=t.visibility),e.leafNode("workbookView",n)}parseOpen(e){if("workbookView"===e.name){const t=this.model={},n=function(e,n,r){const i=void 0!==n?t[e]=n:r;void 0!==i&&(t[e]=i)},r=function(e,n,r){const i=void 0!==n?t[e]=parseInt(n,10):r;void 0!==i&&(t[e]=i)};return r("x",e.attributes.xWindow,0),r("y",e.attributes.yWindow,0),r("width",e.attributes.windowWidth,25e3),r("height",e.attributes.windowHeight,1e4),n("visibility",e.attributes.visibility,"visible"),r("activeTab",e.attributes.activeTab,void 0),r("firstSheet",e.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],38:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../../../utils/col-cache"),o=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("../static-xform"),l=e("../list-xform"),u=e("./defined-name-xform"),c=e("./sheet-xform"),d=e("./workbook-view-xform"),h=e("./workbook-properties-xform"),f=e("./workbook-calc-properties-xform");class p extends a{constructor(){super(),this.map={fileVersion:p.STATIC_XFORMS.fileVersion,workbookPr:new h,bookViews:new l({tag:"bookViews",count:!1,childXform:new d}),sheets:new l({tag:"sheets",count:!1,childXform:new c}),definedNames:new l({tag:"definedNames",count:!1,childXform:new u}),calcPr:new f}}prepare(e){e.sheets=e.worksheets;const t=[];let n=0;e.sheets.forEach(e=>{if(e.pageSetup&&e.pageSetup.printArea&&e.pageSetup.printArea.split("&&").forEach(r=>{const i=r.split(":"),o={name:"_xlnm.Print_Area",ranges:[`'${e.name}'!$${i[0]}:$${i[1]}`],localSheetId:n};t.push(o)}),e.pageSetup&&(e.pageSetup.printTitlesRow||e.pageSetup.printTitlesColumn)){const r=[];if(e.pageSetup.printTitlesColumn){const t=e.pageSetup.printTitlesColumn.split(":");r.push(`'${e.name}'!$${t[0]}:$${t[1]}`)}if(e.pageSetup.printTitlesRow){const t=e.pageSetup.printTitlesRow.split(":");r.push(`'${e.name}'!$${t[0]}:$${t[1]}`)}const i={name:"_xlnm.Print_Titles",ranges:r,localSheetId:n};t.push(i)}n++}),t.length&&(e.definedNames=e.definedNames.concat(t)),(e.media||[]).forEach((e,t)=>{e.name=e.type+(t+1)})}render(e,t){e.openXml(o.StdDocAttributes),e.openNode("workbook",p.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(e),this.map.workbookPr.render(e,t.properties),this.map.bookViews.render(e,t.views),this.map.sheets.render(e,t.sheets),this.map.definedNames.render(e,t.definedNames),this.map.calcPr.render(e,t.calcProperties),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"workbook":return!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}reconcile(e){const t=(e.workbookRels||[]).reduce((e,t)=>(e[t.Id]=t,e),{}),n=[];let o,a=0;(e.sheets||[]).forEach(r=>{const i=t[r.rId];i&&(o=e.worksheetHash["xl/"+i.Target.replace(/^(\s|\/xl\/)+/,"")],o&&(o.name=r.name,o.id=r.id,o.state=r.state,n[a++]=o))});const s=[];r.each(e.definedNames,e=>{if("_xlnm.Print_Area"===e.name){if(o=n[e.localSheetId],o){o.pageSetup||(o.pageSetup={});const t=i.decodeEx(e.ranges[0]);o.pageSetup.printArea=o.pageSetup.printArea?`${o.pageSetup.printArea}&&${t.dimensions}`:t.dimensions}}else if("_xlnm.Print_Titles"===e.name){if(o=n[e.localSheetId],o){o.pageSetup||(o.pageSetup={});const t=e.ranges.join(","),n=/\$/g,r=/\$\d+:\$\d+/,i=t.match(r);if(i&&i.length){const e=i[0];o.pageSetup.printTitlesRow=e.replace(n,"")}const a=/\$[A-Z]+:\$[A-Z]+/,s=t.match(a);if(s&&s.length){const e=s[0];o.pageSetup.printTitlesColumn=e.replace(n,"")}}}else s.push(e)}),e.definedNames=s,e.media.forEach((e,t)=>{e.index=t})}}p.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},p.STATIC_XFORMS={fileVersion:new s({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},t.exports=p},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./defined-name-xform":33,"./sheet-xform":34,"./workbook-calc-properties-xform":35,"./workbook-properties-xform":36,"./workbook-view-xform":37}],39:[function(e,t,n){"use strict";const r=e("../strings/rich-text-xform"),i=e("../../../utils/utils"),o=e("../base-xform"),a=t.exports=function(e){this.model=e};i.inherits(a,o,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new r),this._richTextXform},render(e,t){t=t||this.model,e.openNode("comment",{ref:t.ref,authorId:0}),e.openNode("text"),t&&t.note&&t.note.texts&&t.note.texts.forEach(t=>{this.richTextXform.render(e,t)}),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"comment":return this.model={type:"note",note:{texts:[]},...e.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],40:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../../../utils/utils"),o=e("../base-xform"),a=e("./comment-xform"),s=t.exports=function(){this.map={comment:new a}};i.inherits(s,o,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render(e,t){t=t||this.model,e.openXml(r.StdDocAttributes),e.openNode("comments",s.COMMENTS_ATTRIBUTES),e.openNode("authors"),e.leafNode("author",null,"Author"),e.closeNode(),e.openNode("commentList"),t.comments.forEach(t=>{this.map.comment.render(e,t)}),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":27,"../../../utils/xml-stream":28,"../base-xform":32,"./comment-xform":39}],41:[function(e,t,n){"use strict";const r=e("../../base-xform");t.exports=class extends r{constructor(e){super(),this._model=e}get tag(){return this._model&&this._model.tag}render(e,t,n){(t===n[2]||"x:SizeWithCells"===this.tag&&t===n[1])&&e.leafNode(this.tag)}parseOpen(e){switch(e.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../base-xform":32}],42:[function(e,t,n){"use strict";const r=e("../../base-xform");t.exports=class extends r{constructor(e){super(),this._model=e}get tag(){return this._model&&this._model.tag}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(e){switch(e.name){case this.tag:return this.text="",!0;default:return!1}}parseText(e){this.text=e}parseClose(){return!1}}},{"../../base-xform":32}],43:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"x:Anchor"}getAnchorRect(e){const t=Math.floor(e.left),n=Math.floor(68*(e.left-t)),r=Math.floor(e.top),i=Math.floor(18*(e.top-r)),o=Math.floor(e.right),a=Math.floor(68*(e.right-o)),s=Math.floor(e.bottom);return[t,n,r,i,o,a,s,Math.floor(18*(e.bottom-s))]}getDefaultRect(e){const t=e.col,n=Math.max(e.row-2,0);return[t,6,n,14,t+2,2,n+4,16]}render(e,t){const n=t.anchor?this.getAnchorRect(t.anchor):this.getDefaultRect(t.refAddress);e.leafNode("x:Anchor",null,n.join(", "))}parseOpen(e){switch(e.name){case this.tag:return this.text="",!0;default:return!1}}parseText(e){this.text=e}parseClose(){return!1}}},{"../base-xform":32}],44:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./vml-anchor-xform"),o=e("./style/vml-protection-xform"),a=e("./style/vml-position-xform"),s=["twoCells","oneCells","absolute"];t.exports=class extends r{constructor(){super(),this.map={"x:Anchor":new i,"x:Locked":new o({tag:"x:Locked"}),"x:LockText":new o({tag:"x:LockText"}),"x:SizeWithCells":new a({tag:"x:SizeWithCells"}),"x:MoveWithCells":new a({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render(e,t){const{protection:n,editAs:r}=t.note;e.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(e,r,s),this.map["x:SizeWithCells"].render(e,r,s),this.map["x:Anchor"].render(e,t),this.map["x:Locked"].render(e,n.locked),e.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(e,n.lockText),e.leafNode("x:Row",null,t.refAddress.row-1),e.leafNode("x:Column",null,t.refAddress.col-1),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){const e=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),t=Object.keys(e).length;this.model.editAs=s[t],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}},{"../base-xform":32,"./style/vml-position-xform":41,"./style/vml-protection-xform":42,"./vml-anchor-xform":43}],45:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("./vml-shape-xform");class a extends i{constructor(){super(),this.map={"v:shape":new o}}get tag(){return"xml"}render(e,t){e.openXml(r.StdDocAttributes),e.openNode(this.tag,a.DRAWING_ATTRIBUTES),e.openNode("o:shapelayout",{"v:ext":"edit"}),e.leafNode("o:idmap",{"v:ext":"edit",data:1}),e.closeNode(),e.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),e.leafNode("v:stroke",{joinstyle:"miter"}),e.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),e.closeNode(),t.comments.forEach((t,n)=>{this.map["v:shape"].render(e,t,n)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}reconcile(e,t){e.anchors.forEach(e=>{e.br?this.map["xdr:twoCellAnchor"].reconcile(e,t):this.map["xdr:oneCellAnchor"].reconcile(e,t)})}}a.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},t.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32,"./vml-shape-xform":46}],46:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./vml-textbox-xform"),o=e("./vml-client-data-xform");class a extends r{constructor(){super(),this.map={"v:textbox":new i,"x:ClientData":new o}}get tag(){return"v:shape"}render(e,t,n){e.openNode("v:shape",a.V_SHAPE_ATTRIBUTES(t,n)),e.leafNode("v:fill",{color2:"infoBackground [80]"}),e.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),e.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(e,t),this.map["x:ClientData"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={margins:{insetmode:e.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}a.V_SHAPE_ATTRIBUTES=(e,t)=>({id:"_x0000_s"+(1025+t),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":e.note.margins&&e.note.margins.insetmode}),t.exports=a},{"../base-xform":32,"./vml-client-data-xform":44,"./vml-textbox-xform":47}],47:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"v:textbox"}conversionUnit(e,t,n){return`${parseFloat(e)*t.toFixed(2)}${n}`}reverseConversionUnit(e){return(e||"").split(",").map(e=>Number(parseFloat(this.conversionUnit(parseFloat(e),.1,"")).toFixed(2)))}render(e,t){const n={style:"mso-direction-alt:auto"};if(t&&t.note){let{inset:e}=t.note&&t.note.margins;Array.isArray(e)&&(e=e.map(e=>this.conversionUnit(e,10,"mm")).join(",")),e&&(n.inset=e)}e.openNode("v:textbox",n),e.leafNode("div",{style:"text-align:left"}),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:return this.model={inset:this.reverseConversionUnit(e.attributes.inset)},!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],48:[function(e,t,n){"use strict";const r=e("./base-xform");t.exports=class extends r{createNewModel(e){return{}}parseOpen(e){return this.parser=this.parser||this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag&&(this.model=this.createNewModel(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}onParserClose(e,t){this.model[e]=t.model}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.onParserClose(e,this.parser),this.parser=void 0),!0):e!==this.tag}}},{"./base-xform":32}],49:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{render(e,t){e.openNode("HeadingPairs"),e.openNode("vt:vector",{size:2,baseType:"variant"}),e.openNode("vt:variant"),e.leafNode("vt:lpstr",void 0,"Worksheets"),e.closeNode(),e.openNode("vt:variant"),e.leafNode("vt:i4",void 0,t.length),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){return"HeadingPairs"===e.name}parseText(){}parseClose(e){return"HeadingPairs"!==e}}},{"../base-xform":32}],50:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{render(e,t){e.openNode("TitlesOfParts"),e.openNode("vt:vector",{size:t.length,baseType:"lpstr"}),t.forEach(t=>{e.leafNode("vt:lpstr",void 0,t.name)}),e.closeNode(),e.closeNode()}parseOpen(e){return"TitlesOfParts"===e.name}parseText(){}parseClose(e){return"TitlesOfParts"!==e}}},{"../base-xform":32}],51:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("../simple/string-xform"),a=e("./app-heading-pairs-xform"),s=e("./app-titles-of-parts-xform");class l extends i{constructor(){super(),this.map={Company:new o({tag:"Company"}),Manager:new o({tag:"Manager"}),HeadingPairs:new a,TitleOfParts:new s}}render(e,t){e.openXml(r.StdDocAttributes),e.openNode("Properties",l.PROPERTY_ATTRIBUTES),e.leafNode("Application",void 0,"Microsoft Excel"),e.leafNode("DocSecurity",void 0,"0"),e.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(e,t.worksheets),this.map.TitleOfParts.render(e,t.worksheets),this.map.Company.render(e,t.company||""),this.map.Manager.render(e,t.manager),e.leafNode("LinksUpToDate",void 0,"false"),e.leafNode("SharedDoc",void 0,"false"),e.leafNode("HyperlinksChanged",void 0,"false"),e.leafNode("AppVersion",void 0,"16.0300"),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"Properties":return!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}l.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3,6}/,"")},l.DateAttrs={"xsi:type":"dcterms:W3CDTF"},l.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},t.exports=l},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/string-xform":119,"./app-heading-pairs-xform":49,"./app-titles-of-parts-xform":50}],52:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../base-xform");class o extends i{render(e,t){e.openXml(r.StdDocAttributes),e.openNode("Types",o.PROPERTY_ATTRIBUTES);const n={};(t.media||[]).forEach(t=>{if("image"===t.type){const r=t.extension;n[r]||(n[r]=!0,e.leafNode("Default",{Extension:r,ContentType:"image/"+r}))}}),e.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),e.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),e.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),t.worksheets.forEach(t=>{const n=`/xl/worksheets/sheet${t.id}.xml`;e.leafNode("Override",{PartName:n,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),e.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),e.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),t.sharedStrings&&t.sharedStrings.count&&e.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),t.tables&&t.tables.forEach(t=>{e.leafNode("Override",{PartName:"/xl/tables/"+t.target,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),t.drawings&&t.drawings.forEach(t=>{e.leafNode("Override",{PartName:`/xl/drawings/${t.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),t.commentRefs&&(e.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),t.commentRefs.forEach(t=>{let{commentName:n}=t;e.leafNode("Override",{PartName:`/xl/${n}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),e.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),e.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),e.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}o.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},t.exports=o},{"../../../utils/xml-stream":28,"../base-xform":32}],53:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("../simple/date-xform"),a=e("../simple/string-xform"),s=e("../simple/integer-xform");class l extends i{constructor(){super(),this.map={"dc:creator":new a({tag:"dc:creator"}),"dc:title":new a({tag:"dc:title"}),"dc:subject":new a({tag:"dc:subject"}),"dc:description":new a({tag:"dc:description"}),"dc:identifier":new a({tag:"dc:identifier"}),"dc:language":new a({tag:"dc:language"}),"cp:keywords":new a({tag:"cp:keywords"}),"cp:category":new a({tag:"cp:category"}),"cp:lastModifiedBy":new a({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new o({tag:"cp:lastPrinted",format:l.DateFormat}),"cp:revision":new s({tag:"cp:revision"}),"cp:version":new a({tag:"cp:version"}),"cp:contentStatus":new a({tag:"cp:contentStatus"}),"cp:contentType":new a({tag:"cp:contentType"}),"dcterms:created":new o({tag:"dcterms:created",attrs:l.DateAttrs,format:l.DateFormat}),"dcterms:modified":new o({tag:"dcterms:modified",attrs:l.DateAttrs,format:l.DateFormat})}}render(e,t){e.openXml(r.StdDocAttributes),e.openNode("cp:coreProperties",l.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(e,t.creator),this.map["dc:title"].render(e,t.title),this.map["dc:subject"].render(e,t.subject),this.map["dc:description"].render(e,t.description),this.map["dc:identifier"].render(e,t.identifier),this.map["dc:language"].render(e,t.language),this.map["cp:keywords"].render(e,t.keywords),this.map["cp:category"].render(e,t.category),this.map["cp:lastModifiedBy"].render(e,t.lastModifiedBy),this.map["cp:lastPrinted"].render(e,t.lastPrinted),this.map["cp:revision"].render(e,t.revision),this.map["cp:version"].render(e,t.version),this.map["cp:contentStatus"].render(e,t.contentStatus),this.map["cp:contentType"].render(e,t.contentType),this.map["dcterms:created"].render(e,t.created),this.map["dcterms:modified"].render(e,t.modified),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}l.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3}/,"")},l.DateAttrs={"xsi:type":"dcterms:W3CDTF"},l.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},t.exports=l},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/date-xform":117,"../simple/integer-xform":118,"../simple/string-xform":119}],54:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{render(e,t){e.leafNode("Relationship",t)}parseOpen(e){switch(e.name){case"Relationship":return this.model=e.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],55:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("./relationship-xform");class a extends i{constructor(){super(),this.map={Relationship:new o}}render(e,t){t=t||this._values,e.openXml(r.StdDocAttributes),e.openNode("Relationships",a.RELATIONSHIPS_ATTRIBUTES),t.forEach(t=>{this.map.Relationship.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(e){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}a.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},t.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32,"./relationship-xform":54}],56:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={range:{editAs:e.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}reconcilePicture(e,t){if(e&&e.rId){const n=t.rels[e.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(n){const e=n[1],r=t.mediaIndex[e];return t.media[r]}}}}},{"../base-xform":32}],57:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./blip-xform");t.exports=class extends r{constructor(){super(),this.map={"a:blip":new i}}get tag(){return"xdr:blipFill"}render(e,t){e.openNode(this.tag),this.map["a:blip"].render(e,t),e.openNode("a:stretch"),e.leafNode("a:fillRect"),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}},{"../base-xform":32,"./blip-xform":58}],58:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"a:blip"}render(e,t){e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":t.rId,cstate:"print"})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],59:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"xdr:cNvPicPr"}render(e){e.openNode(this.tag),e.leafNode("a:picLocks",{noChangeAspect:"1"}),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],60:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./hlink-click-xform"),o=e("./ext-lst-xform");t.exports=class extends r{constructor(){super(),this.map={"a:hlinkClick":new i,"a:extLst":new o}}get tag(){return"xdr:cNvPr"}render(e,t){e.openNode(this.tag,{id:t.index,name:"Picture "+t.index}),this.map["a:hlinkClick"].render(e,t),this.map["a:extLst"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}},{"../base-xform":32,"./ext-lst-xform":63,"./hlink-click-xform":65}],61:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("../simple/integer-xform");t.exports=class extends r{constructor(e){super(),this.tag=e.tag,this.map={"xdr:col":new i({tag:"xdr:col",zero:!0}),"xdr:colOff":new i({tag:"xdr:colOff",zero:!0}),"xdr:row":new i({tag:"xdr:row",zero:!0}),"xdr:rowOff":new i({tag:"xdr:rowOff",zero:!0})}}render(e,t){e.openNode(this.tag),this.map["xdr:col"].render(e,t.nativeCol),this.map["xdr:colOff"].render(e,t.nativeColOff),this.map["xdr:row"].render(e,t.nativeRow),this.map["xdr:rowOff"].render(e,t.nativeRowOff),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}},{"../base-xform":32,"../simple/integer-xform":118}],62:[function(e,t,n){"use strict";const r=e("../../../utils/col-cache"),i=e("../../../utils/xml-stream"),o=e("../base-xform"),a=e("./two-cell-anchor-xform"),s=e("./one-cell-anchor-xform");class l extends o{constructor(){super(),this.map={"xdr:twoCellAnchor":new a,"xdr:oneCellAnchor":new s}}prepare(e){e.anchors.forEach((e,t)=>{e.anchorType=function(e){return("string"==typeof e.range?r.decode(e.range):e.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(e),this.map[e.anchorType].prepare(e,{index:t})})}get tag(){return"xdr:wsDr"}render(e,t){e.openXml(i.StdDocAttributes),e.openNode(this.tag,l.DRAWING_ATTRIBUTES),t.anchors.forEach(t=>{this.map[t.anchorType].render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}reconcile(e,t){e.anchors.forEach(e=>{e.br?this.map["xdr:twoCellAnchor"].reconcile(e,t):this.map["xdr:oneCellAnchor"].reconcile(e,t)})}}l.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},t.exports=l},{"../../../utils/col-cache":19,"../../../utils/xml-stream":28,"../base-xform":32,"./one-cell-anchor-xform":67,"./two-cell-anchor-xform":70}],63:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"a:extLst"}render(e){e.openNode(this.tag),e.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),e.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),e.closeNode(),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],64:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{constructor(e){super(),this.tag=e.tag,this.map={}}render(e,t){e.openNode(this.tag);const n=Math.floor(9525*t.width),r=Math.floor(9525*t.height);e.addAttribute("cx",n),e.addAttribute("cy",r),e.closeNode()}parseOpen(e){return e.name===this.tag&&(this.model={width:parseInt(e.attributes.cx||"0",10)/9525,height:parseInt(e.attributes.cy||"0",10)/9525},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],65:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"a:hlinkClick"}render(e,t){t.hyperlinks&&t.hyperlinks.rId&&e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":t.hyperlinks.rId,tooltip:t.hyperlinks.tooltip})}parseOpen(e){switch(e.name){case this.tag:return this.model={hyperlinks:{rId:e.attributes["r:id"],tooltip:e.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],66:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./c-nv-pr-xform"),o=e("./c-nv-pic-pr-xform");t.exports=class extends r{constructor(){super(),this.map={"xdr:cNvPr":new i,"xdr:cNvPicPr":new o}}get tag(){return"xdr:nvPicPr"}render(e,t){e.openNode(this.tag),this.map["xdr:cNvPr"].render(e,t),this.map["xdr:cNvPicPr"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}},{"../base-xform":32,"./c-nv-pic-pr-xform":59,"./c-nv-pr-xform":60}],67:[function(e,t,n){"use strict";const r=e("./base-cell-anchor-xform"),i=e("../static-xform"),o=e("./cell-position-xform"),a=e("./ext-xform"),s=e("./pic-xform");t.exports=class extends r{constructor(){super(),this.map={"xdr:from":new o({tag:"xdr:from"}),"xdr:ext":new a({tag:"xdr:ext"}),"xdr:pic":new s,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare(e,t){this.map["xdr:pic"].prepare(e.picture,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:ext"].render(e,t.range.ext),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(e,t){e.medium=this.reconcilePicture(e.picture,t)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./ext-xform":64,"./pic-xform":68}],68:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("../static-xform"),o=e("./blip-fill-xform"),a=e("./nv-pic-pr-xform"),s=e("./sp-pr");t.exports=class extends r{constructor(){super(),this.map={"xdr:nvPicPr":new a,"xdr:blipFill":new o,"xdr:spPr":new i(s)}}get tag(){return"xdr:pic"}prepare(e,t){e.index=t.index+1}render(e,t){e.openNode(this.tag),this.map["xdr:nvPicPr"].render(e,t),this.map["xdr:blipFill"].render(e,t),this.map["xdr:spPr"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"../static-xform":120,"./blip-fill-xform":57,"./nv-pic-pr-xform":66,"./sp-pr":69}],69:[function(e,t,n){"use strict";t.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],70:[function(e,t,n){"use strict";const r=e("./base-cell-anchor-xform"),i=e("../static-xform"),o=e("./cell-position-xform"),a=e("./pic-xform");t.exports=class extends r{constructor(){super(),this.map={"xdr:from":new o({tag:"xdr:from"}),"xdr:to":new o({tag:"xdr:to"}),"xdr:pic":new a,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare(e,t){this.map["xdr:pic"].prepare(e.picture,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:to"].render(e,t.range.br),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(e,t){e.medium=this.reconcilePicture(e.picture,t)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./pic-xform":68}],71:[function(e,t,n){"use strict";const r=e("./base-xform");t.exports=class extends r{constructor(e){super(),this.tag=e.tag,this.always=!!e.always,this.count=e.count,this.empty=e.empty,this.$count=e.$count||"count",this.$=e.$,this.childXform=e.childXform,this.maxItems=e.maxItems}prepare(e,t){const{childXform:n}=this;e&&e.forEach((e,r)=>{t.index=r,n.prepare(e,t)})}render(e,t){if(this.always||t&&t.length){e.openNode(this.tag,this.$),this.count&&e.addAttribute(this.$count,t&&t.length||0);const{childXform:n}=this;(t||[]).forEach((t,r)=>{n.render(e,t,r)}),e.closeNode()}else this.empty&&e.leafNode(this.tag)}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(e)&&(this.parser=this.childXform,!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(e,t){if(e){const{childXform:n}=this;e.forEach(e=>{n.reconcile(e,t)})}}}},{"./base-xform":32}],72:[function(e,t,n){"use strict";const r=e("../../../utils/col-cache"),i=e("../base-xform");t.exports=class extends i{get tag(){return"autoFilter"}render(e,t){if(t)if("string"==typeof t)e.leafNode("autoFilter",{ref:t});else{const n=function(e){return"string"==typeof e?e:r.getAddress(e.row,e.column).address},i=n(t.from),o=n(t.to);i&&o&&e.leafNode("autoFilter",{ref:`${i}:${o}`})}}parseOpen(e){"autoFilter"===e.name&&(this.model=e.attributes.ref)}}},{"../../../utils/col-cache":19,"../base-xform":32}],73:[function(e,t,n){"use strict";const r=e("../../../utils/utils"),i=e("../base-xform"),o=e("../../../doc/range"),a=e("../../../doc/enums"),s=e("../strings/rich-text-xform");function l(e){if(null==e)return a.ValueType.Null;if(e instanceof String||"string"==typeof e)return a.ValueType.String;if("number"==typeof e)return a.ValueType.Number;if("boolean"==typeof e)return a.ValueType.Boolean;if(e instanceof Date)return a.ValueType.Date;if(e.text&&e.hyperlink)return a.ValueType.Hyperlink;if(e.formula)return a.ValueType.Formula;if(e.error)return a.ValueType.Error;throw new Error("I could not understand type of value")}t.exports=class extends i{constructor(){super(),this.richTextXForm=new s}get tag(){return"c"}prepare(e,t){const n=t.styles.addStyleModel(e.style||{},function(e){switch(e.type){case a.ValueType.Formula:return l(e.result);default:return e.type}}(e));switch(n&&(e.styleId=n),e.comment&&t.comments.push({...e.comment,ref:e.address}),e.type){case a.ValueType.String:case a.ValueType.RichText:t.sharedStrings&&(e.ssId=t.sharedStrings.add(e.value));break;case a.ValueType.Date:t.date1904&&(e.date1904=!0);break;case a.ValueType.Hyperlink:t.sharedStrings&&void 0!==e.text&&null!==e.text&&(e.ssId=t.sharedStrings.add(e.text)),t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip});break;case a.ValueType.Merge:t.merges.add(e);break;case a.ValueType.Formula:if(t.date1904&&(e.date1904=!0),"shared"===e.shareType&&(e.si=t.siFormulae++),e.formula)t.formulae[e.address]=e;else if(e.sharedFormula){const n=t.formulae[e.sharedFormula];if(!n)throw new Error("Shared Formula master must exist above and or left of clone for cell "+e.address);void 0===n.si?(n.shareType="shared",n.si=t.siFormulae++,n.range=new o(n.address,e.address)):n.range&&n.range.expandToAddress(e.address),e.si=n.si}}}renderFormula(e,t){let n=null;switch(t.shareType){case"shared":n={t:"shared",ref:t.ref||t.range.range,si:t.si};break;case"array":n={t:"array",ref:t.ref};break;default:void 0!==t.si&&(n={t:"shared",si:t.si})}switch(l(t.result)){case a.ValueType.Null:e.leafNode("f",n,t.formula);break;case a.ValueType.String:e.addAttribute("t","str"),e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result);break;case a.ValueType.Number:e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result);break;case a.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result?1:0);break;case a.ValueType.Error:e.addAttribute("t","e"),e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result.error);break;case a.ValueType.Date:e.leafNode("f",n,t.formula),e.leafNode("v",null,r.dateToExcel(t.result,t.date1904));break;default:throw new Error("I could not understand type of value")}}render(e,t){if(t.type!==a.ValueType.Null||t.styleId){switch(e.openNode("c"),e.addAttribute("r",t.address),t.styleId&&e.addAttribute("s",t.styleId),t.type){case a.ValueType.Null:break;case a.ValueType.Number:e.leafNode("v",null,t.value);break;case a.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("v",null,t.value?"1":"0");break;case a.ValueType.Error:e.addAttribute("t","e"),e.leafNode("v",null,t.value.error);break;case a.ValueType.String:case a.ValueType.RichText:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):t.value&&t.value.richText?(e.addAttribute("t","inlineStr"),e.openNode("is"),t.value.richText.forEach(t=>{this.richTextXForm.render(e,t)}),e.closeNode("is")):(e.addAttribute("t","str"),e.leafNode("v",null,t.value));break;case a.ValueType.Date:e.leafNode("v",null,r.dateToExcel(t.value,t.date1904));break;case a.ValueType.Hyperlink:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):(e.addAttribute("t","str"),e.leafNode("v",null,t.text));break;case a.ValueType.Formula:this.renderFormula(e,t);break;case a.ValueType.Merge:}e.closeNode()}}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"c":return this.model={address:e.attributes.r},this.t=e.attributes.t,e.attributes.s&&(this.model.styleId=parseInt(e.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=e.attributes.si,this.model.shareType=e.attributes.t,this.model.ref=e.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){if(this.parser)this.parser.parseText(e);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+e:e;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+e:e:this.model.value=this.model.value?this.model.value+e:e}}parseClose(e){switch(e){case"c":{const{model:e}=this;if(e.formula||e.shareType)e.type=a.ValueType.Formula,e.value&&("str"===this.t?e.result=r.xmlDecode(e.value):"b"===this.t?e.result=0!==parseInt(e.value,10):"e"===this.t?e.result={error:e.value}:e.result=parseFloat(e.value),e.value=void 0);else if(void 0!==e.value)switch(this.t){case"s":e.type=a.ValueType.String,e.value=parseInt(e.value,10);break;case"str":e.type=a.ValueType.String,e.value=r.xmlDecode(e.value);break;case"inlineStr":e.type=a.ValueType.String;break;case"b":e.type=a.ValueType.Boolean,e.value=0!==parseInt(e.value,10);break;case"e":e.type=a.ValueType.Error,e.value={error:e.value};break;default:e.type=a.ValueType.Number,e.value=parseFloat(e.value)}else e.styleId?e.type=a.ValueType.Null:e.type=a.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(e),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(e),!0)}}reconcile(e,t){const n=e.styleId&&t.styles&&t.styles.getStyleModel(e.styleId);switch(n&&(e.style=n),void 0!==e.styleId&&(e.styleId=void 0),e.type){case a.ValueType.String:"number"==typeof e.value&&t.sharedStrings&&(e.value=t.sharedStrings.getString(e.value)),e.value.richText&&(e.type=a.ValueType.RichText);break;case a.ValueType.Number:n&&r.isDateFmt(n.numFmt)&&(e.type=a.ValueType.Date,e.value=r.excelToDate(e.value,t.date1904));break;case a.ValueType.Formula:void 0!==e.result&&n&&r.isDateFmt(n.numFmt)&&(e.result=r.excelToDate(e.result,t.date1904)),"shared"===e.shareType&&(e.ref?t.formulae[e.si]=e.address:(e.sharedFormula=t.formulae[e.si],delete e.shareType),delete e.si)}const i=t.hyperlinkMap[e.address];i&&(e.type===a.ValueType.Formula?(e.text=e.result,e.result=void 0):(e.text=e.value,e.value=void 0),e.type=a.ValueType.Hyperlink,e.hyperlink=i);const o=t.commentsMap&&t.commentsMap[e.address];o&&(e.comment=o)}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],74:[function(e,t,n){"use strict";const r=e("../../base-xform");t.exports=class extends r{get tag(){return"x14:cfIcon"}render(e,t){e.leafNode(this.tag,{iconSet:t.iconSet,iconId:t.iconId})}parseOpen(e){let{attributes:t}=e;this.model={iconSet:t.iconSet,iconId:r.toIntValue(t.iconId)}}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],75:[function(e,t,n){"use strict";const{v4:r}=e("uuid"),i=e("../../base-xform"),o=e("../../composite-xform"),a=e("./databar-ext-xform"),s=e("./icon-set-ext-xform"),l={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class u extends o{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new a,"x14:iconSet":this.iconSetXform=new s}}get tag(){return"x14:cfRule"}static isExt(e){return"dataBar"===e.type?a.isExt(e):!("iconSet"!==e.type||!e.custom&&!l[e.iconSet])}prepare(e){u.isExt(e)&&(e.x14Id=`{${r()}}`.toUpperCase())}render(e,t){if(u.isExt(t))switch(t.type){case"dataBar":this.renderDataBar(e,t);break;case"iconSet":this.renderIconSet(e,t)}}renderDataBar(e,t){e.openNode(this.tag,{type:"dataBar",id:t.x14Id}),this.databarXform.render(e,t),e.closeNode()}renderIconSet(e,t){e.openNode(this.tag,{type:"iconSet",priority:t.priority,id:t.x14Id||`{${r()}}`}),this.iconSetXform.render(e,t),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{type:t.type,x14Id:t.id,priority:i.toIntValue(t.priority)}}onParserClose(e,t){Object.assign(this.model,t.model)}}t.exports=u},{"../../base-xform":32,"../../composite-xform":48,"./databar-ext-xform":79,"./icon-set-ext-xform":81,uuid:528}],76:[function(e,t,n){"use strict";const r=e("../../composite-xform"),i=e("./f-ext-xform");t.exports=class extends r{constructor(){super(),this.map={"xm:f":this.fExtXform=new i}}get tag(){return"x14:cfvo"}render(e,t){e.openNode(this.tag,{type:t.type}),void 0!==t.value&&this.fExtXform.render(e,t.value),e.closeNode()}createNewModel(e){return{type:e.attributes.type}}onParserClose(e,t){switch(e){case"xm:f":this.model.value=t.model?parseFloat(t.model):0}}}},{"../../composite-xform":48,"./f-ext-xform":80}],77:[function(e,t,n){"use strict";const r=e("../../composite-xform"),i=e("./sqref-ext-xform"),o=e("./cf-rule-ext-xform");t.exports=class extends r{constructor(){super(),this.map={"xm:sqref":this.sqRef=new i,"x14:cfRule":this.cfRule=new o}}get tag(){return"x14:conditionalFormatting"}prepare(e,t){e.rules.forEach(e=>{this.cfRule.prepare(e,t)})}render(e,t){t.rules.some(o.isExt)&&(e.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),t.rules.filter(o.isExt).forEach(t=>this.cfRule.render(e,t)),this.sqRef.render(e,t.ref),e.closeNode())}createNewModel(){return{rules:[]}}onParserClose(e,t){switch(e){case"xm:sqref":this.model.ref=t.model;break;case"x14:cfRule":this.model.rules.push(t.model)}}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./sqref-ext-xform":82}],78:[function(e,t,n){"use strict";const r=e("../../composite-xform"),i=e("./cf-rule-ext-xform"),o=e("./conditional-formatting-ext-xform");t.exports=class extends r{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new o}}get tag(){return"x14:conditionalFormattings"}hasContent(e){return void 0===e.hasExtContent&&(e.hasExtContent=e.some(e=>e.rules.some(i.isExt))),e.hasExtContent}prepare(e,t){e.forEach(e=>{this.cfXform.prepare(e,t)})}render(e,t){this.hasContent(t)&&(e.openNode(this.tag),t.forEach(t=>this.cfXform.render(e,t)),e.closeNode())}createNewModel(){return[]}onParserClose(e,t){this.model.push(t.model)}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./conditional-formatting-ext-xform":77}],79:[function(e,t,n){"use strict";const r=e("../../base-xform"),i=e("../../composite-xform"),o=e("../../style/color-xform"),a=e("./cfvo-ext-xform");t.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new a,"x14:borderColor":this.borderColorXform=new o("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new o("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new o("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new o("x14:axisColor")}}static isExt(e){return!e.gradient}get tag(){return"x14:dataBar"}render(e,t){e.openNode(this.tag,{minLength:r.toIntAttribute(t.minLength,0,!0),maxLength:r.toIntAttribute(t.maxLength,100,!0),border:r.toBoolAttribute(t.border,!1),gradient:r.toBoolAttribute(t.gradient,!0),negativeBarColorSameAsPositive:r.toBoolAttribute(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:r.toBoolAttribute(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:r.toAttribute(t.axisPosition,"auto"),direction:r.toAttribute(t.direction,"leftToRight")}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.borderColorXform.render(e,t.borderColor),this.negativeBorderColorXform.render(e,t.negativeBorderColor),this.negativeFillColorXform.render(e,t.negativeFillColor),this.axisColorXform.render(e,t.axisColor),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{cfvo:[],minLength:r.toIntValue(t.minLength,0),maxLength:r.toIntValue(t.maxLength,100),border:r.toBoolValue(t.border,!1),gradient:r.toBoolValue(t.gradient,!0),negativeBarColorSameAsPositive:r.toBoolValue(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:r.toBoolValue(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:r.toStringValue(t.axisPosition,"auto"),direction:r.toStringValue(t.direction,"leftToRight")}}onParserClose(e,t){const[,n]=e.split(":");switch(n){case"cfvo":this.model.cfvo.push(t.model);break;default:this.model[n]=t.model}}}},{"../../base-xform":32,"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-ext-xform":76}],80:[function(e,t,n){"use strict";const r=e("../../base-xform");t.exports=class extends r{get tag(){return"xm:f"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],81:[function(e,t,n){"use strict";const r=e("../../base-xform"),i=e("../../composite-xform"),o=e("./cfvo-ext-xform"),a=e("./cf-icon-ext-xform");t.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new o,"x14:cfIcon":this.cfIconXform=new a}}get tag(){return"x14:iconSet"}render(e,t){e.openNode(this.tag,{iconSet:r.toStringAttribute(t.iconSet),reverse:r.toBoolAttribute(t.reverse,!1),showValue:r.toBoolAttribute(t.showValue,!0),custom:r.toBoolAttribute(t.icons,!1)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.icons&&t.icons.forEach((t,n)=>{t.iconId=n,this.cfIconXform.render(e,t)}),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{cfvo:[],iconSet:r.toStringValue(t.iconSet,"3TrafficLights"),reverse:r.toBoolValue(t.reverse,!1),showValue:r.toBoolValue(t.showValue,!0)}}onParserClose(e,t){const[,n]=e.split(":");switch(n){case"cfvo":this.model.cfvo.push(t.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(t.model);break;default:this.model[n]=t.model}}}},{"../../base-xform":32,"../../composite-xform":48,"./cf-icon-ext-xform":74,"./cfvo-ext-xform":76}],82:[function(e,t,n){"use strict";const r=e("../../base-xform");t.exports=class extends r{get tag(){return"xm:sqref"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],83:[function(e,t,n){"use strict";const r=e("../../base-xform"),i=e("../../composite-xform"),o=e("../../../../doc/range"),a=e("./databar-xform"),s=e("./ext-lst-ref-xform"),l=e("./formula-xform"),u=e("./color-scale-xform"),c=e("./icon-set-xform"),d={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},h=e=>{const{type:t,operator:n}=e;switch(t){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:t};default:return{type:t,operator:n}}};class f extends i{constructor(){super(),this.map={dataBar:this.databarXform=new a,extLst:this.extLstRefXform=new s,formula:this.formulaXform=new l,colorScale:this.colorScaleXform=new u,iconSet:this.iconSetXform=new c}}get tag(){return"cfRule"}static isPrimitive(e){return"iconSet"!==e.type||!e.custom&&!d[e.iconSet]}render(e,t){switch(t.type){case"expression":this.renderExpression(e,t);break;case"cellIs":this.renderCellIs(e,t);break;case"top10":this.renderTop10(e,t);break;case"aboveAverage":this.renderAboveAverage(e,t);break;case"dataBar":this.renderDataBar(e,t);break;case"colorScale":this.renderColorScale(e,t);break;case"iconSet":this.renderIconSet(e,t);break;case"containsText":this.renderText(e,t);break;case"timePeriod":this.renderTimePeriod(e,t)}}renderExpression(e,t){e.openNode(this.tag,{type:"expression",dxfId:t.dxfId,priority:t.priority}),this.formulaXform.render(e,t.formulae[0]),e.closeNode()}renderCellIs(e,t){e.openNode(this.tag,{type:"cellIs",dxfId:t.dxfId,priority:t.priority,operator:t.operator}),t.formulae.forEach(t=>{this.formulaXform.render(e,t)}),e.closeNode()}renderTop10(e,t){e.leafNode(this.tag,{type:"top10",dxfId:t.dxfId,priority:t.priority,percent:r.toBoolAttribute(t.percent,!1),bottom:r.toBoolAttribute(t.bottom,!1),rank:r.toIntValue(t.rank,10,!0)})}renderAboveAverage(e,t){e.leafNode(this.tag,{type:"aboveAverage",dxfId:t.dxfId,priority:t.priority,aboveAverage:r.toBoolAttribute(t.aboveAverage,!0)})}renderDataBar(e,t){e.openNode(this.tag,{type:"dataBar",priority:t.priority}),this.databarXform.render(e,t),this.extLstRefXform.render(e,t),e.closeNode()}renderColorScale(e,t){e.openNode(this.tag,{type:"colorScale",priority:t.priority}),this.colorScaleXform.render(e,t),e.closeNode()}renderIconSet(e,t){f.isPrimitive(t)&&(e.openNode(this.tag,{type:"iconSet",priority:t.priority}),this.iconSetXform.render(e,t),e.closeNode())}renderText(e,t){e.openNode(this.tag,{type:t.operator,dxfId:t.dxfId,priority:t.priority,operator:r.toStringAttribute(t.operator,"containsText")});const n=(e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];const t=new o(e.ref),{tl:n}=t;switch(e.operator){case"containsText":return`NOT(ISERROR(SEARCH("${e.text}",${n})))`;case"containsBlanks":return`LEN(TRIM(${n}))=0`;case"notContainsBlanks":return`LEN(TRIM(${n}))>0`;case"containsErrors":return`ISERROR(${n})`;case"notContainsErrors":return`NOT(ISERROR(${n}))`;default:return}})(t);n&&this.formulaXform.render(e,n),e.closeNode()}renderTimePeriod(e,t){e.openNode(this.tag,{type:"timePeriod",dxfId:t.dxfId,priority:t.priority,timePeriod:t.timePeriod});const n=(e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];const t=new o(e.ref),{tl:n}=t;switch(e.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${n},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${n},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${n},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${n},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${n},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${n},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${n},1)=TODAY()-1`;case"today":return`FLOOR(${n},1)=TODAY()`;case"tomorrow":return`FLOOR(${n},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${n},1)<=6,FLOOR(${n},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${n})=MONTH(EDATE(TODAY(),0-1)),YEAR(${n})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${n})=MONTH(TODAY()),YEAR(${n})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${n})=MONTH(EDATE(TODAY(),0+1)),YEAR(${n})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(t);n&&this.formulaXform.render(e,n),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{...h(t),dxfId:r.toIntValue(t.dxfId),priority:r.toIntValue(t.priority),timePeriod:t.timePeriod,percent:r.toBoolValue(t.percent),bottom:r.toBoolValue(t.bottom),rank:r.toIntValue(t.rank),aboveAverage:r.toBoolValue(t.aboveAverage)}}onParserClose(e,t){switch(e){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,t.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(t.model)}}}t.exports=f},{"../../../../doc/range":10,"../../base-xform":32,"../../composite-xform":48,"./color-scale-xform":85,"./databar-xform":88,"./ext-lst-ref-xform":89,"./formula-xform":90,"./icon-set-xform":91}],84:[function(e,t,n){"use strict";const r=e("../../base-xform");t.exports=class extends r{get tag(){return"cfvo"}render(e,t){e.leafNode(this.tag,{type:t.type,val:t.value})}parseOpen(e){this.model={type:e.attributes.type,value:r.toFloatValue(e.attributes.val)}}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],85:[function(e,t,n){"use strict";const r=e("../../composite-xform"),i=e("../../style/color-xform"),o=e("./cfvo-xform");t.exports=class extends r{constructor(){super(),this.map={cfvo:this.cfvoXform=new o,color:this.colorXform=new i}}get tag(){return"colorScale"}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.color.forEach(t=>{this.colorXform.render(e,t)}),e.closeNode()}createNewModel(e){return{cfvo:[],color:[]}}onParserClose(e,t){this.model[e].push(t.model)}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],86:[function(e,t,n){"use strict";const r=e("../../composite-xform"),i=e("./cf-rule-xform");t.exports=class extends r{constructor(){super(),this.map={cfRule:new i}}get tag(){return"conditionalFormatting"}render(e,t){t.rules.some(i.isPrimitive)&&(e.openNode(this.tag,{sqref:t.ref}),t.rules.forEach(n=>{i.isPrimitive(n)&&(n.ref=t.ref,this.map.cfRule.render(e,n))}),e.closeNode())}createNewModel(e){let{attributes:t}=e;return{ref:t.sqref,rules:[]}}onParserClose(e,t){this.model.rules.push(t.model)}}},{"../../composite-xform":48,"./cf-rule-xform":83}],87:[function(e,t,n){"use strict";const r=e("../../base-xform"),i=e("./conditional-formatting-xform");t.exports=class extends r{constructor(){super(),this.cfXform=new i}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare(e,t){let n=e.reduce((e,t)=>Math.max(e,...t.rules.map(e=>e.priority||0)),1);e.forEach(e=>{e.rules.forEach(e=>{e.priority||(e.priority=n++),e.style&&(e.dxfId=t.styles.addDxfStyle(e.style))})})}render(e,t){t.forEach(t=>{this.cfXform.render(e,t)})}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(!!this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(e,t){e.forEach(e=>{e.rules.forEach(e=>{void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId),delete e.dxfId)})})}}},{"../../base-xform":32,"./conditional-formatting-xform":86}],88:[function(e,t,n){"use strict";const r=e("../../composite-xform"),i=e("../../style/color-xform"),o=e("./cfvo-xform");t.exports=class extends r{constructor(){super(),this.map={cfvo:this.cfvoXform=new o,color:this.colorXform=new i}}get tag(){return"dataBar"}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.colorXform.render(e,t.color),e.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(e,t){switch(e){case"cfvo":this.model.cfvo.push(t.model);break;case"color":this.model.color=t.model}}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],89:[function(e,t,n){"use strict";const r=e("../../base-xform"),i=e("../../composite-xform");class o extends r{get tag(){return"x14:id"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}class a extends i{constructor(){super(),this.map={"x14:id":this.idXform=new o}}get tag(){return"ext"}render(e,t){e.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(e,t.x14Id),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model.x14Id=t.model}}t.exports=class extends i{constructor(){super(),this.map={ext:new a}}get tag(){return"extLst"}render(e,t){e.openNode(this.tag),this.map.ext.render(e,t),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}},{"../../base-xform":32,"../../composite-xform":48}],90:[function(e,t,n){"use strict";const r=e("../../base-xform");t.exports=class extends r{get tag(){return"formula"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],91:[function(e,t,n){"use strict";const r=e("../../base-xform"),i=e("../../composite-xform"),o=e("./cfvo-xform");t.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new o}}get tag(){return"iconSet"}render(e,t){e.openNode(this.tag,{iconSet:r.toStringAttribute(t.iconSet,"3TrafficLights"),reverse:r.toBoolAttribute(t.reverse,!1),showValue:r.toBoolAttribute(t.showValue,!0)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{iconSet:r.toStringValue(t.iconSet,"3TrafficLights"),reverse:r.toBoolValue(t.reverse),showValue:r.toBoolValue(t.showValue),cfvo:[]}}onParserClose(e,t){this.model[e].push(t.model)}}},{"../../base-xform":32,"../../composite-xform":48,"./cfvo-xform":84}],92:[function(e,t,n){"use strict";const r=e("../../../utils/utils"),i=e("../base-xform");t.exports=class extends i{get tag(){return"col"}prepare(e,t){const n=t.styles.addStyleModel(e.style||{});n&&(e.styleId=n)}render(e,t){e.openNode("col"),e.addAttribute("min",t.min),e.addAttribute("max",t.max),t.width&&e.addAttribute("width",t.width),t.styleId&&e.addAttribute("style",t.styleId),t.hidden&&e.addAttribute("hidden","1"),t.bestFit&&e.addAttribute("bestFit","1"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1"),e.addAttribute("customWidth","1"),e.closeNode()}parseOpen(e){if("col"===e.name){const t=this.model={min:parseInt(e.attributes.min||"0",10),max:parseInt(e.attributes.max||"0",10),width:void 0===e.attributes.width?void 0:parseFloat(e.attributes.width||"0")};return e.attributes.style&&(t.styleId=parseInt(e.attributes.style,10)),r.parseBoolean(e.attributes.hidden)&&(t.hidden=!0),r.parseBoolean(e.attributes.bestFit)&&(t.bestFit=!0),e.attributes.outlineLevel&&(t.outlineLevel=parseInt(e.attributes.outlineLevel,10)),r.parseBoolean(e.attributes.collapsed)&&(t.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(e,t){e.styleId&&(e.style=t.styles.getStyleModel(e.styleId))}}},{"../../../utils/utils":27,"../base-xform":32}],93:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../../../utils/utils"),o=e("../../../utils/col-cache"),a=e("../base-xform"),s=e("../../../doc/range");function l(e,t,n,r){const i=t[n];void 0!==i?e[n]=i:void 0!==r&&(e[n]=r)}function u(e,t,n,r){const o=t[n];void 0!==o?e[n]=i.parseBoolean(o):void 0!==r&&(e[n]=r)}t.exports=class extends a{get tag(){return"dataValidations"}render(e,t){const n=function(e){const t=r.map(e,(e,t)=>({address:t,dataValidation:e,marked:!1})).sort((e,t)=>r.strcmp(e.address,t.address)),n=r.keyBy(t,"address"),i=(t,n,i)=>{for(let a=0;a<n;a++){const n=o.encodeAddress(t.row+a,i);if(!e[n]||!r.isEqual(e[t.address],e[n]))return!1}return!0};return t.map(t=>{if(!t.marked){const a=o.decodeEx(t.address);if(a.dimensions)return n[a.dimensions].marked=!0,{...t.dataValidation,sqref:t.address};let s=1,l=o.encodeAddress(a.row+s,a.col);for(;e[l]&&r.isEqual(t.dataValidation,e[l]);)s++,l=o.encodeAddress(a.row+s,a.col);let u=1;for(;i(a,s,a.col+u);)u++;for(let e=0;e<s;e++)for(let t=0;t<u;t++)l=o.encodeAddress(a.row+e,a.col+t),n[l].marked=!0;if(s>1||u>1){const e=a.row+(s-1),n=a.col+(u-1);return{...t.dataValidation,sqref:`${t.address}:${o.encodeAddress(e,n)}`}}return{...t.dataValidation,sqref:t.address}}return null}).filter(Boolean)}(t);n.length&&(e.openNode("dataValidations",{count:n.length}),n.forEach(t=>{e.openNode("dataValidation"),"any"!==t.type&&(e.addAttribute("type",t.type),t.operator&&"list"!==t.type&&"between"!==t.operator&&e.addAttribute("operator",t.operator),t.allowBlank&&e.addAttribute("allowBlank","1")),t.showInputMessage&&e.addAttribute("showInputMessage","1"),t.promptTitle&&e.addAttribute("promptTitle",t.promptTitle),t.prompt&&e.addAttribute("prompt",t.prompt),t.showErrorMessage&&e.addAttribute("showErrorMessage","1"),t.errorStyle&&e.addAttribute("errorStyle",t.errorStyle),t.errorTitle&&e.addAttribute("errorTitle",t.errorTitle),t.error&&e.addAttribute("error",t.error),e.addAttribute("sqref",t.sqref),(t.formulae||[]).forEach((n,r)=>{e.openNode("formula"+(r+1)),"date"===t.type?e.writeText(i.dateToExcel(new Date(n))):e.writeText(n),e.closeNode()}),e.closeNode()}),e.closeNode())}parseOpen(e){switch(e.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=e.attributes.sqref;const t={type:e.attributes.type||"any",formulae:[]};switch(e.attributes.type&&u(t,e.attributes,"allowBlank"),u(t,e.attributes,"showInputMessage"),u(t,e.attributes,"showErrorMessage"),t.type){case"any":case"list":case"custom":break;default:l(t,e.attributes,"operator","between")}return l(t,e.attributes,"promptTitle"),l(t,e.attributes,"prompt"),l(t,e.attributes,"errorStyle"),l(t,e.attributes,"errorTitle"),l(t,e.attributes,"error"),this._dataValidation=t,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText(e){this._formula&&this._formula.push(e)}parseClose(e){switch(e){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(e=>{e.includes(":")?new s(e).forEachAddress(e=>{this.model[e]=this._dataValidation}):this.model[e]=this._dataValidation}),!0;case"formula1":case"formula2":{let e=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":e=parseInt(e,10);break;case"decimal":e=parseFloat(e);break;case"date":e=i.excelToDate(parseFloat(e))}return this._dataValidation.formulae.push(e),this._formula=void 0,!0}default:return!0}}}},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/utils":27,"../base-xform":32}],94:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"dimension"}render(e,t){t&&e.leafNode("dimension",{ref:t})}parseOpen(e){return"dimension"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],95:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"drawing"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],96:[function(e,t,n){"use strict";const r=e("../composite-xform"),i=e("./cf-ext/conditional-formattings-ext-xform");class o extends r{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new i}}get tag(){return"ext"}hasContent(e){return this.conditionalFormattings.hasContent(e.conditionalFormattings)}prepare(e,t){this.conditionalFormattings.prepare(e.conditionalFormattings,t)}render(e,t){e.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(e,t.conditionalFormattings),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model[e]=t.model}}t.exports=class extends r{constructor(){super(),this.map={ext:this.ext=new o}}get tag(){return"extLst"}prepare(e,t){this.ext.prepare(e,t)}hasContent(e){return this.ext.hasContent(e)}render(e,t){this.hasContent(t)&&(e.openNode("extLst"),this.ext.render(e,t),e.closeNode())}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}},{"../composite-xform":48,"./cf-ext/conditional-formattings-ext-xform":78}],97:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"headerFooter"}render(e,t){if(t){e.addRollback();let n=!1;e.openNode("headerFooter"),t.differentFirst&&(e.addAttribute("differentFirst","1"),n=!0),t.differentOddEven&&(e.addAttribute("differentOddEven","1"),n=!0),t.oddHeader&&"string"==typeof t.oddHeader&&(e.leafNode("oddHeader",null,t.oddHeader),n=!0),t.oddFooter&&"string"==typeof t.oddFooter&&(e.leafNode("oddFooter",null,t.oddFooter),n=!0),t.evenHeader&&"string"==typeof t.evenHeader&&(e.leafNode("evenHeader",null,t.evenHeader),n=!0),t.evenFooter&&"string"==typeof t.evenFooter&&(e.leafNode("evenFooter",null,t.evenFooter),n=!0),t.firstHeader&&"string"==typeof t.firstHeader&&(e.leafNode("firstHeader",null,t.firstHeader),n=!0),t.firstFooter&&"string"==typeof t.firstFooter&&(e.leafNode("firstFooter",null,t.firstFooter),n=!0),n?(e.closeNode(),e.commit()):e.rollback()}}parseOpen(e){switch(e.name){case"headerFooter":return this.model={},e.attributes.differentFirst&&(this.model.differentFirst=1===parseInt(e.attributes.differentFirst,0)),e.attributes.differentOddEven&&(this.model.differentOddEven=1===parseInt(e.attributes.differentOddEven,0)),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText(e){switch(this.currentNode){case"oddHeader":this.model.oddHeader=e;break;case"oddFooter":this.model.oddFooter=e;break;case"evenHeader":this.model.evenHeader=e;break;case"evenFooter":this.model.evenFooter=e;break;case"firstHeader":this.model.firstHeader=e;break;case"firstFooter":this.model.firstFooter=e}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}},{"../base-xform":32}],98:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"hyperlink"}render(e,t){this.isInternalLink(t)?e.leafNode("hyperlink",{ref:t.address,"r:id":t.rId,tooltip:t.tooltip,location:t.target}):e.leafNode("hyperlink",{ref:t.address,"r:id":t.rId,tooltip:t.tooltip})}parseOpen(e){return"hyperlink"===e.name&&(this.model={address:e.attributes.ref,rId:e.attributes["r:id"],tooltip:e.attributes.tooltip},e.attributes.location&&(this.model.target=e.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(e){return e.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(e.target)}}},{"../base-xform":32}],99:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"mergeCell"}render(e,t){e.leafNode("mergeCell",{ref:t})}parseOpen(e){return"mergeCell"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],100:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../../../doc/range"),o=e("../../../utils/col-cache"),a=e("../../../doc/enums");t.exports=class{constructor(){this.merges={}}add(e){if(this.merges[e.master])this.merges[e.master].expandToAddress(e.address);else{const t=`${e.master}:${e.address}`;this.merges[e.master]=new i(t)}}get mergeCells(){return r.map(this.merges,e=>e.range)}reconcile(e,t){r.each(e,e=>{const n=o.decode(e);for(let r=n.top;r<=n.bottom;r++){const e=t[r-1];for(let t=n.left;t<=n.right;t++){const i=e.cells[t-1];i?i.type===a.ValueType.Merge&&(i.master=n.tl):e.cells[t]={type:a.ValueType.Null,address:o.encodeAddress(r,t)}}}})}getMasterAddress(e){const t=this.hash[e];return t&&t.tl}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26}],101:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e=>void 0!==e;t.exports=class extends r{get tag(){return"outlinePr"}render(e,t){return!(!t||!i(t.summaryBelow)&&!i(t.summaryRight))&&(e.leafNode(this.tag,{summaryBelow:i(t.summaryBelow)?Number(t.summaryBelow):void 0,summaryRight:i(t.summaryRight)?Number(t.summaryRight):void 0}),!0)}parseOpen(e){return e.name===this.tag&&(this.model={summaryBelow:i(e.attributes.summaryBelow)?Boolean(Number(e.attributes.summaryBelow)):void 0,summaryRight:i(e.attributes.summaryRight)?Boolean(Number(e.attributes.summaryRight)):void 0},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],102:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"brk"}render(e,t){e.leafNode("brk",t)}parseOpen(e){return"brk"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],103:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../base-xform");t.exports=class extends i{get tag(){return"pageMargins"}render(e,t){if(t){const n={left:t.left,right:t.right,top:t.top,bottom:t.bottom,header:t.header,footer:t.footer};r.some(n,e=>void 0!==e)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={left:parseFloat(e.attributes.left||.7),right:parseFloat(e.attributes.right||.7),top:parseFloat(e.attributes.top||.75),bottom:parseFloat(e.attributes.bottom||.75),header:parseFloat(e.attributes.header||.3),footer:parseFloat(e.attributes.footer||.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],104:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"pageSetUpPr"}render(e,t){return!(!t||!t.fitToPage)&&(e.leafNode(this.tag,{fitToPage:t.fitToPage?"1":void 0}),!0)}parseOpen(e){return e.name===this.tag&&(this.model={fitToPage:"1"===e.attributes.fitToPage},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],105:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../base-xform");function o(e){return e?"1":void 0}function a(e){switch(e){case"overThenDown":return e;default:return}}function s(e){switch(e){case"atEnd":case"asDisplyed":return e;default:return}}function l(e){switch(e){case"dash":case"blank":case"NA":return e;default:return}}t.exports=class extends i{get tag(){return"pageSetup"}render(e,t){if(t){const n={paperSize:t.paperSize,orientation:t.orientation,horizontalDpi:t.horizontalDpi,verticalDpi:t.verticalDpi,pageOrder:a(t.pageOrder),blackAndWhite:o(t.blackAndWhite),draft:o(t.draft),cellComments:s(t.cellComments),errors:l(t.errors),scale:t.scale,fitToWidth:t.fitToWidth,fitToHeight:t.fitToHeight,firstPageNumber:t.firstPageNumber,useFirstPageNumber:o(t.firstPageNumber),usePrinterDefaults:o(t.usePrinterDefaults),copies:t.copies};r.some(n,e=>void 0!==e)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={paperSize:(t=e.attributes.paperSize,void 0!==t?parseInt(t,10):void 0),orientation:e.attributes.orientation||"portrait",horizontalDpi:parseInt(e.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(e.attributes.verticalDpi||"4294967295",10),pageOrder:e.attributes.pageOrder||"downThenOver",blackAndWhite:"1"===e.attributes.blackAndWhite,draft:"1"===e.attributes.draft,cellComments:e.attributes.cellComments||"None",errors:e.attributes.errors||"displayed",scale:parseInt(e.attributes.scale||"100",10),fitToWidth:parseInt(e.attributes.fitToWidth||"1",10),fitToHeight:parseInt(e.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(e.attributes.firstPageNumber||"1",10),useFirstPageNumber:"1"===e.attributes.useFirstPageNumber,usePrinterDefaults:"1"===e.attributes.usePrinterDefaults,copies:parseInt(e.attributes.copies||"1",10)},!0;default:return!1}var t}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],106:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"picture"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],107:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../base-xform");function o(e){return e?"1":void 0}t.exports=class extends i{get tag(){return"printOptions"}render(e,t){if(t){const n={headings:o(t.showRowColHeaders),gridLines:o(t.showGridLines),horizontalCentered:o(t.horizontalCentered),verticalCentered:o(t.verticalCentered)};r.some(n,e=>void 0!==e)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={showRowColHeaders:"1"===e.attributes.headings,showGridLines:"1"===e.attributes.gridLines,horizontalCentered:"1"===e.attributes.horizontalCentered,verticalCentered:"1"===e.attributes.verticalCentered},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],108:[function(e,t,n){"use strict";const r=e("./page-breaks-xform"),i=e("../list-xform");t.exports=class extends i{constructor(){super({tag:"rowBreaks",count:!0,childXform:new r})}render(e,t){if(t&&t.length){e.openNode(this.tag,this.$),this.count&&(e.addAttribute(this.$count,t.length),e.addAttribute("manualBreakCount",t.length));const{childXform:n}=this;t.forEach(t=>{n.render(e,t)}),e.closeNode()}else this.empty&&e.leafNode(this.tag)}}},{"../list-xform":71,"./page-breaks-xform":102}],109:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("../../../utils/utils"),o=e("./cell-xform");t.exports=class extends r{constructor(e){super(),this.maxItems=e&&e.maxItems,this.map={c:new o}}get tag(){return"row"}prepare(e,t){const n=t.styles.addStyleModel(e.style);n&&(e.styleId=n);const r=this.map.c;e.cells.forEach(e=>{r.prepare(e,t)})}render(e,t,n){e.openNode("row"),e.addAttribute("r",t.number),t.height&&(e.addAttribute("ht",t.height),e.addAttribute("customHeight","1")),t.hidden&&e.addAttribute("hidden","1"),t.min>0&&t.max>0&&t.min<=t.max&&e.addAttribute("spans",`${t.min}:${t.max}`),t.styleId&&(e.addAttribute("s",t.styleId),e.addAttribute("customFormat","1")),e.addAttribute("x14ac:dyDescent","0.25"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1");const r=this.map.c;t.cells.forEach(t=>{r.render(e,t,n)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if("row"===e.name){this.numRowsSeen+=1;const t=e.attributes.spans?e.attributes.spans.split(":").map(e=>parseInt(e,10)):[void 0,void 0],n=this.model={number:parseInt(e.attributes.r,10),min:t[0],max:t[1],cells:[]};return e.attributes.s&&(n.styleId=parseInt(e.attributes.s,10)),i.parseBoolean(e.attributes.hidden)&&(n.hidden=!0),i.parseBoolean(e.attributes.bestFit)&&(n.bestFit=!0),e.attributes.ht&&(n.height=parseFloat(e.attributes.ht)),e.attributes.outlineLevel&&(n.outlineLevel=parseInt(e.attributes.outlineLevel,10)),i.parseBoolean(e.attributes.collapsed)&&(n.collapsed=!0),!0}return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(e,t){e.style=e.styleId?t.styles.getStyleModel(e.styleId):{},void 0!==e.styleId&&(e.styleId=void 0);const n=this.map.c;e.cells.forEach(e=>{n.reconcile(e,t)})}}},{"../../../utils/utils":27,"../base-xform":32,"./cell-xform":73}],110:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../base-xform");t.exports=class extends i{get tag(){return"sheetFormatPr"}render(e,t){if(t){const n={defaultRowHeight:t.defaultRowHeight,outlineLevelRow:t.outlineLevelRow,outlineLevelCol:t.outlineLevelCol,"x14ac:dyDescent":t.dyDescent};t.defaultColWidth&&(n.defaultColWidth=t.defaultColWidth),t.defaultRowHeight&&15===t.defaultRowHeight||(n.customHeight="1"),r.some(n,e=>void 0!==e)&&e.leafNode("sheetFormatPr",n)}}parseOpen(e){return"sheetFormatPr"===e.name&&(this.model={defaultRowHeight:parseFloat(e.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(e.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(e.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(e.attributes.outlineLevelCol||"0",10)},e.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(e.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],111:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("../style/color-xform"),o=e("./page-setup-properties-xform"),a=e("./outline-properties-xform");t.exports=class extends r{constructor(){super(),this.map={tabColor:new i("tabColor"),pageSetUpPr:new o,outlinePr:new a}}get tag(){return"sheetPr"}render(e,t){if(t){e.addRollback(),e.openNode("sheetPr");let n=!1;n=this.map.tabColor.render(e,t.tabColor)||n,n=this.map.pageSetUpPr.render(e,t.pageSetup)||n,n=this.map.outlinePr.render(e,t.outlineProperties)||n,n?(e.closeNode(),e.commit()):e.rollback()}}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):!!this.map[e.name]&&(this.parser=this.map[e.name],this.parser.parseOpen(e),!0)}parseText(e){return!!this.parser&&(this.parser.parseText(e),!0)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{"../base-xform":32,"../style/color-xform":128,"./outline-properties-xform":101,"./page-setup-properties-xform":104}],112:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../base-xform");function o(e,t){return e?t:void 0}function a(e,t){return e===t||void 0}t.exports=class extends i{get tag(){return"sheetProtection"}render(e,t){if(t){const n={sheet:o(t.sheet,"1"),selectLockedCells:!1===t.selectLockedCells?"1":void 0,selectUnlockedCells:!1===t.selectUnlockedCells?"1":void 0,formatCells:o(t.formatCells,"0"),formatColumns:o(t.formatColumns,"0"),formatRows:o(t.formatRows,"0"),insertColumns:o(t.insertColumns,"0"),insertRows:o(t.insertRows,"0"),insertHyperlinks:o(t.insertHyperlinks,"0"),deleteColumns:o(t.deleteColumns,"0"),deleteRows:o(t.deleteRows,"0"),sort:o(t.sort,"0"),autoFilter:o(t.autoFilter,"0"),pivotTables:o(t.pivotTables,"0")};t.sheet&&(n.algorithmName=t.algorithmName,n.hashValue=t.hashValue,n.saltValue=t.saltValue,n.spinCount=t.spinCount,n.objects=o(!1===t.objects,"1"),n.scenarios=o(!1===t.scenarios,"1")),r.some(n,e=>void 0!==e)&&e.leafNode(this.tag,n)}}parseOpen(e){switch(e.name){case this.tag:return this.model={sheet:a(e.attributes.sheet,"1"),objects:"1"!==e.attributes.objects&&void 0,scenarios:"1"!==e.attributes.scenarios&&void 0,selectLockedCells:"1"!==e.attributes.selectLockedCells&&void 0,selectUnlockedCells:"1"!==e.attributes.selectUnlockedCells&&void 0,formatCells:a(e.attributes.formatCells,"0"),formatColumns:a(e.attributes.formatColumns,"0"),formatRows:a(e.attributes.formatRows,"0"),insertColumns:a(e.attributes.insertColumns,"0"),insertRows:a(e.attributes.insertRows,"0"),insertHyperlinks:a(e.attributes.insertHyperlinks,"0"),deleteColumns:a(e.attributes.deleteColumns,"0"),deleteRows:a(e.attributes.deleteRows,"0"),sort:a(e.attributes.sort,"0"),autoFilter:a(e.attributes.autoFilter,"0"),pivotTables:a(e.attributes.pivotTables,"0")},e.attributes.algorithmName&&(this.model.algorithmName=e.attributes.algorithmName,this.model.hashValue=e.attributes.hashValue,this.model.saltValue=e.attributes.saltValue,this.model.spinCount=parseInt(e.attributes.spinCount,10)),!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],113:[function(e,t,n){"use strict";const r=e("../../../utils/col-cache"),i=e("../base-xform"),o={frozen:"frozen",frozenSplit:"frozen",split:"split"};t.exports=class extends i{get tag(){return"sheetView"}prepare(e){switch(e.state){case"frozen":case"split":break;default:e.state="normal"}}render(e,t){e.openNode("sheetView",{workbookViewId:t.workbookViewId||0});const n=function(t,n,r){r&&e.addAttribute(t,n)};let i,o,a,s;switch(n("rightToLeft","1",!0===t.rightToLeft),n("tabSelected","1",t.tabSelected),n("showRuler","0",!1===t.showRuler),n("showRowColHeaders","0",!1===t.showRowColHeaders),n("showGridLines","0",!1===t.showGridLines),n("zoomScale",t.zoomScale,t.zoomScale),n("zoomScaleNormal",t.zoomScaleNormal,t.zoomScaleNormal),n("view",t.style,t.style),t.state){case"frozen":o=t.xSplit||0,a=t.ySplit||0,i=t.topLeftCell||r.getAddress(a+1,o+1).address,s=(t.xSplit&&t.ySplit?"bottomRight":t.xSplit&&"topRight")||"bottomLeft",e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:i,activePane:s,state:"frozen"}),e.leafNode("selection",{pane:s,activeCell:t.activeCell,sqref:t.activeCell});break;case"split":"topLeft"===t.activePane&&(t.activePane=void 0),e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:t.topLeftCell,activePane:t.activePane}),e.leafNode("selection",{pane:t.activePane,activeCell:t.activeCell,sqref:t.activeCell});break;case"normal":t.activeCell&&e.leafNode("selection",{activeCell:t.activeCell,sqref:t.activeCell})}e.closeNode()}parseOpen(e){switch(e.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(e.attributes.workbookViewId,10),rightToLeft:"1"===e.attributes.rightToLeft,tabSelected:"1"===e.attributes.tabSelected,showRuler:!("0"===e.attributes.showRuler),showRowColHeaders:!("0"===e.attributes.showRowColHeaders),showGridLines:!("0"===e.attributes.showGridLines),zoomScale:parseInt(e.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(e.attributes.zoomScaleNormal||"100",10),style:e.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(e.attributes.xSplit||"0",10),ySplit:parseInt(e.attributes.ySplit||"0",10),topLeftCell:e.attributes.topLeftCell,activePane:e.attributes.activePane||"topLeft",state:e.attributes.state},!0;case"selection":{const t=e.attributes.pane||"topLeft";return this.selections[t]={pane:t,activeCell:e.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(e){let t,n;switch(e){case"sheetView":return this.sheetView&&this.pane?(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:o[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},"split"===this.model.state&&(t.activePane=this.pane.activePane),n=this.selections[this.pane.activePane],n&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)):(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},n=this.selections.topLeft,n&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)),!1;default:return!0}}reconcile(){}}},{"../../../utils/col-cache":19,"../base-xform":32}],114:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"tablePart"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],115:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../../../utils/col-cache"),o=e("../../../utils/xml-stream"),a=e("../../rel-type"),s=e("./merges"),l=e("../base-xform"),u=e("../list-xform"),c=e("./row-xform"),d=e("./col-xform"),h=e("./dimension-xform"),f=e("./hyperlink-xform"),p=e("./merge-cell-xform"),m=e("./data-validations-xform"),g=e("./sheet-properties-xform"),v=e("./sheet-format-properties-xform"),y=e("./sheet-view-xform"),b=e("./sheet-protection-xform"),_=e("./page-margins-xform"),w=e("./page-setup-xform"),x=e("./print-options-xform"),k=e("./auto-filter-xform"),M=e("./picture-xform"),S=e("./drawing-xform"),C=e("./table-part-xform"),T=e("./row-breaks-xform"),O=e("./header-footer-xform"),L=e("./cf/conditional-formattings-xform"),A=e("./ext-lst-xform"),D=(e,t)=>{if(!t||!t.length)return e;if(!e||!e.length)return t;const n={},r={};return e.forEach(e=>{n[e.ref]=e,e.rules.forEach(e=>{const{x14Id:t}=e;t&&(r[t]=e)})}),t.forEach(t=>{t.rules.forEach(i=>{const o=r[i.x14Id];o?((e,t)=>{Object.keys(t).forEach(n=>{const r=e[n],i=t[n];void 0===r&&void 0!==i&&(e[n]=i)})})(o,i):n[t.ref]?n[t.ref].rules.push(i):e.push({ref:t.ref,rules:[i]})})}),e};class E extends l{constructor(e){super();const{maxRows:t,maxCols:n,ignoreNodes:r}=e||{};this.ignoreNodes=r||[],this.map={sheetPr:new g,dimension:new h,sheetViews:new u({tag:"sheetViews",count:!1,childXform:new y}),sheetFormatPr:new v,cols:new u({tag:"cols",count:!1,childXform:new d}),sheetData:new u({tag:"sheetData",count:!1,empty:!0,childXform:new c({maxItems:n}),maxItems:t}),autoFilter:new k,mergeCells:new u({tag:"mergeCells",count:!0,childXform:new p}),rowBreaks:new T,hyperlinks:new u({tag:"hyperlinks",count:!1,childXform:new f}),pageMargins:new _,dataValidations:new m,pageSetup:new w,headerFooter:new O,printOptions:new x,picture:new M,drawing:new S,sheetProtection:new b,tableParts:new u({tag:"tableParts",count:!0,childXform:new C}),conditionalFormatting:new L,extLst:new A}}prepare(e,t){t.merges=new s,e.hyperlinks=t.hyperlinks=[],e.comments=t.comments=[],t.formulae={},t.siFormulae=0,this.map.cols.prepare(e.cols,t),this.map.sheetData.prepare(e.rows,t),this.map.conditionalFormatting.prepare(e.conditionalFormattings,t),e.mergeCells=t.merges.mergeCells;const n=e.rels=[];function r(e){return"rId"+(e.length+1)}if(e.hyperlinks.forEach(e=>{const t=r(n);e.rId=t,n.push({Id:t,Type:a.Hyperlink,Target:e.target,TargetMode:"External"})}),e.comments.length>0){const o={Id:r(n),Type:a.Comments,Target:`../comments${e.id}.xml`};n.push(o);const s={Id:r(n),Type:a.VmlDrawing,Target:`../drawings/vmlDrawing${e.id}.vml`};n.push(s),e.comments.forEach(e=>{e.refAddress=i.decodeAddress(e.ref)}),t.commentRefs.push({commentName:"comments"+e.id,vmlDrawing:"vmlDrawing"+e.id})}const o=[];let l;e.media.forEach(i=>{if("background"===i.type){const o=r(n);l=t.media[i.imageId],n.push({Id:o,Type:a.Image,Target:`../media/${l.name}.${l.extension}`}),e.background={rId:o},e.image=t.media[i.imageId]}else if("image"===i.type){let{drawing:s}=e;l=t.media[i.imageId],s||(s=e.drawing={rId:r(n),name:"drawing"+ ++t.drawingsCount,anchors:[],rels:[]},t.drawings.push(s),n.push({Id:s.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${s.name}.xml`}));let u=this.preImageId===i.imageId?o[i.imageId]:o[s.rels.length];u||(u=r(s.rels),o[s.rels.length]=u,s.rels.push({Id:u,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${l.name}.${l.extension}`}));const c={picture:{rId:u},range:i.range};if(i.hyperlinks&&i.hyperlinks.hyperlink){const e=r(s.rels);o[s.rels.length]=e,c.picture.hyperlinks={tooltip:i.hyperlinks.tooltip,rId:e},s.rels.push({Id:e,Type:a.Hyperlink,Target:i.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=i.imageId,s.anchors.push(c)}}),e.tables.forEach(e=>{const i=r(n);e.rId=i,n.push({Id:i,Type:a.Table,Target:"../tables/"+e.target}),e.columns.forEach(e=>{const{style:n}=e;n&&(e.dxfId=t.styles.addDxfStyle(n))})}),this.map.extLst.prepare(e,t)}render(e,t){e.openXml(o.StdDocAttributes),e.openNode("worksheet",E.WORKSHEET_ATTRIBUTES);const n=t.properties?{defaultRowHeight:t.properties.defaultRowHeight,dyDescent:t.properties.dyDescent,outlineLevelCol:t.properties.outlineLevelCol,outlineLevelRow:t.properties.outlineLevelRow}:void 0;t.properties&&t.properties.defaultColWidth&&(n.defaultColWidth=t.properties.defaultColWidth);const r={outlineProperties:t.properties&&t.properties.outlineProperties,tabColor:t.properties&&t.properties.tabColor,pageSetup:t.pageSetup&&t.pageSetup.fitToPage?{fitToPage:t.pageSetup.fitToPage}:void 0},i=t.pageSetup&&t.pageSetup.margins,s={showRowColHeaders:t.pageSetup&&t.pageSetup.showRowColHeaders,showGridLines:t.pageSetup&&t.pageSetup.showGridLines,horizontalCentered:t.pageSetup&&t.pageSetup.horizontalCentered,verticalCentered:t.pageSetup&&t.pageSetup.verticalCentered},l=t.sheetProtection;this.map.sheetPr.render(e,r),this.map.dimension.render(e,t.dimensions),this.map.sheetViews.render(e,t.views),this.map.sheetFormatPr.render(e,n),this.map.cols.render(e,t.cols),this.map.sheetData.render(e,t.rows),this.map.sheetProtection.render(e,l),this.map.autoFilter.render(e,t.autoFilter),this.map.mergeCells.render(e,t.mergeCells),this.map.conditionalFormatting.render(e,t.conditionalFormattings),this.map.dataValidations.render(e,t.dataValidations),this.map.hyperlinks.render(e,t.hyperlinks),this.map.printOptions.render(e,s),this.map.pageMargins.render(e,i),this.map.pageSetup.render(e,t.pageSetup),this.map.headerFooter.render(e,t.headerFooter),this.map.rowBreaks.render(e,t.rowBreaks),this.map.drawing.render(e,t.drawing),this.map.picture.render(e,t.background),this.map.tableParts.render(e,t.tables),this.map.extLst.render(e,t),t.rels&&t.rels.forEach(t=>{t.Type===a.VmlDrawing&&e.leafNode("legacyDrawing",{"r:id":t.Id})}),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"worksheet"===e.name?(r.each(this.map,e=>{e.reset()}),!0):(this.map[e.name]&&!this.ignoreNodes.includes(e.name)&&(this.parser=this.map[e.name],this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"worksheet":{const e=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(e.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(e.outlineProperties=this.map.sheetPr.model.outlineProperties);const t={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},n=Object.assign(t,this.map.pageSetup.model,this.map.printOptions.model),r=D(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:e,views:this.map.sheetViews.model,pageSetup:n,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:r},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}default:return!0}}reconcile(e,t){const n=(e.relationships||[]).reduce((n,r)=>{if(n[r.Id]=r,r.Type===a.Comments&&(e.comments=t.comments[r.Target].comments),r.Type===a.VmlDrawing&&e.comments&&e.comments.length){const n=t.vmlDrawings[r.Target].comments;e.comments.forEach((e,t)=>{e.note=Object.assign({},e.note,n[t])})}return n},{});if(t.commentsMap=(e.comments||[]).reduce((e,t)=>(t.ref&&(e[t.ref]=t),e),{}),t.hyperlinkMap=(e.hyperlinks||[]).reduce((e,t)=>(t.rId&&(e[t.address]=n[t.rId].Target),e),{}),t.formulae={},e.rows=e.rows&&e.rows.filter(Boolean)||[],e.rows.forEach(e=>{e.cells=e.cells&&e.cells.filter(Boolean)||[]}),this.map.cols.reconcile(e.cols,t),this.map.sheetData.reconcile(e.rows,t),this.map.conditionalFormatting.reconcile(e.conditionalFormattings,t),e.media=[],e.drawing){const r=n[e.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(r){const n=r[1];t.drawings[n].anchors.forEach(t=>{if(t.medium){const n={type:"image",imageId:t.medium.index,range:t.range,hyperlinks:t.picture.hyperlinks};e.media.push(n)}})}}const r=e.background&&n[e.background.rId];if(r){const n=r.Target.split("/media/")[1],i=t.mediaIndex&&t.mediaIndex[n];void 0!==i&&e.media.push({type:"background",imageId:i})}e.tables=(e.tables||[]).map(e=>{const r=n[e.rId];return t.tables[r.Target]}),delete e.relationships,delete e.hyperlinks,delete e.comments}}E.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},t.exports=E},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../../rel-type":31,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":72,"./cf/conditional-formattings-xform":87,"./col-xform":92,"./data-validations-xform":93,"./dimension-xform":94,"./drawing-xform":95,"./ext-lst-xform":96,"./header-footer-xform":97,"./hyperlink-xform":98,"./merge-cell-xform":99,"./merges":100,"./page-margins-xform":103,"./page-setup-xform":105,"./picture-xform":106,"./print-options-xform":107,"./row-breaks-xform":108,"./row-xform":109,"./sheet-format-properties-xform":110,"./sheet-properties-xform":111,"./sheet-protection-xform":112,"./sheet-view-xform":113,"./table-part-xform":114}],116:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{constructor(e){super(),this.tag=e.tag,this.attr=e.attr}render(e,t){t&&(e.openNode(this.tag),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.model=!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],117:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this._format=e.format||function(e){try{return Number.isNaN(e.getTime())?"":e.toISOString()}catch(e){return""}},this._parse=e.parse||function(e){return new Date(e)}}render(e,t){t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,this._format(t)):e.writeText(this._format(t)),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=this._parse(e.attributes[this.attr]):this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}},{"../base-xform":32}],118:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this.zero=e.zero}render(e,t){(t||this.zero)&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}parseOpen(e){return e.name===this.tag&&(this.attr?this.model=parseInt(e.attributes[this.attr],10):this.text=[],!0)}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}},{"../base-xform":32}],119:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs}render(e,t){void 0!==t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=e.attributes[this.attr]:this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this.text.join("")),!1}}},{"../base-xform":32}],120:[function(e,t,n){"use strict";const r=e("./base-xform"),i=e("../../utils/xml-stream");t.exports=class extends r{constructor(e){super(),this._model=e}render(e){if(!this._xml){const e=new i;!function e(t,n){t.openNode(n.tag,n.$),n.c&&n.c.forEach(n=>{e(t,n)}),n.t&&t.writeText(n.t),t.closeNode()}(e,this._model),this._xml=e.xml}e.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(e){switch(e){case this._model.tag:return!1;default:return!0}}}},{"../../utils/xml-stream":28,"./base-xform":32}],121:[function(e,t,n){"use strict";const r=e("./text-xform"),i=e("./rich-text-xform"),o=e("../base-xform");t.exports=class extends o{constructor(){super(),this.map={r:new i,t:new r}}get tag(){return"rPh"}render(e,t){if(e.openNode(this.tag,{sb:t.sb||0,eb:t.eb||0}),t&&t.hasOwnProperty("richText")&&t.richText){const{r:n}=this.map;t.richText.forEach(t=>{n.render(e,t)})}else t&&this.map.t.render(e,t.text);e.closeNode()}parseOpen(e){const{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={sb:parseInt(e.attributes.sb,10),eb:parseInt(e.attributes.eb,10)},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./rich-text-xform":122,"./text-xform":125}],122:[function(e,t,n){"use strict";const r=e("./text-xform"),i=e("../style/font-xform"),o=e("../base-xform");class a extends o{constructor(e){super(),this.model=e}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new r)}get fontXform(){return this._fontXform||(this._fontXform=new i(a.FONT_OPTIONS))}render(e,t){t=t||this.model,e.openNode("r"),t.font&&this.fontXform.render(e,t.font),this.textXform.render(e,t.text),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(e),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}}a.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},t.exports=a},{"../base-xform":32,"../style/font-xform":131,"./text-xform":125}],123:[function(e,t,n){"use strict";const r=e("./text-xform"),i=e("./rich-text-xform"),o=e("./phonetic-text-xform"),a=e("../base-xform");t.exports=class extends a{constructor(e){super(),this.model=e,this.map={r:new i,t:new r,rPh:new o}}get tag(){return"si"}render(e,t){e.openNode(this.tag),t&&t.hasOwnProperty("richText")&&t.richText?t.richText.length?t.richText.forEach(t=>{this.map.r.render(e,t)}):this.map.t.render(e,""):null!=t&&this.map.t.render(e,t),e.closeNode()}parseOpen(e){const{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./phonetic-text-xform":121,"./rich-text-xform":122,"./text-xform":125}],124:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("./shared-string-xform");t.exports=class extends i{constructor(e){super(),this.model=e||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new o)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(e){return this.model.values[e]}add(e){return e.richText?this.addRichText(e):this.addText(e)}addText(e){let t=this.hash[e];return void 0===t&&(t=this.hash[e]=this.model.values.length,this.model.values.push(e)),this.model.count++,t}addRichText(e){const t=this.sharedStringXform.toXml(e);let n=this.rich[t];return void 0===n&&(n=this.rich[t]=this.model.values.length,this.model.values.push(e)),this.model.count++,n}render(e,t){t=t||this._values,e.openXml(r.StdDocAttributes),e.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:t.count,uniqueCount:t.values.length});const n=this.sharedStringXform;t.values.forEach(t=>{n.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(e),!0;default:throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(e){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}},{"../../../utils/xml-stream":28,"../base-xform":32,"./shared-string-xform":123}],125:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"t"}render(e,t){e.openNode("t"),/^\s|\n|\s$/.test(t)&&e.addAttribute("xml:space","preserve"),e.writeText(t),e.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,(e,t)=>String.fromCharCode(parseInt(t,16)))}parseOpen(e){switch(e.name){case"t":return this._text=[],!0;default:return!1}}parseText(e){this._text.push(e)}parseClose(){return!1}}},{"../base-xform":32}],126:[function(e,t,n){"use strict";const r=e("../../../doc/enums"),i=e("../../../utils/utils"),o=e("../base-xform"),a={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce((e,t)=>(e[t]=!0,e),{}),horizontal(e){return this.horizontalValues[e]?e:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce((e,t)=>(e[t]=!0,e),{}),vertical(e){return"middle"===e?"center":this.verticalValues[e]?e:void 0},wrapText:e=>!!e||void 0,shrinkToFit:e=>!!e||void 0,textRotation(e){switch(e){case"vertical":return e;default:return(e=i.validInt(e))>=-90&&e<=90?e:void 0}},indent:e=>(e=i.validInt(e),Math.max(0,e)),readingOrder(e){switch(e){case"ltr":return r.ReadingOrder.LeftToRight;case"rtl":return r.ReadingOrder.RightToLeft;default:return}}},s={toXml(e){if(e=a.textRotation(e)){if("vertical"===e)return 255;const t=Math.round(e);if(t>=0&&t<=90)return t;if(t<0&&t>=-90)return 90-t}},toModel(e){const t=i.validInt(e);if(void 0!==t){if(255===t)return"vertical";if(t>=0&&t<=90)return t;if(t>90&&t<=180)return 90-t}}};t.exports=class extends o{get tag(){return"alignment"}render(e,t){e.addRollback(),e.openNode("alignment");let n=!1;function r(t,r){r&&(e.addAttribute(t,r),n=!0)}r("horizontal",a.horizontal(t.horizontal)),r("vertical",a.vertical(t.vertical)),r("wrapText",!!a.wrapText(t.wrapText)&&"1"),r("shrinkToFit",!!a.shrinkToFit(t.shrinkToFit)&&"1"),r("indent",a.indent(t.indent)),r("textRotation",s.toXml(t.textRotation)),r("readingOrder",a.readingOrder(t.readingOrder)),e.closeNode(),n?e.commit():e.rollback()}parseOpen(e){const t={};let n=!1;function r(e,r,i){e&&(t[r]=i,n=!0)}r(e.attributes.horizontal,"horizontal",e.attributes.horizontal),r(e.attributes.vertical,"vertical","center"===e.attributes.vertical?"middle":e.attributes.vertical),r(e.attributes.wrapText,"wrapText",i.parseBoolean(e.attributes.wrapText)),r(e.attributes.shrinkToFit,"shrinkToFit",i.parseBoolean(e.attributes.shrinkToFit)),r(e.attributes.indent,"indent",parseInt(e.attributes.indent,10)),r(e.attributes.textRotation,"textRotation",s.toModel(e.attributes.textRotation)),r(e.attributes.readingOrder,"readingOrder","2"===e.attributes.readingOrder?"rtl":"ltr"),this.model=n?t:null}parseText(){}parseClose(){return!1}}},{"../../../doc/enums":7,"../../../utils/utils":27,"../base-xform":32}],127:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("../../../utils/utils"),o=e("./color-xform");class a extends r{constructor(e){super(),this.name=e,this.map={color:new o}}get tag(){return this.name}render(e,t,n){const r=t&&t.color||n||this.defaultColor;e.openNode(this.name),t&&t.style&&(e.addAttribute("style",t.style),r&&this.map.color.render(e,r)),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.name:{const{style:t}=e.attributes;return this.model=t?{style:t}:void 0,!0}case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(e===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(e){return a.validStyleValues[e]}}a.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce((e,t)=>(e[t]=!0,e),{}),t.exports=class extends r{constructor(){super(),this.map={top:new a("top"),left:new a("left"),bottom:new a("bottom"),right:new a("right"),diagonal:new a("diagonal")}}render(e,t){const{color:n}=t;function r(r,i){r&&!r.color&&t.color&&(r={...r,color:t.color}),i.render(e,r,n)}e.openNode("border"),t.diagonal&&t.diagonal.style&&(t.diagonal.up&&e.addAttribute("diagonalUp","1"),t.diagonal.down&&e.addAttribute("diagonalDown","1")),r(t.left,this.map.left),r(t.right,this.map.right),r(t.top,this.map.top),r(t.bottom,this.map.bottom),r(t.diagonal,this.map.diagonal),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"border":return this.reset(),this.diagonalUp=i.parseBoolean(e.attributes.diagonalUp),this.diagonalDown=i.parseBoolean(e.attributes.diagonalDown),!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if("border"===e){const e=this.model={},t=function(t,n,r){n&&(r&&Object.assign(n,r),e[t]=n)};t("left",this.map.left.model),t("right",this.map.right.model),t("top",this.map.top.model),t("bottom",this.map.bottom.model),t("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{"../../../utils/utils":27,"../base-xform":32,"./color-xform":128}],128:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{constructor(e){super(),this.name=e||"color"}get tag(){return this.name}render(e,t){return!!t&&(e.openNode(this.name),t.argb?e.addAttribute("rgb",t.argb):void 0!==t.theme?(e.addAttribute("theme",t.theme),void 0!==t.tint&&e.addAttribute("tint",t.tint)):void 0!==t.indexed?e.addAttribute("indexed",t.indexed):e.addAttribute("auto","1"),e.closeNode(),!0)}parseOpen(e){return e.name===this.name&&(e.attributes.rgb?this.model={argb:e.attributes.rgb}:e.attributes.theme?(this.model={theme:parseInt(e.attributes.theme,10)},e.attributes.tint&&(this.model.tint=parseFloat(e.attributes.tint))):e.attributes.indexed?this.model={indexed:parseInt(e.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],129:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./alignment-xform"),o=e("./border-xform"),a=e("./fill-xform"),s=e("./font-xform"),l=e("./numfmt-xform"),u=e("./protection-xform");t.exports=class extends r{constructor(){super(),this.map={alignment:new i,border:new o,fill:new a,font:new s,numFmt:new l,protection:new u}}get tag(){return"dxf"}render(e,t){if(e.openNode(this.tag),t.font&&this.map.font.render(e,t.font),t.numFmt&&t.numFmtId){const n={id:t.numFmtId,formatCode:t.numFmt};this.map.numFmt.render(e,n)}t.fill&&this.map.fill.render(e,t.fill),t.alignment&&this.map.alignment.render(e,t.alignment),t.border&&this.map.border.render(e,t.border),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{"../base-xform":32,"./alignment-xform":126,"./border-xform":127,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./protection-xform":133}],130:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./color-xform");class o extends r{constructor(){super(),this.map={color:new i}}get tag(){return"stop"}render(e,t){e.openNode("stop"),e.addAttribute("position",t.position),this.map.color.render(e,t.color),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"stop":return this.model={position:parseFloat(e.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}parseText(){}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class a extends r{constructor(){super(),this.map={fgColor:new i("fgColor"),bgColor:new i("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render(e,t){e.openNode("patternFill"),e.addAttribute("patternType",t.pattern),t.fgColor&&this.map.fgColor.render(e,t.fgColor),t.bgColor&&this.map.bgColor.render(e,t.bgColor),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"patternFill":return this.model={type:"pattern",pattern:e.attributes.patternType},!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.parser.model&&(this.model[e]=this.parser.model),this.parser=void 0),!0)}}class s extends r{constructor(){super(),this.map={stop:new o}}get name(){return"gradient"}get tag(){return"gradientFill"}render(e,t){switch(e.openNode("gradientFill"),t.gradient){case"angle":e.addAttribute("degree",t.degree);break;case"path":e.addAttribute("type","path"),t.center.left&&(e.addAttribute("left",t.center.left),void 0===t.center.right&&e.addAttribute("right",t.center.left)),t.center.right&&e.addAttribute("right",t.center.right),t.center.top&&(e.addAttribute("top",t.center.top),void 0===t.center.bottom&&e.addAttribute("bottom",t.center.top)),t.center.bottom&&e.addAttribute("bottom",t.center.bottom)}const n=this.map.stop;t.stops.forEach(t=>{n.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"gradientFill":{const t=this.model={stops:[]};return e.attributes.degree?(t.gradient="angle",t.degree=parseInt(e.attributes.degree,10)):"path"===e.attributes.type&&(t.gradient="path",t.center={left:e.attributes.left?parseFloat(e.attributes.left):0,top:e.attributes.top?parseFloat(e.attributes.top):0},e.attributes.right!==e.attributes.left&&(t.center.right=e.attributes.right?parseFloat(e.attributes.right):0),e.attributes.bottom!==e.attributes.top&&(t.center.bottom=e.attributes.bottom?parseFloat(e.attributes.bottom):0)),!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class l extends r{constructor(){super(),this.map={patternFill:new a,gradientFill:new s}}get tag(){return"fill"}render(e,t){switch(e.addRollback(),e.openNode("fill"),t.type){case"pattern":this.map.patternFill.render(e,t);break;case"gradient":this.map.gradientFill.render(e,t);break;default:return void e.rollback()}e.closeNode(),e.commit()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"fill":return this.model={},!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(e){return l.validPatternValues[e]}}l.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce((e,t)=>(e[t]=!0,e),{}),l.StopXform=o,l.PatternFillXform=a,l.GradientFillXform=s,t.exports=l},{"../base-xform":32,"./color-xform":128}],131:[function(e,t,n){"use strict";const r=e("./color-xform"),i=e("../simple/boolean-xform"),o=e("../simple/integer-xform"),a=e("../simple/string-xform"),s=e("./underline-xform"),l=e("../../../utils/under-dash"),u=e("../base-xform");class c extends u{constructor(e){super(),this.options=e||c.OPTIONS,this.map={b:{prop:"bold",xform:new i({tag:"b",attr:"val"})},i:{prop:"italic",xform:new i({tag:"i",attr:"val"})},u:{prop:"underline",xform:new s},charset:{prop:"charset",xform:new o({tag:"charset",attr:"val"})},color:{prop:"color",xform:new r},condense:{prop:"condense",xform:new i({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new i({tag:"extend",attr:"val"})},family:{prop:"family",xform:new o({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new i({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new a({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new a({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new i({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new i({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new o({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new a({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render(e,t){const{map:n}=this;e.openNode(this.options.tagName),l.each(this.map,(r,i)=>{n[i].xform.render(e,t[r.prop])}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(this.map[e.name])return this.parser=this.map[e.name].xform,this.parser.parseOpen(e);switch(e.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser&&!this.parser.parseClose(e)){const t=this.map[e];return this.parser.model&&(this.model[t.prop]=this.parser.model),this.parser=void 0,!0}switch(e){case this.options.tagName:return!1;default:return!0}}}c.OPTIONS={tagName:"font",fontNameTag:"name"},t.exports=c},{"../../../utils/under-dash":26,"../base-xform":32,"../simple/boolean-xform":116,"../simple/integer-xform":118,"../simple/string-xform":119,"./color-xform":128,"./underline-xform":136}],132:[function(e,t,n){"use strict";const r=e("../../../utils/under-dash"),i=e("../../defaultnumformats"),o=e("../base-xform"),a=function(){const e={};return r.each(i,(t,n)=>{t.f&&(e[t.f]=parseInt(n,10))}),e}();class s extends o{constructor(e,t){super(),this.id=e,this.formatCode=t}get tag(){return"numFmt"}render(e,t){e.leafNode("numFmt",{numFmtId:t.id,formatCode:t.formatCode})}parseOpen(e){switch(e.name){case"numFmt":return this.model={id:parseInt(e.attributes.numFmtId,10),formatCode:e.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}s.getDefaultFmtId=function(e){return a[e]},s.getDefaultFmtCode=function(e){return i[e]&&i[e].f},t.exports=s},{"../../../utils/under-dash":26,"../../defaultnumformats":30,"../base-xform":32}],133:[function(e,t,n){"use strict";const r=e("../base-xform"),i={boolean:(e,t)=>void 0===e?t:e};t.exports=class extends r{get tag(){return"protection"}render(e,t){e.addRollback(),e.openNode("protection");let n=!1;function r(t,r){void 0!==r&&(e.addAttribute(t,r),n=!0)}r("locked",i.boolean(t.locked,!0)?void 0:"0"),r("hidden",i.boolean(t.hidden,!1)?"1":void 0),e.closeNode(),n?e.commit():e.rollback()}parseOpen(e){const t={locked:!("0"===e.attributes.locked),hidden:"1"===e.attributes.hidden},n=!t.locked||t.hidden;this.model=n?t:null}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],134:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./alignment-xform"),o=e("./protection-xform");t.exports=class extends r{constructor(e){super(),this.xfId=!(!e||!e.xfId),this.map={alignment:new i,protection:new o}}get tag(){return"xf"}render(e,t){e.openNode("xf",{numFmtId:t.numFmtId||0,fontId:t.fontId||0,fillId:t.fillId||0,borderId:t.borderId||0}),this.xfId&&e.addAttribute("xfId",t.xfId||0),t.numFmtId&&e.addAttribute("applyNumberFormat","1"),t.fontId&&e.addAttribute("applyFont","1"),t.fillId&&e.addAttribute("applyFill","1"),t.borderId&&e.addAttribute("applyBorder","1"),t.alignment&&e.addAttribute("applyAlignment","1"),t.protection&&e.addAttribute("applyProtection","1"),t.alignment&&this.map.alignment.render(e,t.alignment),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"xf":return this.model={numFmtId:parseInt(e.attributes.numFmtId,10),fontId:parseInt(e.attributes.fontId,10),fillId:parseInt(e.attributes.fillId,10),borderId:parseInt(e.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(e.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(e),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):"xf"!==e}}},{"../base-xform":32,"./alignment-xform":126,"./protection-xform":133}],135:[function(e,t,n){"use strict";const r=e("../../../doc/enums"),i=e("../../../utils/xml-stream"),o=e("../base-xform"),a=e("../static-xform"),s=e("../list-xform"),l=e("./font-xform"),u=e("./fill-xform"),c=e("./border-xform"),d=e("./numfmt-xform"),h=e("./style-xform"),f=e("./dxf-xform");class p extends o{constructor(e){super(),this.map={numFmts:new s({tag:"numFmts",count:!0,childXform:new d}),fonts:new s({tag:"fonts",count:!0,childXform:new l,$:{"x14ac:knownFonts":1}}),fills:new s({tag:"fills",count:!0,childXform:new u}),borders:new s({tag:"borders",count:!0,childXform:new c}),cellStyleXfs:new s({tag:"cellStyleXfs",count:!0,childXform:new h}),cellXfs:new s({tag:"cellXfs",count:!0,childXform:new h({xfId:!0})}),dxfs:new s({tag:"dxfs",always:!0,count:!0,childXform:new f}),numFmt:new d,font:new l,fill:new u,border:new c,style:new h({xfId:!0}),cellStyles:p.STATIC_XFORMS.cellStyles,tableStyles:p.STATIC_XFORMS.tableStyles,extLst:p.STATIC_XFORMS.extLst},e&&this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render(e,t){t=t||this.model,e.openXml(i.StdDocAttributes),e.openNode("styleSheet",p.STYLESHEET_ATTRIBUTES),this.index?(t.numFmts&&t.numFmts.length&&(e.openNode("numFmts",{count:t.numFmts.length}),t.numFmts.forEach(t=>{e.writeXml(t)}),e.closeNode()),t.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),e.openNode("fonts",{count:t.fonts.length,"x14ac:knownFonts":1}),t.fonts.forEach(t=>{e.writeXml(t)}),e.closeNode(),e.openNode("fills",{count:t.fills.length}),t.fills.forEach(t=>{e.writeXml(t)}),e.closeNode(),e.openNode("borders",{count:t.borders.length}),t.borders.forEach(t=>{e.writeXml(t)}),e.closeNode(),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),e.openNode("cellXfs",{count:t.styles.length}),t.styles.forEach(t=>{e.writeXml(t)}),e.closeNode()):(this.map.numFmts.render(e,t.numFmts),this.map.fonts.render(e,t.fonts),this.map.fills.render(e,t.fills),this.map.borders.render(e,t.borders),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(e,t.styles)),p.STATIC_XFORMS.cellStyles.render(e),this.map.dxfs.render(e,t.dxfs),p.STATIC_XFORMS.tableStyles.render(e),p.STATIC_XFORMS.extLst.render(e),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"styleSheet":{this.model={};const e=(e,t)=>{t.model&&t.model.length&&(this.model[e]=t.model)};if(e("numFmts",this.map.numFmts),e("fonts",this.map.fonts),e("fills",this.map.fills),e("borders",this.map.borders),e("styles",this.map.cellXfs),e("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){const e=this.index.numFmt;this.model.numFmts.forEach(t=>{e[t.id]=t.formatCode})}return!1}default:return!0}}addStyleModel(e,t){if(!e)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(e))return this.weakMap.get(e);const n={};if(t=t||r.ValueType.Number,e.numFmt)n.numFmtId=this._addNumFmtStr(e.numFmt);else switch(t){case r.ValueType.Number:n.numFmtId=this._addNumFmtStr("General");break;case r.ValueType.Date:n.numFmtId=this._addNumFmtStr("mm-dd-yy")}e.font&&(n.fontId=this._addFont(e.font)),e.border&&(n.borderId=this._addBorder(e.border)),e.fill&&(n.fillId=this._addFill(e.fill)),e.alignment&&(n.alignment=e.alignment),e.protection&&(n.protection=e.protection);const i=this._addStyle(n);return this.weakMap&&this.weakMap.set(e,i),i}getStyleModel(e){const t=this.model.styles[e];if(!t)return null;let n=this.index.model[e];if(n)return n;if(n=this.index.model[e]={},t.numFmtId){const e=this.index.numFmt[t.numFmtId]||d.getDefaultFmtCode(t.numFmtId);e&&(n.numFmt=e)}function r(e,t,r){if(r||0===r){const i=t[r];i&&(n[e]=i)}}return r("font",this.model.fonts,t.fontId),r("border",this.model.borders,t.borderId),r("fill",this.model.fills,t.fillId),t.alignment&&(n.alignment=t.alignment),t.protection&&(n.protection=t.protection),n}addDxfStyle(e){return e.numFmt&&(e.numFmtId=this._addNumFmtStr(e.numFmt)),this.model.dxfs.push(e),this.model.dxfs.length-1}getDxfStyle(e){return this.model.dxfs[e]}_addStyle(e){const t=this.map.style.toXml(e);let n=this.index.style[t];return void 0===n&&(n=this.index.style[t]=this.model.styles.length,this.model.styles.push(t)),n}_addNumFmtStr(e){let t=d.getDefaultFmtId(e);if(void 0!==t)return t;if(t=this.index.numFmt[e],void 0!==t)return t;t=this.index.numFmt[e]=164+this.model.numFmts.length;const n=this.map.numFmt.toXml({id:t,formatCode:e});return this.model.numFmts.push(n),t}_addFont(e){const t=this.map.font.toXml(e);let n=this.index.font[t];return void 0===n&&(n=this.index.font[t]=this.model.fonts.length,this.model.fonts.push(t)),n}_addBorder(e){const t=this.map.border.toXml(e);let n=this.index.border[t];return void 0===n&&(n=this.index.border[t]=this.model.borders.length,this.model.borders.push(t)),n}_addFill(e){const t=this.map.fill.toXml(e);let n=this.index.fill[t];return void 0===n&&(n=this.index.fill[t]=this.model.fills.length,this.model.fills.push(t)),n}}p.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},p.STATIC_XFORMS={cellStyles:new a({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new a({tag:"dxfs",$:{count:0}}),tableStyles:new a({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new a({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})},p.Mock=class extends p{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream(e){return e.autodrain(),Promise.resolve()}addStyleModel(e,t){switch(t){case r.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){const e={numFmtId:d.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(e)}return this._dateStyleId}getStyleModel(){return{}}},t.exports=p},{"../../../doc/enums":7,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./border-xform":127,"./dxf-xform":129,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./style-xform":134}],136:[function(e,t,n){"use strict";const r=e("../base-xform");class i extends r{constructor(e){super(),this.model=e}get tag(){return"u"}render(e,t){if(!0===(t=t||this.model))e.leafNode("u");else{const n=i.Attributes[t];n&&e.leafNode("u",n)}}parseOpen(e){"u"===e.name&&(this.model=e.attributes.val||!0)}parseText(){}parseClose(){return!1}}i.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},t.exports=i},{"../base-xform":32}],137:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("./filter-column-xform");t.exports=class extends r{constructor(){super(),this.map={filterColumn:new i}}get tag(){return"autoFilter"}prepare(e){e.columns.forEach((e,t)=>{this.map.filterColumn.prepare(e,{index:t})})}render(e,t){return e.openNode(this.tag,{ref:t.autoFilterRef}),t.columns.forEach(t=>{this.map.filterColumn.render(e,t)}),e.closeNode(),!0}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model={autoFilterRef:e.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}},{"../base-xform":32,"./filter-column-xform":139}],138:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"customFilter"}render(e,t){e.leafNode(this.tag,{val:t.val,operator:t.operator})}parseOpen(e){return e.name===this.tag&&(this.model={val:e.attributes.val,operator:e.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],139:[function(e,t,n){"use strict";const r=e("../base-xform"),i=e("../list-xform"),o=e("./custom-filter-xform"),a=e("./filter-xform");t.exports=class extends r{constructor(){super(),this.map={customFilters:new i({tag:"customFilters",count:!1,empty:!0,childXform:new o}),filters:new i({tag:"filters",count:!1,empty:!0,childXform:new a})}}get tag(){return"filterColumn"}prepare(e,t){e.colId=t.index.toString()}render(e,t){return t.customFilters?(e.openNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?"0":"1"}),this.map.customFilters.render(e,t.customFilters),e.closeNode(),!0):(e.leafNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?"0":"1"}),!0)}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;const{attributes:t}=e;switch(e.name){case this.tag:return this.model={filterButton:"0"===t.hiddenButton},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}},{"../base-xform":32,"../list-xform":71,"./custom-filter-xform":138,"./filter-xform":140}],140:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"filter"}render(e,t){e.leafNode(this.tag,{val:t.val})}parseOpen(e){return e.name===this.tag&&(this.model={val:e.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],141:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"tableColumn"}prepare(e,t){e.id=t.index+1}render(e,t){return e.leafNode(this.tag,{id:t.id.toString(),name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId}),!0}parseOpen(e){if(e.name===this.tag){const{attributes:t}=e;return this.model={name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],142:[function(e,t,n){"use strict";const r=e("../base-xform");t.exports=class extends r{get tag(){return"tableStyleInfo"}render(e,t){return e.leafNode(this.tag,{name:t.theme?t.theme:void 0,showFirstColumn:t.showFirstColumn?"1":"0",showLastColumn:t.showLastColumn?"1":"0",showRowStripes:t.showRowStripes?"1":"0",showColumnStripes:t.showColumnStripes?"1":"0"}),!0}parseOpen(e){if(e.name===this.tag){const{attributes:t}=e;return this.model={theme:t.name?t.name:null,showFirstColumn:"1"===t.showFirstColumn,showLastColumn:"1"===t.showLastColumn,showRowStripes:"1"===t.showRowStripes,showColumnStripes:"1"===t.showColumnStripes},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],143:[function(e,t,n){"use strict";const r=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("../list-xform"),a=e("./auto-filter-xform"),s=e("./table-column-xform"),l=e("./table-style-info-xform");class u extends i{constructor(){super(),this.map={autoFilter:new a,tableColumns:new o({tag:"tableColumns",count:!0,empty:!0,childXform:new s}),tableStyleInfo:new l}}prepare(e,t){this.map.autoFilter.prepare(e),this.map.tableColumns.prepare(e.columns,t)}get tag(){return"table"}render(e,t){e.openXml(r.StdDocAttributes),e.openNode(this.tag,{...u.TABLE_ATTRIBUTES,id:t.id,name:t.name,displayName:t.displayName||t.name,ref:t.tableRef,totalsRowCount:t.totalsRow?"1":void 0,totalsRowShown:t.totalsRow?void 0:"1",headerRowCount:t.headerRow?"1":"0"}),this.map.autoFilter.render(e,t),this.map.tableColumns.render(e,t.columns),this.map.tableStyleInfo.render(e,t.style),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;const{name:t,attributes:n}=e;switch(t){case this.tag:this.reset(),this.model={name:n.name,displayName:n.displayName||n.name,tableRef:n.ref,totalsRow:"1"===n.totalsRowCount,headerRow:"1"===n.headerRowCount};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((e,t)=>{this.model.columns[t].filterButton=e.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile(e,t){e.columns.forEach(e=>{void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId))})}}u.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},t.exports=u},{"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":137,"./table-column-xform":141,"./table-style-info-xform":142}],144:[function(e,t,n){(function(n,r){(function(){"use strict";const i=e("fs"),o=e("jszip"),{PassThrough:a}=e("readable-stream"),s=e("../utils/zip-stream"),l=e("../utils/stream-buf"),u=e("../utils/utils"),c=e("../utils/xml-stream"),{bufferToString:d}=e("../utils/browser-buffer-decode"),h=e("./xform/style/styles-xform"),f=e("./xform/core/core-xform"),p=e("./xform/strings/shared-strings-xform"),m=e("./xform/core/relationships-xform"),g=e("./xform/core/content-types-xform"),v=e("./xform/core/app-xform"),y=e("./xform/book/workbook-xform"),b=e("./xform/sheet/worksheet-xform"),_=e("./xform/drawing/drawing-xform"),w=e("./xform/table/table-xform"),x=e("./xform/comment/comments-xform"),k=e("./xform/comment/vml-notes-xform"),M=e("./xml/theme1");class S{constructor(e){this.workbook=e}async readFile(e,t){if(!await u.fs.exists(e))throw new Error("File not found: "+e);const n=i.createReadStream(e);try{const e=await this.read(n,t);return n.close(),e}catch(e){throw n.close(),e}}parseRels(e){return(new m).parseStream(e)}parseWorkbook(e){return(new y).parseStream(e)}parseSharedStrings(e){return(new p).parseStream(e)}reconcile(e,t){const n=new y,r=new b(t),i=new _,o=new w;n.reconcile(e);const a={media:e.media,mediaIndex:e.mediaIndex};Object.keys(e.drawings).forEach(t=>{const n=e.drawings[t],r=e.drawingRels[t];r&&(a.rels=r.reduce((e,t)=>(e[t.Id]=t,e),{}),(n.anchors||[]).forEach(e=>{const t=e.picture&&e.picture.hyperlinks;t&&a.rels[t.rId]&&(t.hyperlink=a.rels[t.rId].Target,delete t.rId)}),i.reconcile(n,a))});const s={styles:e.styles};Object.values(e.tables).forEach(e=>{o.reconcile(e,s)});const l={styles:e.styles,sharedStrings:e.sharedStrings,media:e.media,mediaIndex:e.mediaIndex,date1904:e.properties&&e.properties.date1904,drawings:e.drawings,comments:e.comments,tables:e.tables,vmlDrawings:e.vmlDrawings};e.worksheets.forEach(t=>{t.relationships=e.worksheetRels[t.sheetNo],r.reconcile(t,l)}),delete e.worksheetHash,delete e.worksheetRels,delete e.globalRels,delete e.sharedStrings,delete e.workbookRels,delete e.sheetDefs,delete e.styles,delete e.mediaIndex,delete e.drawings,delete e.drawingRels,delete e.vmlDrawings}async _processWorksheetEntry(e,t,n,r,i){const o=new b(r),a=await o.parseStream(e);a.sheetNo=n,t.worksheetHash[i]=a,t.worksheets.push(a)}async _processCommentEntry(e,t,n){const r=new x,i=await r.parseStream(e);t.comments[`../${n}.xml`]=i}async _processTableEntry(e,t,n){const r=new w,i=await r.parseStream(e);t.tables[`../tables/${n}.xml`]=i}async _processWorksheetRelsEntry(e,t,n){const r=new m,i=await r.parseStream(e);t.worksheetRels[n]=i}async _processMediaEntry(e,t,n){const r=n.lastIndexOf(".");if(r>=1){const i=n.substr(r+1),o=n.substr(0,r);await new Promise((r,a)=>{const s=new l;s.on("finish",()=>{t.mediaIndex[n]=t.media.length,t.mediaIndex[o]=t.media.length;const e={type:"image",name:o,extension:i,buffer:s.toBuffer()};t.media.push(e),r()}),e.on("error",e=>{a(e)}),e.pipe(s)})}}async _processDrawingEntry(e,t,n){const r=new _,i=await r.parseStream(e);t.drawings[n]=i}async _processDrawingRelsEntry(e,t,n){const r=new m,i=await r.parseStream(e);t.drawingRels[n]=i}async _processVmlDrawingEntry(e,t,n){const r=new k,i=await r.parseStream(e);t.vmlDrawings[`../drawings/${n}.vml`]=i}async _processThemeEntry(e,t,n){await new Promise((r,i)=>{const o=new l;e.on("error",i),o.on("error",i),o.on("finish",()=>{t.themes[n]=o.read().toString(),r()}),e.pipe(o)})}createInputStream(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read(e,t){!e[Symbol.asyncIterator]&&e.pipe&&(e=e.pipe(new a));const n=[];for await(const r of e)n.push(r);return this.load(r.concat(n),t)}async load(e,t){let i;i=t&&t.base64?r.from(e.toString(),"base64"):e;const s={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},l=await o.loadAsync(i);for(const r of Object.values(l.files))if(!r.dir){let e,i=r.name;if("/"===i[0]&&(i=i.substr(1)),i.match(/xl\/media\//)||i.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))e=new a,e.write(await r.async("nodebuffer"));else{let t;e=new a({writableObjectMode:!0,readableObjectMode:!0}),t=n.browser?d(await r.async("nodebuffer")):await r.async("string");const i=16384;for(let n=0;n<t.length;n+=i)e.write(t.substring(n,n+i))}switch(e.end(),i){case"_rels/.rels":s.globalRels=await this.parseRels(e);break;case"xl/workbook.xml":{const t=await this.parseWorkbook(e);s.sheets=t.sheets,s.definedNames=t.definedNames,s.views=t.views,s.properties=t.properties,s.calcProperties=t.calcProperties;break}case"xl/_rels/workbook.xml.rels":s.workbookRels=await this.parseRels(e);break;case"xl/sharedStrings.xml":s.sharedStrings=new p,await s.sharedStrings.parseStream(e);break;case"xl/styles.xml":s.styles=new h,await s.styles.parseStream(e);break;case"docProps/app.xml":{const t=new v,n=await t.parseStream(e);s.company=n.company,s.manager=n.manager;break}case"docProps/core.xml":{const t=new f,n=await t.parseStream(e);Object.assign(s,n);break}default:{let n=i.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(n){await this._processWorksheetEntry(e,s,n[1],t,i);break}if(n=i.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),n){await this._processWorksheetRelsEntry(e,s,n[1]);break}if(n=i.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),n){await this._processThemeEntry(e,s,n[1]);break}if(n=i.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),n){await this._processMediaEntry(e,s,n[1]);break}if(n=i.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),n){await this._processDrawingEntry(e,s,n[1]);break}if(n=i.match(/xl\/(comments\d+)[.]xml/),n){await this._processCommentEntry(e,s,n[1]);break}if(n=i.match(/xl\/tables\/(table\d+)[.]xml/),n){await this._processTableEntry(e,s,n[1]);break}if(n=i.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),n){await this._processDrawingRelsEntry(e,s,n[1]);break}if(n=i.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),n){await this._processVmlDrawingEntry(e,s,n[1]);break}}}}return this.reconcile(s,t),this.workbook.model=s,this.workbook}async addMedia(e,t){await Promise.all(t.media.map(async t=>{if("image"===t.type){const n=`xl/media/${t.name}.${t.extension}`;if(t.filename){const r=await function(e,t){return new Promise((n,r)=>{i.readFile(e,t,(e,t)=>{e?r(e):n(t)})})}(t.filename);return e.append(r,{name:n})}if(t.buffer)return e.append(t.buffer,{name:n});if(t.base64){const r=t.base64,i=r.substring(r.indexOf(",")+1);return e.append(i,{name:n,base64:!0})}}throw new Error("Unsupported media")}))}addDrawings(e,t){const n=new _,r=new m;t.worksheets.forEach(t=>{const{drawing:i}=t;if(i){n.prepare(i,{});let t=n.toXml(i);e.append(t,{name:`xl/drawings/${i.name}.xml`}),t=r.toXml(i.rels),e.append(t,{name:`xl/drawings/_rels/${i.name}.xml.rels`})}})}addTables(e,t){const n=new w;t.worksheets.forEach(t=>{const{tables:r}=t;r.forEach(t=>{n.prepare(t,{});const r=n.toXml(t);e.append(r,{name:"xl/tables/"+t.target})})})}async addContentTypes(e,t){const n=(new g).toXml(t);e.append(n,{name:"[Content_Types].xml"})}async addApp(e,t){const n=(new v).toXml(t);e.append(n,{name:"docProps/app.xml"})}async addCore(e,t){const n=new f;e.append(n.toXml(t),{name:"docProps/core.xml"})}async addThemes(e,t){const n=t.themes||{theme1:M};Object.keys(n).forEach(t=>{const r=n[t],i=`xl/theme/${t}.xml`;e.append(r,{name:i})})}async addOfficeRels(e){const t=(new m).toXml([{Id:"rId1",Type:S.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:S.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:S.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);e.append(t,{name:"_rels/.rels"})}async addWorkbookRels(e,t){let n=1;const r=[{Id:"rId"+n++,Type:S.RelType.Styles,Target:"styles.xml"},{Id:"rId"+n++,Type:S.RelType.Theme,Target:"theme/theme1.xml"}];t.sharedStrings.count&&r.push({Id:"rId"+n++,Type:S.RelType.SharedStrings,Target:"sharedStrings.xml"}),t.worksheets.forEach(e=>{e.rId="rId"+n++,r.push({Id:e.rId,Type:S.RelType.Worksheet,Target:`worksheets/sheet${e.id}.xml`})});const i=(new m).toXml(r);e.append(i,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings(e,t){t.sharedStrings&&t.sharedStrings.count&&e.append(t.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles(e,t){const{xml:n}=t.styles;n&&e.append(n,{name:"xl/styles.xml"})}async addWorkbook(e,t){const n=new y;e.append(n.toXml(t),{name:"xl/workbook.xml"})}async addWorksheets(e,t){const n=new b,r=new m,i=new x,o=new k;t.worksheets.forEach(t=>{let a=new c;n.render(a,t),e.append(a.xml,{name:`xl/worksheets/sheet${t.id}.xml`}),t.rels&&t.rels.length&&(a=new c,r.render(a,t.rels),e.append(a.xml,{name:`xl/worksheets/_rels/sheet${t.id}.xml.rels`})),t.comments.length>0&&(a=new c,i.render(a,t),e.append(a.xml,{name:`xl/comments${t.id}.xml`}),a=new c,o.render(a,t),e.append(a.xml,{name:`xl/drawings/vmlDrawing${t.id}.vml`}))})}_finalize(e){return new Promise((t,n)=>{e.on("finish",()=>{t(this)}),e.on("error",n),e.finalize()})}prepareModel(e,t){e.creator=e.creator||"ExcelJS",e.lastModifiedBy=e.lastModifiedBy||"ExcelJS",e.created=e.created||new Date,e.modified=e.modified||new Date,e.useSharedStrings=void 0===t.useSharedStrings||t.useSharedStrings,e.useStyles=void 0===t.useStyles||t.useStyles,e.sharedStrings=new p,e.styles=e.useStyles?new h(!0):new h.Mock;const n=new y,r=new b;n.prepare(e);const i={sharedStrings:e.sharedStrings,styles:e.styles,date1904:e.properties.date1904,drawingsCount:0,media:e.media};i.drawings=e.drawings=[],i.commentRefs=e.commentRefs=[];let o=0;e.tables=[],e.worksheets.forEach(t=>{t.tables.forEach(t=>{o++,t.target=`table${o}.xml`,t.id=o,e.tables.push(t)}),r.prepare(t,i)})}async write(e,t){t=t||{};const{model:n}=this.workbook,r=new s.ZipWriter(t.zip);return r.pipe(e),this.prepareModel(n,t),await this.addContentTypes(r,n),await this.addOfficeRels(r,n),await this.addWorkbookRels(r,n),await this.addWorksheets(r,n),await this.addSharedStrings(r,n),await this.addDrawings(r,n),await this.addTables(r,n),await Promise.all([this.addThemes(r,n),this.addStyles(r,n)]),await this.addMedia(r,n),await Promise.all([this.addApp(r,n),this.addCore(r,n)]),await this.addWorkbook(r,n),this._finalize(r)}writeFile(e,t){const n=i.createWriteStream(e);return new Promise((e,r)=>{n.on("finish",()=>{e()}),n.on("error",e=>{r(e)}),this.write(n,t).then(()=>{n.end()}).catch(e=>{r(e)})})}async writeBuffer(e){const t=new l;return await this.write(t,e),t.read()}}S.RelType=e("./rel-type"),t.exports=S}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":24,"../utils/utils":27,"../utils/xml-stream":28,"../utils/zip-stream":29,"./rel-type":31,"./xform/book/workbook-xform":38,"./xform/comment/comments-xform":40,"./xform/comment/vml-notes-xform":45,"./xform/core/app-xform":51,"./xform/core/content-types-xform":52,"./xform/core/core-xform":53,"./xform/core/relationships-xform":55,"./xform/drawing/drawing-xform":62,"./xform/sheet/worksheet-xform":115,"./xform/strings/shared-strings-xform":124,"./xform/style/styles-xform":135,"./xform/table/table-xform":143,"./xml/theme1":145,_process:467,buffer:220,fs:216,jszip:441,"readable-stream":491}],145:[function(e,t,n){"use strict";t.exports='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>'},{}],146:[function(e,t,n){(function(t){(function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CsvFormatterStream=void 0;const r=e("stream"),i=e("./formatter");class o extends r.Transform{constructor(e){super({writableObjectMode:e.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=e,this.rowFormatter=new i.RowFormatter(e),this.hasWrittenBOM=!e.writeBOM}transform(e){return this.rowFormatter.rowTransform=e,this}_transform(e,n,r){let i=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(e,(e,n)=>e?(i=!0,r(e)):(n&&n.forEach(e=>{this.push(t.from(e,"utf8"))}),i=!0,r()))}catch(e){if(i)throw e;r(e)}}_flush(e){this.rowFormatter.finish((n,r)=>n?e(n):(r&&r.forEach(e=>{this.push(t.from(e,"utf8"))}),e()))}}n.CsvFormatterStream=o}).call(this)}).call(this,e("buffer").Buffer)},{"./formatter":150,buffer:220,stream:505}],147:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.FormatterOptions=void 0,n.FormatterOptions=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;this.objectMode=!0,this.delimiter=",",this.rowDelimiter="\n",this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\ufeff",this.alwaysWriteHeaders=!1,Object.assign(this,e||{}),void 0===(null==e?void 0:e.quoteHeaders)&&(this.quoteHeaders=this.quoteColumns),!0===(null==e?void 0:e.quote)?this.quote='"':!1===(null==e?void 0:e.quote)&&(this.quote=""),"string"!=typeof(null==e?void 0:e.escape)&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&(null===(t=e.writeHeaders)||void 0===t||t),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.FieldFormatter=void 0;const i=r(e("lodash.isboolean")),o=r(e("lodash.isnil")),a=r(e("lodash.escaperegexp"));n.FieldFormatter=class{constructor(e){this._headers=null,this.formatterOptions=e,null!==e.headers&&(this.headers=e.headers),this.REPLACE_REGEXP=new RegExp(e.quote,"g");const t=`[${e.delimiter}${a.default(e.rowDelimiter)}|\r|\n]`;this.ESCAPE_REGEXP=new RegExp(t)}set headers(e){this._headers=e}shouldQuote(e,t){const n=t?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return i.default(n)?n:Array.isArray(n)?n[e]:null!==this._headers&&n[this._headers[e]]}format(e,t,n){const r=(""+(o.default(e)?"":e)).replace(/\0/g,""),{formatterOptions:i}=this;return""!==i.quote&&-1!==r.indexOf(i.quote)?this.quoteField(r.replace(this.REPLACE_REGEXP,i.escapedQuote)):-1!==r.search(this.ESCAPE_REGEXP)||this.shouldQuote(t,n)?this.quoteField(r):r}quoteField(e){const{quote:t}=this.formatterOptions;return`${t}${e}${t}`}}},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.RowFormatter=void 0;const i=r(e("lodash.isfunction")),o=r(e("lodash.isequal")),a=e("./FieldFormatter"),s=e("../types");class l{constructor(e){this.rowCount=0,this.formatterOptions=e,this.fieldFormatter=new a.FieldFormatter(e),this.headers=e.headers,this.shouldWriteHeaders=e.shouldWriteHeaders,this.hasWrittenHeaders=!1,null!==this.headers&&(this.fieldFormatter.headers=this.headers),e.transform&&(this.rowTransform=e.transform)}static isRowHashArray(e){return!!Array.isArray(e)&&Array.isArray(e[0])&&2===e[0].length}static isRowArray(e){return Array.isArray(e)&&!this.isRowHashArray(e)}static gatherHeaders(e){return l.isRowHashArray(e)?e.map(e=>e[0]):Array.isArray(e)?e:Object.keys(e)}static createTransform(e){return s.isSyncTransform(e)?(t,n)=>{let r=null;try{r=e(t)}catch(e){return n(e)}return n(null,r)}:(t,n)=>{e(t,n)}}set rowTransform(e){if(!i.default(e))throw new TypeError("The transform should be a function");this._rowTransform=l.createTransform(e)}format(e,t){this.callTransformer(e,(n,r)=>{if(n)return t(n);if(!e)return t(null);const i=[];if(r){const{shouldFormatColumns:e,headers:t}=this.checkHeaders(r);if(this.shouldWriteHeaders&&t&&!this.hasWrittenHeaders&&(i.push(this.formatColumns(t,!0)),this.hasWrittenHeaders=!0),e){const e=this.gatherColumns(r);i.push(this.formatColumns(e,!1))}}return t(null,i)})}finish(e){const t=[];if(this.formatterOptions.alwaysWriteHeaders&&0===this.rowCount){if(!this.headers)return e(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));t.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&t.push(this.formatterOptions.rowDelimiter),e(null,t)}checkHeaders(e){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};const t=l.gatherHeaders(e);return this.headers=t,this.fieldFormatter.headers=t,this.shouldWriteHeaders?{shouldFormatColumns:!o.default(t,e),headers:t}:{shouldFormatColumns:!0,headers:null}}gatherColumns(e){if(null===this.headers)throw new Error("Headers is currently null");return Array.isArray(e)?l.isRowHashArray(e)?this.headers.map((t,n)=>{const r=e[n];return r?r[1]:""}):l.isRowArray(e)&&!this.shouldWriteHeaders?e:this.headers.map((t,n)=>e[n]):this.headers.map(t=>e[t])}callTransformer(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}formatColumns(e,t){const n=e.map((e,n)=>this.fieldFormatter.format(e,n,t)).join(this.formatterOptions.delimiter),{rowCount:r}=this;return this.rowCount+=1,r?[this.formatterOptions.rowDelimiter,n].join(""):n}}n.RowFormatter=l},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.FieldFormatter=n.RowFormatter=void 0;var r=e("./RowFormatter");Object.defineProperty(n,"RowFormatter",{enumerable:!0,get:function(){return r.RowFormatter}});var i=e("./FieldFormatter");Object.defineProperty(n,"FieldFormatter",{enumerable:!0,get:function(){return i.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(e,t,n){(function(t){(function(){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.writeToPath=n.writeToString=n.writeToBuffer=n.writeToStream=n.write=n.format=n.FormatterOptions=n.CsvFormatterStream=void 0;const s=e("util"),l=e("stream"),u=o(e("fs")),c=e("./FormatterOptions"),d=e("./CsvFormatterStream");a(e("./types"),n);var h=e("./CsvFormatterStream");Object.defineProperty(n,"CsvFormatterStream",{enumerable:!0,get:function(){return h.CsvFormatterStream}});var f=e("./FormatterOptions");Object.defineProperty(n,"FormatterOptions",{enumerable:!0,get:function(){return f.FormatterOptions}}),n.format=e=>new d.CsvFormatterStream(new c.FormatterOptions(e)),n.write=(e,t)=>{const r=n.format(t),i=s.promisify((e,t)=>{r.write(e,void 0,t)});return e.reduce((e,t)=>e.then(()=>i(t)),Promise.resolve()).then(()=>r.end()).catch(e=>{r.emit("error",e)}),r},n.writeToStream=(e,t,r)=>n.write(t,r).pipe(e),n.writeToBuffer=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=[],o=new l.Writable({write(e,t,n){i.push(e),n()}});return new Promise((a,s)=>{o.on("error",s).on("finish",()=>a(t.concat(i))),n.write(e,r).pipe(o)})},n.writeToString=(e,t)=>n.writeToBuffer(e,t).then(e=>e.toString()),n.writeToPath=(e,t,r)=>{const i=u.createWriteStream(e,{encoding:"utf8"});return n.write(t,r).pipe(i)}}).call(this)}).call(this,e("buffer").Buffer)},{"./CsvFormatterStream":146,"./FormatterOptions":147,"./types":152,buffer:220,fs:216,stream:505,util:527}],152:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isSyncTransform=void 0,n.isSyncTransform=e=>1===e.length},{}],153:[function(e,t,n){(function(t){(function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CsvParserStream=void 0;const r=e("string_decoder"),i=e("stream"),o=e("./transforms"),a=e("./parser");class s extends i.Transform{constructor(e){super({objectMode:e.objectMode}),this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=e,this.parser=new a.Parser(e),this.headerTransformer=new o.HeaderTransformer(e),this.decoder=new r.StringDecoder(e.encoding),this.rowTransformerValidator=new o.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform(e){return this.rowTransformerValidator.rowTransform=e,this}validate(e){return this.rowTransformerValidator.rowValidator=e,this}emit(e){if("end"===e)return this.endEmitted||(this.endEmitted=!0,super.emit("end",this.rowCount)),!1;for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return super.emit(e,...n)}_transform(e,t,n){if(this.hasHitRowLimit)return n();const r=s.wrapDoneCallback(n);try{const{lines:t}=this,n=t+this.decoder.write(e),i=this.parse(n,!0);return this.processRows(i,r)}catch(e){return r(e)}}_flush(e){const t=s.wrapDoneCallback(e);if(this.hasHitRowLimit)return t();try{const e=this.lines+this.decoder.end(),n=this.parse(e,!1);return this.processRows(n,t)}catch(e){return t(e)}}parse(e,t){if(!e)return[];const{line:n,rows:r}=this.parser.parse(e,t);return this.lines=n,r}processRows(e,n){const r=e.length,i=o=>{const a=e=>e?n(e):o%100!=0?i(o+1):void t(()=>i(o+1));if(this.checkAndEmitHeaders(),o>=r||this.hasHitRowLimit)return n();if(this.parsedLineCount+=1,this.shouldSkipLine)return a();const s=e[o];this.rowCount+=1,this.parsedRowCount+=1;const l=this.rowCount;return this.transformRow(s,(e,t)=>{if(e)return this.rowCount-=1,a(e);if(!t)return a(new Error("expected transform result"));if(t.isValid){if(t.row)return this.pushRow(t.row,a)}else this.emit("data-invalid",t.row,l,t.reason);return a()})};i(0)}transformRow(e,t){try{this.headerTransformer.transform(e,(n,r)=>n?t(n):r?r.isValid?r.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(r.row,t):this.skipRow(t):(this.rowCount-=1,this.parsedRowCount-=1,t(null,{row:null,isValid:!0})):this.shouldEmitRows?t(null,{isValid:!1,row:e}):this.skipRow(t):t(new Error("Expected result from header transform")))}catch(e){t(e)}}checkAndEmitHeaders(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}skipRow(e){return this.rowCount-=1,e(null,{row:null,isValid:!0})}pushRow(e,t){try{this.parserOptions.objectMode?this.push(e):this.push(JSON.stringify(e)),t()}catch(e){t(e)}}static wrapDoneCallback(e){let t=!1;return function(n){if(n){if(t)throw n;return t=!0,void e(n)}for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];e(...i)}}}n.CsvParserStream=s}).call(this)}).call(this,e("timers").setImmediate)},{"./parser":165,"./transforms":168,stream:505,string_decoder:218,timers:523}],154:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.ParserOptions=void 0;const i=r(e("lodash.escaperegexp")),o=r(e("lodash.isnil"));n.ParserOptions=class{constructor(e){var t;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,e||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=i.default(this.delimiter),this.escapeChar=null!==(t=this.escape)&&void 0!==t?t:this.quote,this.supportsComments=!o.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0&&(this.limitRows=!0)}}},{"lodash.escaperegexp":442,"lodash.isnil":447}],155:[function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.parseString=n.parseFile=n.parseStream=n.parse=n.ParserOptions=n.CsvParserStream=void 0;const s=o(e("fs")),l=e("stream"),u=e("./ParserOptions"),c=e("./CsvParserStream");a(e("./types"),n);var d=e("./CsvParserStream");Object.defineProperty(n,"CsvParserStream",{enumerable:!0,get:function(){return d.CsvParserStream}});var h=e("./ParserOptions");Object.defineProperty(n,"ParserOptions",{enumerable:!0,get:function(){return h.ParserOptions}}),n.parse=e=>new c.CsvParserStream(new u.ParserOptions(e)),n.parseStream=(e,t)=>e.pipe(new c.CsvParserStream(new u.ParserOptions(t))),n.parseFile=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.createReadStream(e).pipe(new c.CsvParserStream(new u.ParserOptions(t)))},n.parseString=(e,t)=>{const n=new l.Readable;return n.push(e),n.push(null),n.pipe(new c.CsvParserStream(new u.ParserOptions(t)))}},{"./CsvParserStream":153,"./ParserOptions":154,"./types":169,fs:216,stream:505}],156:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Parser=void 0;const r=e("./Scanner"),i=e("./RowParser"),o=e("./Token");class a{constructor(e){this.parserOptions=e,this.rowParser=new i.RowParser(this.parserOptions)}static removeBOM(e){return e&&65279===e.charCodeAt(0)?e.slice(1):e}parse(e,t){const n=new r.Scanner({line:a.removeBOM(e),parserOptions:this.parserOptions,hasMoreData:t});return this.parserOptions.supportsComments?this.parseWithComments(n):this.parseWithoutComments(n)}parseWithoutComments(e){const t=[];let n=!0;for(;n;)n=this.parseRow(e,t);return{line:e.line,rows:t}}parseWithComments(e){const{parserOptions:t}=this,n=[];for(let r=e.nextCharacterToken;null!==r;r=e.nextCharacterToken)if(o.Token.isTokenComment(r,t)){if(null===e.advancePastLine())return{line:e.lineFromCursor,rows:n};if(!e.hasMoreCharacters)return{line:e.lineFromCursor,rows:n};e.truncateToCursor()}else if(!this.parseRow(e,n))break;return{line:e.line,rows:n}}parseRow(e,t){if(!e.nextNonSpaceToken)return!1;const n=this.rowParser.parse(e);return null!==n&&(this.parserOptions.ignoreEmpty&&i.RowParser.isEmptyRow(n)||t.push(n),!0)}}n.Parser=a},{"./RowParser":157,"./Scanner":158,"./Token":159}],157:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RowParser=void 0;const r=e("./column"),i=e("./Token");n.RowParser=class{constructor(e){this.parserOptions=e,this.columnParser=new r.ColumnParser(e)}static isEmptyRow(e){return""===e.join("").replace(/\s+/g,"")}parse(e){const{parserOptions:t}=this,{hasMoreData:n}=e,r=e,o=[];let a=this.getStartToken(r,o);for(;a;){if(i.Token.isTokenRowDelimiter(a))return r.advancePastToken(a),!r.hasMoreCharacters&&i.Token.isTokenCarriageReturn(a,t)&&n?null:(r.truncateToCursor(),o);if(!this.shouldSkipColumnParse(r,a,o)){const e=this.columnParser.parse(r);if(null===e)return null;o.push(e)}a=r.nextNonSpaceToken}return n?null:(r.truncateToCursor(),o)}getStartToken(e,t){const n=e.nextNonSpaceToken;return null!==n&&i.Token.isTokenDelimiter(n,this.parserOptions)?(t.push(""),e.nextNonSpaceToken):n}shouldSkipColumnParse(e,t,n){const{parserOptions:r}=this;if(i.Token.isTokenDelimiter(t,r)){e.advancePastToken(t);const o=e.nextCharacterToken;if(!e.hasMoreCharacters||null!==o&&i.Token.isTokenRowDelimiter(o))return n.push(""),!0;if(null!==o&&i.Token.isTokenDelimiter(o,r))return n.push(""),!0}return!1}}},{"./Token":159,"./column":164}],158:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Scanner=void 0;const r=e("./Token"),i=/((?:\r\n)|\n|\r)/;n.Scanner=class{constructor(e){this.cursor=0,this.line=e.line,this.lineLength=this.line.length,this.parserOptions=e.parserOptions,this.hasMoreData=e.hasMoreData,this.cursor=e.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){const{lineFromCursor:e}=this,t=this.parserOptions.NEXT_TOKEN_REGEXP;if(-1===e.search(t))return null;const n=t.exec(e);if(null==n)return null;const i=n[1],o=this.cursor+(n.index||0);return new r.Token({token:i,startCursor:o,endCursor:o+i.length-1})}get nextCharacterToken(){const{cursor:e,lineLength:t}=this;return t<=e?null:new r.Token({token:this.line[e],startCursor:e,endCursor:e})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){const e=i.exec(this.lineFromCursor);return e?(this.cursor+=(e.index||0)+e[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}advanceTo(e){return this.cursor=e,this}advanceToToken(e){return this.cursor=e.startCursor,this}advancePastToken(e){return this.cursor=e.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}},{"./Token":159}],159:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Token=void 0,n.Token=class{constructor(e){this.token=e.token,this.startCursor=e.startCursor,this.endCursor=e.endCursor}static isTokenRowDelimiter(e){const t=e.token;return"\r"===t||"\n"===t||"\r\n"===t}static isTokenCarriageReturn(e,t){return e.token===t.carriageReturn}static isTokenComment(e,t){return t.supportsComments&&!!e&&e.token===t.comment}static isTokenEscapeCharacter(e,t){return e.token===t.escapeChar}static isTokenQuote(e,t){return e.token===t.quote}static isTokenDelimiter(e,t){return e.token===t.delimiter}}},{}],160:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ColumnFormatter=void 0,n.ColumnFormatter=class{constructor(e){e.trim?this.format=e=>e.trim():e.ltrim?this.format=e=>e.trimLeft():e.rtrim?this.format=e=>e.trimRight():this.format=e=>e}}},{}],161:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ColumnParser=void 0;const r=e("./NonQuotedColumnParser"),i=e("./QuotedColumnParser"),o=e("../Token");n.ColumnParser=class{constructor(e){this.parserOptions=e,this.quotedColumnParser=new i.QuotedColumnParser(e),this.nonQuotedColumnParser=new r.NonQuotedColumnParser(e)}parse(e){const{nextNonSpaceToken:t}=e;return null!==t&&o.Token.isTokenQuote(t,this.parserOptions)?(e.advanceToToken(t),this.quotedColumnParser.parse(e)):this.nonQuotedColumnParser.parse(e)}}},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.NonQuotedColumnParser=void 0;const r=e("./ColumnFormatter"),i=e("../Token");n.NonQuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new r.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;const{parserOptions:t}=this,n=[];let r=e.nextCharacterToken;for(;r&&!i.Token.isTokenDelimiter(r,t)&&!i.Token.isTokenRowDelimiter(r);r=e.nextCharacterToken)n.push(r.token),e.advancePastToken(r);return this.columnFormatter.format(n.join(""))}}},{"../Token":159,"./ColumnFormatter":160}],163:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.QuotedColumnParser=void 0;const r=e("./ColumnFormatter"),i=e("../Token");n.QuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new r.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;const t=e.cursor,{foundClosingQuote:n,col:r}=this.gatherDataBetweenQuotes(e);if(!n){if(e.advanceTo(t),!e.hasMoreData)throw new Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${e.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn(e),r}gatherDataBetweenQuotes(e){const{parserOptions:t}=this;let n=!1,r=!1;const o=[];let a=e.nextCharacterToken;for(;!r&&null!==a;a=e.nextCharacterToken){const s=i.Token.isTokenQuote(a,t);if(!n&&s)n=!0;else if(n)if(i.Token.isTokenEscapeCharacter(a,t)){e.advancePastToken(a);const n=e.nextCharacterToken;null!==n&&(i.Token.isTokenQuote(n,t)||i.Token.isTokenEscapeCharacter(n,t))?(o.push(n.token),a=n):s?r=!0:o.push(a.token)}else s?r=!0:o.push(a.token);e.advancePastToken(a)}return{col:this.columnFormatter.format(o.join("")),foundClosingQuote:r}}checkForMalformedColumn(e){const{parserOptions:t}=this,{nextNonSpaceToken:n}=e;if(n){const r=i.Token.isTokenDelimiter(n,t),o=i.Token.isTokenRowDelimiter(n);if(!r&&!o){const r=e.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error(`Parse Error: expected: '${t.escapedDelimiter}' OR new line got: '${n.token}'. at '${r}`)}e.advanceToToken(n)}else e.hasMoreData||e.advancePastLine()}}},{"../Token":159,"./ColumnFormatter":160}],164:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ColumnFormatter=n.QuotedColumnParser=n.NonQuotedColumnParser=n.ColumnParser=void 0;var r=e("./ColumnParser");Object.defineProperty(n,"ColumnParser",{enumerable:!0,get:function(){return r.ColumnParser}});var i=e("./NonQuotedColumnParser");Object.defineProperty(n,"NonQuotedColumnParser",{enumerable:!0,get:function(){return i.NonQuotedColumnParser}});var o=e("./QuotedColumnParser");Object.defineProperty(n,"QuotedColumnParser",{enumerable:!0,get:function(){return o.QuotedColumnParser}});var a=e("./ColumnFormatter");Object.defineProperty(n,"ColumnFormatter",{enumerable:!0,get:function(){return a.ColumnFormatter}})},{"./ColumnFormatter":160,"./ColumnParser":161,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],165:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.QuotedColumnParser=n.NonQuotedColumnParser=n.ColumnParser=n.Token=n.Scanner=n.RowParser=n.Parser=void 0;var r=e("./Parser");Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return r.Parser}});var i=e("./RowParser");Object.defineProperty(n,"RowParser",{enumerable:!0,get:function(){return i.RowParser}});var o=e("./Scanner");Object.defineProperty(n,"Scanner",{enumerable:!0,get:function(){return o.Scanner}});var a=e("./Token");Object.defineProperty(n,"Token",{enumerable:!0,get:function(){return a.Token}});var s=e("./column");Object.defineProperty(n,"ColumnParser",{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(n,"NonQuotedColumnParser",{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(n,"QuotedColumnParser",{enumerable:!0,get:function(){return s.QuotedColumnParser}})},{"./Parser":156,"./RowParser":157,"./Scanner":158,"./Token":159,"./column":164}],166:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.HeaderTransformer=void 0;const i=r(e("lodash.isundefined")),o=r(e("lodash.isfunction")),a=r(e("lodash.uniq")),s=r(e("lodash.groupby"));n.HeaderTransformer=class{constructor(e){this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=e,!0===e.headers?this.shouldUseFirstRow=!0:Array.isArray(e.headers)?this.setHeaders(e.headers):o.default(e.headers)&&(this.headersTransform=e.headers)}transform(e,t){return this.shouldMapRow(e)?t(null,this.processRow(e)):t(null,{row:null,isValid:!0})}shouldMapRow(e){const{parserOptions:t}=this;if(!this.headersTransform&&t.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(e)){if(this.headersTransform)this.setHeaders(this.headersTransform(e));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(e)}return!1}return!0}processRow(e){if(!this.headers)return{row:e,isValid:!0};const{parserOptions:t}=this;if(!t.discardUnmappedColumns&&e.length>this.headersLength){if(!t.strictColumnHandling)throw new Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${e.length}`);return{row:e,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${e.length}`}}return t.strictColumnHandling&&e.length<this.headersLength?{row:e,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${e.length}`}:{row:this.mapHeaders(e),isValid:!0}}mapHeaders(e){const t={},{headers:n,headersLength:r}=this;for(let o=0;o<r;o+=1){const r=n[o];if(!i.default(r)){const n=e[o];i.default(n)?t[r]="":t[r]=n}}return t}setHeaders(e){var t;const n=e.filter(e=>!!e);if(a.default(n).length!==n.length){const e=s.default(n),t=Object.keys(e).filter(t=>e[t].length>1);throw new Error("Duplicate headers found "+JSON.stringify(t))}this.headers=e,this.receivedHeaders=!0,this.headersLength=(null===(t=this.headers)||void 0===t?void 0:t.length)||0}}},{"lodash.groupby":443,"lodash.isfunction":446,"lodash.isundefined":448,"lodash.uniq":449}],167:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.RowTransformerValidator=void 0;const i=r(e("lodash.isfunction")),o=e("../types");class a{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform(e){return o.isSyncTransform(e)?(t,n)=>{let r=null;try{r=e(t)}catch(e){return n(e)}return n(null,r)}:e}static createValidator(e){return o.isSyncValidate(e)?(t,n)=>{n(null,{row:t,isValid:e(t)})}:(t,n)=>{e(t,(e,r,i)=>e?n(e):n(null,r?{row:t,isValid:r,reason:i}:{row:t,isValid:!1,reason:i}))}}set rowTransform(e){if(!i.default(e))throw new TypeError("The transform should be a function");this._rowTransform=a.createTransform(e)}set rowValidator(e){if(!i.default(e))throw new TypeError("The validate should be a function");this._rowValidator=a.createValidator(e)}transformAndValidate(e,t){return this.callTransformer(e,(e,n)=>e?t(e):n?this.callValidator(n,(e,r)=>e?t(e):r&&!r.isValid?t(null,{row:n,isValid:!1,reason:r.reason}):t(null,{row:n,isValid:!0})):t(null,{row:null,isValid:!0}))}callTransformer(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}callValidator(e,t){return this._rowValidator?this._rowValidator(e,t):t(null,{row:e,isValid:!0})}}n.RowTransformerValidator=a},{"../types":169,"lodash.isfunction":446}],168:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.HeaderTransformer=n.RowTransformerValidator=void 0;var r=e("./RowTransformerValidator");Object.defineProperty(n,"RowTransformerValidator",{enumerable:!0,get:function(){return r.RowTransformerValidator}});var i=e("./HeaderTransformer");Object.defineProperty(n,"HeaderTransformer",{enumerable:!0,get:function(){return i.HeaderTransformer}})},{"./HeaderTransformer":166,"./RowTransformerValidator":167}],169:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isSyncValidate=n.isSyncTransform=void 0,n.isSyncTransform=e=>1===e.length,n.isSyncValidate=e=>1===e.length},{}],170:[function(e,t,n){"use strict";const r=n;r.bignum=e("bn.js"),r.define=e("./asn1/api").define,r.base=e("./asn1/base"),r.constants=e("./asn1/constants"),r.decoders=e("./asn1/decoders"),r.encoders=e("./asn1/encoders")},{"./asn1/api":171,"./asn1/base":173,"./asn1/constants":177,"./asn1/decoders":179,"./asn1/encoders":182,"bn.js":184}],171:[function(e,t,n){"use strict";const r=e("./encoders"),i=e("./decoders"),o=e("inherits");function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}n.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){const t=this.name;function n(e){this._initNamed(e,t)}return o(n,e),n.prototype._initNamed=function(t,n){e.call(this,t,n)},new n(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i[e])),this.decoders[e]},a.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r[e])),this.encoders[e]},a.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},{"./decoders":179,"./encoders":182,inherits:440}],172:[function(e,t,n){"use strict";const r=e("inherits"),i=e("../base/reporter").Reporter,o=e("safer-buffer").Buffer;function a(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return s.isEncoderBuffer(e)||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(a,i),n.DecoderBuffer=a,a.isDecoderBuffer=function(e){return e instanceof a||"object"==typeof e&&o.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){const t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},n.EncoderBuffer=s,s.isEncoderBuffer=function(e){return e instanceof s||"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},s.prototype.join=function(e,t){return e||(e=o.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},{"../base/reporter":175,inherits:440,"safer-buffer":495}],173:[function(e,t,n){"use strict";const r=n;r.Reporter=e("./reporter").Reporter,r.DecoderBuffer=e("./buffer").DecoderBuffer,r.EncoderBuffer=e("./buffer").EncoderBuffer,r.Node=e("./node")},{"./buffer":172,"./node":174,"./reporter":175}],174:[function(e,t,n){"use strict";const r=e("../base/reporter").Reporter,i=e("../base/buffer").EncoderBuffer,o=e("../base/buffer").DecoderBuffer,a=e("minimalistic-assert"),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(e,t,n){const r={};this._baseState=r,r.name=n,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=u;const c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){const e=this._baseState,t={};c.forEach((function(n){t[n]=e[n]}));const n=new this.constructor(t.parent);return n._baseState=t,n},u.prototype._wrap=function(){const e=this._baseState;l.forEach((function(t){this[t]=function(){const n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},u.prototype._init=function(e){const t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){const t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(a(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);const r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){u.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){u.prototype[e]=function(){const t=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(n),this}})),u.prototype.use=function(e){a(e);const t=this._baseState;return a(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){const t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){const t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){const t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){const t=this._baseState;return a(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){const t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},u.prototype.contains=function(e){const t=this._baseState;return a(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){const n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));let r,i=n.default,a=!0,s=null;if(null!==n.key&&(s=e.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(a=this._peekTag(e,r,n.any),e.isError(a))return a}else{const r=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(r)}}if(n.obj&&a&&(r=e.enterObject()),a){if(null!==n.explicit){const t=this._decodeTag(e,n.explicit);if(e.isError(t))return t;e=t}const r=e.offset;if(null===n.use&&null===n.choice){let t;n.any&&(t=e.save());const r=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(r))return r;n.any?i=e.raw(t):e=r}if(t&&t.track&&null!==n.tag&&t.track(e.path(),r,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(r,t)}}return n.obj&&a&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,n.key,i),i},u.prototype._decodeGeneric=function(e,t,n){const r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){const n=this._baseState;return n.useDecoder=this._use(e,t),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},u.prototype._decodeChoice=function(e,t){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(o){const a=e.save(),s=n.choice[o];try{const n=s._decode(e,t);if(e.isError(n))return!1;r={type:o,value:n},i=!0}catch(t){return e.restore(a),!1}return!0}),this),i?r:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.prototype._encode=function(e,t,n){const r=this._baseState;if(null!==r.default&&r.default===e)return;const i=this._encodeValue(e,t,n);return void 0===i||this._skipDefault(i,t,n)?void 0:i},u.prototype._encodeValue=function(e,t,n){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);let o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}let a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,n)._encode(e,t),s=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");const r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(n){const r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),n))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){const e=null!==i.implicit?i.implicit:i.tag,n=null===i.implicit?"universal":"context";null===e?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(e,s,n,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){const n=this._baseState,r=n.choice[e.type];return r||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){const n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},{"../base/buffer":172,"../base/reporter":175,"minimalistic-assert":453}],175:[function(e,t,n){"use strict";const r=e("inherits");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}n.Reporter=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){const r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){const t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){let t;const n=this._reporterState,r=e instanceof o;if(t=r?e:new o(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:440}],176:[function(e,t,n){"use strict";function r(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t}n.tagClass={0:"universal",1:"application",2:"context",3:"private"},n.tagClassByName=r(n.tagClass),n.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},n.tagByName=r(n.tag)},{}],177:[function(e,t,n){"use strict";const r=n;r._reverse=function(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t},r.der=e("./der")},{"./der":176}],178:[function(e,t,n){"use strict";const r=e("inherits"),i=e("bn.js"),o=e("../base/buffer").DecoderBuffer,a=e("../base/node"),s=e("../constants/der");function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.call(this,"der",e)}function c(e,t){let n=e.readUInt8(t);if(e.isError(n))return n;const r=s.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){let r=n;for(n=0;128==(128&r);){if(r=e.readUInt8(t),e.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function d(e,t,n){let r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;const i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(let o=0;o<i;o++){r<<=8;const t=e.readUInt8(n);if(e.isError(t))return t;r|=t}return r}t.exports=l,l.prototype.decode=function(e,t){return o.isDecoderBuffer(e)||(e=new o(e,t)),this.tree._decode(e,t)},r(u,a),u.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;const r=e.save(),i=c(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||n)},u.prototype._decodeTag=function(e,t,n){const r=c(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;let i=d(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');const o=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){const n=c(e,t);if(e.isError(n))return n;const r=d(e,n.primitive,t);if(e.isError(r))return r;let i;if(i=n.primitive||null!==r?e.skip(r):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===n.tagStr)break}},u.prototype._decodeList=function(e,t,n,r){const i=[];for(;!e.isEmpty();){const t=this._peekTag(e,"end");if(e.isError(t))return t;const o=n.decode(e,"der",r);if(e.isError(o)&&t)break;i.push(o)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){const t=e.readUInt8();return e.isError(t)?t:{unused:t,data:e.raw()}}if("bmpstr"===t){const t=e.raw();if(t.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");let n="";for(let e=0;e<t.length/2;e++)n+=String.fromCharCode(t.readUInt16BE(2*e));return n}if("numstr"===t){const t=e.raw().toString("ascii");return this._isNumstr(t)?t:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){const t=e.raw().toString("ascii");return this._isPrintstr(t)?t:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,n){let r;const i=[];let o=0,a=0;for(;!e.isEmpty();)a=e.readUInt8(),o<<=7,o|=127&a,0==(128&a)&&(i.push(o),o=0);128&a&&i.push(o);const s=i[0]/40|0,l=i[0]%40;if(r=n?i:[s,l].concat(i.slice(1)),t){let e=t[r.join(" ")];void 0===e&&(e=t[r.join(".")]),void 0!==e&&(r=e)}return r},u.prototype._decodeTime=function(e,t){const n=e.raw().toString();let r,i,o,a,s,l;if("gentime"===t)r=0|n.slice(0,4),i=0|n.slice(4,6),o=0|n.slice(6,8),a=0|n.slice(8,10),s=0|n.slice(10,12),l=0|n.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),o=0|n.slice(4,6),a=0|n.slice(6,8),s=0|n.slice(8,10),l=0|n.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,a,s,l,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(e){const t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){const n=e.raw();let r=new i(n);return t&&(r=t[r.toString(10)]||r),r},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../base/buffer":172,"../base/node":174,"../constants/der":176,"bn.js":184,inherits:440}],179:[function(e,t,n){"use strict";const r=n;r.der=e("./der"),r.pem=e("./pem")},{"./der":178,"./pem":180}],180:[function(e,t,n){"use strict";const r=e("inherits"),i=e("safer-buffer").Buffer,o=e("./der");function a(e){o.call(this,e),this.enc="pem"}r(a,o),t.exports=a,a.prototype.decode=function(e,t){const n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/;let s=-1,l=-1;for(let i=0;i<n.length;i++){const e=n[i].match(a);if(null!==e&&e[2]===r){if(-1!==s){if("END"!==e[1])break;l=i;break}if("BEGIN"!==e[1])break;s=i}}if(-1===s||-1===l)throw new Error("PEM section not found for: "+r);const u=n.slice(s+1,l).join("");u.replace(/[^a-z0-9+/=]+/gi,"");const c=i.from(u,"base64");return o.prototype.decode.call(this,c,t)}},{"./der":178,inherits:440,"safer-buffer":495}],181:[function(e,t,n){"use strict";const r=e("inherits"),i=e("safer-buffer").Buffer,o=e("../base/node"),a=e("../constants/der");function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.call(this,"der",e)}function u(e){return e<10?"0"+e:e}t.exports=s,s.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(l,o),l.prototype._encodeComposite=function(e,t,n,r){const o=function(e,t,n,r){let i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),a.tagByName.hasOwnProperty(e))i=a.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}return i>=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=a.tagClassByName[n||"universal"]<<6,i)}(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let s=1;for(let i=r.length;i>=256;i>>=8)s++;const l=i.alloc(2+s);l[0]=o,l[1]=128|s;for(let i=1+s,a=r.length;a>0;i--,a>>=8)l[i]=255&a;return this._createEncoderBuffer([l,r])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n<e.length;n++)t.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(t)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},l.prototype._encodeObjid=function(e,t,n){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(let t=0;t<e.length;t++)e[t]|=0}else if(Array.isArray(e)){e=e.slice();for(let t=0;t<e.length;t++)e[t]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let i=0;i<e.length;i++){let t=e[i];for(r++;t>=128;t>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let i=e.length-1;i>=0;i--){let t=e[i];for(o[a--]=127&t;(t>>=7)>0;)o[a--]=128|127&t}return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[u(r.getUTCFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(r.getUTCFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let i=e;i>=256;i>>=8)n++;const r=new Array(n);for(let i=r.length-1;i>=0;i--)r[i]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i<o.length;i++)if(o[i]!==r.defaultBuffer[i])return!1;return!0}},{"../base/node":174,"../constants/der":176,inherits:440,"safer-buffer":495}],182:[function(e,t,n){"use strict";const r=n;r.der=e("./der"),r.pem=e("./pem")},{"./der":181,"./pem":183}],183:[function(e,t,n){"use strict";const r=e("inherits"),i=e("./der");function o(e){i.call(this,e),this.enc="pem"}r(o,i),t.exports=o,o.prototype.encode=function(e,t){const n=i.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"];for(let i=0;i<n.length;i+=64)r.push(n.slice(i,i+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},{"./der":181,inherits:440}],184:[function(e,t,n){"use strict";!function(t,n){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"==typeof t?t.exports=o:(void 0).BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function s(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c<s;c+=r)l=u(e,c,c+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var u=1;u<r;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}n.words[u]=0|d,l=0|c}return 0!==l?n.words[u]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!==(o=s>>>24-i&16777215)||a!==this.length-1?c[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?m+n:c[u-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a<r.length;a++)o=(t=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<n.length;a++)o=(t=(0|n.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,n){var r,i,o,a=e.words,s=t.words,l=n.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],_=8191&b,w=b>>>13,x=0|a[4],k=8191&x,M=x>>>13,S=0|a[5],C=8191&S,T=S>>>13,O=0|a[6],L=8191&O,A=O>>>13,D=0|a[7],E=8191&D,I=D>>>13,j=0|a[8],P=8191&j,R=j>>>13,N=0|a[9],B=8191&N,Y=N>>>13,F=0|s[0],z=8191&F,H=F>>>13,V=0|s[1],W=8191&V,U=V>>>13,$=0|s[2],G=8191&$,q=$>>>13,X=0|s[3],K=8191&X,Z=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(u+(r=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,H))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,H))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,H))+Math.imul(m,z)|0,o=Math.imul(m,H);var ve=(u+(r=r+Math.imul(d,W)|0)|0)+((8191&(i=(i=i+Math.imul(d,U)|0)+Math.imul(h,W)|0))<<13)|0;u=((o=o+Math.imul(h,U)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,H))+Math.imul(y,z)|0,o=Math.imul(y,H),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,U)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,U)|0;var ye=(u+(r=r+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,q)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,q)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(_,z),i=(i=Math.imul(_,H))+Math.imul(w,z)|0,o=Math.imul(w,H),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,U)|0)+Math.imul(y,W)|0,o=o+Math.imul(y,U)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,q)|0;var be=(u+(r=r+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,H))+Math.imul(M,z)|0,o=Math.imul(M,H),r=r+Math.imul(_,W)|0,i=(i=i+Math.imul(_,U)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,U)|0,r=r+Math.imul(v,G)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,q)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var _e=(u+(r=r+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(C,z),i=(i=Math.imul(C,H))+Math.imul(T,z)|0,o=Math.imul(T,H),r=r+Math.imul(k,W)|0,i=(i=i+Math.imul(k,U)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,U)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(u+(r=r+Math.imul(d,ne)|0)|0)+((8191&(i=(i=i+Math.imul(d,re)|0)+Math.imul(h,ne)|0))<<13)|0;u=((o=o+Math.imul(h,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(L,z),i=(i=Math.imul(L,H))+Math.imul(A,z)|0,o=Math.imul(A,H),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,U)|0)+Math.imul(T,W)|0,o=o+Math.imul(T,U)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var xe=(u+(r=r+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(E,z),i=(i=Math.imul(E,H))+Math.imul(I,z)|0,o=Math.imul(I,H),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,U)|0)+Math.imul(A,W)|0,o=o+Math.imul(A,U)|0,r=r+Math.imul(C,G)|0,i=(i=i+Math.imul(C,q)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var ke=(u+(r=r+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(P,z),i=(i=Math.imul(P,H))+Math.imul(R,z)|0,o=Math.imul(R,H),r=r+Math.imul(E,W)|0,i=(i=i+Math.imul(E,U)|0)+Math.imul(I,W)|0,o=o+Math.imul(I,U)|0,r=r+Math.imul(L,G)|0,i=(i=i+Math.imul(L,q)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,q)|0,r=r+Math.imul(C,K)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,Z)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Me=(u+(r=r+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,z),i=(i=Math.imul(B,H))+Math.imul(Y,z)|0,o=Math.imul(Y,H),r=r+Math.imul(P,W)|0,i=(i=i+Math.imul(P,U)|0)+Math.imul(R,W)|0,o=o+Math.imul(R,U)|0,r=r+Math.imul(E,G)|0,i=(i=i+Math.imul(E,q)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,r=r+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,r=r+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var Se=(u+(r=r+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,U))+Math.imul(Y,W)|0,o=Math.imul(Y,U),r=r+Math.imul(P,G)|0,i=(i=i+Math.imul(P,q)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,q)|0,r=r+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(w,le)|0,o=o+Math.imul(w,ue)|0,r=r+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,G),i=(i=Math.imul(B,q))+Math.imul(Y,G)|0,o=Math.imul(Y,q),r=r+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,Z)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(L,ne)|0,i=(i=i+Math.imul(L,re)|0)+Math.imul(A,ne)|0,o=o+Math.imul(A,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(M,le)|0,o=o+Math.imul(M,ue)|0,r=r+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0;var Te=(u+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,K),i=(i=Math.imul(B,Z))+Math.imul(Y,K)|0,o=Math.imul(Y,Z),r=r+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(L,oe)|0,i=(i=i+Math.imul(L,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,r=r+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,r=r+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0;var Oe=(u+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;u=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(Y,Q)|0,o=Math.imul(Y,ee),r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(L,le)|0,i=(i=i+Math.imul(L,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,r=r+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Le=(u+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(M,pe)|0))<<13)|0;u=((o=o+Math.imul(M,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,ne),i=(i=Math.imul(B,re))+Math.imul(Y,ne)|0,o=Math.imul(Y,re),r=r+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,r=r+Math.imul(E,le)|0,i=(i=i+Math.imul(E,ue)|0)+Math.imul(I,le)|0,o=o+Math.imul(I,ue)|0,r=r+Math.imul(L,de)|0,i=(i=i+Math.imul(L,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Ae=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(Y,oe)|0,o=Math.imul(Y,ae),r=r+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,r=r+Math.imul(E,de)|0,i=(i=i+Math.imul(E,he)|0)+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0;var De=(u+(r=r+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(Y,le)|0,o=Math.imul(Y,ue),r=r+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ee=(u+(r=r+Math.imul(E,pe)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(I,pe)|0))<<13)|0;u=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(Y,de)|0,o=Math.imul(Y,he);var Ie=(u+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var je=(u+(r=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(Y,pe)|0))<<13)|0;return u=((o=Math.imul(Y,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,l[0]=ge,l[1]=ve,l[2]=ye,l[3]=be,l[4]=_e,l[5]=we,l[6]=xe,l[7]=ke,l[8]=Me,l[9]=Se,l[10]=Ce,l[11]=Te,l[12]=Oe,l[13]=Le,l[14]=Ae,l[15]=De,l[16]=Ee,l[17]=Ie,l[18]=je,0!==u&&(l[19]=u,n.length++),n};function m(e,t,n){return(new g).mulp(e,t,n)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):m(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},g.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},g.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a<o;a++)r[a]=t[e[a]],i[a]=n[e[a]]},g.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=n[c+f],m=r[c+f],g=n[c+f+a],v=r[c+f+a],y=d*g-h*v;v=d*v+h*g,g=y,n[c+f]=p+g,r[c+f]=m+v,n[c+f+a]=p-g,r[c+f+a]=m-v,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},g.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},g.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),u=new Array(r),c=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,u,r),this.transform(a,o,s,l,r,i),this.transform(u,o,c,d,r,i);for(var f=0;f<r;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,r),this.transform(s,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<n;this.words[t]=l|a,a=s>>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,a=e.length+n;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=r.clone()._ishlnsubmul(i,1,l);0===c.negative&&(r=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|r.words[i.length+d])+(0|r.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),r._ishlnsubmul(i,h,d);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(i,1,d),r.isZero()||(r.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var c=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(l)):(n.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,c=1;0==(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0==(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(n.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(b,y),b.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r<n;r++)t.words[r]=e.words[r];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,r=10;r<e.length;r++){var o=0|e.words[r];e.words[r-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(_,y),i(w,y),i(x,y),x.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new _;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return v[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var v=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(v),d=v.redSqr(),f=f.redMul(d),p=g}return h},k.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},k.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),r=t.length-1;r>=0;r--){for(var u=t.words[r],c=l-1;c>=0;c--){var d=u>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===r&&0===c)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new M(e)},i(M,k),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)},{buffer:188}],185:[function(e,t,n){"use strict";n.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},n.toByteArray=function(e){var t,n,r=u(e),a=r[0],s=r[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(e,a,a+16383>s?s:a+16383));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],186:[function(e,t,n){"use strict";!function(t,n){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"==typeof t?t.exports=o:(void 0).BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function s(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function l(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function u(e,t,n,i){for(var o=0,a=0,s=Math.min(e.length,n),l=t;l<s;l++){var u=e.charCodeAt(l)-48;o*=i,a=u>=49?u-49+10:u>=17?u-17+10:u,r(u>=0&&a<i,"Invalid character"),o+=a}return o}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c<s;c+=r)l=u(e,c,c+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this._strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){c(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var u=1;u<r;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}n.words[u]=0|d,l=0|c}return 0!==l?n.words[u]=0|l:n.length--,n._strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),n=0!==o||a!==this.length-1?h[6-l.length]+l+n:l+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],c=p[e];n="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modrn(c).toString(e);n=(d=d.idivn(c)).isZero()?m+n:h[u-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;e[n++]=255&a,n<e.length&&(e[n++]=a>>8&255),n<e.length&&(e[n++]=a>>16&255),6===o?(n<e.length&&(e[n++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;e[n--]=255&a,n>=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a<r.length;a++)o=(t=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<n.length;a++)o=(t=(0|n.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,n){var r,i,o,a=e.words,s=t.words,l=n.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],_=8191&b,w=b>>>13,x=0|a[4],k=8191&x,M=x>>>13,S=0|a[5],C=8191&S,T=S>>>13,O=0|a[6],L=8191&O,A=O>>>13,D=0|a[7],E=8191&D,I=D>>>13,j=0|a[8],P=8191&j,R=j>>>13,N=0|a[9],B=8191&N,Y=N>>>13,F=0|s[0],z=8191&F,H=F>>>13,V=0|s[1],W=8191&V,U=V>>>13,$=0|s[2],G=8191&$,q=$>>>13,X=0|s[3],K=8191&X,Z=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(u+(r=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,H))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,H))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,H))+Math.imul(m,z)|0,o=Math.imul(m,H);var ve=(u+(r=r+Math.imul(d,W)|0)|0)+((8191&(i=(i=i+Math.imul(d,U)|0)+Math.imul(h,W)|0))<<13)|0;u=((o=o+Math.imul(h,U)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,H))+Math.imul(y,z)|0,o=Math.imul(y,H),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,U)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,U)|0;var ye=(u+(r=r+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,q)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,q)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(_,z),i=(i=Math.imul(_,H))+Math.imul(w,z)|0,o=Math.imul(w,H),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,U)|0)+Math.imul(y,W)|0,o=o+Math.imul(y,U)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,q)|0;var be=(u+(r=r+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,H))+Math.imul(M,z)|0,o=Math.imul(M,H),r=r+Math.imul(_,W)|0,i=(i=i+Math.imul(_,U)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,U)|0,r=r+Math.imul(v,G)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,q)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var _e=(u+(r=r+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(C,z),i=(i=Math.imul(C,H))+Math.imul(T,z)|0,o=Math.imul(T,H),r=r+Math.imul(k,W)|0,i=(i=i+Math.imul(k,U)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,U)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(u+(r=r+Math.imul(d,ne)|0)|0)+((8191&(i=(i=i+Math.imul(d,re)|0)+Math.imul(h,ne)|0))<<13)|0;u=((o=o+Math.imul(h,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(L,z),i=(i=Math.imul(L,H))+Math.imul(A,z)|0,o=Math.imul(A,H),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,U)|0)+Math.imul(T,W)|0,o=o+Math.imul(T,U)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var xe=(u+(r=r+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(E,z),i=(i=Math.imul(E,H))+Math.imul(I,z)|0,o=Math.imul(I,H),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,U)|0)+Math.imul(A,W)|0,o=o+Math.imul(A,U)|0,r=r+Math.imul(C,G)|0,i=(i=i+Math.imul(C,q)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var ke=(u+(r=r+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(P,z),i=(i=Math.imul(P,H))+Math.imul(R,z)|0,o=Math.imul(R,H),r=r+Math.imul(E,W)|0,i=(i=i+Math.imul(E,U)|0)+Math.imul(I,W)|0,o=o+Math.imul(I,U)|0,r=r+Math.imul(L,G)|0,i=(i=i+Math.imul(L,q)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,q)|0,r=r+Math.imul(C,K)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,Z)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Me=(u+(r=r+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,z),i=(i=Math.imul(B,H))+Math.imul(Y,z)|0,o=Math.imul(Y,H),r=r+Math.imul(P,W)|0,i=(i=i+Math.imul(P,U)|0)+Math.imul(R,W)|0,o=o+Math.imul(R,U)|0,r=r+Math.imul(E,G)|0,i=(i=i+Math.imul(E,q)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,r=r+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,r=r+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var Se=(u+(r=r+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,U))+Math.imul(Y,W)|0,o=Math.imul(Y,U),r=r+Math.imul(P,G)|0,i=(i=i+Math.imul(P,q)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,q)|0,r=r+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(w,le)|0,o=o+Math.imul(w,ue)|0,r=r+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,G),i=(i=Math.imul(B,q))+Math.imul(Y,G)|0,o=Math.imul(Y,q),r=r+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,Z)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(L,ne)|0,i=(i=i+Math.imul(L,re)|0)+Math.imul(A,ne)|0,o=o+Math.imul(A,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(M,le)|0,o=o+Math.imul(M,ue)|0,r=r+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0;var Te=(u+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,K),i=(i=Math.imul(B,Z))+Math.imul(Y,K)|0,o=Math.imul(Y,Z),r=r+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(L,oe)|0,i=(i=i+Math.imul(L,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,r=r+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,r=r+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0;var Oe=(u+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;u=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(Y,Q)|0,o=Math.imul(Y,ee),r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(L,le)|0,i=(i=i+Math.imul(L,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,r=r+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Le=(u+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(M,pe)|0))<<13)|0;u=((o=o+Math.imul(M,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,ne),i=(i=Math.imul(B,re))+Math.imul(Y,ne)|0,o=Math.imul(Y,re),r=r+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,r=r+Math.imul(E,le)|0,i=(i=i+Math.imul(E,ue)|0)+Math.imul(I,le)|0,o=o+Math.imul(I,ue)|0,r=r+Math.imul(L,de)|0,i=(i=i+Math.imul(L,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Ae=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(Y,oe)|0,o=Math.imul(Y,ae),r=r+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,r=r+Math.imul(E,de)|0,i=(i=i+Math.imul(E,he)|0)+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0;var De=(u+(r=r+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(Y,le)|0,o=Math.imul(Y,ue),r=r+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ee=(u+(r=r+Math.imul(E,pe)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(I,pe)|0))<<13)|0;u=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(Y,de)|0,o=Math.imul(Y,he);var Ie=(u+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var je=(u+(r=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(Y,pe)|0))<<13)|0;return u=((o=Math.imul(Y,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,l[0]=ge,l[1]=ve,l[2]=ye,l[3]=be,l[4]=_e,l[5]=we,l[6]=xe,l[7]=ke,l[8]=Me,l[9]=Se,l[10]=Ce,l[11]=Te,l[12]=Oe,l[13]=Le,l[14]=Ae,l[15]=De,l[16]=Ee,l[17]=Ie,l[18]=je,0!==u&&(l[19]=u,n.length++),n};function v(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(e,t,n){return v(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?v(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},b.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},b.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a<o;a++)r[a]=t[e[a]],i[a]=n[e[a]]},b.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=n[c+f],m=r[c+f],g=n[c+f+a],v=r[c+f+a],y=d*g-h*v;v=d*v+h*g,g=y,n[c+f]=p+g,r[c+f]=m+v,n[c+f+a]=p-g,r[c+f+a]=m-v,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},b.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},b.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},b.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,n,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},b.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},b.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),u=new Array(r),c=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,u,r),this.transform(a,o,s,l,r,i),this.transform(u,o,c,d,r,i);for(var f=0;f<r;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,r),this.transform(s,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),y(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<n;this.words[t]=l|a,a=s>>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,a=e.length+n;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=r.clone()._ishlnsubmul(i,1,l);0===c.negative&&(r=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|r.words[i.length+d])+(0|r.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),r._ishlnsubmul(i,h,d);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(i,1,d),r.isZero()||(r.negative^=1);s&&(s.words[d]=h)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var c=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(l)):(n.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,c=1;0==(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0==(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(n.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function x(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(x,w),x.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r<n;r++)t.words[r]=e.words[r];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,r=10;r<e.length;r++){var o=0|e.words[r];e.words[r-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},x.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(k,w),i(M,w),i(S,w),S.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new x;else if("p224"===e)t=new k;else if("p192"===e)t=new M;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return _[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var v=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(v),d=v.redSqr(),f=f.redMul(d),p=g}return h},C.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),r=t.length-1;r>=0;r--){for(var u=t.words[r],c=l-1;c>=0;c--){var d=u>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===r&&0===c)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new T(e)},i(T,C),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)},{buffer:188}],187:[function(e,t,n){"use strict";var r;function i(e){this.rand=e}if(t.exports=function(e){return r||(r=new i(null)),r.generate(e)},t.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n<t.length;n++)t[n]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=e("crypto");if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},{crypto:188}],188:[function(e,t,n){},{}],189:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function o(e){for(;0<e.length;e++)e[0]=0}function a(e,t,n,r,i){for(var o,a,s,l,u=n[0],c=n[1],d=n[2],h=n[3],f=e[0]^t[0],p=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],v=4,y=1;y<i;y++)o=u[f>>>24]^c[p>>>16&255]^d[m>>>8&255]^h[255&g]^t[v++],a=u[p>>>24]^c[m>>>16&255]^d[g>>>8&255]^h[255&f]^t[v++],s=u[m>>>24]^c[g>>>16&255]^d[f>>>8&255]^h[255&p]^t[v++],l=u[g>>>24]^c[f>>>16&255]^d[p>>>8&255]^h[255&m]^t[v++],f=o,p=a,m=s,g=l;return o=(r[f>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],a=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&f])^t[v++],s=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[f>>>8&255]<<8|r[255&p])^t[v++],l=(r[g>>>24]<<24|r[f>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],[o>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,n[a]=u,r[u]=a;var c=e[a],d=e[c],h=e[d],f=257*e[u]^16843008*u;i[0][a]=f<<24|f>>>8,i[1][a]=f<<16|f>>>16,i[2][a]=f<<8|f>>>24,i[3][a]=f,f=16843009*h^65537*d^257*c^16843008*a,o[0][u]=f<<24|f>>>8,o[1][u]=f<<16|f>>>16,o[2][u]=f<<8|f>>>24,o[3][u]=f,0===a?a=s=1:(a=c^e[e[e[h^c]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<r;o++){var a=i[o-1];o%t==0?(a=a<<8|a>>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t==4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),i[o]=i[o-t]^a}for(var u=[],c=0;c<r;c++){var d=r-c,h=i[d-(c%4?0:4)];u[c]=c<4||d<=4?h:l.INV_SUB_MIX[0][l.SBOX[h>>>24]]^l.INV_SUB_MIX[1][l.SBOX[h>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[h>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&h]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=u},{"safe-buffer":494}],190:[function(e,t,n){"use strict";var r=e("./aes"),i=e("safe-buffer").Buffer,o=e("cipher-base"),a=e("inherits"),s=e("./ghash"),l=e("buffer-xor"),u=e("./incr32");function c(e,t,n,a){o.call(this);var l=i.alloc(4,0);this._cipher=new r.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new s(c),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new s(n),o=t.length,a=o%16;r.update(t),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var l=8*o,c=i.alloc(8);c.writeUIntBE(l,0,8),r.update(c),e._finID=r.state;var d=i.from(e._finID);return u(d),d}(this,n,c),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(c,o),c.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)n+=e[i]^t[i];return n}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},c.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},c.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},c.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=c},{"./aes":189,"./ghash":194,"./incr32":195,"buffer-xor":219,"cipher-base":221,inherits:440,"safe-buffer":494}],191:[function(e,t,n){"use strict";var r=e("./encrypter"),i=e("./decrypter"),o=e("./modes/list.json");n.createCipher=n.Cipher=r.createCipher,n.createCipheriv=n.Cipheriv=r.createCipheriv,n.createDecipher=n.Decipher=i.createDecipher,n.createDecipheriv=n.Decipheriv=i.createDecipheriv,n.listCiphers=n.getCiphers=function(){return Object.keys(o)}},{"./decrypter":192,"./encrypter":193,"./modes/list.json":203}],192:[function(e,t,n){"use strict";var r=e("./authCipher"),i=e("safe-buffer").Buffer,o=e("./modes"),a=e("./streamCipher"),s=e("cipher-base"),l=e("./aes"),u=e("evp_bytestokey");function c(e,t,n){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new l.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function d(){this.cache=i.allocUnsafe(0)}function h(e,t,n){var s=o[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,n,!0):"auth"===s.type?new r(s.module,t,n,!0):new c(s.module,t,n)}e("inherits")(c,s),c.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var n=-1;++n<t;)if(e[n+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=i.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},n.createDecipher=function(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=u(t,!1,n.key,n.iv);return h(e,r.key,r.iv)},n.createDecipheriv=h},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],193:[function(e,t,n){"use strict";var r=e("./modes"),i=e("./authCipher"),o=e("safe-buffer").Buffer,a=e("./streamCipher"),s=e("cipher-base"),l=e("./aes"),u=e("evp_bytestokey");function c(e,t,n){s.call(this),this._cache=new h,this._cipher=new l.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}e("inherits")(c,s),c.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return o.concat(r)};var d=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function f(e,t,n){var s=r[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=o.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===s.type?new a(s.module,t,n):"auth"===s.type?new i(s.module,t,n):new c(s.module,t,n)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=o.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return o.concat([this.cache,t])},n.createCipheriv=f,n.createCipher=function(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=u(t,!1,n.key,n.iv);return f(e,i.key,i.iv)}},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],194:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.alloc(16,0);function o(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,n,r=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),t=3;t>0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},t.exports=a},{"safe-buffer":494}],195:[function(e,t,n){"use strict";t.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},{}],196:[function(e,t,n){"use strict";var r=e("buffer-xor");n.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},n.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},{"buffer-xor":219}],197:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("buffer-xor");function o(e,t,n){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:a]),a}n.encrypt=function(e,t,n){for(var i,a=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){a=r.concat([a,o(e,t,n)]);break}i=e._cache.length,a=r.concat([a,o(e,t.slice(0,i),n)]),t=t.slice(i)}return a}},{"buffer-xor":219,"safe-buffer":494}],198:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e,t,n){for(var r,i,a=-1,s=0;++a<8;)r=t&1<<7-a?128:0,s+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>a%8,e._prev=o(e._prev,n?r:i);return s}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<n;)o[i]=e[i]<<1|e[i+1]>>7;return o}n.encrypt=function(e,t,n){for(var o=t.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],n);return a}},{"safe-buffer":494}],199:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:i])]),i}n.encrypt=function(e,t,n){for(var o=t.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],n);return a}},{"safe-buffer":494}],200:[function(e,t,n){"use strict";var r=e("buffer-xor"),i=e("safe-buffer").Buffer,o=e("../incr32");function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}n.encrypt=function(e,t){var n=Math.ceil(t.length/16),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*n)]);for(var s=0;s<n;s++){var l=a(e),u=o+16*s;e._cache.writeUInt32BE(l[0],u+0),e._cache.writeUInt32BE(l[1],u+4),e._cache.writeUInt32BE(l[2],u+8),e._cache.writeUInt32BE(l[3],u+12)}var c=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,c)}},{"../incr32":195,"buffer-xor":219,"safe-buffer":494}],201:[function(e,t,n){"use strict";n.encrypt=function(e,t){return e._cipher.encryptBlock(t)},n.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],202:[function(e,t,n){"use strict";var r={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var o in i)i[o].module=r[i[o].mode];t.exports=i},{"./cbc":196,"./cfb":197,"./cfb1":198,"./cfb8":199,"./ctr":200,"./ecb":201,"./list.json":203,"./ofb":204}],203:[function(e,t,n){t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],204:[function(e,t,n){(function(t){(function(){"use strict";var r=e("buffer-xor");function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}n.encrypt=function(e,n){for(;e._cache.length<n.length;)e._cache=t.concat([e._cache,i(e)]);var o=e._cache.slice(0,n.length);return e._cache=e._cache.slice(n.length),r(n,o)}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220,"buffer-xor":219}],205:[function(e,t,n){"use strict";var r=e("./aes"),i=e("safe-buffer").Buffer,o=e("cipher-base");function a(e,t,n,a){o.call(this),this._cipher=new r.AES(t),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=e}e("inherits")(a,o),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},{"./aes":189,"cipher-base":221,inherits:440,"safe-buffer":494}],206:[function(e,t,n){"use strict";var r=e("browserify-des"),i=e("browserify-aes/browser"),o=e("browserify-aes/modes"),a=e("browserify-des/modes"),s=e("evp_bytestokey");function l(e,t,n){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function u(e,t,n){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}n.createCipher=n.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");n=8*a[e].key,r=a[e].iv}var i=s(t,!1,n,r);return l(e,i.key,i.iv)},n.createCipheriv=n.Cipheriv=l,n.createDecipher=n.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");n=8*a[e].key,r=a[e].iv}var i=s(t,!1,n,r);return u(e,i.key,i.iv)},n.createDecipheriv=n.Decipheriv=u,n.listCiphers=n.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},{"browserify-aes/browser":191,"browserify-aes/modes":202,"browserify-des":207,"browserify-des/modes":208,evp_bytestokey:423}],207:[function(e,t,n){"use strict";var r=e("cipher-base"),i=e("des.js"),o=e("inherits"),a=e("safe-buffer").Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function l(e){r.call(this);var t,n=e.mode.toLowerCase(),i=s[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var l=e.iv;a.isBuffer(l)||(l=a.from(l)),this._des=i.create({key:o,iv:l,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=l,o(l,r),l.prototype._update=function(e){return a.from(this._des.update(e))},l.prototype._final=function(){return a.from(this._des.final())}},{"cipher-base":221,"des.js":394,inherits:440,"safe-buffer":494}],208:[function(e,t,n){"use strict";n["des-ecb"]={key:8,iv:0},n["des-cbc"]=n.des={key:8,iv:8},n["des-ede3-cbc"]=n.des3={key:24,iv:8},n["des-ede3"]={key:24,iv:0},n["des-ede-cbc"]={key:16,iv:8},n["des-ede"]={key:16,iv:0}},{}],209:[function(e,t,n){(function(n){(function(){"use strict";var r=e("bn.js"),i=e("randombytes");function o(e){var t,n=e.modulus.byteLength();do{t=new r(i(n))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,t){var i=function(e){var t=o(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),a=t.modulus.byteLength(),s=new r(e).mul(i.blinder).umod(t.modulus),l=s.toRed(r.mont(t.prime1)),u=s.toRed(r.mont(t.prime2)),c=t.coefficient,d=t.prime1,h=t.prime2,f=l.redPow(t.exponent1).fromRed(),p=u.redPow(t.exponent2).fromRed(),m=f.isub(p).imul(c).umod(d).imul(h);return p.iadd(m).imul(i.unblinder).umod(t.modulus).toArrayLike(n,"be",a)}a.getr=o,t.exports=a}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":186,buffer:220,randombytes:475}],210:[function(e,t,n){"use strict";t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":211}],211:[function(e,t,n){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],212:[function(e,t,n){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],213:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("create-hash"),o=e("readable-stream"),a=e("inherits"),s=e("./sign"),l=e("./verify"),u=e("./algorithms.json");function c(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new c(e)}function f(e){return new d(e)}Object.keys(u).forEach((function(e){u[e].id=r.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),a(c,o.Writable),c.prototype._write=function(e,t,n){this._hash.update(e),n()},c.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},c.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=s(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},a(d,o.Writable),d.prototype._write=function(e,t,n){this._hash.update(e),n()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},d.prototype.verify=function(e,t,n){"string"==typeof t&&(t=r.from(t,n)),this.end();var i=this._hash.digest();return l(t,i,e,this._signType,this._tag)},t.exports={Sign:h,Verify:f,createSign:h,createVerify:f}},{"./algorithms.json":211,"./sign":214,"./verify":215,"create-hash":386,inherits:440,"readable-stream":491,"safe-buffer":494}],214:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("create-hmac"),o=e("browserify-rsa"),a=e("elliptic").ec,s=e("bn.js"),l=e("parse-asn1"),u=e("./curves.json");function c(e,t,n,o){if((e=r.from(e.toArray())).length<t.byteLength()){var a=r.alloc(t.byteLength()-e.length);e=r.concat([a,e])}var s=n.length,l=function(e,t){e=(e=d(e,t)).mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var i=r.alloc(t.byteLength()-n.length);n=r.concat([i,n])}return n}(n,t),u=r.alloc(s);u.fill(1);var c=r.alloc(s);return c=i(o,c).update(u).update(r.from([0])).update(e).update(l).digest(),u=i(o,c).update(u).digest(),{k:c=i(o,c).update(u).update(r.from([1])).update(e).update(l).digest(),v:u=i(o,c).update(u).digest()}}function d(e,t){var n=new s(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function h(e,t,n){var o,a;do{for(o=r.alloc(0);8*o.length<e.bitLength();)t.v=i(n,t.k).update(t.v).digest(),o=r.concat([o,t.v]);a=d(o,e),t.k=i(n,t.k).update(t.v).update(r.from([0])).digest(),t.v=i(n,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function f(e,t,n,r){return e.toRed(s.mont(n)).redPow(t).fromRed().mod(r)}t.exports=function(e,t,n,i,p){var m=l(t);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var n=u[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new a(n).keyFromPrivate(t.privateKey).sign(e);return r.from(i.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,n){for(var i,o=t.params.priv_key,a=t.params.p,l=t.params.q,u=t.params.g,p=new s(0),m=d(e,l).mod(l),g=!1,v=c(o,l,e,n);!1===g;)i=h(l,v,n),p=f(u,i,a,l),0===(g=i.invm(l).imul(m.add(o.mul(p))).mod(l)).cmpn(0)&&(g=!1,p=new s(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),r.from(n)}(p,g)}(e,m,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=r.concat([p,e]);for(var g=m.modulus.byteLength(),v=[0,1];e.length+v.length+1<g;)v.push(255);v.push(0);for(var y=-1;++y<e.length;)v.push(e[y]);return o(v,m)},t.exports.getKey=c,t.exports.makeKey=h},{"./curves.json":212,"bn.js":186,"browserify-rsa":209,"create-hmac":388,elliptic:405,"parse-asn1":459,"safe-buffer":494}],215:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("bn.js"),o=e("elliptic").ec,a=e("parse-asn1"),s=e("./curves.json");function l(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}t.exports=function(e,t,n,u,c){var d=a(n);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),a=n.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,t,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,o=n.data.q,s=n.data.g,u=n.data.pub_key,c=a.signature.decode(e,"der"),d=c.s,h=c.r;l(d,o),l(h,o);var f=i.mont(r),p=d.invm(o);return 0===s.toRed(f).redPow(new i(t).mul(p).mod(o)).fromRed().mul(u.toRed(f).redPow(h.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(h)}(e,t,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=r.concat([c,t]);for(var h=d.modulus.byteLength(),f=[1],p=0;t.length+f.length+2<h;)f.push(255),p++;f.push(0);for(var m=-1;++m<t.length;)f.push(t[m]);f=r.from(f);var g=i.mont(d.modulus);e=(e=new i(e).toRed(g)).redPow(new i(d.publicExponent)),e=r.from(e.fromRed().toArray());var v=p<8?1:0;for(h=Math.min(e.length,f.length),e.length!==f.length&&(v=1),m=-1;++m<h;)v|=e[m]^f[m];return 0===v}},{"./curves.json":212,"bn.js":186,elliptic:405,"parse-asn1":459,"safe-buffer":494}],216:[function(e,t,n){},{}],217:[function(e,t,n){"use strict";var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:220}],218:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":217}],219:[function(e,t,n){(function(e){(function(){"use strict";t.exports=function(t,n){for(var r=Math.min(t.length,n.length),i=new e(r),o=0;o<r;++o)i[o]=t[o]^n[o];return i}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220}],220:[function(e,t,n){(function(t){(function(){
  549. /*!
  550. * The buffer module from node.js, for the browser.
  551. *
  552. * @author Feross Aboukhadijeh <https://feross.org>
  553. * @license MIT
  554. */
  555. "use strict";var t=e("base64-js"),r=e("ieee754");function i(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return a(e,t,n)}function a(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|d(e,t),r=i(n),a=r.write(e,t);return a!==n&&(r=r.slice(0,a)),r}(e,t);if(ArrayBuffer.isView(e))return u(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer))return function(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),r.__proto__=o.prototype,r}(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return o.from(r,t,n);var a=function(e){if(o.isBuffer(e)){var t=0|c(e.length),n=i(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||Y(e.length)?i(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return s(e),i(e<0?0:0|c(e))}function u(e){for(var t=e.length<0?0:0|c(e.length),n=i(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function c(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function d(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return R(e).length;default:if(i)return r?-1:P(e).length;t=(""+t).toLowerCase(),i=!0}}function h(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return S(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function f(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function p(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Y(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return-1}function g(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(Y(s))return a;e[n+a]=s}return a}function v(e,t,n,r){return N(P(t,e.length-n),e,n,r)}function y(e,t,n,r){return N(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return y(e,t,n,r)}function _(e,t,n,r){return N(R(t),e,n,r)}function w(e,t,n,r){return N(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function x(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function M(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function S(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function C(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=j(e[o]);return i}function T(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function O(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function A(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,i,o){return t=+t,n>>>=0,o||A(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function E(e,t,n,i,o){return t=+t,n>>>=0,o||A(e,0,n,8),r.write(e,t,n,i,52,8),n+8}n.Buffer=o,n.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},n.INSPECT_MAX_BYTES=50,n.kMaxLength=2147483647,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),o.poolSize=8192,o.from=function(e,t,n){return a(e,t,n)},o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,o.alloc=function(e,t,n){return function(e,t,n){return s(e),e<=0?i(e):void 0!==t?"string"==typeof n?i(e).fill(t,n):i(e).fill(t):i(e)}(e,t,n)},o.allocUnsafe=function(e){return l(e)},o.allocUnsafeSlow=function(e){return l(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(B(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),B(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=o.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(B(a,Uint8Array)&&(a=o.from(a)),!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)f(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):h.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},o.prototype.compare=function(e,t,n,r,i){if(B(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),l=Math.min(a,s),u=this.slice(r,i),c=e.slice(t,n),d=0;d<l;++d)if(u[d]!==c[d]){a=u[d],s=c[d];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},o.prototype.indexOf=function(e,t,n){return p(this,e,t,n,!0)},o.prototype.lastIndexOf=function(e,t,n){return p(this,e,t,n,!1)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return g(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=o.prototype,r},o.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},o.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),r.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),r.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),r.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),r.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return E(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return E(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(!o.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var a=i-1;a>=0;--a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},o.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=o.isBuffer(e)?e:o.from(e,r),l=s.length;if(0===l)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=s[a%l]}return this};var I=/[^+/0-9A-Za-z-_]/g;function j(e){return e<16?"0"+e.toString(16):e.toString(16)}function P(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function R(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function B(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":185,buffer:220,ieee754:439}],221:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("stream").Transform,o=e("string_decoder").StringDecoder;function a(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("inherits")(a,i),a.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},t.exports=a},{inherits:440,"safe-buffer":494,stream:505,string_decoder:218}],222:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a function")}},{"../internals/is-callable":285,"../internals/try-to-string":349}],223:[function(e,t,n){"use strict";var r=e("../internals/is-constructor"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a constructor")}},{"../internals/is-constructor":286,"../internals/try-to-string":349}],224:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=String,o=TypeError;t.exports=function(e){if("object"==typeof e||r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},{"../internals/is-callable":285}],225:[function(e,t,n){"use strict";var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property").f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":306,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],226:[function(e,t,n){"use strict";var r=e("../internals/object-is-prototype-of"),i=TypeError;t.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},{"../internals/object-is-prototype-of":314}],227:[function(e,t,n){"use strict";var r=e("../internals/is-object"),i=String,o=TypeError;t.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not an object")}},{"../internals/is-object":289}],228:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/length-of-array-like":299,"../internals/to-absolute-index":340,"../internals/to-indexed-object":341}],229:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),a=e("../internals/to-object"),s=e("../internals/length-of-array-like"),l=e("../internals/array-species-create"),u=i([].push),c=function(e){var t=1===e,n=2===e,i=3===e,c=4===e,d=6===e,h=7===e,f=5===e||d;return function(p,m,g,v){for(var y,b,_=a(p),w=o(_),x=r(m,g),k=s(w),M=0,S=v||l,C=t?S(p,k):n||h?S(p,0):void 0;k>M;M++)if((f||M in w)&&(b=x(y=w[M],M,_),e))if(t)C[M]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return M;case 2:u(C,y)}else switch(e){case 4:return!1;case 7:u(C,y)}return d?-1:i||c?c:C}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},{"../internals/array-species-create":233,"../internals/function-bind-context":262,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/length-of-array-like":299,"../internals/to-object":344}],230:[function(e,t,n){"use strict";var r=e("../internals/to-absolute-index"),i=e("../internals/length-of-array-like"),o=e("../internals/create-property"),a=Array,s=Math.max;t.exports=function(e,t,n){for(var l=i(e),u=r(t,l),c=r(void 0===n?l:n,l),d=a(s(c-u,0)),h=0;u<c;u++,h++)o(d,h,e[u]);return d.length=h,d}},{"../internals/create-property":243,"../internals/length-of-array-like":299,"../internals/to-absolute-index":340}],231:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this");t.exports=r([].slice)},{"../internals/function-uncurry-this":268}],232:[function(e,t,n){"use strict";var r=e("../internals/is-array"),i=e("../internals/is-constructor"),o=e("../internals/is-object"),a=e("../internals/well-known-symbol")("species"),s=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},{"../internals/is-array":284,"../internals/is-constructor":286,"../internals/is-object":289,"../internals/well-known-symbol":357}],233:[function(e,t,n){"use strict";var r=e("../internals/array-species-constructor");t.exports=function(e,t){return new(r(e))(0===t?0:t)}},{"../internals/array-species-constructor":232}],234:[function(e,t,n){"use strict";var r=e("../internals/well-known-symbol")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}t.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},{"../internals/well-known-symbol":357}],235:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=r({}.toString),o=r("".slice);t.exports=function(e){return o(i(e),8,-1)}},{"../internals/function-uncurry-this":268}],236:[function(e,t,n){"use strict";var r=e("../internals/to-string-tag-support"),i=e("../internals/is-callable"),o=e("../internals/classof-raw"),a=e("../internals/well-known-symbol")("toStringTag"),s=Object,l="Arguments"===o(function(){return arguments}());t.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?o(t):"Object"===(r=o(t))&&i(t.callee)?"Arguments":r}},{"../internals/classof-raw":235,"../internals/is-callable":285,"../internals/to-string-tag-support":347,"../internals/well-known-symbol":357}],237:[function(e,t,n){"use strict";var r=e("../internals/has-own-property"),i=e("../internals/own-keys"),o=e("../internals/object-get-own-property-descriptor"),a=e("../internals/object-define-property");t.exports=function(e,t,n){for(var s=i(t),l=a.f,u=o.f,c=0;c<s.length;c++){var d=s[c];r(e,d)||n&&r(n,d)||l(e,d,u(t,d))}}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/own-keys":321}],238:[function(e,t,n){"use strict";var r=e("../internals/well-known-symbol")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},{"../internals/well-known-symbol":357}],239:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":260}],240:[function(e,t,n){"use strict";t.exports=function(e,t){return{value:e,done:t}}},{}],241:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/object-define-property":308}],242:[function(e,t,n){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],243:[function(e,t,n){"use strict";var r=e("../internals/to-property-key"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},{"../internals/create-property-descriptor":242,"../internals/object-define-property":308,"../internals/to-property-key":346}],244:[function(e,t,n){"use strict";var r=e("../internals/make-built-in"),i=e("../internals/object-define-property");t.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},{"../internals/make-built-in":300,"../internals/object-define-property":308}],245:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=e("../internals/object-define-property"),o=e("../internals/make-built-in"),a=e("../internals/define-global-property");t.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&o(n,u,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},{"../internals/define-global-property":246,"../internals/is-callable":285,"../internals/make-built-in":300,"../internals/object-define-property":308}],246:[function(e,t,n){"use strict";var r=e("../internals/global"),i=Object.defineProperty;t.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},{"../internals/global":274}],247:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":260}],248:[function(e,t,n){"use strict";var r="object"==typeof document&&document.all,i=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:i}},{}],249:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/is-object"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(e){return a?o.createElement(e):{}}},{"../internals/global":274,"../internals/is-object":289}],250:[function(e,t,n){"use strict";var r=e("../internals/engine-is-deno"),i=e("../internals/engine-is-node");t.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},{"../internals/engine-is-deno":251,"../internals/engine-is-node":254}],251:[function(e,t,n){"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},{}],252:[function(e,t,n){"use strict";var r=e("../internals/engine-user-agent");t.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},{"../internals/engine-user-agent":256}],253:[function(e,t,n){"use strict";var r=e("../internals/engine-user-agent");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},{"../internals/engine-user-agent":256}],254:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/classof-raw");t.exports="process"===i(r.process)},{"../internals/classof-raw":235,"../internals/global":274}],255:[function(e,t,n){"use strict";var r=e("../internals/engine-user-agent");t.exports=/web0s(?!.*chrome)/i.test(r)},{"../internals/engine-user-agent":256}],256:[function(e,t,n){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},{}],257:[function(e,t,n){"use strict";var r,i,o=e("../internals/global"),a=e("../internals/engine-user-agent"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},{"../internals/engine-user-agent":256,"../internals/global":274}],258:[function(e,t,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],259:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/create-non-enumerable-property"),a=e("../internals/define-built-in"),s=e("../internals/define-global-property"),l=e("../internals/copy-constructor-properties"),u=e("../internals/is-forced");t.exports=function(e,t){var n,c,d,h,f,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in t){if(h=t[c],d=e.dontCallGetSet?(f=i(n,c))&&f.value:n[c],!u(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&o(h,"sham",!0),a(n,c,h,e)}}},{"../internals/copy-constructor-properties":237,"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/define-global-property":246,"../internals/global":274,"../internals/is-forced":287,"../internals/object-get-own-property-descriptor":309}],260:[function(e,t,n){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],261:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},{"../internals/function-bind-native":263}],262:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this-clause"),i=e("../internals/a-callable"),o=e("../internals/function-bind-native"),a=r(r.bind);t.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},{"../internals/a-callable":222,"../internals/function-bind-native":263,"../internals/function-uncurry-this-clause":267}],263:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},{"../internals/fails":260}],264:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},{"../internals/function-bind-native":263}],265:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/has-own-property"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},{"../internals/descriptors":247,"../internals/has-own-property":275}],266:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/a-callable");t.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},{"../internals/a-callable":222,"../internals/function-uncurry-this":268}],267:[function(e,t,n){"use strict";var r=e("../internals/classof-raw"),i=e("../internals/function-uncurry-this");t.exports=function(e){if("Function"===r(e))return i(e)}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268}],268:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},{"../internals/function-bind-native":263}],269:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/is-callable"),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},{"../internals/global":274,"../internals/is-callable":285}],270:[function(e,t,n){"use strict";var r=e("../internals/classof"),i=e("../internals/get-method"),o=e("../internals/is-null-or-undefined"),a=e("../internals/iterators"),s=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},{"../internals/classof":236,"../internals/get-method":273,"../internals/is-null-or-undefined":288,"../internals/iterators":298,"../internals/well-known-symbol":357}],271:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/a-callable"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/get-iterator-method"),l=TypeError;t.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw new l(a(e)+" is not iterable")}},{"../internals/a-callable":222,"../internals/an-object":227,"../internals/function-call":264,"../internals/get-iterator-method":270,"../internals/try-to-string":349}],272:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/is-array"),o=e("../internals/is-callable"),a=e("../internals/classof-raw"),s=e("../internals/to-string"),l=r([].push);t.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,n=[],r=0;r<t;r++){var u=e[r];"string"==typeof u?l(n,u):"number"!=typeof u&&"Number"!==a(u)&&"String"!==a(u)||l(n,s(u))}var c=n.length,d=!0;return function(e,t){if(d)return d=!1,t;if(i(this))return t;for(var r=0;r<c;r++)if(n[r]===e)return t}}}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268,"../internals/is-array":284,"../internals/is-callable":285,"../internals/to-string":348}],273:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=e("../internals/is-null-or-undefined");t.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},{"../internals/a-callable":222,"../internals/is-null-or-undefined":288}],274:[function(e,n,r){(function(e){(function(){"use strict";var t=function(e){return e&&e.Math===Math&&e};n.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||function(){return this}()||this||Function("return this")()}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],275:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},{"../internals/function-uncurry-this":268,"../internals/to-object":344}],276:[function(e,t,n){"use strict";t.exports={}},{}],277:[function(e,t,n){"use strict";t.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},{}],278:[function(e,t,n){"use strict";var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":269}],279:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":247,"../internals/document-create-element":249,"../internals/fails":260}],280:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/classof-raw"),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):a(e)}:a},{"../internals/classof-raw":235,"../internals/fails":260,"../internals/function-uncurry-this":268}],281:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/is-callable"),o=e("../internals/shared-store"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),t.exports=o.inspectSource},{"../internals/function-uncurry-this":268,"../internals/is-callable":285,"../internals/shared-store":333}],282:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/weak-map-basic-detection"),s=e("../internals/global"),l=e("../internals/is-object"),u=e("../internals/create-non-enumerable-property"),c=e("../internals/has-own-property"),d=e("../internals/shared-store"),h=e("../internals/shared-key"),f=e("../internals/hidden-keys"),p=s.TypeError,m=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new m);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw new p("Object already initialized");return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},o=function(e){return g.has(e)}}else{var v=h("state");f[v]=!0,r=function(e,t){if(c(e,v))throw new p("Object already initialized");return t.facade=e,u(e,v,t),t},i=function(e){return c(e,v)?e[v]:{}},o=function(e){return c(e,v)}}t.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":241,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/is-object":289,"../internals/shared-key":332,"../internals/shared-store":333,"../internals/weak-map-basic-detection":354}],283:[function(e,t,n){"use strict";var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),o=r("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},{"../internals/iterators":298,"../internals/well-known-symbol":357}],284:[function(e,t,n){"use strict";var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"===r(e)}},{"../internals/classof-raw":235}],285:[function(e,t,n){"use strict";var r=e("../internals/document-all"),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},{"../internals/document-all":248}],286:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/is-callable"),a=e("../internals/classof"),s=e("../internals/get-built-in"),l=e("../internals/inspect-source"),u=function(){},c=[],d=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=r(h.exec),p=!h.test(u),m=function(e){if(!o(e))return!1;try{return d(u,c,e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(e))}catch(e){return!0}};g.sham=!0,t.exports=!d||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},{"../internals/classof":236,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/inspect-source":281,"../internals/is-callable":285}],287:[function(e,t,n){"use strict";var r=e("../internals/fails"),i=e("../internals/is-callable"),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===c||n!==u&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},{"../internals/fails":260,"../internals/is-callable":285}],288:[function(e,t,n){"use strict";t.exports=function(e){return null==e}},{}],289:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=e("../internals/document-all"),o=i.all;t.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/document-all":248,"../internals/is-callable":285}],290:[function(e,t,n){"use strict";t.exports=!1},{}],291:[function(e,t,n){"use strict";var r=e("../internals/is-object"),i=e("../internals/classof-raw"),o=e("../internals/well-known-symbol")("match");t.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},{"../internals/classof-raw":235,"../internals/is-object":289,"../internals/well-known-symbol":357}],292:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/is-callable"),o=e("../internals/object-is-prototype-of"),a=e("../internals/use-symbol-as-uid"),s=Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},{"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/object-is-prototype-of":314,"../internals/use-symbol-as-uid":351}],293:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/is-array-iterator-method"),l=e("../internals/length-of-array-like"),u=e("../internals/object-is-prototype-of"),c=e("../internals/get-iterator"),d=e("../internals/get-iterator-method"),h=e("../internals/iterator-close"),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;t.exports=function(e,t,n){var g,v,y,b,_,w,x,k=n&&n.that,M=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),O=r(t,k),L=function(e){return g&&h(g,"normal",e),new p(!0,e)},A=function(e){return M?(o(e),T?O(e[0],e[1],L):O(e[0],e[1])):T?O(e,L):O(e)};if(S)g=e.iterator;else if(C)g=e;else{if(!(v=d(e)))throw new f(a(e)+" is not iterable");if(s(v)){for(y=0,b=l(e);b>y;y++)if((_=A(e[y]))&&u(m,_))return _;return new p(!1)}g=c(e,v)}for(w=S?e.next:g.next;!(x=i(w,g)).done;){try{_=A(x.value)}catch(e){h(g,"throw",e)}if("object"==typeof _&&_&&u(m,_))return _}return new p(!1)}},{"../internals/an-object":227,"../internals/function-bind-context":262,"../internals/function-call":264,"../internals/get-iterator":271,"../internals/get-iterator-method":270,"../internals/is-array-iterator-method":283,"../internals/iterator-close":294,"../internals/length-of-array-like":299,"../internals/object-is-prototype-of":314,"../internals/try-to-string":349}],294:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/an-object"),o=e("../internals/get-method");t.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},{"../internals/an-object":227,"../internals/function-call":264,"../internals/get-method":273}],295:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),o=e("../internals/create-property-descriptor"),a=e("../internals/set-to-string-tag"),s=e("../internals/iterators"),l=function(){return this};t.exports=function(e,t,n,u){var c=t+" Iterator";return e.prototype=i(r,{next:o(+!u,n)}),a(e,c,!1,!0),s[c]=l,e}},{"../internals/create-property-descriptor":242,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-create":306,"../internals/set-to-string-tag":331}],296:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/is-pure"),a=e("../internals/function-name"),s=e("../internals/is-callable"),l=e("../internals/iterator-create-constructor"),u=e("../internals/object-get-prototype-of"),c=e("../internals/object-set-prototype-of"),d=e("../internals/set-to-string-tag"),h=e("../internals/create-non-enumerable-property"),f=e("../internals/define-built-in"),p=e("../internals/well-known-symbol"),m=e("../internals/iterators"),g=e("../internals/iterators-core"),v=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,w=p("iterator"),x=function(){return this};t.exports=function(e,t,n,a,p,g,k){l(n,t,a);var M,S,C,T=function(e){if(e===p&&E)return E;if(!_&&e&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",L=!1,A=e.prototype,D=A[w]||A["@@iterator"]||p&&A[p],E=!_&&D||T(p),I="Array"===t&&A.entries||D;if(I&&(M=u(I.call(new e)))!==Object.prototype&&M.next&&(o||u(M)===b||(c?c(M,b):s(M[w])||f(M,w,x)),d(M,O,!0,!0),o&&(m[O]=x)),v&&"values"===p&&D&&"values"!==D.name&&(!o&&y?h(A,"name","values"):(L=!0,E=function(){return i(D,this)})),p)if(S={values:T("values"),keys:g?E:T("keys"),entries:T("entries")},k)for(C in S)(_||L||!(C in A))&&f(A,C,S[C]);else r({target:t,proto:!0,forced:_||L},S);return o&&!k||A[w]===E||f(A,w,E,{name:p}),m[t]=E,S}},{"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/export":259,"../internals/function-call":264,"../internals/function-name":265,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/iterator-create-constructor":295,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-get-prototype-of":313,"../internals/object-set-prototype-of":318,"../internals/set-to-string-tag":331,"../internals/well-known-symbol":357}],297:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/fails"),s=e("../internals/is-callable"),l=e("../internals/is-object"),u=e("../internals/object-create"),c=e("../internals/object-get-prototype-of"),d=e("../internals/define-built-in"),h=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),p=h("iterator"),m=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):m=!0),!l(r)||a((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=u(r)),s(r[p])||d(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},{"../internals/define-built-in":245,"../internals/fails":260,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-get-prototype-of":313,"../internals/well-known-symbol":357}],298:[function(e,t,n){arguments[4][276][0].apply(n,arguments)},{dup:276}],299:[function(e,t,n){"use strict";var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":343}],300:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/is-callable"),a=e("../internals/has-own-property"),s=e("../internals/descriptors"),l=e("../internals/function-name").CONFIGURABLE,u=e("../internals/inspect-source"),c=e("../internals/internal-state"),d=c.enforce,h=c.get,f=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=t.exports=function(e,t,n){"Symbol("===m(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return o(this)&&h(this).source||u(this)}),"toString")},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-name":265,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/inspect-source":281,"../internals/internal-state":282,"../internals/is-callable":285}],301:[function(e,t,n){"use strict";var r=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?i:r)(t)}},{}],302:[function(e,t,n){"use strict";var r,i,o,a,s,l=e("../internals/global"),u=e("../internals/function-bind-context"),c=e("../internals/object-get-own-property-descriptor").f,d=e("../internals/task").set,h=e("../internals/queue"),f=e("../internals/engine-is-ios"),p=e("../internals/engine-is-ios-pebble"),m=e("../internals/engine-is-webos-webkit"),g=e("../internals/engine-is-node"),v=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,_=l.Promise,w=c(l,"queueMicrotask"),x=w&&w.value;if(!x){var k=new h,M=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=k.get();)try{t()}catch(e){throw k.head&&r(),e}e&&e.enter()};f||g||m||!v||!y?!p&&_&&_.resolve?((a=_.resolve(void 0)).constructor=_,s=u(a.then,a),r=function(){s(M)}):g?r=function(){b.nextTick(M)}:(d=u(d,l),r=function(){d(M)}):(i=!0,o=y.createTextNode(""),new v(M).observe(o,{characterData:!0}),r=function(){o.data=i=!i}),x=function(e){k.head||r(),k.add(e)}}t.exports=x},{"../internals/engine-is-ios":253,"../internals/engine-is-ios-pebble":252,"../internals/engine-is-node":254,"../internals/engine-is-webos-webkit":255,"../internals/function-bind-context":262,"../internals/global":274,"../internals/object-get-own-property-descriptor":309,"../internals/queue":328,"../internals/task":339}],303:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};t.exports.f=function(e){return new o(e)}},{"../internals/a-callable":222}],304:[function(e,t,n){"use strict";var r=e("../internals/is-regexp"),i=TypeError;t.exports=function(e){if(r(e))throw new i("The method doesn't accept regular expressions");return e}},{"../internals/is-regexp":291}],305:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/function-uncurry-this"),o=e("../internals/function-call"),a=e("../internals/fails"),s=e("../internals/object-keys"),l=e("../internals/object-get-own-property-symbols"),u=e("../internals/object-property-is-enumerable"),c=e("../internals/to-object"),d=e("../internals/indexed-object"),h=Object.assign,f=Object.defineProperty,p=i([].concat);t.exports=!h||a((function(){if(r&&1!==h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection");return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==h({},e)[n]||"abcdefghijklmnopqrst"!==s(h({},t)).join("")}))?function(e,t){for(var n=c(e),i=arguments.length,a=1,h=l.f,f=u.f;i>a;)for(var m,g=d(arguments[a++]),v=h?p(s(g),h(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],r&&!o(f,g,m)||(n[m]=g[m]);return n}:h},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/object-get-own-property-symbols":312,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-object":344}],306:[function(e,t,n){"use strict";var r,i=e("../internals/an-object"),o=e("../internals/object-define-properties"),a=e("../internals/enum-bug-keys"),s=e("../internals/hidden-keys"),l=e("../internals/html"),u=e("../internals/document-create-element"),c=e("../internals/shared-key"),d=c("IE_PROTO"),h=function(){},f=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?p(r):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):p(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=i(e),n=new h,h.prototype=null,n[d]=e):n=m(),void 0===t?n:o.f(n,t)}},{"../internals/an-object":227,"../internals/document-create-element":249,"../internals/enum-bug-keys":258,"../internals/hidden-keys":276,"../internals/html":278,"../internals/object-define-properties":307,"../internals/shared-key":332}],307:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/v8-prototype-define-bug"),o=e("../internals/object-define-property"),a=e("../internals/an-object"),s=e("../internals/to-indexed-object"),l=e("../internals/object-keys");n.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=l(t),u=i.length,c=0;u>c;)o.f(e,n=i[c++],r[n]);return e}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/object-define-property":308,"../internals/object-keys":316,"../internals/to-indexed-object":341,"../internals/v8-prototype-define-bug":352}],308:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),o=e("../internals/v8-prototype-define-bug"),a=e("../internals/an-object"),s=e("../internals/to-property-key"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor;n.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/ie8-dom-define":279,"../internals/to-property-key":346,"../internals/v8-prototype-define-bug":352}],309:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/function-call"),o=e("../internals/object-property-is-enumerable"),a=e("../internals/create-property-descriptor"),s=e("../internals/to-indexed-object"),l=e("../internals/to-property-key"),u=e("../internals/has-own-property"),c=e("../internals/ie8-dom-define"),d=Object.getOwnPropertyDescriptor;n.f=r?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(e){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/function-call":264,"../internals/has-own-property":275,"../internals/ie8-dom-define":279,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341,"../internals/to-property-key":346}],310:[function(e,t,n){"use strict";var r=e("../internals/classof-raw"),i=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-names").f,a=e("../internals/array-slice-simple"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return s&&"Window"===r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},{"../internals/array-slice-simple":230,"../internals/classof-raw":235,"../internals/object-get-own-property-names":311,"../internals/to-indexed-object":341}],311:[function(e,t,n){"use strict";var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],312:[function(e,t,n){"use strict";n.f=Object.getOwnPropertySymbols},{}],313:[function(e,t,n){"use strict";var r=e("../internals/has-own-property"),i=e("../internals/is-callable"),o=e("../internals/to-object"),a=e("../internals/shared-key"),s=e("../internals/correct-prototype-getter"),l=a("IE_PROTO"),u=Object,c=u.prototype;t.exports=s?u.getPrototypeOf:function(e){var t=o(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},{"../internals/correct-prototype-getter":239,"../internals/has-own-property":275,"../internals/is-callable":285,"../internals/shared-key":332,"../internals/to-object":344}],314:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":268}],315:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/has-own-property"),o=e("../internals/to-indexed-object"),a=e("../internals/array-includes").indexOf,s=e("../internals/hidden-keys"),l=r([].push);t.exports=function(e,t){var n,r=o(e),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);for(;t.length>u;)i(r,n=t[u++])&&(~a(c,n)||l(c,n));return c}},{"../internals/array-includes":228,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/to-indexed-object":341}],316:[function(e,t,n){"use strict";var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],317:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],318:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this-accessor"),i=e("../internals/an-object"),o=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},{"../internals/a-possible-prototype":224,"../internals/an-object":227,"../internals/function-uncurry-this-accessor":266}],319:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/object-get-prototype-of"),s=e("../internals/object-keys"),l=e("../internals/to-indexed-object"),u=o(e("../internals/object-property-is-enumerable").f),c=o([].push),d=r&&i((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),h=function(e){return function(t){for(var n,i=l(t),o=s(i),h=d&&null===a(i),f=o.length,p=0,m=[];f>p;)n=o[p++],r&&!(h?n in i:u(i,n))||c(m,e?[n,i[n]]:i[n]);return m}};t.exports={entries:h(!0),values:h(!1)}},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/object-get-prototype-of":313,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341}],320:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-callable"),o=e("../internals/is-object"),a=TypeError;t.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},{"../internals/function-call":264,"../internals/is-callable":285,"../internals/is-object":289}],321:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/function-uncurry-this"),o=e("../internals/object-get-own-property-names"),a=e("../internals/object-get-own-property-symbols"),s=e("../internals/an-object"),l=i([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},{"../internals/an-object":227,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-symbols":312}],322:[function(e,t,n){"use strict";var r=e("../internals/global");t.exports=r},{"../internals/global":274}],323:[function(e,t,n){"use strict";t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],324:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/promise-native-constructor"),o=e("../internals/is-callable"),a=e("../internals/is-forced"),s=e("../internals/inspect-source"),l=e("../internals/well-known-symbol"),u=e("../internals/engine-is-browser"),c=e("../internals/engine-is-deno"),d=e("../internals/is-pure"),h=e("../internals/engine-v8-version"),f=i&&i.prototype,p=l("species"),m=!1,g=o(r.PromiseRejectionEvent),v=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===h)return!0;if(d&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[p]=r,!(m=n.then((function(){}))instanceof r))return!0}return!t&&(u||c)&&!g}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:m}},{"../internals/engine-is-browser":250,"../internals/engine-is-deno":251,"../internals/engine-v8-version":257,"../internals/global":274,"../internals/inspect-source":281,"../internals/is-callable":285,"../internals/is-forced":287,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/well-known-symbol":357}],325:[function(e,t,n){"use strict";var r=e("../internals/global");t.exports=r.Promise},{"../internals/global":274}],326:[function(e,t,n){"use strict";var r=e("../internals/an-object"),i=e("../internals/is-object"),o=e("../internals/new-promise-capability");t.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},{"../internals/an-object":227,"../internals/is-object":289,"../internals/new-promise-capability":303}],327:[function(e,t,n){"use strict";var r=e("../internals/promise-native-constructor"),i=e("../internals/check-correctness-of-iteration"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR;t.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},{"../internals/check-correctness-of-iteration":234,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],328:[function(e,t,n){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},t.exports=r},{}],329:[function(e,t,n){"use strict";var r=e("../internals/is-null-or-undefined"),i=TypeError;t.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},{"../internals/is-null-or-undefined":288}],330:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/define-built-in-accessor"),o=e("../internals/well-known-symbol"),a=e("../internals/descriptors"),s=o("species");t.exports=function(e){var t=r(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],331:[function(e,t,n){"use strict";var r=e("../internals/object-define-property").f,i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],332:[function(e,t,n){"use strict";var r=e("../internals/shared"),i=e("../internals/uid"),o=r("keys");t.exports=function(e){return o[e]||(o[e]=i(e))}},{"../internals/shared":334,"../internals/uid":350}],333:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/define-global-property"),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},{"../internals/define-global-property":246,"../internals/global":274}],334:[function(e,t,n){"use strict";var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":290,"../internals/shared-store":333}],335:[function(e,t,n){"use strict";var r=e("../internals/an-object"),i=e("../internals/a-constructor"),o=e("../internals/is-null-or-undefined"),a=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},{"../internals/a-constructor":223,"../internals/an-object":227,"../internals/is-null-or-undefined":288,"../internals/well-known-symbol":357}],336:[function(e,t,n){"use strict";var r=e("../internals/engine-v8-version"),i=e("../internals/fails"),o=e("../internals/global").String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},{"../internals/engine-v8-version":257,"../internals/fails":260,"../internals/global":274}],337:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/get-built-in"),o=e("../internals/well-known-symbol"),a=e("../internals/define-built-in");t.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},{"../internals/define-built-in":245,"../internals/function-call":264,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],338:[function(e,t,n){"use strict";var r=e("../internals/symbol-constructor-detection");t.exports=r&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/symbol-constructor-detection":336}],339:[function(e,t,n){"use strict";var r,i,o,a,s=e("../internals/global"),l=e("../internals/function-apply"),u=e("../internals/function-bind-context"),c=e("../internals/is-callable"),d=e("../internals/has-own-property"),h=e("../internals/fails"),f=e("../internals/html"),p=e("../internals/array-slice"),m=e("../internals/document-create-element"),g=e("../internals/validate-arguments-length"),v=e("../internals/engine-is-ios"),y=e("../internals/engine-is-node"),b=s.setImmediate,_=s.clearImmediate,w=s.process,x=s.Dispatch,k=s.Function,M=s.MessageChannel,S=s.String,C=0,T={};h((function(){r=s.location}));var O=function(e){if(d(T,e)){var t=T[e];delete T[e],t()}},L=function(e){return function(){O(e)}},A=function(e){O(e.data)},D=function(e){s.postMessage(S(e),r.protocol+"//"+r.host)};b&&_||(b=function(e){g(arguments.length,1);var t=c(e)?e:k(e),n=p(arguments,1);return T[++C]=function(){l(t,void 0,n)},i(C),C},_=function(e){delete T[e]},y?i=function(e){w.nextTick(L(e))}:x&&x.now?i=function(e){x.now(L(e))}:M&&!v?(a=(o=new M).port2,o.port1.onmessage=A,i=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!h(D)?(i=D,s.addEventListener("message",A,!1)):i="onreadystatechange"in m("script")?function(e){f.appendChild(m("script")).onreadystatechange=function(){f.removeChild(this),O(e)}}:function(e){setTimeout(L(e),0)}),t.exports={set:b,clear:_}},{"../internals/array-slice":231,"../internals/document-create-element":249,"../internals/engine-is-ios":253,"../internals/engine-is-node":254,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-bind-context":262,"../internals/global":274,"../internals/has-own-property":275,"../internals/html":278,"../internals/is-callable":285,"../internals/validate-arguments-length":353}],340:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=Math.max,o=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},{"../internals/to-integer-or-infinity":342}],341:[function(e,t,n){"use strict";var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":280,"../internals/require-object-coercible":329}],342:[function(e,t,n){"use strict";var r=e("../internals/math-trunc");t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},{"../internals/math-trunc":301}],343:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"../internals/to-integer-or-infinity":342}],344:[function(e,t,n){"use strict";var r=e("../internals/require-object-coercible"),i=Object;t.exports=function(e){return i(r(e))}},{"../internals/require-object-coercible":329}],345:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-object"),o=e("../internals/is-symbol"),a=e("../internals/get-method"),s=e("../internals/ordinary-to-primitive"),l=e("../internals/well-known-symbol"),u=TypeError,c=l("toPrimitive");t.exports=function(e,t){if(!i(e)||o(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||o(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},{"../internals/function-call":264,"../internals/get-method":273,"../internals/is-object":289,"../internals/is-symbol":292,"../internals/ordinary-to-primitive":320,"../internals/well-known-symbol":357}],346:[function(e,t,n){"use strict";var r=e("../internals/to-primitive"),i=e("../internals/is-symbol");t.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},{"../internals/is-symbol":292,"../internals/to-primitive":345}],347:[function(e,t,n){"use strict";var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":357}],348:[function(e,t,n){"use strict";var r=e("../internals/classof"),i=String;t.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},{"../internals/classof":236}],349:[function(e,t,n){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{}],350:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=0,o=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},{"../internals/function-uncurry-this":268}],351:[function(e,t,n){"use strict";var r=e("../internals/symbol-constructor-detection");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/symbol-constructor-detection":336}],352:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails");t.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":247,"../internals/fails":260}],353:[function(e,t,n){"use strict";var r=TypeError;t.exports=function(e,t){if(e<t)throw new r("Not enough arguments");return e}},{}],354:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/is-callable"),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},{"../internals/global":274,"../internals/is-callable":285}],355:[function(e,t,n){"use strict";var r=e("../internals/path"),i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol-wrapped"),a=e("../internals/object-define-property").f;t.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/path":322,"../internals/well-known-symbol-wrapped":356}],356:[function(e,t,n){"use strict";var r=e("../internals/well-known-symbol");n.f=r},{"../internals/well-known-symbol":357}],357:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/shared"),o=e("../internals/has-own-property"),a=e("../internals/uid"),s=e("../internals/symbol-constructor-detection"),l=e("../internals/use-symbol-as-uid"),u=r.Symbol,c=i("wks"),d=l?u.for||u:u&&u.withoutSetter||a;t.exports=function(e){return o(c,e)||(c[e]=s&&o(u,e)?u[e]:d("Symbol."+e)),c[e]}},{"../internals/global":274,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-constructor-detection":336,"../internals/uid":350,"../internals/use-symbol-as-uid":351}],358:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-iteration").findIndex,o=e("../internals/add-to-unscopables"),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],359:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-iteration").find,o=e("../internals/add-to-unscopables"),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("find")},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],360:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-includes").includes,o=e("../internals/fails"),a=e("../internals/add-to-unscopables");r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},{"../internals/add-to-unscopables":225,"../internals/array-includes":228,"../internals/export":259,"../internals/fails":260}],361:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),o=e("../internals/iterators"),a=e("../internals/internal-state"),s=e("../internals/object-define-property").f,l=e("../internals/iterator-define"),u=e("../internals/create-iter-result-object"),c=e("../internals/is-pure"),d=e("../internals/descriptors"),h=a.set,f=a.getterFor("Array Iterator");t.exports=l(Array,"Array",(function(e,t){h(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(n){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(e){}},{"../internals/add-to-unscopables":225,"../internals/create-iter-result-object":240,"../internals/descriptors":247,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/iterator-define":296,"../internals/iterators":298,"../internals/object-define-property":308,"../internals/to-indexed-object":341}],362:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/function-apply"),a=e("../internals/function-call"),s=e("../internals/function-uncurry-this"),l=e("../internals/fails"),u=e("../internals/is-callable"),c=e("../internals/is-symbol"),d=e("../internals/array-slice"),h=e("../internals/get-json-replacer-function"),f=e("../internals/symbol-constructor-detection"),p=String,m=i("JSON","stringify"),g=s(/./.exec),v=s("".charAt),y=s("".charCodeAt),b=s("".replace),_=s(1..toString),w=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,M=!f||l((function(){var e=i("Symbol")("stringify detection");return"[null]"!==m([e])||"{}"!==m({a:e})||"{}"!==m(Object(e))})),S=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),C=function(e,t){var n=d(arguments),r=h(t);if(u(r)||void 0!==e&&!c(e))return n[1]=function(e,t){if(u(r)&&(t=a(r,this,p(e),t)),!c(t))return t},o(m,null,n)},T=function(e,t,n){var r=v(n,t-1),i=v(n,t+1);return g(x,e)&&!g(k,i)||g(k,e)&&!g(x,r)?"\\u"+_(y(e,0),16):e};m&&r({target:"JSON",stat:!0,arity:3,forced:M||S},{stringify:function(e,t,n){var r=d(arguments),i=o(M?C:m,null,r);return S&&"string"==typeof i?b(i,w,T):i}})},{"../internals/array-slice":231,"../internals/export":259,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/get-json-replacer-function":272,"../internals/is-callable":285,"../internals/is-symbol":292,"../internals/symbol-constructor-detection":336}],363:[function(e,t,n){"use strict";e("../internals/export")({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},{"../internals/export":259}],364:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/object-assign");r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},{"../internals/export":259,"../internals/object-assign":305}],365:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/symbol-constructor-detection"),o=e("../internals/fails"),a=e("../internals/object-get-own-property-symbols"),s=e("../internals/to-object");r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-get-own-property-symbols":312,"../internals/symbol-constructor-detection":336,"../internals/to-object":344}],366:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/to-object"),o=e("../internals/object-keys");r({target:"Object",stat:!0,forced:e("../internals/fails")((function(){o(1)}))},{keys:function(e){return o(i(e))}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-keys":316,"../internals/to-object":344}],367:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/object-to-array").values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},{"../internals/export":259,"../internals/object-to-array":319}],368:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),l=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{all:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,c=s((function(){var n=o(t.resolve),a=[],s=0,c=1;l(e,(function(e){var o=s++,l=!1;c++,i(n,t,e).then((function(e){l||(l=!0,a[o]=e,--c||r(a))}),u)})),--c||r(a)}));return c.error&&u(c.value),n.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],369:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/is-pure"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR,a=e("../internals/promise-native-constructor"),s=e("../internals/get-built-in"),l=e("../internals/is-callable"),u=e("../internals/define-built-in"),c=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(a)){var d=s("Promise").prototype.catch;c.catch!==d&&u(c,"catch",d,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],370:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/export"),s=e("../internals/is-pure"),l=e("../internals/engine-is-node"),u=e("../internals/global"),c=e("../internals/function-call"),d=e("../internals/define-built-in"),h=e("../internals/object-set-prototype-of"),f=e("../internals/set-to-string-tag"),p=e("../internals/set-species"),m=e("../internals/a-callable"),g=e("../internals/is-callable"),v=e("../internals/is-object"),y=e("../internals/an-instance"),b=e("../internals/species-constructor"),_=e("../internals/task").set,w=e("../internals/microtask"),x=e("../internals/host-report-errors"),k=e("../internals/perform"),M=e("../internals/queue"),S=e("../internals/internal-state"),C=e("../internals/promise-native-constructor"),T=e("../internals/promise-constructor-detection"),O=e("../internals/new-promise-capability"),L=T.CONSTRUCTOR,A=T.REJECTION_EVENT,D=T.SUBCLASSING,E=S.getterFor("Promise"),I=S.set,j=C&&C.prototype,P=C,R=j,N=u.TypeError,B=u.document,Y=u.process,F=O.f,z=F,H=!!(B&&B.createEvent&&u.dispatchEvent),V=function(e){var t;return!(!v(e)||!g(t=e.then))&&t},W=function(e,t){var n,r,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,u=e.reject,d=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?n=o:(d&&d.enter(),n=s(o),d&&(d.exit(),i=!0)),n===e.promise?u(new N("Promise-chain cycle")):(r=V(n))?c(r,n,l,u):l(n)):u(o)}catch(e){d&&!i&&d.exit(),u(e)}},U=function(e,t){e.notified||(e.notified=!0,w((function(){for(var n,r=e.reactions;n=r.get();)W(n,e);e.notified=!1,t&&!e.rejection&&G(e)})))},$=function(e,t,n){var r,i;H?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!A&&(i=u["on"+e])?i(r):"unhandledrejection"===e&&x("Unhandled promise rejection",n)},G=function(e){c(_,u,(function(){var t,n=e.facade,r=e.value;if(q(e)&&(t=k((function(){l?Y.emit("unhandledRejection",r,n):$("unhandledrejection",n,r)})),e.rejection=l||q(e)?2:1,t.error))throw t.value}))},q=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(_,u,(function(){var t=e.facade;l?Y.emit("rejectionHandled",t):$("rejectionhandled",t,e.value)}))},K=function(e,t,n){return function(r){e(t,r,n)}},Z=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,U(e,!0))},J=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new N("Promise can't be resolved itself");var r=V(t);r?w((function(){var n={done:!1};try{c(r,t,K(J,n,e),K(Z,n,e))}catch(t){Z(n,t,e)}})):(e.value=t,e.state=1,U(e,!1))}catch(t){Z({done:!1},t,e)}}};if(L&&(R=(P=function(e){y(this,R),m(e),c(r,this);var t=E(this);try{e(K(J,t),K(Z,t))}catch(e){Z(t,e)}}).prototype,(r=function(e){I(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new M,rejection:!1,state:0,value:void 0})}).prototype=d(R,"then",(function(e,t){var n=E(this),r=F(b(this,P));return n.parent=!0,r.ok=!g(e)||e,r.fail=g(t)&&t,r.domain=l?Y.domain:void 0,0===n.state?n.reactions.add(r):w((function(){W(r,n)})),r.promise})),i=function(){var e=new r,t=E(e);this.promise=e,this.resolve=K(J,t),this.reject=K(Z,t)},O.f=F=function(e){return e===P||void 0===e?new i(e):z(e)},!s&&g(C)&&j!==Object.prototype)){o=j.then,D||d(j,"then",(function(e,t){var n=this;return new P((function(e,t){c(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete j.constructor}catch(e){}h&&h(j,R)}a({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:P}),f(P,"Promise",!1,!0),p("Promise")},{"../internals/a-callable":222,"../internals/an-instance":226,"../internals/define-built-in":245,"../internals/engine-is-node":254,"../internals/export":259,"../internals/function-call":264,"../internals/global":274,"../internals/host-report-errors":277,"../internals/internal-state":282,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/microtask":302,"../internals/new-promise-capability":303,"../internals/object-set-prototype-of":318,"../internals/perform":323,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/queue":328,"../internals/set-species":330,"../internals/set-to-string-tag":331,"../internals/species-constructor":335,"../internals/task":339}],371:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/is-pure"),o=e("../internals/promise-native-constructor"),a=e("../internals/fails"),s=e("../internals/get-built-in"),l=e("../internals/is-callable"),u=e("../internals/species-constructor"),c=e("../internals/promise-resolve"),d=e("../internals/define-built-in"),h=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),n=l(e);return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),!i&&l(o)){var f=s("Promise").prototype.finally;h.finally!==f&&d(h,"finally",f,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/fails":260,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326,"../internals/species-constructor":335}],372:[function(e,t,n){"use strict";e("../modules/es.promise.constructor"),e("../modules/es.promise.all"),e("../modules/es.promise.catch"),e("../modules/es.promise.race"),e("../modules/es.promise.reject"),e("../modules/es.promise.resolve")},{"../modules/es.promise.all":368,"../modules/es.promise.catch":369,"../modules/es.promise.constructor":370,"../modules/es.promise.race":373,"../modules/es.promise.reject":374,"../modules/es.promise.resolve":375}],373:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),l=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{race:function(e){var t=this,n=a.f(t),r=n.reject,u=s((function(){var a=o(t.resolve);l(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],374:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/new-promise-capability");r({target:"Promise",stat:!0,forced:e("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},{"../internals/export":259,"../internals/function-call":264,"../internals/new-promise-capability":303,"../internals/promise-constructor-detection":324}],375:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/is-pure"),a=e("../internals/promise-native-constructor"),s=e("../internals/promise-constructor-detection").CONSTRUCTOR,l=e("../internals/promise-resolve"),u=i("Promise"),c=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return l(c&&this===u?a:this,e)}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326}],376:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/to-absolute-index"),a=RangeError,s=String.fromCharCode,l=String.fromCodePoint,u=i([].join);r({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,i=0;r>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw new a(t+" is not a valid code point");n[i]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return u(n,"")}})},{"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/to-absolute-index":340}],377:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/not-a-regexp"),a=e("../internals/require-object-coercible"),s=e("../internals/to-string"),l=e("../internals/correct-is-regexp-logic"),u=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~u(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":238,"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/not-a-regexp":304,"../internals/require-object-coercible":329,"../internals/to-string":348}],378:[function(e,t,n){"use strict";e("../internals/well-known-symbol-define")("asyncIterator")},{"../internals/well-known-symbol-define":355}],379:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),s=e("../internals/is-pure"),l=e("../internals/descriptors"),u=e("../internals/symbol-constructor-detection"),c=e("../internals/fails"),d=e("../internals/has-own-property"),h=e("../internals/object-is-prototype-of"),f=e("../internals/an-object"),p=e("../internals/to-indexed-object"),m=e("../internals/to-property-key"),g=e("../internals/to-string"),v=e("../internals/create-property-descriptor"),y=e("../internals/object-create"),b=e("../internals/object-keys"),_=e("../internals/object-get-own-property-names"),w=e("../internals/object-get-own-property-names-external"),x=e("../internals/object-get-own-property-symbols"),k=e("../internals/object-get-own-property-descriptor"),M=e("../internals/object-define-property"),S=e("../internals/object-define-properties"),C=e("../internals/object-property-is-enumerable"),T=e("../internals/define-built-in"),O=e("../internals/define-built-in-accessor"),L=e("../internals/shared"),A=e("../internals/shared-key"),D=e("../internals/hidden-keys"),E=e("../internals/uid"),I=e("../internals/well-known-symbol"),j=e("../internals/well-known-symbol-wrapped"),P=e("../internals/well-known-symbol-define"),R=e("../internals/symbol-define-to-primitive"),N=e("../internals/set-to-string-tag"),B=e("../internals/internal-state"),Y=e("../internals/array-iteration").forEach,F=A("hidden"),z=B.set,H=B.getterFor("Symbol"),V=Object.prototype,W=i.Symbol,U=W&&W.prototype,$=i.RangeError,G=i.TypeError,q=i.QObject,X=k.f,K=M.f,Z=w.f,J=C.f,Q=a([].push),ee=L("symbols"),te=L("op-symbols"),ne=L("wks"),re=!q||!q.prototype||!q.prototype.findChild,ie=function(e,t,n){var r=X(V,t);r&&delete V[t],K(e,t,n),r&&e!==V&&K(V,t,r)},oe=l&&c((function(){return 7!==y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?ie:K,ae=function(e,t){var n=ee[e]=y(U);return z(n,{type:"Symbol",tag:e,description:t}),l||(n.description=t),n},se=function(e,t,n){e===V&&se(te,t,n),f(e);var r=m(t);return f(n),d(ee,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=y(n,{enumerable:v(0,!1)})):(d(e,F)||K(e,F,v(1,{})),e[F][r]=!0),oe(e,r,n)):K(e,r,n)},le=function(e,t){f(e);var n=p(t),r=b(n).concat(he(n));return Y(r,(function(t){l&&!o(ue,n,t)||se(e,t,n[t])})),e},ue=function(e){var t=m(e),n=o(J,this,t);return!(this===V&&d(ee,t)&&!d(te,t))&&(!(n||!d(this,t)||!d(ee,t)||d(this,F)&&this[F][t])||n)},ce=function(e,t){var n=p(e),r=m(t);if(n!==V||!d(ee,r)||d(te,r)){var i=X(n,r);return!i||!d(ee,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},de=function(e){var t=Z(p(e)),n=[];return Y(t,(function(e){d(ee,e)||d(D,e)||Q(n,e)})),n},he=function(e){var t=e===V,n=Z(t?te:p(e)),r=[];return Y(n,(function(e){!d(ee,e)||t&&!d(V,e)||Q(r,ee[e])})),r};u||(T(U=(W=function(){if(h(U,this))throw new G("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=E(e),n=function(e){this===V&&o(n,te,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1);var r=v(1,e);try{oe(this,t,r)}catch(e){if(!(e instanceof $))throw e;ie(this,t,r)}};return l&&re&&oe(V,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return H(this).tag})),T(W,"withoutSetter",(function(e){return ae(E(e),e)})),C.f=ue,M.f=se,S.f=le,k.f=ce,_.f=w.f=de,x.f=he,j.f=function(e){return ae(I(e),e)},l&&(O(U,"description",{configurable:!0,get:function(){return H(this).description}}),s||T(V,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),Y(b(ne),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!u},{useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!l},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),N(W,"Symbol"),D[F]=!0},{"../internals/an-object":227,"../internals/array-iteration":229,"../internals/create-property-descriptor":242,"../internals/define-built-in":245,"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/export":259,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-define-properties":307,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-names-external":310,"../internals/object-get-own-property-symbols":312,"../internals/object-is-prototype-of":314,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/set-to-string-tag":331,"../internals/shared":334,"../internals/shared-key":332,"../internals/symbol-constructor-detection":336,"../internals/symbol-define-to-primitive":337,"../internals/to-indexed-object":341,"../internals/to-property-key":346,"../internals/to-string":348,"../internals/uid":350,"../internals/well-known-symbol":357,"../internals/well-known-symbol-define":355,"../internals/well-known-symbol-wrapped":356}],380:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/has-own-property"),a=e("../internals/to-string"),s=e("../internals/shared"),l=e("../internals/symbol-registry-detection"),u=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(o(u,t))return u[t];var n=i("Symbol")(t);return u[t]=n,c[n]=t,n}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/to-string":348}],381:[function(e,t,n){"use strict";e("../modules/es.symbol.constructor"),e("../modules/es.symbol.for"),e("../modules/es.symbol.key-for"),e("../modules/es.json.stringify"),e("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":362,"../modules/es.object.get-own-property-symbols":365,"../modules/es.symbol.constructor":379,"../modules/es.symbol.for":380,"../modules/es.symbol.key-for":382}],382:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/has-own-property"),o=e("../internals/is-symbol"),a=e("../internals/try-to-string"),s=e("../internals/shared"),l=e("../internals/symbol-registry-detection"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!o(e))throw new TypeError(a(e)+" is not a symbol");if(i(u,e))return u[e]}})},{"../internals/export":259,"../internals/has-own-property":275,"../internals/is-symbol":292,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/try-to-string":349}],383:[function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}n.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},n.isBoolean=function(e){return"boolean"==typeof e},n.isNull=function(e){return null===e},n.isNullOrUndefined=function(e){return null==e},n.isNumber=function(e){return"number"==typeof e},n.isString=function(e){return"string"==typeof e},n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=function(e){return void 0===e},n.isRegExp=function(e){return"[object RegExp]"===r(e)},n.isObject=function(e){return"object"==typeof e&&null!==e},n.isDate=function(e){return"[object Date]"===r(e)},n.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},n.isFunction=function(e){return"function"==typeof e},n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("buffer").Buffer.isBuffer},{buffer:220}],384:[function(e,t,n){(function(n){(function(){"use strict";var r=e("elliptic"),i=e("bn.js");t.exports=function(e){return new a(e)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function s(e,t,r){Array.isArray(e)||(e=e.toArray());var i=new n(e);if(r&&i.length<r){var o=new n(r-i.length);o.fill(0),i=n.concat([o,i])}return t?i.toString(t):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,t,r){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),s(n,e)},a.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,t){t=t||"utf8",n.isBuffer(e)||(e=new n(e,t));var r=new i(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":385,buffer:220,elliptic:405}],385:[function(e,t,n){arguments[4][184][0].apply(n,arguments)},{buffer:188,dup:184}],386:[function(e,t,n){"use strict";var r=e("inherits"),i=e("md5.js"),o=e("ripemd160"),a=e("sha.js"),s=e("cipher-base");function l(e){s.call(this,"digest"),this._hash=e}r(l,s),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new l(a(e))}},{"cipher-base":221,inherits:440,"md5.js":450,ripemd160:493,"sha.js":498}],387:[function(e,t,n){"use strict";var r=e("md5.js");t.exports=function(e){return(new r).update(e).digest()}},{"md5.js":450}],388:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./legacy"),o=e("cipher-base"),a=e("safe-buffer").Buffer,s=e("create-hash/md5"),l=e("ripemd160"),u=e("sha.js"),c=a.alloc(128);function d(e,t){o.call(this,"digest"),"string"==typeof t&&(t=a.from(t));var n="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>n?t=("rmd160"===e?new l:u(e)).update(t).digest():t.length<n&&(t=a.concat([t,c],n));for(var r=this._ipad=a.allocUnsafe(n),i=this._opad=a.allocUnsafe(n),s=0;s<n;s++)r[s]=54^t[s],i[s]=92^t[s];this._hash="rmd160"===e?new l:u(e),this._hash.update(r)}r(d,o),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:u(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new i(s,t):new d(e,t)}},{"./legacy":389,"cipher-base":221,"create-hash/md5":387,inherits:440,ripemd160:493,"safe-buffer":494,"sha.js":498}],389:[function(e,t,n){"use strict";var r=e("inherits"),i=e("safe-buffer").Buffer,o=e("cipher-base"),a=i.alloc(128);function s(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=i.concat([t,a],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),s=0;s<64;s++)n[s]=54^t[s],r[s]=92^t[s];this._hash=[n]}r(s,o),s.prototype._update=function(e){this._hash.push(e)},s.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},t.exports=s},{"cipher-base":221,inherits:440,"safe-buffer":494}],390:[function(e,t,n){"use strict";n.randomBytes=n.rng=n.pseudoRandomBytes=n.prng=e("randombytes"),n.createHash=n.Hash=e("create-hash"),n.createHmac=n.Hmac=e("create-hmac");var r=e("browserify-sign/algos"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);n.getHashes=function(){return o};var a=e("pbkdf2");n.pbkdf2=a.pbkdf2,n.pbkdf2Sync=a.pbkdf2Sync;var s=e("browserify-cipher");n.Cipher=s.Cipher,n.createCipher=s.createCipher,n.Cipheriv=s.Cipheriv,n.createCipheriv=s.createCipheriv,n.Decipher=s.Decipher,n.createDecipher=s.createDecipher,n.Decipheriv=s.Decipheriv,n.createDecipheriv=s.createDecipheriv,n.getCiphers=s.getCiphers,n.listCiphers=s.listCiphers;var l=e("diffie-hellman");n.DiffieHellmanGroup=l.DiffieHellmanGroup,n.createDiffieHellmanGroup=l.createDiffieHellmanGroup,n.getDiffieHellman=l.getDiffieHellman,n.createDiffieHellman=l.createDiffieHellman,n.DiffieHellman=l.DiffieHellman;var u=e("browserify-sign");n.createSign=u.createSign,n.Sign=u.Sign,n.createVerify=u.createVerify,n.Verify=u.Verify,n.createECDH=e("create-ecdh");var c=e("public-encrypt");n.publicEncrypt=c.publicEncrypt,n.privateEncrypt=c.privateEncrypt,n.publicDecrypt=c.publicDecrypt,n.privateDecrypt=c.privateDecrypt;var d=e("randomfill");n.randomFill=d.randomFill,n.randomFillSync=d.randomFillSync,n.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(e,t,n){"use strict";!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs=r()}(void 0,(function(){var e=6e4,t=36e5,n="millisecond",r="second",i="minute",o="hour",a="day",s="week",l="month",u="quarter",c="year",d="date",h="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),o=n-i<0,a=t.clone().add(r+(o?-1:1),l);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:c,w:s,d:a,D:d,h:o,m:i,s:r,ms:n,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",b={};b[y]=m;var _="$isDayjsObject",w=function(e){return e instanceof S||!(!e||!e[_])},x=function e(t,n,r){var i;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},k=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},M=v;M.l=x,M.i=w,M.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function m(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(M.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return M},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return k(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<k(e)},g.$g=function(e,t,n){return M.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,u=!!M.u(t)||t,h=M.p(e),f=function(e,t){var r=M.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return u?r:r.endOf(a)},p=function(e,t){return M.w(n.toDate()[e].apply(n.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case c:return u?f(1,0):f(31,11);case l:return u?f(1,g):f(0,g+1);case s:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(u?v-_:v+(6-_),g);case a:case d:return p(y+"Hours",0);case o:return p(y+"Minutes",1);case i:return p(y+"Seconds",2);case r:return p(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var s,u=M.p(e),h="set"+(this.$u?"UTC":""),f=(s={},s[a]=h+"Date",s[d]=h+"Date",s[l]=h+"Month",s[c]=h+"FullYear",s[o]=h+"Hours",s[i]=h+"Minutes",s[r]=h+"Seconds",s[n]=h+"Milliseconds",s)[u],p=u===a?this.$D+(t-this.$W):t;if(u===l||u===c){var m=this.clone().set(d,1);m.$d[f](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[M.p(e)]()},g.add=function(n,u){var d,h=this;n=Number(n);var f=M.p(u),p=function(e){var t=k(h);return M.w(t.date(t.date()+Math.round(e*n)),h)};if(f===l)return this.set(l,this.$M+n);if(f===c)return this.set(c,this.$y+n);if(f===a)return p(1);if(f===s)return p(7);var m=(d={},d[i]=e,d[o]=t,d[r]=1e3,d)[f]||1,g=this.$d.getTime()+n*m;return M.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=M.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,u=n.months,c=n.meridiem,d=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},f=function(e){return M.s(o%12||12,e,"0")},m=c||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(p,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return M.s(t.$y,4,"0");case"M":return s+1;case"MM":return M.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return t.$D;case"DD":return M.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return M.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return M.s(a,2,"0");case"s":return String(t.$s);case"ss":return M.s(t.$s,2,"0");case"SSS":return M.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,d,h){var f,p=this,m=M.p(d),g=k(n),v=(g.utcOffset()-this.utcOffset())*e,y=this-g,b=function(){return M.m(p,g)};switch(m){case c:f=b()/12;break;case l:f=b();break;case u:f=b()/3;break;case s:f=(y-v)/6048e5;break;case a:f=(y-v)/864e5;break;case o:f=y/t;break;case i:f=y/e;break;case r:f=y/1e3;break;default:f=y}return h?f:M.a(f)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=x(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return M.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),C=S.prototype;return k.prototype=C,[["$ms",n],["$s",r],["$m",i],["$H",o],["$W",a],["$M",l],["$y",c],["$D",d]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,S,k),e.$i=!0),k},k.locale=x,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=b[y],k.Ls=b,k.p={},k}))},{}],392:[function(e,t,n){"use strict";!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=r()}(void 0,(function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,o={},a=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},c=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=c(e,!1)}],a:[i,function(e){this.afternoon=c(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(e){var t=u("months"),n=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=a(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function h(n){var r,i;r=n,i=o&&o.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,l=0;l<s;l+=1){var u=a[l],c=d[u],h=c&&c[0],f=c&&c[1];a[l]=f?{regex:h,parser:f}:u.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if("string"==typeof i)r+=i.length;else{var o=i.regex,l=i.parser,u=e.slice(r),c=o.exec(u)[0];l.call(t,c),e=e.replace(c,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(a=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if("string"==typeof s){var l=!0===a[2],u=!0===a[3],c=l||u,d=a[2];u&&(d=a[2]),o=this.$locale(),!l&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=h(t)(e),i=r.year,o=r.month,a=r.day,s=r.hours,l=r.minutes,u=r.seconds,c=r.milliseconds,d=r.zone,f=new Date,p=a||(i||o?1:f.getDate()),m=i||f.getFullYear(),g=0;i&&!o||(g=o>0?o-1:f.getMonth());var v=s||0,y=l||0,b=u||0,_=c||0;return d?new Date(Date.UTC(m,g,p,v,y,b,_+60*d.offset*1e3)):n?new Date(Date.UTC(m,g,p,v,y,b,_)):new Date(m,g,p,v,y,b,_)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),c&&t!=this.format(s)&&(this.$d=new Date("")),o={}}else if(s instanceof Array)for(var f=s.length,p=1;p<=f;p+=1){a[1]=s[p-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===f&&(this.$d=new Date(""))}else i.call(this,e)}}}))},{}],393:[function(e,t,n){"use strict";!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_utc=r()}(void 0,(function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r)))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var c=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return h.call(this,e,t,n);var r=this.local(),i=o(e).local();return h.call(r,i,t,n)}}}))},{}],394:[function(e,t,n){"use strict";n.utils=e("./des/utils"),n.Cipher=e("./des/cipher"),n.DES=e("./des/des"),n.CBC=e("./des/cbc"),n.EDE=e("./des/ede")},{"./des/cbc":395,"./des/cipher":396,"./des/des":397,"./des/ede":398,"./des/utils":399}],395:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits"),o={};function a(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}n.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(o),r=0;r<n.length;r++){var a=n[r];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},o._update=function(e,t,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];for(o._update.call(this,a,0,n,r),s=0;s<this.blockSize;s++)a[s]=n[r+s]}else{for(o._update.call(this,e,t,n,r),s=0;s<this.blockSize;s++)n[r+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},{inherits:440,"minimalistic-assert":453}],396:[function(e,t,n){"use strict";var r=e("minimalistic-assert");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==e.padding}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":453}],397:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits"),o=e("./utils"),a=e("./cipher");function s(){this.tmp=new Array(2),this.keys=null}function l(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}i(l,a),t.exports=l,l.create=function(e){return new l(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=u[a>>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,e.keys,a)}},l.prototype._update=function(e,t,n,r){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},l.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},l.prototype._unpad=function(e){if(!1===this.padding)return e;for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,n,r,i){for(var a=t,s=n,l=0;l<e.keys.length;l+=2){var u=e.keys[l],c=e.keys[l+1];o.expand(s,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),h=s;s=(a^o.permute(d))>>>0,a=h}o.rip(s,a,r,i)},l.prototype._decrypt=function(e,t,n,r,i){for(var a=n,s=t,l=e.keys.length-2;l>=0;l-=2){var u=e.keys[l],c=e.keys[l+1];o.expand(a,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),h=a;a=(s^o.permute(d))>>>0,s=h}o.rip(a,s,r,i)}},{"./cipher":396,"./utils":399,inherits:440,"minimalistic-assert":453}],398:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits"),o=e("./cipher"),a=e("./des");function s(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function l(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(l,o),t.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},{"./cipher":396,"./des":397,inherits:440,"minimalistic-assert":453}],399:[function(e,t,n){"use strict";n.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},n.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},n.ip=function(e,t,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},n.rip=function(e,t,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},n.pc1=function(e,t,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},n.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];n.pc2=function(e,t,n,i){for(var o=0,a=0,s=r.length>>>1,l=0;l<s;l++)o<<=1,o|=e>>>r[l]&1;for(l=s;l<r.length;l++)a<<=1,a|=t>>>r[l]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},n.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];n.substitute=function(e,t){for(var n=0,r=0;r<4;r++)n<<=4,n|=i[64*r+(e>>>18-6*r&63)];for(r=0;r<4;r++)n<<=4,n|=i[256+64*r+(t>>>18-6*r&63)];return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];n.permute=function(e){for(var t=0,n=0;n<o.length;n++)t<<=1,t|=e>>>o[n]&1;return t>>>0},n.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var i=[],o=0;o<t;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},{}],400:[function(e,t,n){(function(t){(function(){"use strict";var r=e("./lib/generatePrime"),i=e("./lib/primes.json"),o=e("./lib/dh"),a={binary:!0,hex:!0,base64:!0};n.DiffieHellmanGroup=n.createDiffieHellmanGroup=n.getDiffieHellman=function(e){var n=new t(i[e].prime,"hex"),r=new t(i[e].gen,"hex");return new o(n,r)},n.createDiffieHellman=n.DiffieHellman=function e(n,i,s,l){return t.isBuffer(i)||void 0===a[i]?e(n,"binary",i,s):(i=i||"binary",l=l||"binary",s=s||new t([2]),t.isBuffer(s)||(s=new t(s,l)),"number"==typeof n?new o(r(n,s),s,!0):(t.isBuffer(n)||(n=new t(n,i)),new o(n,s,!0)))}}).call(this)}).call(this,e("buffer").Buffer)},{"./lib/dh":401,"./lib/generatePrime":402,"./lib/primes.json":403,buffer:220}],401:[function(e,t,n){(function(n){(function(){"use strict";var r=e("bn.js"),i=new(e("miller-rabin")),o=new r(24),a=new r(11),s=new r(10),l=new r(3),u=new r(7),c=e("./generatePrime"),d=e("randombytes");function h(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this._pub=new r(e),this}function f(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this._priv=new r(e),this}t.exports=m;var p={};function m(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=h,this.setPrivateKey=f):this._primeCode=8}function g(e,t){var r=new n(e.toArray());return t?r.toString(t):r}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in p)return p[r];var d,h=0;if(e.isEven()||!c.simpleSieve||!c.fermatTest(e)||!i.test(e))return h+=1,h+="02"===n||"05"===n?8:4,p[r]=h,h;switch(i.test(e.shrn(1))||(h+=2),n){case"02":e.mod(o).cmp(a)&&(h+=8);break;case"05":(d=e.mod(s)).cmp(l)&&d.cmp(u)&&(h+=8);break;default:h+=4}return p[r]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new r(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var t=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new n(t.toArray()),o=this.getPrime();if(i.length<o.length){var a=new n(o.length-i.length);a.fill(0),i=n.concat([a,i])}return i},m.prototype.getPublicKey=function(e){return g(this._pub,e)},m.prototype.getPrivateKey=function(e){return g(this._priv,e)},m.prototype.getPrime=function(e){return g(this.__prime,e)},m.prototype.getGenerator=function(e){return g(this._gen,e)},m.prototype.setGenerator=function(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this.__gen=e,this._gen=new r(e),this}}).call(this)}).call(this,e("buffer").Buffer)},{"./generatePrime":402,"bn.js":404,buffer:220,"miller-rabin":451,randombytes:475}],402:[function(e,t,n){"use strict";var r=e("randombytes");t.exports=y,y.simpleSieve=g,y.fermatTest=v;var i=e("bn.js"),o=new i(24),a=new(e("miller-rabin")),s=new i(1),l=new i(2),u=new i(5),c=(new i(16),new i(8),new i(10)),d=new i(3),h=(new i(7),new i(11)),f=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<t&&e[i]<=r&&n%e[i]!=0;i++);t!==i&&e[i]<=r||(e[t++]=n)}return p=e,e}function g(e){for(var t=m(),n=0;n<t.length;n++)if(0===e.modn(t[n]))return 0===e.cmpn(t[n]);return!0}function v(e){var t=i.mont(e);return 0===l.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var n,p;for(t=new i(t);;){for(n=new i(r(Math.ceil(e/8)));n.bitLength()>e;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(l),t.cmp(l)){if(!t.cmp(u))for(;n.mod(c).cmp(d);)n.iadd(f)}else for(;n.mod(o).cmp(h);)n.iadd(f);if(g(p=n.shrn(1))&&g(n)&&v(p)&&v(n)&&a.test(p)&&a.test(n))return n}}},{"bn.js":404,"miller-rabin":451,randombytes:475}],403:[function(e,t,n){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],404:[function(e,t,n){arguments[4][184][0].apply(n,arguments)},{buffer:188,dup:184}],405:[function(e,t,n){"use strict";var r=n;r.version=e("../package.json").version,r.utils=e("./elliptic/utils"),r.rand=e("brorand"),r.curve=e("./elliptic/curve"),r.curves=e("./elliptic/curves"),r.ec=e("./elliptic/ec"),r.eddsa=e("./elliptic/eddsa")},{"../package.json":421,"./elliptic/curve":408,"./elliptic/curves":411,"./elliptic/ec":412,"./elliptic/eddsa":415,"./elliptic/utils":419,brorand:187}],406:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("../utils"),o=i.getNAF,a=i.getJSF,s=i.assert;function l(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;var a,l,u=[];for(a=0;a<r.length;a+=n.step){l=0;for(var c=a+n.step-1;c>=a;c--)l=(l<<1)+r[c];u.push(l)}for(var d=this.jpoint(null,null,null),h=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a<u.length;a++)(l=u[a])===f?h=h.mixedAdd(n.points[a]):l===-f&&(h=h.mixedAdd(n.points[a].neg()));d=d.add(h)}return d.toP()},l.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=o(t,n,this._bitLength),l=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(var c=0;u>=0&&0===a[u];u--)c++;if(u>=0&&c++,l=l.dblp(c),u<0)break;var d=a[u];s(0!==d),l="affine"===e.type?d>0?l.mixedAdd(i[d-1>>1]):l.mixedAdd(i[-d-1>>1].neg()):d>0?l.add(i[d-1>>1]):l.add(i[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,n,r,i){var s,l,u,c=this._wnafT1,d=this._wnafT2,h=this._wnafT3,f=0;for(s=0;s<r;s++){var p=(u=t[s])._getNAFPoints(e);c[s]=p.wnd,d[s]=p.points}for(s=r-1;s>=1;s-=2){var m=s-1,g=s;if(1===c[m]&&1===c[g]){var v=[t[m],null,null,t[g]];0===t[m].y.cmp(t[g].y)?(v[1]=t[m].add(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg())):0===t[m].y.cmp(t[g].y.redNeg())?(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].add(t[g].neg())):(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],b=a(n[m],n[g]);for(f=Math.max(b[0].length,f),h[m]=new Array(f),h[g]=new Array(f),l=0;l<f;l++){var _=0|b[0][l],w=0|b[1][l];h[m][l]=y[3*(_+1)+(w+1)],h[g][l]=0,d[m]=v}}else h[m]=o(n[m],c[m],this._bitLength),h[g]=o(n[g],c[g],this._bitLength),f=Math.max(h[m].length,f),f=Math.max(h[g].length,f)}var x=this.jpoint(null,null,null),k=this._wnafT4;for(s=f;s>=0;s--){for(var M=0;s>=0;){var S=!0;for(l=0;l<r;l++)k[l]=0|h[l][s],0!==k[l]&&(S=!1);if(!S)break;M++,s--}if(s>=0&&M++,x=x.dblp(M),s<0)break;for(l=0;l<r;l++){var C=k[l];0!==C&&(C>0?u=d[l][C-1>>1]:C<0&&(u=d[l][-C-1>>1].neg()),x="affine"===u.type?x.mixedAdd(u):x.add(u))}}for(s=0;s<r;s++)d[s]=null;return i?x:x.toP()},l.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*n)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)r=r.dbl();n.push(r)}return{step:e,points:n}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},{"../utils":419,"bn.js":420}],407:[function(e,t,n){"use strict";var r=e("../utils"),i=e("bn.js"),o=e("inherits"),a=e("./base"),s=r.assert;function l(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,n,r,o){a.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(l,a),t.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var l=s.fromRed().isOdd();return(t&&!l||!t&&l)&&(s=s.redNeg()),this.point(e,s)},l.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(u,a.BasePoint),l.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},l.prototype.point=function(e,t,n,r){return new u(this,e,t,n,r)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(n),s=r.redSub(t),l=i.redMul(a),u=o.redMul(s),c=i.redMul(s),d=a.redMul(o);return this.curve.point(l,u,d,c)},u.prototype._projDbl=function(){var e,t,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var u=(r=this.curve._mulA(s)).redAdd(l);this.zOne?(e=a.redSub(s).redSub(l).redMul(u.redSub(this.curve.two)),t=u.redMul(r.redSub(l)),n=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),e=a.redSub(s).redISub(l).redMul(o),t=u.redMul(r.redSub(l)),n=u.redMul(o))}else r=s.redAdd(l),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(a.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(s.redISub(l)),n=r.redMul(o);return this.curve.point(e,t,n)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),a=i.redSub(r),s=i.redAdd(r),l=n.redAdd(t),u=o.redMul(a),c=s.redMul(l),d=o.redMul(l),h=a.redMul(s);return this.curve.point(u,c,h,d)},u.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),l=i.redSub(s),u=i.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),d=r.redMul(l).redMul(c);return this.curve.twisted?(t=r.redMul(u).redMul(a.redSub(this.curve._mulA(o))),n=l.redMul(u)):(t=r.redMul(u).redMul(a.redSub(o)),n=this.curve._mulC(l).redMul(u)),this.curve.point(d,t,n)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},u.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],408:[function(e,t,n){"use strict";var r=n;r.base=e("./base"),r.short=e("./short"),r.mont=e("./mont"),r.edwards=e("./edwards")},{"./base":406,"./edwards":407,"./mont":409,"./short":410}],409:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("inherits"),o=e("./base"),a=e("../utils");function s(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,n){o.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(l,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new l(this,e,t)},s.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(n),a=i.redMul(r),s=t.z.redMul(o.redAdd(a).redSqr()),l=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],410:[function(e,t,n){"use strict";var r=e("../utils"),i=e("bn.js"),o=e("inherits"),a=e("./base"),s=r.assert;function l(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,n,r){a.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,n,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(l,a),t.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?n=o[0]:(n=o[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,n,r,o,a,s,l,u,c,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),v=new i(1),y=0;0!==h.cmpn(0);){var b=f.div(h);u=f.sub(b.mul(h)),c=g.sub(b.mul(p));var _=v.sub(b.mul(m));if(!r&&u.cmp(d)<0)t=l.neg(),n=p,r=u.neg(),o=c;else if(r&&2==++y)break;l=u,f=h,h=u,g=p,p=c,v=m,m=_}a=u.neg(),s=c;var w=r.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(w)>=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),l=i.mul(n.b),u=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:l.add(u).neg()}},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),s=e[o],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),r[2*o]=s,r[2*o+1]=l,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,r,i,2*o,n),c=0;c<2*o;c++)r[c]=null,i[c]=null;return u},o(u,a.BasePoint),l.prototype.point=function(e,t,n){return new u(this,e,t,n)},l.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var o=t[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},u.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(c,a.BasePoint),l.prototype.jpoint=function(e,t,n){return new c(this,e,t,n)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),d=r.redMul(u),h=l.redSqr().redIAdd(c).redISub(d).redISub(d),f=l.redMul(d.redISub(h)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,f,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),u=l.redMul(a),c=n.redMul(l),d=s.redSqr().redIAdd(u).redISub(c).redISub(c),h=s.redMul(c.redISub(d)).redISub(i.redMul(u)),f=this.z.redMul(a);return this.curve.jpoint(d,h,f)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t<e;t++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),u=a.redAdd(a);for(t=0;t<e;t++){var c=o.redSqr(),d=u.redSqr(),h=d.redSqr(),f=c.redAdd(c).redIAdd(c).redIAdd(r.redMul(l)),p=o.redMul(d),m=f.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),v=f.redMul(g);v=v.redIAdd(v).redISub(h);var y=u.redMul(s);t+1<e&&(l=l.redMul(h)),o=m,s=y,u=v}return this.curve.jpoint(o,u.redMul(i),s)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r),l=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=l,t=s.redMul(a.redISub(l)).redISub(u),n=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),f=this.x.redAdd(d).redSqr().redISub(c).redISub(h);f=f.redIAdd(f);var p=c.redAdd(c).redIAdd(c),m=p.redSqr(),g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(f).redISub(f),t=p.redMul(f.redISub(e)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},c.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);e=l;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=s.redMul(a.redISub(l)).redISub(u),n=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),f=this.x.redSub(c).redMul(this.x.redAdd(c));f=f.redAdd(f).redIAdd(f);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);e=f.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(d).redISub(c);var g=d.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=f.redMul(p.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,n)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=t.redSqr(),a=n.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),l=t.redAdd(t),u=(l=l.redIAdd(l)).redMul(a),c=s.redSqr().redISub(u.redAdd(u)),d=u.redISub(c),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=s.redMul(d).redISub(h),p=n.redAdd(n).redMul(r);return this.curve.jpoint(c,f,p)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(r),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),l=r.redIAdd(r);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(l),c=t.redMul(u);c=(c=c.redIAdd(c)).redIAdd(c);var d=this.x.redMul(s).redISub(c);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.y.redMul(u.redMul(l.redISub(u)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=this.z.redAdd(a).redSqr().redISub(n).redISub(s);return this.curve.jpoint(d,h,f)},c.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],411:[function(e,t,n){"use strict";var r,i=n,o=e("hash.js"),a=e("./curve"),s=e("./utils").assert;function l(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=e("./precomputed/secp256k1")}catch(e){r=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},{"./curve":408,"./precomputed/secp256k1":418,"./utils":419,"hash.js":426}],412:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("hmac-drbg"),o=e("../utils"),a=e("../curves"),s=e("brorand"),l=o.assert,u=e("./key"),c=e("./signature");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(l(Object.prototype.hasOwnProperty.call(a,e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(t.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},d.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),l=e.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:l,pers:o.pers,persEnc:o.persEnc||"utf8"}),d=this.n.sub(new r(1)),h=0;;h++){var f=o.k?o.k(h):new r(u.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(d)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var m=p.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var v=f.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var y=(p.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return o.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),y^=1),new c({r:g,s:v,recoveryParam:y})}}}}}},d.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var o=(t=new c(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,l=a.invm(this.n),u=l.mul(e).umod(this.n),d=l.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,n.getPublic(),d)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,n.getPublic(),d)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},d.prototype.recoverPubKey=function(e,t,n,i){l((3&n)===n,"The recovery param is more than two bits"),t=new c(t,i);var o=this.n,a=new r(e),s=t.r,u=t.s,d=1&n,h=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),d):this.curve.pointFromX(s,d);var f=t.r.invm(o),p=o.sub(a).mul(f).umod(o),m=u.mul(f).umod(o);return this.g.mulAdd(p,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new c(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":411,"../utils":419,"./key":413,"./signature":414,"bn.js":420,brorand:187,"hmac-drbg":438}],413:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("../utils").assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=o,o.fromPublic=function(e,t,n){return t instanceof o?t:new o(e,{pub:t,pubEnc:n})},o.fromPrivate=function(e,t,n){return t instanceof o?t:new o(e,{priv:t,privEnc:n})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":419,"bn.js":420}],414:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("../utils"),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function l(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o<r;o++,a++)i<<=8,i|=e[a],i>>>=0;return!(i<=127)&&(t.place=a,i)}function u(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function c(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}t.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new s;if(48!==e[n.place++])return!1;var o=l(e,n);if(!1===o)return!1;if(o+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var a=l(e,n);if(!1===a)return!1;var u=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var c=l(e,n);if(!1===c)return!1;if(e.length!==c+n.place)return!1;var d=e.slice(n.place,c+n.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new r(u),this.s=new r(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=u(t),n=u(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];c(r,t.length),(r=r.concat(t)).push(2),c(r,n.length);var o=r.concat(n),a=[48];return c(a,o.length),a=a.concat(o),i.encode(a,e)}},{"../utils":419,"bn.js":420}],415:[function(e,t,n){"use strict";var r=e("hash.js"),i=e("../curves"),o=e("../utils"),a=o.assert,s=o.parseBytes,l=e("./key"),u=e("./signature");function c(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}t.exports=c,c.prototype.sign=function(e,t){e=s(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),l=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:o})},c.prototype.verify=function(e,t,n){e=s(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},c.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},c.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},c.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},c.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!=(128&e[t]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},c.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(e){return o.intFromLE(e)},c.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../curves":411,"../utils":419,"./key":416,"./signature":417,"hash.js":426}],416:[function(e,t,n){"use strict";var r=e("../utils"),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},s.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},t.exports=s},{"../utils":419}],417:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("../utils"),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=l},{"../utils":419,"bn.js":420}],418:[function(e,t,n){"use strict";t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],419:[function(e,t,n){"use strict";var r=n,i=e("bn.js"),o=e("minimalistic-assert"),a=e("minimalistic-crypto-utils");r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,o=e.clone(),a=0;a<r.length;a++){var s,l=o.andln(i-1);o.isOdd()?(s=l>(i>>1)-1?(i>>1)-l:l,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var a,s,l=e.andln(3)+i&3,u=t.andln(3)+o&3;3===l&&(l=-1),3===u&&(u=-1),a=0==(1&l)?0:3!==(r=e.andln(7)+i&7)&&5!==r||2!==u?l:-l,n[0].push(a),s=0==(1&u)?0:3!==(r=t.andln(7)+o&7)&&5!==r||2!==l?u:-u,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":420,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],420:[function(e,t,n){arguments[4][184][0].apply(n,arguments)},{buffer:188,dup:184}],421:[function(e,t,n){t.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}},{}],422:[function(e,t,n){"use strict";var r=Object.create||function(e){var t=function(){};return t.prototype=e,new t},i=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n},o=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function a(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=r(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0;var s,l=10;try{var u={};Object.defineProperty&&Object.defineProperty(u,"x",{value:0}),s=0===u.x}catch(e){s=!1}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function d(e,t,n){if(t)e.call(n);else for(var r=e.length,i=w(e,r),o=0;o<r;++o)i[o].call(n)}function h(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,o=w(e,i),a=0;a<i;++a)o[a].call(n,r)}function f(e,t,n,r,i){if(t)e.call(n,r,i);else for(var o=e.length,a=w(e,o),s=0;s<o;++s)a[s].call(n,r,i)}function p(e,t,n,r,i,o){if(t)e.call(n,r,i,o);else for(var a=e.length,s=w(e,a),l=0;l<a;++l)s[l].call(n,r,i,o)}function m(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,o=w(e,i),a=0;a<i;++a)o[a].apply(n,r)}function g(e,t,n,i){var o,a,s;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]):(a=e._events=r(null),e._eventsCount=0),s){if("function"==typeof s?s=a[t]=i?[n,s]:[s,n]:i?s.unshift(n):s.push(n),!s.warned&&(o=c(e))&&o>0&&s.length>o){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",l.name,l.message)}}else s=a[t]=n,++e._eventsCount;return e}function v(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function y(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=o.call(v,r);return i.listener=n,r.wrapFn=i,i}function b(e,t,n){var r=e._events;if(!r)return[];var i=r[t];return i?"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):w(i,i.length):[]}function _(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function w(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}s?Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');l=e}}):a.defaultMaxListeners=l,a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){var t,n,r,i,o,a,s="error"===e;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var l=new Error('Unhandled "error" event. ('+t+")");throw l.context=t,l}if(!(n=a[e]))return!1;var u="function"==typeof n;switch(r=arguments.length){case 1:d(n,u,this);break;case 2:h(n,u,this,arguments[1]);break;case 3:f(n,u,this,arguments[1],arguments[2]);break;case 4:p(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];m(n,u,this,i)}return!0},a.prototype.addListener=function(e,t){return g(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return g(this,e,t,!0)},a.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,y(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,y(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,i,o,a,s;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(n=i[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=r(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}(n,o),1===n.length&&(i[e]=n[0]),i.removeListener&&this.emit("removeListener",e,s||t)}return this},a.prototype.removeAllListeners=function(e){var t,n,o;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=r(null),this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=r(null):delete n[e]),this;if(0===arguments.length){var a,s=i(n);for(o=0;o<s.length;++o)"removeListener"!==(a=s[o])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=r(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)for(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this},a.prototype.listeners=function(e){return b(this,e,!0)},a.prototype.rawListeners=function(e){return b(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):_.call(e,t)},a.prototype.listenerCount=_,a.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],423:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("md5.js");t.exports=function(e,t,n,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),l=r.alloc(o||0),u=r.alloc(0);a>0||o>0;){var c=new i;c.update(u),c.update(e),t&&c.update(t),u=c.digest();var d=0;if(a>0){var h=s.length-a;d=Math.min(a,u.length),u.copy(s,h,0,d),a-=d}if(d<u.length&&o>0){var f=l.length-o,p=Math.min(o,u.length-d);u.copy(l,f,d,d+p),o-=p}}return u.fill(0),{key:s,iv:l}}},{"md5.js":450,"safe-buffer":494}],424:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CsvParserStream=n.ParserOptions=n.parseFile=n.parseStream=n.parseString=n.parse=n.FormatterOptions=n.CsvFormatterStream=n.writeToPath=n.writeToString=n.writeToBuffer=n.writeToStream=n.write=n.format=void 0;var r=e("@fast-csv/format");Object.defineProperty(n,"format",{enumerable:!0,get:function(){return r.format}}),Object.defineProperty(n,"write",{enumerable:!0,get:function(){return r.write}}),Object.defineProperty(n,"writeToStream",{enumerable:!0,get:function(){return r.writeToStream}}),Object.defineProperty(n,"writeToBuffer",{enumerable:!0,get:function(){return r.writeToBuffer}}),Object.defineProperty(n,"writeToString",{enumerable:!0,get:function(){return r.writeToString}}),Object.defineProperty(n,"writeToPath",{enumerable:!0,get:function(){return r.writeToPath}}),Object.defineProperty(n,"CsvFormatterStream",{enumerable:!0,get:function(){return r.CsvFormatterStream}}),Object.defineProperty(n,"FormatterOptions",{enumerable:!0,get:function(){return r.FormatterOptions}});var i=e("@fast-csv/parse");Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(n,"parseString",{enumerable:!0,get:function(){return i.parseString}}),Object.defineProperty(n,"parseStream",{enumerable:!0,get:function(){return i.parseStream}}),Object.defineProperty(n,"parseFile",{enumerable:!0,get:function(){return i.parseFile}}),Object.defineProperty(n,"ParserOptions",{enumerable:!0,get:function(){return i.ParserOptions}}),Object.defineProperty(n,"CsvParserStream",{enumerable:!0,get:function(){return i.CsvParserStream}})},{"@fast-csv/format":151,"@fast-csv/parse":155}],425:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("readable-stream").Transform;function o(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,i),o.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var a=0,s=8*e.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},{inherits:440,"readable-stream":491,"safe-buffer":494}],426:[function(e,t,n){"use strict";var r=n;r.utils=e("./hash/utils"),r.common=e("./hash/common"),r.sha=e("./hash/sha"),r.ripemd=e("./hash/ripemd"),r.hmac=e("./hash/hmac"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},{"./hash/common":427,"./hash/hmac":428,"./hash/ripemd":429,"./hash/sha":430,"./hash/utils":437}],427:[function(e,t,n){"use strict";var r=e("./utils"),i=e("minimalistic-assert");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}n.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},{"./utils":437,"minimalistic-assert":453}],428:[function(e,t,n){"use strict";var r=e("./utils"),i=e("minimalistic-assert");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}t.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":437,"minimalistic-assert":453}],429:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./common"),o=r.rotl32,a=r.sum32,s=r.sum32_3,l=r.sum32_4,u=i.BlockHash;function c(){if(!(this instanceof c))return new c;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(c,u),n.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],u=this.h[3],c=this.h[4],y=n,b=r,_=i,w=u,x=c,k=0;k<80;k++){var M=a(o(l(n,d(k,r,i,u),e[p[k]+t],h(k)),g[k]),c);n=c,c=u,u=o(i,10),i=r,r=M,M=a(o(l(y,d(79-k,b,_,w),e[m[k]+t],f(k)),v[k]),x),y=x,x=w,w=o(_,10),_=b,b=M}M=s(this.h[1],i,w),this.h[1]=s(this.h[2],u,x),this.h[2]=s(this.h[3],c,y),this.h[3]=s(this.h[4],n,b),this.h[4]=s(this.h[0],r,_),this.h[0]=M},c.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":427,"./utils":437}],430:[function(e,t,n){"use strict";n.sha1=e("./sha/1"),n.sha224=e("./sha/224"),n.sha256=e("./sha/256"),n.sha384=e("./sha/384"),n.sha512=e("./sha/512")},{"./sha/1":431,"./sha/224":432,"./sha/256":433,"./sha/384":434,"./sha/512":435}],431:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../common"),o=e("./common"),a=r.rotl32,s=r.sum32,l=r.sum32_5,u=o.ft_1,c=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(h,c),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],c=this.h[2],h=this.h[3],f=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),m=l(a(i,5),u(p,o,c,h),f,n[r],d[p]);f=h,h=c,c=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],c),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],f)},h.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436}],432:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./256");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},{"../utils":437,"./256":433}],433:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../common"),o=e("./common"),a=e("minimalistic-assert"),s=r.sum32,l=r.sum32_4,u=r.sum32_5,c=o.ch32,d=o.maj32,h=o.s0_256,f=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(y,g),t.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=l(m(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],g=this.h[2],v=this.h[3],y=this.h[4],b=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var x=u(w,f(y),c(y,b,_),this.k[r],n[r]),k=s(h(i),d(i,o,g));w=_,_=b,b=y,y=s(v,x),v=g,g=o,o=i,i=s(x,k)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436,"minimalistic-assert":453}],434:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./512");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},{"../utils":437,"./512":435}],435:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../common"),o=e("minimalistic-assert"),a=r.rotr64_hi,s=r.rotr64_lo,l=r.shr64_hi,u=r.shr64_lo,c=r.sum64,d=r.sum64_hi,h=r.sum64_lo,f=r.sum64_4_hi,p=r.sum64_4_lo,m=r.sum64_5_hi,g=r.sum64_5_lo,v=i.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function _(e,t,n,r,i){var o=e&n^~e&i;return o<0&&(o+=4294967296),o}function w(e,t,n,r,i,o){var a=t&r^~t&o;return a<0&&(a+=4294967296),a}function x(e,t,n,r,i){var o=e&n^e&i^n&i;return o<0&&(o+=4294967296),o}function k(e,t,n,r,i,o){var a=t&r^t&o^r&o;return a<0&&(a+=4294967296),a}function M(e,t){var n=a(e,t,28)^a(t,e,2)^a(t,e,7);return n<0&&(n+=4294967296),n}function S(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function C(e,t){var n=a(e,t,14)^a(e,t,18)^a(t,e,9);return n<0&&(n+=4294967296),n}function T(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function O(e,t){var n=a(e,t,1)^a(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function L(e,t){var n=s(e,t,1)^s(e,t,8)^u(e,t,7);return n<0&&(n+=4294967296),n}function A(e,t){var n=a(e,t,19)^a(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}function D(e,t){var n=s(e,t,19)^s(t,e,29)^u(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(b,v),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=A(n[r-4],n[r-3]),o=D(n[r-4],n[r-3]),a=n[r-14],s=n[r-13],l=O(n[r-30],n[r-29]),u=L(n[r-30],n[r-29]),c=n[r-32],d=n[r-31];n[r]=f(i,o,a,s,l,u,c,d),n[r+1]=p(i,o,a,s,l,u,c,d)}},b.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4],u=this.h[5],f=this.h[6],p=this.h[7],v=this.h[8],y=this.h[9],b=this.h[10],O=this.h[11],L=this.h[12],A=this.h[13],D=this.h[14],E=this.h[15];o(this.k.length===n.length);for(var I=0;I<n.length;I+=2){var j=D,P=E,R=C(v,y),N=T(v,y),B=_(v,y,b,O,L),Y=w(v,y,b,O,L,A),F=this.k[I],z=this.k[I+1],H=n[I],V=n[I+1],W=m(j,P,R,N,B,Y,F,z,H,V),U=g(j,P,R,N,B,Y,F,z,H,V);j=M(r,i),P=S(r,i),R=x(r,i,a,s,l),N=k(r,i,a,s,l,u);var $=d(j,P,R,N),G=h(j,P,R,N);D=L,E=A,L=b,A=O,b=v,O=y,v=d(f,p,W,U),y=h(p,p,W,U),f=l,p=u,l=a,u=s,a=r,s=i,r=d(W,U,$,G),i=h(W,U,$,G)}c(this.h,0,r,i),c(this.h,2,a,s),c(this.h,4,l,u),c(this.h,6,f,p),c(this.h,8,v,y),c(this.h,10,b,O),c(this.h,12,L,A),c(this.h,14,D,E)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},{"../common":427,"../utils":437,"minimalistic-assert":453}],436:[function(e,t,n){"use strict";var r=e("../utils").rotr32;function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}n.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?a(t,n,r):2===e?o(t,n,r):void 0},n.ch32=i,n.maj32=o,n.p32=a,n.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},n.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},n.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},n.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},{"../utils":437}],437:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits");function o(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}n.inherits=i,n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},n.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},n.htonl=a,n.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=a(i)),n+=l(i.toString(16))}return n},n.zero2=s,n.zero8=l,n.join32=function(e,t,n,i){var o=n-t;r(o%4==0);for(var a=new Array(o/4),s=0,l=t;s<a.length;s++,l+=4){var u;u="big"===i?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],a[s]=u>>>0}return a},n.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},n.rotr32=function(e,t){return e>>>t|e<<32-t},n.rotl32=function(e,t){return e<<t|e>>>32-t},n.sum32=function(e,t){return e+t>>>0},n.sum32_3=function(e,t,n){return e+t+n>>>0},n.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},n.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},n.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o<r?1:0)+n+i;e[t]=a>>>0,e[t+1]=o},n.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},n.sum64_lo=function(e,t,n,r){return t+r>>>0},n.sum64_4_hi=function(e,t,n,r,i,o,a,s){var l=0,u=t;return l+=(u=u+r>>>0)<t?1:0,l+=(u=u+o>>>0)<o?1:0,e+n+i+a+(l+=(u=u+s>>>0)<s?1:0)>>>0},n.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},n.sum64_5_hi=function(e,t,n,r,i,o,a,s,l,u){var c=0,d=t;return c+=(d=d+r>>>0)<t?1:0,c+=(d=d+o>>>0)<o?1:0,c+=(d=d+s>>>0)<s?1:0,e+n+i+a+l+(c+=(d=d+u>>>0)<u?1:0)>>>0},n.sum64_5_lo=function(e,t,n,r,i,o,a,s,l,u){return t+r+o+s+u>>>0},n.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},n.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},n.shr64_hi=function(e,t,n){return e>>>n},n.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},{inherits:440,"minimalistic-assert":453}],438:[function(e,t,n){"use strict";var r=e("hash.js"),i=e("minimalistic-crypto-utils"),o=e("minimalistic-assert");function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}t.exports=a,a.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},a.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,e);return this._update(n),this._reseed++,i.encode(a,t)}},{"hash.js":426,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],439:[function(e,t,n){"use strict";
  556. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+f]=255&a,f+=p,a/=256,u-=8);e[n+f-p]|=128*m}},{}],440:[function(e,t,n){"use strict";"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],441:[function(e,n,r){(function(t,i,o,a,s,l,u,c){(function(){"use strict";
  557. /*!
  558. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  559. <http://stuartk.com/jszip>
  560. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  561. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  562. JSZip uses the library pako released under the MIT license :
  563. https://github.com/nodeca/pako/blob/main/LICENSE
  564. */!function(e){"object"==typeof r&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=e()}((function(){return function t(n,r,i){function o(s,l){if(!r[s]){if(!n[s]){var u="function"==typeof e&&e;if(!l&&u)return u(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=r[s]={exports:{}};n[s][0].call(d.exports,(function(e){return o(n[s][1][e]||e)}),d,d.exports,t,n,r,i)}return r[s].exports}for(var a="function"==typeof e&&e,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,n){var r=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,a,s,l,u,c=[],d=0,h=e.length,f=h,p="string"!==r.getTypeOf(e);d<e.length;)f=h-d,i=p?(t=e[d++],n=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),n=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),a=t>>2,s=(3&t)<<4|n>>4,l=1<f?(15&n)<<2|i>>6:64,u=2<f?63&i:64,c.push(o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(u));return c.join("")},n.decode=function(e){var t,n,r,a,s,l,u=0,c=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&f--,e.charAt(e.length-2)===o.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=i.uint8array?new Uint8Array(0|f):new Array(0|f);u<e.length;)t=o.indexOf(e.charAt(u++))<<2|(a=o.indexOf(e.charAt(u++)))>>4,n=(15&a)<<4|(s=o.indexOf(e.charAt(u++)))>>2,r=(3&s)<<6|(l=o.indexOf(e.charAt(u++))),h[c++]=t,64!==s&&(h[c++]=n),64!==l&&(h[c++]=r);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var o=i,a=0+n;e^=-1;for(var s=0;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,n,r){var o=i,a=0+n;e^=-1;for(var s=0;s<a;s++)e=e>>>8^o[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),a=e("./stream/GenericWorker"),s=r?"uint8array":"array";function l(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,a,c){var d,h,f=e.file,p=e.compression,m=c!==s.utf8encode,g=o.transformTo("string",c(f.name)),v=o.transformTo("string",s.utf8encode(f.name)),y=f.comment,b=o.transformTo("string",c(y)),_=o.transformTo("string",s.utf8encode(y)),w=v.length!==f.name.length,x=_.length!==y.length,k="",M="",S="",C=f.dir,T=f.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var L=0;t&&(L|=8),m||!w&&!x||(L|=2048);var A=0,D=0;C&&(A|=16),"UNIX"===a?(D=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(f.unixPermissions,C)):(D=20,A|=function(e){return 63&(e||0)}(f.dosPermissions)),d=T.getUTCHours(),d<<=6,d|=T.getUTCMinutes(),d<<=5,d|=T.getUTCSeconds()/2,h=T.getUTCFullYear()-1980,h<<=4,h|=T.getUTCMonth()+1,h<<=5,h|=T.getUTCDate(),w&&(M=r(1,1)+r(l(g),4)+v,k+="up"+r(M.length,2)+M),x&&(S=r(1,1)+r(l(b),4)+_,k+="uc"+r(S.length,2)+S);var E="";return E+="\n\0",E+=r(L,2),E+=p.magic,E+=r(d,2),E+=r(h,2),E+=r(O.crc32,4),E+=r(O.compressedSize,4),E+=r(O.uncompressedSize,4),E+=r(g.length,2),E+=r(k.length,2),{fileRecord:u.LOCAL_FILE_HEADER+E+g+k,dirRecord:u.CENTRAL_FILE_HEADER+r(D,2)+E+r(b.length,2)+"\0\0\0\0"+r(A,4)+r(i,4)+g+k+b}}var o=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),u=e("../signature");function c(e,t,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(c,a),c.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return u.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,a){var s=o.transformTo("string",a(i));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},c.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},c.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new i(t.streamFiles,n,t.platform,t.encodeFileName),a=0;try{e.forEach((function(e,n){a++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},l=n.dir,u=n.date;n._compressWorker(i,s).withStreamInfo("file",{name:e,dir:l,date:u,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e("./utils"),i=e("./external"),o=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function u(e){return new i.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new a(t);return n.load(e),n})).then((function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(u(r[o]));return i.Promise.all(n)})).then((function(e){for(var i=e.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,u=r.resolve(s.fileNameStr);n.file(u,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(u).unsafeOriginalName=l)}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(o,i),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),n&&n(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:void 0!==o,newBufferFrom:function(e,t){if(o.from&&o.from!==Uint8Array.from)return o.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new o(e,t)},allocBuffer:function(e){if(o.alloc)return o.alloc(e);var t=new o(e);return t.fill(0),t},isBuffer:function(e){return o.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){function r(e,t,n){var r,i=o.getTypeOf(t),s=o.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=m(e)),s.createFolders&&(r=p(e))&&g.call(this,r,!0);var d,v="string"===i&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!v),(t instanceof u&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string"),d=t instanceof u||t instanceof a?t:h.isNode&&h.isStream(t)?new f(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var y=new c(e,d,s);this.files[e]=y}var i=e("./utf8"),o=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),u=e("./compressedObject"),c=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function v(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(v(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(v(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=d.generateWorker(this,n,r)}catch(e){(t=new a("error")).error(e)}return new s(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){var r=e("./DataReader");function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){var r=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e("../utils"),i=e("../support"),o=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new l(r.transformTo("uint8array",e)):new o(r.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){var r=e("./GenericWorker"),i=e("../utils");function o(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,r),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e("./GenericWorker"),i=e("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,r),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e("../utils"),i=e("./ConvertWorker"),a=e("./GenericWorker"),s=e("../base64"),l=e("../support"),u=e("../external"),c=null;if(l.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t,n){var o=t;switch(t){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=t,this._mimeType=n,r.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return function(e,t){return new u.Promise((function(n,i){var a=[],l=e._internalType,u=e._outputType,c=e._mimeType;e.on("data",(function(e,n){a.push(e),t&&t(n)})).on("error",(function(e){a=[],i(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return r.newBlob(r.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return r.transformTo(e,t)}}(u,function(e,t){var n,r=0,i=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case"nodebuffer":return o.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,a),c);n(e)}catch(e){i(e)}a=[]})).resume()}))}(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){r.delay(t,arguments,n)})),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==o,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=0===i.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(){a.call(this,"utf-8 decode"),this.leftOver=null}function c(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,r,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),o=a=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,o,a=e.length,l=new Array(2*a);for(t=n=0;t<a;)if((i=e[t++])<128)l[n++]=i;else if(4<(o=s[i]))l[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<a;)i=i<<6|63&e[t++],o--;1<o?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(u,a),u.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}(t),l=t;a!==t.length&&(i.uint8array?(l=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(l=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=u,r.inherits(c,a),c.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),a=e("./external");function s(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(e,t){n.checkSupport("blob");try{return new Blob([e],{type:t})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function d(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=u.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=u.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return u.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function h(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=d;var f={};f.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,o.allocBuffer(e.length))}},f.array={string:d,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},f.arraybuffer={string:function(e){return d(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o.newBufferFrom(e)}},f.nodebuffer={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return f[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var i=t[r];"."===i||""===i&&0!==r&&r!==t.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){c((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,s,u){return a.Promise.resolve(t).then((function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var c=n.getTypeOf(t);return c?("arraybuffer"===c?t=n.transformTo("uint8array",t):"string"===c&&(u?t=i.decode(t):o&&!0!==s&&(t=function(e){return l(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){var r=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),a=e("./zipEntry"),s=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),l=e("./compressions"),u=e("./support");function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new i(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<u.length;d++)r.prototype[u[d]]=c;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(c),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var l=new e.MessageChannel;l.port1.onmessage=c,n=function(){l.port2.postMessage(0)}}var u=[];function c(){var e,t;r=!0;for(var n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}r=!1}t.exports=function(e){1!==u.push(e)||r||n()}}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){var r=e("immediate");function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function c(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(r){return o.reject(e,r)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var a=p((function(){t(i,r)}));"error"===a.status&&r(a.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=u).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(i);return this.state!==l?d(n,this.state===s?e:t,this.outcome):this.queue.push(new c(n,e,t)),n},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=p(h,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)f(e,r);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,u=new this(i);++l<n;)c(e[l],l);return u;function c(e,i){t.resolve(e).then((function(e){a[i]=e,++s!==n||r||(r=!0,o.resolve(u,a))}),(function(e){r||(r=!0,o.reject(u,e))}))}},u.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,n=!1;if(!t)return this.resolve([]);for(var r,a=-1,s=new this(i);++a<t;)r=e[a],this.resolve(r).then((function(e){n||(n=!0,o.resolve(s,e))}),(function(e){n||(n=!0,o.reject(s,e))}));return s}},{immediate:36}],38:[function(e,t,n){var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=r.deflateSetDictionary(this.strm,c)))throw new Error(a[n]);this._dict_set=!0}}function c(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}u.prototype.push=function(e,t){var n,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),!(s.avail_out=0))},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=u,n.deflate=c,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new u,r.inflateGetHeader(this.strm,this.header)}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,l,u,d,h,f=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?f.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(p),f.next_out=0,f.avail_out=p),(n=r.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(h="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,h)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&n!==a.Z_STREAM_END&&(0!==f.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(f.output,f.next_out),u=f.next_out-l,d=o.buf2string(f.output,l),f.next_out=u,f.avail_out=p-u,u&&i.arraySet(f.output,f.output,l,u,0),this.onData(d)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(e,t,n){var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,i,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),o=a=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,s=t||e.length,u=new Array(2*s);for(n=r=0;n<s;)if((i=e[n++])<128)u[r++]=i;else if(4<(o=a[i]))u[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<s;)i=i<<6|63&e[n++],o--;1<o?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return l(u,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(i=i+t[r++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16|0}},{}],44:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,i=e("../utils/common"),o=e("./trees"),a=e("./adler32"),s=e("./crc32"),l=e("./messages"),u=-2,c=258,d=262,h=113;function f(e,t){return e.msg=l[t],t}function p(e){return(e<<1)-(4<e?9:0)}function m(e){for(var t=e.length;0<=--t;)e[t]=0}function g(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function v(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,g(e.strm)}function y(e,t){e.pending_buf[e.pending++]=t}function b(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function _(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,u=e.window,h=e.w_mask,f=e.prev,p=e.strstart+c,m=u[o+a-1],g=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+a]===g&&u[n+a-1]===m&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do{}while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&o<p);if(r=c-(p-o),o=p-c,a<r){if(e.match_start=t,s<=(a=r))break;m=u[o+a-1],g=u[o+a]}}}while((t=f[t&h])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function w(e){var t,n,r,o,l,u,c,h,f,p,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-d)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);o+=m}if(0===e.strm.avail_in)break;if(u=e.strm,c=e.window,h=e.strstart+e.lookahead,p=void 0,(f=o)<(p=u.avail_in)&&(p=f),n=0===p?0:(u.avail_in-=p,i.arraySet(c,u.input,u.next_in,p,h),1===u.state.wrap?u.adler=a(u.adler,c,p,h):2===u.state.wrap&&(u.adler=s(u.adler,c,p,h)),u.next_in+=p,u.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<d&&0!==e.strm.avail_in)}function x(e,t){for(var n,r;;){if(e.lookahead<d){if(w(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-d&&(e.match_length=_(e,n)),e.match_length>=3)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}function k(e,t){for(var n,r,i;;){if(e.lookahead<d){if(w(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-d&&(e.match_length=_(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(v(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&v(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}function M(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function S(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),m(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function C(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:h,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):f(e,u)}function T(e){var t=C(e);return 0===t&&function(e){e.window_size=2*e.w_size,m(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0}(e.state),t}function O(e,t,n,r,o,a){if(!e)return u;var s=1;if(-1===t&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),o<1||9<o||8!==n||r<8||15<r||t<0||9<t||a<0||4<a)return f(e,u);8===r&&(r=9);var l=new S;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,T(e)}r=[new M(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(w(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,v(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-d&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(v(e,!1),e.strm.avail_out),1)})),new M(4,4,8,4,x),new M(4,5,16,8,x),new M(4,6,32,32,x),new M(4,4,16,16,k),new M(8,16,32,32,k),new M(8,16,128,128,k),new M(8,32,128,256,k),new M(32,128,258,1024,k),new M(32,258,258,4096,k)],n.deflateInit=function(e,t){return O(e,t,8,15,8,0)},n.deflateInit2=O,n.deflateReset=T,n.deflateResetKeep=C,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=t,0):u},n.deflate=function(e,t){var n,i,a,l;if(!e||!e.state||5<t||t<0)return e?f(e,u):u;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return f(e,0===e.avail_out?-5:u);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,y(i,31),y(i,139),y(i,8),i.gzhead?(y(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),y(i,255&i.gzhead.time),y(i,i.gzhead.time>>8&255),y(i,i.gzhead.time>>16&255),y(i,i.gzhead.time>>24&255),y(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),y(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(y(i,255&i.gzhead.extra.length),y(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(y(i,0),y(i,0),y(i,0),y(i,0),y(i,0),y(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),y(i,3),i.status=h);else{var d=8+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=h,b(i,d),0!==i.strstart&&(b(i,e.adler>>>16),b(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending!==i.pending_buf_size));)y(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,y(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,y(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&g(e),i.pending+2<=i.pending_buf_size&&(y(i,255&e.adler),y(i,e.adler>>8&255),e.adler=0,i.status=h)):i.status=h),0!==i.pending){if(g(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&p(t)<=p(n)&&4!==t)return f(e,-5);if(666===i.status&&0!==e.avail_in)return f(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var _=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(w(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=c){if(w(e),e.lookahead<=c&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+c;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=c-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==_&&4!==_||(i.status=666),1===_||3===_)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===_&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(m(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),g(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(y(i,255&e.adler),y(i,e.adler>>8&255),y(i,e.adler>>16&255),y(i,e.adler>>24&255),y(i,255&e.total_in),y(i,e.total_in>>8&255),y(i,e.total_in>>16&255),y(i,e.total_in>>24&255)):(b(i,e.adler>>>16),b(i,65535&e.adler)),g(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&t!==h&&666!==t?f(e,u):(e.state=null,t===h?f(e,-3):0):u},n.deflateSetDictionary=function(e,t){var n,r,o,s,l,c,d,h,f=t.length;if(!e||!e.state)return u;if(2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return u;for(1===s&&(e.adler=a(e.adler,t,f,0)),n.wrap=0,f>=n.w_size&&(0===s&&(m(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,t,f-n.w_size,n.w_size,0),t=h,f=n.w_size),l=e.avail_in,c=e.next_in,d=e.input,e.avail_in=f,e.next_in=0,e.input=t,w(n);n.lookahead>=3;){for(r=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=2,w(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=c,e.input=d,e.avail_in=l,n.wrap=s,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){t.exports=function(e,t){var n,r,i,o,a,s,l,u,c,d,h,f,p,m,g,v,y,b,_,w,x,k,M,S,C;n=e.state,r=e.next_in,S=e.input,i=r+(e.avail_in-5),o=e.next_out,C=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,m=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{p<15&&(f+=S[r++]<<p,p+=8,f+=S[r++]<<p,p+=8),b=m[f&v];t:for(;;){if(f>>>=_=b>>>24,p-=_,0==(_=b>>>16&255))C[o++]=65535&b;else{if(!(16&_)){if(0==(64&_)){b=m[(65535&b)+(f&(1<<_)-1)];continue t}if(32&_){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&b,(_&=15)&&(p<_&&(f+=S[r++]<<p,p+=8),w+=f&(1<<_)-1,f>>>=_,p-=_),p<15&&(f+=S[r++]<<p,p+=8,f+=S[r++]<<p,p+=8),b=g[f&y];n:for(;;){if(f>>>=_=b>>>24,p-=_,!(16&(_=b>>>16&255))){if(0==(64&_)){b=g[(65535&b)+(f&(1<<_)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&b,p<(_&=15)&&(f+=S[r++]<<p,(p+=8)<_&&(f+=S[r++]<<p,p+=8)),l<(x+=f&(1<<_)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=_,p-=_,(_=o-a)<x){if(c<(_=x-_)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(M=h,(k=0)===d){if(k+=u-_,_<w){for(w-=_;C[o++]=h[k++],--_;);k=o-x,M=C}}else if(d<_){if(k+=u+d-_,(_-=d)<w){for(w-=_;C[o++]=h[k++],--_;);if(k=0,d<w){for(w-=_=d;C[o++]=h[k++],--_;);k=o-x,M=C}}}else if(k+=d-_,_<w){for(w-=_;C[o++]=h[k++],--_;);k=o-x,M=C}for(;2<w;)C[o++]=M[k++],C[o++]=M[k++],C[o++]=M[k++],w-=3;w&&(C[o++]=M[k++],1<w&&(C[o++]=M[k++]))}else{for(k=o-x;C[o++]=C[k++],C[o++]=C[k++],C[o++]=C[k++],2<(w-=3););w&&(C[o++]=C[k++],1<w&&(C[o++]=C[k++]))}break}}break}}while(r<i&&o<s);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=f,n.bits=p}},{}],49:[function(e,t,n){var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=-2;function u(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):l}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):l}function f(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?l:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,h(e))):l}function p(e,t){var n,r;return e?(r=new c,(e.state=r).window=null,0!==(n=f(e,t))&&(e.state=null),n):l}var m,g,v=!0;function y(e){if(v){var t;for(m=new r.Buf32(512),g=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,g,0,e.work,{bits:5}),v=!1}e.lencode=m,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=h,n.inflateReset2=f,n.inflateResetKeep=d,n.inflateInit=function(e){return p(e,15)},n.inflateInit2=p,n.inflate=function(e,t){var n,c,d,h,f,p,m,g,v,_,w,x,k,M,S,C,T,O,L,A,D,E,I,j,P=0,R=new r.Buf8(4),N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return l;12===(n=e.state).mode&&(n.mode=13),f=e.next_out,d=e.output,m=e.avail_out,h=e.next_in,c=e.input,p=e.avail_in,g=n.hold,v=n.bits,_=p,w=m,E=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(2&n.wrap&&35615===g){R[n.check=0]=255&g,R[1]=g>>>8&255,n.check=o(n.check,R,2,0),v=g=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",n.mode=30;break}if(v-=4,D=8+(15&(g>>>=4)),0===n.wbits)n.wbits=D;else if(D>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<D,e.adler=n.check=1,n.mode=512&g?10:12,v=g=0;break;case 2:for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(n.flags=g,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=g>>8&1),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=o(n.check,R,2,0)),v=g=0,n.mode=3;case 3:for(;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}n.head&&(n.head.time=g),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,R[2]=g>>>16&255,R[3]=g>>>24&255,n.check=o(n.check,R,4,0)),v=g=0,n.mode=4;case 4:for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}n.head&&(n.head.xflags=255&g,n.head.os=g>>8),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=o(n.check,R,2,0)),v=g=0,n.mode=5;case 5:if(1024&n.flags){for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}n.length=g,n.head&&(n.head.extra_len=g),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=o(n.check,R,2,0)),v=g=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(x=n.length)&&(x=p),x&&(n.head&&(D=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,c,h,x,D)),512&n.flags&&(n.check=o(n.check,c,x,h)),p-=x,h+=x,n.length-=x),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break e;for(x=0;D=c[h+x++],n.head&&D&&n.length<65536&&(n.head.name+=String.fromCharCode(D)),D&&x<p;);if(512&n.flags&&(n.check=o(n.check,c,x,h)),p-=x,h+=x,D)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===p)break e;for(x=0;D=c[h+x++],n.head&&D&&n.length<65536&&(n.head.comment+=String.fromCharCode(D)),D&&x<p;);if(512&n.flags&&(n.check=o(n.check,c,x,h)),p-=x,h+=x,D)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(g!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}v=g=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}e.adler=n.check=u(g),v=g=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=f,e.avail_out=m,e.next_in=h,e.avail_in=p,n.hold=g,n.bits=v,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){g>>>=7&v,v-=7&v,n.mode=27;break}for(;v<3;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}switch(n.last=1&g,v-=1,3&(g>>>=1)){case 0:n.mode=14;break;case 1:if(y(n),n.mode=20,6!==t)break;g>>>=2,v-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}g>>>=2,v-=2;break;case 14:for(g>>>=7&v,v-=7&v;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&g,v=g=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(x=n.length){if(p<x&&(x=p),m<x&&(x=m),0===x)break e;r.arraySet(d,c,h,x,f),p-=x,h+=x,m-=x,f+=x,n.length-=x;break}n.mode=12;break;case 17:for(;v<14;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(n.nlen=257+(31&g),g>>>=5,v-=5,n.ndist=1+(31&g),g>>>=5,v-=5,n.ncode=4+(15&g),g>>>=4,v-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;v<3;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}n.lens[N[n.have++]]=7&g,g>>>=3,v-=3}for(;n.have<19;)n.lens[N[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,I={bits:n.lenbits},E=s(0,n.lens,0,19,n.lencode,0,n.work,I),n.lenbits=I.bits,E){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;C=(P=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,T=65535&P,!((S=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(T<16)g>>>=S,v-=S,n.lens[n.have++]=T;else{if(16===T){for(j=S+2;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(g>>>=S,v-=S,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}D=n.lens[n.have-1],x=3+(3&g),g>>>=2,v-=2}else if(17===T){for(j=S+3;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}v-=S,D=0,x=3+(7&(g>>>=S)),g>>>=3,v-=3}else{for(j=S+7;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}v-=S,D=0,x=11+(127&(g>>>=S)),g>>>=7,v-=7}if(n.have+x>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=D}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,I={bits:n.lenbits},E=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,I),n.lenbits=I.bits,E){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,I={bits:n.distbits},E=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,I),n.distbits=I.bits,E){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=p&&258<=m){e.next_out=f,e.avail_out=m,e.next_in=h,e.avail_in=p,n.hold=g,n.bits=v,a(e,w),f=e.next_out,d=e.output,m=e.avail_out,h=e.next_in,c=e.input,p=e.avail_in,g=n.hold,v=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;C=(P=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,T=65535&P,!((S=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(C&&0==(240&C)){for(O=S,L=C,A=T;C=(P=n.lencode[A+((g&(1<<O+L)-1)>>O)])>>>16&255,T=65535&P,!(O+(S=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}g>>>=O,v-=O,n.back+=O}if(g>>>=S,v-=S,n.back+=S,n.length=T,0===C){n.mode=26;break}if(32&C){n.back=-1,n.mode=12;break}if(64&C){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&C,n.mode=22;case 22:if(n.extra){for(j=n.extra;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}n.length+=g&(1<<n.extra)-1,g>>>=n.extra,v-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;C=(P=n.distcode[g&(1<<n.distbits)-1])>>>16&255,T=65535&P,!((S=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(0==(240&C)){for(O=S,L=C,A=T;C=(P=n.distcode[A+((g&(1<<O+L)-1)>>O)])>>>16&255,T=65535&P,!(O+(S=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}g>>>=O,v-=O,n.back+=O}if(g>>>=S,v-=S,n.back+=S,64&C){e.msg="invalid distance code",n.mode=30;break}n.offset=T,n.extra=15&C,n.mode=24;case 24:if(n.extra){for(j=n.extra;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}n.offset+=g&(1<<n.extra)-1,g>>>=n.extra,v-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break e;if(x=w-m,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}k=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),M=n.window}else M=d,k=f-n.offset,x=n.length;for(m<x&&(x=m),m-=x,n.length-=x;d[f++]=M[k++],--x;);0===n.length&&(n.mode=21);break;case 26:if(0===m)break e;d[f++]=n.length,m--,n.mode=21;break;case 27:if(n.wrap){for(;v<32;){if(0===p)break e;p--,g|=c[h++]<<v,v+=8}if(w-=m,e.total_out+=w,n.total+=w,w&&(e.adler=n.check=n.flags?o(n.check,d,w,f-w):i(n.check,d,w,f-w)),w=m,(n.flags?g:u(g))!==n.check){e.msg="incorrect data check",n.mode=30;break}v=g=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(g!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}v=g=0}n.mode=29;case 29:E=1;break e;case 30:E=-3;break e;case 31:return-4;case 32:default:return l}return e.next_out=f,e.avail_out=m,e.next_in=h,e.avail_in=p,n.hold=g,n.bits=v,(n.wsize||w!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&b(e,e.output,e.next_out,w-e.avail_out)?(n.mode=31,-4):(_-=e.avail_in,w-=e.avail_out,e.total_in+=_,e.total_out+=w,n.total+=w,n.wrap&&w&&(e.adler=n.check=n.flags?o(n.check,d,w,e.next_out-w):i(n.check,d,w,e.next_out-w)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==_&&0===w||4===t)&&0===E&&(E=-5),E)},n.inflateEnd=function(e){if(!e||!e.state)return l;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?l:((n.head=t).done=!1,0):l},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?l:11===n.mode&&i(1,t,r,0)!==n.check?-3:b(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,u,c,d,h){var f,p,m,g,v,y,b,_,w,x=h.bits,k=0,M=0,S=0,C=0,T=0,O=0,L=0,A=0,D=0,E=0,I=null,j=0,P=new r.Buf16(16),R=new r.Buf16(16),N=null,B=0;for(k=0;k<=15;k++)P[k]=0;for(M=0;M<l;M++)P[t[n+M]]++;for(T=x,C=15;1<=C&&0===P[C];C--);if(C<T&&(T=C),0===C)return u[c++]=20971520,u[c++]=20971520,h.bits=1,0;for(S=1;S<C&&0===P[S];S++);for(T<S&&(T=S),k=A=1;k<=15;k++)if(A<<=1,(A-=P[k])<0)return-1;if(0<A&&(0===e||1!==C))return-1;for(R[1]=0,k=1;k<15;k++)R[k+1]=R[k]+P[k];for(M=0;M<l;M++)0!==t[n+M]&&(d[R[t[n+M]]++]=M);if(y=0===e?(I=N=d,19):1===e?(I=i,j-=257,N=o,B-=257,256):(I=a,N=s,-1),k=S,v=c,L=M=E=0,m=-1,g=(D=1<<(O=T))-1,1===e&&852<D||2===e&&592<D)return 1;for(;;){for(b=k-L,w=d[M]<y?(_=0,d[M]):d[M]>y?(_=N[B+d[M]],I[j+d[M]]):(_=96,0),f=1<<k-L,S=p=1<<O;u[v+(E>>L)+(p-=f)]=b<<24|_<<16|w|0,0!==p;);for(f=1<<k-1;E&f;)f>>=1;if(0!==f?(E&=f-1,E+=f):E=0,M++,0==--P[k]){if(k===C)break;k=t[n+d[M]]}if(T<k&&(E&g)!==m){for(0===L&&(L=T),v+=S,A=1<<(O=k-L);O+L<C&&!((A-=P[O+L])<=0);)O++,A<<=1;if(D+=1<<O,1===e&&852<D||2===e&&592<D)return 1;u[m=E&g]=T<<24|O<<16|v-c|0}}return 0!==E&&(u[v+E]=k-L<<24|64<<16|0),h.bits=T,0}},{"../utils/common":41}],51:[function(e,t,n){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){var r=e("../utils/common");function i(e){for(var t=e.length;0<=--t;)e[t]=0}var o=256,a=286,s=30,l=15,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],h=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],f=new Array(576);i(f);var p=new Array(60);i(p);var m=new Array(512);i(m);var g=new Array(256);i(g);var v=new Array(29);i(v);var y,b,_,w=new Array(s);function x(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function k(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function M(e){return e<256?m[e]:m[256+(e>>>7)]}function S(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function C(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,S(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function T(e,t,n){C(e,n[2*t],n[2*t+1])}function O(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function L(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=l;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=O(o[s]++,s))}}function A(e){var t;for(t=0;t<a;t++)e.dyn_ltree[2*t]=0;for(t=0;t<s;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function D(e){8<e.bi_valid?S(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function E(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function I(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&E(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!E(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function j(e,t,n){var r,i,a,s,l=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===r?T(e,i,t):(T(e,(a=g[i])+o+1,t),0!==(s=u[a])&&C(e,i-=v[a],s),T(e,a=M(--r),n),0!==(s=c[a])&&C(e,r-=w[a],s)),l<e.last_lit;);T(e,256,t)}function P(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)I(e,o,n);for(i=u;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],I(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,I(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,h=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(o=0;o<=l;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)m<(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)&&(o=m,g++),u[2*r+1]=o,c<r||(e.bl_count[o]++,a=0,p<=r&&(a=f[r-p]),s=u[2*r],e.opt_len+=s*(o+a),h&&(e.static_len+=s*(d[2*r+1]+a)));if(0!==g){do{for(o=m-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[m]--,g-=2}while(0<g);for(o=m;0!==o;o--)for(r=e.bl_count[o];0!==r;)c<(i=e.heap[--n])||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(e,t),L(o,c,e.bl_count)}function R(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=i,u=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4))}function N(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<u)for(;T(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==o&&(T(e,i,e.bl_tree),s--),T(e,16,e.bl_tree),C(e,s-3,2)):s<=10?(T(e,17,e.bl_tree),C(e,s-3,3)):(T(e,18,e.bl_tree),C(e,s-11,7));o=i,u=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4)}}i(w);var B=!1;function Y(e,t,n,i){C(e,0+(i?1:0),3),function(e,t,n,i){D(e),S(e,n),S(e,~n),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}n._tr_init=function(e){B||(function(){var e,t,n,r,i,o=new Array(16);for(r=n=0;r<28;r++)for(v[r]=n,e=0;e<1<<u[r];e++)g[n++]=r;for(g[n-1]=r,r=i=0;r<16;r++)for(w[r]=i,e=0;e<1<<c[r];e++)m[i++]=r;for(i>>=7;r<s;r++)for(w[r]=i<<7,e=0;e<1<<c[r]-7;e++)m[256+i++]=r;for(t=0;t<=l;t++)o[t]=0;for(e=0;e<=143;)f[2*e+1]=8,e++,o[8]++;for(;e<=255;)f[2*e+1]=9,e++,o[9]++;for(;e<=279;)f[2*e+1]=7,e++,o[7]++;for(;e<=287;)f[2*e+1]=8,e++,o[8]++;for(L(f,287,o),e=0;e<s;e++)p[2*e+1]=5,p[2*e]=O(e,5);y=new x(f,u,257,a,l),b=new x(p,c,0,s,l),_=new x(new Array(0),d,0,19,7)}(),B=!0),e.l_desc=new k(e.dyn_ltree,y),e.d_desc=new k(e.dyn_dtree,b),e.bl_desc=new k(e.bl_tree,_),e.bi_buf=0,e.bi_valid=0,A(e)},n._tr_stored_block=Y,n._tr_flush_block=function(e,t,n,r){var i,a,s=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<o;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),P(e,e.l_desc),P(e,e.d_desc),s=function(e){var t;for(R(e,e.dyn_ltree,e.l_desc.max_code),R(e,e.dyn_dtree,e.d_desc.max_code),P(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*h[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?Y(e,t,n,r):4===e.strategy||a===i?(C(e,2+(r?1:0),3),j(e,f,p)):(C(e,4+(r?1:0),3),function(e,t,n,r){var i;for(C(e,t-257,5),C(e,n-1,5),C(e,r-4,4),i=0;i<r;i++)C(e,e.bl_tree[2*h[i]+1],3);N(e,e.dyn_ltree,t-1),N(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),j(e,e.dyn_ltree,e.dyn_dtree)),A(e),r&&D(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(g[n]+o+1)]++,e.dyn_dtree[2*M(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){C(e,2,3),T(e,256,f),function(e){16===e.bi_valid?(S(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,n,r){(function(e){!function(e,n){if(!e.setImmediate){var r,i,o,a,s=1,l={},u=!1,c=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,r="[object process]"==={}.toString.call(e.process)?function(e){t.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){o.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(i=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(f,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return l[s]=i,r(s),s++},d.clearImmediate=h}function h(e){delete l[e]}function f(e){if(u)setTimeout(f,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{h(e),u=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(e,n,r){(function(e){(function(){"use strict";var t=/[\\^$.*+?()[\]{}|]/g,r=RegExp(t.source),i="object"==typeof e&&e&&e.Object===Object&&e,o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")(),s=Object.prototype.toString,l=a.Symbol,u=l?l.prototype:void 0,c=u?u.toString:void 0;function d(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}n.exports=function(e){var n;return(e=null==(n=e)?"":d(n))&&r.test(e)?e.replace(t,"\\$&"):e}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],443:[function(e,n,r){(function(e){(function(){"use strict";var t="[object Arguments]",i="[object Map]",o="[object Object]",a="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,u=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,h=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,p={};p["[object Float32Array]"]=p["[object Float64Array]"]=p["[object Int8Array]"]=p["[object Int16Array]"]=p["[object Int32Array]"]=p["[object Uint8Array]"]=p["[object Uint8ClampedArray]"]=p["[object Uint16Array]"]=p["[object Uint32Array]"]=!0,p[t]=p["[object Array]"]=p["[object ArrayBuffer]"]=p["[object Boolean]"]=p["[object DataView]"]=p["[object Date]"]=p["[object Error]"]=p["[object Function]"]=p[i]=p["[object Number]"]=p[o]=p["[object RegExp]"]=p[a]=p["[object String]"]=p["[object WeakMap]"]=!1;var m="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y="object"==typeof r&&r&&!r.nodeType&&r,b=y&&"object"==typeof n&&n&&!n.nodeType&&n,_=b&&b.exports===y&&m.process,w=function(){try{return _&&_.binding("util")}catch(e){}}(),x=w&&w.isTypedArray;function k(e,t,n,r){for(var i=-1,o=e?e.length:0;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function M(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function C(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function T(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var O,L,A,D=Array.prototype,E=Function.prototype,I=Object.prototype,j=v["__core-js_shared__"],P=(O=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",R=E.toString,N=I.hasOwnProperty,B=I.toString,Y=RegExp("^"+R.call(N).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=v.Symbol,z=v.Uint8Array,H=I.propertyIsEnumerable,V=D.splice,W=(L=Object.keys,A=Object,function(e){return L(A(e))}),U=Ce(v,"DataView"),$=Ce(v,"Map"),G=Ce(v,"Promise"),q=Ce(v,"Set"),X=Ce(v,"WeakMap"),K=Ce(Object,"create"),Z=je(U),J=je($),Q=je(G),ee=je(q),te=je(X),ne=F?F.prototype:void 0,re=ne?ne.valueOf:void 0,ie=ne?ne.toString:void 0;function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){var t=-1,n=e?e.length:0;for(this.__data__=new se;++t<n;)this.add(e[t])}function ue(e){this.__data__=new ae(e)}function ce(e,t){var n=ze(e)||Fe(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!N.call(e,o)||i&&("length"==o||Oe(o,r))||n.push(o);return n}function de(e,t){for(var n=e.length;n--;)if(Ye(e[n][0],t))return n;return-1}function he(e,t,n,r){return me(e,(function(e,i,o){t(r,e,n(e),o)})),r}oe.prototype.clear=function(){this.__data__=K?K(null):{}},oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},oe.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return N.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:N.call(t,e)},oe.prototype.set=function(e,t){return this.__data__[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this},ae.prototype.clear=function(){this.__data__=[]},ae.prototype.delete=function(e){var t=this.__data__,n=de(t,e);return!(n<0)&&(n==t.length-1?t.pop():V.call(t,n,1),!0)},ae.prototype.get=function(e){var t=this.__data__,n=de(t,e);return n<0?void 0:t[n][1]},ae.prototype.has=function(e){return de(this.__data__,e)>-1},ae.prototype.set=function(e,t){var n=this.__data__,r=de(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},se.prototype.clear=function(){this.__data__={hash:new oe,map:new($||ae),string:new oe}},se.prototype.delete=function(e){return Se(this,e).delete(e)},se.prototype.get=function(e){return Se(this,e).get(e)},se.prototype.has=function(e){return Se(this,e).has(e)},se.prototype.set=function(e,t){return Se(this,e).set(e,t),this},le.prototype.add=le.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},le.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.clear=function(){this.__data__=new ae},ue.prototype.delete=function(e){return this.__data__.delete(e)},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ae){var r=n.__data__;if(!$||r.length<199)return r.push([e,t]),this;n=this.__data__=new se(r)}return n.set(e,t),this};var fe,pe,me=(fe=function(e,t){return e&&ge(e,t,Xe)},function(e,t){if(null==e)return e;if(!He(e))return fe(e,t);for(var n=e.length,r=pe?n:-1,i=Object(e);(pe?r--:++r<n)&&!1!==t(i[r],r,i););return e}),ge=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}();function ve(e,t){for(var n=0,r=(t=Le(t,e)?[t]:ke(t)).length;null!=e&&n<r;)e=e[Ie(t[n++])];return n&&n==r?e:void 0}function ye(e,t){return null!=e&&t in Object(e)}function be(e,n,r,s,l){return e===n||(null==e||null==n||!Ue(e)&&!$e(n)?e!=e&&n!=n:function(e,n,r,s,l,u){var c=ze(e),d=ze(n),h="[object Array]",f="[object Array]";c||(h=(h=Te(e))==t?o:h),d||(f=(f=Te(n))==t?o:f);var p=h==o&&!S(e),m=f==o&&!S(n),g=h==f;if(g&&!p)return u||(u=new ue),c||qe(e)?Me(e,n,r,s,l,u):function(e,t,n,r,o,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new z(e),new z(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ye(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var u=C;case a:var c=2&s;if(u||(u=T),e.size!=t.size&&!c)return!1;var d=l.get(e);if(d)return d==t;s|=1,l.set(e,t);var h=Me(u(e),u(t),r,o,s,l);return l.delete(e),h;case"[object Symbol]":if(re)return re.call(e)==re.call(t)}return!1}(e,n,h,r,s,l,u);if(!(2&l)){var v=p&&N.call(e,"__wrapped__"),y=m&&N.call(n,"__wrapped__");if(v||y){var b=v?e.value():e,_=y?n.value():n;return u||(u=new ue),r(b,_,s,l,u)}}return!!g&&(u||(u=new ue),function(e,t,n,r,i,o){var a=2&i,s=Xe(e),l=s.length,u=Xe(t).length;if(l!=u&&!a)return!1;for(var c=l;c--;){var d=s[c];if(!(a?d in t:N.call(t,d)))return!1}var h=o.get(e);if(h&&o.get(t))return h==t;var f=!0;o.set(e,t),o.set(t,e);for(var p=a;++c<l;){d=s[c];var m=e[d],g=t[d];if(r)var v=a?r(g,m,d,t,e,o):r(m,g,d,e,t,o);if(!(void 0===v?m===g||n(m,g,r,i,o):v)){f=!1;break}p||(p="constructor"==d)}if(f&&!p){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f}(e,n,r,s,l,u))}(e,n,be,r,s,l))}function _e(e){return!(!Ue(e)||function(e){return!!P&&P in e}(e))&&(Ve(e)||S(e)?Y:h).test(je(e))}function we(e){return"function"==typeof e?e:null==e?Ke:"object"==typeof e?ze(e)?function(e,t){return Le(e)&&Ae(t)?De(Ie(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:ve(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Le(t,e)?[t]:ke(t);for(var r,i=-1,o=t.length;++i<o;){var a=Ie(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&We(o)&&Oe(a,o)&&(ze(e)||Fe(e))}(e,t,ye)}(n,e):be(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=Xe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Ae(i)]}return t}(e);return 1==t.length&&t[0][2]?De(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var d=new ue;if(r)var h=r(u,c,l,e,t,d);if(!(void 0===h?be(c,u,r,3,d):h))return!1}}return!0}(n,e,t)}}(e):Le(t=e)?(n=Ie(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return ve(t,e)}}(t);var t,n}function xe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||I,t!==r)return W(e);var t,n,r,i=[];for(var o in Object(e))N.call(e,o)&&"constructor"!=o&&i.push(o);return i}function ke(e){return ze(e)?e:Ee(e)}function Me(e,t,n,r,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=1&i?new le:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var m=a?r(p,f,c,t,e,o):r(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!M(t,(function(e,t){if(!h.has(t)&&(f===e||n(f,e,r,i,o)))return h.add(t)}))){d=!1;break}}else if(f!==p&&!n(f,p,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Se(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ce(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return _e(n)?n:void 0}var Te=function(e){return B.call(e)};function Oe(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||f.test(e))&&e>-1&&e%1==0&&e<t}function Le(e,t){if(ze(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ge(e))||l.test(e)||!s.test(e)||null!=t&&e in Object(t)}function Ae(e){return e==e&&!Ue(e)}function De(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(U&&"[object DataView]"!=Te(new U(new ArrayBuffer(1)))||$&&Te(new $)!=i||G&&"[object Promise]"!=Te(G.resolve())||q&&Te(new q)!=a||X&&"[object WeakMap]"!=Te(new X))&&(Te=function(e){var t=B.call(e),n=t==o?e.constructor:void 0,r=n?je(n):void 0;if(r)switch(r){case Z:return"[object DataView]";case J:return i;case Q:return"[object Promise]";case ee:return a;case te:return"[object WeakMap]"}return t});var Ee=Be((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Ge(e))return ie?ie.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return u.test(e)&&n.push(""),e.replace(c,(function(e,t,r,i){n.push(r?i.replace(d,"$1"):t||e)})),n}));function Ie(e){if("string"==typeof e||Ge(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function je(e){if(null!=e){try{return R.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Pe,Re,Ne=(Pe=function(e,t,n){N.call(e,n)?e[n].push(t):e[n]=[t]},function(e,t){var n=ze(e)?k:he,r=Re?Re():{};return n(e,Pe,we(t),r)});function Be(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Be.Cache||se),n}function Ye(e,t){return e===t||e!=e&&t!=t}function Fe(e){return function(e){return $e(e)&&He(e)}(e)&&N.call(e,"callee")&&(!H.call(e,"callee")||B.call(e)==t)}Be.Cache=se;var ze=Array.isArray;function He(e){return null!=e&&We(e.length)&&!Ve(e)}function Ve(e){var t=Ue(e)?B.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function We(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ue(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $e(e){return!!e&&"object"==typeof e}function Ge(e){return"symbol"==typeof e||$e(e)&&"[object Symbol]"==B.call(e)}var qe=x?function(e){return function(t){return e(t)}}(x):function(e){return $e(e)&&We(e.length)&&!!p[B.call(e)]};function Xe(e){return He(e)?ce(e):xe(e)}function Ke(e){return e}n.exports=Ne}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],444:[function(e,t,n){"use strict";var r=Object.prototype.toString;t.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==r.call(e)}},{}],445:[function(e,n,r){(function(e){(function(){"use strict";var t="[object Arguments]",i="[object Map]",o="[object Object]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[t]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u[i]=u["[object Number]"]=u[o]=u["[object RegExp]"]=u[a]=u["[object String]"]=u["[object WeakMap]"]=!1;var c="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,h=c||d||Function("return this")(),f="object"==typeof r&&r&&!r.nodeType&&r,p=f&&"object"==typeof n&&n&&!n.nodeType&&n,m=p&&p.exports===f,g=m&&c.process,v=function(){try{return g&&g.binding&&g.binding("util")}catch(e){}}(),y=v&&v.isTypedArray;function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var x,k,M,S=Array.prototype,C=Function.prototype,T=Object.prototype,O=h["__core-js_shared__"],L=C.toString,A=T.hasOwnProperty,D=(x=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",E=T.toString,I=RegExp("^"+L.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=m?h.Buffer:void 0,P=h.Symbol,R=h.Uint8Array,N=T.propertyIsEnumerable,B=S.splice,Y=P?P.toStringTag:void 0,F=Object.getOwnPropertySymbols,z=j?j.isBuffer:void 0,H=(k=Object.keys,M=Object,function(e){return k(M(e))}),V=ve(h,"DataView"),W=ve(h,"Map"),U=ve(h,"Promise"),$=ve(h,"Set"),G=ve(h,"WeakMap"),q=ve(Object,"create"),X=we(V),K=we(W),Z=we(U),J=we($),Q=we(G),ee=P?P.prototype:void 0,te=ee?ee.valueOf:void 0;function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ie;++t<n;)this.add(e[t])}function ae(e){var t=this.__data__=new re(e);this.size=t.size}function se(e,t){var n=Me(e),r=!n&&ke(e),i=!n&&!r&&Se(e),o=!n&&!r&&!i&&Ae(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)!t&&!A.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||_e(u,l))||s.push(u);return s}function le(e,t){for(var n=e.length;n--;)if(xe(e[n][0],t))return n;return-1}function ue(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?function(e){var t=A.call(e,Y),n=e[Y];try{e[Y]=void 0;var r=!0}catch(e){}var i=E.call(e);return r&&(t?e[Y]=n:delete e[Y]),i}(e):function(e){return E.call(e)}(e)}function ce(e){return Le(e)&&ue(e)==t}function de(e,n,r,s,l){return e===n||(null==e||null==n||!Le(e)&&!Le(n)?e!=e&&n!=n:function(e,n,r,s,l,u){var c=Me(e),d=Me(n),h=c?"[object Array]":be(e),f=d?"[object Array]":be(n),p=(h=h==t?o:h)==o,m=(f=f==t?o:f)==o,g=h==f;if(g&&Se(e)){if(!Se(n))return!1;c=!0,p=!1}if(g&&!p)return u||(u=new ae),c||Ae(e)?pe(e,n,r,s,l,u):function(e,t,n,r,o,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new R(e),new R(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xe(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var u=_;case a:var c=1&r;if(u||(u=w),e.size!=t.size&&!c)return!1;var d=l.get(e);if(d)return d==t;r|=2,l.set(e,t);var h=pe(u(e),u(t),r,o,s,l);return l.delete(e),h;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,n,h,r,s,l,u);if(!(1&r)){var v=p&&A.call(e,"__wrapped__"),y=m&&A.call(n,"__wrapped__");if(v||y){var b=v?e.value():e,x=y?n.value():n;return u||(u=new ae),l(b,x,r,s,u)}}return!!g&&(u||(u=new ae),function(e,t,n,r,i,o){var a=1&n,s=me(e),l=s.length,u=me(t).length;if(l!=u&&!a)return!1;for(var c=l;c--;){var d=s[c];if(!(a?d in t:A.call(t,d)))return!1}var h=o.get(e);if(h&&o.get(t))return h==t;var f=!0;o.set(e,t),o.set(t,e);for(var p=a;++c<l;){d=s[c];var m=e[d],g=t[d];if(r)var v=a?r(g,m,d,t,e,o):r(m,g,d,e,t,o);if(!(void 0===v?m===g||i(m,g,n,r,o):v)){f=!1;break}p||(p="constructor"==d)}if(f&&!p){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f}(e,n,r,s,l,u))}(e,n,r,s,de,l))}function he(e){return!(!Oe(e)||function(e){return!!D&&D in e}(e))&&(Ce(e)?I:s).test(we(e))}function fe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||T,t!==r)return H(e);var t,n,r,i=[];for(var o in Object(e))A.call(e,o)&&"constructor"!=o&&i.push(o);return i}function pe(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=2&n?new oe:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var m=a?r(p,f,c,t,e,o):r(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!b(t,(function(e,t){if(a=t,!h.has(a)&&(f===e||i(f,e,n,r,o)))return h.push(t);var a}))){d=!1;break}}else if(f!==p&&!i(f,p,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function me(e){return function(e,t,n){var r=t(e);return Me(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,De,ye)}function ge(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ve(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return he(n)?n:void 0}ne.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},ne.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne.prototype.get=function(e){var t=this.__data__;if(q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return A.call(t,e)?t[e]:void 0},ne.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:A.call(t,e)},ne.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&void 0===t?"__lodash_hash_undefined__":t,this},re.prototype.clear=function(){this.__data__=[],this.size=0},re.prototype.delete=function(e){var t=this.__data__,n=le(t,e);return!(n<0)&&(n==t.length-1?t.pop():B.call(t,n,1),--this.size,!0)},re.prototype.get=function(e){var t=this.__data__,n=le(t,e);return n<0?void 0:t[n][1]},re.prototype.has=function(e){return le(this.__data__,e)>-1},re.prototype.set=function(e,t){var n=this.__data__,r=le(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ie.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(W||re),string:new ne}},ie.prototype.delete=function(e){var t=ge(this,e).delete(e);return this.size-=t?1:0,t},ie.prototype.get=function(e){return ge(this,e).get(e)},ie.prototype.has=function(e){return ge(this,e).has(e)},ie.prototype.set=function(e,t){var n=ge(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},oe.prototype.add=oe.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},oe.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new re,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof re){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ie(r)}return n.set(e,t),this.size=n.size,this};var ye=F?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(F(e),(function(t){return N.call(e,t)})))}:function(){return[]},be=ue;function _e(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function we(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function xe(e,t){return e===t||e!=e&&t!=t}(V&&"[object DataView]"!=be(new V(new ArrayBuffer(1)))||W&&be(new W)!=i||U&&"[object Promise]"!=be(U.resolve())||$&&be(new $)!=a||G&&"[object WeakMap]"!=be(new G))&&(be=function(e){var t=ue(e),n=t==o?e.constructor:void 0,r=n?we(n):"";if(r)switch(r){case X:return"[object DataView]";case K:return i;case Z:return"[object Promise]";case J:return a;case Q:return"[object WeakMap]"}return t});var ke=ce(function(){return arguments}())?ce:function(e){return Le(e)&&A.call(e,"callee")&&!N.call(e,"callee")},Me=Array.isArray,Se=z||function(){return!1};function Ce(e){if(!Oe(e))return!1;var t=ue(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Te(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Le(e){return null!=e&&"object"==typeof e}var Ae=y?function(e){return function(t){return e(t)}}(y):function(e){return Le(e)&&Te(e.length)&&!!u[ue(e)]};function De(e){return null!=(t=e)&&Te(t.length)&&!Ce(t)?se(e):fe(e);var t}n.exports=function(e,t){return de(e,t)}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],446:[function(e,n,r){(function(e){(function(){"use strict";var t="object"==typeof e&&e&&e.Object===Object&&e,r="object"==typeof self&&self&&self.Object===Object&&self,i=t||r||Function("return this")(),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,l=i.Symbol,u=l?l.toStringTag:void 0;function c(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?function(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[u]=n:delete e[u]),i}(e):function(e){return s.call(e)}(e)}n.exports=function(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=c(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],447:[function(e,t,n){"use strict";t.exports=function(e){return null==e}},{}],448:[function(e,t,n){"use strict";t.exports=function(e){return void 0===e}},{}],449:[function(e,n,r){(function(e){(function(){"use strict";var t=/^\[object .+?Constructor\]$/,r="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();function a(e,t){return!(!e||!e.length)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,l,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function s(e,t,n){for(var r=-1,i=e?e.length:0;++r<i;)if(n(t,e[r]))return!0;return!1}function l(e){return e!=e}function u(e,t){return e.has(t)}function c(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var d,h=Array.prototype,f=Function.prototype,p=Object.prototype,m=o["__core-js_shared__"],g=(d=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",v=f.toString,y=p.hasOwnProperty,b=p.toString,_=RegExp("^"+v.call(y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=h.splice,x=I(o,"Map"),k=I(o,"Set"),M=I(Object,"create");function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e){var t=-1,n=e?e.length:0;for(this.__data__=new T;++t<n;)this.add(e[t])}function L(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}function A(e){return!(!j(e)||(n=e,g&&g in n))&&(function(e){var t=j(e)?b.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?_:t).test(function(e){if(null!=e){try{return v.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var n}S.prototype.clear=function(){this.__data__=M?M(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(M){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return y.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return M?void 0!==t[e]:y.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=M&&void 0===t?"__lodash_hash_undefined__":t,this},C.prototype.clear=function(){this.__data__=[]},C.prototype.delete=function(e){var t=this.__data__,n=L(t,e);return!(n<0)&&(n==t.length-1?t.pop():w.call(t,n,1),!0)},C.prototype.get=function(e){var t=this.__data__,n=L(t,e);return n<0?void 0:t[n][1]},C.prototype.has=function(e){return L(this.__data__,e)>-1},C.prototype.set=function(e,t){var n=this.__data__,r=L(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},T.prototype.clear=function(){this.__data__={hash:new S,map:new(x||C),string:new S}},T.prototype.delete=function(e){return E(this,e).delete(e)},T.prototype.get=function(e){return E(this,e).get(e)},T.prototype.has=function(e){return E(this,e).has(e)},T.prototype.set=function(e,t){return E(this,e).set(e,t),this},O.prototype.add=O.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},O.prototype.has=function(e){return this.__data__.has(e)};var D=k&&1/c(new k([,-0]))[1]==1/0?function(e){return new k(e)}:function(){};function E(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function I(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return A(n)?n:void 0}function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}n.exports=function(e){return e&&e.length?function(e,t,n){var r=-1,i=a,o=e.length,l=!0,d=[],h=d;if(n)l=!1,i=s;else if(o>=200){var f=t?null:D(e);if(f)return c(f);l=!1,i=u,h=new O}else h=t?[]:d;e:for(;++r<o;){var p=e[r],m=t?t(p):p;if(p=n||0!==p?p:0,l&&m==m){for(var g=h.length;g--;)if(h[g]===m)continue e;t&&h.push(m),d.push(p)}else i(h,m,n)||(h!==d&&h.push(m),d.push(p))}return d}(e):[]}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],450:[function(e,t,n){"use strict";var r=e("inherits"),i=e("hash-base"),o=e("safe-buffer").Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function u(e,t,n,r,i,o,a){return l(e+(t&n|~t&r)+i+o|0,a)+t|0}function c(e,t,n,r,i,o,a){return l(e+(t&r|n&~r)+i+o|0,a)+t|0}function d(e,t,n,r,i,o,a){return l(e+(t^n^r)+i+o|0,a)+t|0}function h(e,t,n,r,i,o,a){return l(e+(n^(t|~r))+i+o|0,a)+t|0}r(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=u(n,r,i,o,e[0],3614090360,7),o=u(o,n,r,i,e[1],3905402710,12),i=u(i,o,n,r,e[2],606105819,17),r=u(r,i,o,n,e[3],3250441966,22),n=u(n,r,i,o,e[4],4118548399,7),o=u(o,n,r,i,e[5],1200080426,12),i=u(i,o,n,r,e[6],2821735955,17),r=u(r,i,o,n,e[7],4249261313,22),n=u(n,r,i,o,e[8],1770035416,7),o=u(o,n,r,i,e[9],2336552879,12),i=u(i,o,n,r,e[10],4294925233,17),r=u(r,i,o,n,e[11],2304563134,22),n=u(n,r,i,o,e[12],1804603682,7),o=u(o,n,r,i,e[13],4254626195,12),i=u(i,o,n,r,e[14],2792965006,17),n=c(n,r=u(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=c(o,n,r,i,e[6],3225465664,9),i=c(i,o,n,r,e[11],643717713,14),r=c(r,i,o,n,e[0],3921069994,20),n=c(n,r,i,o,e[5],3593408605,5),o=c(o,n,r,i,e[10],38016083,9),i=c(i,o,n,r,e[15],3634488961,14),r=c(r,i,o,n,e[4],3889429448,20),n=c(n,r,i,o,e[9],568446438,5),o=c(o,n,r,i,e[14],3275163606,9),i=c(i,o,n,r,e[3],4107603335,14),r=c(r,i,o,n,e[8],1163531501,20),n=c(n,r,i,o,e[13],2850285829,5),o=c(o,n,r,i,e[2],4243563512,9),i=c(i,o,n,r,e[7],1735328473,14),n=d(n,r=c(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=d(o,n,r,i,e[8],2272392833,11),i=d(i,o,n,r,e[11],1839030562,16),r=d(r,i,o,n,e[14],4259657740,23),n=d(n,r,i,o,e[1],2763975236,4),o=d(o,n,r,i,e[4],1272893353,11),i=d(i,o,n,r,e[7],4139469664,16),r=d(r,i,o,n,e[10],3200236656,23),n=d(n,r,i,o,e[13],681279174,4),o=d(o,n,r,i,e[0],3936430074,11),i=d(i,o,n,r,e[3],3572445317,16),r=d(r,i,o,n,e[6],76029189,23),n=d(n,r,i,o,e[9],3654602809,4),o=d(o,n,r,i,e[12],3873151461,11),i=d(i,o,n,r,e[15],530742520,16),n=h(n,r=d(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=h(o,n,r,i,e[7],1126891415,10),i=h(i,o,n,r,e[14],2878612391,15),r=h(r,i,o,n,e[5],4237533241,21),n=h(n,r,i,o,e[12],1700485571,6),o=h(o,n,r,i,e[3],2399980690,10),i=h(i,o,n,r,e[10],4293915773,15),r=h(r,i,o,n,e[1],2240044497,21),n=h(n,r,i,o,e[8],1873313359,6),o=h(o,n,r,i,e[15],4264355552,10),i=h(i,o,n,r,e[6],2734768916,15),r=h(r,i,o,n,e[13],1309151649,21),n=h(n,r,i,o,e[4],4149444226,6),o=h(o,n,r,i,e[11],3174756917,10),i=h(i,o,n,r,e[2],718787259,15),r=h(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=s},{"hash-base":425,inherits:440,"safe-buffer":494}],451:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("brorand");function o(e){this.rand=e||new i.Rand}t.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),a=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var u=e.shrn(l),c=s.toRed(o);t>0;t--){var d=this._randrange(new r(2),s);n&&n(d);var h=d.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(c)){for(var f=1;f<l;f++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(c))break}if(f===l)return!1}}return!0},o.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var l=e.shrn(s),u=a.toRed(i);t>0;t--){var c=this._randrange(new r(2),a),d=e.gcd(c);if(0!==d.cmpn(1))return d;var h=c.toRed(i).redPow(l);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var f=1;f<s;f++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(u))break}if(f===s)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":452,brorand:187}],452:[function(e,t,n){arguments[4][184][0].apply(n,arguments)},{buffer:188,dup:184}],453:[function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=r,r.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},{}],454:[function(e,t,n){"use strict";var r=n;function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",n=0;n<e.length;n++)t+=i(e[n].toString(16));return t}r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16));else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),o=i>>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(e,t){return"hex"===t?o(e):e}},{}],455:[function(e,t,n){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(e,t,n){"use strict";var r=e("asn1.js");n.certificate=e("./certificate");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));n.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));n.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));n.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));n.PrivateKey=l;var u=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));n.EncryptedPrivateKey=u;var c=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));n.DSAPrivateKey=c,n.DSAparam=r.define("DSAparam",(function(){this.int()}));var d=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));n.ECPrivateKey=d;var h=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));n.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":457,"asn1.js":170}],457:[function(e,t,n){"use strict";var r=e("asn1.js"),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),l=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=r.define("RDNSequence",(function(){this.seqof(l)})),c=r.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),d=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),f=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(c),this.key("validity").use(d),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},{"asn1.js":170}],458:[function(e,t,n){"use strict";var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=e("evp_bytestokey"),s=e("browserify-aes"),l=e("safe-buffer").Buffer;t.exports=function(e,t){var n,u=e.toString(),c=u.match(r);if(c){var d="aes"+c[1],h=l.from(c[2],"hex"),f=l.from(c[3].replace(/[\r\n]/g,""),"base64"),p=a(t,h.slice(0,8),parseInt(c[1],10)).key,m=[],g=s.createDecipheriv(d,p,h);m.push(g.update(f)),m.push(g.final()),n=l.concat(m)}else{var v=u.match(o);n=l.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:n}}},{"browserify-aes":191,evp_bytestokey:423,"safe-buffer":494}],459:[function(e,t,n){"use strict";var r=e("./asn1"),i=e("./aesid.json"),o=e("./fixProc"),a=e("browserify-aes"),s=e("pbkdf2"),l=e("safe-buffer").Buffer;function u(e){var t;"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var n,u,c=o(e,t),d=c.tag,h=c.data;switch(d){case"CERTIFICATE":u=r.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=r.PublicKey.decode(h,"der")),n=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=r.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,d=parseInt(o.split("-")[1],10)/8,h=s.pbkdf2Sync(t,n,r,d,"sha1"),f=a.createDecipheriv(o,h,u),p=[];return p.push(f.update(c)),p.push(f.final()),l.concat(p)}(h=r.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(n=(u=r.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:r.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=r.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=r.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}t.exports=u,u.signature=r.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":191,pbkdf2:460,"safe-buffer":494}],460:[function(e,t,n){"use strict";n.pbkdf2=e("./lib/async"),n.pbkdf2Sync=e("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(e,n,r){(function(t){(function(){"use strict";var r,i,o=e("safe-buffer").Buffer,a=e("./precondition"),s=e("./default-encoding"),l=e("./sync"),u=e("./to-buffer"),c=t.crypto&&t.crypto.subtle,d={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function f(){return i||(i=t.process&&t.process.nextTick?t.process.nextTick:t.queueMicrotask?t.queueMicrotask:t.setImmediate?t.setImmediate:t.setTimeout)}function p(e,t,n,r,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}n.exports=function(e,n,i,m,g,v){"function"==typeof g&&(v=g,g=void 0);var y=d[(g=g||"sha1").toLowerCase()];if(y&&"function"==typeof t.Promise){if(a(i,m),e=u(e,s,"Password"),n=u(n,s,"Salt"),"function"!=typeof v)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){f()((function(){t(null,e)}))}),(function(e){f()((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var n=p(r=r||o.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=n,n}(y).then((function(t){return t?p(e,n,i,m,y):l(e,n,i,m,g)})),v)}else f()((function(){var t;try{t=l(e,n,i,m,g)}catch(e){return v(e)}v(null,t)}))}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,"safe-buffer":494}],462:[function(e,n,r){(function(e,t){(function(){"use strict";var r;r=t.process&&t.process.browser?"utf-8":t.process&&t.process.version?parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",n.exports=r}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467}],463:[function(e,t,n){"use strict";var r=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}},{}],464:[function(e,t,n){"use strict";var r=e("create-hash/md5"),i=e("ripemd160"),o=e("sha.js"),a=e("safe-buffer").Buffer,s=e("./precondition"),l=e("./default-encoding"),u=e("./to-buffer"),c=a.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,n){var s=function(e){function t(t){return o(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?r:t}(e),l="sha512"===e||"sha384"===e?128:64;t.length>l?t=s(t):t.length<l&&(t=a.concat([t,c],l));for(var u=a.allocUnsafe(l+d[e]),h=a.allocUnsafe(l+d[e]),f=0;f<l;f++)u[f]=54^t[f],h[f]=92^t[f];var p=a.allocUnsafe(l+n+4);u.copy(p,0,0,l),this.ipad1=p,this.ipad2=u,this.opad=h,this.alg=e,this.blocksize=l,this.hash=s,this.size=d[e]}h.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,n,r,i){s(n,r);var o=new h(i=i||"sha1",e=u(e,l,"Password"),(t=u(t,l,"Salt")).length),c=a.allocUnsafe(r),f=a.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var p=0,m=d[i],g=Math.ceil(r/m),v=1;v<=g;v++){f.writeUInt32BE(v,t.length);for(var y=o.run(f,o.ipad1),b=y,_=1;_<n;_++){b=o.run(b,o.ipad2);for(var w=0;w<m;w++)y[w]^=b[w]}y.copy(c,p),p+=m}return c}},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":387,ripemd160:493,"safe-buffer":494,"sha.js":498}],465:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;t.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(e,t,n){(function(e){(function(){"use strict";void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this)}).call(this,e("_process"))},{_process:467}],467:[function(e,t,n){"use strict";var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],d=!1,h=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=l(f);d=!0;for(var t=c.length;t;){for(u=c,c=[];++h<t;)u&&u[h].run();h=-1,t=c.length}u=null,d=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||d||l(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],468:[function(e,t,n){"use strict";n.publicEncrypt=e("./publicEncrypt"),n.privateDecrypt=e("./privateDecrypt"),n.privateEncrypt=function(e,t){return n.publicEncrypt(e,t,!0)},n.publicDecrypt=function(e,t){return n.privateDecrypt(e,t,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(e,t,n){"use strict";var r=e("create-hash"),i=e("safe-buffer").Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var n,a=i.alloc(0),s=0;a.length<t;)n=o(s++),a=i.concat([a,r("sha1").update(e).update(n).digest()]);return a.slice(0,t)}},{"create-hash":386,"safe-buffer":494}],470:[function(e,t,n){arguments[4][184][0].apply(n,arguments)},{buffer:188,dup:184}],471:[function(e,t,n){"use strict";var r=e("parse-asn1"),i=e("./mgf"),o=e("./xor"),a=e("bn.js"),s=e("browserify-rsa"),l=e("create-hash"),u=e("./withPublic"),c=e("safe-buffer").Buffer;t.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,f=r(e),p=f.modulus.byteLength();if(t.length>p||new a(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=n?u(new a(t),f):s(t,f);var m=c.alloc(p-h.length);if(h=c.concat([m,h],p),4===d)return function(e,t){var n=e.modulus.byteLength(),r=l("sha1").update(c.alloc(0)).digest(),a=r.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),u=t.slice(a+1),d=o(s,i(u,a)),h=o(u,i(d,n-a-1));if(function(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));for(var i=-1;++i<r;)n+=e[i]^t[i];return n}(r,h.slice(0,a)))throw new Error("decryption error");for(var f=a;0===h[f];)f++;if(1!==h[f++])throw new Error("decryption error");return h.slice(f)}(f,h);if(1===d)return function(e,t,n){for(var r=t.slice(0,2),i=2,o=0;0!==t[i++];)if(i>=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}(0,h,n);if(3===d)return h;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,"safe-buffer":494}],472:[function(e,t,n){"use strict";var r=e("parse-asn1"),i=e("randombytes"),o=e("create-hash"),a=e("./mgf"),s=e("./xor"),l=e("bn.js"),u=e("./withPublic"),c=e("browserify-rsa"),d=e("safe-buffer").Buffer;t.exports=function(e,t,n){var h;h=e.padding?e.padding:n?1:4;var f,p=r(e);if(4===h)f=function(e,t){var n=e.modulus.byteLength(),r=t.length,u=o("sha1").update(d.alloc(0)).digest(),c=u.length,h=2*c;if(r>n-h-2)throw new Error("message too long");var f=d.alloc(n-r-h-2),p=n-c-1,m=i(c),g=s(d.concat([u,f,d.alloc(1,1),t],p),a(m,p)),v=s(m,a(g,c));return new l(d.concat([d.alloc(1),v,g],n))}(p,t);else if(1===h)f=function(e,t,n){var r,o=t.length,a=e.modulus.byteLength();if(o>a-11)throw new Error("message too long");return r=n?d.alloc(a-o-3,255):function(e){for(var t,n=d.allocUnsafe(e),r=0,o=i(2*e),a=0;r<e;)a===o.length&&(o=i(2*e),a=0),(t=o[a++])&&(n[r++]=t);return n}(a-o-3),new l(d.concat([d.from([0,n?1:2]),r,d.alloc(1),t],a))}(p,t,n);else{if(3!==h)throw new Error("unknown padding");if((f=new l(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?c(f,p):u(f,p)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("safe-buffer").Buffer;t.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},{"bn.js":470,"safe-buffer":494}],474:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}},{}],475:[function(e,n,r){(function(t,r){(function(){"use strict";var i=e("safe-buffer").Buffer,o=r.crypto||r.msCrypto;o&&o.getRandomValues?n.exports=function(e,n){if(e>4294967295)throw new RangeError("requested too many random bytes");var r=i.allocUnsafe(e);if(e>0)if(e>65536)for(var a=0;a<e;a+=65536)o.getRandomValues(r.slice(a,a+65536));else o.getRandomValues(r);return"function"==typeof n?t.nextTick((function(){n(null,r)})):r}:n.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,"safe-buffer":494}],476:[function(e,n,r){(function(t,n){(function(){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=e("safe-buffer"),a=e("randombytes"),s=o.Buffer,l=o.kMaxLength,u=n.crypto||n.msCrypto,c=Math.pow(2,32)-1;function d(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function h(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>l)throw new RangeError("buffer too small")}function f(e,n,r,i){if(t.browser){var o=e.buffer,s=new Uint8Array(o,n,r);return u.getRandomValues(s),i?void t.nextTick((function(){i(null,e)})):e}if(!i)return a(r).copy(e,n),e;a(r,(function(t,r){if(t)return i(t);r.copy(e,n),i(null,e)}))}u&&u.getRandomValues||!t.browser?(r.randomFill=function(e,t,r,i){if(!(s.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,r=e.length;else if("function"==typeof r)i=r,r=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return d(t,e.length),h(r,t,e.length),f(e,t,r,i)},r.randomFillSync=function(e,t,r){if(void 0===t&&(t=0),!(s.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return d(t,e.length),void 0===r&&(r=e.length-t),h(r,t,e.length),f(e,t,r)}):(r.randomFill=i,r.randomFillSync=i)}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(e,t,n){"use strict";var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function o(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(r," ").concat(o(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(l," ").concat(r," ").concat(o(t,"type"))}return s+". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r},{}],478:[function(e,t,n){(function(n){(function(){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=u;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var l=a[s];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:440}],479:[function(e,t,n){"use strict";t.exports=i;var r=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}e("inherits")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":481,inherits:440}],480:[function(e,n,r){(function(t,r){(function(){"use strict";var i;n.exports=S,S.ReadableState=M,e("events").EventEmitter;var o,a=function(e,t){return e.listeners(t).length},s=e("./internal/streams/stream"),l=e("buffer").Buffer,u=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=e("util");o=c&&c.debuglog?c.debuglog("stream"):function(){};var d,h,f,p=e("./internal/streams/buffer_list"),m=e("./internal/streams/destroy"),g=e("./internal/streams/state").getHighWaterMark,v=e("../errors").codes,y=v.ERR_INVALID_ARG_TYPE,b=v.ERR_STREAM_PUSH_AFTER_EOF,_=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(S,s);var x=m.errorOrDestroy,k=["error","close","destroy","pause","resume"];function M(t,n,r){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof r&&(r=n instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=e("string_decoder/").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function S(t){if(i=i||e("./_stream_duplex"),!(this instanceof S))return new S(t);var n=this instanceof i;this._readableState=new M(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function C(e,t,n,r,i){o("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}}(e,s);else if(i||(a=function(e,t){var n,r;return r=t,l.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t)),n}(s,t)),a)x(e,a);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r)s.endEmitted?x(e,new w):T(e,s,t,!0);else if(s.ended)x(e,new b);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?T(e,s,t,!1):D(e,s)):T(e,s,t,!1)}else r||(s.reading=!1,D(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function T(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&L(e)),D(e,t)}function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function L(e){var n=e._readableState;o("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(o("emitReadable",n.flowing),n.emittedReadable=!0,t.nextTick(A,e))}function A(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,R(e)}function D(e,n){n.readingMore||(n.readingMore=!0,t.nextTick(E,e,n))}function E(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(o("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function j(e){o("readable nexttick read 0"),e.read(0)}function P(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function B(e){var n=e._readableState;o("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,t.nextTick(Y,n,e))}function Y(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=m.destroy,S.prototype._undestroy=m.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),C(this,e,t,!1,n)},S.prototype.unshift=function(e){return C(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(t){d||(d=e("string_decoder/").StringDecoder);var n=new d(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},S.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return o("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):L(this),null;if(0===(e=O(e,t))&&t.ended)return 0===t.length&&B(this),null;var r,i=t.needReadable;return o("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&o("length less than watermark",i=!0),t.ended||t.reading?o("reading or ended",i=!1):i&&(o("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=O(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&B(this)),null!==r&&this.emit("data",r),r},S.prototype._read=function(e){x(this,new _("_read()"))},S.prototype.pipe=function(e,n){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,n);var s=n&&!1===n.end||e===t.stdout||e===t.stderr?g:u;function l(t,n){o("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,o("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",l),r.removeListener("end",u),r.removeListener("end",g),r.removeListener("data",h),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){o("onend"),e.end()}i.endEmitted?t.nextTick(s):r.once("end",s),e.on("unpipe",l);var c=function(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,R(e))}}(r);e.on("drain",c);var d=!1;function h(t){o("ondata");var n=e.write(t);o("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!d&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function f(t){o("onerror",t),g(),e.removeListener("error",f),0===a(e,"error")&&x(e,t)}function p(){e.removeListener("finish",m),g()}function m(){o("onfinish"),e.removeListener("close",p),g()}function g(){o("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",p),e.once("finish",m),e.emit("pipe",r),i.flowing||(o("pipe resume"),r.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},S.prototype.on=function(e,n){var r=s.prototype.on.call(this,e,n),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?L(this):i.reading||t.nextTick(j,this))),r},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,n){var r=s.prototype.removeListener.call(this,e,n);return"readable"===e&&t.nextTick(I,this),r},S.prototype.removeAllListeners=function(e){var n=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||t.nextTick(I,this),n},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,function(e,n){n.resumeScheduled||(n.resumeScheduled=!0,t.nextTick(P,e,n))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(o("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){o("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<k.length;a++)e.on(k[a],this.emit.bind(this,k[a]));return this._read=function(t){o("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=e("./internal/streams/async_iterator")),h(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=N,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(t,n){return void 0===f&&(f=e("./internal/streams/from")),f(S,t,n)})}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,events:422,inherits:440,"string_decoder/":522,util:188}],481:[function(e,t,n){"use strict";t.exports=c;var r=e("../errors").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=e("./_stream_duplex");function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(t,n){h(e,t,n)}))}function h(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new i("_transform()"))},c.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},{"../errors":477,"./_stream_duplex":478,inherits:440}],482:[function(e,n,r){(function(t,r){(function(){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var o;n.exports=S,S.WritableState=M;var a,s={deprecate:e("util-deprecate")},l=e("./internal/streams/stream"),u=e("buffer").Buffer,c=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=e("./internal/streams/destroy"),h=e("./internal/streams/state").getHighWaterMark,f=e("../errors").codes,p=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,v=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,b=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,w=f.ERR_UNKNOWN_ENCODING,x=d.errorOrDestroy;function k(){}function M(n,r,a){o=o||e("./_stream_duplex"),n=n||{},"boolean"!=typeof a&&(a=r instanceof o),this.objectMode=!!n.objectMode,a&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=h(this,n,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===n.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,n){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!=typeof o)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),n)!function(e,n,r,i,o){--n.pendingcb,r?(t.nextTick(o,i),t.nextTick(D,e,n),e._writableState.errorEmitted=!0,x(e,i)):(o(i),e._writableState.errorEmitted=!0,x(e,i),D(e,n))}(e,r,i,n,o);else{var a=L(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||O(e,r),i?t.nextTick(T,e,r,a,o):T(e,r,a,o)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function S(t){var n=this instanceof(o=o||e("./_stream_duplex"));if(!n&&!a.call(S,this))return new S(t);this._writableState=new M(t,this,n),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function C(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function T(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),D(e,t)}function O(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,C(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,c=n.encoding,d=n.callback;if(C(e,t,!1,t.objectMode?1:u.length,u,c,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function L(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(n){t.pendingcb--,n&&x(e,n),t.prefinished=!0,e.emit("prefinish"),D(e,t)}))}function D(e,n){var r=L(n);if(r&&(function(e,n){n.prefinished||n.finalCalled||("function"!=typeof e._final||n.destroyed?(n.prefinished=!0,e.emit("prefinish")):(n.pendingcb++,n.finalCalled=!0,t.nextTick(A,e,n)))}(e,n),0===n.pendingcb&&(n.finished=!0,e.emit("finish"),n.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}e("inherits")(S,l),M.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(M.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===S&&e&&e._writableState instanceof M}})):a=function(e){return e instanceof this},S.prototype.pipe=function(){x(this,new v)},S.prototype.write=function(e,n,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=e,u.isBuffer(i)||i instanceof c);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof n&&(r=n,n=null),s?n="buffer":n||(n=o.defaultEncoding),"function"!=typeof r&&(r=k),o.ending?function(e,n){var r=new _;x(e,r),t.nextTick(n,r)}(this,r):(s||function(e,n,r,i){var o;return null===r?o=new b:"string"==typeof r||n.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(x(e,o),t.nextTick(i,o),!1)}(this,o,e,r))&&(o.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n)),t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,s,r,i,o);return l}(this,o,s,e,n,r)),a},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new m("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,n,r){var i=this._writableState;return"function"==typeof e?(r=e,e=null,n=null):"function"==typeof n&&(r=n,n=null),null!=e&&this.write(e,n),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,n,r){n.ending=!0,D(e,n),r&&(n.finished?t.nextTick(r):e.once("finish",r)),n.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=d.destroy,S.prototype._undestroy=d.undestroy,S.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,inherits:440,"util-deprecate":524}],483:[function(e,t,n){(function(n){(function(){"use strict";var r;function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function f(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var n=e[h].read();null!==n&&(e[c]=null,e[a]=null,e[s]=null,t(f(n,!1)))}}function m(e){n.nextTick(p,e)}var g=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(r={get stream(){return this[h]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(f(void 0,!0));if(this[h].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[l]?r(e[l]):t(f(void 0,!0))}))}));var r,i=this[c];if(i)r=new Promise(function(e,t){return function(n,r){e.then((function(){t[u]?n(f(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(f(o,!1));r=new Promise(this[d])}return this[c]=r,r}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[h].destroy(null,(function(e){e?n(e):t(f(void 0,!0))}))}))})),r),g);t.exports=function(e){var t,n=Object.create(v,(i(t={},h,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,u,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[h].read();r?(n[c]=null,n[a]=null,n[s]=null,e(f(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[c]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[c]=null,n[a]=null,n[s]=null,t(e)),void(n[l]=e)}var r=n[a];null!==r&&(n[c]=null,n[a]=null,n[s]=null,r(f(void 0,!0))),n[u]=!0})),e.on("readable",m.bind(null,n)),n}}).call(this)}).call(this,e("_process"))},{"./end-of-stream":486,_process:467}],484:[function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,r;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t,n,r,i=l.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,n=i,r=a,l.prototype.copy.call(t,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return u(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},{buffer:220,util:188}],485:[function(e,t,n){(function(e){(function(){"use strict";function n(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(r,a):(a._writableState.errorEmitted=!0,e.nextTick(n,a,t)):e.nextTick(n,a,t):o?(e.nextTick(r,a),o(t)):e.nextTick(r,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))},{_process:467}],486:[function(e,t,n){"use strict";var r=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&t.readable,s=n.writable||!1!==n.writable&&t.writable,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){s=!1,u=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,h=function(){a=!1,d=!0,s||o.call(t)},f=function(e){o.call(t,e)},p=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):s&&!u?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",c),t.on("abort",p),t.req?m():t.on("request",m)):s&&!t._writableState&&(t.on("end",l),t.on("close",l)),t.on("end",h),t.on("finish",c),!1!==n.error&&t.on("error",f),t.on("close",p),function(){t.removeListener("complete",c),t.removeListener("abort",p),t.removeListener("request",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("end",h),t.removeListener("error",f),t.removeListener("close",p)}}},{"../../../errors":477}],487:[function(e,t,n){"use strict";t.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(e,t,n){"use strict";var r,i=e("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(t,n,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===r&&(r=e("./end-of-stream")),r(t,{readable:n,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function u(e){e()}function c(e,t){return e.pipe(t)}function d(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}t.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=d(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,n){var o=n<t.length-1;return l(e,o,n>0,(function(e){r||(r=e),e&&a.forEach(u),o||(a.forEach(u),i(r))}))}));return t.reduce(c)}},{"../../../errors":477,"./end-of-stream":486}],489:[function(e,t,n){"use strict";var r=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},{"../../../errors":477}],490:[function(e,t,n){"use strict";t.exports=e("events").EventEmitter},{events:422}],491:[function(e,t,n){"use strict";(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js"),n.finished=e("./lib/internal/streams/end-of-stream.js"),n.pipeline=e("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(e,t,n){"use strict";var r=function(e){var t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new S(i||[]);return r(a,"_invoke",{value:w(e,n,s)}),a}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&n.call(v,o)&&(m=v);var y=p.prototype=h.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var i;r(this,"_invoke",{value:function(r,o){function a(){return new t((function(i,a){!function r(i,o,a,s){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function w(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function x(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=c(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return f.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new _(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),l(y,s,"Generator"),l(y,o,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}("object"==typeof t?t.exports:{});try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},{}],493:[function(e,t,n){"use strict";var r=e("buffer").Buffer,i=e("inherits"),o=e("hash-base"),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function m(e,t,n,r,i,o,a,s){return p(e+(t^n^r)+o+a|0,s)+i|0}function g(e,t,n,r,i,o,a,s){return p(e+(t&n|~t&r)+o+a|0,s)+i|0}function v(e,t,n,r,i,o,a,s){return p(e+((t|~n)^r)+o+a|0,s)+i|0}function y(e,t,n,r,i,o,a,s){return p(e+(t&r|n&~r)+o+a|0,s)+i|0}function b(e,t,n,r,i,o,a,s){return p(e+(t^(n|~r))+o+a|0,s)+i|0}i(f,o),f.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,f=0|this._e,_=0|this._a,w=0|this._b,x=0|this._c,k=0|this._d,M=0|this._e,S=0;S<80;S+=1){var C,T;S<16?(C=m(n,r,i,o,f,e[s[S]],d[0],u[S]),T=b(_,w,x,k,M,e[l[S]],h[0],c[S])):S<32?(C=g(n,r,i,o,f,e[s[S]],d[1],u[S]),T=y(_,w,x,k,M,e[l[S]],h[1],c[S])):S<48?(C=v(n,r,i,o,f,e[s[S]],d[2],u[S]),T=v(_,w,x,k,M,e[l[S]],h[2],c[S])):S<64?(C=y(n,r,i,o,f,e[s[S]],d[3],u[S]),T=g(_,w,x,k,M,e[l[S]],h[3],c[S])):(C=b(n,r,i,o,f,e[s[S]],d[4],u[S]),T=m(_,w,x,k,M,e[l[S]],h[4],c[S])),n=f,f=o,o=p(i,10),i=r,r=C,_=M,M=k,k=p(x,10),x=w,w=T}var O=this._b+i+k|0;this._b=this._c+o+M|0,this._c=this._d+f+_|0,this._d=this._e+n+w|0,this._e=this._a+r+x|0,this._a=O},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=f},{buffer:220,"hash-base":425,inherits:440}],494:[function(e,t,n){"use strict";
  565. /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:220}],495:[function(e,t,n){(function(n){(function(){"use strict";var r,i=e("buffer"),o=i.Buffer,a={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=i[r]);var s=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=o[r]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,n)}),s.alloc||(s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=o(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=n.binding("buffer").kStringMaxLength}catch(e){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this)}).call(this,e("_process"))},{_process:467,buffer:220}],496:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});const r=e("xmlchars/xml/1.0/ed5"),i=e("xmlchars/xml/1.1/ed2"),o=e("xmlchars/xmlns/1.0/ed3");var a=r.isS,s=r.isChar,l=r.isNameStartChar,u=r.isNameChar,c=r.S_LIST,d=r.NAME_RE,h=i.isChar,f=o.isNCNameStartChar,p=o.isNCNameChar,m=o.NC_NAME_RE;const g="http://www.w3.org/XML/1998/namespace",v="http://www.w3.org/2000/xmlns/",y={__proto__:null,xml:g,xmlns:v},b={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},_=e=>34===e||39===e,w=[34,39],x=[...w,91,62],k=[...w,60,93],M=[61,63,...c],S=[...c,62,38,60];function C(e,t,n){switch(t){case"xml":n!==g&&e.fail(`xml prefix must be bound to ${g}.`);break;case"xmlns":n!==v&&e.fail(`xmlns prefix must be bound to ${v}.`)}switch(n){case v:e.fail(""===t?`the default namespace may not be set to ${n}.`:`may not assign a prefix (even "xmlns") to the URI ${v}.`);break;case g:switch(t){case"xml":break;case"":e.fail(`the default namespace may not be set to ${n}.`);break;default:e.fail("may not assign the xml namespace to another prefix.")}}}const T=e=>m.test(e),O=e=>d.test(e);n.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const L={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};n.SaxesParser=class{constructor(e){this.opt=null!=e?e:{},this.fragmentOpt=!!this.opt.fragment;const t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=f,this.nameCheck=p,this.isName=T,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},y);const e=this.opt.additionalNamespaces;null!=e&&(function(e,t){for(const n of Object.keys(t))C(e,n,t[n])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=l,this.nameCheck=u,this.isName=O,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var e;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:n}=this.opt;if(void 0===n){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");n="1.0"}this.setXMLVersion(n),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(b),null===(e=this.readyHandler)||void 0===e||e.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[L[e]]=t}off(e){this[L[e]]=void 0}makeError(e){var t;let n=null!==(t=this.fileName)&&void 0!==t?t:"";return this.trackPosition&&(n.length>0&&(n+=":"),n+=`${this.line}:${this.column}`),n.length>0&&(n+=": "),new Error(n+e)}fail(e){const t=this.makeError(e),n=this.errorHandler;if(void 0===n)throw t;return n(t),this}write(e){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let t=!1;null===e?(t=!0,e=""):"object"==typeof e&&(e=e.toString()),void 0!==this.carriedFromPrevious&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let n=e.length;const r=e.charCodeAt(n-1);!t&&(13===r||r>=55296&&r<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n));const{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<n;)i[this.state].call(this);return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;const n=e.charCodeAt(t);if(this.column++,n<55296){if(n>=32||9===n)return n;switch(n){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===e.charCodeAt(t+1)&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),n}}if(n>56319)return n>=57344&&n<=65533||this.fail("disallowed character."),n;const r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail("disallowed character."),r}getCode11(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;const n=e.charCodeAt(t);if(this.column++,n<55296){if(n>31&&n<127||n>159&&8232!==n||9===n)return n;switch(n){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const n=e.charCodeAt(t+1);10!==n&&133!==n||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),n}}if(n>56319)return n>=57344&&n<=65533||this.fail("disallowed character."),n;const r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail("disallowed character."),r}getCodeNorm(){const e=this.getCode();return-2===e?10:e}unget(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this;const{chunk:n}=this;for(;;){const r=this.getCode(),i=-2===r,o=i?10:r;if(-1===o||e.includes(o))return this.text+=n.slice(t,this.prevI),o;i&&(this.text+=n.slice(t,this.prevI)+"\n",t=this.i)}}captureToChar(e){let{i:t}=this;const{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case-2:this.text+=n.slice(t,this.prevI)+"\n",t=this.i,r=10;break;case-1:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){const{chunk:e,i:t}=this;for(;;){const n=this.getCode();if(-1===n)return this.name+=e.slice(t),-1;if(!u(n))return this.name+=e.slice(t,this.prevI),-2===n?10:n}}skipSpaces(){for(;;){const e=this.getCodeNorm();if(-1===e||!a(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,"1.0"===e?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=h,this.getCode=this.getCode11)}sBegin(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var e;const t=this.captureTo(x);switch(t){case 62:null===(e=this.doctypeHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(t),91===t?this.state=4:_(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){const e=this.captureTo(k);-1!==e&&(this.text+=String.fromCodePoint(e),93===e?this.state=2:60===e?this.state=6:_(e)&&(this.state=5,this.q=e))}sDTDQuoted(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){const e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang="";break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,"-"!==t&&(this.state="--"===t?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=45===e?10:8}sDTDCommentEnded(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),62===e?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),62===e&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:e}=this;const{chunk:t}=this;e:for(;;)switch(this.getCode()){case-2:this.entity+=t.slice(e,this.prevI)+"\n",e=this.i;break;case 59:{const{entityReturnState:n}=this,r=this.entity+t.slice(e,this.prevI);let i;this.state=n,""===r?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(r),this.entity=""),13===n&&void 0===this.textHandler||(this.text+=i);break e}case-1:this.entity+=t.slice(e);break e}}sOpenWaka(){const e=this.getCode();if(l(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var e;const t=this.getCodeNorm();45===t?(this.state=19,null===(e=this.commentHandler)||void 0===e||e.call(this,this.text),this.text=""):(this.text+="-"+String.fromCodePoint(t),this.state=17)}sCommentEnded(){const e=this.getCodeNorm();62!==e?(this.fail("malformed comment."),this.text+="--"+String.fromCodePoint(e),this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){const e=this.getCodeNorm();93===e?this.state=22:(this.text+="]"+String.fromCodePoint(e),this.state=20)}sCDataEnding2(){var e;const t=this.getCodeNorm();switch(t){case 62:null===(e=this.cdataHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]"+String.fromCodePoint(t),this.state=20}}sPIFirstChar(){const e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):63===e||a(e)?(this.fail("processing instruction without a target."),this.state=63===e?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){const{chunk:e,i:t}=this;for(;;){const n=this.getCodeNorm();if(-1===n)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);const r=63===n;r||a(n)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=r?33:27):this.state=r?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(0===this.text.length){const e=this.getCodeNorm();63===e?this.state=26:a(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var e;const t=this.getCodeNorm();if(62===t){const{piTarget:t}=this;"xml"===t.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(e=this.piHandler)||void 0===e||e.call(this,{target:t,body:this.text}),this.piTarget=this.text="",this.state=13}else 63===t?this.text+="?":(this.text+="?"+String.fromCodePoint(t),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const e=this.skipSpaces();63!==e?-1!==e&&(this.state=28,this.name=String.fromCodePoint(e)):this.state=33}sXMLDeclName(){const e=this.captureTo(M);if(63===e)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(e)||61===e){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail("expected one of "+this.xmlDeclExpects.join(", "))}this.state=61===e?30:29}}sXMLDeclEq(){const e=this.getCodeNorm();if(63===e)return this.state=33,void this.fail("XML declaration is incomplete.");a(e)||(61!==e&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const e=this.getCodeNorm();if(63===e)return this.state=33,void this.fail("XML declaration is incomplete.");a(e)||(_(e)?this.q=e:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const e=this.captureTo([this.q,63]);if(63===e)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1===e)return;const t=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=t;break;case"standalone":"yes"!==t&&"no"!==t&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name="",this.state=32}sXMLDeclSeparator(){const e=this.getCodeNorm();63!==e?(a(e)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var e;62===this.getCodeNorm()?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(e=this.xmldeclHandler)||void 0===e||e.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var e;const t=this.captureNameChars();if(-1===t)return;const n=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=n.ns=Object.create(null)),null===(e=this.openTagStartHandler)||void 0===e||e.call(this,n),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case 62:this.openTag();break;case 47:this.state=35;break;default:a(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const e=this.skipSpaces();-1!==e&&(l(e)?(this.unget(),this.state=37):62===e?this.openTag():47===e?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const e=this.captureNameChars();61===e?this.state=39:a(e)?this.state=38:62===e?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==e&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const e=this.skipSpaces();switch(e){case-1:return;case 61:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===e?this.openTag():l(e)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const e=this.getCodeNorm();_(e)?(this.q=e,this.state=40):a(e)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:e,chunk:t}=this;let{i:n}=this;for(;;)switch(this.getCode()){case e:return this.pushAttrib(this.name,this.text+t.slice(n,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=t.slice(n,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=t.slice(n,this.prevI)+" ",n=this.i;break;case 60:return this.text+=t.slice(n,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=t.slice(n))}}sAttribValueClosed(){const e=this.getCodeNorm();a(e)?this.state=36:62===e?this.openTag():47===e?this.state=35:l(e)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const e=this.captureTo(S);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===e?this.openTag():this.state=36}}sCloseTag(){const e=this.captureNameChars();62===e?this.closeTag():a(e)?this.state=44:-1!==e&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:e,forbiddenState:t}=this;const{chunk:n,textHandler:r}=this;e:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==r){const{text:t}=this,i=n.slice(e,this.prevI);0!==t.length?(r(t+i),this.text=""):0!==i.length&&r(i)}t=0;break e;case 38:this.state=14,this.entityReturnState=13,void 0!==r&&(this.text+=n.slice(e,this.prevI)),t=0;break e;case 93:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===t&&this.fail('the string "]]>" is disallowed in char data.'),t=0;break;case-2:void 0!==r&&(this.text+=n.slice(e,this.prevI)+"\n"),e=this.i,t=0;break;case-1:void 0!==r&&(this.text+=n.slice(e));break e;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this;const{chunk:t,textHandler:n}=this;let r=!1;e:for(;;){const i=this.getCode();switch(i){case 60:if(this.state=15,void 0!==n){const{text:r}=this,i=t.slice(e,this.prevI);0!==r.length?(n(r+i),this.text=""):0!==i.length&&n(i)}break e;case 38:this.state=14,this.entityReturnState=13,void 0!==n&&(this.text+=t.slice(e,this.prevI)),r=!0;break e;case-2:void 0!==n&&(this.text+=t.slice(e,this.prevI)+"\n"),e=this.i;break;case-1:void 0!==n&&(this.text+=t.slice(e));break e;default:a(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){var n;const{prefix:r,local:i}=this.qname(e),o={name:e,prefix:r,local:i,value:t};if(this.attribList.push(o),null===(n=this.attributeHandler)||void 0===n||n.call(this,o),"xmlns"===r){const e=t.trim();"1.0"===this.currentXMLVersion&&""===e&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[i]=e,C(this,i,e)}else if("xmlns"===e){const e=t.trim();this.topNS[""]=e,C(this,"",e)}}pushAttribPlain(e,t){var n;const r={name:e,value:t};this.attribList.push(r),null===(n=this.attributeHandler)||void 0===n||n.call(this,r)}end(){var e,t;this.sawRoot||this.fail("document must contain a root element.");const{tags:n}=this;for(;n.length>0;){const e=n.pop();this.fail("unclosed tag: "+e.name)}0!==this.state&&13!==this.state&&this.fail("unexpected end.");const{text:r}=this;return 0!==r.length&&(null===(e=this.textHandler)||void 0===e||e.call(this,r),this.text=""),this._closed=!0,null===(t=this.endHandler)||void 0===t||t.call(this),this._init(),this}resolve(e){var t,n;let r=this.topNS[e];if(void 0!==r)return r;const{tags:i}=this;for(let o=i.length-1;o>=0;o--)if(r=i[o].ns[e],void 0!==r)return r;return r=this.ns[e],void 0!==r?r:null===(n=(t=this.opt).resolvePrefix)||void 0===n?void 0:n.call(t,e)}qname(e){const t=e.indexOf(":");if(-1===t)return{prefix:"",local:e};const n=e.slice(t+1),r=e.slice(0,t);return(""===r||""===n||n.includes(":"))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){var e;const{attribList:t}=this,n=this.tag;{const{prefix:t,local:r}=this.qname(n.name);n.prefix=t,n.local=r;const i=n.uri=null!==(e=this.resolve(t))&&void 0!==e?e:"";""!==t&&("xmlns"===t&&this.fail('tags may not have "xmlns" as prefix.'),""===i&&(this.fail(`unbound namespace prefix: ${JSON.stringify(t)}.`),n.uri=t))}if(0===t.length)return;const{attributes:r}=n,i=new Set;for(const o of t){const{name:e,prefix:t,local:n}=o;let a,s;""===t?(a="xmlns"===e?v:"",s=e):(a=this.resolve(t),void 0===a&&(this.fail(`unbound namespace prefix: ${JSON.stringify(t)}.`),a=t),s=`{${a}}${n}`),i.has(s)&&this.fail(`duplicate attribute: ${s}.`),i.add(s),o.uri=a,r[e]=o}this.attribList=[]}processAttribsPlain(){const{attribList:e}=this,t=this.tag.attributes;for(const{name:n,value:r}of e)void 0!==t[n]&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){var e;this.processAttribs();const{tags:t}=this,n=this.tag;n.isSelfClosing=!1,null===(e=this.openTagHandler)||void 0===e||e.call(this,n),t.push(n),this.state=13,this.name=""}openSelfClosingTag(){var e,t,n;this.processAttribs();const{tags:r}=this,i=this.tag;i.isSelfClosing=!0,null===(e=this.openTagHandler)||void 0===e||e.call(this,i),null===(t=this.closeTagHandler)||void 0===t||t.call(this,i),null===(this.tag=null!==(n=r[r.length-1])&&void 0!==n?n:null)&&(this.closedRoot=!0),this.state=13,this.name=""}closeTag(){const{tags:e,name:t}=this;if(this.state=13,this.name="",""===t)return this.fail("weird empty close tag."),void(this.text+="</>");const n=this.closeTagHandler;let r=e.length;for(;r-- >0;){const r=this.tag=e.pop();if(this.topNS=r.ns,null==n||n(r),r.name===t)break;this.fail("unexpected close tag.")}0===r?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if("#"!==e[0]){const t=this.ENTITIES[e];return void 0!==t?t:(this.fail(this.isName(e)?"undefined entity.":"disallowed character in entity name."),`&${e};`)}let t=NaN;return"x"===e[1]&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail("malformed character entity."),`&${e};`)}}},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s<o;){for(var l=a%i,u=Math.min(o-s,i-l),c=0;c<u;c++)n[l+c]=e[s+c];s+=u,(a+=u)%i==0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},{"safe-buffer":494}],498:[function(e,t,n){"use strict";var r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":499,"./sha1":500,"./sha224":501,"./sha256":502,"./sha384":503,"./sha512":504}],499:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<30|e>>>2}function c(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=n[d-3]^n[d-8]^n[d-14]^n[d-16];for(var h=0;h<80;++h){var f=~~(h/20),p=0|((t=r)<<5|t>>>27)+c(f,i,o,s)+l+n[h]+a[f];l=s,s=o,o=u(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],500:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function d(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,h=0;h<16;++h)n[h]=e.readInt32BE(4*h);for(;h<80;++h)n[h]=(t=n[h-3]^n[h-8]^n[h-14]^n[h-16])<<1|t>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=u(r)+d(p,i,o,s)+l+n[f]+a[p]|0;l=s,s=o,o=c(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],501:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./sha256"),o=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(64);function l(){this.init(),this._w=s,o.call(this,64,56)}r(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=l},{"./hash":497,"./sha256":502,inherits:440,"safe-buffer":494}],502:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e,t,n){return n^e&(t^n)}function c(e,t,n){return e&t|n&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)n[v]=e.readInt32BE(4*v);for(;v<64;++v)n[v]=0|(((t=n[v-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[v-7]+f(n[v-15])+n[v-16];for(var y=0;y<64;++y){var b=g+h(l)+u(l,p,m)+a[y]+n[y]|0,_=d(r)+c(r,i,o)|0;g=m,m=p,p=l,l=s+b|0,s=o,o=i,i=r,r=b+_|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],503:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./sha512"),o=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(160);function l(){this.init(),this._w=s,o.call(this,128,112)}r(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=l},{"./hash":497,"./sha512":504,inherits:440,"safe-buffer":494}],504:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function u(e,t,n){return n^e&(t^n)}function c(e,t,n){return e&t|n&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,l=0|this._fh,y=0|this._gh,b=0|this._hh,_=0|this._al,w=0|this._bl,x=0|this._cl,k=0|this._dl,M=0|this._el,S=0|this._fl,C=0|this._gl,T=0|this._hl,O=0;O<32;O+=2)t[O]=e.readInt32BE(4*O),t[O+1]=e.readInt32BE(4*O+4);for(;O<160;O+=2){var L=t[O-30],A=t[O-30+1],D=f(L,A),E=p(A,L),I=m(L=t[O-4],A=t[O-4+1]),j=g(A,L),P=t[O-14],R=t[O-14+1],N=t[O-32],B=t[O-32+1],Y=E+R|0,F=D+P+v(Y,E)|0;F=(F=F+I+v(Y=Y+j|0,j)|0)+N+v(Y=Y+B|0,B)|0,t[O]=F,t[O+1]=Y}for(var z=0;z<160;z+=2){F=t[z],Y=t[z+1];var H=c(n,r,i),V=c(_,w,x),W=d(n,_),U=d(_,n),$=h(s,M),G=h(M,s),q=a[z],X=a[z+1],K=u(s,l,y),Z=u(M,S,C),J=T+G|0,Q=b+$+v(J,T)|0;Q=(Q=(Q=Q+K+v(J=J+Z|0,Z)|0)+q+v(J=J+X|0,X)|0)+F+v(J=J+Y|0,Y)|0;var ee=U+V|0,te=W+H+v(ee,U)|0;b=y,T=C,y=l,C=S,l=s,S=M,s=o+Q+v(M=k+J|0,k)|0,o=i,k=x,i=r,x=w,r=n,w=_,n=Q+te+v(_=J+ee|0,J)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+k|0,this._el=this._el+M|0,this._fl=this._fl+S|0,this._gl=this._gl+C|0,this._hl=this._hl+T|0,this._ah=this._ah+n+v(this._al,_)|0,this._bh=this._bh+r+v(this._bl,w)|0,this._ch=this._ch+i+v(this._cl,x)|0,this._dh=this._dh+o+v(this._dl,k)|0,this._eh=this._eh+s+v(this._el,M)|0,this._fh=this._fh+l+v(this._fl,S)|0,this._gh=this._gh+y+v(this._gl,C)|0,this._hh=this._hh+b+v(this._hl,T)|0},l.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],505:[function(e,t,n){"use strict";t.exports=i;var r=e("events").EventEmitter;function i(){r.call(this)}e("inherits")(i,r),i.Readable=e("readable-stream/readable.js"),i.Writable=e("readable-stream/writable.js"),i.Duplex=e("readable-stream/duplex.js"),i.Transform=e("readable-stream/transform.js"),i.PassThrough=e("readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",u),e.on("error",u),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},{events:422,inherits:440,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],506:[function(e,t,n){"use strict";var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],507:[function(e,t,n){"use strict";t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(e,t,n){"use strict";var r=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=d;var o=Object.create(e("core-util-is"));o.inherits=e("inherits");var a=e("./_stream_readable"),s=e("./_stream_writable");o.inherits(d,a);for(var l=i(s.prototype),u=0;u<l.length;u++){var c=l[u];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":383,inherits:440,"process-nextick-args":466}],509:[function(e,t,n){"use strict";t.exports=o;var r=e("./_stream_transform"),i=Object.create(e("core-util-is"));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=e("inherits"),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":511,"core-util-is":383,inherits:440}],510:[function(e,n,r){(function(t,r){(function(){"use strict";var i=e("process-nextick-args");n.exports=b;var o,a=e("isarray");b.ReadableState=y,e("events").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=e("./internal/streams/stream"),u=e("safe-buffer").Buffer,c=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=Object.create(e("core-util-is"));d.inherits=e("inherits");var h=e("util"),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=e("./internal/streams/BufferList"),g=e("./internal/streams/destroy");d.inherits(b,l);var v=["error","close","destroy","pause","resume"];function y(t,n){t=t||{};var r=n instanceof(o=o||e("./_stream_duplex"));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function b(t){if(o=o||e("./_stream_duplex"),!(this instanceof b))return new b(t);this._readableState=new y(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function _(e,t,n,r,i){var o,a=e._readableState;return null===t?(a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,k(e)}}(e,a)):(i||(o=function(e,t){var n,r;return r=t,u.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):S(e,a)):w(e,a,t,!1))):r||(a.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function w(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&k(e)),S(e,t)}function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(M,e):M(e))}function M(e){f("emit readable"),e.emit("readable"),L(e)}function S(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function T(e){f("readable nexttick read 0"),e.read(0)}function O(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function A(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=u.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t),r}(e,t.buffer,t.decoder),n);var n}function D(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(E,t,e))}function E(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=u.from(e,t),t=""),n=!0),_(this,e,t,!1,n)},b.prototype.unshift=function(e){return _(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(t){return p||(p=e("string_decoder/").StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this},b.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?D(this):k(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&D(this),null;var r,i=t.needReadable;return f("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",i=!0),t.ended||t.reading?f("reading or ended",i=!1):i&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(n,t))),null===(r=e>0?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&D(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,n){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,n);var l=n&&!1===n.end||e===t.stdout||e===t.stderr?b:c;function u(t,n){f("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,f("cleanup"),e.removeListener("close",v),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",g),e.removeListener("unpipe",u),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",m),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function c(){f("onend"),e.end()}o.endEmitted?i.nextTick(l):r.once("end",l),e.on("unpipe",u);var d=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,L(e))}}(r);e.on("drain",d);var h=!1,p=!1;function m(t){f("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==I(o.pipes,e))&&!h&&(f("false write response, pause",o.awaitDrain),o.awaitDrain++,p=!0),r.pause())}function g(t){f("onerror",t),b(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",y),b()}function y(){f("onfinish"),e.removeListener("close",v),b()}function b(){f("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",g),e.once("close",v),e.once("finish",y),e.emit("pipe",r),o.flowing||(f("pipe resume"),r.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=I(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},b.prototype.on=function(e,t){var n=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&k(this):i.nextTick(T,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(O,e,t))}(this,e)),this},b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<v.length;o++)e.on(v[o],this.emit.bind(this,v[o]));return this._read=function(t){f("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=A}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,events:422,inherits:440,isarray:506,"process-nextick-args":466,"safe-buffer":520,"string_decoder/":521,util:188}],511:[function(e,t,n){"use strict";t.exports=a;var r=e("./_stream_duplex"),i=Object.create(e("core-util-is"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){l(e,t,n)})):l(this,null,null)}function l(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=e("inherits"),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},{"./_stream_duplex":508,"core-util-is":383,inherits:440}],512:[function(e,n,r){(function(t,r,i){(function(){"use strict";var o=e("process-nextick-args");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}n.exports=y;var s,l=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?i:o.nextTick;y.WritableState=v;var u=Object.create(e("core-util-is"));u.inherits=e("inherits");var c,d={deprecate:e("util-deprecate")},h=e("./internal/streams/stream"),f=e("safe-buffer").Buffer,p=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},m=e("./internal/streams/destroy");function g(){}function v(t,n){s=s||e("./_stream_duplex"),t=t||{};var r=n instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,u=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(u||0===u)?u:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===t.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(M,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),M(e,t))}(e,n,r,t,i);else{var a=x(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?l(_,e,n,a,i):_(e,n,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(t){if(s=s||e("./_stream_duplex"),!(c.call(y,this)||this instanceof s))return new y(t);this._writableState=new v(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),h.call(this)}function b(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function _(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),M(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,b(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,c=n.encoding,d=n.callback;if(b(e,t,!1,t.objectMode?1:u.length,u,c,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),M(e,t)}))}function M(e,t){var n=x(t);return n&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}u.inherits(y,h),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:d.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===y&&e&&e._writableState instanceof v}})):c=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,f.isBuffer(r)||r instanceof p);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=g),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n)),t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,r,i,o);return l}(this,i,s,e,t,n)),a},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||w(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,M(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,inherits:440,"process-nextick-args":466,"safe-buffer":520,timers:523,"util-deprecate":524}],513:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":520,util:188}],514:[function(e,t,n){"use strict";var r=e("process-nextick-args");function i(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(i,this,e)):r.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":466}],515:[function(e,t,n){arguments[4][490][0].apply(n,arguments)},{dup:490,events:422}],516:[function(e,t,n){"use strict";t.exports=e("./readable").PassThrough},{"./readable":517}],517:[function(e,t,n){"use strict";(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(e,t,n){"use strict";t.exports=e("./readable").Transform},{"./readable":517}],519:[function(e,t,n){"use strict";t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(e,t,n){arguments[4][217][0].apply(n,arguments)},{buffer:220,dup:217}],521:[function(e,t,n){arguments[4][218][0].apply(n,arguments)},{dup:218,"safe-buffer":520}],522:[function(e,t,n){arguments[4][218][0].apply(n,arguments)},{dup:218,"safe-buffer":494}],523:[function(e,t,n){(function(t,r){(function(){"use strict";var i=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},l=0;function u(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new u(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"==typeof t?t:function(e){var t=l++,r=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,i((function(){s[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"==typeof r?r:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":467,timers:523}],524:[function(e,n,r){(function(e){(function(){"use strict";function t(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}n.exports=function(e,n){if(t("noDeprecation"))return e;var r=!1;return function(){if(!r){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),r=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],525:[function(e,t,n){"use strict";"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],526:[function(e,t,n){"use strict";t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],527:[function(e,n,r){(function(t,n){(function(){"use strict";var i=/%[sdj%]/g;r.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),l=r[n];n<o;l=r[++n])m(l)||!_(l)?a+=" "+l:a+=" "+s(l);return a},r.deprecate=function(e,i){if(y(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),o=!0}return e.apply(this,arguments)}};var o,a={};function s(e,t){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function u(e,t){return e}function c(e,t,n){if(e.customInspect&&t&&k(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return v(i)||(i=c(e,i,n)),i}var o=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return g(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var a=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),x(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(t);if(0===a.length){if(k(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(b(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(w(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return d(t)}var u,_="",M=!1,S=["{","}"];return f(t)&&(M=!0,S=["[","]"]),k(t)&&(_=" [Function"+(t.name?": "+t.name:"")+"]"),b(t)&&(_=" "+RegExp.prototype.toString.call(t)),w(t)&&(_=" "+Date.prototype.toUTCString.call(t)),x(t)&&(_=" "+d(t)),0!==a.length||M&&0!=t.length?n<0?b(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=M?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)O(t,String(a))?o.push(h(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(e,t,n,r,i,!0))})),o}(e,t,n,s,a):a.map((function(r){return h(e,t,n,s,r,M)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(u,_,S)):S[0]+_+S[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),O(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?c(e,l.value,null):c(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function f(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function g(e){return"number"==typeof e}function v(e){return"string"==typeof e}function y(e){return void 0===e}function b(e){return _(e)&&"[object RegExp]"===M(e)}function _(e){return"object"==typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===M(e)}function x(e){return _(e)&&("[object Error]"===M(e)||e instanceof Error)}function k(e){return"function"==typeof e}function M(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(y(o)&&(o=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var n=t.pid;a[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else a[e]=function(){};return a[e]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=f,r.isBoolean=p,r.isNull=m,r.isNullOrUndefined=function(e){return null==e},r.isNumber=g,r.isString=v,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=y,r.isRegExp=b,r.isObject=_,r.isDate=w,r.isError=x,r.isFunction=k,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){console.log("%s - %s",T(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!_(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(n,"version",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(n,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return d.default}});var r=h(e("./v1.js")),i=h(e("./v3.js")),o=h(e("./v4.js")),a=h(e("./v5.js")),s=h(e("./nil.js")),l=h(e("./version.js")),u=h(e("./validate.js")),c=h(e("./stringify.js")),d=h(e("./parse.js"));function h(e){return e&&e.__esModule?e:{default:e}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(e,t,n){"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function i(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function o(e,t,n,r,o,a){return i((s=i(i(t,e),i(r,a)))<<(l=o)|s>>>32-l,n);var s,l}function a(e,t,n,r,i,a,s){return o(t&n|~t&r,e,t,i,a,s)}function s(e,t,n,r,i,a,s){return o(t&r|n&~r,e,t,i,a,s)}function l(e,t,n,r,i,a,s){return o(t^n^r,e,t,i,a,s)}function u(e,t,n,r,i,a,s){return o(n^(t|~r),e,t,i,a,s)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length;for(let r=0;r<n;r+=8){const n=e[r>>5]>>>r%32&255,i=parseInt("0123456789abcdef".charAt(n>>>4&15)+"0123456789abcdef".charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;let n=1732584193,o=-271733879,c=-1732584194,d=271733878;for(let r=0;r<e.length;r+=16){const t=n,h=o,f=c,p=d;n=a(n,o,c,d,e[r],7,-680876936),d=a(d,n,o,c,e[r+1],12,-389564586),c=a(c,d,n,o,e[r+2],17,606105819),o=a(o,c,d,n,e[r+3],22,-1044525330),n=a(n,o,c,d,e[r+4],7,-176418897),d=a(d,n,o,c,e[r+5],12,1200080426),c=a(c,d,n,o,e[r+6],17,-1473231341),o=a(o,c,d,n,e[r+7],22,-45705983),n=a(n,o,c,d,e[r+8],7,1770035416),d=a(d,n,o,c,e[r+9],12,-1958414417),c=a(c,d,n,o,e[r+10],17,-42063),o=a(o,c,d,n,e[r+11],22,-1990404162),n=a(n,o,c,d,e[r+12],7,1804603682),d=a(d,n,o,c,e[r+13],12,-40341101),c=a(c,d,n,o,e[r+14],17,-1502002290),o=a(o,c,d,n,e[r+15],22,1236535329),n=s(n,o,c,d,e[r+1],5,-165796510),d=s(d,n,o,c,e[r+6],9,-1069501632),c=s(c,d,n,o,e[r+11],14,643717713),o=s(o,c,d,n,e[r],20,-373897302),n=s(n,o,c,d,e[r+5],5,-701558691),d=s(d,n,o,c,e[r+10],9,38016083),c=s(c,d,n,o,e[r+15],14,-660478335),o=s(o,c,d,n,e[r+4],20,-405537848),n=s(n,o,c,d,e[r+9],5,568446438),d=s(d,n,o,c,e[r+14],9,-1019803690),c=s(c,d,n,o,e[r+3],14,-187363961),o=s(o,c,d,n,e[r+8],20,1163531501),n=s(n,o,c,d,e[r+13],5,-1444681467),d=s(d,n,o,c,e[r+2],9,-51403784),c=s(c,d,n,o,e[r+7],14,1735328473),o=s(o,c,d,n,e[r+12],20,-1926607734),n=l(n,o,c,d,e[r+5],4,-378558),d=l(d,n,o,c,e[r+8],11,-2022574463),c=l(c,d,n,o,e[r+11],16,1839030562),o=l(o,c,d,n,e[r+14],23,-35309556),n=l(n,o,c,d,e[r+1],4,-1530992060),d=l(d,n,o,c,e[r+4],11,1272893353),c=l(c,d,n,o,e[r+7],16,-155497632),o=l(o,c,d,n,e[r+10],23,-1094730640),n=l(n,o,c,d,e[r+13],4,681279174),d=l(d,n,o,c,e[r],11,-358537222),c=l(c,d,n,o,e[r+3],16,-722521979),o=l(o,c,d,n,e[r+6],23,76029189),n=l(n,o,c,d,e[r+9],4,-640364487),d=l(d,n,o,c,e[r+12],11,-421815835),c=l(c,d,n,o,e[r+15],16,530742520),o=l(o,c,d,n,e[r+2],23,-995338651),n=u(n,o,c,d,e[r],6,-198630844),d=u(d,n,o,c,e[r+7],10,1126891415),c=u(c,d,n,o,e[r+14],15,-1416354905),o=u(o,c,d,n,e[r+5],21,-57434055),n=u(n,o,c,d,e[r+12],6,1700485571),d=u(d,n,o,c,e[r+3],10,-1894986606),c=u(c,d,n,o,e[r+10],15,-1051523),o=u(o,c,d,n,e[r+1],21,-2054922799),n=u(n,o,c,d,e[r+8],6,1873313359),d=u(d,n,o,c,e[r+15],10,-30611744),c=u(c,d,n,o,e[r+6],15,-1560198380),o=u(o,c,d,n,e[r+13],21,1309151649),n=u(n,o,c,d,e[r+4],6,-145523070),d=u(d,n,o,c,e[r+11],10,-1120210379),c=u(c,d,n,o,e[r+2],15,718787259),o=u(o,c,d,n,e[r+9],21,-343485551),n=i(n,t),o=i(o,h),c=i(c,f),d=i(d,p)}return[n,o,c,d]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(r(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))};n.default=c},{}],530:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default="00000000-0000-0000-0000-000000000000"},{}],531:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("./validate.js"))&&r.__esModule?r:{default:r},o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};n.default=o},{"./validate.js":541}],532:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],533:[function(e,t,n){"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)};const i=new Uint8Array(16)},{}],534:[function(e,t,n){"use strict";function r(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function i(e,t){return e<<t|e>>>32-t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a);for(let r=0;r<a;++r){const t=new Uint32Array(16);for(let n=0;n<16;++n)t[n]=e[64*r+4*n]<<24|e[64*r+4*n+1]<<16|e[64*r+4*n+2]<<8|e[64*r+4*n+3];s[r]=t}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(let l=0;l<a;++l){const e=new Uint32Array(80);for(let t=0;t<16;++t)e[t]=s[l][t];for(let t=16;t<80;++t)e[t]=i(e[t-3]^e[t-8]^e[t-14]^e[t-16],1);let o=n[0],a=n[1],u=n[2],c=n[3],d=n[4];for(let n=0;n<80;++n){const s=Math.floor(n/20),l=i(o,5)+r(s,a,u,c)+d+t[s]+e[n]>>>0;d=c,c=u,u=i(a,30)>>>0,a=o,o=l}n[0]=n[0]+o>>>0,n[1]=n[1]+a>>>0,n[2]=n[2]+u>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+d>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};n.default=o},{}],535:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("./validate.js"))&&r.__esModule?r:{default:r};const o=[];for(let s=0;s<256;++s)o.push((s+256).toString(16).substr(1));var a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,i.default)(n))throw TypeError("Stringified UUID is invalid");return n};n.default=a},{"./validate.js":541}],536:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(e("./rng.js")),i=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}let a,s,l=0,u=0;var c=function(e,t,n){let o=t&&n||0;const c=t||new Array(16);let d=(e=e||{}).node||a,h=void 0!==e.clockseq?e.clockseq:s;if(null==d||null==h){const t=e.random||(e.rng||r.default)();null==d&&(d=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==h&&(h=s=16383&(t[6]<<8|t[7]))}let f=void 0!==e.msecs?e.msecs:Date.now(),p=void 0!==e.nsecs?e.nsecs:u+1;const m=f-l+(p-u)/1e4;if(m<0&&void 0===e.clockseq&&(h=h+1&16383),(m<0||f>l)&&void 0===e.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=f,u=p,s=h,f+=122192928e5;const g=(1e4*(268435455&f)+p)%4294967296;c[o++]=g>>>24&255,c[o++]=g>>>16&255,c[o++]=g>>>8&255,c[o++]=255&g;const v=f/4294967296*1e4&268435455;c[o++]=v>>>8&255,c[o++]=255&v,c[o++]=v>>>24&15|16,c[o++]=v>>>16&255,c[o++]=h>>>8|128,c[o++]=255&h;for(let r=0;r<6;++r)c[o+r]=d[r];return t||(0,i.default)(c)};n.default=c},{"./rng.js":533,"./stringify.js":535}],537:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(e("./v35.js")),i=o(e("./md5.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,r.default)("v3",48,i.default);n.default=a},{"./md5.js":529,"./v35.js":538}],538:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){function o(e,o,a,s){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof o&&(o=(0,i.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+e.length);if(l.set(o),l.set(e,o.length),l=n(l),l[6]=15&l[6]|t,l[8]=63&l[8]|128,a){s=s||0;for(let e=0;e<16;++e)a[s+e]=l[e];return a}return(0,r.default)(l)}try{o.name=e}catch(e){}return o.DNS=a,o.URL=s,o},n.URL=n.DNS=void 0;var r=o(e("./stringify.js")),i=o(e("./parse.js"));function o(e){return e&&e.__esModule?e:{default:e}}const a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";n.DNS=a;const s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";n.URL=s},{"./parse.js":531,"./stringify.js":535}],539:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(e("./rng.js")),i=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,n){const o=(e=e||{}).random||(e.rng||r.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return(0,i.default)(o)};n.default=a},{"./rng.js":533,"./stringify.js":535}],540:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(e("./v35.js")),i=o(e("./sha1.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,r.default)("v5",80,i.default);n.default=a},{"./sha1.js":534,"./v35.js":538}],541:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("./regex.js"))&&r.__esModule?r:{default:r},o=function(e){return"string"==typeof e&&i.default.test(e)};n.default=o},{"./regex.js":532}],542:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("./validate.js"))&&r.__esModule?r:{default:r},o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};n.default=o},{"./validate.js":541}],543:[function(e,t,n){"use strict";
  566. /**
  567. * Character classes and associated utilities for the 5th edition of XML 1.0.
  568. *
  569. * @author Louis-Dominique Dubeau
  570. * @license MIT
  571. * @copyright Louis-Dominique Dubeau
  572. */function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,"__esModule",{value:!0}),n.CHAR="\t\n\r -퟿-�𐀀-􏿿",n.S=" \t\r\n",n.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",n.NAME_CHAR="-"+n.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",n.CHAR_RE=new RegExp("^["+n.CHAR+"]$","u"),n.S_RE=new RegExp("^["+n.S+"]+$","u"),n.NAME_START_CHAR_RE=new RegExp("^["+n.NAME_START_CHAR+"]$","u"),n.NAME_CHAR_RE=new RegExp("^["+n.NAME_CHAR+"]$","u"),n.NAME_RE=new RegExp("^["+n.NAME_START_CHAR+"]["+n.NAME_CHAR+"]*$","u"),n.NMTOKEN_RE=new RegExp("^["+n.NAME_CHAR+"]+$","u"),n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=32&&e<=55295||10===e||13===e||9===e||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return 32===e||10===e||13===e||9===e},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}],544:[function(e,t,n){"use strict";
  573. /**
  574. * Character classes and associated utilities for the 2nd edition of XML 1.1.
  575. *
  576. * @author Louis-Dominique Dubeau
  577. * @license MIT
  578. * @copyright Louis-Dominique Dubeau
  579. */function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,"__esModule",{value:!0}),n.CHAR="-퟿-�𐀀-􏿿",n.RESTRICTED_CHAR="-\b\v\f--„†-Ÿ",n.S=" \t\r\n",n.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",n.NAME_CHAR="-"+n.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",n.CHAR_RE=new RegExp("^["+n.CHAR+"]$","u"),n.RESTRICTED_CHAR_RE=new RegExp("^["+n.RESTRICTED_CHAR+"]$","u"),n.S_RE=new RegExp("^["+n.S+"]+$","u"),n.NAME_START_CHAR_RE=new RegExp("^["+n.NAME_START_CHAR+"]$","u"),n.NAME_CHAR_RE=new RegExp("^["+n.NAME_CHAR+"]$","u"),n.NAME_RE=new RegExp("^["+n.NAME_START_CHAR+"]["+n.NAME_CHAR+"]*$","u"),n.NMTOKEN_RE=new RegExp("^["+n.NAME_CHAR+"]+$","u"),n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isRestrictedChar=function(e){return e>=1&&e<=8||11===e||12===e||e>=14&&e<=31||e>=127&&e<=132||e>=134&&e<=159},n.isCharAndNotRestricted=function(e){return 9===e||10===e||13===e||e>31&&e<127||133===e||e>159&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return 32===e||10===e||13===e||9===e},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}],545:[function(e,t,n){"use strict";
  580. /**
  581. * Character class utilities for XML NS 1.0 edition 3.
  582. *
  583. * @author Louis-Dominique Dubeau
  584. * @license MIT
  585. * @copyright Louis-Dominique Dubeau
  586. */function r(e){return e>=65&&e<=90||95===e||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,"__esModule",{value:!0}),n.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",n.NC_NAME_CHAR="-"+n.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",n.NC_NAME_START_CHAR_RE=new RegExp("^["+n.NC_NAME_START_CHAR+"]$","u"),n.NC_NAME_CHAR_RE=new RegExp("^["+n.NC_NAME_CHAR+"]$","u"),n.NC_NAME_RE=new RegExp("^["+n.NC_NAME_START_CHAR+"]["+n.NC_NAME_CHAR+"]*$","u"),n.isNCNameStartChar=r,n.isNCNameChar=function(e){return r(e)||45===e||46===e||e>=48&&e<=57||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}]},{},[15])(15)}))}).call(this,n("24aa"))},e956:function(e,t,n){"use strict";var r=n("5ca1"),i=n("c45f"),o=n("4bf8"),a=n("9def"),s=n("d8e8"),l=n("cd1c");r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return s(e),t=a(r.length),n=l(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),n("9c6c")("flatMap")},e9d2:function(e,t){e.exports=Math.scale||function(e,t,n,r,i){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||i!=i?NaN:e===1/0||e===-1/0?e:(e-t)*(i-r)/(n-t)+r}},ead6:function(e,t,n){var r=n("f772"),i=n("e4ae"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("d864")(Function.call,n("bf0b").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},eb53:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n("a34a")),o=r(n("c973")),a=r(n("7037")),s=r(n("448a")),l=r(n("970b")),u=r(n("d0b5")),c=r(n("8f47")),d=n("5557"),h=function e(t,n){(0,l["default"])(this,e),n=(0,d.deepClone)(n,!0);var r={visible:!0,drag:!1,hover:!1,index:1,animationDelay:0,animationFrame:30,animationCurve:"linear",animationPause:!1,hoverRect:null,mouseEnter:null,mouseOuter:null,click:null},i={status:"static",animationRoot:[],animationKeys:[],animationFrameState:[],cache:{}};n.shape||(n.shape={}),n.style||(n.style={});var o=Object.assign({},t.shape,n.shape);Object.assign(r,n,i),Object.assign(this,t,r),this.shape=o,this.style=new u["default"](n.style),this.addedProcessor()};function f(e){return new Promise((function(t){setTimeout(t,e)}))}t["default"]=h,h.prototype.addedProcessor=function(){"function"===typeof this.setGraphCenter&&this.setGraphCenter(null,this),"function"===typeof this.added&&this.added(this)},h.prototype.drawProcessor=function(e,t){var n=e.ctx;t.style.initStyle(n),"function"===typeof this.beforeDraw&&this.beforeDraw(this,e),t.draw(e,t),"function"===typeof this.drawed&&this.drawed(this,e),t.style.restoreTransform(n)},h.prototype.hoverCheckProcessor=function(e,t){var n=t.hoverRect,r=t.style,i=t.hoverCheck,o=r.graphCenter,a=r.rotate,l=r.scale,u=r.translate;return o&&(a&&(e=(0,d.getRotatePointPos)(-a,e,o)),l&&(e=(0,d.getScalePointPos)(l.map((function(e){return 1/e})),e,o)),u&&(e=(0,d.getTranslatePointPos)(u.map((function(e){return-1*e})),e))),n?d.checkPointIsInRect.apply(void 0,[e].concat((0,s["default"])(n))):i(e,this)},h.prototype.moveProcessor=function(e){this.move(e,this),"function"===typeof this.beforeMove&&this.beforeMove(e,this),"function"===typeof this.setGraphCenter&&this.setGraphCenter(e,this),"function"===typeof this.moved&&this.moved(e,this)},h.prototype.attr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!e||void 0===t)return!1;var n="object"===(0,a["default"])(this[e]);n&&(t=(0,d.deepClone)(t,!0));var r=this.render;"style"===e?this.style.update(t):n?Object.assign(this[e],t):this[e]=t,"index"===e&&r.sortGraphsByIndex(),r.drawAllGraph()},h.prototype.animation=function(){var e=(0,o["default"])(i["default"].mark((function e(t,n){var r,a,s,l,u,h,p,m,g,v=arguments;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=v.length>2&&void 0!==v[2]&&v[2],"shape"===t||"style"===t){e.next=4;break}return console.error("Only supported shape and style animation!"),e.abrupt("return");case 4:if(n=(0,d.deepClone)(n,!0),"style"===t&&this.style.colorProcessor(n),a=this[t],s=Object.keys(n),l={},s.forEach((function(e){return l[e]=a[e]})),u=this.animationFrame,h=this.animationCurve,p=this.animationDelay,m=(0,c["default"])(h,l,n,u,!0),this.animationRoot.push(a),this.animationKeys.push(s),this.animationFrameState.push(m),!r){e.next=17;break}return e.abrupt("return");case 17:if(!(p>0)){e.next=20;break}return e.next=20,f(p);case 20:return g=this.render,e.abrupt("return",new Promise(function(){var e=(0,o["default"])(i["default"].mark((function e(t){return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,g.launchAnimation();case 2:t();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 22:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),h.prototype.turnNextAnimationFrame=function(e){var t=this.animationDelay,n=this.animationRoot,r=this.animationKeys,i=this.animationFrameState,o=this.animationPause;o||Date.now()-e<t||(n.forEach((function(e,t){r[t].forEach((function(n){e[n]=i[t][0][n]}))})),i.forEach((function(e,t){e.shift();var i=0===e.length;i&&(n[t]=null),i&&(r[t]=null)})),this.animationFrameState=i.filter((function(e){return e.length})),this.animationRoot=n.filter((function(e){return e})),this.animationKeys=r.filter((function(e){return e})))},h.prototype.animationEnd=function(){var e=this.animationFrameState,t=this.animationKeys,n=this.animationRoot,r=this.render;return n.forEach((function(n,r){var i=t[r],o=e[r].pop();i.forEach((function(e){return n[e]=o[e]}))})),this.animationFrameState=[],this.animationKeys=[],this.animationRoot=[],r.drawAllGraph()},h.prototype.pauseAnimation=function(){this.attr("animationPause",!0)},h.prototype.playAnimation=function(){var e=this.render;return this.attr("animationPause",!1),new Promise(function(){var t=(0,o["default"])(i["default"].mark((function t(n){return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.launchAnimation();case 2:n();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},h.prototype.delProcessor=function(e){var t=this,n=e.graphs,r=n.findIndex((function(e){return e===t}));-1!==r&&("function"===typeof this.beforeDelete&&this.beforeDelete(this),n.splice(r,1,null),"function"===typeof this.deleted&&this.deleted(this))}},ebd6:function(e,t,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},ebde:function(e,t,n){var r=n("11e9"),i=n("5ca1"),o=n("cb7c");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},ebe4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  587. //! moment.js locale configuration
  588. var t=e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},ebfd:function(e,t,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),a=n("d9f6").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},h=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},ec18:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  589. //! moment.js locale configuration
  590. function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},ec2e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  591. //! moment.js locale configuration
  592. var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},ec30:function(e,t,n){"use strict";if(n("9e1e")){var r=n("2d00"),i=n("7726"),o=n("79e5"),a=n("5ca1"),s=n("0f88"),l=n("ed0b"),u=n("9b43"),c=n("f605"),d=n("4630"),h=n("32e9"),f=n("dcbc"),p=n("4588"),m=n("9def"),g=n("09fa"),v=n("77f1"),y=n("6a99"),b=n("69a8"),_=n("23c6"),w=n("d3f4"),x=n("4bf8"),k=n("33a4"),M=n("2aeb"),S=n("38fd"),C=n("9093").f,T=n("27ee"),O=n("ca5a"),L=n("2b4c"),A=n("0a49"),D=n("c366"),E=n("ebd6"),I=n("cadf"),j=n("84f2"),P=n("5cc5"),R=n("7a56"),N=n("36bd"),B=n("ba92"),Y=n("86cc"),F=n("11e9"),z=Y.f,H=F.f,V=i.RangeError,W=i.TypeError,U=i.Uint8Array,$="ArrayBuffer",G="Shared"+$,q="BYTES_PER_ELEMENT",X="prototype",K=Array[X],Z=l.ArrayBuffer,J=l.DataView,Q=A(0),ee=A(2),te=A(3),ne=A(4),re=A(5),ie=A(6),oe=D(!0),ae=D(!1),se=I.values,le=I.keys,ue=I.entries,ce=K.lastIndexOf,de=K.reduce,he=K.reduceRight,fe=K.join,pe=K.sort,me=K.slice,ge=K.toString,ve=K.toLocaleString,ye=L("iterator"),be=L("toStringTag"),_e=O("typed_constructor"),we=O("def_constructor"),xe=s.CONSTR,ke=s.TYPED,Me=s.VIEW,Se="Wrong length!",Ce=A(1,(function(e,t){return De(E(e,e[we]),t)})),Te=o((function(){return 1===new U(new Uint16Array([1]).buffer)[0]})),Oe=!!U&&!!U[X].set&&o((function(){new U(1).set({})})),Le=function(e,t){var n=p(e);if(n<0||n%t)throw V("Wrong offset!");return n},Ae=function(e){if(w(e)&&ke in e)return e;throw W(e+" is not a typed array!")},De=function(e,t){if(!w(e)||!(_e in e))throw W("It is not a typed array constructor!");return new e(t)},Ee=function(e,t){return Ie(E(e,e[we]),t)},Ie=function(e,t){var n=0,r=t.length,i=De(e,r);while(r>n)i[n]=t[n++];return i},je=function(e,t,n){z(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,r,i,o,a,s=x(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,h=T(s);if(void 0!=h&&!k(h)){for(a=h.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),i=De(this,n);n>t;t++)i[t]=d?c(s[t],t):s[t];return i},Re=function(){var e=0,t=arguments.length,n=De(this,t);while(t>e)n[e]=arguments[e++];return n},Ne=!!U&&o((function(){ve.call(new U(1))})),Be=function(){return ve.apply(Ne?me.call(Ae(this)):Ae(this),arguments)},Ye={copyWithin:function(e,t){return B.call(Ae(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Ae(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return N.apply(Ae(this),arguments)},filter:function(e){return Ee(this,ee(Ae(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Ae(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ie(Ae(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Q(Ae(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(Ae(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return oe(Ae(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return fe.apply(Ae(this),arguments)},lastIndexOf:function(e){return ce.apply(Ae(this),arguments)},map:function(e){return Ce(Ae(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(Ae(this),arguments)},reduceRight:function(e){return he.apply(Ae(this),arguments)},reverse:function(){var e,t=this,n=Ae(t).length,r=Math.floor(n/2),i=0;while(i<r)e=t[i],t[i++]=t[--n],t[n]=e;return t},some:function(e){return te(Ae(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return pe.call(Ae(this),e)},subarray:function(e,t){var n=Ae(this),r=n.length,i=v(e,r);return new(E(n,n[we]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:v(t,r))-i))}},Fe=function(e,t){return Ee(this,me.call(Ae(this),e,t))},ze=function(e){Ae(this);var t=Le(arguments[1],1),n=this.length,r=x(e),i=m(r.length),o=0;if(i+t>n)throw V(Se);while(o<i)this[t+o]=r[o++]},He={entries:function(){return ue.call(Ae(this))},keys:function(){return le.call(Ae(this))},values:function(){return se.call(Ae(this))}},Ve=function(e,t){return w(e)&&e[ke]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},We=function(e,t){return Ve(e,t=y(t,!0))?d(2,e[t]):H(e,t)},Ue=function(e,t,n){return!(Ve(e,t=y(t,!0))&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?z(e,t,n):(e[t]=n.value,e)};xe||(F.f=We,Y.f=Ue),a(a.S+a.F*!xe,"Object",{getOwnPropertyDescriptor:We,defineProperty:Ue}),o((function(){ge.call({})}))&&(ge=ve=function(){return fe.call(this)});var $e=f({},Ye);f($e,He),h($e,ye,He.values),f($e,{slice:Fe,set:ze,constructor:function(){},toString:ge,toLocaleString:Be}),je($e,"buffer","b"),je($e,"byteOffset","o"),je($e,"byteLength","l"),je($e,"length","e"),z($e,be,{get:function(){return this[ke]}}),e.exports=function(e,t,n,l){l=!!l;var u=e+(l?"Clamped":"")+"Array",d="get"+e,f="set"+e,p=i[u],v=p||{},y=p&&S(p),b=!p||!s.ABV,x={},k=p&&p[X],T=function(e,n){var r=e._d;return r.v[d](n*t+r.o,Te)},O=function(e,n,r){var i=e._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[f](n*t+i.o,r,Te)},L=function(e,t){z(e,t,{get:function(){return T(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};b?(p=n((function(e,n,r,i){c(e,p,u,"_d");var o,a,s,l,d=0,f=0;if(w(n)){if(!(n instanceof Z||(l=_(n))==$||l==G))return ke in n?Ie(p,n):Pe.call(p,n);o=n,f=Le(r,t);var v=n.byteLength;if(void 0===i){if(v%t)throw V(Se);if(a=v-f,a<0)throw V(Se)}else if(a=m(i)*t,a+f>v)throw V(Se);s=a/t}else s=g(n),a=s*t,o=new Z(a);h(e,"_d",{b:o,o:f,l:a,e:s,v:new J(o)});while(d<s)L(e,d++)})),k=p[X]=M($e),h(k,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&P((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=n((function(e,n,r,i){var o;return c(e,p,u),w(n)?n instanceof Z||(o=_(n))==$||o==G?void 0!==i?new v(n,Le(r,t),i):void 0!==r?new v(n,Le(r,t)):new v(n):ke in n?Ie(p,n):Pe.call(p,n):new v(g(n))})),Q(y!==Function.prototype?C(v).concat(C(y)):C(v),(function(e){e in p||h(p,e,v[e])})),p[X]=k,r||(k.constructor=p));var A=k[ye],D=!!A&&("values"==A.name||void 0==A.name),E=He.values;h(p,_e,!0),h(k,ke,u),h(k,Me,!0),h(k,we,p),(l?new p(1)[be]==u:be in k)||z(k,be,{get:function(){return u}}),x[u]=p,a(a.G+a.W+a.F*(p!=v),x),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o((function(){v.of.call(p,1)})),u,{from:Pe,of:Re}),q in k||h(k,q,t),a(a.P,u,Ye),R(u),a(a.P+a.F*Oe,u,{set:ze}),a(a.P+a.F*!D,u,He),r||k.toString==ge||(k.toString=ge),a(a.P+a.F*o((function(){new p(1).slice()})),u,{slice:Fe}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){k.toLocaleString.call([1,2])}))),u,{toLocaleString:Be}),j[u]=D?A:E,r||D||h(k,ye,E)}}else e.exports=function(){}},ec39:function(e,t,n){var r=n("37a7"),i=n("cb7c"),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},ed0b:function(e,t,n){"use strict";var r=n("7726"),i=n("9e1e"),o=n("2d00"),a=n("0f88"),s=n("32e9"),l=n("dcbc"),u=n("79e5"),c=n("f605"),d=n("4588"),h=n("9def"),f=n("09fa"),p=n("9093").f,m=n("86cc").f,g=n("36bd"),v=n("7f20"),y="ArrayBuffer",b="DataView",_="prototype",w="Wrong length!",x="Wrong index!",k=r[y],M=r[b],S=r.Math,C=r.RangeError,T=r.Infinity,O=k,L=S.abs,A=S.pow,D=S.floor,E=S.log,I=S.LN2,j="buffer",P="byteLength",R="byteOffset",N=i?"_b":j,B=i?"_l":P,Y=i?"_o":R;function F(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,l=(1<<s)-1,u=l>>1,c=23===t?A(2,-24)-A(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for(e=L(e),e!=e||e===T?(i=e!=e?1:0,r=l):(r=D(E(e)/I),e*(o=A(2,-r))<1&&(r--,o*=2),e+=r+u>=1?c/o:c*A(2,1-u),e*o>=2&&(r++,o/=2),r+u>=l?(i=0,r=l):r+u>=1?(i=(e*o-1)*A(2,t),r+=u):(i=e*A(2,u-1)*A(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*h,a}function z(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-7,l=n-1,u=e[l--],c=127&u;for(u>>=7;s>0;c=256*c+e[l],l--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===c)c=1-a;else{if(c===o)return r?NaN:u?-T:T;r+=A(2,t),c-=a}return(u?-1:1)*r*A(2,c-t)}function H(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function V(e){return[255&e]}function W(e){return[255&e,e>>8&255]}function U(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function $(e){return F(e,52,8)}function G(e){return F(e,23,4)}function q(e,t,n){m(e[_],t,{get:function(){return this[n]}})}function X(e,t,n,r){var i=+n,o=f(i);if(o+t>e[B])throw C(x);var a=e[N]._b,s=o+e[Y],l=a.slice(s,s+t);return r?l:l.reverse()}function K(e,t,n,r,i,o){var a=+n,s=f(a);if(s+t>e[B])throw C(x);for(var l=e[N]._b,u=s+e[Y],c=r(+i),d=0;d<t;d++)l[u+d]=c[o?d:t-d-1]}if(a.ABV){if(!u((function(){k(1)}))||!u((function(){new k(-1)}))||u((function(){return new k,new k(1.5),new k(NaN),k.name!=y}))){k=function(e){return c(this,k),new O(f(e))};for(var Z,J=k[_]=O[_],Q=p(O),ee=0;Q.length>ee;)(Z=Q[ee++])in k||s(k,Z,O[Z]);o||(J.constructor=k)}var te=new M(new k(2)),ne=M[_].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||l(M[_],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else k=function(e){c(this,k,y);var t=f(e);this._b=g.call(new Array(t),0),this[B]=t},M=function(e,t,n){c(this,M,b),c(e,k,b);var r=e[B],i=d(t);if(i<0||i>r)throw C("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw C(w);this[N]=e,this[Y]=i,this[B]=n},i&&(q(k,P,"_l"),q(M,j,"_b"),q(M,P,"_l"),q(M,R,"_o")),l(M[_],{getInt8:function(e){return X(this,1,e)[0]<<24>>24},getUint8:function(e){return X(this,1,e)[0]},getInt16:function(e){var t=X(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=X(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return H(X(this,4,e,arguments[1]))},getUint32:function(e){return H(X(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return z(X(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return z(X(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){K(this,1,e,V,t)},setUint8:function(e,t){K(this,1,e,V,t)},setInt16:function(e,t){K(this,2,e,W,t,arguments[2])},setUint16:function(e,t){K(this,2,e,W,t,arguments[2])},setInt32:function(e,t){K(this,4,e,U,t,arguments[2])},setUint32:function(e,t){K(this,4,e,U,t,arguments[2])},setFloat32:function(e,t){K(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){K(this,8,e,$,t,arguments[2])}});v(k,y),v(M,b),s(M[_],a.VIEW,!0),t[y]=k,t[b]=M},ed33:function(e,t,n){n("014b"),e.exports=n("584a").Object.getOwnPropertySymbols},ed50:function(e,t,n){"use strict";var r=n("5ca1"),i=n("2e08"),o=n("a25f"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},ed7e:function(e,t,n){var r=n("5ca1");r(r.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},eda5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  593. //! moment.js locale configuration
  594. var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t}))},ee1d:function(e,t,n){var r=n("5ca1");r(r.S,"Number",{isNaN:function(e){return e!=e}})},ee6d:function(e,t,n){var r=n("63b6"),i=n("ba99"),o=n("36c3"),a=n("bf0b"),s=n("20fd");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,r=o(e),l=a.f,u=i(r),c={},d=0;while(u.length>d)n=l(r,t=u[d++]),void 0!==n&&s(c,t,n);return c}})},f0c1:function(e,t,n){"use strict";var r=n("d8e8"),i=n("d3f4"),o=n("31f4"),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?l(t,r.length,r):o(t,r,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},f111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.barConfig=void 0;var r={show:!0,name:"",stack:"",shapeType:"normal",echelonOffset:10,barWidth:"auto",barGap:"30%",barCategoryGap:"20%",xAxisIndex:0,yAxisIndex:0,data:[],backgroundBar:{show:!1,width:"auto",style:{fill:"rgba(200, 200, 200, .4)"}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},gradient:{color:[],local:!0},barStyle:{},independentColor:!1,independentColors:[],rLevel:0,animationCurve:"easeOutCubic",animationFrame:50};t.barConfig=r},f1ae:function(e,t,n){"use strict";var r=n("86cc"),i=n("4630");e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},f201:function(e,t,n){var r=n("e4ae"),i=n("79aa"),o=n("5168")("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},f260:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  595. //! moment.js locale configuration
  596. var t=e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},f386:function(e,t,n){"use strict";n("386b")("small",(function(e){return function(){return e(this,"small","","")}}))},f3cb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorConfig=void 0;var r=["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293","#e062ae","#e690d1","#e7bcf3","#9d96f5","#8378ea","#96bfff"];t.colorConfig=r},f3e2:function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(0),o=n("2f21")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},f3ff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  597. //! moment.js locale configuration
  598. var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return r}))},f400:function(e,t,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Map";e.exports=n("e0b8")(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,o),e);return t&&t.v},set:function(e,t){return r.def(i(this,o),0===e?0:e,t)}},r,!0)},f410:function(e,t,n){n("1af6"),e.exports=n("584a").Array.isArray},f4ea:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var a=o.slice(0);n.encryptBlock(a,0),o[r-1]=o[r-1]+1|0;for(var s=0;s<r;s++)e[t+s]^=a[s]}});return t.Decryptor=n,t}(),e.mode.CTR}))},f4ff:function(e,t,n){var r=n("5ca1"),i=Math.imul;r(r.S+r.F*n("79e5")((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},f559:function(e,t,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),a="startsWith",s=""[a];r(r.P+r.F*n("5147")(a),"String",{startsWith:function(e){var t=o(this,e,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},f576:function(e,t,n){"use strict";var r=n("5ca1"),i=n("2e08"),o=n("a25f"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},f5df:function(e,t,n){},f605:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},f6b3:function(e,t,n){var r=n("5ca1");r(r.S,"Reflect",{has:function(e,t){return t in e}})},f6b4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  599. //! moment.js locale configuration
  600. var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],a=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return a}))},f6b49:function(e,t,n){"use strict";var r=n("c532");function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},f744:function(e,t,n){"use strict";var r,i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(e){e["InvalidFile"]="InvalidFile",e["InvalidToken"]="InvalidToken",e["InvalidMetadata"]="InvalidMetadata",e["InvalidChunkSize"]="InvalidChunkSize",e["InvalidCustomVars"]="InvalidCustomVars",e["NotAvailableUploadHost"]="NotAvailableUploadHost",e["ReadCacheFailed"]="ReadCacheFailed",e["InvalidCacheData"]="InvalidCacheData",e["WriteCacheFailed"]="WriteCacheFailed",e["RemoveCacheFailed"]="RemoveCacheFailed",e["GetCanvasContextFailed"]="GetCanvasContextFailed",e["UnsupportedFileType"]="UnsupportedFileType",e["FileReaderReadFailed"]="FileReaderReadFailed",e["NotAvailableXMLHttpRequest"]="NotAvailableXMLHttpRequest",e["InvalidProgressEventTarget"]="InvalidProgressEventTarget",e["RequestError"]="RequestError"})(r||(r={}));var o=function(){function e(e,t){this.name=e,this.message=t,this.stack=(new Error).stack}return e}(),a=function(e){function t(t,n,i,o){var a=e.call(this,r.RequestError,i)||this;return a.code=t,a.reqId=n,a.isRequestError=!0,a.data=o,a}return i(t,e),t}(o),s=function(e){function t(t,n){return void 0===n&&(n=""),e.call(this,0,n,t)||this}return i(t,e),t}(a),l=function(){function e(e,t){this.runTask=e,this.limit=t,this.aborted=!1,this.queue=[],this.processing=[]}return e.prototype.enqueue=function(e){var t=this;return new Promise((function(n,r){t.queue.push({task:e,resolve:n,reject:r}),t.check()}))},e.prototype.run=function(e){var t=this;this.queue=this.queue.filter((function(t){return t!==e})),this.processing.push(e),this.runTask(e.task).then((function(){t.processing=t.processing.filter((function(t){return t!==e})),e.resolve(),t.check()}),(function(t){return e.reject(t)}))},e.prototype.check=function(){var e=this;if(!this.aborted){var t=this.processing.length,n=this.limit-t;this.queue.slice(0,n).forEach((function(t){e.run(t)}))}},e.prototype.abort=function(){this.queue=[],this.aborted=!0},e}(),u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},c.apply(this,arguments)},d=function(){function e(){this.closed=!1}return e.prototype.unsubscribe=function(){this.closed||(this.closed=!0,this._unsubscribe&&this._unsubscribe())},e.prototype.add=function(e){this._unsubscribe=e},e}(),h=function(e){function t(t,n,r){var i=e.call(this)||this;return i.isStopped=!1,i.destination=t&&"object"===typeof t?t:c(c(c({},t&&{next:t}),n&&{error:n}),r&&{complete:r}),i}return u(t,e),t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype.next=function(e){!this.isStopped&&this.destination.next&&this.destination.next(e)},t.prototype.error=function(e){!this.isStopped&&this.destination.error&&(this.isStopped=!0,this.destination.error(e))},t.prototype.complete=function(e){!this.isStopped&&this.destination.complete&&(this.isStopped=!0,this.destination.complete(e))},t}(d),f=function(){function e(e){this._subscribe=e}return e.prototype.subscribe=function(e,t,n){var r=new h(e,t,n);return r.add(this._subscribe(r)),r},e}();function p(e){if(null===e||"undefined"===typeof e)return"";var t,n,r=e+"",i="",o=0;t=n=0,o=r.length;for(var a=0;a<o;a++){var s=r.charCodeAt(a),l=null;if(s<128)n++;else if(s>127&&s<2048)l=String.fromCharCode(s>>6|192,63&s|128);else if((63488&s^55296)>0)l=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 u=r.charCodeAt(++a);if((64512&u^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(a-1));s=((1023&s)<<10)+(1023&u)+65536,l=String.fromCharCode(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}null!==l&&(n>t&&(i+=r.slice(t,n)),i+=l,t=n=a+1)}return n>t&&(i+=r.slice(t,o)),i}function m(e){var t=[],n=0,r=0,i=0;e+="";while(n<e.length){r=255&e.charCodeAt(n),i=0,r<=191?(r&=127,i=1):r<=223?(r&=31,i=2):r<=239?(r&=15,i=3):(r&=7,i=4);for(var o=1;o<i;++o)r=r<<6|63&e.charCodeAt(o+n);4===i?(r-=65536,t.push(String.fromCharCode(55296|r>>10&1023)),t.push(String.fromCharCode(56320|1023&r))):t.push(String.fromCharCode(r)),n+=i}return t.join("")}function g(e){var t,n,r,i,o,a,s,l,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,d=0,h="",f=[];if(!e)return e;e=p(e+"");do{t=e.charCodeAt(c++),n=e.charCodeAt(c++),r=e.charCodeAt(c++),l=t<<16|n<<8|r,i=l>>18&63,o=l>>12&63,a=l>>6&63,s=63&l,f[d++]=u.charAt(i)+u.charAt(o)+u.charAt(a)+u.charAt(s)}while(c<e.length);switch(h=f.join(""),e.length%3){case 1:h=h.slice(0,-2)+"==";break;case 2:h=h.slice(0,-1)+"=";break}return h}function v(e){var t,n,r,i,o,a,s,l,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,d=0,h="",f=[];if(!e)return e;e+="";do{i=u.indexOf(e.charAt(c++)),o=u.indexOf(e.charAt(c++)),a=u.indexOf(e.charAt(c++)),s=u.indexOf(e.charAt(c++)),l=i<<18|o<<12|a<<6|s,t=l>>16&255,n=l>>8&255,r=255&l,f[d++]=64===a?String.fromCharCode(t):64===s?String.fromCharCode(t,n):String.fromCharCode(t,n,r)}while(c<e.length);return h=f.join(""),m(h)}function y(e){return e=g(e),e.replace(/\//g,"_").replace(/\+/g,"-")}function b(e){return e=e.replace(/_/g,"/").replace(/-/g,"+"),v(e)}var _,w=n("69a0"),x=n.n(w),k=function(){return k=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},k.apply(this,arguments)},M=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},S=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},C=Math.pow(1024,2);function T(e,t){var n=t*C;if(n>e.size)n=e.size;else while(e.size>1e4*n)n*=2;for(var r=[],i=Math.ceil(e.size/n),o=0;o<i;o++){var a=e.slice(n*o,o===i-1?e.size:n*(o+1));r.push(a)}return r}function O(e){return Object.keys(e).every((function(e){return 0===e.indexOf("x-qn-meta-")}))}function L(e){return Object.keys(e).every((function(e){return 0===e.indexOf("x:")}))}function A(e){return e.reduce((function(e,t){return e+t}),0)}function D(e,t,n){try{localStorage.setItem(e,JSON.stringify(t))}catch(i){n.warn(new o(r.WriteCacheFailed,"setLocalFileInfo failed: "+e))}}function E(e,t,n){var r=null==t?"_":"_key_"+t+"_";return"qiniu_js_sdk_upload_file_name_"+e+r+"size_"+n}function I(e,t){try{localStorage.removeItem(e)}catch(n){t.warn(new o(r.RemoveCacheFailed,"removeLocalFileInfo failed. key: "+e))}}function j(e,t){var n=null;try{n=localStorage.getItem(e)}catch(a){t.warn(new o(r.ReadCacheFailed,"getLocalFileInfo failed. key: "+e))}if(null==n)return null;var i=null;try{i=JSON.parse(n)}catch(s){I(e,t),t.warn(new o(r.InvalidCacheData,"getLocalFileInfo failed to parse. key: "+e))}return i}function P(e){var t="UpToken "+e;return{Authorization:t}}function R(e){var t=P(e);return k({"content-type":"application/octet-stream"},t)}function N(e){var t=P(e);return k({"content-type":"application/json"},t)}function B(){if(window.XMLHttpRequest)return new XMLHttpRequest;if(window.ActiveXObject)return new window.ActiveXObject("Microsoft.XMLHTTP");throw new o(r.NotAvailableXMLHttpRequest,"the current environment does not support.")}function Y(e){return M(this,void 0,void 0,(function(){var t,n;return S(this,(function(r){switch(r.label){case 0:return[4,F(e)];case 1:return t=r.sent(),n=new x.a.ArrayBuffer,n.append(t),[2,n.end()]}}))}))}function F(e){return new Promise((function(t,n){var i=new FileReader;i.onload=function(e){if(e.target){var i=e.target.result;t(i)}else n(new o(r.InvalidProgressEventTarget,"progress event target is undefined"))},i.onerror=function(){n(new o(r.FileReaderReadFailed,"fileReader read failed"))},i.readAsArrayBuffer(e)}))}function z(e,t){return new Promise((function(n,r){var i=B();if(i.open(t.method,e),t.onCreate&&t.onCreate(i),t.headers){var o=t.headers;Object.keys(o).forEach((function(e){i.setRequestHeader(e,o[e])}))}i.upload.addEventListener("progress",(function(e){e.lengthComputable&&t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})})),i.onreadystatechange=function(){var e=i.responseText;if(4===i.readyState){var t=i.getResponseHeader("x-reqId")||"";if(0!==i.status)if(200===i.status)try{n({data:JSON.parse(e),reqId:t})}catch(u){r(u)}else{var o="xhr request failed, code: "+i.status;e&&(o+=" response: "+e);var l=void 0;try{l=JSON.parse(e)}catch(c){}r(new a(i.status,t,o,l))}else r(new s("network error.",t))}},i.send(t.body)}))}function H(e){if(e&&e.match){var t=e.match(/(^https?)/);if(!t)return"";var n=t[1];return t=e.match(/^https?:\/\/([^:^/]*):(\d*)/),t?t[2]:"http"===n?"80":"443"}return""}function V(e){if(e&&e.match){var t=e.match(/^https?:\/\/([^:^/]*)/);return t?t[1]:""}return""}function W(e){if(!e)throw new o(r.InvalidToken,"invalid token.");var t=e.split(":");if(1===t.length)throw new o(r.InvalidToken,"invalid token segments.");var n=t.length>3?t[1]:t[0];if(!n)throw new o(r.InvalidToken,"missing assess key field.");var i=null;try{i=JSON.parse(b(t[t.length-1]))}catch(s){throw new o(r.InvalidToken,"token parse failed.")}if(null==i)throw new o(r.InvalidToken,"putPolicy is null.");if(null==i.scope)throw new o(r.InvalidToken,"scope field is null.");var a=i.scope.split(":")[0];if(!a)throw new o(r.InvalidToken,"resolve bucketName failed.");return{assessKey:n,bucketName:a,scope:i.scope}}function U(e){var t=window.URL||window.webkitURL||window.mozURL;return t.createObjectURL(e)}var $={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},G=(_={},_[$.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_[$.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_[$.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_[$.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_[$.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_[$.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_),q=n("b383"),X=function(){return X=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},X.apply(this,arguments)},K=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Z=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function J(e,t,n){return K(this,void 0,void 0,(function(){var r,i;return Z(this,(function(o){return r=Object(q["stringify"])({ak:e,bucket:t}),i=n+"://api.qiniu.com/v2/query?"+r,[2,z(i,{method:"GET"})]}))}))}function Q(e,t,n){var r=n.url,i=n.id;return r+"/buckets/"+e+"/objects/"+(null!=t?y(t):"~")+"/uploads/"+i}function ee(e,t,n,r){var i=r+"/buckets/"+t+"/objects/"+(null!=n?y(n):"~")+"/uploads";return z(i,{method:"POST",headers:P(e)})}function te(e,t,n,r,i){var o=W(e).bucketName,a=Q(o,t,r)+"/"+n,s=R(e);return i.md5&&(s["Content-MD5"]=i.md5),z(a,X(X({},i),{method:"PUT",headers:s}))}function ne(e,t,n,r){var i=W(e).bucketName,o=Q(i,t,n);return z(o,X(X({},r),{method:"POST",headers:N(e)}))}function re(e,t,n){return z(e,X({method:"POST",body:t},n))}var ie=function(){return ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ie.apply(this,arguments)},oe=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ae=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},se=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},le=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(se(arguments[t]));return e},ue=4,ce=[0,502,503,504,599],de=le(ce,[612]),he=Math.pow(1024,3),fe=function(){function e(e,t,n,r){this.hostPool=n,this.logger=r,this.aborted=!1,this.retryCount=0,this.xhrList=[],this.config=e.config,r.info("config inited.",this.config),this.putExtra=ie({fname:""},e.putExtra),r.info("putExtra inited.",this.putExtra),this.key=e.key,this.file=e.file,this.token=e.token,this.onData=t.onData,this.onError=t.onError,this.onComplete=t.onComplete;try{var i=W(this.token);this.bucketName=i.bucketName,this.assessKey=i.assessKey}catch(o){r.error("get putPolicy from token failed.",o),this.onError(o)}}return e.prototype.checkAndUpdateUploadHost=function(){return oe(this,void 0,void 0,(function(){var e;return ae(this,(function(t){switch(t.label){case 0:return this.logger.info("get available upload host."),[4,this.hostPool.getUp(this.assessKey,this.bucketName,this.config.upprotocol)];case 1:if(e=t.sent(),null==e)throw new o(r.NotAvailableUploadHost,"no available upload host.");return null!=this.uploadHost&&this.uploadHost.host!==e.host?this.logger.warn("host switches from "+this.uploadHost.host+" to "+e.host+"."):this.logger.info("use host "+e.host+"."),this.uploadHost=e,[2]}}))}))},e.prototype.checkAndUnfreezeHost=function(){this.logger.info("check unfreeze host."),null!=this.uploadHost&&this.uploadHost.isFrozen()&&(this.logger.warn(this.uploadHost.host+" will be unfrozen."),this.uploadHost.unfreeze())},e.prototype.checkAndFreezeHost=function(e){this.logger.info("check freeze host."),e instanceof a&&null!=this.uploadHost&&ce.includes(e.code)&&(this.logger.warn(this.uploadHost.host+" will be temporarily frozen."),this.uploadHost.freeze())},e.prototype.handleError=function(e){this.logger.error(e.message),this.onError(e)},e.prototype.putFile=function(){return oe(this,void 0,void 0,(function(){var e,t,n,i;return ae(this,(function(s){switch(s.label){case 0:if(this.aborted=!1,this.putExtra.fname||(this.logger.info("use file.name as fname."),this.putExtra.fname=this.file.name),this.file.size>1e4*he)return this.handleError(new o(r.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!L(this.putExtra.customVars))return this.handleError(new o(r.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!O(this.putExtra.metadata))return this.handleError(new o(r.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];s.label=1;case 1:return s.trys.push([1,4,,5]),this.uploadAt=(new Date).getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return s.sent(),[4,this.run()];case 3:return e=s.sent(),this.onComplete(e.data),this.checkAndUnfreezeHost(),this.sendLog(e.reqId,200),[2];case 4:return t=s.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(t),t instanceof a&&(this.sendLog(t.reqId,t.code),this.checkAndFreezeHost(t),n=++this.retryCount<=this.config.retryCount,i=de.includes(t.code),i&&n)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(t),[3,5]));case 5:return[2]}}))}))},e.prototype.clear=function(){this.xhrList.forEach((function(e){e.onreadystatechange=null,e.abort()})),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},e.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},e.prototype.addXhr=function(e){this.xhrList.push(e)},e.prototype.sendLog=function(e,t){var n,r;this.logger.report({code:t,reqId:e,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:H(null===(n=this.uploadHost)||void 0===n?void 0:n.getUrl()),host:V(null===(r=this.uploadHost)||void 0===r?void 0:r.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor(((new Date).getTime()-this.uploadAt)/1e3)})},e.prototype.getProgressInfoItem=function(e,t,n){return ie({size:t,loaded:e,percent:e/t*100},null==n?{}:{fromCache:n})},e}(),pe=fe,me=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ge.apply(this,arguments)},ve=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ye=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function be(e){var t=/^[1-9]\d*$/;return t.test(String(e))}var _e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return me(t,e),t.prototype.run=function(){return ve(this,void 0,void 0,(function(){var e,t,n,i,s,u=this;return ye(this,(function(c){switch(c.label){case 0:if(this.logger.info("start run Resume."),!this.config.chunkSize||!be(this.config.chunkSize))throw new o(r.InvalidChunkSize,"chunkSize must be a positive integer");if(this.config.chunkSize>1024)throw new o(r.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:c.sent(),e=new l((function(t){return ve(u,void 0,void 0,(function(){return ye(this,(function(n){switch(n.label){case 0:if(this.aborted)throw e.abort(),new Error("pool is aborted");return[4,this.uploadChunk(t)];case 1:return n.sent(),[2]}}))}))}),this.config.concurrentRequestLimit),t=null,n=this.getLocalKey(),i=this.chunks.map((function(t,n){return e.enqueue({chunk:t,index:n})})),c.label=2;case 2:return c.trys.push([2,5,,6]),[4,Promise.all(i)];case 3:return c.sent(),[4,this.mkFileReq()];case 4:return t=c.sent(),[3,6];case 5:throw s=c.sent(),s instanceof a&&(612===s.code||400===s.code)&&I(n,this.logger),s;case 6:return I(n,this.logger),[2,t]}}))}))},t.prototype.uploadChunk=function(e){return ve(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,l,u,c=this;return ye(this,(function(d){switch(d.label){case 0:return t=e.index,n=e.chunk,r=this.cachedUploadedList[t],this.logger.info("upload part "+t+", cache:",r),i=this.config.checkByMD5,o=function(){c.usedCacheList[t]=!0,c.updateChunkProgress(n.size,t),c.uploadedList[t]=r,c.updateLocalCache()},r&&!i?(o(),[2]):[4,Y(n)];case 1:return a=d.sent(),this.logger.info("computed part md5.",a),r&&a===r.md5?(o(),[2]):(this.usedCacheList[t]=!1,s=function(e){c.updateChunkProgress(e.loaded,t)},l={body:n,md5:this.config.checkByServer?a:void 0,onProgress:s,onCreate:function(e){return c.addXhr(e)}},this.logger.info("part "+t+" start uploading."),[4,te(this.token,this.key,e.index+1,this.getUploadInfo(),l)]);case 2:return u=d.sent(),this.logger.info("part "+t+" upload completed."),s({loaded:n.size,total:n.size}),this.uploadedList[t]={etag:u.data.etag,md5:u.data.md5,size:n.size},this.updateLocalCache(),[2]}}))}))},t.prototype.mkFileReq=function(){return ve(this,void 0,void 0,(function(){var e,t,n=this;return ye(this,(function(r){switch(r.label){case 0:return e=ge(ge(ge({parts:this.uploadedList.map((function(e,t){return{etag:e.etag,partNumber:t+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.",e),[4,ne(this.token,this.key,this.getUploadInfo(),{onCreate:function(e){return n.addXhr(e)},body:JSON.stringify(e)})];case 1:return t=r.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,t]}}))}))},t.prototype.initBeforeUploadChunks=function(){return ve(this,void 0,void 0,(function(){var e,t,n;return ye(this,(function(r){switch(r.label){case 0:return this.uploadedList=[],this.usedCacheList=[],e=j(this.getLocalKey(),this.logger),e?[3,2]:(this.logger.info("init upload parts from api."),[4,ee(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return t=r.sent(),this.logger.info("initd upload parts of id: "+t.data.uploadId+"."),this.uploadId=t.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:n=["resume upload parts from local cache,","total "+e.data.length+" part,","id is "+e.id+"."],this.logger.info(n.join(" ")),this.cachedUploadedList=e.data,this.uploadId=e.id,r.label=3;case 3:return this.chunks=T(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map((function(e){return 0}))},this.notifyResumeProgress(),[2]}}))}))},t.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},t.prototype.getLocalKey=function(){return E(this.file.name,this.key,this.file.size)},t.prototype.updateLocalCache=function(){D(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},t.prototype.updateChunkProgress=function(e,t){this.loaded.chunks[t]=e,this.notifyResumeProgress()},t.prototype.updateMkFileProgress=function(e){this.loaded.mkFileProgress=e,this.notifyResumeProgress()},t.prototype.notifyResumeProgress=function(){var e=this;this.progress={total:this.getProgressInfoItem(A(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map((function(t,n){var r=e.usedCacheList[n];return e.getProgressInfoItem(e.loaded.chunks[n],t.size,r)})),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},t}(pe),we=_e,xe=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ke=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Me=function(){function e(){this.crc=-1,this.table=this.makeTable()}return e.prototype.makeTable=function(){for(var e=new Array,t=0;t<256;t++){for(var n=t,r=0;r<8;r++)1&n?n=n>>>1^3988292384:n>>>=1;e[t]=n}return e},e.prototype.append=function(e){for(var t=this.crc,n=0;n<e.byteLength;n++)t=t>>>8^this.table[255&(t^e[n])];this.crc=t},e.prototype.compute=function(){return(-1^this.crc)>>>0},e.prototype.readAsUint8Array=function(e){return xe(this,void 0,void 0,(function(){var t;return ke(this,(function(n){switch(n.label){case 0:return"function"!==typeof e.arrayBuffer?[3,2]:(t=Uint8Array.bind,[4,e.arrayBuffer()]);case 1:return[2,new(t.apply(Uint8Array,[void 0,n.sent()]))];case 2:return[2,new Promise((function(t,n){var r=new FileReader;r.onload=function(){null!=r.result&&"string"!==typeof r.result?t(new Uint8Array(r.result)):n()},r.readAsArrayBuffer(e)}))]}}))}))},e.prototype.file=function(e){return xe(this,void 0,void 0,(function(){var t,n,r,i,o,a;return ke(this,(function(s){switch(s.label){case 0:return e.size<=C?(t=this.append,[4,this.readAsUint8Array(e)]):[3,2];case 1:return t.apply(this,[s.sent()]),[2,this.compute()];case 2:n=Math.ceil(e.size/C),r=0,s.label=3;case 3:return r<n?(i=r*C,o=r===n-1?e.size:i+C,[4,this.readAsUint8Array(e.slice(i,o))]):[3,6];case 4:a=s.sent(),this.append(new Uint8Array(a)),s.label=5;case 5:return r++,[3,3];case 6:return[2,this.compute()]}}))}))},e.file=function(t){var n=new e;return n.file(t)},e}(),Se=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ce=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Te=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Se(t,e),t.prototype.run=function(){return Ce(this,void 0,void 0,(function(){var e,t,n,r,i,o=this;return Te(this,(function(a){switch(a.label){case 0:return this.logger.info("start run Direct."),e=new FormData,e.append("file",this.file),e.append("token",this.token),null!=this.key&&e.append("key",this.key),e.append("fname",this.putExtra.fname),this.config.checkByServer?[4,Me.file(this.file)]:[3,2];case 1:t=a.sent(),e.append("crc32",t.toString()),a.label=2;case 2:return this.putExtra.customVars&&(this.logger.info("init customVars."),n=this.putExtra.customVars,Object.keys(n).forEach((function(t){return e.append(t,n[t].toString())})),this.logger.info("customVars inited.")),this.putExtra.metadata&&(this.logger.info("init metadata."),r=this.putExtra.metadata,Object.keys(r).forEach((function(t){return e.append(t,r[t].toString())}))),this.logger.info("formData inited."),[4,re(this.uploadHost.getUrl(),e,{onProgress:function(e){o.updateDirectProgress(e.loaded,e.total)},onCreate:function(e){return o.addXhr(e)}})];case 3:return i=a.sent(),this.logger.info("Direct progress finish."),this.finishDirectProgress(),[2,i]}}))}))},t.prototype.updateDirectProgress=function(e,t){this.progress={total:this.getProgressInfoItem(e,t+1)},this.onData(this.progress)},t.prototype.finishDirectProgress=function(){if(!this.progress)return this.logger.warn("progress is null."),this.progress={total:this.getProgressInfoItem(this.file.size,this.file.size)},void this.onData(this.progress);var e=this.progress.total;this.progress={total:this.getProgressInfoItem(e.loaded+1,e.size)},this.onData(this.progress)},t}(pe),Le=Oe;function Ae(e,t,n){void 0===n&&(n=3);var r=B();r.open("POST","https://uplog.qbox.me/log/3"),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.setRequestHeader("Authorization",P(e).Authorization),r.onreadystatechange=function(){4===r.readyState&&200!==r.status&&n>0&&Ae(e,t,n-1)};var i=[t.code||"",t.reqId||"",t.host||"",t.remoteIp||"",t.port||"",t.duration||"",t.time||"",t.bytesSent||"",t.upType||"",t.size||""].join(",");r.send(i)}var De=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Ee=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(De(arguments[t]));return e},Ie=function(){function e(t,n,r,i){void 0===n&&(n=!0),void 0===r&&(r="OFF"),void 0===i&&(i="UPLOAD"),this.token=t,this.disableReport=n,this.level=r,this.prefix=i,this.id=++e.id}return e.prototype.getPrintPrefix=function(e){return"Qiniu-JS-SDK ["+e+"]["+this.prefix+"#"+this.id+"]:"},e.prototype.report=function(e,t){if(!this.disableReport)try{Ae(this.token,e,t)}catch(n){this.warn(n)}},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=["INFO"];n.includes(this.level)&&console.log.apply(console,Ee([this.getPrintPrefix("INFO")],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=["INFO","WARN"];n.includes(this.level)&&console.warn.apply(console,Ee([this.getPrintPrefix("WARN")],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=["INFO","WARN","ERROR"];n.includes(this.level)&&console.error.apply(console,Ee([this.getPrintPrefix("ERROR")],e))},e.id=0,e}(),je=Ie,Pe=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Re=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Ne=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Be=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ne(arguments[t]));return e},Ye=new Map,Fe=function(){function e(e,t){this.host=e,this.protocol=t}return e.prototype.isFrozen=function(){var e=(new Date).getTime(),t=Ye.get(this.host);return null!=t&&t>=e},e.prototype.freeze=function(e){void 0===e&&(e=20);var t=(new Date).getTime()+1e3*e;Ye.set(this.host,t)},e.prototype.unfreeze=function(){Ye["delete"](this.host)},e.prototype.getUrl=function(){return this.protocol+"://"+this.host},e.prototype.getUnfreezeTime=function(){return Ye.get(this.host)},e}(),ze=function(){function e(e){void 0===e&&(e=[]),this.initHosts=e,this.cachedHostsMap=new Map}return e.prototype.register=function(e,t,n,r){this.cachedHostsMap.set(e+"@"+t,n.map((function(e){return new Fe(e,r)})))},e.prototype.refresh=function(e,t,n){var r,i,o,a;return Pe(this,void 0,void 0,(function(){var s,l,u;return Re(this,(function(c){switch(c.label){case 0:return s=this.cachedHostsMap.get(e+"@"+t)||[],s.length>0?[2]:this.initHosts.length>0?(this.register(e,t,this.initHosts,n),[2]):[4,J(e,t,n)];case 1:return l=c.sent(),null!=(null===l||void 0===l?void 0:l.data)&&(u=Be((null===(i=null===(r=l.data.up)||void 0===r?void 0:r.acc)||void 0===i?void 0:i.main)||[],(null===(a=null===(o=l.data.up)||void 0===o?void 0:o.acc)||void 0===a?void 0:a.backup)||[]),this.register(e,t,u,n)),[2]}}))}))},e.prototype.getUp=function(e,t,n){return Pe(this,void 0,void 0,(function(){var r,i,o;return Re(this,(function(a){switch(a.label){case 0:return[4,this.refresh(e,t,n)];case 1:return a.sent(),r=this.cachedHostsMap.get(e+"@"+t)||[],0===r.length?[2,null]:(i=r.filter((function(e){return!e.isFrozen()})),i.length>0?[2,i[0]]:(o=r.slice().sort((function(e,t){return(e.getUnfreezeTime()||0)-(t.getUnfreezeTime()||0)})),[2,o[0]]))}}))}))},e}();function He(e,t,n,r){return e.config&&e.config.forceDirect?(r.info("ues forceDirect mode."),new Le(e,t,n,r)):e.file.size>4*C?(r.info("file size over 4M, use Resume."),new we(e,t,n,r)):(r.info("file size less or equal than 4M, use Direct."),new Le(e,t,n,r))}function Ve(e,t,n,r,i){var o=new je(n,null===i||void 0===i?void 0:i.disableStatisticsReport,null===i||void 0===i?void 0:i.debugLogLevel,e.name),a={file:e,key:t,token:n,putExtra:r,config:qe(i,o)},s=new ze(a.config.uphost);return new f((function(e){var t=He(a,{onData:function(t){return e.next(t)},onError:function(t){return e.error(t)},onComplete:function(t){return e.complete(t)}},s,o);return t.putFile(),t.stop.bind(t)}))}var We=function(){return We=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},We.apply(this,arguments)},Ue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},$e=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Ge=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($e(arguments[t]));return e};function qe(e,t){var n=We({},e),r=n.upprotocol,i=n.uphost,o=Ue(n,["upprotocol","uphost"]),a=We({uphost:[],retryCount:3,checkByMD5:!1,forceDirect:!1,useCdnDomain:!0,checkByServer:!1,concurrentRequestLimit:3,chunkSize:ue,upprotocol:"https",debugLogLevel:"OFF",disableStatisticsReport:!1},o);r&&(a.upprotocol=r.replace(/:$/,""));var s=[];if(t&&null!=(null===e||void 0===e?void 0:e.uphost)&&null!=(null===e||void 0===e?void 0:e.region)&&t.warn("do not use both the uphost and region config."),i)Array.isArray(i)?s.push.apply(s,Ge(i)):s.push(i);else if(null===a||void 0===a?void 0:a.region){var l=G[null===a||void 0===a?void 0:a.region];a.useCdnDomain?s.push.apply(s,Ge(l.cdnUphost)):s.push.apply(s,Ge(l.srcUphost))}return We(We({},a),{uphost:s.filter(Boolean)})}var Xe=function(){return Xe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xe.apply(this,arguments)},Ke=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Ze=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Je={PNG:"image/png",JPEG:"image/jpeg",WEBP:"image/webp",BMP:"image/bmp"},Qe=4,et=Math.log(2),tt=Object.keys(Je).map((function(e){return Je[e]})),nt=Je.JPEG;function rt(e){return tt.includes(e)}(function(){function e(e,t){this.file=e,this.config=t,this.config=Xe({quality:.92,noCompressIfLarger:!1},this.config)}e.prototype.process=function(){return Ke(this,void 0,void 0,(function(){var e,t,n,i,a,s;return Ze(this,(function(l){switch(l.label){case 0:if(this.outputType=this.file.type,e={},!rt(this.file.type))throw new o(r.UnsupportedFileType,"unsupported file type: "+this.file.type);return[4,this.getOriginImage()];case 1:return t=l.sent(),[4,this.getCanvas(t)];case 2:return n=l.sent(),i=1,this.config.maxWidth&&(i=Math.min(1,this.config.maxWidth/n.width)),this.config.maxHeight&&(i=Math.min(1,i,this.config.maxHeight/n.height)),e.width=n.width,e.height=n.height,[4,this.doScale(n,i)];case 3:return a=l.sent(),s=this.toBlob(a),s.size>this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:e.width,height:e.height}]:[2,{dist:s,width:a.width,height:a.height}]}}))}))},e.prototype.clear=function(e,t,n){this.outputType===nt?(e.fillStyle="#fff",e.fillRect(0,0,t,n)):e.clearRect(0,0,t,n)},e.prototype.getOriginImage=function(){var e=this;return new Promise((function(t,n){var r=U(e.file),i=new Image;i.onload=function(){t(i)},i.onerror=function(){n("image load error")},i.src=r}))},e.prototype.getCanvas=function(e){var t=this;return new Promise((function(n,i){var a=document.createElement("canvas"),s=a.getContext("2d");if(s){var l=e.width,u=e.height;a.height=u,a.width=l,t.clear(s,l,u),s.drawImage(e,0,0),n(a)}else i(new o(r.GetCanvasContextFailed,"context is null"))}))},e.prototype.doScale=function(e,t){return Ke(this,void 0,void 0,(function(){var n,i,a,s,l,u,c,d,h,f,p,m,g,v,y,b;return Ze(this,(function(_){if(1===t)return[2,e];if(n=e.getContext("2d"),i=Math.min(Qe,Math.ceil(1/t/et)),a=Math.pow(t,1/i),s=document.createElement("canvas"),l=s.getContext("2d"),u=e.width,c=e.height,d=u,h=c,s.width=u,s.height=c,!l||!n)throw new o(r.GetCanvasContextFailed,"mctx or sctx can't be null");for(m=0;m<i;m++)g=u*a|0,v=c*a|0,m===i-1&&(g=d*t,v=h*t),m%2===0?(f=e,p=l):(f=s,p=n),this.clear(p,u,c),p.drawImage(f,0,0,u,c,0,0,g,v),u=g,c=v;return y=f===e?s:e,b=p.getImageData(0,0,u,c),y.width=u,y.height=c,p.putImageData(b,0,0),[2,y]}))}))},e.prototype.toBlob=function(e){var t=e.toDataURL(this.outputType,this.config.quality),n=atob(t.split(",")[1]).split("").map((function(e){return e.charCodeAt(0)})),r=new Blob([new Uint8Array(n)],{type:this.outputType});return r}})();n.d(t,"a",(function(){return Ve}))},f751:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f893:function(e,t,n){e.exports={default:n("f921"),__esModule:!0}},f921:function(e,t,n){n("014b"),n("c207"),n("69d3"),n("765d"),e.exports=n("584a").Symbol},f9ab:function(e,t,n){var r=n("5ca1"),i=n("96fb");r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},fa10:function(e,t,n){},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fa83:function(e,t,n){"use strict";n("386b")("blink",(function(e){return function(){return e(this,"blink","","")}}))},fa99:function(e,t,n){n("0293"),e.exports=n("584a").Object.getPrototypeOf},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},facd:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  601. //! moment.js locale configuration
  602. var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},faff:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},fca0:function(e,t,n){var r=n("5ca1"),i=n("7726").isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},fd24:function(e,t,n){var r=n("5ca1");r(r.S,"Object",{setPrototypeOf:n("8b97").set})},fd77:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n("cff6"),l=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),r(t,[{key:"read",value:function(){var e=localStorage.getItem(this.source);return e?this.deserialize(e):(localStorage.setItem(this.source,this.serialize(this.defaultValue)),this.defaultValue)}},{key:"write",value:function(e){localStorage.setItem(this.source,this.serialize(e))}}]),t}(s);e.exports=l},fd7e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  603. //! moment.js locale configuration
  604. var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},fde4:function(e,t,n){n("bf90");var r=n("584a").Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},fe7b:function(e,t,n){},fee7:function(e,t,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("d8e8"),a=n("86cc");n("9e1e")&&r(r.P+n("c5b4"),"Object",{__defineSetter__:function(e,t){a.f(i(this),e,{set:o(t),enumerable:!0,configurable:!0})}})},ffc1:function(e,t,n){var r=n("5ca1"),i=n("504c")(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  605. //! moment.js locale configuration
  606. var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))}}]);