skyeyesystem/frontend/Skyeye-sys-ui/resource/dt-chart/dist/dt-chart.umd.min.js
2026-02-05 11:11:31 +08:00

311 lines
2.8 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["dt-chart"]=t():e["dt-chart"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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="fb15")}({"00ee":function(e,t,n){var i=n("b622"),r=i("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a)},"010e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"02fb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"0366":function(e,t,n){var i=n("59ed");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"03ec":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"04d1":function(e,t,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"0558":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e){return e%100===11||e%10!==1}function n(e,n,i,r){var a=e+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?a+(n||r?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?a+(n||r?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(r?"daga":"dögum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(r?"mánuði":"mánuðum"):n?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return t(e)?a+(n||r?"ár":"árum"):a+(n||r?"ár":"ári")}}var i=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 i}))},"057f":function(e,t,n){var i=n("fc6a"),r=n("241c").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):r(i(e))}},"06cf":function(e,t,n){var i=n("83ab"),r=n("d1e7"),a=n("5c6c"),o=n("fc6a"),s=n("a04b"),l=n("1a2d"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=o(e),t=s(t),u)try{return c(e,t)}catch(n){}if(l(e,t))return a(!r.f.call(e,t),e[t])}},"0721":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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";
//! moment.js locale configuration
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}))},"07fa":function(e,t,n){var i=n("50c4");e.exports=function(e){return i(e.length)}},"0a3c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,a=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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 a}))},"0a84":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"0b42":function(e,t,n){var i=n("e8b5"),r=n("68ee"),a=n("861d"),o=n("b622"),s=o("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,r(t)&&(t===Array||i(t.prototype))?t=void 0:a(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?Array:t}},"0caa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r={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 i?r[n][0]:r[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}))},"0cb2":function(e,t,n){var i=n("7b0b"),r=Math.floor,a="".replace,o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,u,c){var h=n+e.length,d=l.length,f=s;return void 0!==u&&(u=i(u),f=o),a.call(c,f,(function(i,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(h);case"<":o=u[a.slice(1,-1)];break;default:var s=+a;if(0===s)return i;if(s>d){var c=r(s/10);return 0===c?i:c<=d?void 0===l[c-1]?a.charAt(1):l[c-1]+a.charAt(1):i}o=l[s-1]}return void 0===o?"":o}))}},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),a=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(e,t){e.exports=function(e){try{return String(e)}catch(t){return"Object"}}},"0e49":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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:"[Aujourdhui à] 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";
//! moment.js locale configuration
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";
//! moment.js locale configuration
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_Pts_Sal_Çar_Per_Cum_Cts".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 i=e%10,r=e%100-i,a=e>=100?100:null;return e+(t[i]||t[r]||t[a])}},week:{dow:1,doy:7}});return n}))},"0f14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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";
//! moment.js locale configuration
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}))},"0ff2":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"107c":function(e,t,n){var i=n("d039"),r=n("da84"),a=r.RegExp;e.exports=i((function(){var e=a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"10e8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},1148:function(e,t,n){"use strict";var i=n("5926"),r=n("577e"),a=n("1d80");e.exports=function(e){var t=r(a(this)),n="",o=i(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},1276:function(e,t,n){"use strict";var i=n("d784"),r=n("44e7"),a=n("825a"),o=n("1d80"),s=n("4840"),l=n("8aa5"),u=n("50c4"),c=n("577e"),h=n("dc4a"),d=n("14c3"),f=n("9263"),p=n("9f7f"),m=n("d039"),g=p.UNSUPPORTED_Y,y=[].push,v=Math.min,_=4294967295,x=!m((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]}));i("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=c(o(this)),a=void 0===n?_:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,a);var s,l,u,h=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,d+"g");while(s=f.call(m,i)){if(l=m.lastIndex,l>p&&(h.push(i.slice(p,s.index)),s.length>1&&s.index<i.length&&y.apply(h,s.slice(1)),u=s[0].length,p=l,h.length>=a))break;m.lastIndex===s.index&&m.lastIndex++}return p===i.length?!u&&m.test("")||h.push(""):h.push(i.slice(p)),h.length>a?h.slice(0,a):h}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=o(this),a=void 0==t?void 0:h(t,e);return a?a.call(t,r,n):i.call(c(r),t,n)},function(e,r){var o=a(this),h=c(e),f=n(i,o,h,r,i!==t);if(f.done)return f.value;var p=s(o,RegExp),m=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(g?"g":"y"),x=new p(g?"^(?:"+o.source+")":o,y),b=void 0===r?_:r>>>0;if(0===b)return[];if(0===h.length)return null===d(x,h)?[h]:[];var w=0,M=0,S=[];while(M<h.length){x.lastIndex=g?0:M;var T,L=d(x,g?h.slice(M):h);if(null===L||(T=v(u(x.lastIndex+(g?M:0)),h.length))===w)M=l(h,M,m);else{if(S.push(h.slice(w,M)),S.length===b)return S;for(var D=1;D<=L.length-1;D++)if(S.push(L[D]),S.length===b)return S;M=w=T}}return S.push(h.slice(w)),S}]}),!x,g)},"13e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},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:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"14c3":function(e,t,n){var i=n("825a"),r=n("1626"),a=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if(r(n)){var s=n.call(e,t);return null!==s&&i(s),s}if("RegExp"===a(e))return o.call(e,t);throw TypeError("RegExp#exec called on incompatible receiver")}},"159b":function(e,t,n){var i=n("da84"),r=n("fdbc"),a=n("785a"),o=n("17c2"),s=n("9112"),l=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var u in r)r[u]&&l(i[u]&&i[u].prototype);l(a)},1626:function(e,t){e.exports=function(e){return"function"===typeof e}},"167b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},1703:function(e,t,n){},"17c2":function(e,t,n){"use strict";var i=n("b727").forEach,r=n("a640"),a=r("forEach");e.exports=a?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"1a2d":function(e,t,n){var i=n("7b0b"),r={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return r.call(i(e),t)}},"1b45":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c7e":function(e,t,n){var i=n("b622"),r=i("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(l){}return n}},"1cfd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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},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 عام"]},r=function(e){return function(t,r,a,o){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-ly",{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: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")},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 o}))},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var i=n("d039"),r=n("b622"),a=n("2d00"),o=r("species");e.exports=function(e){return a>=51||!i((function(){var t=[],n=t.constructor={};return n[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=d,t.fromByteArray=m;for(var i=[],r=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s<l;++s)i[s]=o[s],r[o.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 i=n===t?0:4-n%4;return[n,i]}function c(e){var t=u(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function h(e,t,n){return 3*(t+n)/4-n}function d(e){var t,n,i=u(e),o=i[0],s=i[1],l=new a(h(e,o,s)),c=0,d=s>0?o-4:o;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function f(e){return i[e>>18&63]+i[e>>12&63]+i[e>>6&63]+i[63&e]}function p(e,t,n){for(var i,r=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),r.push(f(i));return r.join("")}function m(e){for(var t,n=e.length,r=n%3,a=[],o=16383,s=0,l=n-r;s<l;s+=o)a.push(p(e,s,s+o>l?l:s+o));return 1===r?(t=e[n-1],a.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],a.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"1fc1":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===i?n?"хвіліна":"хвіліну":"h"===i?n?"гадзіна":"гадзіну":e+" "+t(r[i],+e)}var i=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 i}))},"201b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"22d1":function(e,t,n){"use strict";var i=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),r=function(){function e(){this.browser=new i,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}(),a=new r;function o(e,t){var n=t.browser,i=e.match(/Firefox\/([\d.]+)/),r=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[1].split(".")[0]>18),o&&(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?(a.wxa=!0,a.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?a.worker=!0:"undefined"===typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(a.node=!0,a.svgSupported=!0):o(navigator.userAgent,a),t["a"]=a},"22f8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"23cb":function(e,t,n){var i=n("5926"),r=Math.max,a=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):a(n,t)}},"23e7":function(e,t,n){var i=n("da84"),r=n("06cf").f,a=n("9112"),o=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");e.exports=function(e,t){var n,c,h,d,f,p,m=e.target,g=e.global,y=e.stat;if(c=g?i:y?i[m]||s(m,{}):(i[m]||{}).prototype,c)for(h in t){if(f=t[h],e.noTargetGet?(p=r(c,h),d=p&&p.value):d=c[h],n=u(g?h:m+(y?".":"#")+h,e.forced),!n&&void 0!==d){if(typeof f===typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&a(f,"sham",!0),o(c,h,f,e)}}},"241c":function(e,t,n){var i=n("ca84"),r=n("7839"),a=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},2421:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],r=e.defineLocale("ku",{months:i,monthsShort:i,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 r}))},2532:function(e,t,n){"use strict";var i=n("23e7"),r=n("5a34"),a=n("1d80"),o=n("577e"),s=n("ab13");i({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~o(a(this)).indexOf(o(r(e)),arguments.length>1?arguments[1]:void 0)}})},2554:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",i;case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",i;case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",i;case"dd":return i+=1===e?"dan":"dana",i;case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",i;case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",i}}var n=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: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}))},"25f0":function(e,t,n){"use strict";var i=n("5e77").PROPER,r=n("6eeb"),a=n("825a"),o=n("577e"),s=n("d039"),l=n("ad6d"),u="toString",c=RegExp.prototype,h=c[u],d=s((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),f=i&&h.name!=u;(d||f)&&r(RegExp.prototype,u,(function(){var e=a(this),t=o(e.source),n=e.flags,i=o(void 0===n&&e instanceof RegExp&&!("flags"in c)?l.call(e):n);return"/"+t+"/"+i}),{unsafe:!0})},"26f9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function i(e,t,n,i){return t?a(n)[0]:i?a(n)[1]:a(n)[2]}function r(e){return e%10===0||e>10&&e<20}function a(e){return t[e].split("_")}function o(e,t,n,o){var s=e+" ";return 1===e?s+i(e,t,n[0],o):t?s+(r(e)?a(n)[1]:a(n)[0]):o?s+a(n)[1]:s+(r(e)?a(n)[1]:a(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:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s}))},2921:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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";
//! moment.js locale configuration
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,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},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}))},"2a62":function(e,t,n){var i=n("825a"),r=n("dc4a");e.exports=function(e,t,n){var a,o;i(e);try{if(a=r(e,"return"),!a){if("throw"===t)throw n;return n}a=a.call(e)}catch(s){o=!0,a=s}if("throw"===t)throw n;if(o)throw a;return i(a),n}},"2bfb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"2d00":function(e,t,n){var i,r,a=n("da84"),o=n("342f"),s=a.process,l=a.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c?(i=c.split("."),r=i[0]<4?1:i[0]+i[1]):o&&(i=o.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=o.match(/Chrome\/(\d+)/),i&&(r=i[1]))),e.exports=r&&+r},"2e8c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"342f":function(e,t,n){var i=n("d066");e.exports=i("navigator","userAgent")||""},"35a1":function(e,t,n){var i=n("f5df"),r=n("dc4a"),a=n("3f8c"),o=n("b622"),s=o("iterator");e.exports=function(e){if(void 0!=e)return r(e,s)||r(e,"@@iterator")||a[i(e)]}},"37e8":function(e,t,n){var i=n("83ab"),r=n("9bf2"),a=n("825a"),o=n("df75");e.exports=i?Object.defineProperties:function(e,t){a(e);var n,i=o(t),s=i.length,l=0;while(s>l)r.f(e,n=i[l++],t[n]);return e}},3886:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"39a6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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";
//! moment.js locale configuration
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे";break}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां";break}return r.replace(/%d/i,e)}var r=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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},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 r}))},"3a39":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},i=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 i}))},"3a6c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<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}))},"3b1b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},"3bbe":function(e,t,n){var i=n("1626");e.exports=function(e){if("object"===typeof e||i(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},"3bd1":function(e,t,n){"use strict";n("1703")},"3c0d":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^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],r=/^(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 a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(a(e)?"dny":"dní"):r+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?r+(a(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(a(e)?"roky":"let"):r+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3ca3":function(e,t,n){"use strict";var i=n("6547").charAt,r=n("577e"),a=n("69f3"),o=n("7dd0"),s="String Iterator",l=a.set,u=a.getterFor(s);o(String,"String",(function(e){l(this,{type:s,string:r(e),index:0})}),(function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},"3db9":function(e,t,n){"use strict";function i(e){var t=new XMLHttpRequest;t.open("get",e.url),t.responseType=e.responseType||"text",e.onprogress&&(t.onprogress=function(t){if(t.lengthComputable){var n=t.loaded/t.total;e.onprogress(n,t.loaded,t.total)}else e.onprogress(null)}),t.onload=function(n){t.status>=400?e.onerror&&e.onerror():e.onload&&e.onload(t.response)},e.onerror&&(t.onerror=e.onerror),t.send(null)}t["a"]={get:i}},"3de5":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:""},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","":"0"},i=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 i}))},"3e92":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:""},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","":"0"},i=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 i}))},"3f8c":function(e,t){e.exports={}},"408a":function(e,t){var n=1..valueOf;e.exports=function(e){return n.call(e)}},"41ef":function(e,t,n){"use strict";n.r(t),n.d(t,"parse",(function(){return v})),n.d(t,"lift",(function(){return b})),n.d(t,"toHex",(function(){return w})),n.d(t,"fastLerp",(function(){return M})),n.d(t,"fastMapToColor",(function(){return S})),n.d(t,"lerp",(function(){return T})),n.d(t,"mapToColor",(function(){return L})),n.d(t,"modifyHSL",(function(){return D})),n.d(t,"modifyAlpha",(function(){return A})),n.d(t,"stringify",(function(){return O})),n.d(t,"lum",(function(){return k})),n.d(t,"random",(function(){return I})),n.d(t,"liftColor",(function(){return E}));var i=n("d51b"),r=n("6d8b"),a={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 o(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)?o(parseFloat(t)/100*255):o(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 h(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 d(e,t,n){return e+(t-e)*n}function f(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,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 i["a"](20),g=null;function y(e,t){g&&p(g,t),g=m.put(e,g||t.slice())}function v(e,t){if(e){t=t||[];var n=m.get(e);if(n)return p(t,n);e+="";var i=e.replace(/ /g,"").toLowerCase();if(i in a)return p(t,a[i]),y(e,t),t;var r=i.length;if("#"!==i.charAt(0)){var o=i.indexOf("("),s=i.indexOf(")");if(-1!==o&&s+1===r){var l=i.substr(0,o),h=i.substr(o+1,s-(o+1)).split(","),d=1;switch(l){case"rgba":if(4!==h.length)return 3===h.length?f(t,+h[0],+h[1],+h[2],1):f(t,0,0,0,1);d=c(h.pop());case"rgb":return h.length>=3?(f(t,u(h[0]),u(h[1]),u(h[2]),3===h.length?d:c(h[3])),y(e,t),t):void f(t,0,0,0,1);case"hsla":return 4!==h.length?void f(t,0,0,0,1):(h[3]=c(h[3]),_(h,t),y(e,t),t);case"hsl":return 3!==h.length?void f(t,0,0,0,1):(_(h,t),y(e,t),t);default:return}}f(t,0,0,0,1)}else{if(4===r||5===r){var g=parseInt(i.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===r?parseInt(i.slice(4),16)/15:1),y(e,t),t):void f(t,0,0,0,1)}if(7===r||9===r){g=parseInt(i.slice(1,7),16);return g>=0&&g<=16777215?(f(t,(16711680&g)>>16,(65280&g)>>8,255&g,9===r?parseInt(i.slice(7),16)/255:1),y(e,t),t):void f(t,0,0,0,1)}}}}function _(e,t){var n=(parseFloat(e[0])%360+360)%360/360,i=c(e[1]),r=c(e[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return t=t||[],f(t,o(255*h(s,a,n+1/3)),o(255*h(s,a,n)),o(255*h(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function x(e){if(e){var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,u=(s+o)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;i===s?t=d-h:r===s?t=1/3+c-d:a===s&&(t=2/3+h-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 b(e,t){var n=v(e);if(n){for(var i=0;i<3;i++)n[i]=t<0?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return O(n,4===n.length?"rgba":"rgb")}}function w(e){var t=v(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function M(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),s=t[r],u=t[a],c=i-r;return n[0]=o(d(s[0],u[0],c)),n[1]=o(d(s[1],u[1],c)),n[2]=o(d(s[2],u[2],c)),n[3]=l(d(s[3],u[3],c)),n}}var S=M;function T(e,t,n){if(t&&t.length&&e>=0&&e<=1){var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),s=v(t[r]),u=v(t[a]),c=i-r,h=O([o(d(s[0],u[0],c)),o(d(s[1],u[1],c)),o(d(s[2],u[2],c)),l(d(s[3],u[3],c))],"rgba");return n?{color:h,leftIndex:r,rightIndex:a,value:i}:h}}var L=T;function D(e,t,n,i){var r=v(e);if(e)return r=x(r),null!=t&&(r[0]=s(t)),null!=n&&(r[1]=c(n)),null!=i&&(r[2]=c(i)),O(_(r),"rgba")}function A(e,t){var n=v(e);if(n&&null!=t)return n[3]=l(t),O(n,"rgba")}function O(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 k(e,t){var n=v(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function I(){return O([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var C=new i["a"](100);function E(e){if(Object(r["C"])(e)){var t=C.get(e);return t||(t=b(e,-.1),C.put(e,t)),t}if(Object(r["x"])(e)){var n=Object(r["m"])({},e);return n.colorStops=Object(r["H"])(e.colorStops,(function(e){return{offset:e.offset,color:b(e.color,-.1)}})),n}return e}},"423e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"428f":function(e,t,n){var i=n("da84");e.exports=i},"440c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r={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?r[n][0]:r[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"a "+e:"an "+e}function i(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"viru "+e:"virun "+e}function r(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 r(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return r(e)}return e/=1e3,r(e)}var a=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:i,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 a}))},"44ad":function(e,t,n){var i=n("d039"),r=n("c6b6"),a="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var i=n("b622"),r=n("7c73"),a=n("9bf2"),o=i("unscopables"),s=Array.prototype;void 0==s[o]&&a.f(s,o,{configurable:!0,value:r(null)}),e.exports=function(e){s[o][e]=!0}},"44e7":function(e,t,n){var i=n("861d"),r=n("c6b6"),a=n("b622"),o=a("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},4678:function(e,t,n){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="4678"},4840:function(e,t,n){var i=n("825a"),r=n("5087"),a=n("b622"),o=a("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||void 0==(n=i(a)[o])?t:r(n)}},"485a":function(e,t,n){var i=n("1626"),r=n("861d");e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!r(a=n.call(e)))return a;if(i(n=e.valueOf)&&!r(a=n.call(e)))return a;if("string"!==t&&i(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},"485c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i=e%100-n,r=e>=100?100:null;return e+(t[n]||t[i]||t[r])},week:{dow:1,doy:7}});return n}))},4930:function(e,t,n){var i=n("2d00"),r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"49ab":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<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}))},"4ba9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",i;case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",i;case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",i;case"dd":return i+=1===e?"dan":"dana",i;case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",i;case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",i}}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}))},"4d64":function(e,t,n){var i=n("fc6a"),r=n("23cb"),a=n("07fa"),o=function(e){return function(t,n,o){var s,l=i(t),u=a(l),c=r(o,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}};e.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(e,t,n){"use strict";var i=n("23e7"),r=n("b727").filter,a=n("1dde"),o=a("filter");i({target:"Array",proto:!0,forced:!o},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var i=n("0366"),r=n("7b0b"),a=n("9bdd"),o=n("e95a"),s=n("68ee"),l=n("07fa"),u=n("8418"),c=n("9a1f"),h=n("35a1");e.exports=function(e){var t=r(e),n=s(this),d=arguments.length,f=d>1?arguments[1]:void 0,p=void 0!==f;p&&(f=i(f,d>2?arguments[2]:void 0,2));var m,g,y,v,_,x,b=h(t),w=0;if(!b||this==Array&&o(b))for(m=l(t),g=n?new this(m):Array(m);m>w;w++)x=p?f(t[w],w):t[w],u(g,w,x);else for(v=c(t,b),_=v.next,g=n?new this:[];!(y=_.call(v)).done;w++)x=p?a(v,f,[y.value,w],!0):y.value,u(g,w,x);return g.length=w,g}},"4e82":function(e,t,n){"use strict";var i=n("23e7"),r=n("59ed"),a=n("7b0b"),o=n("07fa"),s=n("577e"),l=n("d039"),u=n("addb"),c=n("a640"),h=n("04d1"),d=n("d998"),f=n("2d00"),p=n("512c"),m=[],g=m.sort,y=l((function(){m.sort(void 0)})),v=l((function(){m.sort(null)})),_=c("sort"),x=!l((function(){if(f)return f<70;if(!(h&&h>3)){if(d)return!0;if(p)return p<603;var e,t,n,i,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)m.push({k:t+i,v:n})}for(m.sort((function(e,t){return t.v-e.v})),i=0;i<m.length;i++)t=m[i].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}})),b=y||!v||!_||!x,w=function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}};i({target:"Array",proto:!0,forced:b},{sort:function(e){void 0!==e&&r(e);var t=a(this);if(x)return void 0===e?g.call(t):g.call(t,e);var n,i,s=[],l=o(t);for(i=0;i<l;i++)i in t&&s.push(t[i]);s=u(s,w(e)),n=s.length,i=0;while(i<n)t[i]=s[i++];while(i<l)delete t[i++];return t}})},"4e91":function(e){e.exports=JSON.parse('{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":110000,"name":"北京市","center":[116.405285,39.904989],"centroid":[116.41995,40.18994],"childrenNum":16,"level":"province","parent":{"adcode":100000},"subFeatureIndex":0,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.348611,40.581141],[117.389879,40.561593],[117.429915,40.576141],[117.412669,40.605226],[117.467487,40.649738],[117.467487,40.649738],[117.501364,40.636569],[117.514914,40.660181],[117.493973,40.675161],[117.408973,40.686961],[117.342451,40.673799],[117.319662,40.657911],[117.278394,40.664267],[117.208177,40.694675],[117.117018,40.70012],[117.11209,40.707379],[117.012308,40.693767],[116.964881,40.709647],[116.926692,40.745022],[116.924229,40.773581],[116.848468,40.839264],[116.81336,40.848319],[116.759773,40.889954],[116.713577,40.909858],[116.722201,40.927495],[116.677853,40.970888],[116.698795,41.021477],[116.688324,41.044501],[116.647672,41.059394],[116.615643,41.053076],[116.623034,41.021026],[116.598397,40.974503],[116.5676,40.992574],[116.519557,40.98128],[116.519557,40.98128],[116.455499,40.980828],[116.447492,40.953715],[116.477057,40.899907],[116.398216,40.90624],[116.370499,40.94377],[116.339702,40.929303],[116.334159,40.90443],[116.438253,40.81934],[116.46597,40.774487],[116.453651,40.765876],[116.316912,40.772221],[116.311369,40.754996],[116.273181,40.762703],[116.247311,40.791707],[116.22021,40.744115],[116.204812,40.740035],[116.171551,40.695582],[116.162928,40.662451],[116.133979,40.666536],[116.09887,40.630665],[116.005247,40.583868],[115.982457,40.578868],[115.971986,40.6025],[115.907929,40.617493],[115.885139,40.595229],[115.827857,40.587504],[115.819849,40.55932],[115.784741,40.55841],[115.755176,40.540221],[115.736082,40.503372],[115.781045,40.49336],[115.771806,40.443734],[115.864197,40.359422],[115.917784,40.354405],[115.95166,40.281852],[115.968907,40.264045],[115.89869,40.234354],[115.870356,40.185909],[115.855574,40.188652],[115.847567,40.147036],[115.806299,40.15344],[115.773654,40.176307],[115.75456,40.145663],[115.75456,40.145663],[115.599959,40.119583],[115.59072,40.096239],[115.527278,40.076092],[115.485394,40.040364],[115.454597,40.029825],[115.450286,39.992697],[115.428728,39.984443],[115.426264,39.950502],[115.481083,39.935819],[115.522967,39.899099],[115.515575,39.892212],[115.515575,39.892212],[115.526046,39.87568],[115.514344,39.837549],[115.567314,39.816407],[115.552532,39.794799],[115.50572,39.784222],[115.483547,39.798477],[115.483547,39.798477],[115.443511,39.785601],[115.439815,39.752022],[115.486626,39.741899],[115.491554,39.670074],[115.478619,39.650723],[115.478619,39.650723],[115.522351,39.640124],[115.518039,39.597252],[115.545756,39.618922],[115.587024,39.589873],[115.633836,39.599557],[115.633836,39.599557],[115.667712,39.615234],[115.698509,39.577881],[115.698509,39.577881],[115.699125,39.570039],[115.699125,39.570039],[115.716988,39.56035],[115.716988,39.56035],[115.718835,39.553891],[115.718835,39.553891],[115.720683,39.551122],[115.720683,39.551122],[115.722531,39.5442],[115.721299,39.543738],[115.722531,39.5442],[115.722531,39.543738],[115.721299,39.543738],[115.722531,39.543738],[115.724995,39.5442],[115.724995,39.5442],[115.738545,39.540046],[115.738545,39.539585],[115.738545,39.540046],[115.738545,39.539585],[115.752712,39.515581],[115.806299,39.510041],[115.806299,39.510041],[115.821081,39.522968],[115.821081,39.522968],[115.828473,39.541431],[115.867893,39.546507],[115.867893,39.546507],[115.91532,39.582955],[115.91532,39.582955],[115.910393,39.600479],[115.910393,39.600479],[115.957204,39.560812],[115.978146,39.595868],[115.995392,39.576958],[116.026189,39.587567],[116.036044,39.571884],[116.09887,39.575113],[116.130283,39.567732],[116.151841,39.583416],[116.198652,39.589412],[116.240536,39.564041],[116.257782,39.500344],[116.307057,39.488337],[116.337854,39.455536],[116.361876,39.455074],[116.361876,39.455074],[116.434557,39.442597],[116.454883,39.453226],[116.444412,39.482332],[116.411767,39.482794],[116.401912,39.528046],[116.443796,39.510041],[116.437637,39.526661],[116.478289,39.535431],[116.473361,39.552968],[116.50847,39.551122],[116.524484,39.596329],[116.592237,39.621227],[116.592237,39.621227],[116.620571,39.601863],[116.664918,39.605552],[116.723432,39.59264],[116.724048,39.59264],[116.723432,39.59264],[116.724048,39.59264],[116.726512,39.595407],[116.726512,39.595407],[116.709266,39.618],[116.748686,39.619844],[116.79057,39.595868],[116.812128,39.615695],[116.8497,39.66777],[116.906366,39.677444],[116.90575,39.688037],[116.889736,39.687576],[116.887272,39.72533],[116.916837,39.731314],[116.902055,39.763523],[116.949482,39.778703],[116.918069,39.84628],[116.907598,39.832494],[116.865714,39.843982],[116.812128,39.889916],[116.78441,39.891294],[116.782563,39.947749],[116.757925,39.967934],[116.781331,40.034866],[116.820135,40.02845],[116.831222,40.051359],[116.867562,40.041739],[116.927924,40.055024],[116.945171,40.04128],[117.025243,40.030283],[117.051728,40.059605],[117.105315,40.074261],[117.105315,40.074261],[117.140423,40.064185],[117.159517,40.077008],[117.204481,40.069681],[117.210024,40.082045],[117.224191,40.094865],[117.224191,40.094865],[117.254988,40.114548],[117.254988,40.114548],[117.254988,40.114548],[117.274082,40.105852],[117.307343,40.136971],[117.349227,40.136513],[117.367089,40.172649],[117.367089,40.173106],[117.367089,40.173106],[117.367089,40.172649],[117.383719,40.188195],[117.389879,40.227958],[117.351075,40.229786],[117.331365,40.289613],[117.295024,40.2782],[117.271618,40.325211],[117.271618,40.325211],[117.243285,40.369453],[117.226039,40.368997],[117.234046,40.417312],[117.263611,40.442367],[117.208793,40.501552],[117.262995,40.512927],[117.247597,40.539766],[117.269771,40.560684],[117.348611,40.581141],[117.348611,40.581141]]]]}},{"type":"Feature","properties":{"adcode":120000,"name":"天津市","center":[117.190182,39.125596],"centroid":[117.347043,39.288036],"childrenNum":16,"level":"province","parent":{"adcode":100000},"subFeatureIndex":1,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.765602,39.400527],[117.846906,39.407926],[117.871543,39.411625],[117.870311,39.455074],[117.899877,39.474479],[117.912195,39.517428],[117.912195,39.517428],[117.904804,39.533585],[117.933753,39.574191],[117.868464,39.59679],[117.829659,39.589873],[117.766834,39.598635],[117.753899,39.579726],[117.753899,39.579726],[117.745276,39.547892],[117.715711,39.529892],[117.707088,39.576036],[117.684914,39.58895],[117.654117,39.575113],[117.637486,39.603246],[117.66274,39.636437],[117.668899,39.666849],[117.627015,39.703693],[117.57774,39.726711],[117.595603,39.74604],[117.56111,39.754782],[117.546327,39.775943],[117.561726,39.799856],[117.529081,39.859144],[117.529081,39.859144],[117.508139,39.901854],[117.508139,39.901854],[117.512451,39.90874],[117.512451,39.90874],[117.513067,39.910576],[117.513067,39.910576],[117.514914,39.946832],[117.534625,39.954631],[117.546327,39.999116],[117.594987,39.994531],[117.594987,39.994531],[117.614697,39.97252],[117.671363,39.973896],[117.691073,39.984902],[117.756363,39.965181],[117.781616,39.966558],[117.781616,39.966558],[117.795167,39.996823],[117.795167,39.996823],[117.793319,40.005534],[117.793319,40.005534],[117.768681,40.022034],[117.768681,40.022034],[117.744044,40.018368],[117.74774,40.047236],[117.776073,40.059605],[117.752667,40.081588],[117.71879,40.082045],[117.71879,40.082045],[117.675059,40.082045],[117.655965,40.109514],[117.655965,40.109514],[117.654117,40.114548],[117.654117,40.114548],[117.651653,40.122786],[117.651653,40.122786],[117.613465,40.158014],[117.613465,40.158014],[117.609769,40.160301],[117.609769,40.160301],[117.576508,40.178593],[117.571581,40.219276],[117.548791,40.232527],[117.505059,40.227044],[117.450241,40.252627],[117.415748,40.248973],[117.389879,40.227958],[117.383719,40.188195],[117.367089,40.172649],[117.367089,40.173106],[117.367089,40.173106],[117.367089,40.172649],[117.349227,40.136513],[117.307343,40.136971],[117.274082,40.105852],[117.254988,40.114548],[117.254988,40.114548],[117.254988,40.114548],[117.224191,40.094865],[117.224191,40.094865],[117.210024,40.082045],[117.192162,40.066475],[117.198322,39.992697],[117.150894,39.944996],[117.162597,39.876598],[117.162597,39.876598],[117.227887,39.852712],[117.247597,39.860981],[117.251908,39.834332],[117.192162,39.832953],[117.156438,39.817326],[117.15767,39.796638],[117.205713,39.763984],[117.161981,39.748801],[117.165061,39.718886],[117.165061,39.718886],[117.177996,39.645194],[117.152742,39.623532],[117.10901,39.625375],[117.10901,39.625375],[117.016004,39.653949],[116.983359,39.638742],[116.983359,39.638742],[116.964265,39.64335],[116.948866,39.680668],[116.948866,39.680668],[116.944555,39.695405],[116.944555,39.695405],[116.932236,39.706456],[116.932236,39.706456],[116.90575,39.688037],[116.906366,39.677444],[116.8497,39.66777],[116.812128,39.615695],[116.808432,39.576497],[116.78749,39.554352],[116.819519,39.528507],[116.820751,39.482332],[116.785026,39.465702],[116.832454,39.435664],[116.876185,39.43474],[116.839845,39.413474],[116.840461,39.378326],[116.818287,39.3737],[116.829374,39.338994],[116.870642,39.357506],[116.889736,39.338068],[116.87249,39.291304],[116.881729,39.225966],[116.881729,39.225966],[116.855859,39.215766],[116.870026,39.153607],[116.909446,39.150822],[116.912526,39.110898],[116.91191,39.111362],[116.91191,39.111362],[116.912526,39.110898],[116.871874,39.054688],[116.812744,39.05097],[116.812744,39.05097],[116.783179,39.05097],[116.783179,39.05097],[116.754229,39.034701],[116.754229,39.034701],[116.754845,39.003084],[116.72836,38.975174],[116.708034,38.931892],[116.722201,38.896968],[116.723432,38.852706],[116.75115,38.831264],[116.737599,38.784629],[116.746222,38.754299],[116.794265,38.744498],[116.794265,38.744498],[116.858939,38.741231],[116.877417,38.680522],[116.948866,38.689398],[116.950714,38.689398],[116.95133,38.689398],[116.950714,38.689398],[116.948866,38.689398],[116.95133,38.689398],[117.038793,38.688464],[117.068358,38.680522],[117.055424,38.639398],[117.070822,38.608072],[117.109626,38.584685],[117.150894,38.617892],[117.183539,38.61836],[117.183539,38.61836],[117.213104,38.639866],[117.213104,38.639866],[117.258684,38.608072],[117.258684,38.608072],[117.238358,38.580943],[117.25314,38.556143],[117.368937,38.564566],[117.432379,38.601524],[117.47919,38.616489],[117.55803,38.613683],[117.639334,38.626776],[117.65658,38.66043],[117.729261,38.680055],[117.740964,38.700141],[117.740964,38.753833],[117.671363,38.772032],[117.646725,38.788827],[117.64611,38.828933],[117.752051,38.847579],[117.778536,38.869016],[117.847522,38.855502],[117.875855,38.920252],[117.898029,38.948649],[117.855529,38.957492],[117.837667,39.057011],[117.871543,39.122506],[117.96455,39.172631],[117.977485,39.206028],[118.032919,39.219939],[118.034767,39.218548],[118.064948,39.231065],[118.064948,39.256094],[118.036615,39.264898],[118.024296,39.289451],[118.024296,39.289451],[117.982412,39.298714],[117.982412,39.298714],[117.979333,39.300566],[117.979333,39.300566],[117.973173,39.312143],[117.973173,39.312143],[117.965782,39.314921],[117.965782,39.314921],[117.919587,39.318162],[117.919587,39.318162],[117.88879,39.332051],[117.854913,39.328348],[117.854297,39.328348],[117.854913,39.328348],[117.854297,39.328348],[117.850601,39.363984],[117.850601,39.363984],[117.810565,39.354729],[117.805022,39.373237],[117.784696,39.376938],[117.74466,39.354729],[117.670747,39.357969],[117.669515,39.322792],[117.594987,39.349176],[117.536472,39.338068],[117.521074,39.357043],[117.570965,39.404689],[117.601146,39.419485],[117.614081,39.407001],[117.668899,39.412087],[117.673211,39.386652],[117.699696,39.407463],[117.765602,39.400527]]],[[[117.805022,39.373237],[117.852449,39.380639],[117.846906,39.407926],[117.765602,39.400527],[117.784696,39.376938],[117.805022,39.373237]]]]}},{"type":"Feature","properties":{"adcode":130000,"name":"河北省","center":[114.502461,38.045474],"childrenNum":11,"level":"province","parent":{"adcode":100000},"subFeatureIndex":2,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.467487,40.649738],[117.412669,40.605226],[117.429915,40.576141],[117.389879,40.561593],[117.348611,40.581141],[117.348611,40.581141],[117.269771,40.560684],[117.247597,40.539766],[117.262995,40.512927],[117.208793,40.501552],[117.263611,40.442367],[117.234046,40.417312],[117.226039,40.368997],[117.243285,40.369453],[117.271618,40.325211],[117.271618,40.325211],[117.295024,40.2782],[117.331365,40.289613],[117.351075,40.229786],[117.389879,40.227958],[117.415748,40.248973],[117.450241,40.252627],[117.505059,40.227044],[117.548791,40.232527],[117.571581,40.219276],[117.576508,40.178593],[117.609769,40.160301],[117.609769,40.160301],[117.613465,40.158014],[117.613465,40.158014],[117.651653,40.122786],[117.651653,40.122786],[117.654117,40.114548],[117.654117,40.114548],[117.655965,40.109514],[117.655965,40.109514],[117.675059,40.082045],[117.71879,40.082045],[117.71879,40.082045],[117.752667,40.081588],[117.776073,40.059605],[117.74774,40.047236],[117.744044,40.018368],[117.768681,40.022034],[117.768681,40.022034],[117.793319,40.005534],[117.793319,40.005534],[117.795167,39.996823],[117.795167,39.996823],[117.781616,39.966558],[117.781616,39.966558],[117.756363,39.965181],[117.691073,39.984902],[117.671363,39.973896],[117.614697,39.97252],[117.594987,39.994531],[117.594987,39.994531],[117.546327,39.999116],[117.534625,39.954631],[117.514914,39.946832],[117.513067,39.910576],[117.513067,39.910576],[117.512451,39.90874],[117.512451,39.90874],[117.508139,39.901854],[117.508139,39.901854],[117.529081,39.859144],[117.529081,39.859144],[117.561726,39.799856],[117.546327,39.775943],[117.56111,39.754782],[117.595603,39.74604],[117.57774,39.726711],[117.627015,39.703693],[117.668899,39.666849],[117.66274,39.636437],[117.637486,39.603246],[117.654117,39.575113],[117.684914,39.58895],[117.707088,39.576036],[117.715711,39.529892],[117.745276,39.547892],[117.753899,39.579726],[117.753899,39.579726],[117.766834,39.598635],[117.829659,39.589873],[117.868464,39.59679],[117.933753,39.574191],[117.904804,39.533585],[117.912195,39.517428],[117.912195,39.517428],[117.899877,39.474479],[117.870311,39.455074],[117.871543,39.411625],[117.846906,39.407926],[117.852449,39.380639],[117.805022,39.373237],[117.810565,39.354729],[117.850601,39.363984],[117.850601,39.363984],[117.854297,39.328348],[117.854913,39.328348],[117.854297,39.328348],[117.854913,39.328348],[117.88879,39.332051],[117.919587,39.318162],[117.919587,39.318162],[117.965782,39.314921],[117.965782,39.314921],[117.973173,39.312143],[117.973173,39.312143],[117.979333,39.300566],[117.979333,39.300566],[117.982412,39.298714],[117.982412,39.298714],[118.024296,39.289451],[118.024296,39.289451],[118.036615,39.264898],[118.064948,39.256094],[118.064948,39.231065],[118.034767,39.218548],[118.026144,39.201854],[118.070492,39.213911],[118.077883,39.201854],[118.12531,39.182838],[118.162883,39.136433],[118.1906,39.080708],[118.225092,39.034701],[118.319331,39.009594],[118.366143,39.016104],[118.377845,38.971917],[118.491178,38.909077],[118.539837,38.910008],[118.604511,38.971452],[118.570634,38.999363],[118.533062,39.090928],[118.588497,39.107648],[118.578642,39.130863],[118.637156,39.157319],[118.76096,39.133648],[118.814546,39.138754],[118.857662,39.162888],[118.897082,39.151286],[118.920488,39.171703],[118.951285,39.178662],[118.896466,39.139683],[118.890307,39.118792],[118.926031,39.123435],[118.97777,39.163352],[119.023966,39.187012],[119.038132,39.211593],[119.096031,39.24219],[119.121284,39.281576],[119.185342,39.342234],[119.272805,39.363521],[119.317153,39.4107],[119.316537,39.437051],[119.269726,39.498497],[119.366428,39.734996],[119.474217,39.813189],[119.536427,39.809052],[119.520413,39.840306],[119.540739,39.888079],[119.588166,39.910576],[119.620195,39.904609],[119.642369,39.925264],[119.681789,39.922511],[119.726137,39.940867],[119.787115,39.950502],[119.820375,39.979399],[119.842549,39.956007],[119.872114,39.960594],[119.854252,39.98857],[119.845629,40.000949],[119.845629,40.000949],[119.854252,40.033033],[119.81668,40.050443],[119.81668,40.050443],[119.787115,40.041739],[119.787115,40.041739],[119.783419,40.046778],[119.783419,40.046778],[119.772332,40.08113],[119.736608,40.104936],[119.760629,40.136056],[119.745847,40.207851],[119.716898,40.195966],[119.671934,40.23938],[119.639289,40.231613],[119.639289,40.231613],[119.651608,40.271808],[119.598021,40.334335],[119.586934,40.375381],[119.604797,40.455119],[119.553674,40.502007],[119.572152,40.523846],[119.559217,40.547952],[119.503783,40.553864],[119.477913,40.533399],[119.429254,40.540221],[119.30237,40.530215],[119.256175,40.543404],[119.22045,40.569322],[119.230921,40.603863],[119.177951,40.609315],[119.162552,40.600228],[119.14469,40.632482],[119.184726,40.680153],[119.165632,40.69286],[119.115125,40.666536],[119.054763,40.664721],[119.028277,40.692406],[119.011031,40.687414],[118.96114,40.72008],[118.950053,40.747743],[118.895234,40.75409],[118.907553,40.775394],[118.878604,40.783098],[118.845959,40.822057],[118.873061,40.847866],[118.90201,40.960946],[118.916792,40.969984],[118.977154,40.959138],[118.977154,40.959138],[119.00056,40.967273],[119.013495,41.007479],[118.951901,41.018317],[118.937118,41.052625],[118.964836,41.079246],[119.037516,41.067516],[119.080632,41.095936],[119.081248,41.131555],[119.126212,41.138767],[119.189038,41.198234],[119.169943,41.222996],[119.204436,41.222546],[119.209364,41.244599],[119.2494,41.279689],[119.239545,41.31431],[119.211827,41.308016],[119.197661,41.282837],[119.168712,41.294978],[119.092951,41.293629],[118.980234,41.305769],[118.949437,41.317906],[118.890923,41.300823],[118.844727,41.342622],[118.843496,41.374516],[118.770199,41.352956],[118.741866,41.324198],[118.677192,41.35026],[118.629765,41.346666],[118.528135,41.355202],[118.412338,41.331838],[118.380309,41.312062],[118.348896,41.342622],[118.361215,41.384844],[118.348896,41.428384],[118.327338,41.450816],[118.271904,41.471446],[118.315636,41.512688],[118.302701,41.55256],[118.215237,41.59554],[118.206614,41.650566],[118.159187,41.67605],[118.155491,41.712694],[118.132702,41.733241],[118.140093,41.784134],[118.178281,41.814917],[118.236179,41.80778],[118.247266,41.773869],[118.29223,41.772976],[118.335346,41.845241],[118.340273,41.87243],[118.268824,41.930336],[118.306396,41.940131],[118.313788,41.98819],[118.291614,42.007759],[118.239875,42.024655],[118.286686,42.033991],[118.296541,42.057545],[118.27252,42.083312],[118.239259,42.092639],[118.212774,42.081091],[118.220165,42.058434],[118.194296,42.031324],[118.116687,42.037102],[118.155491,42.081091],[118.097593,42.105072],[118.089586,42.12283],[118.106216,42.172082],[118.033535,42.199132],[117.977485,42.229716],[117.974405,42.25054],[118.047702,42.280656],[118.060021,42.298364],[118.008898,42.346595],[118.024296,42.385064],[117.997811,42.416884],[117.874007,42.510038],[117.856761,42.539148],[117.797631,42.585431],[117.801326,42.612744],[117.779768,42.61847],[117.708935,42.588515],[117.667051,42.582347],[117.60053,42.603054],[117.537088,42.603054],[117.530313,42.590278],[117.475494,42.602613],[117.435458,42.585431],[117.434226,42.557224],[117.387415,42.517537],[117.387415,42.517537],[117.410205,42.519743],[117.413284,42.471645],[117.390495,42.461933],[117.332596,42.46105],[117.332596,42.46105],[117.275314,42.481797],[117.275314,42.481797],[117.188467,42.468114],[117.188467,42.468114],[117.135496,42.468996],[117.09546,42.484004],[117.080061,42.463699],[117.080061,42.463699],[117.01662,42.456193],[117.01662,42.456193],[117.009228,42.44957],[117.009228,42.44957],[117.005533,42.43367],[117.005533,42.43367],[116.99075,42.425719],[116.99075,42.425719],[116.974736,42.426603],[116.974736,42.426603],[116.97104,42.427486],[116.97104,42.427486],[116.944555,42.415116],[116.944555,42.415116],[116.936547,42.410256],[116.936547,42.410256],[116.921765,42.403628],[116.921765,42.403628],[116.910062,42.395231],[116.910062,42.395231],[116.910678,42.394789],[116.910678,42.394789],[116.886656,42.366496],[116.897743,42.297479],[116.918685,42.229716],[116.903287,42.190708],[116.789338,42.200462],[116.825062,42.155669],[116.850316,42.156556],[116.890352,42.092639],[116.879881,42.018431],[116.796113,41.977958],[116.748686,41.984186],[116.727744,41.951259],[116.66923,41.947698],[116.639049,41.929891],[116.597165,41.935679],[116.553433,41.928555],[116.510933,41.974399],[116.4826,41.975734],[116.453651,41.945917],[116.393289,41.942802],[116.414231,41.982407],[116.373579,42.009983],[116.310137,41.997086],[116.298434,41.96817],[116.223906,41.932562],[116.212819,41.885352],[116.194341,41.861734],[116.122892,41.861734],[116.106877,41.831419],[116.129051,41.805996],[116.09887,41.776547],[116.034196,41.782795],[116.007095,41.79752],[116.007095,41.797966],[116.007095,41.79752],[116.007095,41.797966],[115.994776,41.828743],[115.954124,41.874213],[115.916552,41.945027],[115.85311,41.927665],[115.834632,41.93835],[115.811226,41.912525],[115.726227,41.870202],[115.688038,41.867528],[115.654162,41.829189],[115.57409,41.80555],[115.519887,41.76762],[115.488474,41.760924],[115.42996,41.728775],[115.346808,41.712247],[115.319091,41.691693],[115.360975,41.661297],[115.345576,41.635807],[115.377605,41.603148],[115.310468,41.592854],[115.290142,41.622835],[115.26612,41.616124],[115.256881,41.580768],[115.20391,41.571367],[115.195287,41.602253],[115.0992,41.62373],[115.056085,41.602253],[115.016049,41.615229],[114.860832,41.60091],[114.895325,41.636255],[114.902716,41.695715],[114.89594,41.76762],[114.868839,41.813579],[114.922426,41.825175],[114.939056,41.846132],[114.923658,41.871093],[114.915035,41.960605],[114.9021,42.015763],[114.860832,42.054879],[114.86268,42.097967],[114.825723,42.139695],[114.79431,42.149457],[114.789383,42.130819],[114.75489,42.115727],[114.675434,42.12061],[114.647717,42.109512],[114.560254,42.132595],[114.510978,42.110844],[114.502355,42.06732],[114.480181,42.064654],[114.467863,42.025989],[114.511594,41.981962],[114.478334,41.951704],[114.419203,41.942356],[114.352066,41.953484],[114.343443,41.926774],[114.282465,41.863517],[114.200545,41.789934],[114.215328,41.75646],[114.206704,41.7386],[114.237501,41.698843],[114.215328,41.68499],[114.259059,41.623282],[114.226414,41.616572],[114.221487,41.582111],[114.230726,41.513584],[114.101379,41.537779],[114.032394,41.529715],[113.976959,41.505966],[113.953553,41.483553],[113.933227,41.487139],[113.919677,41.454404],[113.877793,41.431076],[113.871017,41.413126],[113.94493,41.392477],[113.92522,41.325546],[113.899351,41.316108],[113.914749,41.294529],[113.95109,41.282837],[113.971416,41.239649],[113.992357,41.269794],[114.016379,41.231999],[113.996669,41.19238],[113.960945,41.171211],[113.920293,41.172112],[113.877793,41.115777],[113.819279,41.09774],[113.868554,41.06887],[113.973263,40.983087],[113.994821,40.938798],[114.057647,40.925234],[114.041633,40.917546],[114.055183,40.867782],[114.073661,40.857372],[114.044712,40.830661],[114.080437,40.790348],[114.104458,40.797597],[114.103227,40.770861],[114.134639,40.737314],[114.162357,40.71373],[114.183299,40.67153],[114.236269,40.607043],[114.283081,40.590685],[114.273842,40.552954],[114.293552,40.55159],[114.282465,40.494725],[114.267066,40.474242],[114.299711,40.44009],[114.286161,40.425057],[114.31203,40.372645],[114.381015,40.36307],[114.390254,40.351213],[114.438914,40.371733],[114.481413,40.34802],[114.530688,40.345283],[114.510978,40.302851],[114.46971,40.268155],[114.406269,40.246232],[114.362537,40.249886],[114.292936,40.230242],[114.255364,40.236182],[114.235654,40.198252],[114.180219,40.191395],[114.135871,40.175392],[114.097683,40.193681],[114.073046,40.168533],[114.073046,40.168533],[114.101995,40.099901],[114.086596,40.071513],[114.045944,40.056856],[114.018227,40.103563],[113.989278,40.11226],[113.959097,40.033491],[113.910438,40.015618],[114.029314,39.985819],[114.028082,39.959218],[114.047176,39.916085],[114.067502,39.922511],[114.17406,39.897722],[114.212248,39.918839],[114.229494,39.899558],[114.204241,39.885324],[114.215943,39.8619],[114.286776,39.871087],[114.285545,39.858225],[114.395182,39.867412],[114.406885,39.833413],[114.390254,39.819165],[114.41674,39.775943],[114.409964,39.761683],[114.408117,39.652106],[114.431522,39.613851],[114.49558,39.608318],[114.51529,39.564964],[114.568877,39.573729],[114.532536,39.486027],[114.501739,39.476789],[114.496812,39.438437],[114.469095,39.400989],[114.466631,39.329736],[114.430906,39.307513],[114.437066,39.259337],[114.416124,39.242654],[114.47587,39.21623],[114.443841,39.174023],[114.388406,39.176807],[114.360689,39.134112],[114.369928,39.107648],[114.345907,39.075133],[114.252284,39.073739],[114.180835,39.049111],[114.157429,39.061194],[114.10877,39.052364],[114.082901,39.09325],[114.082901,39.09325],[114.064422,39.094179],[114.050872,39.135969],[114.006524,39.122971],[113.994821,39.095572],[113.961561,39.100681],[113.930148,39.063517],[113.898119,39.067699],[113.80696,38.989595],[113.776779,38.986804],[113.76754,38.959819],[113.776163,38.885788],[113.795257,38.860628],[113.855619,38.828933],[113.836525,38.795824],[113.839605,38.7585],[113.802648,38.763166],[113.775547,38.709949],[113.720728,38.713218],[113.70225,38.651551],[113.612939,38.645942],[113.603084,38.587024],[113.561816,38.558483],[113.546417,38.492936],[113.583374,38.459671],[113.537794,38.417952],[113.525475,38.383245],[113.557504,38.343359],[113.54457,38.270569],[113.570439,38.237202],[113.598772,38.22733],[113.64312,38.232031],[113.678844,38.20523],[113.711489,38.213695],[113.720728,38.174656],[113.797105,38.162894],[113.831597,38.16854],[113.811271,38.117707],[113.876561,38.055059],[113.872249,37.990471],[113.901198,37.984811],[113.936307,37.922993],[113.959097,37.906468],[113.976959,37.816696],[114.006524,37.813386],[114.044712,37.761834],[113.996669,37.730128],[113.993589,37.706932],[114.068118,37.721608],[114.12848,37.698409],[114.139567,37.675676],[114.115545,37.619761],[114.118625,37.59084],[114.036705,37.494037],[114.014531,37.42468],[113.973879,37.40329],[113.962792,37.355734],[113.90243,37.310052],[113.886416,37.239095],[113.853155,37.215269],[113.832213,37.167594],[113.773083,37.151855],[113.773699,37.107004],[113.758301,37.075497],[113.788482,37.059739],[113.771851,37.016745],[113.791561,36.98759],[113.76138,36.956034],[113.792793,36.894796],[113.773083,36.85506],[113.731815,36.858891],[113.731815,36.878521],[113.696707,36.882351],[113.676381,36.855539],[113.680692,36.789907],[113.600004,36.752995],[113.549497,36.752515],[113.535946,36.732373],[113.499606,36.740527],[113.465113,36.707908],[113.506997,36.705029],[113.476816,36.655114],[113.486671,36.635427],[113.54457,36.62342],[113.539642,36.594116],[113.569823,36.585947],[113.588917,36.547974],[113.559968,36.528741],[113.554425,36.494589],[113.587069,36.460904],[113.635729,36.451277],[113.670221,36.425278],[113.708409,36.423352],[113.731199,36.363135],[113.755221,36.366026],[113.813119,36.332285],[113.856851,36.329392],[113.84946,36.347711],[113.882104,36.353977],[113.911054,36.314927],[113.962792,36.353977],[113.981887,36.31782],[114.002828,36.334214],[114.056415,36.329392],[114.04348,36.303353],[114.080437,36.269585],[114.129096,36.280199],[114.175907,36.264759],[114.170364,36.245938],[114.170364,36.245938],[114.203009,36.245456],[114.2104,36.272962],[114.241197,36.251247],[114.257827,36.263794],[114.299095,36.245938],[114.345291,36.255591],[114.356378,36.230492],[114.408117,36.224699],[114.417356,36.205868],[114.466015,36.197658],[114.480181,36.177855],[114.533152,36.171575],[114.586739,36.141133],[114.588587,36.118414],[114.640326,36.137266],[114.720398,36.140166],[114.734564,36.15563],[114.771521,36.124699],[114.857752,36.127599],[114.858368,36.144516],[114.912571,36.140649],[114.926737,36.089403],[114.914419,36.052155],[114.998186,36.069572],[115.04623,36.112613],[115.048693,36.161912],[115.06286,36.178338],[115.104744,36.172058],[115.12507,36.209731],[115.1842,36.193312],[115.201446,36.210214],[115.201446,36.210214],[115.202678,36.209248],[115.202678,36.209248],[115.202678,36.208765],[115.202678,36.208765],[115.242098,36.19138],[115.279055,36.13775],[115.30246,36.127599],[115.312931,36.088436],[115.365902,36.099074],[115.376989,36.128083],[115.450902,36.152248],[115.465068,36.170125],[115.483547,36.148865],[115.474923,36.248352],[115.466916,36.258969],[115.466916,36.258969],[115.462605,36.276339],[115.417025,36.292742],[115.423185,36.32216],[115.366518,36.30914],[115.368982,36.342409],[115.340033,36.398307],[115.297533,36.413239],[115.317243,36.454166],[115.291374,36.460423],[115.272895,36.497476],[115.33141,36.550378],[115.355431,36.627262],[115.365902,36.621979],[115.420105,36.686795],[115.451518,36.702151],[115.479851,36.760187],[115.524815,36.763543],[115.683727,36.808117],[115.71206,36.883308],[115.75764,36.902453],[115.79706,36.968945],[115.776734,36.992848],[115.85619,37.060694],[115.888219,37.112254],[115.879596,37.150901],[115.91224,37.177132],[115.909777,37.20669],[115.969523,37.239572],[115.975682,37.337179],[116.024341,37.360015],[116.085935,37.373809],[116.106261,37.368577],[116.169087,37.384271],[116.193109,37.365723],[116.236224,37.361442],[116.2855,37.404241],[116.226369,37.428007],[116.243,37.447965],[116.224522,37.479791],[116.240536,37.489764],[116.240536,37.489764],[116.27626,37.466967],[116.290427,37.484065],[116.278724,37.524895],[116.295355,37.554316],[116.336007,37.581355],[116.36742,37.566177],[116.379738,37.522047],[116.38097,37.522522],[116.379738,37.522047],[116.38097,37.522522],[116.433941,37.473142],[116.448108,37.503059],[116.4826,37.521573],[116.575607,37.610754],[116.604556,37.624975],[116.66307,37.686096],[116.679085,37.728708],[116.724664,37.744327],[116.753613,37.77035],[116.753613,37.793054],[116.804736,37.848837],[116.837997,37.835132],[116.919301,37.846002],[117.027091,37.832296],[117.074518,37.848837],[117.150278,37.839385],[117.185387,37.849783],[117.271618,37.839858],[117.320278,37.861596],[117.400966,37.844584],[117.438538,37.854035],[117.481038,37.914967],[117.513067,37.94329],[117.524154,37.989527],[117.557414,38.046105],[117.557414,38.046105],[117.586979,38.071551],[117.704624,38.076262],[117.746508,38.12524],[117.771145,38.134655],[117.766834,38.158658],[117.789007,38.180772],[117.808718,38.22827],[117.848754,38.255062],[117.895565,38.301572],[117.948536,38.346644],[117.957775,38.376208],[117.937449,38.387936],[117.84629,38.368232],[117.781,38.373862],[117.730493,38.424985],[117.72495,38.457328],[117.678754,38.477008],[117.644878,38.52759],[117.68553,38.539293],[117.638102,38.54491],[117.639334,38.626776],[117.55803,38.613683],[117.47919,38.616489],[117.432379,38.601524],[117.368937,38.564566],[117.25314,38.556143],[117.238358,38.580943],[117.258684,38.608072],[117.258684,38.608072],[117.213104,38.639866],[117.213104,38.639866],[117.183539,38.61836],[117.183539,38.61836],[117.150894,38.617892],[117.109626,38.584685],[117.070822,38.608072],[117.055424,38.639398],[117.068358,38.680522],[117.038793,38.688464],[116.95133,38.689398],[116.948866,38.689398],[116.950714,38.689398],[116.95133,38.689398],[116.950714,38.689398],[116.948866,38.689398],[116.877417,38.680522],[116.858939,38.741231],[116.794265,38.744498],[116.794265,38.744498],[116.746222,38.754299],[116.737599,38.784629],[116.75115,38.831264],[116.723432,38.852706],[116.722201,38.896968],[116.708034,38.931892],[116.72836,38.975174],[116.754845,39.003084],[116.754229,39.034701],[116.754229,39.034701],[116.783179,39.05097],[116.783179,39.05097],[116.812744,39.05097],[116.812744,39.05097],[116.871874,39.054688],[116.912526,39.110898],[116.91191,39.111362],[116.91191,39.111362],[116.912526,39.110898],[116.909446,39.150822],[116.870026,39.153607],[116.855859,39.215766],[116.881729,39.225966],[116.881729,39.225966],[116.87249,39.291304],[116.889736,39.338068],[116.870642,39.357506],[116.829374,39.338994],[116.818287,39.3737],[116.840461,39.378326],[116.839845,39.413474],[116.876185,39.43474],[116.832454,39.435664],[116.785026,39.465702],[116.820751,39.482332],[116.819519,39.528507],[116.78749,39.554352],[116.808432,39.576497],[116.812128,39.615695],[116.79057,39.595868],[116.748686,39.619844],[116.709266,39.618],[116.726512,39.595407],[116.726512,39.595407],[116.724048,39.59264],[116.723432,39.59264],[116.724048,39.59264],[116.723432,39.59264],[116.664918,39.605552],[116.620571,39.601863],[116.592237,39.621227],[116.592237,39.621227],[116.524484,39.596329],[116.50847,39.551122],[116.473361,39.552968],[116.478289,39.535431],[116.437637,39.526661],[116.443796,39.510041],[116.401912,39.528046],[116.411767,39.482794],[116.444412,39.482332],[116.454883,39.453226],[116.434557,39.442597],[116.361876,39.455074],[116.361876,39.455074],[116.337854,39.455536],[116.307057,39.488337],[116.257782,39.500344],[116.240536,39.564041],[116.198652,39.589412],[116.151841,39.583416],[116.130283,39.567732],[116.09887,39.575113],[116.036044,39.571884],[116.026189,39.587567],[115.995392,39.576958],[115.978146,39.595868],[115.957204,39.560812],[115.910393,39.600479],[115.910393,39.600479],[115.91532,39.582955],[115.91532,39.582955],[115.867893,39.546507],[115.867893,39.546507],[115.828473,39.541431],[115.821081,39.522968],[115.821081,39.522968],[115.806299,39.510041],[115.806299,39.510041],[115.752712,39.515581],[115.738545,39.539585],[115.738545,39.540046],[115.738545,39.539585],[115.738545,39.540046],[115.724995,39.5442],[115.724995,39.5442],[115.722531,39.543738],[115.721299,39.543738],[115.722531,39.543738],[115.722531,39.5442],[115.721299,39.543738],[115.722531,39.5442],[115.720683,39.551122],[115.720683,39.551122],[115.718835,39.553891],[115.718835,39.553891],[115.716988,39.56035],[115.716988,39.56035],[115.699125,39.570039],[115.699125,39.570039],[115.698509,39.577881],[115.698509,39.577881],[115.667712,39.615234],[115.633836,39.599557],[115.633836,39.599557],[115.587024,39.589873],[115.545756,39.618922],[115.518039,39.597252],[115.522351,39.640124],[115.478619,39.650723],[115.478619,39.650723],[115.491554,39.670074],[115.486626,39.741899],[115.439815,39.752022],[115.443511,39.785601],[115.483547,39.798477],[115.483547,39.798477],[115.50572,39.784222],[115.552532,39.794799],[115.567314,39.816407],[115.514344,39.837549],[115.526046,39.87568],[115.515575,39.892212],[115.515575,39.892212],[115.522967,39.899099],[115.481083,39.935819],[115.426264,39.950502],[115.428728,39.984443],[115.450286,39.992697],[115.454597,40.029825],[115.485394,40.040364],[115.527278,40.076092],[115.59072,40.096239],[115.599959,40.119583],[115.75456,40.145663],[115.75456,40.145663],[115.773654,40.176307],[115.806299,40.15344],[115.847567,40.147036],[115.855574,40.188652],[115.870356,40.185909],[115.89869,40.234354],[115.968907,40.264045],[115.95166,40.281852],[115.917784,40.354405],[115.864197,40.359422],[115.771806,40.443734],[115.781045,40.49336],[115.736082,40.503372],[115.755176,40.540221],[115.784741,40.55841],[115.819849,40.55932],[115.827857,40.587504],[115.885139,40.595229],[115.907929,40.617493],[115.971986,40.6025],[115.982457,40.578868],[116.005247,40.583868],[116.09887,40.630665],[116.133979,40.666536],[116.162928,40.662451],[116.171551,40.695582],[116.204812,40.740035],[116.22021,40.744115],[116.247311,40.791707],[116.273181,40.762703],[116.311369,40.754996],[116.316912,40.772221],[116.453651,40.765876],[116.46597,40.774487],[116.438253,40.81934],[116.334159,40.90443],[116.339702,40.929303],[116.370499,40.94377],[116.398216,40.90624],[116.477057,40.899907],[116.447492,40.953715],[116.455499,40.980828],[116.519557,40.98128],[116.519557,40.98128],[116.5676,40.992574],[116.598397,40.974503],[116.623034,41.021026],[116.615643,41.053076],[116.647672,41.059394],[116.688324,41.044501],[116.698795,41.021477],[116.677853,40.970888],[116.722201,40.927495],[116.713577,40.909858],[116.759773,40.889954],[116.81336,40.848319],[116.848468,40.839264],[116.924229,40.773581],[116.926692,40.745022],[116.964881,40.709647],[117.012308,40.693767],[117.11209,40.707379],[117.117018,40.70012],[117.208177,40.694675],[117.278394,40.664267],[117.319662,40.657911],[117.342451,40.673799],[117.408973,40.686961],[117.493973,40.675161],[117.514914,40.660181],[117.501364,40.636569],[117.467487,40.649738],[117.467487,40.649738]]],[[[117.210024,40.082045],[117.204481,40.069681],[117.159517,40.077008],[117.140423,40.064185],[117.105315,40.074261],[117.105315,40.074261],[117.051728,40.059605],[117.025243,40.030283],[116.945171,40.04128],[116.927924,40.055024],[116.867562,40.041739],[116.831222,40.051359],[116.820135,40.02845],[116.781331,40.034866],[116.757925,39.967934],[116.782563,39.947749],[116.78441,39.891294],[116.812128,39.889916],[116.865714,39.843982],[116.907598,39.832494],[116.918069,39.84628],[116.949482,39.778703],[116.902055,39.763523],[116.916837,39.731314],[116.887272,39.72533],[116.889736,39.687576],[116.90575,39.688037],[116.932236,39.706456],[116.932236,39.706456],[116.944555,39.695405],[116.944555,39.695405],[116.948866,39.680668],[116.948866,39.680668],[116.964265,39.64335],[116.983359,39.638742],[116.983359,39.638742],[117.016004,39.653949],[117.10901,39.625375],[117.10901,39.625375],[117.152742,39.623532],[117.177996,39.645194],[117.165061,39.718886],[117.165061,39.718886],[117.161981,39.748801],[117.205713,39.763984],[117.15767,39.796638],[117.156438,39.817326],[117.192162,39.832953],[117.251908,39.834332],[117.247597,39.860981],[117.227887,39.852712],[117.162597,39.876598],[117.162597,39.876598],[117.150894,39.944996],[117.198322,39.992697],[117.192162,40.066475],[117.210024,40.082045]]],[[[117.784696,39.376938],[117.765602,39.400527],[117.699696,39.407463],[117.673211,39.386652],[117.668899,39.412087],[117.614081,39.407001],[117.601146,39.419485],[117.570965,39.404689],[117.521074,39.357043],[117.536472,39.338068],[117.594987,39.349176],[117.669515,39.322792],[117.670747,39.357969],[117.74466,39.354729],[117.784696,39.376938]]],[[[118.869365,39.142932],[118.82009,39.108576],[118.857662,39.098824],[118.869365,39.142932]]]]}},{"type":"Feature","properties":{"adcode":140000,"name":"山西省","center":[112.549248,37.857014],"centroid":[112.304436,37.618179],"childrenNum":11,"level":"province","parent":{"adcode":100000},"subFeatureIndex":3,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[110.379257,34.600612],[110.424837,34.588295],[110.488279,34.610956],[110.533242,34.583368],[110.610851,34.607508],[110.710017,34.605045],[110.749437,34.65232],[110.791937,34.649858],[110.824582,34.615881],[110.883712,34.64395],[110.903422,34.669056],[110.920052,34.730068],[110.976103,34.706456],[111.035233,34.740887],[111.118385,34.756623],[111.148566,34.807742],[111.232949,34.789559],[111.255123,34.819535],[111.29208,34.806759],[111.345666,34.831816],[111.389398,34.815113],[111.439289,34.838202],[111.502731,34.829851],[111.543999,34.853428],[111.570484,34.843114],[111.592042,34.881416],[111.617911,34.894671],[111.646861,34.938836],[111.681969,34.9511],[111.664107,34.984449],[111.740483,35.00455],[111.807005,35.032977],[111.810084,35.062374],[111.933272,35.083435],[111.97762,35.067272],[112.018888,35.068742],[112.039214,35.045717],[112.062004,35.056005],[112.05646,35.098615],[112.066315,35.153437],[112.03983,35.194039],[112.078634,35.219467],[112.058924,35.280069],[112.13838,35.271275],[112.21722,35.253195],[112.242474,35.234622],[112.304684,35.251728],[112.288053,35.219956],[112.36751,35.219956],[112.390915,35.239021],[112.513487,35.218489],[112.637291,35.225822],[112.628052,35.263457],[112.720443,35.206265],[112.772798,35.207732],[112.822073,35.258082],[112.884283,35.243909],[112.934174,35.262968],[112.936022,35.284466],[112.992072,35.29619],[112.985913,35.33965],[112.996384,35.362104],[113.067217,35.353806],[113.126347,35.332327],[113.149137,35.350878],[113.165151,35.412845],[113.185477,35.409431],[113.189789,35.44893],[113.243375,35.449418],[113.304353,35.426989],[113.31236,35.481101],[113.348085,35.468429],[113.391817,35.506925],[113.439244,35.507412],[113.49899,35.532254],[113.513773,35.57364],[113.55812,35.621816],[113.547649,35.656835],[113.578446,35.633491],[113.625258,35.632518],[113.622794,35.674825],[113.592613,35.691838],[113.587685,35.736542],[113.604932,35.797727],[113.582758,35.818111],[113.660982,35.837035],[113.637576,35.870019],[113.654207,35.931586],[113.648663,35.994073],[113.678844,35.985841],[113.694859,36.026991],[113.660366,36.034735],[113.68562,36.056026],[113.671453,36.115514],[113.655439,36.125182],[113.712721,36.129533],[113.705946,36.148865],[113.651127,36.174473],[113.697939,36.181719],[113.681924,36.216491],[113.716417,36.262347],[113.712105,36.303353],[113.736127,36.324571],[113.731199,36.363135],[113.708409,36.423352],[113.670221,36.425278],[113.635729,36.451277],[113.587069,36.460904],[113.554425,36.494589],[113.559968,36.528741],[113.588917,36.547974],[113.569823,36.585947],[113.539642,36.594116],[113.54457,36.62342],[113.486671,36.635427],[113.476816,36.655114],[113.506997,36.705029],[113.465113,36.707908],[113.499606,36.740527],[113.535946,36.732373],[113.549497,36.752515],[113.600004,36.752995],[113.680692,36.789907],[113.676381,36.855539],[113.696707,36.882351],[113.731815,36.878521],[113.731815,36.858891],[113.773083,36.85506],[113.792793,36.894796],[113.76138,36.956034],[113.791561,36.98759],[113.771851,37.016745],[113.788482,37.059739],[113.758301,37.075497],[113.773699,37.107004],[113.773083,37.151855],[113.832213,37.167594],[113.853155,37.215269],[113.886416,37.239095],[113.90243,37.310052],[113.962792,37.355734],[113.973879,37.40329],[114.014531,37.42468],[114.036705,37.494037],[114.118625,37.59084],[114.115545,37.619761],[114.139567,37.675676],[114.12848,37.698409],[114.068118,37.721608],[113.993589,37.706932],[113.996669,37.730128],[114.044712,37.761834],[114.006524,37.813386],[113.976959,37.816696],[113.959097,37.906468],[113.936307,37.922993],[113.901198,37.984811],[113.872249,37.990471],[113.876561,38.055059],[113.811271,38.117707],[113.831597,38.16854],[113.797105,38.162894],[113.720728,38.174656],[113.711489,38.213695],[113.678844,38.20523],[113.64312,38.232031],[113.598772,38.22733],[113.570439,38.237202],[113.54457,38.270569],[113.557504,38.343359],[113.525475,38.383245],[113.537794,38.417952],[113.583374,38.459671],[113.546417,38.492936],[113.561816,38.558483],[113.603084,38.587024],[113.612939,38.645942],[113.70225,38.651551],[113.720728,38.713218],[113.775547,38.709949],[113.802648,38.763166],[113.839605,38.7585],[113.836525,38.795824],[113.855619,38.828933],[113.795257,38.860628],[113.776163,38.885788],[113.76754,38.959819],[113.776779,38.986804],[113.80696,38.989595],[113.898119,39.067699],[113.930148,39.063517],[113.961561,39.100681],[113.994821,39.095572],[114.006524,39.122971],[114.050872,39.135969],[114.064422,39.094179],[114.082901,39.09325],[114.082901,39.09325],[114.10877,39.052364],[114.157429,39.061194],[114.180835,39.049111],[114.252284,39.073739],[114.345907,39.075133],[114.369928,39.107648],[114.360689,39.134112],[114.388406,39.176807],[114.443841,39.174023],[114.47587,39.21623],[114.416124,39.242654],[114.437066,39.259337],[114.430906,39.307513],[114.466631,39.329736],[114.469095,39.400989],[114.496812,39.438437],[114.501739,39.476789],[114.532536,39.486027],[114.568877,39.573729],[114.51529,39.564964],[114.49558,39.608318],[114.431522,39.613851],[114.408117,39.652106],[114.409964,39.761683],[114.41674,39.775943],[114.390254,39.819165],[114.406885,39.833413],[114.395182,39.867412],[114.285545,39.858225],[114.286776,39.871087],[114.215943,39.8619],[114.204241,39.885324],[114.229494,39.899558],[114.212248,39.918839],[114.17406,39.897722],[114.067502,39.922511],[114.047176,39.916085],[114.028082,39.959218],[114.029314,39.985819],[113.910438,40.015618],[113.959097,40.033491],[113.989278,40.11226],[114.018227,40.103563],[114.045944,40.056856],[114.086596,40.071513],[114.101995,40.099901],[114.073046,40.168533],[114.073046,40.168533],[114.097683,40.193681],[114.135871,40.175392],[114.180219,40.191395],[114.235654,40.198252],[114.255364,40.236182],[114.292936,40.230242],[114.362537,40.249886],[114.406269,40.246232],[114.46971,40.268155],[114.510978,40.302851],[114.530688,40.345283],[114.481413,40.34802],[114.438914,40.371733],[114.390254,40.351213],[114.381015,40.36307],[114.31203,40.372645],[114.286161,40.425057],[114.299711,40.44009],[114.267066,40.474242],[114.282465,40.494725],[114.293552,40.55159],[114.273842,40.552954],[114.283081,40.590685],[114.236269,40.607043],[114.183299,40.67153],[114.162357,40.71373],[114.134639,40.737314],[114.084748,40.729605],[114.063806,40.706925],[114.07243,40.679246],[114.041633,40.608861],[114.076741,40.575686],[114.080437,40.547952],[114.061959,40.52885],[114.011452,40.515657],[113.948626,40.514747],[113.890112,40.466503],[113.850691,40.460583],[113.794641,40.517932],[113.763228,40.473787],[113.688699,40.448288],[113.559968,40.348476],[113.500222,40.334335],[113.387505,40.319279],[113.316672,40.319736],[113.27602,40.388601],[113.251382,40.413211],[113.083231,40.374925],[113.03334,40.368997],[112.898449,40.329317],[112.848558,40.206937],[112.744464,40.167161],[112.712436,40.178593],[112.6299,40.235725],[112.511639,40.269068],[112.456205,40.300112],[112.418017,40.295091],[112.349031,40.257194],[112.310227,40.256281],[112.299756,40.21105],[112.232619,40.169905],[112.232003,40.133311],[112.183344,40.083877],[112.182112,40.061437],[112.142076,40.027076],[112.133453,40.001866],[112.07617,39.919298],[112.042294,39.886243],[112.012729,39.827438],[111.970229,39.796638],[111.959758,39.692642],[111.925265,39.66731],[111.9382,39.623071],[111.87907,39.606013],[111.842729,39.620305],[111.783599,39.58895],[111.722621,39.606013],[111.659179,39.641507],[111.625303,39.633672],[111.525521,39.662242],[111.497187,39.661781],[111.445448,39.640124],[111.460847,39.606935],[111.441137,39.59679],[111.422043,39.539123],[111.431282,39.508656],[111.372152,39.479099],[111.358601,39.432428],[111.337043,39.420872],[111.171971,39.423183],[111.143022,39.407926],[111.125776,39.366297],[111.159037,39.362596],[111.155341,39.338531],[111.186138,39.35149],[111.179363,39.326959],[111.202152,39.305197],[111.247732,39.302419],[111.213239,39.257021],[111.219399,39.244044],[111.163348,39.152678],[111.173819,39.135041],[111.147334,39.100681],[111.138095,39.064447],[111.094363,39.030053],[111.038313,39.020289],[110.998276,38.998433],[110.980414,38.970056],[111.009979,38.932823],[111.016755,38.889981],[110.995813,38.868084],[111.009363,38.847579],[110.965016,38.755699],[110.915125,38.704345],[110.916357,38.673981],[110.880632,38.626776],[110.898494,38.587024],[110.920052,38.581878],[110.907733,38.521035],[110.870777,38.510265],[110.874473,38.453579],[110.840596,38.439986],[110.796864,38.453579],[110.77777,38.440924],[110.746973,38.366355],[110.701394,38.353215],[110.661358,38.308617],[110.601612,38.308147],[110.57759,38.297345],[110.565887,38.215105],[110.528315,38.211814],[110.509221,38.192061],[110.519692,38.130889],[110.501829,38.097929],[110.507989,38.013107],[110.528315,37.990471],[110.522771,37.955088],[110.59422,37.922049],[110.680452,37.790216],[110.735886,37.77035],[110.750669,37.736281],[110.716792,37.728708],[110.706321,37.705511],[110.775306,37.680886],[110.793169,37.650567],[110.763604,37.639668],[110.771611,37.594634],[110.795017,37.558586],[110.770995,37.538184],[110.759292,37.474567],[110.740198,37.44939],[110.644111,37.435135],[110.630561,37.372858],[110.641648,37.360015],[110.695234,37.34955],[110.678604,37.317668],[110.690307,37.287201],[110.661974,37.281963],[110.651503,37.256722],[110.590525,37.187145],[110.53509,37.138021],[110.535706,37.115118],[110.49567,37.086956],[110.460561,37.044932],[110.417446,37.027257],[110.426685,37.008621],[110.382953,37.022001],[110.381721,37.002408],[110.424221,36.963685],[110.408823,36.892403],[110.376178,36.882351],[110.424221,36.855539],[110.406975,36.824886],[110.423605,36.818179],[110.407591,36.776007],[110.447011,36.737649],[110.438388,36.685835],[110.402663,36.697352],[110.394656,36.676716],[110.426685,36.657514],[110.447627,36.621018],[110.496902,36.582102],[110.488895,36.556628],[110.503677,36.488335],[110.47288,36.453203],[110.489511,36.430094],[110.487047,36.393972],[110.459946,36.327946],[110.474112,36.306729],[110.474112,36.248352],[110.45625,36.22663],[110.447011,36.164328],[110.467953,36.074893],[110.491974,36.034735],[110.49259,35.994073],[110.516612,35.971796],[110.502445,35.947575],[110.516612,35.918501],[110.511684,35.879718],[110.549257,35.877778],[110.550489,35.838005],[110.571431,35.800639],[110.57759,35.701559],[110.609619,35.632031],[110.589293,35.602355],[110.567735,35.539559],[110.531394,35.511309],[110.477808,35.413821],[110.45009,35.327933],[110.374946,35.251728],[110.378642,35.210666],[110.364475,35.197952],[110.373714,35.134351],[110.320743,35.00504],[110.262229,34.944233],[110.230816,34.880925],[110.246831,34.789068],[110.243135,34.725641],[110.229584,34.692679],[110.269004,34.629671],[110.29549,34.610956],[110.379257,34.600612]]]]}},{"type":"Feature","properties":{"adcode":150000,"name":"内蒙古自治区","center":[111.670801,40.818311],"centroid":[114.077429,44.331087],"childrenNum":12,"level":"province","parent":{"adcode":100000},"subFeatureIndex":4,"acroutes":[100000]},"geometry":{"type":"Polygon","coordinates":[[[97.172903,42.795257],[97.371235,42.457076],[97.500582,42.243894],[97.653335,41.986856],[97.84674,41.656379],[97.613915,41.477276],[97.629314,41.440498],[97.903407,41.168057],[97.971776,41.09774],[98.142391,41.001607],[98.184891,40.988056],[98.25018,40.93925],[98.333332,40.918903],[98.344419,40.568413],[98.627751,40.677884],[98.569853,40.746836],[98.668403,40.773128],[98.689345,40.691952],[98.72199,40.657911],[98.762642,40.639748],[98.802678,40.607043],[98.80699,40.660181],[98.790975,40.705564],[98.984996,40.782644],[99.041662,40.693767],[99.102025,40.676522],[99.12543,40.715091],[99.172858,40.747289],[99.174705,40.858278],[99.565827,40.846961],[99.673,40.93292],[99.985897,40.909858],[100.057346,40.908049],[100.107853,40.875475],[100.224882,40.727337],[100.237201,40.716905],[100.242744,40.618855],[100.169447,40.541131],[100.169447,40.277743],[100.007455,40.20008],[99.955716,40.150695],[99.927383,40.063727],[99.841152,40.013326],[99.751225,40.006909],[99.714268,39.972061],[99.533182,39.891753],[99.491298,39.884406],[99.459885,39.898181],[99.440791,39.885783],[99.469124,39.875221],[99.672384,39.888079],[99.822058,39.860063],[99.904593,39.785601],[99.958796,39.769504],[100.040716,39.757083],[100.128179,39.702312],[100.250135,39.685274],[100.314193,39.606935],[100.301258,39.572345],[100.326512,39.509118],[100.44354,39.485565],[100.500823,39.481408],[100.498975,39.400527],[100.606764,39.387577],[100.707778,39.404689],[100.842053,39.405614],[100.842669,39.199999],[100.864227,39.106719],[100.829118,39.075133],[100.835278,39.025869],[100.875314,39.002619],[100.901799,39.030053],[100.961545,39.005874],[100.969553,38.946788],[101.117378,38.975174],[101.228863,39.020754],[101.198682,38.943064],[101.237486,38.907214],[101.24303,38.860628],[101.33542,38.847113],[101.34158,38.822406],[101.307087,38.80282],[101.331109,38.777164],[101.412413,38.764099],[101.562702,38.713218],[101.601506,38.65529],[101.672955,38.6908],[101.777049,38.66043],[101.873751,38.733761],[101.941505,38.808883],[102.075164,38.891378],[102.045599,38.904885],[101.955055,38.985874],[101.926106,39.000758],[101.833715,39.08907],[101.902701,39.111827],[102.012338,39.127149],[102.050526,39.141075],[102.276576,39.188868],[102.3548,39.231993],[102.45335,39.255167],[102.579002,39.183301],[102.616574,39.171703],[102.883892,39.120649],[103.007696,39.099753],[103.133347,39.192579],[103.188166,39.215302],[103.259615,39.263971],[103.344615,39.331588],[103.428998,39.353341],[103.595302,39.386652],[103.728961,39.430117],[103.85338,39.461543],[103.955626,39.456923],[104.089901,39.419947],[104.073271,39.351953],[104.047401,39.297788],[104.171205,39.160567],[104.207546,39.083495],[104.190915,39.042139],[104.196459,38.9882],[104.173053,38.94446],[104.044322,38.895105],[104.011677,38.85923],[103.85954,38.64454],[103.416063,38.404821],[103.465339,38.353215],[103.507838,38.280905],[103.53494,38.156776],[103.368636,38.08898],[103.362477,38.037621],[103.40744,37.860651],[103.627947,37.797783],[103.683381,37.777919],[103.841062,37.64725],[103.874938,37.604117],[103.935916,37.572818],[104.089285,37.465067],[104.183524,37.406618],[104.237727,37.411847],[104.287002,37.428007],[104.322726,37.44844],[104.407726,37.464592],[104.419429,37.511604],[104.433595,37.515402],[104.623305,37.522522],[104.805007,37.539133],[104.866601,37.566651],[105.027977,37.580881],[105.111128,37.633981],[105.187505,37.657674],[105.221998,37.677097],[105.315004,37.702197],[105.4037,37.710246],[105.467141,37.695094],[105.598952,37.699356],[105.616199,37.722555],[105.622358,37.777919],[105.677177,37.771769],[105.760944,37.799674],[105.80406,37.862068],[105.799749,37.939986],[105.840401,38.004147],[105.780655,38.084741],[105.76772,38.121474],[105.775111,38.186887],[105.802828,38.220277],[105.842248,38.240962],[105.86627,38.296406],[105.821307,38.366824],[105.835473,38.387467],[105.827466,38.432486],[105.850872,38.443736],[105.836705,38.476071],[105.863806,38.53508],[105.856415,38.569714],[105.874277,38.593105],[105.852719,38.641735],[105.894603,38.696405],[105.88598,38.716953],[105.908154,38.737496],[105.909386,38.791159],[105.992538,38.857366],[105.97098,38.909077],[106.021487,38.953769],[106.060907,38.96866],[106.087392,39.006339],[106.078153,39.026333],[106.096631,39.084889],[106.145907,39.153142],[106.170544,39.163352],[106.192718,39.142932],[106.251232,39.131327],[106.285109,39.146181],[106.29558,39.167992],[106.280181,39.262118],[106.402753,39.291767],[106.511774,39.272311],[106.525325,39.308439],[106.556122,39.322329],[106.602318,39.37555],[106.643586,39.357969],[106.683622,39.357506],[106.751375,39.381564],[106.781556,39.371849],[106.806809,39.318625],[106.806193,39.277407],[106.790795,39.241263],[106.795723,39.214375],[106.825288,39.19397],[106.859164,39.107648],[106.878874,39.091392],[106.933693,39.076527],[106.96757,39.054688],[106.971881,39.026333],[106.954019,38.941202],[106.837606,38.847579],[106.756302,38.748699],[106.709491,38.718821],[106.66268,38.601524],[106.647897,38.470917],[106.599854,38.389812],[106.482209,38.319417],[106.555506,38.263521],[106.627571,38.232501],[106.654672,38.22921],[106.737824,38.197706],[106.779092,38.171833],[106.858548,38.156306],[106.942316,38.132302],[107.010069,38.120532],[107.051337,38.122886],[107.071047,38.138892],[107.119091,38.134185],[107.138801,38.161011],[107.19054,38.153953],[107.240431,38.111586],[107.33159,38.086625],[107.3938,38.014993],[107.440611,37.995659],[107.411662,37.948009],[107.448618,37.933378],[107.49235,37.944706],[107.560719,37.893717],[107.65003,37.86443],[107.684523,37.888522],[107.732566,37.84931],[107.842819,37.828987],[107.884703,37.808186],[107.982022,37.787378],[107.993109,37.735335],[108.025753,37.696041],[108.012819,37.66857],[108.025137,37.649619],[108.055318,37.652462],[108.134159,37.622131],[108.193905,37.638246],[108.205608,37.655779],[108.24626,37.665728],[108.293071,37.656726],[108.301078,37.640616],[108.422418,37.648672],[108.485244,37.678044],[108.532671,37.690832],[108.628142,37.651988],[108.699591,37.669518],[108.720533,37.683728],[108.777815,37.683728],[108.791982,37.700303],[108.784591,37.764673],[108.799989,37.784068],[108.791982,37.872934],[108.798141,37.93385],[108.82709,37.989056],[108.797525,38.04799],[108.830786,38.049875],[108.883141,38.01405],[108.893612,37.978207],[108.93488,37.922521],[108.9743,37.931962],[108.982923,37.964053],[109.018648,37.971602],[109.037742,38.021593],[109.06977,38.023008],[109.050676,38.055059],[109.069155,38.091336],[108.964445,38.154894],[108.938575,38.207582],[108.976148,38.245192],[108.961981,38.26493],[109.007561,38.359316],[109.051292,38.385122],[109.054372,38.433892],[109.128901,38.480288],[109.175712,38.518694],[109.196654,38.552867],[109.276726,38.623035],[109.331545,38.597783],[109.367269,38.627711],[109.329081,38.66043],[109.338936,38.701542],[109.404226,38.720689],[109.444262,38.782763],[109.511399,38.833595],[109.549587,38.805618],[109.624116,38.85457],[109.672159,38.928167],[109.685094,38.968195],[109.665384,38.981687],[109.72513,39.018429],[109.762086,39.057476],[109.793499,39.074204],[109.851397,39.122971],[109.890818,39.103932],[109.92223,39.107183],[109.893897,39.141075],[109.961035,39.191651],[109.871723,39.243581],[109.90252,39.271848],[109.962267,39.212056],[110.041107,39.21623],[110.109476,39.249606],[110.217881,39.281113],[110.184005,39.355192],[110.161831,39.387115],[110.136577,39.39174],[110.12549,39.432891],[110.152592,39.45415],[110.243751,39.423645],[110.257917,39.407001],[110.385417,39.310291],[110.429764,39.341308],[110.434692,39.381101],[110.482735,39.360745],[110.524003,39.382952],[110.559728,39.351027],[110.566503,39.320014],[110.596684,39.282966],[110.626249,39.266751],[110.702626,39.273701],[110.731575,39.30705],[110.73835,39.348713],[110.782698,39.38804],[110.869545,39.494341],[110.891103,39.509118],[110.958856,39.519275],[111.017371,39.552045],[111.101138,39.559428],[111.136863,39.587106],[111.154725,39.569116],[111.148566,39.531277],[111.10545,39.497573],[111.10545,39.472631],[111.058639,39.447681],[111.064182,39.400989],[111.098059,39.401914],[111.087588,39.376013],[111.125776,39.366297],[111.143022,39.407926],[111.171971,39.423183],[111.337043,39.420872],[111.358601,39.432428],[111.372152,39.479099],[111.431282,39.508656],[111.422043,39.539123],[111.441137,39.59679],[111.460847,39.606935],[111.445448,39.640124],[111.497187,39.661781],[111.525521,39.662242],[111.625303,39.633672],[111.659179,39.641507],[111.722621,39.606013],[111.783599,39.58895],[111.842729,39.620305],[111.87907,39.606013],[111.9382,39.623071],[111.925265,39.66731],[111.959758,39.692642],[111.970229,39.796638],[112.012729,39.827438],[112.042294,39.886243],[112.07617,39.919298],[112.133453,40.001866],[112.142076,40.027076],[112.182112,40.061437],[112.183344,40.083877],[112.232003,40.133311],[112.232619,40.169905],[112.299756,40.21105],[112.310227,40.256281],[112.349031,40.257194],[112.418017,40.295091],[112.456205,40.300112],[112.511639,40.269068],[112.6299,40.235725],[112.712436,40.178593],[112.744464,40.167161],[112.848558,40.206937],[112.898449,40.329317],[113.03334,40.368997],[113.083231,40.374925],[113.251382,40.413211],[113.27602,40.388601],[113.316672,40.319736],[113.387505,40.319279],[113.500222,40.334335],[113.559968,40.348476],[113.688699,40.448288],[113.763228,40.473787],[113.794641,40.517932],[113.850691,40.460583],[113.890112,40.466503],[113.948626,40.514747],[114.011452,40.515657],[114.061959,40.52885],[114.080437,40.547952],[114.076741,40.575686],[114.041633,40.608861],[114.07243,40.679246],[114.063806,40.706925],[114.084748,40.729605],[114.134639,40.737314],[114.103227,40.770861],[114.104458,40.797597],[114.080437,40.790348],[114.044712,40.830661],[114.073661,40.857372],[114.055183,40.867782],[114.041633,40.917546],[114.057647,40.925234],[113.994821,40.938798],[113.973263,40.983087],[113.868554,41.06887],[113.819279,41.09774],[113.877793,41.115777],[113.920293,41.172112],[113.960945,41.171211],[113.996669,41.19238],[114.016379,41.231999],[113.992357,41.269794],[113.971416,41.239649],[113.95109,41.282837],[113.914749,41.294529],[113.899351,41.316108],[113.92522,41.325546],[113.94493,41.392477],[113.871017,41.413126],[113.877793,41.431076],[113.919677,41.454404],[113.933227,41.487139],[113.953553,41.483553],[113.976959,41.505966],[114.032394,41.529715],[114.101379,41.537779],[114.230726,41.513584],[114.221487,41.582111],[114.226414,41.616572],[114.259059,41.623282],[114.215328,41.68499],[114.237501,41.698843],[114.206704,41.7386],[114.215328,41.75646],[114.200545,41.789934],[114.282465,41.863517],[114.343443,41.926774],[114.352066,41.953484],[114.419203,41.942356],[114.478334,41.951704],[114.511594,41.981962],[114.467863,42.025989],[114.480181,42.064654],[114.502355,42.06732],[114.510978,42.110844],[114.560254,42.132595],[114.647717,42.109512],[114.675434,42.12061],[114.75489,42.115727],[114.789383,42.130819],[114.79431,42.149457],[114.825723,42.139695],[114.86268,42.097967],[114.860832,42.054879],[114.9021,42.015763],[114.915035,41.960605],[114.923658,41.871093],[114.939056,41.846132],[114.922426,41.825175],[114.868839,41.813579],[114.89594,41.76762],[114.902716,41.695715],[114.895325,41.636255],[114.860832,41.60091],[115.016049,41.615229],[115.056085,41.602253],[115.0992,41.62373],[115.195287,41.602253],[115.20391,41.571367],[115.256881,41.580768],[115.26612,41.616124],[115.290142,41.622835],[115.310468,41.592854],[115.377605,41.603148],[115.345576,41.635807],[115.360975,41.661297],[115.319091,41.691693],[115.346808,41.712247],[115.42996,41.728775],[115.488474,41.760924],[115.519887,41.76762],[115.57409,41.80555],[115.654162,41.829189],[115.688038,41.867528],[115.726227,41.870202],[115.811226,41.912525],[115.834632,41.93835],[115.85311,41.927665],[115.916552,41.945027],[115.954124,41.874213],[115.994776,41.828743],[116.007095,41.797966],[116.007095,41.79752],[116.034196,41.782795],[116.09887,41.776547],[116.129051,41.805996],[116.106877,41.831419],[116.122892,41.861734],[116.194341,41.861734],[116.212819,41.885352],[116.223906,41.932562],[116.298434,41.96817],[116.310137,41.997086],[116.373579,42.009983],[116.414231,41.982407],[116.393289,41.942802],[116.453651,41.945917],[116.4826,41.975734],[116.510933,41.974399],[116.553433,41.928555],[116.597165,41.935679],[116.639049,41.929891],[116.66923,41.947698],[116.727744,41.951259],[116.748686,41.984186],[116.796113,41.977958],[116.879881,42.018431],[116.890352,42.092639],[116.850316,42.156556],[116.825062,42.155669],[116.789338,42.200462],[116.903287,42.190708],[116.918685,42.229716],[116.897743,42.297479],[116.886656,42.366496],[116.910678,42.394789],[116.910062,42.395231],[116.921765,42.403628],[116.936547,42.410256],[116.944555,42.415116],[116.97104,42.427486],[116.974736,42.426603],[116.99075,42.425719],[117.005533,42.43367],[117.009228,42.44957],[117.01662,42.456193],[117.080061,42.463699],[117.09546,42.484004],[117.135496,42.468996],[117.188467,42.468114],[117.275314,42.481797],[117.332596,42.46105],[117.390495,42.461933],[117.413284,42.471645],[117.410205,42.519743],[117.387415,42.517537],[117.434226,42.557224],[117.435458,42.585431],[117.475494,42.602613],[117.530313,42.590278],[117.537088,42.603054],[117.60053,42.603054],[117.667051,42.582347],[117.708935,42.588515],[117.779768,42.61847],[117.801326,42.612744],[117.797631,42.585431],[117.856761,42.539148],[117.874007,42.510038],[117.997811,42.416884],[118.024296,42.385064],[118.008898,42.346595],[118.060021,42.298364],[118.047702,42.280656],[117.974405,42.25054],[117.977485,42.229716],[118.033535,42.199132],[118.106216,42.172082],[118.089586,42.12283],[118.097593,42.105072],[118.155491,42.081091],[118.116687,42.037102],[118.194296,42.031324],[118.220165,42.058434],[118.212774,42.081091],[118.239259,42.092639],[118.27252,42.083312],[118.296541,42.057545],[118.286686,42.033991],[118.239875,42.024655],[118.291614,42.007759],[118.313788,41.98819],[118.306396,41.940131],[118.268824,41.930336],[118.340273,41.87243],[118.335346,41.845241],[118.29223,41.772976],[118.247266,41.773869],[118.236179,41.80778],[118.178281,41.814917],[118.140093,41.784134],[118.132702,41.733241],[118.155491,41.712694],[118.159187,41.67605],[118.206614,41.650566],[118.215237,41.59554],[118.302701,41.55256],[118.315636,41.512688],[118.271904,41.471446],[118.327338,41.450816],[118.348896,41.428384],[118.361215,41.384844],[118.348896,41.342622],[118.380309,41.312062],[118.412338,41.331838],[118.528135,41.355202],[118.629765,41.346666],[118.677192,41.35026],[118.741866,41.324198],[118.770199,41.352956],[118.843496,41.374516],[118.844727,41.342622],[118.890923,41.300823],[118.949437,41.317906],[118.980234,41.305769],[119.092951,41.293629],[119.168712,41.294978],[119.197661,41.282837],[119.211827,41.308016],[119.239545,41.31431],[119.296211,41.325097],[119.330704,41.385293],[119.309762,41.405944],[119.376283,41.422102],[119.378131,41.459787],[119.401537,41.472343],[119.406464,41.503276],[119.361501,41.545841],[119.362116,41.566442],[119.420015,41.567785],[119.415703,41.590169],[119.342406,41.617914],[119.307914,41.657273],[119.299907,41.705545],[119.319001,41.727435],[119.317769,41.764049],[119.292515,41.790827],[119.312841,41.80555],[119.334399,41.871539],[119.323312,41.889807],[119.340559,41.926774],[119.323928,41.937014],[119.324544,41.969505],[119.375667,42.023322],[119.384906,42.08953],[119.352261,42.118391],[119.314689,42.119723],[119.30853,42.147239],[119.286972,42.154781],[119.277733,42.185387],[119.237697,42.200905],[119.274037,42.239021],[119.280197,42.260728],[119.34795,42.300578],[119.432949,42.317396],[119.482841,42.347037],[119.502551,42.388159],[119.540123,42.363401],[119.572152,42.359421],[119.571536,42.335536],[119.539507,42.297922],[119.557985,42.289068],[119.609108,42.276671],[119.617115,42.252755],[119.679941,42.240793],[119.744615,42.211545],[119.841933,42.215534],[119.854868,42.170308],[119.837622,42.135257],[119.845629,42.097079],[119.87581,42.077982],[119.897368,42.030879],[119.921389,42.014429],[119.924469,41.98908],[119.950954,41.974399],[119.954034,41.923212],[119.989759,41.899163],[120.023019,41.816701],[120.041498,41.818932],[120.050737,41.776101],[120.024867,41.737707],[120.035954,41.708226],[120.096316,41.697056],[120.1382,41.729221],[120.127113,41.77253],[120.183164,41.826513],[120.188707,41.848361],[120.215808,41.853265],[120.251533,41.884016],[120.286641,41.880005],[120.290337,41.897381],[120.260156,41.904062],[120.271859,41.925439],[120.318054,41.93746],[120.309431,41.951704],[120.373489,41.994862],[120.399358,41.984631],[120.456641,42.016208],[120.450481,42.057101],[120.493597,42.073539],[120.466496,42.105516],[120.56751,42.152119],[120.58414,42.167203],[120.624792,42.154338],[120.72211,42.203565],[120.745516,42.223512],[120.79048,42.218636],[120.820661,42.227943],[120.8299,42.252755],[120.883487,42.242565],[120.883487,42.269585],[120.933994,42.27977],[120.992508,42.264714],[121.028848,42.242565],[121.070732,42.254083],[121.087978,42.278885],[121.120623,42.280656],[121.133558,42.300135],[121.184681,42.333324],[121.218558,42.371802],[121.285079,42.387717],[121.314644,42.42837],[121.304789,42.435879],[121.386093,42.474294],[121.434752,42.475176],[121.4791,42.49636],[121.506201,42.482239],[121.570875,42.487093],[121.607831,42.516214],[121.604136,42.495037],[121.66573,42.437204],[121.69899,42.438529],[121.747649,42.484887],[121.803084,42.514891],[121.817867,42.504303],[121.831417,42.533856],[121.844352,42.522389],[121.889931,42.556784],[121.921344,42.605697],[121.915801,42.656332],[121.94167,42.666014],[121.939207,42.688453],[122.018663,42.69901],[122.062394,42.723635],[122.072865,42.710444],[122.160945,42.684934],[122.204676,42.685374],[122.204676,42.732867],[122.261343,42.695931],[122.324785,42.684934],[122.338951,42.669975],[122.396234,42.684054],[122.396234,42.707366],[122.460907,42.755282],[122.439349,42.770221],[122.371596,42.776371],[122.35127,42.830378],[122.436886,42.843105],[122.556378,42.827745],[122.576088,42.819405],[122.580399,42.789987],[122.624747,42.773296],[122.653696,42.78252],[122.733152,42.786034],[122.73808,42.77066],[122.786123,42.757479],[122.848949,42.712203],[122.883442,42.751766],[122.887137,42.770221],[122.925941,42.772417],[122.945651,42.753524],[122.980144,42.777689],[123.058368,42.768903],[123.118114,42.801405],[123.227752,42.831695],[123.169853,42.859777],[123.188947,42.895739],[123.18402,42.925983],[123.259165,42.993431],[123.323222,43.000872],[123.434707,43.027565],[123.474743,43.042438],[123.536337,43.007],[123.572678,43.003498],[123.580685,43.036314],[123.631192,43.088346],[123.636119,43.141644],[123.666916,43.179623],[123.645974,43.208855],[123.676771,43.223684],[123.664453,43.264663],[123.698329,43.272071],[123.703873,43.37047],[123.608402,43.366119],[123.54496,43.415262],[123.519707,43.402219],[123.486446,43.44525],[123.442098,43.437863],[123.419925,43.410046],[123.382968,43.469143],[123.36449,43.483475],[123.315831,43.492159],[123.329998,43.519071],[123.304744,43.550742],[123.360179,43.567223],[123.452569,43.545971],[123.461193,43.568523],[123.434091,43.575461],[123.421157,43.598435],[123.5117,43.592801],[123.510468,43.624867],[123.536953,43.633964],[123.518475,43.682024],[123.520323,43.708419],[123.48275,43.737396],[123.498149,43.771114],[123.461809,43.822518],[123.467968,43.853599],[123.397135,43.954929],[123.37065,43.970006],[123.400831,43.979481],[123.365722,44.013922],[123.331229,44.028984],[123.32815,44.084035],[123.350939,44.092633],[123.362642,44.133452],[123.386664,44.161794],[123.323838,44.179823],[123.286882,44.211574],[123.277027,44.25274],[123.196955,44.34483],[123.128585,44.367081],[123.114419,44.40258],[123.142136,44.428228],[123.125506,44.455147],[123.137209,44.486322],[123.12489,44.5098],[123.06576,44.505959],[123.025108,44.493153],[122.85634,44.398304],[122.76087,44.369648],[122.702971,44.319145],[122.675254,44.285738],[122.641993,44.283595],[122.515726,44.251025],[122.483081,44.236877],[122.319241,44.233018],[122.271198,44.255741],[122.291524,44.310152],[122.294604,44.41113],[122.28598,44.477783],[122.228082,44.480345],[122.224386,44.526016],[122.196053,44.559712],[122.13138,44.577619],[122.113517,44.615546],[122.103046,44.67388],[122.117213,44.701961],[122.161561,44.728328],[122.152322,44.744057],[122.10243,44.736406],[122.110438,44.767856],[122.142467,44.753833],[122.168952,44.770405],[122.099967,44.7823],[122.098119,44.81882],[122.04946,44.912985],[122.079025,44.914256],[122.087032,44.95281],[122.074713,45.006573],[122.098735,45.02138],[122.119677,45.068739],[122.109822,45.142236],[122.143082,45.183167],[122.192358,45.180636],[122.22993,45.206784],[122.239169,45.276313],[122.147394,45.295682],[122.146778,45.374352],[122.180039,45.409655],[122.168336,45.439897],[122.064242,45.472641],[122.002648,45.507882],[121.993409,45.552741],[121.966308,45.596308],[121.995873,45.59882],[122.003264,45.623102],[121.970004,45.692956],[121.934279,45.71051],[121.867142,45.719703],[121.812323,45.704659],[121.811091,45.687103],[121.713773,45.701734],[121.666345,45.727641],[121.644172,45.752284],[121.657106,45.770238],[121.697142,45.76314],[121.754425,45.794862],[121.766744,45.830318],[121.769823,45.84366],[121.817251,45.875336],[121.805548,45.900746],[121.821562,45.918235],[121.809243,45.961102],[121.761816,45.998947],[121.819098,46.023054],[121.843736,46.024301],[121.864062,46.002272],[121.923808,46.004767],[121.92812,45.988552],[122.040221,45.959022],[122.085184,45.912406],[122.091344,45.882002],[122.200981,45.857],[122.236705,45.831569],[122.253952,45.7982],[122.301379,45.813218],[122.337719,45.859917],[122.372828,45.856166],[122.362357,45.917403],[122.446125,45.916986],[122.496016,45.85825],[122.504639,45.786933],[122.522501,45.786933],[122.556378,45.82156],[122.603189,45.778169],[122.640761,45.771072],[122.650001,45.731401],[122.671558,45.70048],[122.741775,45.705077],[122.751015,45.735996],[122.792283,45.766063],[122.752246,45.834905],[122.772572,45.856583],[122.80029,45.856583],[122.828623,45.912406],[122.792898,46.073313],[123.04605,46.099878],[123.070071,46.123527],[123.112571,46.130163],[123.102716,46.172037],[123.127354,46.174523],[123.128585,46.210565],[123.178476,46.248239],[123.142136,46.298293],[123.089781,46.347888],[123.011557,46.434984],[123.010325,46.524823],[123.002318,46.574624],[123.052825,46.579972],[123.04605,46.617803],[123.077462,46.622324],[123.098404,46.603002],[123.18094,46.614103],[123.228368,46.588198],[123.279491,46.616981],[123.276411,46.660947],[123.318295,46.662179],[123.366338,46.677784],[123.474743,46.686817],[123.603475,46.68928],[123.631808,46.728675],[123.629344,46.813524],[123.580069,46.827447],[123.625648,46.847508],[123.599163,46.868378],[123.605322,46.891286],[123.576989,46.891286],[123.575757,46.845461],[123.562823,46.82581],[123.506772,46.827038],[123.483366,46.84587],[123.52833,46.944836],[123.487678,46.959951],[123.42362,46.934212],[123.337389,46.988943],[123.301664,46.999965],[123.304128,46.964852],[123.360179,46.970978],[123.404526,46.935438],[123.40699,46.906416],[123.374345,46.837683],[123.341084,46.826628],[123.295505,46.865105],[123.221592,46.850373],[123.22344,46.821305],[123.198802,46.803283],[123.163694,46.74016],[123.103332,46.734828],[123.076846,46.745082],[123.026339,46.718829],[123.00355,46.730726],[122.996774,46.761483],[122.906847,46.80738],[122.893913,46.895376],[122.895144,46.960359],[122.83971,46.937072],[122.791051,46.941567],[122.798442,46.9575],[122.77442,46.973837],[122.778116,47.002822],[122.845869,47.046881],[122.852645,47.072158],[122.821232,47.065636],[122.710363,47.093349],[122.679566,47.094164],[122.615508,47.124306],[122.582863,47.158092],[122.531124,47.198771],[122.498479,47.255262],[122.462755,47.27841],[122.441197,47.310476],[122.418407,47.350632],[122.507103,47.401291],[122.543443,47.495589],[122.59395,47.54732],[122.765181,47.614333],[122.848949,47.67441],[122.926557,47.697777],[123.041122,47.746492],[123.161846,47.781892],[123.214201,47.824502],[123.256085,47.876711],[123.300432,47.953723],[123.537569,48.021816],[123.579453,48.045427],[123.705105,48.152142],[123.746373,48.197638],[123.862785,48.271782],[124.019234,48.39313],[124.07898,48.43603],[124.136878,48.463023],[124.25945,48.536385],[124.314269,48.503881],[124.302566,48.456673],[124.330283,48.435633],[124.309957,48.413393],[124.331515,48.380015],[124.317964,48.35099],[124.353689,48.315978],[124.365392,48.283731],[124.422058,48.245884],[124.412819,48.219175],[124.418978,48.181679],[124.475029,48.173698],[124.471333,48.133373],[124.430065,48.12099],[124.415899,48.08782],[124.46579,48.098213],[124.478108,48.123387],[124.505826,48.124985],[124.529847,48.146951],[124.512601,48.164518],[124.547094,48.200829],[124.579122,48.262221],[124.558796,48.268197],[124.579738,48.297269],[124.540934,48.335476],[124.547094,48.35775],[124.51876,48.378027],[124.52492,48.426897],[124.507674,48.445558],[124.555717,48.467784],[124.533543,48.515379],[124.548941,48.535593],[124.520608,48.556195],[124.579122,48.596582],[124.601912,48.632587],[124.624702,48.701755],[124.612383,48.747945],[124.656115,48.783842],[124.644412,48.80789],[124.654267,48.83429],[124.697383,48.841775],[124.715861,48.885475],[124.709086,48.920487],[124.744194,48.920487],[124.756513,48.967262],[124.808252,49.020666],[124.828578,49.077933],[124.809484,49.115943],[124.847672,49.129651],[124.860607,49.166448],[124.906802,49.184054],[124.983179,49.162535],[125.039845,49.17623],[125.034302,49.157056],[125.117453,49.126127],[125.158721,49.144921],[125.187671,49.186792],[125.219699,49.189139],[125.227707,49.248947],[125.214772,49.277066],[125.261583,49.322336],[125.256656,49.359769],[125.277598,49.379644],[125.25604,49.395227],[125.256656,49.437275],[125.270822,49.454395],[125.228323,49.487063],[125.211076,49.539908],[125.233866,49.536801],[125.23017,49.595411],[125.205533,49.593859],[125.16796,49.629923],[125.15441,49.616741],[125.127308,49.655113],[125.132236,49.672157],[125.164881,49.669446],[125.189518,49.652401],[125.185207,49.634574],[125.219699,49.669058],[125.225243,49.726349],[125.204301,49.734086],[125.221547,49.754969],[125.222779,49.799026],[125.177815,49.829533],[125.239409,49.844587],[125.225243,49.867351],[125.245569,49.87198],[125.212924,49.907452],[125.225859,49.922481],[125.199373,49.935194],[125.190134,49.959841],[125.231402,49.957531],[125.241873,49.987938],[125.278214,49.996402],[125.297924,50.014481],[125.283757,50.036012],[125.25296,50.041393],[125.289916,50.057917],[125.315786,50.04562],[125.328105,50.065985],[125.283757,50.070211],[125.287453,50.093636],[125.258504,50.103618],[125.27883,50.127411],[125.311474,50.140453],[125.376148,50.137385],[125.335496,50.161161],[125.382923,50.172278],[125.39093,50.199868],[125.417416,50.195654],[125.448829,50.216338],[125.442053,50.260357],[125.466075,50.266861],[125.463611,50.295925],[125.530749,50.331085],[125.520278,50.3498],[125.546763,50.358965],[125.522126,50.404759],[125.536292,50.420014],[125.567089,50.402852],[125.583104,50.409717],[125.562162,50.438314],[125.580024,50.449366],[125.627451,50.443268],[125.654553,50.471082],[125.699516,50.487078],[125.740784,50.523237],[125.754335,50.506874],[125.770349,50.531227],[125.794987,50.532748],[125.829479,50.56165],[125.807921,50.60383],[125.814697,50.62092],[125.793139,50.643316],[125.804226,50.658874],[125.789443,50.679735],[125.825784,50.70362],[125.78082,50.725598],[125.795603,50.738856],[125.758646,50.746809],[125.804226,50.773309],[125.828863,50.756654],[125.846726,50.769524],[125.836255,50.793363],[125.890457,50.805845],[125.878138,50.816812],[125.913247,50.825885],[125.939732,50.85423],[125.961906,50.901054],[125.997631,50.872738],[125.996399,50.906715],[126.02042,50.927466],[126.042594,50.92558],[126.068464,50.967434],[126.041978,50.981753],[126.033971,51.011132],[126.059225,51.043503],[125.976073,51.084498],[125.993935,51.119072],[125.970529,51.123955],[125.946508,51.108176],[125.909551,51.138977],[125.864588,51.146487],[125.850421,51.21364],[125.819008,51.227134],[125.761726,51.226385],[125.76111,51.261976],[125.740784,51.27583],[125.700132,51.327465],[125.626219,51.380163],[125.623756,51.387633],[125.62314,51.398089],[125.600966,51.410409],[125.60035,51.413396],[125.595422,51.416755],[125.559082,51.461521],[125.528285,51.488359],[125.424807,51.562827],[125.38046,51.585516],[125.35151,51.623801],[125.316402,51.610052],[125.289301,51.633831],[125.228938,51.640517],[125.214772,51.627888],[125.175968,51.639403],[125.130388,51.635317],[125.12854,51.659083],[125.098975,51.658341],[125.060171,51.59667],[125.073106,51.553526],[125.047236,51.529704],[125.004737,51.529332],[124.983795,51.508478],[124.928976,51.498419],[124.917889,51.474196],[124.942527,51.447349],[124.885244,51.40817],[124.864302,51.37979],[124.783614,51.392115],[124.76452,51.38726],[124.752817,51.35812],[124.693687,51.3327],[124.62655,51.327465],[124.58713,51.363725],[124.555717,51.375307],[124.490427,51.380537],[124.478108,51.36223],[124.443616,51.35812],[124.426985,51.331953],[124.430065,51.301281],[124.406659,51.272086],[124.339522,51.293422],[124.297638,51.298661],[124.271769,51.308389],[124.239124,51.344664],[124.192313,51.33943],[124.128255,51.347281],[124.090067,51.3413],[124.071588,51.320734],[123.994596,51.322604],[123.939777,51.313253],[123.926227,51.300532],[123.887423,51.320734],[123.842459,51.367462],[123.794416,51.361109],[123.711264,51.398089],[123.660141,51.342795],[123.661989,51.319237],[123.582533,51.306893],[123.582533,51.294545],[123.46304,51.286686],[123.440251,51.270963],[123.414381,51.278825],[123.376809,51.266844],[123.339853,51.27246],[123.294273,51.254111],[123.231447,51.268716],[123.231447,51.279199],[123.127969,51.297913],[123.069455,51.321108],[123.002934,51.31213],[122.965977,51.345786],[122.965977,51.386886],[122.946267,51.405183],[122.903768,51.415262],[122.900072,51.445112],[122.871123,51.455181],[122.854492,51.477551],[122.880362,51.511085],[122.858804,51.524864],[122.880362,51.537894],[122.874202,51.561339],[122.832935,51.581797],[122.85634,51.606707],[122.820616,51.633088],[122.816304,51.655371],[122.778732,51.698048],[122.749167,51.746613],[122.771957,51.779579],[122.732536,51.832495],[122.725761,51.87833],[122.706051,51.890151],[122.729457,51.919321],[122.726377,51.978709],[122.683877,51.974654],[122.664783,51.99861],[122.650616,52.058997],[122.625363,52.067459],[122.643841,52.111585],[122.629059,52.13657],[122.690653,52.140243],[122.73808,52.153464],[122.769493,52.179893],[122.766413,52.232705],[122.787355,52.252494],[122.76087,52.26678],[122.710979,52.256157],[122.67895,52.276667],[122.585943,52.266413],[122.560689,52.282526],[122.478153,52.29607],[122.484313,52.341432],[122.447356,52.394052],[122.419023,52.375057],[122.378987,52.395512],[122.367284,52.413768],[122.342031,52.414133],[122.326016,52.459374],[122.310618,52.475416],[122.207756,52.469218],[122.178191,52.48963],[122.168952,52.513674],[122.140003,52.510032],[122.142467,52.495096],[122.107358,52.452445],[122.080873,52.440407],[122.091344,52.427272],[122.040837,52.413038],[122.035909,52.377615],[121.976779,52.343626],[121.94783,52.298266],[121.901018,52.280695],[121.841272,52.282526],[121.769207,52.308147],[121.714389,52.318025],[121.715621,52.342894],[121.658338,52.3904],[121.678664,52.419973],[121.63986,52.44442],[121.590585,52.443326],[121.565331,52.460468],[121.519136,52.456821],[121.495114,52.484892],[121.474172,52.482706],[121.416274,52.499468],[121.411963,52.52205],[121.353448,52.534793],[121.323883,52.573727],[121.280151,52.586819],[121.225333,52.577364],[121.182217,52.59918],[121.237036,52.619167],[121.29247,52.651855],[121.309717,52.676173],[121.373158,52.683067],[121.455078,52.73528],[121.476636,52.772225],[121.511129,52.779104],[121.537614,52.801542],[121.591201,52.824693],[121.620766,52.853251],[121.604136,52.872401],[121.610295,52.892264],[121.66265,52.912478],[121.677432,52.948192],[121.715621,52.997926],[121.785838,53.018451],[121.817867,53.061631],[121.775367,53.089674],[121.784606,53.104408],[121.753193,53.147501],[121.722396,53.145706],[121.665114,53.170467],[121.660186,53.195213],[121.67928,53.199515],[121.679896,53.240722],[121.642324,53.262564],[121.615222,53.258984],[121.575802,53.29155],[121.504969,53.323018],[121.499426,53.337314],[121.416274,53.319443],[121.336818,53.325877],[121.308485,53.301565],[121.227797,53.280459],[121.155732,53.285468],[121.129246,53.277238],[121.098449,53.306929],[121.055334,53.29155],[120.950624,53.29763],[120.936457,53.28833],[120.882871,53.294411],[120.867472,53.278669],[120.820661,53.269007],[120.838523,53.239648],[120.821893,53.241797],[120.736277,53.204892],[120.690698,53.174771],[120.687002,53.142476],[120.659901,53.137091],[120.643886,53.106923],[120.562582,53.082845],[120.529321,53.045803],[120.452945,53.01017],[120.411061,52.957927],[120.363018,52.94134],[120.350699,52.906343],[120.295265,52.891542],[120.297112,52.869872],[120.222584,52.84277],[120.181316,52.806969],[120.14128,52.813119],[120.101244,52.788877],[120.031642,52.773674],[120.071063,52.70628],[120.035338,52.646409],[120.049505,52.598453],[120.07599,52.586092],[120.125265,52.586819],[120.194866,52.578819],[120.289721,52.623527],[120.396895,52.616261],[120.462184,52.64532],[120.483742,52.630066],[120.56135,52.595544],[120.605082,52.589364],[120.62664,52.570818],[120.658669,52.56718],[120.690698,52.547532],[120.734429,52.536977],[120.687002,52.511489],[120.706712,52.492909],[120.68269,52.464479],[120.688234,52.427637],[120.64943,52.3904],[120.653741,52.371038],[120.62356,52.361172],[120.627256,52.323878],[120.653741,52.302658],[120.695625,52.290214],[120.715951,52.261286],[120.755371,52.258355],[120.745516,52.20594],[120.786784,52.15787],[120.760299,52.136937],[120.76769,52.10938],[120.753523,52.085483],[120.717183,52.072978],[120.690698,52.047221],[120.691929,52.026973],[120.717799,52.015556],[120.704864,51.983501],[120.66298,51.958061],[120.656821,51.926333],[120.548416,51.907877],[120.549032,51.882394],[120.481278,51.885719],[120.480046,51.855049],[120.40059,51.833605],[120.40675,51.81659],[120.363634,51.789945],[120.317438,51.785873],[120.294649,51.752171],[120.226279,51.717703],[120.172693,51.679868],[120.087077,51.678013],[120.100628,51.649058],[120.05936,51.634203],[120.035954,51.583657],[120.052584,51.560967],[120.017476,51.52114],[119.985447,51.505125],[119.982367,51.482396],[120.002693,51.459283],[119.982983,51.445112],[119.97128,51.40033],[119.910918,51.390994],[119.914614,51.374187],[119.946643,51.360736],[119.883817,51.336813],[119.885049,51.302777],[119.811136,51.281071],[119.828383,51.263099],[119.797586,51.243622],[119.821607,51.21439],[119.784035,51.22601],[119.760629,51.212516],[119.788346,51.174636],[119.771716,51.124331],[119.752622,51.117193],[119.764325,51.092017],[119.719361,51.075099],[119.726753,51.051028],[119.678093,51.016404],[119.630666,51.00925],[119.598637,50.984767],[119.569688,50.933879],[119.491464,50.87878],[119.498855,50.827776],[119.515485,50.814165],[119.496391,50.771795],[119.506862,50.763846],[119.450196,50.695281],[119.430486,50.684286],[119.385522,50.682769],[119.394145,50.667219],[119.361501,50.632689],[119.298059,50.616743],[119.281428,50.601551],[119.295595,50.573814],[119.264182,50.536933],[119.262334,50.490124],[119.250631,50.448604],[119.22353,50.441363],[119.217371,50.414675],[119.165016,50.422683],[119.125596,50.389118],[119.176719,50.378814],[119.155777,50.364691],[119.188422,50.347509],[119.232153,50.365455],[119.259871,50.345218],[119.277117,50.366218],[119.322696,50.352474],[119.358421,50.358965],[119.381827,50.324208],[119.35103,50.303953],[119.339943,50.244668],[119.319001,50.220933],[119.358421,50.197953],[119.339327,50.192206],[119.350414,50.166145],[119.309762,50.161161],[119.290052,50.121655],[119.236465,50.075204],[119.190269,50.087877],[119.193965,50.069826],[119.163168,50.027554],[119.12498,50.019095],[119.090487,49.985629],[118.982082,49.979087],[118.964836,49.988708],[118.791757,49.955606],[118.761576,49.959456],[118.739402,49.946364],[118.672264,49.955991],[118.605127,49.926719],[118.574946,49.931342],[118.531214,49.887791],[118.485019,49.866194],[118.483787,49.830691],[118.443751,49.835709],[118.385853,49.827217],[118.398787,49.802502],[118.384005,49.783958],[118.315636,49.766953],[118.284223,49.743755],[118.220781,49.729831],[118.211542,49.690744],[118.156723,49.660149],[118.129622,49.669446],[118.082811,49.616741],[118.011362,49.614803],[117.995963,49.623332],[117.950999,49.596187],[117.866,49.591532],[117.849369,49.551557],[117.809333,49.521263],[117.638102,49.574847],[117.485349,49.633024],[117.278394,49.636512],[117.068974,49.695389],[116.736367,49.847674],[116.717889,49.847288],[116.428397,49.430659],[116.048363,48.873274],[116.077928,48.822471],[116.069305,48.811437],[115.83032,48.560156],[115.799523,48.514982],[115.822929,48.259432],[115.81061,48.257042],[115.529126,48.155336],[115.545141,48.134971],[115.539597,48.104607],[115.580249,47.921649],[115.939342,47.683275],[115.968291,47.689721],[116.111189,47.811642],[116.130283,47.823296],[116.26579,47.876711],[116.453035,47.837358],[116.669846,47.890758],[116.791186,47.89758],[116.879265,47.893968],[117.094844,47.8241],[117.384335,47.641356],[117.493357,47.758563],[117.519226,47.761782],[117.529081,47.782697],[117.813645,48.016212],[117.886942,48.025418],[117.96147,48.011007],[118.052014,48.01421],[118.107448,48.031021],[118.124694,48.047427],[118.150564,48.036224],[118.238643,48.041826],[118.238027,48.031422],[118.284839,48.011007],[118.351976,48.006203],[118.37415,48.016612],[118.422193,48.01461],[118.441903,47.995791],[118.568171,47.992187],[118.773278,47.771034],[119.134219,47.664335],[119.152081,47.540453],[119.205052,47.520249],[119.365812,47.47739],[119.32208,47.42721],[119.365812,47.423161],[119.386138,47.397645],[119.437877,47.378602],[119.450812,47.353065],[119.559217,47.303172],[119.56784,47.248357],[119.627586,47.247544],[119.716282,47.195518],[119.763093,47.13082],[119.806825,47.055037],[119.79081,47.04525],[119.795122,47.013024],[119.845013,46.964852],[119.859795,46.917046],[119.926933,46.903963],[119.920157,46.853238],[119.936172,46.790173],[119.917078,46.758203],[119.93494,46.712674],[119.911534,46.669572],[119.859179,46.669572],[119.804361,46.68189],[119.8136,46.66834],[119.783419,46.626023],[119.739687,46.615336],[119.677477,46.584908],[119.682405,46.605058],[119.656535,46.625612],[119.598637,46.618214],[119.557985,46.633832],[119.491464,46.629311],[119.431718,46.638763],[119.374435,46.603414],[119.357805,46.619447],[119.325776,46.608759],[119.26295,46.649034],[119.20074,46.648213],[119.152081,46.658072],[119.123132,46.642872],[119.073857,46.676552],[119.011647,46.745902],[118.951285,46.722111],[118.912481,46.733188],[118.914329,46.77501],[118.845343,46.771731],[118.788061,46.717598],[118.788061,46.687227],[118.677192,46.6979],[118.639004,46.721291],[118.586033,46.692975],[118.446831,46.704467],[118.41049,46.728265],[118.316252,46.73934],[118.274984,46.715957],[118.238643,46.709392],[118.192448,46.682711],[118.124078,46.678195],[118.04647,46.631366],[117.992883,46.631366],[117.982412,46.614925],[117.914659,46.607936],[117.868464,46.575447],[117.870927,46.549935],[117.813645,46.530588],[117.769913,46.537586],[117.748355,46.521941],[117.704008,46.516587],[117.641182,46.558166],[117.622704,46.596012],[117.596218,46.603414],[117.49582,46.600535],[117.42006,46.582029],[117.447777,46.528117],[117.392343,46.463023],[117.375712,46.416421],[117.383719,46.394962],[117.372017,46.36028],[117.247597,46.366888],[117.097308,46.356976],[116.876801,46.375559],[116.834302,46.384229],[116.81336,46.355737],[116.745606,46.327642],[116.673541,46.325163],[116.585462,46.292504],[116.573143,46.258998],[116.536187,46.23251],[116.439484,46.137628],[116.414231,46.133896],[116.271949,45.966926],[116.243,45.876169],[116.288579,45.839074],[116.278108,45.831152],[116.286731,45.775247],[116.260862,45.776082],[116.22329,45.747273],[116.217746,45.72221],[116.17463,45.688775],[116.1155,45.679577],[116.035428,45.685013],[116.026805,45.661177],[115.936878,45.632727],[115.864197,45.572853],[115.699741,45.45963],[115.586408,45.440317],[115.36467,45.392427],[115.178041,45.396209],[114.983404,45.379397],[114.920578,45.386122],[114.745035,45.438217],[114.600906,45.403773],[114.551014,45.387383],[114.539928,45.325985],[114.519602,45.283893],[114.459855,45.21353],[114.409348,45.179371],[114.347139,45.119436],[114.313262,45.107189],[114.19069,45.036607],[114.158045,44.994301],[114.116777,44.957045],[114.065038,44.931206],[113.907358,44.915104],[113.861778,44.863377],[113.798953,44.849377],[113.712105,44.788247],[113.631417,44.745333],[113.540874,44.759358],[113.503918,44.777628],[113.11526,44.799714],[113.037652,44.822641],[112.937869,44.840042],[112.850406,44.840466],[112.712436,44.879494],[112.599719,44.930783],[112.540589,45.001072],[112.438959,45.071697],[112.396459,45.064512],[112.113743,45.072965],[112.071243,45.096206],[112.002874,45.090713],[111.903707,45.052252],[111.764505,44.969325],[111.69244,44.859983],[111.624687,44.778477],[111.585267,44.705789],[111.560629,44.647062],[111.569868,44.57634],[111.530448,44.55033],[111.514434,44.507666],[111.478709,44.488884],[111.427586,44.394455],[111.415883,44.35724],[111.428818,44.319573],[111.507042,44.294305],[111.534144,44.26217],[111.541535,44.206855],[111.559397,44.171238],[111.662875,44.061247],[111.702295,44.034147],[111.773128,44.010479],[111.870447,43.940279],[111.959758,43.823382],[111.970845,43.748205],[111.951135,43.693275],[111.891388,43.6738],[111.79407,43.672068],[111.606209,43.513863],[111.564325,43.490422],[111.456535,43.494329],[111.400485,43.472618],[111.354289,43.436125],[111.183674,43.396132],[111.151029,43.38004],[111.069725,43.357852],[111.02045,43.329998],[110.82027,43.149067],[110.769763,43.099272],[110.736502,43.089657],[110.687227,43.036314],[110.689691,43.02144],[110.631177,42.936061],[110.469801,42.839156],[110.437156,42.781203],[110.34846,42.742098],[110.139657,42.674815],[110.108244,42.642687],[109.906216,42.635643],[109.733753,42.579262],[109.683862,42.558988],[109.544044,42.472528],[109.486761,42.458842],[109.291509,42.435879],[109.026039,42.458401],[108.983539,42.449128],[108.845569,42.395673],[108.798757,42.415116],[108.705134,42.413349],[108.532671,42.442945],[108.298614,42.438529],[108.238252,42.460167],[108.089195,42.436321],[108.022058,42.433229],[107.986949,42.413349],[107.939522,42.403628],[107.736262,42.415116],[107.57427,42.412907],[107.501589,42.456635],[107.46648,42.458842],[107.303872,42.412465],[107.271844,42.364285],[107.051337,42.319166],[106.785867,42.291281],[106.612789,42.241679],[106.372572,42.161436],[106.344855,42.149457],[106.01348,42.032213],[105.74185,41.949033],[105.589713,41.888471],[105.385221,41.797073],[105.291599,41.749763],[105.230621,41.751103],[105.009498,41.583007],[104.923267,41.654143],[104.803775,41.652355],[104.68921,41.6452],[104.524138,41.661745],[104.530298,41.875104],[104.418813,41.860397],[104.30856,41.840782],[104.080046,41.805104],[103.868779,41.802427],[103.454868,41.877332],[103.418527,41.882233],[103.20726,41.96283],[103.021862,42.028212],[102.712045,42.153007],[102.621502,42.154338],[102.540814,42.162323],[102.449039,42.144133],[102.093642,42.223512],[102.070236,42.232374],[101.877447,42.432345],[101.803534,42.503861],[101.770274,42.509597],[101.557775,42.529887],[101.291689,42.586312],[100.862995,42.671295],[100.826655,42.675255],[100.32528,42.690213],[100.272309,42.636523],[100.004376,42.648849],[99.969267,42.647969],[99.51224,42.568244],[98.962822,42.607018],[98.546447,42.638284],[98.195362,42.653251],[97.831958,42.706047],[97.28254,42.782081],[97.172903,42.795257]]]}},{"type":"Feature","properties":{"adcode":210000,"name":"辽宁省","center":[123.429096,41.796767],"centroid":[122.604994,41.299712],"childrenNum":14,"level":"province","parent":{"adcode":100000},"subFeatureIndex":5,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.534489,39.788361],[123.546808,39.756163],[123.579453,39.781002],[123.612714,39.775023],[123.642279,39.796178],[123.645358,39.823761],[123.674924,39.826979],[123.687858,39.808132],[123.795032,39.822842],[123.812278,39.831115],[123.95148,39.817786],[124.002603,39.800316],[124.103001,39.823302],[124.099306,39.777323],[124.151045,39.74558],[124.173218,39.841225],[124.214486,39.865116],[124.215102,39.883487],[124.21695,39.894049],[124.218182,39.895885],[124.219414,39.899099],[124.241588,39.928477],[124.286551,39.931689],[124.288399,39.962888],[124.349377,39.989029],[124.372167,40.021576],[124.336442,40.049985],[124.346913,40.079756],[124.428217,40.144291],[124.457782,40.177679],[124.490427,40.18408],[124.513833,40.218362],[124.515065,40.22019],[124.62655,40.291896],[124.722636,40.321561],[124.739267,40.371733],[124.834121,40.423235],[124.913578,40.481981],[124.945606,40.45603],[124.985642,40.475153],[125.044157,40.466503],[125.042925,40.483802],[125.004737,40.496091],[125.015823,40.533853],[125.076801,40.562048],[125.113758,40.569322],[125.181511,40.611132],[125.262815,40.620218],[125.279445,40.655187],[125.305315,40.661089],[125.329337,40.643835],[125.375532,40.658365],[125.422343,40.635661],[125.418648,40.673345],[125.453756,40.676522],[125.459916,40.707379],[125.49564,40.728697],[125.544915,40.729605],[125.551075,40.761796],[125.585567,40.788535],[125.61698,40.763609],[125.685349,40.769048],[125.67611,40.788082],[125.641002,40.798503],[125.648393,40.826133],[125.707523,40.866877],[125.687813,40.897645],[125.652089,40.91619],[125.584335,40.891764],[125.589263,40.931112],[125.635458,40.94151],[125.650241,40.970888],[125.674879,40.974503],[125.684118,41.021929],[125.726617,41.055332],[125.739552,41.08917],[125.712451,41.095485],[125.734009,41.125695],[125.759878,41.132908],[125.791291,41.167607],[125.73832,41.178418],[125.758646,41.232449],[125.749407,41.245499],[125.695205,41.244599],[125.685349,41.273842],[125.646545,41.264396],[125.642234,41.296327],[125.62006,41.318355],[125.637306,41.34442],[125.610205,41.365084],[125.589879,41.359245],[125.581256,41.396517],[125.547995,41.401006],[125.534444,41.428833],[125.533212,41.479069],[125.493176,41.509103],[125.507343,41.534195],[125.479626,41.544946],[125.450061,41.597777],[125.461148,41.642516],[125.446981,41.67605],[125.412488,41.691246],[125.344119,41.672474],[125.317018,41.676944],[125.332416,41.711354],[125.336112,41.768067],[125.336112,41.768067],[125.323177,41.771191],[125.323177,41.771191],[125.319482,41.776993],[125.319482,41.776993],[125.294844,41.822945],[125.307779,41.924548],[125.35151,41.92811],[125.291764,41.958825],[125.29854,41.974399],[125.369989,42.002868],[125.363213,42.017097],[125.416184,42.063766],[125.414336,42.101964],[125.446365,42.098411],[125.490097,42.136145],[125.458068,42.160105],[125.458068,42.160105],[125.41372,42.156112],[125.368141,42.182726],[125.357054,42.145464],[125.305931,42.146351],[125.312706,42.197359],[125.280677,42.175187],[125.312706,42.219966],[125.27575,42.231045],[125.27575,42.266928],[125.299156,42.289953],[125.264047,42.312528],[125.224011,42.30102],[125.175352,42.308102],[125.167345,42.351903],[125.203685,42.366938],[125.185823,42.38197],[125.186439,42.427928],[125.140243,42.44692],[125.150098,42.458842],[125.105135,42.490624],[125.068794,42.499449],[125.090968,42.515773],[125.066946,42.534738],[125.089736,42.567803],[125.082961,42.591159],[125.097127,42.622433],[125.038613,42.615387],[125.010896,42.63212],[125.014592,42.666014],[124.99057,42.677455],[124.968396,42.722756],[124.996729,42.745174],[124.975171,42.802722],[124.92836,42.819844],[124.897563,42.787791],[124.874157,42.789987],[124.856911,42.824234],[124.84952,42.882585],[124.87231,42.962344],[124.869846,42.988178],[124.840897,43.032377],[124.88894,43.074796],[124.882781,43.13422],[124.785462,43.117185],[124.755281,43.074359],[124.719557,43.069987],[124.686912,43.051185],[124.677673,43.002185],[124.658579,42.972854],[124.635173,42.972854],[124.632093,42.949642],[124.607456,42.937376],[124.586514,42.905384],[124.466406,42.847054],[124.435609,42.880831],[124.371551,42.880831],[124.38079,42.912835],[124.431913,42.930803],[124.442384,42.958841],[124.42329,42.975482],[124.369703,42.972854],[124.333363,42.997371],[124.425754,43.076107],[124.366007,43.121554],[124.273617,43.17875],[124.287167,43.207983],[124.27608,43.233278],[124.228653,43.235022],[124.215102,43.255947],[124.168291,43.244177],[124.114088,43.247229],[124.117168,43.2773],[124.099306,43.292983],[124.032784,43.280786],[123.964415,43.34088],[123.896046,43.361333],[123.881263,43.392218],[123.881263,43.392218],[123.852314,43.406133],[123.857858,43.459153],[123.857858,43.459153],[123.79688,43.489988],[123.747604,43.472184],[123.749452,43.439167],[123.710032,43.417001],[123.703873,43.37047],[123.698329,43.272071],[123.664453,43.264663],[123.676771,43.223684],[123.645974,43.208855],[123.666916,43.179623],[123.636119,43.141644],[123.631192,43.088346],[123.580685,43.036314],[123.572678,43.003498],[123.536337,43.007],[123.474743,43.042438],[123.434707,43.027565],[123.323222,43.000872],[123.259165,42.993431],[123.18402,42.925983],[123.188947,42.895739],[123.169853,42.859777],[123.227752,42.831695],[123.118114,42.801405],[123.058368,42.768903],[122.980144,42.777689],[122.945651,42.753524],[122.925941,42.772417],[122.887137,42.770221],[122.883442,42.751766],[122.883442,42.751766],[122.848949,42.712203],[122.848949,42.712203],[122.786123,42.757479],[122.73808,42.77066],[122.733152,42.786034],[122.653696,42.78252],[122.624747,42.773296],[122.580399,42.789987],[122.576088,42.819405],[122.556378,42.827745],[122.436886,42.843105],[122.35127,42.830378],[122.371596,42.776371],[122.439349,42.770221],[122.460907,42.755282],[122.396234,42.707366],[122.396234,42.684054],[122.338951,42.669975],[122.324785,42.684934],[122.261343,42.695931],[122.204676,42.732867],[122.204676,42.685374],[122.160945,42.684934],[122.072865,42.710444],[122.062394,42.723635],[122.018663,42.69901],[121.939207,42.688453],[121.94167,42.666014],[121.915801,42.656332],[121.921344,42.605697],[121.889931,42.556784],[121.844352,42.522389],[121.831417,42.533856],[121.817867,42.504303],[121.803084,42.514891],[121.747649,42.484887],[121.69899,42.438529],[121.66573,42.437204],[121.604136,42.495037],[121.607831,42.516214],[121.570875,42.487093],[121.506201,42.482239],[121.4791,42.49636],[121.434752,42.475176],[121.386093,42.474294],[121.304789,42.435879],[121.314644,42.42837],[121.285079,42.387717],[121.218558,42.371802],[121.184681,42.333324],[121.133558,42.300135],[121.120623,42.280656],[121.087978,42.278885],[121.070732,42.254083],[121.028848,42.242565],[120.992508,42.264714],[120.933994,42.27977],[120.883487,42.269585],[120.883487,42.269585],[120.883487,42.242565],[120.8299,42.252755],[120.820661,42.227943],[120.79048,42.218636],[120.745516,42.223512],[120.72211,42.203565],[120.624792,42.154338],[120.58414,42.167203],[120.56751,42.152119],[120.466496,42.105516],[120.493597,42.073539],[120.450481,42.057101],[120.456641,42.016208],[120.399358,41.984631],[120.373489,41.994862],[120.309431,41.951704],[120.318054,41.93746],[120.271859,41.925439],[120.260156,41.904062],[120.290337,41.897381],[120.286641,41.880005],[120.251533,41.884016],[120.215808,41.853265],[120.188707,41.848361],[120.183164,41.826513],[120.127113,41.77253],[120.1382,41.729221],[120.096316,41.697056],[120.035954,41.708226],[120.024867,41.737707],[120.050737,41.776101],[120.041498,41.818932],[120.023019,41.816701],[119.989759,41.899163],[119.954034,41.923212],[119.950954,41.974399],[119.924469,41.98908],[119.921389,42.014429],[119.897368,42.030879],[119.87581,42.077982],[119.845629,42.097079],[119.837622,42.135257],[119.854868,42.170308],[119.841933,42.215534],[119.744615,42.211545],[119.679941,42.240793],[119.617115,42.252755],[119.609108,42.276671],[119.557985,42.289068],[119.557985,42.289068],[119.539507,42.297922],[119.571536,42.335536],[119.572152,42.359421],[119.540123,42.363401],[119.502551,42.388159],[119.482841,42.347037],[119.432949,42.317396],[119.34795,42.300578],[119.280197,42.260728],[119.274037,42.239021],[119.237697,42.200905],[119.277733,42.185387],[119.286972,42.154781],[119.30853,42.147239],[119.314689,42.119723],[119.352261,42.118391],[119.384906,42.08953],[119.375667,42.023322],[119.324544,41.969505],[119.323928,41.937014],[119.340559,41.926774],[119.323312,41.889807],[119.334399,41.871539],[119.312841,41.80555],[119.292515,41.790827],[119.317769,41.764049],[119.319001,41.727435],[119.299907,41.705545],[119.307914,41.657273],[119.342406,41.617914],[119.415703,41.590169],[119.420015,41.567785],[119.362116,41.566442],[119.361501,41.545841],[119.406464,41.503276],[119.401537,41.472343],[119.378131,41.459787],[119.376283,41.422102],[119.309762,41.405944],[119.330704,41.385293],[119.296211,41.325097],[119.239545,41.31431],[119.2494,41.279689],[119.209364,41.244599],[119.204436,41.222546],[119.169943,41.222996],[119.189038,41.198234],[119.126212,41.138767],[119.081248,41.131555],[119.080632,41.095936],[119.037516,41.067516],[118.964836,41.079246],[118.937118,41.052625],[118.951901,41.018317],[119.013495,41.007479],[119.00056,40.967273],[118.977154,40.959138],[118.977154,40.959138],[118.916792,40.969984],[118.90201,40.960946],[118.873061,40.847866],[118.845959,40.822057],[118.878604,40.783098],[118.907553,40.775394],[118.895234,40.75409],[118.950053,40.747743],[118.96114,40.72008],[119.011031,40.687414],[119.028277,40.692406],[119.054763,40.664721],[119.115125,40.666536],[119.165632,40.69286],[119.184726,40.680153],[119.14469,40.632482],[119.162552,40.600228],[119.177951,40.609315],[119.230921,40.603863],[119.22045,40.569322],[119.256175,40.543404],[119.30237,40.530215],[119.429254,40.540221],[119.477913,40.533399],[119.503783,40.553864],[119.559217,40.547952],[119.572152,40.523846],[119.553674,40.502007],[119.604797,40.455119],[119.586934,40.375381],[119.598021,40.334335],[119.651608,40.271808],[119.639289,40.231613],[119.639289,40.231613],[119.671934,40.23938],[119.716898,40.195966],[119.745847,40.207851],[119.760629,40.136056],[119.736608,40.104936],[119.772332,40.08113],[119.783419,40.046778],[119.783419,40.046778],[119.787115,40.041739],[119.787115,40.041739],[119.81668,40.050443],[119.81668,40.050443],[119.854252,40.033033],[119.845629,40.000949],[119.845629,40.000949],[119.854252,39.98857],[119.91831,39.989946],[119.941715,40.009659],[119.947259,40.040364],[120.092005,40.077466],[120.134504,40.074719],[120.161606,40.096239],[120.273091,40.127362],[120.371641,40.174478],[120.451097,40.177679],[120.491749,40.20008],[120.523778,40.256737],[120.52193,40.304676],[120.537329,40.325211],[120.602618,40.36079],[120.596459,40.399084],[120.617401,40.41959],[120.616169,40.444645],[120.619249,40.460128],[120.666676,40.467413],[120.693777,40.505647],[120.72211,40.515657],[120.72827,40.539311],[120.822509,40.59432],[120.837291,40.644289],[120.8299,40.671076],[120.861313,40.684692],[120.939537,40.686507],[120.983269,40.712822],[121.032544,40.709193],[121.028848,40.746382],[120.991276,40.744115],[120.980189,40.766329],[120.994356,40.790801],[120.971566,40.805751],[121.00729,40.807563],[121.010986,40.784457],[121.086747,40.79805],[121.076892,40.815716],[121.096602,40.839717],[121.126167,40.86914],[121.177906,40.873665],[121.23642,40.851035],[121.290622,40.851488],[121.439064,40.830208],[121.440296,40.88181],[121.499426,40.880001],[121.526527,40.85194],[121.55486,40.849677],[121.553013,40.817528],[121.576418,40.837906],[121.626309,40.844244],[121.682976,40.829755],[121.732251,40.846961],[121.735331,40.862351],[121.778446,40.886787],[121.816019,40.894931],[121.84312,40.831567],[121.883772,40.802127],[121.934279,40.79805],[121.936127,40.711462],[121.951525,40.680607],[122.025438,40.674253],[122.06609,40.64883],[122.122141,40.657457],[122.148626,40.671983],[122.133843,40.614313],[122.150474,40.588413],[122.245944,40.519752],[122.231162,40.505192],[122.265038,40.48016],[122.221923,40.481071],[122.240401,40.461039],[122.250872,40.445555],[122.229314,40.424146],[122.186814,40.422779],[122.198517,40.382219],[122.152322,40.357597],[122.135691,40.374925],[122.111054,40.348932],[122.138155,40.338897],[122.110438,40.315629],[122.079641,40.332967],[122.040221,40.322017],[122.039605,40.260391],[122.02667,40.244862],[121.940438,40.242121],[121.950293,40.204194],[121.98109,40.173106],[122.003264,40.172191],[121.995257,40.128277],[121.956453,40.133311],[121.910257,40.072887],[121.824642,40.025701],[121.796309,39.999116],[121.779062,39.942702],[121.76428,39.933525],[121.699606,39.937196],[121.626925,39.882569],[121.572107,39.865116],[121.541926,39.874302],[121.530223,39.851334],[121.472325,39.802155],[121.487107,39.760303],[121.45939,39.747881],[121.502506,39.703233],[121.482796,39.659478],[121.451999,39.658095],[121.450151,39.624914],[121.325731,39.601402],[121.299246,39.606013],[121.263521,39.589873],[121.226565,39.554814],[121.224717,39.519275],[121.268449,39.482794],[121.286927,39.507271],[121.301709,39.476327],[121.245659,39.456923],[121.270296,39.434277],[121.246891,39.421334],[121.245659,39.389427],[121.270296,39.374162],[121.307869,39.391277],[121.324499,39.371386],[121.35468,39.377863],[121.432904,39.357506],[121.435984,39.329736],[121.466781,39.320014],[121.474788,39.296398],[121.508665,39.29223],[121.51544,39.286672],[121.562252,39.322792],[121.621382,39.326033],[121.72486,39.364447],[121.711925,39.33992],[121.7187,39.320477],[121.667577,39.310754],[121.672505,39.275554],[121.623846,39.285745],[121.589353,39.263044],[121.631237,39.22643],[121.591201,39.228748],[121.586889,39.193506],[121.604136,39.166136],[121.639244,39.166136],[121.68236,39.117863],[121.631853,39.077921],[121.605983,39.080708],[121.642324,39.11972],[121.590585,39.154999],[121.562252,39.127149],[121.599208,39.098824],[121.581962,39.075598],[121.508049,39.034237],[121.431057,39.027263],[121.370695,39.060264],[121.317108,39.012384],[121.341129,38.980757],[121.275224,38.971917],[121.204391,38.941202],[121.180369,38.959819],[121.128014,38.958888],[121.08921,38.922115],[121.094138,38.894173],[121.129862,38.879266],[121.110768,38.862026],[121.12863,38.799089],[121.112,38.776231],[121.13787,38.723023],[121.198848,38.721623],[121.259825,38.786495],[121.280767,38.786961],[121.288775,38.78976],[121.315876,38.793958],[121.359608,38.822406],[121.399028,38.812613],[121.509897,38.817743],[121.564715,38.874607],[121.618302,38.862492],[121.675585,38.86156],[121.708845,38.872744],[121.719316,38.920252],[121.655874,38.946788],[121.618918,38.950046],[121.66265,38.966333],[121.671273,39.010059],[121.73841,38.998898],[121.756889,39.025869],[121.790149,39.022614],[121.804932,38.970986],[121.863446,38.942598],[121.920728,38.969591],[121.905946,38.997503],[121.852975,39.035631],[121.8887,39.027263],[121.929352,39.024939],[121.907178,39.055617],[121.923192,39.053758],[121.963228,39.030053],[122.013735,39.073275],[122.061778,39.060264],[122.071634,39.074204],[122.048228,39.101146],[122.088264,39.112291],[122.127684,39.144788],[122.167104,39.158711],[122.123988,39.172631],[122.117213,39.213911],[122.160329,39.238019],[122.242865,39.267678],[122.274893,39.322329],[122.30877,39.346399],[122.366053,39.370461],[122.412864,39.411625],[122.455364,39.408388],[122.467682,39.403301],[122.51203,39.413474],[122.532972,39.419947],[122.581631,39.464316],[122.637066,39.488799],[122.649385,39.516505],[122.682645,39.514658],[122.808913,39.559889],[122.847101,39.581571],[122.860652,39.604629],[122.941956,39.604629],[122.972753,39.594946],[122.978912,39.616156],[123.021412,39.64335],[123.010941,39.655331],[123.103332,39.676983],[123.146448,39.647037],[123.166774,39.674219],[123.212969,39.665928],[123.215433,39.696786],[123.253005,39.689879],[123.286882,39.704154],[123.270251,39.714743],[123.274563,39.753862],[123.350939,39.750641],[123.388512,39.74742],[123.392823,39.723949],[123.477823,39.74696],[123.521555,39.772724],[123.534489,39.788361]]],[[[122.63953,39.286209],[122.593334,39.278334],[122.539131,39.308439],[122.50895,39.290377],[122.57732,39.269994],[122.67895,39.268605],[122.673406,39.269531],[122.662935,39.273701],[122.655544,39.277407],[122.640761,39.288061],[122.63953,39.286209]]],[[[122.318625,39.170775],[122.345111,39.144788],[122.366053,39.174951],[122.398697,39.16196],[122.383299,39.190723],[122.393154,39.213448],[122.343263,39.203246],[122.322321,39.177271],[122.322937,39.174487],[122.319241,39.172167],[122.318625,39.170775]]],[[[122.691884,39.23292],[122.696812,39.206492],[122.751631,39.229675],[122.740544,39.248679],[122.635834,39.241727],[122.628443,39.231993],[122.690037,39.234774],[122.691268,39.23431],[122.691884,39.23292]]],[[[122.738696,39.034701],[122.704819,39.044463],[122.733152,39.014244],[122.75779,39.009594],[122.739312,39.036561],[122.738696,39.034701]]],[[[123.022644,39.546507],[122.96105,39.551122],[122.945035,39.520198],[122.995542,39.495264],[123.036194,39.533123],[123.022644,39.546507]]],[[[122.503407,39.241263],[122.502175,39.224112],[122.547755,39.229211],[122.503407,39.241263]]],[[[120.786784,40.473787],[120.83298,40.491995],[120.8299,40.516112],[120.805262,40.525666],[120.774465,40.48016],[120.786784,40.473787]]],[[[123.086702,39.426881],[123.090397,39.450915],[123.054057,39.457847],[123.086702,39.426881]]],[[[123.160614,39.025404],[123.205578,39.057011],[123.20065,39.077921],[123.145832,39.091857],[123.143984,39.038885],[123.160614,39.025404]]],[[[123.716807,39.74512],[123.756843,39.754322],[123.719887,39.763063],[123.716807,39.74512]]]]}},{"type":"Feature","properties":{"adcode":220000,"name":"吉林省","center":[125.3245,43.886841],"centroid":[126.171208,43.703954],"childrenNum":9,"level":"province","parent":{"adcode":100000},"subFeatureIndex":6,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[129.601492,42.415116],[129.601492,42.422627],[129.591021,42.447803],[129.627361,42.462816],[129.651999,42.426603],[129.704354,42.427045],[129.748701,42.471204],[129.738846,42.500332],[129.749933,42.546644],[129.746237,42.58455],[129.786889,42.615387],[129.754245,42.645768],[129.796744,42.681854],[129.767179,42.707806],[129.78381,42.762752],[129.810911,42.795257],[129.816454,42.851003],[129.835549,42.866796],[129.846636,42.918533],[129.874969,42.923792],[129.856491,42.951833],[129.868193,42.97373],[129.903918,42.968475],[129.897143,43.001748],[129.954425,43.010938],[129.963664,42.978547],[130.002468,42.981174],[130.027106,42.9676],[130.072685,42.971541],[130.10841,42.989929],[130.144134,42.976357],[130.120729,42.954461],[130.127504,42.932556],[130.10225,42.922916],[130.136127,42.90363],[130.17062,42.912397],[130.21004,42.902315],[130.258083,42.90626],[130.277793,42.892232],[130.258083,42.860655],[130.245148,42.799209],[130.242069,42.738582],[130.257467,42.710884],[130.290112,42.702968],[130.333228,42.64973],[130.373264,42.630799],[130.388046,42.603054],[130.420691,42.617148],[130.44656,42.607459],[130.423771,42.574855],[130.435474,42.553257],[130.476125,42.570007],[130.459495,42.588075],[130.482285,42.626837],[130.522937,42.622433],[130.520473,42.593362],[130.558661,42.495919],[130.585763,42.485328],[130.581451,42.435437],[130.645509,42.426603],[130.600545,42.450453],[130.599929,42.486211],[130.565437,42.506509],[130.570364,42.557224],[130.622719,42.573092],[130.633806,42.603494],[130.592538,42.671295],[130.521089,42.702089],[130.464423,42.688453],[130.425003,42.706926],[130.40714,42.731548],[130.46627,42.772417],[130.532792,42.787352],[130.562357,42.815015],[130.603625,42.819405],[130.665835,42.847932],[130.708335,42.846615],[130.719422,42.831695],[130.75453,42.845738],[130.784095,42.842227],[130.801957,42.879515],[130.845073,42.881269],[130.890653,42.852758],[130.912826,42.870744],[130.949783,42.876884],[130.981812,42.857145],[131.043406,42.862848],[131.017536,42.915027],[131.034167,42.929051],[131.114855,42.915027],[131.145652,42.9365],[131.151195,42.968475],[131.115471,42.975482],[131.11855,43.007875],[131.102536,43.021002],[131.120398,43.068238],[131.171521,43.06955],[131.173985,43.111506],[131.207861,43.1316],[131.218948,43.191405],[131.201086,43.203185],[131.206014,43.237202],[131.255289,43.265099],[131.269455,43.297775],[131.275615,43.369165],[131.314419,43.392653],[131.295941,43.441774],[131.314419,43.461325],[131.31873,43.499539],[131.304564,43.502144],[131.294093,43.470012],[131.234963,43.475224],[131.201086,43.442209],[131.175217,43.444816],[131.142572,43.425695],[131.026775,43.508655],[130.959638,43.48608],[130.907283,43.434387],[130.864167,43.437863],[130.841378,43.454374],[130.822899,43.503446],[130.776704,43.52341],[130.727429,43.560284],[130.671378,43.565054],[130.665835,43.583698],[130.623335,43.589767],[130.630726,43.622268],[130.57098,43.626167],[130.57098,43.626167],[130.501995,43.636563],[130.488444,43.65605],[130.437937,43.646091],[130.412684,43.652586],[130.394206,43.703227],[130.423155,43.745179],[130.382503,43.777164],[130.381887,43.817768],[130.362793,43.844967],[130.386198,43.85403],[130.368336,43.894151],[130.381887,43.910106],[130.338155,43.963975],[130.364025,43.992399],[130.365256,44.044042],[130.319061,44.03974],[130.307358,44.002731],[130.27225,43.981634],[130.262395,43.949328],[130.208192,43.948466],[130.153373,43.915711],[130.143518,43.878624],[130.116417,43.878192],[130.110873,43.852735],[130.079461,43.835039],[130.027722,43.851872],[130.009243,43.889407],[130.022794,43.917866],[130.017867,43.961821],[129.979062,44.015644],[129.951345,44.027263],[129.907614,44.023821],[129.881128,44.000148],[129.868193,44.012631],[129.802904,43.964837],[129.780114,43.892857],[129.739462,43.895876],[129.743158,43.876035],[129.699426,43.8838],[129.650767,43.873016],[129.529427,43.870427],[129.467833,43.874741],[129.449971,43.850578],[129.417942,43.843672],[129.406855,43.819496],[129.348341,43.798333],[129.30892,43.812155],[129.289826,43.797038],[129.254718,43.819496],[129.211602,43.784509],[129.232544,43.709284],[129.214066,43.695006],[129.217146,43.648689],[129.232544,43.635263],[129.23008,43.593234],[129.169102,43.561585],[129.145081,43.570258],[129.093958,43.547706],[129.037907,43.540332],[129.013886,43.522976],[128.962763,43.53903],[128.949828,43.553779],[128.878379,43.539898],[128.834647,43.587599],[128.821097,43.637429],[128.78722,43.686784],[128.768126,43.732207],[128.729322,43.736964],[128.760119,43.755554],[128.739177,43.806972],[128.719467,43.816905],[128.760734,43.857482],[128.729938,43.889838],[128.696061,43.903207],[128.636315,43.891132],[128.64001,43.948035],[128.610445,43.960529],[128.584576,43.990246],[128.574721,44.047914],[128.529141,44.112401],[128.471859,44.157501],[128.450301,44.203423],[128.471859,44.247596],[128.453997,44.257884],[128.472475,44.320001],[128.446605,44.339694],[128.475555,44.346114],[128.481714,44.375637],[128.457076,44.409848],[128.463236,44.431647],[128.427511,44.473512],[128.397946,44.483761],[128.372693,44.514495],[128.295084,44.480772],[128.293237,44.467961],[128.228563,44.445748],[128.211317,44.431647],[128.172512,44.34697],[128.137404,44.357668],[128.094904,44.354673],[128.074578,44.370075],[128.049941,44.349965],[128.065339,44.307155],[128.101679,44.293449],[128.064107,44.251454],[128.104143,44.230017],[128.09244,44.181539],[128.060411,44.168663],[128.088129,44.158359],[128.091208,44.133022],[128.042549,44.103807],[127.950158,44.088334],[127.912586,44.064687],[127.862695,44.062967],[127.846065,44.081886],[127.808492,44.086615],[127.783239,44.071997],[127.729036,44.09908],[127.735811,44.11412],[127.712406,44.199133],[127.681609,44.166946],[127.641573,44.193555],[127.626174,44.187977],[127.59045,44.227872],[127.623711,44.278025],[127.579363,44.310581],[127.486356,44.410275],[127.50853,44.437202],[127.463566,44.484615],[127.465414,44.516628],[127.485124,44.528576],[127.536247,44.522176],[127.570124,44.55033],[127.557189,44.575488],[127.392733,44.632158],[127.275705,44.640249],[127.261538,44.61299],[127.214111,44.624917],[127.228893,44.642804],[127.182082,44.644507],[127.138966,44.607451],[127.094619,44.615972],[127.089691,44.593816],[127.049655,44.566961],[127.041648,44.591258],[127.044112,44.653874],[127.030561,44.673454],[127.041032,44.712169],[126.9973,44.764882],[126.984366,44.823914],[126.999764,44.87398],[127.021938,44.898997],[127.073061,44.907051],[127.092771,44.94688],[127.050271,45.004034],[127.018242,45.024341],[126.984981,45.067893],[126.970815,45.070852],[126.96404,45.132104],[126.85625,45.145613],[126.792808,45.135481],[126.787265,45.159118],[126.732446,45.187385],[126.685635,45.187807],[126.640055,45.214373],[126.644983,45.225334],[126.569222,45.252725],[126.540273,45.23882],[126.519331,45.248091],[126.402919,45.222805],[126.356107,45.185698],[126.293282,45.180214],[126.285274,45.162494],[126.235383,45.140125],[126.225528,45.154054],[126.166398,45.13337],[126.142992,45.147723],[126.091869,45.149411],[126.047522,45.170933],[125.998247,45.162072],[125.992703,45.192447],[125.957595,45.201303],[125.915095,45.196664],[125.849805,45.23882],[125.823936,45.237978],[125.815929,45.264942],[125.761726,45.291472],[125.726001,45.336503],[125.695205,45.352066],[125.712451,45.389485],[125.711835,45.477677],[125.687813,45.514173],[125.660096,45.507043],[125.61698,45.517947],[125.583104,45.491942],[125.497488,45.469283],[125.480242,45.486488],[125.424807,45.485649],[125.434662,45.462988],[125.398322,45.416797],[125.361981,45.392847],[125.319482,45.422678],[125.301619,45.402092],[125.248649,45.417637],[125.189518,45.39915],[125.137779,45.409655],[125.097127,45.38276],[125.06633,45.39915],[125.08912,45.420998],[125.0497,45.428558],[125.025678,45.493201],[124.961005,45.495299],[124.936983,45.53388],[124.911114,45.535976],[124.884628,45.495299],[124.886476,45.442836],[124.839665,45.455852],[124.792853,45.436958],[124.776223,45.468024],[124.729412,45.444096],[124.690607,45.452493],[124.625318,45.437377],[124.575427,45.451234],[124.579738,45.424358],[124.544014,45.411756],[124.507058,45.424778],[124.480572,45.456271],[124.398652,45.440737],[124.374015,45.45795],[124.352457,45.496557],[124.369087,45.512915],[124.348761,45.546874],[124.287783,45.539329],[124.264377,45.555256],[124.273001,45.584163],[124.238508,45.591702],[124.226805,45.633564],[124.162132,45.616404],[124.128255,45.641933],[124.147349,45.665359],[124.122096,45.669123],[124.13503,45.690448],[124.10177,45.700898],[124.098074,45.722628],[124.054342,45.751449],[124.014922,45.749779],[124.001987,45.770655],[124.064197,45.802372],[124.03648,45.83824],[124.067277,45.840325],[124.061118,45.886168],[123.996444,45.906993],[123.968727,45.936551],[123.973654,45.973997],[124.011842,45.981899],[123.989053,46.011833],[124.040176,46.01973],[124.034016,46.045074],[124.009995,46.057534],[124.015538,46.088257],[123.99398,46.101123],[124.01677,46.118549],[123.991516,46.143019],[124.001987,46.166649],[123.971806,46.170379],[123.956408,46.206009],[123.979814,46.228784],[123.952096,46.256516],[123.960103,46.288369],[123.936082,46.286715],[123.917604,46.25693],[123.896046,46.303668],[123.84985,46.302428],[123.775938,46.263136],[123.726047,46.255688],[123.673692,46.258585],[123.604706,46.251964],[123.569598,46.223816],[123.569598,46.223816],[123.499381,46.259826],[123.452569,46.233338],[123.430396,46.243687],[123.357099,46.232096],[123.357099,46.232096],[123.320758,46.254447],[123.286266,46.250308],[123.248078,46.273065],[123.178476,46.248239],[123.128585,46.210565],[123.127354,46.174523],[123.102716,46.172037],[123.112571,46.130163],[123.070071,46.123527],[123.04605,46.099878],[122.792898,46.073313],[122.828623,45.912406],[122.80029,45.856583],[122.772572,45.856583],[122.752246,45.834905],[122.792283,45.766063],[122.751015,45.735996],[122.741775,45.705077],[122.671558,45.70048],[122.650001,45.731401],[122.640761,45.771072],[122.603189,45.778169],[122.556378,45.82156],[122.522501,45.786933],[122.504639,45.786933],[122.496016,45.85825],[122.446125,45.916986],[122.362357,45.917403],[122.372828,45.856166],[122.337719,45.859917],[122.301379,45.813218],[122.253952,45.7982],[122.236705,45.831569],[122.200981,45.857],[122.091344,45.882002],[122.085184,45.912406],[122.040221,45.959022],[121.92812,45.988552],[121.923808,46.004767],[121.864062,46.002272],[121.843736,46.024301],[121.819098,46.023054],[121.761816,45.998947],[121.809243,45.961102],[121.821562,45.918235],[121.805548,45.900746],[121.817251,45.875336],[121.769823,45.84366],[121.766744,45.830318],[121.766744,45.830318],[121.754425,45.794862],[121.697142,45.76314],[121.657106,45.770238],[121.644172,45.752284],[121.666345,45.727641],[121.713773,45.701734],[121.811091,45.687103],[121.812323,45.704659],[121.867142,45.719703],[121.934279,45.71051],[121.970004,45.692956],[122.003264,45.623102],[121.995873,45.59882],[121.966308,45.596308],[121.993409,45.552741],[122.002648,45.507882],[122.064242,45.472641],[122.168336,45.439897],[122.180039,45.409655],[122.146778,45.374352],[122.147394,45.295682],[122.239169,45.276313],[122.22993,45.206784],[122.192358,45.180636],[122.143082,45.183167],[122.109822,45.142236],[122.119677,45.068739],[122.098735,45.02138],[122.074713,45.006573],[122.087032,44.95281],[122.079025,44.914256],[122.04946,44.912985],[122.098119,44.81882],[122.099967,44.7823],[122.168952,44.770405],[122.142467,44.753833],[122.110438,44.767856],[122.10243,44.736406],[122.152322,44.744057],[122.161561,44.728328],[122.117213,44.701961],[122.103046,44.67388],[122.113517,44.615546],[122.13138,44.577619],[122.196053,44.559712],[122.224386,44.526016],[122.228082,44.480345],[122.28598,44.477783],[122.294604,44.41113],[122.291524,44.310152],[122.271198,44.255741],[122.319241,44.233018],[122.483081,44.236877],[122.515726,44.251025],[122.641993,44.283595],[122.675254,44.285738],[122.702971,44.319145],[122.76087,44.369648],[122.85634,44.398304],[123.025108,44.493153],[123.06576,44.505959],[123.12489,44.5098],[123.137209,44.486322],[123.125506,44.455147],[123.142136,44.428228],[123.114419,44.40258],[123.128585,44.367081],[123.196955,44.34483],[123.277027,44.25274],[123.286882,44.211574],[123.323838,44.179823],[123.386664,44.161794],[123.362642,44.133452],[123.350939,44.092633],[123.32815,44.084035],[123.331229,44.028984],[123.365722,44.013922],[123.400831,43.979481],[123.37065,43.970006],[123.397135,43.954929],[123.467968,43.853599],[123.461809,43.822518],[123.498149,43.771114],[123.48275,43.737396],[123.520323,43.708419],[123.518475,43.682024],[123.536953,43.633964],[123.510468,43.624867],[123.5117,43.592801],[123.421157,43.598435],[123.434091,43.575461],[123.461193,43.568523],[123.452569,43.545971],[123.452569,43.545971],[123.360179,43.567223],[123.304744,43.550742],[123.329998,43.519071],[123.315831,43.492159],[123.36449,43.483475],[123.382968,43.469143],[123.419925,43.410046],[123.442098,43.437863],[123.486446,43.44525],[123.519707,43.402219],[123.54496,43.415262],[123.608402,43.366119],[123.703873,43.37047],[123.710032,43.417001],[123.749452,43.439167],[123.747604,43.472184],[123.79688,43.489988],[123.857858,43.459153],[123.857858,43.459153],[123.852314,43.406133],[123.881263,43.392218],[123.881263,43.392218],[123.896046,43.361333],[123.964415,43.34088],[124.032784,43.280786],[124.099306,43.292983],[124.117168,43.2773],[124.114088,43.247229],[124.168291,43.244177],[124.215102,43.255947],[124.228653,43.235022],[124.27608,43.233278],[124.287167,43.207983],[124.273617,43.17875],[124.366007,43.121554],[124.425754,43.076107],[124.333363,42.997371],[124.369703,42.972854],[124.42329,42.975482],[124.442384,42.958841],[124.431913,42.930803],[124.38079,42.912835],[124.371551,42.880831],[124.435609,42.880831],[124.466406,42.847054],[124.586514,42.905384],[124.607456,42.937376],[124.632093,42.949642],[124.635173,42.972854],[124.658579,42.972854],[124.677673,43.002185],[124.686912,43.051185],[124.719557,43.069987],[124.755281,43.074359],[124.785462,43.117185],[124.882781,43.13422],[124.88894,43.074796],[124.840897,43.032377],[124.869846,42.988178],[124.87231,42.962344],[124.84952,42.882585],[124.856911,42.824234],[124.874157,42.789987],[124.897563,42.787791],[124.92836,42.819844],[124.975171,42.802722],[124.996729,42.745174],[124.968396,42.722756],[124.99057,42.677455],[125.014592,42.666014],[125.010896,42.63212],[125.038613,42.615387],[125.097127,42.622433],[125.082961,42.591159],[125.089736,42.567803],[125.066946,42.534738],[125.090968,42.515773],[125.068794,42.499449],[125.105135,42.490624],[125.150098,42.458842],[125.140243,42.44692],[125.186439,42.427928],[125.185823,42.38197],[125.203685,42.366938],[125.167345,42.351903],[125.175352,42.308102],[125.224011,42.30102],[125.264047,42.312528],[125.299156,42.289953],[125.27575,42.266928],[125.27575,42.231045],[125.312706,42.219966],[125.280677,42.175187],[125.312706,42.197359],[125.305931,42.146351],[125.357054,42.145464],[125.368141,42.182726],[125.41372,42.156112],[125.458068,42.160105],[125.458068,42.160105],[125.490097,42.136145],[125.446365,42.098411],[125.414336,42.101964],[125.416184,42.063766],[125.363213,42.017097],[125.369989,42.002868],[125.29854,41.974399],[125.291764,41.958825],[125.35151,41.92811],[125.307779,41.924548],[125.294844,41.822945],[125.319482,41.776993],[125.319482,41.776993],[125.323177,41.771191],[125.323177,41.771191],[125.336112,41.768067],[125.336112,41.768067],[125.332416,41.711354],[125.317018,41.676944],[125.344119,41.672474],[125.412488,41.691246],[125.446981,41.67605],[125.461148,41.642516],[125.450061,41.597777],[125.479626,41.544946],[125.507343,41.534195],[125.493176,41.509103],[125.533212,41.479069],[125.534444,41.428833],[125.547995,41.401006],[125.581256,41.396517],[125.589879,41.359245],[125.610205,41.365084],[125.637306,41.34442],[125.62006,41.318355],[125.642234,41.296327],[125.646545,41.264396],[125.685349,41.273842],[125.695205,41.244599],[125.749407,41.245499],[125.758646,41.232449],[125.73832,41.178418],[125.791291,41.167607],[125.759878,41.132908],[125.734009,41.125695],[125.712451,41.095485],[125.739552,41.08917],[125.726617,41.055332],[125.684118,41.021929],[125.674879,40.974503],[125.650241,40.970888],[125.635458,40.94151],[125.589263,40.931112],[125.584335,40.891764],[125.652089,40.91619],[125.687813,40.897645],[125.707523,40.866877],[125.778356,40.897645],[125.817161,40.866877],[125.860892,40.888597],[125.875059,40.908501],[125.921254,40.882715],[125.959442,40.88181],[126.008102,40.936537],[126.041362,40.928851],[126.051833,40.96185],[126.08263,40.976762],[126.066,40.997542],[126.1085,41.011995],[126.099877,41.036376],[126.133753,41.063906],[126.124514,41.092327],[126.16763,41.094583],[126.187956,41.113072],[126.188572,41.114875],[126.295129,41.171661],[126.332086,41.236949],[126.35426,41.244599],[126.373354,41.289133],[126.437411,41.353405],[126.497158,41.374965],[126.524259,41.349362],[126.539041,41.366881],[126.497158,41.406842],[126.559983,41.548081],[126.582773,41.563307],[126.564295,41.608965],[126.592628,41.624624],[126.608027,41.669345],[126.644983,41.661297],[126.688099,41.674262],[126.724439,41.710907],[126.690562,41.728328],[126.694874,41.751103],[126.723207,41.753335],[126.8002,41.702865],[126.809439,41.749317],[126.848243,41.734134],[126.85625,41.760031],[126.887047,41.791719],[126.931395,41.812687],[126.952953,41.804212],[126.940018,41.773423],[126.979438,41.776993],[127.005923,41.749317],[127.050887,41.744852],[127.057662,41.703758],[127.037952,41.676944],[127.103242,41.647883],[127.093387,41.629993],[127.127263,41.622388],[127.135887,41.600463],[127.178386,41.600015],[127.125416,41.566442],[127.11864,41.540018],[127.164836,41.542706],[127.188241,41.527475],[127.241212,41.520754],[127.28864,41.501932],[127.253531,41.486691],[127.296031,41.486243],[127.360704,41.466065],[127.360088,41.479518],[127.405668,41.478621],[127.419835,41.460235],[127.459255,41.461581],[127.465414,41.479069],[127.526392,41.467859],[127.547334,41.477276],[127.563964,41.432871],[127.618783,41.432871],[127.636645,41.413575],[127.684073,41.422999],[127.780159,41.427038],[127.854688,41.420755],[127.86947,41.4037],[127.882405,41.448124],[127.909506,41.42973],[127.93168,41.444984],[127.970484,41.438704],[127.991426,41.421204],[128.000049,41.442741],[128.040085,41.393375],[128.110919,41.393375],[128.090593,41.374516],[128.114614,41.364186],[128.169433,41.404149],[128.203925,41.410882],[128.243345,41.477276],[128.238418,41.497898],[128.301244,41.540018],[128.317874,41.575844],[128.30186,41.627756],[128.248889,41.681414],[128.208853,41.688565],[128.163889,41.721628],[128.147875,41.78101],[128.112766,41.793504],[128.104143,41.843457],[128.115846,41.896935],[128.106607,41.949923],[128.033926,42.000199],[128.090593,42.022877],[128.294468,42.026434],[128.405338,42.018876],[128.466316,42.020654],[128.49896,42.000644],[128.598127,42.007315],[128.60675,42.02999],[128.637547,42.035324],[128.658489,42.018876],[128.70222,42.02021],[128.737945,42.050435],[128.779213,42.033546],[128.795227,42.042436],[128.898089,42.016653],[128.952908,42.025545],[128.954755,42.083756],[128.971386,42.097079],[129.008958,42.09175],[129.039139,42.107736],[129.048378,42.137476],[129.113668,42.140583],[129.166639,42.188047],[129.215914,42.208442],[129.209138,42.237692],[129.181421,42.242122],[129.183269,42.262056],[129.215914,42.265157],[129.231312,42.283755],[129.208522,42.293052],[129.260261,42.335536],[129.231312,42.356325],[129.240551,42.376223],[129.326167,42.389927],[129.30892,42.403628],[129.331094,42.429695],[129.356348,42.427045],[129.342181,42.441179],[129.368051,42.459284],[129.366203,42.428811],[129.392688,42.42837],[129.400695,42.449128],[129.452434,42.441179],[129.49863,42.412023],[129.546057,42.361632],[129.578086,42.380202],[129.569463,42.399208],[129.601492,42.415116]]]]}},{"type":"Feature","properties":{"adcode":230000,"name":"黑龙江省","center":[126.642464,45.756967],"centroid":[127.693027,48.040465],"childrenNum":13,"level":"province","parent":{"adcode":100000},"subFeatureIndex":7,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.569598,46.223816],[123.604706,46.251964],[123.673692,46.258585],[123.726047,46.255688],[123.775938,46.263136],[123.84985,46.302428],[123.896046,46.303668],[123.917604,46.25693],[123.936082,46.286715],[123.960103,46.288369],[123.952096,46.256516],[123.979814,46.228784],[123.956408,46.206009],[123.971806,46.170379],[124.001987,46.166649],[123.991516,46.143019],[124.01677,46.118549],[123.99398,46.101123],[124.015538,46.088257],[124.009995,46.057534],[124.034016,46.045074],[124.040176,46.01973],[123.989053,46.011833],[124.011842,45.981899],[123.973654,45.973997],[123.968727,45.936551],[123.996444,45.906993],[124.061118,45.886168],[124.067277,45.840325],[124.03648,45.83824],[124.064197,45.802372],[124.001987,45.770655],[124.014922,45.749779],[124.054342,45.751449],[124.098074,45.722628],[124.10177,45.700898],[124.13503,45.690448],[124.122096,45.669123],[124.147349,45.665359],[124.128255,45.641933],[124.162132,45.616404],[124.226805,45.633564],[124.238508,45.591702],[124.273001,45.584163],[124.264377,45.555256],[124.287783,45.539329],[124.348761,45.546874],[124.369087,45.512915],[124.352457,45.496557],[124.374015,45.45795],[124.398652,45.440737],[124.480572,45.456271],[124.507058,45.424778],[124.544014,45.411756],[124.579738,45.424358],[124.575427,45.451234],[124.625318,45.437377],[124.690607,45.452493],[124.729412,45.444096],[124.776223,45.468024],[124.792853,45.436958],[124.839665,45.455852],[124.886476,45.442836],[124.884628,45.495299],[124.911114,45.535976],[124.936983,45.53388],[124.961005,45.495299],[125.025678,45.493201],[125.0497,45.428558],[125.08912,45.420998],[125.06633,45.39915],[125.097127,45.38276],[125.137779,45.409655],[125.189518,45.39915],[125.248649,45.417637],[125.301619,45.402092],[125.319482,45.422678],[125.361981,45.392847],[125.398322,45.416797],[125.434662,45.462988],[125.424807,45.485649],[125.480242,45.486488],[125.497488,45.469283],[125.583104,45.491942],[125.61698,45.517947],[125.660096,45.507043],[125.687813,45.514173],[125.711835,45.477677],[125.712451,45.389485],[125.695205,45.352066],[125.726001,45.336503],[125.761726,45.291472],[125.815929,45.264942],[125.823936,45.237978],[125.849805,45.23882],[125.915095,45.196664],[125.957595,45.201303],[125.992703,45.192447],[125.998247,45.162072],[126.047522,45.170933],[126.091869,45.149411],[126.142992,45.147723],[126.166398,45.13337],[126.225528,45.154054],[126.235383,45.140125],[126.285274,45.162494],[126.293282,45.180214],[126.356107,45.185698],[126.402919,45.222805],[126.519331,45.248091],[126.540273,45.23882],[126.569222,45.252725],[126.644983,45.225334],[126.640055,45.214373],[126.685635,45.187807],[126.732446,45.187385],[126.787265,45.159118],[126.792808,45.135481],[126.85625,45.145613],[126.96404,45.132104],[126.970815,45.070852],[126.984981,45.067893],[127.018242,45.024341],[127.050271,45.004034],[127.092771,44.94688],[127.073061,44.907051],[127.021938,44.898997],[126.999764,44.87398],[126.984366,44.823914],[126.9973,44.764882],[127.041032,44.712169],[127.030561,44.673454],[127.044112,44.653874],[127.041648,44.591258],[127.049655,44.566961],[127.089691,44.593816],[127.094619,44.615972],[127.138966,44.607451],[127.182082,44.644507],[127.228893,44.642804],[127.214111,44.624917],[127.261538,44.61299],[127.275705,44.640249],[127.392733,44.632158],[127.557189,44.575488],[127.570124,44.55033],[127.536247,44.522176],[127.485124,44.528576],[127.465414,44.516628],[127.463566,44.484615],[127.50853,44.437202],[127.486356,44.410275],[127.579363,44.310581],[127.623711,44.278025],[127.59045,44.227872],[127.626174,44.187977],[127.641573,44.193555],[127.681609,44.166946],[127.712406,44.199133],[127.735811,44.11412],[127.729036,44.09908],[127.783239,44.071997],[127.808492,44.086615],[127.846065,44.081886],[127.862695,44.062967],[127.912586,44.064687],[127.950158,44.088334],[128.042549,44.103807],[128.091208,44.133022],[128.088129,44.158359],[128.060411,44.168663],[128.09244,44.181539],[128.104143,44.230017],[128.064107,44.251454],[128.101679,44.293449],[128.065339,44.307155],[128.049941,44.349965],[128.074578,44.370075],[128.094904,44.354673],[128.137404,44.357668],[128.172512,44.34697],[128.211317,44.431647],[128.228563,44.445748],[128.293237,44.467961],[128.295084,44.480772],[128.372693,44.514495],[128.397946,44.483761],[128.427511,44.473512],[128.463236,44.431647],[128.457076,44.409848],[128.481714,44.375637],[128.475555,44.346114],[128.446605,44.339694],[128.472475,44.320001],[128.453997,44.257884],[128.471859,44.247596],[128.450301,44.203423],[128.471859,44.157501],[128.529141,44.112401],[128.574721,44.047914],[128.584576,43.990246],[128.610445,43.960529],[128.64001,43.948035],[128.636315,43.891132],[128.696061,43.903207],[128.729938,43.889838],[128.760734,43.857482],[128.719467,43.816905],[128.739177,43.806972],[128.760119,43.755554],[128.729322,43.736964],[128.768126,43.732207],[128.78722,43.686784],[128.821097,43.637429],[128.834647,43.587599],[128.878379,43.539898],[128.949828,43.553779],[128.962763,43.53903],[129.013886,43.522976],[129.037907,43.540332],[129.093958,43.547706],[129.145081,43.570258],[129.169102,43.561585],[129.23008,43.593234],[129.232544,43.635263],[129.217146,43.648689],[129.214066,43.695006],[129.232544,43.709284],[129.211602,43.784509],[129.254718,43.819496],[129.289826,43.797038],[129.30892,43.812155],[129.348341,43.798333],[129.406855,43.819496],[129.417942,43.843672],[129.449971,43.850578],[129.467833,43.874741],[129.529427,43.870427],[129.650767,43.873016],[129.699426,43.8838],[129.743158,43.876035],[129.739462,43.895876],[129.780114,43.892857],[129.802904,43.964837],[129.868193,44.012631],[129.881128,44.000148],[129.907614,44.023821],[129.951345,44.027263],[129.979062,44.015644],[130.017867,43.961821],[130.022794,43.917866],[130.009243,43.889407],[130.027722,43.851872],[130.079461,43.835039],[130.110873,43.852735],[130.116417,43.878192],[130.143518,43.878624],[130.153373,43.915711],[130.208192,43.948466],[130.262395,43.949328],[130.27225,43.981634],[130.307358,44.002731],[130.319061,44.03974],[130.365256,44.044042],[130.364025,43.992399],[130.338155,43.963975],[130.381887,43.910106],[130.368336,43.894151],[130.386198,43.85403],[130.362793,43.844967],[130.381887,43.817768],[130.382503,43.777164],[130.423155,43.745179],[130.394206,43.703227],[130.412684,43.652586],[130.437937,43.646091],[130.488444,43.65605],[130.501995,43.636563],[130.57098,43.626167],[130.57098,43.626167],[130.630726,43.622268],[130.623335,43.589767],[130.665835,43.583698],[130.671378,43.565054],[130.727429,43.560284],[130.776704,43.52341],[130.822899,43.503446],[130.841378,43.454374],[130.864167,43.437863],[130.907283,43.434387],[130.959638,43.48608],[131.026775,43.508655],[131.142572,43.425695],[131.175217,43.444816],[131.201086,43.442209],[131.234963,43.475224],[131.294093,43.470012],[131.304564,43.502144],[131.276847,43.495632],[131.20047,43.532089],[131.222028,43.593234],[131.216485,43.613169],[131.239274,43.670337],[131.221412,43.682024],[131.215869,43.72745],[131.232499,43.742585],[131.213405,43.801357],[131.2171,43.836334],[131.254057,43.893289],[131.26268,43.948897],[131.245434,43.95579],[131.26576,44.034578],[131.28239,44.035868],[131.287318,44.03802],[131.293477,44.043182],[131.310723,44.046623],[131.111775,44.710042],[131.090833,44.717272],[131.093297,44.746183],[131.069275,44.759783],[131.064348,44.786973],[131.016304,44.789521],[131.015688,44.814999],[130.972573,44.820094],[130.965181,44.85065],[131.07913,44.881614],[131.10192,44.898997],[131.090217,44.924427],[131.16105,44.948151],[131.20355,44.932901],[131.207861,44.913833],[131.263296,44.929935],[131.274999,44.919766],[131.313803,44.950692],[131.313803,44.965938],[131.355071,44.990068],[131.380324,44.978216],[131.409889,44.985836],[131.464708,44.963397],[131.501664,44.977793],[131.484418,44.99557],[131.529382,45.012073],[131.566338,45.045487],[131.63286,45.075078],[131.695685,45.132104],[131.687678,45.1511],[131.650722,45.159962],[131.681519,45.215217],[131.721555,45.234606],[131.759127,45.213952],[131.79362,45.211844],[131.788692,45.245984],[131.825649,45.291472],[131.82996,45.311677],[131.887858,45.342393],[131.917423,45.339448],[131.93159,45.287683],[131.976554,45.277156],[132.003655,45.25441],[132.17427,45.216903],[132.394161,45.16376],[132.76434,45.081417],[132.867202,45.061976],[132.916477,45.031109],[132.954049,45.023072],[132.98731,45.043373],[133.035969,45.054366],[133.070462,45.097051],[133.089556,45.097473],[133.107418,45.124504],[133.139447,45.127459],[133.129592,45.211422],[133.095715,45.246827],[133.110498,45.266627],[133.097563,45.284735],[133.128976,45.336924],[133.119121,45.352908],[133.144991,45.367205],[133.143759,45.430658],[133.164701,45.437377],[133.170244,45.465506],[133.203505,45.516689],[133.246005,45.517528],[133.333468,45.562379],[133.342707,45.554836],[133.393214,45.580393],[133.423395,45.584163],[133.412924,45.618079],[133.471438,45.631053],[133.448649,45.647372],[133.485605,45.658667],[133.484989,45.691702],[133.445569,45.705077],[133.454192,45.731819],[133.486837,45.740173],[133.469591,45.777751],[133.505315,45.785681],[133.469591,45.799451],[133.467743,45.834905],[133.494228,45.840325],[133.491764,45.867002],[133.51209,45.887001],[133.55459,45.893249],[133.583539,45.868669],[133.618032,45.903662],[133.614952,45.942794],[133.676546,45.94321],[133.681474,45.986473],[133.740604,46.048812],[133.745531,46.075389],[133.690713,46.133896],[133.706111,46.163333],[133.764626,46.17328],[133.794807,46.193583],[133.814517,46.230854],[133.849625,46.203939],[133.87919,46.233752],[133.867487,46.250722],[133.909987,46.254447],[133.91861,46.280924],[133.908139,46.308216],[133.922922,46.330948],[133.869335,46.338386],[133.876726,46.362345],[133.940784,46.38134],[133.948791,46.401153],[133.902596,46.446119],[133.852089,46.450242],[133.849625,46.475389],[133.890893,46.525235],[133.919842,46.596012],[134.011001,46.637941],[134.030711,46.708981],[134.033175,46.759023],[134.052885,46.779928],[134.025168,46.810657],[134.041182,46.848326],[134.042414,46.886787],[134.076291,46.938298],[134.063972,46.979962],[134.10216,47.005678],[134.118175,47.061968],[134.142812,47.093349],[134.222268,47.105164],[134.232739,47.134892],[134.230276,47.182097],[134.210566,47.210155],[134.156979,47.248357],[134.177305,47.326299],[134.203174,47.347389],[134.263536,47.371307],[134.266616,47.391974],[134.307268,47.428829],[134.339297,47.439759],[134.490202,47.446235],[134.522847,47.468086],[134.568426,47.478199],[134.576434,47.519036],[134.627556,47.546512],[134.678064,47.588507],[134.689766,47.63813],[134.779694,47.7159],[134.772918,47.763391],[134.678679,47.819278],[134.670056,47.864667],[134.677448,47.884738],[134.658969,47.901191],[134.607846,47.909214],[134.599839,47.947711],[134.55426,47.982173],[134.551796,48.032622],[134.632484,48.099412],[134.67252,48.170505],[134.679295,48.256245],[134.77107,48.288908],[134.864077,48.332293],[135.009439,48.365703],[135.090743,48.403461],[135.09567,48.437618],[135.068569,48.459451],[135.035924,48.440795],[134.996504,48.439603],[134.927519,48.451513],[134.886867,48.437618],[134.848679,48.393925],[134.820961,48.37604],[134.764295,48.370076],[134.704549,48.405448],[134.640491,48.409818],[134.578281,48.405448],[134.501905,48.418954],[134.438463,48.405448],[134.369478,48.382797],[134.20379,48.3824],[134.150819,48.346217],[134.116327,48.333089],[134.0689,48.338659],[134.029479,48.327519],[133.995603,48.303639],[133.940784,48.302047],[133.876111,48.282536],[133.824372,48.277359],[133.791111,48.261026],[133.740604,48.254651],[133.693177,48.186866],[133.667307,48.183275],[133.59709,48.194846],[133.573068,48.182078],[133.545967,48.121389],[133.451728,48.112999],[133.407997,48.124585],[133.302055,48.103009],[133.239845,48.126583],[133.182563,48.135769],[133.130208,48.134971],[133.053216,48.110202],[133.02673,48.085421],[133.016259,48.054228],[132.992238,48.035424],[132.883216,48.002599],[132.819159,47.936887],[132.769268,47.93849],[132.723072,47.962941],[132.691043,47.962941],[132.661478,47.944905],[132.662094,47.922451],[132.687348,47.88514],[132.662094,47.854227],[132.621442,47.82852],[132.599268,47.792347],[132.6005,47.740858],[132.558,47.718316],[132.469305,47.726368],[132.371987,47.765402],[132.325175,47.762184],[132.288835,47.742065],[132.272205,47.718718],[132.242639,47.70986],[132.19706,47.714289],[132.157024,47.70543],[132.086191,47.703013],[132.000575,47.712276],[131.976554,47.673201],[131.900793,47.685692],[131.825649,47.677231],[131.741881,47.706638],[131.690142,47.707041],[131.641483,47.663932],[131.59036,47.660707],[131.568186,47.682469],[131.559563,47.724757],[131.543548,47.736028],[131.456085,47.747297],[131.359998,47.730796],[131.273767,47.738846],[131.236811,47.733211],[131.183224,47.702611],[131.115471,47.689721],[131.029855,47.694555],[130.983659,47.713081],[130.966413,47.733211],[130.961486,47.828118],[130.891269,47.927263],[130.870943,47.943301],[130.770544,47.998194],[130.737284,48.034223],[130.699711,48.044227],[130.666451,48.105007],[130.673842,48.12818],[130.765617,48.18926],[130.769313,48.231136],[130.787791,48.256643],[130.817972,48.265409],[130.845073,48.296473],[130.81982,48.341444],[130.785327,48.357353],[130.747755,48.404256],[130.745907,48.449131],[130.776704,48.480084],[130.767465,48.507846],[130.711414,48.511414],[130.647357,48.484844],[130.620871,48.49595],[130.615944,48.575601],[130.605473,48.594207],[130.538335,48.612016],[130.538951,48.635751],[130.576524,48.688719],[130.622103,48.783842],[130.689856,48.849651],[130.680617,48.881146],[130.609168,48.881146],[130.559277,48.861071],[130.501995,48.865795],[130.471198,48.905541],[130.412068,48.905148],[130.279641,48.866976],[130.237757,48.868551],[130.219895,48.893739],[130.113337,48.956653],[130.059135,48.979047],[130.020946,49.021058],[129.937179,49.040285],[129.9187,49.060681],[129.934715,49.078717],[129.913157,49.1085],[129.866962,49.113985],[129.855259,49.133567],[129.864498,49.158621],[129.847867,49.181316],[129.784426,49.184054],[129.753629,49.208692],[129.761636,49.25754],[129.730223,49.288387],[129.696962,49.298535],[129.604571,49.279018],[129.562687,49.299706],[129.546057,49.395227],[129.51834,49.423652],[129.448739,49.441167],[129.390224,49.432605],[129.374826,49.414309],[129.379138,49.367175],[129.358196,49.355871],[129.320623,49.3586],[129.266421,49.396006],[129.215298,49.399122],[129.180805,49.386657],[129.143849,49.357431],[129.084719,49.359769],[129.061929,49.374189],[129.013886,49.457119],[128.932582,49.46801],[128.871604,49.492506],[128.792147,49.473065],[128.76135,49.482009],[128.763198,49.515824],[128.813089,49.558157],[128.802618,49.58222],[128.744104,49.595023],[128.715155,49.564756],[128.656025,49.577564],[128.619684,49.593471],[128.537764,49.604332],[128.500192,49.593859],[128.389939,49.58998],[128.343128,49.544956],[128.287077,49.566309],[128.243345,49.563203],[128.185447,49.53952],[128.122005,49.55311],[128.070882,49.556604],[128.001281,49.592307],[127.949542,49.596187],[127.897804,49.579116],[127.815268,49.593859],[127.782007,49.630698],[127.705015,49.665185],[127.677913,49.697712],[127.674833,49.764247],[127.653892,49.780094],[127.583059,49.786277],[127.531936,49.826059],[127.529472,49.864265],[127.547334,49.928645],[127.543638,49.944438],[127.495595,49.994479],[127.501755,50.056764],[127.58737,50.137768],[127.60708,50.178794],[127.603385,50.239309],[127.44632,50.270686],[127.371791,50.29669],[127.332371,50.340634],[127.369944,50.403996],[127.3644,50.438314],[127.30527,50.45432],[127.293567,50.46575],[127.323132,50.52552],[127.36132,50.547582],[127.370559,50.581415],[127.294799,50.663426],[127.28864,50.699451],[127.305886,50.733932],[127.295415,50.755139],[127.236285,50.781256],[127.143894,50.910111],[127.113713,50.93765],[127.052119,50.962911],[126.985597,51.029202],[126.922772,51.061937],[126.917844,51.138977],[126.899982,51.200518],[126.926467,51.246244],[126.976358,51.291551],[126.98375,51.318863],[126.970815,51.332327],[126.887047,51.321856],[126.877808,51.300906],[126.908605,51.283691],[126.92154,51.259729],[126.908605,51.246619],[126.863025,51.248492],[126.820526,51.281071],[126.813134,51.311756],[126.837156,51.345038],[126.904293,51.340552],[126.930163,51.359241],[126.908605,51.407423],[126.835308,51.413769],[126.791577,51.432428],[126.784185,51.448095],[126.812518,51.493948],[126.843931,51.521885],[126.837156,51.536033],[126.69549,51.57845],[126.67886,51.602246],[126.741069,51.642374],[126.723823,51.679126],[126.734294,51.711399],[126.724439,51.7266],[126.6727,51.73179],[126.658534,51.762544],[126.622809,51.777357],[126.580925,51.824728],[126.555056,51.874266],[126.510092,51.922274],[126.462665,51.948471],[126.468208,51.982395],[126.447882,52.009294],[126.450962,52.027709],[126.487918,52.041699],[126.514404,52.037282],[126.563679,52.119302],[126.556288,52.136203],[126.499005,52.16044],[126.457121,52.165212],[126.403535,52.185031],[126.34502,52.192002],[126.306832,52.205574],[126.312992,52.235271],[126.357955,52.264216],[126.401071,52.279597],[126.436795,52.277034],[126.4331,52.298632],[126.327774,52.310342],[126.320999,52.342163],[126.348716,52.357882],[126.353644,52.389304],[126.326542,52.424353],[126.268644,52.475051],[126.205202,52.466302],[126.192883,52.492181],[126.213209,52.525327],[126.147304,52.573],[126.066616,52.603905],[126.055529,52.582455],[126.030891,52.576273],[125.989008,52.603178],[125.968682,52.630429],[125.971145,52.654033],[125.995783,52.675085],[126.061688,52.673271],[126.072775,52.691048],[126.044442,52.739628],[126.112195,52.757016],[126.116507,52.768243],[126.052449,52.800095],[126.02042,52.795753],[125.985312,52.758465],[125.966834,52.759914],[125.937269,52.786705],[125.923718,52.815651],[125.855349,52.866259],[125.854117,52.891542],[125.827631,52.899123],[125.772197,52.89804],[125.751255,52.88143],[125.722306,52.880347],[125.678574,52.86084],[125.666871,52.869872],[125.665023,52.913561],[125.737088,52.943504],[125.742632,52.993964],[125.684118,53.00801],[125.643466,53.039686],[125.640386,53.06199],[125.613901,53.083564],[125.588647,53.081047],[125.530749,53.0512],[125.504263,53.061271],[125.503647,53.095424],[125.452524,53.107641],[125.343503,53.14463],[125.315786,53.144989],[125.252344,53.18051],[125.195062,53.198439],[125.142091,53.204175],[125.038613,53.202741],[124.970244,53.194137],[124.887708,53.164368],[124.909266,53.118059],[124.87231,53.099018],[124.832889,53.145347],[124.787926,53.140681],[124.734339,53.146783],[124.712165,53.162574],[124.720789,53.192344],[124.678905,53.207043],[124.590209,53.208476],[124.563108,53.201666],[124.496587,53.207759],[124.487348,53.217436],[124.435609,53.223886],[124.412203,53.248601],[124.375863,53.258984],[124.327819,53.331954],[124.239124,53.379817],[124.19416,53.37339],[124.125791,53.348033],[124.058038,53.404085],[124.01369,53.403371],[123.985973,53.434401],[123.865249,53.489627],[123.797495,53.489983],[123.746373,53.500308],[123.698329,53.498528],[123.668764,53.533756],[123.620721,53.550115],[123.58746,53.546915],[123.569598,53.505291],[123.53141,53.507071],[123.557895,53.531978],[123.546808,53.551537],[123.517243,53.558292],[123.490758,53.542648],[123.510468,53.509206],[123.499381,53.497816],[123.47228,53.509206],[123.454417,53.536602],[123.394055,53.538024],[123.309672,53.56078],[123.274563,53.563269],[123.231447,53.549404],[123.179092,53.509918],[123.137209,53.498172],[123.093477,53.508138],[123.052209,53.506715],[122.943804,53.483929],[122.894528,53.462914],[122.826775,53.457213],[122.763949,53.463626],[122.673406,53.459351],[122.608117,53.465408],[122.5379,53.453293],[122.496016,53.458638],[122.435038,53.444739],[122.37406,53.47467],[122.350038,53.505647],[122.266886,53.470039],[122.227466,53.461845],[122.161561,53.468614],[122.111054,53.426913],[122.077177,53.422277],[122.026054,53.428339],[121.875765,53.426556],[121.816019,53.41336],[121.754425,53.389454],[121.697758,53.392666],[121.589969,53.350891],[121.499426,53.337314],[121.504969,53.323018],[121.575802,53.29155],[121.615222,53.258984],[121.642324,53.262564],[121.679896,53.240722],[121.67928,53.199515],[121.660186,53.195213],[121.665114,53.170467],[121.722396,53.145706],[121.753193,53.147501],[121.784606,53.104408],[121.775367,53.089674],[121.817867,53.061631],[121.785838,53.018451],[121.715621,52.997926],[121.677432,52.948192],[121.66265,52.912478],[121.610295,52.892264],[121.604136,52.872401],[121.620766,52.853251],[121.591201,52.824693],[121.537614,52.801542],[121.511129,52.779104],[121.476636,52.772225],[121.455078,52.73528],[121.373158,52.683067],[121.309717,52.676173],[121.29247,52.651855],[121.237036,52.619167],[121.182217,52.59918],[121.225333,52.577364],[121.280151,52.586819],[121.323883,52.573727],[121.353448,52.534793],[121.411963,52.52205],[121.416274,52.499468],[121.474172,52.482706],[121.495114,52.484892],[121.519136,52.456821],[121.565331,52.460468],[121.590585,52.443326],[121.63986,52.44442],[121.678664,52.419973],[121.658338,52.3904],[121.715621,52.342894],[121.714389,52.318025],[121.769207,52.308147],[121.841272,52.282526],[121.901018,52.280695],[121.94783,52.298266],[121.976779,52.343626],[122.035909,52.377615],[122.040837,52.413038],[122.091344,52.427272],[122.080873,52.440407],[122.107358,52.452445],[122.142467,52.495096],[122.140003,52.510032],[122.168952,52.513674],[122.178191,52.48963],[122.207756,52.469218],[122.310618,52.475416],[122.326016,52.459374],[122.342031,52.414133],[122.367284,52.413768],[122.378987,52.395512],[122.419023,52.375057],[122.447356,52.394052],[122.484313,52.341432],[122.478153,52.29607],[122.560689,52.282526],[122.585943,52.266413],[122.67895,52.276667],[122.710979,52.256157],[122.76087,52.26678],[122.787355,52.252494],[122.766413,52.232705],[122.769493,52.179893],[122.73808,52.153464],[122.690653,52.140243],[122.629059,52.13657],[122.643841,52.111585],[122.625363,52.067459],[122.650616,52.058997],[122.664783,51.99861],[122.683877,51.974654],[122.726377,51.978709],[122.729457,51.919321],[122.706051,51.890151],[122.725761,51.87833],[122.732536,51.832495],[122.771957,51.779579],[122.749167,51.746613],[122.778732,51.698048],[122.816304,51.655371],[122.820616,51.633088],[122.85634,51.606707],[122.832935,51.581797],[122.874202,51.561339],[122.880362,51.537894],[122.858804,51.524864],[122.880362,51.511085],[122.854492,51.477551],[122.871123,51.455181],[122.900072,51.445112],[122.903768,51.415262],[122.946267,51.405183],[122.965977,51.386886],[122.965977,51.345786],[123.002934,51.31213],[123.069455,51.321108],[123.127969,51.297913],[123.231447,51.279199],[123.231447,51.268716],[123.294273,51.254111],[123.339853,51.27246],[123.376809,51.266844],[123.414381,51.278825],[123.440251,51.270963],[123.46304,51.286686],[123.582533,51.294545],[123.582533,51.306893],[123.661989,51.319237],[123.660141,51.342795],[123.711264,51.398089],[123.794416,51.361109],[123.842459,51.367462],[123.887423,51.320734],[123.926227,51.300532],[123.939777,51.313253],[123.994596,51.322604],[124.071588,51.320734],[124.090067,51.3413],[124.128255,51.347281],[124.192313,51.33943],[124.239124,51.344664],[124.271769,51.308389],[124.297638,51.298661],[124.339522,51.293422],[124.406659,51.272086],[124.430065,51.301281],[124.426985,51.331953],[124.443616,51.35812],[124.478108,51.36223],[124.490427,51.380537],[124.555717,51.375307],[124.58713,51.363725],[124.62655,51.327465],[124.693687,51.3327],[124.752817,51.35812],[124.76452,51.38726],[124.783614,51.392115],[124.864302,51.37979],[124.885244,51.40817],[124.942527,51.447349],[124.917889,51.474196],[124.928976,51.498419],[124.983795,51.508478],[125.004737,51.529332],[125.047236,51.529704],[125.073106,51.553526],[125.060171,51.59667],[125.098975,51.658341],[125.12854,51.659083],[125.130388,51.635317],[125.175968,51.639403],[125.214772,51.627888],[125.228938,51.640517],[125.289301,51.633831],[125.316402,51.610052],[125.35151,51.623801],[125.38046,51.585516],[125.424807,51.562827],[125.528285,51.488359],[125.559082,51.461521],[125.559082,51.461521],[125.595422,51.416755],[125.595422,51.416755],[125.60035,51.413396],[125.60035,51.413396],[125.600966,51.410409],[125.600966,51.410409],[125.62314,51.398089],[125.62314,51.398089],[125.623756,51.387633],[125.623756,51.387633],[125.626219,51.380163],[125.626219,51.380163],[125.700132,51.327465],[125.700132,51.327465],[125.740784,51.27583],[125.740784,51.27583],[125.76111,51.261976],[125.76111,51.261976],[125.761726,51.226385],[125.819008,51.227134],[125.850421,51.21364],[125.864588,51.146487],[125.909551,51.138977],[125.946508,51.108176],[125.970529,51.123955],[125.993935,51.119072],[125.976073,51.084498],[126.059225,51.043503],[126.033971,51.011132],[126.041978,50.981753],[126.068464,50.967434],[126.042594,50.92558],[126.02042,50.927466],[125.996399,50.906715],[125.997631,50.872738],[125.961906,50.901054],[125.939732,50.85423],[125.913247,50.825885],[125.878138,50.816812],[125.890457,50.805845],[125.836255,50.793363],[125.846726,50.769524],[125.828863,50.756654],[125.804226,50.773309],[125.758646,50.746809],[125.795603,50.738856],[125.78082,50.725598],[125.825784,50.70362],[125.789443,50.679735],[125.804226,50.658874],[125.793139,50.643316],[125.814697,50.62092],[125.807921,50.60383],[125.829479,50.56165],[125.794987,50.532748],[125.770349,50.531227],[125.754335,50.506874],[125.740784,50.523237],[125.699516,50.487078],[125.654553,50.471082],[125.627451,50.443268],[125.580024,50.449366],[125.562162,50.438314],[125.583104,50.409717],[125.567089,50.402852],[125.536292,50.420014],[125.522126,50.404759],[125.546763,50.358965],[125.520278,50.3498],[125.530749,50.331085],[125.463611,50.295925],[125.466075,50.266861],[125.442053,50.260357],[125.448829,50.216338],[125.417416,50.195654],[125.39093,50.199868],[125.382923,50.172278],[125.335496,50.161161],[125.376148,50.137385],[125.311474,50.140453],[125.27883,50.127411],[125.258504,50.103618],[125.287453,50.093636],[125.283757,50.070211],[125.328105,50.065985],[125.315786,50.04562],[125.289916,50.057917],[125.25296,50.041393],[125.283757,50.036012],[125.297924,50.014481],[125.278214,49.996402],[125.241873,49.987938],[125.231402,49.957531],[125.190134,49.959841],[125.199373,49.935194],[125.225859,49.922481],[125.212924,49.907452],[125.245569,49.87198],[125.225243,49.867351],[125.239409,49.844587],[125.177815,49.829533],[125.222779,49.799026],[125.221547,49.754969],[125.204301,49.734086],[125.225243,49.726349],[125.219699,49.669058],[125.185207,49.634574],[125.189518,49.652401],[125.164881,49.669446],[125.132236,49.672157],[125.127308,49.655113],[125.15441,49.616741],[125.16796,49.629923],[125.205533,49.593859],[125.23017,49.595411],[125.233866,49.536801],[125.211076,49.539908],[125.228323,49.487063],[125.270822,49.454395],[125.256656,49.437275],[125.25604,49.395227],[125.277598,49.379644],[125.256656,49.359769],[125.261583,49.322336],[125.214772,49.277066],[125.227707,49.248947],[125.219699,49.189139],[125.187671,49.186792],[125.158721,49.144921],[125.117453,49.126127],[125.034302,49.157056],[125.039845,49.17623],[124.983179,49.162535],[124.906802,49.184054],[124.860607,49.166448],[124.847672,49.129651],[124.809484,49.115943],[124.828578,49.077933],[124.808252,49.020666],[124.756513,48.967262],[124.744194,48.920487],[124.709086,48.920487],[124.715861,48.885475],[124.697383,48.841775],[124.654267,48.83429],[124.644412,48.80789],[124.656115,48.783842],[124.612383,48.747945],[124.624702,48.701755],[124.601912,48.632587],[124.579122,48.596582],[124.520608,48.556195],[124.548941,48.535593],[124.533543,48.515379],[124.555717,48.467784],[124.507674,48.445558],[124.52492,48.426897],[124.51876,48.378027],[124.547094,48.35775],[124.540934,48.335476],[124.579738,48.297269],[124.558796,48.268197],[124.579122,48.262221],[124.547094,48.200829],[124.512601,48.164518],[124.529847,48.146951],[124.505826,48.124985],[124.478108,48.123387],[124.46579,48.098213],[124.415899,48.08782],[124.430065,48.12099],[124.471333,48.133373],[124.475029,48.173698],[124.418978,48.181679],[124.412819,48.219175],[124.422058,48.245884],[124.365392,48.283731],[124.353689,48.315978],[124.317964,48.35099],[124.331515,48.380015],[124.309957,48.413393],[124.330283,48.435633],[124.302566,48.456673],[124.314269,48.503881],[124.25945,48.536385],[124.25945,48.536385],[124.136878,48.463023],[124.07898,48.43603],[124.019234,48.39313],[123.862785,48.271782],[123.746373,48.197638],[123.705105,48.152142],[123.579453,48.045427],[123.537569,48.021816],[123.300432,47.953723],[123.256085,47.876711],[123.214201,47.824502],[123.161846,47.781892],[123.041122,47.746492],[122.926557,47.697777],[122.848949,47.67441],[122.765181,47.614333],[122.59395,47.54732],[122.543443,47.495589],[122.507103,47.401291],[122.418407,47.350632],[122.441197,47.310476],[122.441197,47.310476],[122.462755,47.27841],[122.498479,47.255262],[122.531124,47.198771],[122.582863,47.158092],[122.582863,47.158092],[122.615508,47.124306],[122.679566,47.094164],[122.710363,47.093349],[122.710363,47.093349],[122.821232,47.065636],[122.852645,47.072158],[122.845869,47.046881],[122.778116,47.002822],[122.77442,46.973837],[122.798442,46.9575],[122.791051,46.941567],[122.83971,46.937072],[122.895144,46.960359],[122.893913,46.895376],[122.906847,46.80738],[122.996774,46.761483],[123.00355,46.730726],[123.026339,46.718829],[123.076846,46.745082],[123.103332,46.734828],[123.163694,46.74016],[123.198802,46.803283],[123.22344,46.821305],[123.221592,46.850373],[123.295505,46.865105],[123.341084,46.826628],[123.374345,46.837683],[123.40699,46.906416],[123.404526,46.935438],[123.360179,46.970978],[123.304128,46.964852],[123.301664,46.999965],[123.337389,46.988943],[123.42362,46.934212],[123.487678,46.959951],[123.52833,46.944836],[123.483366,46.84587],[123.506772,46.827038],[123.562823,46.82581],[123.575757,46.845461],[123.576989,46.891286],[123.605322,46.891286],[123.599163,46.868378],[123.625648,46.847508],[123.580069,46.827447],[123.629344,46.813524],[123.631808,46.728675],[123.603475,46.68928],[123.474743,46.686817],[123.366338,46.677784],[123.318295,46.662179],[123.276411,46.660947],[123.279491,46.616981],[123.228368,46.588198],[123.18094,46.614103],[123.098404,46.603002],[123.077462,46.622324],[123.04605,46.617803],[123.052825,46.579972],[123.002318,46.574624],[123.010325,46.524823],[123.011557,46.434984],[123.089781,46.347888],[123.142136,46.298293],[123.178476,46.248239],[123.248078,46.273065],[123.286266,46.250308],[123.320758,46.254447],[123.357099,46.232096],[123.357099,46.232096],[123.430396,46.243687],[123.452569,46.233338],[123.499381,46.259826],[123.569598,46.223816],[123.569598,46.223816]]]]}},{"type":"Feature","properties":{"adcode":310000,"name":"上海市","center":[121.472644,31.231706],"centroid":[121.438737,31.072559],"childrenNum":16,"level":"province","parent":{"adcode":100000},"subFeatureIndex":8,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.901349,31.017327],[120.940153,31.010146],[120.949392,31.030148],[120.989428,31.01425],[121.000515,30.938309],[120.993124,30.889532],[121.020225,30.872069],[120.991892,30.837133],[121.038087,30.814007],[121.060261,30.845354],[121.097833,30.857171],[121.13787,30.826342],[121.123087,30.77905],[121.174826,30.771851],[121.21671,30.785734],[121.232108,30.755909],[121.272144,30.723504],[121.274608,30.677191],[121.362071,30.679764],[121.426129,30.730192],[121.517288,30.775451],[121.601056,30.805269],[121.681128,30.818633],[121.904714,30.814007],[121.943518,30.776993],[121.970004,30.789333],[121.954605,30.825828],[121.994025,30.862823],[121.990945,30.96859],[121.977395,31.016301],[121.946598,31.066039],[121.809859,31.196669],[121.722396,31.3036],[121.599208,31.37465],[121.520984,31.394575],[121.404571,31.479337],[121.343593,31.511996],[121.301093,31.49873],[121.301093,31.49873],[121.247507,31.476785],[121.241963,31.493117],[121.174826,31.44922],[121.143413,31.392021],[121.113848,31.37465],[121.130478,31.343987],[121.142797,31.275472],[121.090442,31.291838],[121.060261,31.245289],[121.076892,31.158267],[121.018377,31.134194],[120.930298,31.141365],[120.881023,31.134706],[120.859465,31.100379],[120.890878,31.094229],[120.901349,31.017327]]],[[[121.974931,31.61704],[121.715005,31.673592],[121.64294,31.697527],[121.599824,31.703128],[121.49881,31.753012],[121.431673,31.769295],[121.384861,31.833382],[121.323267,31.868458],[121.265369,31.863883],[121.200079,31.834907],[121.118775,31.759119],[121.145261,31.75403],[121.289391,31.61653],[121.371926,31.553314],[121.395332,31.585437],[121.434136,31.590535],[121.547469,31.531382],[121.625693,31.501792],[121.682976,31.491075],[121.819098,31.437987],[121.890547,31.428795],[121.981706,31.464024],[121.995873,31.493117],[121.974931,31.61704]]],[[[121.795693,31.330186],[121.792613,31.363408],[121.742106,31.407345],[121.585657,31.454836],[121.567179,31.48342],[121.520984,31.494137],[121.509897,31.4824],[121.572107,31.435944],[121.727939,31.35472],[121.76428,31.31536],[121.785222,31.31127],[121.795693,31.330186]]],[[[121.801852,31.356765],[121.8037,31.328652],[121.840656,31.295418],[121.932431,31.283144],[122.016199,31.282121],[122.097503,31.255522],[122.122756,31.307179],[122.116597,31.320984],[122.040837,31.324051],[121.951525,31.337343],[121.845584,31.37465],[121.792613,31.377715],[121.801852,31.356765]]],[[[121.626925,31.445135],[121.631853,31.456878],[121.579498,31.479848],[121.626925,31.445135]]],[[[121.943518,31.215608],[121.959533,31.159291],[121.995873,31.160828],[122.008808,31.221238],[121.950909,31.228915],[121.943518,31.215608]]],[[[121.88254,31.240684],[121.909026,31.195133],[121.923808,31.234032],[121.88254,31.240684]]]]}},{"type":"Feature","properties":{"adcode":320000,"name":"江苏省","center":[118.767413,32.041544],"centroid":[119.486506,32.983991],"childrenNum":13,"level":"province","parent":{"adcode":100000},"subFeatureIndex":9,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.311654,34.561686],[117.27285,34.556757],[117.303647,34.542463],[117.267923,34.532603],[117.27285,34.499565],[117.252524,34.48674],[117.248213,34.451216],[117.166293,34.434435],[117.139191,34.526687],[117.15151,34.559222],[117.104083,34.648874],[117.073286,34.639026],[117.061583,34.675947],[117.070206,34.713835],[117.022163,34.759081],[116.969192,34.771864],[116.95133,34.81069],[116.979047,34.815113],[116.966113,34.844588],[116.929156,34.843114],[116.922381,34.894671],[116.858323,34.928533],[116.821983,34.929515],[116.815823,34.965324],[116.789338,34.975133],[116.781331,34.916757],[116.677853,34.939327],[116.622418,34.939818],[116.613795,34.922645],[116.557745,34.908905],[116.445028,34.895652],[116.408071,34.850972],[116.403144,34.756131],[116.369267,34.749247],[116.363724,34.715311],[116.392057,34.710391],[116.374195,34.640011],[116.430245,34.650843],[116.432709,34.630163],[116.477057,34.614896],[116.490607,34.573513],[116.594085,34.511894],[116.592237,34.493646],[116.662454,34.472927],[116.722816,34.472434],[116.773939,34.453683],[116.782563,34.429993],[116.828142,34.389012],[116.909446,34.408271],[116.969192,34.389012],[116.960569,34.363821],[116.983359,34.348011],[116.969192,34.283753],[117.051112,34.221425],[117.025243,34.167469],[117.046801,34.151622],[117.123793,34.128342],[117.130568,34.101586],[117.192162,34.068873],[117.257452,34.065899],[117.277162,34.078787],[117.311654,34.067882],[117.357234,34.088205],[117.404045,34.03218],[117.435458,34.028212],[117.514914,34.060941],[117.543248,34.038627],[117.569117,33.985051],[117.612849,34.000433],[117.629479,34.028708],[117.671363,33.992494],[117.672595,33.934916],[117.715095,33.879287],[117.753899,33.891211],[117.759442,33.874318],[117.739732,33.758467],[117.72495,33.74951],[117.750203,33.710688],[117.791471,33.733585],[117.843826,33.736074],[117.901724,33.720146],[117.972557,33.74951],[118.019985,33.738562],[118.065564,33.76593],[118.117919,33.766427],[118.161035,33.735576],[118.16781,33.663381],[118.112376,33.617045],[118.117919,33.594615],[118.107448,33.475391],[118.050782,33.491863],[118.027376,33.455421],[118.016905,33.402978],[118.029224,33.374995],[117.992883,33.333005],[117.974405,33.279487],[117.939297,33.262475],[117.942376,33.224936],[117.977485,33.226437],[117.988572,33.180869],[118.037231,33.152314],[118.038463,33.134776],[118.149332,33.169348],[118.178281,33.217926],[118.217085,33.191888],[118.219549,33.114227],[118.243571,33.027967],[118.244803,32.998359],[118.26944,32.969242],[118.303933,32.96874],[118.291614,32.946143],[118.252194,32.936601],[118.2331,32.914498],[118.250346,32.848157],[118.301469,32.846145],[118.300237,32.783275],[118.334114,32.761637],[118.363063,32.770695],[118.375382,32.718849],[118.411106,32.715828],[118.450526,32.743518],[118.483787,32.721367],[118.560163,32.729926],[118.572482,32.719856],[118.642699,32.744525],[118.707373,32.72036],[118.756648,32.737477],[118.73817,32.772708],[118.743097,32.853184],[118.743097,32.853184],[118.810235,32.853687],[118.821322,32.920527],[118.846575,32.922034],[118.849039,32.956689],[118.89585,32.957694],[118.89585,32.957694],[118.892771,32.941121],[118.934039,32.93861],[118.993169,32.958196],[119.020886,32.955685],[119.054763,32.8748],[119.113277,32.823014],[119.184726,32.825529],[119.211827,32.708275],[119.208748,32.641276],[119.230921,32.607001],[119.22045,32.576748],[119.152697,32.557582],[119.168096,32.536394],[119.142226,32.499556],[119.084944,32.452602],[119.041212,32.515201],[118.975923,32.505108],[118.922336,32.557078],[118.92172,32.557078],[118.922336,32.557078],[118.92172,32.557078],[118.890923,32.553042],[118.908169,32.59238],[118.84288,32.56767],[118.820706,32.60448],[118.784981,32.582295],[118.757264,32.603976],[118.73509,32.58885],[118.719076,32.614059],[118.719076,32.614059],[118.688895,32.588346],[118.658714,32.594397],[118.632844,32.578261],[118.59712,32.600951],[118.568787,32.585825],[118.564475,32.562122],[118.608823,32.536899],[118.592192,32.481383],[118.628533,32.467751],[118.691359,32.472295],[118.685199,32.403604],[118.703061,32.328792],[118.657482,32.30148],[118.674728,32.250375],[118.643931,32.209875],[118.510888,32.194176],[118.49549,32.165304],[118.501033,32.121726],[118.433896,32.086746],[118.394476,32.076098],[118.389548,31.985281],[118.363679,31.930443],[118.472084,31.879639],[118.466541,31.857784],[118.504729,31.841516],[118.481939,31.778453],[118.533678,31.76726],[118.521975,31.743343],[118.5577,31.73011],[118.571866,31.746397],[118.641467,31.75861],[118.653786,31.73011],[118.697518,31.709747],[118.643315,31.671555],[118.643315,31.649651],[118.736322,31.633347],[118.748025,31.675629],[118.773894,31.682759],[118.802844,31.619078],[118.858894,31.623665],[118.881684,31.564023],[118.885995,31.519139],[118.883532,31.500261],[118.852119,31.393553],[118.824401,31.375672],[118.767735,31.363919],[118.745561,31.372606],[118.720924,31.322518],[118.726467,31.282121],[118.756648,31.279564],[118.794836,31.229426],[118.870597,31.242219],[118.984546,31.237102],[119.014727,31.241707],[119.10527,31.235055],[119.107118,31.250917],[119.158241,31.294907],[119.197661,31.295418],[119.198277,31.270357],[119.266646,31.250405],[119.294363,31.263195],[119.338095,31.259103],[119.350414,31.301043],[119.374435,31.258591],[119.360269,31.213049],[119.391682,31.174142],[119.439109,31.177214],[119.461283,31.156219],[119.532732,31.159291],[119.599869,31.10909],[119.623891,31.130096],[119.678093,31.167997],[119.705811,31.152634],[119.715666,31.169533],[119.779723,31.17875],[119.809904,31.148536],[119.827151,31.174142],[119.878274,31.160828],[119.921389,31.170045],[119.946027,31.106016],[119.988527,31.059375],[120.001461,31.027071],[120.052584,31.00553],[120.111099,30.955761],[120.149903,30.937283],[120.223816,30.926502],[120.316206,30.933689],[120.371025,30.948575],[120.35809,30.886964],[120.42338,30.902884],[120.435083,30.920855],[120.441858,30.860768],[120.460336,30.839702],[120.489285,30.763624],[120.504684,30.757967],[120.563814,30.835592],[120.589684,30.854089],[120.654973,30.846896],[120.68269,30.882342],[120.713487,30.88491],[120.709176,30.933176],[120.684538,30.955247],[120.698089,30.970643],[120.746132,30.962432],[120.770154,30.996809],[120.820661,31.006556],[120.865624,30.989627],[120.901349,31.017327],[120.890878,31.094229],[120.859465,31.100379],[120.881023,31.134706],[120.930298,31.141365],[121.018377,31.134194],[121.076892,31.158267],[121.060261,31.245289],[121.090442,31.291838],[121.142797,31.275472],[121.130478,31.343987],[121.113848,31.37465],[121.143413,31.392021],[121.174826,31.44922],[121.241963,31.493117],[121.247507,31.476785],[121.301093,31.49873],[121.301093,31.49873],[121.343593,31.511996],[121.371926,31.553314],[121.289391,31.61653],[121.145261,31.75403],[121.118775,31.759119],[121.200079,31.834907],[121.265369,31.863883],[121.323267,31.868458],[121.384861,31.833382],[121.431673,31.769295],[121.49881,31.753012],[121.599824,31.703128],[121.64294,31.697527],[121.715005,31.673592],[121.974931,31.61704],[121.970004,31.718911],[121.889315,31.866425],[121.856055,31.955328],[121.772287,32.032984],[121.759352,32.059362],[121.525295,32.136423],[121.542542,32.152132],[121.458774,32.177462],[121.499426,32.211394],[121.493882,32.263533],[121.450151,32.282256],[121.425513,32.430885],[121.390405,32.460682],[121.352216,32.474315],[121.269681,32.483402],[121.153268,32.52933],[121.121855,32.569183],[121.076892,32.576243],[121.020225,32.605489],[120.961711,32.612042],[120.979573,32.636236],[120.963559,32.68259],[120.916131,32.701225],[120.953088,32.714318],[120.972182,32.761134],[120.981421,32.85972],[120.957399,32.893395],[120.932762,33.005887],[120.917979,33.02596],[120.871784,33.047032],[120.874247,33.093672],[120.843451,33.209915],[120.819429,33.237951],[120.833595,33.274984],[120.813885,33.303499],[120.769538,33.307],[120.741205,33.337505],[120.717183,33.436945],[120.680227,33.520306],[120.622944,33.615051],[120.611241,33.627012],[120.583524,33.668362],[120.534249,33.782346],[120.48559,33.859411],[120.367329,34.091674],[120.347619,34.179352],[120.314359,34.255563],[120.311895,34.306991],[120.103707,34.391481],[119.962657,34.459112],[119.811752,34.485754],[119.781571,34.515839],[119.641137,34.569078],[119.610956,34.592729],[119.569072,34.615389],[119.465594,34.672994],[119.525956,34.73351],[119.456971,34.748264],[119.381827,34.752198],[119.494543,34.754656],[119.497007,34.754164],[119.439725,34.785136],[119.440957,34.769406],[119.378747,34.764489],[119.312841,34.774813],[119.272189,34.797914],[119.238313,34.799388],[119.217371,34.827886],[119.202588,34.890253],[119.214907,34.925589],[119.211211,34.981507],[119.238313,35.048657],[119.285124,35.068252],[119.291899,35.028567],[119.307298,35.032977],[119.292515,35.068742],[119.306066,35.076578],[119.286972,35.115261],[119.250016,35.124562],[119.217371,35.106939],[119.137915,35.096167],[119.114509,35.055026],[119.027045,35.055516],[118.942662,35.040817],[118.928495,35.051106],[118.86259,35.025626],[118.860742,34.944233],[118.805307,34.87307],[118.80038,34.843114],[118.772047,34.794474],[118.739402,34.792508],[118.719076,34.745313],[118.764039,34.740396],[118.783749,34.723181],[118.739402,34.693663],[118.690127,34.678408],[118.664257,34.693663],[118.607591,34.694155],[118.601431,34.714327],[118.545997,34.705964],[118.460997,34.656258],[118.473932,34.623269],[118.439439,34.626223],[118.424657,34.595193],[118.439439,34.507949],[118.416034,34.473914],[118.404947,34.427525],[118.379693,34.415183],[118.290382,34.424563],[118.277447,34.404814],[118.220165,34.405802],[118.217701,34.379134],[118.179513,34.379628],[118.177665,34.45319],[118.132702,34.483287],[118.16473,34.50499],[118.185056,34.543942],[118.079115,34.569571],[118.114839,34.614404],[118.084042,34.655766],[118.053861,34.650843],[117.951615,34.678408],[117.909732,34.670533],[117.902956,34.644443],[117.793935,34.651827],[117.791471,34.583368],[117.801942,34.518798],[117.684298,34.547392],[117.659044,34.501044],[117.609769,34.490686],[117.592523,34.462566],[117.53832,34.467006],[117.465023,34.484767],[117.402813,34.550843],[117.402813,34.569571],[117.370785,34.584846],[117.325205,34.573021],[117.325205,34.573021],[117.32151,34.566614],[117.32151,34.566614],[117.311654,34.561686],[117.311654,34.561686]]]]}},{"type":"Feature","properties":{"adcode":330000,"name":"浙江省","center":[120.153576,30.287459],"centroid":[120.109913,29.181466],"childrenNum":11,"level":"province","parent":{"adcode":100000},"subFeatureIndex":10,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[118.433896,28.288335],[118.444367,28.253548],[118.490562,28.238259],[118.493026,28.262509],[118.588497,28.282538],[118.595272,28.258292],[118.651322,28.277267],[118.674728,28.27147],[118.699366,28.309939],[118.719692,28.312047],[118.756032,28.252493],[118.802228,28.240368],[118.804075,28.207675],[118.771431,28.188687],[118.805923,28.154923],[118.802228,28.117453],[118.767735,28.10584],[118.719076,28.063601],[118.733858,28.027684],[118.730163,27.970615],[118.753568,27.947885],[118.818242,27.916689],[118.829329,27.847921],[118.873677,27.733563],[118.879836,27.667859],[118.913713,27.619616],[118.909401,27.568168],[118.869365,27.540047],[118.907553,27.460952],[118.955597,27.4498],[118.986393,27.47582],[118.983314,27.498649],[119.020886,27.498118],[119.03998,27.478475],[119.092335,27.466262],[119.129907,27.475289],[119.121284,27.438115],[119.14777,27.424836],[119.224146,27.416868],[119.26911,27.42218],[119.285124,27.457766],[119.334399,27.480067],[119.360269,27.524657],[119.416935,27.539517],[119.438493,27.508734],[119.466826,27.526249],[119.501935,27.610601],[119.501319,27.649837],[119.541971,27.666799],[119.606028,27.674749],[119.644217,27.663619],[119.626354,27.620676],[119.630666,27.582491],[119.675014,27.574534],[119.659615,27.540578],[119.690412,27.537394],[119.70889,27.514042],[119.703347,27.446613],[119.685485,27.438646],[119.711354,27.403054],[119.750774,27.373829],[119.739687,27.362668],[119.782187,27.330241],[119.768636,27.307909],[119.843165,27.300464],[119.938636,27.329709],[119.960194,27.365857],[120.008237,27.375423],[120.026099,27.344063],[120.052584,27.338747],[120.096316,27.390302],[120.136968,27.402523],[120.134504,27.420055],[120.221352,27.420055],[120.26262,27.432804],[120.273091,27.38924],[120.340844,27.399867],[120.343924,27.363199],[120.430155,27.258976],[120.401822,27.250996],[120.404286,27.204166],[120.461568,27.142407],[120.492365,27.136016],[120.545952,27.156785],[120.574901,27.234501],[120.554575,27.25206],[120.580444,27.321203],[120.665444,27.357884],[120.673451,27.420055],[120.703016,27.478475],[120.637111,27.561271],[120.634647,27.577186],[120.685154,27.622797],[120.709176,27.682699],[120.771386,27.734623],[120.777545,27.774873],[120.809574,27.775402],[120.840371,27.758986],[120.910588,27.864852],[120.942001,27.896592],[120.97403,27.887071],[121.027616,27.832574],[121.070116,27.834162],[121.107688,27.81352],[121.152036,27.815638],[121.134174,27.787051],[121.13479,27.787051],[121.149572,27.801345],[121.149572,27.801875],[121.153268,27.809815],[121.152652,27.810344],[121.192072,27.822518],[121.193304,27.872259],[121.162507,27.879136],[121.162507,27.90717],[121.099681,27.895005],[121.05595,27.900294],[120.991892,27.95],[121.015298,27.981714],[121.059029,28.096338],[121.108304,28.139092],[121.121239,28.12537],[121.140949,28.031382],[121.176058,28.022401],[121.261057,28.034551],[121.299862,28.067297],[121.328195,28.134343],[121.373774,28.133287],[121.402107,28.197127],[121.45631,28.250385],[121.488955,28.301509],[121.538846,28.299401],[121.571491,28.279376],[121.580114,28.240368],[121.627541,28.251966],[121.669425,28.33312],[121.660186,28.355768],[121.634317,28.347868],[121.658954,28.392628],[121.692831,28.407368],[121.671273,28.472621],[121.646019,28.511544],[121.634317,28.562542],[121.596128,28.575156],[121.557324,28.645033],[121.540694,28.655537],[121.646019,28.682842],[121.689135,28.719062],[121.704534,28.804577],[121.687287,28.863294],[121.774751,28.863818],[121.772287,28.898404],[121.743338,28.954451],[121.711309,28.985865],[121.712541,29.028783],[121.658954,29.058606],[121.660186,29.118226],[121.616454,29.143318],[121.608447,29.168927],[121.715621,29.125022],[121.750113,29.136523],[121.767975,29.166837],[121.780294,29.10986],[121.811091,29.10986],[121.85975,29.086328],[121.884388,29.105677],[121.966308,29.052852],[121.970004,29.092604],[121.988482,29.110906],[121.986634,29.154817],[121.948446,29.193485],[121.971851,29.193485],[121.966924,29.249894],[122.002032,29.260336],[122.000185,29.278608],[121.94475,29.28435],[121.958301,29.334448],[121.936127,29.348012],[121.937975,29.384],[121.975547,29.411113],[121.993409,29.45229],[121.973083,29.477821],[121.968772,29.515846],[121.995257,29.545007],[122.000185,29.582486],[121.966308,29.636078],[121.909641,29.650122],[121.872685,29.632437],[121.833265,29.653242],[121.937359,29.748373],[122.003264,29.762401],[122.043916,29.822647],[122.10243,29.859504],[122.143082,29.877668],[122.140003,29.901535],[122.00696,29.891678],[122.00388,29.92021],[121.971235,29.955476],[121.919497,29.920729],[121.835113,29.958068],[121.78399,29.99332],[121.721164,29.992802],[121.699606,30.007832],[121.652795,30.071037],[121.635548,30.070002],[121.561636,30.184395],[121.497578,30.258861],[121.395332,30.338435],[121.371926,30.37097],[121.328195,30.397299],[121.225333,30.404526],[121.183449,30.434458],[121.092906,30.515952],[121.058413,30.563888],[121.148956,30.599953],[121.188992,30.632916],[121.239499,30.648878],[121.274608,30.677191],[121.272144,30.723504],[121.232108,30.755909],[121.21671,30.785734],[121.174826,30.771851],[121.123087,30.77905],[121.13787,30.826342],[121.097833,30.857171],[121.060261,30.845354],[121.038087,30.814007],[120.991892,30.837133],[121.020225,30.872069],[120.993124,30.889532],[121.000515,30.938309],[120.989428,31.01425],[120.949392,31.030148],[120.940153,31.010146],[120.901349,31.017327],[120.865624,30.989627],[120.820661,31.006556],[120.770154,30.996809],[120.746132,30.962432],[120.698089,30.970643],[120.684538,30.955247],[120.709176,30.933176],[120.713487,30.88491],[120.68269,30.882342],[120.654973,30.846896],[120.589684,30.854089],[120.563814,30.835592],[120.504684,30.757967],[120.489285,30.763624],[120.460336,30.839702],[120.441858,30.860768],[120.435083,30.920855],[120.42338,30.902884],[120.35809,30.886964],[120.371025,30.948575],[120.316206,30.933689],[120.223816,30.926502],[120.149903,30.937283],[120.111099,30.955761],[120.052584,31.00553],[120.001461,31.027071],[119.988527,31.059375],[119.946027,31.106016],[119.921389,31.170045],[119.878274,31.160828],[119.827151,31.174142],[119.809904,31.148536],[119.779723,31.17875],[119.715666,31.169533],[119.705811,31.152634],[119.678093,31.167997],[119.623891,31.130096],[119.649144,31.104991],[119.629434,31.085517],[119.633746,31.019379],[119.580159,30.967051],[119.582007,30.932149],[119.563529,30.919315],[119.557369,30.874124],[119.575847,30.829939],[119.55429,30.825828],[119.527188,30.77905],[119.479761,30.772365],[119.482841,30.704467],[119.444652,30.650422],[119.408312,30.645274],[119.39045,30.685941],[119.343022,30.664322],[119.323312,30.630341],[119.238929,30.609225],[119.265414,30.574709],[119.237081,30.546881],[119.272189,30.510281],[119.326392,30.532964],[119.336247,30.508734],[119.335015,30.448389],[119.36766,30.38491],[119.402768,30.374584],[119.349182,30.349281],[119.326392,30.372002],[119.277117,30.341018],[119.246936,30.341018],[119.236465,30.297106],[119.201356,30.290905],[119.126828,30.304856],[119.091719,30.323972],[119.06277,30.304856],[118.988857,30.332237],[118.954365,30.360126],[118.880452,30.31519],[118.877988,30.282637],[118.905089,30.216464],[118.929727,30.2025],[118.852735,30.166805],[118.852119,30.149729],[118.895234,30.148694],[118.873677,30.11505],[118.878604,30.064822],[118.902626,30.029078],[118.894619,29.937845],[118.838568,29.934733],[118.841032,29.891159],[118.740634,29.814859],[118.744945,29.73902],[118.700598,29.706277],[118.647011,29.64336],[118.61991,29.654282],[118.573714,29.638159],[118.532446,29.588731],[118.500417,29.57572],[118.496106,29.519492],[118.381541,29.504909],[118.347664,29.474174],[118.329802,29.495012],[118.306396,29.479384],[118.316252,29.422581],[118.248498,29.431443],[118.193064,29.395472],[118.205382,29.343839],[118.166578,29.314099],[118.178281,29.297921],[118.138861,29.283828],[118.077883,29.290614],[118.073571,29.216993],[118.042159,29.210202],[118.027992,29.167882],[118.045238,29.149068],[118.037847,29.102017],[118.076035,29.074822],[118.066796,29.053898],[118.097593,28.998952],[118.115455,29.009944],[118.115455,29.009944],[118.133933,28.983771],[118.165346,28.986912],[118.227556,28.942406],[118.195527,28.904167],[118.270056,28.918836],[118.300237,28.826075],[118.364295,28.813491],[118.403099,28.702791],[118.428352,28.681267],[118.428352,28.617193],[118.428352,28.617193],[118.412338,28.55676],[118.4302,28.515225],[118.414802,28.497344],[118.474548,28.478934],[118.456686,28.424738],[118.432048,28.402104],[118.455454,28.384204],[118.480091,28.327325],[118.433896,28.288335]]],[[[122.163408,29.988137],[122.239785,29.962735],[122.279205,29.937326],[122.322321,29.940438],[122.341415,29.976733],[122.343879,30.020269],[122.310002,30.039958],[122.290908,30.074663],[122.301379,30.086574],[122.293988,30.100554],[122.152938,30.113497],[122.095655,30.158008],[122.048844,30.147141],[121.955221,30.183878],[121.934895,30.161631],[121.983554,30.100554],[121.989714,30.077252],[121.978011,30.059125],[122.027902,29.991247],[122.106742,30.005759],[122.118445,29.986582],[122.163408,29.988137]]],[[[122.213915,30.186464],[122.178807,30.199396],[122.152938,30.19112],[122.143698,30.163183],[122.168336,30.138343],[122.213915,30.186464]]],[[[122.229314,29.711995],[122.210836,29.700559],[122.269966,29.685482],[122.231162,29.710435],[122.229314,29.711995]]],[[[122.427646,30.738422],[122.427031,30.697777],[122.532972,30.696748],[122.528045,30.725047],[122.475074,30.714243],[122.445509,30.745109],[122.427646,30.738422]]],[[[122.162793,30.329654],[122.058083,30.291938],[122.154169,30.244903],[122.231778,30.234562],[122.247176,30.30124],[122.228082,30.329654],[122.191126,30.329654],[122.176343,30.351863],[122.162793,30.329654]]],[[[122.317393,30.249556],[122.277973,30.242835],[122.358661,30.236113],[122.365437,30.255242],[122.417175,30.238699],[122.40732,30.272817],[122.333408,30.272817],[122.317393,30.249556]]],[[[122.026054,29.178333],[122.013119,29.151681],[122.056851,29.158476],[122.075945,29.176243],[122.036525,29.20759],[122.026054,29.178333]]],[[[122.372212,29.893234],[122.386379,29.834069],[122.415944,29.828877],[122.401777,29.869884],[122.433806,29.883376],[122.43319,29.919173],[122.411632,29.951846],[122.398081,29.9394],[122.351886,29.959105],[122.330944,29.937845],[122.338951,29.911911],[122.353734,29.89946],[122.362973,29.894272],[122.372212,29.893234]]],[[[122.43011,30.408655],[122.432574,30.445294],[122.37406,30.461802],[122.277973,30.471603],[122.281669,30.418461],[122.318625,30.407106],[122.352502,30.422074],[122.43011,30.408655]]],[[[121.837577,28.770484],[121.86283,28.782024],[121.861598,28.814016],[121.837577,28.770484]]],[[[122.265038,29.84549],[122.221307,29.832512],[122.248408,29.804473],[122.310002,29.766557],[122.325401,29.781621],[122.299531,29.819532],[122.319241,29.829397],[122.265038,29.84549]]],[[[121.790765,29.082144],[121.832649,29.050236],[121.84312,29.082144],[121.82033,29.099402],[121.790765,29.082144]]],[[[121.201311,27.623328],[121.197616,27.618025],[121.198848,27.616964],[121.203775,27.625979],[121.201311,27.623328]]],[[[121.943518,30.776993],[121.968156,30.688514],[121.997105,30.658659],[122.087032,30.602014],[122.133227,30.595317],[122.075329,30.647848],[122.011271,30.66947],[121.992793,30.695204],[121.987866,30.753338],[121.970004,30.789333],[121.943518,30.776993]]],[[[121.889315,28.471569],[121.918881,28.497344],[121.881924,28.502603],[121.889315,28.471569]]],[[[122.182503,29.650642],[122.211452,29.692241],[122.200365,29.712515],[122.146778,29.749412],[122.13138,29.788893],[122.083952,29.78318],[122.047612,29.719791],[122.074097,29.701599],[122.095655,29.716673],[122.138155,29.662083],[122.182503,29.650642]]],[[[122.461523,29.944068],[122.459675,29.944586],[122.460291,29.947179],[122.451668,29.943031],[122.451052,29.940956],[122.450436,29.940956],[122.449204,29.9394],[122.4529,29.936807],[122.452284,29.935252],[122.45598,29.926435],[122.457827,29.927472],[122.462755,29.927991],[122.467067,29.928509],[122.459059,29.938882],[122.461523,29.944068]]],[[[122.570544,30.644244],[122.559457,30.679764],[122.546523,30.651967],[122.570544,30.644244]]],[[[121.869605,28.423685],[121.910873,28.44],[121.889931,28.45105],[121.869605,28.423685]]],[[[122.065474,30.179739],[122.055619,30.200431],[122.017431,30.186464],[122.025438,30.161631],[122.065474,30.179739]]],[[[122.391306,29.970512],[122.411632,30.025969],[122.378371,30.023896],[122.3679,29.980361],[122.391306,29.970512]]],[[[121.850511,29.977251],[121.874533,29.964809],[121.933047,29.994875],[121.924424,30.052391],[121.88562,30.094859],[121.848663,30.101072],[121.84004,30.047211],[121.844968,29.982953],[121.850511,29.977251]]],[[[121.066421,27.478475],[121.066421,27.461483],[121.107073,27.443958],[121.067036,27.478475],[121.066421,27.478475]]],[[[121.952141,29.187738],[121.979243,29.160043],[121.976779,29.191918],[121.952141,29.187738]]],[[[122.038373,29.759284],[122.011271,29.746294],[122.02975,29.716673],[122.038373,29.759284]]],[[[121.940438,30.114533],[121.910257,30.089163],[121.945982,30.064304],[121.962612,30.106249],[121.940438,30.114533]]],[[[121.957685,30.287804],[122.0008,30.308473],[121.989098,30.339985],[121.94167,30.33327],[121.921344,30.30744],[121.957685,30.287804]]],[[[122.192974,29.965327],[122.163408,29.988137],[122.152322,29.97103],[122.154169,29.97103],[122.155401,29.970512],[122.18435,29.955476],[122.192974,29.965327]]],[[[122.287828,29.723949],[122.301379,29.748373],[122.258263,29.753569],[122.241633,29.784738],[122.2133,29.771752],[122.251488,29.731225],[122.287828,29.723949]]],[[[121.134174,27.787051],[121.134174,27.785992],[121.13479,27.787051],[121.134174,27.787051]]],[[[122.760254,30.141966],[122.784275,30.130062],[122.781196,30.13265],[122.778116,30.13679],[122.770725,30.138861],[122.763333,30.141966],[122.762101,30.142484],[122.760254,30.141966]]],[[[122.264423,30.269716],[122.253952,30.237147],[122.315545,30.250073],[122.300147,30.271266],[122.264423,30.269716]]],[[[122.282901,29.860542],[122.30877,29.849642],[122.343263,29.860542],[122.343263,29.882857],[122.301379,29.883895],[122.282901,29.860542]]],[[[122.781196,30.694175],[122.799674,30.716301],[122.778732,30.729677],[122.757174,30.713728],[122.781196,30.694175]]],[[[121.098449,27.937311],[121.152652,27.961629],[121.120623,27.986471],[121.0695,27.984357],[121.038087,27.948942],[121.098449,27.937311]]],[[[121.185913,27.963215],[121.237652,27.988056],[121.197616,28.000739],[121.17113,27.978543],[121.185913,27.963215]]],[[[122.454132,29.956513],[122.447972,29.955994],[122.445509,29.952365],[122.446741,29.951327],[122.447972,29.947698],[122.459059,29.950809],[122.458443,29.951846],[122.455364,29.955994],[122.454132,29.956513]]],[[[122.836014,30.698806],[122.831087,30.728648],[122.807681,30.714243],[122.836014,30.698806]]],[[[122.200365,29.969475],[122.233626,29.946661],[122.273662,29.93214],[122.239785,29.960142],[122.200365,29.969475]]],[[[122.029134,29.954957],[122.043916,29.930584],[122.058699,29.955994],[122.029134,29.954957]]],[[[121.044247,27.979072],[121.089826,27.998625],[121.073812,28.007608],[121.044247,27.979072]]],[[[122.471378,29.927472],[122.470762,29.925916],[122.473226,29.925397],[122.47261,29.927472],[122.471378,29.927472]]],[[[122.152322,29.97103],[122.155401,29.970512],[122.154169,29.97103],[122.152322,29.97103]]]]}},{"type":"Feature","properties":{"adcode":340000,"name":"安徽省","center":[117.283042,31.86119],"centroid":[117.226884,31.849254],"childrenNum":16,"level":"province","parent":{"adcode":100000},"subFeatureIndex":11,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[116.599629,34.014324],[116.641512,33.978103],[116.64336,33.896675],[116.631042,33.887733],[116.566984,33.9081],[116.558361,33.881274],[116.486296,33.869846],[116.437637,33.846489],[116.437021,33.801246],[116.408071,33.805721],[116.393905,33.782843],[116.316912,33.771402],[116.263326,33.730101],[116.230065,33.735078],[116.155536,33.709693],[116.132747,33.751501],[116.100102,33.782843],[116.074232,33.781351],[116.055754,33.804727],[116.05945,33.860902],[115.982457,33.917039],[116.00032,33.965199],[115.95782,34.007875],[115.904233,34.009859],[115.876516,34.028708],[115.877132,34.002913],[115.85003,34.004898],[115.846335,34.028708],[115.809378,34.062428],[115.768726,34.061932],[115.736082,34.076805],[115.705901,34.059949],[115.658473,34.061437],[115.642459,34.03218],[115.60735,34.030196],[115.579017,33.974133],[115.577785,33.950307],[115.547604,33.874815],[115.631988,33.869846],[115.614126,33.775879],[115.576553,33.787817],[115.563003,33.772895],[115.601807,33.718653],[115.601191,33.658898],[115.639995,33.585143],[115.564851,33.576169],[115.511264,33.55323],[115.463837,33.567193],[115.422569,33.557219],[115.394851,33.506335],[115.366518,33.5233],[115.345576,33.502842],[115.345576,33.449928],[115.324634,33.457418],[115.315395,33.431451],[115.328946,33.403477],[115.313547,33.376994],[115.341881,33.370997],[115.365286,33.336005],[115.361591,33.298497],[115.335105,33.297997],[115.340033,33.260973],[115.300613,33.204407],[115.303692,33.149809],[115.289526,33.131769],[115.245178,33.135778],[115.194671,33.120743],[115.168186,33.088658],[115.041302,33.086653],[114.990795,33.102195],[114.966158,33.147304],[114.932897,33.153817],[114.902716,33.129764],[114.897172,33.086653],[114.913187,33.083143],[114.925506,33.016928],[114.891629,33.020441],[114.883006,32.990328],[114.916266,32.971251],[114.943368,32.935094],[115.009273,32.940117],[115.035143,32.932582],[115.029599,32.906962],[115.139237,32.897917],[115.155867,32.864747],[115.197135,32.856201],[115.189744,32.812452],[115.211301,32.785791],[115.189744,32.770695],[115.179273,32.726402],[115.182968,32.666973],[115.20083,32.591876],[115.24333,32.593388],[115.267352,32.578261],[115.30554,32.583303],[115.304924,32.553042],[115.411482,32.575235],[115.409018,32.549007],[115.497713,32.492489],[115.5088,32.468761],[115.510648,32.468761],[115.510648,32.468256],[115.510648,32.467751],[115.509416,32.466741],[115.522967,32.441997],[115.57101,32.419266],[115.604271,32.425833],[115.626445,32.40512],[115.657857,32.428864],[115.667712,32.409667],[115.704669,32.495013],[115.742241,32.476335],[115.771806,32.505108],[115.789052,32.468761],[115.861117,32.537403],[115.891298,32.576243],[115.910393,32.567165],[115.8759,32.542448],[115.845719,32.501575],[115.883291,32.487946],[115.865429,32.458662],[115.899306,32.390971],[115.912856,32.227596],[115.941805,32.166318],[115.922095,32.049725],[115.928871,32.003046],[115.909161,31.94314],[115.920248,31.920285],[115.894994,31.8649],[115.893762,31.832365],[115.914704,31.814567],[115.886371,31.776418],[115.851878,31.786593],[115.808147,31.770313],[115.808147,31.770313],[115.767495,31.78761],[115.731154,31.76726],[115.676336,31.778453],[115.553764,31.69549],[115.534054,31.698545],[115.495249,31.673083],[115.476771,31.643028],[115.485394,31.608885],[115.439815,31.588496],[115.415793,31.525771],[115.371446,31.495668],[115.389924,31.450241],[115.373909,31.405813],[115.393004,31.389977],[115.372062,31.349098],[115.40717,31.337854],[115.443511,31.344498],[115.473076,31.265242],[115.507568,31.267799],[115.539597,31.231985],[115.540213,31.194621],[115.585793,31.143926],[115.603655,31.17363],[115.655394,31.211002],[115.700973,31.201276],[115.778582,31.112164],[115.797676,31.128047],[115.837712,31.127022],[115.867277,31.147512],[115.887603,31.10909],[115.939958,31.071678],[115.938726,31.04707],[116.006479,31.034764],[116.015102,31.011685],[116.058834,31.012711],[116.071769,30.956787],[116.03974,30.957813],[115.976298,30.931636],[115.932566,30.889532],[115.865429,30.864364],[115.848799,30.828397],[115.863581,30.815549],[115.851262,30.756938],[115.782893,30.751795],[115.762567,30.685426],[115.81369,30.637035],[115.819234,30.597893],[115.848799,30.602014],[115.876516,30.582438],[115.887603,30.542758],[115.910393,30.519046],[115.894994,30.452517],[115.921479,30.416397],[115.885139,30.379747],[115.91532,30.337919],[115.903001,30.31364],[115.985537,30.290905],[115.997856,30.252657],[116.065609,30.204569],[116.055754,30.180774],[116.088399,30.110391],[116.078544,30.062233],[116.091479,30.036331],[116.073616,29.969993],[116.128435,29.897904],[116.13521,29.819532],[116.172783,29.828358],[116.227601,29.816936],[116.250391,29.785777],[116.280572,29.788893],[116.342782,29.835626],[116.467818,29.896347],[116.525716,29.897385],[116.552201,29.909836],[116.585462,30.045657],[116.620571,30.073109],[116.666766,30.076734],[116.720353,30.053945],[116.747454,30.057053],[116.783794,30.030632],[116.802889,29.99643],[116.830606,30.004723],[116.83307,29.95755],[116.868794,29.980361],[116.900207,29.949253],[116.882961,29.893753],[116.780715,29.792529],[116.762237,29.802396],[116.673541,29.709916],[116.698795,29.707836],[116.70557,29.69692],[116.706802,29.6964],[116.704954,29.688602],[116.680317,29.681323],[116.651983,29.637118],[116.716657,29.590813],[116.721585,29.564789],[116.760389,29.599139],[116.780715,29.569994],[116.849084,29.57624],[116.873722,29.609546],[116.939627,29.648561],[116.974736,29.657403],[116.996294,29.683403],[117.041873,29.680803],[117.112706,29.711995],[117.108395,29.75201],[117.136728,29.775388],[117.123177,29.798761],[117.073286,29.831992],[117.127489,29.86158],[117.129952,29.89946],[117.171836,29.920729],[117.2168,29.926953],[117.246365,29.915023],[117.261763,29.880781],[117.25314,29.834588],[117.29256,29.822647],[117.338756,29.848085],[117.359082,29.812782],[117.382487,29.840818],[117.415132,29.85068],[117.408973,29.802396],[117.455168,29.749412],[117.453936,29.688082],[117.490277,29.660003],[117.530313,29.654282],[117.523538,29.630356],[117.543248,29.588731],[117.608537,29.591333],[117.647957,29.614749],[117.678754,29.595496],[117.690457,29.555939],[117.729877,29.550213],[117.795167,29.570515],[117.872775,29.54761],[117.933753,29.549172],[118.00397,29.578322],[118.042774,29.566351],[118.050782,29.542924],[118.095129,29.534072],[118.143788,29.489803],[118.127774,29.47209],[118.136397,29.418932],[118.193064,29.395472],[118.248498,29.431443],[118.316252,29.422581],[118.306396,29.479384],[118.329802,29.495012],[118.347664,29.474174],[118.381541,29.504909],[118.496106,29.519492],[118.500417,29.57572],[118.532446,29.588731],[118.573714,29.638159],[118.61991,29.654282],[118.647011,29.64336],[118.700598,29.706277],[118.744945,29.73902],[118.740634,29.814859],[118.841032,29.891159],[118.838568,29.934733],[118.894619,29.937845],[118.902626,30.029078],[118.878604,30.064822],[118.873677,30.11505],[118.895234,30.148694],[118.852119,30.149729],[118.852735,30.166805],[118.929727,30.2025],[118.905089,30.216464],[118.877988,30.282637],[118.880452,30.31519],[118.954365,30.360126],[118.988857,30.332237],[119.06277,30.304856],[119.091719,30.323972],[119.126828,30.304856],[119.201356,30.290905],[119.236465,30.297106],[119.246936,30.341018],[119.277117,30.341018],[119.326392,30.372002],[119.349182,30.349281],[119.402768,30.374584],[119.36766,30.38491],[119.335015,30.448389],[119.336247,30.508734],[119.326392,30.532964],[119.272189,30.510281],[119.237081,30.546881],[119.265414,30.574709],[119.238929,30.609225],[119.323312,30.630341],[119.343022,30.664322],[119.39045,30.685941],[119.408312,30.645274],[119.444652,30.650422],[119.482841,30.704467],[119.479761,30.772365],[119.527188,30.77905],[119.55429,30.825828],[119.575847,30.829939],[119.557369,30.874124],[119.563529,30.919315],[119.582007,30.932149],[119.580159,30.967051],[119.633746,31.019379],[119.629434,31.085517],[119.649144,31.104991],[119.623891,31.130096],[119.599869,31.10909],[119.532732,31.159291],[119.461283,31.156219],[119.439109,31.177214],[119.391682,31.174142],[119.360269,31.213049],[119.374435,31.258591],[119.350414,31.301043],[119.338095,31.259103],[119.294363,31.263195],[119.266646,31.250405],[119.198277,31.270357],[119.197661,31.295418],[119.158241,31.294907],[119.107118,31.250917],[119.10527,31.235055],[119.014727,31.241707],[118.984546,31.237102],[118.870597,31.242219],[118.794836,31.229426],[118.756648,31.279564],[118.726467,31.282121],[118.720924,31.322518],[118.745561,31.372606],[118.767735,31.363919],[118.824401,31.375672],[118.852119,31.393553],[118.883532,31.500261],[118.857046,31.506384],[118.865669,31.519139],[118.885995,31.519139],[118.881684,31.564023],[118.858894,31.623665],[118.802844,31.619078],[118.773894,31.682759],[118.748025,31.675629],[118.736322,31.633347],[118.643315,31.649651],[118.643315,31.671555],[118.697518,31.709747],[118.653786,31.73011],[118.641467,31.75861],[118.571866,31.746397],[118.5577,31.73011],[118.521975,31.743343],[118.533678,31.76726],[118.481939,31.778453],[118.504729,31.841516],[118.466541,31.857784],[118.472084,31.879639],[118.363679,31.930443],[118.389548,31.985281],[118.394476,32.076098],[118.433896,32.086746],[118.501033,32.121726],[118.49549,32.165304],[118.510888,32.194176],[118.643931,32.209875],[118.674728,32.250375],[118.657482,32.30148],[118.703061,32.328792],[118.685199,32.403604],[118.691359,32.472295],[118.628533,32.467751],[118.592192,32.481383],[118.608823,32.536899],[118.564475,32.562122],[118.568787,32.585825],[118.59712,32.600951],[118.632844,32.578261],[118.658714,32.594397],[118.688895,32.588346],[118.719076,32.614059],[118.719076,32.614059],[118.73509,32.58885],[118.757264,32.603976],[118.784981,32.582295],[118.820706,32.60448],[118.84288,32.56767],[118.908169,32.59238],[118.890923,32.553042],[118.92172,32.557078],[118.922336,32.557078],[118.92172,32.557078],[118.922336,32.557078],[118.975923,32.505108],[119.041212,32.515201],[119.084944,32.452602],[119.142226,32.499556],[119.168096,32.536394],[119.152697,32.557582],[119.22045,32.576748],[119.230921,32.607001],[119.208748,32.641276],[119.211827,32.708275],[119.184726,32.825529],[119.113277,32.823014],[119.054763,32.8748],[119.020886,32.955685],[118.993169,32.958196],[118.934039,32.93861],[118.892771,32.941121],[118.89585,32.957694],[118.89585,32.957694],[118.849039,32.956689],[118.846575,32.922034],[118.821322,32.920527],[118.810235,32.853687],[118.743097,32.853184],[118.743097,32.853184],[118.73817,32.772708],[118.756648,32.737477],[118.707373,32.72036],[118.642699,32.744525],[118.572482,32.719856],[118.560163,32.729926],[118.483787,32.721367],[118.450526,32.743518],[118.411106,32.715828],[118.375382,32.718849],[118.363063,32.770695],[118.334114,32.761637],[118.300237,32.783275],[118.301469,32.846145],[118.250346,32.848157],[118.2331,32.914498],[118.252194,32.936601],[118.291614,32.946143],[118.303933,32.96874],[118.26944,32.969242],[118.244803,32.998359],[118.243571,33.027967],[118.219549,33.114227],[118.217085,33.191888],[118.178281,33.217926],[118.149332,33.169348],[118.038463,33.134776],[118.037231,33.152314],[117.988572,33.180869],[117.977485,33.226437],[117.942376,33.224936],[117.939297,33.262475],[117.974405,33.279487],[117.992883,33.333005],[118.029224,33.374995],[118.016905,33.402978],[118.027376,33.455421],[118.050782,33.491863],[118.107448,33.475391],[118.117919,33.594615],[118.112376,33.617045],[118.16781,33.663381],[118.161035,33.735576],[118.117919,33.766427],[118.065564,33.76593],[118.019985,33.738562],[117.972557,33.74951],[117.901724,33.720146],[117.843826,33.736074],[117.791471,33.733585],[117.750203,33.710688],[117.72495,33.74951],[117.739732,33.758467],[117.759442,33.874318],[117.753899,33.891211],[117.715095,33.879287],[117.672595,33.934916],[117.671363,33.992494],[117.629479,34.028708],[117.612849,34.000433],[117.569117,33.985051],[117.543248,34.038627],[117.514914,34.060941],[117.435458,34.028212],[117.404045,34.03218],[117.357234,34.088205],[117.311654,34.067882],[117.277162,34.078787],[117.257452,34.065899],[117.192162,34.068873],[117.130568,34.101586],[117.123793,34.128342],[117.046801,34.151622],[117.025243,34.167469],[117.051112,34.221425],[116.969192,34.283753],[116.983359,34.348011],[116.960569,34.363821],[116.969192,34.389012],[116.909446,34.408271],[116.828142,34.389012],[116.782563,34.429993],[116.773939,34.453683],[116.722816,34.472434],[116.662454,34.472927],[116.592237,34.493646],[116.594085,34.511894],[116.490607,34.573513],[116.477057,34.614896],[116.432709,34.630163],[116.430245,34.650843],[116.374195,34.640011],[116.334159,34.620806],[116.32492,34.601104],[116.286116,34.608986],[116.247927,34.551829],[116.196804,34.575977],[116.191261,34.535561],[116.204196,34.508442],[116.178326,34.496112],[116.162312,34.459605],[116.178942,34.430487],[116.215898,34.403333],[116.213435,34.382098],[116.255934,34.376665],[116.301514,34.342082],[116.357564,34.319843],[116.372347,34.26595],[116.409303,34.273863],[116.409303,34.273863],[116.456731,34.268917],[116.516477,34.296114],[116.562056,34.285731],[116.582382,34.266444],[116.545426,34.241711],[116.542962,34.203608],[116.565752,34.16945],[116.536187,34.151127],[116.52818,34.122892],[116.576223,34.068873],[116.576223,34.068873],[116.599629,34.014324],[116.599629,34.014324]]],[[[118.865669,31.519139],[118.857046,31.506384],[118.883532,31.500261],[118.885995,31.519139],[118.865669,31.519139]]],[[[116.698795,29.707836],[116.673541,29.709916],[116.653831,29.694841],[116.680317,29.681323],[116.704954,29.688602],[116.706802,29.6964],[116.70557,29.69692],[116.698795,29.707836]]],[[[115.5088,32.468761],[115.509416,32.466741],[115.510648,32.467751],[115.510648,32.468256],[115.510648,32.468761],[115.5088,32.468761]]]]}},{"type":"Feature","properties":{"adcode":350000,"name":"福建省","center":[119.306239,26.075302],"centroid":[118.006468,26.069925],"childrenNum":9,"level":"province","parent":{"adcode":100000},"subFeatureIndex":12,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.004872,24.970009],[118.989473,24.973807],[119.023966,25.04377],[119.016575,25.058409],[118.974691,25.024792],[118.945126,25.028588],[118.892155,25.092558],[118.974691,25.115319],[118.951901,25.15162],[118.985162,25.168954],[118.985162,25.19495],[118.942046,25.211195],[118.940198,25.21715],[118.943278,25.221482],[118.903242,25.239347],[118.900162,25.242595],[118.919256,25.248008],[118.91556,25.256668],[118.918024,25.25721],[118.956212,25.272905],[118.996864,25.266411],[118.975307,25.237723],[118.990089,25.20199],[119.055379,25.219316],[119.074473,25.211195],[119.054147,25.168412],[119.032589,25.17437],[119.028893,25.139702],[119.06585,25.102855],[119.075705,25.099604],[119.134219,25.106107],[119.107118,25.075214],[119.119436,25.012861],[119.146538,25.056782],[119.165632,25.145661],[119.137299,25.15487],[119.108349,25.193867],[119.131755,25.223106],[119.190269,25.175995],[119.231537,25.188993],[119.26911,25.159746],[119.314689,25.190076],[119.294979,25.237182],[119.331935,25.230685],[119.380595,25.250173],[119.333167,25.287516],[119.299291,25.328634],[119.247552,25.333502],[119.240776,25.316733],[119.218603,25.368115],[119.14469,25.388121],[119.151465,25.426503],[119.191501,25.424341],[119.232153,25.442176],[119.219834,25.468654],[119.256175,25.488643],[119.275269,25.476758],[119.26295,25.428124],[119.288204,25.410827],[119.353493,25.411908],[119.343638,25.472436],[119.359037,25.521592],[119.400921,25.493505],[119.45266,25.493505],[119.438493,25.412449],[119.463131,25.448661],[119.491464,25.443257],[119.48592,25.418935],[119.507478,25.396231],[119.486536,25.369737],[119.548746,25.365952],[119.578927,25.400556],[119.555521,25.429205],[119.577695,25.445959],[119.59063,25.398394],[119.582623,25.374063],[119.597405,25.334584],[119.649144,25.342697],[119.665159,25.3719],[119.656535,25.396772],[119.670086,25.435691],[119.622659,25.434069],[119.675014,25.468113],[119.682405,25.445959],[119.688564,25.441095],[119.773564,25.395691],[119.764325,25.433529],[119.804977,25.457847],[119.866571,25.455145],[119.864107,25.469734],[119.862875,25.474597],[119.811136,25.507009],[119.81668,25.532393],[119.861027,25.531313],[119.883817,25.546432],[119.831462,25.579905],[119.843165,25.597717],[119.790194,25.614447],[119.785883,25.66786],[119.700267,25.616606],[119.683637,25.592859],[119.716898,25.551292],[119.715666,25.51187],[119.680557,25.497827],[119.675014,25.475137],[119.634362,25.475137],[119.611572,25.519972],[119.616499,25.556691],[119.586934,25.59232],[119.534579,25.585303],[119.541355,25.6247],[119.478529,25.631715],[119.472986,25.662466],[119.543819,25.684581],[119.602949,25.68512],[119.602949,25.714779],[119.626354,25.723406],[119.628202,25.87212],[119.638057,25.889888],[119.69534,25.904424],[119.723673,26.011503],[119.700267,26.032477],[119.668854,26.026024],[119.654688,26.090002],[119.618963,26.11956],[119.604181,26.168985],[119.664543,26.202282],[119.676246,26.262943],[119.7711,26.285481],[119.802513,26.268846],[119.806825,26.307479],[119.845013,26.323036],[119.862875,26.307479],[119.904143,26.308552],[119.95465,26.352534],[119.946027,26.374519],[119.893672,26.355752],[119.835774,26.434019],[119.83639,26.454381],[119.788346,26.583435],[119.740303,26.610727],[119.670086,26.618218],[119.605412,26.595744],[119.577695,26.622498],[119.619579,26.649246],[119.637441,26.703256],[119.664543,26.726243],[119.711354,26.686681],[119.833926,26.690959],[119.864107,26.671174],[119.873962,26.642827],[119.908455,26.661547],[119.899216,26.693098],[119.938636,26.747088],[119.942947,26.784492],[120.052584,26.786629],[120.061824,26.768997],[119.99407,26.720363],[119.969433,26.686681],[119.972512,26.654594],[119.949107,26.624638],[119.901679,26.624638],[119.851788,26.595209],[119.828383,26.524013],[119.867187,26.509019],[119.947875,26.56042],[119.93802,26.576478],[119.967585,26.597885],[120.007621,26.595744],[120.063671,26.627848],[120.093852,26.613938],[120.1382,26.638012],[120.110483,26.692563],[120.162222,26.717691],[120.151135,26.750829],[120.106787,26.752966],[120.136352,26.797847],[120.103707,26.794642],[120.102476,26.82669],[120.073526,26.823485],[120.054432,26.863533],[120.117874,26.882751],[120.126497,26.920644],[120.130193,26.917976],[120.1807,26.920644],[120.233055,26.907837],[120.25954,26.982526],[120.279866,26.987326],[120.275554,27.027315],[120.29588,27.035845],[120.282946,27.089671],[120.391967,27.081146],[120.403054,27.10086],[120.461568,27.142407],[120.404286,27.204166],[120.401822,27.250996],[120.430155,27.258976],[120.343924,27.363199],[120.340844,27.399867],[120.273091,27.38924],[120.26262,27.432804],[120.221352,27.420055],[120.134504,27.420055],[120.136968,27.402523],[120.096316,27.390302],[120.052584,27.338747],[120.026099,27.344063],[120.008237,27.375423],[119.960194,27.365857],[119.938636,27.329709],[119.843165,27.300464],[119.768636,27.307909],[119.782187,27.330241],[119.739687,27.362668],[119.750774,27.373829],[119.711354,27.403054],[119.685485,27.438646],[119.703347,27.446613],[119.70889,27.514042],[119.690412,27.537394],[119.659615,27.540578],[119.675014,27.574534],[119.630666,27.582491],[119.626354,27.620676],[119.644217,27.663619],[119.606028,27.674749],[119.541971,27.666799],[119.501319,27.649837],[119.501935,27.610601],[119.466826,27.526249],[119.438493,27.508734],[119.416935,27.539517],[119.360269,27.524657],[119.334399,27.480067],[119.285124,27.457766],[119.26911,27.42218],[119.224146,27.416868],[119.14777,27.424836],[119.121284,27.438115],[119.129907,27.475289],[119.092335,27.466262],[119.03998,27.478475],[119.020886,27.498118],[118.983314,27.498649],[118.986393,27.47582],[118.955597,27.4498],[118.907553,27.460952],[118.869365,27.540047],[118.909401,27.568168],[118.913713,27.619616],[118.879836,27.667859],[118.873677,27.733563],[118.829329,27.847921],[118.818242,27.916689],[118.753568,27.947885],[118.730163,27.970615],[118.733858,28.027684],[118.719076,28.063601],[118.767735,28.10584],[118.802228,28.117453],[118.805923,28.154923],[118.771431,28.188687],[118.804075,28.207675],[118.802228,28.240368],[118.756032,28.252493],[118.719692,28.312047],[118.699366,28.309939],[118.674728,28.27147],[118.651322,28.277267],[118.595272,28.258292],[118.588497,28.282538],[118.493026,28.262509],[118.490562,28.238259],[118.444367,28.253548],[118.433896,28.288335],[118.424041,28.291497],[118.314404,28.221913],[118.339041,28.193962],[118.375382,28.186577],[118.361215,28.155978],[118.356288,28.091586],[118.242339,28.075746],[118.199839,28.049869],[118.153644,28.062016],[118.120999,28.041946],[118.129006,28.017118],[118.094513,28.003909],[118.096977,27.970615],[117.999043,27.991227],[117.965166,27.962687],[117.942992,27.974315],[117.910963,27.949471],[117.856145,27.94577],[117.78716,27.896063],[117.788392,27.855858],[117.740348,27.800286],[117.704624,27.834162],[117.68245,27.823577],[117.649805,27.851625],[117.609769,27.863265],[117.556182,27.966387],[117.52169,27.982243],[117.477958,27.930966],[117.453936,27.939955],[117.407741,27.893948],[117.366473,27.88231],[117.341836,27.855858],[117.334444,27.8876],[117.280242,27.871201],[117.276546,27.847921],[117.303031,27.833103],[117.296256,27.764282],[117.245133,27.71926],[117.205097,27.714492],[117.204481,27.683759],[117.174916,27.677399],[117.114554,27.692238],[117.096076,27.667329],[117.11209,27.645596],[117.094228,27.627569],[117.065279,27.665739],[117.040641,27.669979],[117.003685,27.625449],[117.024627,27.592569],[117.01662,27.563393],[117.054808,27.5427],[117.076982,27.566046],[117.103467,27.533149],[117.110242,27.458828],[117.133032,27.42218],[117.107163,27.393491],[117.104699,27.330773],[117.140423,27.322798],[117.136728,27.303123],[117.171836,27.29036],[117.149662,27.241419],[117.044953,27.146667],[117.05296,27.100327],[116.967344,27.061962],[116.936547,27.019319],[116.910062,27.034779],[116.851548,27.009188],[116.817671,27.018252],[116.679085,26.978259],[116.632889,26.933984],[116.602092,26.888623],[116.548506,26.84004],[116.543578,26.803723],[116.557745,26.773806],[116.515245,26.720898],[116.520172,26.684543],[116.566368,26.650315],[116.553433,26.575942],[116.539267,26.559349],[116.597165,26.512768],[116.610716,26.476882],[116.638433,26.477418],[116.608252,26.429732],[116.601476,26.372911],[116.553433,26.365404],[116.553433,26.400253],[116.519557,26.410437],[116.499846,26.361651],[116.459194,26.345026],[116.437021,26.308016],[116.412999,26.297822],[116.385282,26.238253],[116.400064,26.202819],[116.392057,26.171133],[116.435789,26.159854],[116.476441,26.172745],[116.489375,26.113649],[116.384666,26.030864],[116.360028,25.991601],[116.369883,25.963088],[116.326152,25.956631],[116.303362,25.924341],[116.258398,25.902809],[116.225138,25.908731],[116.17771,25.894195],[116.132131,25.860273],[116.131515,25.824185],[116.18079,25.778926],[116.129667,25.758985],[116.106877,25.701299],[116.067457,25.703995],[116.068689,25.646282],[116.041588,25.62416],[116.063145,25.56317],[116.040356,25.548052],[116.03666,25.514571],[116.005247,25.490264],[116.023109,25.435691],[115.992928,25.374063],[116.008327,25.319437],[115.987385,25.290221],[115.949813,25.292386],[115.930719,25.236099],[115.855574,25.20957],[115.860501,25.165704],[115.888219,25.128866],[115.880212,25.092016],[115.908545,25.084428],[115.928255,25.050276],[115.873436,25.019911],[115.925175,24.960786],[115.870356,24.959701],[115.89253,24.936911],[115.907929,24.923343],[115.985537,24.899461],[116.015102,24.905975],[116.068073,24.850053],[116.153073,24.846795],[116.191877,24.877203],[116.221442,24.829959],[116.251007,24.82507],[116.244232,24.793563],[116.297202,24.801712],[116.345862,24.828872],[116.363724,24.87123],[116.395137,24.877746],[116.417927,24.840821],[116.381586,24.82507],[116.375427,24.803885],[116.419158,24.767482],[116.416079,24.744113],[116.44626,24.714216],[116.485064,24.720196],[116.517709,24.652225],[116.506622,24.621218],[116.530027,24.604895],[116.570679,24.621762],[116.600861,24.654401],[116.623034,24.64189],[116.667382,24.658752],[116.777635,24.679418],[116.815207,24.654944],[116.761005,24.583128],[116.759157,24.545572],[116.796729,24.502014],[116.83307,24.496568],[116.860787,24.460075],[116.839229,24.442097],[116.903903,24.369614],[116.895895,24.350533],[116.919301,24.321087],[116.914374,24.287817],[116.938395,24.28127],[116.933468,24.220157],[116.956257,24.216883],[116.998757,24.179217],[116.9347,24.126794],[116.930388,24.064514],[116.953178,24.008218],[116.981511,23.999471],[116.976583,23.931659],[116.955642,23.922359],[116.981511,23.855602],[117.012308,23.855054],[117.019083,23.801952],[117.048032,23.758687],[117.055424,23.694038],[117.123793,23.647448],[117.147199,23.654027],[117.192778,23.629356],[117.192778,23.5619],[117.291328,23.571225],[117.302415,23.550379],[117.387415,23.555317],[117.463791,23.584937],[117.454552,23.628259],[117.493357,23.642514],[117.501364,23.70445],[117.54448,23.715956],[117.601762,23.70171],[117.660276,23.789357],[117.651653,23.815093],[117.671979,23.878041],[117.691073,23.888985],[117.762522,23.886796],[117.792703,23.906494],[117.807486,23.947521],[117.864768,24.004938],[117.910347,24.012045],[117.927594,24.039922],[117.936217,24.100029],[118.000275,24.152462],[118.019369,24.197232],[118.074803,24.225615],[118.115455,24.229435],[118.158571,24.269814],[118.112376,24.357075],[118.081579,24.35653],[118.088354,24.408858],[118.048934,24.418122],[118.084042,24.528695],[118.121615,24.570067],[118.150564,24.583673],[118.169042,24.559725],[118.242955,24.51236],[118.375382,24.536317],[118.363679,24.567889],[118.444367,24.614689],[118.512736,24.60816],[118.557084,24.572788],[118.558316,24.51236],[118.614366,24.521617],[118.680272,24.58204],[118.687047,24.63373],[118.661178,24.622306],[118.652554,24.653857],[118.670417,24.679962],[118.703677,24.665278],[118.778822,24.743569],[118.786213,24.77672],[118.650707,24.808774],[118.647627,24.843536],[118.702445,24.865258],[118.69875,24.848967],[118.748641,24.84245],[118.807771,24.870687],[118.834256,24.854397],[118.864437,24.887518],[118.933423,24.870687],[118.988857,24.878831],[118.987009,24.898375],[118.932807,24.906518],[118.91864,24.932569],[118.945741,24.954275],[119.014111,24.941252],[119.032589,24.961328],[119.032589,24.961871],[119.007335,24.963499],[119.004872,24.970009]]],[[[118.412338,24.514538],[118.374766,24.458986],[118.318715,24.486765],[118.298389,24.477506],[118.31194,24.424661],[118.282375,24.413218],[118.329802,24.382152],[118.353208,24.415398],[118.405563,24.427931],[118.457918,24.412128],[118.477012,24.437738],[118.451758,24.506915],[118.412338,24.514538]]],[[[119.471138,25.197116],[119.507478,25.183036],[119.52534,25.157579],[119.549362,25.161912],[119.566608,25.210112],[119.540739,25.20199],[119.501319,25.21715],[119.473601,25.259916],[119.44342,25.238806],[119.444036,25.20199],[119.471138,25.197116]]],[[[119.580159,25.627398],[119.611572,25.669479],[119.580775,25.650059],[119.580159,25.627398]]],[[[119.976824,26.191005],[120.016244,26.217316],[119.998998,26.235569],[119.970665,26.217852],[119.976824,26.191005]]],[[[118.230636,24.401228],[118.273752,24.441007],[118.233716,24.445911],[118.230636,24.401228]]],[[[119.906607,26.68989],[119.926933,26.664756],[119.950954,26.692563],[119.906607,26.68989]]],[[[118.204151,24.504737],[118.191832,24.536861],[118.14502,24.560814],[118.093281,24.540672],[118.068644,24.463344],[118.084042,24.435559],[118.143173,24.420847],[118.19368,24.463344],[118.204151,24.504737]]],[[[119.929397,26.134067],[119.960194,26.146961],[119.919542,26.172208],[119.929397,26.134067]]],[[[119.642985,26.129231],[119.665159,26.155556],[119.62697,26.173282],[119.606028,26.15287],[119.642985,26.129231]]],[[[120.034106,26.488667],[120.066751,26.498308],[120.071679,26.521336],[120.035954,26.515981],[120.034106,26.488667]]],[[[119.662079,25.646822],[119.673782,25.632794],[119.718745,25.634952],[119.716898,25.664624],[119.662079,25.646822]]],[[[119.760629,26.613402],[119.776644,26.600025],[119.818527,26.616613],[119.796354,26.630523],[119.760629,26.613402]]],[[[120.135736,26.550784],[120.167149,26.571661],[120.153598,26.604841],[120.117874,26.568984],[120.135736,26.550784]]],[[[120.360554,26.916909],[120.394431,26.933984],[120.363018,26.967592],[120.327909,26.963858],[120.319286,26.944654],[120.360554,26.916909]]],[[[120.150519,26.798916],[120.140048,26.795176],[120.163454,26.798381],[120.161606,26.803189],[120.150519,26.798916]]],[[[119.668238,26.628383],[119.720593,26.635873],[119.758781,26.659408],[119.748926,26.681334],[119.712586,26.6685],[119.673782,26.680799],[119.651608,26.657269],[119.668238,26.628383]]]]}},{"type":"Feature","properties":{"adcode":360000,"name":"江西省","center":[115.892151,28.676493],"centroid":[115.732975,27.636112],"childrenNum":11,"level":"province","parent":{"adcode":100000},"subFeatureIndex":13,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[118.193064,29.395472],[118.136397,29.418932],[118.127774,29.47209],[118.143788,29.489803],[118.095129,29.534072],[118.050782,29.542924],[118.042774,29.566351],[118.00397,29.578322],[117.933753,29.549172],[117.872775,29.54761],[117.795167,29.570515],[117.729877,29.550213],[117.690457,29.555939],[117.678754,29.595496],[117.647957,29.614749],[117.608537,29.591333],[117.543248,29.588731],[117.523538,29.630356],[117.530313,29.654282],[117.490277,29.660003],[117.453936,29.688082],[117.455168,29.749412],[117.408973,29.802396],[117.415132,29.85068],[117.382487,29.840818],[117.359082,29.812782],[117.338756,29.848085],[117.29256,29.822647],[117.25314,29.834588],[117.261763,29.880781],[117.246365,29.915023],[117.2168,29.926953],[117.171836,29.920729],[117.129952,29.89946],[117.127489,29.86158],[117.073286,29.831992],[117.123177,29.798761],[117.136728,29.775388],[117.108395,29.75201],[117.112706,29.711995],[117.041873,29.680803],[116.996294,29.683403],[116.974736,29.657403],[116.939627,29.648561],[116.873722,29.609546],[116.849084,29.57624],[116.780715,29.569994],[116.760389,29.599139],[116.721585,29.564789],[116.716657,29.590813],[116.651983,29.637118],[116.680317,29.681323],[116.653831,29.694841],[116.673541,29.709916],[116.762237,29.802396],[116.780715,29.792529],[116.882961,29.893753],[116.900207,29.949253],[116.868794,29.980361],[116.83307,29.95755],[116.830606,30.004723],[116.802889,29.99643],[116.783794,30.030632],[116.747454,30.057053],[116.720353,30.053945],[116.666766,30.076734],[116.620571,30.073109],[116.585462,30.045657],[116.552201,29.909836],[116.525716,29.897385],[116.467818,29.896347],[116.342782,29.835626],[116.280572,29.788893],[116.250391,29.785777],[116.227601,29.816936],[116.172783,29.828358],[116.13521,29.819532],[116.087167,29.795125],[116.049595,29.761881],[115.965827,29.724469],[115.909777,29.723949],[115.837096,29.748373],[115.762567,29.793048],[115.706517,29.837703],[115.667712,29.850161],[115.611662,29.841337],[115.51188,29.840299],[115.479235,29.811224],[115.470612,29.739539],[115.412714,29.688602],[115.355431,29.649602],[115.304924,29.637118],[115.28583,29.618391],[115.250722,29.660003],[115.176809,29.654803],[115.113367,29.684963],[115.117679,29.655843],[115.143548,29.645961],[115.120142,29.597578],[115.157099,29.584568],[115.154019,29.510117],[115.086266,29.525741],[115.087498,29.560104],[115.033295,29.546568],[115.00065,29.572076],[114.947679,29.542924],[114.966773,29.522096],[114.940288,29.493971],[114.900868,29.505951],[114.860216,29.476258],[114.888549,29.436134],[114.918114,29.454374],[114.90518,29.473132],[114.935977,29.486678],[114.947063,29.465317],[114.931049,29.422581],[114.895325,29.397557],[114.866375,29.404335],[114.812173,29.383478],[114.784455,29.386086],[114.759818,29.363139],[114.740724,29.386607],[114.67297,29.395993],[114.621847,29.379828],[114.589819,29.352707],[114.519602,29.325578],[114.466015,29.324013],[114.440145,29.341752],[114.376088,29.322969],[114.341595,29.327665],[114.307102,29.365225],[114.259059,29.343839],[114.252284,29.23475],[114.169748,29.216993],[114.063191,29.204978],[114.034857,29.152204],[113.98743,29.126068],[113.952321,29.092604],[113.94185,29.047097],[113.961561,28.999476],[113.955401,28.978536],[113.973879,28.937692],[114.008988,28.955498],[114.005292,28.917788],[114.028082,28.891069],[114.060111,28.902596],[114.056415,28.872204],[114.076741,28.834464],[114.124784,28.843376],[114.153734,28.829221],[114.137719,28.779926],[114.157429,28.761566],[114.122321,28.623497],[114.132176,28.607211],[114.08598,28.558337],[114.138335,28.533629],[114.15435,28.507337],[114.218407,28.48472],[114.217175,28.466308],[114.172212,28.432632],[114.214712,28.403157],[114.252284,28.395787],[114.2529,28.319423],[114.198081,28.29097],[114.182067,28.249858],[114.143879,28.246694],[114.109386,28.205038],[114.107538,28.182885],[114.068734,28.171806],[114.012068,28.174972],[113.992357,28.161255],[114.025002,28.080499],[114.047176,28.057263],[114.025618,28.031382],[113.970184,28.041418],[113.966488,28.017646],[113.936307,28.018703],[113.914133,27.991227],[113.864242,28.004966],[113.845148,27.971672],[113.822974,27.982243],[113.752141,27.93361],[113.72812,27.874904],[113.756453,27.860091],[113.763228,27.799228],[113.69917,27.740979],[113.696707,27.71979],[113.652359,27.663619],[113.607395,27.625449],[113.608627,27.585143],[113.579062,27.545354],[113.583374,27.524657],[113.627105,27.49971],[113.591381,27.467855],[113.59754,27.428554],[113.632033,27.40518],[113.605548,27.38924],[113.616635,27.345658],[113.657902,27.347253],[113.699786,27.331836],[113.72812,27.350442],[113.872865,27.384988],[113.872865,27.346721],[113.854387,27.30525],[113.872865,27.289828],[113.846996,27.222262],[113.779242,27.137081],[113.771851,27.096598],[113.803264,27.099261],[113.824206,27.036378],[113.86301,27.018252],[113.892575,26.964925],[113.927068,26.948922],[113.890112,26.895562],[113.877177,26.859262],[113.835909,26.806394],[113.853771,26.769532],[113.860546,26.664221],[113.912901,26.613938],[113.996669,26.615543],[114.019459,26.587182],[114.10877,26.56952],[114.07243,26.480096],[114.110002,26.482775],[114.090292,26.455988],[114.085364,26.406149],[114.062575,26.406149],[114.030546,26.376664],[114.047792,26.337518],[114.021307,26.288701],[114.029314,26.266163],[113.978807,26.237716],[113.972647,26.20604],[113.949242,26.192616],[113.962792,26.150722],[114.013299,26.184023],[114.088444,26.168448],[114.102611,26.187783],[114.181451,26.214631],[114.216559,26.203355],[114.237501,26.152333],[114.188842,26.121172],[114.10569,26.097526],[114.121089,26.085702],[114.087828,26.06635],[114.044096,26.076564],[114.008372,26.015806],[114.028082,25.98138],[114.028082,25.893119],[113.971416,25.836036],[113.961561,25.77731],[113.920293,25.741197],[113.913517,25.701299],[113.957249,25.611749],[113.983118,25.599336],[113.986198,25.529153],[113.962792,25.528072],[113.94493,25.441635],[114.003444,25.442716],[113.983118,25.415152],[114.050256,25.36433],[114.029314,25.328093],[114.017611,25.273987],[114.039785,25.250714],[114.055799,25.277775],[114.083517,25.275611],[114.115545,25.302125],[114.190074,25.316733],[114.204857,25.29942],[114.260291,25.291845],[114.2954,25.299961],[114.31511,25.33837],[114.382863,25.317274],[114.43029,25.343779],[114.438914,25.376226],[114.477718,25.37136],[114.541159,25.416773],[114.599674,25.385959],[114.63663,25.324306],[114.714238,25.315651],[114.743188,25.274528],[114.73518,25.225813],[114.693912,25.213902],[114.685905,25.173287],[114.73518,25.155954],[114.735796,25.121822],[114.664963,25.10123],[114.640326,25.074129],[114.604601,25.083886],[114.561485,25.077382],[114.532536,25.022623],[114.506051,24.999844],[114.45616,24.99659],[114.454928,24.977062],[114.395798,24.951019],[114.403189,24.877746],[114.378551,24.861457],[114.342211,24.807145],[114.336052,24.749004],[114.281849,24.724001],[114.27261,24.700624],[114.169132,24.689749],[114.19069,24.656576],[114.258443,24.641346],[114.289856,24.619042],[114.300943,24.578775],[114.363769,24.582584],[114.391486,24.563535],[114.403189,24.497657],[114.429058,24.48622],[114.534384,24.559181],[114.589819,24.537406],[114.627391,24.576598],[114.664963,24.583673],[114.704999,24.525973],[114.73826,24.565168],[114.729637,24.608704],[114.781376,24.613057],[114.827571,24.588026],[114.846665,24.602719],[114.868839,24.562446],[114.893477,24.582584],[114.909491,24.661471],[114.940288,24.650049],[115.00373,24.679418],[115.024672,24.669085],[115.057317,24.703343],[115.083802,24.699537],[115.104744,24.667997],[115.1842,24.711498],[115.258729,24.728894],[115.269816,24.749548],[115.306772,24.758787],[115.358511,24.735416],[115.372678,24.774546],[115.412714,24.79302],[115.476771,24.762591],[115.522967,24.702799],[115.555611,24.683768],[115.569778,24.622306],[115.605503,24.62557],[115.671408,24.604895],[115.68927,24.545027],[115.752712,24.546116],[115.785357,24.567345],[115.843871,24.562446],[115.840791,24.584217],[115.797676,24.628834],[115.780429,24.663103],[115.801371,24.705517],[115.769342,24.708236],[115.756408,24.749004],[115.776734,24.774546],[115.764415,24.791933],[115.790284,24.856027],[115.807531,24.862543],[115.824161,24.909232],[115.863581,24.891318],[115.861733,24.863629],[115.907313,24.879917],[115.885139,24.898918],[115.89253,24.936911],[115.870356,24.959701],[115.925175,24.960786],[115.873436,25.019911],[115.928255,25.050276],[115.908545,25.084428],[115.880212,25.092016],[115.888219,25.128866],[115.860501,25.165704],[115.855574,25.20957],[115.930719,25.236099],[115.949813,25.292386],[115.987385,25.290221],[116.008327,25.319437],[115.992928,25.374063],[116.023109,25.435691],[116.005247,25.490264],[116.03666,25.514571],[116.040356,25.548052],[116.063145,25.56317],[116.041588,25.62416],[116.068689,25.646282],[116.067457,25.703995],[116.106877,25.701299],[116.129667,25.758985],[116.18079,25.778926],[116.131515,25.824185],[116.132131,25.860273],[116.17771,25.894195],[116.225138,25.908731],[116.258398,25.902809],[116.303362,25.924341],[116.326152,25.956631],[116.369883,25.963088],[116.360028,25.991601],[116.384666,26.030864],[116.489375,26.113649],[116.476441,26.172745],[116.435789,26.159854],[116.392057,26.171133],[116.400064,26.202819],[116.385282,26.238253],[116.412999,26.297822],[116.437021,26.308016],[116.459194,26.345026],[116.499846,26.361651],[116.519557,26.410437],[116.553433,26.400253],[116.553433,26.365404],[116.601476,26.372911],[116.608252,26.429732],[116.638433,26.477418],[116.610716,26.476882],[116.597165,26.512768],[116.539267,26.559349],[116.553433,26.575942],[116.566368,26.650315],[116.520172,26.684543],[116.515245,26.720898],[116.557745,26.773806],[116.543578,26.803723],[116.548506,26.84004],[116.602092,26.888623],[116.632889,26.933984],[116.679085,26.978259],[116.817671,27.018252],[116.851548,27.009188],[116.910062,27.034779],[116.936547,27.019319],[116.967344,27.061962],[117.05296,27.100327],[117.044953,27.146667],[117.149662,27.241419],[117.171836,27.29036],[117.136728,27.303123],[117.140423,27.322798],[117.104699,27.330773],[117.107163,27.393491],[117.133032,27.42218],[117.110242,27.458828],[117.103467,27.533149],[117.076982,27.566046],[117.054808,27.5427],[117.01662,27.563393],[117.024627,27.592569],[117.003685,27.625449],[117.040641,27.669979],[117.065279,27.665739],[117.094228,27.627569],[117.11209,27.645596],[117.096076,27.667329],[117.114554,27.692238],[117.174916,27.677399],[117.204481,27.683759],[117.205097,27.714492],[117.245133,27.71926],[117.296256,27.764282],[117.303031,27.833103],[117.276546,27.847921],[117.280242,27.871201],[117.334444,27.8876],[117.341836,27.855858],[117.366473,27.88231],[117.407741,27.893948],[117.453936,27.939955],[117.477958,27.930966],[117.52169,27.982243],[117.556182,27.966387],[117.609769,27.863265],[117.649805,27.851625],[117.68245,27.823577],[117.704624,27.834162],[117.740348,27.800286],[117.788392,27.855858],[117.78716,27.896063],[117.856145,27.94577],[117.910963,27.949471],[117.942992,27.974315],[117.965166,27.962687],[117.999043,27.991227],[118.096977,27.970615],[118.094513,28.003909],[118.129006,28.017118],[118.120999,28.041946],[118.153644,28.062016],[118.199839,28.049869],[118.242339,28.075746],[118.356288,28.091586],[118.361215,28.155978],[118.375382,28.186577],[118.339041,28.193962],[118.314404,28.221913],[118.424041,28.291497],[118.433896,28.288335],[118.480091,28.327325],[118.455454,28.384204],[118.432048,28.402104],[118.456686,28.424738],[118.474548,28.478934],[118.414802,28.497344],[118.4302,28.515225],[118.412338,28.55676],[118.428352,28.617193],[118.428352,28.617193],[118.428352,28.681267],[118.403099,28.702791],[118.364295,28.813491],[118.300237,28.826075],[118.270056,28.918836],[118.195527,28.904167],[118.227556,28.942406],[118.165346,28.986912],[118.133933,28.983771],[118.115455,29.009944],[118.115455,29.009944],[118.097593,28.998952],[118.066796,29.053898],[118.076035,29.074822],[118.037847,29.102017],[118.045238,29.149068],[118.027992,29.167882],[118.042159,29.210202],[118.073571,29.216993],[118.077883,29.290614],[118.138861,29.283828],[118.178281,29.297921],[118.166578,29.314099],[118.205382,29.343839],[118.193064,29.395472]]]]}},{"type":"Feature","properties":{"adcode":370000,"name":"山东省","center":[117.000923,36.675807],"centroid":[118.187759,36.376092],"childrenNum":16,"level":"province","parent":{"adcode":100000},"subFeatureIndex":14,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[116.374195,34.640011],[116.392057,34.710391],[116.363724,34.715311],[116.369267,34.749247],[116.403144,34.756131],[116.408071,34.850972],[116.445028,34.895652],[116.557745,34.908905],[116.613795,34.922645],[116.622418,34.939818],[116.677853,34.939327],[116.781331,34.916757],[116.789338,34.975133],[116.815823,34.965324],[116.821983,34.929515],[116.858323,34.928533],[116.922381,34.894671],[116.929156,34.843114],[116.966113,34.844588],[116.979047,34.815113],[116.95133,34.81069],[116.969192,34.771864],[117.022163,34.759081],[117.070206,34.713835],[117.061583,34.675947],[117.073286,34.639026],[117.104083,34.648874],[117.15151,34.559222],[117.139191,34.526687],[117.166293,34.434435],[117.248213,34.451216],[117.252524,34.48674],[117.27285,34.499565],[117.267923,34.532603],[117.303647,34.542463],[117.27285,34.556757],[117.311654,34.561686],[117.311654,34.561686],[117.32151,34.566614],[117.32151,34.566614],[117.325205,34.573021],[117.325205,34.573021],[117.370785,34.584846],[117.402813,34.569571],[117.402813,34.550843],[117.465023,34.484767],[117.53832,34.467006],[117.592523,34.462566],[117.609769,34.490686],[117.659044,34.501044],[117.684298,34.547392],[117.801942,34.518798],[117.791471,34.583368],[117.793935,34.651827],[117.902956,34.644443],[117.909732,34.670533],[117.951615,34.678408],[118.053861,34.650843],[118.084042,34.655766],[118.114839,34.614404],[118.079115,34.569571],[118.185056,34.543942],[118.16473,34.50499],[118.132702,34.483287],[118.177665,34.45319],[118.179513,34.379628],[118.217701,34.379134],[118.220165,34.405802],[118.277447,34.404814],[118.290382,34.424563],[118.379693,34.415183],[118.404947,34.427525],[118.416034,34.473914],[118.439439,34.507949],[118.424657,34.595193],[118.439439,34.626223],[118.473932,34.623269],[118.460997,34.656258],[118.545997,34.705964],[118.601431,34.714327],[118.607591,34.694155],[118.664257,34.693663],[118.690127,34.678408],[118.739402,34.693663],[118.783749,34.723181],[118.764039,34.740396],[118.719076,34.745313],[118.739402,34.792508],[118.772047,34.794474],[118.80038,34.843114],[118.805307,34.87307],[118.860742,34.944233],[118.86259,35.025626],[118.928495,35.051106],[118.942662,35.040817],[119.027045,35.055516],[119.114509,35.055026],[119.137915,35.096167],[119.217371,35.106939],[119.250016,35.124562],[119.286972,35.115261],[119.306066,35.076578],[119.354109,35.080007],[119.373819,35.078538],[119.428022,35.121136],[119.397841,35.137777],[119.411392,35.231689],[119.450812,35.285443],[119.493312,35.318655],[119.538275,35.296678],[119.543819,35.347949],[119.590014,35.37284],[119.579543,35.406504],[119.618963,35.459655],[119.663311,35.562931],[119.662079,35.589215],[119.718129,35.615492],[119.75139,35.617924],[119.772332,35.578995],[119.780339,35.584835],[119.792658,35.615492],[119.824071,35.646136],[119.83023,35.620357],[119.868419,35.60868],[119.925085,35.637382],[119.91215,35.660725],[119.950339,35.729741],[119.920157,35.739943],[119.926317,35.759856],[119.958346,35.760342],[120.01378,35.714193],[120.049505,35.786562],[120.032258,35.812288],[120.064287,35.873414],[120.112331,35.885052],[120.125265,35.906868],[120.152983,35.907353],[120.207801,35.947575],[120.169613,35.888446],[120.202258,35.89184],[120.209033,35.917531],[120.265699,35.966468],[120.30512,35.971796],[120.316206,36.002304],[120.289721,36.017311],[120.285409,36.01247],[120.249069,35.992136],[120.257076,36.025055],[120.198562,35.995525],[120.234902,36.030863],[120.239214,36.062316],[120.181316,36.066669],[120.152367,36.095206],[120.116642,36.102943],[120.108635,36.127599],[120.142512,36.143549],[120.140664,36.173507],[120.181316,36.203936],[120.22012,36.209248],[120.224432,36.19138],[120.260772,36.198624],[120.263236,36.182202],[120.310047,36.185101],[120.297112,36.225664],[120.319902,36.232423],[120.362402,36.196209],[120.35809,36.174956],[120.286025,36.047317],[120.337764,36.055058],[120.429539,36.056994],[120.468959,36.087952],[120.546568,36.091821],[120.546568,36.107778],[120.593995,36.100525],[120.615553,36.120348],[120.64327,36.114547],[120.672835,36.130016],[120.712255,36.126632],[120.696857,36.15563],[120.696857,36.203936],[120.680843,36.238698],[120.686386,36.279234],[120.657437,36.276339],[120.66298,36.331803],[120.744284,36.327946],[120.694393,36.390118],[120.759683,36.46283],[120.828668,36.46668],[120.837291,36.459942],[120.858849,36.424797],[120.848994,36.403124],[120.871784,36.36699],[120.911204,36.412276],[120.917979,36.417573],[120.90874,36.450315],[120.938305,36.447908],[120.965407,36.466199],[120.95432,36.507578],[120.983269,36.546051],[120.962327,36.562877],[120.909972,36.568645],[120.884718,36.601323],[120.847146,36.618617],[120.882255,36.627262],[120.926602,36.611892],[120.955551,36.575855],[121.028848,36.572971],[121.078123,36.607568],[121.161275,36.651273],[121.251818,36.671436],[121.29863,36.702151],[121.31218,36.702151],[121.35776,36.713186],[121.400876,36.701191],[121.3941,36.738129],[121.454462,36.752515],[121.496962,36.795179],[121.506817,36.803805],[121.565331,36.830635],[121.548701,36.807638],[121.485259,36.786073],[121.532071,36.73621],[121.575186,36.740047],[121.556092,36.764502],[121.651563,36.723739],[121.631853,36.80093],[121.6762,36.819137],[121.726092,36.826323],[121.762432,36.84644],[121.767975,36.874691],[121.927504,36.932597],[121.965076,36.938337],[122.008808,36.96225],[122.042684,36.871819],[122.051923,36.904846],[122.093191,36.913938],[122.115981,36.94025],[122.124604,36.944077],[122.141235,36.938337],[122.119677,36.891924],[122.175727,36.894317],[122.188662,36.866073],[122.174495,36.842609],[122.220691,36.848835],[122.275509,36.83734],[122.280437,36.835904],[122.344495,36.828239],[122.378371,36.844525],[122.383915,36.865595],[122.415944,36.85937],[122.454748,36.879],[122.452284,36.88618],[122.434422,36.914416],[122.483081,36.913938],[122.48924,36.886659],[122.532356,36.901496],[122.55761,36.968467],[122.544675,37.004797],[122.583479,37.037289],[122.575472,37.054485],[122.494168,37.033945],[122.467067,37.037289],[122.478769,37.058784],[122.484313,37.128956],[122.533588,37.153286],[122.581015,37.147562],[122.573624,37.176178],[122.624131,37.190959],[122.592718,37.261485],[122.567465,37.25958],[122.573624,37.296247],[122.611196,37.339558],[122.607501,37.364296],[122.650616,37.388551],[122.6925,37.373809],[122.714058,37.392355],[122.701739,37.418501],[122.67587,37.413273],[122.641377,37.428482],[122.553914,37.407093],[122.4954,37.413748],[122.487393,37.43466],[122.41656,37.414699],[122.337103,37.414223],[122.281053,37.430858],[122.287212,37.445114],[122.25272,37.467917],[122.194205,37.456041],[122.166488,37.438937],[122.131996,37.49926],[122.163408,37.519199],[122.150474,37.557163],[122.08888,37.554316],[122.075329,37.540556],[122.017431,37.531065],[121.997721,37.494512],[121.923808,37.473142],[121.772903,37.466492],[121.66573,37.473617],[121.635548,37.494037],[121.575802,37.460317],[121.571491,37.441313],[121.477252,37.475992],[121.460006,37.522522],[121.400876,37.557638],[121.395948,37.589891],[121.435368,37.592737],[121.391021,37.625449],[121.349137,37.635403],[121.358376,37.597479],[121.304789,37.582778],[121.217326,37.582778],[121.17421,37.597479],[121.148956,37.626397],[121.161891,37.646302],[121.142797,37.661464],[121.160043,37.698882],[121.136022,37.723501],[121.037471,37.718767],[120.994356,37.759468],[120.943233,37.785486],[120.940769,37.819533],[120.874863,37.833241],[120.845298,37.826623],[120.839139,37.82426],[120.733197,37.833714],[120.656821,37.793054],[120.634031,37.796364],[120.590915,37.7642],[120.517619,37.750005],[120.454793,37.757576],[120.367945,37.697935],[120.227511,37.693673],[120.22012,37.671886],[120.269395,37.658622],[120.272475,37.636824],[120.215192,37.621183],[120.208417,37.588469],[120.246605,37.556689],[120.222584,37.532963],[120.144359,37.481691],[120.086461,37.465067],[120.064903,37.448915],[120.010085,37.442263],[119.949723,37.419927],[119.926933,37.386649],[119.843781,37.376662],[119.837006,37.346695],[119.883201,37.311004],[119.89244,37.263866],[119.865339,37.233854],[119.83023,37.225754],[119.808057,37.196203],[119.740303,37.133727],[119.687332,37.143746],[119.678709,37.158056],[119.576463,37.127524],[119.489616,37.134681],[119.428022,37.125616],[119.361501,37.125616],[119.327624,37.115595],[119.301138,37.139452],[119.298675,37.197156],[119.2069,37.223371],[119.190885,37.25958],[119.204436,37.280058],[119.136683,37.230995],[119.12806,37.254816],[119.091103,37.257674],[119.084328,37.239572],[119.054147,37.254816],[119.03998,37.30434],[119.001176,37.31862],[118.942662,37.497361],[118.939582,37.527268],[118.988857,37.620709],[119.023966,37.642037],[119.153313,37.655305],[119.236465,37.651988],[119.262334,37.660517],[119.280197,37.692726],[119.309146,37.805349],[119.291899,37.869627],[119.24016,37.878131],[119.212443,37.838913],[119.16132,37.81906],[119.12806,37.847892],[119.110813,37.921577],[119.001792,37.99613],[118.974075,38.094162],[118.908169,38.139362],[118.811467,38.157717],[118.703677,38.151129],[118.626069,38.138421],[118.607591,38.129006],[118.597736,38.079088],[118.552156,38.05553],[118.534294,38.063541],[118.517048,38.088509],[118.504729,38.11394],[118.44991,38.124299],[118.431432,38.106406],[118.404331,38.121003],[118.331034,38.12524],[118.217085,38.146893],[118.177665,38.186417],[118.112376,38.210403],[118.045238,38.214165],[118.018753,38.202409],[117.896797,38.279495],[117.895565,38.301572],[117.848754,38.255062],[117.808718,38.22827],[117.789007,38.180772],[117.766834,38.158658],[117.771145,38.134655],[117.746508,38.12524],[117.704624,38.076262],[117.586979,38.071551],[117.557414,38.046105],[117.557414,38.046105],[117.524154,37.989527],[117.513067,37.94329],[117.481038,37.914967],[117.438538,37.854035],[117.400966,37.844584],[117.320278,37.861596],[117.271618,37.839858],[117.185387,37.849783],[117.150278,37.839385],[117.074518,37.848837],[117.027091,37.832296],[116.919301,37.846002],[116.837997,37.835132],[116.804736,37.848837],[116.753613,37.793054],[116.753613,37.77035],[116.724664,37.744327],[116.679085,37.728708],[116.66307,37.686096],[116.604556,37.624975],[116.575607,37.610754],[116.4826,37.521573],[116.448108,37.503059],[116.433941,37.473142],[116.38097,37.522522],[116.379738,37.522047],[116.38097,37.522522],[116.379738,37.522047],[116.36742,37.566177],[116.336007,37.581355],[116.295355,37.554316],[116.278724,37.524895],[116.290427,37.484065],[116.27626,37.466967],[116.240536,37.489764],[116.240536,37.489764],[116.224522,37.479791],[116.243,37.447965],[116.226369,37.428007],[116.2855,37.404241],[116.236224,37.361442],[116.193109,37.365723],[116.169087,37.384271],[116.106261,37.368577],[116.085935,37.373809],[116.024341,37.360015],[115.975682,37.337179],[115.969523,37.239572],[115.909777,37.20669],[115.91224,37.177132],[115.879596,37.150901],[115.888219,37.112254],[115.85619,37.060694],[115.776734,36.992848],[115.79706,36.968945],[115.75764,36.902453],[115.71206,36.883308],[115.683727,36.808117],[115.524815,36.763543],[115.479851,36.760187],[115.451518,36.702151],[115.420105,36.686795],[115.365902,36.621979],[115.355431,36.627262],[115.33141,36.550378],[115.272895,36.497476],[115.291374,36.460423],[115.317243,36.454166],[115.297533,36.413239],[115.340033,36.398307],[115.368982,36.342409],[115.366518,36.30914],[115.423185,36.32216],[115.417025,36.292742],[115.462605,36.276339],[115.466916,36.258969],[115.466916,36.258969],[115.474923,36.248352],[115.483547,36.148865],[115.484163,36.125666],[115.449054,36.047317],[115.447822,36.01247],[115.362822,35.971796],[115.353583,35.938854],[115.364054,35.894264],[115.335105,35.796756],[115.363438,35.779765],[115.407786,35.80889],[115.460141,35.867594],[115.487858,35.880688],[115.495249,35.896203],[115.505104,35.899112],[115.513112,35.890385],[115.583945,35.921893],[115.648618,35.922863],[115.699125,35.966468],[115.774886,35.974702],[115.779813,35.993588],[115.817386,36.012954],[115.859886,36.003756],[115.89869,36.026507],[115.989849,36.045381],[116.057602,36.104877],[116.099486,36.112129],[116.063145,36.028927],[116.048979,35.970343],[115.984921,35.974218],[115.911624,35.960171],[115.907929,35.92674],[115.873436,35.918985],[115.882675,35.879718],[115.859886,35.857894],[115.81677,35.844312],[115.773654,35.854014],[115.73485,35.833154],[115.696046,35.788989],[115.693582,35.754028],[115.622749,35.739457],[115.52851,35.733628],[115.48601,35.710306],[115.383148,35.568772],[115.34496,35.55368],[115.356047,35.490359],[115.307388,35.480126],[115.237171,35.423087],[115.172497,35.426501],[115.126302,35.41821],[115.117679,35.400163],[115.091809,35.416259],[115.073947,35.374304],[115.04315,35.376744],[114.957534,35.261014],[114.929201,35.244886],[114.932281,35.198441],[114.861448,35.182301],[114.841738,35.15099],[114.883006,35.098615],[114.835578,35.076578],[114.818948,35.051596],[114.852209,35.041797],[114.824492,35.012393],[114.880542,35.00357],[114.923658,34.968757],[114.950759,34.989843],[115.008041,34.988372],[115.028983,34.9717],[115.075179,35.000628],[115.12815,35.00455],[115.157099,34.957968],[115.219309,34.96042],[115.205142,34.914303],[115.251953,34.906451],[115.239019,34.87798],[115.256265,34.845079],[115.317243,34.859321],[115.42688,34.805285],[115.449054,34.74433],[115.433655,34.725149],[115.461373,34.637057],[115.515575,34.582383],[115.553148,34.568586],[115.622749,34.574499],[115.685575,34.556265],[115.697278,34.594207],[115.787821,34.580905],[115.827241,34.558236],[115.838328,34.5676],[115.984305,34.589281],[115.991081,34.615389],[116.037276,34.593222],[116.101334,34.60603],[116.134594,34.559715],[116.156768,34.5538],[116.196804,34.575977],[116.247927,34.551829],[116.286116,34.608986],[116.32492,34.601104],[116.334159,34.620806],[116.374195,34.640011]]],[[[120.729502,37.947065],[120.721495,37.917328],[120.76461,37.895134],[120.76461,37.923937],[120.729502,37.947065]]],[[[120.692545,37.983867],[120.732581,37.961694],[120.724574,37.987641],[120.692545,37.983867]]],[[[120.990044,36.413239],[120.978341,36.428649],[120.950624,36.414684],[120.990044,36.413239]]],[[[120.750444,38.150188],[120.7874,38.158658],[120.742436,38.199116],[120.750444,38.150188]]],[[[120.918595,38.345236],[120.914899,38.373393],[120.895189,38.36307],[120.918595,38.345236]]],[[[120.159142,35.765198],[120.169613,35.740428],[120.193019,35.756942],[120.172077,35.785591],[120.159142,35.765198]]],[[[120.62664,37.94565],[120.631567,37.981037],[120.602002,37.978678],[120.62664,37.94565]]],[[[120.802183,38.284193],[120.848378,38.305799],[120.816349,38.318008],[120.802183,38.284193]]],[[[121.489571,37.577086],[121.489571,37.577561],[121.489571,37.578509],[121.488955,37.578035],[121.489571,37.577086]]],[[[121.485875,37.578509],[121.487723,37.578035],[121.487723,37.578509],[121.485875,37.578509]]],[[[121.487723,37.578509],[121.487723,37.577561],[121.488955,37.578035],[121.488955,37.578509],[121.488339,37.578509],[121.487723,37.578509]]],[[[115.495249,35.896203],[115.487858,35.880688],[115.513112,35.890385],[115.505104,35.899112],[115.495249,35.896203]]]]}},{"type":"Feature","properties":{"adcode":410000,"name":"河南省","center":[113.665412,34.757975],"centroid":[113.619717,33.902648],"childrenNum":18,"level":"province","parent":{"adcode":100000},"subFeatureIndex":15,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.716747,32.357612],[112.735841,32.356095],[112.776493,32.358623],[112.860877,32.396024],[112.888594,32.37682],[112.912,32.390971],[112.992072,32.378336],[113.000695,32.41674],[113.025949,32.425328],[113.078919,32.394508],[113.107869,32.398551],[113.118956,32.375809],[113.155912,32.380863],[113.158992,32.410677],[113.211962,32.431895],[113.2366,32.407141],[113.333918,32.336377],[113.317904,32.327275],[113.353628,32.294904],[113.376418,32.298445],[113.428773,32.270618],[113.511925,32.316654],[113.624642,32.36115],[113.650511,32.412698],[113.700402,32.420782],[113.735511,32.410677],[113.76754,32.370249],[113.753989,32.328286],[113.768772,32.30148],[113.768156,32.284279],[113.758301,32.27669],[113.749061,32.272642],[113.73859,32.255942],[113.752757,32.215951],[113.782322,32.184553],[113.750293,32.11615],[113.722576,32.12426],[113.728735,32.083197],[113.791561,32.036028],[113.757685,31.98985],[113.817431,31.964467],[113.805728,31.929428],[113.832213,31.918761],[113.830981,31.87913],[113.854387,31.843042],[113.893807,31.847109],[113.914749,31.877098],[113.957865,31.852701],[113.952321,31.793714],[113.988662,31.749959],[114.017611,31.770822],[114.086596,31.782014],[114.121705,31.809482],[114.134024,31.843042],[114.191922,31.852192],[114.235654,31.833382],[114.292936,31.752503],[114.350218,31.755557],[114.403189,31.746906],[114.443841,31.728074],[114.530688,31.742834],[114.549783,31.766751],[114.586123,31.762172],[114.57134,31.660858],[114.547935,31.623665],[114.560869,31.560963],[114.572572,31.553824],[114.61692,31.585437],[114.641558,31.582378],[114.696376,31.525771],[114.778912,31.520669],[114.789383,31.480358],[114.830035,31.45892],[114.870071,31.479337],[114.884238,31.469129],[114.962462,31.494648],[114.995107,31.471171],[115.022824,31.527811],[115.096121,31.508425],[115.114599,31.530362],[115.106592,31.567592],[115.12507,31.599201],[115.16449,31.604808],[115.212533,31.555354],[115.235939,31.555354],[115.218077,31.515057],[115.211301,31.442072],[115.252569,31.421646],[115.250722,31.392021],[115.301229,31.383846],[115.338801,31.40428],[115.373909,31.405813],[115.389924,31.450241],[115.371446,31.495668],[115.415793,31.525771],[115.439815,31.588496],[115.485394,31.608885],[115.476771,31.643028],[115.495249,31.673083],[115.534054,31.698545],[115.553764,31.69549],[115.676336,31.778453],[115.731154,31.76726],[115.767495,31.78761],[115.808147,31.770313],[115.808147,31.770313],[115.851878,31.786593],[115.886371,31.776418],[115.914704,31.814567],[115.893762,31.832365],[115.894994,31.8649],[115.920248,31.920285],[115.909161,31.94314],[115.928871,32.003046],[115.922095,32.049725],[115.941805,32.166318],[115.912856,32.227596],[115.899306,32.390971],[115.865429,32.458662],[115.883291,32.487946],[115.845719,32.501575],[115.8759,32.542448],[115.910393,32.567165],[115.891298,32.576243],[115.861117,32.537403],[115.789052,32.468761],[115.771806,32.505108],[115.742241,32.476335],[115.704669,32.495013],[115.667712,32.409667],[115.657857,32.428864],[115.626445,32.40512],[115.604271,32.425833],[115.57101,32.419266],[115.522967,32.441997],[115.509416,32.466741],[115.5088,32.468761],[115.497713,32.492489],[115.409018,32.549007],[115.411482,32.575235],[115.304924,32.553042],[115.30554,32.583303],[115.267352,32.578261],[115.24333,32.593388],[115.20083,32.591876],[115.182968,32.666973],[115.179273,32.726402],[115.189744,32.770695],[115.211301,32.785791],[115.189744,32.812452],[115.197135,32.856201],[115.155867,32.864747],[115.139237,32.897917],[115.029599,32.906962],[115.035143,32.932582],[115.009273,32.940117],[114.943368,32.935094],[114.916266,32.971251],[114.883006,32.990328],[114.891629,33.020441],[114.925506,33.016928],[114.913187,33.083143],[114.897172,33.086653],[114.902716,33.129764],[114.932897,33.153817],[114.966158,33.147304],[114.990795,33.102195],[115.041302,33.086653],[115.168186,33.088658],[115.194671,33.120743],[115.245178,33.135778],[115.289526,33.131769],[115.303692,33.149809],[115.300613,33.204407],[115.340033,33.260973],[115.335105,33.297997],[115.361591,33.298497],[115.365286,33.336005],[115.341881,33.370997],[115.313547,33.376994],[115.328946,33.403477],[115.315395,33.431451],[115.324634,33.457418],[115.345576,33.449928],[115.345576,33.502842],[115.366518,33.5233],[115.394851,33.506335],[115.422569,33.557219],[115.463837,33.567193],[115.511264,33.55323],[115.564851,33.576169],[115.639995,33.585143],[115.601191,33.658898],[115.601807,33.718653],[115.563003,33.772895],[115.576553,33.787817],[115.614126,33.775879],[115.631988,33.869846],[115.547604,33.874815],[115.577785,33.950307],[115.579017,33.974133],[115.60735,34.030196],[115.642459,34.03218],[115.658473,34.061437],[115.705901,34.059949],[115.736082,34.076805],[115.768726,34.061932],[115.809378,34.062428],[115.846335,34.028708],[115.85003,34.004898],[115.877132,34.002913],[115.876516,34.028708],[115.904233,34.009859],[115.95782,34.007875],[116.00032,33.965199],[115.982457,33.917039],[116.05945,33.860902],[116.055754,33.804727],[116.074232,33.781351],[116.100102,33.782843],[116.132747,33.751501],[116.155536,33.709693],[116.230065,33.735078],[116.263326,33.730101],[116.316912,33.771402],[116.393905,33.782843],[116.408071,33.805721],[116.437021,33.801246],[116.437637,33.846489],[116.486296,33.869846],[116.558361,33.881274],[116.566984,33.9081],[116.631042,33.887733],[116.64336,33.896675],[116.641512,33.978103],[116.599629,34.014324],[116.599629,34.014324],[116.576223,34.068873],[116.576223,34.068873],[116.52818,34.122892],[116.536187,34.151127],[116.565752,34.16945],[116.542962,34.203608],[116.545426,34.241711],[116.582382,34.266444],[116.562056,34.285731],[116.516477,34.296114],[116.456731,34.268917],[116.409303,34.273863],[116.409303,34.273863],[116.372347,34.26595],[116.357564,34.319843],[116.301514,34.342082],[116.255934,34.376665],[116.213435,34.382098],[116.215898,34.403333],[116.178942,34.430487],[116.162312,34.459605],[116.178326,34.496112],[116.204196,34.508442],[116.191261,34.535561],[116.196804,34.575977],[116.156768,34.5538],[116.134594,34.559715],[116.101334,34.60603],[116.037276,34.593222],[115.991081,34.615389],[115.984305,34.589281],[115.838328,34.5676],[115.827241,34.558236],[115.787821,34.580905],[115.697278,34.594207],[115.685575,34.556265],[115.622749,34.574499],[115.553148,34.568586],[115.515575,34.582383],[115.461373,34.637057],[115.433655,34.725149],[115.449054,34.74433],[115.42688,34.805285],[115.317243,34.859321],[115.256265,34.845079],[115.239019,34.87798],[115.251953,34.906451],[115.205142,34.914303],[115.219309,34.96042],[115.157099,34.957968],[115.12815,35.00455],[115.075179,35.000628],[115.028983,34.9717],[115.008041,34.988372],[114.950759,34.989843],[114.923658,34.968757],[114.880542,35.00357],[114.824492,35.012393],[114.852209,35.041797],[114.818948,35.051596],[114.835578,35.076578],[114.883006,35.098615],[114.841738,35.15099],[114.861448,35.182301],[114.932281,35.198441],[114.929201,35.244886],[114.957534,35.261014],[115.04315,35.376744],[115.073947,35.374304],[115.091809,35.416259],[115.117679,35.400163],[115.126302,35.41821],[115.172497,35.426501],[115.237171,35.423087],[115.307388,35.480126],[115.356047,35.490359],[115.34496,35.55368],[115.383148,35.568772],[115.48601,35.710306],[115.52851,35.733628],[115.622749,35.739457],[115.693582,35.754028],[115.696046,35.788989],[115.73485,35.833154],[115.773654,35.854014],[115.81677,35.844312],[115.859886,35.857894],[115.882675,35.879718],[115.873436,35.918985],[115.907929,35.92674],[115.911624,35.960171],[115.984921,35.974218],[116.048979,35.970343],[116.063145,36.028927],[116.099486,36.112129],[116.057602,36.104877],[115.989849,36.045381],[115.89869,36.026507],[115.859886,36.003756],[115.817386,36.012954],[115.779813,35.993588],[115.774886,35.974702],[115.699125,35.966468],[115.648618,35.922863],[115.583945,35.921893],[115.513112,35.890385],[115.487858,35.880688],[115.460141,35.867594],[115.407786,35.80889],[115.363438,35.779765],[115.335105,35.796756],[115.364054,35.894264],[115.353583,35.938854],[115.362822,35.971796],[115.447822,36.01247],[115.449054,36.047317],[115.484163,36.125666],[115.483547,36.148865],[115.465068,36.170125],[115.450902,36.152248],[115.376989,36.128083],[115.365902,36.099074],[115.312931,36.088436],[115.30246,36.127599],[115.279055,36.13775],[115.242098,36.19138],[115.202678,36.208765],[115.202678,36.208765],[115.202678,36.209248],[115.202678,36.209248],[115.201446,36.210214],[115.201446,36.210214],[115.1842,36.193312],[115.12507,36.209731],[115.104744,36.172058],[115.06286,36.178338],[115.048693,36.161912],[115.04623,36.112613],[114.998186,36.069572],[114.914419,36.052155],[114.926737,36.089403],[114.912571,36.140649],[114.858368,36.144516],[114.857752,36.127599],[114.771521,36.124699],[114.734564,36.15563],[114.720398,36.140166],[114.640326,36.137266],[114.588587,36.118414],[114.586739,36.141133],[114.533152,36.171575],[114.480181,36.177855],[114.466015,36.197658],[114.417356,36.205868],[114.408117,36.224699],[114.356378,36.230492],[114.345291,36.255591],[114.299095,36.245938],[114.257827,36.263794],[114.241197,36.251247],[114.2104,36.272962],[114.203009,36.245456],[114.170364,36.245938],[114.170364,36.245938],[114.175907,36.264759],[114.129096,36.280199],[114.080437,36.269585],[114.04348,36.303353],[114.056415,36.329392],[114.002828,36.334214],[113.981887,36.31782],[113.962792,36.353977],[113.911054,36.314927],[113.882104,36.353977],[113.84946,36.347711],[113.856851,36.329392],[113.813119,36.332285],[113.755221,36.366026],[113.731199,36.363135],[113.736127,36.324571],[113.712105,36.303353],[113.716417,36.262347],[113.681924,36.216491],[113.697939,36.181719],[113.651127,36.174473],[113.705946,36.148865],[113.712721,36.129533],[113.655439,36.125182],[113.671453,36.115514],[113.68562,36.056026],[113.660366,36.034735],[113.694859,36.026991],[113.678844,35.985841],[113.648663,35.994073],[113.654207,35.931586],[113.637576,35.870019],[113.660982,35.837035],[113.582758,35.818111],[113.604932,35.797727],[113.587685,35.736542],[113.592613,35.691838],[113.622794,35.674825],[113.625258,35.632518],[113.578446,35.633491],[113.547649,35.656835],[113.55812,35.621816],[113.513773,35.57364],[113.49899,35.532254],[113.439244,35.507412],[113.391817,35.506925],[113.348085,35.468429],[113.31236,35.481101],[113.304353,35.426989],[113.243375,35.449418],[113.189789,35.44893],[113.185477,35.409431],[113.165151,35.412845],[113.149137,35.350878],[113.126347,35.332327],[113.067217,35.353806],[112.996384,35.362104],[112.985913,35.33965],[112.992072,35.29619],[112.936022,35.284466],[112.934174,35.262968],[112.884283,35.243909],[112.822073,35.258082],[112.772798,35.207732],[112.720443,35.206265],[112.628052,35.263457],[112.637291,35.225822],[112.513487,35.218489],[112.390915,35.239021],[112.36751,35.219956],[112.288053,35.219956],[112.304684,35.251728],[112.242474,35.234622],[112.21722,35.253195],[112.13838,35.271275],[112.058924,35.280069],[112.078634,35.219467],[112.03983,35.194039],[112.066315,35.153437],[112.05646,35.098615],[112.062004,35.056005],[112.039214,35.045717],[112.018888,35.068742],[111.97762,35.067272],[111.933272,35.083435],[111.810084,35.062374],[111.807005,35.032977],[111.740483,35.00455],[111.664107,34.984449],[111.681969,34.9511],[111.646861,34.938836],[111.617911,34.894671],[111.592042,34.881416],[111.570484,34.843114],[111.543999,34.853428],[111.502731,34.829851],[111.439289,34.838202],[111.389398,34.815113],[111.345666,34.831816],[111.29208,34.806759],[111.255123,34.819535],[111.232949,34.789559],[111.148566,34.807742],[111.118385,34.756623],[111.035233,34.740887],[110.976103,34.706456],[110.920052,34.730068],[110.903422,34.669056],[110.883712,34.64395],[110.824582,34.615881],[110.791937,34.649858],[110.749437,34.65232],[110.710017,34.605045],[110.610851,34.607508],[110.533242,34.583368],[110.488279,34.610956],[110.424837,34.588295],[110.379257,34.600612],[110.366939,34.566614],[110.404511,34.557743],[110.372482,34.544435],[110.360779,34.516825],[110.403279,34.433448],[110.403279,34.433448],[110.473496,34.393457],[110.503677,34.33714],[110.451938,34.292653],[110.428533,34.288203],[110.43962,34.243196],[110.507989,34.217466],[110.55172,34.213012],[110.55788,34.193214],[110.621938,34.177372],[110.642264,34.161032],[110.61393,34.113478],[110.591757,34.101586],[110.587445,34.023252],[110.620706,34.035652],[110.671213,33.966192],[110.665669,33.937895],[110.627481,33.925482],[110.628713,33.910086],[110.587445,33.887733],[110.612083,33.852453],[110.66259,33.85295],[110.712481,33.833564],[110.74143,33.798759],[110.782082,33.796272],[110.81719,33.751003],[110.831973,33.713675],[110.823966,33.685793],[110.878784,33.634486],[110.966864,33.609071],[111.00382,33.578662],[111.002588,33.535772],[111.02661,33.478386],[111.02661,33.467903],[110.996429,33.435946],[111.025994,33.375495],[111.025994,33.330504],[110.984726,33.255469],[111.046936,33.202905],[111.045704,33.169849],[111.08882,33.181871],[111.12824,33.15532],[111.146102,33.12375],[111.179363,33.115229],[111.192913,33.071609],[111.152877,33.039507],[111.221862,33.042517],[111.258819,33.006389],[111.273601,32.971753],[111.242804,32.930573],[111.255123,32.883846],[111.276065,32.903445],[111.293311,32.859217],[111.380159,32.829049],[111.41342,32.757108],[111.475629,32.760127],[111.458383,32.726402],[111.513202,32.674026],[111.530448,32.628172],[111.577875,32.593388],[111.640701,32.634724],[111.646245,32.605993],[111.713382,32.606497],[111.808853,32.536899],[111.858128,32.528826],[111.890157,32.503089],[111.948671,32.51722],[111.975772,32.471791],[112.014576,32.450077],[112.063851,32.474315],[112.081098,32.425833],[112.155626,32.377326],[112.150083,32.411688],[112.172873,32.385412],[112.206133,32.392992],[112.328089,32.321712],[112.360118,32.3657],[112.390915,32.37126],[112.448814,32.34295],[112.477147,32.380863],[112.530733,32.37682],[112.545516,32.404109],[112.589248,32.381369],[112.612037,32.386928],[112.645298,32.368227],[112.716747,32.357612]]],[[[113.768156,32.284279],[113.768772,32.30148],[113.749061,32.272642],[113.758301,32.27669],[113.768156,32.284279]]]]}},{"type":"Feature","properties":{"adcode":420000,"name":"湖北省","center":[114.298572,30.584355],"centroid":[112.271301,30.987527],"childrenNum":17,"level":"province","parent":{"adcode":100000},"subFeatureIndex":16,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.045704,33.169849],[111.034001,33.177864],[111.035849,33.187881],[111.046936,33.202905],[110.984726,33.255469],[110.960704,33.253967],[110.9219,33.203907],[110.865234,33.213921],[110.828893,33.201403],[110.824582,33.158327],[110.753133,33.15031],[110.702626,33.097182],[110.650887,33.157324],[110.623785,33.143796],[110.59422,33.168346],[110.57759,33.250464],[110.54125,33.255469],[110.471032,33.171352],[110.398352,33.176862],[110.398352,33.176862],[110.372482,33.186379],[110.33799,33.160331],[110.285635,33.171352],[110.218497,33.163336],[110.164911,33.209415],[110.031252,33.191888],[109.999223,33.212419],[109.973353,33.203907],[109.916687,33.229942],[109.852013,33.247961],[109.813209,33.236449],[109.732521,33.231443],[109.693101,33.254468],[109.649985,33.251465],[109.619804,33.275484],[109.60687,33.235949],[109.514479,33.237951],[109.498464,33.207412],[109.438718,33.152314],[109.468283,33.140288],[109.522486,33.138785],[109.576073,33.110216],[109.688174,33.116733],[109.704188,33.101694],[109.794731,33.067095],[109.785492,32.987316],[109.76455,32.909474],[109.789804,32.882339],[109.847702,32.893395],[109.856941,32.910479],[109.907448,32.903947],[109.927158,32.887364],[109.988752,32.886359],[110.051578,32.851676],[110.105164,32.832569],[110.142121,32.802895],[110.127338,32.77774],[110.159367,32.767173],[110.156903,32.683093],[110.206179,32.633212],[110.153824,32.593388],[110.124259,32.616579],[110.090382,32.617083],[110.084223,32.580782],[110.017701,32.546989],[109.97089,32.577756],[109.910528,32.592884],[109.816905,32.577252],[109.746072,32.594901],[109.726978,32.608513],[109.631507,32.599943],[109.619804,32.56767],[109.637051,32.540935],[109.575457,32.506622],[109.526797,32.43341],[109.529877,32.405625],[109.502776,32.38895],[109.513247,32.342444],[109.495385,32.300468],[109.528645,32.270112],[109.550203,32.225065],[109.592703,32.219495],[109.604406,32.199241],[109.58716,32.161251],[109.621652,32.106519],[109.590855,32.047696],[109.590855,32.012688],[109.631507,31.962436],[109.62042,31.928412],[109.584696,31.900472],[109.60379,31.885737],[109.633971,31.824738],[109.633971,31.804396],[109.592087,31.789136],[109.585928,31.726546],[109.622268,31.711783],[109.683246,31.719929],[109.731289,31.700582],[109.737449,31.628761],[109.76455,31.602769],[109.745456,31.598182],[109.727594,31.548214],[109.837847,31.555354],[109.894513,31.519139],[109.969658,31.508935],[109.94502,31.47066],[109.98752,31.474744],[110.036795,31.436966],[110.054042,31.410921],[110.118715,31.409899],[110.161831,31.314338],[110.155671,31.279564],[110.180309,31.179774],[110.200019,31.158779],[110.180309,31.121899],[110.147048,31.116776],[110.119947,31.088592],[110.120563,31.0322],[110.140273,31.030661],[110.140889,30.987062],[110.172918,30.978853],[110.153824,30.953708],[110.151976,30.911613],[110.082375,30.799614],[110.048498,30.800642],[110.019549,30.829425],[110.008462,30.883369],[109.943788,30.878746],[109.894513,30.899803],[109.828608,30.864364],[109.780564,30.848437],[109.701724,30.783677],[109.656761,30.760538],[109.661072,30.738936],[109.625348,30.702923],[109.590855,30.69366],[109.574225,30.646818],[109.543428,30.63961],[109.535421,30.664837],[109.435638,30.595832],[109.418392,30.559766],[109.35495,30.487076],[109.337088,30.521623],[109.36111,30.551004],[109.314298,30.599953],[109.299516,30.630341],[109.245313,30.580892],[109.191726,30.545851],[109.191726,30.545851],[109.143683,30.521108],[109.103647,30.565949],[109.09256,30.578831],[109.106111,30.61077],[109.111654,30.646303],[109.071002,30.640125],[109.042669,30.655571],[109.006329,30.626736],[108.971836,30.627766],[108.893612,30.565434],[108.838793,30.503062],[108.808612,30.491202],[108.789518,30.513374],[108.743939,30.494812],[108.698975,30.54482],[108.688504,30.58759],[108.642925,30.578831],[108.6497,30.53915],[108.56778,30.468508],[108.556077,30.487592],[108.512961,30.501515],[108.472925,30.487076],[108.42673,30.492233],[108.411331,30.438586],[108.430425,30.416397],[108.402092,30.376649],[108.431041,30.354446],[108.460606,30.35961],[108.501258,30.314673],[108.524048,30.309506],[108.54499,30.269716],[108.581947,30.255759],[108.551766,30.1637],[108.56778,30.157491],[108.546222,30.104178],[108.513577,30.057571],[108.532055,30.051873],[108.536367,29.983472],[108.517889,29.9394],[108.516041,29.885451],[108.467998,29.864175],[108.433505,29.880262],[108.371295,29.841337],[108.424266,29.815897],[108.422418,29.772791],[108.442744,29.778505],[108.437201,29.741098],[108.460606,29.741098],[108.504338,29.707836],[108.504954,29.728626],[108.548686,29.749412],[108.52528,29.770713],[108.556077,29.818493],[108.601041,29.863656],[108.658939,29.854833],[108.680497,29.800319],[108.676801,29.749412],[108.690968,29.689642],[108.752562,29.649082],[108.786438,29.691721],[108.797525,29.660003],[108.781511,29.635558],[108.844337,29.658443],[108.888068,29.628795],[108.870206,29.596537],[108.901003,29.604863],[108.913322,29.574679],[108.878213,29.539279],[108.888684,29.502305],[108.866511,29.470527],[108.884373,29.440824],[108.927488,29.435612],[108.934264,29.399643],[108.919481,29.3261],[108.983539,29.332883],[108.999553,29.36366],[109.034662,29.360531],[109.060531,29.403292],[109.11227,29.361053],[109.106727,29.288526],[109.141835,29.270256],[109.110422,29.21647],[109.139372,29.168927],[109.162777,29.180946],[109.215748,29.145409],[109.232378,29.119271],[109.274262,29.121885],[109.261328,29.161089],[109.275494,29.202366],[109.257632,29.222738],[109.312451,29.25146],[109.352487,29.284872],[109.343863,29.369398],[109.391291,29.372005],[109.368501,29.413719],[109.418392,29.453332],[109.415928,29.497617],[109.436254,29.488761],[109.433791,29.530948],[109.458428,29.513242],[109.467051,29.560104],[109.488609,29.553336],[109.516326,29.626194],[109.558826,29.606944],[109.578536,29.629836],[109.651833,29.625674],[109.664768,29.599659],[109.717739,29.615269],[109.701108,29.636078],[109.714659,29.673524],[109.760238,29.689122],[109.755311,29.733304],[109.779333,29.757725],[109.869876,29.774869],[109.908064,29.763959],[109.941325,29.774349],[110.02386,29.769674],[110.113788,29.789932],[110.160599,29.753569],[110.219729,29.746814],[110.289946,29.6964],[110.302265,29.661563],[110.339221,29.668324],[110.372482,29.633477],[110.447011,29.664684],[110.467337,29.713034],[110.507373,29.692241],[110.562807,29.712515],[110.642879,29.775907],[110.60038,29.839779],[110.549873,29.848085],[110.538786,29.895828],[110.49875,29.91243],[110.517228,29.961179],[110.557264,29.988137],[110.491358,30.019751],[110.497518,30.055499],[110.531394,30.061197],[110.600996,30.054463],[110.650887,30.07777],[110.712481,30.033223],[110.756212,30.054463],[110.746973,30.112979],[110.851067,30.126439],[110.924364,30.111426],[110.929907,30.063268],[111.031537,30.048765],[111.242188,30.040476],[111.266826,30.01146],[111.3315,29.970512],[111.342587,29.944586],[111.382623,29.95029],[111.394325,29.912948],[111.436825,29.930065],[111.475629,29.918654],[111.527368,29.925916],[111.553854,29.894272],[111.669034,29.888565],[111.669034,29.888565],[111.705375,29.890121],[111.723853,29.909317],[111.723853,29.909317],[111.75773,29.92021],[111.8107,29.901017],[111.861207,29.856909],[111.899396,29.855871],[111.899396,29.855871],[111.925881,29.836665],[111.965917,29.832512],[111.95483,29.796683],[112.008417,29.778505],[112.07617,29.743696],[112.065699,29.681323],[112.089721,29.685482],[112.111279,29.659483],[112.178416,29.656883],[112.202438,29.633997],[112.244322,29.659483],[112.233851,29.61631],[112.303452,29.585609],[112.281278,29.536676],[112.291133,29.517409],[112.333017,29.545007],[112.368741,29.541362],[112.424792,29.598619],[112.439574,29.633997],[112.499321,29.629316],[112.54182,29.60122],[112.572001,29.624113],[112.640371,29.607985],[112.650842,29.592374],[112.693957,29.601741],[112.714283,29.648561],[112.733378,29.645441],[112.788812,29.681323],[112.79374,29.735902],[112.861493,29.78318],[112.894138,29.783699],[112.902145,29.79149],[112.929246,29.77383],[112.923703,29.766557],[112.926782,29.692241],[112.944645,29.682883],[112.974826,29.732784],[113.025949,29.772791],[113.005007,29.693801],[112.915696,29.620992],[112.912,29.606944],[112.950188,29.473132],[113.034572,29.523658],[113.057362,29.522616],[113.078304,29.438218],[113.099861,29.459585],[113.145441,29.449163],[113.181781,29.485636],[113.222433,29.543965],[113.277252,29.594976],[113.37765,29.703158],[113.571671,29.849123],[113.575367,29.809147],[113.550729,29.768115],[113.558736,29.727067],[113.540258,29.699519],[113.547033,29.675603],[113.606164,29.666764],[113.663446,29.684443],[113.680692,29.64336],[113.704098,29.634518],[113.73859,29.579363],[113.710257,29.555419],[113.630801,29.523137],[113.677613,29.513763],[113.755221,29.446557],[113.731199,29.393907],[113.674533,29.388172],[113.660982,29.333405],[113.632033,29.316186],[113.609859,29.25146],[113.651743,29.225872],[113.693011,29.226394],[113.691779,29.19662],[113.66283,29.16945],[113.690547,29.114566],[113.696091,29.077437],[113.722576,29.104631],[113.749677,29.060699],[113.775547,29.095219],[113.816199,29.105154],[113.852539,29.058606],[113.882104,29.065407],[113.876561,29.038202],[113.898119,29.029307],[113.94185,29.047097],[113.952321,29.092604],[113.98743,29.126068],[114.034857,29.152204],[114.063191,29.204978],[114.169748,29.216993],[114.252284,29.23475],[114.259059,29.343839],[114.307102,29.365225],[114.341595,29.327665],[114.376088,29.322969],[114.440145,29.341752],[114.466015,29.324013],[114.519602,29.325578],[114.589819,29.352707],[114.621847,29.379828],[114.67297,29.395993],[114.740724,29.386607],[114.759818,29.363139],[114.784455,29.386086],[114.812173,29.383478],[114.866375,29.404335],[114.895325,29.397557],[114.931049,29.422581],[114.947063,29.465317],[114.935977,29.486678],[114.90518,29.473132],[114.918114,29.454374],[114.888549,29.436134],[114.860216,29.476258],[114.900868,29.505951],[114.940288,29.493971],[114.966773,29.522096],[114.947679,29.542924],[115.00065,29.572076],[115.033295,29.546568],[115.087498,29.560104],[115.086266,29.525741],[115.154019,29.510117],[115.157099,29.584568],[115.120142,29.597578],[115.143548,29.645961],[115.117679,29.655843],[115.113367,29.684963],[115.176809,29.654803],[115.250722,29.660003],[115.28583,29.618391],[115.304924,29.637118],[115.355431,29.649602],[115.412714,29.688602],[115.470612,29.739539],[115.479235,29.811224],[115.51188,29.840299],[115.611662,29.841337],[115.667712,29.850161],[115.706517,29.837703],[115.762567,29.793048],[115.837096,29.748373],[115.909777,29.723949],[115.965827,29.724469],[116.049595,29.761881],[116.087167,29.795125],[116.13521,29.819532],[116.128435,29.897904],[116.073616,29.969993],[116.091479,30.036331],[116.078544,30.062233],[116.088399,30.110391],[116.055754,30.180774],[116.065609,30.204569],[115.997856,30.252657],[115.985537,30.290905],[115.903001,30.31364],[115.91532,30.337919],[115.885139,30.379747],[115.921479,30.416397],[115.894994,30.452517],[115.910393,30.519046],[115.887603,30.542758],[115.876516,30.582438],[115.848799,30.602014],[115.819234,30.597893],[115.81369,30.637035],[115.762567,30.685426],[115.782893,30.751795],[115.851262,30.756938],[115.863581,30.815549],[115.848799,30.828397],[115.865429,30.864364],[115.932566,30.889532],[115.976298,30.931636],[116.03974,30.957813],[116.071769,30.956787],[116.058834,31.012711],[116.015102,31.011685],[116.006479,31.034764],[115.938726,31.04707],[115.939958,31.071678],[115.887603,31.10909],[115.867277,31.147512],[115.837712,31.127022],[115.797676,31.128047],[115.778582,31.112164],[115.700973,31.201276],[115.655394,31.211002],[115.603655,31.17363],[115.585793,31.143926],[115.540213,31.194621],[115.539597,31.231985],[115.507568,31.267799],[115.473076,31.265242],[115.443511,31.344498],[115.40717,31.337854],[115.372062,31.349098],[115.393004,31.389977],[115.373909,31.405813],[115.338801,31.40428],[115.301229,31.383846],[115.250722,31.392021],[115.252569,31.421646],[115.211301,31.442072],[115.218077,31.515057],[115.235939,31.555354],[115.212533,31.555354],[115.16449,31.604808],[115.12507,31.599201],[115.106592,31.567592],[115.114599,31.530362],[115.096121,31.508425],[115.022824,31.527811],[114.995107,31.471171],[114.962462,31.494648],[114.884238,31.469129],[114.870071,31.479337],[114.830035,31.45892],[114.789383,31.480358],[114.778912,31.520669],[114.696376,31.525771],[114.641558,31.582378],[114.61692,31.585437],[114.572572,31.553824],[114.560869,31.560963],[114.547935,31.623665],[114.57134,31.660858],[114.586123,31.762172],[114.549783,31.766751],[114.530688,31.742834],[114.443841,31.728074],[114.403189,31.746906],[114.350218,31.755557],[114.292936,31.752503],[114.235654,31.833382],[114.191922,31.852192],[114.134024,31.843042],[114.121705,31.809482],[114.086596,31.782014],[114.017611,31.770822],[113.988662,31.749959],[113.952321,31.793714],[113.957865,31.852701],[113.914749,31.877098],[113.893807,31.847109],[113.854387,31.843042],[113.830981,31.87913],[113.832213,31.918761],[113.805728,31.929428],[113.817431,31.964467],[113.757685,31.98985],[113.791561,32.036028],[113.728735,32.083197],[113.722576,32.12426],[113.750293,32.11615],[113.782322,32.184553],[113.752757,32.215951],[113.73859,32.255942],[113.749061,32.272642],[113.768772,32.30148],[113.753989,32.328286],[113.76754,32.370249],[113.735511,32.410677],[113.700402,32.420782],[113.650511,32.412698],[113.624642,32.36115],[113.511925,32.316654],[113.428773,32.270618],[113.376418,32.298445],[113.353628,32.294904],[113.317904,32.327275],[113.333918,32.336377],[113.2366,32.407141],[113.211962,32.431895],[113.158992,32.410677],[113.155912,32.380863],[113.118956,32.375809],[113.107869,32.398551],[113.078919,32.394508],[113.025949,32.425328],[113.000695,32.41674],[112.992072,32.378336],[112.912,32.390971],[112.888594,32.37682],[112.860877,32.396024],[112.776493,32.358623],[112.735841,32.356095],[112.733993,32.356601],[112.724138,32.358623],[112.716747,32.357612],[112.645298,32.368227],[112.612037,32.386928],[112.589248,32.381369],[112.545516,32.404109],[112.530733,32.37682],[112.477147,32.380863],[112.448814,32.34295],[112.390915,32.37126],[112.360118,32.3657],[112.328089,32.321712],[112.206133,32.392992],[112.172873,32.385412],[112.150083,32.411688],[112.155626,32.377326],[112.081098,32.425833],[112.063851,32.474315],[112.014576,32.450077],[111.975772,32.471791],[111.948671,32.51722],[111.890157,32.503089],[111.858128,32.528826],[111.808853,32.536899],[111.713382,32.606497],[111.646245,32.605993],[111.640701,32.634724],[111.577875,32.593388],[111.530448,32.628172],[111.513202,32.674026],[111.458383,32.726402],[111.475629,32.760127],[111.41342,32.757108],[111.380159,32.829049],[111.293311,32.859217],[111.276065,32.903445],[111.255123,32.883846],[111.242804,32.930573],[111.273601,32.971753],[111.258819,33.006389],[111.221862,33.042517],[111.152877,33.039507],[111.192913,33.071609],[111.179363,33.115229],[111.146102,33.12375],[111.12824,33.15532],[111.08882,33.181871],[111.045704,33.169849]]],[[[109.106111,30.570587],[109.101183,30.579346],[109.09872,30.579346],[109.106111,30.570587]]],[[[111.046936,33.202905],[111.035849,33.187881],[111.034001,33.177864],[111.045704,33.169849],[111.046936,33.202905]]],[[[112.716747,32.357612],[112.735841,32.356095],[112.733993,32.356601],[112.724138,32.358623],[112.716747,32.357612]]],[[[112.902145,29.79149],[112.894138,29.783699],[112.923703,29.766557],[112.929246,29.77383],[112.902145,29.79149]]]]}},{"type":"Feature","properties":{"adcode":430000,"name":"湖南省","center":[112.982279,28.19409],"centroid":[111.711649,27.629216],"childrenNum":14,"level":"province","parent":{"adcode":100000},"subFeatureIndex":17,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.024431,24.740308],[112.03367,24.771286],[112.124214,24.841364],[112.149467,24.837019],[112.167329,24.859828],[112.175337,24.927685],[112.119902,24.963499],[112.12175,24.989538],[112.155626,25.026419],[112.151931,25.055698],[112.177184,25.106649],[112.187039,25.182494],[112.246785,25.185202],[112.256025,25.159204],[112.302836,25.157037],[112.315771,25.175453],[112.365046,25.191701],[112.414937,25.14241],[112.44327,25.185744],[112.458053,25.152162],[112.562762,25.124531],[112.628052,25.140785],[112.660081,25.132658],[112.712436,25.083344],[112.714899,25.025876],[112.742001,24.99876],[112.743233,24.959701],[112.778341,24.947764],[112.780805,24.896747],[112.873812,24.896747],[112.904609,24.921715],[112.941565,24.915745],[112.994536,24.927142],[113.009934,24.977604],[112.979137,25.03401],[113.004391,25.089306],[112.96805,25.141869],[112.97421,25.168412],[113.034572,25.198199],[112.992688,25.247467],[112.958195,25.254503],[112.897833,25.238264],[112.867036,25.249632],[112.854718,25.337829],[112.891058,25.339993],[112.924319,25.296714],[112.93479,25.325929],[112.969898,25.350269],[113.013014,25.352432],[113.078304,25.382174],[113.096782,25.412449],[113.131274,25.414611],[113.11834,25.445418],[113.176854,25.471355],[113.226129,25.50971],[113.248919,25.514031],[113.311129,25.490264],[113.314208,25.442716],[113.341926,25.448661],[113.373338,25.402719],[113.407215,25.401637],[113.449715,25.359463],[113.479896,25.375145],[113.535946,25.368656],[113.579062,25.34432],[113.584606,25.306453],[113.611707,25.327552],[113.680076,25.334584],[113.686852,25.351891],[113.753373,25.362707],[113.76446,25.333502],[113.814967,25.328634],[113.839605,25.363248],[113.877177,25.380552],[113.887032,25.436772],[113.94493,25.441635],[113.962792,25.528072],[113.986198,25.529153],[113.983118,25.599336],[113.957249,25.611749],[113.913517,25.701299],[113.920293,25.741197],[113.961561,25.77731],[113.971416,25.836036],[114.028082,25.893119],[114.028082,25.98138],[114.008372,26.015806],[114.044096,26.076564],[114.087828,26.06635],[114.121089,26.085702],[114.10569,26.097526],[114.188842,26.121172],[114.237501,26.152333],[114.216559,26.203355],[114.181451,26.214631],[114.102611,26.187783],[114.088444,26.168448],[114.013299,26.184023],[113.962792,26.150722],[113.949242,26.192616],[113.972647,26.20604],[113.978807,26.237716],[114.029314,26.266163],[114.021307,26.288701],[114.047792,26.337518],[114.030546,26.376664],[114.062575,26.406149],[114.085364,26.406149],[114.090292,26.455988],[114.110002,26.482775],[114.07243,26.480096],[114.10877,26.56952],[114.019459,26.587182],[113.996669,26.615543],[113.912901,26.613938],[113.860546,26.664221],[113.853771,26.769532],[113.835909,26.806394],[113.877177,26.859262],[113.890112,26.895562],[113.927068,26.948922],[113.892575,26.964925],[113.86301,27.018252],[113.824206,27.036378],[113.803264,27.099261],[113.771851,27.096598],[113.779242,27.137081],[113.846996,27.222262],[113.872865,27.289828],[113.854387,27.30525],[113.872865,27.346721],[113.872865,27.384988],[113.72812,27.350442],[113.699786,27.331836],[113.657902,27.347253],[113.616635,27.345658],[113.605548,27.38924],[113.632033,27.40518],[113.59754,27.428554],[113.591381,27.467855],[113.627105,27.49971],[113.583374,27.524657],[113.579062,27.545354],[113.608627,27.585143],[113.607395,27.625449],[113.652359,27.663619],[113.696707,27.71979],[113.69917,27.740979],[113.763228,27.799228],[113.756453,27.860091],[113.72812,27.874904],[113.752141,27.93361],[113.822974,27.982243],[113.845148,27.971672],[113.864242,28.004966],[113.914133,27.991227],[113.936307,28.018703],[113.966488,28.017646],[113.970184,28.041418],[114.025618,28.031382],[114.047176,28.057263],[114.025002,28.080499],[113.992357,28.161255],[114.012068,28.174972],[114.068734,28.171806],[114.107538,28.182885],[114.109386,28.205038],[114.143879,28.246694],[114.182067,28.249858],[114.198081,28.29097],[114.2529,28.319423],[114.252284,28.395787],[114.214712,28.403157],[114.172212,28.432632],[114.217175,28.466308],[114.218407,28.48472],[114.15435,28.507337],[114.138335,28.533629],[114.08598,28.558337],[114.132176,28.607211],[114.122321,28.623497],[114.157429,28.761566],[114.137719,28.779926],[114.153734,28.829221],[114.124784,28.843376],[114.076741,28.834464],[114.056415,28.872204],[114.060111,28.902596],[114.028082,28.891069],[114.005292,28.917788],[114.008988,28.955498],[113.973879,28.937692],[113.955401,28.978536],[113.961561,28.999476],[113.94185,29.047097],[113.898119,29.029307],[113.876561,29.038202],[113.882104,29.065407],[113.852539,29.058606],[113.816199,29.105154],[113.775547,29.095219],[113.749677,29.060699],[113.722576,29.104631],[113.696091,29.077437],[113.690547,29.114566],[113.66283,29.16945],[113.691779,29.19662],[113.693011,29.226394],[113.651743,29.225872],[113.609859,29.25146],[113.632033,29.316186],[113.660982,29.333405],[113.674533,29.388172],[113.731199,29.393907],[113.755221,29.446557],[113.677613,29.513763],[113.630801,29.523137],[113.710257,29.555419],[113.73859,29.579363],[113.704098,29.634518],[113.680692,29.64336],[113.663446,29.684443],[113.606164,29.666764],[113.547033,29.675603],[113.540258,29.699519],[113.558736,29.727067],[113.550729,29.768115],[113.575367,29.809147],[113.571671,29.849123],[113.37765,29.703158],[113.277252,29.594976],[113.222433,29.543965],[113.181781,29.485636],[113.145441,29.449163],[113.099861,29.459585],[113.078304,29.438218],[113.057362,29.522616],[113.034572,29.523658],[112.950188,29.473132],[112.912,29.606944],[112.915696,29.620992],[113.005007,29.693801],[113.025949,29.772791],[112.974826,29.732784],[112.944645,29.682883],[112.926782,29.692241],[112.923703,29.766557],[112.894138,29.783699],[112.861493,29.78318],[112.79374,29.735902],[112.788812,29.681323],[112.733378,29.645441],[112.714283,29.648561],[112.693957,29.601741],[112.650842,29.592374],[112.640371,29.607985],[112.572001,29.624113],[112.54182,29.60122],[112.499321,29.629316],[112.439574,29.633997],[112.424792,29.598619],[112.368741,29.541362],[112.333017,29.545007],[112.291133,29.517409],[112.281278,29.536676],[112.303452,29.585609],[112.233851,29.61631],[112.244322,29.659483],[112.202438,29.633997],[112.178416,29.656883],[112.111279,29.659483],[112.089721,29.685482],[112.065699,29.681323],[112.07617,29.743696],[112.008417,29.778505],[111.95483,29.796683],[111.965917,29.832512],[111.925881,29.836665],[111.899396,29.855871],[111.899396,29.855871],[111.861207,29.856909],[111.8107,29.901017],[111.75773,29.92021],[111.723853,29.909317],[111.723853,29.909317],[111.705375,29.890121],[111.669034,29.888565],[111.669034,29.888565],[111.553854,29.894272],[111.527368,29.925916],[111.475629,29.918654],[111.436825,29.930065],[111.394325,29.912948],[111.382623,29.95029],[111.342587,29.944586],[111.3315,29.970512],[111.266826,30.01146],[111.242188,30.040476],[111.031537,30.048765],[110.929907,30.063268],[110.924364,30.111426],[110.851067,30.126439],[110.746973,30.112979],[110.756212,30.054463],[110.712481,30.033223],[110.650887,30.07777],[110.600996,30.054463],[110.531394,30.061197],[110.497518,30.055499],[110.491358,30.019751],[110.557264,29.988137],[110.517228,29.961179],[110.49875,29.91243],[110.538786,29.895828],[110.549873,29.848085],[110.60038,29.839779],[110.642879,29.775907],[110.562807,29.712515],[110.507373,29.692241],[110.467337,29.713034],[110.447011,29.664684],[110.372482,29.633477],[110.339221,29.668324],[110.302265,29.661563],[110.289946,29.6964],[110.219729,29.746814],[110.160599,29.753569],[110.113788,29.789932],[110.02386,29.769674],[109.941325,29.774349],[109.908064,29.763959],[109.869876,29.774869],[109.779333,29.757725],[109.755311,29.733304],[109.760238,29.689122],[109.714659,29.673524],[109.701108,29.636078],[109.717739,29.615269],[109.664768,29.599659],[109.651833,29.625674],[109.578536,29.629836],[109.558826,29.606944],[109.516326,29.626194],[109.488609,29.553336],[109.467051,29.560104],[109.458428,29.513242],[109.433791,29.530948],[109.436254,29.488761],[109.415928,29.497617],[109.418392,29.453332],[109.368501,29.413719],[109.391291,29.372005],[109.343863,29.369398],[109.352487,29.284872],[109.312451,29.25146],[109.257632,29.222738],[109.275494,29.202366],[109.261328,29.161089],[109.274262,29.121885],[109.232378,29.119271],[109.240386,29.086328],[109.312451,29.066453],[109.319842,29.042388],[109.294588,29.015177],[109.292741,28.987436],[109.261328,28.952356],[109.235458,28.882161],[109.246545,28.80143],[109.241002,28.776779],[109.2989,28.7474],[109.294588,28.722211],[109.252704,28.691767],[109.271183,28.671816],[109.192958,28.636104],[109.201581,28.597753],[109.235458,28.61982],[109.252089,28.606685],[109.306907,28.62087],[109.319842,28.579886],[109.273646,28.53836],[109.274262,28.494714],[109.260712,28.46473],[109.264407,28.392628],[109.289045,28.373673],[109.268719,28.33786],[109.275494,28.313101],[109.317994,28.277795],[109.33524,28.293605],[109.388211,28.268307],[109.367885,28.254602],[109.340168,28.19027],[109.33832,28.141731],[109.314298,28.103729],[109.298284,28.036136],[109.335856,28.063073],[109.378972,28.034551],[109.362342,28.007608],[109.319842,27.988585],[109.30198,27.956343],[109.32169,27.868027],[109.346943,27.838396],[109.332777,27.782815],[109.37774,27.736741],[109.366653,27.721909],[109.414081,27.725087],[109.470747,27.680049],[109.45658,27.673689],[109.470131,27.62863],[109.451037,27.586204],[109.461508,27.567637],[109.404841,27.55066],[109.303211,27.47582],[109.300132,27.423774],[109.245313,27.41793],[109.202197,27.450331],[109.167089,27.41793],[109.141835,27.448207],[109.142451,27.418461],[109.103647,27.336621],[109.044517,27.331304],[109.053756,27.293551],[108.983539,27.26802],[108.963213,27.235565],[108.907778,27.204699],[108.926873,27.160512],[108.878829,27.106187],[108.79075,27.084343],[108.877597,27.01612],[108.942887,27.017186],[108.942887,27.017186],[108.940423,27.044907],[109.007561,27.08008],[109.032814,27.104056],[109.128901,27.122701],[109.101183,27.06889],[109.165857,27.066758],[109.21698,27.114711],[109.239154,27.14933],[109.264407,27.131755],[109.33524,27.139212],[109.358646,27.153058],[109.415312,27.154123],[109.441182,27.117907],[109.472595,27.134951],[109.454733,27.069423],[109.486761,27.053968],[109.497848,27.079548],[109.520022,27.058764],[109.555131,26.946788],[109.436254,26.892359],[109.452885,26.861932],[109.486761,26.895562],[109.509551,26.877947],[109.513247,26.84004],[109.497232,26.815474],[109.522486,26.749226],[109.528645,26.743881],[109.554515,26.73533],[109.597015,26.756173],[109.568065,26.726243],[109.528645,26.743881],[109.52187,26.749226],[109.486761,26.759913],[109.447957,26.759913],[109.407305,26.719829],[109.35495,26.693098],[109.283501,26.698445],[109.306291,26.661012],[109.334008,26.646036],[109.35495,26.658873],[109.390675,26.598955],[109.407305,26.533116],[109.381436,26.518659],[109.385747,26.493487],[109.362342,26.472061],[109.38082,26.454381],[109.319842,26.418477],[109.29582,26.350389],[109.271183,26.327863],[109.285965,26.295676],[109.325385,26.29031],[109.351255,26.264016],[109.369733,26.277432],[109.442414,26.289774],[109.467051,26.313917],[109.439334,26.238789],[109.47629,26.148035],[109.513863,26.128157],[109.502776,26.096451],[109.449805,26.101826],[109.452885,26.055598],[109.48245,26.029788],[109.513247,25.998056],[109.560058,26.021184],[109.588391,26.019571],[109.635203,26.047533],[109.649369,26.016882],[109.730057,25.989988],[109.710963,25.954478],[109.693717,25.959321],[109.67955,25.921649],[109.685094,25.880197],[109.768246,25.890427],[109.779333,25.866196],[109.811361,25.877504],[109.826144,25.911422],[109.806434,25.973848],[109.782412,25.996981],[109.814441,26.041081],[109.864332,26.027637],[109.898825,26.095377],[109.904368,26.135679],[109.970274,26.195301],[110.03002,26.166299],[110.099005,26.168985],[110.100853,26.132455],[110.065128,26.050221],[110.100853,26.020108],[110.168606,26.028713],[110.181541,26.060437],[110.24991,26.010965],[110.257301,25.961473],[110.325671,25.975462],[110.373098,26.088927],[110.437772,26.153945],[110.477808,26.179727],[110.495054,26.166299],[110.546793,26.233421],[110.552952,26.283335],[110.584365,26.296749],[110.612083,26.333764],[110.643495,26.308552],[110.673676,26.317135],[110.721104,26.294066],[110.742046,26.313917],[110.73527,26.270993],[110.759292,26.248451],[110.836284,26.255966],[110.939762,26.286554],[110.926212,26.320354],[110.944074,26.326791],[110.94469,26.373447],[110.974255,26.385778],[111.008747,26.35897],[111.008132,26.336982],[111.090667,26.308016],[111.208928,26.30426],[111.204616,26.276359],[111.228022,26.261333],[111.277913,26.272066],[111.293311,26.222148],[111.271754,26.217316],[111.274833,26.183486],[111.258203,26.151796],[111.26621,26.095914],[111.244652,26.078177],[111.267442,26.058824],[111.235413,26.048071],[111.189834,25.953402],[111.230486,25.916267],[111.251428,25.864581],[111.29208,25.854349],[111.297007,25.874274],[111.346282,25.906577],[111.376463,25.906039],[111.383239,25.881812],[111.460231,25.885042],[111.4861,25.859196],[111.43313,25.84627],[111.442369,25.77192],[111.399869,25.744431],[111.30871,25.720171],[111.309942,25.645203],[111.343202,25.602574],[111.324724,25.564249],[111.32842,25.521592],[111.279145,25.42326],[111.210776,25.363248],[111.184906,25.367034],[111.138711,25.303748],[111.103602,25.285351],[111.112841,25.21715],[110.998892,25.161371],[110.98411,25.101772],[110.951465,25.04377],[110.968711,24.975434],[111.009363,24.921172],[111.100522,24.945593],[111.101754,25.035095],[111.139943,25.042144],[111.200921,25.074672],[111.221862,25.106649],[111.274833,25.151078],[111.321645,25.105023],[111.36784,25.108817],[111.375231,25.128324],[111.435593,25.093642],[111.416499,25.047566],[111.467622,25.02208],[111.460231,24.992793],[111.43313,24.979774],[111.434977,24.951562],[111.470086,24.92877],[111.447296,24.892947],[111.449144,24.857113],[111.479325,24.797366],[111.461463,24.728894],[111.431282,24.687574],[111.451608,24.665822],[111.499035,24.667997],[111.526752,24.637538],[111.570484,24.64461],[111.588962,24.690837],[111.641933,24.684856],[111.637621,24.715303],[111.666571,24.760961],[111.708455,24.788673],[111.783599,24.785957],[111.814396,24.770199],[111.868599,24.771829],[111.875374,24.756613],[111.929577,24.75607],[111.951135,24.769655],[112.024431,24.740308]]],[[[109.528645,26.743881],[109.522486,26.749226],[109.52187,26.749226],[109.528645,26.743881]]]]}},{"type":"Feature","properties":{"adcode":440000,"name":"广东省","center":[113.280637,23.125178],"centroid":[113.429919,23.334643],"childrenNum":21,"level":"province","parent":{"adcode":100000},"subFeatureIndex":18,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.558736,22.212244],[113.594461,22.228864],[113.595693,22.304186],[113.617866,22.315259],[113.604932,22.339617],[113.627721,22.349027],[113.669605,22.416539],[113.66591,22.438667],[113.624642,22.443092],[113.608627,22.408793],[113.573519,22.41156],[113.631417,22.475723],[113.668373,22.4807],[113.691779,22.514981],[113.740438,22.534329],[113.717033,22.645391],[113.678228,22.726007],[113.733663,22.736494],[113.758301,22.683496],[113.765692,22.665825],[113.803264,22.593463],[113.856851,22.539857],[113.869786,22.459685],[113.893807,22.442539],[113.952937,22.486783],[113.954785,22.491206],[113.976343,22.510558],[114.031778,22.503923],[114.082285,22.512216],[114.095219,22.534329],[114.156813,22.543726],[114.166052,22.559201],[114.222719,22.553122],[114.232574,22.539857],[114.294784,22.563623],[114.321885,22.587385],[114.381631,22.60175],[114.427211,22.589042],[114.472174,22.522168],[114.476486,22.459132],[114.506667,22.438667],[114.549167,22.465769],[114.611377,22.481806],[114.628623,22.513875],[114.614456,22.545384],[114.568261,22.560859],[114.559022,22.583517],[114.603369,22.638763],[114.579964,22.661407],[114.51529,22.655332],[114.567029,22.685705],[114.591666,22.690122],[114.601521,22.730975],[114.689601,22.7674],[114.709927,22.787817],[114.749963,22.764089],[114.73518,22.724351],[114.728405,22.651466],[114.743803,22.632687],[114.746267,22.581859],[114.866375,22.591805],[114.88547,22.538751],[114.922426,22.549253],[114.927969,22.621639],[114.945216,22.645391],[115.039454,22.713862],[115.02344,22.726007],[115.053621,22.747533],[115.076411,22.788368],[115.154635,22.80161],[115.190975,22.77347],[115.190359,22.818711],[115.236555,22.82533],[115.230396,22.776781],[115.319091,22.783402],[115.338185,22.776781],[115.349272,22.712206],[115.381301,22.684048],[115.430576,22.684048],[115.471844,22.697852],[115.575322,22.650914],[115.565467,22.684048],[115.609198,22.753052],[115.541445,22.755259],[115.570394,22.786713],[115.583945,22.82864],[115.654162,22.865591],[115.696046,22.84298],[115.760103,22.834707],[115.788437,22.809885],[115.796444,22.739254],[115.829089,22.734838],[115.883291,22.78561],[115.931334,22.802713],[115.965211,22.800506],[115.99724,22.826985],[116.05637,22.844635],[116.104413,22.816505],[116.14137,22.835259],[116.239304,22.921275],[116.259014,22.932298],[116.302746,22.951588],[116.382818,22.91907],[116.449955,22.936707],[116.50539,22.930645],[116.544194,22.996769],[116.576839,23.014397],[116.557129,23.056253],[116.566368,23.088738],[116.550969,23.109656],[116.566368,23.134424],[116.665534,23.158086],[116.701259,23.198248],[116.74499,23.215299],[116.806584,23.200998],[116.821367,23.240597],[116.798577,23.244996],[116.782563,23.313714],[116.871874,23.4159],[116.871258,23.416449],[116.874338,23.447199],[116.874953,23.447748],[116.895895,23.476295],[116.888504,23.501543],[116.92854,23.530079],[116.963649,23.507031],[117.01046,23.502641],[117.044953,23.539955],[117.085605,23.536663],[117.192778,23.5619],[117.192778,23.629356],[117.147199,23.654027],[117.123793,23.647448],[117.055424,23.694038],[117.048032,23.758687],[117.019083,23.801952],[117.012308,23.855054],[116.981511,23.855602],[116.955642,23.922359],[116.976583,23.931659],[116.981511,23.999471],[116.953178,24.008218],[116.930388,24.064514],[116.9347,24.126794],[116.998757,24.179217],[116.956257,24.216883],[116.933468,24.220157],[116.938395,24.28127],[116.914374,24.287817],[116.919301,24.321087],[116.895895,24.350533],[116.903903,24.369614],[116.839229,24.442097],[116.860787,24.460075],[116.83307,24.496568],[116.796729,24.502014],[116.759157,24.545572],[116.761005,24.583128],[116.815207,24.654944],[116.777635,24.679418],[116.667382,24.658752],[116.623034,24.64189],[116.600861,24.654401],[116.570679,24.621762],[116.530027,24.604895],[116.506622,24.621218],[116.517709,24.652225],[116.485064,24.720196],[116.44626,24.714216],[116.416079,24.744113],[116.419158,24.767482],[116.375427,24.803885],[116.381586,24.82507],[116.417927,24.840821],[116.395137,24.877746],[116.363724,24.87123],[116.345862,24.828872],[116.297202,24.801712],[116.244232,24.793563],[116.251007,24.82507],[116.221442,24.829959],[116.191877,24.877203],[116.153073,24.846795],[116.068073,24.850053],[116.015102,24.905975],[115.985537,24.899461],[115.907929,24.923343],[115.89253,24.936911],[115.885139,24.898918],[115.907313,24.879917],[115.861733,24.863629],[115.863581,24.891318],[115.824161,24.909232],[115.807531,24.862543],[115.790284,24.856027],[115.764415,24.791933],[115.776734,24.774546],[115.756408,24.749004],[115.769342,24.708236],[115.801371,24.705517],[115.780429,24.663103],[115.797676,24.628834],[115.840791,24.584217],[115.843871,24.562446],[115.785357,24.567345],[115.752712,24.546116],[115.68927,24.545027],[115.671408,24.604895],[115.605503,24.62557],[115.569778,24.622306],[115.555611,24.683768],[115.522967,24.702799],[115.476771,24.762591],[115.412714,24.79302],[115.372678,24.774546],[115.358511,24.735416],[115.306772,24.758787],[115.269816,24.749548],[115.258729,24.728894],[115.1842,24.711498],[115.104744,24.667997],[115.083802,24.699537],[115.057317,24.703343],[115.024672,24.669085],[115.00373,24.679418],[114.940288,24.650049],[114.909491,24.661471],[114.893477,24.582584],[114.868839,24.562446],[114.846665,24.602719],[114.827571,24.588026],[114.781376,24.613057],[114.729637,24.608704],[114.73826,24.565168],[114.704999,24.525973],[114.664963,24.583673],[114.627391,24.576598],[114.589819,24.537406],[114.534384,24.559181],[114.429058,24.48622],[114.403189,24.497657],[114.391486,24.563535],[114.363769,24.582584],[114.300943,24.578775],[114.289856,24.619042],[114.258443,24.641346],[114.19069,24.656576],[114.169132,24.689749],[114.27261,24.700624],[114.281849,24.724001],[114.336052,24.749004],[114.342211,24.807145],[114.378551,24.861457],[114.403189,24.877746],[114.395798,24.951019],[114.454928,24.977062],[114.45616,24.99659],[114.506051,24.999844],[114.532536,25.022623],[114.561485,25.077382],[114.604601,25.083886],[114.640326,25.074129],[114.664963,25.10123],[114.735796,25.121822],[114.73518,25.155954],[114.685905,25.173287],[114.693912,25.213902],[114.73518,25.225813],[114.743188,25.274528],[114.714238,25.315651],[114.63663,25.324306],[114.599674,25.385959],[114.541159,25.416773],[114.477718,25.37136],[114.438914,25.376226],[114.43029,25.343779],[114.382863,25.317274],[114.31511,25.33837],[114.2954,25.299961],[114.260291,25.291845],[114.204857,25.29942],[114.190074,25.316733],[114.115545,25.302125],[114.083517,25.275611],[114.055799,25.277775],[114.039785,25.250714],[114.017611,25.273987],[114.029314,25.328093],[114.050256,25.36433],[113.983118,25.415152],[114.003444,25.442716],[113.94493,25.441635],[113.887032,25.436772],[113.877177,25.380552],[113.839605,25.363248],[113.814967,25.328634],[113.76446,25.333502],[113.753373,25.362707],[113.686852,25.351891],[113.680076,25.334584],[113.611707,25.327552],[113.584606,25.306453],[113.579062,25.34432],[113.535946,25.368656],[113.479896,25.375145],[113.449715,25.359463],[113.407215,25.401637],[113.373338,25.402719],[113.341926,25.448661],[113.314208,25.442716],[113.311129,25.490264],[113.248919,25.514031],[113.226129,25.50971],[113.176854,25.471355],[113.11834,25.445418],[113.131274,25.414611],[113.096782,25.412449],[113.078304,25.382174],[113.013014,25.352432],[112.969898,25.350269],[112.93479,25.325929],[112.924319,25.296714],[112.891058,25.339993],[112.854718,25.337829],[112.867036,25.249632],[112.897833,25.238264],[112.958195,25.254503],[112.992688,25.247467],[113.034572,25.198199],[112.97421,25.168412],[112.96805,25.141869],[113.004391,25.089306],[112.979137,25.03401],[113.009934,24.977604],[112.994536,24.927142],[112.941565,24.915745],[112.904609,24.921715],[112.873812,24.896747],[112.780805,24.896747],[112.778341,24.947764],[112.743233,24.959701],[112.742001,24.99876],[112.714899,25.025876],[112.712436,25.083344],[112.660081,25.132658],[112.628052,25.140785],[112.562762,25.124531],[112.458053,25.152162],[112.44327,25.185744],[112.414937,25.14241],[112.365046,25.191701],[112.315771,25.175453],[112.302836,25.157037],[112.256025,25.159204],[112.246785,25.185202],[112.187039,25.182494],[112.177184,25.106649],[112.151931,25.055698],[112.155626,25.026419],[112.12175,24.989538],[112.119902,24.963499],[112.175337,24.927685],[112.167329,24.859828],[112.149467,24.837019],[112.124214,24.841364],[112.03367,24.771286],[112.024431,24.740308],[111.961606,24.721283],[111.939432,24.686487],[111.953598,24.64733],[111.927729,24.629378],[111.936968,24.595645],[111.972077,24.578775],[112.007185,24.534684],[112.009649,24.503103],[111.985011,24.467701],[112.025047,24.438828],[112.057692,24.387057],[112.05954,24.339628],[112.026279,24.294908],[111.990555,24.279634],[111.986243,24.25672],[111.958526,24.263813],[111.912946,24.221795],[111.877222,24.227252],[111.871062,24.176487],[111.886461,24.163929],[111.878454,24.109862],[111.92157,24.012045],[111.940664,23.987989],[111.911714,23.943693],[111.854432,23.947521],[111.845809,23.904305],[111.812548,23.887343],[111.824867,23.832612],[111.8107,23.80688],[111.722621,23.823305],[111.683201,23.822758],[111.683201,23.822758],[111.654868,23.833159],[111.627766,23.78881],[111.621607,23.725819],[111.666571,23.718696],[111.614832,23.65896],[111.615448,23.639225],[111.555702,23.64087],[111.487332,23.626615],[111.479941,23.532822],[111.428818,23.466414],[111.399869,23.469159],[111.383239,23.399423],[111.389398,23.375804],[111.363528,23.340641],[111.376463,23.30437],[111.353058,23.284582],[111.36476,23.240047],[111.388782,23.210349],[111.38447,23.16744],[111.365992,23.14488],[111.377695,23.082132],[111.402333,23.066165],[111.43313,23.073322],[111.433746,23.036428],[111.389398,23.005583],[111.403565,22.99126],[111.362913,22.967568],[111.374615,22.938361],[111.358601,22.889301],[111.218167,22.748085],[111.185522,22.735942],[111.118385,22.744773],[111.058023,22.729871],[111.089435,22.695643],[111.055559,22.648705],[110.997045,22.631582],[110.958856,22.636553],[110.950233,22.61059],[110.896031,22.613352],[110.897878,22.591805],[110.812263,22.576333],[110.778386,22.585174],[110.749437,22.556991],[110.762988,22.518298],[110.740198,22.498947],[110.74143,22.464109],[110.688459,22.477935],[110.712481,22.440879],[110.711249,22.369506],[110.74143,22.361757],[110.749437,22.329653],[110.787009,22.28259],[110.759292,22.274837],[110.725415,22.29588],[110.687843,22.249914],[110.646575,22.220554],[110.678604,22.172901],[110.629329,22.149068],[110.598532,22.162924],[110.602843,22.18343],[110.55788,22.196175],[110.505525,22.14297],[110.456866,22.189526],[110.414366,22.208365],[110.378026,22.164587],[110.34846,22.195621],[110.326287,22.152393],[110.364475,22.125785],[110.35154,22.097508],[110.359547,22.015973],[110.352772,21.97602],[110.374946,21.967695],[110.374946,21.967695],[110.378642,21.939942],[110.378642,21.939942],[110.391576,21.89386],[110.337374,21.887751],[110.290562,21.917736],[110.283787,21.892194],[110.224041,21.882198],[110.224041,21.882198],[110.212338,21.886085],[110.212338,21.886085],[110.196323,21.899968],[110.12857,21.902744],[110.101469,21.86998],[110.050962,21.857205],[109.999839,21.881643],[109.94502,21.84443],[109.940093,21.769419],[109.916071,21.668787],[109.888354,21.652101],[109.888354,21.652101],[109.839695,21.636525],[109.786108,21.637638],[109.778101,21.670455],[109.742992,21.616497],[109.754695,21.556396],[109.788572,21.490702],[109.785492,21.45673],[109.819369,21.445033],[109.894513,21.442248],[109.904368,21.429992],[109.868644,21.365913],[109.770709,21.359783],[109.757775,21.346963],[109.763934,21.226514],[109.674623,21.136671],[109.674007,21.067997],[109.655529,20.929435],[109.664768,20.862343],[109.711579,20.774519],[109.730057,20.719673],[109.74484,20.621124],[109.793499,20.615522],[109.813825,20.574627],[109.811977,20.541566],[109.839695,20.489439],[109.888354,20.475423],[109.895745,20.42776],[109.864948,20.40196],[109.861252,20.376717],[109.916071,20.316677],[109.909296,20.236961],[109.929006,20.211691],[109.993679,20.254368],[110.082375,20.258859],[110.118099,20.219553],[110.168606,20.219553],[110.220345,20.25156],[110.296722,20.249314],[110.349076,20.258859],[110.384185,20.293103],[110.425453,20.291419],[110.452554,20.311064],[110.491358,20.373912],[110.54125,20.42047],[110.550489,20.47262],[110.499982,20.572386],[110.487047,20.640167],[110.466105,20.680485],[110.411286,20.670966],[110.392192,20.682724],[110.407591,20.731987],[110.393424,20.816479],[110.350924,20.84165],[110.327519,20.847802],[110.269004,20.839972],[110.209874,20.860106],[110.184005,20.891979],[110.180925,20.98197],[110.204947,21.003202],[110.208642,21.050684],[110.241903,21.016051],[110.24991,21.045098],[110.296722,21.093684],[110.39096,21.124949],[110.422373,21.190807],[110.451322,21.186343],[110.501213,21.217588],[110.534474,21.204198],[110.626249,21.215915],[110.65951,21.239902],[110.713097,21.3124],[110.768531,21.364799],[110.796248,21.37483],[110.888639,21.367585],[110.929291,21.375945],[111.034617,21.438906],[111.103602,21.455616],[111.171355,21.458401],[111.28284,21.485691],[111.276065,21.443362],[111.250196,21.45116],[111.257587,21.41495],[111.28592,21.41885],[111.353058,21.464528],[111.382623,21.495714],[111.444217,21.514088],[111.494724,21.501282],[111.521825,21.517429],[111.560629,21.50518],[111.609904,21.530234],[111.650556,21.512418],[111.677658,21.529677],[111.693672,21.590345],[111.736788,21.609821],[111.794686,21.61149],[111.832258,21.578659],[111.810084,21.555283],[111.887693,21.578659],[111.941896,21.607039],[111.972692,21.603144],[112.026895,21.633744],[111.997946,21.657107],[111.954214,21.667674],[111.956062,21.710494],[112.036134,21.761637],[112.136532,21.793871],[112.192583,21.789425],[112.196894,21.736624],[112.236315,21.727173],[112.238778,21.702153],[112.353343,21.707157],[112.415553,21.734956],[112.427256,21.789981],[112.445734,21.803317],[112.497473,21.785535],[112.535661,21.753856],[112.647146,21.758302],[112.68595,21.810541],[112.792508,21.921067],[112.841167,21.920512],[112.893522,21.84443],[112.929862,21.838875],[112.989608,21.869424],[113.047507,21.956595],[113.053666,22.012089],[113.032108,22.04593],[113.045659,22.088636],[113.086927,22.12634],[113.091854,22.065344],[113.142977,22.012089],[113.1516,21.979905],[113.235368,21.887751],[113.266781,21.871646],[113.319752,21.909407],[113.330223,21.96159],[113.442324,22.009315],[113.45957,22.043711],[113.527939,22.073663],[113.567359,22.075327],[113.554425,22.107489],[113.554425,22.142416],[113.534715,22.174009],[113.53841,22.209473],[113.558736,22.212244]]],[[[117.024627,23.437865],[116.982743,23.460924],[116.944555,23.440061],[116.951946,23.419744],[117.027091,23.41535],[117.050496,23.400522],[117.081909,23.409309],[117.124409,23.389537],[117.142887,23.400522],[117.142887,23.459826],[117.129336,23.483431],[117.093612,23.459277],[117.058503,23.47355],[117.029554,23.443356],[117.024627,23.437865]]],[[[112.853486,21.740515],[112.876275,21.772753],[112.840551,21.776644],[112.782653,21.739959],[112.724138,21.719945],[112.70566,21.679354],[112.734609,21.666562],[112.780189,21.671568],[112.730914,21.613715],[112.775261,21.564189],[112.817145,21.590345],[112.798667,21.610933],[112.821457,21.655994],[112.804826,21.686583],[112.83316,21.736624],[112.853486,21.740515]]],[[[112.530733,21.583667],[112.563378,21.591458],[112.571385,21.619835],[112.621277,21.606482],[112.665624,21.642644],[112.639139,21.67268],[112.66624,21.683803],[112.663776,21.714386],[112.592327,21.693256],[112.560299,21.666562],[112.57077,21.645982],[112.535045,21.628737],[112.530733,21.583667]]],[[[114.231342,22.016528],[114.311414,22.041493],[114.302791,22.050368],[114.239965,22.03539],[114.231342,22.016528]]],[[[110.43346,21.171276],[110.489511,21.138904],[110.508605,21.140579],[110.544945,21.083633],[110.582517,21.094801],[110.632409,21.210893],[110.589293,21.194713],[110.525235,21.190249],[110.499366,21.213125],[110.445163,21.184669],[110.431612,21.180763],[110.43346,21.171276]]],[[[112.435263,21.663781],[112.456205,21.648763],[112.458669,21.68992],[112.435263,21.663781]]],[[[110.517844,21.079166],[110.459946,21.062971],[110.398352,21.096476],[110.352772,21.079724],[110.305961,21.0881],[110.27578,21.033369],[110.211106,20.986999],[110.201251,20.938378],[110.309656,20.963529],[110.347845,20.984763],[110.407591,20.990351],[110.47288,20.983087],[110.511684,20.916578],[110.535706,20.922727],[110.539402,20.987557],[110.560344,21.061295],[110.517844,21.079166]]],[[[113.765076,21.962145],[113.774315,21.998218],[113.74167,21.991559],[113.765076,21.962145]]],[[[113.723192,21.922177],[113.742902,21.950489],[113.71888,21.951599],[113.723192,21.922177]]],[[[113.142977,21.831653],[113.162071,21.853873],[113.203955,21.861093],[113.167615,21.876644],[113.136818,21.868869],[113.142977,21.831653]]],[[[113.819894,22.396068],[113.813735,22.419858],[113.786634,22.413773],[113.819894,22.396068]]],[[[114.190074,21.986564],[114.229494,21.995443],[114.180835,22.00987],[114.190074,21.986564]]],[[[114.153734,21.97491],[114.171596,22.000437],[114.124169,21.985455],[114.153734,21.97491]]],[[[116.769628,20.771721],[116.761005,20.750456],[116.87249,20.738143],[116.889736,20.683284],[116.849084,20.628405],[116.749302,20.600958],[116.796113,20.582471],[116.862635,20.588633],[116.905135,20.619443],[116.934084,20.676565],[116.925461,20.726949],[116.88604,20.775638],[116.820135,20.780674],[116.769628,20.771721]]],[[[113.025333,21.847762],[113.045659,21.882753],[113.007471,21.869424],[113.025333,21.847762]]],[[[110.405127,20.678245],[110.437772,20.677685],[110.414366,20.710157],[110.405127,20.678245]]],[[[110.644727,20.935584],[110.584365,20.948998],[110.548641,20.908752],[110.562807,20.861224],[110.611467,20.860106],[110.646575,20.917137],[110.644727,20.935584]]],[[[110.556648,20.32734],[110.593604,20.360447],[110.586213,20.381205],[110.556648,20.32734]]],[[[115.943037,21.097592],[115.953508,21.064088],[115.989233,21.035603],[116.040356,21.02052],[116.067457,21.04063],[116.044051,21.110434],[116.024341,21.12439],[115.965211,21.123832],[115.943037,21.097592]]],[[[115.926407,20.981411],[115.939342,20.945644],[115.970139,20.919373],[115.999088,20.922727],[116.000936,20.948439],[115.954124,20.99985],[115.926407,20.981411]]],[[[115.834632,22.722695],[115.834632,22.722143],[115.835248,22.722695],[115.834632,22.722695]]],[[[115.834632,22.723247],[115.834632,22.722695],[115.835248,22.722695],[115.834632,22.723247]]]]}},{"type":"Feature","properties":{"adcode":450000,"name":"广西壮族自治区","center":[108.320004,22.82402],"centroid":[108.7944,23.833381],"childrenNum":14,"level":"province","parent":{"adcode":100000},"subFeatureIndex":19,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[109.48245,26.029788],[109.473211,26.006663],[109.408537,25.967392],[109.435022,25.93349],[109.396834,25.900117],[109.359262,25.836036],[109.339552,25.83442],[109.327849,25.76168],[109.340168,25.731493],[109.296436,25.71424],[109.207125,25.740119],[109.206509,25.788087],[109.147995,25.741736],[109.13198,25.762758],[109.143683,25.795092],[109.095024,25.80533],[109.077778,25.776771],[109.048213,25.790781],[108.989698,25.778926],[108.999553,25.765453],[108.963829,25.732572],[108.940423,25.740119],[108.896076,25.71424],[108.900387,25.682423],[108.953974,25.686738],[108.953974,25.686738],[109.007561,25.734728],[109.043285,25.738502],[109.07901,25.72071],[109.075314,25.693749],[109.030966,25.629556],[109.051908,25.566949],[109.088249,25.550752],[109.024807,25.51241],[108.949046,25.557231],[108.8893,25.543193],[108.890532,25.556151],[108.826474,25.550212],[108.814772,25.526992],[108.781511,25.554531],[108.799989,25.576666],[108.783975,25.628477],[108.724844,25.634952],[108.68912,25.623081],[108.68604,25.587462],[108.660787,25.584763],[108.658323,25.550212],[108.68912,25.533473],[108.634917,25.520512],[108.6072,25.491885],[108.600425,25.432448],[108.62999,25.335666],[108.625062,25.308076],[108.589338,25.335125],[108.585642,25.365952],[108.471693,25.458928],[108.418723,25.443257],[108.400244,25.491344],[108.359592,25.513491],[108.348506,25.536173],[108.308469,25.525912],[108.280752,25.48],[108.241332,25.46217],[108.251803,25.430286],[108.192673,25.458928],[108.162492,25.444878],[108.193289,25.405421],[108.142782,25.390825],[108.152021,25.324306],[108.143398,25.269658],[108.115065,25.210112],[108.080572,25.193867],[108.001732,25.196574],[107.928435,25.155954],[107.872384,25.141327],[107.839124,25.115861],[107.762747,25.125073],[107.789233,25.15487],[107.760283,25.188451],[107.762131,25.229061],[107.741805,25.24043],[107.700537,25.194408],[107.696226,25.219858],[107.661733,25.258833],[107.659885,25.316192],[107.632168,25.310241],[107.599523,25.250714],[107.576734,25.256668],[107.512676,25.209029],[107.472024,25.213902],[107.489886,25.276693],[107.481263,25.299961],[107.432604,25.289139],[107.409198,25.347024],[107.420901,25.392987],[107.375937,25.411908],[107.358691,25.393528],[107.318039,25.401637],[107.308184,25.432988],[107.336517,25.461089],[107.263836,25.543193],[107.232423,25.556691],[107.228728,25.604733],[107.205322,25.607971],[107.185612,25.578825],[107.064272,25.559391],[107.066736,25.50917],[107.015613,25.495666],[106.996519,25.442716],[106.963874,25.437852],[106.987896,25.358922],[107.012533,25.352973],[107.013765,25.275611],[106.975577,25.232851],[106.933077,25.250714],[106.904128,25.231768],[106.888113,25.181953],[106.853005,25.186827],[106.787715,25.17112],[106.764926,25.183036],[106.732281,25.162454],[106.691013,25.179245],[106.644817,25.164621],[106.63989,25.132658],[106.590615,25.08768],[106.551195,25.082802],[106.519782,25.054072],[106.450181,25.033468],[106.442173,25.019369],[106.332536,24.988454],[106.304819,24.973807],[106.253696,24.971094],[106.215508,24.981944],[106.191486,24.95319],[106.145291,24.954275],[106.197645,24.885889],[106.206269,24.851139],[106.173008,24.760417],[106.150218,24.762591],[106.113878,24.714216],[106.047356,24.684312],[106.024566,24.633186],[105.961741,24.677786],[105.942031,24.725088],[105.863806,24.729437],[105.827466,24.702799],[105.767104,24.719109],[105.70551,24.768569],[105.617431,24.78161],[105.607576,24.803885],[105.573083,24.797366],[105.497322,24.809318],[105.493011,24.833217],[105.457286,24.87123],[105.428337,24.930941],[105.365511,24.943423],[105.334099,24.9266],[105.267577,24.929313],[105.251563,24.967296],[105.212758,24.995505],[105.178266,24.985199],[105.157324,24.958616],[105.131454,24.959701],[105.09573,24.92877],[105.096346,24.928228],[105.082179,24.915745],[105.077868,24.918459],[105.039064,24.872859],[105.026745,24.815836],[105.03352,24.787586],[104.899245,24.752809],[104.865985,24.730524],[104.841963,24.676155],[104.771746,24.659839],[104.729246,24.617953],[104.703377,24.645698],[104.628848,24.660927],[104.595587,24.709323],[104.529682,24.731611],[104.489646,24.653313],[104.520443,24.535228],[104.550008,24.518894],[104.575877,24.424661],[104.616529,24.421937],[104.63008,24.397958],[104.610986,24.377246],[104.641783,24.367979],[104.70892,24.321087],[104.721239,24.340173],[104.703377,24.419757],[104.715695,24.441552],[104.74834,24.435559],[104.765587,24.45953],[104.784681,24.443732],[104.83642,24.446456],[104.914028,24.426296],[104.930042,24.411038],[104.979933,24.412673],[105.042759,24.442097],[105.106817,24.414853],[105.111744,24.37234],[105.138846,24.376701],[105.188121,24.347261],[105.196744,24.326541],[105.164715,24.288362],[105.215222,24.214699],[105.24294,24.208695],[105.229389,24.165567],[105.182577,24.167205],[105.20044,24.105491],[105.260186,24.061236],[105.292831,24.074896],[105.273121,24.092927],[105.320548,24.116416],[105.334099,24.094566],[105.395692,24.065607],[105.406163,24.043748],[105.493011,24.016965],[105.533663,24.130071],[105.594641,24.137718],[105.628518,24.126794],[105.649459,24.032816],[105.704278,24.0667],[105.739387,24.059596],[105.765256,24.073804],[105.802212,24.051945],[105.796669,24.023524],[105.841633,24.03063],[105.859495,24.056864],[105.89214,24.040468],[105.908154,24.069432],[105.901995,24.099482],[105.919241,24.122425],[105.963589,24.110954],[105.998081,24.120786],[106.011632,24.099482],[106.04982,24.089649],[106.053516,24.051399],[106.096631,24.018058],[106.091088,23.998924],[106.128044,23.956819],[106.157609,23.891174],[106.192718,23.879135],[106.173008,23.861622],[106.192102,23.824947],[106.136667,23.795381],[106.157609,23.724175],[106.149602,23.665538],[106.120653,23.605229],[106.141595,23.569579],[106.08616,23.524043],[106.071994,23.495506],[106.039965,23.484529],[105.999929,23.447748],[105.986378,23.489469],[105.935871,23.508678],[105.913081,23.499348],[105.89214,23.52514],[105.852103,23.526786],[105.815763,23.507031],[105.805908,23.467512],[105.758481,23.459826],[105.699966,23.40162],[105.637757,23.404366],[105.694423,23.363168],[105.699966,23.327453],[105.649459,23.346136],[105.593409,23.312614],[105.560148,23.257093],[105.526272,23.234548],[105.542902,23.184495],[105.558916,23.177893],[105.574931,23.066165],[105.625438,23.064513],[105.648844,23.078828],[105.724604,23.06231],[105.74185,23.030921],[105.780039,23.022659],[105.805908,22.994565],[105.839169,22.987403],[105.879205,22.916865],[105.893987,22.936707],[105.959277,22.948832],[105.994385,22.93781],[106.019639,22.990709],[106.08616,22.996218],[106.106486,22.980792],[106.153914,22.988505],[106.206885,22.978588],[106.270326,22.907494],[106.258007,22.889852],[106.286957,22.867245],[106.366413,22.857871],[106.37134,22.878273],[106.41384,22.877171],[106.504383,22.91025],[106.525941,22.946628],[106.562282,22.923479],[106.606013,22.925684],[106.631267,22.88103],[106.657136,22.863385],[106.674998,22.891506],[106.716882,22.881582],[106.709491,22.866142],[106.774781,22.812643],[106.776012,22.813746],[106.778476,22.814298],[106.779092,22.813746],[106.779708,22.813195],[106.78094,22.813195],[106.784636,22.812643],[106.796338,22.812091],[106.801882,22.815401],[106.804346,22.816505],[106.808657,22.817608],[106.813585,22.817608],[106.838838,22.803265],[106.820976,22.768504],[106.768621,22.739254],[106.780324,22.708894],[106.756302,22.68957],[106.711955,22.575228],[106.650361,22.575228],[106.61402,22.602303],[106.585071,22.517192],[106.588151,22.472958],[106.560434,22.455813],[106.588767,22.374486],[106.562897,22.345706],[106.663296,22.33076],[106.670071,22.283144],[106.688549,22.260438],[106.7021,22.207257],[106.673151,22.182322],[106.706411,22.160707],[106.691629,22.13521],[106.71565,22.089745],[106.706411,22.021521],[106.683006,21.999882],[106.698404,21.959925],[106.73844,22.008205],[106.790179,22.004876],[106.802498,21.98157],[106.859164,21.986009],[106.926302,21.967695],[106.935541,21.933836],[106.974345,21.923288],[106.999598,21.947714],[107.05996,21.914959],[107.058729,21.887196],[107.018693,21.859427],[107.018077,21.81943],[107.093837,21.803317],[107.148656,21.758858],[107.194851,21.736624],[107.199163,21.718833],[107.242279,21.703265],[107.271844,21.727173],[107.310648,21.733844],[107.356843,21.667674],[107.363619,21.602031],[107.388256,21.594241],[107.431372,21.642088],[107.477567,21.659888],[107.500973,21.613715],[107.486806,21.59591],[107.547168,21.58645],[107.584741,21.614828],[107.603219,21.597579],[107.712856,21.616497],[107.807711,21.655438],[107.837892,21.640419],[107.863761,21.650988],[107.892095,21.622617],[107.893942,21.596466],[107.929051,21.585893],[107.958,21.534131],[108.034376,21.545821],[108.108289,21.508521],[108.193905,21.519656],[108.156332,21.55083],[108.205608,21.597579],[108.241332,21.599805],[108.249955,21.561406],[108.210535,21.505737],[108.230245,21.491259],[108.330027,21.540254],[108.397781,21.533017],[108.492635,21.554727],[108.591802,21.677129],[108.626294,21.67991],[108.658939,21.643757],[108.678033,21.659331],[108.735931,21.628181],[108.734084,21.626512],[108.745786,21.602587],[108.801837,21.626512],[108.83325,21.610933],[108.881293,21.627068],[108.937959,21.589789],[109.093792,21.579215],[109.09872,21.571424],[109.110422,21.568085],[109.138756,21.567528],[109.142451,21.511861],[109.074698,21.489589],[109.039589,21.457844],[109.046365,21.424421],[109.095024,21.419407],[109.138756,21.388762],[109.186183,21.390991],[109.245929,21.425536],[109.41716,21.438906],[109.484914,21.453388],[109.529877,21.437234],[109.540964,21.466199],[109.576689,21.493487],[109.604406,21.523553],[109.612413,21.556953],[109.654913,21.493487],[109.704188,21.462857],[109.785492,21.45673],[109.788572,21.490702],[109.754695,21.556396],[109.742992,21.616497],[109.778101,21.670455],[109.786108,21.637638],[109.839695,21.636525],[109.888354,21.652101],[109.888354,21.652101],[109.916071,21.668787],[109.940093,21.769419],[109.94502,21.84443],[109.999839,21.881643],[110.050962,21.857205],[110.101469,21.86998],[110.12857,21.902744],[110.196323,21.899968],[110.212338,21.886085],[110.212338,21.886085],[110.224041,21.882198],[110.224041,21.882198],[110.283787,21.892194],[110.290562,21.917736],[110.337374,21.887751],[110.391576,21.89386],[110.378642,21.939942],[110.378642,21.939942],[110.374946,21.967695],[110.374946,21.967695],[110.352772,21.97602],[110.359547,22.015973],[110.35154,22.097508],[110.364475,22.125785],[110.326287,22.152393],[110.34846,22.195621],[110.378026,22.164587],[110.414366,22.208365],[110.456866,22.189526],[110.505525,22.14297],[110.55788,22.196175],[110.602843,22.18343],[110.598532,22.162924],[110.629329,22.149068],[110.678604,22.172901],[110.646575,22.220554],[110.687843,22.249914],[110.725415,22.29588],[110.759292,22.274837],[110.787009,22.28259],[110.749437,22.329653],[110.74143,22.361757],[110.711249,22.369506],[110.712481,22.440879],[110.688459,22.477935],[110.74143,22.464109],[110.740198,22.498947],[110.762988,22.518298],[110.749437,22.556991],[110.778386,22.585174],[110.812263,22.576333],[110.897878,22.591805],[110.896031,22.613352],[110.950233,22.61059],[110.958856,22.636553],[110.997045,22.631582],[111.055559,22.648705],[111.089435,22.695643],[111.058023,22.729871],[111.118385,22.744773],[111.185522,22.735942],[111.218167,22.748085],[111.358601,22.889301],[111.374615,22.938361],[111.362913,22.967568],[111.403565,22.99126],[111.389398,23.005583],[111.433746,23.036428],[111.43313,23.073322],[111.402333,23.066165],[111.377695,23.082132],[111.365992,23.14488],[111.38447,23.16744],[111.388782,23.210349],[111.36476,23.240047],[111.353058,23.284582],[111.376463,23.30437],[111.363528,23.340641],[111.389398,23.375804],[111.383239,23.399423],[111.399869,23.469159],[111.428818,23.466414],[111.479941,23.532822],[111.487332,23.626615],[111.555702,23.64087],[111.615448,23.639225],[111.614832,23.65896],[111.666571,23.718696],[111.621607,23.725819],[111.627766,23.78881],[111.654868,23.833159],[111.683201,23.822758],[111.683201,23.822758],[111.722621,23.823305],[111.8107,23.80688],[111.824867,23.832612],[111.812548,23.887343],[111.845809,23.904305],[111.854432,23.947521],[111.911714,23.943693],[111.940664,23.987989],[111.92157,24.012045],[111.878454,24.109862],[111.886461,24.163929],[111.871062,24.176487],[111.877222,24.227252],[111.912946,24.221795],[111.958526,24.263813],[111.986243,24.25672],[111.990555,24.279634],[112.026279,24.294908],[112.05954,24.339628],[112.057692,24.387057],[112.025047,24.438828],[111.985011,24.467701],[112.009649,24.503103],[112.007185,24.534684],[111.972077,24.578775],[111.936968,24.595645],[111.927729,24.629378],[111.953598,24.64733],[111.939432,24.686487],[111.961606,24.721283],[112.024431,24.740308],[111.951135,24.769655],[111.929577,24.75607],[111.875374,24.756613],[111.868599,24.771829],[111.814396,24.770199],[111.783599,24.785957],[111.708455,24.788673],[111.666571,24.760961],[111.637621,24.715303],[111.641933,24.684856],[111.588962,24.690837],[111.570484,24.64461],[111.526752,24.637538],[111.499035,24.667997],[111.451608,24.665822],[111.431282,24.687574],[111.461463,24.728894],[111.479325,24.797366],[111.449144,24.857113],[111.447296,24.892947],[111.470086,24.92877],[111.434977,24.951562],[111.43313,24.979774],[111.460231,24.992793],[111.467622,25.02208],[111.416499,25.047566],[111.435593,25.093642],[111.375231,25.128324],[111.36784,25.108817],[111.321645,25.105023],[111.274833,25.151078],[111.221862,25.106649],[111.200921,25.074672],[111.139943,25.042144],[111.101754,25.035095],[111.100522,24.945593],[111.009363,24.921172],[110.968711,24.975434],[110.951465,25.04377],[110.98411,25.101772],[110.998892,25.161371],[111.112841,25.21715],[111.103602,25.285351],[111.138711,25.303748],[111.184906,25.367034],[111.210776,25.363248],[111.279145,25.42326],[111.32842,25.521592],[111.324724,25.564249],[111.343202,25.602574],[111.309942,25.645203],[111.30871,25.720171],[111.399869,25.744431],[111.442369,25.77192],[111.43313,25.84627],[111.4861,25.859196],[111.460231,25.885042],[111.383239,25.881812],[111.376463,25.906039],[111.346282,25.906577],[111.297007,25.874274],[111.29208,25.854349],[111.251428,25.864581],[111.230486,25.916267],[111.189834,25.953402],[111.235413,26.048071],[111.267442,26.058824],[111.244652,26.078177],[111.26621,26.095914],[111.258203,26.151796],[111.274833,26.183486],[111.271754,26.217316],[111.293311,26.222148],[111.277913,26.272066],[111.228022,26.261333],[111.204616,26.276359],[111.208928,26.30426],[111.090667,26.308016],[111.008132,26.336982],[111.008747,26.35897],[110.974255,26.385778],[110.94469,26.373447],[110.944074,26.326791],[110.926212,26.320354],[110.939762,26.286554],[110.836284,26.255966],[110.759292,26.248451],[110.73527,26.270993],[110.742046,26.313917],[110.721104,26.294066],[110.673676,26.317135],[110.643495,26.308552],[110.612083,26.333764],[110.584365,26.296749],[110.552952,26.283335],[110.546793,26.233421],[110.495054,26.166299],[110.477808,26.179727],[110.437772,26.153945],[110.373098,26.088927],[110.325671,25.975462],[110.257301,25.961473],[110.24991,26.010965],[110.181541,26.060437],[110.168606,26.028713],[110.100853,26.020108],[110.065128,26.050221],[110.100853,26.132455],[110.099005,26.168985],[110.03002,26.166299],[109.970274,26.195301],[109.904368,26.135679],[109.898825,26.095377],[109.864332,26.027637],[109.814441,26.041081],[109.782412,25.996981],[109.806434,25.973848],[109.826144,25.911422],[109.811361,25.877504],[109.779333,25.866196],[109.768246,25.890427],[109.685094,25.880197],[109.67955,25.921649],[109.693717,25.959321],[109.710963,25.954478],[109.730057,25.989988],[109.649369,26.016882],[109.635203,26.047533],[109.588391,26.019571],[109.560058,26.021184],[109.513247,25.998056],[109.48245,26.029788]]],[[[105.096346,24.928228],[105.09573,24.92877],[105.077868,24.918459],[105.082179,24.915745],[105.096346,24.928228]]],[[[109.088249,21.014934],[109.11227,21.02499],[109.117814,21.017727],[109.144299,21.041189],[109.138756,21.067439],[109.09256,21.057386],[109.088865,21.031134],[109.088249,21.014934]]]]}},{"type":"Feature","properties":{"adcode":460000,"name":"海南省","center":[110.33119,20.031971],"centroid":[109.754859,19.189767],"childrenNum":19,"level":"province","parent":{"adcode":100000},"subFeatureIndex":20,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[110.106396,20.026812],[110.042339,19.991384],[109.997375,19.980136],[109.965346,19.993634],[109.898825,19.994196],[109.855093,19.984073],[109.814441,19.993072],[109.76147,19.981261],[109.712195,20.017253],[109.657993,20.01163],[109.585312,19.98801],[109.526797,19.943573],[109.498464,19.873236],[109.411001,19.895184],[109.349407,19.898561],[109.300748,19.917693],[109.25948,19.898561],[109.255784,19.867045],[109.231147,19.863105],[109.159082,19.79048],[109.169553,19.736411],[109.147379,19.704863],[109.093792,19.68965],[109.048829,19.619764],[108.993394,19.587065],[108.92872,19.524468],[108.855424,19.469182],[108.806148,19.450561],[108.765496,19.400894],[108.694047,19.387346],[108.644772,19.349518],[108.609048,19.276661],[108.591186,19.141592],[108.598577,19.055633],[108.630606,19.003017],[108.637997,18.924346],[108.595497,18.872256],[108.593033,18.809386],[108.65278,18.740258],[108.663866,18.67337],[108.641077,18.565614],[108.644772,18.486738],[108.68912,18.447571],[108.776583,18.441894],[108.881293,18.416344],[108.905315,18.389087],[108.944735,18.314107],[109.006329,18.323198],[109.108575,18.323766],[109.138756,18.268081],[109.17448,18.260125],[109.287813,18.264671],[109.355566,18.215221],[109.441182,18.199303],[109.467051,18.173718],[109.527413,18.169169],[109.584696,18.143579],[109.661688,18.175424],[109.726362,18.177698],[109.749767,18.193618],[109.785492,18.339672],[109.919767,18.375457],[110.022629,18.360121],[110.070672,18.376025],[110.090382,18.399309],[110.116867,18.506602],[110.214186,18.578662],[110.246215,18.609859],[110.329366,18.642185],[110.367555,18.631977],[110.499366,18.651824],[110.499366,18.751592],[110.578206,18.784458],[110.590525,18.838841],[110.585597,18.88075],[110.619474,19.152334],[110.676756,19.286264],[110.706321,19.320153],[110.729727,19.378878],[110.787009,19.399765],[110.844292,19.449996],[110.888023,19.518827],[110.920668,19.552668],[111.008747,19.60398],[111.061718,19.612436],[111.071573,19.628784],[111.043856,19.763448],[111.013675,19.850159],[110.966248,20.018377],[110.940994,20.028499],[110.871393,20.01163],[110.808567,20.035808],[110.778386,20.068415],[110.744509,20.074036],[110.717408,20.148778],[110.687843,20.163947],[110.655814,20.134169],[110.562191,20.110006],[110.526467,20.07516],[110.495054,20.077408],[110.387265,20.113378],[110.318279,20.108882],[110.28933,20.056047],[110.243135,20.077408],[110.144585,20.074598],[110.106396,20.026812]]],[[[112.208597,3.876129],[112.241858,3.845677],[112.280046,3.86777],[112.260336,3.917925],[112.219068,3.908969],[112.208597,3.876129]]],[[[113.266165,8.125929],[113.311129,8.177469],[113.343157,8.193463],[113.288955,8.119412],[113.349933,8.172137],[113.386273,8.238479],[113.386273,8.289412],[113.354244,8.304217],[113.353628,8.237887],[113.293882,8.176284],[113.266165,8.125929]]],[[[111.99733,3.848065],[112.015192,3.823583],[112.064467,3.830152],[112.073707,3.865979],[112.03367,3.892251],[111.99733,3.848065]]],[[[111.463311,17.077491],[111.536607,17.104949],[111.4861,17.058039],[111.559397,17.087788],[111.542151,17.11982],[111.452224,17.092936],[111.463311,17.077491]]],[[[117.708319,15.182712],[117.712631,15.118592],[117.726798,15.105303],[117.827812,15.111659],[117.72495,15.131302],[117.720638,15.195418],[117.74466,15.217941],[117.784696,15.16885],[117.838899,15.15903],[117.782848,15.187333],[117.748355,15.230068],[117.715095,15.222561],[117.708319,15.182712]]],[[[112.241858,3.942404],[112.292365,3.946583],[112.288053,3.97345],[112.254177,3.97942],[112.241858,3.942404]]],[[[111.734324,16.19732],[111.779903,16.19732],[111.81686,16.224329],[111.813164,16.261676],[111.782367,16.273741],[111.716462,16.249036],[111.789758,16.250186],[111.790374,16.220307],[111.734324,16.19732]]],[[[111.649324,16.255931],[111.577875,16.208239],[111.56802,16.162834],[111.611136,16.156511],[111.690592,16.211112],[111.606825,16.177779],[111.598817,16.198469],[111.681353,16.262251],[111.649324,16.255931]]],[[[113.896887,7.607204],[113.919677,7.566865],[113.98743,7.536014],[114.058879,7.537794],[114.157429,7.561525],[114.289856,7.617288],[114.368696,7.638642],[114.407501,7.683126],[114.419819,7.765557],[114.464167,7.814771],[114.540543,7.862201],[114.555326,7.891249],[114.540543,7.945783],[114.511594,7.966527],[114.47279,7.968898],[114.414892,7.952895],[114.268298,7.870501],[114.211632,7.786904],[114.095219,7.721082],[114.029314,7.670078],[113.921524,7.639235],[113.896887,7.607204]]],[[[113.976959,8.872888],[114.013299,8.836817],[114.035473,8.783591],[114.060111,8.816119],[114.041017,8.843913],[113.989894,8.878801],[113.976959,8.872888]]],[[[113.956017,8.840365],[113.975111,8.793054],[114.012068,8.798376],[113.977575,8.841548],[113.956017,8.840365]]],[[[111.97454,16.323715],[112.002258,16.306484],[112.07617,16.323715],[112.074938,16.349558],[112.047221,16.360469],[112.002874,16.350707],[111.97454,16.323715]]],[[[111.739251,16.452898],[111.766969,16.470116],[111.786679,16.520039],[111.759577,16.545857],[111.765737,16.495366],[111.739251,16.452898]]],[[[112.216604,8.866383],[112.206133,8.88767],[112.180264,8.862244],[112.216604,8.866383]]],[[[113.792177,7.373422],[113.828518,7.362145],[113.829134,7.383511],[113.792177,7.373422]]],[[[114.194386,8.764664],[114.201161,8.727991],[114.248588,8.724442],[114.222103,8.784773],[114.194386,8.764664]]],[[[112.232619,16.996239],[112.207981,16.987081],[112.222764,16.960751],[112.292981,16.96762],[112.266496,16.993949],[112.232619,16.996239]]],[[[114.689601,10.345648],[114.702536,10.312677],[114.725941,10.319154],[114.747499,10.37214],[114.717318,10.380381],[114.689601,10.345648]]],[[[115.837712,9.709775],[115.861117,9.694438],[115.867277,9.650191],[115.901153,9.67084],[115.925791,9.781734],[115.901153,9.795888],[115.870972,9.778785],[115.837712,9.709775]]],[[[114.617536,9.965688],[114.642173,9.917351],[114.672355,9.927963],[114.685905,9.979245],[114.617536,9.965688]]],[[[113.769387,7.636862],[113.773699,7.601865],[113.814967,7.603051],[113.831597,7.644573],[113.769387,7.636862]]],[[[109.463972,7.344339],[109.463972,7.315254],[109.513247,7.320002],[109.571761,7.373422],[109.654297,7.479648],[109.709115,7.511095],[109.791651,7.524742],[109.938861,7.504569],[109.948716,7.522962],[109.904984,7.55144],[109.816289,7.572797],[109.72205,7.575763],[109.653065,7.559745],[109.536037,7.448792],[109.463972,7.344339]]],[[[116.273181,8.879392],[116.294123,8.858105],[116.332311,8.901269],[116.305826,8.917233],[116.273181,8.879392]]],[[[112.476531,16.001247],[112.570154,16.011027],[112.612037,16.039212],[112.588016,16.070844],[112.462364,16.043813],[112.448814,16.005274],[112.476531,16.001247]]],[[[112.537509,8.846278],[112.57077,8.815527],[112.639755,8.818484],[112.598487,8.859288],[112.537509,8.846278]]],[[[114.469095,10.836261],[114.475254,10.814512],[114.513442,10.848605],[114.565181,10.836261],[114.593514,10.856245],[114.587355,10.909138],[114.55471,10.900911],[114.469095,10.836261]]],[[[112.409393,16.294996],[112.383524,16.265698],[112.411241,16.2634],[112.475915,16.288677],[112.531349,16.285805],[112.536893,16.312228],[112.509176,16.317397],[112.409393,16.294996]]],[[[116.48876,10.395686],[116.461658,10.34918],[116.467202,10.309144],[116.511549,10.297957],[116.566368,10.304434],[116.644592,10.335051],[116.637817,10.365076],[116.514629,10.34918],[116.542346,10.41982],[116.526332,10.426883],[116.48876,10.395686]]],[[[112.349031,16.912088],[112.360734,16.925257],[112.334249,16.962469],[112.30222,16.963041],[112.349031,16.912088]]],[[[111.500267,16.45175],[111.49534,16.4374],[111.545847,16.43453],[111.538455,16.461507],[111.500267,16.45175]]],[[[115.500177,9.897897],[115.54822,9.869007],[115.585177,9.896128],[115.581481,9.917351],[115.518039,9.933857],[115.500177,9.897897]]],[[[114.669891,8.210048],[114.691449,8.18517],[114.74134,8.189316],[114.726557,8.21064],[114.669891,8.210048]]],[[[114.507899,8.120004],[114.530073,8.103415],[114.595978,8.120596],[114.624311,8.149626],[114.595978,8.15792],[114.507899,8.120004]]],[[[115.16757,8.386523],[115.18112,8.345668],[115.235939,8.321982],[115.285214,8.314876],[115.315395,8.356326],[115.299381,8.370537],[115.202678,8.395403],[115.16757,8.386523]]],[[[113.895039,8.00505],[113.904894,7.963564],[113.9708,7.944597],[113.969568,7.974825],[113.940003,8.018088],[113.895039,8.00505]]],[[[115.436119,9.393447],[115.450286,9.345028],[115.469996,9.3592],[115.456445,9.417064],[115.436119,9.393447]]],[[[116.457347,9.174326],[116.477057,9.137103],[116.500462,9.164282],[116.457347,9.174326]]],[[[113.638192,8.976942],[113.654823,8.962163],[113.730583,9.004133],[113.719496,9.020092],[113.644968,8.989355],[113.638192,8.976942]]],[[[114.696992,11.004322],[114.710543,11.001972],[114.793079,11.07657],[114.799854,11.10476],[114.766593,11.110045],[114.710543,11.039567],[114.696992,11.004322]]],[[[114.62,11.432264],[114.652644,11.436957],[114.661884,11.522584],[114.621232,11.518479],[114.62,11.432264]]],[[[114.910723,10.863298],[114.931049,10.841551],[114.959998,10.902087],[114.934129,10.902674],[114.910723,10.863298]]],[[[111.572948,16.470116],[111.578491,16.447158],[111.614216,16.44027],[111.592658,16.490775],[111.572948,16.470116]]],[[[113.939387,8.875253],[113.912285,8.888853],[113.893807,8.862836],[113.916597,8.837999],[113.939387,8.875253]]],[[[109.936397,7.848566],[109.936397,7.823665],[109.988136,7.8124],[110.050346,7.846194],[110.082991,7.896584],[110.078063,7.949339],[110.0331,7.944597],[109.953027,7.888878],[109.936397,7.848566]]],[[[116.727128,11.501473],[116.765316,11.430504],[116.772092,11.445755],[116.738215,11.514961],[116.727128,11.501473]]],[[[111.690592,16.587731],[111.724469,16.560198],[111.717078,16.59404],[111.690592,16.587731]]],[[[112.507328,16.466098],[112.586784,16.525777],[112.575081,16.537251],[112.499321,16.493645],[112.507328,16.466098]]],[[[111.761425,16.061642],[111.791606,16.028859],[111.828563,16.049565],[111.829795,16.070844],[111.761425,16.061642]]],[[[113.845764,10.018733],[113.865474,10.00341],[113.872249,10.123029],[113.856851,10.12185],[113.845764,10.018733]]],[[[114.791847,8.160882],[114.777064,8.114079],[114.812173,8.110524],[114.818332,8.141332],[114.791847,8.160882]]],[[[116.557129,9.745167],[116.566368,9.718623],[116.593469,9.723932],[116.557129,9.745167]]],[[[115.28275,10.191951],[115.288294,10.172513],[115.333257,10.200198],[115.28891,10.211388],[115.28275,10.191951]]],[[[116.832454,10.476908],[116.855243,10.468669],[116.868794,10.495739],[116.832454,10.476908]]],[[[114.703151,16.170307],[114.816484,16.198469],[114.802934,16.215135],[114.704383,16.199044],[114.703151,16.170307]]],[[[115.97753,9.321997],[115.926407,9.311366],[115.943037,9.269433],[115.976298,9.268252],[115.999088,9.293649],[115.97753,9.321997]]],[[[113.660366,9.231039],[113.676997,9.202683],[113.697323,9.225722],[113.660366,9.231039]]],[[[114.665579,7.590001],[114.671739,7.563898],[114.72163,7.59178],[114.703767,7.614915],[114.665579,7.590001]]],[[[114.493116,10.717504],[114.513442,10.722208],[114.562717,10.778064],[114.539312,10.793349],[114.493116,10.717504]]],[[[117.770529,10.773361],[117.798862,10.753371],[117.835819,10.803931],[117.831507,10.838612],[117.801942,10.839788],[117.775457,10.809222],[117.770529,10.773361]]],[[[114.242429,10.242014],[114.263371,10.239658],[114.326197,10.284414],[114.312646,10.300901],[114.265219,10.275581],[114.242429,10.242014]]],[[[114.688985,11.469217],[114.722246,11.429331],[114.737644,11.463938],[114.720398,11.49209],[114.688985,11.469217]]],[[[116.638433,10.503977],[116.653215,10.491031],[116.70865,10.492797],[116.699411,10.517511],[116.638433,10.503977]]],[[[110.459946,8.116449],[110.471032,8.072012],[110.554184,8.093935],[110.599764,8.156735],[110.568351,8.17273],[110.461793,8.128298],[110.459946,8.116449]]],[[[111.463311,8.52504],[111.497187,8.523857],[111.509506,8.550489],[111.463311,8.52504]]],[[[115.258113,8.509652],[115.271048,8.477098],[115.296301,8.510836],[115.258113,8.509652]]],[[[113.221817,8.073789],[113.235984,8.068456],[113.283411,8.111117],[113.269861,8.120004],[113.221817,8.073789]]],[[[114.074893,10.929118],[114.064422,10.904437],[114.110002,10.918541],[114.096451,10.947921],[114.074893,10.929118]]],[[[117.258068,10.320331],[117.299336,10.313855],[117.299952,10.343293],[117.274698,10.358011],[117.258068,10.320331]]],[[[114.212864,16.040937],[114.31203,16.034611],[114.306487,16.057616],[114.268914,16.059342],[114.212864,16.040937]]],[[[110.609003,8.010976],[110.642879,7.989049],[110.641648,8.031125],[110.622553,8.041199],[110.609003,8.010976]]],[[[115.509416,8.490712],[115.521735,8.460523],[115.55438,8.461115],[115.569162,8.49012],[115.558691,8.523265],[115.514344,8.519122],[115.509416,8.490712]]],[[[111.539071,7.54432],[111.542767,7.524742],[111.583419,7.543134],[111.612368,7.592374],[111.566788,7.606017],[111.539071,7.54432]]],[[[111.657947,8.672974],[111.665955,8.622683],[111.717694,8.6499],[111.697368,8.67889],[111.657947,8.672974]]],[[[110.460561,7.799948],[110.487663,7.783346],[110.511684,7.805878],[110.485199,7.827815],[110.460561,7.799948]]],[[[112.345952,8.926101],[112.392763,8.919598],[112.384756,8.946793],[112.345952,8.926101]]],[[[116.469665,9.810041],[116.47952,9.785272],[116.50847,9.79117],[116.490607,9.821246],[116.469665,9.810041]]],[[[111.925265,8.070827],[111.949287,8.05068],[111.994866,8.047125],[112.018888,8.065494],[112.013344,8.093342],[111.95483,8.106377],[111.925265,8.070827]]],[[[114.457392,15.599305],[114.466631,15.576823],[114.491884,15.59354],[114.457392,15.599305]]],[[[114.985252,11.078332],[115.013585,11.063062],[115.021592,11.085967],[114.985252,11.078332]]],[[[114.10569,16.004124],[114.110618,15.978235],[114.132176,16.007575],[114.10569,16.004124]]],[[[116.045283,10.095338],[116.067457,10.065876],[116.09579,10.09357],[116.070537,10.12892],[116.045283,10.095338]]],[[[117.266691,10.69163],[117.348611,10.672811],[117.404661,10.671047],[117.418212,10.702803],[117.369553,10.7422],[117.293176,10.735144],[117.266691,10.69163]]],[[[114.854057,7.244611],[114.819564,7.192957],[114.869455,7.198895],[114.854057,7.244611]]],[[[112.823305,8.910729],[112.859645,8.889444],[112.873196,8.908364],[112.823305,8.910729]]],[[[111.670266,7.651098],[111.707223,7.648725],[111.749722,7.703884],[111.726317,7.729977],[111.691208,7.711593],[111.670266,7.651098]]],[[[112.207981,8.835634],[112.235699,8.827355],[112.241242,8.852783],[112.207981,8.835634]]],[[[112.527654,5.79444],[112.531965,5.766455],[112.562762,5.75931],[112.562146,5.820637],[112.527654,5.79444]]],[[[114.599058,8.846278],[114.645869,8.844504],[114.68221,8.881166],[114.665579,8.900087],[114.61692,8.881166],[114.599058,8.846278]]],[[[114.868223,7.983715],[114.907643,7.951117],[114.914419,8.00742],[114.883006,8.011569],[114.868223,7.983715]]],[[[112.945261,8.410204],[112.985297,8.429149],[112.949572,8.432701],[112.945261,8.410204]]],[[[113.600004,6.961929],[113.580294,6.920344],[113.62341,6.942325],[113.600004,6.961929]]],[[[116.695099,16.345538],[116.708034,16.299591],[116.738831,16.303612],[116.747454,16.360469],[116.717889,16.373676],[116.695099,16.345538]]],[[[117.347995,10.090624],[117.354154,10.06293],[117.385567,10.063519],[117.373864,10.106532],[117.347995,10.090624]]],[[[112.993304,19.472003],[113.038883,19.480466],[113.048123,19.506417],[113.029028,19.52898],[112.993304,19.52616],[112.980369,19.496263],[112.993304,19.472003]]],[[[114.448153,16.034035],[114.485109,16.034611],[114.521449,16.056466],[114.465399,16.067393],[114.448153,16.034035]]],[[[113.832213,19.158552],[113.874097,19.151203],[113.914749,19.172119],[113.920293,19.223551],[113.875945,19.237113],[113.80696,19.222986],[113.799568,19.19925],[113.832213,19.158552]]],[[[112.650842,5.106941],[112.655769,5.055676],[112.682871,5.048522],[112.719211,5.075944],[112.678559,5.121247],[112.650842,5.106941]]],[[[111.638853,7.907254],[111.665339,7.887099],[111.712766,7.887099],[111.713382,7.927408],[111.651788,7.932743],[111.638853,7.907254]]],[[[112.244322,8.874662],[112.281278,8.855148],[112.288669,8.885896],[112.244322,8.874662]]],[[[112.89229,7.844416],[112.929862,7.827815],[112.93171,7.867537],[112.89229,7.844416]]],[[[112.583088,5.56159],[112.606494,5.51751],[112.614501,5.465683],[112.642834,5.489512],[112.616349,5.568737],[112.583088,5.56159]]],[[[112.523342,5.656289],[112.5449,5.616386],[112.565842,5.63068],[112.56153,5.677133],[112.528886,5.687257],[112.523342,5.656289]]],[[[115.361591,13.948985],[115.397315,13.92517],[115.438583,13.943757],[115.423185,13.977443],[115.377605,13.968732],[115.361591,13.948985]]],[[[113.596924,10.240836],[113.617866,10.22199],[113.638192,10.243192],[113.596924,10.240836]]],[[[113.860546,15.477068],[113.893807,15.463802],[113.890112,15.490909],[113.860546,15.477068]]],[[[112.907072,4.993079],[112.943413,4.991887],[112.952652,5.047926],[112.910768,5.038388],[112.907072,4.993079]]],[[[112.557219,5.109326],[112.568922,5.071771],[112.610806,5.091443],[112.601567,5.120055],[112.557219,5.109326]]],[[[112.350263,5.621747],[112.385988,5.615791],[112.385372,5.643187],[112.350263,5.621747]]],[[[112.226459,16.759147],[112.254177,16.751698],[112.262184,16.778057],[112.211061,16.795819],[112.226459,16.759147]]],[[[112.233851,15.69612],[112.25972,15.734718],[112.240626,15.741055],[112.20367,15.71398],[112.233851,15.69612]]],[[[112.612037,5.367973],[112.640371,5.347715],[112.685334,5.371548],[112.690878,5.406702],[112.62374,5.401935],[112.612037,5.367973]]],[[[112.472219,5.73966],[112.496857,5.736683],[112.498089,5.775387],[112.472219,5.73966]]],[[[113.217506,6.306249],[113.230441,6.285429],[113.243991,6.325878],[113.217506,6.306249]]],[[[116.152457,9.579384],[116.189413,9.565221],[116.187565,9.595317],[116.152457,9.579384]]],[[[114.948911,7.508722],[114.960614,7.484988],[115.012353,7.484988],[115.013585,7.525928],[114.948911,7.508722]]],[[[111.553854,7.807656],[111.585267,7.771487],[111.619759,7.840265],[111.603745,7.861608],[111.553854,7.807656]]],[[[113.938771,15.8355],[113.973263,15.805558],[113.9708,15.83953],[113.938771,15.8355]]],[[[114.926122,16.036911],[114.895325,16.036336],[114.910723,16.001823],[114.926122,16.036911]]],[[[116.749302,9.056736],[116.699411,9.049053],[116.70865,9.024229],[116.740679,9.028367],[116.749302,9.056736]]],[[[112.64653,16.385733],[112.681639,16.400661],[112.660081,16.426494],[112.64653,16.385733]]],[[[111.203384,19.92557],[111.203384,19.925007],[111.204,19.92557],[111.204,19.926132],[111.203384,19.92557]]],[[[115.758256,10.461018],[115.776118,10.434534],[115.801987,10.463372],[115.758256,10.461018]]],[[[117.21372,10.735144],[117.187235,10.741612],[117.206945,10.707507],[117.21372,10.735144]]],[[[112.671784,16.331755],[112.701349,16.331755],[112.677943,16.35932],[112.671784,16.331755]]],[[[115.782277,10.541046],[115.795212,10.499858],[115.805067,10.524571],[115.782277,10.541046]]],[[[112.512255,9.544566],[112.50856,9.525679],[112.568922,9.516826],[112.567074,9.554008],[112.512255,9.544566]]],[[[114.610145,15.649447],[114.581195,15.625242],[114.610761,15.615444],[114.610145,15.649447]]],[[[117.299336,11.077745],[117.264227,11.063062],[117.284553,11.02547],[117.304263,11.027232],[117.299336,11.077745]]],[[[117.691073,11.048965],[117.653501,11.046029],[117.655965,11.024882],[117.690457,11.016658],[117.691073,11.048965]]],[[[114.166668,9.38459],[114.175291,9.342075],[114.195617,9.350933],[114.194386,9.391676],[114.166668,9.38459]]],[[[114.714854,9.736909],[114.693296,9.741038],[114.680978,9.707416],[114.704999,9.700337],[114.714854,9.736909]]],[[[112.554139,5.97839],[112.553523,5.942676],[112.575697,5.971247],[112.554139,5.97839]]]]}},{"type":"Feature","properties":{"adcode":500000,"name":"重庆市","center":[106.504962,29.533155],"centroid":[107.8839,30.067297],"childrenNum":38,"level":"province","parent":{"adcode":100000},"subFeatureIndex":21,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.37442,28.525742],[106.403369,28.569901],[106.477282,28.530474],[106.504999,28.544669],[106.466811,28.586193],[106.49268,28.591448],[106.502535,28.661313],[106.528405,28.677591],[106.492064,28.742153],[106.461883,28.761041],[106.45326,28.817162],[106.474202,28.832891],[106.561666,28.756319],[106.56105,28.719062],[106.587535,28.691767],[106.6171,28.691242],[106.617716,28.66709],[106.651593,28.649235],[106.618332,28.645033],[106.63681,28.622972],[106.606629,28.593024],[106.615252,28.549401],[106.567825,28.523638],[106.564745,28.485247],[106.632499,28.503655],[106.697788,28.47683],[106.708259,28.450524],[106.747063,28.467361],[106.726121,28.51838],[106.73844,28.554657],[106.77786,28.563068],[106.756918,28.607211],[106.784636,28.626649],[106.807425,28.589346],[106.830831,28.623497],[106.866556,28.624548],[106.889345,28.695966],[106.86594,28.690192],[106.824056,28.756319],[106.845614,28.780975],[106.872099,28.777304],[106.923222,28.809821],[106.951555,28.766812],[106.988512,28.776254],[106.983584,28.851239],[107.019308,28.861722],[107.016229,28.882685],[107.14188,28.887925],[107.206554,28.868535],[107.194851,28.838134],[107.227496,28.836037],[107.210866,28.817686],[107.219489,28.772582],[107.24659,28.76209],[107.261373,28.792514],[107.327894,28.810869],[107.339597,28.845997],[107.383945,28.848618],[107.41351,28.911502],[107.441227,28.943977],[107.412894,28.960211],[107.396879,28.993718],[107.364235,29.00942],[107.395647,29.041341],[107.369778,29.091558],[107.412278,29.094696],[107.427676,29.128682],[107.408582,29.138091],[107.401807,29.184603],[107.441227,29.203934],[107.486806,29.174153],[107.570574,29.218037],[107.589052,29.150113],[107.605683,29.164747],[107.659885,29.162656],[107.700537,29.141228],[107.749197,29.199754],[107.810791,29.139137],[107.784921,29.048143],[107.823725,29.034016],[107.810175,28.984295],[107.867457,28.960211],[107.882855,29.00628],[107.908725,29.007327],[107.925971,29.032446],[108.026369,29.039772],[108.070717,29.086328],[108.150173,29.053375],[108.193289,29.072207],[108.256115,29.040295],[108.277673,29.091558],[108.306622,29.079006],[108.297999,29.045527],[108.319556,28.961258],[108.345426,28.943453],[108.357745,28.893165],[108.346658,28.859625],[108.352817,28.815589],[108.386078,28.803003],[108.385462,28.772058],[108.347274,28.736381],[108.332491,28.679166],[108.439049,28.634003],[108.501258,28.626649],[108.50249,28.63768],[108.575787,28.659738],[108.636149,28.621396],[108.604736,28.590922],[108.610896,28.539412],[108.573939,28.531],[108.586874,28.463678],[108.609664,28.43579],[108.609048,28.407368],[108.576403,28.38631],[108.580099,28.343128],[108.611512,28.324691],[108.667562,28.334173],[108.656475,28.359981],[108.697127,28.401051],[108.688504,28.422106],[108.640461,28.456838],[108.657091,28.47683],[108.700207,28.48209],[108.709446,28.501026],[108.746402,28.45105],[108.780279,28.42579],[108.759953,28.389995],[108.783359,28.380518],[108.761801,28.304143],[108.726692,28.282011],[108.738395,28.228241],[108.772888,28.212949],[108.821547,28.245113],[108.855424,28.199764],[108.89546,28.219804],[108.923793,28.217167],[108.929952,28.19027],[109.005713,28.162837],[109.026655,28.220331],[109.086401,28.184467],[109.101799,28.202401],[109.081473,28.247749],[109.117198,28.277795],[109.152306,28.349975],[109.153538,28.417369],[109.191726,28.471043],[109.23361,28.474726],[109.274262,28.494714],[109.273646,28.53836],[109.319842,28.579886],[109.306907,28.62087],[109.252089,28.606685],[109.235458,28.61982],[109.201581,28.597753],[109.192958,28.636104],[109.271183,28.671816],[109.252704,28.691767],[109.294588,28.722211],[109.2989,28.7474],[109.241002,28.776779],[109.246545,28.80143],[109.235458,28.882161],[109.261328,28.952356],[109.292741,28.987436],[109.294588,29.015177],[109.319842,29.042388],[109.312451,29.066453],[109.240386,29.086328],[109.232378,29.119271],[109.215748,29.145409],[109.162777,29.180946],[109.139372,29.168927],[109.110422,29.21647],[109.141835,29.270256],[109.106727,29.288526],[109.11227,29.361053],[109.060531,29.403292],[109.034662,29.360531],[108.999553,29.36366],[108.983539,29.332883],[108.919481,29.3261],[108.934264,29.399643],[108.927488,29.435612],[108.884373,29.440824],[108.866511,29.470527],[108.888684,29.502305],[108.878213,29.539279],[108.913322,29.574679],[108.901003,29.604863],[108.870206,29.596537],[108.888068,29.628795],[108.844337,29.658443],[108.781511,29.635558],[108.797525,29.660003],[108.786438,29.691721],[108.752562,29.649082],[108.690968,29.689642],[108.676801,29.749412],[108.680497,29.800319],[108.658939,29.854833],[108.601041,29.863656],[108.556077,29.818493],[108.52528,29.770713],[108.548686,29.749412],[108.504954,29.728626],[108.504338,29.707836],[108.460606,29.741098],[108.437201,29.741098],[108.442744,29.778505],[108.422418,29.772791],[108.424266,29.815897],[108.371295,29.841337],[108.433505,29.880262],[108.467998,29.864175],[108.516041,29.885451],[108.517889,29.9394],[108.536367,29.983472],[108.532055,30.051873],[108.513577,30.057571],[108.546222,30.104178],[108.56778,30.157491],[108.551766,30.1637],[108.581947,30.255759],[108.54499,30.269716],[108.524048,30.309506],[108.501258,30.314673],[108.460606,30.35961],[108.431041,30.354446],[108.402092,30.376649],[108.430425,30.416397],[108.411331,30.438586],[108.42673,30.492233],[108.472925,30.487076],[108.512961,30.501515],[108.556077,30.487592],[108.56778,30.468508],[108.6497,30.53915],[108.642925,30.578831],[108.688504,30.58759],[108.698975,30.54482],[108.743939,30.494812],[108.789518,30.513374],[108.808612,30.491202],[108.838793,30.503062],[108.893612,30.565434],[108.971836,30.627766],[109.006329,30.626736],[109.042669,30.655571],[109.071002,30.640125],[109.111654,30.646303],[109.106111,30.61077],[109.105495,30.585529],[109.102415,30.580377],[109.101183,30.579346],[109.106111,30.570587],[109.103647,30.565949],[109.143683,30.521108],[109.191726,30.545851],[109.191726,30.545851],[109.245313,30.580892],[109.299516,30.630341],[109.314298,30.599953],[109.36111,30.551004],[109.337088,30.521623],[109.35495,30.487076],[109.418392,30.559766],[109.435638,30.595832],[109.535421,30.664837],[109.543428,30.63961],[109.574225,30.646818],[109.590855,30.69366],[109.625348,30.702923],[109.661072,30.738936],[109.656761,30.760538],[109.701724,30.783677],[109.780564,30.848437],[109.828608,30.864364],[109.894513,30.899803],[109.943788,30.878746],[110.008462,30.883369],[110.019549,30.829425],[110.048498,30.800642],[110.082375,30.799614],[110.151976,30.911613],[110.153824,30.953708],[110.172918,30.978853],[110.140889,30.987062],[110.140273,31.030661],[110.120563,31.0322],[110.119947,31.088592],[110.147048,31.116776],[110.180309,31.121899],[110.200019,31.158779],[110.180309,31.179774],[110.155671,31.279564],[110.161831,31.314338],[110.118715,31.409899],[110.054042,31.410921],[110.036795,31.436966],[109.98752,31.474744],[109.94502,31.47066],[109.969658,31.508935],[109.894513,31.519139],[109.837847,31.555354],[109.727594,31.548214],[109.745456,31.598182],[109.76455,31.602769],[109.737449,31.628761],[109.731289,31.700582],[109.683246,31.719929],[109.622268,31.711783],[109.585928,31.726546],[109.549587,31.73011],[109.502776,31.716365],[109.446109,31.722983],[109.381436,31.705165],[109.281654,31.716874],[109.282885,31.743343],[109.253936,31.759628],[109.279806,31.776418],[109.27611,31.79931],[109.195422,31.817618],[109.191111,31.85575],[109.123357,31.892851],[109.085785,31.929428],[108.986619,31.980205],[108.902235,31.984774],[108.837561,32.039072],[108.78767,32.04871],[108.75133,32.076098],[108.734084,32.106519],[108.676801,32.10297],[108.585026,32.17189],[108.543758,32.177969],[108.509882,32.201266],[108.480317,32.182527],[108.399013,32.194176],[108.370063,32.172397],[108.379918,32.154158],[108.379918,32.154158],[108.379303,32.153652],[108.379303,32.153652],[108.399628,32.147065],[108.452599,32.090296],[108.42981,32.061391],[108.372527,32.077112],[108.344194,32.067477],[108.362056,32.035521],[108.329411,32.020299],[108.370063,31.988835],[108.351585,31.971575],[108.307238,31.997463],[108.259194,31.967006],[108.343578,31.860834],[108.386078,31.854226],[108.391005,31.829822],[108.429194,31.809482],[108.455063,31.814059],[108.462454,31.780488],[108.535135,31.757592],[108.50557,31.734182],[108.514809,31.693963],[108.546838,31.665442],[108.519121,31.665952],[108.468614,31.636404],[108.442744,31.633856],[108.390389,31.591555],[108.386078,31.544134],[108.339266,31.539033],[108.344194,31.512506],[108.254883,31.49873],[108.233941,31.506894],[108.191441,31.492096],[108.193289,31.467598],[108.224086,31.464024],[108.216079,31.41041],[108.153869,31.371073],[108.185898,31.336831],[108.095354,31.268311],[108.038688,31.252964],[108.031297,31.217144],[108.07626,31.231985],[108.089811,31.204859],[108.025753,31.116263],[108.009123,31.109602],[108.026985,31.061938],[108.060246,31.052197],[108.00358,31.025533],[107.983254,30.983983],[107.942602,30.989114],[107.948145,30.918802],[107.994956,30.908533],[107.956152,30.882855],[107.851443,30.792931],[107.788001,30.81966],[107.763979,30.817091],[107.760899,30.862823],[107.739957,30.884396],[107.693146,30.875665],[107.645103,30.821202],[107.57735,30.847924],[107.515756,30.854603],[107.483111,30.838675],[107.498509,30.809381],[107.454162,30.771851],[107.454162,30.771851],[107.424597,30.74048],[107.458473,30.704981],[107.477567,30.664837],[107.516987,30.644759],[107.485575,30.598408],[107.427676,30.547397],[107.443075,30.53348],[107.408582,30.521623],[107.368546,30.468508],[107.338981,30.386459],[107.288474,30.337402],[107.257677,30.267131],[107.221337,30.213878],[107.103076,30.090198],[107.080286,30.094341],[107.084598,30.063786],[107.058113,30.043066],[107.055649,30.040476],[107.054417,30.040994],[107.053801,30.043584],[107.02054,30.036849],[106.981736,30.08502],[106.976193,30.083467],[106.94478,30.037367],[106.913367,30.025451],[106.862244,30.033223],[106.83699,30.049801],[106.825904,30.03115],[106.825904,30.03115],[106.785252,30.01716],[106.732281,30.027005],[106.724274,30.058607],[106.699636,30.074145],[106.700252,30.111944],[106.672535,30.122297],[106.677462,30.156974],[106.631883,30.186464],[106.611557,30.235596],[106.612173,30.235596],[106.611557,30.235596],[106.612173,30.235596],[106.612173,30.235596],[106.612789,30.235596],[106.612789,30.235596],[106.642354,30.246454],[106.611557,30.292455],[106.560434,30.31519],[106.545035,30.296589],[106.49884,30.295556],[106.43971,30.308473],[106.428623,30.254725],[106.401521,30.242318],[106.349167,30.24542],[106.334384,30.225772],[106.306667,30.238182],[106.296196,30.205603],[106.264167,30.20974],[106.260471,30.19681],[106.232754,30.185947],[106.180399,30.233011],[106.168696,30.303823],[106.132356,30.323972],[106.132972,30.30279],[106.07261,30.333786],[106.031958,30.373551],[105.943263,30.372002],[105.900763,30.405042],[105.84656,30.410203],[105.825618,30.436006],[105.792357,30.427234],[105.760329,30.384393],[105.754785,30.342567],[105.714749,30.322939],[105.720292,30.252657],[105.720292,30.252657],[105.670401,30.254208],[105.624822,30.275918],[105.619894,30.234045],[105.662394,30.210258],[105.642684,30.186464],[105.56138,30.183878],[105.550909,30.179222],[105.536127,30.152834],[105.596489,30.159043],[105.574315,30.130579],[105.580474,30.129544],[105.582938,30.127474],[105.582938,30.12385],[105.642068,30.101072],[105.638988,30.076216],[105.676561,30.06793],[105.687032,30.038922],[105.719677,30.042548],[105.753553,30.018196],[105.723372,29.975177],[105.730763,29.95755],[105.70243,29.924879],[105.717213,29.893753],[105.738771,29.891159],[105.707974,29.840818],[105.610655,29.837184],[105.582938,29.819013],[105.574931,29.744216],[105.529351,29.707836],[105.481924,29.718232],[105.476996,29.674564],[105.419714,29.688082],[105.38091,29.628275],[105.347649,29.621512],[105.332867,29.592374],[105.296526,29.571035],[105.305149,29.53199],[105.337794,29.459064],[105.334099,29.441345],[105.387069,29.455416],[105.387069,29.455416],[105.399388,29.43874],[105.372903,29.421018],[105.426489,29.419454],[105.441888,29.400686],[105.418482,29.352185],[105.42033,29.31149],[105.465294,29.322969],[105.459134,29.288526],[105.513337,29.283306],[105.521344,29.264513],[105.557684,29.278608],[105.631597,29.280174],[105.647612,29.253027],[105.695039,29.287482],[105.712285,29.219082],[105.703662,29.176766],[105.728916,29.134432],[105.752321,29.129727],[105.728916,29.1062],[105.757865,29.069068],[105.74185,29.039249],[105.766488,29.013607],[105.762176,28.9911],[105.801596,28.958116],[105.797285,28.936121],[105.830546,28.944501],[105.852719,28.927217],[105.910002,28.920407],[105.969132,28.965971],[106.001161,28.973824],[106.040581,28.955498],[106.049204,28.906263],[106.070762,28.919884],[106.101559,28.898928],[106.14837,28.901548],[106.173008,28.920407],[106.206885,28.904691],[106.264783,28.845997],[106.245689,28.817686],[106.267863,28.779402],[106.274022,28.739004],[106.305435,28.704365],[106.304203,28.64976],[106.346703,28.583565],[106.33192,28.55308],[106.37442,28.525742]]],[[[109.105495,30.585529],[109.106111,30.61077],[109.09256,30.578831],[109.09872,30.579346],[109.101183,30.579346],[109.102415,30.580377],[109.105495,30.585529]]],[[[105.582938,30.12385],[105.582938,30.127474],[105.580474,30.129544],[105.574315,30.130579],[105.582938,30.12385]]],[[[109.09872,30.579346],[109.09256,30.578831],[109.103647,30.565949],[109.106111,30.570587],[109.09872,30.579346]]],[[[107.058113,30.043066],[107.053801,30.043584],[107.054417,30.040994],[107.055649,30.040476],[107.058113,30.043066]]]]}},{"type":"Feature","properties":{"adcode":510000,"name":"四川省","center":[104.065735,30.659462],"centroid":[102.693453,30.674545],"childrenNum":21,"level":"province","parent":{"adcode":100000},"subFeatureIndex":22,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[101.167885,27.198311],[101.170349,27.175421],[101.145095,27.103523],[101.157414,27.094999],[101.136472,27.023584],[101.228863,26.981992],[101.227015,26.959057],[101.264587,26.955323],[101.267667,26.903034],[101.311399,26.903034],[101.365602,26.883819],[101.399478,26.841642],[101.358826,26.771669],[101.387159,26.753501],[101.389623,26.723036],[101.435819,26.740675],[101.458608,26.731054],[101.445674,26.77434],[101.466,26.786629],[101.513427,26.768463],[101.453065,26.692563],[101.481398,26.673313],[101.461072,26.640687],[101.461688,26.606447],[101.402558,26.604841],[101.395783,26.591998],[101.422884,26.53151],[101.458608,26.49563],[101.506652,26.499915],[101.530057,26.467239],[101.565782,26.454381],[101.637847,26.388995],[101.635383,26.357361],[101.660636,26.346635],[101.64031,26.318745],[101.597195,26.303187],[101.586108,26.279579],[101.630455,26.224832],[101.690202,26.241473],[101.737013,26.219463],[101.773353,26.168448],[101.807846,26.156093],[101.796759,26.114723],[101.839875,26.082477],[101.835563,26.04592],[101.857737,26.049146],[101.899621,26.099139],[101.929186,26.105588],[101.954439,26.084627],[102.020961,26.096451],[102.080091,26.065275],[102.107808,26.068501],[102.152156,26.10935],[102.174946,26.146961],[102.242699,26.190468],[102.245163,26.212483],[102.349257,26.244694],[102.392372,26.296749],[102.440416,26.300505],[102.542046,26.338591],[102.570995,26.362723],[102.629509,26.336982],[102.638748,26.307479],[102.60056,26.250598],[102.659074,26.221611],[102.709581,26.210336],[102.739762,26.268846],[102.785342,26.298895],[102.833385,26.306406],[102.878964,26.364332],[102.893131,26.338591],[102.975667,26.340736],[102.998457,26.371839],[102.988602,26.413117],[102.989833,26.482775],[103.030485,26.485989],[103.052659,26.514374],[103.052659,26.555602],[103.035413,26.556673],[103.026174,26.664221],[103.005232,26.679195],[103.008312,26.710741],[102.983674,26.76686],[102.991681,26.775409],[102.966428,26.837904],[102.949181,26.843244],[102.896211,26.91264],[102.894979,27.001724],[102.870957,27.026782],[102.913457,27.133886],[102.904218,27.227584],[102.883276,27.258444],[102.883892,27.299401],[102.899906,27.317481],[102.941174,27.405711],[102.989833,27.367983],[103.055739,27.40943],[103.080992,27.396679],[103.141355,27.420586],[103.144434,27.450331],[103.19063,27.523596],[103.232514,27.56976],[103.2861,27.561802],[103.29226,27.632872],[103.349542,27.678459],[103.369868,27.708664],[103.393274,27.709194],[103.461027,27.779638],[103.487512,27.794992],[103.509686,27.843687],[103.502295,27.910343],[103.55465,27.978543],[103.515846,27.965329],[103.486281,28.033495],[103.459179,28.021345],[103.430846,28.044587],[103.470266,28.122204],[103.533092,28.168641],[103.573128,28.230877],[103.643961,28.260401],[103.692004,28.232459],[103.701859,28.198709],[103.740048,28.23615],[103.770845,28.233514],[103.828743,28.285173],[103.877402,28.316262],[103.85338,28.356822],[103.860156,28.383677],[103.828743,28.44],[103.829975,28.459995],[103.781931,28.525216],[103.802873,28.563068],[103.838598,28.587244],[103.833054,28.605109],[103.850917,28.66709],[103.887873,28.61982],[103.910047,28.631377],[103.953779,28.600906],[104.05972,28.6277],[104.09606,28.603533],[104.117618,28.634003],[104.170589,28.642932],[104.230951,28.635579],[104.252509,28.660788],[104.277147,28.631902],[104.314719,28.615617],[104.372617,28.649235],[104.425588,28.626649],[104.417581,28.598279],[104.375697,28.5946],[104.355987,28.555183],[104.323342,28.540989],[104.260516,28.536257],[104.267908,28.499448],[104.254357,28.403683],[104.282074,28.343128],[104.314103,28.306778],[104.343052,28.334173],[104.384936,28.329959],[104.392943,28.291497],[104.420045,28.269889],[104.44961,28.269889],[104.462544,28.241422],[104.442834,28.211366],[104.402182,28.202928],[104.406494,28.173389],[104.444682,28.16231],[104.448994,28.113758],[104.40095,28.091586],[104.373233,28.051454],[104.304248,28.050926],[104.30856,28.036136],[104.362762,28.012891],[104.40095,27.952114],[104.44961,27.927794],[104.508124,27.878078],[104.52537,27.889187],[104.573413,27.840512],[104.607906,27.857974],[104.63316,27.850567],[104.676275,27.880723],[104.743413,27.901881],[104.761891,27.884426],[104.796999,27.901352],[104.842579,27.900294],[104.888158,27.914574],[104.918339,27.938897],[104.903557,27.962158],[104.975006,28.020816],[104.980549,28.063073],[105.002107,28.064129],[105.061853,28.096866],[105.119752,28.07205],[105.168411,28.071522],[105.186889,28.054623],[105.167795,28.021345],[105.186273,27.995454],[105.218302,27.990698],[105.247867,28.009193],[105.270657,27.99704],[105.284823,27.935725],[105.233084,27.895534],[105.25957,27.827811],[105.313157,27.810874],[105.273736,27.794992],[105.293447,27.770637],[105.290367,27.712373],[105.308229,27.704955],[105.353809,27.748924],[105.44004,27.775402],[105.508409,27.769048],[105.560148,27.71979],[105.605112,27.715552],[105.62359,27.666269],[105.664242,27.683759],[105.720292,27.683759],[105.722756,27.706015],[105.76772,27.7182],[105.848408,27.707074],[105.868118,27.732504],[105.922937,27.746805],[105.92848,27.729855],[105.985146,27.749983],[106.023335,27.746805],[106.063987,27.776991],[106.120653,27.779638],[106.193334,27.75422],[106.242609,27.767459],[106.306667,27.808756],[106.337464,27.859033],[106.325145,27.898708],[106.304819,27.899237],[106.307899,27.936782],[106.328225,27.952643],[106.286341,28.007079],[106.246305,28.011835],[106.266631,28.066769],[106.206885,28.134343],[106.145291,28.162837],[106.093552,28.162837],[105.975907,28.107952],[105.943878,28.143314],[105.895219,28.119565],[105.860727,28.159672],[105.889676,28.237732],[105.848408,28.255656],[105.824386,28.306251],[105.78743,28.335753],[105.76464,28.308359],[105.76464,28.308359],[105.737539,28.30309],[105.730147,28.271997],[105.68888,28.284119],[105.639604,28.324164],[105.655003,28.362615],[105.643916,28.431053],[105.612503,28.438947],[105.62359,28.517854],[105.68272,28.534154],[105.693191,28.58882],[105.712901,28.586718],[105.74493,28.616668],[105.757249,28.590397],[105.78435,28.610889],[105.808372,28.599855],[105.884748,28.595126],[105.889676,28.670765],[105.937719,28.686517],[105.966668,28.761041],[106.001161,28.743727],[106.030726,28.694917],[106.085544,28.681792],[106.103407,28.636104],[106.14837,28.642932],[106.17116,28.629275],[106.184711,28.58882],[106.254928,28.539412],[106.2925,28.537309],[106.304819,28.505233],[106.349167,28.473674],[106.379348,28.479986],[106.37442,28.525742],[106.33192,28.55308],[106.346703,28.583565],[106.304203,28.64976],[106.305435,28.704365],[106.274022,28.739004],[106.267863,28.779402],[106.245689,28.817686],[106.264783,28.845997],[106.206885,28.904691],[106.173008,28.920407],[106.14837,28.901548],[106.101559,28.898928],[106.070762,28.919884],[106.049204,28.906263],[106.040581,28.955498],[106.001161,28.973824],[105.969132,28.965971],[105.910002,28.920407],[105.852719,28.927217],[105.830546,28.944501],[105.797285,28.936121],[105.801596,28.958116],[105.762176,28.9911],[105.766488,29.013607],[105.74185,29.039249],[105.757865,29.069068],[105.728916,29.1062],[105.752321,29.129727],[105.728916,29.134432],[105.703662,29.176766],[105.712285,29.219082],[105.695039,29.287482],[105.647612,29.253027],[105.631597,29.280174],[105.557684,29.278608],[105.521344,29.264513],[105.513337,29.283306],[105.459134,29.288526],[105.465294,29.322969],[105.42033,29.31149],[105.418482,29.352185],[105.441888,29.400686],[105.426489,29.419454],[105.372903,29.421018],[105.399388,29.43874],[105.387069,29.455416],[105.387069,29.455416],[105.334099,29.441345],[105.337794,29.459064],[105.305149,29.53199],[105.296526,29.571035],[105.332867,29.592374],[105.347649,29.621512],[105.38091,29.628275],[105.419714,29.688082],[105.476996,29.674564],[105.481924,29.718232],[105.529351,29.707836],[105.574931,29.744216],[105.582938,29.819013],[105.610655,29.837184],[105.707974,29.840818],[105.738771,29.891159],[105.717213,29.893753],[105.70243,29.924879],[105.730763,29.95755],[105.723372,29.975177],[105.753553,30.018196],[105.719677,30.042548],[105.687032,30.038922],[105.676561,30.06793],[105.638988,30.076216],[105.642068,30.101072],[105.582938,30.12385],[105.574315,30.130579],[105.596489,30.159043],[105.536127,30.152834],[105.550909,30.179222],[105.556453,30.187499],[105.558916,30.18543],[105.56138,30.183878],[105.642684,30.186464],[105.662394,30.210258],[105.619894,30.234045],[105.624822,30.275918],[105.670401,30.254208],[105.720292,30.252657],[105.720292,30.252657],[105.714749,30.322939],[105.754785,30.342567],[105.760329,30.384393],[105.792357,30.427234],[105.825618,30.436006],[105.84656,30.410203],[105.900763,30.405042],[105.943263,30.372002],[106.031958,30.373551],[106.07261,30.333786],[106.132972,30.30279],[106.132356,30.323972],[106.168696,30.303823],[106.180399,30.233011],[106.232754,30.185947],[106.260471,30.19681],[106.260471,30.204051],[106.260471,30.207672],[106.264167,30.20974],[106.296196,30.205603],[106.306667,30.238182],[106.334384,30.225772],[106.349167,30.24542],[106.401521,30.242318],[106.428623,30.254725],[106.43971,30.308473],[106.49884,30.295556],[106.545035,30.296589],[106.560434,30.31519],[106.611557,30.292455],[106.642354,30.246454],[106.612789,30.235596],[106.612789,30.235596],[106.612173,30.235596],[106.612173,30.235596],[106.611557,30.235596],[106.612173,30.235596],[106.611557,30.235596],[106.631883,30.186464],[106.677462,30.156974],[106.672535,30.122297],[106.700252,30.111944],[106.699636,30.074145],[106.724274,30.058607],[106.732281,30.027005],[106.785252,30.01716],[106.825904,30.03115],[106.825904,30.03115],[106.83699,30.049801],[106.862244,30.033223],[106.913367,30.025451],[106.94478,30.037367],[106.976193,30.083467],[106.975577,30.088127],[106.976809,30.088127],[106.977425,30.087609],[106.978656,30.087609],[106.979888,30.088127],[106.980504,30.087609],[106.981736,30.08502],[107.02054,30.036849],[107.053801,30.043584],[107.058113,30.043066],[107.084598,30.063786],[107.080286,30.094341],[107.103076,30.090198],[107.221337,30.213878],[107.257677,30.267131],[107.288474,30.337402],[107.338981,30.386459],[107.368546,30.468508],[107.408582,30.521623],[107.443075,30.53348],[107.427676,30.547397],[107.485575,30.598408],[107.516987,30.644759],[107.477567,30.664837],[107.458473,30.704981],[107.424597,30.74048],[107.454162,30.771851],[107.454162,30.771851],[107.498509,30.809381],[107.483111,30.838675],[107.515756,30.854603],[107.57735,30.847924],[107.645103,30.821202],[107.693146,30.875665],[107.739957,30.884396],[107.760899,30.862823],[107.763979,30.817091],[107.788001,30.81966],[107.851443,30.792931],[107.956152,30.882855],[107.994956,30.908533],[107.948145,30.918802],[107.942602,30.989114],[107.983254,30.983983],[108.00358,31.025533],[108.060246,31.052197],[108.026985,31.061938],[108.009123,31.109602],[108.025753,31.116263],[108.089811,31.204859],[108.07626,31.231985],[108.031297,31.217144],[108.038688,31.252964],[108.095354,31.268311],[108.185898,31.336831],[108.153869,31.371073],[108.216079,31.41041],[108.224086,31.464024],[108.193289,31.467598],[108.191441,31.492096],[108.233941,31.506894],[108.254883,31.49873],[108.344194,31.512506],[108.339266,31.539033],[108.386078,31.544134],[108.390389,31.591555],[108.442744,31.633856],[108.468614,31.636404],[108.519121,31.665952],[108.546838,31.665442],[108.514809,31.693963],[108.50557,31.734182],[108.535135,31.757592],[108.462454,31.780488],[108.455063,31.814059],[108.429194,31.809482],[108.391005,31.829822],[108.386078,31.854226],[108.343578,31.860834],[108.259194,31.967006],[108.307238,31.997463],[108.351585,31.971575],[108.370063,31.988835],[108.329411,32.020299],[108.362056,32.035521],[108.344194,32.067477],[108.372527,32.077112],[108.42981,32.061391],[108.452599,32.090296],[108.399628,32.147065],[108.379303,32.153652],[108.379303,32.153652],[108.379918,32.154158],[108.379918,32.154158],[108.370063,32.172397],[108.399013,32.194176],[108.480317,32.182527],[108.509882,32.201266],[108.507418,32.245819],[108.469846,32.270618],[108.414411,32.252399],[108.389773,32.263533],[108.310933,32.232152],[108.240716,32.274666],[108.179738,32.221521],[108.156948,32.239239],[108.143398,32.219495],[108.086731,32.233165],[108.018362,32.2119],[108.024521,32.177462],[107.979558,32.146051],[107.924739,32.197215],[107.890247,32.214432],[107.864377,32.201266],[107.812022,32.247844],[107.753508,32.338399],[107.707929,32.331826],[107.680827,32.397035],[107.648183,32.413709],[107.598291,32.411688],[107.527458,32.38238],[107.489886,32.425328],[107.456625,32.41775],[107.460937,32.453612],[107.438763,32.465732],[107.436299,32.529835],[107.382097,32.54043],[107.356843,32.506622],[107.313727,32.489965],[107.287858,32.457147],[107.263836,32.403099],[107.212097,32.428864],[107.189924,32.468256],[107.127098,32.482393],[107.080286,32.542448],[107.108004,32.600951],[107.098765,32.649338],[107.05996,32.686115],[107.066736,32.708779],[107.012533,32.721367],[106.912751,32.704247],[106.903512,32.721367],[106.854853,32.724388],[106.82344,32.705254],[106.793259,32.712807],[106.783404,32.735967],[106.733513,32.739491],[106.670071,32.694678],[106.626955,32.682086],[106.585687,32.68813],[106.517934,32.668485],[106.498224,32.649338],[106.451412,32.65992],[106.421231,32.616579],[106.389203,32.62666],[106.347935,32.671003],[106.301123,32.680071],[106.267863,32.673522],[106.254928,32.693671],[106.17424,32.6977],[106.120037,32.719856],[106.071378,32.758114],[106.07261,32.76365],[106.093552,32.82402],[106.071378,32.828546],[106.044277,32.864747],[106.011632,32.829552],[105.969132,32.849162],[105.93156,32.826032],[105.893371,32.838603],[105.849024,32.817985],[105.825002,32.824523],[105.822538,32.770192],[105.779423,32.750061],[105.768952,32.767676],[105.719061,32.759624],[105.677793,32.726402],[105.596489,32.69921],[105.585402,32.728919],[105.563844,32.724891],[105.555221,32.794343],[105.534279,32.790822],[105.524424,32.847654],[105.495475,32.873292],[105.49917,32.911986],[105.467757,32.930071],[105.414171,32.922034],[105.408011,32.885857],[105.38091,32.876307],[105.396308,32.85067],[105.396308,32.85067],[105.427721,32.784281],[105.454207,32.767173],[105.448663,32.732946],[105.368591,32.712807],[105.347033,32.68259],[105.297758,32.656897],[105.263265,32.652362],[105.219534,32.666469],[105.215222,32.63674],[105.185041,32.617587],[105.111128,32.593893],[105.0791,32.637244],[105.026745,32.650346],[104.925115,32.607505],[104.881999,32.600951],[104.845659,32.653873],[104.820405,32.662943],[104.795768,32.643292],[104.739717,32.635228],[104.696601,32.673522],[104.643015,32.661935],[104.592508,32.695685],[104.582653,32.722374],[104.526602,32.728416],[104.51182,32.753585],[104.458849,32.748551],[104.363994,32.822511],[104.294393,32.835586],[104.277147,32.90244],[104.288234,32.942628],[104.345516,32.940117],[104.378161,32.953174],[104.383704,32.994343],[104.426204,33.010906],[104.391711,33.035493],[104.337509,33.038002],[104.378161,33.109214],[104.351059,33.158828],[104.32827,33.223934],[104.323958,33.26898],[104.303632,33.304499],[104.333813,33.315502],[104.386168,33.298497],[104.420045,33.327004],[104.373849,33.345004],[104.292545,33.336505],[104.272219,33.391486],[104.22048,33.404477],[104.213089,33.446932],[104.180444,33.472895],[104.155191,33.542755],[104.176749,33.5996],[104.103452,33.663381],[104.046169,33.686291],[103.980264,33.670852],[103.861388,33.682307],[103.778236,33.658898],[103.690772,33.69376],[103.667983,33.685793],[103.645809,33.708697],[103.593454,33.716164],[103.563889,33.699735],[103.552186,33.671351],[103.520157,33.678323],[103.545411,33.719649],[103.518309,33.807213],[103.464723,33.80224],[103.434542,33.752993],[103.35447,33.743539],[103.278709,33.774387],[103.284868,33.80224],[103.24976,33.814175],[103.228202,33.79478],[103.165376,33.805721],[103.153673,33.819147],[103.181391,33.900649],[103.16476,33.929454],[103.1315,33.931937],[103.120413,33.953286],[103.157369,33.998944],[103.147514,34.036644],[103.119797,34.03466],[103.129652,34.065899],[103.178927,34.079779],[103.121644,34.112487],[103.124108,34.162022],[103.100087,34.181828],[103.052043,34.195194],[103.005848,34.184798],[102.973203,34.205588],[102.977515,34.252595],[102.949181,34.292159],[102.911609,34.312923],[102.85987,34.301058],[102.856791,34.270895],[102.798276,34.272874],[102.779798,34.236764],[102.728675,34.235774],[102.694799,34.198659],[102.664002,34.192719],[102.651067,34.165983],[102.598712,34.14766],[102.655994,34.113478],[102.649219,34.080275],[102.615958,34.099604],[102.511865,34.086222],[102.471213,34.072839],[102.437336,34.087214],[102.406539,34.033172],[102.392372,33.971651],[102.345561,33.969666],[102.315996,33.993983],[102.287047,33.977607],[102.248858,33.98654],[102.226069,33.963214],[102.16817,33.983066],[102.136142,33.965199],[102.25317,33.861399],[102.261177,33.821136],[102.243315,33.786823],[102.296286,33.783838],[102.324619,33.754486],[102.284583,33.719151],[102.342481,33.725622],[102.31538,33.665374],[102.346793,33.605582],[102.440416,33.574673],[102.477988,33.543254],[102.446575,33.53228],[102.461358,33.501345],[102.462589,33.449429],[102.447807,33.454922],[102.392988,33.404477],[102.368967,33.41247],[102.310452,33.397982],[102.296286,33.413969],[102.258098,33.409472],[102.218062,33.349503],[102.192192,33.337005],[102.217446,33.247961],[102.200815,33.223434],[102.160163,33.242956],[102.144765,33.273983],[102.117047,33.288492],[102.08933,33.227439],[102.08933,33.204908],[102.054838,33.189884],[101.99386,33.1999],[101.935345,33.186879],[101.921795,33.153817],[101.887302,33.135778],[101.865744,33.103198],[101.825708,33.119239],[101.841723,33.184876],[101.83002,33.213921],[101.770274,33.248962],[101.769658,33.26898],[101.877447,33.314502],[101.887302,33.383991],[101.915635,33.425957],[101.946432,33.442937],[101.906396,33.48188],[101.907012,33.539264],[101.884222,33.578163],[101.844186,33.602591],[101.831252,33.554726],[101.783208,33.556721],[101.769042,33.538765],[101.777665,33.533776],[101.769042,33.45592],[101.695745,33.433948],[101.663716,33.383991],[101.64955,33.323004],[101.677883,33.297497],[101.735781,33.279987],[101.709912,33.21292],[101.653861,33.162835],[101.661252,33.135778],[101.633535,33.101193],[101.557775,33.167344],[101.515275,33.192889],[101.487557,33.226938],[101.403174,33.225436],[101.386543,33.207412],[101.393935,33.157826],[101.381616,33.153316],[101.297232,33.262475],[101.217776,33.256469],[101.182668,33.26948],[101.156798,33.236449],[101.124769,33.221431],[101.11553,33.194893],[101.169733,33.10019],[101.143863,33.086151],[101.146327,33.056563],[101.184515,33.041514],[101.171581,33.009902],[101.183899,32.984304],[101.129081,32.989324],[101.134624,32.95217],[101.124153,32.909976],[101.178356,32.892892],[101.223935,32.855698],[101.237486,32.825026],[101.22332,32.725898],[101.157414,32.661431],[101.124769,32.658408],[101.077342,32.68259],[101.030531,32.660424],[100.99727,32.627668],[100.956618,32.621116],[100.93198,32.600447],[100.887633,32.632708],[100.834046,32.648835],[100.77122,32.643795],[100.690532,32.678056],[100.71209,32.645307],[100.710242,32.610026],[100.673286,32.628172],[100.661583,32.616075],[100.657887,32.546484],[100.645568,32.526303],[100.603069,32.553547],[100.54517,32.569687],[100.516837,32.632204],[100.470026,32.694678],[100.450932,32.694678],[100.420135,32.73194],[100.378251,32.698707],[100.399193,32.756101],[100.339447,32.719353],[100.258759,32.742511],[100.231041,32.696189],[100.229809,32.650346],[100.208252,32.606497],[100.189773,32.630692],[100.109701,32.640268],[100.088143,32.668988],[100.139266,32.724388],[100.117093,32.802392],[100.123252,32.837095],[100.064738,32.895907],[100.029629,32.895907],[100.038252,32.929066],[99.956332,32.948152],[99.947709,32.986814],[99.877492,33.045527],[99.877492,32.993339],[99.851007,32.941623],[99.805427,32.940619],[99.788181,32.956689],[99.764159,32.924545],[99.791877,32.883344],[99.766623,32.826032],[99.760464,32.769689],[99.717964,32.732443],[99.700718,32.76667],[99.646515,32.774721],[99.640355,32.790822],[99.589233,32.789312],[99.558436,32.839106],[99.45311,32.862233],[99.376118,32.899927],[99.353944,32.885354],[99.268944,32.878318],[99.24677,32.924043],[99.235067,32.982296],[99.214741,32.991332],[99.196263,33.035493],[99.124814,33.046028],[99.090322,33.079131],[99.024416,33.094675],[99.014561,33.081137],[98.971445,33.098185],[98.967134,33.115229],[98.92217,33.118738],[98.858728,33.150811],[98.804526,33.219428],[98.802062,33.270481],[98.759562,33.276985],[98.779888,33.370497],[98.736157,33.406975],[98.742316,33.477887],[98.725686,33.503341],[98.678258,33.522801],[98.648077,33.548741],[98.652389,33.595114],[98.622824,33.610067],[98.61728,33.637476],[98.6567,33.64744],[98.610505,33.682805],[98.582788,33.731595],[98.539672,33.746525],[98.51873,33.77389],[98.494092,33.768915],[98.492861,33.796272],[98.463295,33.848477],[98.434962,33.843009],[98.407245,33.867362],[98.425723,33.913066],[98.415252,33.956761],[98.440506,33.981577],[98.428187,34.029204],[98.396774,34.053008],[98.399854,34.085231],[98.344419,34.094648],[98.258188,34.083249],[98.206449,34.08424],[98.158405,34.107037],[98.098043,34.122892],[98.028442,34.122892],[97.95453,34.190739],[97.898479,34.209548],[97.8104,34.207568],[97.796849,34.199154],[97.796849,34.199154],[97.789458,34.182818],[97.789458,34.182818],[97.766668,34.158555],[97.665654,34.126855],[97.70261,34.036644],[97.652719,33.998448],[97.660111,33.956264],[97.629314,33.919523],[97.601596,33.929951],[97.52214,33.903133],[97.503662,33.912073],[97.460546,33.887236],[97.395257,33.889224],[97.398336,33.848477],[97.371851,33.842015],[97.373083,33.817655],[97.406344,33.795278],[97.422974,33.754984],[97.418046,33.728608],[97.435293,33.682307],[97.415583,33.605582],[97.450075,33.582152],[97.523372,33.577166],[97.511669,33.520805],[97.552321,33.465906],[97.625618,33.461412],[97.674893,33.432949],[97.754349,33.409972],[97.676125,33.341004],[97.622538,33.337005],[97.607756,33.263976],[97.548626,33.203907],[97.487648,33.168346],[97.498119,33.137783],[97.487032,33.107209],[97.517213,33.097683],[97.542466,33.035995],[97.499966,33.011408],[97.523988,32.988822],[97.438372,32.976271],[97.375547,32.956689],[97.347829,32.895907],[97.376163,32.886359],[97.392793,32.828546],[97.386018,32.77925],[97.429133,32.714318],[97.42359,32.70475],[97.48272,32.654377],[97.535075,32.638252],[97.543698,32.62162],[97.607756,32.614059],[97.616995,32.586329],[97.700763,32.53488],[97.730944,32.527312],[97.795617,32.521257],[97.80732,32.50006],[97.863986,32.499051],[97.880001,32.486431],[97.940363,32.482393],[98.079565,32.415224],[98.107283,32.391476],[98.125145,32.401077],[98.218768,32.342444],[98.208913,32.318171],[98.23047,32.262521],[98.218768,32.234683],[98.260035,32.208862],[98.303151,32.121726],[98.357354,32.087253],[98.404781,32.045159],[98.402933,32.026896],[98.434962,32.007613],[98.432498,31.922825],[98.399238,31.895899],[98.426339,31.856767],[98.414636,31.832365],[98.461448,31.800327],[98.508875,31.751995],[98.516882,31.717383],[98.545831,31.717383],[98.553839,31.660349],[98.619128,31.591555],[98.651157,31.57881],[98.696736,31.538523],[98.714599,31.508935],[98.844562,31.429817],[98.84333,31.416028],[98.887062,31.37465],[98.810685,31.306668],[98.805758,31.279052],[98.773113,31.249382],[98.691809,31.333253],[98.643766,31.338876],[98.616048,31.3036],[98.60373,31.257568],[98.62344,31.221238],[98.602498,31.192062],[98.675179,31.15417],[98.710287,31.1178],[98.712135,31.082954],[98.736772,31.049121],[98.774961,31.031174],[98.806374,30.995783],[98.797135,30.948575],[98.774345,30.908019],[98.797135,30.87926],[98.850105,30.849465],[98.904924,30.782649],[98.957895,30.765166],[98.963438,30.728134],[98.907388,30.698292],[98.92217,30.609225],[98.939417,30.598923],[98.926482,30.569556],[98.932025,30.521623],[98.965286,30.449937],[98.967134,30.33482],[98.986844,30.280569],[98.970829,30.260928],[98.993003,30.215429],[98.9813,30.182843],[98.989308,30.151799],[99.044742,30.079842],[99.036735,30.053945],[99.055213,29.958587],[99.068148,29.931621],[99.0238,29.846009],[99.018873,29.792009],[98.992387,29.677163],[99.014561,29.607464],[99.052133,29.563748],[99.044742,29.520013],[99.066916,29.421018],[99.058909,29.417368],[99.075539,29.316186],[99.114343,29.243628],[99.113727,29.221171],[99.105104,29.162656],[99.118039,29.100971],[99.113727,29.07273],[99.132206,28.94869],[99.123582,28.890021],[99.103872,28.841803],[99.114343,28.765763],[99.134053,28.734806],[99.126662,28.698066],[99.147604,28.640831],[99.183944,28.58882],[99.170394,28.566221],[99.191952,28.494714],[99.187024,28.44],[99.16485,28.425264],[99.200575,28.365774],[99.229524,28.350502],[99.237531,28.317842],[99.28927,28.286227],[99.306516,28.227714],[99.374886,28.18183],[99.412458,28.295186],[99.392748,28.318369],[99.437095,28.398419],[99.404451,28.44421],[99.426625,28.454207],[99.396444,28.491032],[99.403219,28.546246],[99.463581,28.549401],[99.466045,28.579886],[99.504233,28.619294],[99.540573,28.623497],[99.53195,28.677591],[99.553508,28.710664],[99.614486,28.740054],[99.609559,28.784122],[99.625573,28.81454],[99.676696,28.810345],[99.717964,28.846521],[99.722275,28.757369],[99.755536,28.701216],[99.79434,28.699116],[99.834992,28.660788],[99.834376,28.628225],[99.873181,28.631902],[99.875644,28.611939],[99.91876,28.599329],[99.985281,28.529422],[99.990209,28.47683],[100.073977,28.426317],[100.057346,28.368934],[100.136803,28.349975],[100.176223,28.325218],[100.147274,28.288862],[100.188541,28.252493],[100.153433,28.208202],[100.102926,28.201873],[100.091223,28.181302],[100.062274,28.193962],[100.033325,28.184467],[100.021006,28.147008],[100.05673,28.097922],[100.088759,28.029269],[100.120788,28.018703],[100.196549,27.936254],[100.170063,27.907699],[100.210715,27.87702],[100.30865,27.861149],[100.30865,27.830457],[100.28586,27.80611],[100.304954,27.788639],[100.311729,27.724028],[100.327744,27.72032],[100.350534,27.755809],[100.412127,27.816167],[100.442924,27.86644],[100.504518,27.852154],[100.511294,27.827811],[100.54517,27.809286],[100.609228,27.859033],[100.634482,27.915631],[100.681293,27.923035],[100.719481,27.858503],[100.707162,27.800816],[100.757053,27.770107],[100.775532,27.743098],[100.782307,27.691708],[100.848212,27.672099],[100.827886,27.615904],[100.854988,27.623858],[100.91227,27.521473],[100.901183,27.453517],[100.936908,27.469448],[100.95169,27.426961],[101.021907,27.332899],[101.026219,27.270679],[101.042233,27.22173],[101.071798,27.194585],[101.119226,27.208957],[101.167885,27.198311],[101.167885,27.198311]]],[[[106.264167,30.20974],[106.260471,30.207672],[106.260471,30.204051],[106.260471,30.19681],[106.264167,30.20974]]],[[[106.976809,30.088127],[106.975577,30.088127],[106.976193,30.083467],[106.981736,30.08502],[106.980504,30.087609],[106.979888,30.088127],[106.978656,30.087609],[106.977425,30.087609],[106.976809,30.088127]]],[[[105.558916,30.18543],[105.556453,30.187499],[105.550909,30.179222],[105.56138,30.183878],[105.558916,30.18543]]]]}},{"type":"Feature","properties":{"adcode":520000,"name":"贵州省","center":[106.713478,26.578343],"centroid":[106.880455,26.826368],"childrenNum":9,"level":"province","parent":{"adcode":100000},"subFeatureIndex":23,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[109.274262,28.494714],[109.23361,28.474726],[109.191726,28.471043],[109.153538,28.417369],[109.152306,28.349975],[109.117198,28.277795],[109.081473,28.247749],[109.101799,28.202401],[109.086401,28.184467],[109.026655,28.220331],[109.005713,28.162837],[108.929952,28.19027],[108.923793,28.217167],[108.89546,28.219804],[108.855424,28.199764],[108.821547,28.245113],[108.772888,28.212949],[108.738395,28.228241],[108.726692,28.282011],[108.761801,28.304143],[108.783359,28.380518],[108.759953,28.389995],[108.780279,28.42579],[108.746402,28.45105],[108.709446,28.501026],[108.700207,28.48209],[108.657091,28.47683],[108.640461,28.456838],[108.688504,28.422106],[108.697127,28.401051],[108.656475,28.359981],[108.667562,28.334173],[108.611512,28.324691],[108.580099,28.343128],[108.576403,28.38631],[108.609048,28.407368],[108.609664,28.43579],[108.586874,28.463678],[108.573939,28.531],[108.610896,28.539412],[108.604736,28.590922],[108.636149,28.621396],[108.575787,28.659738],[108.50249,28.63768],[108.501258,28.626649],[108.439049,28.634003],[108.332491,28.679166],[108.347274,28.736381],[108.385462,28.772058],[108.386078,28.803003],[108.352817,28.815589],[108.346658,28.859625],[108.357745,28.893165],[108.345426,28.943453],[108.319556,28.961258],[108.297999,29.045527],[108.306622,29.079006],[108.277673,29.091558],[108.256115,29.040295],[108.193289,29.072207],[108.150173,29.053375],[108.070717,29.086328],[108.026369,29.039772],[107.925971,29.032446],[107.908725,29.007327],[107.882855,29.00628],[107.867457,28.960211],[107.810175,28.984295],[107.823725,29.034016],[107.784921,29.048143],[107.810791,29.139137],[107.749197,29.199754],[107.700537,29.141228],[107.659885,29.162656],[107.605683,29.164747],[107.589052,29.150113],[107.570574,29.218037],[107.486806,29.174153],[107.441227,29.203934],[107.401807,29.184603],[107.408582,29.138091],[107.427676,29.128682],[107.412278,29.094696],[107.369778,29.091558],[107.395647,29.041341],[107.364235,29.00942],[107.396879,28.993718],[107.412894,28.960211],[107.441227,28.943977],[107.41351,28.911502],[107.383945,28.848618],[107.339597,28.845997],[107.327894,28.810869],[107.261373,28.792514],[107.24659,28.76209],[107.219489,28.772582],[107.210866,28.817686],[107.227496,28.836037],[107.194851,28.838134],[107.206554,28.868535],[107.14188,28.887925],[107.016229,28.882685],[107.019308,28.861722],[106.983584,28.851239],[106.988512,28.776254],[106.951555,28.766812],[106.923222,28.809821],[106.872099,28.777304],[106.845614,28.780975],[106.824056,28.756319],[106.86594,28.690192],[106.889345,28.695966],[106.866556,28.624548],[106.830831,28.623497],[106.807425,28.589346],[106.784636,28.626649],[106.756918,28.607211],[106.77786,28.563068],[106.73844,28.554657],[106.726121,28.51838],[106.747063,28.467361],[106.708259,28.450524],[106.697788,28.47683],[106.632499,28.503655],[106.564745,28.485247],[106.567825,28.523638],[106.615252,28.549401],[106.606629,28.593024],[106.63681,28.622972],[106.618332,28.645033],[106.651593,28.649235],[106.617716,28.66709],[106.6171,28.691242],[106.587535,28.691767],[106.56105,28.719062],[106.561666,28.756319],[106.474202,28.832891],[106.45326,28.817162],[106.461883,28.761041],[106.492064,28.742153],[106.528405,28.677591],[106.502535,28.661313],[106.49268,28.591448],[106.466811,28.586193],[106.504999,28.544669],[106.477282,28.530474],[106.403369,28.569901],[106.37442,28.525742],[106.379348,28.479986],[106.349167,28.473674],[106.304819,28.505233],[106.2925,28.537309],[106.254928,28.539412],[106.184711,28.58882],[106.17116,28.629275],[106.14837,28.642932],[106.103407,28.636104],[106.085544,28.681792],[106.030726,28.694917],[106.001161,28.743727],[105.966668,28.761041],[105.937719,28.686517],[105.889676,28.670765],[105.884748,28.595126],[105.808372,28.599855],[105.78435,28.610889],[105.757249,28.590397],[105.74493,28.616668],[105.712901,28.586718],[105.693191,28.58882],[105.68272,28.534154],[105.62359,28.517854],[105.612503,28.438947],[105.643916,28.431053],[105.655003,28.362615],[105.639604,28.324164],[105.68888,28.284119],[105.730147,28.271997],[105.737539,28.30309],[105.76464,28.308359],[105.76464,28.308359],[105.78743,28.335753],[105.824386,28.306251],[105.848408,28.255656],[105.889676,28.237732],[105.860727,28.159672],[105.895219,28.119565],[105.943878,28.143314],[105.975907,28.107952],[106.093552,28.162837],[106.145291,28.162837],[106.206885,28.134343],[106.266631,28.066769],[106.246305,28.011835],[106.286341,28.007079],[106.328225,27.952643],[106.307899,27.936782],[106.304819,27.899237],[106.325145,27.898708],[106.337464,27.859033],[106.306667,27.808756],[106.242609,27.767459],[106.193334,27.75422],[106.120653,27.779638],[106.063987,27.776991],[106.023335,27.746805],[105.985146,27.749983],[105.92848,27.729855],[105.922937,27.746805],[105.868118,27.732504],[105.848408,27.707074],[105.76772,27.7182],[105.722756,27.706015],[105.720292,27.683759],[105.664242,27.683759],[105.62359,27.666269],[105.605112,27.715552],[105.560148,27.71979],[105.508409,27.769048],[105.44004,27.775402],[105.353809,27.748924],[105.308229,27.704955],[105.29591,27.631811],[105.304533,27.611661],[105.25649,27.582491],[105.232469,27.546945],[105.260186,27.514573],[105.234316,27.489093],[105.233084,27.436522],[105.182577,27.367451],[105.184425,27.392959],[105.120984,27.418461],[105.068013,27.418461],[105.01073,27.379143],[104.913412,27.327051],[104.871528,27.290891],[104.851818,27.299401],[104.856746,27.332368],[104.824717,27.3531],[104.77113,27.317481],[104.7545,27.345658],[104.611602,27.306846],[104.570334,27.331836],[104.539537,27.327583],[104.497037,27.414743],[104.467472,27.414211],[104.363378,27.467855],[104.30856,27.407305],[104.295625,27.37436],[104.247582,27.336621],[104.248813,27.291955],[104.210625,27.297273],[104.173053,27.263232],[104.113923,27.338216],[104.084358,27.330773],[104.01722,27.383926],[104.015372,27.429086],[103.956242,27.425367],[103.932221,27.443958],[103.905119,27.38552],[103.903271,27.347785],[103.874322,27.331304],[103.865699,27.28185],[103.80041,27.26536],[103.801641,27.250464],[103.748671,27.210021],[103.696316,27.126429],[103.63349,27.12057],[103.620555,27.096598],[103.652584,27.092868],[103.659975,27.065692],[103.614396,27.079548],[103.601461,27.061962],[103.623635,27.035312],[103.623019,27.007056],[103.675374,27.051836],[103.704939,27.049171],[103.73204,27.018785],[103.753598,26.963858],[103.775156,26.951056],[103.763453,26.905702],[103.779468,26.87421],[103.722185,26.851253],[103.705555,26.794642],[103.725265,26.742812],[103.773308,26.716621],[103.759142,26.689355],[103.748671,26.623568],[103.763453,26.585041],[103.815808,26.55239],[103.819504,26.529903],[103.865699,26.512232],[103.953163,26.521336],[104.008597,26.511697],[104.067727,26.51491],[104.068343,26.573266],[104.121314,26.638012],[104.160734,26.646571],[104.222328,26.620358],[104.268524,26.617683],[104.274683,26.633733],[104.313487,26.612867],[104.353523,26.620893],[104.398487,26.686147],[104.424356,26.709137],[104.468088,26.644431],[104.459465,26.602701],[104.488414,26.579689],[104.556783,26.590393],[104.579573,26.568449],[104.57095,26.524549],[104.598667,26.520801],[104.638703,26.477954],[104.631928,26.451702],[104.665804,26.434019],[104.664572,26.397572],[104.684283,26.3772],[104.659645,26.335373],[104.592508,26.317672],[104.542616,26.253282],[104.548776,26.226979],[104.518595,26.165762],[104.52845,26.114186],[104.499501,26.070651],[104.460081,26.085702],[104.470552,26.009352],[104.438523,25.92757],[104.414501,25.909807],[104.441602,25.868889],[104.42374,25.841961],[104.397871,25.76168],[104.370769,25.730415],[104.328886,25.760602],[104.310407,25.647901],[104.332581,25.598796],[104.389248,25.595558],[104.428668,25.576126],[104.436059,25.520512],[104.418813,25.499447],[104.434827,25.472436],[104.44961,25.495126],[104.483486,25.494585],[104.524138,25.526992],[104.556783,25.524832],[104.543232,25.400556],[104.566638,25.402719],[104.615913,25.364871],[104.646094,25.356759],[104.639935,25.295632],[104.689826,25.296173],[104.736021,25.268034],[104.816094,25.262622],[104.826565,25.235558],[104.806854,25.224189],[104.822869,25.170037],[104.801927,25.163537],[104.753884,25.214443],[104.724319,25.195491],[104.732326,25.167871],[104.695369,25.122364],[104.685514,25.078466],[104.619609,25.060577],[104.684898,25.054072],[104.713232,24.996048],[104.663957,24.964584],[104.635623,24.903803],[104.586964,24.872859],[104.539537,24.813663],[104.542616,24.75607],[104.529682,24.731611],[104.595587,24.709323],[104.628848,24.660927],[104.703377,24.645698],[104.729246,24.617953],[104.771746,24.659839],[104.841963,24.676155],[104.865985,24.730524],[104.899245,24.752809],[105.03352,24.787586],[105.026745,24.815836],[105.039064,24.872859],[105.077868,24.918459],[105.09573,24.92877],[105.131454,24.959701],[105.157324,24.958616],[105.178266,24.985199],[105.212758,24.995505],[105.251563,24.967296],[105.267577,24.929313],[105.334099,24.9266],[105.365511,24.943423],[105.428337,24.930941],[105.457286,24.87123],[105.493011,24.833217],[105.497322,24.809318],[105.573083,24.797366],[105.607576,24.803885],[105.617431,24.78161],[105.70551,24.768569],[105.767104,24.719109],[105.827466,24.702799],[105.863806,24.729437],[105.942031,24.725088],[105.961741,24.677786],[106.024566,24.633186],[106.047356,24.684312],[106.113878,24.714216],[106.150218,24.762591],[106.173008,24.760417],[106.206269,24.851139],[106.197645,24.885889],[106.145291,24.954275],[106.191486,24.95319],[106.215508,24.981944],[106.253696,24.971094],[106.304819,24.973807],[106.332536,24.988454],[106.442173,25.019369],[106.450181,25.033468],[106.519782,25.054072],[106.551195,25.082802],[106.590615,25.08768],[106.63989,25.132658],[106.644817,25.164621],[106.691013,25.179245],[106.732281,25.162454],[106.764926,25.183036],[106.787715,25.17112],[106.853005,25.186827],[106.888113,25.181953],[106.904128,25.231768],[106.933077,25.250714],[106.975577,25.232851],[107.013765,25.275611],[107.012533,25.352973],[106.987896,25.358922],[106.963874,25.437852],[106.996519,25.442716],[107.015613,25.495666],[107.066736,25.50917],[107.064272,25.559391],[107.185612,25.578825],[107.205322,25.607971],[107.228728,25.604733],[107.232423,25.556691],[107.263836,25.543193],[107.336517,25.461089],[107.308184,25.432988],[107.318039,25.401637],[107.358691,25.393528],[107.375937,25.411908],[107.420901,25.392987],[107.409198,25.347024],[107.432604,25.289139],[107.481263,25.299961],[107.489886,25.276693],[107.472024,25.213902],[107.512676,25.209029],[107.576734,25.256668],[107.599523,25.250714],[107.632168,25.310241],[107.659885,25.316192],[107.661733,25.258833],[107.696226,25.219858],[107.700537,25.194408],[107.741805,25.24043],[107.762131,25.229061],[107.760283,25.188451],[107.789233,25.15487],[107.762747,25.125073],[107.839124,25.115861],[107.872384,25.141327],[107.928435,25.155954],[108.001732,25.196574],[108.080572,25.193867],[108.115065,25.210112],[108.143398,25.269658],[108.152021,25.324306],[108.142782,25.390825],[108.193289,25.405421],[108.162492,25.444878],[108.192673,25.458928],[108.251803,25.430286],[108.241332,25.46217],[108.280752,25.48],[108.308469,25.525912],[108.348506,25.536173],[108.359592,25.513491],[108.400244,25.491344],[108.418723,25.443257],[108.471693,25.458928],[108.585642,25.365952],[108.589338,25.335125],[108.625062,25.308076],[108.62999,25.335666],[108.600425,25.432448],[108.6072,25.491885],[108.634917,25.520512],[108.68912,25.533473],[108.658323,25.550212],[108.660787,25.584763],[108.68604,25.587462],[108.68912,25.623081],[108.724844,25.634952],[108.783975,25.628477],[108.799989,25.576666],[108.781511,25.554531],[108.814772,25.526992],[108.826474,25.550212],[108.890532,25.556151],[108.8893,25.543193],[108.949046,25.557231],[109.024807,25.51241],[109.088249,25.550752],[109.051908,25.566949],[109.030966,25.629556],[109.075314,25.693749],[109.07901,25.72071],[109.043285,25.738502],[109.007561,25.734728],[108.953974,25.686738],[108.953974,25.686738],[108.900387,25.682423],[108.896076,25.71424],[108.940423,25.740119],[108.963829,25.732572],[108.999553,25.765453],[108.989698,25.778926],[109.048213,25.790781],[109.077778,25.776771],[109.095024,25.80533],[109.143683,25.795092],[109.13198,25.762758],[109.147995,25.741736],[109.206509,25.788087],[109.207125,25.740119],[109.296436,25.71424],[109.340168,25.731493],[109.327849,25.76168],[109.339552,25.83442],[109.359262,25.836036],[109.396834,25.900117],[109.435022,25.93349],[109.408537,25.967392],[109.473211,26.006663],[109.48245,26.029788],[109.452885,26.055598],[109.449805,26.101826],[109.502776,26.096451],[109.513863,26.128157],[109.47629,26.148035],[109.439334,26.238789],[109.467051,26.313917],[109.442414,26.289774],[109.369733,26.277432],[109.351255,26.264016],[109.325385,26.29031],[109.285965,26.295676],[109.271183,26.327863],[109.29582,26.350389],[109.319842,26.418477],[109.38082,26.454381],[109.362342,26.472061],[109.385747,26.493487],[109.381436,26.518659],[109.407305,26.533116],[109.390675,26.598955],[109.35495,26.658873],[109.334008,26.646036],[109.306291,26.661012],[109.283501,26.698445],[109.35495,26.693098],[109.407305,26.719829],[109.447957,26.759913],[109.486761,26.759913],[109.47629,26.829894],[109.467051,26.83203],[109.452885,26.861932],[109.436254,26.892359],[109.555131,26.946788],[109.520022,27.058764],[109.497848,27.079548],[109.486761,27.053968],[109.454733,27.069423],[109.472595,27.134951],[109.441182,27.117907],[109.415312,27.154123],[109.358646,27.153058],[109.33524,27.139212],[109.264407,27.131755],[109.239154,27.14933],[109.21698,27.114711],[109.165857,27.066758],[109.101183,27.06889],[109.128901,27.122701],[109.032814,27.104056],[109.007561,27.08008],[108.940423,27.044907],[108.942887,27.017186],[108.942887,27.017186],[108.877597,27.01612],[108.79075,27.084343],[108.878829,27.106187],[108.926873,27.160512],[108.907778,27.204699],[108.963213,27.235565],[108.983539,27.26802],[109.053756,27.293551],[109.044517,27.331304],[109.103647,27.336621],[109.142451,27.418461],[109.141835,27.448207],[109.167089,27.41793],[109.202197,27.450331],[109.245313,27.41793],[109.300132,27.423774],[109.303211,27.47582],[109.404841,27.55066],[109.461508,27.567637],[109.451037,27.586204],[109.470131,27.62863],[109.45658,27.673689],[109.470747,27.680049],[109.414081,27.725087],[109.366653,27.721909],[109.37774,27.736741],[109.332777,27.782815],[109.346943,27.838396],[109.32169,27.868027],[109.30198,27.956343],[109.319842,27.988585],[109.362342,28.007608],[109.378972,28.034551],[109.335856,28.063073],[109.298284,28.036136],[109.314298,28.103729],[109.33832,28.141731],[109.340168,28.19027],[109.367885,28.254602],[109.388211,28.268307],[109.33524,28.293605],[109.317994,28.277795],[109.275494,28.313101],[109.268719,28.33786],[109.289045,28.373673],[109.264407,28.392628],[109.260712,28.46473],[109.274262,28.494714]]],[[[109.47629,26.829894],[109.486761,26.759913],[109.52187,26.749226],[109.522486,26.749226],[109.497232,26.815474],[109.513247,26.84004],[109.509551,26.877947],[109.486761,26.895562],[109.452885,26.861932],[109.467051,26.83203],[109.47629,26.829894]]],[[[109.528645,26.743881],[109.568065,26.726243],[109.597015,26.756173],[109.554515,26.73533],[109.528645,26.743881]]]]}},{"type":"Feature","properties":{"adcode":530000,"name":"云南省","center":[102.712251,25.040609],"centroid":[101.485106,25.008643],"childrenNum":16,"level":"province","parent":{"adcode":100000},"subFeatureIndex":24,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[105.308229,27.704955],[105.290367,27.712373],[105.293447,27.770637],[105.273736,27.794992],[105.313157,27.810874],[105.25957,27.827811],[105.233084,27.895534],[105.284823,27.935725],[105.270657,27.99704],[105.247867,28.009193],[105.218302,27.990698],[105.186273,27.995454],[105.167795,28.021345],[105.186889,28.054623],[105.168411,28.071522],[105.119752,28.07205],[105.061853,28.096866],[105.002107,28.064129],[104.980549,28.063073],[104.975006,28.020816],[104.903557,27.962158],[104.918339,27.938897],[104.888158,27.914574],[104.842579,27.900294],[104.796999,27.901352],[104.761891,27.884426],[104.743413,27.901881],[104.676275,27.880723],[104.63316,27.850567],[104.607906,27.857974],[104.573413,27.840512],[104.52537,27.889187],[104.508124,27.878078],[104.44961,27.927794],[104.40095,27.952114],[104.362762,28.012891],[104.30856,28.036136],[104.304248,28.050926],[104.373233,28.051454],[104.40095,28.091586],[104.448994,28.113758],[104.444682,28.16231],[104.406494,28.173389],[104.402182,28.202928],[104.442834,28.211366],[104.462544,28.241422],[104.44961,28.269889],[104.420045,28.269889],[104.392943,28.291497],[104.384936,28.329959],[104.343052,28.334173],[104.314103,28.306778],[104.282074,28.343128],[104.254357,28.403683],[104.267908,28.499448],[104.260516,28.536257],[104.323342,28.540989],[104.355987,28.555183],[104.375697,28.5946],[104.417581,28.598279],[104.425588,28.626649],[104.372617,28.649235],[104.314719,28.615617],[104.277147,28.631902],[104.252509,28.660788],[104.230951,28.635579],[104.170589,28.642932],[104.117618,28.634003],[104.09606,28.603533],[104.05972,28.6277],[103.953779,28.600906],[103.910047,28.631377],[103.887873,28.61982],[103.850917,28.66709],[103.833054,28.605109],[103.838598,28.587244],[103.802873,28.563068],[103.781931,28.525216],[103.829975,28.459995],[103.828743,28.44],[103.860156,28.383677],[103.85338,28.356822],[103.877402,28.316262],[103.828743,28.285173],[103.770845,28.233514],[103.740048,28.23615],[103.701859,28.198709],[103.692004,28.232459],[103.643961,28.260401],[103.573128,28.230877],[103.533092,28.168641],[103.470266,28.122204],[103.430846,28.044587],[103.459179,28.021345],[103.486281,28.033495],[103.515846,27.965329],[103.55465,27.978543],[103.502295,27.910343],[103.509686,27.843687],[103.487512,27.794992],[103.461027,27.779638],[103.393274,27.709194],[103.369868,27.708664],[103.349542,27.678459],[103.29226,27.632872],[103.2861,27.561802],[103.232514,27.56976],[103.19063,27.523596],[103.144434,27.450331],[103.141355,27.420586],[103.080992,27.396679],[103.055739,27.40943],[102.989833,27.367983],[102.941174,27.405711],[102.899906,27.317481],[102.883892,27.299401],[102.883276,27.258444],[102.904218,27.227584],[102.913457,27.133886],[102.870957,27.026782],[102.894979,27.001724],[102.896211,26.91264],[102.949181,26.843244],[102.966428,26.837904],[102.991681,26.775409],[102.983674,26.76686],[103.008312,26.710741],[103.005232,26.679195],[103.026174,26.664221],[103.035413,26.556673],[103.052659,26.555602],[103.052659,26.514374],[103.030485,26.485989],[102.989833,26.482775],[102.988602,26.413117],[102.998457,26.371839],[102.975667,26.340736],[102.893131,26.338591],[102.878964,26.364332],[102.833385,26.306406],[102.785342,26.298895],[102.739762,26.268846],[102.709581,26.210336],[102.659074,26.221611],[102.60056,26.250598],[102.638748,26.307479],[102.629509,26.336982],[102.570995,26.362723],[102.542046,26.338591],[102.440416,26.300505],[102.392372,26.296749],[102.349257,26.244694],[102.245163,26.212483],[102.242699,26.190468],[102.174946,26.146961],[102.152156,26.10935],[102.107808,26.068501],[102.080091,26.065275],[102.020961,26.096451],[101.954439,26.084627],[101.929186,26.105588],[101.899621,26.099139],[101.857737,26.049146],[101.835563,26.04592],[101.839875,26.082477],[101.796759,26.114723],[101.807846,26.156093],[101.773353,26.168448],[101.737013,26.219463],[101.690202,26.241473],[101.630455,26.224832],[101.586108,26.279579],[101.597195,26.303187],[101.64031,26.318745],[101.660636,26.346635],[101.635383,26.357361],[101.637847,26.388995],[101.565782,26.454381],[101.530057,26.467239],[101.506652,26.499915],[101.458608,26.49563],[101.422884,26.53151],[101.395783,26.591998],[101.402558,26.604841],[101.461688,26.606447],[101.461072,26.640687],[101.481398,26.673313],[101.453065,26.692563],[101.513427,26.768463],[101.466,26.786629],[101.445674,26.77434],[101.458608,26.731054],[101.435819,26.740675],[101.389623,26.723036],[101.387159,26.753501],[101.358826,26.771669],[101.399478,26.841642],[101.365602,26.883819],[101.311399,26.903034],[101.267667,26.903034],[101.264587,26.955323],[101.227015,26.959057],[101.228863,26.981992],[101.136472,27.023584],[101.157414,27.094999],[101.145095,27.103523],[101.170349,27.175421],[101.167885,27.198311],[101.167885,27.198311],[101.119226,27.208957],[101.071798,27.194585],[101.042233,27.22173],[101.026219,27.270679],[101.021907,27.332899],[100.95169,27.426961],[100.936908,27.469448],[100.901183,27.453517],[100.91227,27.521473],[100.854988,27.623858],[100.827886,27.615904],[100.848212,27.672099],[100.782307,27.691708],[100.775532,27.743098],[100.757053,27.770107],[100.707162,27.800816],[100.719481,27.858503],[100.681293,27.923035],[100.634482,27.915631],[100.609228,27.859033],[100.54517,27.809286],[100.511294,27.827811],[100.504518,27.852154],[100.442924,27.86644],[100.412127,27.816167],[100.350534,27.755809],[100.327744,27.72032],[100.311729,27.724028],[100.304954,27.788639],[100.28586,27.80611],[100.30865,27.830457],[100.30865,27.861149],[100.210715,27.87702],[100.170063,27.907699],[100.196549,27.936254],[100.120788,28.018703],[100.088759,28.029269],[100.05673,28.097922],[100.021006,28.147008],[100.033325,28.184467],[100.062274,28.193962],[100.091223,28.181302],[100.102926,28.201873],[100.153433,28.208202],[100.188541,28.252493],[100.147274,28.288862],[100.176223,28.325218],[100.136803,28.349975],[100.057346,28.368934],[100.073977,28.426317],[99.990209,28.47683],[99.985281,28.529422],[99.91876,28.599329],[99.875644,28.611939],[99.873181,28.631902],[99.834376,28.628225],[99.834992,28.660788],[99.79434,28.699116],[99.755536,28.701216],[99.722275,28.757369],[99.717964,28.846521],[99.676696,28.810345],[99.625573,28.81454],[99.609559,28.784122],[99.614486,28.740054],[99.553508,28.710664],[99.53195,28.677591],[99.540573,28.623497],[99.504233,28.619294],[99.466045,28.579886],[99.463581,28.549401],[99.403219,28.546246],[99.396444,28.491032],[99.426625,28.454207],[99.404451,28.44421],[99.437095,28.398419],[99.392748,28.318369],[99.412458,28.295186],[99.374886,28.18183],[99.306516,28.227714],[99.28927,28.286227],[99.237531,28.317842],[99.229524,28.350502],[99.200575,28.365774],[99.16485,28.425264],[99.187024,28.44],[99.191952,28.494714],[99.170394,28.566221],[99.183944,28.58882],[99.147604,28.640831],[99.126662,28.698066],[99.134053,28.734806],[99.114343,28.765763],[99.103872,28.841803],[99.123582,28.890021],[99.132206,28.94869],[99.113727,29.07273],[99.118039,29.100971],[99.105104,29.162656],[99.113727,29.221171],[99.037351,29.20759],[99.024416,29.188783],[98.9813,29.204978],[98.960974,29.165792],[98.967134,29.128159],[98.991771,29.105677],[99.013329,29.036632],[98.925866,28.978536],[98.917859,28.886877],[98.973909,28.864867],[98.972677,28.832367],[98.922786,28.823978],[98.912931,28.800906],[98.852569,28.798283],[98.827932,28.821356],[98.821772,28.920931],[98.786048,28.998952],[98.757714,29.004186],[98.70228,28.9644],[98.655469,28.976966],[98.624056,28.95864],[98.6567,28.910454],[98.643766,28.895261],[98.668403,28.843376],[98.652389,28.817162],[98.683802,28.740054],[98.666555,28.712239],[98.594491,28.667615],[98.637606,28.552029],[98.619128,28.50944],[98.625903,28.489455],[98.673947,28.478934],[98.693041,28.43158],[98.740468,28.348395],[98.746628,28.321003],[98.710287,28.288862],[98.712135,28.229296],[98.649925,28.200291],[98.625903,28.165475],[98.559382,28.182885],[98.494092,28.141203],[98.464527,28.151229],[98.428803,28.104785],[98.389383,28.114814],[98.389999,28.16442],[98.370289,28.18394],[98.37768,28.246167],[98.353042,28.293078],[98.317934,28.324691],[98.301303,28.384204],[98.208913,28.358401],[98.207681,28.330486],[98.231702,28.314681],[98.266811,28.242477],[98.21692,28.212949],[98.169492,28.206093],[98.17442,28.163365],[98.139311,28.142259],[98.160253,28.101089],[98.133152,27.990698],[98.143007,27.948942],[98.187355,27.939426],[98.205217,27.889716],[98.169492,27.851096],[98.215688,27.810874],[98.234166,27.690648],[98.283441,27.654608],[98.310542,27.583552],[98.317318,27.51935],[98.337644,27.508734],[98.388767,27.515104],[98.429419,27.549068],[98.430035,27.653547],[98.444201,27.665209],[98.474998,27.634462],[98.53536,27.620676],[98.554454,27.646126],[98.587099,27.587265],[98.583404,27.571351],[98.650541,27.567637],[98.662244,27.586734],[98.706591,27.553313],[98.685034,27.484315],[98.704744,27.462014],[98.686881,27.425367],[98.702896,27.412618],[98.706591,27.362136],[98.741084,27.330241],[98.734925,27.287168],[98.717062,27.271211],[98.723222,27.221198],[98.696121,27.211086],[98.713983,27.139744],[98.712751,27.075817],[98.765722,27.05077],[98.762642,27.018252],[98.732461,27.002257],[98.757098,26.877947],[98.730613,26.851253],[98.762026,26.798916],[98.746012,26.696841],[98.770033,26.690424],[98.762642,26.660478],[98.781736,26.620893],[98.773113,26.578083],[98.753403,26.559349],[98.757098,26.491881],[98.741084,26.432947],[98.750323,26.424372],[98.733693,26.350926],[98.681338,26.308016],[98.672715,26.239863],[98.713367,26.231274],[98.735541,26.185097],[98.712751,26.156093],[98.720142,26.127082],[98.661012,26.087852],[98.656084,26.139977],[98.632679,26.145887],[98.575396,26.118485],[98.602498,26.054523],[98.614201,25.968468],[98.637606,25.971696],[98.686881,25.925955],[98.705976,25.855426],[98.677642,25.816105],[98.640686,25.798864],[98.553839,25.845731],[98.529201,25.840884],[98.476846,25.77731],[98.461448,25.735267],[98.457752,25.682963],[98.409709,25.664084],[98.402317,25.593939],[98.326557,25.566409],[98.314854,25.543193],[98.247717,25.607971],[98.170724,25.620383],[98.189818,25.569108],[98.163949,25.524292],[98.131304,25.51025],[98.15779,25.457307],[98.137464,25.381633],[98.101123,25.388662],[98.099891,25.354055],[98.06971,25.311864],[98.006884,25.298338],[98.0075,25.279399],[97.940363,25.214985],[97.904023,25.216609],[97.875689,25.25721],[97.839349,25.27074],[97.796233,25.155954],[97.743262,25.078466],[97.719857,25.080634],[97.727864,25.04377],[97.716777,24.978147],[97.729712,24.908689],[97.785762,24.876117],[97.797465,24.845709],[97.765436,24.823984],[97.680437,24.827243],[97.652103,24.790846],[97.569567,24.765852],[97.547394,24.739221],[97.569567,24.708236],[97.570799,24.602719],[97.554785,24.490577],[97.530147,24.443187],[97.588662,24.435559],[97.669966,24.452993],[97.679821,24.401228],[97.716161,24.358711],[97.662574,24.339083],[97.665038,24.296544],[97.721089,24.295999],[97.767284,24.258357],[97.729712,24.227252],[97.72848,24.183585],[97.754349,24.163929],[97.748806,24.160653],[97.743262,24.159561],[97.730944,24.113685],[97.700763,24.093473],[97.697067,24.092927],[97.637321,24.04812],[97.628698,24.004938],[97.572647,23.983068],[97.529531,23.943146],[97.5283,23.926736],[97.618227,23.888438],[97.640401,23.866001],[97.647176,23.840823],[97.684132,23.876946],[97.718009,23.867643],[97.72848,23.895551],[97.763588,23.907041],[97.795617,23.951897],[97.8104,23.943146],[97.863371,23.978693],[97.896015,23.974319],[97.902175,24.014231],[97.984095,24.031177],[97.995182,24.04648],[98.091268,24.085824],[98.096196,24.08637],[98.123297,24.092927],[98.125761,24.092927],[98.132536,24.09238],[98.19721,24.09839],[98.219999,24.113685],[98.343187,24.098936],[98.37768,24.114232],[98.48239,24.122425],[98.487933,24.123517],[98.547063,24.128433],[98.593875,24.08036],[98.646229,24.106038],[98.681954,24.100029],[98.71891,24.127887],[98.818692,24.133348],[98.841482,24.126794],[98.876591,24.15137],[98.895069,24.098936],[98.807606,24.025164],[98.773729,24.022431],[98.727533,23.970491],[98.701048,23.981427],[98.673331,23.960647],[98.701048,23.946427],[98.68565,23.90157],[98.701664,23.834254],[98.669019,23.800857],[98.696121,23.784429],[98.784816,23.781691],[98.824236,23.727462],[98.811917,23.703354],[98.835939,23.683625],[98.847026,23.632097],[98.882134,23.620035],[98.882134,23.595358],[98.844562,23.578904],[98.80391,23.540504],[98.826084,23.470257],[98.874743,23.483431],[98.912315,23.426333],[98.920938,23.360971],[98.872895,23.329651],[98.906772,23.331849],[98.936953,23.309866],[98.928946,23.26589],[98.889525,23.209249],[98.906772,23.185595],[99.002242,23.160287],[99.057677,23.164689],[99.048438,23.11461],[99.106336,23.086536],[99.187024,23.100299],[99.255393,23.077727],[99.281879,23.101399],[99.3484,23.12892],[99.380429,23.099748],[99.440791,23.079379],[99.477747,23.083233],[99.528255,23.065614],[99.517168,23.006685],[99.533798,22.961507],[99.563363,22.925684],[99.531334,22.897019],[99.446951,22.934503],[99.43648,22.913557],[99.462965,22.844635],[99.401371,22.826434],[99.385357,22.761882],[99.326842,22.751396],[99.31514,22.737598],[99.339777,22.708894],[99.385973,22.57136],[99.359487,22.535435],[99.382277,22.493418],[99.297277,22.41156],[99.251698,22.393301],[99.278183,22.34626],[99.233836,22.296434],[99.235683,22.250468],[99.207966,22.232188],[99.175321,22.185647],[99.188256,22.162924],[99.156227,22.159599],[99.219669,22.110816],[99.294814,22.109152],[99.35456,22.095845],[99.400139,22.100281],[99.486987,22.128557],[99.516552,22.099726],[99.562747,22.113034],[99.578762,22.098617],[99.581841,22.103053],[99.648979,22.100835],[99.696406,22.067562],[99.762927,22.068117],[99.870101,22.029288],[99.871333,22.067007],[99.972347,22.053141],[99.965571,22.014309],[100.000064,21.973245],[99.982202,21.919401],[99.960028,21.907186],[99.944014,21.821097],[99.991441,21.703821],[100.049339,21.669899],[100.094303,21.702709],[100.131875,21.699929],[100.169447,21.663225],[100.107853,21.585337],[100.123252,21.565302],[100.131259,21.504066],[100.168831,21.482906],[100.184846,21.516315],[100.206404,21.509634],[100.235353,21.466756],[100.298795,21.477894],[100.349302,21.528564],[100.437381,21.533017],[100.48296,21.458958],[100.526692,21.471211],[100.579047,21.451717],[100.691764,21.510748],[100.730568,21.518542],[100.753358,21.555283],[100.789082,21.570867],[100.804481,21.609821],[100.847597,21.634856],[100.870386,21.67268],[100.896872,21.68269],[100.899335,21.684915],[100.936292,21.694368],[100.937524,21.693812],[101.015132,21.707157],[101.089661,21.773865],[101.123537,21.771642],[101.111835,21.746074],[101.116762,21.691032],[101.153102,21.669343],[101.169117,21.590345],[101.146943,21.560293],[101.209153,21.55751],[101.210385,21.509077],[101.225167,21.499055],[101.193138,21.473996],[101.194986,21.424979],[101.142631,21.409379],[101.183899,21.334699],[101.244877,21.302364],[101.246725,21.275598],[101.222088,21.234324],[101.290457,21.17853],[101.387775,21.225956],[101.439514,21.227072],[101.532521,21.252174],[101.601506,21.233208],[101.588572,21.191365],[101.605818,21.172392],[101.672339,21.194713],[101.703136,21.14616],[101.76473,21.147835],[101.794911,21.208104],[101.834331,21.204756],[101.833715,21.252731],[101.791832,21.285636],[101.745636,21.297345],[101.730238,21.336929],[101.749948,21.409379],[101.741324,21.482906],[101.772737,21.512975],[101.755491,21.538027],[101.754875,21.58478],[101.804766,21.577546],[101.828788,21.617054],[101.807846,21.644313],[101.780129,21.640975],[101.76781,21.716054],[101.747484,21.729953],[101.771506,21.833319],[101.740093,21.845541],[101.735165,21.875534],[101.700057,21.897191],[101.701288,21.938832],[101.666796,21.934391],[101.606434,21.967695],[101.626144,22.005986],[101.573789,22.115251],[101.602738,22.131883],[101.596579,22.161262],[101.547304,22.238282],[101.56455,22.269299],[101.625528,22.28259],[101.671723,22.372826],[101.648318,22.400494],[101.672339,22.47517],[101.715455,22.477935],[101.774585,22.506135],[101.824476,22.45692],[101.823244,22.42705],[101.862665,22.389427],[101.901469,22.384447],[101.907628,22.437007],[101.978461,22.427603],[102.046214,22.458026],[102.131214,22.430922],[102.145381,22.397727],[102.179257,22.430369],[102.270416,22.419858],[102.25625,22.457473],[102.322771,22.554227],[102.356648,22.563623],[102.404691,22.629925],[102.384365,22.679631],[102.43672,22.699508],[102.45951,22.762986],[102.510633,22.774574],[102.551285,22.743669],[102.569763,22.701164],[102.607335,22.730975],[102.657226,22.687913],[102.688639,22.70006],[102.80074,22.620534],[102.82353,22.623296],[102.880196,22.586832],[102.892515,22.533223],[102.930703,22.482359],[102.986754,22.477935],[103.030485,22.441432],[103.081608,22.454154],[103.071753,22.488441],[103.183238,22.558649],[103.161065,22.590147],[103.195557,22.648153],[103.220195,22.643734],[103.283021,22.678526],[103.288564,22.732078],[103.321209,22.777885],[103.323057,22.807678],[103.375411,22.794989],[103.441317,22.753052],[103.436389,22.6973],[103.457947,22.658646],[103.50907,22.601198],[103.529396,22.59291],[103.580519,22.66693],[103.567585,22.701164],[103.642113,22.794989],[103.740048,22.709446],[103.743127,22.697852],[103.766533,22.688465],[103.825047,22.615562],[103.863851,22.584069],[103.875554,22.565833],[103.894032,22.564728],[103.964865,22.502265],[104.009213,22.517745],[104.009213,22.575228],[104.022148,22.593463],[104.04309,22.67687],[104.045553,22.728215],[104.089901,22.768504],[104.117618,22.808781],[104.224176,22.826434],[104.261748,22.841877],[104.274067,22.828088],[104.256821,22.77347],[104.272835,22.73815],[104.323342,22.728767],[104.375697,22.690122],[104.422508,22.734838],[104.498885,22.774574],[104.527834,22.814298],[104.596203,22.846289],[104.674428,22.817056],[104.737869,22.825882],[104.732942,22.852356],[104.760659,22.862282],[104.772362,22.893711],[104.846275,22.926235],[104.860441,22.970874],[104.821021,23.032022],[104.804391,23.110207],[104.874608,23.123417],[104.882615,23.163589],[104.912796,23.175693],[104.949136,23.152033],[104.958991,23.188896],[105.093266,23.260942],[105.122215,23.247745],[105.181962,23.279084],[105.238012,23.26424],[105.260186,23.31811],[105.325475,23.390086],[105.353809,23.362069],[105.372903,23.317561],[105.416018,23.283482],[105.445584,23.292827],[105.50225,23.202648],[105.542902,23.184495],[105.526272,23.234548],[105.560148,23.257093],[105.593409,23.312614],[105.649459,23.346136],[105.699966,23.327453],[105.694423,23.363168],[105.637757,23.404366],[105.699966,23.40162],[105.758481,23.459826],[105.805908,23.467512],[105.815763,23.507031],[105.852103,23.526786],[105.89214,23.52514],[105.913081,23.499348],[105.935871,23.508678],[105.986378,23.489469],[105.999929,23.447748],[106.039965,23.484529],[106.071994,23.495506],[106.08616,23.524043],[106.141595,23.569579],[106.120653,23.605229],[106.149602,23.665538],[106.157609,23.724175],[106.136667,23.795381],[106.192102,23.824947],[106.173008,23.861622],[106.192718,23.879135],[106.157609,23.891174],[106.128044,23.956819],[106.091088,23.998924],[106.096631,24.018058],[106.053516,24.051399],[106.04982,24.089649],[106.011632,24.099482],[105.998081,24.120786],[105.963589,24.110954],[105.919241,24.122425],[105.901995,24.099482],[105.908154,24.069432],[105.89214,24.040468],[105.859495,24.056864],[105.841633,24.03063],[105.796669,24.023524],[105.802212,24.051945],[105.765256,24.073804],[105.739387,24.059596],[105.704278,24.0667],[105.649459,24.032816],[105.628518,24.126794],[105.594641,24.137718],[105.533663,24.130071],[105.493011,24.016965],[105.406163,24.043748],[105.395692,24.065607],[105.334099,24.094566],[105.320548,24.116416],[105.273121,24.092927],[105.292831,24.074896],[105.260186,24.061236],[105.20044,24.105491],[105.182577,24.167205],[105.229389,24.165567],[105.24294,24.208695],[105.215222,24.214699],[105.164715,24.288362],[105.196744,24.326541],[105.188121,24.347261],[105.138846,24.376701],[105.111744,24.37234],[105.106817,24.414853],[105.042759,24.442097],[104.979933,24.412673],[104.930042,24.411038],[104.914028,24.426296],[104.83642,24.446456],[104.784681,24.443732],[104.765587,24.45953],[104.74834,24.435559],[104.715695,24.441552],[104.703377,24.419757],[104.721239,24.340173],[104.70892,24.321087],[104.641783,24.367979],[104.610986,24.377246],[104.63008,24.397958],[104.616529,24.421937],[104.575877,24.424661],[104.550008,24.518894],[104.520443,24.535228],[104.489646,24.653313],[104.529682,24.731611],[104.542616,24.75607],[104.539537,24.813663],[104.586964,24.872859],[104.635623,24.903803],[104.663957,24.964584],[104.713232,24.996048],[104.684898,25.054072],[104.619609,25.060577],[104.685514,25.078466],[104.695369,25.122364],[104.732326,25.167871],[104.724319,25.195491],[104.753884,25.214443],[104.801927,25.163537],[104.822869,25.170037],[104.806854,25.224189],[104.826565,25.235558],[104.816094,25.262622],[104.736021,25.268034],[104.689826,25.296173],[104.639935,25.295632],[104.646094,25.356759],[104.615913,25.364871],[104.566638,25.402719],[104.543232,25.400556],[104.556783,25.524832],[104.524138,25.526992],[104.483486,25.494585],[104.44961,25.495126],[104.434827,25.472436],[104.418813,25.499447],[104.436059,25.520512],[104.428668,25.576126],[104.389248,25.595558],[104.332581,25.598796],[104.310407,25.647901],[104.328886,25.760602],[104.370769,25.730415],[104.397871,25.76168],[104.42374,25.841961],[104.441602,25.868889],[104.414501,25.909807],[104.438523,25.92757],[104.470552,26.009352],[104.460081,26.085702],[104.499501,26.070651],[104.52845,26.114186],[104.518595,26.165762],[104.548776,26.226979],[104.542616,26.253282],[104.592508,26.317672],[104.659645,26.335373],[104.684283,26.3772],[104.664572,26.397572],[104.665804,26.434019],[104.631928,26.451702],[104.638703,26.477954],[104.598667,26.520801],[104.57095,26.524549],[104.579573,26.568449],[104.556783,26.590393],[104.488414,26.579689],[104.459465,26.602701],[104.468088,26.644431],[104.424356,26.709137],[104.398487,26.686147],[104.353523,26.620893],[104.313487,26.612867],[104.274683,26.633733],[104.268524,26.617683],[104.222328,26.620358],[104.160734,26.646571],[104.121314,26.638012],[104.068343,26.573266],[104.067727,26.51491],[104.008597,26.511697],[103.953163,26.521336],[103.865699,26.512232],[103.819504,26.529903],[103.815808,26.55239],[103.763453,26.585041],[103.748671,26.623568],[103.759142,26.689355],[103.773308,26.716621],[103.725265,26.742812],[103.705555,26.794642],[103.722185,26.851253],[103.779468,26.87421],[103.763453,26.905702],[103.775156,26.951056],[103.753598,26.963858],[103.73204,27.018785],[103.704939,27.049171],[103.675374,27.051836],[103.623019,27.007056],[103.623635,27.035312],[103.601461,27.061962],[103.614396,27.079548],[103.659975,27.065692],[103.652584,27.092868],[103.620555,27.096598],[103.63349,27.12057],[103.696316,27.126429],[103.748671,27.210021],[103.801641,27.250464],[103.80041,27.26536],[103.865699,27.28185],[103.874322,27.331304],[103.903271,27.347785],[103.905119,27.38552],[103.932221,27.443958],[103.956242,27.425367],[104.015372,27.429086],[104.01722,27.383926],[104.084358,27.330773],[104.113923,27.338216],[104.173053,27.263232],[104.210625,27.297273],[104.248813,27.291955],[104.247582,27.336621],[104.295625,27.37436],[104.30856,27.407305],[104.363378,27.467855],[104.467472,27.414211],[104.497037,27.414743],[104.539537,27.327583],[104.570334,27.331836],[104.611602,27.306846],[104.7545,27.345658],[104.77113,27.317481],[104.824717,27.3531],[104.856746,27.332368],[104.851818,27.299401],[104.871528,27.290891],[104.913412,27.327051],[105.01073,27.379143],[105.068013,27.418461],[105.120984,27.418461],[105.184425,27.392959],[105.182577,27.367451],[105.233084,27.436522],[105.234316,27.489093],[105.260186,27.514573],[105.232469,27.546945],[105.25649,27.582491],[105.304533,27.611661],[105.29591,27.631811],[105.308229,27.704955]]]]}},{"type":"Feature","properties":{"adcode":540000,"name":"西藏自治区","center":[91.132212,29.660361],"centroid":[88.388277,31.56375],"childrenNum":7,"level":"province","parent":{"adcode":100000},"subFeatureIndex":25,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[89.711414,36.093272],[89.614711,36.109712],[89.594385,36.126632],[89.490291,36.151281],[89.375727,36.228078],[89.335075,36.23725],[89.292575,36.231457],[89.232213,36.295636],[89.198952,36.260417],[89.126887,36.254626],[89.10225,36.281164],[89.054822,36.291777],[89.013554,36.315409],[88.964279,36.318785],[88.926091,36.36458],[88.870657,36.348193],[88.838628,36.353496],[88.802903,36.33807],[88.783809,36.291777],[88.766563,36.292259],[88.690186,36.367954],[88.623665,36.389636],[88.618121,36.428168],[88.573158,36.461386],[88.498629,36.446463],[88.470912,36.48208],[88.41055,36.473418],[88.356963,36.477268],[88.366202,36.458016],[88.282434,36.470049],[88.241782,36.468605],[88.222688,36.447426],[88.182652,36.452721],[88.134609,36.427205],[88.092109,36.43539],[88.006494,36.430575],[87.983088,36.437797],[87.95845,36.408423],[87.919646,36.39349],[87.838342,36.383855],[87.826023,36.391563],[87.767509,36.3747],[87.731785,36.384818],[87.6203,36.360243],[87.570409,36.342409],[87.470626,36.354459],[87.460155,36.409868],[87.426895,36.42576],[87.386859,36.412757],[87.363453,36.420463],[87.348055,36.393008],[87.292004,36.358797],[87.193454,36.349158],[87.161425,36.325535],[87.149106,36.297565],[87.08628,36.310587],[87.051788,36.2966],[86.996353,36.308658],[86.943998,36.284058],[86.931064,36.265242],[86.887332,36.262829],[86.86331,36.299977],[86.836209,36.291294],[86.746282,36.291777],[86.69947,36.24449],[86.599072,36.222285],[86.531935,36.227113],[86.515305,36.205385],[86.454943,36.221319],[86.392733,36.206834],[86.35824,36.168676],[86.2794,36.170608],[86.248603,36.141616],[86.187625,36.130983],[86.182081,36.064734],[86.199944,36.047801],[86.173458,36.008113],[86.150668,36.00424],[86.129111,35.941761],[86.093386,35.906868],[86.090306,35.876809],[86.05335,35.842857],[86.035488,35.846738],[85.949256,35.778794],[85.903677,35.78462],[85.835308,35.771996],[85.811286,35.778794],[85.691178,35.751114],[85.65299,35.731199],[85.612953,35.651486],[85.566142,35.6403],[85.518715,35.680658],[85.373969,35.700101],[85.341324,35.753543],[85.271107,35.788989],[85.146071,35.742371],[85.053065,35.752086],[84.99455,35.737028],[84.973608,35.709334],[84.920022,35.696213],[84.798066,35.647595],[84.729081,35.613546],[84.704443,35.616951],[84.628067,35.595055],[84.570168,35.588242],[84.513502,35.564391],[84.448828,35.550272],[84.475929,35.516181],[84.45314,35.473303],[84.424191,35.466479],[84.333032,35.413821],[84.274517,35.404065],[84.200605,35.381135],[84.160569,35.359663],[84.140859,35.379184],[84.095895,35.362592],[84.077417,35.400163],[84.005968,35.422599],[83.906186,35.40309],[83.885244,35.367472],[83.79778,35.354783],[83.785462,35.36308],[83.677672,35.361128],[83.622238,35.335256],[83.599448,35.351366],[83.54155,35.341603],[83.540318,35.364056],[83.502745,35.360639],[83.449159,35.382111],[83.405427,35.380648],[83.333978,35.397236],[83.280391,35.401138],[83.251442,35.417722],[83.178145,35.38943],[83.127022,35.398699],[83.088834,35.425526],[83.067892,35.46258],[82.998907,35.484512],[82.971806,35.548324],[82.981661,35.599922],[82.956407,35.636409],[82.967494,35.667532],[82.894813,35.673852],[82.873871,35.688922],[82.795031,35.688436],[82.780249,35.666073],[82.731589,35.637868],[82.652133,35.67288],[82.628727,35.692324],[82.546192,35.708362],[82.501844,35.701073],[82.468583,35.717595],[82.424852,35.712736],[82.392823,35.656349],[82.336156,35.651486],[82.350323,35.611113],[82.328149,35.559523],[82.2992,35.544916],[82.263475,35.547837],[82.234526,35.520565],[82.189563,35.513258],[82.164925,35.495719],[82.086701,35.467454],[82.071302,35.450393],[82.034346,35.451855],[82.029419,35.426013],[82.05344,35.35039],[82.030034,35.321585],[81.99123,35.30547],[81.955506,35.307423],[81.927789,35.271275],[81.853876,35.25857],[81.804601,35.270786],[81.736847,35.26248],[81.68634,35.235599],[81.513261,35.23511],[81.504638,35.279092],[81.447972,35.318167],[81.441196,35.333303],[81.385762,35.335256],[81.363588,35.354783],[81.314313,35.337209],[81.285364,35.345508],[81.26627,35.322562],[81.219458,35.319144],[81.191741,35.36552],[81.142466,35.365032],[81.103662,35.386015],[81.09935,35.40748],[81.054387,35.402602],[81.031597,35.380648],[81.030981,35.337209],[81.002648,35.334768],[81.026053,35.31133],[80.963844,35.310842],[80.924423,35.330862],[80.894242,35.324027],[80.844351,35.345508],[80.759968,35.334768],[80.689135,35.339162],[80.690982,35.364544],[80.65649,35.393821],[80.599823,35.409431],[80.56841,35.391381],[80.532686,35.404553],[80.514824,35.391869],[80.444607,35.417235],[80.432904,35.449418],[80.375006,35.387966],[80.321419,35.38699],[80.286926,35.35283],[80.267832,35.295701],[80.362687,35.20871],[80.257977,35.203331],[80.223484,35.177409],[80.23026,35.147565],[80.118159,35.066293],[80.078123,35.076578],[80.031311,35.034447],[80.04363,35.022196],[80.02392,34.971209],[80.041782,34.943252],[80.034391,34.902033],[80.003594,34.895162],[79.996819,34.856375],[79.961094,34.862759],[79.926602,34.849499],[79.947544,34.821008],[79.898268,34.732035],[79.906892,34.683821],[79.866856,34.671517],[79.88595,34.642965],[79.84345,34.55725],[79.861312,34.528166],[79.801566,34.478847],[79.735661,34.471447],[79.699936,34.477861],[79.675914,34.451216],[79.58106,34.456151],[79.545335,34.476381],[79.504683,34.45467],[79.435082,34.447761],[79.363017,34.428018],[79.326677,34.44332],[79.274322,34.435916],[79.241677,34.415183],[79.179467,34.422588],[79.161605,34.441345],[79.072294,34.412714],[79.039033,34.421601],[79.0107,34.399877],[79.048888,34.348506],[79.039649,34.33467],[79.019939,34.313417],[78.981751,34.31836],[78.958345,34.230827],[78.941099,34.212022],[78.9257,34.155584],[78.910302,34.143202],[78.878273,34.163012],[78.828998,34.125369],[78.801897,34.137258],[78.737223,34.089692],[78.661462,34.086718],[78.656535,34.030196],[78.736607,33.999937],[78.744614,33.980585],[78.734143,33.918529],[78.762476,33.90959],[78.756317,33.8773],[78.766172,33.823124],[78.758165,33.790802],[78.779723,33.73259],[78.692259,33.676331],[78.684868,33.654415],[78.713201,33.623025],[78.755085,33.623025],[78.74215,33.55323],[78.816679,33.480882],[78.84994,33.419963],[78.896751,33.41247],[78.949722,33.376495],[78.9682,33.334505],[79.022403,33.323504],[79.041497,33.268479],[79.083997,33.245459],[79.072294,33.22844],[79.10925,33.200401],[79.152366,33.184375],[79.162221,33.165841],[79.139431,33.117735],[79.162837,33.01191],[79.204721,32.964724],[79.255844,32.942628],[79.227511,32.89038],[79.237982,32.846145],[79.225047,32.784281],[79.275554,32.778746],[79.301423,32.728919],[79.27309,32.678056],[79.299575,32.637244],[79.308199,32.596918],[79.272474,32.561113],[79.252148,32.516715],[79.190554,32.511669],[79.180083,32.492994],[79.135736,32.472295],[79.124649,32.416235],[79.103091,32.369744],[79.067982,32.380863],[79.005772,32.375304],[78.970664,32.331826],[78.904142,32.374798],[78.87273,32.40512],[78.81052,32.436441],[78.782186,32.480373],[78.760629,32.563635],[78.781571,32.608009],[78.74215,32.654881],[78.741534,32.703743],[78.6861,32.680071],[78.675013,32.658408],[78.628202,32.630188],[78.588782,32.637748],[78.577695,32.615067],[78.518564,32.605993],[78.500086,32.580782],[78.424942,32.565652],[78.395377,32.530339],[78.426174,32.502584],[78.472985,32.435431],[78.458818,32.379853],[78.483456,32.357106],[78.480992,32.329297],[78.508709,32.297939],[78.475449,32.236708],[78.430485,32.212407],[78.429869,32.194683],[78.469905,32.127808],[78.509941,32.147065],[78.527188,32.11463],[78.609107,32.052768],[78.60726,32.023851],[78.705194,31.988835],[78.762476,31.947203],[78.768636,31.92638],[78.739687,31.885228],[78.665158,31.851684],[78.654687,31.819144],[78.706426,31.778453],[78.763092,31.668499],[78.798817,31.675629],[78.806824,31.64099],[78.845628,31.609905],[78.833925,31.584927],[78.779723,31.545154],[78.740303,31.532912],[78.729832,31.478316],[78.755701,31.478316],[78.792041,31.435944],[78.760013,31.392531],[78.755085,31.355742],[78.795121,31.301043],[78.859179,31.289281],[78.865338,31.312804],[78.884432,31.277006],[78.923852,31.246824],[78.930628,31.220726],[78.997765,31.158779],[78.97436,31.115751],[79.010084,31.043994],[79.059359,31.028097],[79.096931,30.992192],[79.181931,31.015788],[79.205953,31.0004],[79.227511,30.949088],[79.33222,30.969103],[79.316206,31.01784],[79.35809,31.031174],[79.404901,31.071678],[79.424611,31.061425],[79.427075,31.018353],[79.505915,31.027584],[79.550879,30.957813],[79.59769,30.925989],[79.660516,30.956787],[79.668523,30.980392],[79.729501,30.941389],[79.75845,30.936769],[79.835443,30.851006],[79.890877,30.855116],[79.913051,30.833022],[79.900732,30.7991],[79.961094,30.771337],[79.955551,30.738422],[79.970333,30.685941],[80.014065,30.661748],[80.04363,30.603559],[80.143412,30.55822],[80.214245,30.586044],[80.261673,30.566465],[80.322035,30.564403],[80.357759,30.520592],[80.43044,30.515952],[80.446454,30.495327],[80.504969,30.483466],[80.549316,30.448905],[80.585041,30.463866],[80.633084,30.458707],[80.692214,30.416913],[80.719316,30.414848],[80.81725,30.321389],[80.910873,30.30279],[80.933662,30.266614],[80.996488,30.267648],[81.034677,30.246971],[81.038372,30.205086],[81.082104,30.151281],[81.085799,30.100554],[81.110437,30.085538],[81.09627,30.052909],[81.131995,30.016124],[81.225618,30.005759],[81.256415,30.011978],[81.247792,30.032705],[81.2829,30.061197],[81.293371,30.094859],[81.269349,30.153351],[81.335871,30.149729],[81.393769,30.199396],[81.397465,30.240767],[81.419023,30.270232],[81.406088,30.291938],[81.427646,30.305373],[81.399929,30.319323],[81.406088,30.369421],[81.432573,30.379231],[81.406704,30.40401],[81.418407,30.420525],[81.454131,30.412268],[81.494783,30.381296],[81.555761,30.369421],[81.566232,30.428782],[81.613044,30.412784],[81.63029,30.446842],[81.723913,30.407623],[81.759021,30.385426],[81.872354,30.373035],[81.939491,30.344633],[81.954274,30.355995],[81.99123,30.322939],[82.022027,30.339468],[82.060215,30.332237],[82.104563,30.346182],[82.132896,30.30434],[82.11873,30.279019],[82.114418,30.226806],[82.142135,30.200948],[82.188947,30.18543],[82.207425,30.143519],[82.183403,30.12178],[82.17786,30.06793],[82.246845,30.071555],[82.311519,30.035813],[82.333693,30.045138],[82.368185,30.014051],[82.412533,30.011978],[82.431011,29.989692],[82.474743,29.973622],[82.498148,29.947698],[82.560974,29.955476],[82.609017,29.886489],[82.64351,29.868846],[82.6238,29.834588],[82.703872,29.847566],[82.737749,29.80655],[82.691553,29.766037],[82.757459,29.761881],[82.774089,29.726548],[82.816589,29.717192],[82.830756,29.687562],[82.885574,29.689122],[82.9484,29.704718],[82.966878,29.658963],[83.011226,29.667804],[83.088834,29.604863],[83.12887,29.623593],[83.159667,29.61735],[83.164595,29.595496],[83.217565,29.60018],[83.266841,29.571035],[83.27608,29.505951],[83.325355,29.502826],[83.383253,29.42206],[83.415898,29.420496],[83.423289,29.361053],[83.450391,29.332883],[83.463941,29.285916],[83.492274,29.280174],[83.548941,29.201322],[83.57789,29.203934],[83.596368,29.174153],[83.656114,29.16736],[83.667201,29.200277],[83.727563,29.244672],[83.800244,29.249372],[83.82057,29.294267],[83.851367,29.294789],[83.911729,29.323491],[83.949301,29.312533],[83.986874,29.325057],[84.002272,29.291658],[84.052163,29.296877],[84.116837,29.286438],[84.130388,29.239972],[84.203068,29.239972],[84.197525,29.210202],[84.17104,29.19453],[84.176583,29.133909],[84.20738,29.118749],[84.192597,29.084236],[84.194445,29.045004],[84.224626,29.049189],[84.248648,29.030353],[84.228322,28.949738],[84.234481,28.889497],[84.268358,28.895261],[84.330568,28.859101],[84.340423,28.866963],[84.408176,28.85386],[84.404481,28.828173],[84.434046,28.823978],[84.445133,28.764189],[84.483321,28.735331],[84.557233,28.74635],[84.620059,28.732182],[84.650856,28.714338],[84.669334,28.680742],[84.699515,28.671816],[84.698284,28.633478],[84.773428,28.610363],[84.857196,28.567798],[84.896616,28.587244],[84.981616,28.586193],[84.995782,28.611414],[85.05676,28.674441],[85.126361,28.676016],[85.155926,28.643983],[85.195963,28.624022],[85.18426,28.587244],[85.189803,28.544669],[85.160238,28.49261],[85.108499,28.461047],[85.129441,28.377885],[85.113427,28.344708],[85.179948,28.324164],[85.209513,28.338914],[85.272339,28.282538],[85.349947,28.298347],[85.379512,28.274105],[85.415853,28.321003],[85.458969,28.332593],[85.520563,28.326798],[85.602483,28.295712],[85.601251,28.254075],[85.650526,28.283592],[85.682555,28.375779],[85.720743,28.372093],[85.753388,28.227714],[85.791576,28.195544],[85.854402,28.172334],[85.871648,28.124843],[85.898749,28.101617],[85.901213,28.053566],[85.980053,27.984357],[85.949256,27.937311],[86.002227,27.90717],[86.053966,27.900823],[86.125415,27.923035],[86.082915,28.018175],[86.086611,28.090002],[86.128495,28.086835],[86.140198,28.114814],[86.19132,28.167058],[86.223965,28.092642],[86.206103,28.084195],[86.231972,27.974315],[86.27324,27.976958],[86.308965,27.950528],[86.393349,27.926736],[86.414906,27.904526],[86.450015,27.908757],[86.475884,27.944713],[86.514689,27.954757],[86.513457,27.996511],[86.537478,28.044587],[86.55842,28.047757],[86.568891,28.103201],[86.60092,28.097922],[86.611391,28.069938],[86.647732,28.06941],[86.662514,28.092114],[86.700086,28.101617],[86.74813,28.089474],[86.768456,28.06941],[86.756753,28.032967],[86.827586,28.012363],[86.864542,28.022401],[86.885484,27.995983],[86.926752,27.985942],[86.935375,27.955286],[87.035157,27.946299],[87.080737,27.910872],[87.118309,27.840512],[87.173744,27.818284],[87.227946,27.812991],[87.249504,27.839454],[87.280917,27.845275],[87.317258,27.826753],[87.364069,27.824106],[87.421967,27.856916],[87.418272,27.825694],[87.45954,27.820931],[87.58088,27.859562],[87.598126,27.814579],[87.670191,27.832045],[87.668343,27.809815],[87.727473,27.802933],[87.77798,27.860091],[87.782292,27.890774],[87.826639,27.927794],[87.930733,27.909285],[87.982472,27.884426],[88.037291,27.901881],[88.090877,27.885484],[88.111819,27.864852],[88.137689,27.878607],[88.120442,27.915103],[88.156783,27.957929],[88.203594,27.943127],[88.242398,27.967444],[88.254101,27.939426],[88.357579,27.986471],[88.401311,27.976958],[88.43334,28.002852],[88.469064,28.009721],[88.498013,28.04089],[88.554064,28.027684],[88.565151,28.083139],[88.620585,28.091586],[88.645223,28.111119],[88.67602,28.068353],[88.764099,28.068353],[88.812142,28.018175],[88.842939,28.006023],[88.846635,27.921448],[88.864497,27.921448],[88.888519,27.846863],[88.863265,27.811932],[88.870657,27.743098],[88.850331,27.710783],[88.852178,27.671039],[88.816454,27.641354],[88.813374,27.606889],[88.770874,27.563924],[88.797976,27.521473],[88.783193,27.467324],[88.809063,27.405711],[88.838012,27.37808],[88.867577,27.3818],[88.901453,27.327583],[88.920548,27.325456],[88.911924,27.272807],[88.942105,27.261636],[88.984605,27.208957],[89.067757,27.240354],[89.077612,27.287168],[89.152757,27.319076],[89.182938,27.373829],[89.132431,27.441302],[89.095474,27.471572],[89.109025,27.537925],[89.163228,27.574534],[89.128735,27.611131],[89.131815,27.633402],[89.184786,27.673689],[89.238988,27.796581],[89.295655,27.84845],[89.375727,27.875962],[89.44348,27.968501],[89.461958,28.03191],[89.511233,28.086307],[89.541414,28.088418],[89.605472,28.161782],[89.720037,28.170224],[89.779167,28.197127],[89.789638,28.240895],[89.869094,28.221386],[89.901739,28.18183],[89.976268,28.189215],[90.017536,28.162837],[90.03355,28.136981],[90.07297,28.155451],[90.103151,28.141731],[90.124709,28.190797],[90.166593,28.187632],[90.189999,28.161782],[90.231882,28.144897],[90.297172,28.153868],[90.367389,28.088946],[90.384019,28.06096],[90.43699,28.063073],[90.47949,28.044587],[90.513983,28.062016],[90.569417,28.044059],[90.591591,28.021345],[90.701844,28.076274],[90.741264,28.053038],[90.802242,28.040362],[90.806554,28.015005],[90.853365,27.969029],[90.896481,27.946299],[90.96177,27.9537],[90.976553,27.935725],[90.96485,27.900294],[91.025828,27.857445],[91.113292,27.846333],[91.155175,27.894476],[91.147784,27.927794],[91.162567,27.968501],[91.216153,27.989113],[91.251878,27.970615],[91.309776,28.057791],[91.464993,28.002852],[91.490246,27.971672],[91.486551,27.937311],[91.552456,27.90717],[91.611586,27.891303],[91.618978,27.856916],[91.561079,27.855329],[91.544449,27.820401],[91.610355,27.819343],[91.642383,27.7664],[91.622673,27.692238],[91.570934,27.650897],[91.562311,27.627569],[91.582637,27.598933],[91.564775,27.58196],[91.585101,27.540578],[91.626985,27.509265],[91.663325,27.507142],[91.71876,27.467324],[91.753868,27.462545],[91.839484,27.489624],[91.946657,27.464138],[92.010715,27.474758],[92.021802,27.444489],[92.064918,27.391365],[92.125896,27.273339],[92.091403,27.264296],[92.071077,27.237694],[92.061222,27.190327],[92.032273,27.167967],[92.02673,27.108318],[92.043976,27.052902],[92.076005,27.041175],[92.124664,26.960124],[92.109265,26.854991],[92.197961,26.86994],[92.28604,26.892359],[92.404916,26.9025],[92.496691,26.921711],[92.549046,26.941453],[92.64698,26.952656],[92.682089,26.947855],[92.802813,26.895028],[92.909371,26.914241],[93.050421,26.883819],[93.111399,26.880082],[93.232739,26.906769],[93.56781,26.938252],[93.625092,26.955323],[93.747048,27.015587],[93.817265,27.025183],[93.841903,27.045973],[93.849294,27.168499],[93.970634,27.30525],[94.056866,27.375423],[94.147409,27.458297],[94.220705,27.536333],[94.277372,27.58143],[94.353132,27.578778],[94.399944,27.589386],[94.443675,27.585143],[94.478168,27.602116],[94.524979,27.596282],[94.660486,27.650367],[94.722696,27.683759],[94.78121,27.699127],[94.836645,27.728796],[94.88592,27.743098],[94.947514,27.792345],[95.015267,27.82887],[95.067006,27.840512],[95.28628,27.939955],[95.32878,28.017646],[95.352802,28.04089],[95.371896,28.110063],[95.39715,28.142259],[95.437802,28.161782],[95.528345,28.182885],[95.674322,28.254075],[95.740228,28.275159],[95.787655,28.270416],[95.832003,28.295186],[95.874502,28.29782],[95.899756,28.278322],[95.907763,28.241422],[95.936096,28.240368],[95.989067,28.198181],[96.074683,28.193434],[96.098088,28.212421],[96.194175,28.212949],[96.275479,28.228241],[96.298269,28.140148],[96.367254,28.118509],[96.398667,28.118509],[96.395587,28.143842],[96.426384,28.161782],[96.46334,28.143314],[96.499681,28.067297],[96.538485,28.075218],[96.623485,28.024514],[96.635188,27.994926],[96.690622,27.948942],[96.711564,27.9574],[96.784245,27.931495],[96.810114,27.890245],[96.849534,27.874375],[96.908049,27.884426],[96.972722,27.861149],[97.008447,27.807698],[97.049099,27.81405],[97.062649,27.742568],[97.097758,27.740979],[97.103301,27.780697],[97.167975,27.811932],[97.253591,27.891832],[97.303482,27.913516],[97.324424,27.880723],[97.386634,27.882839],[97.372467,27.907699],[97.379242,27.970087],[97.413119,28.01342],[97.378626,28.031382],[97.375547,28.062545],[97.320728,28.054095],[97.305945,28.071522],[97.340438,28.104785],[97.326887,28.132759],[97.352757,28.149646],[97.362612,28.199236],[97.349677,28.235623],[97.398336,28.238786],[97.402032,28.279903],[97.422358,28.297293],[97.461162,28.26778],[97.469169,28.30309],[97.518445,28.327852],[97.488879,28.347341],[97.485184,28.38631],[97.499966,28.428948],[97.521524,28.444736],[97.507974,28.46473],[97.521524,28.495766],[97.569567,28.541515],[97.60406,28.515225],[97.634857,28.532051],[97.68598,28.519958],[97.737103,28.465782],[97.738335,28.396313],[97.769748,28.3742],[97.801161,28.326798],[97.842429,28.326798],[97.871378,28.361561],[97.907718,28.363141],[98.020435,28.253548],[98.008116,28.214003],[98.03337,28.187105],[98.056775,28.202401],[98.090036,28.195544],[98.097427,28.166531],[98.139311,28.142259],[98.17442,28.163365],[98.169492,28.206093],[98.21692,28.212949],[98.266811,28.242477],[98.231702,28.314681],[98.207681,28.330486],[98.208913,28.358401],[98.301303,28.384204],[98.317934,28.324691],[98.353042,28.293078],[98.37768,28.246167],[98.370289,28.18394],[98.389999,28.16442],[98.389383,28.114814],[98.428803,28.104785],[98.464527,28.151229],[98.494092,28.141203],[98.559382,28.182885],[98.625903,28.165475],[98.649925,28.200291],[98.712135,28.229296],[98.710287,28.288862],[98.746628,28.321003],[98.740468,28.348395],[98.693041,28.43158],[98.673947,28.478934],[98.625903,28.489455],[98.619128,28.50944],[98.637606,28.552029],[98.594491,28.667615],[98.666555,28.712239],[98.683802,28.740054],[98.652389,28.817162],[98.668403,28.843376],[98.643766,28.895261],[98.6567,28.910454],[98.624056,28.95864],[98.655469,28.976966],[98.70228,28.9644],[98.757714,29.004186],[98.786048,28.998952],[98.821772,28.920931],[98.827932,28.821356],[98.852569,28.798283],[98.912931,28.800906],[98.922786,28.823978],[98.972677,28.832367],[98.973909,28.864867],[98.917859,28.886877],[98.925866,28.978536],[99.013329,29.036632],[98.991771,29.105677],[98.967134,29.128159],[98.960974,29.165792],[98.9813,29.204978],[99.024416,29.188783],[99.037351,29.20759],[99.113727,29.221171],[99.114343,29.243628],[99.075539,29.316186],[99.058909,29.417368],[99.066916,29.421018],[99.044742,29.520013],[99.052133,29.563748],[99.014561,29.607464],[98.992387,29.677163],[99.018873,29.792009],[99.0238,29.846009],[99.068148,29.931621],[99.055213,29.958587],[99.036735,30.053945],[99.044742,30.079842],[98.989308,30.151799],[98.9813,30.182843],[98.993003,30.215429],[98.970829,30.260928],[98.986844,30.280569],[98.967134,30.33482],[98.965286,30.449937],[98.932025,30.521623],[98.926482,30.569556],[98.939417,30.598923],[98.92217,30.609225],[98.907388,30.698292],[98.963438,30.728134],[98.957895,30.765166],[98.904924,30.782649],[98.850105,30.849465],[98.797135,30.87926],[98.774345,30.908019],[98.797135,30.948575],[98.806374,30.995783],[98.774961,31.031174],[98.736772,31.049121],[98.712135,31.082954],[98.710287,31.1178],[98.675179,31.15417],[98.602498,31.192062],[98.62344,31.221238],[98.60373,31.257568],[98.616048,31.3036],[98.643766,31.338876],[98.691809,31.333253],[98.773113,31.249382],[98.805758,31.279052],[98.810685,31.306668],[98.887062,31.37465],[98.84333,31.416028],[98.844562,31.429817],[98.714599,31.508935],[98.696736,31.538523],[98.651157,31.57881],[98.619128,31.591555],[98.553839,31.660349],[98.545831,31.717383],[98.516882,31.717383],[98.508875,31.751995],[98.461448,31.800327],[98.414636,31.832365],[98.426339,31.856767],[98.399238,31.895899],[98.432498,31.922825],[98.434962,32.007613],[98.402933,32.026896],[98.404781,32.045159],[98.357354,32.087253],[98.303151,32.121726],[98.260035,32.208862],[98.218768,32.234683],[98.23047,32.262521],[98.208913,32.318171],[98.218768,32.342444],[98.125145,32.401077],[98.107283,32.391476],[98.079565,32.415224],[97.940363,32.482393],[97.880001,32.486431],[97.863986,32.499051],[97.80732,32.50006],[97.795617,32.521257],[97.730944,32.527312],[97.684132,32.530339],[97.670582,32.51722],[97.540618,32.536899],[97.50243,32.530844],[97.463626,32.55506],[97.448843,32.586833],[97.411887,32.575235],[97.374315,32.546484],[97.3583,32.563635],[97.332431,32.542448],[97.334895,32.514192],[97.388481,32.501575],[97.341054,32.440987],[97.387865,32.427349],[97.424822,32.322723],[97.415583,32.296421],[97.371235,32.273148],[97.32196,32.303503],[97.299786,32.294904],[97.264062,32.182527],[97.271453,32.139971],[97.313953,32.130342],[97.293011,32.096887],[97.308409,32.076605],[97.258518,32.072041],[97.219714,32.109054],[97.201852,32.090296],[97.233881,32.063927],[97.214786,32.042623],[97.188301,32.055304],[97.169823,32.032984],[97.127323,32.044145],[97.028773,32.04871],[97.006599,32.067984],[96.935766,32.048203],[96.965947,32.008628],[96.941925,31.986297],[96.894498,32.013703],[96.863085,31.996448],[96.868629,31.964975],[96.824281,32.007613],[96.722651,32.013195],[96.742977,32.001016],[96.753448,31.944156],[96.776238,31.935015],[96.81073,31.894375],[96.794716,31.869474],[96.760223,31.860325],[96.765767,31.819144],[96.799027,31.792188],[96.840295,31.720438],[96.790404,31.698545],[96.778701,31.675629],[96.722651,31.686833],[96.691854,31.722474],[96.661057,31.705674],[96.615477,31.737236],[96.56805,31.711783],[96.519391,31.74945],[96.468884,31.769804],[96.435623,31.796258],[96.407906,31.845583],[96.389428,31.919777],[96.288414,31.919777],[96.253305,31.929936],[96.220044,31.905553],[96.188632,31.904028],[96.214501,31.876589],[96.202798,31.841008],[96.183088,31.835924],[96.178161,31.775401],[96.231131,31.749959],[96.222508,31.733164],[96.252073,31.697527],[96.245298,31.657802],[96.221892,31.647613],[96.207726,31.598691],[96.156603,31.602769],[96.148595,31.686324],[96.135661,31.70211],[96.064828,31.720438],[95.989067,31.78761],[95.983524,31.816601],[95.89914,31.81711],[95.846169,31.736218],[95.853561,31.714329],[95.823995,31.68225],[95.779648,31.748941],[95.634286,31.782523],[95.580083,31.76726],[95.546823,31.73978],[95.511714,31.750468],[95.480301,31.795749],[95.456896,31.801853],[95.406389,31.896915],[95.408852,31.918761],[95.3682,31.92892],[95.360809,31.95939],[95.395918,32.001523],[95.454432,32.007613],[95.421171,32.033999],[95.454432,32.061898],[95.440265,32.157705],[95.406389,32.182021],[95.367584,32.178982],[95.366968,32.151118],[95.31523,32.148585],[95.270266,32.194683],[95.270266,32.194683],[95.239469,32.287315],[95.241317,32.3207],[95.214216,32.321712],[95.20744,32.297433],[95.10581,32.258979],[95.079325,32.279726],[95.096571,32.322217],[95.193274,32.332331],[95.261643,32.348006],[95.228382,32.363678],[95.218527,32.397035],[95.153853,32.386423],[95.081789,32.384907],[95.075013,32.376315],[95.075013,32.376315],[95.057151,32.395014],[94.988166,32.422802],[94.944434,32.404109],[94.912405,32.41573],[94.889616,32.472295],[94.852043,32.463712],[94.80708,32.486431],[94.78737,32.522266],[94.762116,32.526303],[94.737479,32.587338],[94.638312,32.645307],[94.614291,32.673522],[94.591501,32.640772],[94.522516,32.595909],[94.459074,32.599439],[94.463386,32.572209],[94.435052,32.562626],[94.395016,32.594397],[94.371611,32.524789],[94.350053,32.533871],[94.294002,32.519743],[94.292154,32.502584],[94.250886,32.51722],[94.196684,32.51621],[94.176974,32.454117],[94.137554,32.433915],[94.091974,32.463207],[94.049474,32.469771],[94.03038,32.448057],[93.978641,32.459672],[93.960163,32.484917],[93.90904,32.463207],[93.861613,32.466237],[93.851142,32.50965],[93.820345,32.549511],[93.75136,32.56313],[93.721795,32.578261],[93.651577,32.571705],[93.618933,32.522771],[93.516687,32.47583],[93.501904,32.503593],[93.476651,32.504603],[93.4631,32.556069],[93.411977,32.558086],[93.385492,32.525294],[93.33868,32.5712],[93.308499,32.580278],[93.300492,32.619604],[93.260456,32.62666],[93.239514,32.662439],[93.210565,32.655385],[93.176688,32.6705],[93.159442,32.644803],[93.087993,32.63674],[93.069515,32.626156],[93.023935,32.703239],[93.019624,32.737477],[93.00053,32.741001],[92.964189,32.714821],[92.933392,32.719353],[92.866871,32.698203],[92.822523,32.729926],[92.789262,32.719856],[92.756618,32.743014],[92.686401,32.76516],[92.667922,32.73194],[92.634662,32.720863],[92.574916,32.741001],[92.56814,32.73194],[92.484372,32.745028],[92.459119,32.76365],[92.411076,32.748048],[92.355641,32.764657],[92.343938,32.738484],[92.310062,32.751571],[92.255243,32.720863],[92.198577,32.754591],[92.211511,32.788306],[92.193649,32.801889],[92.227526,32.821003],[92.205352,32.866255],[92.145606,32.885857],[92.101874,32.860222],[92.038432,32.860725],[92.018722,32.829552],[91.955897,32.8205],[91.896766,32.907967],[91.857962,32.90244],[91.839484,32.948152],[91.799448,32.942126],[91.752637,32.969242],[91.685499,32.989324],[91.664557,33.012913],[91.583253,33.0375],[91.55492,33.060074],[91.535826,33.10019],[91.49579,33.109214],[91.436044,33.066092],[91.370138,33.100691],[91.311624,33.108211],[91.261733,33.141291],[91.226624,33.141792],[91.18782,33.106206],[91.161335,33.108712],[91.147784,33.07211],[91.072024,33.113224],[91.037531,33.098686],[91.001807,33.11573],[90.927894,33.120241],[90.902024,33.083143],[90.88293,33.120241],[90.803474,33.114227],[90.740032,33.142293],[90.704308,33.135778],[90.627315,33.180368],[90.562642,33.229441],[90.490577,33.264977],[90.405577,33.260473],[90.363077,33.279487],[90.332896,33.310501],[90.246665,33.423959],[90.22018,33.437943],[90.107463,33.460913],[90.088984,33.478885],[90.083441,33.525295],[90.01076,33.553728],[89.984275,33.612061],[90.008296,33.687785],[89.981195,33.70322],[89.983659,33.725622],[89.907282,33.741051],[89.902355,33.758467],[89.942391,33.801246],[89.899891,33.80771],[89.837065,33.868853],[89.795181,33.865374],[89.73174,33.921509],[89.718805,33.946832],[89.688008,33.959739],[89.684928,33.990013],[89.635037,34.049537],[89.656595,34.057966],[89.655979,34.097126],[89.71203,34.131809],[89.756993,34.124874],[89.760073,34.152613],[89.789638,34.150632],[89.816739,34.16945],[89.838297,34.263477],[89.825362,34.293642],[89.86663,34.324785],[89.858623,34.359375],[89.820435,34.369255],[89.799493,34.39642],[89.819819,34.420614],[89.823515,34.455657],[89.814891,34.548871],[89.777935,34.574499],[89.798877,34.628686],[89.74837,34.641981],[89.72558,34.660689],[89.732356,34.732035],[89.799493,34.743838],[89.825978,34.796931],[89.867862,34.81069],[89.838913,34.865705],[89.814891,34.86816],[89.821051,34.902033],[89.78779,34.921664],[89.747138,34.903506],[89.707102,34.919701],[89.670146,34.887798],[89.578987,34.895162],[89.560509,34.938836],[89.59069,35.057965],[89.593153,35.104491],[89.579603,35.118688],[89.519241,35.133862],[89.46935,35.214577],[89.450255,35.223867],[89.48598,35.256616],[89.531559,35.276161],[89.494603,35.298632],[89.516161,35.330862],[89.497067,35.361128],[89.58761,35.383575],[89.619639,35.412357],[89.658443,35.425526],[89.685544,35.416259],[89.739131,35.468429],[89.765,35.482563],[89.740979,35.507412],[89.720037,35.501566],[89.699711,35.544916],[89.71203,35.581915],[89.75145,35.580942],[89.765616,35.599922],[89.726196,35.648082],[89.748986,35.66267],[89.747138,35.7516],[89.782863,35.773453],[89.767464,35.799183],[89.801957,35.848193],[89.778551,35.861775],[89.707718,35.849163],[89.654747,35.848193],[89.62395,35.859349],[89.550654,35.856924],[89.554965,35.873414],[89.489676,35.903475],[89.428082,35.917531],[89.434857,35.992136],[89.404676,36.016827],[89.417611,36.044897],[89.474893,36.022151],[89.605472,36.038123],[89.688624,36.091337],[89.711414,36.093272]]]]}},{"type":"Feature","properties":{"adcode":610000,"name":"陕西省","center":[108.948024,34.263161],"centroid":[108.887114,35.263661],"childrenNum":10,"level":"province","parent":{"adcode":100000},"subFeatureIndex":26,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[110.379257,34.600612],[110.29549,34.610956],[110.269004,34.629671],[110.229584,34.692679],[110.243135,34.725641],[110.246831,34.789068],[110.230816,34.880925],[110.262229,34.944233],[110.320743,35.00504],[110.373714,35.134351],[110.364475,35.197952],[110.378642,35.210666],[110.374946,35.251728],[110.45009,35.327933],[110.477808,35.413821],[110.531394,35.511309],[110.567735,35.539559],[110.589293,35.602355],[110.609619,35.632031],[110.57759,35.701559],[110.571431,35.800639],[110.550489,35.838005],[110.549257,35.877778],[110.511684,35.879718],[110.516612,35.918501],[110.502445,35.947575],[110.516612,35.971796],[110.49259,35.994073],[110.491974,36.034735],[110.467953,36.074893],[110.447011,36.164328],[110.45625,36.22663],[110.474112,36.248352],[110.474112,36.306729],[110.459946,36.327946],[110.487047,36.393972],[110.489511,36.430094],[110.47288,36.453203],[110.503677,36.488335],[110.488895,36.556628],[110.496902,36.582102],[110.447627,36.621018],[110.426685,36.657514],[110.394656,36.676716],[110.402663,36.697352],[110.438388,36.685835],[110.447011,36.737649],[110.407591,36.776007],[110.423605,36.818179],[110.406975,36.824886],[110.424221,36.855539],[110.376178,36.882351],[110.408823,36.892403],[110.424221,36.963685],[110.381721,37.002408],[110.382953,37.022001],[110.426685,37.008621],[110.417446,37.027257],[110.460561,37.044932],[110.49567,37.086956],[110.535706,37.115118],[110.53509,37.138021],[110.590525,37.187145],[110.651503,37.256722],[110.661974,37.281963],[110.690307,37.287201],[110.678604,37.317668],[110.695234,37.34955],[110.641648,37.360015],[110.630561,37.372858],[110.644111,37.435135],[110.740198,37.44939],[110.759292,37.474567],[110.770995,37.538184],[110.795017,37.558586],[110.771611,37.594634],[110.763604,37.639668],[110.793169,37.650567],[110.775306,37.680886],[110.706321,37.705511],[110.716792,37.728708],[110.750669,37.736281],[110.735886,37.77035],[110.680452,37.790216],[110.59422,37.922049],[110.522771,37.955088],[110.528315,37.990471],[110.507989,38.013107],[110.501829,38.097929],[110.519692,38.130889],[110.509221,38.192061],[110.528315,38.211814],[110.565887,38.215105],[110.57759,38.297345],[110.601612,38.308147],[110.661358,38.308617],[110.701394,38.353215],[110.746973,38.366355],[110.77777,38.440924],[110.796864,38.453579],[110.840596,38.439986],[110.874473,38.453579],[110.870777,38.510265],[110.907733,38.521035],[110.920052,38.581878],[110.898494,38.587024],[110.880632,38.626776],[110.916357,38.673981],[110.915125,38.704345],[110.965016,38.755699],[111.009363,38.847579],[110.995813,38.868084],[111.016755,38.889981],[111.009979,38.932823],[110.980414,38.970056],[110.998276,38.998433],[111.038313,39.020289],[111.094363,39.030053],[111.138095,39.064447],[111.147334,39.100681],[111.173819,39.135041],[111.163348,39.152678],[111.219399,39.244044],[111.213239,39.257021],[111.247732,39.302419],[111.202152,39.305197],[111.179363,39.326959],[111.186138,39.35149],[111.155341,39.338531],[111.159037,39.362596],[111.125776,39.366297],[111.087588,39.376013],[111.098059,39.401914],[111.064182,39.400989],[111.058639,39.447681],[111.10545,39.472631],[111.10545,39.497573],[111.148566,39.531277],[111.154725,39.569116],[111.136863,39.587106],[111.101138,39.559428],[111.017371,39.552045],[110.958856,39.519275],[110.891103,39.509118],[110.869545,39.494341],[110.782698,39.38804],[110.73835,39.348713],[110.731575,39.30705],[110.702626,39.273701],[110.626249,39.266751],[110.596684,39.282966],[110.566503,39.320014],[110.559728,39.351027],[110.524003,39.382952],[110.482735,39.360745],[110.434692,39.381101],[110.429764,39.341308],[110.385417,39.310291],[110.257917,39.407001],[110.243751,39.423645],[110.152592,39.45415],[110.12549,39.432891],[110.136577,39.39174],[110.161831,39.387115],[110.184005,39.355192],[110.217881,39.281113],[110.109476,39.249606],[110.041107,39.21623],[109.962267,39.212056],[109.90252,39.271848],[109.871723,39.243581],[109.961035,39.191651],[109.893897,39.141075],[109.92223,39.107183],[109.890818,39.103932],[109.851397,39.122971],[109.793499,39.074204],[109.762086,39.057476],[109.72513,39.018429],[109.665384,38.981687],[109.685094,38.968195],[109.672159,38.928167],[109.624116,38.85457],[109.549587,38.805618],[109.511399,38.833595],[109.444262,38.782763],[109.404226,38.720689],[109.338936,38.701542],[109.329081,38.66043],[109.367269,38.627711],[109.331545,38.597783],[109.276726,38.623035],[109.196654,38.552867],[109.175712,38.518694],[109.128901,38.480288],[109.054372,38.433892],[109.051292,38.385122],[109.007561,38.359316],[108.961981,38.26493],[108.976148,38.245192],[108.938575,38.207582],[108.964445,38.154894],[109.069155,38.091336],[109.050676,38.055059],[109.06977,38.023008],[109.037742,38.021593],[109.018648,37.971602],[108.982923,37.964053],[108.9743,37.931962],[108.93488,37.922521],[108.893612,37.978207],[108.883141,38.01405],[108.830786,38.049875],[108.797525,38.04799],[108.82709,37.989056],[108.798141,37.93385],[108.791982,37.872934],[108.799989,37.784068],[108.784591,37.764673],[108.791982,37.700303],[108.777815,37.683728],[108.720533,37.683728],[108.699591,37.669518],[108.628142,37.651988],[108.532671,37.690832],[108.485244,37.678044],[108.422418,37.648672],[108.301078,37.640616],[108.293071,37.656726],[108.24626,37.665728],[108.205608,37.655779],[108.193905,37.638246],[108.134159,37.622131],[108.055318,37.652462],[108.025137,37.649619],[108.012819,37.66857],[108.025753,37.696041],[107.993109,37.735335],[107.982022,37.787378],[107.884703,37.808186],[107.842819,37.828987],[107.732566,37.84931],[107.684523,37.888522],[107.65003,37.86443],[107.659269,37.844112],[107.646335,37.805349],[107.620465,37.776026],[107.599523,37.791162],[107.57119,37.776499],[107.499125,37.765619],[107.484959,37.706458],[107.425828,37.684201],[107.387024,37.691305],[107.389488,37.671413],[107.422133,37.665254],[107.361155,37.613125],[107.311264,37.609806],[107.330358,37.584201],[107.369162,37.58752],[107.345756,37.518725],[107.284162,37.481691],[107.282931,37.437036],[107.257677,37.337179],[107.273075,37.29101],[107.309416,37.239095],[107.270612,37.229089],[107.317423,37.200017],[107.336517,37.165687],[107.334669,37.138975],[107.306952,37.100799],[107.281083,37.127047],[107.268764,37.099367],[107.28601,37.054963],[107.288474,37.008143],[107.288474,37.008143],[107.291554,36.979463],[107.291554,36.979463],[107.310032,36.912502],[107.336517,36.925899],[107.365466,36.905324],[107.478183,36.908196],[107.533618,36.867031],[107.540393,36.828718],[107.5909,36.836382],[107.642023,36.819137],[107.670356,36.83303],[107.722095,36.802367],[107.742421,36.811951],[107.768291,36.792783],[107.866841,36.766899],[107.907493,36.750118],[107.914268,36.720861],[107.940754,36.694953],[107.938906,36.655594],[108.006659,36.683435],[108.02329,36.647912],[108.001732,36.639269],[108.060862,36.592194],[108.079956,36.614294],[108.092891,36.587388],[108.163724,36.563839],[108.1976,36.630144],[108.222854,36.631105],[108.204992,36.606607],[108.204992,36.606607],[108.210535,36.577296],[108.245644,36.571048],[108.262274,36.549417],[108.340498,36.559032],[108.365136,36.519603],[108.391621,36.505654],[108.408252,36.45946],[108.460606,36.422871],[108.495099,36.422389],[108.514809,36.445501],[108.510498,36.47438],[108.562852,36.43876],[108.618903,36.433946],[108.651548,36.384818],[108.641693,36.359279],[108.646004,36.254143],[108.712526,36.138716],[108.682345,36.062316],[108.688504,36.021183],[108.659555,35.990683],[108.652164,35.94806],[108.593649,35.950967],[108.562852,35.921409],[108.518505,35.905414],[108.499411,35.872444],[108.527744,35.82442],[108.533903,35.746257],[108.517889,35.699615],[108.539447,35.605761],[108.618287,35.557088],[108.625678,35.537124],[108.605968,35.503028],[108.631222,35.418698],[108.61028,35.355271],[108.614591,35.328909],[108.583178,35.294724],[108.547454,35.304981],[108.48894,35.275184],[108.36144,35.279581],[108.345426,35.300586],[108.296767,35.267855],[108.239484,35.256127],[108.221622,35.296678],[108.174811,35.304981],[108.094739,35.280069],[108.049159,35.253683],[107.949993,35.245375],[107.960464,35.263457],[107.867457,35.256127],[107.841587,35.276649],[107.745501,35.311819],[107.737494,35.267366],[107.667277,35.257104],[107.652494,35.244886],[107.686371,35.218],[107.715936,35.168114],[107.727639,35.120157],[107.769523,35.064333],[107.769523,35.064333],[107.773218,35.060904],[107.773218,35.060904],[107.814486,35.024646],[107.846515,35.024646],[107.863145,34.999158],[107.842203,34.979056],[107.741805,34.953553],[107.675284,34.9511],[107.638943,34.935402],[107.619849,34.964834],[107.564415,34.968757],[107.523763,34.909886],[107.455394,34.916757],[107.400575,34.932949],[107.369162,34.917738],[107.350068,34.93393],[107.286626,34.931968],[107.252749,34.880925],[107.189308,34.893198],[107.162206,34.944233],[107.119707,34.950119],[107.089526,34.976604],[107.08275,35.024156],[107.012533,35.029547],[106.990975,35.068252],[106.950323,35.066782],[106.901664,35.094698],[106.838222,35.080007],[106.710723,35.100574],[106.706411,35.081966],[106.615252,35.071191],[106.577064,35.089312],[106.541956,35.083925],[106.52163,35.027587],[106.494528,35.006021],[106.494528,35.006021],[106.484673,34.983959],[106.493296,34.941289],[106.527789,34.876507],[106.556122,34.861285],[106.550579,34.82936],[106.575216,34.769897],[106.539492,34.745805],[106.505615,34.746789],[106.487137,34.715311],[106.456956,34.703996],[106.442173,34.675455],[106.471122,34.634102],[106.419384,34.643458],[106.314058,34.578934],[106.341159,34.568093],[106.334384,34.517811],[106.455108,34.531617],[106.514238,34.511894],[106.513622,34.498085],[106.558586,34.48822],[106.610941,34.454177],[106.638042,34.391481],[106.717498,34.369255],[106.691013,34.337635],[106.705179,34.299575],[106.68239,34.256057],[106.652825,34.24369],[106.63373,34.260014],[106.589383,34.253584],[106.577064,34.280786],[106.526557,34.292159],[106.496376,34.238248],[106.5321,34.254079],[106.55797,34.229837],[106.585071,34.149641],[106.560434,34.109514],[106.501919,34.105055],[106.505615,34.056479],[106.471738,34.024244],[106.474202,33.970659],[106.41076,33.909093],[106.428007,33.866368],[106.475434,33.875809],[106.491448,33.834559],[106.461883,33.789807],[106.488369,33.757969],[106.482825,33.707203],[106.534564,33.695254],[106.575832,33.631497],[106.58076,33.576169],[106.540108,33.512822],[106.456956,33.532779],[106.447101,33.613058],[106.384891,33.612061],[106.35163,33.587137],[106.303587,33.604585],[106.237681,33.564201],[106.187174,33.546746],[106.108334,33.569686],[106.117573,33.602591],[106.086776,33.617045],[106.047356,33.610067],[105.971596,33.613058],[105.940183,33.570684],[105.902611,33.556222],[105.871198,33.511325],[105.842248,33.489866],[105.831162,33.451926],[105.837937,33.410971],[105.827466,33.379993],[105.709822,33.382991],[105.755401,33.329004],[105.752937,33.291994],[105.791741,33.278486],[105.799133,33.258471],[105.862574,33.234447],[105.917393,33.237951],[105.965436,33.204407],[105.968516,33.154318],[105.93156,33.178365],[105.897067,33.146803],[105.923552,33.147805],[105.934639,33.112221],[105.914929,33.066092],[105.926632,33.042517],[105.917393,32.993841],[105.861959,32.939112],[105.82685,32.950663],[105.735691,32.905454],[105.656851,32.895405],[105.638373,32.879323],[105.590329,32.87681],[105.565692,32.906962],[105.528119,32.919019],[105.49917,32.911986],[105.495475,32.873292],[105.524424,32.847654],[105.534279,32.790822],[105.555221,32.794343],[105.563844,32.724891],[105.585402,32.728919],[105.596489,32.69921],[105.677793,32.726402],[105.719061,32.759624],[105.768952,32.767676],[105.779423,32.750061],[105.822538,32.770192],[105.825002,32.824523],[105.849024,32.817985],[105.893371,32.838603],[105.93156,32.826032],[105.969132,32.849162],[106.011632,32.829552],[106.044277,32.864747],[106.071378,32.828546],[106.093552,32.82402],[106.07261,32.76365],[106.076921,32.76365],[106.076305,32.759121],[106.071378,32.758114],[106.120037,32.719856],[106.17424,32.6977],[106.254928,32.693671],[106.267863,32.673522],[106.301123,32.680071],[106.347935,32.671003],[106.389203,32.62666],[106.421231,32.616579],[106.451412,32.65992],[106.498224,32.649338],[106.517934,32.668485],[106.585687,32.68813],[106.626955,32.682086],[106.670071,32.694678],[106.733513,32.739491],[106.783404,32.735967],[106.793259,32.712807],[106.82344,32.705254],[106.854853,32.724388],[106.903512,32.721367],[106.912751,32.704247],[107.012533,32.721367],[107.066736,32.708779],[107.05996,32.686115],[107.098765,32.649338],[107.108004,32.600951],[107.080286,32.542448],[107.127098,32.482393],[107.189924,32.468256],[107.212097,32.428864],[107.263836,32.403099],[107.287858,32.457147],[107.313727,32.489965],[107.356843,32.506622],[107.382097,32.54043],[107.436299,32.529835],[107.438763,32.465732],[107.460937,32.453612],[107.456625,32.41775],[107.489886,32.425328],[107.527458,32.38238],[107.598291,32.411688],[107.648183,32.413709],[107.680827,32.397035],[107.707929,32.331826],[107.753508,32.338399],[107.812022,32.247844],[107.864377,32.201266],[107.890247,32.214432],[107.924739,32.197215],[107.979558,32.146051],[108.024521,32.177462],[108.018362,32.2119],[108.086731,32.233165],[108.143398,32.219495],[108.156948,32.239239],[108.179738,32.221521],[108.240716,32.274666],[108.310933,32.232152],[108.389773,32.263533],[108.414411,32.252399],[108.469846,32.270618],[108.507418,32.245819],[108.509882,32.201266],[108.543758,32.177969],[108.585026,32.17189],[108.676801,32.10297],[108.734084,32.106519],[108.75133,32.076098],[108.78767,32.04871],[108.837561,32.039072],[108.902235,31.984774],[108.986619,31.980205],[109.085785,31.929428],[109.123357,31.892851],[109.191111,31.85575],[109.195422,31.817618],[109.27611,31.79931],[109.279806,31.776418],[109.253936,31.759628],[109.282885,31.743343],[109.281654,31.716874],[109.381436,31.705165],[109.446109,31.722983],[109.502776,31.716365],[109.549587,31.73011],[109.585928,31.726546],[109.592087,31.789136],[109.633971,31.804396],[109.633971,31.824738],[109.60379,31.885737],[109.584696,31.900472],[109.62042,31.928412],[109.631507,31.962436],[109.590855,32.012688],[109.590855,32.047696],[109.621652,32.106519],[109.58716,32.161251],[109.604406,32.199241],[109.592703,32.219495],[109.550203,32.225065],[109.528645,32.270112],[109.495385,32.300468],[109.513247,32.342444],[109.502776,32.38895],[109.529877,32.405625],[109.526797,32.43341],[109.575457,32.506622],[109.637051,32.540935],[109.619804,32.56767],[109.631507,32.599943],[109.726978,32.608513],[109.746072,32.594901],[109.816905,32.577252],[109.910528,32.592884],[109.97089,32.577756],[110.017701,32.546989],[110.084223,32.580782],[110.090382,32.617083],[110.124259,32.616579],[110.153824,32.593388],[110.206179,32.633212],[110.156903,32.683093],[110.159367,32.767173],[110.127338,32.77774],[110.142121,32.802895],[110.105164,32.832569],[110.051578,32.851676],[109.988752,32.886359],[109.927158,32.887364],[109.907448,32.903947],[109.856941,32.910479],[109.847702,32.893395],[109.789804,32.882339],[109.76455,32.909474],[109.785492,32.987316],[109.794731,33.067095],[109.704188,33.101694],[109.688174,33.116733],[109.576073,33.110216],[109.522486,33.138785],[109.468283,33.140288],[109.438718,33.152314],[109.498464,33.207412],[109.514479,33.237951],[109.60687,33.235949],[109.619804,33.275484],[109.649985,33.251465],[109.693101,33.254468],[109.732521,33.231443],[109.813209,33.236449],[109.852013,33.247961],[109.916687,33.229942],[109.973353,33.203907],[109.999223,33.212419],[110.031252,33.191888],[110.164911,33.209415],[110.218497,33.163336],[110.285635,33.171352],[110.33799,33.160331],[110.372482,33.186379],[110.398352,33.176862],[110.398352,33.176862],[110.471032,33.171352],[110.54125,33.255469],[110.57759,33.250464],[110.59422,33.168346],[110.623785,33.143796],[110.650887,33.157324],[110.702626,33.097182],[110.753133,33.15031],[110.824582,33.158327],[110.828893,33.201403],[110.865234,33.213921],[110.9219,33.203907],[110.960704,33.253967],[110.984726,33.255469],[111.025994,33.330504],[111.025994,33.375495],[110.996429,33.435946],[111.02661,33.467903],[111.021066,33.471397],[111.021682,33.476389],[111.02661,33.478386],[111.002588,33.535772],[111.00382,33.578662],[110.966864,33.609071],[110.878784,33.634486],[110.823966,33.685793],[110.831973,33.713675],[110.81719,33.751003],[110.782082,33.796272],[110.74143,33.798759],[110.712481,33.833564],[110.66259,33.85295],[110.612083,33.852453],[110.587445,33.887733],[110.628713,33.910086],[110.627481,33.925482],[110.665669,33.937895],[110.671213,33.966192],[110.620706,34.035652],[110.587445,34.023252],[110.591757,34.101586],[110.61393,34.113478],[110.642264,34.161032],[110.621938,34.177372],[110.55788,34.193214],[110.55172,34.213012],[110.507989,34.217466],[110.43962,34.243196],[110.428533,34.288203],[110.451938,34.292653],[110.503677,34.33714],[110.473496,34.393457],[110.403279,34.433448],[110.403279,34.433448],[110.360779,34.516825],[110.372482,34.544435],[110.404511,34.557743],[110.366939,34.566614],[110.379257,34.600612]]],[[[111.02661,33.478386],[111.021682,33.476389],[111.021066,33.471397],[111.02661,33.467903],[111.02661,33.478386]]],[[[106.076921,32.76365],[106.07261,32.76365],[106.071378,32.758114],[106.076305,32.759121],[106.076921,32.76365]]]]}},{"type":"Feature","properties":{"adcode":620000,"name":"甘肃省","center":[103.823557,36.058039],"childrenNum":14,"level":"province","parent":{"adcode":100000},"subFeatureIndex":27,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.506231,35.737514],[106.504383,35.736057],[106.498224,35.732656],[106.49268,35.732656],[106.434782,35.688436],[106.460036,35.643705],[106.47913,35.575101],[106.460036,35.578995],[106.440941,35.52641],[106.465579,35.481101],[106.490217,35.480613],[106.483441,35.450393],[106.503767,35.415284],[106.501304,35.364056],[106.472354,35.310842],[106.415688,35.276161],[106.368261,35.273718],[106.363333,35.238532],[106.319601,35.265411],[106.241377,35.358687],[106.237681,35.409431],[106.196414,35.409919],[106.173008,35.437716],[106.129892,35.393333],[106.113262,35.361616],[106.083081,35.421624],[106.073226,35.420649],[106.067682,35.436254],[106.073226,35.447468],[106.071378,35.449418],[106.06953,35.458193],[106.071994,35.463555],[106.054132,35.45478],[106.034422,35.469404],[106.002393,35.438692],[105.894603,35.413821],[105.897683,35.451368],[106.048588,35.488898],[106.047356,35.498155],[106.023335,35.49377],[106.017175,35.519103],[105.900147,35.54735],[105.868734,35.540046],[105.847176,35.490359],[105.816379,35.575101],[105.800365,35.564878],[105.762176,35.602841],[105.759097,35.634464],[105.713517,35.650513],[105.722756,35.673366],[105.690727,35.698643],[105.723988,35.725854],[105.740618,35.698643],[105.759097,35.724883],[105.70243,35.733142],[105.667322,35.749657],[105.595873,35.715651],[105.481924,35.727312],[105.457286,35.771511],[105.432033,35.787533],[105.428953,35.819082],[105.408627,35.822479],[105.38091,35.792873],[105.371055,35.844312],[105.39754,35.857409],[105.350113,35.875839],[105.324859,35.941761],[105.343954,36.033767],[105.406163,36.074409],[105.430801,36.10391],[105.491163,36.101009],[105.515185,36.147415],[105.478844,36.213111],[105.460366,36.223733],[105.45975,36.268137],[105.476381,36.293224],[105.455439,36.321678],[105.425873,36.330357],[105.401236,36.369881],[105.398156,36.430575],[105.363048,36.443093],[105.362432,36.496514],[105.322396,36.535954],[105.281744,36.522489],[105.252179,36.553263],[105.2762,36.563358],[105.261418,36.602764],[105.22015,36.631105],[105.225693,36.664716],[105.201056,36.700711],[105.218302,36.730455],[105.272505,36.739567],[105.275584,36.752515],[105.319932,36.742924],[105.340874,36.764502],[105.334714,36.80093],[105.303302,36.820575],[105.279896,36.86751],[105.244787,36.894796],[105.178882,36.892403],[105.185657,36.942164],[105.165331,36.99476],[105.128991,36.996194],[105.05939,37.022956],[105.03968,37.007187],[105.004571,37.035378],[104.95468,37.040156],[104.954064,37.077407],[104.914644,37.097935],[104.888158,37.15901],[104.864753,37.17284],[104.85613,37.211933],[104.776673,37.246718],[104.717543,37.208597],[104.638087,37.201923],[104.600515,37.242907],[104.624536,37.298627],[104.651022,37.290534],[104.673812,37.317668],[104.713848,37.329566],[104.662109,37.367626],[104.679971,37.408044],[104.521059,37.43466],[104.499501,37.421353],[104.448994,37.42468],[104.437907,37.445589],[104.365226,37.418026],[104.298705,37.414223],[104.287002,37.428007],[104.237727,37.411847],[104.183524,37.406618],[104.089285,37.465067],[103.935916,37.572818],[103.874938,37.604117],[103.841062,37.64725],[103.683381,37.777919],[103.627947,37.797783],[103.40744,37.860651],[103.362477,38.037621],[103.368636,38.08898],[103.53494,38.156776],[103.507838,38.280905],[103.465339,38.353215],[103.416063,38.404821],[103.85954,38.64454],[104.011677,38.85923],[104.044322,38.895105],[104.173053,38.94446],[104.196459,38.9882],[104.190915,39.042139],[104.207546,39.083495],[104.171205,39.160567],[104.047401,39.297788],[104.073271,39.351953],[104.089901,39.419947],[103.955626,39.456923],[103.85338,39.461543],[103.728961,39.430117],[103.595302,39.386652],[103.428998,39.353341],[103.344615,39.331588],[103.259615,39.263971],[103.188166,39.215302],[103.133347,39.192579],[103.007696,39.099753],[102.883892,39.120649],[102.616574,39.171703],[102.579002,39.183301],[102.45335,39.255167],[102.3548,39.231993],[102.276576,39.188868],[102.050526,39.141075],[102.012338,39.127149],[101.902701,39.111827],[101.833715,39.08907],[101.926106,39.000758],[101.955055,38.985874],[102.045599,38.904885],[102.075164,38.891378],[101.941505,38.808883],[101.873751,38.733761],[101.777049,38.66043],[101.672955,38.6908],[101.601506,38.65529],[101.562702,38.713218],[101.412413,38.764099],[101.331109,38.777164],[101.307087,38.80282],[101.34158,38.822406],[101.33542,38.847113],[101.24303,38.860628],[101.237486,38.907214],[101.198682,38.943064],[101.228863,39.020754],[101.117378,38.975174],[100.969553,38.946788],[100.961545,39.005874],[100.901799,39.030053],[100.875314,39.002619],[100.835278,39.025869],[100.829118,39.075133],[100.864227,39.106719],[100.842669,39.199999],[100.842053,39.405614],[100.707778,39.404689],[100.606764,39.387577],[100.498975,39.400527],[100.500823,39.481408],[100.44354,39.485565],[100.326512,39.509118],[100.301258,39.572345],[100.314193,39.606935],[100.250135,39.685274],[100.128179,39.702312],[100.040716,39.757083],[99.958796,39.769504],[99.904593,39.785601],[99.822058,39.860063],[99.672384,39.888079],[99.469124,39.875221],[99.440791,39.885783],[99.459885,39.898181],[99.491298,39.884406],[99.533182,39.891753],[99.714268,39.972061],[99.751225,40.006909],[99.841152,40.013326],[99.927383,40.063727],[99.955716,40.150695],[100.007455,40.20008],[100.169447,40.277743],[100.169447,40.541131],[100.242744,40.618855],[100.237201,40.716905],[100.224882,40.727337],[100.107853,40.875475],[100.057346,40.908049],[99.985897,40.909858],[99.673,40.93292],[99.565827,40.846961],[99.174705,40.858278],[99.172858,40.747289],[99.12543,40.715091],[99.102025,40.676522],[99.041662,40.693767],[98.984996,40.782644],[98.790975,40.705564],[98.80699,40.660181],[98.802678,40.607043],[98.762642,40.639748],[98.72199,40.657911],[98.689345,40.691952],[98.668403,40.773128],[98.569853,40.746836],[98.627751,40.677884],[98.344419,40.568413],[98.333332,40.918903],[98.25018,40.93925],[98.184891,40.988056],[98.142391,41.001607],[97.971776,41.09774],[97.903407,41.168057],[97.629314,41.440498],[97.613915,41.477276],[97.84674,41.656379],[97.653335,41.986856],[97.500582,42.243894],[97.371235,42.457076],[97.172903,42.795257],[96.968411,42.756161],[96.742361,42.75704],[96.386348,42.727592],[96.166458,42.623314],[96.103632,42.604375],[96.072219,42.569566],[96.02356,42.542675],[96.0174,42.482239],[95.978596,42.436762],[96.06606,42.414674],[96.042038,42.352787],[96.040806,42.326688],[96.178161,42.21775],[96.077147,42.149457],[96.13874,42.05399],[96.137509,42.019765],[96.117183,41.985966],[96.054973,41.936124],[95.998306,41.906289],[95.855408,41.849699],[95.801206,41.848361],[95.759322,41.835878],[95.65646,41.826067],[95.57146,41.796181],[95.445193,41.719841],[95.39407,41.693481],[95.335556,41.644305],[95.299831,41.565994],[95.247476,41.61344],[95.194505,41.694821],[95.199433,41.719395],[95.16494,41.735474],[95.135991,41.772976],[95.110738,41.768513],[95.011572,41.726541],[94.969072,41.718948],[94.861898,41.668451],[94.809543,41.619256],[94.750413,41.538227],[94.534219,41.505966],[94.184365,41.268444],[94.01067,41.114875],[93.908424,40.983539],[93.809874,40.879548],[93.820961,40.793519],[93.760599,40.664721],[93.506216,40.648376],[92.928465,40.572504],[92.920458,40.391792],[92.906907,40.310609],[92.796654,40.153897],[92.745531,39.868331],[92.687632,39.657174],[92.639589,39.514196],[92.52564,39.368611],[92.378431,39.258411],[92.339011,39.236628],[92.343938,39.146181],[92.366112,39.096037],[92.366728,39.059335],[92.41046,39.03842],[92.459119,39.042604],[92.459119,39.063982],[92.489916,39.099753],[92.545966,39.111362],[92.659299,39.109969],[92.765857,39.136898],[92.866871,39.138754],[92.889045,39.160103],[92.938936,39.169848],[92.978356,39.143396],[93.043029,39.146645],[93.115094,39.17959],[93.142196,39.160567],[93.131725,39.108112],[93.165601,39.090928],[93.198246,39.045857],[93.179152,38.923977],[93.237666,38.916062],[93.274007,38.896036],[93.453245,38.915596],[93.729186,38.924443],[93.834511,38.867618],[93.884403,38.867618],[93.884403,38.826136],[93.769838,38.821007],[93.756287,38.807484],[93.773533,38.771099],[93.800019,38.750566],[93.885018,38.720689],[93.95154,38.715086],[93.973098,38.724891],[94.281067,38.7599],[94.370379,38.7627],[94.511429,38.445142],[94.527443,38.425922],[94.527443,38.365416],[94.56132,38.351807],[94.582878,38.36917],[94.672805,38.386998],[94.812623,38.385591],[94.861282,38.393565],[94.884072,38.414669],[94.973999,38.430142],[95.045448,38.418889],[95.072549,38.402476],[95.122441,38.417014],[95.140919,38.392158],[95.185266,38.379492],[95.209904,38.327868],[95.229614,38.330685],[95.259179,38.302981],[95.315846,38.318947],[95.408236,38.300163],[95.440881,38.310965],[95.455664,38.291709],[95.487693,38.314721],[95.51849,38.294997],[95.585011,38.343359],[95.608417,38.339134],[95.671858,38.388405],[95.703887,38.400131],[95.723597,38.378554],[95.775952,38.356031],[95.83693,38.344298],[95.852945,38.287481],[95.89606,38.2903],[95.932401,38.259291],[95.93856,38.237202],[96.006929,38.207582],[96.06606,38.173245],[96.109175,38.187358],[96.221892,38.149246],[96.252689,38.167599],[96.264392,38.145952],[96.313051,38.161952],[96.301964,38.183124],[96.335841,38.246132],[96.378341,38.277146],[96.46334,38.277616],[96.665369,38.23015],[96.655514,38.295936],[96.638883,38.307208],[96.626564,38.356031],[96.698013,38.422172],[96.707868,38.459203],[96.6666,38.483567],[96.706637,38.505582],[96.780549,38.504177],[96.800259,38.52759],[96.767614,38.552399],[96.808882,38.582346],[96.7941,38.608072],[96.847071,38.599186],[96.876636,38.580475],[96.961019,38.558015],[97.055874,38.594508],[97.047251,38.653888],[97.057722,38.67258],[97.009063,38.702477],[97.023229,38.755699],[97.00044,38.7613],[96.987505,38.793025],[96.993664,38.834993],[96.983809,38.869016],[96.940693,38.90768],[96.938846,38.95563],[96.965331,39.017034],[96.95794,39.041674],[96.969643,39.097895],[97.012142,39.142004],[96.962251,39.198144],[97.017686,39.208347],[97.060186,39.19768],[97.14149,39.199999],[97.220946,39.193042],[97.315185,39.164744],[97.347213,39.167528],[97.371235,39.140611],[97.401416,39.146645],[97.458698,39.117863],[97.504894,39.076527],[97.58127,39.052364],[97.679205,39.010524],[97.701379,38.963076],[97.828878,38.93003],[97.875689,38.898365],[98.009348,38.85923],[98.029058,38.834061],[98.068478,38.816344],[98.091884,38.786495],[98.167645,38.840121],[98.242173,38.880664],[98.235398,38.918855],[98.276666,38.963541],[98.287753,38.992386],[98.280977,39.027263],[98.316702,39.040744],[98.383839,39.029588],[98.401086,39.001688],[98.432498,38.996107],[98.428187,38.976104],[98.457752,38.952838],[98.526737,38.95563],[98.584635,38.93003],[98.624056,38.959353],[98.612353,38.977035],[98.661628,38.993782],[98.70536,39.043533],[98.730613,39.057011],[98.743548,39.086747],[98.816845,39.085818],[98.818076,39.064911],[98.886446,39.040744],[98.903076,39.012384],[98.951735,38.987735],[99.054597,38.97657],[99.107568,38.951907],[99.071843,38.921184],[99.068764,38.896968],[99.141445,38.852706],[99.222133,38.788827],[99.291118,38.765966],[99.361951,38.718354],[99.375502,38.684727],[99.412458,38.665571],[99.450646,38.60433],[99.501769,38.612281],[99.52887,38.546314],[99.585537,38.498556],[99.63974,38.474666],[99.65945,38.449361],[99.727203,38.415607],[99.758,38.410449],[99.826985,38.370109],[99.960028,38.320825],[100.001912,38.315191],[100.049955,38.283254],[100.071513,38.284663],[100.117093,38.253652],[100.126332,38.231561],[100.182998,38.222158],[100.159592,38.291239],[100.163904,38.328337],[100.136803,38.33444],[100.093071,38.407166],[100.022238,38.432017],[100.001296,38.467169],[100.025933,38.507923],[100.064122,38.518694],[100.086911,38.492936],[100.113397,38.497151],[100.163288,38.461546],[100.24028,38.441861],[100.259374,38.366355],[100.301874,38.388405],[100.331439,38.337257],[100.318505,38.329276],[100.396729,38.293118],[100.424446,38.307208],[100.432453,38.275267],[100.459555,38.2654],[100.474953,38.288891],[100.516837,38.272448],[100.545786,38.247072],[100.595061,38.242372],[100.619083,38.26587],[100.71517,38.253652],[100.752126,38.238612],[100.825423,38.158658],[100.860531,38.148305],[100.913502,38.17889],[100.93814,38.16007],[100.91843,38.129006],[100.922125,38.084741],[100.888864,38.056001],[100.895024,38.013107],[100.91843,37.999432],[100.964009,38.011221],[101.077342,37.941874],[101.103211,37.946593],[101.114298,37.92016],[101.152486,37.891356],[101.159262,37.86821],[101.202994,37.84742],[101.276906,37.83655],[101.362522,37.791162],[101.382848,37.822369],[101.459224,37.86632],[101.551615,37.835604],[101.598427,37.827569],[101.670491,37.754264],[101.659405,37.733441],[101.791832,37.696041],[101.815853,37.654357],[101.854657,37.664781],[101.873135,37.686569],[101.946432,37.728235],[101.998787,37.724921],[102.036359,37.685149],[102.048678,37.651515],[102.035128,37.627819],[102.102265,37.582304],[102.131214,37.54625],[102.103497,37.482641],[102.125055,37.48549],[102.176794,37.458892],[102.19712,37.420403],[102.299981,37.391404],[102.29875,37.370004],[102.368351,37.327662],[102.428097,37.308624],[102.419474,37.294343],[102.45335,37.271487],[102.457662,37.248147],[102.490307,37.223371],[102.533422,37.217176],[102.578386,37.17284],[102.599944,37.174748],[102.642444,37.099845],[102.583314,37.104618],[102.488459,37.078362],[102.506321,37.019134],[102.450271,36.968467],[102.499546,36.954599],[102.526031,36.928291],[102.56114,36.91968],[102.587009,36.869904],[102.639364,36.852666],[102.720052,36.767858],[102.692335,36.775528],[102.639364,36.732853],[102.612879,36.738129],[102.601176,36.710307],[102.630741,36.650793],[102.684328,36.619097],[102.724364,36.613813],[102.714509,36.599401],[102.761936,36.568645],[102.734219,36.562396],[102.753313,36.525855],[102.793349,36.497957],[102.771791,36.47438],[102.829689,36.365544],[102.831537,36.365544],[102.838928,36.345783],[102.836465,36.344819],[102.845704,36.331803],[102.896827,36.331803],[102.922696,36.298047],[103.024942,36.256556],[103.021246,36.232906],[103.066826,36.216974],[103.048964,36.199107],[102.986754,36.193312],[102.965812,36.151765],[102.948566,36.150798],[102.941174,36.104877],[102.882044,36.082632],[102.932551,36.048285],[102.968276,36.044414],[102.951645,36.021667],[102.971971,35.995525],[102.942406,35.92674],[102.954725,35.858864],[102.94487,35.829757],[102.914073,35.845282],[102.81737,35.850133],[102.787189,35.862745],[102.739146,35.821023],[102.715125,35.815685],[102.686175,35.771996],[102.707733,35.70496],[102.744074,35.657807],[102.7644,35.653431],[102.763168,35.612086],[102.808747,35.560496],[102.746537,35.545403],[102.729291,35.523487],[102.782878,35.527871],[102.743458,35.494745],[102.695414,35.528358],[102.570995,35.548324],[102.531575,35.580455],[102.503241,35.585322],[102.49893,35.545403],[102.437952,35.455268],[102.447807,35.437229],[102.408387,35.409431],[102.314764,35.434303],[102.293822,35.424063],[102.287663,35.36552],[102.317844,35.343067],[102.311684,35.31426],[102.280887,35.303028],[102.3123,35.282512],[102.370199,35.263946],[102.365887,35.235599],[102.404075,35.179366],[102.346793,35.164201],[102.310452,35.128967],[102.29567,35.071681],[102.252554,35.048657],[102.218062,35.057475],[102.211286,35.034937],[102.176178,35.032977],[102.157699,35.010923],[102.133678,35.014844],[102.094874,34.986901],[102.048062,34.910868],[102.068388,34.887798],[101.985852,34.90007],[101.916867,34.873561],[101.923027,34.835746],[101.917483,34.705964],[101.919947,34.621791],[101.934729,34.58731],[101.956287,34.582876],[101.97415,34.548871],[102.001867,34.538519],[102.093026,34.536547],[102.139837,34.50351],[102.155852,34.507456],[102.169402,34.457631],[102.205743,34.407777],[102.259329,34.355917],[102.237156,34.34307],[102.237156,34.34307],[102.186649,34.352952],[102.149692,34.271885],[102.067772,34.293642],[102.062229,34.227858],[102.01357,34.218456],[102.030816,34.190739],[102.003099,34.162022],[101.965526,34.167469],[101.955055,34.109514],[101.897773,34.133791],[101.874367,34.130323],[101.851578,34.153108],[101.836795,34.124378],[101.788136,34.131809],[101.764114,34.122892],[101.736397,34.080275],[101.718535,34.083249],[101.703136,34.119424],[101.674187,34.110506],[101.6206,34.178857],[101.53868,34.212022],[101.492485,34.195689],[101.482014,34.218951],[101.417956,34.227858],[101.369913,34.248143],[101.327413,34.24468],[101.325565,34.268423],[101.268899,34.278808],[101.228863,34.298586],[101.235022,34.325279],[101.193754,34.336646],[101.178356,34.320831],[101.098284,34.329233],[101.054552,34.322808],[100.986799,34.374689],[100.951074,34.38358],[100.895024,34.375183],[100.868538,34.332693],[100.821727,34.317371],[100.798321,34.260014],[100.809408,34.247153],[100.764445,34.178857],[100.806329,34.155584],[100.848828,34.089692],[100.870386,34.083744],[100.880857,34.036644],[100.93506,33.990013],[100.927669,33.975126],[100.965857,33.946832],[100.994806,33.891707],[101.023139,33.896178],[101.054552,33.863386],[101.153718,33.8445],[101.153102,33.823124],[101.190675,33.791796],[101.186363,33.741051],[101.162957,33.719649],[101.177124,33.685295],[101.166653,33.659894],[101.217776,33.669856],[101.23687,33.685793],[101.302776,33.657902],[101.385312,33.644949],[101.424732,33.655411],[101.428427,33.680315],[101.501724,33.702723],[101.58426,33.674339],[101.585492,33.645448],[101.616905,33.598603],[101.611977,33.565199],[101.622448,33.502343],[101.718535,33.494857],[101.748716,33.505337],[101.769042,33.538765],[101.783208,33.556721],[101.831252,33.554726],[101.844186,33.602591],[101.884222,33.578163],[101.907012,33.539264],[101.906396,33.48188],[101.946432,33.442937],[101.915635,33.425957],[101.887302,33.383991],[101.877447,33.314502],[101.769658,33.26898],[101.770274,33.248962],[101.83002,33.213921],[101.841723,33.184876],[101.825708,33.119239],[101.865744,33.103198],[101.887302,33.135778],[101.921795,33.153817],[101.935345,33.186879],[101.99386,33.1999],[102.054838,33.189884],[102.08933,33.204908],[102.08933,33.227439],[102.117047,33.288492],[102.144765,33.273983],[102.160163,33.242956],[102.200815,33.223434],[102.217446,33.247961],[102.192192,33.337005],[102.218062,33.349503],[102.258098,33.409472],[102.296286,33.413969],[102.310452,33.397982],[102.368967,33.41247],[102.392988,33.404477],[102.447807,33.454922],[102.462589,33.449429],[102.461358,33.501345],[102.446575,33.53228],[102.477988,33.543254],[102.440416,33.574673],[102.346793,33.605582],[102.31538,33.665374],[102.342481,33.725622],[102.284583,33.719151],[102.324619,33.754486],[102.296286,33.783838],[102.243315,33.786823],[102.261177,33.821136],[102.25317,33.861399],[102.136142,33.965199],[102.16817,33.983066],[102.226069,33.963214],[102.248858,33.98654],[102.287047,33.977607],[102.315996,33.993983],[102.345561,33.969666],[102.392372,33.971651],[102.406539,34.033172],[102.437336,34.087214],[102.471213,34.072839],[102.511865,34.086222],[102.615958,34.099604],[102.649219,34.080275],[102.655994,34.113478],[102.598712,34.14766],[102.651067,34.165983],[102.664002,34.192719],[102.694799,34.198659],[102.728675,34.235774],[102.779798,34.236764],[102.798276,34.272874],[102.856791,34.270895],[102.85987,34.301058],[102.911609,34.312923],[102.949181,34.292159],[102.977515,34.252595],[102.973203,34.205588],[103.005848,34.184798],[103.052043,34.195194],[103.100087,34.181828],[103.124108,34.162022],[103.121644,34.112487],[103.178927,34.079779],[103.129652,34.065899],[103.119797,34.03466],[103.147514,34.036644],[103.157369,33.998944],[103.120413,33.953286],[103.1315,33.931937],[103.16476,33.929454],[103.181391,33.900649],[103.153673,33.819147],[103.165376,33.805721],[103.228202,33.79478],[103.24976,33.814175],[103.284868,33.80224],[103.278709,33.774387],[103.35447,33.743539],[103.434542,33.752993],[103.464723,33.80224],[103.518309,33.807213],[103.545411,33.719649],[103.520157,33.678323],[103.552186,33.671351],[103.563889,33.699735],[103.593454,33.716164],[103.645809,33.708697],[103.667983,33.685793],[103.690772,33.69376],[103.778236,33.658898],[103.861388,33.682307],[103.980264,33.670852],[104.046169,33.686291],[104.103452,33.663381],[104.176749,33.5996],[104.155191,33.542755],[104.180444,33.472895],[104.213089,33.446932],[104.22048,33.404477],[104.272219,33.391486],[104.292545,33.336505],[104.373849,33.345004],[104.420045,33.327004],[104.386168,33.298497],[104.333813,33.315502],[104.303632,33.304499],[104.323958,33.26898],[104.32827,33.223934],[104.351059,33.158828],[104.378161,33.109214],[104.337509,33.038002],[104.391711,33.035493],[104.426204,33.010906],[104.383704,32.994343],[104.378161,32.953174],[104.345516,32.940117],[104.288234,32.942628],[104.277147,32.90244],[104.294393,32.835586],[104.363994,32.822511],[104.458849,32.748551],[104.51182,32.753585],[104.526602,32.728416],[104.582653,32.722374],[104.592508,32.695685],[104.643015,32.661935],[104.696601,32.673522],[104.739717,32.635228],[104.795768,32.643292],[104.820405,32.662943],[104.845659,32.653873],[104.881999,32.600951],[104.925115,32.607505],[105.026745,32.650346],[105.0791,32.637244],[105.111128,32.593893],[105.185041,32.617587],[105.215222,32.63674],[105.219534,32.666469],[105.263265,32.652362],[105.297758,32.656897],[105.347033,32.68259],[105.368591,32.712807],[105.448663,32.732946],[105.454207,32.767173],[105.427721,32.784281],[105.396308,32.85067],[105.396308,32.85067],[105.38091,32.876307],[105.408011,32.885857],[105.414171,32.922034],[105.467757,32.930071],[105.49917,32.911986],[105.528119,32.919019],[105.565692,32.906962],[105.590329,32.87681],[105.638373,32.879323],[105.656851,32.895405],[105.735691,32.905454],[105.82685,32.950663],[105.861959,32.939112],[105.917393,32.993841],[105.926632,33.042517],[105.914929,33.066092],[105.934639,33.112221],[105.923552,33.147805],[105.897067,33.146803],[105.93156,33.178365],[105.968516,33.154318],[105.965436,33.204407],[105.917393,33.237951],[105.862574,33.234447],[105.799133,33.258471],[105.791741,33.278486],[105.752937,33.291994],[105.755401,33.329004],[105.709822,33.382991],[105.827466,33.379993],[105.837937,33.410971],[105.831162,33.451926],[105.842248,33.489866],[105.871198,33.511325],[105.902611,33.556222],[105.940183,33.570684],[105.971596,33.613058],[106.047356,33.610067],[106.086776,33.617045],[106.117573,33.602591],[106.108334,33.569686],[106.187174,33.546746],[106.237681,33.564201],[106.303587,33.604585],[106.35163,33.587137],[106.384891,33.612061],[106.447101,33.613058],[106.456956,33.532779],[106.540108,33.512822],[106.58076,33.576169],[106.575832,33.631497],[106.534564,33.695254],[106.482825,33.707203],[106.488369,33.757969],[106.461883,33.789807],[106.491448,33.834559],[106.475434,33.875809],[106.428007,33.866368],[106.41076,33.909093],[106.474202,33.970659],[106.471738,34.024244],[106.505615,34.056479],[106.501919,34.105055],[106.560434,34.109514],[106.585071,34.149641],[106.55797,34.229837],[106.5321,34.254079],[106.496376,34.238248],[106.526557,34.292159],[106.577064,34.280786],[106.589383,34.253584],[106.63373,34.260014],[106.652825,34.24369],[106.68239,34.256057],[106.705179,34.299575],[106.691013,34.337635],[106.717498,34.369255],[106.638042,34.391481],[106.610941,34.454177],[106.558586,34.48822],[106.513622,34.498085],[106.514238,34.511894],[106.455108,34.531617],[106.334384,34.517811],[106.341159,34.568093],[106.314058,34.578934],[106.419384,34.643458],[106.471122,34.634102],[106.442173,34.675455],[106.456956,34.703996],[106.487137,34.715311],[106.505615,34.746789],[106.539492,34.745805],[106.575216,34.769897],[106.550579,34.82936],[106.556122,34.861285],[106.527789,34.876507],[106.493296,34.941289],[106.484673,34.983959],[106.494528,35.006021],[106.494528,35.006021],[106.52163,35.027587],[106.541956,35.083925],[106.577064,35.089312],[106.615252,35.071191],[106.706411,35.081966],[106.710723,35.100574],[106.838222,35.080007],[106.901664,35.094698],[106.950323,35.066782],[106.990975,35.068252],[107.012533,35.029547],[107.08275,35.024156],[107.089526,34.976604],[107.119707,34.950119],[107.162206,34.944233],[107.189308,34.893198],[107.252749,34.880925],[107.286626,34.931968],[107.350068,34.93393],[107.369162,34.917738],[107.400575,34.932949],[107.455394,34.916757],[107.523763,34.909886],[107.564415,34.968757],[107.619849,34.964834],[107.638943,34.935402],[107.675284,34.9511],[107.741805,34.953553],[107.842203,34.979056],[107.863145,34.999158],[107.846515,35.024646],[107.814486,35.024646],[107.773218,35.060904],[107.773218,35.060904],[107.769523,35.064333],[107.769523,35.064333],[107.727639,35.120157],[107.715936,35.168114],[107.686371,35.218],[107.652494,35.244886],[107.667277,35.257104],[107.737494,35.267366],[107.745501,35.311819],[107.841587,35.276649],[107.867457,35.256127],[107.960464,35.263457],[107.949993,35.245375],[108.049159,35.253683],[108.094739,35.280069],[108.174811,35.304981],[108.221622,35.296678],[108.239484,35.256127],[108.296767,35.267855],[108.345426,35.300586],[108.36144,35.279581],[108.48894,35.275184],[108.547454,35.304981],[108.583178,35.294724],[108.614591,35.328909],[108.61028,35.355271],[108.631222,35.418698],[108.605968,35.503028],[108.625678,35.537124],[108.618287,35.557088],[108.539447,35.605761],[108.517889,35.699615],[108.533903,35.746257],[108.527744,35.82442],[108.499411,35.872444],[108.518505,35.905414],[108.562852,35.921409],[108.593649,35.950967],[108.652164,35.94806],[108.659555,35.990683],[108.688504,36.021183],[108.682345,36.062316],[108.712526,36.138716],[108.646004,36.254143],[108.641693,36.359279],[108.651548,36.384818],[108.618903,36.433946],[108.562852,36.43876],[108.510498,36.47438],[108.514809,36.445501],[108.495099,36.422389],[108.460606,36.422871],[108.408252,36.45946],[108.391621,36.505654],[108.365136,36.519603],[108.340498,36.559032],[108.262274,36.549417],[108.245644,36.571048],[108.210535,36.577296],[108.204992,36.606607],[108.204992,36.606607],[108.222854,36.631105],[108.1976,36.630144],[108.163724,36.563839],[108.092891,36.587388],[108.079956,36.614294],[108.060862,36.592194],[108.001732,36.639269],[108.02329,36.647912],[108.006659,36.683435],[107.938906,36.655594],[107.940754,36.694953],[107.914268,36.720861],[107.907493,36.750118],[107.866841,36.766899],[107.768291,36.792783],[107.742421,36.811951],[107.722095,36.802367],[107.670356,36.83303],[107.642023,36.819137],[107.5909,36.836382],[107.540393,36.828718],[107.533618,36.867031],[107.478183,36.908196],[107.365466,36.905324],[107.336517,36.925899],[107.310032,36.912502],[107.291554,36.979463],[107.291554,36.979463],[107.288474,37.008143],[107.288474,37.008143],[107.28601,37.054963],[107.268764,37.099367],[107.234887,37.096503],[107.181916,37.143269],[107.133873,37.134681],[107.095685,37.115595],[107.030395,37.140883],[107.031011,37.108436],[106.998367,37.106527],[106.905976,37.151378],[106.912135,37.110345],[106.891193,37.098413],[106.818512,37.141838],[106.776012,37.158056],[106.772933,37.120367],[106.750143,37.09889],[106.728585,37.121321],[106.687933,37.12991],[106.673151,37.1113],[106.6171,37.135158],[106.605397,37.127524],[106.645433,37.064992],[106.666991,37.016745],[106.646665,37.000496],[106.64297,36.962729],[106.594926,36.967988],[106.595542,36.94025],[106.540108,36.984244],[106.549347,36.941685],[106.601702,36.918244],[106.609709,36.878521],[106.609709,36.878521],[106.626955,36.892403],[106.637426,36.867031],[106.637426,36.867031],[106.657752,36.820575],[106.627571,36.752995],[106.644817,36.72278],[106.59431,36.750118],[106.514238,36.715584],[106.519782,36.708868],[106.519782,36.708868],[106.530869,36.690154],[106.490833,36.685835],[106.491448,36.628703],[106.444637,36.624861],[106.465579,36.583063],[106.444637,36.557109],[106.397826,36.576816],[106.392282,36.556628],[106.363949,36.577296],[106.37134,36.549417],[106.39721,36.548455],[106.455724,36.496995],[106.494528,36.494589],[106.523477,36.468605],[106.492064,36.422389],[106.510543,36.379037],[106.497608,36.31348],[106.470507,36.306246],[106.504383,36.266207],[106.54134,36.25366],[106.559202,36.292259],[106.647897,36.259451],[106.685469,36.273445],[106.698404,36.244008],[106.735976,36.23725],[106.772933,36.212628],[106.808657,36.21118],[106.833295,36.229044],[106.858548,36.206834],[106.858548,36.206834],[106.873947,36.178338],[106.873947,36.178338],[106.930613,36.138716],[106.925686,36.115997],[106.957715,36.091337],[106.940468,36.064734],[106.928149,36.011502],[106.94786,35.988262],[106.90228,35.943699],[106.93862,35.952905],[106.940468,35.931101],[106.912751,35.93207],[106.849925,35.887476],[106.927534,35.810346],[106.897353,35.759856],[106.868403,35.771996],[106.867171,35.738485],[106.819128,35.7448],[106.806193,35.70982],[106.750759,35.725369],[106.750759,35.689408],[106.674998,35.728284],[106.66268,35.70739],[106.633115,35.714679],[106.620796,35.743829],[106.595542,35.727312],[106.566593,35.738971],[106.506231,35.737514]]],[[[106.047356,35.498155],[106.048588,35.488898],[106.054132,35.45478],[106.071994,35.463555],[106.078769,35.509848],[106.047356,35.498155]]],[[[102.831537,36.365544],[102.829689,36.365544],[102.836465,36.344819],[102.838928,36.345783],[102.831537,36.365544]]],[[[106.073226,35.447468],[106.067682,35.436254],[106.073226,35.420649],[106.083081,35.421624],[106.073226,35.447468]]],[[[106.504383,35.736057],[106.506231,35.737514],[106.49268,35.732656],[106.498224,35.732656],[106.504383,35.736057]]]]}},{"type":"Feature","properties":{"adcode":630000,"name":"青海省","center":[101.778916,36.623178],"centroid":[96.043533,35.726403],"childrenNum":8,"level":"province","parent":{"adcode":100000},"subFeatureIndex":28,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[102.829689,36.365544],[102.771791,36.47438],[102.793349,36.497957],[102.753313,36.525855],[102.734219,36.562396],[102.761936,36.568645],[102.714509,36.599401],[102.724364,36.613813],[102.684328,36.619097],[102.630741,36.650793],[102.601176,36.710307],[102.612879,36.738129],[102.639364,36.732853],[102.692335,36.775528],[102.720052,36.767858],[102.639364,36.852666],[102.587009,36.869904],[102.56114,36.91968],[102.526031,36.928291],[102.499546,36.954599],[102.450271,36.968467],[102.506321,37.019134],[102.488459,37.078362],[102.583314,37.104618],[102.642444,37.099845],[102.599944,37.174748],[102.578386,37.17284],[102.533422,37.217176],[102.490307,37.223371],[102.457662,37.248147],[102.45335,37.271487],[102.419474,37.294343],[102.428097,37.308624],[102.368351,37.327662],[102.29875,37.370004],[102.299981,37.391404],[102.19712,37.420403],[102.176794,37.458892],[102.125055,37.48549],[102.103497,37.482641],[102.131214,37.54625],[102.102265,37.582304],[102.035128,37.627819],[102.048678,37.651515],[102.036359,37.685149],[101.998787,37.724921],[101.946432,37.728235],[101.873135,37.686569],[101.854657,37.664781],[101.815853,37.654357],[101.791832,37.696041],[101.659405,37.733441],[101.670491,37.754264],[101.598427,37.827569],[101.551615,37.835604],[101.459224,37.86632],[101.382848,37.822369],[101.362522,37.791162],[101.276906,37.83655],[101.202994,37.84742],[101.159262,37.86821],[101.152486,37.891356],[101.114298,37.92016],[101.103211,37.946593],[101.077342,37.941874],[100.964009,38.011221],[100.91843,37.999432],[100.895024,38.013107],[100.888864,38.056001],[100.922125,38.084741],[100.91843,38.129006],[100.93814,38.16007],[100.913502,38.17889],[100.860531,38.148305],[100.825423,38.158658],[100.752126,38.238612],[100.71517,38.253652],[100.619083,38.26587],[100.595061,38.242372],[100.545786,38.247072],[100.516837,38.272448],[100.474953,38.288891],[100.459555,38.2654],[100.432453,38.275267],[100.424446,38.307208],[100.396729,38.293118],[100.318505,38.329276],[100.331439,38.337257],[100.301874,38.388405],[100.259374,38.366355],[100.24028,38.441861],[100.163288,38.461546],[100.113397,38.497151],[100.086911,38.492936],[100.064122,38.518694],[100.025933,38.507923],[100.001296,38.467169],[100.022238,38.432017],[100.093071,38.407166],[100.136803,38.33444],[100.163904,38.328337],[100.159592,38.291239],[100.182998,38.222158],[100.126332,38.231561],[100.117093,38.253652],[100.071513,38.284663],[100.049955,38.283254],[100.001912,38.315191],[99.960028,38.320825],[99.826985,38.370109],[99.758,38.410449],[99.727203,38.415607],[99.65945,38.449361],[99.63974,38.474666],[99.585537,38.498556],[99.52887,38.546314],[99.501769,38.612281],[99.450646,38.60433],[99.412458,38.665571],[99.375502,38.684727],[99.361951,38.718354],[99.291118,38.765966],[99.222133,38.788827],[99.141445,38.852706],[99.068764,38.896968],[99.071843,38.921184],[99.107568,38.951907],[99.054597,38.97657],[98.951735,38.987735],[98.903076,39.012384],[98.886446,39.040744],[98.818076,39.064911],[98.816845,39.085818],[98.743548,39.086747],[98.730613,39.057011],[98.70536,39.043533],[98.661628,38.993782],[98.612353,38.977035],[98.624056,38.959353],[98.584635,38.93003],[98.526737,38.95563],[98.457752,38.952838],[98.428187,38.976104],[98.432498,38.996107],[98.401086,39.001688],[98.383839,39.029588],[98.316702,39.040744],[98.280977,39.027263],[98.287753,38.992386],[98.276666,38.963541],[98.235398,38.918855],[98.242173,38.880664],[98.167645,38.840121],[98.091884,38.786495],[98.068478,38.816344],[98.029058,38.834061],[98.009348,38.85923],[97.875689,38.898365],[97.828878,38.93003],[97.701379,38.963076],[97.679205,39.010524],[97.58127,39.052364],[97.504894,39.076527],[97.458698,39.117863],[97.401416,39.146645],[97.371235,39.140611],[97.347213,39.167528],[97.315185,39.164744],[97.220946,39.193042],[97.14149,39.199999],[97.060186,39.19768],[97.017686,39.208347],[96.962251,39.198144],[97.012142,39.142004],[96.969643,39.097895],[96.95794,39.041674],[96.965331,39.017034],[96.938846,38.95563],[96.940693,38.90768],[96.983809,38.869016],[96.993664,38.834993],[96.987505,38.793025],[97.00044,38.7613],[97.023229,38.755699],[97.009063,38.702477],[97.057722,38.67258],[97.047251,38.653888],[97.055874,38.594508],[96.961019,38.558015],[96.876636,38.580475],[96.847071,38.599186],[96.7941,38.608072],[96.808882,38.582346],[96.767614,38.552399],[96.800259,38.52759],[96.780549,38.504177],[96.706637,38.505582],[96.6666,38.483567],[96.707868,38.459203],[96.698013,38.422172],[96.626564,38.356031],[96.638883,38.307208],[96.655514,38.295936],[96.665369,38.23015],[96.46334,38.277616],[96.378341,38.277146],[96.335841,38.246132],[96.301964,38.183124],[96.313051,38.161952],[96.264392,38.145952],[96.252689,38.167599],[96.221892,38.149246],[96.109175,38.187358],[96.06606,38.173245],[96.006929,38.207582],[95.93856,38.237202],[95.932401,38.259291],[95.89606,38.2903],[95.852945,38.287481],[95.83693,38.344298],[95.775952,38.356031],[95.723597,38.378554],[95.703887,38.400131],[95.671858,38.388405],[95.608417,38.339134],[95.585011,38.343359],[95.51849,38.294997],[95.487693,38.314721],[95.455664,38.291709],[95.440881,38.310965],[95.408236,38.300163],[95.315846,38.318947],[95.259179,38.302981],[95.229614,38.330685],[95.209904,38.327868],[95.185266,38.379492],[95.140919,38.392158],[95.122441,38.417014],[95.072549,38.402476],[95.045448,38.418889],[94.973999,38.430142],[94.884072,38.414669],[94.861282,38.393565],[94.812623,38.385591],[94.672805,38.386998],[94.582878,38.36917],[94.56132,38.351807],[94.527443,38.365416],[94.527443,38.425922],[94.511429,38.445142],[94.370379,38.7627],[94.281067,38.7599],[93.973098,38.724891],[93.95154,38.715086],[93.885018,38.720689],[93.800019,38.750566],[93.773533,38.771099],[93.756287,38.807484],[93.769838,38.821007],[93.884403,38.826136],[93.884403,38.867618],[93.834511,38.867618],[93.729186,38.924443],[93.453245,38.915596],[93.274007,38.896036],[93.237666,38.916062],[93.179152,38.923977],[93.198246,39.045857],[93.165601,39.090928],[93.131725,39.108112],[93.142196,39.160567],[93.115094,39.17959],[93.043029,39.146645],[92.978356,39.143396],[92.938936,39.169848],[92.889045,39.160103],[92.866871,39.138754],[92.765857,39.136898],[92.659299,39.109969],[92.545966,39.111362],[92.489916,39.099753],[92.459119,39.063982],[92.459119,39.042604],[92.41046,39.03842],[92.416003,39.010524],[92.380279,38.999828],[92.263866,39.002153],[92.197961,38.983548],[92.173323,38.960749],[92.10865,38.963541],[91.966368,38.930961],[91.880752,38.899297],[91.87952,38.884391],[91.806223,38.872744],[91.694738,38.86622],[91.681188,38.852706],[91.501333,38.815411],[91.446515,38.813546],[91.298689,38.746365],[91.242639,38.752433],[91.188436,38.73096],[90.992567,38.695003],[90.970394,38.697806],[90.899561,38.679588],[90.724634,38.658094],[90.65996,38.674449],[90.619308,38.664636],[90.645794,38.635191],[90.606374,38.610878],[90.608837,38.594508],[90.560794,38.593573],[90.525685,38.561291],[90.463476,38.556611],[90.465323,38.521971],[90.427135,38.493873],[90.353222,38.482162],[90.315034,38.501835],[90.248513,38.491531],[90.130868,38.494341],[90.111774,38.477945],[90.111774,38.418889],[90.129636,38.400131],[90.179528,38.396848],[90.137644,38.340543],[90.280542,38.238142],[90.352607,38.233441],[90.361846,38.300163],[90.401882,38.311434],[90.531229,38.319886],[90.516446,38.207111],[90.519526,37.730601],[90.579272,37.720661],[90.586663,37.703144],[90.643946,37.696988],[90.777605,37.648672],[90.820104,37.613599],[90.854597,37.604117],[90.882314,37.575664],[90.865684,37.53059],[90.911879,37.519674],[90.958075,37.477891],[91.019669,37.493088],[91.073256,37.475992],[91.099741,37.447965],[91.113292,37.387124],[91.136081,37.355734],[91.134849,37.324331],[91.194596,37.273868],[91.1909,37.205737],[91.280211,37.163779],[91.286371,37.105095],[91.303617,37.083136],[91.291298,37.042544],[91.303617,37.012444],[91.216153,37.010054],[91.181045,37.025345],[91.133618,37.007665],[91.126842,36.978507],[91.051698,36.96751],[91.036915,36.929727],[90.983944,36.913459],[90.924198,36.921115],[90.853981,36.915373],[90.758511,36.825844],[90.732025,36.825844],[90.727098,36.755872],[90.754815,36.721341],[90.720938,36.708868],[90.706156,36.658955],[90.730793,36.655594],[90.72217,36.620058],[90.741264,36.585947],[90.810865,36.585466],[90.831191,36.55807],[90.905104,36.560474],[91.011662,36.539801],[91.035683,36.529703],[91.039995,36.474861],[91.028292,36.443093],[91.051698,36.433946],[91.026444,36.323607],[91.07264,36.299012],[91.051698,36.238215],[91.096045,36.219871],[91.09235,36.163844],[91.124994,36.115514],[91.081263,36.088436],[90.979017,36.106811],[90.922966,36.028927],[90.850285,36.016827],[90.815793,36.035703],[90.776373,36.086501],[90.659344,36.13485],[90.613149,36.126632],[90.534925,36.147899],[90.478258,36.13195],[90.424055,36.133883],[90.325505,36.159496],[90.23681,36.160462],[90.198006,36.187516],[90.130252,36.2078],[90.145651,36.239181],[90.058188,36.255591],[90.043405,36.276822],[90.003369,36.278752],[90.028006,36.258486],[90.019999,36.213594],[89.997825,36.168193],[89.944855,36.140649],[89.941159,36.067637],[89.914058,36.079246],[89.819819,36.080697],[89.766848,36.073925],[89.711414,36.093272],[89.688624,36.091337],[89.605472,36.038123],[89.474893,36.022151],[89.417611,36.044897],[89.404676,36.016827],[89.434857,35.992136],[89.428082,35.917531],[89.489676,35.903475],[89.554965,35.873414],[89.550654,35.856924],[89.62395,35.859349],[89.654747,35.848193],[89.707718,35.849163],[89.778551,35.861775],[89.801957,35.848193],[89.767464,35.799183],[89.782863,35.773453],[89.747138,35.7516],[89.748986,35.66267],[89.726196,35.648082],[89.765616,35.599922],[89.75145,35.580942],[89.71203,35.581915],[89.699711,35.544916],[89.720037,35.501566],[89.740979,35.507412],[89.765,35.482563],[89.739131,35.468429],[89.685544,35.416259],[89.658443,35.425526],[89.619639,35.412357],[89.58761,35.383575],[89.497067,35.361128],[89.516161,35.330862],[89.494603,35.298632],[89.531559,35.276161],[89.48598,35.256616],[89.450255,35.223867],[89.46935,35.214577],[89.519241,35.133862],[89.579603,35.118688],[89.593153,35.104491],[89.59069,35.057965],[89.560509,34.938836],[89.578987,34.895162],[89.670146,34.887798],[89.707102,34.919701],[89.747138,34.903506],[89.78779,34.921664],[89.821051,34.902033],[89.814891,34.86816],[89.838913,34.865705],[89.867862,34.81069],[89.825978,34.796931],[89.799493,34.743838],[89.732356,34.732035],[89.72558,34.660689],[89.74837,34.641981],[89.798877,34.628686],[89.777935,34.574499],[89.814891,34.548871],[89.823515,34.455657],[89.819819,34.420614],[89.799493,34.39642],[89.820435,34.369255],[89.858623,34.359375],[89.86663,34.324785],[89.825362,34.293642],[89.838297,34.263477],[89.816739,34.16945],[89.789638,34.150632],[89.760073,34.152613],[89.756993,34.124874],[89.71203,34.131809],[89.655979,34.097126],[89.656595,34.057966],[89.635037,34.049537],[89.684928,33.990013],[89.688008,33.959739],[89.718805,33.946832],[89.73174,33.921509],[89.795181,33.865374],[89.837065,33.868853],[89.899891,33.80771],[89.942391,33.801246],[89.902355,33.758467],[89.907282,33.741051],[89.983659,33.725622],[89.981195,33.70322],[90.008296,33.687785],[89.984275,33.612061],[90.01076,33.553728],[90.083441,33.525295],[90.088984,33.478885],[90.107463,33.460913],[90.22018,33.437943],[90.246665,33.423959],[90.332896,33.310501],[90.363077,33.279487],[90.405577,33.260473],[90.490577,33.264977],[90.562642,33.229441],[90.627315,33.180368],[90.704308,33.135778],[90.740032,33.142293],[90.803474,33.114227],[90.88293,33.120241],[90.902024,33.083143],[90.927894,33.120241],[91.001807,33.11573],[91.037531,33.098686],[91.072024,33.113224],[91.147784,33.07211],[91.161335,33.108712],[91.18782,33.106206],[91.226624,33.141792],[91.261733,33.141291],[91.311624,33.108211],[91.370138,33.100691],[91.436044,33.066092],[91.49579,33.109214],[91.535826,33.10019],[91.55492,33.060074],[91.583253,33.0375],[91.664557,33.012913],[91.685499,32.989324],[91.752637,32.969242],[91.799448,32.942126],[91.839484,32.948152],[91.857962,32.90244],[91.896766,32.907967],[91.955897,32.8205],[92.018722,32.829552],[92.038432,32.860725],[92.101874,32.860222],[92.145606,32.885857],[92.205352,32.866255],[92.227526,32.821003],[92.193649,32.801889],[92.211511,32.788306],[92.198577,32.754591],[92.255243,32.720863],[92.310062,32.751571],[92.343938,32.738484],[92.355641,32.764657],[92.411076,32.748048],[92.459119,32.76365],[92.484372,32.745028],[92.56814,32.73194],[92.574916,32.741001],[92.634662,32.720863],[92.667922,32.73194],[92.686401,32.76516],[92.756618,32.743014],[92.789262,32.719856],[92.822523,32.729926],[92.866871,32.698203],[92.933392,32.719353],[92.964189,32.714821],[93.00053,32.741001],[93.019624,32.737477],[93.023935,32.703239],[93.069515,32.626156],[93.087993,32.63674],[93.159442,32.644803],[93.176688,32.6705],[93.210565,32.655385],[93.239514,32.662439],[93.260456,32.62666],[93.300492,32.619604],[93.308499,32.580278],[93.33868,32.5712],[93.385492,32.525294],[93.411977,32.558086],[93.4631,32.556069],[93.476651,32.504603],[93.501904,32.503593],[93.516687,32.47583],[93.618933,32.522771],[93.651577,32.571705],[93.721795,32.578261],[93.75136,32.56313],[93.820345,32.549511],[93.851142,32.50965],[93.861613,32.466237],[93.90904,32.463207],[93.960163,32.484917],[93.978641,32.459672],[94.03038,32.448057],[94.049474,32.469771],[94.091974,32.463207],[94.137554,32.433915],[94.176974,32.454117],[94.196684,32.51621],[94.250886,32.51722],[94.292154,32.502584],[94.294002,32.519743],[94.350053,32.533871],[94.371611,32.524789],[94.395016,32.594397],[94.435052,32.562626],[94.463386,32.572209],[94.459074,32.599439],[94.522516,32.595909],[94.591501,32.640772],[94.614291,32.673522],[94.638312,32.645307],[94.737479,32.587338],[94.762116,32.526303],[94.78737,32.522266],[94.80708,32.486431],[94.852043,32.463712],[94.889616,32.472295],[94.912405,32.41573],[94.944434,32.404109],[94.988166,32.422802],[95.057151,32.395014],[95.075013,32.376315],[95.075013,32.376315],[95.081789,32.384907],[95.153853,32.386423],[95.218527,32.397035],[95.228382,32.363678],[95.261643,32.348006],[95.193274,32.332331],[95.096571,32.322217],[95.079325,32.279726],[95.10581,32.258979],[95.20744,32.297433],[95.214216,32.321712],[95.241317,32.3207],[95.239469,32.287315],[95.270266,32.194683],[95.270266,32.194683],[95.31523,32.148585],[95.366968,32.151118],[95.367584,32.178982],[95.406389,32.182021],[95.440265,32.157705],[95.454432,32.061898],[95.421171,32.033999],[95.454432,32.007613],[95.395918,32.001523],[95.360809,31.95939],[95.3682,31.92892],[95.408852,31.918761],[95.406389,31.896915],[95.456896,31.801853],[95.480301,31.795749],[95.511714,31.750468],[95.546823,31.73978],[95.580083,31.76726],[95.634286,31.782523],[95.779648,31.748941],[95.823995,31.68225],[95.853561,31.714329],[95.846169,31.736218],[95.89914,31.81711],[95.983524,31.816601],[95.989067,31.78761],[96.064828,31.720438],[96.135661,31.70211],[96.148595,31.686324],[96.156603,31.602769],[96.207726,31.598691],[96.221892,31.647613],[96.245298,31.657802],[96.252073,31.697527],[96.222508,31.733164],[96.231131,31.749959],[96.178161,31.775401],[96.183088,31.835924],[96.202798,31.841008],[96.214501,31.876589],[96.188632,31.904028],[96.220044,31.905553],[96.253305,31.929936],[96.288414,31.919777],[96.389428,31.919777],[96.407906,31.845583],[96.435623,31.796258],[96.468884,31.769804],[96.519391,31.74945],[96.56805,31.711783],[96.615477,31.737236],[96.661057,31.705674],[96.691854,31.722474],[96.722651,31.686833],[96.778701,31.675629],[96.790404,31.698545],[96.840295,31.720438],[96.799027,31.792188],[96.765767,31.819144],[96.760223,31.860325],[96.794716,31.869474],[96.81073,31.894375],[96.776238,31.935015],[96.753448,31.944156],[96.742977,32.001016],[96.722651,32.013195],[96.824281,32.007613],[96.868629,31.964975],[96.863085,31.996448],[96.894498,32.013703],[96.941925,31.986297],[96.965947,32.008628],[96.935766,32.048203],[97.006599,32.067984],[97.028773,32.04871],[97.127323,32.044145],[97.169823,32.032984],[97.188301,32.055304],[97.214786,32.042623],[97.233881,32.063927],[97.201852,32.090296],[97.219714,32.109054],[97.258518,32.072041],[97.308409,32.076605],[97.293011,32.096887],[97.313953,32.130342],[97.271453,32.139971],[97.264062,32.182527],[97.299786,32.294904],[97.32196,32.303503],[97.371235,32.273148],[97.415583,32.296421],[97.424822,32.322723],[97.387865,32.427349],[97.341054,32.440987],[97.388481,32.501575],[97.334895,32.514192],[97.332431,32.542448],[97.3583,32.563635],[97.374315,32.546484],[97.411887,32.575235],[97.448843,32.586833],[97.463626,32.55506],[97.50243,32.530844],[97.540618,32.536899],[97.670582,32.51722],[97.684132,32.530339],[97.730944,32.527312],[97.700763,32.53488],[97.616995,32.586329],[97.607756,32.614059],[97.543698,32.62162],[97.535075,32.638252],[97.48272,32.654377],[97.42359,32.70475],[97.429133,32.714318],[97.386018,32.77925],[97.392793,32.828546],[97.376163,32.886359],[97.347829,32.895907],[97.375547,32.956689],[97.438372,32.976271],[97.523988,32.988822],[97.499966,33.011408],[97.542466,33.035995],[97.517213,33.097683],[97.487032,33.107209],[97.498119,33.137783],[97.487648,33.168346],[97.548626,33.203907],[97.607756,33.263976],[97.622538,33.337005],[97.676125,33.341004],[97.754349,33.409972],[97.674893,33.432949],[97.625618,33.461412],[97.552321,33.465906],[97.511669,33.520805],[97.523372,33.577166],[97.450075,33.582152],[97.415583,33.605582],[97.435293,33.682307],[97.418046,33.728608],[97.422974,33.754984],[97.406344,33.795278],[97.373083,33.817655],[97.371851,33.842015],[97.398336,33.848477],[97.395257,33.889224],[97.460546,33.887236],[97.503662,33.912073],[97.52214,33.903133],[97.601596,33.929951],[97.629314,33.919523],[97.660111,33.956264],[97.652719,33.998448],[97.70261,34.036644],[97.665654,34.126855],[97.766668,34.158555],[97.789458,34.182818],[97.789458,34.182818],[97.796849,34.199154],[97.796849,34.199154],[97.8104,34.207568],[97.898479,34.209548],[97.95453,34.190739],[98.028442,34.122892],[98.098043,34.122892],[98.158405,34.107037],[98.206449,34.08424],[98.258188,34.083249],[98.344419,34.094648],[98.399854,34.085231],[98.396774,34.053008],[98.428187,34.029204],[98.440506,33.981577],[98.415252,33.956761],[98.425723,33.913066],[98.407245,33.867362],[98.434962,33.843009],[98.463295,33.848477],[98.492861,33.796272],[98.494092,33.768915],[98.51873,33.77389],[98.539672,33.746525],[98.582788,33.731595],[98.610505,33.682805],[98.6567,33.64744],[98.61728,33.637476],[98.622824,33.610067],[98.652389,33.595114],[98.648077,33.548741],[98.678258,33.522801],[98.725686,33.503341],[98.742316,33.477887],[98.736157,33.406975],[98.779888,33.370497],[98.759562,33.276985],[98.802062,33.270481],[98.804526,33.219428],[98.858728,33.150811],[98.92217,33.118738],[98.967134,33.115229],[98.971445,33.098185],[99.014561,33.081137],[99.024416,33.094675],[99.090322,33.079131],[99.124814,33.046028],[99.196263,33.035493],[99.214741,32.991332],[99.235067,32.982296],[99.24677,32.924043],[99.268944,32.878318],[99.353944,32.885354],[99.376118,32.899927],[99.45311,32.862233],[99.558436,32.839106],[99.589233,32.789312],[99.640355,32.790822],[99.646515,32.774721],[99.700718,32.76667],[99.717964,32.732443],[99.760464,32.769689],[99.766623,32.826032],[99.791877,32.883344],[99.764159,32.924545],[99.788181,32.956689],[99.805427,32.940619],[99.851007,32.941623],[99.877492,32.993339],[99.877492,33.045527],[99.947709,32.986814],[99.956332,32.948152],[100.038252,32.929066],[100.029629,32.895907],[100.064738,32.895907],[100.123252,32.837095],[100.117093,32.802392],[100.139266,32.724388],[100.088143,32.668988],[100.109701,32.640268],[100.189773,32.630692],[100.208252,32.606497],[100.229809,32.650346],[100.231041,32.696189],[100.258759,32.742511],[100.339447,32.719353],[100.399193,32.756101],[100.378251,32.698707],[100.420135,32.73194],[100.450932,32.694678],[100.470026,32.694678],[100.516837,32.632204],[100.54517,32.569687],[100.603069,32.553547],[100.645568,32.526303],[100.657887,32.546484],[100.661583,32.616075],[100.673286,32.628172],[100.710242,32.610026],[100.71209,32.645307],[100.690532,32.678056],[100.77122,32.643795],[100.834046,32.648835],[100.887633,32.632708],[100.93198,32.600447],[100.956618,32.621116],[100.99727,32.627668],[101.030531,32.660424],[101.077342,32.68259],[101.124769,32.658408],[101.157414,32.661431],[101.22332,32.725898],[101.237486,32.825026],[101.223935,32.855698],[101.178356,32.892892],[101.124153,32.909976],[101.134624,32.95217],[101.129081,32.989324],[101.183899,32.984304],[101.171581,33.009902],[101.184515,33.041514],[101.146327,33.056563],[101.143863,33.086151],[101.169733,33.10019],[101.11553,33.194893],[101.124769,33.221431],[101.156798,33.236449],[101.182668,33.26948],[101.217776,33.256469],[101.297232,33.262475],[101.381616,33.153316],[101.393935,33.157826],[101.386543,33.207412],[101.403174,33.225436],[101.487557,33.226938],[101.515275,33.192889],[101.557775,33.167344],[101.633535,33.101193],[101.661252,33.135778],[101.653861,33.162835],[101.709912,33.21292],[101.735781,33.279987],[101.677883,33.297497],[101.64955,33.323004],[101.663716,33.383991],[101.695745,33.433948],[101.769042,33.45592],[101.777665,33.533776],[101.769042,33.538765],[101.748716,33.505337],[101.718535,33.494857],[101.622448,33.502343],[101.611977,33.565199],[101.616905,33.598603],[101.585492,33.645448],[101.58426,33.674339],[101.501724,33.702723],[101.428427,33.680315],[101.424732,33.655411],[101.385312,33.644949],[101.302776,33.657902],[101.23687,33.685793],[101.217776,33.669856],[101.166653,33.659894],[101.177124,33.685295],[101.162957,33.719649],[101.186363,33.741051],[101.190675,33.791796],[101.153102,33.823124],[101.153718,33.8445],[101.054552,33.863386],[101.023139,33.896178],[100.994806,33.891707],[100.965857,33.946832],[100.927669,33.975126],[100.93506,33.990013],[100.880857,34.036644],[100.870386,34.083744],[100.848828,34.089692],[100.806329,34.155584],[100.764445,34.178857],[100.809408,34.247153],[100.798321,34.260014],[100.821727,34.317371],[100.868538,34.332693],[100.895024,34.375183],[100.951074,34.38358],[100.986799,34.374689],[101.054552,34.322808],[101.098284,34.329233],[101.178356,34.320831],[101.193754,34.336646],[101.235022,34.325279],[101.228863,34.298586],[101.268899,34.278808],[101.325565,34.268423],[101.327413,34.24468],[101.369913,34.248143],[101.417956,34.227858],[101.482014,34.218951],[101.492485,34.195689],[101.53868,34.212022],[101.6206,34.178857],[101.674187,34.110506],[101.703136,34.119424],[101.718535,34.083249],[101.736397,34.080275],[101.764114,34.122892],[101.788136,34.131809],[101.836795,34.124378],[101.851578,34.153108],[101.874367,34.130323],[101.897773,34.133791],[101.955055,34.109514],[101.965526,34.167469],[102.003099,34.162022],[102.030816,34.190739],[102.01357,34.218456],[102.062229,34.227858],[102.067772,34.293642],[102.149692,34.271885],[102.186649,34.352952],[102.237156,34.34307],[102.237156,34.34307],[102.259329,34.355917],[102.205743,34.407777],[102.169402,34.457631],[102.155852,34.507456],[102.139837,34.50351],[102.093026,34.536547],[102.001867,34.538519],[101.97415,34.548871],[101.956287,34.582876],[101.934729,34.58731],[101.919947,34.621791],[101.917483,34.705964],[101.923027,34.835746],[101.916867,34.873561],[101.985852,34.90007],[102.068388,34.887798],[102.048062,34.910868],[102.094874,34.986901],[102.133678,35.014844],[102.157699,35.010923],[102.176178,35.032977],[102.211286,35.034937],[102.218062,35.057475],[102.252554,35.048657],[102.29567,35.071681],[102.310452,35.128967],[102.346793,35.164201],[102.404075,35.179366],[102.365887,35.235599],[102.370199,35.263946],[102.3123,35.282512],[102.280887,35.303028],[102.311684,35.31426],[102.317844,35.343067],[102.287663,35.36552],[102.293822,35.424063],[102.314764,35.434303],[102.408387,35.409431],[102.447807,35.437229],[102.437952,35.455268],[102.49893,35.545403],[102.503241,35.585322],[102.531575,35.580455],[102.570995,35.548324],[102.695414,35.528358],[102.743458,35.494745],[102.782878,35.527871],[102.729291,35.523487],[102.746537,35.545403],[102.808747,35.560496],[102.763168,35.612086],[102.7644,35.653431],[102.744074,35.657807],[102.707733,35.70496],[102.686175,35.771996],[102.715125,35.815685],[102.739146,35.821023],[102.787189,35.862745],[102.81737,35.850133],[102.914073,35.845282],[102.94487,35.829757],[102.954725,35.858864],[102.942406,35.92674],[102.971971,35.995525],[102.951645,36.021667],[102.968276,36.044414],[102.932551,36.048285],[102.882044,36.082632],[102.941174,36.104877],[102.948566,36.150798],[102.965812,36.151765],[102.986754,36.193312],[103.048964,36.199107],[103.066826,36.216974],[103.021246,36.232906],[103.024942,36.256556],[102.922696,36.298047],[102.896827,36.331803],[102.845704,36.331803],[102.836465,36.344819],[102.829689,36.365544]]]]}},{"type":"Feature","properties":{"adcode":640000,"name":"宁夏回族自治区","center":[106.278179,38.46637],"centroid":[106.169866,37.291332],"childrenNum":5,"level":"province","parent":{"adcode":100000},"subFeatureIndex":29,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[107.268764,37.099367],[107.281083,37.127047],[107.306952,37.100799],[107.334669,37.138975],[107.336517,37.165687],[107.317423,37.200017],[107.270612,37.229089],[107.309416,37.239095],[107.273075,37.29101],[107.257677,37.337179],[107.282931,37.437036],[107.284162,37.481691],[107.345756,37.518725],[107.369162,37.58752],[107.330358,37.584201],[107.311264,37.609806],[107.361155,37.613125],[107.422133,37.665254],[107.389488,37.671413],[107.387024,37.691305],[107.425828,37.684201],[107.484959,37.706458],[107.499125,37.765619],[107.57119,37.776499],[107.599523,37.791162],[107.620465,37.776026],[107.646335,37.805349],[107.659269,37.844112],[107.65003,37.86443],[107.560719,37.893717],[107.49235,37.944706],[107.448618,37.933378],[107.411662,37.948009],[107.440611,37.995659],[107.3938,38.014993],[107.33159,38.086625],[107.240431,38.111586],[107.19054,38.153953],[107.138801,38.161011],[107.119091,38.134185],[107.071047,38.138892],[107.051337,38.122886],[107.010069,38.120532],[106.942316,38.132302],[106.858548,38.156306],[106.779092,38.171833],[106.737824,38.197706],[106.654672,38.22921],[106.627571,38.232501],[106.555506,38.263521],[106.482209,38.319417],[106.599854,38.389812],[106.647897,38.470917],[106.66268,38.601524],[106.709491,38.718821],[106.756302,38.748699],[106.837606,38.847579],[106.954019,38.941202],[106.971881,39.026333],[106.96757,39.054688],[106.933693,39.076527],[106.878874,39.091392],[106.859164,39.107648],[106.825288,39.19397],[106.795723,39.214375],[106.790795,39.241263],[106.806193,39.277407],[106.806809,39.318625],[106.781556,39.371849],[106.751375,39.381564],[106.683622,39.357506],[106.643586,39.357969],[106.602318,39.37555],[106.556122,39.322329],[106.525325,39.308439],[106.511774,39.272311],[106.402753,39.291767],[106.280181,39.262118],[106.29558,39.167992],[106.285109,39.146181],[106.251232,39.131327],[106.192718,39.142932],[106.170544,39.163352],[106.145907,39.153142],[106.096631,39.084889],[106.078153,39.026333],[106.087392,39.006339],[106.060907,38.96866],[106.021487,38.953769],[105.97098,38.909077],[105.992538,38.857366],[105.909386,38.791159],[105.908154,38.737496],[105.88598,38.716953],[105.894603,38.696405],[105.852719,38.641735],[105.874277,38.593105],[105.856415,38.569714],[105.863806,38.53508],[105.836705,38.476071],[105.850872,38.443736],[105.827466,38.432486],[105.835473,38.387467],[105.821307,38.366824],[105.86627,38.296406],[105.842248,38.240962],[105.802828,38.220277],[105.775111,38.186887],[105.76772,38.121474],[105.780655,38.084741],[105.840401,38.004147],[105.799749,37.939986],[105.80406,37.862068],[105.760944,37.799674],[105.677177,37.771769],[105.622358,37.777919],[105.616199,37.722555],[105.598952,37.699356],[105.467141,37.695094],[105.4037,37.710246],[105.315004,37.702197],[105.221998,37.677097],[105.187505,37.657674],[105.111128,37.633981],[105.027977,37.580881],[104.866601,37.566651],[104.805007,37.539133],[104.623305,37.522522],[104.433595,37.515402],[104.419429,37.511604],[104.407726,37.464592],[104.322726,37.44844],[104.287002,37.428007],[104.298705,37.414223],[104.365226,37.418026],[104.437907,37.445589],[104.448994,37.42468],[104.499501,37.421353],[104.521059,37.43466],[104.679971,37.408044],[104.662109,37.367626],[104.713848,37.329566],[104.673812,37.317668],[104.651022,37.290534],[104.624536,37.298627],[104.600515,37.242907],[104.638087,37.201923],[104.717543,37.208597],[104.776673,37.246718],[104.85613,37.211933],[104.864753,37.17284],[104.888158,37.15901],[104.914644,37.097935],[104.954064,37.077407],[104.95468,37.040156],[105.004571,37.035378],[105.03968,37.007187],[105.05939,37.022956],[105.128991,36.996194],[105.165331,36.99476],[105.185657,36.942164],[105.178882,36.892403],[105.244787,36.894796],[105.279896,36.86751],[105.303302,36.820575],[105.334714,36.80093],[105.340874,36.764502],[105.319932,36.742924],[105.275584,36.752515],[105.272505,36.739567],[105.218302,36.730455],[105.201056,36.700711],[105.225693,36.664716],[105.22015,36.631105],[105.261418,36.602764],[105.2762,36.563358],[105.252179,36.553263],[105.281744,36.522489],[105.322396,36.535954],[105.362432,36.496514],[105.363048,36.443093],[105.398156,36.430575],[105.401236,36.369881],[105.425873,36.330357],[105.455439,36.321678],[105.476381,36.293224],[105.45975,36.268137],[105.460366,36.223733],[105.478844,36.213111],[105.515185,36.147415],[105.491163,36.101009],[105.430801,36.10391],[105.406163,36.074409],[105.343954,36.033767],[105.324859,35.941761],[105.350113,35.875839],[105.39754,35.857409],[105.371055,35.844312],[105.38091,35.792873],[105.408627,35.822479],[105.428953,35.819082],[105.432033,35.787533],[105.457286,35.771511],[105.481924,35.727312],[105.595873,35.715651],[105.667322,35.749657],[105.70243,35.733142],[105.759097,35.724883],[105.740618,35.698643],[105.723988,35.725854],[105.690727,35.698643],[105.722756,35.673366],[105.713517,35.650513],[105.759097,35.634464],[105.762176,35.602841],[105.800365,35.564878],[105.816379,35.575101],[105.847176,35.490359],[105.868734,35.540046],[105.900147,35.54735],[106.017175,35.519103],[106.023335,35.49377],[106.047356,35.498155],[106.078769,35.509848],[106.071994,35.463555],[106.06953,35.458193],[106.073842,35.45478],[106.073226,35.450393],[106.071378,35.449418],[106.073226,35.447468],[106.083081,35.421624],[106.113262,35.361616],[106.129892,35.393333],[106.173008,35.437716],[106.196414,35.409919],[106.237681,35.409431],[106.241377,35.358687],[106.319601,35.265411],[106.363333,35.238532],[106.368261,35.273718],[106.415688,35.276161],[106.472354,35.310842],[106.501304,35.364056],[106.503767,35.415284],[106.483441,35.450393],[106.490217,35.480613],[106.465579,35.481101],[106.440941,35.52641],[106.460036,35.578995],[106.47913,35.575101],[106.460036,35.643705],[106.434782,35.688436],[106.49268,35.732656],[106.506231,35.737514],[106.566593,35.738971],[106.595542,35.727312],[106.620796,35.743829],[106.633115,35.714679],[106.66268,35.70739],[106.674998,35.728284],[106.750759,35.689408],[106.750759,35.725369],[106.806193,35.70982],[106.819128,35.7448],[106.867171,35.738485],[106.868403,35.771996],[106.897353,35.759856],[106.927534,35.810346],[106.849925,35.887476],[106.912751,35.93207],[106.940468,35.931101],[106.93862,35.952905],[106.90228,35.943699],[106.94786,35.988262],[106.928149,36.011502],[106.940468,36.064734],[106.957715,36.091337],[106.925686,36.115997],[106.930613,36.138716],[106.873947,36.178338],[106.873947,36.178338],[106.858548,36.206834],[106.858548,36.206834],[106.833295,36.229044],[106.808657,36.21118],[106.772933,36.212628],[106.735976,36.23725],[106.698404,36.244008],[106.685469,36.273445],[106.647897,36.259451],[106.559202,36.292259],[106.54134,36.25366],[106.504383,36.266207],[106.470507,36.306246],[106.497608,36.31348],[106.510543,36.379037],[106.492064,36.422389],[106.523477,36.468605],[106.494528,36.494589],[106.455724,36.496995],[106.39721,36.548455],[106.37134,36.549417],[106.363949,36.577296],[106.392282,36.556628],[106.397826,36.576816],[106.444637,36.557109],[106.465579,36.583063],[106.444637,36.624861],[106.491448,36.628703],[106.490833,36.685835],[106.530869,36.690154],[106.519782,36.708868],[106.519782,36.708868],[106.514238,36.715584],[106.59431,36.750118],[106.644817,36.72278],[106.627571,36.752995],[106.657752,36.820575],[106.637426,36.867031],[106.637426,36.867031],[106.626955,36.892403],[106.609709,36.878521],[106.609709,36.878521],[106.601702,36.918244],[106.549347,36.941685],[106.540108,36.984244],[106.595542,36.94025],[106.594926,36.967988],[106.64297,36.962729],[106.646665,37.000496],[106.666991,37.016745],[106.645433,37.064992],[106.605397,37.127524],[106.6171,37.135158],[106.673151,37.1113],[106.687933,37.12991],[106.728585,37.121321],[106.750143,37.09889],[106.772933,37.120367],[106.776012,37.158056],[106.818512,37.141838],[106.891193,37.098413],[106.912135,37.110345],[106.905976,37.151378],[106.998367,37.106527],[107.031011,37.108436],[107.030395,37.140883],[107.095685,37.115595],[107.133873,37.134681],[107.181916,37.143269],[107.234887,37.096503],[107.268764,37.099367]]],[[[106.048588,35.488898],[105.897683,35.451368],[105.894603,35.413821],[106.002393,35.438692],[106.034422,35.469404],[106.054132,35.45478],[106.048588,35.488898]]],[[[106.073842,35.45478],[106.06953,35.458193],[106.071378,35.449418],[106.073226,35.450393],[106.073842,35.45478]]]]}},{"type":"Feature","properties":{"adcode":650000,"name":"新疆维吾尔自治区","center":[87.617733,43.792818],"centroid":[85.294711,41.371801],"childrenNum":24,"level":"province","parent":{"adcode":100000},"subFeatureIndex":30,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[96.386348,42.727592],[96.363558,42.900562],[95.921314,43.229789],[95.880046,43.28035],[95.857872,43.417436],[95.735916,43.597569],[95.705735,43.67077],[95.645373,43.787966],[95.623199,43.855756],[95.527113,44.007466],[95.426099,44.009618],[95.377439,44.025972],[95.326932,44.028554],[95.35157,44.090054],[95.355882,44.166087],[95.376208,44.227444],[95.4107,44.245024],[95.43041,44.281882],[95.41378,44.298589],[95.238853,44.277169],[95.1286,44.269884],[94.998637,44.253169],[94.945666,44.292592],[94.826174,44.320001],[94.768275,44.34055],[94.722696,44.34055],[94.673421,44.397021],[94.606283,44.448311],[94.557008,44.462408],[94.470777,44.509373],[94.390705,44.521749],[94.359292,44.515775],[94.329727,44.582734],[94.279836,44.603617],[94.227481,44.645785],[94.215162,44.667921],[94.152336,44.684944],[94.066105,44.732154],[93.723642,44.865498],[93.716251,44.894334],[93.613389,44.926546],[93.509296,44.968055],[93.434767,44.955351],[93.376869,44.985412],[93.314659,44.995147],[93.314043,44.980333],[93.252449,44.991761],[93.174225,45.015458],[93.100312,45.007419],[93.062124,45.018419],[93.002377,45.009958],[92.932776,45.017573],[92.922921,45.03703],[92.884117,45.046756],[92.847777,45.038721],[92.779407,45.050561],[92.683937,45.02561],[92.547814,45.018419],[92.501003,45.001072],[92.414155,45.018419],[92.348866,45.014188],[92.315605,45.028994],[92.240461,45.015881],[92.100026,45.081417],[92.056911,45.086911],[91.885679,45.078882],[91.803144,45.082685],[91.694738,45.065357],[91.561695,45.075501],[91.500101,45.103809],[91.448978,45.156586],[91.429268,45.156586],[91.37753,45.11099],[91.33503,45.129571],[91.242023,45.13717],[91.230936,45.153632],[91.195827,45.159118],[91.17119,45.199616],[91.129922,45.21606],[91.050466,45.208892],[91.007966,45.218589],[90.96177,45.201303],[90.881698,45.192025],[90.866916,45.209314],[90.897713,45.249776],[90.877387,45.280946],[90.831807,45.300313],[90.804706,45.29484],[90.813329,45.32851],[90.773909,45.405874],[90.772677,45.432338],[90.723402,45.464667],[90.671047,45.487747],[90.676591,45.582488],[90.714779,45.728895],[90.799778,45.834905],[90.890937,45.921566],[91.028292,46.023054],[91.014741,46.06667],[91.021517,46.121038],[90.98456,46.160431],[90.94822,46.219262],[90.955611,46.233752],[90.900177,46.31235],[90.983328,46.374734],[90.996263,46.419309],[91.025828,46.444057],[91.038147,46.500936],[91.060937,46.516999],[91.079415,46.558989],[91.068328,46.579149],[91.017821,46.58244],[91.036299,46.670393],[91.054161,46.717598],[91.019053,46.766402],[90.992567,46.769682],[90.992567,46.790583],[90.942676,46.82581],[90.958075,46.879425],[90.929742,46.893331],[90.92235,46.938707],[90.901408,46.960768],[90.830575,46.995883],[90.767134,46.992617],[90.691989,47.080717],[90.653801,47.111681],[90.579888,47.198364],[90.56141,47.206903],[90.521374,47.2845],[90.488113,47.317374],[90.526301,47.379007],[90.507823,47.400076],[90.468403,47.404937],[90.459164,47.43895],[90.474562,47.462422],[90.468403,47.497611],[90.398186,47.547724],[90.376012,47.603036],[90.346447,47.637324],[90.384635,47.644179],[90.331665,47.681663],[90.216484,47.70543],[90.180144,47.72516],[90.13518,47.723147],[90.07605,47.777469],[90.070506,47.820483],[90.086521,47.86547],[90.066195,47.883534],[90.040941,47.874704],[89.960253,47.885942],[89.957789,47.842982],[89.86971,47.834144],[89.761921,47.835751],[89.735435,47.89758],[89.651052,47.913627],[89.645508,47.947711],[89.595617,47.973359],[89.599313,48.015811],[89.569132,48.037825],[89.498299,48.02822],[89.38127,48.046227],[89.359712,48.026219],[89.308589,48.021816],[89.282104,47.994189],[89.231597,47.98017],[89.156452,47.996992],[89.078228,47.98698],[89.044967,48.009806],[89.027105,48.051028],[88.953808,48.090618],[88.939026,48.115396],[88.824461,48.107005],[88.79736,48.133772],[88.721599,48.160526],[88.700657,48.180881],[88.668628,48.171303],[88.638447,48.183674],[88.601491,48.221567],[88.594716,48.259831],[88.575006,48.277757],[88.605803,48.337863],[88.573774,48.351785],[88.573158,48.369679],[88.535586,48.368884],[88.523267,48.403461],[88.503557,48.412996],[88.462289,48.392335],[88.438267,48.393528],[88.360659,48.433251],[88.363123,48.460641],[88.318159,48.478497],[88.229464,48.498329],[88.196819,48.493967],[88.151855,48.526478],[88.130297,48.521721],[88.10874,48.545895],[88.041602,48.548272],[87.973233,48.575997],[87.96153,48.599353],[88.010805,48.618742],[88.02682,48.65315],[88.089645,48.69504],[88.090877,48.71992],[88.064392,48.712813],[88.029283,48.750313],[87.96153,48.773588],[87.93874,48.757809],[87.872219,48.799612],[87.826639,48.800795],[87.803234,48.824835],[87.829103,48.825623],[87.792147,48.849258],[87.78106,48.872094],[87.742256,48.881146],[87.760118,48.925992],[87.793995,48.927565],[87.814321,48.945256],[87.87653,48.949186],[87.871603,48.963726],[87.911639,48.979833],[87.883922,48.993971],[87.883306,49.023806],[87.835263,49.054406],[87.858052,49.07362],[87.844502,49.090084],[87.867291,49.108892],[87.845733,49.146096],[87.82048,49.148445],[87.821096,49.173883],[87.793379,49.18249],[87.762582,49.172709],[87.700372,49.175839],[87.67635,49.15549],[87.602437,49.152359],[87.563017,49.142572],[87.517438,49.145704],[87.49588,49.132001],[87.511894,49.10184],[87.43675,49.075188],[87.388707,49.097921],[87.304939,49.112418],[87.239033,49.114376],[87.211932,49.140615],[87.112766,49.15549],[87.088128,49.133567],[87.000049,49.142572],[86.953853,49.131218],[86.887948,49.132001],[86.854071,49.109284],[86.84976,49.066563],[86.836209,49.051269],[86.772151,49.02773],[86.732115,48.994757],[86.730267,48.959797],[86.757985,48.894919],[86.782006,48.887049],[86.821426,48.850439],[86.818963,48.831139],[86.770303,48.810255],[86.754289,48.78463],[86.780774,48.731369],[86.771535,48.717156],[86.70255,48.666195],[86.693311,48.64366],[86.640956,48.629027],[86.635413,48.612016],[86.594761,48.576789],[86.579978,48.538763],[86.416138,48.481671],[86.38103,48.49357],[86.305269,48.491984],[86.270161,48.452307],[86.225813,48.432456],[86.053966,48.441192],[85.916612,48.438015],[85.791576,48.418954],[85.758315,48.403064],[85.695489,48.335078],[85.695489,48.302445],[85.678243,48.266205],[85.633895,48.232731],[85.622193,48.202824],[85.587084,48.191654],[85.576613,48.15853],[85.55136,48.127781],[85.551975,48.081423],[85.531649,48.046227],[85.547048,48.008205],[85.617881,47.550552],[85.614801,47.498015],[85.685018,47.428829],[85.701649,47.384275],[85.675779,47.321837],[85.701033,47.28856],[85.682555,47.249982],[85.682555,47.222757],[85.641903,47.18413],[85.582772,47.142626],[85.547048,47.096609],[85.545816,47.057891],[85.441106,47.063191],[85.355491,47.054629],[85.325926,47.044842],[85.276651,47.068898],[85.213825,47.041172],[85.175637,46.997924],[85.102956,46.968936],[85.082014,46.939933],[84.987159,46.918272],[84.979768,46.883106],[84.95513,46.861013],[84.934188,46.863878],[84.867051,46.927673],[84.849189,46.957092],[84.781435,46.979962],[84.748175,47.009759],[84.699515,47.008535],[84.668718,46.995067],[84.563393,46.991801],[84.506726,46.97302],[84.425422,47.008943],[84.37122,46.993434],[84.336727,47.00527],[84.2893,46.994658],[84.195061,47.003638],[84.150098,46.977512],[84.086656,46.965261],[84.038613,46.973428],[84.002888,46.990576],[83.951765,46.98731],[83.932671,46.970161],[83.88586,46.982003],[83.766367,47.026896],[83.69923,47.015472],[83.700462,47.032199],[83.576042,47.059114],[83.566803,47.080717],[83.53847,47.083977],[83.463325,47.132042],[83.418978,47.119012],[83.370318,47.178436],[83.324739,47.167858],[83.306261,47.179656],[83.257602,47.173147],[83.221877,47.186977],[83.207094,47.213814],[83.17445,47.218286],[83.15474,47.236168],[83.108544,47.221944],[83.02724,47.21544],[83.031552,47.168265],[82.993364,47.065229],[82.937929,47.014248],[82.923762,46.932169],[82.876335,46.823762],[82.878183,46.797138],[82.829524,46.772551],[82.788872,46.677784],[82.774089,46.600124],[82.726662,46.494756],[82.609017,46.294985],[82.518474,46.153798],[82.461808,45.97982],[82.401446,45.972333],[82.342932,45.935303],[82.336156,45.882418],[82.349707,45.822811],[82.340468,45.772742],[82.289961,45.71636],[82.288729,45.655321],[82.266555,45.620172],[82.281954,45.53891],[82.448257,45.461309],[82.546808,45.426038],[82.60101,45.346178],[82.58746,45.224069],[82.562822,45.204676],[82.487061,45.181058],[82.344779,45.219011],[82.294272,45.247669],[82.206809,45.236713],[82.109491,45.211422],[82.091012,45.222383],[82.09594,45.249776],[82.052824,45.255674],[81.993078,45.237978],[81.921013,45.233342],[81.879745,45.284314],[81.832318,45.319673],[81.78797,45.3836],[81.677101,45.35459],[81.645072,45.359216],[81.582863,45.336503],[81.575471,45.30789],[81.536667,45.304101],[81.52866,45.285999],[81.462754,45.264099],[81.437501,45.28263],[81.398697,45.275471],[81.382066,45.257781],[81.327864,45.260729],[81.284748,45.23882],[81.236705,45.247248],[81.175111,45.227863],[81.170183,45.211001],[81.111669,45.218168],[81.080872,45.182745],[81.024821,45.162916],[80.966307,45.168402],[80.93551,45.160384],[80.897938,45.127459],[80.862214,45.127037],[80.816634,45.152788],[80.731634,45.156164],[80.686055,45.129148],[80.599207,45.105921],[80.519135,45.108878],[80.493882,45.127037],[80.445839,45.097895],[80.443991,45.077614],[80.404571,45.049293],[80.358375,45.040836],[80.328194,45.070007],[80.291854,45.06578],[80.24381,45.031532],[80.195767,45.030686],[80.144644,45.059017],[80.136021,45.041259],[80.111999,45.052675],[80.060876,45.026033],[80.056565,45.011227],[79.98142,44.964244],[79.951855,44.957892],[79.944464,44.937985],[79.887798,44.90917],[79.969102,44.877797],[79.953703,44.849377],[79.991891,44.830281],[79.999283,44.793768],[80.087978,44.817122],[80.115695,44.815424],[80.169898,44.84471],[80.18776,44.825612],[80.178521,44.796741],[80.200695,44.756808],[80.238883,44.7228],[80.313412,44.704938],[80.400259,44.628751],[80.411962,44.605321],[80.350368,44.484615],[80.383013,44.401297],[80.399027,44.30587],[80.413194,44.264741],[80.400875,44.198704],[80.407034,44.149772],[80.3941,44.127009],[80.449534,44.078017],[80.458773,44.047054],[80.457541,43.981203],[80.485259,43.95579],[80.475404,43.938124],[80.511128,43.906657],[80.522215,43.816473],[80.75504,43.494329],[80.761199,43.446554],[80.746417,43.439167],[80.735946,43.389609],[80.686055,43.333916],[80.69283,43.32042],[80.777214,43.308227],[80.769207,43.265535],[80.788917,43.242433],[80.789533,43.201876],[80.804315,43.178314],[80.79446,43.137277],[80.752576,43.148194],[80.73225,43.131163],[80.706997,43.143828],[80.650946,43.147321],[80.593048,43.133347],[80.556092,43.104515],[80.482795,43.06955],[80.416889,43.05687],[80.378701,43.031502],[80.397795,42.996933],[80.487106,42.948766],[80.5912,42.923354],[80.602903,42.894424],[80.503737,42.882146],[80.450766,42.861971],[80.407034,42.834767],[80.338049,42.831695],[80.280151,42.838278],[80.262289,42.828623],[80.259209,42.790865],[80.225948,42.713083],[80.228412,42.692852],[80.179753,42.670415],[80.163738,42.629919],[80.180985,42.590718],[80.221637,42.533415],[80.265368,42.502097],[80.225948,42.485769],[80.206238,42.431462],[80.239499,42.389927],[80.229028,42.358536],[80.283847,42.320493],[80.272144,42.281984],[80.29247,42.259842],[80.28631,42.233261],[80.233339,42.210215],[80.168666,42.200462],[80.163738,42.152563],[80.139717,42.151232],[80.16805,42.096635],[80.193303,42.081535],[80.14218,42.03488],[80.089826,42.047325],[79.923522,42.042436],[79.852689,42.015319],[79.854537,41.984186],[79.822508,41.963275],[79.776313,41.89248],[79.724574,41.896935],[79.640806,41.884907],[79.616784,41.856385],[79.550879,41.834094],[79.500988,41.835432],[79.457256,41.847915],[79.415372,41.836769],[79.356242,41.795735],[79.326061,41.809565],[79.276786,41.78101],[79.271858,41.767174],[79.21704,41.725648],[79.138199,41.722968],[79.10925,41.697503],[79.043345,41.681414],[79.021787,41.657273],[78.99407,41.664427],[78.957729,41.65146],[78.891824,41.597777],[78.86657,41.593749],[78.825302,41.560173],[78.739071,41.555695],[78.696571,41.54181],[78.707042,41.522098],[78.675629,41.50238],[78.650375,41.467411],[78.580774,41.481759],[78.527188,41.440947],[78.454507,41.412228],[78.391681,41.408189],[78.385522,41.394721],[78.338094,41.397415],[78.324544,41.384395],[78.235232,41.399211],[78.163783,41.383497],[78.149617,41.368228],[78.165015,41.340825],[78.136682,41.279239],[78.129291,41.228398],[78.094798,41.224347],[77.972842,41.173013],[77.905089,41.185174],[77.836104,41.153189],[77.814546,41.13426],[77.807155,41.091876],[77.829328,41.059394],[77.796068,41.049014],[77.780669,41.022832],[77.737553,41.032313],[77.684583,41.00793],[77.654402,41.016059],[77.597119,41.005221],[77.591576,40.992122],[77.540453,41.006575],[77.476395,40.999349],[77.473931,41.022832],[77.415417,41.038633],[77.363062,41.04089],[77.296541,41.004769],[77.236795,41.027798],[77.169041,41.009285],[77.108063,41.038181],[77.091433,41.062553],[77.023064,41.059394],[77.002122,41.073381],[76.940528,41.028701],[76.885709,41.027347],[76.85368,40.97631],[76.817956,40.975406],[76.761905,40.954167],[76.741579,40.912119],[76.731724,40.818887],[76.693536,40.779472],[76.646725,40.759983],[76.646725,40.73686],[76.676906,40.696036],[76.654732,40.652917],[76.657196,40.620218],[76.611,40.601591],[76.601145,40.578868],[76.556798,40.542495],[76.543247,40.513837],[76.539551,40.464226],[76.508754,40.429613],[76.470566,40.422779],[76.442233,40.391336],[76.390494,40.37766],[76.381871,40.39088],[76.333212,40.343459],[76.327668,40.391336],[76.283321,40.415034],[76.279625,40.439179],[76.22419,40.401819],[76.176147,40.381307],[76.144118,40.393615],[76.081293,40.39635],[76.048648,40.388601],[76.048648,40.357141],[76.026474,40.355317],[75.986438,40.381763],[75.932235,40.339353],[75.921764,40.291439],[75.890351,40.30924],[75.84046,40.312434],[75.831221,40.327492],[75.785642,40.301025],[75.739446,40.299199],[75.709265,40.280939],[75.688323,40.343915],[75.669845,40.363982],[75.686475,40.418223],[75.717272,40.443278],[75.733287,40.474242],[75.646439,40.516567],[75.631041,40.548862],[75.627345,40.605226],[75.636584,40.624306],[75.599628,40.659727],[75.550353,40.64883],[75.467817,40.599773],[75.432093,40.563412],[75.355716,40.537947],[75.292274,40.483802],[75.268869,40.483802],[75.242383,40.448743],[75.206659,40.447833],[75.13521,40.463315],[75.102565,40.44009],[75.051442,40.449654],[75.021877,40.466958],[74.995392,40.455119],[74.963363,40.464681],[74.891914,40.507467],[74.844486,40.521117],[74.819233,40.505647],[74.814921,40.461039],[74.795211,40.443278],[74.908544,40.338897],[74.862965,40.32658],[74.824776,40.344371],[74.700357,40.346195],[74.697893,40.310153],[74.673255,40.278656],[74.618437,40.27957],[74.577169,40.260391],[74.534669,40.207851],[74.485394,40.182251],[74.433039,40.13148],[74.356662,40.089371],[74.316626,40.106767],[74.280902,40.09807],[74.26304,40.125074],[74.126301,40.104479],[74.113366,40.086624],[74.023439,40.085251],[74.008041,40.050901],[73.943367,40.016076],[73.980324,40.004617],[73.910722,39.934443],[73.907027,39.873843],[73.845433,39.831115],[73.841737,39.756163],[73.905795,39.741899],[73.924273,39.722108],[73.953838,39.600018],[73.916266,39.586644],[73.914418,39.564041],[73.883621,39.540969],[73.893476,39.528046],[73.868223,39.482794],[73.836194,39.472169],[73.745651,39.462005],[73.6471,39.474479],[73.61076,39.465702],[73.592898,39.412087],[73.502355,39.383877],[73.554094,39.350102],[73.554709,39.295935],[73.542391,39.269531],[73.564564,39.266288],[73.580579,39.237555],[73.623079,39.235237],[73.639709,39.220402],[73.657571,39.166136],[73.688368,39.154999],[73.719781,39.108112],[73.720397,39.071881],[73.743187,39.029588],[73.780143,39.026798],[73.820179,39.041674],[73.839889,39.008199],[73.846665,38.962145],[73.826339,38.916993],[73.767824,38.941202],[73.742571,38.933754],[73.70931,38.893241],[73.699455,38.857832],[73.729636,38.837324],[73.769056,38.775765],[73.757353,38.719755],[73.809092,38.634256],[73.799237,38.610878],[73.852208,38.584217],[73.89902,38.579071],[73.926121,38.536016],[74.011736,38.52478],[74.034526,38.541634],[74.090577,38.542102],[74.068403,38.585621],[74.088113,38.610878],[74.11275,38.611345],[74.147859,38.676785],[74.229779,38.656224],[74.353583,38.655757],[74.421952,38.647812],[74.455829,38.632853],[74.506336,38.637528],[74.546988,38.607604],[74.613509,38.593105],[74.639995,38.599653],[74.717603,38.542102],[74.78474,38.538357],[74.821697,38.491062],[74.862965,38.484035],[74.868508,38.403883],[74.834015,38.361193],[74.789668,38.324581],[74.806914,38.285602],[74.793363,38.271039],[74.816769,38.215576],[74.80445,38.167128],[74.821697,38.10311],[74.879595,38.021122],[74.92579,38.01735],[74.911008,37.966884],[74.919015,37.908357],[74.936877,37.876241],[74.917167,37.845057],[74.989848,37.797783],[75.006478,37.770823],[74.949196,37.725395],[74.923327,37.717347],[74.920863,37.684675],[74.891914,37.668097],[74.940573,37.559061],[75.000935,37.53059],[75.002167,37.511604],[75.035428,37.500685],[75.078543,37.511129],[75.090862,37.486915],[75.129666,37.459367],[75.153072,37.414223],[75.125971,37.388075],[75.140137,37.355258],[75.125971,37.322427],[75.078543,37.318144],[75.018181,37.293867],[74.927022,37.277678],[74.911008,37.233378],[74.816153,37.216699],[74.800139,37.248147],[74.753943,37.281011],[74.727458,37.282916],[74.665864,37.23576],[74.642458,37.261485],[74.598727,37.258151],[74.578401,37.231472],[74.54514,37.2491],[74.511263,37.240048],[74.477387,37.19954],[74.487858,37.161871],[74.465068,37.147085],[74.496481,37.116072],[74.498944,37.072155],[74.530357,37.082182],[74.56793,37.032512],[74.617205,37.043499],[74.632603,37.066425],[74.70898,37.084569],[74.739161,37.028212],[74.792747,37.027257],[74.806914,37.054485],[74.84695,37.056873],[74.84387,37.0134],[74.86974,36.990458],[74.893762,36.939772],[74.938725,36.94312],[74.927638,36.978029],[75.005862,36.99476],[75.032348,37.016745],[75.063145,37.006231],[75.172166,37.013877],[75.16847,36.991892],[75.244847,36.963207],[75.288579,36.974682],[75.345861,36.960816],[75.413614,36.954599],[75.396368,36.904367],[75.430245,36.873255],[75.434556,36.83303],[75.425933,36.778883],[75.458578,36.720861],[75.504773,36.743404],[75.536802,36.729975],[75.537418,36.773131],[75.588541,36.762584],[75.634121,36.771693],[75.724048,36.750597],[75.8072,36.707908],[75.871257,36.666636],[75.947018,36.590752],[75.924228,36.566242],[75.991981,36.505654],[76.035097,36.409386],[75.991365,36.35205],[75.998757,36.312034],[76.055423,36.252695],[76.060967,36.225182],[76.011691,36.229044],[76.016619,36.165294],[75.96796,36.159013],[75.936547,36.13485],[75.949482,36.070056],[75.982742,36.031347],[76.028322,36.016827],[76.044336,36.026991],[76.097307,36.022635],[76.117017,35.975186],[76.16506,35.908807],[76.146582,35.839946],[76.160133,35.82442],[76.221727,35.823449],[76.228502,35.837035],[76.298719,35.841401],[76.365857,35.82442],[76.369552,35.86323],[76.431762,35.851589],[76.471798,35.886021],[76.51553,35.881173],[76.55803,35.923347],[76.59745,35.895718],[76.579587,35.866625],[76.587595,35.840431],[76.566037,35.819082],[76.593754,35.771996],[76.69292,35.747714],[76.769297,35.653917],[76.848753,35.668018],[76.906651,35.615005],[76.967013,35.591649],[76.99781,35.611113],[77.072339,35.591162],[77.093281,35.569746],[77.195527,35.519103],[77.307628,35.540533],[77.331649,35.530793],[77.355055,35.494257],[77.396939,35.467942],[77.451758,35.46063],[77.518895,35.482075],[77.578025,35.47574],[77.590344,35.460143],[77.639619,35.45478],[77.657481,35.477689],[77.690742,35.448443],[77.735706,35.461605],[77.757879,35.497181],[77.797299,35.491334],[77.816394,35.518616],[77.85643,35.487436],[77.870596,35.495232],[77.914944,35.465017],[77.917408,35.490847],[77.951284,35.478664],[78.009799,35.491821],[78.029509,35.469404],[78.048603,35.491334],[78.140378,35.494745],[78.113892,35.466967],[78.107117,35.437229],[78.046755,35.384063],[78.013494,35.366008],[78.020885,35.315237],[78.01719,35.228267],[78.060306,35.180344],[78.062769,35.114772],[78.078784,35.100084],[78.124979,35.108407],[78.150849,35.069721],[78.123131,35.036897],[78.160704,34.990823],[78.201972,34.974642],[78.182262,34.936874],[78.206283,34.891726],[78.237696,34.882398],[78.230921,34.776288],[78.21429,34.760556],[78.213059,34.717771],[78.267261,34.705472],[78.265413,34.651335],[78.280812,34.623269],[78.346101,34.60406],[78.397224,34.605538],[78.427405,34.594207],[78.436029,34.543942],[78.492695,34.578441],[78.542586,34.574499],[78.559832,34.55725],[78.562912,34.51288],[78.58139,34.505483],[78.634977,34.538026],[78.708274,34.522249],[78.715049,34.502031],[78.758781,34.481807],[78.742766,34.45467],[78.809288,34.432955],[78.878273,34.391481],[78.899831,34.354929],[78.958961,34.386049],[78.973128,34.362833],[79.039649,34.33467],[79.048888,34.348506],[79.0107,34.399877],[79.039033,34.421601],[79.072294,34.412714],[79.161605,34.441345],[79.179467,34.422588],[79.241677,34.415183],[79.274322,34.435916],[79.326677,34.44332],[79.363017,34.428018],[79.435082,34.447761],[79.504683,34.45467],[79.545335,34.476381],[79.58106,34.456151],[79.675914,34.451216],[79.699936,34.477861],[79.735661,34.471447],[79.801566,34.478847],[79.861312,34.528166],[79.84345,34.55725],[79.88595,34.642965],[79.866856,34.671517],[79.906892,34.683821],[79.898268,34.732035],[79.947544,34.821008],[79.926602,34.849499],[79.961094,34.862759],[79.996819,34.856375],[80.003594,34.895162],[80.034391,34.902033],[80.041782,34.943252],[80.02392,34.971209],[80.04363,35.022196],[80.031311,35.034447],[80.078123,35.076578],[80.118159,35.066293],[80.23026,35.147565],[80.223484,35.177409],[80.257977,35.203331],[80.362687,35.20871],[80.267832,35.295701],[80.286926,35.35283],[80.321419,35.38699],[80.375006,35.387966],[80.432904,35.449418],[80.444607,35.417235],[80.514824,35.391869],[80.532686,35.404553],[80.56841,35.391381],[80.599823,35.409431],[80.65649,35.393821],[80.690982,35.364544],[80.689135,35.339162],[80.759968,35.334768],[80.844351,35.345508],[80.894242,35.324027],[80.924423,35.330862],[80.963844,35.310842],[81.026053,35.31133],[81.002648,35.334768],[81.030981,35.337209],[81.031597,35.380648],[81.054387,35.402602],[81.09935,35.40748],[81.103662,35.386015],[81.142466,35.365032],[81.191741,35.36552],[81.219458,35.319144],[81.26627,35.322562],[81.285364,35.345508],[81.314313,35.337209],[81.363588,35.354783],[81.385762,35.335256],[81.441196,35.333303],[81.447972,35.318167],[81.504638,35.279092],[81.513261,35.23511],[81.68634,35.235599],[81.736847,35.26248],[81.804601,35.270786],[81.853876,35.25857],[81.927789,35.271275],[81.955506,35.307423],[81.99123,35.30547],[82.030034,35.321585],[82.05344,35.35039],[82.029419,35.426013],[82.034346,35.451855],[82.071302,35.450393],[82.086701,35.467454],[82.164925,35.495719],[82.189563,35.513258],[82.234526,35.520565],[82.263475,35.547837],[82.2992,35.544916],[82.328149,35.559523],[82.350323,35.611113],[82.336156,35.651486],[82.392823,35.656349],[82.424852,35.712736],[82.468583,35.717595],[82.501844,35.701073],[82.546192,35.708362],[82.628727,35.692324],[82.652133,35.67288],[82.731589,35.637868],[82.780249,35.666073],[82.795031,35.688436],[82.873871,35.688922],[82.894813,35.673852],[82.967494,35.667532],[82.956407,35.636409],[82.981661,35.599922],[82.971806,35.548324],[82.998907,35.484512],[83.067892,35.46258],[83.088834,35.425526],[83.127022,35.398699],[83.178145,35.38943],[83.251442,35.417722],[83.280391,35.401138],[83.333978,35.397236],[83.405427,35.380648],[83.449159,35.382111],[83.502745,35.360639],[83.540318,35.364056],[83.54155,35.341603],[83.599448,35.351366],[83.622238,35.335256],[83.677672,35.361128],[83.785462,35.36308],[83.79778,35.354783],[83.885244,35.367472],[83.906186,35.40309],[84.005968,35.422599],[84.077417,35.400163],[84.095895,35.362592],[84.140859,35.379184],[84.160569,35.359663],[84.200605,35.381135],[84.274517,35.404065],[84.333032,35.413821],[84.424191,35.466479],[84.45314,35.473303],[84.475929,35.516181],[84.448828,35.550272],[84.513502,35.564391],[84.570168,35.588242],[84.628067,35.595055],[84.704443,35.616951],[84.729081,35.613546],[84.798066,35.647595],[84.920022,35.696213],[84.973608,35.709334],[84.99455,35.737028],[85.053065,35.752086],[85.146071,35.742371],[85.271107,35.788989],[85.341324,35.753543],[85.373969,35.700101],[85.518715,35.680658],[85.566142,35.6403],[85.612953,35.651486],[85.65299,35.731199],[85.691178,35.751114],[85.811286,35.778794],[85.835308,35.771996],[85.903677,35.78462],[85.949256,35.778794],[86.035488,35.846738],[86.05335,35.842857],[86.090306,35.876809],[86.093386,35.906868],[86.129111,35.941761],[86.150668,36.00424],[86.173458,36.008113],[86.199944,36.047801],[86.182081,36.064734],[86.187625,36.130983],[86.248603,36.141616],[86.2794,36.170608],[86.35824,36.168676],[86.392733,36.206834],[86.454943,36.221319],[86.515305,36.205385],[86.531935,36.227113],[86.599072,36.222285],[86.69947,36.24449],[86.746282,36.291777],[86.836209,36.291294],[86.86331,36.299977],[86.887332,36.262829],[86.931064,36.265242],[86.943998,36.284058],[86.996353,36.308658],[87.051788,36.2966],[87.08628,36.310587],[87.149106,36.297565],[87.161425,36.325535],[87.193454,36.349158],[87.292004,36.358797],[87.348055,36.393008],[87.363453,36.420463],[87.386859,36.412757],[87.426895,36.42576],[87.460155,36.409868],[87.470626,36.354459],[87.570409,36.342409],[87.6203,36.360243],[87.731785,36.384818],[87.767509,36.3747],[87.826023,36.391563],[87.838342,36.383855],[87.919646,36.39349],[87.95845,36.408423],[87.983088,36.437797],[88.006494,36.430575],[88.092109,36.43539],[88.134609,36.427205],[88.182652,36.452721],[88.222688,36.447426],[88.241782,36.468605],[88.282434,36.470049],[88.366202,36.458016],[88.356963,36.477268],[88.41055,36.473418],[88.470912,36.48208],[88.498629,36.446463],[88.573158,36.461386],[88.618121,36.428168],[88.623665,36.389636],[88.690186,36.367954],[88.766563,36.292259],[88.783809,36.291777],[88.802903,36.33807],[88.838628,36.353496],[88.870657,36.348193],[88.926091,36.36458],[88.964279,36.318785],[89.013554,36.315409],[89.054822,36.291777],[89.10225,36.281164],[89.126887,36.254626],[89.198952,36.260417],[89.232213,36.295636],[89.292575,36.231457],[89.335075,36.23725],[89.375727,36.228078],[89.490291,36.151281],[89.594385,36.126632],[89.614711,36.109712],[89.711414,36.093272],[89.766848,36.073925],[89.819819,36.080697],[89.914058,36.079246],[89.941159,36.067637],[89.944855,36.140649],[89.997825,36.168193],[90.019999,36.213594],[90.028006,36.258486],[90.003369,36.278752],[90.043405,36.276822],[90.058188,36.255591],[90.145651,36.239181],[90.130252,36.2078],[90.198006,36.187516],[90.23681,36.160462],[90.325505,36.159496],[90.424055,36.133883],[90.478258,36.13195],[90.534925,36.147899],[90.613149,36.126632],[90.659344,36.13485],[90.776373,36.086501],[90.815793,36.035703],[90.850285,36.016827],[90.922966,36.028927],[90.979017,36.106811],[91.081263,36.088436],[91.124994,36.115514],[91.09235,36.163844],[91.096045,36.219871],[91.051698,36.238215],[91.07264,36.299012],[91.026444,36.323607],[91.051698,36.433946],[91.028292,36.443093],[91.039995,36.474861],[91.035683,36.529703],[91.011662,36.539801],[90.905104,36.560474],[90.831191,36.55807],[90.810865,36.585466],[90.741264,36.585947],[90.72217,36.620058],[90.730793,36.655594],[90.706156,36.658955],[90.720938,36.708868],[90.754815,36.721341],[90.727098,36.755872],[90.732025,36.825844],[90.758511,36.825844],[90.853981,36.915373],[90.924198,36.921115],[90.983944,36.913459],[91.036915,36.929727],[91.051698,36.96751],[91.126842,36.978507],[91.133618,37.007665],[91.181045,37.025345],[91.216153,37.010054],[91.303617,37.012444],[91.291298,37.042544],[91.303617,37.083136],[91.286371,37.105095],[91.280211,37.163779],[91.1909,37.205737],[91.194596,37.273868],[91.134849,37.324331],[91.136081,37.355734],[91.113292,37.387124],[91.099741,37.447965],[91.073256,37.475992],[91.019669,37.493088],[90.958075,37.477891],[90.911879,37.519674],[90.865684,37.53059],[90.882314,37.575664],[90.854597,37.604117],[90.820104,37.613599],[90.777605,37.648672],[90.643946,37.696988],[90.586663,37.703144],[90.579272,37.720661],[90.519526,37.730601],[90.516446,38.207111],[90.531229,38.319886],[90.401882,38.311434],[90.361846,38.300163],[90.352607,38.233441],[90.280542,38.238142],[90.137644,38.340543],[90.179528,38.396848],[90.129636,38.400131],[90.111774,38.418889],[90.111774,38.477945],[90.130868,38.494341],[90.248513,38.491531],[90.315034,38.501835],[90.353222,38.482162],[90.427135,38.493873],[90.465323,38.521971],[90.463476,38.556611],[90.525685,38.561291],[90.560794,38.593573],[90.608837,38.594508],[90.606374,38.610878],[90.645794,38.635191],[90.619308,38.664636],[90.65996,38.674449],[90.724634,38.658094],[90.899561,38.679588],[90.970394,38.697806],[90.992567,38.695003],[91.188436,38.73096],[91.242639,38.752433],[91.298689,38.746365],[91.446515,38.813546],[91.501333,38.815411],[91.681188,38.852706],[91.694738,38.86622],[91.806223,38.872744],[91.87952,38.884391],[91.880752,38.899297],[91.966368,38.930961],[92.10865,38.963541],[92.173323,38.960749],[92.197961,38.983548],[92.263866,39.002153],[92.380279,38.999828],[92.416003,39.010524],[92.41046,39.03842],[92.366728,39.059335],[92.366112,39.096037],[92.343938,39.146181],[92.339011,39.236628],[92.378431,39.258411],[92.52564,39.368611],[92.639589,39.514196],[92.687632,39.657174],[92.745531,39.868331],[92.796654,40.153897],[92.906907,40.310609],[92.920458,40.391792],[92.928465,40.572504],[93.506216,40.648376],[93.760599,40.664721],[93.820961,40.793519],[93.809874,40.879548],[93.908424,40.983539],[94.01067,41.114875],[94.184365,41.268444],[94.534219,41.505966],[94.750413,41.538227],[94.809543,41.619256],[94.861898,41.668451],[94.969072,41.718948],[95.011572,41.726541],[95.110738,41.768513],[95.135991,41.772976],[95.16494,41.735474],[95.199433,41.719395],[95.194505,41.694821],[95.247476,41.61344],[95.299831,41.565994],[95.335556,41.644305],[95.39407,41.693481],[95.445193,41.719841],[95.57146,41.796181],[95.65646,41.826067],[95.759322,41.835878],[95.801206,41.848361],[95.855408,41.849699],[95.998306,41.906289],[96.054973,41.936124],[96.117183,41.985966],[96.137509,42.019765],[96.13874,42.05399],[96.077147,42.149457],[96.178161,42.21775],[96.040806,42.326688],[96.042038,42.352787],[96.06606,42.414674],[95.978596,42.436762],[96.0174,42.482239],[96.02356,42.542675],[96.072219,42.569566],[96.103632,42.604375],[96.166458,42.623314],[96.386348,42.727592]]]]}},{"type":"Feature","properties":{"adcode":710000,"name":"台湾省","center":[121.509062,25.044332],"centroid":[120.971485,23.749452],"childrenNum":0,"level":"province","parent":{"adcode":100000},"subFeatureIndex":31,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.443706,22.441432],[120.517619,22.408793],[120.569973,22.361757],[120.640806,22.241605],[120.659285,22.154056],[120.661748,22.067007],[120.651277,22.033171],[120.667908,21.983235],[120.701784,21.927174],[120.743052,21.915515],[120.781857,21.923843],[120.854537,21.883309],[120.873016,21.897191],[120.86624,21.984345],[120.907508,22.033171],[120.912436,22.086418],[120.903197,22.12634],[120.914899,22.302525],[120.981421,22.528248],[121.014682,22.584069],[121.03316,22.650914],[121.078739,22.669691],[121.170514,22.723247],[121.21055,22.770711],[121.237652,22.836362],[121.276456,22.877171],[121.324499,22.945526],[121.35468,23.00999],[121.370695,23.084334],[121.409499,23.1025],[121.430441,23.137175],[121.415042,23.196047],[121.440296,23.271937],[121.479716,23.322507],[121.497578,23.419744],[121.5216,23.483431],[121.522832,23.538858],[121.587505,23.760878],[121.621382,23.920718],[121.65957,24.007125],[121.63986,24.064514],[121.643556,24.097843],[121.678048,24.133895],[121.689135,24.174303],[121.809243,24.339083],[121.82649,24.423572],[121.867758,24.47914],[121.88562,24.529784],[121.892395,24.617953],[121.86283,24.671261],[121.841272,24.734329],[121.844968,24.836476],[121.933047,24.938539],[122.012503,25.001471],[121.98109,25.030757],[121.947214,25.031841],[121.917033,25.138076],[121.841888,25.135367],[121.782142,25.160287],[121.745186,25.161912],[121.707613,25.191701],[121.700222,25.226896],[121.655259,25.242054],[121.62323,25.29455],[121.585041,25.309159],[121.53515,25.307535],[121.444607,25.27074],[121.413194,25.238806],[121.371926,25.159746],[121.319572,25.140785],[121.209318,25.12724],[121.132942,25.078466],[121.102145,25.075214],[121.024537,25.040517],[121.009754,24.993878],[120.961095,24.940167],[120.914899,24.864715],[120.89211,24.767482],[120.82374,24.688118],[120.762147,24.658208],[120.68885,24.600542],[120.642654,24.490033],[120.589068,24.43229],[120.546568,24.370159],[120.520698,24.311816],[120.470807,24.242533],[120.451713,24.182493],[120.391967,24.118055],[120.316206,23.984708],[120.278018,23.92783],[120.245989,23.840276],[120.175156,23.807427],[120.102476,23.701162],[120.095084,23.58768],[120.12157,23.504836],[120.108019,23.341191],[120.081534,23.291728],[120.018708,23.073322],[120.029795,23.048544],[120.133272,23.000625],[120.149287,22.896468],[120.20041,22.721039],[120.274323,22.560307],[120.297112,22.531565],[120.443706,22.441432]]],[[[124.542782,25.903886],[124.584666,25.908731],[124.566804,25.941563],[124.542782,25.903886]]],[[[123.445178,25.726102],[123.469816,25.712623],[123.50862,25.722867],[123.512316,25.755212],[123.479055,25.768687],[123.445794,25.749822],[123.445178,25.726102]]],[[[119.646064,23.550928],[119.691028,23.547087],[119.678093,23.600294],[119.61034,23.604132],[119.601717,23.575613],[119.566608,23.584937],[119.562297,23.530627],[119.578927,23.502641],[119.609108,23.503738],[119.646064,23.550928]]],[[[123.666916,25.914114],[123.706952,25.91519],[123.689706,25.939949],[123.666916,25.914114]]],[[[119.506246,23.625518],[119.506246,23.577259],[119.47237,23.556962],[119.519181,23.559705],[119.52534,23.62497],[119.506246,23.625518]]],[[[119.497623,23.38679],[119.495159,23.349982],[119.516717,23.349982],[119.497623,23.38679]]],[[[119.557369,23.666634],[119.608492,23.620035],[119.615268,23.661153],[119.586318,23.675952],[119.557369,23.666634]]],[[[122.066706,25.6247],[122.087032,25.61067],[122.092575,25.639268],[122.066706,25.6247]]],[[[121.468013,22.67687],[121.474788,22.643734],[121.513592,22.631582],[121.514824,22.676318],[121.468013,22.67687]]],[[[121.510513,22.086972],[121.507433,22.048704],[121.533918,22.022076],[121.594281,21.995443],[121.604752,22.022631],[121.575186,22.037055],[121.575802,22.0842],[121.510513,22.086972]]],[[[122.097503,25.499987],[122.110438,25.465952],[122.122141,25.495666],[122.097503,25.499987]]],[[[119.421247,23.216949],[119.436029,23.186146],[119.453275,23.216399],[119.421247,23.216949]]],[[[120.355011,22.327439],[120.395663,22.342385],[120.383344,22.355669],[120.355011,22.327439]]]]}},{"type":"Feature","properties":{"adcode":810000,"name":"香港特别行政区","center":[114.173355,22.320048],"centroid":[114.134357,22.377366],"childrenNum":18,"level":"province","parent":{"adcode":100000},"subFeatureIndex":32,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.031778,22.503923],[114.000981,22.491206],[113.977575,22.45692],[113.918445,22.418199],[113.920293,22.367845],[113.951706,22.355116],[113.956633,22.359543],[113.980039,22.366185],[114.026234,22.34792],[113.955401,22.298649],[113.969568,22.321349],[113.898119,22.308615],[113.889496,22.271514],[113.8433,22.229418],[113.84946,22.191188],[113.899351,22.215568],[113.935691,22.205041],[113.981271,22.229972],[113.996669,22.206149],[114.026234,22.229418],[114.004676,22.239389],[114.02993,22.263207],[114.034857,22.300864],[114.069966,22.326885],[114.121089,22.320795],[114.145726,22.300864],[114.120473,22.272068],[114.164821,22.226648],[114.200545,22.232188],[114.203009,22.206703],[114.265835,22.200608],[114.248588,22.274837],[114.262139,22.294773],[114.284929,22.263761],[114.313262,22.264315],[114.315726,22.299203],[114.315726,22.299756],[114.278153,22.328546],[114.283081,22.386661],[114.322501,22.385554],[114.323117,22.385554],[114.323733,22.385001],[114.323733,22.384447],[114.356994,22.340171],[114.394566,22.361757],[114.385327,22.41156],[114.406269,22.432582],[114.406269,22.433688],[114.376088,22.436454],[114.325581,22.479041],[114.278769,22.435901],[114.220255,22.427603],[114.205473,22.449729],[114.23319,22.466875],[114.2529,22.445304],[114.340979,22.50337],[114.309566,22.497288],[114.28924,22.52272],[114.263987,22.541515],[114.263371,22.541515],[114.260291,22.547595],[114.232574,22.528801],[114.232574,22.539857],[114.222719,22.553122],[114.166052,22.559201],[114.156813,22.543726],[114.095219,22.534329],[114.082285,22.512216],[114.031778,22.503923]]],[[[114.142647,22.213906],[114.123553,22.238836],[114.120473,22.177888],[114.154965,22.177888],[114.166668,22.205041],[114.142647,22.213906]]],[[[114.305871,22.372273],[114.313878,22.340724],[114.332972,22.353455],[114.305255,22.372826],[114.305871,22.372273]]],[[[114.320037,22.381127],[114.323733,22.384447],[114.323733,22.385001],[114.323117,22.385554],[114.322501,22.385554],[114.319421,22.382234],[114.320037,22.38168],[114.320037,22.381127]]],[[[114.305871,22.369506],[114.305871,22.372273],[114.305255,22.372826],[114.305871,22.369506]]],[[[114.315726,22.299203],[114.316958,22.298649],[114.316342,22.30031],[114.315726,22.299756],[114.315726,22.299203]]],[[[114.319421,22.382234],[114.320037,22.381127],[114.320037,22.38168],[114.319421,22.382234]]],[[[114.372392,22.32301],[114.373008,22.323564],[114.372392,22.323564],[114.372392,22.32301]]],[[[114.323733,22.297541],[114.324349,22.297541],[114.323733,22.298095],[114.323733,22.297541]]]]}},{"type":"Feature","properties":{"adcode":820000,"name":"澳门特别行政区","center":[113.54909,22.198951],"centroid":[113.566988,22.159307],"childrenNum":8,"level":"province","parent":{"adcode":100000},"subFeatureIndex":33,"acroutes":[100000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.554425,22.107489],[113.6037,22.132438],[113.575983,22.194513],[113.558736,22.212244],[113.53841,22.209473],[113.534715,22.174009],[113.554425,22.142416],[113.554425,22.107489]]],[[[113.586453,22.201162],[113.575983,22.201162],[113.575983,22.194513],[113.586453,22.201162]]]]}},{"type":"Feature","properties":{"name":"","adchar":"JD","adcode":"100000_JD"},"geometry":{"type":"MultiPolygon","coordinates":[[[[122.51865306,23.46078502],[122.79861399,24.57367379],[122.79889322,24.57678999],[122.79819583,24.57983997],[122.79659008,24.58252516],[122.79423315,24.58458272],[122.79135575,24.58581125],[122.78823955,24.58609049],[122.78518957,24.5853931],[122.78250438,24.58378734],[122.78044682,24.58143041],[122.77921829,24.57855302],[122.49925737,23.46566424],[122.49897813,23.46254804],[122.49967552,23.45949807],[122.50128127,23.45681287],[122.5036382,23.45475531],[122.5065156,23.45352678],[122.50963181,23.45324755],[122.51268178,23.45394494],[122.51536697,23.45555069],[122.51742454,23.45790762],[122.51865306,23.46078502]]],[[[121.17202617,20.8054593],[121.90938804,21.68743347],[121.9109946,21.69011818],[121.91169291,21.69316794],[121.91141462,21.69628423],[121.91018696,21.699162],[121.9081301,21.70151955],[121.9054454,21.70312611],[121.90239563,21.70382443],[121.89927934,21.70354613],[121.89640158,21.70231847],[121.89404403,21.70026162],[121.15668216,20.81828744],[121.1550756,20.81560273],[121.15437729,20.81255297],[121.15465558,20.80943668],[121.15588324,20.80655891],[121.1579401,20.80420136],[121.1606248,20.8025948],[121.16367457,20.80189649],[121.16679085,20.80217478],[121.16966862,20.80340244],[121.17202617,20.8054593]]],[[[119.47366172,18.00707291],[120.02569734,19.02403788],[120.02674143,19.02698721],[120.02682302,19.03011484],[120.02593412,19.0331146],[120.02416175,19.03569286],[120.02167941,19.03759723],[120.01873007,19.03864132],[120.01560245,19.03872291],[120.01260269,19.03783401],[120.01002443,19.03606165],[120.00812005,19.0335793],[119.45608443,18.01661433],[119.45504035,18.01366499],[119.45495876,18.01053737],[119.45584765,18.00753761],[119.45762002,18.00495935],[119.46010237,18.00305497],[119.4630517,18.00201089],[119.46617933,18.0019293],[119.46917909,18.0028182],[119.47175735,18.00459056],[119.47366172,18.00707291]]],[[[119.0726757,15.04098494],[119.0726757,16.04388528],[119.07218626,16.04697545],[119.07076587,16.04976313],[119.06855355,16.05197545],[119.06576587,16.05339584],[119.0626757,16.05388528],[119.05958553,16.05339584],[119.05679784,16.05197545],[119.05458553,16.04976313],[119.05316513,16.04697545],[119.0526757,16.04388528],[119.0526757,15.04105889],[119.0521839,15.00781004],[119.05262758,15.00471297],[119.05400659,15.00190458],[119.05618595,14.99965979],[119.05895232,14.99819832],[119.06203491,14.99766324],[119.06513198,14.99810691],[119.06794036,14.99948592],[119.07018516,15.00166528],[119.07164663,15.00443165],[119.07218171,15.00751424],[119.0726746,15.04083704],[119.0726757,15.04098494]]],[[[118.68646749,11.18959191],[118.52518702,10.91547751],[118.52404181,10.91256595],[118.52385237,10.909443],[118.52463726,10.90641436],[118.52631962,10.9037765],[118.5287348,10.90178762],[118.53164636,10.90064241],[118.53476931,10.90045298],[118.53779795,10.90123786],[118.54043581,10.90292022],[118.54242469,10.9053354],[118.70409227,11.18010771],[118.70476212,11.18147468],[118.87431591,11.606662],[118.87459939,11.60747236],[118.98894963,11.98573108],[118.98937534,11.98883067],[118.9888224,11.99191011],[118.98734492,11.99466796],[118.98508753,11.99683427],[118.98227119,11.99819697],[118.9791716,11.99862269],[118.97609216,11.99806975],[118.97333431,11.99659227],[118.97116801,11.99433487],[118.9698053,11.99151854],[118.85557939,11.6136711],[118.68646749,11.18959191]]],[[[115.54466883,7.14672265],[116.2504858,7.979279],[116.25211077,7.98195261],[116.25283001,7.9849975],[116.25257312,7.98811563],[116.25136525,7.99100176],[116.24932463,7.99337338],[116.24665102,7.99499834],[116.24360613,7.99571758],[116.240488,7.99546069],[116.23760187,7.99425282],[116.23523025,7.99221221],[115.52941328,7.15965587],[115.52778832,7.15698226],[115.52706908,7.15393736],[115.52732596,7.15081924],[115.52853383,7.1479331],[115.53057445,7.14556148],[115.53324806,7.14393652],[115.53629295,7.14321728],[115.53941108,7.14347417],[115.54229721,7.14468204],[115.54466883,7.14672265]]],[[[112.30705249,3.53487257],[111.78690114,3.41687263],[111.78399583,3.41571167],[111.78159146,3.41370973],[111.77992341,3.41106279],[111.77915495,3.40802995],[111.77936129,3.40490807],[111.78052226,3.40200275],[111.78252419,3.39959839],[111.78517113,3.39793033],[111.78820398,3.39716187],[111.79132585,3.39736822],[112.31181658,3.51544515],[112.31248917,3.51562254],[112.52147408,3.5785908],[112.52281386,3.57910186],[112.85206367,3.73256867],[112.85465776,3.7343178],[112.85658437,3.73678292],[112.85765492,3.73972276],[112.85776462,3.74284952],[112.85690272,3.74585715],[112.8551536,3.74845124],[112.85268847,3.75037785],[112.84974864,3.7514484],[112.84662187,3.75155809],[112.84361424,3.7506962],[112.51501594,3.59753306],[112.30705249,3.53487257]]],[[[108.26055972,6.08912451],[108.29013305,6.01266273],[108.29170425,6.00995718],[108.29403462,6.00786957],[108.29689603,6.00660426],[108.3000084,6.00628511],[108.30306706,6.00694335],[108.30577262,6.00851455],[108.30786022,6.01084492],[108.30912553,6.01370633],[108.30944469,6.0168187],[108.30878645,6.01987736],[108.279563,6.09543449],[108.25611734,6.22752625],[108.21679964,6.53816468],[108.21876335,6.94964057],[108.24419535,7.07390742],[108.24433543,7.07703297],[108.24350281,7.08004883],[108.24177899,7.0826598],[108.2393327,7.08461028],[108.23640341,7.08570936],[108.23327786,7.08584944],[108.230262,7.08501682],[108.22765103,7.083293],[108.22570055,7.08084671],[108.22460147,7.07791743],[108.19897125,6.95268198],[108.1987683,6.95072469],[108.19679674,6.53760583],[108.19687578,6.53630242],[108.23630689,6.22476797],[108.23638164,6.22427602],[108.26004031,6.09098419],[108.26055972,6.08912451]]],[[[110.12822847,11.36894451],[110.05553696,11.25335394],[110.05430621,11.25047749],[110.05402458,11.2473615],[110.05471962,11.24431099],[110.05632331,11.24162456],[110.05867865,11.23956519],[110.0615551,11.23833444],[110.06467109,11.23805281],[110.0677216,11.23874785],[110.07040803,11.24035153],[110.07246741,11.24270688],[110.14541497,11.35870461],[110.14588682,11.35954163],[110.20700505,11.48128846],[110.20728377,11.48189306],[110.25854422,11.60358735],[110.25901765,11.60499559],[110.30436343,11.7826124],[110.30456934,11.78364161],[110.32822801,11.94571326],[110.32832827,11.94685414],[110.33424294,12.14159753],[110.33424553,12.14210167],[110.33227398,12.24038351],[110.33172267,12.24346324],[110.33024665,12.24622187],[110.3279904,12.24838938],[110.32517479,12.24975358],[110.32207543,12.25018094],[110.3189957,12.24962962],[110.31623706,12.2481536],[110.31406956,12.24589736],[110.31270536,12.24308175],[110.312278,12.23998238],[110.3142445,12.14195265],[110.3083549,11.94803461],[110.28485499,11.78705054],[110.23982347,11.61066468],[110.18898148,11.48996382],[110.12822847,11.36894451]]],[[[109.82951587,15.22896754],[109.84522534,15.15316562],[109.84633168,15.15023907],[109.84828823,15.14779763],[109.85090347,15.14608029],[109.85392139,15.14525516],[109.85704658,15.145403],[109.85997314,15.14650935],[109.86241457,15.1484659],[109.86413191,15.15108113],[109.86495704,15.15409906],[109.8648092,15.15722425],[109.84903675,15.23333003],[109.84889209,15.23393326],[109.78974541,15.45068337],[109.7892391,15.45210582],[109.69066131,15.67432448],[109.6900529,15.67548445],[109.59147511,15.83677407],[109.59116145,15.8372556],[109.53201478,15.92259221],[109.53166592,15.92306523],[109.30888011,16.20725797],[109.30658844,16.20938798],[109.30375073,16.21070558],[109.30064474,16.21108179],[109.29757451,16.21047978],[109.29484059,16.20895848],[109.29271057,16.20666681],[109.29139298,16.2038291],[109.29101677,16.20072311],[109.29161878,16.19765288],[109.29314007,16.19491896],[109.51574449,15.91095759],[109.57455994,15.82609887],[109.67264555,15.66561455],[109.77065019,15.44468789],[109.82951587,15.22896754]]]]}}]}')},5038:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},5087:function(e,t,n){var i=n("68ee"),r=n("0d51");e.exports=function(e){if(i(e))return e;throw TypeError(r(e)+" is not a constructor")}},"50c4":function(e,t,n){var i=n("5926"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},5120:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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"],i=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],r=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],a=["Do","Lu","Má","Cé","Dé","A","Sa"],o=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:a,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 o}))},"512c":function(e,t,n){var i=n("342f"),r=i.match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},5294:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],i=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 i}))},"52bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},5319:function(e,t,n){"use strict";var i=n("d784"),r=n("d039"),a=n("825a"),o=n("1626"),s=n("5926"),l=n("50c4"),u=n("577e"),c=n("1d80"),h=n("8aa5"),d=n("dc4a"),f=n("0cb2"),p=n("14c3"),m=n("b622"),g=m("replace"),y=Math.max,v=Math.min,_=function(e){return void 0===e?e:String(e)},x=function(){return"$0"==="a".replace(/./,"$0")}(),b=function(){return!!/./[g]&&""===/./[g]("a","$0")}(),w=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));i("replace",(function(e,t,n){var i=b?"$":"$0";return[function(e,n){var i=c(this),r=void 0==e?void 0:d(e,g);return r?r.call(e,i,n):t.call(u(i),e,n)},function(e,r){var c=a(this),d=u(e);if("string"===typeof r&&-1===r.indexOf(i)&&-1===r.indexOf("$<")){var m=n(t,c,d,r);if(m.done)return m.value}var g=o(r);g||(r=u(r));var x=c.global;if(x){var b=c.unicode;c.lastIndex=0}var w=[];while(1){var M=p(c,d);if(null===M)break;if(w.push(M),!x)break;var S=u(M[0]);""===S&&(c.lastIndex=h(d,l(c.lastIndex),b))}for(var T="",L=0,D=0;D<w.length;D++){M=w[D];for(var A=u(M[0]),O=y(v(s(M.index),d.length),0),k=[],I=1;I<M.length;I++)k.push(_(M[I]));var C=M.groups;if(g){var E=[A].concat(k,O,d);void 0!==C&&E.push(C);var P=u(r.apply(void 0,E))}else P=f(A,d,O,k,C,r);O>=L&&(T+=d.slice(L,O)+P,L=O+A.length)}return T+d.slice(L)}]}),!w||!x||b)},"55c9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,a=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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 a}))},5692:function(e,t,n){var i=n("c430"),r=n("c6cd");(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.3",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var i=n("d066"),r=n("241c"),a=n("7418"),o=n("825a");e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(o(e)),n=a.f;return n?t.concat(n(e)):t}},"576c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"577e":function(e,t,n){var i=n("f5df");e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},5899:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"58a8":function(e,t,n){var i=n("1d80"),r=n("577e"),a=n("5899"),o="["+a+"]",s=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),u=function(e){return function(t){var n=r(i(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(l,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},5926:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?i:n)(t)}},"598a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],i=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 i}))},"59ed":function(e,t,n){var i=n("1626"),r=n("0d51");e.exports=function(e){if(i(e))return e;throw TypeError(r(e)+" is not a function")}},"5a34":function(e,t,n){var i=n("44e7");e.exports=function(e){if(i(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5aff":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i=e%10,r=e%100-i,a=e>=100?100:null;return e+(t[i]||t[r]||t[a])}},week:{dow:1,doy:7}});return n}))},"5b14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var r=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 i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.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 r}))},"5c3a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<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}))},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cbb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"5e77":function(e,t,n){var i=n("83ab"),r=n("1a2d"),a=Function.prototype,o=i&&Object.getOwnPropertyDescriptor,s=r(a,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},"5fbd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"60da":function(e,t,n){"use strict";var i=n("83ab"),r=n("d039"),a=n("df75"),o=n("7418"),s=n("d1e7"),l=n("7b0b"),u=n("44ad"),c=Object.assign,h=Object.defineProperty;e.exports=!c||r((function(){if(i&&1!==c({b:1},c(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||a(c({},t)).join("")!=r}))?function(e,t){var n=l(e),r=arguments.length,c=1,h=o.f,d=s.f;while(r>c){var f,p=u(arguments[c++]),m=h?a(p).concat(h(p)):a(p),g=m.length,y=0;while(g>y)f=m[y++],i&&!d.call(p,f)||(n[f]=p[f])}return n}:c},6117:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i=100*e+t;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<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}))},"620a":function(e,t,n){"use strict";(function(e){var i,r=n("3db9"),a={supportWebGL:function(){if(null==i)try{var e=document.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");if(!t)throw new Error}catch(n){i=!1}return i}};a.Int8Array="undefined"===typeof Int8Array?Array:Int8Array,a.Uint8Array="undefined"===typeof Uint8Array?Array:Uint8Array,a.Uint16Array="undefined"===typeof Uint16Array?Array:Uint16Array,a.Uint32Array="undefined"===typeof Uint32Array?Array:Uint32Array,a.Int16Array="undefined"===typeof Int16Array?Array:Int16Array,a.Float32Array="undefined"===typeof Float32Array?Array:Float32Array,a.Float64Array="undefined"===typeof Float64Array?Array:Float64Array;var o={};"undefined"!==typeof window?o=window:"undefined"!==typeof e&&(o=e),a.requestAnimationFrame=o.requestAnimationFrame||o.msRequestAnimationFrame||o.mozRequestAnimationFrame||o.webkitRequestAnimationFrame||function(e){setTimeout(e,16)},a.createCanvas=function(){return document.createElement("canvas")},a.createImage=function(){return new o.Image},a.request={get:r["a"].get},a.addEventListener=function(e,t,n,i){e.addEventListener(t,n,i)},a.removeEventListener=function(e,t,n){e.removeEventListener(t,n)},t["a"]=a}).call(this,n("c8ba"))},"62e4":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}},6403:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},6547:function(e,t,n){var i=n("5926"),r=n("577e"),a=n("1d80"),o=function(e){return function(t,n){var o,s,l=r(a(t)),u=i(n),c=l.length;return u<0||u>=c?e?"":void 0:(o=l.charCodeAt(u),o<55296||o>56319||u+1===c||(s=l.charCodeAt(u+1))<56320||s>57343?e?l.charAt(u):o:e?l.slice(u,u+2):s-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65db":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"65f0":function(e,t,n){var i=n("0b42");e.exports=function(e,t){return new(i(e))(0===t?0:t)}},6784:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],i=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 i}))},6887:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+r(i[n],e)}function n(e){switch(i(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function i(e){return e>9?i(e%10):e}function r(e,t){return 2===t?a(e):e}function a(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 o=[/^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],h=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],d=[/^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:d,fullWeekdaysParse:c,shortWeekdaysParse:h,minWeekdaysParse:d,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:u,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,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";
//! moment.js locale configuration
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}))},"68ee":function(e,t,n){var i=n("d039"),r=n("1626"),a=n("f5df"),o=n("d066"),s=n("8925"),l=[],u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,h=c.exec,d=!c.exec((function(){})),f=function(e){if(!r(e))return!1;try{return u(Object,l,e),!0}catch(t){return!1}},p=function(e){if(!r(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!h.call(c,s(e))};e.exports=!u||i((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?p:f},6909:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"69f3":function(e,t,n){var i,r,a,o=n("7f9a"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("1a2d"),h=n("c6cd"),d=n("f772"),f=n("d012"),p="Object already initialized",m=s.WeakMap,g=function(e){return a(e)?r(e):i(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(o||h.state){var v=h.state||(h.state=new m),_=v.get,x=v.has,b=v.set;i=function(e,t){if(x.call(v,e))throw new TypeError(p);return t.facade=e,b.call(v,e,t),t},r=function(e){return _.call(v,e)||{}},a=function(e){return x.call(v,e)}}else{var w=d("state");f[w]=!0,i=function(e,t){if(c(e,w))throw new TypeError(p);return t.facade=e,u(e,w,t),t},r=function(e){return c(e,w)?e[w]:{}},a=function(e){return c(e,w)}}e.exports={set:i,get:r,has:a,enforce:g,getterFor:y}},"6ce3":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en 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}))},"6d79":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},"6d83":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 y})),n.d(t,"d",(function(){return v})),n.d(t,"I",(function(){return _})),n.d(t,"J",(function(){return x})),n.d(t,"m",(function(){return b})),n.d(t,"i",(function(){return w})),n.d(t,"r",(function(){return M})),n.d(t,"s",(function(){return S})),n.d(t,"K",(function(){return T})),n.d(t,"u",(function(){return L})),n.d(t,"k",(function(){return D})),n.d(t,"H",(function(){return A})),n.d(t,"N",(function(){return O})),n.d(t,"n",(function(){return k})),n.d(t,"o",(function(){return I})),n.d(t,"F",(function(){return C})),n.d(t,"c",(function(){return P})),n.d(t,"h",(function(){return N})),n.d(t,"t",(function(){return R})),n.d(t,"w",(function(){return Y})),n.d(t,"C",(function(){return z})),n.d(t,"D",(function(){return H})),n.d(t,"z",(function(){return j})),n.d(t,"A",(function(){return F})),n.d(t,"E",(function(){return V})),n.d(t,"v",(function(){return G})),n.d(t,"x",(function(){return W})),n.d(t,"y",(function(){return U})),n.d(t,"B",(function(){return X})),n.d(t,"l",(function(){return Z})),n.d(t,"O",(function(){return q})),n.d(t,"P",(function(){return $})),n.d(t,"Q",(function(){return J})),n.d(t,"S",(function(){return K})),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 ie})),n.d(t,"f",(function(){return ue})),n.d(t,"e",(function(){return ce})),n.d(t,"g",(function(){return he})),n.d(t,"j",(function(){return de})),n.d(t,"q",(function(){return fe})),n.d(t,"L",(function(){return pe})),n.d(t,"a",(function(){return me}));var i=n("726e"),r=O(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),a=O(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),o=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,d=function(){}.constructor,f=d?d.prototype:null,p="__proto__",m=2311;function g(){return m++}function y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!==typeof console&&console.error.apply(console,e)}function v(e){if(null==e||"object"!==typeof e)return e;var t=e,n=o.call(e);if("[object Array]"===n){if(!re(e)){t=[];for(var i=0,s=e.length;i<s;i++)t[i]=v(e[i])}}else if(a[n]){if(!re(e)){var l=e.constructor;if(l.from)t=l.from(e);else{t=new l(e.length);for(i=0,s=e.length;i<s;i++)t[i]=e[i]}}}else if(!r[n]&&!re(e)&&!G(e))for(var u in t={},e)e.hasOwnProperty(u)&&u!==p&&(t[u]=v(e[u]));return t}function _(e,t,n){if(!F(t)||!F(e))return n?v(t):e;for(var i in t)if(t.hasOwnProperty(i)&&i!==p){var r=e[i],a=t[i];!F(a)||!F(r)||R(a)||R(r)||G(a)||G(r)||B(a)||B(r)||re(a)||re(r)?!n&&i in e||(e[i]=v(t[i])):_(r,a,n)}return e}function x(e,t){for(var n=e[0],i=1,r=e.length;i<r;i++)n=_(n,e[i],t);return n}function b(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 w(e,t,n){for(var i=C(t),r=0;r<i.length;r++){var a=i[r];(n?null!=t[a]:null==e[a])&&(e[a]=t[a])}return e}i["d"].createCanvas;function M(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n}return-1}function S(e,t){var n=e.prototype;function i(){}for(var r in i.prototype=t.prototype,e.prototype=new i,n)n.hasOwnProperty(r)&&(e.prototype[r]=n[r]);e.prototype.constructor=e,e.superClass=t}function T(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(t),r=0;r<i.length;r++){var a=i[r];"constructor"!==a&&(n?null!=t[a]:null==e[a])&&(e[a]=t[a])}else w(e,t,n)}function L(e){return!!e&&("string"!==typeof e&&"number"===typeof e.length)}function D(e,t,n){if(e&&t)if(e.forEach&&e.forEach===l)e.forEach(t,n);else if(e.length===+e.length)for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(n,e[a],a,e)}function A(e,t,n){if(!e)return[];if(!t)return K(e);if(e.map&&e.map===h)return e.map(t,n);for(var i=[],r=0,a=e.length;r<a;r++)i.push(t.call(n,e[r],r,e));return i}function O(e,t,n,i){if(e&&t){for(var r=0,a=e.length;r<a;r++)n=t.call(i,n,e[r],r,e);return n}}function k(e,t,n){if(!e)return[];if(!t)return K(e);if(e.filter&&e.filter===u)return e.filter(t,n);for(var i=[],r=0,a=e.length;r<a;r++)t.call(n,e[r],r,e)&&i.push(e[r]);return i}function I(e,t,n){if(e&&t)for(var i=0,r=e.length;i<r;i++)if(t.call(n,e[i],i,e))return e[i]}function C(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 E(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return e.apply(t,n.concat(c.call(arguments)))}}var P=f&&Y(f.bind)?f.call.bind(f.bind):E;function N(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]"===o.call(e)}function Y(e){return"function"===typeof e}function z(e){return"string"===typeof e}function H(e){return"[object String]"===o.call(e)}function j(e){return"number"===typeof e}function F(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function B(e){return!!r[o.call(e)]}function V(e){return!!a[o.call(e)]}function G(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function W(e){return null!=e.colorStops}function U(e){return null!=e.image}function X(e){return"[object RegExp]"===o.call(e)}function Z(e){return e!==e}function q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e.length;n<i;n++)if(null!=e[n])return e[n]}function $(e,t){return null!=e?e:t}function J(e,t,n){return null!=e?e:null!=t?t:n}function K(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 ie(e){e[ne]=!0}function re(e){return e[ne]}var ae=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 C(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),oe="function"===typeof Map;function se(){return oe?new Map:new ae}var le=function(){function e(t){var n=R(t);this.data=se();var i=this;function r(e,t){n?i.set(e,t):i.set(t,e)}t instanceof e?t.each(r):t&&D(t,r)}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,i){e.call(t,n,i)}))},e.prototype.keys=function(){var e=this.data.keys();return oe?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),i=0;i<e.length;i++)n[i]=e[i];var r=e.length;for(i=0;i<t.length;i++)n[i+r]=t[i];return n}function he(e,t){var n;if(Object.create)n=Object.create(e);else{var i=function(){};i.prototype=e,n=new i}return t&&b(n,t),n}function de(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},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"6eeb":function(e,t,n){var i=n("da84"),r=n("1626"),a=n("1a2d"),o=n("9112"),s=n("ce4e"),l=n("8925"),u=n("69f3"),c=n("5e77").CONFIGURABLE,h=u.get,d=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var u,h=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,m=!!l&&!!l.noTargetGet,g=l&&void 0!==l.name?l.name:t;r(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(n,"name")||c&&n.name!==g)&&o(n,"name",g),u=d(n),u.source||(u.source=f.join("string"==typeof g?g:""))),e!==i?(h?!m&&e[t]&&(p=!0):delete e[t],p?e[t]=n:o(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return r(this)&&h(this).source||l(this)}))},"6f12":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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";
//! moment.js locale configuration
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}))},7118:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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("_"),i=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?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 i}))},7156:function(e,t,n){var i=n("1626"),r=n("861d"),a=n("d2bb");e.exports=function(e,t,n){var o,s;return a&&i(o=t.constructor)&&o!==n&&r(s=o.prototype)&&s!==n.prototype&&a(e,s),e}},"726e":function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return d}));var i=12,r="sans-serif",a=i+"px "+r,o=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 i=String.fromCharCode(n+32),r=(e.charCodeAt(n)-o)/s;t[i]=r}return t}var c=u(l),h={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,r){if(!e){var o=h.createCanvas();e=o&&o.getContext("2d")}if(e)return t!==r&&(t=e.font=r||a),e.measureText(n);n=n||"",r=r||a;var s=/((?:\d+)?\.?\d*)px/.exec(r),l=s&&+s[1]||i,u=0;if(r.indexOf("mono")>=0)u=l*n.length;else for(var d=0;d<n.length;d++){var f=c[n[d]];u+=null==f?l:f*l}return{width:u}}}(),loadImage:function(e,t,n){var i=new Image;return i.onload=t,i.onerror=n,i.src=e,i}};function d(e){for(var t in h)e[t]&&(h[t]=e[t])}},7333:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var i=n("428f"),r=n("1a2d"),a=n("e538"),o=n("9bf2").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});r(t,e)||o(t,e,{value:a.f(e)})}},"74dc":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,n){var i=n("cc12"),r=i("span").classList,a=r&&r.constructor&&r.constructor.prototype;e.exports=a===Object.prototype?void 0:a},"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 h})),n.d(t,"e",(function(){return d})),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 y})),n.d(t,"n",(function(){return _})),n.d(t,"m",(function(){return x})),n.d(t,"o",(function(){return b})),n.d(t,"k",(function(){return w})),n.d(t,"d",(function(){return M})),n.d(t,"f",(function(){return S})),n.d(t,"g",(function(){return T})),n.d(t,"c",(function(){return L}));var i=n("6d8b"),r=n("41ef"),a=n("22d1"),o=Math.round;function s(e){var t;if(e&&"transparent"!==e){if("string"===typeof e&&e.indexOf("rgba")>-1){var n=Object(r["parse"])(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 o(1e3*e)/1e3}function h(e){return o(1e4*e)/1e4}function d(e){return"matrix("+c(e[0])+","+c(e[1])+","+c(e[2])+","+c(e[3])+","+h(e[4])+","+h(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 y(e){return e&&!!e.image}function v(e){return e&&!!e.svgElement}function _(e){return y(e)||v(e)}function x(e){return"linear"===e.type}function b(e){return"radial"===e.type}function w(e){return e&&("linear"===e.type||"radial"===e.type)}function M(e){return"url(#"+e+")"}function S(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 T(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*i["a"],a=Object(i["P"])(e.scaleX,1),s=Object(i["P"])(e.scaleY,1),l=e.skewX||0,u=e.skewY||0,c=[];return(t||n)&&c.push("translate("+t+"px,"+n+"px)"),r&&c.push("rotate("+r+")"),1===a&&1===s||c.push("scale("+a+","+s+")"),(l||u)&&c.push("skew("+o(l*i["a"])+"deg, "+o(u*i["a"])+"deg)"),c.join(" ")}var L=function(){return a["a"].hasGlobalWindow&&Object(i["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("b639").Buffer)},"7b0b":function(e,t,n){var i=n("1d80");e.exports=function(e){return Object(i(e))}},"7be6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i(e){return e>1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?a+(i(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?a+(i(e)?"dni":"dní"):a+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(i(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(i(e)?"roky":"rokov"):a+"rokmi"}}var a=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: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 a}))},"7c73":function(e,t,n){var i,r=n("825a"),a=n("37e8"),o=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),h=">",d="<",f="prototype",p="script",m=c("IE_PROTO"),g=function(){},y=function(e){return d+p+h+e+d+"/"+p+h},v=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},x=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}x="undefined"!=typeof document?document.domain&&i?v(i):_():v(i);var e=o.length;while(e--)delete x[f][o[e]];return x()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[f]=r(e),n=new g,g[f]=null,n[m]=e):n=x(),void 0===t?n:a(n,t)}},"7db0":function(e,t,n){"use strict";var i=n("23e7"),r=n("b727").find,a=n("44d2"),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a(o)},"7dd0":function(e,t,n){"use strict";var i=n("23e7"),r=n("c430"),a=n("5e77"),o=n("1626"),s=n("9ed3"),l=n("e163"),u=n("d2bb"),c=n("d44e"),h=n("9112"),d=n("6eeb"),f=n("b622"),p=n("3f8c"),m=n("ae93"),g=a.PROPER,y=a.CONFIGURABLE,v=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,x=f("iterator"),b="keys",w="values",M="entries",S=function(){return this};e.exports=function(e,t,n,a,f,m,T){s(n,t,a);var L,D,A,O=function(e){if(e===f&&P)return P;if(!_&&e in C)return C[e];switch(e){case b:return function(){return new n(this,e)};case w:return function(){return new n(this,e)};case M:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",I=!1,C=e.prototype,E=C[x]||C["@@iterator"]||f&&C[f],P=!_&&E||O(f),N="Array"==t&&C.entries||E;if(N&&(L=l(N.call(new e)),L!==Object.prototype&&L.next&&(r||l(L)===v||(u?u(L,v):o(L[x])||d(L,x,S)),c(L,k,!0,!0),r&&(p[k]=S))),g&&f==w&&E&&E.name!==w&&(!r&&y?h(C,"name",w):(I=!0,P=function(){return E.call(this)})),f)if(D={values:O(w),keys:m?P:O(b),entries:O(M)},T)for(A in D)(_||I||!(A in C))&&d(C,A,D[A]);else i({target:t,proto:!0,forced:_||I},D);return r&&!T||C[x]===P||d(C,x,P,{name:f}),p[t]=P,D}},"7ed3":function(e,t,n){var i=n("23e7"),r=n("825a"),a=n("861d"),o=n("c60d"),s=n("d039"),l=n("9bf2"),u=n("06cf"),c=n("e163"),h=n("5c6c");function d(e,t,n){var i,s,f,p=arguments.length<4?e:arguments[3],m=u.f(r(e),t);if(!m){if(a(s=c(e)))return d(s,t,n,p);m=h(0)}if(o(m)){if(!1===m.writable||!a(p))return!1;if(i=u.f(p,t)){if(i.get||i.set||!1===i.writable)return!1;i.value=n,l.f(p,t,i)}else l.f(p,t,h(0,n))}else{if(f=m.set,void 0===f)return!1;f.call(p,n)}return!0}var f=s((function(){var e=function(){},t=l.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}));i({target:"Reflect",stat:!0,forced:f},{set:d})},"7f33":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"7f9a":function(e,t,n){var i=n("da84"),r=n("1626"),a=n("8925"),o=i.WeakMap;e.exports=r(o)&&/native code/.test(a(o))},8155:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund",r;case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami",r;case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami",r;case"d":return t||i?"en dan":"enim dnem";case"dd":return r+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi",r;case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci",r;case"y":return t||i?"eno leto":"enim letom";case"yy":return r+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti",r}}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}))},"81d5":function(e,t,n){"use strict";var i=n("7b0b"),r=n("23cb"),a=n("07fa");e.exports=function(e){var t=i(this),n=a(t),o=arguments.length,s=r(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,u=void 0===l?n:r(l,n);while(u>s)t[s++]=e;return t}},"81e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i(e,t,n,i){var a="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":a=i?"sekunnin":"sekuntia";break;case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta";break}return a=r(e,i)+" "+a,a}function r(e,i){return e<10?i?n[e]:t[e]:e}var a=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: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 a}))},8230:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=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 i}))},"825a":function(e,t,n){var i=n("861d");e.exports=function(e){if(i(e))return e;throw TypeError(String(e)+" is not an object")}},"83ab":function(e,t,n){var i=n("d039");e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var i=n("a04b"),r=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var o=i(t);o in e?r.f(e,o,a(0,n)):e[o]=n}},"84aa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},"861d":function(e,t,n){var i=n("1626");e.exports=function(e){return"object"===typeof e?null!==e:i(e)}},8689:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:""},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","":"0"},i=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 i}))},8840:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},8875:function(e,t,n){var i,r,a;(function(n,o){r=[],i=o,a="function"===typeof i?i.apply(t,r):i,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var n,i,r,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(f.stack)||o.exec(f.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),h=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var d=0;d<h.length;d++){if("interactive"===h[d].readyState)return h[d];if(h[d].src===l)return h[d];if(l===c&&h[d].innerHTML&&h[d].innerHTML.trim()===r)return h[d]}return null}}return e}))},8925:function(e,t,n){var i=n("1626"),r=n("c6cd"),a=Function.toString;i(r.inspectSource)||(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},"898b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,a=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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 a}))},"8aa5":function(e,t,n){"use strict";var i=n("6547").charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"8d47":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i=this._calendarEl[e],r=n&&n.hours();return t(i)&&(i=i.apply(n)),i.replace("{}",r%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";
//! moment.js locale configuration
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("_"),i=[/^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 r(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function a(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(r(e)?"godziny":"godzin");case"ww":return i+(r(e)?"tygodnie":"tygodni");case"MM":return i+(r(e)?"miesiące":"miesięcy");case"yy":return i+(r(e)?"lata":"lat")}}var o=e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,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:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"8df4":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},i=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 i}))},"8e73":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=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 عام"]},a=function(e){return function(t,n,a,o){var s=i(t),l=r[e][i(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{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:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("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}))},9043:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"১",2:"২",3:"৩",4:"",5:"৫",6:"৬",7:"",8:"৮",9:"৯",0:""},n={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"},i=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 i}))},"90e3":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},"90ea":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<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}))},9112:function(e,t,n){var i=n("83ab"),r=n("9bf2"),a=n("5c6c");e.exports=i?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},9152:function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,i,r){var a,o,s=8*r-i-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?r-1:0,d=n?-1:1,f=e[t+h];for(h+=d,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+e[t+h],h+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=i;c>0;o=256*o+e[t+h],h+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),a-=u}return(f?-1:1)*o*Math.pow(2,a-i)},t.write=function(e,t,n,i,r,a){var o,s,l,u=8*a-r-1,c=(1<<u)-1,h=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?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,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),t+=o+h>=1?d/l:d*Math.pow(2,1-h),t*l>=2&&(o++,l/=2),o+h>=c?(s=0,o=c):o+h>=1?(s=(t*l-1)*Math.pow(2,r),o+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;e[n+f]=255&s,f+=p,s/=256,r-=8);for(o=o<<r|s,u+=r;u>0;e[n+f]=255&o,f+=p,o/=256,u-=8);e[n+f-p]|=128*m}},9263:function(e,t,n){"use strict";var i=n("577e"),r=n("ad6d"),a=n("9f7f"),o=n("5692"),s=n("7c73"),l=n("69f3").get,u=n("fce3"),c=n("107c"),h=RegExp.prototype.exec,d=o("native-string-replace",String.prototype.replace),f=h,p=function(){var e=/a/,t=/b*/g;return h.call(e,"a"),h.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),m=a.UNSUPPORTED_Y||a.BROKEN_CARET,g=void 0!==/()??/.exec("")[1],y=p||g||m||u||c;y&&(f=function(e){var t,n,a,o,u,c,y,v=this,_=l(v),x=i(e),b=_.raw;if(b)return b.lastIndex=v.lastIndex,t=f.call(b,x),v.lastIndex=b.lastIndex,t;var w=_.groups,M=m&&v.sticky,S=r.call(v),T=v.source,L=0,D=x;if(M&&(S=S.replace("y",""),-1===S.indexOf("g")&&(S+="g"),D=x.slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==x.charAt(v.lastIndex-1))&&(T="(?: "+T+")",D=" "+D,L++),n=new RegExp("^(?:"+T+")",S)),g&&(n=new RegExp("^"+T+"$(?!\\s)",S)),p&&(a=v.lastIndex),o=h.call(M?n:v,D),M?o?(o.input=o.input.slice(L),o[0]=o[0].slice(L),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:p&&o&&(v.lastIndex=v.global?o.index+o[0].length:a),g&&o&&o.length>1&&d.call(o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o&&w)for(o.groups=c=s(null),u=0;u<w.length;u++)y=w[u],c[y[0]]=o[y[1]];return o}),e.exports=f},"94ca":function(e,t,n){var i=n("d039"),r=n("1626"),a=/#|\.prototype\./,o=function(e,t){var n=l[s(e)];return n==c||n!=u&&(r(t)?i(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},"957c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"часасаасов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяцаесяцев",yy:"год_годает"};return"m"===i?n?"минута":"минуту":e+" "+t(r[i],+e)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],r=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:i,longMonthsParse:i,shortMonthsParse:i,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 r}))},"958b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){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";
//! moment.js locale configuration
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,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},9686:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"১",2:"২",3:"৩",4:"",5:"৫",6:"৬",7:"",8:"৮",9:"৯",0:""},n={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"},i=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 i}))},"972c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+i[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}))},9797:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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="",i=["","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=i[t]),e+n},week:{dow:1,doy:4}});return t}))},"99af":function(e,t,n){"use strict";var i=n("23e7"),r=n("d039"),a=n("e8b5"),o=n("861d"),s=n("7b0b"),l=n("07fa"),u=n("8418"),c=n("65f0"),h=n("1dde"),d=n("b622"),f=n("2d00"),p=d("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",y=f>=51||!r((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),v=h("concat"),_=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:a(e)},x=!y||!v;i({target:"Array",proto:!0,forced:x},{concat:function(e){var t,n,i,r,a,o=s(this),h=c(o,0),d=0;for(t=-1,i=arguments.length;t<i;t++)if(a=-1===t?o:arguments[t],_(a)){if(r=l(a),d+r>m)throw TypeError(g);for(n=0;n<r;n++,d++)n in a&&u(h,d,a[n])}else{if(d>=m)throw TypeError(g);u(h,d++,a)}return h.length=d,h}})},"9a1f":function(e,t,n){var i=n("59ed"),r=n("825a"),a=n("35a1");e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(i(n))return r(n.call(e));throw TypeError(String(e)+" is not iterable")}},"9bdd":function(e,t,n){var i=n("825a"),r=n("2a62");e.exports=function(e,t,n,a){try{return a?t(i(n)[0],n[1]):t(n)}catch(o){r(e,"throw",o)}}},"9bf2":function(e,t,n){var i=n("83ab"),r=n("0cfb"),a=n("825a"),o=n("a04b"),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return s(e,t,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var i=n("ae93").IteratorPrototype,r=n("7c73"),a=n("5c6c"),o=n("d44e"),s=n("3f8c"),l=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=r(i,{next:a(1,n)}),o(e,u,!1,!0),s[u]=l,e}},"9f26":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i=/(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,r=[/^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],a=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:i,monthsShortRegex:i,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:"[Aujourdhui à] 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 a}))},"9f7f":function(e,t,n){var i=n("d039"),r=n("da84"),a=r.RegExp;t.UNSUPPORTED_Y=i((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=i((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a04b:function(e,t,n){var i=n("c04e"),r=n("d9b5");e.exports=function(e){var t=i(e,"string");return r(t)?t:String(t)}},a15b:function(e,t,n){"use strict";var i=n("23e7"),r=n("44ad"),a=n("fc6a"),o=n("a640"),s=[].join,l=r!=Object,u=o("join",",");i({target:"Array",proto:!0,forced:l||!u},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},a356:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 عام"]},i=function(e){return function(i,r,a,o){var s=t(i),l=n[e][t(i)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-dz",{months:r,monthsShort:r,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")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return a}))},a434:function(e,t,n){"use strict";var i=n("23e7"),r=n("23cb"),a=n("5926"),o=n("07fa"),s=n("7b0b"),l=n("65f0"),u=n("8418"),c=n("1dde"),h=c("splice"),d=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var n,i,c,h,g,y,v=s(this),_=o(v),x=r(e,_),b=arguments.length;if(0===b?n=i=0:1===b?(n=0,i=_-x):(n=b-2,i=f(d(a(t),0),_-x)),_+n-i>p)throw TypeError(m);for(c=l(v,i),h=0;h<i;h++)g=x+h,g in v&&u(c,h,v[g]);if(c.length=i,n<i){for(h=x;h<_-i;h++)g=h+i,y=h+n,g in v?v[y]=v[g]:delete v[y];for(h=_;h>_-i+n;h--)delete v[h-1]}else if(n>i)for(h=_-i;h>x;h--)g=h+i-1,y=h+n-1,g in v?v[y]=v[g]:delete v[y];for(h=0;h<n;h++)v[h+x]=arguments[h+2];return v.length=_-i+n,c}})},a4d3:function(e,t,n){"use strict";var i=n("23e7"),r=n("da84"),a=n("d066"),o=n("c430"),s=n("83ab"),l=n("4930"),u=n("d039"),c=n("1a2d"),h=n("e8b5"),d=n("1626"),f=n("861d"),p=n("d9b5"),m=n("825a"),g=n("7b0b"),y=n("fc6a"),v=n("a04b"),_=n("577e"),x=n("5c6c"),b=n("7c73"),w=n("df75"),M=n("241c"),S=n("057f"),T=n("7418"),L=n("06cf"),D=n("9bf2"),A=n("d1e7"),O=n("6eeb"),k=n("5692"),I=n("f772"),C=n("d012"),E=n("90e3"),P=n("b622"),N=n("e538"),R=n("746f"),Y=n("d44e"),z=n("69f3"),H=n("b727").forEach,j=I("hidden"),F="Symbol",B="prototype",V=P("toPrimitive"),G=z.set,W=z.getterFor(F),U=Object[B],X=r.Symbol,Z=a("JSON","stringify"),q=L.f,$=D.f,J=S.f,K=A.f,Q=k("symbols"),ee=k("op-symbols"),te=k("string-to-symbol-registry"),ne=k("symbol-to-string-registry"),ie=k("wks"),re=r.QObject,ae=!re||!re[B]||!re[B].findChild,oe=s&&u((function(){return 7!=b($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=q(U,t);i&&delete U[t],$(e,t,n),i&&e!==U&&$(U,t,i)}:$,se=function(e,t){var n=Q[e]=b(X[B]);return G(n,{type:F,tag:e,description:t}),s||(n.description=t),n},le=function(e,t,n){e===U&&le(ee,t,n),m(e);var i=v(t);return m(n),c(Q,i)?(n.enumerable?(c(e,j)&&e[j][i]&&(e[j][i]=!1),n=b(n,{enumerable:x(0,!1)})):(c(e,j)||$(e,j,x(1,{})),e[j][i]=!0),oe(e,i,n)):$(e,i,n)},ue=function(e,t){m(e);var n=y(t),i=w(n).concat(pe(n));return H(i,(function(t){s&&!he.call(n,t)||le(e,t,n[t])})),e},ce=function(e,t){return void 0===t?b(e):ue(b(e),t)},he=function(e){var t=v(e),n=K.call(this,t);return!(this===U&&c(Q,t)&&!c(ee,t))&&(!(n||!c(this,t)||!c(Q,t)||c(this,j)&&this[j][t])||n)},de=function(e,t){var n=y(e),i=v(t);if(n!==U||!c(Q,i)||c(ee,i)){var r=q(n,i);return!r||!c(Q,i)||c(n,j)&&n[j][i]||(r.enumerable=!0),r}},fe=function(e){var t=J(y(e)),n=[];return H(t,(function(e){c(Q,e)||c(C,e)||n.push(e)})),n},pe=function(e){var t=e===U,n=J(t?ee:y(e)),i=[];return H(n,(function(e){!c(Q,e)||t&&!c(U,e)||i.push(Q[e])})),i};if(l||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,t=E(e),n=function(e){this===U&&n.call(ee,e),c(this,j)&&c(this[j],t)&&(this[j][t]=!1),oe(this,t,x(1,e))};return s&&ae&&oe(U,t,{configurable:!0,set:n}),se(t,e)},O(X[B],"toString",(function(){return W(this).tag})),O(X,"withoutSetter",(function(e){return se(E(e),e)})),A.f=he,D.f=le,L.f=de,M.f=S.f=fe,T.f=pe,N.f=function(e){return se(P(e),e)},s&&($(X[B],"description",{configurable:!0,get:function(){return W(this).description}}),o||O(U,"propertyIsEnumerable",he,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:X}),H(w(ie),(function(e){R(e)})),i({target:F,stat:!0,forced:!l},{for:function(e){var t=_(e);if(c(te,t))return te[t];var n=X(t);return te[t]=n,ne[n]=t,n},keyFor:function(e){if(!p(e))throw TypeError(e+" is not a symbol");if(c(ne,e))return ne[e]},useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:ce,defineProperty:le,defineProperties:ue,getOwnPropertyDescriptor:de}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),i({target:"Object",stat:!0,forced:u((function(){T.f(1)}))},{getOwnPropertySymbols:function(e){return T.f(g(e))}}),Z){var me=!l||u((function(){var e=X();return"[null]"!=Z([e])||"{}"!=Z({a:e})||"{}"!=Z(Object(e))}));i({target:"JSON",stat:!0,forced:me},{stringify:function(e,t,n){var i,r=[e],a=1;while(arguments.length>a)r.push(arguments[a++]);if(i=t,(f(t)||void 0!==e)&&!p(e))return h(t)||(t=function(e,t){if(d(i)&&(t=i.call(this,e,t)),!p(t))return t}),r[1]=t,Z.apply(null,r)}})}if(!X[B][V]){var ge=X[B].valueOf;O(X[B],V,(function(){return ge.apply(this,arguments)}))}Y(X,F),C[j]=!0},a630:function(e,t,n){var i=n("23e7"),r=n("4df4"),a=n("1c7e"),o=!a((function(e){Array.from(e)}));i({target:"Array",stat:!0,forced:o},{from:r})},a640:function(e,t,n){"use strict";var i=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))}},a7fa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},a9e3:function(e,t,n){"use strict";var i=n("83ab"),r=n("da84"),a=n("94ca"),o=n("6eeb"),s=n("1a2d"),l=n("7156"),u=n("d9b5"),c=n("c04e"),h=n("d039"),d=n("241c").f,f=n("06cf").f,p=n("9bf2").f,m=n("408a"),g=n("58a8").trim,y="Number",v=r[y],_=v.prototype,x=function(e){var t=c(e,"number");return"bigint"===typeof t?t:b(t)},b=function(e){var t,n,i,r,a,o,s,l,h=c(e,"number");if(u(h))throw TypeError("Cannot convert a Symbol value to a number");if("string"==typeof h&&h.length>2)if(h=g(h),t=h.charCodeAt(0),43===t||45===t){if(n=h.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(h.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+h}for(a=h.slice(2),o=a.length,s=0;s<o;s++)if(l=a.charCodeAt(s),l<48||l>r)return NaN;return parseInt(a,i)}return+h};if(a(y,!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var w,M=function(e){var t=arguments.length<1?0:v(x(e)),n=this;return n instanceof M&&h((function(){m(n)}))?l(Object(t),n,M):t},S=i?d(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),T=0;S.length>T;T++)s(v,w=S[T])&&!s(M,w)&&p(M,w,f(v,w));M.prototype=_,_.constructor=M,o(r,y,M)}},aaf2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r={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 i?r[n][0]:r[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}))},ab13:function(e,t,n){var i=n("b622"),r=i("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(i){}}return!1}},ac1f:function(e,t,n){"use strict";var i=n("23e7"),r=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(e,t,n){"use strict";var i=n("825a");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ada2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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,i){var r={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяціісяців",yy:"рік_роки_років"};return"m"===i?n?"хвилина":"хвилину":"h"===i?n?"година":"годину":e+" "+t(r[i],+e)}function i(e,t){var n,i={nominative:"неділя_понеділок_вівторок_середаетвер_пятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середуетвер_пятницю_суботу".split("_"),genitive:"неділі_понеділкаівторка_середи_четверга_пятниці_суботи".split("_")};return!0===e?i["nominative"].slice(1,7).concat(i["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",i[n][e.day()]):i["nominative"]}function r(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_веровт_лист_груд".split("_"),weekdays:i,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:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] 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 a}))},addb:function(e,t){var n=Math.floor,i=function(e,t){var o=e.length,s=n(o/2);return o<8?r(e,t):a(i(e.slice(0,s),t),i(e.slice(s),t),t)},r=function(e,t){var n,i,r=e.length,a=1;while(a<r){i=a,n=e[a];while(i&&t(e[i-1],n)>0)e[i]=e[--i];i!==a++&&(e[i]=n)}return e},a=function(e,t,n){var i=e.length,r=t.length,a=0,o=0,s=[];while(a<i||o<r)a<i&&o<r?s.push(n(e[a],t[o])<=0?e[a++]:t[o++]):s.push(a<i?e[a++]:t[o++]);return s};e.exports=i},ae93:function(e,t,n){"use strict";var i,r,a,o=n("d039"),s=n("1626"),l=n("7c73"),u=n("e163"),c=n("6eeb"),h=n("b622"),d=n("c430"),f=h("iterator"),p=!1;[].keys&&(a=[].keys(),"next"in a?(r=u(u(a)),r!==Object.prototype&&(i=r)):p=!0);var m=void 0==i||o((function(){var e={};return i[f].call(e)!==e}));m?i={}:d&&(i=l(i)),s(i[f])||c(i,f,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},b041:function(e,t,n){"use strict";var i=n("00ee"),r=n("f5df");e.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},b0c0:function(e,t,n){var i=n("83ab"),r=n("5e77").EXISTS,a=n("9bf2").f,o=Function.prototype,s=o.toString,l=/^\s*function ([^ (]*)/,u="name";i&&!r&&a(o,u,{configurable:!0,get:function(){try{return s.call(this).match(l)[1]}catch(e){return""}}})},b29d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},b3eb:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r={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?r[n][0]:r[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}))},b469:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r={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?r[n][0]:r[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}))},b53d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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";
//! moment.js locale configuration
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}))},b5b7:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,a=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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 a}))},b622:function(e,t,n){var i=n("da84"),r=n("5692"),a=n("1a2d"),o=n("90e3"),s=n("4930"),l=n("fdbf"),u=r("wks"),c=i.Symbol,h=l?c:c&&c.withoutSetter||o;e.exports=function(e){return a(u,e)&&(s||"string"==typeof u[e])||(s&&a(c,e)?u[e]=c[e]:u[e]=h("Symbol."+e)),u[e]}},b639:function(e,t,n){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var i=n("1fb5"),r=n("9152"),a=n("e3db");function o(){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,i){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,i):"string"===typeof t?p(e,t,n):y(e,t)}function h(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 d(e,t,n,i){return h(t),t<=0?l(e,t):void 0!==n?"string"===typeof i?l(e,t).fill(n,i):l(e,t).fill(n):l(e,t)}function f(e,t){if(h(t),e=l(e,t<0?0:0|v(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 i=0|x(t,n);e=l(e,i);var r=e.write(t,n);return r!==i&&(e=e.slice(0,r)),e}function m(e,t){var n=t.length<0?0:0|v(t.length);e=l(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function g(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}function y(e,t){if(u.isBuffer(t)){var n=0|v(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&&a(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function _(e){return+e!=e&&(e=0),u.alloc(+e)}function x(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 i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $(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(i)return $(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,n){var i=!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 Y(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return I(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function w(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function M(e,t,n,i,r){if(0===e.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof t&&(t=u.from(t,i)),u.isBuffer(t))return 0===t.length?-1:S(e,t,n,i,r);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):S(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function S(e,t,n,i,r){var a,o=1,s=e.length,l=t.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var c=-1;for(a=n;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else-1!==c&&(a-=a-c),c=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var h=!0,d=0;d<l;d++)if(u(e,a+d)!==u(t,d)){h=!1;break}if(h)return a}return-1}function T(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o<i;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function L(e,t,n,i){return ee($(t,e.length-n),e,n,i)}function D(e,t,n,i){return ee(J(t),e,n,i)}function A(e,t,n,i){return D(e,t,n,i)}function O(e,t,n,i){return ee(Q(t),e,n,i)}function k(e,t,n,i){return ee(K(t,e.length-n),e,n,i)}function I(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);var i=[],r=t;while(r<n){var a,o,s,l,u=e[r],c=null,h=u>239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:a=e[r+1],128===(192&a)&&(l=(31&u)<<6|63&a,l>127&&(c=l));break;case 3:a=e[r+1],o=e[r+2],128===(192&a)&&128===(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:a=e[r+1],o=e[r+2],s=e[r+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=h}return P(i)}t.Buffer=u,t.SlowBuffer=_,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:o(),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 d(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,i=t.length,r=0,a=Math.min(n,i);r<a;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<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(!a(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 i=u.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var o=e[n];if(!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},u.byteLength=x,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)w(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)w(this,t,t+3),w(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)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):b.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,i,r){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===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var a=r-i,o=n-t,s=Math.min(a,o),l=this.slice(i,r),c=e.slice(t,n),h=0;h<s;++h)if(l[h]!==c[h]){a=l[h],o=c[h];break}return a<o?-1:o<a?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return M(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return M(this,e,t,n,!1)},u.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)i=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===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return T(this,e,t,n);case"utf8":case"utf-8":return L(this,e,t,n);case"ascii":return D(this,e,t,n);case"latin1":case"binary":return A(this,e,t,n);case"base64":return O(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function P(e){var t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);var n="",i=0;while(i<t)n+=String.fromCharCode.apply(String,e.slice(i,i+=E));return n}function N(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}function R(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}function Y(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",a=t;a<n;++a)r+=q(e[a]);return r}function z(e,t,n){for(var i=e.slice(t,n),r="",a=0;a<i.length;a+=2)r+=String.fromCharCode(i[a]+256*i[a+1]);return r}function H(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 j(e,t,n,i,r,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<a)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function F(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r<a;++r)e[n+r]=(t&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function B(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r<a;++r)e[n+r]=t>>>8*(i?r:3-r)&255}function V(e,t,n,i,r,a){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function G(e,t,n,i,a){return a||V(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function W(e,t,n,i,a){return a||V(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}u.prototype.slice=function(e,t){var n,i=this.length;if(e=~~e,t=void 0===t?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=u.prototype;else{var r=t-e;n=new u(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||H(e,t,this.length);var i=this[e],r=1,a=0;while(++a<t&&(r*=256))i+=this[e+a]*r;return i},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||H(e,t,this.length);var i=this[e+--t],r=1;while(t>0&&(r*=256))i+=this[e+--t]*r;return i},u.prototype.readUInt8=function(e,t){return t||H(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||H(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||H(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||H(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||H(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||H(e,t,this.length);var i=this[e],r=1,a=0;while(++a<t&&(r*=256))i+=this[e+a]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*t)),i},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||H(e,t,this.length);var i=t,r=1,a=this[e+--i];while(i>0&&(r*=256))a+=this[e+--i]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||H(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||H(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||H(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||H(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||H(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||H(e,4,this.length),r.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||H(e,4,this.length),r.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||H(e,8,this.length),r.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||H(e,8,this.length),r.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;j(this,e,t,n,r,0)}var a=1,o=0;this[t]=255&e;while(++o<n&&(a*=256))this[t+o]=e/a&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;j(this,e,t,n,r,0)}var a=n-1,o=1;this[t+a]=255&e;while(--a>=0&&(o*=256))this[t+a]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||j(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||j(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||j(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):B(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||j(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):B(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}var a=0,o=1,s=0;this[t]=255&e;while(++a<n&&(o*=256))e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}var a=n-1,o=1,s=0;this[t+a]=255&e;while(--a>=0&&(o*=256))e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||j(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||j(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||j(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):B(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||j(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):B(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return G(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return G(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===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(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var r,a=i-n;if(this===e&&n<t&&t<i)for(r=a-1;r>=0;--r)e[r+t]=this[r+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},u.prototype.fill=function(e,t,n,i){if("string"===typeof e){if("string"===typeof t?(i=t,t=0,n=this.length):"string"===typeof n&&(i=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==i&&"string"!==typeof i)throw new TypeError("encoding must be a string");if("string"===typeof i&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+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 o=u.isBuffer(e)?e:$(new u(e,i).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function X(e){if(e=Z(e).replace(U,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function Z(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function $(e,t){var n;t=t||1/0;for(var i=e.length,r=null,a=[],o=0;o<i;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.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;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function J(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function K(e,t){for(var n,i,r,a=[],o=0;o<e.length;++o){if((t-=2)<0)break;n=e.charCodeAt(o),i=n>>8,r=n%256,a.push(r),a.push(i)}return a}function Q(e){return i.toByteArray(X(e))}function ee(e,t,n,i){for(var r=0;r<i;++r){if(r+n>=t.length||r>=e.length)break;t[r+n]=e[r]}return r}function te(e){return e!==e}}).call(this,n("c8ba"))},b64b:function(e,t,n){var i=n("23e7"),r=n("7b0b"),a=n("df75"),o=n("d039"),s=o((function(){a(1)}));i({target:"Object",stat:!0,forced:s},{keys:function(e){return a(r(e))}})},b680:function(e,t,n){"use strict";var i=n("23e7"),r=n("5926"),a=n("408a"),o=n("1148"),s=n("d039"),l=1..toFixed,u=Math.floor,c=function(e,t,n){return 0===t?n:t%2===1?c(e,t-1,n*e):c(e*e,t/2,n)},h=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=function(e,t,n){var i=-1,r=n;while(++i<6)r+=t*e[i],e[i]=r%1e7,r=u(r/1e7)},f=function(e,t){var n=6,i=0;while(--n>=0)i+=e[n],e[n]=u(i/t),i=i%t*1e7},p=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var i=String(e[t]);n=""===n?i:n+o.call("0",7-i.length)+i}return n},m=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}));i({target:"Number",proto:!0,forced:m},{toFixed:function(e){var t,n,i,s,l=a(this),u=r(e),m=[0,0,0,0,0,0],g="",y="0";if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(g="-",l=-l),l>1e-21)if(t=h(l*c(2,69,1))-69,n=t<0?l*c(2,-t,1):l/c(2,t,1),n*=4503599627370496,t=52-t,t>0){d(m,0,n),i=u;while(i>=7)d(m,1e7,0),i-=7;d(m,c(10,i,1),0),i=t-1;while(i>=23)f(m,1<<23),i-=23;f(m,1<<i),d(m,1,1),f(m,2),y=p(m)}else d(m,0,n),d(m,1<<-t,0),y=p(m)+o.call("0",u);return u>0?(s=y.length,y=g+(s<=u?"0."+o.call("0",u-s)+y:y.slice(0,s-u)+"."+y.slice(s-u))):y=g+y,y}})},b727:function(e,t,n){var i=n("0366"),r=n("44ad"),a=n("7b0b"),o=n("07fa"),s=n("65f0"),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,h=6==e,d=7==e,f=5==e||h;return function(p,m,g,y){for(var v,_,x=a(p),b=r(x),w=i(m,g,3),M=o(b),S=0,T=y||s,L=t?T(p,M):n||d?T(p,0):void 0;M>S;S++)if((f||S in b)&&(v=b[S],_=w(v,S,x),e))if(t)L[S]=_;else if(_)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:l.call(L,v)}else switch(e){case 4:return!1;case 7:l.call(L,v)}return h?-1:u||c?c:L}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},b7e9:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},b84c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},b97c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}function a(e,t){return t?"dažas sekundes":"dažām sekundēm"}var o=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:a,ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},bb71:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r={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?r[n][0]:r[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}))},c04e:function(e,t,n){var i=n("861d"),r=n("d9b5"),a=n("dc4a"),o=n("485a"),s=n("b622"),l=s("toPrimitive");e.exports=function(e,t){if(!i(e)||r(e))return e;var n,s=a(e,l);if(s){if(void 0===t&&(t="default"),n=s.call(e,t),!i(n)||r(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},c109:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},c1df:function(e,t,n){(function(e){var t;//! moment.js
//! version : 2.29.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(t,n){e.exports=n()})(0,(function(){"use strict";var i,r;function a(){return i.apply(null,arguments)}function o(e){i=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 h(e){return void 0===e}function d(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,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}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,i){return qn(e,t,n,i,!0).utc()}function y(){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 v(e){return null==e._pf&&(e._pf=y()),e._pf}function _(e){if(null==e._isValid){var t=v(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function x(e){var t=g(NaN);return null!=e?m(v(t),e):v(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=a.momentProperties=[],w=!1;function M(e,t){var n,i,r;if(h(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),h(t._i)||(e._i=t._i),h(t._f)||(e._f=t._f),h(t._l)||(e._l=t._l),h(t._strict)||(e._strict=t._strict),h(t._tzm)||(e._tzm=t._tzm),h(t._isUTC)||(e._isUTC=t._isUTC),h(t._offset)||(e._offset=t._offset),h(t._pf)||(e._pf=v(t)),h(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)i=b[n],r=t[i],h(r)||(e[i]=r);return e}function S(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,a.updateOffset(this),w=!1)}function T(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function L(e){!1===a.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,t){var n=!0;return m((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var i,r,o,s=[];for(r=0;r<arguments.length;r++){if(i="","object"===typeof arguments[r]){for(o in i+="\n["+r+"] ",arguments[0])u(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[r];s.push(i)}L(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var A,O={};function k(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),O[e]||(L(t),O[e]=!0)}function I(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,n;for(n in e)u(e,n)&&(t=e[n],I(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 E(e,t){var n,i=m({},e);for(n in t)u(t,n)&&(l(e[n])&&l(t[n])?(i[n]={},m(i[n],e[n]),m(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)u(e,n)&&!u(t,n)&&l(e[n])&&(i[n]=m({},i[n]));return i}function P(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var N={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 i=this._calendar[e]||this._calendar["sameElse"];return I(i)?i.call(t,n):i}function Y(e,t,n){var i=""+Math.abs(e),r=t-i.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var z=/(\[[^\[]*\])|(\\)?([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,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},F={};function B(e,t,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),e&&(F[e]=r),t&&(F[t[0]]=function(){return Y(r.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function V(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t,n,i=e.match(z);for(t=0,n=i.length;t<n;t++)F[i[t]]?i[t]=F[i[t]]:i[t]=V(i[t]);return function(t){var r,a="";for(r=0;r<n;r++)a+=I(i[r])?i[r].call(t,e):i[r];return a}}function W(e,t){return e.isValid()?(t=U(t,e.localeData()),j[t]=j[t]||G(t),j[t](e)):e.localeData().invalidDate()}function U(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}H.lastIndex=0;while(n>=0&&H.test(e))e=e.replace(H,i),H.lastIndex=0,n-=1;return e}var X={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 Z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(z).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var q="Invalid date";function $(){return this._invalidDate}var J="%d",K=/\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,i){var r=this._relativeTime[n];return I(r)?r(e,t,n,i):r.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return I(n)?n(t):n.replace(/%s/i,t)}var ie={};function re(e,t){var n=e.toLowerCase();ie[n]=ie[n+"s"]=ie[t]=e}function ae(e){return"string"===typeof e?ie[e]||ie[e.toLowerCase()]:void 0}function oe(e){var t,n,i={};for(n in e)u(e,n)&&(t=ae(n),t&&(i[t]=e[n]));return i}var se={};function le(e,t){se[e]=t}function ue(e){var t,n=[];for(t in e)u(e,t)&&n.push({unit:t,priority:se[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function ce(e){return e%4===0&&e%100!==0||e%400===0}function he(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function de(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=he(t)),n}function fe(e,t){return function(n){return null!=n?(me(this,e,n),a.updateOffset(this,t),this):pe(this,e)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(n=de(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),tt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ge(e){return e=ae(e),I(this[e])?this[e]():this}function ye(e,t){if("object"===typeof e){e=oe(e);var n,i=ue(e);for(n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit])}else if(e=ae(e),I(this[e]))return this[e](t);return this}var ve,_e=/\d/,xe=/\d\d/,be=/\d{3}/,we=/\d{4}/,Me=/[+-]?\d{6}/,Se=/\d\d?/,Te=/\d\d\d\d?/,Le=/\d\d\d\d\d\d?/,De=/\d{1,3}/,Ae=/\d{1,4}/,Oe=/[+-]?\d{1,6}/,ke=/\d+/,Ie=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,Pe=/[+-]?\d+(\.\d{1,3})?/,Ne=/[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;function Re(e,t,n){ve[e]=I(t)?t:function(e,i){return e&&n?n:t}}function Ye(e,t){return u(ve,e)?ve[e](t._strict,t._locale):new RegExp(ze(e))}function ze(e){return He(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r})))}function He(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ve={};var je={};function Fe(e,t){var n,i=t;for("string"===typeof e&&(e=[e]),d(t)&&(i=function(e,n){n[t]=de(e)}),n=0;n<e.length;n++)je[e[n]]=i}function Be(e,t){Fe(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function Ve(e,t,n){null!=t&&u(je,e)&&je[e](t,n._a,n,e)}var Ge,We=0,Ue=1,Xe=2,Ze=3,qe=4,$e=5,Je=6,Ke=7,Qe=8;function et(e,t){return(e%t+t)%t}function tt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=et(t,12);return e+=(t-n)/12,1===n?ce(e)?29:28:31-n%7%2}Ge=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},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),re("month","M"),le("month",8),Re("M",Se),Re("MM",Se,xe),Re("MMM",(function(e,t){return t.monthsShortRegex(e)})),Re("MMMM",(function(e,t){return t.monthsRegex(e)})),Fe(["M","MM"],(function(e,t){t[Ue]=de(e)-1})),Fe(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[Ue]=r:v(n).invalidMonth=e}));var nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=Ne,ot=Ne;function st(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months["standalone"]}function lt(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ut(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=g([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(r=Ge.call(this._shortMonthsParse,o),-1!==r?r:null):(r=Ge.call(this._longMonthsParse,o),-1!==r?r:null):"MMM"===t?(r=Ge.call(this._shortMonthsParse,o),-1!==r?r:(r=Ge.call(this._longMonthsParse,o),-1!==r?r:null)):(r=Ge.call(this._longMonthsParse,o),-1!==r?r:(r=Ge.call(this._shortMonthsParse,o),-1!==r?r:null))}function ct(e,t,n){var i,r,a;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=g([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ht(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=de(t);else if(t=e.localeData().monthsParse(t),!d(t))return e;return n=Math.min(e.date(),tt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function dt(e){return null!=e?(ht(this,e),a.updateOffset(this,!0),this):pe(this,"Month")}function ft(){return tt(this.year(),this.month())}function pt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||gt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||gt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function gt(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=g([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)i[t]=He(i[t]),r[t]=He(r[t]);for(t=0;t<24;t++)a[t]=He(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function yt(e){return ce(e)?366:365}B("Y",0,0,(function(){var e=this.year();return e<=9999?Y(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),re("year","y"),le("year",1),Re("Y",Ie),Re("YY",Se,xe),Re("YYYY",Ae,we),Re("YYYYY",Oe,Me),Re("YYYYYY",Oe,Me),Fe(["YYYYY","YYYYYY"],We),Fe("YYYY",(function(e,t){t[We]=2===e.length?a.parseTwoDigitYear(e):de(e)})),Fe("YY",(function(e,t){t[We]=a.parseTwoDigitYear(e)})),Fe("Y",(function(e,t){t[We]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return de(e)+(de(e)>68?1900:2e3)};var vt=fe("FullYear",!0);function _t(){return ce(this.year())}function xt(e,t,n,i,r,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function bt(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 wt(e,t,n){var i=7+t-n,r=(7+bt(e,0,i).getUTCDay()-t)%7;return-r+i-1}function Mt(e,t,n,i,r){var a,o,s=(7+n-i)%7,l=wt(e,i,r),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=yt(a)+u):u>yt(e)?(a=e+1,o=u-yt(e)):(a=e,o=u),{year:a,dayOfYear:o}}function St(e,t,n){var i,r,a=wt(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(r=e.year()-1,i=o+Tt(r,t,n)):o>Tt(e.year(),t,n)?(i=o-Tt(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Tt(e,t,n){var i=wt(e,t,n),r=wt(e+1,t,n);return(yt(e)-i+r)/7}function Lt(e){return St(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),le("week",5),le("isoWeek",5),Re("w",Se),Re("ww",Se,xe),Re("W",Se),Re("WW",Se,xe),Be(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=de(e)}));var Dt={dow:0,doy:6};function At(){return this._week.dow}function Ot(){return this._week.doy}function kt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function It(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Et(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),le("day",11),le("weekday",11),le("isoWeekday",11),Re("d",Se),Re("e",Se),Re("E",Se),Re("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Re("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Re("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:v(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,i){t[i]=de(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Yt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),zt=Ne,Ht=Ne,jt=Ne;function Ft(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vt(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=g([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(r=Ge.call(this._weekdaysParse,o),-1!==r?r:null):"ddd"===t?(r=Ge.call(this._shortWeekdaysParse,o),-1!==r?r:null):(r=Ge.call(this._minWeekdaysParse,o),-1!==r?r:null):"dddd"===t?(r=Ge.call(this._weekdaysParse,o),-1!==r?r:(r=Ge.call(this._shortWeekdaysParse,o),-1!==r?r:(r=Ge.call(this._minWeekdaysParse,o),-1!==r?r:null))):"ddd"===t?(r=Ge.call(this._shortWeekdaysParse,o),-1!==r?r:(r=Ge.call(this._weekdaysParse,o),-1!==r?r:(r=Ge.call(this._minWeekdaysParse,o),-1!==r?r:null))):(r=Ge.call(this._minWeekdaysParse,o),-1!==r?r:(r=Ge.call(this._weekdaysParse,o),-1!==r?r:(r=Ge.call(this._shortWeekdaysParse,o),-1!==r?r:null)))}function Wt(e,t,n){var i,r,a;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=g([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function Xt(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 Zt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Et(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=zt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ht),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=g([2e3,1]).day(t),i=He(this.weekdaysMin(n,"")),r=He(this.weekdaysShort(n,"")),a=He(this.weekdays(n,"")),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);o.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("^("+o.join("|")+")","i")}function Qt(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){B(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)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Qt),B("k",["kk",2],0,en),B("hmm",0,0,(function(){return""+Qt.apply(this)+Y(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Qt.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+Y(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)})),tn("a",!0),tn("A",!1),re("hour","h"),le("hour",13),Re("a",nn),Re("A",nn),Re("H",Se),Re("h",Se),Re("k",Se),Re("HH",Se,xe),Re("hh",Se,xe),Re("kk",Se,xe),Re("hmm",Te),Re("hmmss",Le),Re("Hmm",Te),Re("Hmmss",Le),Fe(["H","HH"],Ze),Fe(["k","kk"],(function(e,t,n){var i=de(e);t[Ze]=24===i?0:i})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[Ze]=de(e),v(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var i=e.length-2;t[Ze]=de(e.substr(0,i)),t[qe]=de(e.substr(i)),v(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[Ze]=de(e.substr(0,i)),t[qe]=de(e.substr(i,2)),t[$e]=de(e.substr(r)),v(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var i=e.length-2;t[Ze]=de(e.substr(0,i)),t[qe]=de(e.substr(i))})),Fe("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[Ze]=de(e.substr(0,i)),t[qe]=de(e.substr(i,2)),t[$e]=de(e.substr(r))}));var an=/[ap]\.?m?\.?/i,on=fe("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ln,un={calendar:N,longDateFormat:X,invalidDate:q,ordinal:J,dayOfMonthOrdinalParse:K,relativeTime:ee,months:nt,monthsShort:it,week:Dt,weekdays:Nt,weekdaysMin:Yt,weekdaysShort:Rt,meridiemParse:an},cn={},hn={};function dn(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function fn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){var t,n,i,r,a=0;while(a<e.length){r=fn(e[a]).split("-"),t=r.length,n=fn(e[a+1]),n=n?n.split("-"):null;while(t>0){if(i=mn(r.slice(0,t).join("-")),i)return i;if(n&&n.length>=t&&dn(r,n)>=t-1)break;t--}a++}return ln}function mn(i){var r=null;if(void 0===cn[i]&&"undefined"!==typeof e&&e&&e.exports)try{r=ln._abbr,t,n("4678")("./"+i),gn(r)}catch(a){cn[i]=null}return cn[i]}function gn(e,t){var n;return e&&(n=h(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,i=un;if(t.abbr=e,null!=cn[e])k("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."),i=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])i=cn[t.parentLocale]._config;else{if(n=mn(t.parentLocale),null==n)return hn[t.parentLocale]||(hn[t.parentLocale]=[]),hn[t.parentLocale].push({name:e,config:t}),null;i=n._config}return cn[e]=new P(E(i,t)),hn[e]&&hn[e].forEach((function(e){yn(e.name,e.config)})),gn(e),cn[e]}return delete cn[e],null}function vn(e,t){if(null!=t){var n,i,r=un;null!=cn[e]&&null!=cn[e].parentLocale?cn[e].set(E(cn[e]._config,t)):(i=mn(e),null!=i&&(r=i._config),t=E(r,t),null==i&&(t.abbr=e),n=new P(t),n.parentLocale=cn[e],cn[e]=n),gn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===gn()&&gn(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=mn(e),t)return t;e=[e]}return pn(e)}function xn(){return A(cn)}function bn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[Xe]<1||n[Xe]>tt(n[We],n[Ue])?Xe:n[Ze]<0||n[Ze]>24||24===n[Ze]&&(0!==n[qe]||0!==n[$e]||0!==n[Je])?Ze:n[qe]<0||n[qe]>59?qe:n[$e]<0||n[$e]>59?$e:n[Je]<0||n[Je]>999?Je:-1,v(e)._overflowDayOfYear&&(t<We||t>Xe)&&(t=Xe),v(e)._overflowWeeks&&-1===t&&(t=Ke),v(e)._overflowWeekday&&-1===t&&(t=Qe),v(e).overflow=t),e}var wn=/^\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)?/,Tn=[["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]],Ln=[["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/]],Dn=/^\/?Date\((-?\d+)/i,An=/^(?:(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}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kn(e){var t,n,i,r,a,o,s=e._i,l=wn.exec(s)||Mn.exec(s);if(l){for(v(e).iso=!0,t=0,n=Tn.length;t<n;t++)if(Tn[t][1].exec(l[1])){r=Tn[t][0],i=!1!==Tn[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=Ln.length;t<n;t++)if(Ln[t][1].exec(l[3])){a=(l[2]||" ")+Ln[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),Bn(e)}else e._isValid=!1}function In(e,t,n,i,r,a){var o=[Cn(e),it.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&o.push(parseInt(a,10)),o}function Cn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function En(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 i=Rt.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(i!==r)return v(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Nn(e,t,n){if(e)return On[e];if(t)return 0;var i=parseInt(n,10),r=i%100,a=(i-r)/100;return 60*a+r}function Rn(e){var t,n=An.exec(En(e._i));if(n){if(t=In(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],t,e))return;e._a=t,e._tzm=Nn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function Yn(e){var t=Dn.exec(e._i);null===t?(kn(e),!1===e._isValid&&(delete e._isValid,Rn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function zn(e,t,n){return null!=e?e:null!=t?t:n}function Hn(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function jn(e){var t,n,i,r,a,o=[];if(!e._d){for(i=Hn(e),e._w&&null==e._a[Xe]&&null==e._a[Ue]&&Fn(e),null!=e._dayOfYear&&(a=zn(e._a[We],i[We]),(e._dayOfYear>yt(a)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=bt(a,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[Xe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ze]&&0===e._a[qe]&&0===e._a[$e]&&0===e._a[Je]&&(e._nextDay=!0,e._a[Ze]=0),e._d=(e._useUTC?bt:xt).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ze]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==r&&(v(e).weekdayMismatch=!0)}}function Fn(e){var t,n,i,r,a,o,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,n=zn(t.GG,e._a[We],St($n(),1,4).year),i=zn(t.W,1),r=zn(t.E,1),(r<1||r>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,u=St($n(),a,o),n=zn(t.gg,e._a[We],u.year),i=zn(t.w,u.week),null!=t.d?(r=t.d,(r<0||r>6)&&(l=!0)):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),i<1||i>Tt(n,a,o)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=Mt(n,i,r,a,o),e._a[We]=s.year,e._dayOfYear=s.dayOfYear)}function Bn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],v(e).empty=!0;var t,n,i,r,o,s,l=""+e._i,u=l.length,c=0;for(i=U(e._f,e._locale).match(z)||[],t=0;t<i.length;t++)r=i[t],n=(l.match(Ye(r,e))||[])[0],n&&(o=l.substr(0,l.indexOf(n)),o.length>0&&v(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),c+=n.length),F[r]?(n?v(e).empty=!1:v(e).unusedTokens.push(r),Ve(r,n,e)):e._strict&&!n&&v(e).unusedTokens.push(r);v(e).charsLeftOver=u-c,l.length>0&&v(e).unusedInput.push(l),e._a[Ze]<=12&&!0===v(e).bigHour&&e._a[Ze]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Ze]=Vn(e._locale,e._a[Ze],e._meridiem),s=v(e).era,null!==s&&(e._a[We]=e._locale.erasConvertYear(s,e._a[We])),jn(e),bn(e)}else Rn(e);else kn(e)}function Vn(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function Gn(e){var t,n,i,r,a,o,s=!1;if(0===e._f.length)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)a=0,o=!1,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Bn(t),_(t)&&(o=!0),a+=v(t).charsLeftOver,a+=10*v(t).unusedTokens.length,v(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o&&(s=!0));m(e,n||t)}function Wn(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)})),jn(e)}}function Un(e){var t=new S(bn(Xn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Xn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?x({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),T(t)?new S(bn(t)):(f(t)?e._d=t:s(n)?Gn(e):n?Bn(e):Zn(e),_(e)||(e._d=null),e))}function Zn(e){var t=e._i;h(t)?e._d=new Date(a.now()):f(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Yn(e):s(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),jn(e)):l(t)?Wn(e):d(t)?e._d=new Date(t):a.createFromInputFallback(e)}function qn(e,t,n,i,r){var a={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(l(e)&&c(e)||s(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,Un(a)}function $n(e,t,n,i){return qn(e,t,n,i,!1)}a.createFromInputFallback=D("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":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Jn=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:x()})),Kn=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:x()}));function Qn(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function ei(){var e=[].slice.call(arguments,0);return Qn("isBefore",e)}function ti(){var e=[].slice.call(arguments,0);return Qn("isAfter",e)}var ni=function(){return Date.now?Date.now():+new Date},ii=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ri(e){var t,n,i=!1;for(t in e)if(u(e,t)&&(-1===Ge.call(ii,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<ii.length;++n)if(e[ii[n]]){if(i)return!1;parseFloat(e[ii[n]])!==de(e[ii[n]])&&(i=!0)}return!0}function ai(){return this._isValid}function oi(){return Oi(NaN)}function si(e){var t=oe(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=ri(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=_n(),this._bubble()}function li(e){return e instanceof si}function ui(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ci(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&de(e[i])!==de(t[i]))&&o++;return o+a}function hi(e,t){B(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+Y(~~(e/60),2)+t+Y(~~e%60,2)}))}hi("Z",":"),hi("ZZ",""),Re("Z",Ee),Re("ZZ",Ee),Fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fi(Ee,e)}));var di=/([\+\-]|\d\d)/gi;function fi(e,t){var n,i,r,a=(t||"").match(e);return null===a?null:(n=a[a.length-1]||[],i=(n+"").match(di)||["-",0,0],r=60*i[1]+de(i[2]),0===r?0:"+"===i[0]?r:-r)}function pi(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(T(e)||f(e)?e.valueOf():$n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),a.updateOffset(n,!1),n):$n(e).local()}function mi(e){return-Math.round(e._d.getTimezoneOffset())}function gi(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=fi(Ee,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mi(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Pi(this,Oi(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:mi(this)}function yi(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vi(e){return this.utcOffset(0,e)}function _i(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mi(this),"m")),this}function xi(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fi(Ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function bi(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mi(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),t=Xn(t),t._a?(e=t._isUTC?g(t._a):$n(t._a),this._isDSTShifted=this.isValid()&&ci(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Si(){return!!this.isValid()&&!this._isUTC}function Ti(){return!!this.isValid()&&this._isUTC}function Li(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var Di=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ai=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Oi(e,t){var n,i,r,a=e,o=null;return li(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Di.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:de(o[Xe])*n,h:de(o[Ze])*n,m:de(o[qe])*n,s:de(o[$e])*n,ms:de(ui(1e3*o[Je]))*n}):(o=Ai.exec(e))?(n="-"===o[1]?-1:1,a={y:ki(o[2],n),M:ki(o[3],n),w:ki(o[4],n),d:ki(o[5],n),h:ki(o[6],n),m:ki(o[7],n),s:ki(o[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(r=Ci($n(a.from),$n(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),i=new si(a),li(e)&&u(e,"_locale")&&(i._locale=e._locale),li(e)&&u(e,"_isValid")&&(i._isValid=e._isValid),i}function ki(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ii(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 Ci(e,t){var n;return e.isValid()&&t.isValid()?(t=pi(t,e),e.isBefore(t)?n=Ii(e,t):(n=Ii(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ei(e,t){return function(n,i){var r,a;return null===i||isNaN(+i)||(k(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."),a=n,n=i,i=a),r=Oi(n,i),Pi(this,r,e),this}}function Pi(e,t,n,i){var r=t._milliseconds,o=ui(t._days),s=ui(t._months);e.isValid()&&(i=null==i||i,s&&ht(e,pe(e,"Month")+s*n),o&&me(e,"Date",pe(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&a.updateOffset(e,o||s))}Oi.fn=si.prototype,Oi.invalid=oi;var Ni=Ei(1,"add"),Ri=Ei(-1,"subtract");function Yi(e){return"string"===typeof e||e instanceof String}function zi(e){return T(e)||f(e)||Yi(e)||d(e)||ji(e)||Hi(e)||null===e||void 0===e}function Hi(e){var t,n,i=l(e)&&!c(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],r=r||u(e,n);return i&&r}function ji(e){var t=s(e),n=!1;return t&&(n=0===e.filter((function(t){return!d(t)&&Yi(e)})).length),t&&n}function Fi(e){var t,n,i=l(e)&&!c(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],r=r||u(e,n);return i&&r}function Bi(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 Vi(e,t){1===arguments.length&&(arguments[0]?zi(arguments[0])?(e=arguments[0],t=void 0):Fi(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$n(),i=pi(n,this).startOf("day"),r=a.calendarFormat(this,i)||"sameElse",o=t&&(I(t[r])?t[r].call(this,n):t[r]);return this.format(o||this.localeData().calendar(r,this,$n(n)))}function Gi(){return new S(this)}function Wi(e,t){var n=T(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ui(e,t){var n=T(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Xi(e,t,n,i){var r=T(e)?e:$n(e),a=T(t)?t:$n(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&(i=i||"()",("("===i[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n)))}function Zi(e,t){var n,i=T(e)?e:$n(e);return!(!this.isValid()||!i.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function qi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $i(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ji(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(i=pi(e,this),!i.isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=ae(t),t){case"year":a=Ki(this,i)/12;break;case"month":a=Ki(this,i);break;case"quarter":a=Ki(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:he(a)}function Ki(e,t){if(e.date()<t.date())return-Ki(t,e);var n,i,r=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(r,"months");return t-a<0?(n=e.clone().add(r-1,"months"),i=(t-a)/(a-n)):(n=e.clone().add(r+1,"months"),i=(t-a)/(n-a)),-(r+i)||0}function Qi(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function er(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=a+'[")]',this.format(e+t+n+i)}function nr(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function ir(e,t){return this.isValid()&&(T(e)&&e.isValid()||$n(e).isValid())?Oi({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from($n(),e)}function ar(e,t){return this.isValid()&&(T(e)&&e.isValid()||$n(e).isValid())?Oi({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function or(e){return this.to($n(),e)}function sr(e){var t;return void 0===e?this._locale._abbr:(t=_n(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lr=D("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 ur(){return this._locale}var cr=1e3,hr=60*cr,dr=60*hr,fr=3506328*dr;function pr(e,t){return(e%t+t)%t}function mr(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fr:new Date(e,t,n).valueOf()}function gr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fr:Date.UTC(e,t,n)}function yr(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gr:mr,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-=pr(t+(this._isUTC?0:this.utcOffset()*hr),dr);break;case"minute":t=this._d.valueOf(),t-=pr(t,hr);break;case"second":t=this._d.valueOf(),t-=pr(t,cr);break}return this._d.setTime(t),a.updateOffset(this,!0),this}function vr(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gr:mr,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+=dr-pr(t+(this._isUTC?0:this.utcOffset()*hr),dr)-1;break;case"minute":t=this._d.valueOf(),t+=hr-pr(t,hr)-1;break;case"second":t=this._d.valueOf(),t+=cr-pr(t,cr)-1;break}return this._d.setTime(t),a.updateOffset(this,!0),this}function _r(){return this._d.valueOf()-6e4*(this._offset||0)}function xr(){return Math.floor(this.valueOf()/1e3)}function br(){return new Date(this.valueOf())}function wr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mr(){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 Sr(){return this.isValid()?this.toISOString():null}function Tr(){return _(this)}function Lr(){return m({},v(this))}function Dr(){return v(this).overflow}function Ar(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Or(e,t){var n,i,r,o=this._eras||_n("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":r=a(o[n].since).startOf("day"),o[n].since=r.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=a(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf();break}}return o}function kr(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i];break}else if([a,o,s].indexOf(e)>=0)return l[i]}function Ir(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Cr(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function Er(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function Pr(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function Nr(){var e,t,n,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=r[e].since<=r[e].until?1:-1,i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return(this.year()-a(r[e].since).year())*n+r[e].offset;return this.year()}function Rr(e){return u(this,"_erasNameRegex")||Vr.call(this),e?this._erasNameRegex:this._erasRegex}function Yr(e){return u(this,"_erasAbbrRegex")||Vr.call(this),e?this._erasAbbrRegex:this._erasRegex}function zr(e){return u(this,"_erasNarrowRegex")||Vr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Hr(e,t){return t.erasAbbrRegex(e)}function jr(e,t){return t.erasNameRegex(e)}function Fr(e,t){return t.erasNarrowRegex(e)}function Br(e,t){return t._eraYearOrdinalRegex||ke}function Vr(){var e,t,n=[],i=[],r=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)i.push(He(o[e].name)),n.push(He(o[e].abbr)),r.push(He(o[e].narrow)),a.push(He(o[e].name)),a.push(He(o[e].abbr)),a.push(He(o[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function Gr(e,t){B(0,[e,e.length],0,t)}function Wr(e){return Jr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ur(e){return Jr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Xr(){return Tt(this.year(),1,4)}function Zr(){return Tt(this.isoWeekYear(),1,4)}function qr(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function $r(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Jr(e,t,n,i,r){var a;return null==e?St(this,i,r).year:(a=Tt(e,i,r),t>a&&(t=a),Kr.call(this,e,t,n,i,r))}function Kr(e,t,n,i,r){var a=Mt(e,t,n,i,r),o=bt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Qr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),Re("N",Hr),Re("NN",Hr),Re("NNN",Hr),Re("NNNN",jr),Re("NNNNN",Fr),Fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?v(n).era=r:v(n).invalidEra=e})),Re("y",ke),Re("yy",ke),Re("yyy",ke),Re("yyyy",ke),Re("yo",Br),Fe(["y","yy","yyy","yyyy"],We),Fe(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[We]=n._locale.eraYearOrdinalParse(e,r):t[We]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Gr("gggg","weekYear"),Gr("ggggg","weekYear"),Gr("GGGG","isoWeekYear"),Gr("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),le("weekYear",1),le("isoWeekYear",1),Re("G",Ie),Re("g",Ie),Re("GG",Se,xe),Re("gg",Se,xe),Re("GGGG",Ae,we),Re("gggg",Ae,we),Re("GGGGG",Oe,Me),Re("ggggg",Oe,Me),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=de(e)})),Be(["gg","GG"],(function(e,t,n,i){t[i]=a.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),re("quarter","Q"),le("quarter",7),Re("Q",_e),Fe("Q",(function(e,t){t[Ue]=3*(de(e)-1)})),B("D",["DD",2],"Do","date"),re("date","D"),le("date",9),Re("D",Se),Re("DD",Se,xe),Re("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],Xe),Fe("Do",(function(e,t){t[Xe]=de(e.match(Se)[0])}));var ea=fe("Date",!0);function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),le("dayOfYear",4),Re("DDD",De),Re("DDDD",be),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=de(e)})),B("m",["mm",2],0,"minute"),re("minute","m"),le("minute",14),Re("m",Se),Re("mm",Se,xe),Fe(["m","mm"],qe);var na=fe("Minutes",!1);B("s",["ss",2],0,"second"),re("second","s"),le("second",15),Re("s",Se),Re("ss",Se,xe),Fe(["s","ss"],$e);var ia,ra,aa=fe("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),re("millisecond","ms"),le("millisecond",16),Re("S",De,_e),Re("SS",De,xe),Re("SSS",De,be),ia="SSSS";ia.length<=9;ia+="S")Re(ia,ke);function oa(e,t){t[Je]=de(1e3*("0."+e))}for(ia="S";ia.length<=9;ia+="S")Fe(ia,oa);function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ra=fe("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ua=S.prototype;function ca(e){return $n(1e3*e)}function ha(){return $n.apply(null,arguments).parseZone()}function da(e){return e}ua.add=Ni,ua.calendar=Vi,ua.clone=Gi,ua.diff=Ji,ua.endOf=vr,ua.format=nr,ua.from=ir,ua.fromNow=rr,ua.to=ar,ua.toNow=or,ua.get=ge,ua.invalidAt=Dr,ua.isAfter=Wi,ua.isBefore=Ui,ua.isBetween=Xi,ua.isSame=Zi,ua.isSameOrAfter=qi,ua.isSameOrBefore=$i,ua.isValid=Tr,ua.lang=lr,ua.locale=sr,ua.localeData=ur,ua.max=Kn,ua.min=Jn,ua.parsingFlags=Lr,ua.set=ye,ua.startOf=yr,ua.subtract=Ri,ua.toArray=wr,ua.toObject=Mr,ua.toDate=br,ua.toISOString=er,ua.inspect=tr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=Sr,ua.toString=Qi,ua.unix=xr,ua.valueOf=_r,ua.creationData=Ar,ua.eraName=Cr,ua.eraNarrow=Er,ua.eraAbbr=Pr,ua.eraYear=Nr,ua.year=vt,ua.isLeapYear=_t,ua.weekYear=Wr,ua.isoWeekYear=Ur,ua.quarter=ua.quarters=Qr,ua.month=dt,ua.daysInMonth=ft,ua.week=ua.weeks=kt,ua.isoWeek=ua.isoWeeks=It,ua.weeksInYear=qr,ua.weeksInWeekYear=$r,ua.isoWeeksInYear=Xr,ua.isoWeeksInISOWeekYear=Zr,ua.date=ea,ua.day=ua.days=Ut,ua.weekday=Xt,ua.isoWeekday=Zt,ua.dayOfYear=ta,ua.hour=ua.hours=on,ua.minute=ua.minutes=na,ua.second=ua.seconds=aa,ua.millisecond=ua.milliseconds=ra,ua.utcOffset=gi,ua.utc=vi,ua.local=_i,ua.parseZone=xi,ua.hasAlignedHourOffset=bi,ua.isDST=wi,ua.isLocal=Si,ua.isUtcOffset=Ti,ua.isUtc=Li,ua.isUTC=Li,ua.zoneAbbr=sa,ua.zoneName=la,ua.dates=D("dates accessor is deprecated. Use date instead.",ea),ua.months=D("months accessor is deprecated. Use month instead",dt),ua.years=D("years accessor is deprecated. Use year instead",vt),ua.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yi),ua.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mi);var fa=P.prototype;function pa(e,t,n,i){var r=_n(),a=g().set(i,t);return r[n](a,e)}function ma(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return pa(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=pa(e,i,n,"month");return r}function ga(e,t,n,i){"boolean"===typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var r,a=_n(),o=e?a._week.dow:0,s=[];if(null!=n)return pa(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=pa(t,(r+o)%7,i,"day");return s}function ya(e,t){return ma(e,t,"months")}function va(e,t){return ma(e,t,"monthsShort")}function _a(e,t,n){return ga(e,t,n,"weekdays")}function xa(e,t,n){return ga(e,t,n,"weekdaysShort")}function ba(e,t,n){return ga(e,t,n,"weekdaysMin")}fa.calendar=R,fa.longDateFormat=Z,fa.invalidDate=$,fa.ordinal=Q,fa.preparse=da,fa.postformat=da,fa.relativeTime=te,fa.pastFuture=ne,fa.set=C,fa.eras=Or,fa.erasParse=kr,fa.erasConvertYear=Ir,fa.erasAbbrRegex=Yr,fa.erasNameRegex=Rr,fa.erasNarrowRegex=zr,fa.months=st,fa.monthsShort=lt,fa.monthsParse=ct,fa.monthsRegex=mt,fa.monthsShortRegex=pt,fa.week=Lt,fa.firstDayOfYear=Ot,fa.firstDayOfWeek=At,fa.weekdays=Ft,fa.weekdaysMin=Vt,fa.weekdaysShort=Bt,fa.weekdaysParse=Wt,fa.weekdaysRegex=qt,fa.weekdaysShortRegex=$t,fa.weekdaysMinRegex=Jt,fa.isPM=rn,fa.meridiem=sn,gn("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===de(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),a.lang=D("moment.lang is deprecated. Use moment.locale instead.",gn),a.langData=D("moment.langData is deprecated. Use moment.localeData instead.",_n);var wa=Math.abs;function Ma(){var e=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),e.milliseconds=wa(e.milliseconds),e.seconds=wa(e.seconds),e.minutes=wa(e.minutes),e.hours=wa(e.hours),e.months=wa(e.months),e.years=wa(e.years),this}function Sa(e,t,n,i){var r=Oi(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Ta(e,t){return Sa(this,e,t,1)}function La(e,t){return Sa(this,e,t,-1)}function Da(e){return e<0?Math.floor(e):Math.ceil(e)}function Aa(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Da(ka(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=he(a/1e3),l.seconds=e%60,t=he(e/60),l.minutes=t%60,n=he(t/60),l.hours=n%24,o+=he(n/24),r=he(Oa(o)),s+=r,o-=Da(ka(r)),i=he(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function Oa(e){return 4800*e/146097}function ka(e){return 146097*e/4800}function Ia(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=ae(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Oa(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(ka(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Ca(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*de(this._months/12):NaN}function Ea(e){return function(){return this.as(e)}}var Pa=Ea("ms"),Na=Ea("s"),Ra=Ea("m"),Ya=Ea("h"),za=Ea("d"),Ha=Ea("w"),ja=Ea("M"),Fa=Ea("Q"),Ba=Ea("y");function Va(){return Oi(this)}function Ga(e){return e=ae(e),this.isValid()?this[e+"s"]():NaN}function Wa(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ua=Wa("milliseconds"),Xa=Wa("seconds"),Za=Wa("minutes"),qa=Wa("hours"),$a=Wa("days"),Ja=Wa("months"),Ka=Wa("years");function Qa(){return he(this.days()/7)}var eo=Math.round,to={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function io(e,t,n,i){var r=Oi(e).abs(),a=eo(r.as("s")),o=eo(r.as("m")),s=eo(r.as("h")),l=eo(r.as("d")),u=eo(r.as("M")),c=eo(r.as("w")),h=eo(r.as("y")),d=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||c<=1&&["w"]||c<n.w&&["ww",c]),d=d||u<=1&&["M"]||u<n.M&&["MM",u]||h<=1&&["y"]||["yy",h],d[2]=t,d[3]=+e>0,d[4]=i,no.apply(null,d)}function ro(e){return void 0===e?eo:"function"===typeof e&&(eo=e,!0)}function ao(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=to;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(r=e),"object"===typeof t&&(a=Object.assign({},to,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),i=io(this,!r,a,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var so=Math.abs;function lo(e){return(e>0)-(e<0)||+e}function uo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,o,s,l=so(this._milliseconds)/1e3,u=so(this._days),c=so(this._months),h=this.asSeconds();return h?(e=he(l/60),t=he(e/60),l%=60,e%=60,n=he(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",a=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",s=lo(this._milliseconds)!==lo(h)?"-":"",r+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var co=si.prototype;return co.isValid=ai,co.abs=Ma,co.add=Ta,co.subtract=La,co.as=Ia,co.asMilliseconds=Pa,co.asSeconds=Na,co.asMinutes=Ra,co.asHours=Ya,co.asDays=za,co.asWeeks=Ha,co.asMonths=ja,co.asQuarters=Fa,co.asYears=Ba,co.valueOf=Ca,co._bubble=Aa,co.clone=Va,co.get=Ga,co.milliseconds=Ua,co.seconds=Xa,co.minutes=Za,co.hours=qa,co.days=$a,co.weeks=Qa,co.months=Ja,co.years=Ka,co.humanize=oo,co.toISOString=uo,co.toString=uo,co.toJSON=uo,co.locale=sr,co.localeData=ur,co.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),co.lang=lr,B("X",0,0,"unix"),B("x",0,0,"valueOf"),Re("x",Ie),Re("X",Pe),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Fe("x",(function(e,t,n){n._d=new Date(de(e))})),
//! moment.js
a.version="2.29.1",o($n),a.fn=ua,a.min=ei,a.max=ti,a.now=ni,a.utc=g,a.unix=ca,a.months=ya,a.isDate=f,a.locale=gn,a.invalid=x,a.duration=Oi,a.isMoment=T,a.weekdays=_a,a.parseZone=ha,a.localeData=_n,a.isDuration=li,a.monthsShort=va,a.weekdaysMin=ba,a.defineLocale=yn,a.updateLocale=vn,a.locales=xn,a.weekdaysShort=xa,a.normalizeUnits=ae,a.relativeTimeRounding=ro,a.relativeTimeThreshold=ao,a.calendarFormat=Bi,a.prototype=ua,a.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"},a}))}).call(this,n("62e4")(e))},c298:function(e,t,n){e.exports={red:"#f12b2b",orange:"#ff5e01",yellow:"#ffe927",green:"#3ce436",cyan:"#26e1e7",blue:"#2b67d6",purple:"#5b14cc",a:"#861506",b:"#aa4409",c:"#b3a20a",d:"#0ca007",e:"#079297",f:"#063b9c",g:"#380983",h:"#55585f",white:"#fff",black:"#040a15",black1:"rgba(4,10,21,.8)",text:"#dfe8f9",background:"rgba(4,10,21,.1)",axisLine:"rgba(149,179,235,.3)"}},c430:function(e,t){e.exports=!1},c60d:function(e,t,n){var i=n("1a2d");e.exports=function(e){return void 0!==e&&(i(e,"value")||i(e,"writable"))}},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var i=n("da84"),r=n("ce4e"),a="__core-js_shared__",o=i[a]||r(a,{});e.exports=o},c740:function(e,t,n){"use strict";var i=n("23e7"),r=n("b727").findIndex,a=n("44d2"),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a(o)},c7aa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}e.exports=n},c8f3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},ca84:function(e,t,n){var i=n("1a2d"),r=n("fc6a"),a=n("4d64").indexOf,o=n("d012");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)!i(o,n)&&i(s,n)&&u.push(n);while(t.length>l)i(s,n=t[l++])&&(~a(u,n)||u.push(n));return u}},caad:function(e,t,n){"use strict";var i=n("23e7"),r=n("4d64").includes,a=n("44d2");i({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb29:function(e,t,n){var i=n("23e7"),r=n("81d5"),a=n("44d2");i({target:"Array",proto:!0},{fill:r}),a("fill")},cc12:function(e,t,n){var i=n("da84"),r=n("861d"),a=i.document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},cca6:function(e,t,n){var i=n("23e7"),r=n("60da");i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},ce4e:function(e,t,n){var i=n("da84");e.exports=function(e,t){try{Object.defineProperty(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},cf1e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],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,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},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:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",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";
//! moment.js locale configuration
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,i){var r={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 i||t?r[n][0]:r[n][1]}return t}))},cf75:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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 i(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 r(e,t,n,i){var r=a(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function a(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+t[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}var o=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 wamaH_tera jar wamaH wa_tera jar wamaH cha".split("_"),monthsShort:"jar wa_jar cha_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wamaH_jar wamaH wa_jar wamaH 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:"[waleS] LT",nextWeek:"LLL",lastDay:"[waHu] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:i,s:"puS lup",ss:r,m:"wa tup",mm:r,h:"wa rep",hh:r,d:"wa jaj",dd:r,M:"wa jar",MM:r,y:"wa DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var i=n("da84"),r=n("1626"),a=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(i[e]):i[e]&&i[e][t]}},d1e7:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},i=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 i}))},d28b:function(e,t,n){var i=n("746f");i("iterator")},d2bb:function(e,t,n){var i=n("825a"),r=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(a){}return function(n,a){return i(n),r(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},d2d4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},d3b7:function(e,t,n){var i=n("00ee"),r=n("6eeb"),a=n("b041");i||r(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(e,t,n){var i=n("9bf2").f,r=n("1a2d"),a=n("b622"),o=a("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},d51b:function(e,t,n){"use strict";var i=function(){function e(e){this.value=e}return e}(),r=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new i(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}(),a=function(){function e(e){this._list=new r,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,r=this._map,a=null;if(null==r[e]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete r[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new i(t),s.key=e,n.insertEntry(s),r[e]=s}return a},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"]=a},d69a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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";
//! moment.js locale configuration
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}))},d716:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},d784:function(e,t,n){"use strict";n("ac1f");var i=n("6eeb"),r=n("9263"),a=n("d039"),o=n("b622"),s=n("9112"),l=o("species"),u=RegExp.prototype;e.exports=function(e,t,n,c){var h=o(e),d=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),f=d&&!a((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!d||!f||n){var p=/./[h],m=t(h,""[e],(function(e,t,n,i,a){var o=t.exec;return o===r||o===u.exec?d&&!a?{done:!0,value:p.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(u,h,m[1])}c&&s(u[h],"sham",!0)}},d81d:function(e,t,n){"use strict";var i=n("23e7"),r=n("b727").map,a=n("1dde"),o=a("map");i({target:"Array",proto:!0,forced:!o},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},d998:function(e,t,n){var i=n("342f");e.exports=/MSIE|Trident/.test(i)},d9b5:function(e,t,n){var i=n("1626"),r=n("d066"),a=n("fdbf");e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&Object(e)instanceof t}},d9f8:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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:"[Aujourdhui à] 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}))},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},db29:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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("_"),i=[/^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],r=/^(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,a=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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 a}))},dbb4:function(e,t,n){var i=n("23e7"),r=n("83ab"),a=n("56ef"),o=n("fc6a"),s=n("06cf"),l=n("8418");i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){var t,n,i=o(e),r=s.f,u=a(i),c={},h=0;while(u.length>h)n=r(i,t=u[h++]),void 0!==n&&l(c,t,n);return c}})},dc4a:function(e,t,n){var i=n("59ed");e.exports=function(e,t){var n=e[t];return null==n?void 0:i(n)}},dc4d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],r=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],a=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:i,longMonthsParse:i,shortMonthsParse:r,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 a}))},ddb0:function(e,t,n){var i=n("da84"),r=n("fdbc"),a=n("785a"),o=n("e260"),s=n("9112"),l=n("b622"),u=l("iterator"),c=l("toStringTag"),h=o.values,d=function(e,t){if(e){if(e[u]!==h)try{s(e,u,h)}catch(i){e[u]=h}if(e[c]||s(e,c,t),r[t])for(var n in o)if(e[n]!==o[n])try{s(e,n,o[n])}catch(i){e[n]=o[n]}}};for(var f in r)d(i[f]&&i[f].prototype,f);d(a,"DOMTokenList")},df75:function(e,t,n){var i=n("ca84"),r=n("7839");e.exports=Object.keys||function(e){return i(e,r)}},e01a:function(e,t,n){"use strict";var i=n("23e7"),r=n("83ab"),a=n("da84"),o=n("1a2d"),s=n("1626"),l=n("861d"),u=n("9bf2").f,c=n("e893"),h=a.Symbol;if(r&&s(h)&&(!("description"in h.prototype)||void 0!==h().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new h(e):void 0===e?h():h(e);return""===e&&(d[t]=!0),t};c(f,h);var p=f.prototype=h.prototype;p.constructor=f;var m=p.toString,g="Symbol(test)"==String(h("test")),y=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=m.call(e);if(o(d,e))return"";var n=g?t.slice(7,-1):t.replace(y,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:f})}},e0c5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:""},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","":"0"},i=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 i}))},e163:function(e,t,n){var i=n("1a2d"),r=n("1626"),a=n("7b0b"),o=n("f772"),s=n("e177"),l=o("IE_PROTO"),u=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){var t=a(e);if(i(t,l))return t[l];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof Object?u:null}},e177:function(e,t,n){var i=n("d039");e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e1d3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},e260:function(e,t,n){"use strict";var i=n("fc6a"),r=n("44d2"),a=n("3f8c"),o=n("69f3"),s=n("7dd0"),l="Array Iterator",u=o.set,c=o.getterFor(l);e.exports=s(Array,"Array",(function(e,t){u(this,{type:l,target:i(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},e3db:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},e439:function(e,t,n){var i=n("23e7"),r=n("d039"),a=n("fc6a"),o=n("06cf").f,s=n("83ab"),l=r((function(){o(1)})),u=!s||l;i({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},e538:function(e,t,n){var i=n("b622");t.f=i},e81d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},i=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 i}))},e893:function(e,t,n){var i=n("1a2d"),r=n("56ef"),a=n("06cf"),o=n("9bf2");e.exports=function(e,t){for(var n=r(t),s=o.f,l=a.f,u=0;u<n.length;u++){var c=n[u];i(e,c)||s(e,c,l(t,c))}}},e8b5:function(e,t,n){var i=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==i(e)}},e95a:function(e,t,n){var i=n("b622"),r=n("3f8c"),a=i("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[a]===e)}},ebe4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},ec18:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,i){var r={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?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[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";
//! moment.js locale configuration
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}))},eda5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},f260:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},f3ff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"",2:"੨",3:"੩",4:"",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:""},n={"":"1","੨":"2","੩":"3","":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","":"0"},i=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 i}))},f5df:function(e,t,n){var i=n("00ee"),r=n("1626"),a=n("c6b6"),o=n("b622"),s=o("toStringTag"),l="Arguments"==a(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(n){}};e.exports=i?a:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=Object(e),s))?n:l?a(t):"Object"==(i=a(t))&&r(t.callee)?"Arguments":i}},f6b4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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"],i=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],r=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],a=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],o=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:a,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 o}))},f772:function(e,t,n){var i=n("5692"),r=n("90e3"),a=i("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},facd:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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("_"),i=[/^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],r=/^(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,a=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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 a}))},fb15:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"init",(function(){return Bi})),n.d(r,"dispose",(function(){return Vi})),n.d(r,"disposeAll",(function(){return Gi})),n.d(r,"getInstance",(function(){return Wi})),n.d(r,"registerPainter",(function(){return Ui})),n.d(r,"getElementSSRData",(function(){return Xi})),n.d(r,"registerSSRDataGetter",(function(){return Zi})),n.d(r,"version",(function(){return qi}));var a={};n.r(a),n.d(a,"updateProps",(function(){return su})),n.d(a,"initProps",(function(){return lu})),n.d(a,"removeElement",(function(){return cu})),n.d(a,"removeElementWithFadeOut",(function(){return du})),n.d(a,"isElementRemoved",(function(){return uu})),n.d(a,"extendShape",(function(){return Og})),n.d(a,"extendPath",(function(){return Ig})),n.d(a,"registerShape",(function(){return Cg})),n.d(a,"getShapeClass",(function(){return Eg})),n.d(a,"makePath",(function(){return Pg})),n.d(a,"makeImage",(function(){return Ng})),n.d(a,"mergePath",(function(){return Yg})),n.d(a,"resizePath",(function(){return zg})),n.d(a,"subPixelOptimizeLine",(function(){return Hg})),n.d(a,"subPixelOptimizeRect",(function(){return jg})),n.d(a,"subPixelOptimize",(function(){return Fg})),n.d(a,"getTransform",(function(){return Bg})),n.d(a,"applyTransform",(function(){return Vg})),n.d(a,"transformDirection",(function(){return Gg})),n.d(a,"groupTransition",(function(){return Xg})),n.d(a,"clipPointsByRect",(function(){return Zg})),n.d(a,"clipRectByRect",(function(){return qg})),n.d(a,"createIcon",(function(){return $g})),n.d(a,"linePolygonIntersect",(function(){return Jg})),n.d(a,"lineLineIntersect",(function(){return Kg})),n.d(a,"setTooltipConfig",(function(){return ty})),n.d(a,"traverseElements",(function(){return iy})),n.d(a,"Group",(function(){return Ni})),n.d(a,"Image",(function(){return gs})),n.d(a,"Text",(function(){return Vs})),n.d(a,"Circle",(function(){return vm})),n.d(a,"Ellipse",(function(){return bm})),n.d(a,"Sector",(function(){return Hm})),n.d(a,"Ring",(function(){return Bm})),n.d(a,"Polygon",(function(){return Xm})),n.d(a,"Polyline",(function(){return $m})),n.d(a,"Rect",(function(){return Ts})),n.d(a,"Line",(function(){return eg})),n.d(a,"BezierCurve",(function(){return ag})),n.d(a,"Arc",(function(){return lg})),n.d(a,"IncrementalDisplayable",(function(){return Tg})),n.d(a,"CompoundPath",(function(){return cg})),n.d(a,"LinearGradient",(function(){return pg})),n.d(a,"RadialGradient",(function(){return gg})),n.d(a,"BoundingRect",(function(){return je})),n.d(a,"OrientedBoundingRect",(function(){return wg})),n.d(a,"Point",(function(){return ke})),n.d(a,"Path",(function(){return ls}));var o={};n.r(o),n.d(o,"createList",(function(){return SM})),n.d(o,"getLayoutRect",(function(){return ah})),n.d(o,"createDimensions",(function(){return Pb})),n.d(o,"dataStack",(function(){return TM})),n.d(o,"createSymbol",(function(){return Tv})),n.d(o,"createScale",(function(){return LM})),n.d(o,"mixinAxisModelCommonMethods",(function(){return DM})),n.d(o,"getECData",(function(){return Gs})),n.d(o,"enableHoverEmphasis",(function(){return Gl})),n.d(o,"createTextStyle",(function(){return AM}));var s={};n.r(s),n.d(s,"linearMap",(function(){return Qi})),n.d(s,"round",(function(){return tr})),n.d(s,"asc",(function(){return nr})),n.d(s,"getPrecision",(function(){return ir})),n.d(s,"getPrecisionSafe",(function(){return rr})),n.d(s,"getPixelPrecision",(function(){return ar})),n.d(s,"getPercentWithPrecision",(function(){return or})),n.d(s,"MAX_SAFE_INTEGER",(function(){return ur})),n.d(s,"remRadian",(function(){return cr})),n.d(s,"isRadianAroundZero",(function(){return hr})),n.d(s,"parseDate",(function(){return fr})),n.d(s,"quantity",(function(){return pr})),n.d(s,"quantityExponent",(function(){return mr})),n.d(s,"nice",(function(){return gr})),n.d(s,"quantile",(function(){return yr})),n.d(s,"reformIntervals",(function(){return vr})),n.d(s,"isNumeric",(function(){return xr})),n.d(s,"numericToNumber",(function(){return _r}));var l={};n.r(l),n.d(l,"extendShape",(function(){return Og})),n.d(l,"extendPath",(function(){return Ig})),n.d(l,"makePath",(function(){return Pg})),n.d(l,"makeImage",(function(){return Ng})),n.d(l,"mergePath",(function(){return Yg})),n.d(l,"resizePath",(function(){return zg})),n.d(l,"createIcon",(function(){return $g})),n.d(l,"updateProps",(function(){return su})),n.d(l,"initProps",(function(){return lu})),n.d(l,"getTransform",(function(){return Bg})),n.d(l,"clipPointsByRect",(function(){return Zg})),n.d(l,"clipRectByRect",(function(){return qg})),n.d(l,"registerShape",(function(){return Cg})),n.d(l,"getShapeClass",(function(){return Eg})),n.d(l,"Group",(function(){return Ni})),n.d(l,"Image",(function(){return gs})),n.d(l,"Text",(function(){return Vs})),n.d(l,"Circle",(function(){return vm})),n.d(l,"Ellipse",(function(){return bm})),n.d(l,"Sector",(function(){return Hm})),n.d(l,"Ring",(function(){return Bm})),n.d(l,"Polygon",(function(){return Xm})),n.d(l,"Polyline",(function(){return $m})),n.d(l,"Rect",(function(){return Ts})),n.d(l,"Line",(function(){return eg})),n.d(l,"BezierCurve",(function(){return ag})),n.d(l,"Arc",(function(){return lg})),n.d(l,"IncrementalDisplayable",(function(){return Tg})),n.d(l,"CompoundPath",(function(){return cg})),n.d(l,"LinearGradient",(function(){return pg})),n.d(l,"RadialGradient",(function(){return gg})),n.d(l,"BoundingRect",(function(){return je}));var u={};n.r(u),n.d(u,"addCommas",(function(){return jc})),n.d(u,"toCamelCase",(function(){return Fc})),n.d(u,"normalizeCssArray",(function(){return Bc})),n.d(u,"encodeHTML",(function(){return ie})),n.d(u,"formatTpl",(function(){return Uc})),n.d(u,"getTooltipMarker",(function(){return Zc})),n.d(u,"formatTime",(function(){return qc})),n.d(u,"capitalFirst",(function(){return $c})),n.d(u,"truncateText",(function(){return Ia})),n.d(u,"getTextRect",(function(){return ZM}));var c={};if(n.r(c),n.d(c,"map",(function(){return x["H"]})),n.d(c,"each",(function(){return x["k"]})),n.d(c,"indexOf",(function(){return x["r"]})),n.d(c,"inherits",(function(){return x["s"]})),n.d(c,"reduce",(function(){return x["N"]})),n.d(c,"filter",(function(){return x["n"]})),n.d(c,"bind",(function(){return x["c"]})),n.d(c,"curry",(function(){return x["h"]})),n.d(c,"isArray",(function(){return x["t"]})),n.d(c,"isString",(function(){return x["C"]})),n.d(c,"isObject",(function(){return x["A"]})),n.d(c,"isFunction",(function(){return x["w"]})),n.d(c,"extend",(function(){return x["m"]})),n.d(c,"defaults",(function(){return x["i"]})),n.d(c,"clone",(function(){return x["d"]})),n.d(c,"merge",(function(){return x["I"]})),"undefined"!==typeof window){var h=window.document.currentScript,d=n("8875");h=d(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:d});var f=h&&h.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);f&&(n.p=f[1])}n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("b0c0");
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var y=function(e,t){return y=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])},y(e,t)};function v(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}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;var _=n("22d1"),x=n("6d8b");function b(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function w(e,t){return e[0]=t[0],e[1]=t[1],e}function M(e){return[e[0],e[1]]}function S(e,t,n){return e[0]=t,e[1]=n,e}function T(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function L(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e}function D(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function A(e){return Math.sqrt(O(e))}function O(e){return e[0]*e[0]+e[1]*e[1]}function k(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function I(e,t){var n=A(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function C(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var E=C;function P(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var N=P;function R(e,t,n,i){return e[0]=t[0]+i*(n[0]-t[0]),e[1]=t[1]+i*(n[1]-t[1]),e}function Y(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[2]*r+n[4],e[1]=n[1]*i+n[3]*r+n[5],e}function z(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function H(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var j=function(){function e(e,t){this.target=e,this.topTarget=t&&t.topTarget}return e}(),F=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 j(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,i=e.offsetY,r=n-this._x,a=i-this._y;this._x=n,this._y=i,t.drift(r,a,e),this.handler.dispatchToElement(new j(t,e),"drag",e.event);var o=this.handler.findHover(n,i,t).target,s=this._dropTarget;this._dropTarget=o,t!==o&&(s&&o!==s&&this.handler.dispatchToElement(new j(s,e),"dragleave",e.event),o&&o!==s&&this.handler.dispatchToElement(new j(o,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new j(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new j(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),B=F,V=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof t&&(i=n,n=t,t=null),!n||!e)return this;var a=this._$eventProcessor;null!=t&&a&&a.normalizeQuery&&(t=a.normalizeQuery(t)),r[e]||(r[e]=[]);for(var o=0;o<r[e].length;o++)if(r[e][o].h===n)return this;var s={h:n,query:t,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[e].length-1,u=r[e][l];return u&&u.callAtLast?r[e].splice(l,0,s):r[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 i=[],r=0,a=n[e].length;r<a;r++)n[e][r].h!==t&&i.push(n[e][r]);n[e]=i}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 i=this._$handlers[e],r=this._$eventProcessor;if(i)for(var a=t.length,o=i.length,s=0;s<o;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(e,l.query))switch(a){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 r&&r.afterTrigger&&r.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 i=this._$handlers[e],r=this._$eventProcessor;if(i)for(var a=t.length,o=t[a-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(e,u.query))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,t[0]);break;case 2:u.h.call(o,t[0],t[1]);break;default:u.h.apply(o,t.slice(1,a-1));break}}return r&&r.afterTrigger&&r.afterTrigger(e),this},e}(),G=V,W=Math.log(2);function U(e,t,n,i,r,a){var o=i+"-"+r,s=e.length;if(a.hasOwnProperty(o))return a[o];if(1===t){var l=Math.round(Math.log((1<<s)-1&~r)/W);return e[n][l]}var u=i|1<<n,c=n+1;while(i&1<<c)c++;for(var h=0,d=0,f=0;d<s;d++){var p=1<<d;p&r||(h+=(f%2?-1:1)*e[n][d]*U(e,t-1,c,u,r|p,a),f++)}return a[o]=h,h}function X(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]]],i={},r=U(n,8,0,0,0,i);if(0!==r){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)null==a[s]&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*U(n,7,0===o?1:0,1<<o,1<<s,i)/r*t[o];return function(e,t,n){var i=t*a[6]+n*a[7]+1;e[0]=(t*a[0]+n*a[1]+a[2])/i,e[1]=(t*a[3]+n*a[4]+a[5])/i}}}var Z="___zrEVENTSAVED",q=[];function $(e,t,n,i,r){return J(q,t,i,r,!0)&&J(e,n,q[0],q[1])}function J(e,t,n,i,r){if(t.getBoundingClientRect&&_["a"].domSupported&&!ee(t)){var a=t[Z]||(t[Z]={}),o=K(t,a),s=Q(o,a,r);if(s)return s(e,n,i),!0}return!1}function K(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var i=["left","right"],r=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),e.appendChild(o),n.push(o)}return n}function Q(e,t,n){for(var i=n?"invTrans":"trans",r=t[i],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),h=2*u,d=c.left,f=c.top;o.push(d,f),l=l&&a&&d===a[h]&&f===a[h+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&r?r:(t.srcCoords=o,t[i]=n?X(s,o):X(o,s))}function ee(e){return"CANVAS"===e.nodeName.toUpperCase()}var te=/([&<>"'])/g,ne={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function ie(e){return null==e?"":(e+"").replace(te,(function(e,t){return ne[t]}))}var re=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ae=[],oe=_["a"].browser.firefox&&+_["a"].browser.version.split(".")[0]<39;function se(e,t,n,i){return n=n||{},i?le(e,t,n):oe&&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):le(e,t,n),n}function le(e,t,n){if(_["a"].domSupported&&e.getBoundingClientRect){var i=t.clientX,r=t.clientY;if(ee(e)){var a=e.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(J(ae,e,i,r))return n.zrX=ae[0],void(n.zrY=ae[1])}n.zrX=n.zrY=0}function ue(e){return e||window.event}function ce(e,t,n){if(t=ue(t),null!=t.zrX)return t;var i=t.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?t.targetTouches[0]:t.changedTouches[0];a&&se(e,a,t,n)}else{se(e,t,t,n);var o=he(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&re.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function he(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,i=e.deltaY;if(null==n||null==i)return t;var r=0!==i?Math.abs(i):Math.abs(n),a=i>0?-1:i<0?1:n>0?-1:1;return 3*r*a}function de(e,t,n,i){e.addEventListener(t,n,i)}function fe(e,t,n,i){e.removeEventListener(t,n,i)}var pe=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function me(e){return 2===e.which||3===e.which}var ge=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 i=e.touches;if(i){for(var r={points:[],touches:[],target:t,event:e},a=0,o=i.length;a<o;a++){var s=i[a],l=se(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},e.prototype._recognize=function(e){for(var t in _e)if(_e.hasOwnProperty(t)){var n=_e[t](this._track,e);if(n)return n}},e}();function ye(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function ve(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var _e={pinch:function(e,t){var n=e.length;if(n){var i=(e[n-1]||{}).points,r=(e[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var a=ye(i)/ye(r);!isFinite(a)&&(a=1),t.pinchScale=a;var o=ve(i);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function xe(){return[1,0,0,1,0,0]}function be(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function we(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 Me(e,t,n){var i=t[0]*n[0]+t[2]*n[1],r=t[1]*n[0]+t[3]*n[1],a=t[0]*n[2]+t[2]*n[3],o=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]=i,e[1]=r,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e}function Se(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 Te(e,t,n,i){void 0===i&&(i=[0,0]);var r=t[0],a=t[2],o=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),h=Math.cos(n);return e[0]=r*h+s*c,e[1]=-r*c+s*h,e[2]=a*h+l*c,e[3]=-a*c+h*l,e[4]=h*(o-i[0])+c*(u-i[1])+i[0],e[5]=h*(u-i[1])-c*(o-i[0])+i[1],e}function Le(e,t,n){var i=n[0],r=n[1];return e[0]=t[0]*i,e[1]=t[1]*r,e[2]=t[2]*i,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*r,e}function De(e,t){var n=t[0],i=t[2],r=t[4],a=t[1],o=t[3],s=t[5],l=n*o-a*i;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-i*l,e[3]=n*l,e[4]=(i*s-o*r)*l,e[5]=(a*r-n*s)*l,e):null}function Ae(e){var t=xe();return we(t,e),t}var Oe=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,i){e.x=t.x+n.x*i,e.y=t.y+n.y*i},e.lerp=function(e,t,n,i){var r=1-i;e.x=r*t.x+i*n.x,e.y=r*t.y+i*n.y},e}(),ke=Oe,Ie=Math.min,Ce=Math.max,Ee=new ke,Pe=new ke,Ne=new ke,Re=new ke,Ye=new ke,ze=new ke,He=function(){function e(e,t,n,i){n<0&&(e+=n,n=-n),i<0&&(t+=i,i=-i),this.x=e,this.y=t,this.width=n,this.height=i}return e.prototype.union=function(e){var t=Ie(e.x,this.x),n=Ie(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ce(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ce(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,i=e.height/t.height,r=xe();return Se(r,r,[-t.x,-t.y]),Le(r,r,[n,i]),Se(r,r,[e.x,e.y]),r},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var i=this,r=i.x,a=i.x+i.width,o=i.y,s=i.y+i.height,l=t.x,u=t.x+t.width,c=t.y,h=t.y+t.height,d=!(a<l||u<r||s<c||h<o);if(n){var f=1/0,p=0,m=Math.abs(a-l),g=Math.abs(u-r),y=Math.abs(s-c),v=Math.abs(h-o),_=Math.min(m,g),x=Math.min(y,v);a<l||u<r?_>p&&(p=_,m<g?ke.set(ze,-m,0):ke.set(ze,g,0)):_<f&&(f=_,m<g?ke.set(Ye,m,0):ke.set(Ye,-g,0)),s<c||h<o?x>p&&(p=x,y<v?ke.set(ze,0,-y):ke.set(ze,0,v)):_<f&&(f=_,y<v?ke.set(Ye,0,y):ke.set(Ye,0,-v))}return n&&ke.copy(n,d?Ye:ze),d},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,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],a=i[3],o=i[4],s=i[5];return t.x=n.x*r+o,t.y=n.y*a+s,t.width=n.width*r,t.height=n.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}Ee.x=Ne.x=n.x,Ee.y=Re.y=n.y,Pe.x=Re.x=n.x+n.width,Pe.y=Ne.y=n.y+n.height,Ee.transform(i),Re.transform(i),Pe.transform(i),Ne.transform(i),t.x=Ie(Ee.x,Pe.x,Ne.x,Re.x),t.y=Ie(Ee.y,Pe.y,Ne.y,Re.y);var l=Ce(Ee.x,Pe.x,Ne.x,Re.x),u=Ce(Ee.y,Pe.y,Ne.y,Re.y);t.width=l-t.x,t.height=u-t.y}else t!==n&&e.copy(t,n)},e}(),je=He,Fe="silent";function Be(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:Ve}}function Ve(){pe(this.event)}var Ge=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return v(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(G),We=function(){function e(e,t){this.x=e,this.y=t}return e}(),Ue=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Xe=new je(0,0,0,0),Ze=function(e){function t(t,n,i,r,a){var o=e.call(this)||this;return o._hovered=new We(0,0),o.storage=t,o.painter=n,o.painterRoot=r,o._pointerSize=a,i=i||new Ge,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new B(o),o}return v(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(x["k"](Ue,(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,i=Je(this,t,n),r=this._hovered,a=r.target;a&&!a.__zr&&(r=this.findHover(r.x,r.y),a=r.target);var o=this._hovered=i?new We(t,n):this.findHover(t,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",e),this.dispatchToElement(o,"mousemove",e),s&&s!==a&&this.dispatchToElement(o,"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 We(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 i=e.target;if(!i||!i.silent){var r="on"+t,a=Be(t,e,n);while(i)if(i[r]&&(a.cancelBubble=!!i[r].call(i,a)),i.trigger(t,a),i=i.__hostTarget?i.__hostTarget:i.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(t,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"===typeof e[r]&&e[r].call(e,a),e.trigger&&e.trigger(t,a)})))}},t.prototype.findHover=function(e,t,n){var i=this.storage.getDisplayList(),r=new We(e,t);if($e(i,r,e,t,n),this._pointerSize&&!r.target){for(var a=[],o=this._pointerSize,s=o/2,l=new je(e-s,t-s,o,o),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Xe.copy(c.getBoundingRect()),c.transform&&Xe.applyTransform(c.transform),Xe.intersect(l)&&a.push(c))}if(a.length)for(var h=4,d=Math.PI/12,f=2*Math.PI,p=0;p<s;p+=h)for(var m=0;m<f;m+=d){var g=e+p*Math.cos(m),y=t+p*Math.sin(m);if($e(a,r,g,y,n),r.target)return r}}return r},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new ge);var n=this._gestureMgr;"start"===t&&n.clear();var i=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),i){var r=i.type;e.gestureEvent=r;var a=new We;a.target=i.target,this.dispatchToElement(a,r,i.event)}},t}(G);function qe(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var i=e,r=void 0,a=!1;while(i){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(t,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||Fe}return!1}function $e(e,t,n,i,r){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==r&&!o.ignore&&(s=qe(o,n,i))&&(!t.topTarget&&(t.topTarget=o),s!==Fe)){t.target=o;break}}}function Je(e,t,n){var i=e.painter;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}x["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){Ze.prototype[e]=function(t){var n,i,r=t.zrX,a=t.zrY,o=Je(this,r,a);if("mouseup"===e&&o||(n=this.findHover(r,a),i=n.target),"mousedown"===e)this._downEl=i,this._downPoint=[t.zrX,t.zrY],this._upEl=i;else if("mouseup"===e)this._upEl=i;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||E(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));var Ke=Ze,Qe=32,et=7;function tt(e){var t=0;while(e>=Qe)t|=1&e,e>>=1;return e+t}function nt(e,t,n,i){var r=t+1;if(r===n)return 1;if(i(e[r++],e[t])<0){while(r<n&&i(e[r],e[r-1])<0)r++;it(e,t,r)}else while(r<n&&i(e[r],e[r-1])>=0)r++;return r-t}function it(e,t,n){n--;while(t<n){var i=e[t];e[t++]=e[n],e[n--]=i}}function rt(e,t,n,i,r){for(i===t&&i++;i<n;i++){var a,o=e[i],s=t,l=i;while(s<l)a=s+l>>>1,r(o,e[a])<0?l=a:s=a+1;var u=i-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]=o}}function at(e,t,n,i,r,a){var o=0,s=0,l=1;if(a(e,t[n+r])>0){s=i-r;while(l<s&&a(e,t[n+r+l])>0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{s=r+1;while(l<s&&a(e,t[n+r-l])<=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}o++;while(o<l){var c=o+(l-o>>>1);a(e,t[n+c])>0?o=c+1:l=c}return l}function ot(e,t,n,i,r,a){var o=0,s=0,l=1;if(a(e,t[n+r])<0){s=r+1;while(l<s&&a(e,t[n+r-l])<0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}else{s=i-r;while(l<s&&a(e,t[n+r+l])>=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}o++;while(o<l){var c=o+(l-o>>>1);a(e,t[n+c])<0?l=c:o=c+1}return l}function st(e,t){var n,i,r=et,a=0,o=[];function s(e,t){n[a]=e,i[a]=t,a+=1}function l(){while(a>1){var e=a-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]<i[e+1]&&e--;else if(i[e]>i[e+1])break;c(e)}}function u(){while(a>1){var e=a-2;e>0&&i[e-1]<i[e+1]&&e--,c(e)}}function c(r){var o=n[r],s=i[r],l=n[r+1],u=i[r+1];i[r]=s+u,r===a-3&&(n[r+1]=n[r+2],i[r+1]=i[r+2]),a--;var c=ot(e[l],e,o,s,0,t);o+=c,s-=c,0!==s&&(u=at(e[o+s-1],e,l,u,u-1,t),0!==u&&(s<=u?h(o,s,l,u):d(o,s,l,u)))}function h(n,i,a,s){var l=0;for(l=0;l<i;l++)o[l]=e[n+l];var u=0,c=a,h=n;if(e[h++]=e[c++],0!==--s)if(1!==i){var d,f,p,m=r;while(1){d=0,f=0,p=!1;do{if(t(e[c],o[u])<0){if(e[h++]=e[c++],f++,d=0,0===--s){p=!0;break}}else if(e[h++]=o[u++],d++,f=0,1===--i){p=!0;break}}while((d|f)<m);if(p)break;do{if(d=ot(e[c],o,u,i,0,t),0!==d){for(l=0;l<d;l++)e[h+l]=o[u+l];if(h+=d,u+=d,i-=d,i<=1){p=!0;break}}if(e[h++]=e[c++],0===--s){p=!0;break}if(f=at(o[u],e,c,s,0,t),0!==f){for(l=0;l<f;l++)e[h+l]=e[c+l];if(h+=f,c+=f,s-=f,0===s){p=!0;break}}if(e[h++]=o[u++],1===--i){p=!0;break}m--}while(d>=et||f>=et);if(p)break;m<0&&(m=0),m+=2}if(r=m,r<1&&(r=1),1===i){for(l=0;l<s;l++)e[h+l]=e[c+l];e[h+s]=o[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)e[h+l]=o[u+l]}}else{for(l=0;l<s;l++)e[h+l]=e[c+l];e[h+s]=o[u]}else for(l=0;l<i;l++)e[h+l]=o[u+l]}function d(n,i,a,s){var l=0;for(l=0;l<s;l++)o[l]=e[a+l];var u=n+i-1,c=s-1,h=a+s-1,d=0,f=0;if(e[h--]=e[u--],0!==--i)if(1!==s){var p=r;while(1){var m=0,g=0,y=!1;do{if(t(o[c],e[u])<0){if(e[h--]=e[u--],m++,g=0,0===--i){y=!0;break}}else if(e[h--]=o[c--],g++,m=0,1===--s){y=!0;break}}while((m|g)<p);if(y)break;do{if(m=i-ot(o[c],e,n,i,i-1,t),0!==m){for(h-=m,u-=m,i-=m,f=h+1,d=u+1,l=m-1;l>=0;l--)e[f+l]=e[d+l];if(0===i){y=!0;break}}if(e[h--]=o[c--],1===--s){y=!0;break}if(g=s-at(e[u],o,0,s,s-1,t),0!==g){for(h-=g,c-=g,s-=g,f=h+1,d=c+1,l=0;l<g;l++)e[f+l]=o[d+l];if(s<=1){y=!0;break}}if(e[h--]=e[u--],0===--i){y=!0;break}p--}while(m>=et||g>=et);if(y)break;p<0&&(p=0),p+=2}if(r=p,r<1&&(r=1),1===s){for(h-=i,u-=i,f=h+1,d=u+1,l=i-1;l>=0;l--)e[f+l]=e[d+l];e[h]=o[c]}else{if(0===s)throw new Error;for(d=h-(s-1),l=0;l<s;l++)e[d+l]=o[l]}}else{for(h-=i,u-=i,f=h+1,d=u+1,l=i-1;l>=0;l--)e[f+l]=e[d+l];e[h]=o[c]}else for(d=h-(s-1),l=0;l<s;l++)e[d+l]=o[l]}return n=[],i=[],{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function lt(e,t,n,i){n||(n=0),i||(i=e.length);var r=i-n;if(!(r<2)){var a=0;if(r<Qe)return a=nt(e,n,i,t),void rt(e,n,i,n+a,t);var o=st(e,t),s=tt(r);do{if(a=nt(e,n,i,t),a<s){var l=r;l>s&&(l=s),rt(e,n,n+l,n+a,t),a=l}o.pushRun(n,a),o.mergeRuns(),r-=a,n+=a}while(0!==r);o.forceMergeRuns()}}var ut=1,ct=2,ht=4,dt=!1;function ft(){dt||(dt=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function pt(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var mt,gt=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=pt}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,i=0,r=t.length;i<r;i++)this._updateAndAddDisplayable(t[i],null,e);n.length=this._displayListLen,lt(n,pt)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var i=e.getClipPath();if(e.ignoreClip)t=null;else if(i){t=t?t.slice():[];var r=i,a=e;while(r)r.parent=a,r.updateTransform(),t.push(r),a=r,r=r.getClipPath()}if(e.childrenRef){for(var o=e.childrenRef(),s=0;s<o.length;s++){var l=o[s];e.__dirty&&(l.__dirty|=ut),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)&&(ft(),u.z=0),isNaN(u.z2)&&(ft(),u.z2=0),isNaN(u.zlevel)&&(ft(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,t,n);var h=e.getTextGuideLine();h&&this._updateAndAddDisplayable(h,t,n);var d=e.getTextContent();d&&this._updateAndAddDisplayable(d,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 i=x["r"](this._roots,e);i>=0&&this._roots.splice(i,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}(),yt=gt;mt=_["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 vt=mt,_t={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,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i))},elasticOut:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},elasticInOut:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.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-_t.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*_t.bounceIn(2*e):.5*_t.bounceOut(2*e-1)+.5}},xt=_t,bt=Math.pow,wt=Math.sqrt,Mt=1e-8,St=1e-4,Tt=wt(3),Lt=1/3,Dt=b(),At=b(),Ot=b();function kt(e){return e>-Mt&&e<Mt}function It(e){return e>Mt||e<-Mt}function Ct(e,t,n,i,r){var a=1-r;return a*a*(a*e+3*r*t)+r*r*(r*i+3*a*n)}function Et(e,t,n,i,r){var a=1-r;return 3*(((t-e)*a+2*(n-t)*r)*a+(i-n)*r*r)}function Pt(e,t,n,i,r,a){var o=i+3*(t-n)-e,s=3*(n-2*t+e),l=3*(t-e),u=e-r,c=s*s-3*o*l,h=s*l-9*o*u,d=l*l-3*s*u,f=0;if(kt(c)&&kt(h))if(kt(s))a[0]=0;else{var p=-l/s;p>=0&&p<=1&&(a[f++]=p)}else{var m=h*h-4*c*d;if(kt(m)){var g=h/c,y=(p=-s/o+g,-g/2);p>=0&&p<=1&&(a[f++]=p),y>=0&&y<=1&&(a[f++]=y)}else if(m>0){var v=wt(m),_=c*s+1.5*o*(-h+v),x=c*s+1.5*o*(-h-v);_=_<0?-bt(-_,Lt):bt(_,Lt),x=x<0?-bt(-x,Lt):bt(x,Lt);p=(-s-(_+x))/(3*o);p>=0&&p<=1&&(a[f++]=p)}else{var b=(2*c*s-3*o*h)/(2*wt(c*c*c)),w=Math.acos(b)/3,M=wt(c),S=Math.cos(w),T=(p=(-s-2*M*S)/(3*o),y=(-s+M*(S+Tt*Math.sin(w)))/(3*o),(-s+M*(S-Tt*Math.sin(w)))/(3*o));p>=0&&p<=1&&(a[f++]=p),y>=0&&y<=1&&(a[f++]=y),T>=0&&T<=1&&(a[f++]=T)}}return f}function Nt(e,t,n,i,r){var a=6*n-12*t+6*e,o=9*t+3*i-3*e-9*n,s=3*t-3*e,l=0;if(kt(o)){if(It(a)){var u=-s/a;u>=0&&u<=1&&(r[l++]=u)}}else{var c=a*a-4*o*s;if(kt(c))r[0]=-a/(2*o);else if(c>0){var h=wt(c),d=(u=(-a+h)/(2*o),(-a-h)/(2*o));u>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function Rt(e,t,n,i,r,a){var o=(t-e)*r+e,s=(n-t)*r+t,l=(i-n)*r+n,u=(s-o)*r+o,c=(l-s)*r+s,h=(c-u)*r+u;a[0]=e,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=i}function Yt(e,t,n,i,r,a,o,s,l,u,c){var h,d,f,p,m,g=.005,y=1/0;Dt[0]=l,Dt[1]=u;for(var v=0;v<1;v+=.05)At[0]=Ct(e,n,r,o,v),At[1]=Ct(t,i,a,s,v),p=N(Dt,At),p<y&&(h=v,y=p);y=1/0;for(var _=0;_<32;_++){if(g<St)break;d=h-g,f=h+g,At[0]=Ct(e,n,r,o,d),At[1]=Ct(t,i,a,s,d),p=N(At,Dt),d>=0&&p<y?(h=d,y=p):(Ot[0]=Ct(e,n,r,o,f),Ot[1]=Ct(t,i,a,s,f),m=N(Ot,Dt),f<=1&&m<y?(h=f,y=m):g*=.5)}return c&&(c[0]=Ct(e,n,r,o,h),c[1]=Ct(t,i,a,s,h)),wt(y)}function zt(e,t,n,i,r,a,o,s,l){for(var u=e,c=t,h=0,d=1/l,f=1;f<=l;f++){var p=f*d,m=Ct(e,n,r,o,p),g=Ct(t,i,a,s,p),y=m-u,v=g-c;h+=Math.sqrt(y*y+v*v),u=m,c=g}return h}function Ht(e,t,n,i){var r=1-i;return r*(r*e+2*i*t)+i*i*n}function jt(e,t,n,i){return 2*((1-i)*(t-e)+i*(n-t))}function Ft(e,t,n,i,r){var a=e-2*t+n,o=2*(t-e),s=e-i,l=0;if(kt(a)){if(It(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var c=o*o-4*a*s;if(kt(c)){u=-o/(2*a);u>=0&&u<=1&&(r[l++]=u)}else if(c>0){var h=wt(c),d=(u=(-o+h)/(2*a),(-o-h)/(2*a));u>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function Bt(e,t,n){var i=e+n-2*t;return 0===i?.5:(e-t)/i}function Vt(e,t,n,i,r){var a=(t-e)*i+e,o=(n-t)*i+t,s=(o-a)*i+a;r[0]=e,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function Gt(e,t,n,i,r,a,o,s,l){var u,c=.005,h=1/0;Dt[0]=o,Dt[1]=s;for(var d=0;d<1;d+=.05){At[0]=Ht(e,n,r,d),At[1]=Ht(t,i,a,d);var f=N(Dt,At);f<h&&(u=d,h=f)}h=1/0;for(var p=0;p<32;p++){if(c<St)break;var m=u-c,g=u+c;At[0]=Ht(e,n,r,m),At[1]=Ht(t,i,a,m);f=N(At,Dt);if(m>=0&&f<h)u=m,h=f;else{Ot[0]=Ht(e,n,r,g),Ot[1]=Ht(t,i,a,g);var y=N(Ot,Dt);g<=1&&y<h?(u=g,h=y):c*=.5}}return l&&(l[0]=Ht(e,n,r,u),l[1]=Ht(t,i,a,u)),wt(h)}function Wt(e,t,n,i,r,a,o){for(var s=e,l=t,u=0,c=1/o,h=1;h<=o;h++){var d=h*c,f=Ht(e,n,r,d),p=Ht(t,i,a,d),m=f-s,g=p-l;u+=Math.sqrt(m*m+g*g),s=f,l=p}return u}var Ut=/cubic-bezier\(([0-9,\.e ]+)\)/;function Xt(e){var t=e&&Ut.exec(e);if(t){var n=t[1].split(","),i=+Object(x["T"])(n[0]),r=+Object(x["T"])(n[1]),a=+Object(x["T"])(n[2]),o=+Object(x["T"])(n[3]);if(isNaN(i+r+a+o))return;var s=[];return function(e){return e<=0?0:e>=1?1:Pt(0,i,a,1,e,s)&&Ct(0,r,o,1,s[0])}}}var Zt=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||x["L"],this.ondestroy=e.ondestroy||x["L"],this.onrestart=e.onrestart||x["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,i=e-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var a=this.easingFunc,o=a?a(r):r;if(this.onframe(o),1===r){if(!this.loop)return!0;var s=i%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(x["w"])(e)?e:xt[e]||Xt(e)},e}(),qt=Zt,$t=n("41ef"),Jt=n("7a29"),Kt=Array.prototype.slice;function Qt(e,t,n){return(t-e)*n+e}function en(e,t,n,i){for(var r=t.length,a=0;a<r;a++)e[a]=Qt(t[a],n[a],i);return e}function tn(e,t,n,i){for(var r=t.length,a=r&&t[0].length,o=0;o<r;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=Qt(t[o][s],n[o][s],i)}return e}function nn(e,t,n,i){for(var r=t.length,a=0;a<r;a++)e[a]=t[a]+n[a]*i;return e}function rn(e,t,n,i){for(var r=t.length,a=r&&t[0].length,o=0;o<r;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=t[o][s]+n[o][s]*i}return e}function an(e,t){for(var n=e.length,i=t.length,r=n>i?t:e,a=Math.min(n,i),o=r[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(n,i);s++)r.push({offset:o.offset,color:o.color.slice()})}function on(e,t,n){var i=e,r=t;if(i.push&&r.push){var a=i.length,o=r.length;if(a!==o){var s=a>o;if(s)i.length=o;else for(var l=a;l<o;l++)i.push(1===n?r[l]:Kt.call(r[l]))}var u=i[0]&&i[0].length;for(l=0;l<i.length;l++)if(1===n)isNaN(i[l])&&(i[l]=r[l]);else for(var c=0;c<u;c++)isNaN(i[l][c])&&(i[l][c]=r[l][c])}}function sn(e){if(Object(x["u"])(e)){var t=e.length;if(Object(x["u"])(e[0])){for(var n=[],i=0;i<t;i++)n.push(Kt.call(e[i]));return n}return Kt.call(e)}return e}function ln(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 un(e){return Object(x["u"])(e&&e[0])?2:1}var cn=0,hn=1,dn=2,fn=3,pn=4,mn=5,gn=6;function yn(e){return e===pn||e===mn}function vn(e){return e===hn||e===dn}var _n=[0,0,0,0],xn=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 i=this.keyframes,r=i.length,a=!1,o=gn,s=t;if(Object(x["u"])(t)){var l=un(t);o=l,(1===l&&!Object(x["z"])(t[0])||2===l&&!Object(x["z"])(t[0][0]))&&(a=!0)}else if(Object(x["z"])(t)&&!Object(x["l"])(t))o=cn;else if(Object(x["C"])(t))if(isNaN(+t)){var u=$t["parse"](t);u&&(s=u,o=fn)}else o=cn;else if(Object(x["x"])(t)){var c=Object(x["m"])({},s);c.colorStops=Object(x["H"])(t.colorStops,(function(e){return{offset:e.offset,color:$t["parse"](e.color)}})),Object(Jt["m"])(t)?o=pn:Object(Jt["o"])(t)&&(o=mn),s=c}0===r?this.valType=o:o===this.valType&&o!==gn||(a=!0),this.discrete=this.discrete||a;var h={time:e,value:s,rawValue:t,percent:0};return n&&(h.easing=n,h.easingFunc=Object(x["w"])(n)?n:xt[n]||Xt(n)),i.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 i=this.valType,r=n.length,a=n[r-1],o=this.discrete,s=vn(i),l=yn(i),u=0;u<r;u++){var c=n[u],h=c.value,d=a.value;c.percent=c.time/e,o||(s&&u!==r-1?on(h,d,i):l&&an(h.colorStops,d.colorStops))}if(!o&&i!==mn&&t&&this.needsAnimate()&&t.needsAnimate()&&i===t.valType&&!t._finished){this._additiveTrack=t;var f=n[0].value;for(u=0;u<r;u++)i===cn?n[u].additiveValue=n[u].value-f:i===fn?n[u].additiveValue=nn([],n[u].value,f,-1):vn(i)&&(n[u].additiveValue=i===hn?nn([],n[u].value,f,-1):rn([],n[u].value,f,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,a=null!=this._additiveTrack,o=a?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,h=s===fn,d=this._lastFr,f=Math.min;if(1===u)i=r=l[0];else{if(t<0)n=0;else if(t<this._lastFrP){var p=f(d+1,u-1);for(n=p;n>=0;n--)if(l[n].percent<=t)break;n=f(n,u-2)}else{for(n=d;n<u;n++)if(l[n].percent>t)break;n=f(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=t;var m=r.percent-i.percent,g=0===m?1:f((t-i.percent)/m,1);r.easingFunc&&(g=r.easingFunc(g));var y=a?this._additiveValue:h?_n:e[c];if(!vn(s)&&!h||y||(y=this._additiveValue=[]),this.discrete)e[c]=g<1?i.rawValue:r.rawValue;else if(vn(s))s===hn?en(y,i[o],r[o],g):tn(y,i[o],r[o],g);else if(yn(s)){var v=i[o],_=r[o],b=s===pn;e[c]={type:b?"linear":"radial",x:Qt(v.x,_.x,g),y:Qt(v.y,_.y,g),colorStops:Object(x["H"])(v.colorStops,(function(e,t){var n=_.colorStops[t];return{offset:Qt(e.offset,n.offset,g),color:ln(en([],e.color,n.color,g))}})),global:_.global},b?(e[c].x2=Qt(v.x2,_.x2,g),e[c].y2=Qt(v.y2,_.y2,g)):e[c].r=Qt(v.r,_.r,g)}else if(h)en(y,i[o],r[o],g),a||(e[c]=ln(y));else{var w=Qt(i[o],r[o],g);a?this._additiveValue=w:e[c]=w}a&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,i=this._additiveValue;t===cn?e[n]=e[n]+i:t===fn?($t["parse"](e[n],_n),nn(_n,_n,i,1),e[n]=ln(_n)):t===hn?nn(e[n],e[n],i,1):t===dn&&rn(e[n],e[n],i,1)},e}(),bn=function(){function e(e,t,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&i?Object(x["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=i,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(x["F"])(t),n)},e.prototype.whenWithKeys=function(e,t,n,i){for(var r=this._tracks,a=0;a<n.length;a++){var o=n[a],s=r[o];if(!s){s=r[o]=new xn(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,u.valType===fn&&l&&(l=ln(l))}else l=this._target[o];if(null==l)continue;e>0&&s.addKeyframe(0,sn(l),i),this._trackKeys.push(o)}s.addKeyframe(e,sn(t[o]),i)}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 i=0;i<n.length;i++){var r=n[i].getTrack(e);r&&(t=r)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var a=this._trackKeys[r],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(i,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var c=l[u-1];c&&(t._target[o.propName]=c.rawValue),o.setFinished()}else n.push(o)}if(n.length||this._force){var h=new qt({life:i,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var i=t._additiveAnimators;if(i){for(var r=!1,a=0;a<i.length;a++)if(i[a]._clip){r=!0;break}r||(t._additiveAnimators=null)}for(a=0;a<n.length;a++)n[a].step(t._target,e);var o=t._onframeCbs;if(o)for(a=0;a<o.length;a++)o[a](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),e&&h.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(x["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,i=this._trackKeys,r=0;r<e.length;r++){var a=n[e[r]];a&&!a.isFinished()&&(t?a.step(this._target,1):1===this._started&&a.step(this._target,0),a.setFinished())}var o=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var i=0;i<t.length;i++){var r=t[i],a=this._tracks[r];if(a&&!a.isFinished()){var o=a.keyframes,s=o[n?0:o.length-1];s&&(e[r]=sn(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||Object(x["F"])(e);for(var n=0;n<t.length;n++){var i=t[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var o=a.pop();r.addKeyframe(o.time,e[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},e}(),wn=bn;function Mn(){return(new Date).getTime()}var Sn=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 v(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=Mn()-this._pausedTime,n=t-this._time,i=this._head;while(i){var r=i.next,a=i.step(t,n);a?(i.ondestroy(),this.removeClip(i),i=r):i=r}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&&(vt(t),!e._paused&&e.update())}this._running=!0,vt(t)},t.prototype.start=function(){this._running||(this._time=Mn(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Mn(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Mn()-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 wn(e,t.loop);return this.addAnimator(n),n},t}(G),Tn=Sn,Ln=300,Dn=_["a"].domSupported,An=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},i=x["H"](e,(function(e){var t=e.replace("mouse","pointer");return n.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:i}}(),On={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},kn=!1;function In(e){var t=e.pointerType;return"pen"===t||"touch"===t}function Cn(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 En(e){e&&(e.zrByTouch=!0)}function Pn(e,t){return ce(e.dom,new Rn(e,t),!0)}function Nn(e,t){var n=t,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==t&&n===e.painterRoot))n=n.parentNode;return i}var Rn=function(){function e(e,t){this.stopPropagation=x["L"],this.stopImmediatePropagation=x["L"],this.preventDefault=x["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}(),Yn={mousedown:function(e){e=ce(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=ce(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=ce(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=ce(this.dom,e);var t=e.toElement||e.relatedTarget;Nn(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){kn=!0,e=ce(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){kn||(e=ce(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=ce(this.dom,e),En(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Yn.mousemove.call(this,e),Yn.mousedown.call(this,e)},touchmove:function(e){e=ce(this.dom,e),En(e),this.handler.processGesture(e,"change"),Yn.mousemove.call(this,e)},touchend:function(e){e=ce(this.dom,e),En(e),this.handler.processGesture(e,"end"),Yn.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<Ln&&Yn.click.call(this,e)},pointerdown:function(e){Yn.mousedown.call(this,e)},pointermove:function(e){In(e)||Yn.mousemove.call(this,e)},pointerup:function(e){Yn.mouseup.call(this,e)},pointerout:function(e){In(e)||Yn.mouseout.call(this,e)}};x["k"](["click","dblclick","contextmenu"],(function(e){Yn[e]=function(t){t=ce(this.dom,t),this.trigger(e,t)}}));var zn={pointermove:function(e){In(e)||zn.mousemove.call(this,e)},pointerup:function(e){zn.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 Hn(e,t){var n=t.domHandlers;_["a"].pointerEventsSupported?x["k"](An.pointer,(function(i){Fn(t,i,(function(t){n[i].call(e,t)}))})):(_["a"].touchEventsSupported&&x["k"](An.touch,(function(i){Fn(t,i,(function(r){n[i].call(e,r),Cn(t)}))})),x["k"](An.mouse,(function(i){Fn(t,i,(function(r){r=ue(r),t.touching||n[i].call(e,r)}))})))}function jn(e,t){function n(n){function i(i){i=ue(i),Nn(e,i.target)||(i=Pn(e,i),t.domHandlers[n].call(e,i))}Fn(t,n,i,{capture:!0})}_["a"].pointerEventsSupported?x["k"](On.pointer,n):_["a"].touchEventsSupported||x["k"](On.mouse,n)}function Fn(e,t,n,i){e.mounted[t]=n,e.listenerOpts[t]=i,de(e.domTarget,t,n,i)}function Bn(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&fe(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var Vn=function(){function e(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return e}(),Gn=function(e){function t(t,n){var i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=t,i.painterRoot=n,i._localHandlerScope=new Vn(t,Yn),Dn&&(i._globalHandlerScope=new Vn(document,zn)),Hn(i,i._localHandlerScope),i}return v(t,e),t.prototype.dispose=function(){Bn(this._localHandlerScope),Dn&&Bn(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,Dn&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?jn(this,t):Bn(t)}},t}(G),Wn=Gn,Un=1;_["a"].hasGlobalWindow&&(Un=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Xn=Un,Zn=.4,qn="#333",$n="#ccc",Jn="#eee",Kn=be,Qn=5e-5;function ei(e){return e>Qn||e<-Qn}var ti=[],ni=[],ii=xe(),ri=Math.abs,ai=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 ei(this.rotation)||ei(this.x)||ei(this.y)||ei(this.scaleX-1)||ei(this.scaleY-1)||ei(this.skewX)||ei(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||xe(),t?this.getLocalTransform(n):Kn(n),e&&(t?Me(n,e,n):we(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(Kn(n),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(ti);var n=ti[0]<0?-1:1,i=ti[1]<0?-1:1,r=((ti[0]-n)*t+n)/ti[0]||0,a=((ti[1]-i)*t+i)/ti[1]||0;e[0]*=r,e[1]*=r,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||xe(),De(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],i=Math.atan2(e[1],e[0]),r=Math.PI/2+i-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(r),t=Math.sqrt(t),this.skewX=r,this.skewY=0,this.rotation=-i,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||xe(),Me(ni,e.invTransform,t),t=ni);var n=this.originX,i=this.originY;(n||i)&&(ii[4]=n,ii[5]=i,Me(ni,t,ii),ni[4]-=n,ni[5]-=i,t=ni),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],i=this.invTransform;return i&&Y(n,n,i),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],i=this.transform;return i&&Y(n,n,i),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&ri(e[0]-1)>1e-10&&ri(e[3]-1)>1e-10?Math.sqrt(ri(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){si(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,i=e.originY||0,r=e.scaleX,a=e.scaleY,o=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,c=e.y,h=e.skewX?Math.tan(e.skewX):0,d=e.skewY?Math.tan(-e.skewY):0;if(n||i||o||s){var f=n+o,p=i+s;t[4]=-f*r-h*p*a,t[5]=-p*a-d*f*r}else t[4]=t[5]=0;return t[0]=r,t[3]=a,t[1]=d*r,t[2]=h*a,l&&Te(t,t,l),t[4]+=n+u,t[5]+=i+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}(),oi=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function si(e,t){for(var n=0;n<oi.length;n++){var i=oi[n];e[i]=t[i]}}var li=ai,ui=n("d51b"),ci=n("726e"),hi={};function di(e,t){t=t||ci["a"];var n=hi[t];n||(n=hi[t]=new ui["a"](500));var i=n.get(e);return null==i&&(i=ci["d"].measureText(e,t).width,n.put(e,i)),i}function fi(e,t,n,i){var r=di(e,t),a=yi(t),o=mi(0,r,n),s=gi(0,a,i),l=new je(o,s,r,a);return l}function pi(e,t,n,i){var r=((e||"")+"").split("\n"),a=r.length;if(1===a)return fi(r[0],t,n,i);for(var o=new je(0,0,0,0),s=0;s<r.length;s++){var l=fi(r[s],t,n,i);0===s?o.copy(l):o.union(l)}return o}function mi(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function gi(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function yi(e){return di("国",e)}function vi(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function _i(e,t,n){var i=t.position||"inside",r=null!=t.distance?t.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=vi(i[0],n.width),u+=vi(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+o,u+=s,h="middle";break;case"top":l+=o/2,u-=r,c="center",h="bottom";break;case"bottom":l+=o/2,u+=a+r,c="center";break;case"inside":l+=o/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=o-r,u+=s,c="right",h="middle";break;case"insideTop":l+=o/2,u+=r,c="center";break;case"insideBottom":l+=o/2,u+=a-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=o-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=a-r,h="bottom";break;case"insideBottomRight":l+=o-r,u+=a-r,c="right",h="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=h,e}var xi="__zr_normal__",bi=oi.concat(["ignore"]),wi=Object(x["N"])(oi,(function(e,t){return e[t]=!0,e}),{ignore:!1}),Mi={},Si=new je(0,0,0,0),Ti=function(){function e(e){this.id=Object(x["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 i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=e,i[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,i=n.local,r=t.innerTransformable,a=void 0,o=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(t),null!=n.position){var u=Si;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Mi,n,u):_i(Mi,n,u),r.x=Mi.x,r.y=Mi.y,a=Mi.align,o=Mi.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var h=void 0,d=void 0;"center"===c?(h=.5*u.width,d=.5*u.height):(h=vi(c[0],u.width),d=vi(c[1],u.height)),l=!0,r.originX=-r.x+h+(i?0:u.x),r.originY=-r.y+d+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],l||(r.originX=-f[0],r.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,y=void 0,v=void 0;p&&this.canBeInsideText()?(g=n.insideFill,y=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(g),v=!0)):(g=n.outsideFill,y=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(g),v=!0)),g=g||"#000",g===m.fill&&y===m.stroke&&v===m.autoStroke&&a===m.align&&o===m.verticalAlign||(s=!0,m.fill=g,m.stroke=y,m.autoStroke=v,m.align=a,m.verticalAlign=o,t.setDefaultTextStyle(m)),t.__dirty|=ut,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()?$n:qn},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof t&&Object($t["parse"])(t);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),a=0;a<3;a++)n[a]=n[a]*i+(r?0:255)*(1-i);return n[3]=1,Object($t["stringify"])(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(x["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(x["A"])(e))for(var n=e,i=Object(x["F"])(n),r=0;r<i.length;r++){var a=i[r];this.attrKV(a,e[a])}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 i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==xi)){var a=i.targetName,o=a?t[a]:t;i.saveTo(o)}}},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,bi)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var i=0;i<n.length;i++){var r=n[i];null==e[r]||r in t||(t[r]=this[r])}},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(xi,!1,e)},e.prototype.useState=function(e,t,n,i){var r=e===xi,a=this.hasState();if(a||!r){var o=this.currentStates,s=this.stateTransition;if(!(Object(x["r"])(o,e)>=0)||!t&&1!==o.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),l||r){r||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,this._normalState,t,!n&&!this.__inHover&&s&&s.duration>0,s);var c=this._textContent,h=this._textGuide;return c&&c.useState(e,t,n,u),h&&h.useState(e,t,n,u),r?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ut),l}Object(x["G"])("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var i=[],r=this.currentStates,a=e.length,o=a===r.length;if(o)for(var s=0;s<a;s++)if(e[s]!==r[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&i.push(u)}var c=i[a-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(e.join(","),d,this._normalState,!1,!t&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,m=this._textGuide;p&&p.useStates(e,t,h),m&&m.useStates(e,t,h),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ut)}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(x["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 i=this.currentStates.slice(),r=Object(x["r"])(i,e),a=Object(x["r"])(i,t)>=0;r>=0?a?i.splice(r,1):i[r]=t:n&&!a&&i.push(t),this.useStates(i)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},i=0;i<e.length;i++){var r=e[i];Object(x["m"])(n,r),r.textConfig&&(t=t||{},Object(x["m"])(t,r.textConfig))}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,i,r,a){var o=!(t&&i);t&&t.textConfig?(this.textConfig=Object(x["m"])({},i?this.textConfig:n.textConfig),Object(x["m"])(this.textConfig,t.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<bi.length;u++){var c=bi[u],h=r&&wi[c];t&&null!=t[c]?h?(l=!0,s[c]=t[c]):this[c]=t[c]:o&&null!=n[c]&&(h?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(u=0;u<this.animators.length;u++){var d=this.animators[u],f=d.targetName;d.getLoop()||d.__changeFinalValue(f?(t||n)[f]:t||n)}l&&this._transitionState(e,s,a)},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 li,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Object(x["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|=ut;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 i=e?this[e]:this;var r=new wn(i,t,n);return e&&(r.targetName=e),this.addAnimator(r,e),r},e.prototype.addAnimator=function(e,t){var n=this.__zr,i=this;e.during((function(){i.updateDuringAnimation(t)})).done((function(){var t=i.animators,n=Object(x["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,i=n.length,r=[],a=0;a<i;a++){var o=n[a];e&&e!==o.scope?r.push(o):o.stop(t)}return this.animators=r,this},e.prototype.animateTo=function(e,t,n){Li(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){Li(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,i){for(var r=Li(this,t,n,i),a=0;a<r.length;a++)r[a].__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=ut;function n(e,n,i,r){function a(e,t){Object.defineProperty(t,0,{get:function(){return e[i]},set:function(t){e[i]=t}}),Object.defineProperty(t,1,{get:function(){return e[r]},set:function(t){e[r]=t}})}Object.defineProperty(t,e,{get:function(){if(!this[n]){var e=this[n]=[];a(this,e)}return this[n]},set:function(e){this[i]=e[0],this[r]=e[1],this[n]=e,a(this,e)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function Li(e,t,n,i,r){n=n||{};var a=[];Ci(e,"",e,t,n,i,a,r);var o=a.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},h=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&n.during&&a[0].during((function(e,t){n.during(t)}));for(var d=0;d<a.length;d++){var f=a[d];c&&f.done(c),h&&f.aborted(h),n.force&&f.duration(n.duration),f.start(n.easing)}return a}function Di(e,t,n){for(var i=0;i<n;i++)e[i]=t[i]}function Ai(e){return Object(x["u"])(e[0])}function Oi(e,t,n){if(Object(x["u"])(t[n]))if(Object(x["u"])(e[n])||(e[n]=[]),Object(x["E"])(t[n])){var i=t[n].length;e[n].length!==i&&(e[n]=new t[n].constructor(i),Di(e[n],t[n],i))}else{var r=t[n],a=e[n],o=r.length;if(Ai(r))for(var s=r[0].length,l=0;l<o;l++)a[l]?Di(a[l],r[l],s):a[l]=Array.prototype.slice.call(r[l]);else Di(a,r,o);a.length=r.length}else e[n]=t[n]}function ki(e,t){return e===t||Object(x["u"])(e)&&Object(x["u"])(t)&&Ii(e,t)}function Ii(e,t){var n=e.length;if(n!==t.length)return!1;for(var i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function Ci(e,t,n,i,r,a,o,s){for(var l=Object(x["F"])(i),u=r.duration,c=r.delay,h=r.additive,d=r.setToFinal,f=!Object(x["A"])(a),p=e.animators,m=[],g=0;g<l.length;g++){var y=l[g],v=i[y];if(null!=v&&null!=n[y]&&(f||a[y]))if(!Object(x["A"])(v)||Object(x["u"])(v)||Object(x["x"])(v))m.push(y);else{if(t){s||(n[y]=v,e.updateDuringAnimation(t));continue}Ci(e,y,n[y],v,r,a&&a[y],o,s)}else s||(n[y]=v,e.updateDuringAnimation(t),m.push(y))}var _=m.length;if(!h&&_)for(var b=0;b<p.length;b++){var w=p[b];if(w.targetName===t){var M=w.stopTracks(m);if(M){var S=Object(x["r"])(p,w);p.splice(S,1)}}}if(r.force||(m=Object(x["n"])(m,(function(e){return!ki(i[e],n[e])})),_=m.length),_>0||r.force&&!o.length){var T=void 0,L=void 0,D=void 0;if(s){L={},d&&(T={});for(b=0;b<_;b++){y=m[b];L[y]=n[y],d?T[y]=i[y]:n[y]=i[y]}}else if(d){D={};for(b=0;b<_;b++){y=m[b];D[y]=sn(n[y]),Oi(n,i,y)}}w=new wn(n,!1,!1,h?Object(x["n"])(p,(function(e){return e.targetName===t})):null);w.targetName=t,r.scope&&(w.scope=r.scope),d&&T&&w.whenWithKeys(0,T,m),D&&w.whenWithKeys(0,D,m),w.whenWithKeys(null==u?500:u,s?L:i,m).delay(c||0),e.addAnimator(w,t),o.push(w)}}Object(x["K"])(Ti,G),Object(x["K"])(Ti,li);var Ei=Ti,Pi=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return v(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,i=n.indexOf(t);i>=0&&(n.splice(i,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=x["r"](this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,i=n[t];if(e&&e!==this&&e.parent!==this&&e!==i){n[t]=e,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),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,i=x["r"](n,e);return i<0||(n.splice(i,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 i=e[n];t&&i.removeSelfFromZr(t),i.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];e.call(t,r,i)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=e.call(t,i);i.isGroup&&!r&&i.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 i=this._children[n];i.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(t)}},t.prototype.getBoundingRect=function(e){for(var t=new je(0,0,0,0),n=e||this._children,i=[],r=null,a=0;a<n.length;a++){var o=n[a];if(!o.ignore&&!o.invisible){var s=o.getBoundingRect(),l=o.getLocalTransform(i);l?(je.applyTransform(t,s,l),r=r||t.clone(),r.union(t)):(r=r||s.clone(),r.union(s))}}return r||t},t}(Ei);Pi.prototype.type="group";var Ni=Pi,Ri={},Yi={};
/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/function zi(e){delete Yi[e]}function Hi(e){if(!e)return!1;if("string"===typeof e)return Object($t["lum"])(e,1)<Zn;if(e.colorStops){for(var t=e.colorStops,n=0,i=t.length,r=0;r<i;r++)n+=Object($t["lum"])(t[r].color,1);return n/=i,n<Zn}return!1}var ji,Fi=function(){function e(e,t,n){var i=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 r=new yt,a=n.renderer||"canvas";Ri[a]||(a=x["F"](Ri)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var o=new Ri[a](t,r,n,e),s=n.ssr||o.ssrOnly;this.storage=r,this.painter=o;var l,u=_["a"].node||_["a"].worker||s?null:new Wn(o.getViewportRoot(),o.root),c=n.useCoarsePointer,h=null==c||"auto"===c?_["a"].touchEventsSupported:!!c,d=44;h&&(l=x["P"](n.pointerSize,d)),this.handler=new Ke(r,o,u,o.root,l),this.animation=new Tn({stage:{update:s?null:function(){return i._flush(!0)}}}),s||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=Hi(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=Mn();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var i=Mn();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-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 Ni&&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,zi(this.id))},e}();function Bi(e,t){var n=new Fi(x["p"](),e,t);return Yi[n.id]=n,n}function Vi(e){e.dispose()}function Gi(){for(var e in Yi)Yi.hasOwnProperty(e)&&Yi[e].dispose();Yi={}}function Wi(e){return Yi[e]}function Ui(e,t){Ri[e]=t}function Xi(e){if("function"===typeof ji)return ji(e)}function Zi(e){ji=e}var qi="5.6.0",$i=1e-4,Ji=20;function Ki(e){return e.replace(/^\s+|\s+$/g,"")}function Qi(e,t,n,i){var r=t[0],a=t[1],o=n[0],s=n[1],l=a-r,u=s-o;if(0===l)return 0===u?o:(o+s)/2;if(i)if(l>0){if(e<=r)return o;if(e>=a)return s}else{if(e>=r)return o;if(e<=a)return s}else{if(e===r)return o;if(e===a)return s}return(e-r)/l*u+o}function er(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 x["C"](e)?Ki(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function tr(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),Ji),e=(+e).toFixed(t),n?e:+e}function nr(e){return e.sort((function(e,t){return e-t})),e}function ir(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 rr(e)}function rr(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),i=n>0?+t.slice(n+1):0,r=n>0?n:t.length,a=t.indexOf("."),o=a<0?0:r-1-a;return Math.max(0,o-i)}function ar(e,t){var n=Math.log,i=Math.LN10,r=Math.floor(n(e[1]-e[0])/i),a=Math.round(n(Math.abs(t[1]-t[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function or(e,t,n){if(!e[t])return 0;var i=sr(e,n);return i[t]||0}function sr(e,t){var n=x["N"](e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];var i=Math.pow(10,t),r=x["H"](e,(function(e){return(isNaN(e)?0:e)/n*i*100})),a=100*i,o=x["H"](r,(function(e){return Math.floor(e)})),s=x["N"](o,(function(e,t){return e+t}),0),l=x["H"](r,(function(e,t){return e-o[t]}));while(s<a){for(var u=Number.NEGATIVE_INFINITY,c=null,h=0,d=l.length;h<d;++h)l[h]>u&&(u=l[h],c=h);++o[c],l[c]=0,++s}return x["H"](o,(function(e){return e/i}))}function lr(e,t){var n=Math.max(ir(e),ir(t)),i=e+t;return n>Ji?i:tr(i,n)}var ur=9007199254740991;function cr(e){var t=2*Math.PI;return(e%t+t)%t}function hr(e){return e>-$i&&e<$i}var dr=/^(?:(\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 fr(e){if(e instanceof Date)return e;if(x["C"](e)){var t=dr.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 pr(e){return Math.pow(10,mr(e))}function mr(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 gr(e,t){var n,i=mr(e),r=Math.pow(10,i),a=e/r;return n=t?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,e=n*r,i>=-20?+e.toFixed(i<0?-i:0):e}function yr(e,t){var n=(e.length-1)*t+1,i=Math.floor(n),r=+e[i-1],a=n-i;return a?r+a*(e[i]-r):r}function vr(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,i=0;i<e.length;){for(var r=e[i].interval,a=e[i].close,o=0;o<2;o++)r[o]<=t&&(r[o]=t,a[o]=o?1:1-n),t=r[o],n=a[o];r[0]===r[1]&&a[0]*a[1]!==1?e.splice(i,1):i++}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 _r(e){var t=parseFloat(e);return t==e&&(0!==t||!x["C"](e)||e.indexOf("x")<=0)?t:NaN}function xr(e){return!isNaN(_r(e))}function br(){return Math.round(9*Math.random())}function wr(e,t){return 0===t?e:wr(t,e%t)}function Mr(e,t){return null==e?t:null==t?e:e*t/wr(e,t)}function Sr(e,t,n){return(t-e)*n+e}var Tr="series\0",Lr="\0_ec_\0";function Dr(e){return e instanceof Array?e:null==e?[]:[e]}function Ar(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var i=0,r=n.length;i<r;i++){var a=n[i];!e.emphasis[t].hasOwnProperty(a)&&e[t].hasOwnProperty(a)&&(e.emphasis[t][a]=e[t][a])}}}var Or=["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 kr(e){return!Object(x["A"])(e)||Object(x["t"])(e)||e instanceof Date?e:e.value}function Ir(e){return Object(x["A"])(e)&&!(e instanceof Array)}function Cr(e,t,n){var i="normalMerge"===n,r="replaceMerge"===n,a="replaceAll"===n;e=e||[],t=(t||[]).slice();var o=Object(x["f"])();Object(x["k"])(t,(function(e,n){Object(x["A"])(e)||(t[n]=null)}));var s=Er(e,o,n);return(i||r)&&Pr(s,e,o,t),i&&Nr(s,t),i||r?Rr(s,t,r):a&&Yr(s,t),zr(s),s}function Er(e,t,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<e.length;r++){var a=e[r];a&&null!=a.id&&t.set(a.id,r),i.push({existing:"replaceMerge"===n||Vr(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return i}function Pr(e,t,n,i){Object(x["k"])(i,(function(r,a){if(r&&null!=r.id){var o=jr(r.id),s=n.get(o);if(null!=s){var l=e[s];Object(x["b"])(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=r,l.existing=t[s],i[a]=null}}}))}function Nr(e,t){Object(x["k"])(t,(function(n,i){if(n&&null!=n.name)for(var r=0;r<e.length;r++){var a=e[r].existing;if(!e[r].newOption&&a&&(null==a.id||null==n.id)&&!Vr(n)&&!Vr(a)&&Hr("name",a,n))return e[r].newOption=n,void(t[i]=null)}}))}function Rr(e,t,n){Object(x["k"])(t,(function(t){if(t){var i,r=0;while((i=e[r])&&(i.newOption||Vr(i.existing)||i.existing&&null!=t.id&&!Hr("id",t,i.existing)))r++;i?(i.newOption=t,i.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),r++}}))}function Yr(e,t){Object(x["k"])(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}function zr(e){var t=Object(x["f"])();Object(x["k"])(e,(function(e){var n=e.existing;n&&t.set(n.id,e)})),Object(x["k"])(e,(function(e){var n=e.newOption;Object(x["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(x["k"])(e,(function(e,n){var i=e.existing,r=e.newOption,a=e.keyInfo;if(Object(x["A"])(r)){if(a.name=null!=r.name?jr(r.name):i?i.name:Tr+n,i)a.id=jr(i.id);else if(null!=r.id)a.id=jr(r.id);else{var o=0;do{a.id="\0"+a.name+"\0"+o++}while(t.get(a.id))}t.set(a.id,e)}}))}function Hr(e,t,n){var i=Fr(t[e],null),r=Fr(n[e],null);return null!=i&&null!=r&&i===r}function jr(e){return Fr(e,"")}function Fr(e,t){return null==e?t:Object(x["C"])(e)?e:Object(x["z"])(e)||Object(x["D"])(e)?e+"":t}function Br(e){var t=e.name;return!(!t||!t.indexOf(Tr))}function Vr(e){return e&&null!=e.id&&0===jr(e.id).indexOf(Lr)}function Gr(e){return Lr+e}function Wr(e,t,n){Object(x["k"])(e,(function(e){var i=e.newOption;Object(x["A"])(i)&&(e.keyInfo.mainType=t,e.keyInfo.subType=Ur(t,i,e.existing,n))}))}function Ur(e,t,n,i){var r=t.type?t.type:n?n.subType:i.determineSubType(e,t);return r}function Xr(e,t){var n={},i={};return r(e||[],n),r(t||[],i,n),[a(n),a(i)];function r(e,t,n){for(var i=0,r=e.length;i<r;i++){var a=Fr(e[i].seriesId,null);if(null==a)return;for(var o=Dr(e[i].dataIndex),s=n&&n[a],l=0,u=o.length;l<u;l++){var c=o[l];s&&s[c]?s[c]=null:(t[a]||(t[a]={}))[c]=1}}}function a(e,t){var n=[];for(var i in e)if(e.hasOwnProperty(i)&&null!=e[i])if(t)n.push(+i);else{var r=a(e[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}function Zr(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?Object(x["t"])(t.dataIndex)?Object(x["H"])(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?Object(x["t"])(t.name)?Object(x["H"])(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function qr(){var e="__ec_inner_"+$r++;return function(t){return t[e]||(t[e]={})}}var $r=br();function Jr(e,t,n){var i=Kr(t,n),r=i.mainTypeSpecified,a=i.queryOptionMap,o=i.others,s=o,l=n?n.defaultMainType:null;return!r&&l&&a.set(l,{}),a.each((function(t,i){var r=ta(e,i,t,{useDefault:l===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[i+"Models"]=r.models,s[i+"Model"]=r.models[0]})),s}function Kr(e,t){var n;if(Object(x["C"])(e)){var i={};i[e+"Index"]=0,n=i}else n=e;var r=Object(x["f"])(),a={},o=!1;return Object(x["k"])(n,(function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(t&&t.includeMainTypes&&Object(x["r"])(t.includeMainTypes,s)<0)){o=o||!!s;var u=r.get(s)||r.set(s,{});u[l]=e}}else a[n]=e})),{mainTypeSpecified:o,queryOptionMap:r,others:a}}var Qr={useDefault:!0,enableAll:!1,enableNone:!1},ea={useDefault:!1,enableAll:!0,enableNone:!0};function ta(e,t,n,i){i=i||Qr;var r=n.index,a=n.id,o=n.name,s={models:null,specified:null!=r||null!=a||null!=o};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=e.getComponent(t))?[l]:[],s}return"none"===r||!1===r?(Object(x["b"])(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(Object(x["b"])(i.enableAll,'`"all"` is not a valid value on index option.'),r=a=o=null),s.models=e.queryComponents({mainType:t,index:r,id:a,name:o}),s)}function na(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function ia(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function ra(e){return"auto"===e?_["a"].domSupported?"html":"richText":e||"html"}function aa(e,t){var n=Object(x["f"])(),i=[];return Object(x["k"])(e,(function(e){var r=t(e);(n.get(r)||(i.push(r),n.set(r,[]))).push(e)})),{keys:i,buckets:n}}function oa(e,t,n,i,r){var a=null==t||"auto"===t;if(null==i)return i;if(Object(x["z"])(i)){var o=Sr(n||0,i,r);return tr(o,a?Math.max(ir(n||0),ir(i)):t)}if(Object(x["C"])(i))return r<1?n:i;for(var s=[],l=n,u=i,c=Math.max(l?l.length:0,u.length),h=0;h<c;++h){var d=e.getDimensionInfo(h);if(d&&"ordinal"===d.type)s[h]=(r<1&&l?l:u)[h];else{var f=l&&l[h]?l[h]:0,p=u[h];o=Sr(f,p,r);s[h]=tr(o,a?Math.max(ir(f),ir(p)):t)}}return s}var sa=".",la="___EC__COMPONENT__CONTAINER___",ua="___EC__EXTENDED_CLASS___";function ca(e){var t={main:"",sub:""};if(e){var n=e.split(sa);t.main=n[0]||"",t.sub=n[1]||""}return t}function ha(e){x["b"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function da(e){return!(!e||!e[ua])}function fa(e,t){e.$constructor=e,e.extend=function(e){var t,n=this;return pa(n)?t=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t}(n):(t=function(){(e.$constructor||n).apply(this,arguments)},x["s"](t,this)),x["m"](t.prototype,e),t[ua]=!0,t.extend=this.extend,t.superCall=va,t.superApply=_a,t.superClass=n,t}}function pa(e){return x["w"](e)&&/^class\s/.test(Function.prototype.toString.call(e))}function ma(e,t){e.extend=t.extend}var ga=Math.round(10*Math.random());function ya(e){var t=["__\0is_clz",ga++].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function va(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[t].apply(e,n)}function _a(e,t,n){return this.superClass.prototype[t].apply(e,n)}function xa(e){var t={};function n(e){var n=t[e.main];return n&&n[la]||(n=t[e.main]={},n[la]=!0),n}e.registerClass=function(e){var i=e.type||e.prototype.type;if(i){ha(i),e.prototype.type=i;var r=ca(i);if(r.sub){if(r.sub!==la){var a=n(r);a[r.sub]=e}}else t[r.main]=e}return e},e.getClass=function(e,n,i){var r=t[e];if(r&&r[la]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return r},e.getClassesByMainType=function(e){var n=ca(e),i=[],r=t[n.main];return r&&r[la]?x["k"](r,(function(e,t){t!==la&&i.push(e)})):i.push(r),i},e.hasClass=function(e){var n=ca(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return x["k"](t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){var n=ca(e),i=t[n.main];return i&&i[la]}}function ba(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,i,r){for(var a={},o=0;o<e.length;o++){var s=e[o][1];if(!(i&&x["r"](i,s)>=0||r&&x["r"](r,s)<0)){var l=n.getShallow(s,t);null!=l&&(a[e[o][0]]=l)}}return a}}var wa=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Ma=ba(wa),Sa=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return Ma(this,e,t)},e}(),Ta=new ui["a"](50);function La(e){if("string"===typeof e){var t=Ta.get(e);return t&&t.image}return e}function Da(e,t,n,i,r){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var a=Ta.get(e),o={hostEl:n,cb:i,cbPayload:r};return a?(t=a.image,!Oa(t)&&a.pending.push(o)):(t=ci["d"].loadImage(e,Aa,Aa),t.__zrImageSrc=e,Ta.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}return e}return t}function Aa(){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],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function Oa(e){return e&&e.width&&e.height}var ka=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Ia(e,t,n,i,r){if(!t)return"";var a=(e+"").split("\n");r=Ca(t,n,i,r);for(var o=0,s=a.length;o<s;o++)a[o]=Ea(a[o],r);return a.join("\n")}function Ca(e,t,n,i){i=i||{};var r=Object(x["m"])({},i);r.font=t,n=Object(x["P"])(n,"..."),r.maxIterations=Object(x["P"])(i.maxIterations,2);var a=r.minChar=Object(x["P"])(i.minChar,0);r.cnCharWidth=di("国",t);var o=r.ascCharWidth=di("a",t);r.placeholder=Object(x["P"])(i.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<a&&s>=o;l++)s-=o;var u=di(n,t);return u>s&&(n="",u=0),s=e-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=e,r}function Ea(e,t){var n=t.containerWidth,i=t.font,r=t.contentWidth;if(!n)return"";var a=di(e,i);if(a<=n)return e;for(var o=0;;o++){if(a<=r||o>=t.maxIterations){e+=t.ellipsis;break}var s=0===o?Pa(e,r,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*r/a):0;e=e.substr(0,s),a=di(e,i)}return""===e&&(e=t.placeholder),e}function Pa(e,t,n,i){for(var r=0,a=0,o=e.length;a<o&&r<t;a++){var s=e.charCodeAt(a);r+=0<=s&&s<=127?n:i}return a}function Na(e,t){null!=e&&(e+="");var n,i=t.overflow,r=t.padding,a=t.font,o="truncate"===i,s=yi(a),l=Object(x["P"])(t.lineHeight,s),u=!!t.backgroundColor,c="truncate"===t.lineOverflow,h=t.width;n=null==h||"break"!==i&&"breakAll"!==i?e?e.split("\n"):[]:e?Ga(e,t.font,h,"breakAll"===i,0).lines:[];var d=n.length*l,f=Object(x["P"])(t.height,d);if(d>f&&c){var p=Math.floor(f/l);n=n.slice(0,p)}if(e&&o&&null!=h)for(var m=Ca(h,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<n.length;g++)n[g]=Ea(n[g],m);var y=f,v=0;for(g=0;g<n.length;g++)v=Math.max(di(n[g],a),v);null==h&&(h=v);var _=v;return r&&(y+=r[0]+r[2],_+=r[1]+r[3],h+=r[1]+r[3]),u&&(_=h),{lines:n,height:f,outerWidth:_,outerHeight:y,lineHeight:l,calculatedLineHeight:s,contentWidth:v,contentHeight:d,width:h}}var Ra=function(){function e(){}return e}(),Ya=function(){function e(e){this.tokens=[],e&&(this.tokens=e)}return e}(),za=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function Ha(e,t){var n=new za;if(null!=e&&(e+=""),!e)return n;var i,r=t.width,a=t.height,o=t.overflow,s="break"!==o&&"breakAll"!==o||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===o},l=ka.lastIndex=0;while(null!=(i=ka.exec(e))){var u=i.index;u>l&&ja(n,e.substring(l,u),t,s),ja(n,i[2],t,s,i[1]),l=ka.lastIndex}l<e.length&&ja(n,e.substring(l,e.length),t,s);var c=[],h=0,d=0,f=t.padding,p="truncate"===o,m="truncate"===t.lineOverflow;function g(e,t,n){e.width=t,e.lineHeight=n,h+=n,d=Math.max(d,t)}e:for(var y=0;y<n.lines.length;y++){for(var v=n.lines[y],_=0,b=0,w=0;w<v.tokens.length;w++){var M=v.tokens[w],S=M.styleName&&t.rich[M.styleName]||{},T=M.textPadding=S.padding,L=T?T[1]+T[3]:0,D=M.font=S.font||t.font;M.contentHeight=yi(D);var A=Object(x["P"])(S.height,M.contentHeight);if(M.innerHeight=A,T&&(A+=T[0]+T[2]),M.height=A,M.lineHeight=Object(x["Q"])(S.lineHeight,t.lineHeight,A),M.align=S&&S.align||t.align,M.verticalAlign=S&&S.verticalAlign||"middle",m&&null!=a&&h+M.lineHeight>a){w>0?(v.tokens=v.tokens.slice(0,w),g(v,b,_),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break e}var O=S.width,k=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))M.percentWidth=O,c.push(M),M.contentWidth=di(M.text,D);else{if(k){var I=S.backgroundColor,C=I&&I.image;C&&(C=La(C),Oa(C)&&(M.width=Math.max(M.width,C.width*A/C.height)))}var E=p&&null!=r?r-b:null;null!=E&&E<M.width?!k||E<L?(M.text="",M.width=M.contentWidth=0):(M.text=Ia(M.text,E-L,D,t.ellipsis,{minChar:t.truncateMinChar}),M.width=M.contentWidth=di(M.text,D)):M.contentWidth=di(M.text,D)}M.width+=L,b+=M.width,S&&(_=Math.max(_,M.lineHeight))}g(v,b,_)}n.outerWidth=n.width=Object(x["P"])(r,d),n.outerHeight=n.height=Object(x["P"])(a,h),n.contentHeight=h,n.contentWidth=d,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(y=0;y<c.length;y++){M=c[y];var P=M.percentWidth;M.width=parseInt(P,10)/100*n.width}return n}function ja(e,t,n,i,r){var a,o,s=""===t,l=r&&n.rich[r]||{},u=e.lines,c=l.font||n.font,h=!1;if(i){var d=l.padding,f=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var p=vi(l.width,i.width)+f;u.length>0&&p+i.accumWidth>i.width&&(a=t.split("\n"),h=!0),i.accumWidth=p}else{var m=Ga(t,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+f,o=m.linesWidths,a=m.lines}}else a=t.split("\n");for(var g=0;g<a.length;g++){var y=a[g],v=new Ra;if(v.styleName=r,v.text=y,v.isLineHolder=!y&&!s,"number"===typeof l.width?v.width=l.width:v.width=o?o[g]:di(y,c),g||h)u.push(new Ya([v]));else{var _=(u[u.length-1]||(u[0]=new Ya)).tokens,x=_.length;1===x&&_[0].isLineHolder?_[0]=v:(y||!x||s)&&_.push(v)}}}function Fa(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Ba=Object(x["N"])(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function Va(e){return!Fa(e)||!!Ba[e]}function Ga(e,t,n,i,r){for(var a=[],o=[],s="",l="",u=0,c=0,h=0;h<e.length;h++){var d=e.charAt(h);if("\n"!==d){var f=di(d,t),p=!i&&!Va(d);(a.length?c+f>n:r+c+f>n)?c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),a.push(s),o.push(c-u),l+=d,u+=f,s="",c=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(c),s=d,c=f)):p?(a.push(l),o.push(u),l=d,u=f):(a.push(d),o.push(f)):(c+=f,p?(l+=d,u+=f):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,c+=u),a.push(s),o.push(c),s="",l="",u=0,c=0}return a.length||s||(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(c)),1===a.length&&(c+=r),{accumWidth:c,lines:a,linesWidths:o}}var Wa="__zr_style_"+Math.round(10*Math.random()),Ua={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Xa={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ua[Wa]=!0;var Za=["z","z2","invisible"],qa=["invisible"],$a=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype._init=function(t){for(var n=Object(x["F"])(t),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(t[r]):e.prototype.attrKV.call(this,r,t[r])}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,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&Qa(this,e,t)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var a=0;a<this.__clipPaths.length;++a)if(this.__clipPaths[a].isZeroArea())return!1;if(i&&this.parent){var o=this.parent;while(o){if(o.ignore)return!1;o=o.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),i=this.getBoundingRect();return i.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(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,o=i.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new je(0,0,0,0)),t?je.applyTransform(e,n,t):e.copy(n),(r||a||o)&&(e.width+=2*r+Math.abs(a),e.height+=2*r+Math.abs(o),e.x=Math.min(e.x,e.x+a-r),e.y=Math.min(e.y,e.y+o-r));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 je(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(x["m"])(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=ct,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&ct)},t.prototype.styleUpdated=function(){this.__dirty&=~ct},t.prototype.createStyle=function(e){return Object(x["g"])(Ua,e)},t.prototype.useStyle=function(e){e[Wa]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[Wa]},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,Za)},t.prototype._applyStateObj=function(t,n,i,r,a,o){e.prototype._applyStateObj.call(this,t,n,i,r,a,o);var s,l=!(n&&r);if(n&&n.style?a?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(a){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=Object(x["F"])(u),h=0;h<c.length;h++){var d=c[h];d in s&&(s[d]=s[d],this.style[d]=u[d])}var f=Object(x["F"])(s);for(h=0;h<f.length;h++){d=f[h];this.style[d]=this.style[d]}this._transitionState(t,{style:s},o,this.getAnimationStyleProps())}else this.useStyle(s);var p=this.__inHover?qa:Za;for(h=0;h<p.length;h++){d=p[h];n&&null!=n[d]?this[d]=n[d]:l&&null!=i[d]&&(this[d]=i[d])}},t.prototype._mergeStates=function(t){for(var n,i=e.prototype._mergeStates.call(this,t),r=0;r<t.length;r++){var a=t[r];a.style&&(n=n||{},this._mergeStyle(n,a.style))}return n&&(i.style=n),i},t.prototype._mergeStyle=function(e,t){return Object(x["m"])(e,t),e},t.prototype.getAnimationStyleProps=function(){return Xa},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=ut|ct}(),t}(Ei),Ja=new je(0,0,0,0),Ka=new je(0,0,0,0);function Qa(e,t,n){return Ja.copy(e.getBoundingRect()),e.transform&&Ja.applyTransform(e.transform),Ka.width=t,Ka.height=n,!Ja.intersect(Ka)}var eo=$a,to=Math.min,no=Math.max,io=Math.sin,ro=Math.cos,ao=2*Math.PI,oo=b(),so=b(),lo=b();function uo(e,t,n){if(0!==e.length){for(var i=e[0],r=i[0],a=i[0],o=i[1],s=i[1],l=1;l<e.length;l++)i=e[l],r=to(r,i[0]),a=no(a,i[0]),o=to(o,i[1]),s=no(s,i[1]);t[0]=r,t[1]=o,n[0]=a,n[1]=s}}function co(e,t,n,i,r,a){r[0]=to(e,n),r[1]=to(t,i),a[0]=no(e,n),a[1]=no(t,i)}var ho=[],fo=[];function po(e,t,n,i,r,a,o,s,l,u){var c=Nt,h=Ct,d=c(e,n,r,o,ho);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<d;f++){var p=h(e,n,r,o,ho[f]);l[0]=to(p,l[0]),u[0]=no(p,u[0])}d=c(t,i,a,s,fo);for(f=0;f<d;f++){var m=h(t,i,a,s,fo[f]);l[1]=to(m,l[1]),u[1]=no(m,u[1])}l[0]=to(e,l[0]),u[0]=no(e,u[0]),l[0]=to(o,l[0]),u[0]=no(o,u[0]),l[1]=to(t,l[1]),u[1]=no(t,u[1]),l[1]=to(s,l[1]),u[1]=no(s,u[1])}function mo(e,t,n,i,r,a,o,s){var l=Bt,u=Ht,c=no(to(l(e,n,r),1),0),h=no(to(l(t,i,a),1),0),d=u(e,n,r,c),f=u(t,i,a,h);o[0]=to(e,r,d),o[1]=to(t,a,f),s[0]=no(e,r,d),s[1]=no(t,a,f)}function go(e,t,n,i,r,a,o,s,l){var u=z,c=H,h=Math.abs(r-a);if(h%ao<1e-4&&h>1e-4)return s[0]=e-n,s[1]=t-i,l[0]=e+n,void(l[1]=t+i);if(oo[0]=ro(r)*n+e,oo[1]=io(r)*i+t,so[0]=ro(a)*n+e,so[1]=io(a)*i+t,u(s,oo,so),c(l,oo,so),r%=ao,r<0&&(r+=ao),a%=ao,a<0&&(a+=ao),r>a&&!o?a+=ao:r<a&&o&&(r+=ao),o){var d=a;a=r,r=d}for(var f=0;f<a;f+=Math.PI/2)f>r&&(lo[0]=ro(f)*n+e,lo[1]=io(f)*i+t,u(s,lo,s),c(l,lo,l))}var yo={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},vo=[],_o=[],xo=[],bo=[],wo=[],Mo=[],So=Math.min,To=Math.max,Lo=Math.cos,Do=Math.sin,Ao=Math.abs,Oo=Math.PI,ko=2*Oo,Io="undefined"!==typeof Float32Array,Co=[];function Eo(e){var t=Math.round(e/Oo*1e8)/1e8;return t%2*Oo}function Po(e,t){var n=Eo(e[0]);n<0&&(n+=ko);var i=n-e[0],r=e[1];r+=i,!t&&r-n>=ko?r=n+ko:t&&n-r>=ko?r=n-ko:!t&&n>r?r=n+(ko-Eo(n-r)):t&&n<r&&(r=n-(ko-Eo(r-n))),e[0]=n,e[1]=r}var No=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=Ao(n/Xn/e)||0,this._uy=Ao(n/Xn/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(yo.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=Ao(e-this._xi),i=Ao(t-this._yi),r=n>this._ux||i>this._uy;if(this.addData(yo.L,e,t),this._ctx&&r&&this._ctx.lineTo(e,t),r)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var a=n*n+i*i;a>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(e,t,n,i,r,a){return this._drawPendingPt(),this.addData(yo.C,e,t,n,i,r,a),this._ctx&&this._ctx.bezierCurveTo(e,t,n,i,r,a),this._xi=r,this._yi=a,this},e.prototype.quadraticCurveTo=function(e,t,n,i){return this._drawPendingPt(),this.addData(yo.Q,e,t,n,i),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(e,t,n,i,r,a){this._drawPendingPt(),Co[0]=i,Co[1]=r,Po(Co,a),i=Co[0],r=Co[1];var o=r-i;return this.addData(yo.A,e,t,n,n,i,o,0,a?0:1),this._ctx&&this._ctx.arc(e,t,n,i,r,a),this._xi=Lo(r)*n+e,this._yi=Do(r)*n+t,this},e.prototype.arcTo=function(e,t,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,i,r),this},e.prototype.rect=function(e,t,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,i),this.addData(yo.R,e,t,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(yo.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||!Io||(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,i=this._len,r=0;r<t;r++)n+=e[r].len();Io&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<t;r++)for(var a=e[r].data,o=0;o<a.length;o++)this.data[i++]=a[o];this._len=i},e.prototype.addData=function(e,t,n,i,r,a,o,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,Io&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){xo[0]=xo[1]=wo[0]=wo[1]=Number.MAX_VALUE,bo[0]=bo[1]=Mo[0]=Mo[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,i=0,r=0,a=0;for(e=0;e<this._len;){var o=t[e++],s=1===e;switch(s&&(n=t[e],i=t[e+1],r=n,a=i),o){case yo.M:n=r=t[e++],i=a=t[e++],wo[0]=r,wo[1]=a,Mo[0]=r,Mo[1]=a;break;case yo.L:co(n,i,t[e],t[e+1],wo,Mo),n=t[e++],i=t[e++];break;case yo.C:po(n,i,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],wo,Mo),n=t[e++],i=t[e++];break;case yo.Q:mo(n,i,t[e++],t[e++],t[e],t[e+1],wo,Mo),n=t[e++],i=t[e++];break;case yo.A:var l=t[e++],u=t[e++],c=t[e++],h=t[e++],d=t[e++],f=t[e++]+d;e+=1;var p=!t[e++];s&&(r=Lo(d)*c+l,a=Do(d)*h+u),go(l,u,c,h,d,f,p,wo,Mo),n=Lo(f)*c+l,i=Do(f)*h+u;break;case yo.R:r=n=t[e++],a=i=t[e++];var m=t[e++],g=t[e++];co(r,a,r+m,a+g,wo,Mo);break;case yo.Z:n=r,i=a;break}z(xo,xo,wo),H(bo,bo,Mo)}return 0===e&&(xo[0]=xo[1]=bo[0]=bo[1]=0),new je(xo[0],xo[1],bo[0]-xo[0],bo[1]-xo[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,i=this._uy,r=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,h=0;h<t;){var d=e[h++],f=1===h;f&&(r=e[h],a=e[h+1],o=r,s=a);var p=-1;switch(d){case yo.M:r=o=e[h++],a=s=e[h++];break;case yo.L:var m=e[h++],g=e[h++],y=m-r,v=g-a;(Ao(y)>n||Ao(v)>i||h===t-1)&&(p=Math.sqrt(y*y+v*v),r=m,a=g);break;case yo.C:var _=e[h++],x=e[h++],b=(m=e[h++],g=e[h++],e[h++]),w=e[h++];p=zt(r,a,_,x,m,g,b,w,10),r=b,a=w;break;case yo.Q:_=e[h++],x=e[h++],m=e[h++],g=e[h++];p=Wt(r,a,_,x,m,g,10),r=m,a=g;break;case yo.A:var M=e[h++],S=e[h++],T=e[h++],L=e[h++],D=e[h++],A=e[h++],O=A+D;h+=1,f&&(o=Lo(D)*T+M,s=Do(D)*L+S),p=To(T,L)*So(ko,Math.abs(A)),r=Lo(O)*T+M,a=Do(O)*L+S;break;case yo.R:o=r=e[h++],s=a=e[h++];var k=e[h++],I=e[h++];p=2*k+2*I;break;case yo.Z:y=o-r,v=s-a;p=Math.sqrt(y*y+v*v),r=o,a=s;break}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},e.prototype.rebuildPath=function(e,t){var n,i,r,a,o,s,l,u,c,h,d,f=this.data,p=this._ux,m=this._uy,g=this._len,y=t<1,v=0,_=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,c=t*u,c))e:for(var b=0;b<g;){var w=f[b++],M=1===b;switch(M&&(r=f[b],a=f[b+1],n=r,i=a),w!==yo.L&&x>0&&(e.lineTo(h,d),x=0),w){case yo.M:n=r=f[b++],i=a=f[b++],e.moveTo(r,a);break;case yo.L:o=f[b++],s=f[b++];var S=Ao(o-r),T=Ao(s-a);if(S>p||T>m){if(y){var L=l[_++];if(v+L>c){var D=(c-v)/L;e.lineTo(r*(1-D)+o*D,a*(1-D)+s*D);break e}v+=L}e.lineTo(o,s),r=o,a=s,x=0}else{var A=S*S+T*T;A>x&&(h=o,d=s,x=A)}break;case yo.C:var O=f[b++],k=f[b++],I=f[b++],C=f[b++],E=f[b++],P=f[b++];if(y){L=l[_++];if(v+L>c){D=(c-v)/L;Rt(r,O,I,E,D,vo),Rt(a,k,C,P,D,_o),e.bezierCurveTo(vo[1],_o[1],vo[2],_o[2],vo[3],_o[3]);break e}v+=L}e.bezierCurveTo(O,k,I,C,E,P),r=E,a=P;break;case yo.Q:O=f[b++],k=f[b++],I=f[b++],C=f[b++];if(y){L=l[_++];if(v+L>c){D=(c-v)/L;Vt(r,O,I,D,vo),Vt(a,k,C,D,_o),e.quadraticCurveTo(vo[1],_o[1],vo[2],_o[2]);break e}v+=L}e.quadraticCurveTo(O,k,I,C),r=I,a=C;break;case yo.A:var N=f[b++],R=f[b++],Y=f[b++],z=f[b++],H=f[b++],j=f[b++],F=f[b++],B=!f[b++],V=Y>z?Y:z,G=Ao(Y-z)>.001,W=H+j,U=!1;if(y){L=l[_++];v+L>c&&(W=H+j*(c-v)/L,U=!0),v+=L}if(G&&e.ellipse?e.ellipse(N,R,Y,z,F,H,W,B):e.arc(N,R,V,H,W,B),U)break e;M&&(n=Lo(H)*Y+N,i=Do(H)*z+R),r=Lo(W)*Y+N,a=Do(W)*z+R;break;case yo.R:n=r=f[b],i=a=f[b+1],o=f[b++],s=f[b++];var X=f[b++],Z=f[b++];if(y){L=l[_++];if(v+L>c){var q=c-v;e.moveTo(o,s),e.lineTo(o+So(q,X),s),q-=X,q>0&&e.lineTo(o+X,s+So(q,Z)),q-=Z,q>0&&e.lineTo(o+To(X-q,0),s+Z),q-=X,q>0&&e.lineTo(o,s+To(Z-q,0));break e}v+=L}e.rect(o,s,X,Z);break;case yo.Z:if(y){L=l[_++];if(v+L>c){D=(c-v)/L;e.lineTo(r*(1-D)+n*D,a*(1-D)+i*D);break e}v+=L}e.closePath(),r=n,a=i}}},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=yo,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}(),Ro=No;function Yo(e,t,n,i,r,a,o){if(0===r)return!1;var s=r,l=0,u=e;if(o>t+s&&o>i+s||o<t-s&&o<i-s||a>e+s&&a>n+s||a<e-s&&a<n-s)return!1;if(e===n)return Math.abs(a-e)<=s/2;l=(t-i)/(e-n),u=(e*i-n*t)/(e-n);var c=l*a-o+u,h=c*c/(l*l+1);return h<=s/2*s/2}function zo(e,t,n,i,r,a,o,s,l,u,c){if(0===l)return!1;var h=l;if(c>t+h&&c>i+h&&c>a+h&&c>s+h||c<t-h&&c<i-h&&c<a-h&&c<s-h||u>e+h&&u>n+h&&u>r+h&&u>o+h||u<e-h&&u<n-h&&u<r-h&&u<o-h)return!1;var d=Yt(e,t,n,i,r,a,o,s,u,c,null);return d<=h/2}function Ho(e,t,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;if(l>t+u&&l>i+u&&l>a+u||l<t-u&&l<i-u&&l<a-u||s>e+u&&s>n+u&&s>r+u||s<e-u&&s<n-u&&s<r-u)return!1;var c=Gt(e,t,n,i,r,a,s,l,null);return c<=u/2}var jo=2*Math.PI;function Fo(e){return e%=jo,e<0&&(e+=jo),e}var Bo=2*Math.PI;function Vo(e,t,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(i-r)%Bo<1e-4)return!0;if(a){var h=i;i=Fo(r),r=Fo(h)}else i=Fo(i),r=Fo(r);i>r&&(r+=Bo);var d=Math.atan2(l,s);return d<0&&(d+=Bo),d>=i&&d<=r||d+Bo>=i&&d+Bo<=r}function Go(e,t,n,i,r,a){if(a>t&&a>i||a<t&&a<i)return 0;if(i===t)return 0;var o=(a-t)/(i-t),s=i<t?1:-1;1!==o&&0!==o||(s=i<t?.5:-.5);var l=o*(n-e)+e;return l===r?1/0:l>r?s:0}var Wo=Ro.CMD,Uo=2*Math.PI,Xo=1e-4;function Zo(e,t){return Math.abs(e-t)<Xo}var qo=[-1,-1,-1],$o=[-1,-1];function Jo(){var e=$o[0];$o[0]=$o[1],$o[1]=e}function Ko(e,t,n,i,r,a,o,s,l,u){if(u>t&&u>i&&u>a&&u>s||u<t&&u<i&&u<a&&u<s)return 0;var c=Pt(t,i,a,s,u,qo);if(0===c)return 0;for(var h=0,d=-1,f=void 0,p=void 0,m=0;m<c;m++){var g=qo[m],y=0===g||1===g?.5:1,v=Ct(e,n,r,o,g);v<l||(d<0&&(d=Nt(t,i,a,s,$o),$o[1]<$o[0]&&d>1&&Jo(),f=Ct(t,i,a,s,$o[0]),d>1&&(p=Ct(t,i,a,s,$o[1]))),2===d?g<$o[0]?h+=f<t?y:-y:g<$o[1]?h+=p<f?y:-y:h+=s<p?y:-y:g<$o[0]?h+=f<t?y:-y:h+=s<f?y:-y)}return h}function Qo(e,t,n,i,r,a,o,s){if(s>t&&s>i&&s>a||s<t&&s<i&&s<a)return 0;var l=Ft(t,i,a,s,qo);if(0===l)return 0;var u=Bt(t,i,a);if(u>=0&&u<=1){for(var c=0,h=Ht(t,i,a,u),d=0;d<l;d++){var f=0===qo[d]||1===qo[d]?.5:1,p=Ht(e,n,r,qo[d]);p<o||(qo[d]<u?c+=h<t?f:-f:c+=a<h?f:-f)}return c}f=0===qo[0]||1===qo[0]?.5:1,p=Ht(e,n,r,qo[0]);return p<o?0:a<t?f:-f}function es(e,t,n,i,r,a,o,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);qo[0]=-l,qo[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Uo-1e-4){i=0,r=Uo;var c=a?1:-1;return o>=qo[0]+e&&o<=qo[1]+e?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=Uo,r+=Uo);for(var d=0,f=0;f<2;f++){var p=qo[f];if(p+e>o){var m=Math.atan2(s,p);c=a?1:-1;m<0&&(m=Uo+m),(m>=i&&m<=r||m+Uo>=i&&m+Uo<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),d+=c)}}return d}function ts(e,t,n,i,r){for(var a,o,s=e.data,l=e.len(),u=0,c=0,h=0,d=0,f=0,p=0;p<l;){var m=s[p++],g=1===p;switch(m===Wo.M&&p>1&&(n||(u+=Go(c,h,d,f,i,r))),g&&(c=s[p],h=s[p+1],d=c,f=h),m){case Wo.M:d=s[p++],f=s[p++],c=d,h=f;break;case Wo.L:if(n){if(Yo(c,h,s[p],s[p+1],t,i,r))return!0}else u+=Go(c,h,s[p],s[p+1],i,r)||0;c=s[p++],h=s[p++];break;case Wo.C:if(n){if(zo(c,h,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],t,i,r))return!0}else u+=Ko(c,h,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],i,r)||0;c=s[p++],h=s[p++];break;case Wo.Q:if(n){if(Ho(c,h,s[p++],s[p++],s[p],s[p+1],t,i,r))return!0}else u+=Qo(c,h,s[p++],s[p++],s[p],s[p+1],i,r)||0;c=s[p++],h=s[p++];break;case Wo.A:var y=s[p++],v=s[p++],_=s[p++],x=s[p++],b=s[p++],w=s[p++];p+=1;var M=!!(1-s[p++]);a=Math.cos(b)*_+y,o=Math.sin(b)*x+v,g?(d=a,f=o):u+=Go(c,h,a,o,i,r);var S=(i-y)*x/_+y;if(n){if(Vo(y,v,x,b,b+w,M,t,S,r))return!0}else u+=es(y,v,x,b,b+w,M,S,r);c=Math.cos(b+w)*_+y,h=Math.sin(b+w)*x+v;break;case Wo.R:d=c=s[p++],f=h=s[p++];var T=s[p++],L=s[p++];if(a=d+T,o=f+L,n){if(Yo(d,f,a,f,t,i,r)||Yo(a,f,a,o,t,i,r)||Yo(a,o,d,o,t,i,r)||Yo(d,o,d,f,t,i,r))return!0}else u+=Go(a,f,a,o,i,r),u+=Go(d,o,d,f,i,r);break;case Wo.Z:if(n){if(Yo(c,h,d,f,t,i,r))return!0}else u+=Go(c,h,d,f,i,r);c=d,h=f;break}}return n||Zo(h,f)||(u+=Go(c,h,d,f,i,r)||0),0!==u}function ns(e,t,n){return ts(e,0,!1,t,n)}function is(e,t,n,i){return ts(e,t,!0,n,i)}var rs=Object(x["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ua),as={style:Object(x["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Xa.style)},os=oi.concat(["invisible","culling","z","z2","zlevel","parent"]),ss=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new t;r.buildPath===t.prototype.buildPath&&(r.buildPath=function(e){n.buildPath(e,n.shape)}),r.silent=!0;var a=r.style;for(var o in i)a[o]!==i[o]&&(a[o]=i[o]);a.fill=i.fill?i.decal:null,a.decal=null,a.shadowColor=null,i.strokeFirst&&(a.stroke=null);for(var s=0;s<os.length;++s)r[os[s]]=this[os[s]];r.__dirty|=ut}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=Object(x["F"])(t);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var a=n[r],o=t[a];"style"===a?this.style?Object(x["m"])(this.style,o):this.useStyle(o):"shape"===a?Object(x["m"])(this.shape,o):e.prototype.attrKV.call(this,a,o)}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(x["C"])(e)){var t=Object($t["lum"])(e,0);return t>.5?qn:t>.2?Jn:$n}if(e)return $n}return qn},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(Object(x["C"])(t)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=Object($t["lum"])(e,0)<Zn;if(i===r)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=~ht},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 Ro(!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 i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&ht)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),e=r.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){a.copy(e);var o=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect(),r=this.style;if(e=n[0],t=n[1],i.contain(e,t)){var a=this.path;if(this.hasStroke()){var o=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),is(a,o/s,e,t)))return!0}if(this.hasFill())return ns(a,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=ht,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(x["m"])(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&ht)},t.prototype.createStyle=function(e){return Object(x["g"])(rs,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=Object(x["m"])({},this.shape))},t.prototype._applyStateObj=function(t,n,i,r,a,o){e.prototype._applyStateObj.call(this,t,n,i,r,a,o);var s,l=!(n&&r);if(n&&n.shape?a?r?s=n.shape:(s=Object(x["m"])({},i.shape),Object(x["m"])(s,n.shape)):(s=Object(x["m"])({},r?this.shape:i.shape),Object(x["m"])(s,n.shape)):l&&(s=i.shape),s)if(a){this.shape=Object(x["m"])({},this.shape);for(var u={},c=Object(x["F"])(s),h=0;h<c.length;h++){var d=c[h];"object"===typeof s[d]?this.shape[d]=s[d]:u[d]=s[d]}this._transitionState(t,{shape:u},o)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,i=e.prototype._mergeStates.call(this,t),r=0;r<t.length;r++){var a=t[r];a.shape&&(n=n||{},this._mergeStyle(n,a.shape))}return n&&(i.shape=n),i},t.prototype.getAnimationStyleProps=function(){return as},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var i=t.call(this,n)||this;return e.init&&e.init.call(i,n),i}return v(n,t),n.prototype.getDefaultStyle=function(){return Object(x["d"])(e.style)},n.prototype.getDefaultShape=function(){return Object(x["d"])(e.shape)},n}(t);for(var i in e)"function"===typeof e[i]&&(n.prototype[i]=e[i]);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=ut|ct|ht}(),t}(eo),ls=ss,us=Object(x["i"])({strokeFirst:!0,font:ci["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},rs),cs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(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(x["g"])(us,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=pi(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var i=e.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(eo);cs.prototype.type="tspan";var hs=cs,ds=Object(x["i"])({x:0,y:0},Ua),fs={style:Object(x["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Xa.style)};function ps(e){return!!(e&&"string"!==typeof e&&e.width&&e.height)}var ms=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.createStyle=function(e){return Object(x["g"])(ds,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var i=ps(t.image)?t.image:this.__image;if(!i)return 0;var r="width"===e?"height":"width",a=t[r];return null==a?i[e]:i[e]/i[r]*a},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return fs},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new je(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(eo);ms.prototype.type="image";var gs=ms;function ys(e,t){var n,i,r,a,o,s=t.x,l=t.y,u=t.width,c=t.height,h=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?n=i=r=a=h:h instanceof Array?1===h.length?n=i=r=a=h[0]:2===h.length?(n=r=h[0],i=a=h[1]):3===h.length?(n=h[0],i=a=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],a=h[3]):n=i=r=a=0,n+i>u&&(o=n+i,n*=u/o,i*=u/o),r+a>u&&(o=r+a,r*=u/o,a*=u/o),i+r>c&&(o=i+r,i*=c/o,r*=c/o),n+a>c&&(o=n+a,n*=c/o,a*=c/o),e.moveTo(s+n,l),e.lineTo(s+u-i,l),0!==i&&e.arc(s+u-i,l+i,i,-Math.PI/2,0),e.lineTo(s+u,l+c-r),0!==r&&e.arc(s+u-r,l+c-r,r,0,Math.PI/2),e.lineTo(s+a,l+c),0!==a&&e.arc(s+a,l+c-a,a,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 vs=Math.round;function _s(e,t,n){if(t){var i=t.x1,r=t.x2,a=t.y1,o=t.y2;e.x1=i,e.x2=r,e.y1=a,e.y2=o;var s=n&&n.lineWidth;return s?(vs(2*i)===vs(2*r)&&(e.x1=e.x2=bs(i,s,!0)),vs(2*a)===vs(2*o)&&(e.y1=e.y2=bs(a,s,!0)),e):e}}function xs(e,t,n){if(t){var i=t.x,r=t.y,a=t.width,o=t.height;e.x=i,e.y=r,e.width=a,e.height=o;var s=n&&n.lineWidth;return s?(e.x=bs(i,s,!0),e.y=bs(r,s,!0),e.width=Math.max(bs(i+a,s,!1)-e.x,0===a?0:1),e.height=Math.max(bs(r+o,s,!1)-e.y,0===o?0:1),e):e}}function bs(e,t,n){if(!t)return e;var i=vs(2*e);return(i+vs(t))%2===0?i/2:(i+(n?1:-1))/2}var ws=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),Ms={},Ss=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultShape=function(){return new ws},t.prototype.buildPath=function(e,t){var n,i,r,a;if(this.subPixelOptimize){var o=xs(Ms,t,this.style);n=o.x,i=o.y,r=o.width,a=o.height,o.r=t.r,t=o}else n=t.x,i=t.y,r=t.width,a=t.height;t.r?ys(e,t):e.rect(n,i,r,a)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(ls);Ss.prototype.type="rect";var Ts=Ss,Ls={fill:"#000"},Ds=2,As={style:Object(x["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},Xa.style)},Os=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ls,n.attr(t),n}return v(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,Rs(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 je(0,0,0,0),t=this._children,n=[],i=null,r=0;r<t.length;r++){var a=t[r],o=a.getBoundingRect(),s=a.getLocalTransform(n);s?(e.copy(o),e.applyTransform(s),i=i||e.clone(),i.union(e)):(i=i||o.clone(),i.union(o))}this._rect=i||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||Ls},t.prototype.setTextContent=function(e){0},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,i=e.rich||n&&{};return Object(x["m"])(e,t),n&&i?(this._mergeRich(i,n),e.rich=i):i&&(e.rich=i),e},t.prototype._mergeRich=function(e,t){for(var n=Object(x["F"])(t),i=0;i<n.length;i++){var r=n[i];e[r]=e[r]||{},Object(x["m"])(e[r],t[r])}},t.prototype.getAnimationStyleProps=function(){return As},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||ci["a"],n=e.padding,i=Fs(e),r=Na(i,e),a=Bs(e),o=!!e.backgroundColor,s=r.outerHeight,l=r.outerWidth,u=r.contentWidth,c=r.lines,h=r.lineHeight,d=this._defaultStyle,f=e.x||0,p=e.y||0,m=e.align||d.align||"left",g=e.verticalAlign||d.verticalAlign||"top",y=f,v=gi(p,r.contentHeight,g);if(a||n){var _=mi(f,l,m),x=gi(p,s,g);a&&this._renderBackground(e,e,_,x,l,s)}v+=h/2,n&&(y=js(f,m,n),"top"===g?v+=n[0]:"bottom"===g&&(v-=n[2]));for(var b=0,w=!1,M=(Hs("fill"in e?e.fill:(w=!0,d.fill))),S=(zs("stroke"in e?e.stroke:o||d.autoStroke&&!w?null:(b=Ds,d.stroke))),T=e.textShadowBlur>0,L=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),D=r.calculatedLineHeight,A=0;A<c.length;A++){var O=this._getOrCreateChild(hs),k=O.createStyle();O.useStyle(k),k.text=c[A],k.x=y,k.y=v,m&&(k.textAlign=m),k.textBaseline="middle",k.opacity=e.opacity,k.strokeFirst=!0,T&&(k.shadowBlur=e.textShadowBlur||0,k.shadowColor=e.textShadowColor||"transparent",k.shadowOffsetX=e.textShadowOffsetX||0,k.shadowOffsetY=e.textShadowOffsetY||0),k.stroke=S,k.fill=M,S&&(k.lineWidth=e.lineWidth||b,k.lineDash=e.lineDash,k.lineDashOffset=e.lineDashOffset||0),k.font=t,Ps(k,e),v+=h,L&&O.setBoundingRect(new je(mi(k.x,e.width,k.textAlign),gi(k.y,D,k.textBaseline),u,D))}},t.prototype._updateRichTexts=function(){var e=this.style,t=Fs(e),n=Ha(t,e),i=n.width,r=n.outerWidth,a=n.outerHeight,o=e.padding,s=e.x||0,l=e.y||0,u=this._defaultStyle,c=e.align||u.align,h=e.verticalAlign||u.verticalAlign,d=mi(s,r,c),f=gi(l,a,h),p=d,m=f;o&&(p+=o[3],m+=o[0]);var g=p+i;Bs(e)&&this._renderBackground(e,e,d,f,r,a);for(var y=!!e.backgroundColor,v=0;v<n.lines.length;v++){var _=n.lines[v],x=_.tokens,b=x.length,w=_.lineHeight,M=_.width,S=0,T=p,L=g,D=b-1,A=void 0;while(S<b&&(A=x[S],!A.align||"left"===A.align))this._placeToken(A,e,w,m,T,"left",y),M-=A.width,T+=A.width,S++;while(D>=0&&(A=x[D],"right"===A.align))this._placeToken(A,e,w,m,L,"right",y),M-=A.width,L-=A.width,D--;T+=(i-(T-p)-(g-L)-M)/2;while(S<=D)A=x[S],this._placeToken(A,e,w,m,T+A.width/2,"center",y),T+=A.width,S++;m+=w}},t.prototype._placeToken=function(e,t,n,i,r,a,o){var s=t.rich[e.styleName]||{};s.text=e.text;var l=e.verticalAlign,u=i+n/2;"top"===l?u=i+e.height/2:"bottom"===l&&(u=i+n-e.height/2);var c=!e.isLineHolder&&Bs(s);c&&this._renderBackground(s,t,"right"===a?r-e.width:"center"===a?r-e.width/2:r,u-e.height/2,e.width,e.height);var h=!!s.backgroundColor,d=e.textPadding;d&&(r=js(r,a,d),u-=e.height/2-d[0]-e.innerHeight/2);var f=this._getOrCreateChild(hs),p=f.createStyle();f.useStyle(p);var m=this._defaultStyle,g=!1,y=0,v=Hs("fill"in s?s.fill:"fill"in t?t.fill:(g=!0,m.fill)),_=zs("stroke"in s?s.stroke:"stroke"in t?t.stroke:h||o||m.autoStroke&&!g?null:(y=Ds,m.stroke)),b=s.textShadowBlur>0||t.textShadowBlur>0;p.text=e.text,p.x=r,p.y=u,b&&(p.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,p.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),p.textAlign=a,p.textBaseline="middle",p.font=e.font||ci["a"],p.opacity=Object(x["Q"])(s.opacity,t.opacity,1),Ps(p,s),_&&(p.lineWidth=Object(x["Q"])(s.lineWidth,t.lineWidth,y),p.lineDash=Object(x["P"])(s.lineDash,t.lineDash),p.lineDashOffset=t.lineDashOffset||0,p.stroke=_),v&&(p.fill=v);var w=e.contentWidth,M=e.contentHeight;f.setBoundingRect(new je(mi(p.x,w,p.textAlign),gi(p.y,M,p.textBaseline),w,M))},t.prototype._renderBackground=function(e,t,n,i,r,a){var o,s,l=e.backgroundColor,u=e.borderWidth,c=e.borderColor,h=l&&l.image,d=l&&!h,f=e.borderRadius,p=this;if(d||e.lineHeight||u&&c){o=this._getOrCreateChild(Ts),o.useStyle(o.createStyle()),o.style.fill=null;var m=o.shape;m.x=n,m.y=i,m.width=r,m.height=a,m.r=f,o.dirtyShape()}if(d){var g=o.style;g.fill=l||null,g.fillOpacity=Object(x["P"])(e.fillOpacity,1)}else if(h){s=this._getOrCreateChild(gs),s.onload=function(){p.dirtyStyle()};var y=s.style;y.image=l.image,y.x=n,y.y=i,y.width=r,y.height=a}if(u&&c){g=o.style;g.lineWidth=u,g.stroke=c,g.strokeOpacity=Object(x["P"])(e.strokeOpacity,1),g.lineDash=e.borderDash,g.lineDashOffset=e.borderDashOffset||0,o.strokeContainThreshold=0,o.hasFill()&&o.hasStroke()&&(g.strokeFirst=!0,g.lineWidth*=2)}var v=(o||s).style;v.shadowBlur=e.shadowBlur||0,v.shadowColor=e.shadowColor||"transparent",v.shadowOffsetX=e.shadowOffsetX||0,v.shadowOffsetY=e.shadowOffsetY||0,v.opacity=Object(x["Q"])(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return Ns(e)&&(t=[e.fontStyle,e.fontWeight,Es(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(x["T"])(t)||e.textFont||e.font},t}(eo),ks={left:!0,right:1,center:1},Is={top:1,bottom:1,middle:1},Cs=["fontStyle","fontWeight","fontSize","fontFamily"];function Es(e){return"string"!==typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?ci["c"]+"px":e+"px":e}function Ps(e,t){for(var n=0;n<Cs.length;n++){var i=Cs[n],r=t[i];null!=r&&(e[i]=r)}}function Ns(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function Rs(e){return Ys(e),Object(x["k"])(e.rich,Ys),e}function Ys(e){if(e){e.font=Os.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||ks[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||Is[n]?n:"top";var i=e.padding;i&&(e.padding=Object(x["M"])(e.padding))}}function zs(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function Hs(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function js(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function Fs(e){var t=e.text;return null!=t&&(t+=""),t}function Bs(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var Vs=Os,Gs=qr(),Ws=function(e,t,n,i){if(i){var r=Gs(i);r.dataIndex=n,r.dataType=t,r.seriesIndex=e,r.ssrType="chart","group"===i.type&&i.traverse((function(i){var r=Gs(i);r.seriesIndex=e,r.dataIndex=n,r.dataType=t,r.ssrType="chart"}))}},Us=1,Xs={},Zs=qr(),qs=qr(),$s=0,Js=1,Ks=2,Qs=["emphasis","blur","select"],el=["normal","emphasis","blur","select"],tl=10,nl=9,il="highlight",rl="downplay",al="select",ol="unselect",sl="toggleSelect";function ll(e){return null!=e&&"none"!==e}function ul(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function cl(e){ul(e,"emphasis",Ks)}function hl(e){e.hoverState===Ks&&ul(e,"normal",$s)}function dl(e){ul(e,"blur",Js)}function fl(e){e.hoverState===Js&&ul(e,"normal",$s)}function pl(e){e.selected=!0}function ml(e){e.selected=!1}function gl(e,t,n){t(e,n)}function yl(e,t,n){gl(e,t,n),e.isGroup&&e.traverse((function(e){gl(e,t,n)}))}function vl(e,t){switch(t){case"emphasis":e.hoverState=Ks;break;case"normal":e.hoverState=$s;break;case"blur":e.hoverState=Js;break;case"select":e.selected=!0}}function _l(e,t,n,i){for(var r=e.style,a={},o=0;o<t.length;o++){var s=t[o],l=r[s];a[s]=null==l?i&&i[s]:l}for(o=0;o<e.animators.length;o++){var u=e.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(a,t)}return a}function xl(e,t,n,i){var r=n&&Object(x["r"])(n,"select")>=0,a=!1;if(e instanceof ls){var o=Zs(e),s=r&&o.selectFill||o.normalFill,l=r&&o.selectStroke||o.normalStroke;if(ll(s)||ll(l)){i=i||{};var u=i.style||{};"inherit"===u.fill?(a=!0,i=Object(x["m"])({},i),u=Object(x["m"])({},u),u.fill=s):!ll(u.fill)&&ll(s)?(a=!0,i=Object(x["m"])({},i),u=Object(x["m"])({},u),u.fill=Object($t["liftColor"])(s)):!ll(u.stroke)&&ll(l)&&(a||(i=Object(x["m"])({},i),u=Object(x["m"])({},u)),u.stroke=Object($t["liftColor"])(l)),i.style=u}}if(i&&null==i.z2){a||(i=Object(x["m"])({},i));var c=e.z2EmphasisLift;i.z2=e.z2+(null!=c?c:tl)}return i}function bl(e,t,n){if(n&&null==n.z2){n=Object(x["m"])({},n);var i=e.z2SelectLift;n.z2=e.z2+(null!=i?i:nl)}return n}function wl(e,t,n){var i=Object(x["r"])(e.currentStates,t)>=0,r=e.style.opacity,a=i?null:_l(e,["opacity"],t,{opacity:1});n=n||{};var o=n.style||{};return null==o.opacity&&(n=Object(x["m"])({},n),o=Object(x["m"])({opacity:i?r:.1*a.opacity},o),n.style=o),n}function Ml(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return xl(this,e,t,n);if("blur"===e)return wl(this,e,n);if("select"===e)return bl(this,e,n)}return n}function Sl(e){e.stateProxy=Ml;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=Ml),n&&(n.stateProxy=Ml)}function Tl(e,t){!El(e,t)&&!e.__highByOuter&&yl(e,cl)}function Ll(e,t){!El(e,t)&&!e.__highByOuter&&yl(e,hl)}function Dl(e,t){e.__highByOuter|=1<<(t||0),yl(e,cl)}function Al(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&yl(e,hl)}function Ol(e){yl(e,dl)}function kl(e){yl(e,fl)}function Il(e){yl(e,pl)}function Cl(e){yl(e,ml)}function El(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function Pl(e){var t=e.getModel(),n=[],i=[];t.eachComponent((function(t,r){var a=qs(r),o="series"===t,s=o?e.getViewOfSeriesModel(r):e.getViewOfComponentModel(r);!o&&i.push(s),a.isBlured&&(s.group.traverse((function(e){fl(e)})),o&&n.push(r)),a.isBlured=!1})),Object(x["k"])(i,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function Nl(e,t,n,i){var r=i.getModel();function a(e,t){for(var n=0;n<t.length;n++){var i=e.getItemGraphicEl(t[n]);i&&kl(i)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var o=r.getSeriesByIndex(e),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(e){var r=o===e,u=e.coordinateSystem;u&&u.master&&(u=u.master);var c=u&&s?u===s:r;if(!("series"===n&&!r||"coordinateSystem"===n&&!c||"series"===t&&r)){var h=i.getViewOfSeriesModel(e);if(h.group.traverse((function(e){e.__highByOuter&&r&&"self"===t||dl(e)})),Object(x["u"])(t))a(e.getData(),t);else if(Object(x["A"])(t))for(var d=Object(x["F"])(t),f=0;f<d.length;f++)a(e.getData(d[f]),t[d[f]]);l.push(e),qs(e).isBlured=!0}})),r.eachComponent((function(e,t){if("series"!==e){var n=i.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}}))}}function Rl(e,t,n){if(null!=e&&null!=t){var i=n.getModel().getComponent(e,t);if(i){qs(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(e){dl(e)}))}}}function Yl(e,t,n){var i=e.seriesIndex,r=e.getData(t.dataType);if(r){var a=Zr(r,t);a=(Object(x["t"])(a)?a[0]:a)||0;var o=r.getItemGraphicEl(a);if(!o){var s=r.count(),l=0;while(!o&&l<s)o=r.getItemGraphicEl(l++)}if(o){var u=Gs(o);Nl(i,u.focus,u.blurScope,n)}else{var c=e.get(["emphasis","focus"]),h=e.get(["emphasis","blurScope"]);null!=c&&Nl(i,c,h,n)}}}function zl(e,t,n,i){var r={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return r;var a=i.getModel().getComponent(e,t);if(!a)return r;var o=i.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return r;for(var s,l=o.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===Gs(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function Hl(e,t,n){var i=Gs(e),r=zl(i.componentMainType,i.componentIndex,i.componentHighDownName,n),a=r.dispatchers,o=r.focusSelf;a?(o&&Rl(i.componentMainType,i.componentIndex,n),Object(x["k"])(a,(function(e){return Tl(e,t)}))):(Nl(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&Rl(i.componentMainType,i.componentIndex,n),Tl(e,t))}function jl(e,t,n){Pl(n);var i=Gs(e),r=zl(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?Object(x["k"])(r,(function(e){return Ll(e,t)})):Ll(e,t)}function Fl(e,t,n){if(tu(t)){var i=t.dataType,r=e.getData(i),a=Zr(r,t);Object(x["t"])(a)||(a=[a]),e[t.type===sl?"toggleSelect":t.type===al?"select":"unselect"](a,i)}}function Bl(e){var t=e.getAllData();Object(x["k"])(t,(function(t){var n=t.data,i=t.type;n.eachItemGraphicEl((function(t,n){e.isSelected(n,i)?Il(t):Cl(t)}))}))}function Vl(e){var t=[];return e.eachSeries((function(e){var n=e.getAllData();Object(x["k"])(n,(function(n){n.data;var i=n.type,r=e.getSelectedDataIndices();if(r.length>0){var a={dataIndex:r,seriesIndex:e.seriesIndex};null!=i&&(a.dataType=i),t.push(a)}}))})),t}function Gl(e,t,n){Jl(e,!0),yl(e,Sl),Xl(e,t,n)}function Wl(e){Jl(e,!1)}function Ul(e,t,n,i){i?Wl(e):Gl(e,t,n)}function Xl(e,t,n){var i=Gs(e);null!=t?(i.focus=t,i.blurScope=n):i.focus&&(i.focus=null)}var Zl=["emphasis","blur","select"],ql={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function $l(e,t,n,i){n=n||"itemStyle";for(var r=0;r<Zl.length;r++){var a=Zl[r],o=t.getModel([a,n]),s=e.ensureState(a);s.style=i?i(o):o[ql[n]]()}}function Jl(e,t){var n=!1===t,i=e;e.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function Kl(e){return!(!e||!e.__highDownDispatcher)}function Ql(e,t,n){var i=Gs(e);i.componentMainType=t.mainType,i.componentIndex=t.componentIndex,i.componentHighDownName=n}function eu(e){var t=Xs[e];return null==t&&Us<=32&&(t=Xs[e]=Us++),t}function tu(e){var t=e.type;return t===al||t===ol||t===sl}function nu(e){var t=e.type;return t===il||t===rl}function iu(e){var t=Zs(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 ru=qr();function au(e,t,n,i,r){var a;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();a=o&&o.animation}var s=t&&t.isAnimationEnabled(),l="update"===e;if(s){var u=void 0,c=void 0,h=void 0;i?(u=Object(x["P"])(i.duration,200),c=Object(x["P"])(i.easing,"cubicOut"),h=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),h=t.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(u=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(h=a.delay)),Object(x["w"])(h)&&(h=h(n,r)),Object(x["w"])(u)&&(u=u(n));var d={duration:u||0,delay:h,easing:c};return d}return null}function ou(e,t,n,i,r,a,o){var s,l=!1;Object(x["w"])(r)?(o=a,a=r,r=null):Object(x["A"])(r)&&(a=r.cb,o=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===e;u||t.stopAnimation("leave");var c=au(e,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(t,r):null);if(c&&c.duration>0){var h=c.duration,d=c.delay,f=c.easing,p={duration:h,delay:d||0,easing:f,done:a,force:!!a||!!o,setToFinal:!u,scope:e,during:o};l?t.animateFrom(n,p):t.animateTo(n,p)}else t.stopAnimation(),!l&&t.attr(n),o&&o(1),a&&a()}function su(e,t,n,i,r,a){ou("update",e,t,n,i,r,a)}function lu(e,t,n,i,r,a){ou("enter",e,t,n,i,r,a)}function uu(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 cu(e,t,n,i,r,a){uu(e)||ou("leave",e,t,n,i,r,a)}function hu(e,t,n,i){e.removeTextContent(),e.removeTextGuideLine(),cu(e,{style:{opacity:0}},t,n,i)}function du(e,t,n){function i(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||hu(e,t,n,i)})):hu(e,t,n,i)}function fu(e){ru(e).oldStyle=e.style}function pu(e){return ru(e).oldStyle}var mu={};function gu(e,t){for(var n=0;n<Qs.length;n++){var i=Qs[n],r=t[i],a=e.ensureState(i);a.style=a.style||{},a.style.text=r}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function yu(e,t,n){var i,r=e.labelFetcher,a=e.labelDataIndex,o=e.labelDimIndex,s=t.normal;r&&(i=r.getFormattedLabel(a,"normal",null,o,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=Object(x["w"])(e.defaultText)?e.defaultText(a,e,n):e.defaultText);for(var l={normal:i},u=0;u<Qs.length;u++){var c=Qs[u],h=t[c];l[c]=Object(x["P"])(r?r.getFormattedLabel(a,c,null,o,h&&h.get("formatter")):null,i)}return l}function vu(e,t,n,i){n=n||mu;for(var r=e instanceof Vs,a=!1,o=0;o<el.length;o++){var s=t[el[o]];if(s&&s.getShallow("show")){a=!0;break}}var l=r?e:e.getTextContent();if(a){r||(l||(l=new Vs,e.setTextContent(l)),e.stateProxy&&(l.stateProxy=e.stateProxy));var u=yu(n,t),c=t.normal,h=!!c.getShallow("show"),d=xu(c,i&&i.normal,n,!1,!r);d.text=u.normal,r||e.setTextConfig(bu(c,n,!1));for(o=0;o<Qs.length;o++){var f=Qs[o];s=t[f];if(s){var p=l.ensureState(f),m=!!Object(x["P"])(s.getShallow("show"),h);if(m!==h&&(p.ignore=!m),p.style=xu(s,i&&i[f],n,!0,!r),p.style.text=u[f],!r){var g=e.ensureState(f);g.textConfig=bu(s,n,!0)}}}l.silent=!!c.getShallow("silent"),null!=l.style.x&&(d.x=l.style.x),null!=l.style.y&&(d.y=l.style.y),l.ignore=!h,l.useStyle(d),l.dirty(),n.enableTextSetter&&(Ou(l).setLabelText=function(e){var i=yu(n,t,e);gu(l,i)})}else l&&(l.ignore=!0);e.dirty()}function _u(e,t){t=t||"label";for(var n={normal:e.getModel(t)},i=0;i<Qs.length;i++){var r=Qs[i];n[r]=e.getModel([r,t])}return n}function xu(e,t,n,i,r){var a={};return wu(a,e,n,i,r),t&&Object(x["m"])(a,t),a}function bu(e,t,n){t=t||{};var i,r={},a=e.getShallow("rotate"),o=Object(x["P"])(e.getShallow("distance"),n?null:5),s=e.getShallow("offset");return i=e.getShallow("position")||(n?null:"inside"),"outside"===i&&(i=t.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=a&&(a*=Math.PI/180,r.rotation=a),null!=o&&(r.distance=o),r.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",r}function wu(e,t,n,i,r){n=n||mu;var a,o=t.ecModel,s=o&&o.option.textStyle,l=Mu(t);if(l)for(var u in a={},l)if(l.hasOwnProperty(u)){var c=t.getModel(["rich",u]);Du(a[u]={},c,s,n,i,r,!1,!0)}a&&(e.rich=a);var h=t.get("overflow");h&&(e.overflow=h);var d=t.get("minMargin");null!=d&&(e.margin=d),Du(e,t,s,n,i,r,!0,!1)}function Mu(e){var t;while(e&&e!==e.ecModel){var n=(e.option||mu).rich;if(n){t=t||{};for(var i=Object(x["F"])(n),r=0;r<i.length;r++){var a=i[r];t[a]=1}}e=e.parentModel}return t}var Su=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Tu=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Lu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Du(e,t,n,i,r,a,o,s){n=!r&&n||mu;var l=i&&i.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),h=Object(x["P"])(t.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),a||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(e.fill=u),null!=c&&(e.stroke=c);var d=Object(x["P"])(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(e.lineWidth=d);var f=Object(x["P"])(t.getShallow("textBorderType"),n.textBorderType);null!=f&&(e.lineDash=f);var p=Object(x["P"])(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=p&&(e.lineDashOffset=p),r||null!=h||s||(h=i&&i.defaultOpacity),null!=h&&(e.opacity=h),r||a||null==e.fill&&i.inheritColor&&(e.fill=i.inheritColor);for(var m=0;m<Su.length;m++){var g=Su[m],y=Object(x["P"])(t.getShallow(g),n[g]);null!=y&&(e[g]=y)}for(m=0;m<Tu.length;m++){g=Tu[m],y=t.getShallow(g);null!=y&&(e[g]=y)}if(null==e.verticalAlign){var v=t.getShallow("baseline");null!=v&&(e.verticalAlign=v)}if(!o||!i.disableBox){for(m=0;m<Lu.length;m++){g=Lu[m],y=t.getShallow(g);null!=y&&(e[g]=y)}var _=t.getShallow("borderType");null!=_&&(e.borderDash=_),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!l||(e.backgroundColor=l),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!l||(e.borderColor=l)}}function Au(e,t){var n=t&&t.getModel("textStyle");return Object(x["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 Ou=qr();function ku(e,t,n,i){if(e){var r=Ou(e);r.prevValue=r.value,r.value=n;var a=t.normal;r.valueAnimation=a.get("valueAnimation"),r.valueAnimation&&(r.precision=a.get("precision"),r.defaultInterpolatedText=i,r.statesModels=t)}}function Iu(e,t,n,i,r){var a=Ou(e);if(a.valueAnimation&&a.prevValue!==a.value){var o=a.defaultInterpolatedText,s=Object(x["P"])(a.interpolatedValue,a.prevValue),l=a.value;e.percent=0,(null==a.prevValue?lu:su)(e,{percent:1},i,t,null,u)}function u(i){var u=oa(n,a.precision,s,l,i);a.interpolatedValue=1===i?null:u;var c=yu({labelDataIndex:t,labelFetcher:r,defaultText:o?o(u):u+""},a.statesModels,u);gu(e,c)}}var Cu=["textStyle","color"],Eu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Pu=new Vs,Nu=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(Cu):null)},e.prototype.getFont=function(){return Au({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<Eu.length;n++)t[Eu[n]]=this.getShallow(Eu[n]);return Pu.useStyle(t),Pu.update(),Pu.getBoundingRect()},e}(),Ru=Nu,Yu=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],zu=ba(Yu),Hu=function(){function e(){}return e.prototype.getLineStyle=function(e){return zu(this,e)},e}(),ju=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Fu=ba(ju),Bu=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return Fu(this,e,t)},e}(),Vu=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 i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},e.prototype.mergeOption=function(e,t){Object(x["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,i=null==n?n:n[e];if(null==i&&!t){var r=this.parentModel;r&&(i=r.getShallow(e))}return i},e.prototype.getModel=function(t,n){var i=null!=t,r=i?this.parsePath(t):null,a=i?this._doGet(r):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),new e(a,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(x["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(!_["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 i=0;i<e.length;i++)if(e[i]&&(n=n&&"object"===typeof n?n[e[i]]:null,null==n))break;return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();fa(Vu),ya(Vu),Object(x["K"])(Vu,Hu),Object(x["K"])(Vu,Bu),Object(x["K"])(Vu,Sa),Object(x["K"])(Vu,Ru);var Gu=Vu,Wu=Math.round(10*Math.random());function Uu(e){return[e||"",Wu++].join("_")}function Xu(e){var t={};e.registerSubTypeDefaulter=function(e,n){var i=ca(e);t[i.main]=n},e.determineSubType=function(n,i){var r=i.type;if(!r){var a=ca(n).main;e.hasSubTypes(n)&&t[a]&&(r=t[a](i))}return r}}function Zu(e,t){function n(e){var n={},a=[];return x["k"](e,(function(o){var s=i(n,o),l=s.originalDeps=t(o),u=r(l,e);s.entryCount=u.length,0===s.entryCount&&a.push(o),x["k"](u,(function(e){x["r"](s.predecessor,e)<0&&s.predecessor.push(e);var t=i(n,e);x["r"](t.successor,e)<0&&t.successor.push(o)}))})),{graph:n,noEntryList:a}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function r(e,t){var n=[];return x["k"](e,(function(e){x["r"](t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,i,r){if(e.length){var a=n(t),o=a.graph,s=a.noEntryList,l={};x["k"](e,(function(e){l[e]=!0}));while(s.length){var u=s.pop(),c=o[u],h=!!l[u];h&&(i.call(r,u,c.originalDeps.slice()),delete l[u]),x["k"](c.successor,h?f:d)}x["k"](l,(function(){var e="";throw new Error(e)}))}function d(e){o[e].entryCount--,0===o[e].entryCount&&s.push(e)}function f(e){l[e]=!0,d(e)}}}function qu(e,t){return x["I"](x["I"]({},e,!0),t,!0)}var $u={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:""}}}},Ku="ZH",Qu="EN",ec=Qu,tc={},nc={},ic=_["a"].domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||ec).toUpperCase();return e.indexOf(Ku)>-1?Ku:ec}():ec;function rc(e,t){e=e.toUpperCase(),nc[e]=new Gu(t),tc[e]=t}function ac(e){if(Object(x["C"])(e)){var t=tc[e.toUpperCase()]||{};return e===Ku||e===Qu?Object(x["d"])(t):Object(x["I"])(Object(x["d"])(t),Object(x["d"])(tc[ec]),!1)}return Object(x["I"])(Object(x["d"])(e),Object(x["d"])(tc[ec]),!1)}function oc(e){return nc[e]}function sc(){return nc[ec]}rc(Qu,$u),rc(Ku,Ju);var lc=1e3,uc=60*lc,cc=60*uc,hc=24*cc,dc=365*hc,fc={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}"},pc="{yyyy}-{MM}-{dd}",mc={year:"{yyyy}",month:"{yyyy}-{MM}",day:pc,hour:pc+" "+fc.hour,minute:pc+" "+fc.minute,second:pc+" "+fc.second,millisecond:fc.none},gc=["year","month","day","hour","minute","second","millisecond"],yc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function vc(e,t){return e+="","0000".substr(0,t-e.length)+e}function _c(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 xc(e){return e===_c(e)}function bc(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function wc(e,t,n,i){var r=fr(e),a=r[Lc(n)](),o=r[Dc(n)]()+1,s=Math.floor((o-1)/3)+1,l=r[Ac(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[Oc(n)](),h=(c-1)%12+1,d=r[kc(n)](),f=r[Ic(n)](),p=r[Cc(n)](),m=c>=12?"pm":"am",g=m.toUpperCase(),y=i instanceof Gu?i:oc(i||ic)||sc(),v=y.getModel("time"),_=v.get("month"),x=v.get("monthAbbr"),b=v.get("dayOfWeek"),w=v.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,m+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,vc(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,x[o-1]).replace(/{MM}/g,vc(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,vc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,w[u]).replace(/{e}/g,u+"").replace(/{HH}/g,vc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,vc(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,vc(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,vc(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,vc(p,3)).replace(/{S}/g,p+"")}function Mc(e,t,n,i,r){var a=null;if(x["C"](n))a=n;else if(x["w"](n))a=n(e.value,t,{level:e.level});else{var o=x["m"]({},fc);if(e.level>0)for(var s=0;s<gc.length;++s)o[gc[s]]="{primary|"+o[gc[s]]+"}";var l=n?!1===n.inherit?n:x["i"](n,o):o,u=Sc(e.value,r);if(l[u])a=l[u];else if(l.inherit){var c=yc.indexOf(u);for(s=c-1;s>=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(x["t"](a)){var h=null==e.level?0:e.level>=0?e.level:a.length+e.level;h=Math.min(h,a.length-1),a=a[h]}}return wc(new Date(e.value),a,r,i)}function Sc(e,t){var n=fr(e),i=n[Dc(t)]()+1,r=n[Ac(t)](),a=n[Oc(t)](),o=n[kc(t)](),s=n[Ic(t)](),l=n[Cc(t)](),u=0===l,c=u&&0===s,h=c&&0===o,d=h&&0===a,f=d&&1===r,p=f&&1===i;return p?"year":f?"month":d?"day":h?"hour":c?"minute":u?"second":"millisecond"}function Tc(e,t,n){var i=x["z"](e)?fr(e):e;switch(t=t||Sc(e,n),t){case"year":return i[Lc(n)]();case"half-year":return i[Dc(n)]()>=6?1:0;case"quarter":return Math.floor((i[Dc(n)]()+1)/4);case"month":return i[Dc(n)]();case"day":return i[Ac(n)]();case"half-day":return i[Oc(n)]()/24;case"hour":return i[Oc(n)]();case"minute":return i[kc(n)]();case"second":return i[Ic(n)]();case"millisecond":return i[Cc(n)]()}}function Lc(e){return e?"getUTCFullYear":"getFullYear"}function Dc(e){return e?"getUTCMonth":"getMonth"}function Ac(e){return e?"getUTCDate":"getDate"}function Oc(e){return e?"getUTCHours":"getHours"}function kc(e){return e?"getUTCMinutes":"getMinutes"}function Ic(e){return e?"getUTCSeconds":"getSeconds"}function Cc(e){return e?"getUTCMilliseconds":"getMilliseconds"}function Ec(e){return e?"setUTCFullYear":"setFullYear"}function Pc(e){return e?"setUTCMonth":"setMonth"}function Nc(e){return e?"setUTCDate":"setDate"}function Rc(e){return e?"setUTCHours":"setHours"}function Yc(e){return e?"setUTCMinutes":"setMinutes"}function zc(e){return e?"setUTCSeconds":"setSeconds"}function Hc(e){return e?"setUTCMilliseconds":"setMilliseconds"}function jc(e){if(!xr(e))return x["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 Fc(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 Bc=x["M"];function Vc(e,t,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function r(e){return e&&x["T"](e)?e:"-"}function a(e){return!(null==e||isNaN(e)||!isFinite(e))}var o="time"===t,s=e instanceof Date;if(o||s){var l=o?fr(e):e;if(!isNaN(+l))return wc(l,i,n);if(s)return"-"}if("ordinal"===t)return x["D"](e)?r(e):x["z"](e)&&a(e)?e+"":"-";var u=_r(e);return a(u)?jc(u):x["D"](e)?r(e):"boolean"===typeof e?e+"":"-"}var Gc=["a","b","c","d","e","f","g"],Wc=function(e,t){return"{"+e+(null==t?"":t)+"}"};function Uc(e,t,n){x["t"](t)||(t=[t]);var i=t.length;if(!i)return"";for(var r=t[0].$vars||[],a=0;a<r.length;a++){var o=Gc[a];e=e.replace(Wc(o),Wc(o,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=t[s][r[l]];e=e.replace(Wc(Gc[l],s),n?ie(u):u)}return e}function Xc(e,t,n){return x["k"](t,(function(t,i){e=e.replace("{"+i+"}",n?ie(t):t)})),e}function Zc(e,t){var n=x["C"](e)?{color:e,extraCssText:t}:e||{},i=n.color,r=n.type;t=n.extraCssText;var a=n.renderMode||"html";if(!i)return"";if("html"===a)return"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ie(i)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ie(i)+";"+(t||"")+'"></span>';var o=n.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function qc(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var i=fr(t),r=n?"getUTC":"get",a=i[r+"FullYear"](),o=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),c=i[r+"Seconds"](),h=i[r+"Milliseconds"]();return e=e.replace("MM",vc(o,2)).replace("M",o).replace("yyyy",a).replace("yy",vc(a%100+"",2)).replace("dd",vc(s,2)).replace("d",s).replace("hh",vc(l,2)).replace("h",l).replace("mm",vc(u,2)).replace("m",u).replace("ss",vc(c,2)).replace("s",c).replace("SSS",vc(h,3)),e}function $c(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}function Jc(e,t){return t=t||"transparent",x["C"](e)?e:x["A"](e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Kc(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var Qc=x["k"],eh=["left","right","top","bottom","width","height"],th=[["width","left","right"],["height","top","bottom"]];function nh(e,t,n,i,r){var a=0,o=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;t.eachChild((function(l,u){var c,h,d=l.getBoundingRect(),f=t.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===e){var m=d.width+(p?-p.x+d.x:0);c=a+m,c>i||l.newline?(a=0,c=m,o+=s+n,s=d.height):s=Math.max(s,d.height)}else{var g=d.height+(p?-p.y+d.y:0);h=o+g,h>r||l.newline?(a+=s+n,o=0,h=g,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===e?a=c+n:o=h+n)}))}var ih=nh;x["h"](nh,"vertical"),x["h"](nh,"horizontal");function rh(e,t,n){var i=t.width,r=t.height,a=er(e.left,i),o=er(e.top,r),s=er(e.right,i),l=er(e.bottom,r);return(isNaN(a)||isNaN(parseFloat(e.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=i),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(e.bottom)))&&(l=r),n=Bc(n||0),{width:Math.max(s-a-n[1]-n[3],0),height:Math.max(l-o-n[0]-n[2],0)}}function ah(e,t,n){n=Bc(n||0);var i=t.width,r=t.height,a=er(e.left,i),o=er(e.top,r),s=er(e.right,i),l=er(e.bottom,r),u=er(e.width,i),c=er(e.height,r),h=n[2]+n[0],d=n[1]+n[3],f=e.aspect;switch(isNaN(u)&&(u=i-s-d-a),isNaN(c)&&(c=r-l-h-o),null!=f&&(isNaN(u)&&isNaN(c)&&(f>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(a)&&(a=i-s-u-d),isNaN(o)&&(o=r-l-c-h),e.left||e.right){case"center":a=i/2-u/2-n[3];break;case"right":a=i-u-d;break}switch(e.top||e.bottom){case"middle":case"center":o=r/2-c/2-n[0];break;case"bottom":o=r-c-h;break}a=a||0,o=o||0,isNaN(u)&&(u=i-d-a-(s||0)),isNaN(c)&&(c=r-h-o-(l||0));var p=new je(a+n[3],o+n[0],u,c);return p.margin=n,p}function oh(e,t,n,i,r,a){var o,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if(a=a||e,a.x=e.x,a.y=e.y,!s&&!l)return!1;if("raw"===u)o="group"===e.type?new je(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(o=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();o=o.clone(),o.applyTransform(c)}var h=ah(x["i"]({width:o.width,height:o.height},t),n,i),d=s?h.x-o.x:0,f=l?h.y-o.y:0;return"raw"===u?(a.x=d,a.y=f):(a.x+=d,a.y+=f),a===e&&e.markRedraw(),!0}function sh(e,t){return null!=e[th[t][0]]||null!=e[th[t][1]]&&null!=e[th[t][2]]}function lh(e){var t=e.layoutMode||e.constructor.layoutMode;return x["A"](t)?t:t?{type:t}:null}function uh(e,t,n){var i=n&&n.ignoreSize;!x["t"](i)&&(i=[i,i]);var r=o(th[0],0),a=o(th[1],1);function o(n,r){var a={},o=0,u={},c=0,h=2;if(Qc(n,(function(t){u[t]=e[t]})),Qc(n,(function(e){s(t,e)&&(a[e]=u[e]=t[e]),l(a,e)&&o++,l(u,e)&&c++})),i[r])return l(t,n[1])?u[n[2]]=null:l(t,n[2])&&(u[n[1]]=null),u;if(c!==h&&o){if(o>=h)return a;for(var d=0;d<n.length;d++){var f=n[d];if(!s(a,f)&&s(e,f)){a[f]=e[f];break}}return a}return u}function s(e,t){return e.hasOwnProperty(t)}function l(e,t){return null!=e[t]&&"auto"!==e[t]}function u(e,t,n){Qc(e,(function(e){t[e]=n[e]}))}u(th[0],e,r),u(th[1],e,a)}function ch(e){return hh({},e)}function hh(e,t){return t&&e&&Qc(eh,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var dh=qr(),fh=function(e){function t(t,n,i){var r=e.call(this,t,n,i)||this;return r.uid=Uu("ec_cpt_model"),r}return v(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=lh(this),i=n?ch(e):{},r=t.getTheme();x["I"](e,r.get(this.mainType)),x["I"](e,this.getDefaultOption()),n&&uh(e,i,n)},t.prototype.mergeOption=function(e,t){x["I"](this.option,e,!0);var n=lh(this);n&&uh(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!da(e))return e.defaultOption;var t=dh(this);if(!t.defaultOption){var n=[],i=e;while(i){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var a={},o=n.length-1;o>=0;o--)a=x["I"](a,n[o],!0);t.defaultOption=a}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",i=e+"Id";return ta(this.ecModel,e,{index:this.get(n,!0),id:this.get(i,!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}(Gu);function ph(e){var t=[];return x["k"](fh.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=x["H"](t,(function(e){return ca(e).main})),"dataset"!==e&&x["r"](t,"dataset")<=0&&t.unshift("dataset"),t}ma(fh,Gu),xa(fh),Xu(fh),Zu(fh,ph);var mh=fh,gh="";"undefined"!==typeof navigator&&(gh=navigator.platform||"");var yh="rgba(0, 0, 0, 0.2)",vh={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:yh,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:yh,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:yh,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:yh,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:yh,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:yh,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:gh.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},_h=Object(x["f"])(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),xh="original",bh="arrayRows",wh="objectRows",Mh="keyedColumns",Sh="typedArray",Th="unknown",Lh="column",Dh="row",Ah={Must:1,Might:2,Not:3},Oh=qr();function kh(e){Oh(e).datasetMap=Object(x["f"])()}function Ih(e,t,n){var i={},r=Eh(t);if(!r||!e)return i;var a,o,s=[],l=[],u=t.ecModel,c=Oh(u).datasetMap,h=r.uid+"_"+n.seriesLayoutBy;e=e.slice(),Object(x["k"])(e,(function(t,n){var r=Object(x["A"])(t)?t:e[n]={name:t};"ordinal"===r.type&&null==a&&(a=n,o=p(r)),i[r.name]=[]}));var d=c.get(h)||c.set(h,{categoryWayDim:o,valueWayDim:0});function f(e,t,n){for(var i=0;i<n;i++)e.push(t+i)}function p(e){var t=e.dimsDef;return t?t.length:1}return Object(x["k"])(e,(function(e,t){var n=e.name,r=p(e);if(null==a){var o=d.valueWayDim;f(i[n],o,r),f(l,o,r),d.valueWayDim+=r}else if(a===t)f(i[n],0,r),f(s,0,r);else{o=d.categoryWayDim;f(i[n],o,r),f(l,o,r),d.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function Ch(e,t,n){var i={},r=Eh(e);if(!r)return i;var a,o=t.sourceFormat,s=t.dimensionsDefine;o!==wh&&o!==Mh||Object(x["k"])(s,(function(e,t){"name"===(Object(x["A"])(e)?e.name:e)&&(a=t)}));var l=function(){for(var e={},i={},r=[],l=0,u=Math.min(5,n);l<u;l++){var c=Rh(t.data,o,t.seriesLayoutBy,s,t.startIndex,l);r.push(c);var h=c===Ah.Not;if(h&&null==e.v&&l!==a&&(e.v=l),(null==e.n||e.n===e.v||!h&&r[e.n]===Ah.Not)&&(e.n=l),d(e)&&r[e.n]!==Ah.Not)return e;h||(c===Ah.Might&&null==i.v&&l!==a&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function d(e){return null!=e.v&&null!=e.n}return d(e)?e:d(i)?i:null}();if(l){i.value=[l.v];var u=null!=a?a:l.n;i.itemName=[u],i.seriesName=[u]}return i}function Eh(e){var t=e.get("data",!0);if(!t)return ta(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},Qr).models[0]}function Ph(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?ta(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},Qr).models:[]}function Nh(e,t){return Rh(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function Rh(e,t,n,i,r,a){var o,s,l,u=5;if(Object(x["E"])(e))return Ah.Not;if(i){var c=i[a];Object(x["A"])(c)?(s=c.name,l=c.type):Object(x["C"])(c)&&(s=c)}if(null!=l)return"ordinal"===l?Ah.Must:Ah.Not;if(t===bh){var h=e;if(n===Dh){for(var d=h[a],f=0;f<(d||[]).length&&f<u;f++)if(null!=(o=b(d[r+f])))return o}else for(f=0;f<h.length&&f<u;f++){var p=h[r+f];if(p&&null!=(o=b(p[a])))return o}}else if(t===wh){var m=e;if(!s)return Ah.Not;for(f=0;f<m.length&&f<u;f++){var g=m[f];if(g&&null!=(o=b(g[s])))return o}}else if(t===Mh){var y=e;if(!s)return Ah.Not;d=y[s];if(!d||Object(x["E"])(d))return Ah.Not;for(f=0;f<d.length&&f<u;f++)if(null!=(o=b(d[f])))return o}else if(t===xh){var v=e;for(f=0;f<v.length&&f<u;f++){g=v[f];var _=kr(g);if(!Object(x["t"])(_))return Ah.Not;if(null!=(o=b(_[a])))return o}}function b(e){var t=Object(x["C"])(e);return null!=e&&Number.isFinite(Number(e))&&""!==e?t?Ah.Might:Ah.Not:t&&"-"!==e?Ah.Must:void 0}return Ah.Not}var Yh=Object(x["f"])();function zh(e,t){Object(x["b"])(null==Yh.get(e)&&t),Yh.set(e,t)}function Hh(e,t,n){var i=Yh.get(t);if(!i)return n;var r=i(e);return r?n.concat(r):n}var jh=qr(),Fh=qr(),Bh=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var i=Dr(this.get("color",!0)),r=this.get("colorLayer",!0);return Wh(this,jh,i,r,e,t,n)},e.prototype.clearColorPalette=function(){Uh(this,jh)},e}();function Vh(e,t,n,i){var r=Dr(e.get(["aria","decal","decals"]));return Wh(e,Fh,r,null,t,n,i)}function Gh(e,t){for(var n=e.length,i=0;i<n;i++)if(e[i].length>t)return e[i];return e[n-1]}function Wh(e,t,n,i,r,a,o){a=a||e;var s=t(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=o&&i?Gh(i,o):n;if(c=c||n,c&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}function Uh(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Xh,Zh,qh;"undefined"!==typeof console&&console.warn&&console.log;function $h(e){0}function Jh(e){throw new Error(e)}var Kh="\0_ec_inner",Qh=1;var ed=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.init=function(e,t,n,i,r,a){i=i||{},this.option=null,this._theme=new Gu(i),this._locale=new Gu(r),this._optionManager=a},t.prototype.setOption=function(e,t,n){var i=ad(t);this._optionManager.setOption(e,n,i),this._resetOption(null,i)},t.prototype.resetOption=function(e,t){return this._resetOption(e,ad(t))},t.prototype._resetOption=function(e,t){var n=!1,i=this._optionManager;if(!e||"recreate"===e){var r=i.mountOption("recreate"===e);0,this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(r,t)):qh(this,r),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,t))}if(!e||"recreate"===e||"media"===e){var o=i.getMediaOption(this);o.length&&Object(x["k"])(o,(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,i=this._componentsMap,r=this._componentsCount,a=[],o=Object(x["f"])(),s=t&&t.replaceMergeMainTypeMap;function l(t){var a=Hh(this,t,Dr(e[t])),o=i.get(t),l=o?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll",u=Cr(o,a,l);Wr(u,t,mh),n[t]=null,i.set(t,null),r.set(t,0);var c,h=[],d=[],f=0;Object(x["k"])(u,(function(e,n){var i=e.existing,r=e.newOption;if(r){var a="series"===t,o=mh.getClass(t,e.keyInfo.subType,!a);if(!o)return;if("tooltip"===t){if(c)return void 0;c=!0}if(i&&i.constructor===o)i.name=e.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=Object(x["m"])({componentIndex:n},e.keyInfo);i=new o(r,this,this,s),Object(x["m"])(i,s),e.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(h.push(i.option),d.push(i),f++):(h.push(void 0),d.push(void 0))}),this),n[t]=h,i.set(t,d),r.set(t,f),"series"===t&&Xh(this)}kh(this),Object(x["k"])(e,(function(e,t){null!=e&&(mh.hasClass(t)?t&&(a.push(t),o.set(t,!0)):n[t]=null==n[t]?Object(x["d"])(e):Object(x["I"])(n[t],e,!0))})),s&&s.each((function(e,t){mh.hasClass(t)&&!o.get(t)&&(a.push(t),o.set(t,!0))})),mh.topologicalTravel(a,mh.getAllClassMainTypes(),l,this),this._seriesIndices||Xh(this)},t.prototype.getOption=function(){var e=Object(x["d"])(this.option);return Object(x["k"])(e,(function(t,n){if(mh.hasClass(n)){for(var i=Dr(t),r=i.length,a=!1,o=r-1;o>=0;o--)i[o]&&!Vr(i[o])?a=!0:(i[o]=null,!a&&r--);i.length=r,e[n]=i}})),delete e[Kh],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 i=n[t||0];if(i)return i;if(null==t)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,i=e.index,r=e.id,a=e.name,o=this._componentsMap.get(t);return o&&o.length?(null!=i?(n=[],Object(x["k"])(Dr(i),(function(e){o[e]&&n.push(o[e])}))):n=null!=r?id("id",r,o):null!=a?id("name",a,o):Object(x["n"])(o,(function(e){return!!e})),rd(n,e)):[]},t.prototype.findComponents=function(e){var t=e.query,n=e.mainType,i=a(t),r=i?this.queryComponents(i):Object(x["n"])(this._componentsMap.get(n),(function(e){return!!e}));return o(rd(r,e));function a(e){var t=n+"Index",i=n+"Id",r=n+"Name";return!e||null==e[t]&&null==e[i]&&null==e[r]?null:{mainType:n,index:e[t],id:e[i],name:e[r]}}function o(t){return e.filter?Object(x["n"])(t,e.filter):t}},t.prototype.eachComponent=function(e,t,n){var i=this._componentsMap;if(Object(x["w"])(e)){var r=t,a=e;i.each((function(e,t){for(var n=0;e&&n<e.length;n++){var i=e[n];i&&a.call(r,t,i,i.componentIndex)}}))}else for(var o=Object(x["C"])(e)?i.get(e):Object(x["A"])(e)?this.findComponents(e):null,s=0;o&&s<o.length;s++){var l=o[s];l&&t.call(n,l,l.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=Fr(e,null);return Object(x["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(x["n"])(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return Object(x["n"])(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){Zh(this),Object(x["k"])(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)}),this)},t.prototype.eachRawSeries=function(e,t){Object(x["k"])(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,n){Zh(this),Object(x["k"])(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===e&&t.call(n,r,i)}),this)},t.prototype.eachRawSeriesByType=function(e,t,n){return Object(x["k"])(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return Zh(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){Zh(this);var n=[];Object(x["k"])(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];e.call(t,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=Object(x["f"])(n)},t.prototype.restoreData=function(e){Xh(this);var t=this._componentsMap,n=[];t.each((function(e,t){mh.hasClass(t)&&n.push(t)})),mh.topologicalTravel(n,mh.getAllClassMainTypes(),(function(n){Object(x["k"])(t.get(n),(function(t){!t||"series"===n&&td(t,e)||t.restoreData()}))}))},t.internalField=function(){Xh=function(e){var t=e._seriesIndices=[];Object(x["k"])(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=Object(x["f"])(t)},Zh=function(e){0},qh=function(e,t){e.option={},e.option[Kh]=Qh,e._componentsMap=Object(x["f"])({series:[]}),e._componentsCount=Object(x["f"])();var n=t.aria;Object(x["A"])(n)&&null==n.enabled&&(n.enabled=!0),nd(t,e._theme.option),Object(x["I"])(t,vh,!1),e._mergeOption(t,null)}}(),t}(Gu);function td(e,t){if(t){var n=t.seriesIndex,i=t.seriesId,r=t.seriesName;return null!=n&&e.componentIndex!==n||null!=i&&e.id!==i||null!=r&&e.name!==r}}function nd(e,t){var n=e.color&&!e.colorLayer;Object(x["k"])(t,(function(t,i){"colorLayer"===i&&n||mh.hasClass(i)||("object"===typeof t?e[i]=e[i]?Object(x["I"])(e[i],t,!1):Object(x["d"])(t):null==e[i]&&(e[i]=t))}))}function id(e,t,n){if(Object(x["t"])(t)){var i=Object(x["f"])();return Object(x["k"])(t,(function(e){if(null!=e){var t=Fr(e,null);null!=t&&i.set(e,!0)}})),Object(x["n"])(n,(function(t){return t&&i.get(t[e])}))}var r=Fr(t,null);return Object(x["n"])(n,(function(t){return t&&null!=r&&t[e]===r}))}function rd(e,t){return t.hasOwnProperty("subType")?Object(x["n"])(e,(function(e){return e&&e.subType===t.subType})):e}function ad(e){var t=Object(x["f"])();return e&&Object(x["k"])(Dr(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}Object(x["K"])(ed,Bh);var od=ed,sd=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],ld=function(){function e(e){x["k"](sd,(function(t){this[t]=x["c"](e[t],e)}),this)}return e}(),ud=ld,cd={},hd=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];x["k"](cd,(function(i,r){var a=i.create(e,t);n=n.concat(a||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){x["k"](this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){cd[e]=t},e.get=function(e){return cd[e]},e}(),dd=hd,fd=/^(min|max)?(.+)$/,pd=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&(Object(x["k"])(Dr(e.series),(function(e){e&&e.data&&Object(x["E"])(e.data)&&Object(x["R"])(e.data)})),Object(x["k"])(Dr(e.dataset),(function(e){e&&e.source&&Object(x["E"])(e.source)&&Object(x["R"])(e.source)}))),e=Object(x["d"])(e);var i=this._optionBackup,r=md(e,t,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},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(x["d"])(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var i=e.getComponent("timeline");i&&(t=Object(x["d"])(n[i.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,a=[],o=[];if(!i.length&&!r)return o;for(var s=0,l=i.length;s<l;s++)gd(i[s].query,t,n)&&a.push(s);return!a.length&&r&&(a=[-1]),a.length&&!vd(a,this._currentMediaIndices)&&(o=Object(x["H"])(a,(function(e){return Object(x["d"])(-1===e?r.option:i[e].option)}))),this._currentMediaIndices=a,o},e}();function md(e,t,n){var i,r,a=[],o=e.baseOption,s=e.timeline,l=e.options,u=e.media,c=!!e.media,h=!!(l||s||o&&o.timeline);function d(e){Object(x["k"])(t,(function(t){t(e,n)}))}return o?(r=o,r.timeline||(r.timeline=s)):((h||c)&&(e.options=e.media=null),r=e),c&&Object(x["t"])(u)&&Object(x["k"])(u,(function(e){e&&e.option&&(e.query?a.push(e):i||(i=e))})),d(r),Object(x["k"])(l,(function(e){return d(e)})),Object(x["k"])(a,(function(e){return d(e.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:a}}function gd(e,t,n){var i={width:t,height:n,aspectratio:t/n},r=!0;return Object(x["k"])(e,(function(e,t){var n=t.match(fd);if(n&&n[1]&&n[2]){var a=n[1],o=n[2].toLowerCase();yd(i[o],e,a)||(r=!1)}})),r}function yd(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function vd(e,t){return e.join(",")===t.join(",")}var _d=pd,xd=x["k"],bd=x["A"],wd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Md(e){var t=e&&e.itemStyle;if(t)for(var n=0,i=wd.length;n<i;n++){var r=wd[n],a=t.normal,o=t.emphasis;a&&a[r]&&(e[r]=e[r]||{},e[r].normal?x["I"](e[r].normal,a[r]):e[r].normal=a[r],a[r]=null),o&&o[r]&&(e[r]=e[r]||{},e[r].emphasis?x["I"](e[r].emphasis,o[r]):e[r].emphasis=o[r],o[r]=null)}}function Sd(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var i=e[t].normal,r=e[t].emphasis;i&&(n?(e[t].normal=e[t].emphasis=null,x["i"](e[t],i)):e[t]=i),r&&(e.emphasis=e.emphasis||{},e.emphasis[t]=r,r.focus&&(e.emphasis.focus=r.focus),r.blurScope&&(e.emphasis.blurScope=r.blurScope))}}function Td(e){Sd(e,"itemStyle"),Sd(e,"lineStyle"),Sd(e,"areaStyle"),Sd(e,"label"),Sd(e,"labelLine"),Sd(e,"upperLabel"),Sd(e,"edgeLabel")}function Ld(e,t){var n=bd(e)&&e[t],i=bd(n)&&n.textStyle;if(i){0;for(var r=0,a=Or.length;r<a;r++){var o=Or[r];i.hasOwnProperty(o)&&(n[o]=i[o])}}}function Dd(e){e&&(Td(e),Ld(e,"label"),e.emphasis&&Ld(e.emphasis,"label"))}function Ad(e){if(bd(e)){Md(e),Td(e),Ld(e,"label"),Ld(e,"upperLabel"),Ld(e,"edgeLabel"),e.emphasis&&(Ld(e.emphasis,"label"),Ld(e.emphasis,"upperLabel"),Ld(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(Md(t),Dd(t));var n=e.markLine;n&&(Md(n),Dd(n));var i=e.markArea;i&&Dd(i);var r=e.data;if("graph"===e.type){r=r||e.nodes;var a=e.links||e.edges;if(a&&!x["E"](a))for(var o=0;o<a.length;o++)Dd(a[o]);x["k"](e.categories,(function(e){Td(e)}))}if(r&&!x["E"](r))for(o=0;o<r.length;o++)Dd(r[o]);if(t=e.markPoint,t&&t.data){var s=t.data;for(o=0;o<s.length;o++)Dd(s[o])}if(n=e.markLine,n&&n.data){var l=n.data;for(o=0;o<l.length;o++)x["t"](l[o])?(Dd(l[o][0]),Dd(l[o][1])):Dd(l[o])}"gauge"===e.type?(Ld(e,"axisLabel"),Ld(e,"title"),Ld(e,"detail")):"treemap"===e.type?(Sd(e.breadcrumb,"itemStyle"),x["k"](e.levels,(function(e){Td(e)}))):"tree"===e.type&&Td(e.leaves)}}function Od(e){return x["t"](e)?e:e?[e]:[]}function kd(e){return(x["t"](e)?e[0]:e)||{}}function Id(e,t){xd(Od(e.series),(function(e){bd(e)&&Ad(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),xd(n,(function(t){xd(Od(e[t]),(function(e){e&&(Ld(e,"axisLabel"),Ld(e.axisPointer,"label"))}))})),xd(Od(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;Ld(t,"axisLabel"),Ld(t&&t.axisPointer,"label")})),xd(Od(e.calendar),(function(e){Sd(e,"itemStyle"),Ld(e,"dayLabel"),Ld(e,"monthLabel"),Ld(e,"yearLabel")})),xd(Od(e.radar),(function(e){Ld(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)})),xd(Od(e.geo),(function(e){bd(e)&&(Dd(e),xd(Od(e.regions),(function(e){Dd(e)})))})),xd(Od(e.timeline),(function(e){Dd(e),Sd(e,"label"),Sd(e,"itemStyle"),Sd(e,"controlStyle",!0);var t=e.data;x["t"](t)&&x["k"](t,(function(e){x["A"](e)&&(Sd(e,"label"),Sd(e,"itemStyle"))}))})),xd(Od(e.toolbox),(function(e){Sd(e,"iconStyle"),xd(e.feature,(function(e){Sd(e,"iconStyle")}))})),Ld(kd(e.axisPointer),"label"),Ld(kd(e.tooltip).axisPointer,"label")}function Cd(e,t){for(var n=t.split(","),i=e,r=0;r<n.length;r++)if(i=i&&i[n[r]],null==i)break;return i}function Ed(e,t,n,i){for(var r,a=t.split(","),o=e,s=0;s<a.length-1;s++)r=a[s],null==o[r]&&(o[r]={}),o=o[r];(i||null==o[a[s]])&&(o[a[s]]=n)}function Pd(e){e&&Object(x["k"])(Nd,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var Nd=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Rd=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Yd=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function zd(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<Yd.length;n++){var i=Yd[n][1],r=Yd[n][0];null!=t[i]&&(t[r]=t[i])}}function Hd(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function jd(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function Fd(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}function Bd(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&Bd(e[n].children,t)}function Vd(e,t){Id(e,t),e.series=Dr(e.series),Object(x["k"])(e.series,(function(e){if(Object(x["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),Hd(e.label);var n=e.data;if(n&&!Object(x["E"])(n))for(var i=0;i<n.length;i++)Hd(n[i]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var r=Cd(e,"pointer.color");null!=r&&Ed(e,"itemStyle.color",r)}else if("bar"===t){zd(e),zd(e.backgroundStyle),zd(e.emphasis);n=e.data;if(n&&!Object(x["E"])(n))for(i=0;i<n.length;i++)"object"===typeof n[i]&&(zd(n[i]),zd(n[i]&&n[i].emphasis))}else if("sunburst"===t){var a=e.highlightPolicy;a&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=a)),jd(e),Bd(e.data,jd)}else"graph"===t||"sankey"===t?Fd(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&Object(x["i"])(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),Pd(e)}})),e.dataRange&&(e.visualMap=e.dataRange),Object(x["k"])(Rd,(function(t){var n=e[t];n&&(Object(x["t"])(n)||(n=[n]),Object(x["k"])(n,(function(e){Pd(e)})))}))}function Gd(e){var t=Object(x["f"])();e.eachSeries((function(e){var n=e.get("stack");if(n){var i=t.get(n)||t.set(n,[]),r=e.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:e};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}})),t.each(Wd)}function Wd(e){Object(x["k"])(e,(function(t,n){var i=[],r=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,(function(a,u,c){var h,d,f=o.get(t.stackedDimension,c);if(isNaN(f))return r;s?d=o.getRawIndex(c):h=o.get(t.stackedByDimension,c);for(var p=NaN,m=n-1;m>=0;m--){var g=e[m];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,h)),d>=0){var y=g.data.getByRawIndex(g.stackResultDimension,d);if("all"===l||"positive"===l&&y>0||"negative"===l&&y<0||"samesign"===l&&f>=0&&y>0||"samesign"===l&&f<=0&&y<0){f=lr(f,y),p=y;break}}}return i[0]=f,i[1]=p,i}))}))}var Ud,Xd,Zd,qd,$d,Jd=function(){function e(e){this.data=e.data||(e.sourceFormat===Mh?{}:[]),this.sourceFormat=e.sourceFormat||Th,this.seriesLayoutBy=e.seriesLayoutBy||Lh,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 i=t[n];null==i.type&&Nh(this,n)===Ah.Must&&(i.type="ordinal")}}return e}();function Kd(e){return e instanceof Jd}function Qd(e,t,n){n=n||nf(e);var i=t.seriesLayoutBy,r=rf(e,n,i,t.sourceHeader,t.dimensions),a=new Jd({data:e,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Object(x["d"])(t)});return a}function ef(e){return new Jd({data:e,sourceFormat:Object(x["E"])(e)?Sh:xh})}function tf(e){return new Jd({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:Object(x["d"])(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function nf(e){var t=Th;if(Object(x["E"])(e))t=Sh;else if(Object(x["t"])(e)){0===e.length&&(t=bh);for(var n=0,i=e.length;n<i;n++){var r=e[n];if(null!=r){if(Object(x["t"])(r)||Object(x["E"])(r)){t=bh;break}if(Object(x["A"])(r)){t=wh;break}}}}else if(Object(x["A"])(e))for(var a in e)if(Object(x["q"])(e,a)&&Object(x["u"])(e[a])){t=Mh;break}return t}function rf(e,t,n,i,r){var a,o;if(!e)return{dimensionsDefine:of(r),startIndex:o,dimensionsDetectedCount:a};if(t===bh){var s=e;"auto"===i||null==i?sf((function(e){null!=e&&"-"!==e&&(Object(x["C"])(e)?null==o&&(o=1):o=0)}),n,s,10):o=Object(x["z"])(i)?i:i?1:0,r||1!==o||(r=[],sf((function(e,t){r[t]=null!=e?e+"":""}),n,s,1/0)),a=r?r.length:n===Dh?s.length:s[0]?s[0].length:null}else if(t===wh)r||(r=af(e));else if(t===Mh)r||(r=[],Object(x["k"])(e,(function(e,t){r.push(t)})));else if(t===xh){var l=kr(e[0]);a=Object(x["t"])(l)&&l.length||1}return{startIndex:o,dimensionsDefine:of(r),dimensionsDetectedCount:a}}function af(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t)return Object(x["F"])(t)}function of(e){if(e){var t=Object(x["f"])();return Object(x["H"])(e,(function(e,n){e=Object(x["A"])(e)?e:{name:e};var i={name:e.name,displayName:e.displayName,type:e.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=t.get(i.name);return r?i.name+="-"+r.count++:t.set(i.name,{count:1}),i}))}}function sf(e,t,n,i){if(t===Dh)for(var r=0;r<n.length&&r<i;r++)e(n[r]?n[r][0]:null,r);else{var a=n[0]||[];for(r=0;r<a.length&&r<i;r++)e(a[r],r)}}function lf(e){var t=e.sourceFormat;return t===wh||t===Mh}var uf=function(){function e(e,t){var n=Kd(e)?e:ef(e);this._source=n;var i=this._data=n.data;n.sourceFormat===Sh&&(this._offset=0,this._dimSize=t,this._data=i),$d(this,i,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;$d=function(e,r,a){var o=a.sourceFormat,s=a.seriesLayoutBy,l=a.startIndex,u=a.dimensionsDefine,c=qd[_f(o,s)];if(Object(x["m"])(e,c),o===Sh)e.getItem=t,e.count=i,e.fillStorage=n;else{var h=df(o,s);e.getItem=Object(x["c"])(h,null,r,l,u);var d=mf(o,s);e.count=Object(x["c"])(d,null,r,l,u)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,i=this._dimSize,r=i*e,a=0;a<i;a++)t[a]=n[r+a];return t},n=function(e,t,n,i){for(var r=this._data,a=this._dimSize,o=0;o<a;o++){for(var s=i[o],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=t-e,h=n[o],d=0;d<c;d++){var f=r[d*a+o];h[e+d]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}e={},e[bh+"_"+Lh]={pure:!0,appendData:r},e[bh+"_"+Dh]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[wh]={pure:!0,appendData:r},e[Mh]={pure:!0,appendData:function(e){var t=this._data;Object(x["k"])(e,(function(e,n){for(var i=t[n]||(t[n]=[]),r=0;r<(e||[]).length;r++)i.push(e[r])}))}},e[xh]={appendData:r},e[Sh]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},qd=e}(),e}(),cf=function(e,t,n,i){return e[i]},hf=(Ud={},Ud[bh+"_"+Lh]=function(e,t,n,i){return e[i+t]},Ud[bh+"_"+Dh]=function(e,t,n,i,r){i+=t;for(var a=r||[],o=e,s=0;s<o.length;s++){var l=o[s];a[s]=l?l[i]:null}return a},Ud[wh]=cf,Ud[Mh]=function(e,t,n,i,r){for(var a=r||[],o=0;o<n.length;o++){var s=n[o].name;0;var l=e[s];a[o]=l?l[i]:null}return a},Ud[xh]=cf,Ud);function df(e,t){var n=hf[_f(e,t)];return n}var ff=function(e,t,n){return e.length},pf=(Xd={},Xd[bh+"_"+Lh]=function(e,t,n){return Math.max(0,e.length-t)},Xd[bh+"_"+Dh]=function(e,t,n){var i=e[0];return i?Math.max(0,i.length-t):0},Xd[wh]=ff,Xd[Mh]=function(e,t,n){var i=n[0].name;var r=e[i];return r?r.length:0},Xd[xh]=ff,Xd);function mf(e,t){var n=pf[_f(e,t)];return n}var gf=function(e,t,n){return e[t]},yf=(Zd={},Zd[bh]=gf,Zd[wh]=function(e,t,n){return e[n]},Zd[Mh]=gf,Zd[xh]=function(e,t,n){var i=kr(e);return i instanceof Array?i[t]:i},Zd[Sh]=gf,Zd);function vf(e){var t=yf[e];return t}function _f(e,t){return e===bh?e+"_"+t:e}function xf(e,t,n){if(e){var i=e.getRawDataItem(t);if(null!=i){var r=e.getStore(),a=r.getSource().sourceFormat;if(null!=n){var o=e.getDimensionIndex(n),s=r.getDimensionProperty(o);return vf(a)(i,o,s)}var l=i;return a===xh&&(l=kr(i)),l}}}var bf=/\{@(.+?)\}/g,wf=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),i=this.getRawValue(e,t),r=n.getRawIndex(e),a=n.getName(e),o=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:a,dataIndex:r,data:o,dataType:t,value:i,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,i,r,a){t=t||"normal";var o=this.getData(n),s=this.getDataParams(e,n);if(a&&(s.value=a.interpolatedValue),null!=i&&x["t"](s.value)&&(s.value=s.value[i]),!r){var l=o.getItemModel(e);r=l.get("normal"===t?["label","formatter"]:[t,"label","formatter"])}if(x["w"](r))return s.status=t,s.dimensionIndex=i,r(s);if(x["C"](r)){var u=Uc(r,s);return u.replace(bf,(function(t,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=xf(o,e,r);if(a&&x["t"](a.interpolatedValue)){var l=o.getDimensionIndex(r);l>=0&&(s=a.interpolatedValue[l])}return null!=s?s+"":""}))}},e.prototype.getRawValue=function(e,t){return xf(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function Mf(e){var t,n;return x["A"](e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Sf(e){return new Tf(e)}var Tf=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,i=e&&e.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context));var a,o=c(this._modBy),s=this._modDataCount||0,l=c(e&&e.modBy),u=e&&e.modDataCount||0;function c(e){return!(e>=1)&&(e=1),e}o===l&&s===u||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=l,this._modDataCount=u;var h=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,f=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(a||d<f)){var p=this._progress;if(Object(x["t"])(p))for(var m=0;m<p.length;m++)this._doProgress(p[m],d,f,l,u);else this._doProgress(p,d,f,l,u)}this._dueIndex=f;var g=null!=this._settedOutputEnd?this._settedOutputEnd:f;0,this._outputDueEnd=g}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,i,r){Lf.reset(t,n,i,r),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:Lf.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(x["t"])(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.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}(),Lf=function(){var e,t,n,i,r,a={reset:function(l,u,c,h){t=l,e=u,n=c,i=h,r=Math.ceil(i/n),a.next=n>1&&i>0?s:o}};return a;function o(){return t<e?t++:null}function s(){var a=t%r*n+Math.ceil(t/r),o=t>=e?null:a<i?a:t;return t++,o}}();function Df(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||Object(x["z"])(e)||null==e||"-"===e||(e=+fr(e)),null==e||""===e?NaN:Number(e))}var Af=Object(x["f"])({number:function(e){return parseFloat(e)},time:function(e){return+fr(e)},trim:function(e){return Object(x["C"])(e)?Object(x["T"])(e):e}});function Of(e){return Af.get(e)}var kf={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}},If=function(){function e(e,t){if(!Object(x["z"])(t)){var n="";0,Jh(n)}this._opFn=kf[e],this._rvalFloat=_r(t)}return e.prototype.evaluate=function(e){return Object(x["z"])(e)?this._opFn(e,this._rvalFloat):this._opFn(_r(e),this._rvalFloat)},e}(),Cf=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(x["z"])(e)?e:_r(e),i=Object(x["z"])(t)?t:_r(t),r=isNaN(n),a=isNaN(i);if(r&&(n=this._incomparable),a&&(i=this._incomparable),r&&a){var o=Object(x["C"])(e),s=Object(x["C"])(t);o&&(n=s?e:0),s&&(i=o?t:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},e}(),Ef=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=_r(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=_r(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function Pf(e,t){return"eq"===e||"ne"===e?new Ef("eq"===e,t):Object(x["q"])(kf,e)?new If(e,t):null}var Nf=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 Df(e,t)},e}();function Rf(e,t){var n=new Nf,i=e.data,r=n.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==Lh&&Jh(o);var s=[],l={},u=e.dimensionsDefine;if(u)Object(x["k"])(u,(function(e,t){var n=e.name,i={index:t,name:n,displayName:e.displayName};if(s.push(i),null!=n){var r="";Object(x["q"])(l,n)&&Jh(r),l[n]=i}}));else for(var c=0;c<e.dimensionsDetectedCount;c++)s.push({index:c});var h=df(r,Lh);t.__isBuiltIn&&(n.getRawDataItem=function(e){return h(i,a,s,e)},n.getRawData=Object(x["c"])(Yf,null,e)),n.cloneRawData=Object(x["c"])(zf,null,e);var d=mf(r,Lh);n.count=Object(x["c"])(d,null,i,a,s);var f=vf(r);n.retrieveValue=function(e,t){var n=h(i,a,s,e);return p(n,t)};var p=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=s[t];return n?f(e,t,n.name):void 0}};return n.getDimensionInfo=Object(x["c"])(Hf,null,s,l),n.cloneAllDimensionInfo=Object(x["c"])(jf,null,s),n}function Yf(e){var t=e.sourceFormat;if(!Wf(t)){var n="";0,Jh(n)}return e.data}function zf(e){var t=e.sourceFormat,n=e.data;if(!Wf(t)){var i="";0,Jh(i)}if(t===bh){for(var r=[],a=0,o=n.length;a<o;a++)r.push(n[a].slice());return r}if(t===wh){for(r=[],a=0,o=n.length;a<o;a++)r.push(Object(x["m"])({},n[a]));return r}}function Hf(e,t,n){if(null!=n)return Object(x["z"])(n)||!isNaN(n)&&!Object(x["q"])(t,n)?e[n]:Object(x["q"])(t,n)?t[n]:void 0}function jf(e){return Object(x["d"])(e)}var Ff=Object(x["f"])();function Bf(e){e=Object(x["d"])(e);var t=e.type,n="";t||Jh(n);var i=t.split(":");2!==i.length&&Jh(n);var r=!1;"echarts"===i[0]&&(t=i[1],r=!0),e.__isBuiltIn=r,Ff.set(t,e)}function Vf(e,t,n){var i=Dr(e),r=i.length,a="";r||Jh(a);for(var o=0,s=r;o<s;o++){var l=i[o];t=Gf(l,t,n,1===r?null:o),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function Gf(e,t,n,i){var r="";t.length||Jh(r),Object(x["A"])(e)||Jh(r);var a=e.type,o=Ff.get(a);o||Jh(r);var s=Object(x["H"])(t,(function(e){return Rf(e,o)})),l=Dr(o.transform({upstream:s[0],upstreamList:s,config:Object(x["d"])(e.config)}));return Object(x["H"])(l,(function(e,n){var i="";Object(x["A"])(e)||Jh(i),e.data||Jh(i);var r,a=nf(e.data);Wf(a)||Jh(i);var o=t[0];if(o&&0===n&&!e.dimensions){var s=o.startIndex;s&&(e.data=o.data.slice(0,s).concat(e.data)),r={seriesLayoutBy:Lh,sourceHeader:s,dimensions:o.metaRawOption.dimensions}}else r={seriesLayoutBy:Lh,sourceHeader:0,dimensions:e.dimensions};return Qd(e.data,r,null)}))}function Wf(e){return e===bh||e===wh}var Uf,Xf="undefined",Zf=typeof Uint32Array===Xf?Array:Uint32Array,qf=typeof Uint16Array===Xf?Array:Uint16Array,$f=typeof Int32Array===Xf?Array:Int32Array,Jf=typeof Float64Array===Xf?Array:Float64Array,Kf={float:Jf,int:$f,ordinal:Array,number:Array,time:Jf};function Qf(e){return e>65535?Zf:qf}function ep(){return[1/0,-1/0]}function tp(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function np(e,t,n,i,r){var a=Kf[n||"float"];if(r){var o=e[t],s=o&&o.length;if(s!==i){for(var l=new a(i),u=0;u<s;u++)l[u]=o[u];e[t]=l}}else e[t]=new a(i)}var ip=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(x["f"])()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=e.getSource(),r=this.defaultDimValueGetter=Uf[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[];lf(i);this._dimensions=Object(x["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,i=this._dimensions,r=n.get(e);if(null!=r){if(i[r].type===t)return r}else r=i.length;return i[r]={type:t},n.set(e,r),this._chunks[r]=new Kf[t||"float"](this._rawCount),this._rawExtent[r]=ep(),r},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],i=this._dimensions[e],r=this._rawExtent,a=i.ordinalOffset||0,o=n.length;0===a&&(r[e]=ep());for(var s=r[e],l=a;l<o;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]))}i.ordinalMeta=t,i.ordinalOffset=o,i.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 i=t.count();return t.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,i=this._dimensions,r=i.length,a=this._rawExtent,o=this.count(),s=o+Math.max(e.length,t||0),l=0;l<r;l++){var u=i[l];np(n,l,u.type,s,!0)}for(var c=[],h=o;h<s;h++)for(var d=h-o,f=0;f<r;f++){u=i[f];var p=Uf.arrayRows.call(this,e[d]||c,u.property,d,f);n[f][h]=p;var m=a[f];p<m[0]&&(m[0]=p),p>m[1]&&(m[1]=p)}return this._rawCount=this._count=s,{start:o,end:s}},e.prototype._initDataFromProvider=function(e,t,n){for(var i=this._provider,r=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=Object(x["H"])(a,(function(e){return e.property})),u=0;u<o;u++){var c=a[u];s[u]||(s[u]=ep()),np(r,u,c.type,t,n)}if(i.fillStorage)i.fillStorage(e,t,r,s);else for(var h=[],d=e;d<t;d++){h=i.getItem(d,h);for(var f=0;f<o;f++){var p=r[f],m=this._dimValueGetter(h,l[f],d,f);p[d]=m;var g=s[f];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}!i.persistent&&i.clean&&i.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=[],i=[];if(null==t){t=e,e=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=e;r=0;for(var a=i.length;r<a;r++)n.push(this.get(i[r],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 i=0,r=this.count();i<r;i++){var a=this.get(e,i);isNaN(a)||(n+=a)}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})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/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 i=0,r=this._count-1;while(i<=r){var a=(i+r)/2|0;if(t[a]<e)i=a+1;else{if(!(t[a]>e))return a;r=a-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var i=this._chunks,r=i[e],a=[];if(!r)return a;null==n&&(n=1/0);for(var o=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var h=this.getRawIndex(u),d=t-r[h],f=Math.abs(d);f<=n&&((f<o||f===o&&d>=0&&s<0)&&(o=f,s=d,l=0),d===s&&(a[l++]=u))}return a.length=l,a},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,i=this._count;if(n===Array){e=new n(i);for(var r=0;r<i;r++)e[r]=t[r]}else e=new n(t.buffer,0,i)}else{n=Qf(this._rawCount);e=new n(this.count());for(r=0;r<e.length;r++)e[r]=r}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=Qf(n._rawCount),a=new r(i),o=[],s=e.length,l=0,u=e[0],c=n._chunks,h=0;h<i;h++){var d=void 0,f=n.getRawIndex(h);if(0===s)d=t(h);else if(1===s){var p=c[u][f];d=t(p,h)}else{for(var m=0;m<s;m++)o[m]=c[e[m]][f];o[m]=h,d=t.apply(null,o)}d&&(a[l++]=f)}return l<i&&(n._indices=a),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 i=Object(x["F"])(e),r=i.length;if(!r)return this;var a=t.count(),o=Qf(t._rawCount),s=new o(a),l=0,u=i[0],c=e[u][0],h=e[u][1],d=t._chunks,f=!1;if(!t._indices){var p=0;if(1===r){for(var m=d[i[0]],g=0;g<n;g++){var y=m[g];(y>=c&&y<=h||isNaN(y))&&(s[l++]=p),p++}f=!0}else if(2===r){m=d[i[0]];var v=d[i[1]],_=e[i[1]][0],b=e[i[1]][1];for(g=0;g<n;g++){y=m[g];var w=v[g];(y>=c&&y<=h||isNaN(y))&&(w>=_&&w<=b||isNaN(w))&&(s[l++]=p),p++}f=!0}}if(!f)if(1===r)for(g=0;g<a;g++){var M=t.getRawIndex(g);y=d[i[0]][M];(y>=c&&y<=h||isNaN(y))&&(s[l++]=M)}else for(g=0;g<a;g++){for(var S=!0,T=(M=t.getRawIndex(g),0);T<r;T++){var L=i[T];y=d[L][M];(y<e[L][0]||y>e[L][1])&&(S=!1)}S&&(s[l++]=t.getRawIndex(g))}return l<a&&(t._indices=s),t._count=l,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 i=e._chunks,r=[],a=t.length,o=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=ep();for(var c=0;c<o;c++){for(var h=e.getRawIndex(c),d=0;d<a;d++)s[d]=i[t[d]][h];s[a]=c;var f=n&&n.apply(null,s);if(null!=f){"object"!==typeof f&&(r[0]=f,f=r);for(u=0;u<f.length;u++){var p=t[u],m=f[u],g=l[p],y=i[p];y&&(y[h]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var n,i,r,a=this.clone([e],!0),o=a._chunks,s=o[e],l=this.count(),u=0,c=Math.floor(1/t),h=this.getRawIndex(0),d=new(Qf(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));d[u++]=h;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,y=0,v=p;v<m;v++){var _=this.getRawIndex(v),x=s[_];isNaN(x)||(y+=x)}y/=m-p;var b=f,w=Math.min(f+c,l),M=f-1,S=s[h];n=-1,r=b;var T=-1,L=0;for(v=b;v<w;v++){_=this.getRawIndex(v),x=s[_];isNaN(x)?(L++,T<0&&(T=_)):(i=Math.abs((M-g)*(x-S)-(M-v)*(y-S)),i>n&&(n=i,r=_))}L>0&&L<w-b&&(d[u++]=Math.min(T,r),r=Math.max(T,r)),d[u++]=r,h=r}return d[u++]=this.getRawIndex(l-1),a._count=u,a._indices=d,a.getRawIndex=this._getRawIdx,a},e.prototype.downSample=function(e,t,n,i){for(var r=this.clone([e],!0),a=r._chunks,o=[],s=Math.floor(1/t),l=a[e],u=this.count(),c=r._rawExtent[e]=ep(),h=new(Qf(this._rawCount))(Math.ceil(u/s)),d=0,f=0;f<u;f+=s){s>u-f&&(s=u-f,o.length=s);for(var p=0;p<s;p++){var m=this.getRawIndex(f+p);o[p]=l[m]}var g=n(o),y=this.getRawIndex(Math.min(f+i(o,g)||0,u-1));l[y]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),h[d++]=y}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,i=this._chunks,r=0,a=this.count();r<a;r++){var o=this.getRawIndex(r);switch(n){case 0:t(r);break;case 1:t(i[e[0]][o],r);break;case 2:t(i[e[0]][o],i[e[1]][o],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[e[s]][o];l[s]=r,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=ep();if(!t)return n;var i,r=this.count(),a=!this._indices;if(a)return this._rawExtent[e].slice();if(i=this._extent[e],i)return i.slice();i=n;for(var o=i[0],s=i[1],l=0;l<r;l++){var u=this.getRawIndex(l),c=t[u];c<o&&(o=c),c>s&&(s=c)}return i=[o,s],this._extent[e]=i,i},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][t]);return n},e.prototype.clone=function(t,n){var i=new e,r=this._chunks,a=t&&Object(x["N"])(t,(function(e,t){return e[t]=!0,e}),{});if(a)for(var o=0;o<r.length;o++)i._chunks[o]=a[o]?tp(r[o]):r[o];else i._chunks=r;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Object(x["d"])(this._extent),e._rawExtent=Object(x["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 i=0;i<n;i++)t[i]=this._indices[i]}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,i){return Df(e[i],this._dimensions[i])}Uf={arrayRows:e,objectRows:function(e,t,n,i){return Df(e[t],this._dimensions[i])},keyedColumns:e,original:function(e,t,n,i){var r=e&&(null==e.value?e:e.value);return Df(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(e,t,n,i){return e[i]}}}(),e}(),rp=ip,ap=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,i=this._getUpstreamSourceManagers(),r=!!i.length;if(sp(n)){var a=n,o=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),l=u.getSource(),o=l.data,s=l.sourceFormat,t=[u._getVersionSign()]}else o=a.get("data",!0),s=Object(x["E"])(o)?Sh:xh,t=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=Object(x["P"])(c.seriesLayoutBy,h.seriesLayoutBy)||null,f=Object(x["P"])(c.sourceHeader,h.sourceHeader),p=Object(x["P"])(c.dimensions,h.dimensions),m=d!==h.seriesLayoutBy||!!f!==!!h.sourceHeader||p;e=m?[Qd(o,{seriesLayoutBy:d,sourceHeader:f,dimensions:p},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);e=y.sourceList,t=y.upstreamSignList}else{var v=g.get("source",!0);e=[Qd(v,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var a="";1!==e.length&&lp(a)}var o=[],s=[];return Object(x["k"])(e,(function(e){e.prepareSource();var t=e.getSource(r||0),n="";null==r||t||lp(n),o.push(t),s.push(e._getVersionSign())})),i?t=Vf(i,o,{datasetIndex:n.componentIndex}):null!=r&&(t=[tf(o[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 i=0,r=this._storeList,a=r[i];a||(a=r[i]={});var o=a[n];if(!o){var s=this._getUpstreamSourceManagers()[0];sp(this._sourceHost)&&s?o=s._innerGetDataStore(e,t,n):(o=new rp,o.initData(new uf(t,e.length),e)),a[n]=o}return o},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(sp(e)){var t=Eh(e);return t?[t.getSourceManager()]:[]}return Object(x["H"])(Ph(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,n,i=this._sourceHost;if(sp(i))e=i.get("seriesLayoutBy",!0),t=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function op(e){var t=e.option.transform;t&&Object(x["R"])(e.option.transform)}function sp(e){return"series"===e.mainType}function lp(e){throw new Error(e)}var up="line-height:1";function cp(e,t){var n=e.color||"#6e7079",i=e.fontSize||12,r=e.fontWeight||"400",a=e.color||"#464646",o=e.fontSize||14,s=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+ie(i+"")+"px;color:"+ie(n)+";font-weight:"+ie(r+""),valueStyle:"font-size:"+ie(o+"")+"px;color:"+ie(a)+";font-weight:"+ie(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var hp=[0,10,20,30],dp=["","\n","\n\n","\n\n\n"];function fp(e,t){return t.type=e,t}function pp(e){return"section"===e.type}function mp(e){return pp(e)?yp:vp}function gp(e){if(pp(e)){var t=0,n=e.blocks.length,i=n>1||n>0&&!e.noHeader;return Object(x["k"])(e.blocks,(function(e){var n=gp(e);n>=t&&(t=n+ +(i&&(!n||pp(e)&&!e.noHeader)))})),t}return 0}function yp(e,t,n,i){var r=t.noHeader,a=xp(gp(t)),o=[],s=t.blocks||[];Object(x["b"])(!s||Object(x["t"])(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Object(x["q"])(u,l)){var c=new Cf(u[l],null);s.sort((function(e,t){return c.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===l&&s.reverse()}Object(x["k"])(s,(function(n,r){var s=t.valueFormatter,l=mp(n)(s?Object(x["m"])(Object(x["m"])({},e),{valueFormatter:s}):e,n,r>0?a.html:0,i);null!=l&&o.push(l)}));var h="richText"===e.renderMode?o.join(a.richText):bp(o.join(""),r?n:a.html);if(r)return h;var d=Vc(t.header,"ordinal",e.useUTC),f=cp(i,e.renderMode).nameStyle;return"richText"===e.renderMode?Sp(e,d,f)+a.richText+h:bp('<div style="'+f+";"+up+';">'+ie(d)+"</div>"+h,n)}function vp(e,t,n,i){var r=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(e){return e=Object(x["t"])(e)?e:[e],Object(x["H"])(e,(function(e,t){return Vc(e,Object(x["t"])(f)?f[t]:f,u)}))};if(!a||!o){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",r),d=a?"":Vc(l,"ordinal",u),f=t.valueType,p=o?[]:c(t.value,t.dataIndex),m=!s||!a,g=!s&&a,y=cp(i,r),v=y.nameStyle,_=y.valueStyle;return"richText"===r?(s?"":h)+(a?"":Sp(e,d,v))+(o?"":Tp(e,p,m,g,_)):bp((s?"":h)+(a?"":wp(d,!s,v))+(o?"":Mp(p,m,g,_)),n)}}function _p(e,t,n,i,r,a){if(e){var o=mp(e),s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function xp(e){return{html:hp[e],richText:dp[e]}}function bp(e,t){var n='<div style="clear:both"></div>',i="margin: "+t+"px 0 0";return'<div style="'+i+";"+up+';">'+e+n+"</div>"}function wp(e,t,n){var i=t?"margin-left:2px":"";return'<span style="'+n+";"+i+'">'+ie(e)+"</span>"}function Mp(e,t,n,i){var r=n?"10px":"20px",a=t?"float:right;margin-left:"+r:"";return e=Object(x["t"])(e)?e:[e],'<span style="'+a+";"+i+'">'+Object(x["H"])(e,(function(e){return ie(e)})).join("&nbsp;&nbsp;")+"</span>"}function Sp(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function Tp(e,t,n,i,r){var a=[r],o=i?10:20;return n&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(x["t"])(t)?t.join(" "):t,a)}function Lp(e,t){var n=e.getData().getItemVisual(t,"style"),i=n[e.visualDrawType];return Jc(i)}function Dp(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var Ap=function(){function e(){this.richTextStyles={},this._nextStyleNameId=br()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var i="richText"===n?this._generateStyleName():null,r=Zc({color:t,type:e,renderMode:n,markerId:i});return Object(x["C"])(r)?r:(this.richTextStyles[i]=r.style,r.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(x["t"])(t)?Object(x["k"])(t,(function(e){return Object(x["m"])(n,e)})):Object(x["m"])(n,t);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+e+"}"},e}();function Op(e){var t,n,i,r,a=e.series,o=e.dataIndex,s=e.multipleSeries,l=a.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,h=a.getRawValue(o),d=Object(x["t"])(h),f=Lp(a,o);if(c>1||d&&!c){var p=kp(h,a,o,u,f);t=p.inlineValues,n=p.inlineValueTypes,i=p.blocks,r=p.inlineValues[0]}else if(c){var m=l.getDimensionInfo(u[0]);r=t=xf(l,o,u[0]),n=m.type}else r=t=d?h[0]:h;var g=Br(a),y=g&&a.name||"",v=l.getName(o),_=s?y:v;return fp("section",{header:y,noHeader:s||!g,sortParam:r,blocks:[fp("nameValue",{markerType:"item",markerColor:f,name:_,noName:!Object(x["T"])(_),value:t,valueType:n,dataIndex:o})].concat(i||[])})}function kp(e,t,n,i,r){var a=t.getData(),o=Object(x["N"])(e,(function(e,t,n){var i=a.getDimensionInfo(n);return e||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function c(e,t){var n=a.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(o?u.push(fp("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:e,valueType:n.type})):(s.push(e),l.push(n.type)))}return i.length?Object(x["k"])(i,(function(e){c(xf(a,n,e),e)})):Object(x["k"])(e,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}var Ip=qr();function Cp(e,t){return e.getName(t)||e.getId(t)}var Ep="__universalTransitionEnabled",Pp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return v(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Sf({count:Yp,reset:zp}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var i=Ip(this).sourceManager=new ap(this);i.prepareSource();var r=this.getInitialData(e,n);jp(r,this),this.dataTask.context.data=r,Ip(this).dataBeforeProcessed=r,Np(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=lh(this),i=n?ch(e):{},r=this.subType;mh.hasClass(r)&&(r+="Series"),x["I"](e,t.getTheme().get(this.subType)),x["I"](e,this.getDefaultOption()),Ar(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&uh(e,i,n)},t.prototype.mergeOption=function(e,t){e=x["I"](this.option,e,!0),this.fillDataTextStyle(e.data);var n=lh(this);n&&uh(this.option,e,n);var i=Ip(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(e,t);jp(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Ip(this).dataBeforeProcessed=r,Np(this),this._initSelectedMapFromData(r)},t.prototype.fillDataTextStyle=function(e){if(e&&!x["E"](e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&Ar(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=Bp(this);if(t){var n=t.context.data;return null!=e&&n.getLinkedData?n.getLinkedData(e):n}return Ip(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=Bp(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}Ip(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return x["f"](e)},t.prototype.getSourceManager=function(){return Ip(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return Ip(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 Op({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(_["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 i=this.ecModel,r=Bh.prototype.getColorFromPalette.call(this,e,t,n);return r||(r=i.getColorFromPalette(e,t,n)),r},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 i=this.option.selectedMode,r=this.getData(t);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a<e.length;a++){var o=e[a],s=Cp(r,o);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],i=0;i<e.length;i++)n[0]=e[i],this.isSelected(e[i],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=x["F"](e),n=[],i=0;i<t.length;i++){var r=e[t[i]];r>=0&&n.push(r)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(t);return("all"===n||n[Cp(i,e)])&&!i.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[Ep])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,i,r=this.option,a=r.selectedMode,o=t.length;if(a&&o)if("series"===a)r.selectedMap="all";else if("multiple"===a){x["A"](r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<o;l++){var u=t[l],c=Cp(e,u);s[c]=!0,this._selectedDataIndicesMap[c]=e.getRawIndex(u)}}else if("single"===a||!0===a){var h=t[o-1];c=Cp(e,h);r.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=e.getRawIndex(h),i)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(n){var i=e.getRawDataItem(n);i&&i.selected&&t.push(n)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return mh.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}(mh);function Np(e){var t=e.name;Br(e)||(e.name=Rp(e)||t)}function Rp(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),i=[];return x["k"](n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&i.push(n.displayName)})),i.join(" ")}function Yp(e){return e.model.getRawData().count()}function zp(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Hp}function Hp(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function jp(e,t){x["k"](x["e"](e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,x["h"](Fp,t))}))}function Fp(e,t){var n=Bp(e);return n&&n.setOutputEnd((t||this).count()),t}function Bp(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(e.uid))}return i}}x["K"](Pp,wf),x["K"](Pp,Bh),ma(Pp,mh);var Vp=Pp,Gp=function(){function e(){this.group=new Ni,this.uid=Uu("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,i){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,i){},e.prototype.updateLayout=function(e,t,n,i){},e.prototype.updateVisual=function(e,t,n,i){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();fa(Gp),xa(Gp);var Wp=Gp;function Up(){var e=qr();return function(t){var n=e(t),i=t.pipelineContext,r=!!n.large,a=!!n.progressiveRender,o=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===o&&a===s)&&"reset"}}var Xp=Ro.CMD,Zp=[[],[],[]],qp=Math.sqrt,$p=Math.atan2;function Jp(e,t){if(t){var n,i,r,a,o,s,l=e.data,u=e.len(),c=Xp.M,h=Xp.C,d=Xp.L,f=Xp.R,p=Xp.A,m=Xp.Q;for(r=0,a=0;r<u;){switch(n=l[r++],a=r,i=0,n){case c:i=1;break;case d:i=1;break;case h:i=3;break;case m:i=2;break;case p:var g=t[4],y=t[5],v=qp(t[0]*t[0]+t[1]*t[1]),_=qp(t[2]*t[2]+t[3]*t[3]),x=$p(-t[1]/_,t[0]/v);l[r]*=v,l[r++]+=g,l[r]*=_,l[r++]+=y,l[r++]*=v,l[r++]*=_,l[r++]+=x,l[r++]+=x,r+=2,a=r;break;case f:s[0]=l[r++],s[1]=l[r++],Y(s,s,t),l[a++]=s[0],l[a++]=s[1],s[0]+=l[r++],s[1]+=l[r++],Y(s,s,t),l[a++]=s[0],l[a++]=s[1]}for(o=0;o<i;o++){var b=Zp[o];b[0]=l[r++],b[1]=l[r++],Y(b,b,t),l[a++]=b[0],l[a++]=b[1]}}e.increaseVersion()}}var Kp=Math.sqrt,Qp=Math.sin,em=Math.cos,tm=Math.PI;function nm(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function im(e,t){return(e[0]*t[0]+e[1]*t[1])/(nm(e)*nm(t))}function rm(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(im(e,t))}function am(e,t,n,i,r,a,o,s,l,u,c){var h=l*(tm/180),d=em(h)*(e-n)/2+Qp(h)*(t-i)/2,f=-1*Qp(h)*(e-n)/2+em(h)*(t-i)/2,p=d*d/(o*o)+f*f/(s*s);p>1&&(o*=Kp(p),s*=Kp(p));var m=(r===a?-1:1)*Kp((o*o*(s*s)-o*o*(f*f)-s*s*(d*d))/(o*o*(f*f)+s*s*(d*d)))||0,g=m*o*f/s,y=m*-s*d/o,v=(e+n)/2+em(h)*g-Qp(h)*y,_=(t+i)/2+Qp(h)*g+em(h)*y,x=rm([1,0],[(d-g)/o,(f-y)/s]),b=[(d-g)/o,(f-y)/s],w=[(-1*d-g)/o,(-1*f-y)/s],M=rm(b,w);if(im(b,w)<=-1&&(M=tm),im(b,w)>=1&&(M=0),M<0){var S=Math.round(M/tm*1e6)/1e6;M=2*tm+S%2*tm}c.addData(u,v,_,o,s,x,M,h,a)}var om=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,sm=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function lm(e){var t=new Ro;if(!e)return t;var n,i=0,r=0,a=i,o=r,s=Ro.CMD,l=e.match(om);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),d=void 0,f=c.match(sm)||[],p=f.length,m=0;m<p;m++)f[m]=parseFloat(f[m]);var g=0;while(g<p){var y=void 0,v=void 0,_=void 0,x=void 0,b=void 0,w=void 0,M=void 0,S=i,T=r,L=void 0,D=void 0;switch(h){case"l":i+=f[g++],r+=f[g++],d=s.L,t.addData(d,i,r);break;case"L":i=f[g++],r=f[g++],d=s.L,t.addData(d,i,r);break;case"m":i+=f[g++],r+=f[g++],d=s.M,t.addData(d,i,r),a=i,o=r,h="l";break;case"M":i=f[g++],r=f[g++],d=s.M,t.addData(d,i,r),a=i,o=r,h="L";break;case"h":i+=f[g++],d=s.L,t.addData(d,i,r);break;case"H":i=f[g++],d=s.L,t.addData(d,i,r);break;case"v":r+=f[g++],d=s.L,t.addData(d,i,r);break;case"V":r=f[g++],d=s.L,t.addData(d,i,r);break;case"C":d=s.C,t.addData(d,f[g++],f[g++],f[g++],f[g++],f[g++],f[g++]),i=f[g-2],r=f[g-1];break;case"c":d=s.C,t.addData(d,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r),i+=f[g-2],r+=f[g-1];break;case"S":y=i,v=r,L=t.len(),D=t.data,n===s.C&&(y+=i-D[L-4],v+=r-D[L-3]),d=s.C,S=f[g++],T=f[g++],i=f[g++],r=f[g++],t.addData(d,y,v,S,T,i,r);break;case"s":y=i,v=r,L=t.len(),D=t.data,n===s.C&&(y+=i-D[L-4],v+=r-D[L-3]),d=s.C,S=i+f[g++],T=r+f[g++],i+=f[g++],r+=f[g++],t.addData(d,y,v,S,T,i,r);break;case"Q":S=f[g++],T=f[g++],i=f[g++],r=f[g++],d=s.Q,t.addData(d,S,T,i,r);break;case"q":S=f[g++]+i,T=f[g++]+r,i+=f[g++],r+=f[g++],d=s.Q,t.addData(d,S,T,i,r);break;case"T":y=i,v=r,L=t.len(),D=t.data,n===s.Q&&(y+=i-D[L-4],v+=r-D[L-3]),i=f[g++],r=f[g++],d=s.Q,t.addData(d,y,v,i,r);break;case"t":y=i,v=r,L=t.len(),D=t.data,n===s.Q&&(y+=i-D[L-4],v+=r-D[L-3]),i+=f[g++],r+=f[g++],d=s.Q,t.addData(d,y,v,i,r);break;case"A":_=f[g++],x=f[g++],b=f[g++],w=f[g++],M=f[g++],S=i,T=r,i=f[g++],r=f[g++],d=s.A,am(S,T,i,r,w,M,_,x,b,d,t);break;case"a":_=f[g++],x=f[g++],b=f[g++],w=f[g++],M=f[g++],S=i,T=r,i+=f[g++],r+=f[g++],d=s.A,am(S,T,i,r,w,M,_,x,b,d,t);break}}"z"!==h&&"Z"!==h||(d=s.Z,t.addData(d),i=a,r=o),n=d}return t.toStatic(),t}var um=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.applyTransform=function(e){},t}(ls);function cm(e){return null!=e.setData}function hm(e,t){var n=lm(e),i=Object(x["m"])({},t);return i.buildPath=function(e){if(cm(e)){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t,1)}else{t=e;n.rebuildPath(t,1)}},i.applyTransform=function(e){Jp(n,e),this.dirtyShape()},i}function dm(e,t){return new um(hm(e,t))}function fm(e,t){var n=hm(e,t),i=function(e){function t(t){var i=e.call(this,t)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return v(t,e),t}(um);return i}function pm(e,t){for(var n=[],i=e.length,r=0;r<i;r++){var a=e[r];n.push(a.getUpdatedPathProxy(!0))}var o=new ls(t);return o.createPathProxy(),o.buildPath=function(e){if(cm(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},o}function mm(e,t){t=t||{};var n=new ls;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?Jp(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 gm=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),ym=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultShape=function(){return new gm},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}(ls);ym.prototype.type="circle";var vm=ym,_m=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),xm=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultShape=function(){return new _m},t.prototype.buildPath=function(e,t){var n=.5522848,i=t.cx,r=t.cy,a=t.rx,o=t.ry,s=a*n,l=o*n;e.moveTo(i-a,r),e.bezierCurveTo(i-a,r-l,i-s,r-o,i,r-o),e.bezierCurveTo(i+s,r-o,i+a,r-l,i+a,r),e.bezierCurveTo(i+a,r+l,i+s,r+o,i,r+o),e.bezierCurveTo(i-s,r+o,i-a,r+l,i-a,r),e.closePath()},t}(ls);xm.prototype.type="ellipse";var bm=xm,wm=Math.PI,Mm=2*wm,Sm=Math.sin,Tm=Math.cos,Lm=Math.acos,Dm=Math.atan2,Am=Math.abs,Om=Math.sqrt,km=Math.max,Im=Math.min,Cm=1e-4;function Em(e,t,n,i,r,a,o,s){var l=n-e,u=i-t,c=o-r,h=s-a,d=h*l-c*u;if(!(d*d<Cm))return d=(c*(t-a)-h*(e-r))/d,[e+d*l,t+d*u]}function Pm(e,t,n,i,r,a,o){var s=e-n,l=t-i,u=(o?a:-a)/Om(s*s+l*l),c=u*l,h=-u*s,d=e+c,f=t+h,p=n+c,m=i+h,g=(d+p)/2,y=(f+m)/2,v=p-d,_=m-f,x=v*v+_*_,b=r-a,w=d*m-p*f,M=(_<0?-1:1)*Om(km(0,b*b*x-w*w)),S=(w*_-v*M)/x,T=(-w*v-_*M)/x,L=(w*_+v*M)/x,D=(-w*v+_*M)/x,A=S-g,O=T-y,k=L-g,I=D-y;return A*A+O*O>k*k+I*I&&(S=L,T=D),{cx:S,cy:T,x0:-c,y0:-h,x1:S*(r/b-1),y1:T*(r/b-1)}}function Nm(e){var t;if(Object(x["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 Rm(e,t){var n,i=km(t.r,0),r=km(t.r0||0,0),a=i>0,o=r>0;if(a||o){if(a||(i=r,r=0),r>i){var s=i;i=r,r=s}var l=t.startAngle,u=t.endAngle;if(!isNaN(l)&&!isNaN(u)){var c=t.cx,h=t.cy,d=!!t.clockwise,f=Am(u-l),p=f>Mm&&f%Mm;if(p>Cm&&(f=p),i>Cm)if(f>Mm-Cm)e.moveTo(c+i*Tm(l),h+i*Sm(l)),e.arc(c,h,i,l,u,!d),r>Cm&&(e.moveTo(c+r*Tm(u),h+r*Sm(u)),e.arc(c,h,r,u,l,d));else{var m=void 0,g=void 0,y=void 0,v=void 0,_=void 0,x=void 0,b=void 0,w=void 0,M=void 0,S=void 0,T=void 0,L=void 0,D=void 0,A=void 0,O=void 0,k=void 0,I=i*Tm(l),C=i*Sm(l),E=r*Tm(u),P=r*Sm(u),N=f>Cm;if(N){var R=t.cornerRadius;R&&(n=Nm(R),m=n[0],g=n[1],y=n[2],v=n[3]);var Y=Am(i-r)/2;if(_=Im(Y,y),x=Im(Y,v),b=Im(Y,m),w=Im(Y,g),T=M=km(_,x),L=S=km(b,w),(M>Cm||S>Cm)&&(D=i*Tm(u),A=i*Sm(u),O=r*Tm(l),k=r*Sm(l),f<wm)){var z=Em(I,C,O,k,D,A,E,P);if(z){var H=I-z[0],j=C-z[1],F=D-z[0],B=A-z[1],V=1/Sm(Lm((H*F+j*B)/(Om(H*H+j*j)*Om(F*F+B*B)))/2),G=Om(z[0]*z[0]+z[1]*z[1]);T=Im(M,(i-G)/(V+1)),L=Im(S,(r-G)/(V-1))}}}if(N)if(T>Cm){var W=Im(y,T),U=Im(v,T),X=Pm(O,k,I,C,i,W,d),Z=Pm(D,A,E,P,i,U,d);e.moveTo(c+X.cx+X.x0,h+X.cy+X.y0),T<M&&W===U?e.arc(c+X.cx,h+X.cy,T,Dm(X.y0,X.x0),Dm(Z.y0,Z.x0),!d):(W>0&&e.arc(c+X.cx,h+X.cy,W,Dm(X.y0,X.x0),Dm(X.y1,X.x1),!d),e.arc(c,h,i,Dm(X.cy+X.y1,X.cx+X.x1),Dm(Z.cy+Z.y1,Z.cx+Z.x1),!d),U>0&&e.arc(c+Z.cx,h+Z.cy,U,Dm(Z.y1,Z.x1),Dm(Z.y0,Z.x0),!d))}else e.moveTo(c+I,h+C),e.arc(c,h,i,l,u,!d);else e.moveTo(c+I,h+C);if(r>Cm&&N)if(L>Cm){W=Im(m,L),U=Im(g,L),X=Pm(E,P,D,A,r,-U,d),Z=Pm(I,C,O,k,r,-W,d);e.lineTo(c+X.cx+X.x0,h+X.cy+X.y0),L<S&&W===U?e.arc(c+X.cx,h+X.cy,L,Dm(X.y0,X.x0),Dm(Z.y0,Z.x0),!d):(U>0&&e.arc(c+X.cx,h+X.cy,U,Dm(X.y0,X.x0),Dm(X.y1,X.x1),!d),e.arc(c,h,r,Dm(X.cy+X.y1,X.cx+X.x1),Dm(Z.cy+Z.y1,Z.cx+Z.x1),d),W>0&&e.arc(c+Z.cx,h+Z.cy,W,Dm(Z.y1,Z.x1),Dm(Z.y0,Z.x0),!d))}else e.lineTo(c+E,h+P),e.arc(c,h,r,u,l,d);else e.lineTo(c+E,h+P)}else e.moveTo(c,h);e.closePath()}}}var Ym=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}(),zm=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultShape=function(){return new Ym},t.prototype.buildPath=function(e,t){Rm(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(ls);zm.prototype.type="sector";var Hm=zm,jm=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),Fm=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultShape=function(){return new jm},t.prototype.buildPath=function(e,t){var n=t.cx,i=t.cy,r=2*Math.PI;e.moveTo(n+t.r,i),e.arc(n,i,t.r,0,r,!1),e.moveTo(n+t.r0,i),e.arc(n,i,t.r0,0,r,!0)},t}(ls);Fm.prototype.type="ring";var Bm=Fm;function Vm(e,t,n,i){var r,a,o,s,l=[],u=[],c=[],h=[];if(i){o=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,f=e.length;d<f;d++)z(o,o,e[d]),H(s,s,e[d]);z(o,o,i[0]),H(s,s,i[1])}for(d=0,f=e.length;d<f;d++){var p=e[d];if(n)r=e[d?d-1:f-1],a=e[(d+1)%f];else{if(0===d||d===f-1){l.push(M(e[d]));continue}r=e[d-1],a=e[d+1]}D(u,a,r),k(u,u,t);var m=C(p,r),g=C(p,a),y=m+g;0!==y&&(m/=y,g/=y),k(c,u,-m),k(h,u,g);var v=T([],p,c),_=T([],p,h);i&&(H(v,v,o),z(v,v,s),H(_,_,o),z(_,_,s)),l.push(v),l.push(_)}return n&&l.push(l.shift()),l}function Gm(e,t,n){var i=t.smooth,r=t.points;if(r&&r.length>=2){if(i){var a=Vm(r,i,n,t.smoothConstraint);e.moveTo(r[0][0],r[0][1]);for(var o=r.length,s=0;s<(n?o:o-1);s++){var l=a[2*s],u=a[2*s+1],c=r[(s+1)%o];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;s<h;s++)e.lineTo(r[s][0],r[s][1])}n&&e.closePath()}}var Wm=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),Um=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultShape=function(){return new Wm},t.prototype.buildPath=function(e,t){Gm(e,t,!0)},t}(ls);Um.prototype.type="polygon";var Xm=Um,Zm=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),qm=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Zm},t.prototype.buildPath=function(e,t){Gm(e,t,!1)},t}(ls);qm.prototype.type="polyline";var $m=qm,Jm={},Km=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),Qm=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Km},t.prototype.buildPath=function(e,t){var n,i,r,a;if(this.subPixelOptimize){var o=_s(Jm,t,this.style);n=o.x1,i=o.y1,r=o.x2,a=o.y2}else n=t.x1,i=t.y1,r=t.x2,a=t.y2;var s=t.percent;0!==s&&(e.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,a=i*(1-s)+a*s),e.lineTo(r,a))},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}(ls);Qm.prototype.type="line";var eg=Qm,tg=[],ng=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 ig(e,t,n){var i=e.cpx2,r=e.cpy2;return null!=i||null!=r?[(n?Et:Ct)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?Et:Ct)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?jt:Ht)(e.x1,e.cpx1,e.x2,t),(n?jt:Ht)(e.y1,e.cpy1,e.y2,t)]}var rg=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ng},t.prototype.buildPath=function(e,t){var n=t.x1,i=t.y1,r=t.x2,a=t.y2,o=t.cpx1,s=t.cpy1,l=t.cpx2,u=t.cpy2,c=t.percent;0!==c&&(e.moveTo(n,i),null==l||null==u?(c<1&&(Vt(n,o,r,c,tg),o=tg[1],r=tg[2],Vt(i,s,a,c,tg),s=tg[1],a=tg[2]),e.quadraticCurveTo(o,s,r,a)):(c<1&&(Rt(n,o,l,r,c,tg),o=tg[1],l=tg[2],r=tg[3],Rt(i,s,u,a,c,tg),s=tg[1],u=tg[2],a=tg[3]),e.bezierCurveTo(o,s,l,u,r,a)))},t.prototype.pointAt=function(e){return ig(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=ig(this.shape,e,!0);return I(t,t)},t}(ls);rg.prototype.type="bezier-curve";var ag=rg,og=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}(),sg=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new og},t.prototype.buildPath=function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r,0),a=t.startAngle,o=t.endAngle,s=t.clockwise,l=Math.cos(a),u=Math.sin(a);e.moveTo(l*r+n,u*r+i),e.arc(n,i,r,a,o,!s)},t}(ls);sg.prototype.type="arc";var lg=sg,ug=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return v(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||[],i=0;i<n.length;i++)n[i].buildPath(e,n[i].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),ls.prototype.getBoundingRect.call(this)},t}(ls),cg=ug,hg=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}(),dg=hg,fg=function(e){function t(t,n,i,r,a,o){var s=e.call(this,a)||this;return s.x=null==t?0:t,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=o||!1,s}return v(t,e),t}(dg),pg=fg,mg=function(e){function t(t,n,i,r,a){var o=e.call(this,r)||this;return o.x=null==t?.5:t,o.y=null==n?.5:n,o.r=null==i?.5:i,o.type="radial",o.global=a||!1,o}return v(t,e),t}(dg),gg=mg,yg=[0,0],vg=[0,0],_g=new ke,xg=new ke,bg=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new ke;for(n=0;n<2;n++)this._axes[n]=new ke;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,i=this._axes,r=e.x,a=e.y,o=r+e.width,s=a+e.height;if(n[0].set(r,a),n[1].set(o,a),n[2].set(o,s),n[3].set(r,s),t)for(var l=0;l<4;l++)n[l].transform(t);ke.sub(i[0],n[1],n[0]),ke.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,i=!t;return _g.set(1/0,1/0),xg.set(0,0),!this._intersectCheckOneSide(this,e,_g,xg,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(e,this,_g,xg,i,-1)&&(n=!1,i)||i||ke.copy(t,n?_g:xg),n},e.prototype._intersectCheckOneSide=function(e,t,n,i,r,a){for(var o=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,yg),this._getProjMinMaxOnAxis(s,t._corners,vg),yg[1]<vg[0]||yg[0]>vg[1]){if(o=!1,r)return o;var u=Math.abs(vg[0]-yg[1]),c=Math.abs(yg[0]-vg[1]);Math.min(u,c)>i.len()&&(u<c?ke.scale(i,l,-u*a):ke.scale(i,l,c*a))}else if(n){u=Math.abs(vg[0]-yg[1]),c=Math.abs(yg[0]-vg[1]);Math.min(u,c)<n.len()&&(u<c?ke.scale(n,l,u*a):ke.scale(n,l,-c*a))}}return o},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var i=this._axes[e],r=this._origin,a=t[0].dot(i)+r[e],o=a,s=a,l=1;l<t.length;l++){var u=t[l].dot(i)+r[e];o=Math.min(u,o),s=Math.max(u,s)}n[0]=o,n[1]=s},e}(),wg=bg,Mg=[],Sg=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 v(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 je(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Mg)),e.union(i)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var a=this._displayables[r];if(a.contain(e,t))return!0}return!1},t}(eo),Tg=Sg,Lg=Math.max,Dg=Math.min,Ag={};function Og(e){return ls.extend(e)}var kg=fm;function Ig(e,t){return kg(e,t)}function Cg(e,t){Ag[e]=t}function Eg(e){if(Ag.hasOwnProperty(e))return Ag[e]}function Pg(e,t,n,i){var r=dm(e,t);return n&&("center"===i&&(n=Rg(n,r.getBoundingRect())),zg(r,n)),r}function Ng(e,t,n){var i=new gs({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var r={width:e.width,height:e.height};i.setStyle(Rg(t,r))}}});return i}function Rg(e,t){var n,i=t.width/t.height,r=e.height*i;r<=e.width?n=e.height:(r=e.width,n=r/i);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-r/2,y:o-n/2,width:r,height:n}}var Yg=pm;function zg(e,t){if(e.applyTransform){var n=e.getBoundingRect(),i=n.calculateTransform(t);e.applyTransform(i)}}function Hg(e,t){return _s(e,e,{lineWidth:t}),e}function jg(e){return xs(e.shape,e.shape,e.style),e}var Fg=bs;function Bg(e,t){var n=be([]);while(e&&e!==t)Me(n,e.getLocalTransform(),n),e=e.parent;return n}function Vg(e,t,n){return t&&!Object(x["u"])(t)&&(t=li.getLocalTransform(t)),n&&(t=De([],t)),Y([],e,t)}function Gg(e,t,n){var i=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),a=["left"===e?-i:"right"===e?i:0,"top"===e?-r:"bottom"===e?r:0];return a=Vg(a,t,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Wg(e){return!e.isGroup}function Ug(e){return null!=e.shape}function Xg(e,t,n){if(e&&t){var i=r(e);t.traverse((function(e){if(Wg(e)&&e.anid){var t=i[e.anid];if(t){var r=a(e);e.attr(a(t)),su(e,r,n,Gs(e).dataIndex)}}}))}function r(e){var t={};return e.traverse((function(e){Wg(e)&&e.anid&&(t[e.anid]=e)})),t}function a(e){var t={x:e.x,y:e.y,rotation:e.rotation};return Ug(e)&&(t.shape=Object(x["m"])({},e.shape)),t}}function Zg(e,t){return Object(x["H"])(e,(function(e){var n=e[0];n=Lg(n,t.x),n=Dg(n,t.x+t.width);var i=e[1];return i=Lg(i,t.y),i=Dg(i,t.y+t.height),[n,i]}))}function qg(e,t){var n=Lg(e.x,t.x),i=Dg(e.x+e.width,t.x+t.width),r=Lg(e.y,t.y),a=Dg(e.y+e.height,t.y+t.height);if(i>=n&&a>=r)return{x:n,y:r,width:i-n,height:a-r}}function $g(e,t,n){var i=Object(x["m"])({rectHover:!0},t),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),Object(x["i"])(r,n),new gs(i)):Pg(e.replace("path://",""),i,n,"center")}function Jg(e,t,n,i,r){for(var a=0,o=r[r.length-1];a<r.length;a++){var s=r[a];if(Kg(e,t,n,i,s[0],s[1],o[0],o[1]))return!0;o=s}}function Kg(e,t,n,i,r,a,o,s){var l=n-e,u=i-t,c=o-r,h=s-a,d=Qg(c,h,l,u);if(ey(d))return!1;var f=e-r,p=t-a,m=Qg(f,p,l,u)/d;if(m<0||m>1)return!1;var g=Qg(f,p,c,h)/d;return!(g<0||g>1)}function Qg(e,t,n,i){return e*i-n*t}function ey(e){return e<=1e-6&&e>=-1e-6}function ty(e){var t=e.itemTooltipOption,n=e.componentModel,i=e.itemName,r=Object(x["C"])(t)?{formatter:t}:t,a=n.mainType,o=n.componentIndex,s={componentType:a,name:i,$vars:["name"]};s[a+"Index"]=o;var l=e.formatterParamsExtra;l&&Object(x["k"])(Object(x["F"])(l),(function(e){Object(x["q"])(s,e)||(s[e]=l[e],s.$vars.push(e))}));var u=Gs(e.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:i,option:Object(x["i"])({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function ny(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function iy(e,t){if(e)if(Object(x["t"])(e))for(var n=0;n<e.length;n++)ny(e[n],t);else ny(e,t)}Cg("circle",vm),Cg("ellipse",bm),Cg("sector",Hm),Cg("ring",Bm),Cg("polygon",Xm),Cg("polyline",$m),Cg("rect",Ts),Cg("line",eg),Cg("bezierCurve",ag),Cg("arc",lg);var ry=qr(),ay=Up(),oy=function(){function e(){this.group=new Ni,this.uid=Uu("viewChart"),this.renderTask=Sf({plan:uy,reset:cy}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,i){0},e.prototype.highlight=function(e,t,n,i){var r=e.getData(i&&i.dataType);r&&ly(r,i,"emphasis")},e.prototype.downplay=function(e,t,n,i){var r=e.getData(i&&i.dataType);r&&ly(r,i,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,i){this.render(e,t,n,i)},e.prototype.updateLayout=function(e,t,n,i){this.render(e,t,n,i)},e.prototype.updateVisual=function(e,t,n,i){this.render(e,t,n,i)},e.prototype.eachRendered=function(e){iy(this.group,e)},e.markUpdateMethod=function(e,t){ry(e).updateMethod=t},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function sy(e,t,n){e&&Kl(e)&&("emphasis"===t?Dl:Al)(e,n)}function ly(e,t,n){var i=Zr(e,t),r=t&&null!=t.highlightKey?eu(t.highlightKey):null;null!=i?Object(x["k"])(Dr(i),(function(t){sy(e.getItemGraphicEl(t),n,r)})):e.eachItemGraphicEl((function(e){sy(e,n,r)}))}function uy(e){return ay(e.model)}function cy(e){var t=e.model,n=e.ecModel,i=e.api,r=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=r&&ry(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](t,n,i,r),hy[l]}fa(oy,["dispose"]),xa(oy);var hy={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)}}},dy=oy,fy="\0__throttleOriginMethod",py="\0__throttleRate",my="\0__throttleType";function gy(e,t,n){var i,r,a,o,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,e.apply(a,o||[])}t=t||0;var d=function(){for(var e=[],d=0;d<arguments.length;d++)e[d]=arguments[d];i=(new Date).getTime(),a=this,o=e;var f=s||t,p=s||n;s=null,r=i-(p?l:u)-f,clearTimeout(c),p?c=setTimeout(h,f):r>=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(e){s=e},d}function yy(e,t,n,i){var r=e[t];if(r){var a=r[fy]||r,o=r[my],s=r[py];if(s!==n||o!==i){if(null==n||!i)return e[t]=a;r=e[t]=gy(a,n,"debounce"===i),r[fy]=a,r[my]=i,r[py]=n}return r}}function vy(e,t){var n=e[t];n&&n[fy]&&(n.clear&&n.clear(),e[t]=n[fy])}var _y=qr(),xy={itemStyle:ba(ju,!0),lineStyle:ba(Yu,!0)},by={lineStyle:"stroke",itemStyle:"fill"};function wy(e,t){var n=e.visualStyleMapper||xy[t];return n||(console.warn("Unknown style type '"+t+"'."),xy.itemStyle)}function My(e,t){var n=e.visualDrawType||by[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var Sy={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),i=e.visualStyleAccessPath||"itemStyle",r=e.getModel(i),a=wy(e,i),o=a(r),s=r.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=My(e,i),u=o[l],c=Object(x["w"])(u)?u:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[l]||c||h){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[l]||(o[l]=d,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Object(x["w"])(o.fill)?d:o.fill,o.stroke="auto"===o.stroke||Object(x["w"])(o.stroke)?d:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var i=e.getDataParams(n),r=Object(x["m"])({},o);r[l]=c(i),t.setItemVisual(n,"style",r)}}}},Ty=new Gu,Ly={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),i=e.visualStyleAccessPath||"itemStyle",r=wy(e,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[i]){Ty.option=n[i];var o=r(Ty),s=e.ensureUniqueItemVisual(t,"style");Object(x["m"])(s,o),Ty.option.decal&&(e.setItemVisual(t,"decal",Ty.option.decal),Ty.option.decal.dirty=!0),a in o&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},Dy={performRawSeries:!0,overallReset:function(e){var t=Object(x["f"])();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var i=e.type+"-"+n,r=t.get(i);r||(r={},t.set(i,r)),_y(e).scope=r}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),i={},r=t.getData(),a=_y(t).scope,o=t.visualStyleAccessPath||"itemStyle",s=My(t,o);r.each((function(e){var t=r.getRawIndex(e);i[t]=e})),n.each((function(e){var o=i[e],l=r.getItemVisual(o,"colorFromPalette");if(l){var u=r.ensureUniqueItemVisual(o,"style"),c=n.getName(e)||e+"",h=n.count();u[s]=t.getColorFromPalette(c,a,h)}}))}}))}},Ay=Math.PI;function Oy(e,t){t=t||{},x["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 Ni,i=new Ts({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(i);var r,a=new Vs({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new Ts({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(o),t.showSpinner&&(r=new lg({shape:{startAngle:-Ay/2,endAngle:-Ay/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*Ay/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Ay/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.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&&r.setShape({cx:l,cy:u}),o.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var ky=function(){function e(e,t,n,i){this._stageTaskMap=Object(x["f"])(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}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),i=n.context,r=!t&&n.progressiveEnabled&&(!i||i.progressiveRender)&&e.__idxInPipeline>n.blockIndex,a=r?n.step:null,o=i&&i.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),i=e.getData(),r=i.count(),a=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,o=e.get("large")&&r>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:a,modDataCount:s,large:o}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Object(x["f"])();e.eachSeries((function(e){var i=e.getProgressive(),r=e.uid;n.set(r,{id:r,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:i&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;Object(x["k"])(this._allHandlers,(function(i){var r=e.get(i.uid)||e.set(i.uid,{}),a="";Object(x["b"])(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,r,t,n),i.overallReset&&this._createOverallStageTask(i,r,t,n)}),this)},e.prototype.prepareView=function(e,t,n,i){var r=e.renderTask,a=r.context;a.model=t,a.ecModel=n,a.api=i,r.__block=!e.incrementalPrepareRender,this._pipe(t,r)},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,i){i=i||{};var r=!1,a=this;function o(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(x["k"])(e,(function(e,s){if(!i.visualType||i.visualType===e.visualType){var l=a._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each((function(e){o(i,e)&&(e.dirty(),h=!0)})),h&&c.dirty(),a.updatePayload(c,n);var f=a.getPerformArgs(c,i.block);d.each((function(e){e.perform(f)})),c.perform(f)&&(r=!0)}else u&&u.each((function(s,l){o(i,s)&&s.dirty();var u=a.getPerformArgs(s,i.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),a.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||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,i){var r=this,a=t.seriesTaskMap,o=t.seriesTaskMap=Object(x["f"])(),s=e.seriesType,l=e.getTargetSeries;function u(t){var s=t.uid,l=o.set(s,a&&a.get(s)||Sf({plan:Ny,reset:Ry,count:Hy}));l.context={model:t,ecModel:n,api:i,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:r},r._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},e.prototype._createOverallStageTask=function(e,t,n,i){var r=this,a=t.overallTask=t.overallTask||Sf({reset:Iy});a.context={ecModel:n,api:i,overallReset:e.overallReset,scheduler:r};var o=a.agentStubMap,s=a.agentStubMap=Object(x["f"])(),l=e.seriesType,u=e.getTargetSeries,c=!0,h=!1,d="";function f(e){var t=e.uid,n=s.set(t,o&&o.get(t)||(h=!0,Sf({reset:Cy,onDirty:Py})));n.context={model:e,overallProgress:c},n.agent=a,n.__block=c,r._pipe(e,n)}Object(x["b"])(!e.createOnAllSeries,d),l?n.eachRawSeriesByType(l,f):u?u(n,i).each(f):(c=!1,Object(x["k"])(n.getSeries(),f)),h&&a.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=t),i.tail&&i.tail.pipe(t),i.tail=t,t.__idxInPipeline=i.count++,t.__pipeline=i},e.wrapStageHandler=function(e,t){return Object(x["w"])(e)&&(e={overallReset:e,seriesType:jy(e)}),e.uid=Uu("stageHandler"),t&&(e.visualType=t),e},e}();function Iy(e){e.overallReset(e.ecModel,e.api,e.payload)}function Cy(e){return e.overallProgress&&Ey}function Ey(){this.agent.dirty(),this.getDownstream().dirty()}function Py(){this.agent&&this.agent.dirty()}function Ny(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Ry(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Dr(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(x["H"])(t,(function(e,t){return zy(t)})):Yy}var Yy=zy(0);function zy(e){return function(t,n){var i=n.data,r=n.resetDefines[e];if(r&&r.dataEach)for(var a=t.start;a<t.end;a++)r.dataEach(i,a);else r&&r.progress&&r.progress(t,i)}}function Hy(e){return e.data.count()}function jy(e){Fy=null;try{e(By,Vy)}catch(t){}return Fy}var Fy,By={},Vy={};function Gy(e,t){for(var n in t.prototype)e[n]=x["L"]}Gy(By,od),Gy(Vy,ud),By.eachSeriesByType=By.eachRawSeriesByType=function(e){Fy=e},By.eachComponent=function(e){"series"===e.mainType&&e.subType&&(Fy=e.subType)};var Wy=ky,Uy=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Xy={color:Uy,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Uy]},Zy="#B9B8CE",qy="#100C2A",$y=function(){return{axisLine:{lineStyle:{color:Zy}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Jy=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Ky={darkMode:!0,color:Jy,backgroundColor:qy,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Zy}},textStyle:{color:Zy},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Zy}},dataZoom:{borderColor:"#71708A",textStyle:{color:Zy},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:Zy}},timeline:{lineStyle:{color:Zy},label:{color:Zy},controlStyle:{color:Zy,borderColor:Zy}},calendar:{itemStyle:{color:qy},dayLabel:{color:Zy},monthLabel:{color:Zy},yearLabel:{color:Zy}},timeAxis:$y(),logAxis:$y(),valueAxis:$y(),categoryAxis:$y(),line:{symbol:"circle"},graph:{color:Jy},gauge:{title:{color:Zy},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Zy},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Ky.categoryAxis.splitLine.show=!1;var Qy=Ky,ev=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},i={};if(x["C"](e)){var r=ca(e);t.mainType=r.main||null,t.subType=r.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};x["k"](e,(function(e,r){for(var s=!1,l=0;l<a.length;l++){var u=a[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(t.mainType=h,t[u.toLowerCase()]=e,s=!0)}}o.hasOwnProperty(r)&&(n[r]=e,s=!0),s||(i[r]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:i}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,a=n.model,o=n.view;if(!a||!o)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(e,t.otherQuery,i,r));function u(e,t,n,i){return null==e[n]||t[i||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),tv=["symbol","symbolSize","symbolRotate","symbolOffset"],nv=tv.concat(["symbolKeepAspect"]),iv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var i={},r={},a=!1,o=0;o<tv.length;o++){var s=tv[o],l=e.get(s);Object(x["w"])(l)?(a=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||e.defaultSymbol,n.setVisual(Object(x["m"])({legendIcon:e.legendIcon||i.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},i)),!t.isSeriesFiltered(e)){var u=Object(x["F"])(r);return{dataEach:a?c:null}}}function c(t,n){for(var i=e.getRawValue(n),a=e.getDataParams(n),o=0;o<u.length;o++){var s=u[o];t.setItemVisual(n,s,r[s](i,a))}}}},rv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e)){var n=e.getData();return{dataEach:n.hasItemOption?i:null}}function i(e,t){for(var n=e.getItemModel(t),i=0;i<nv.length;i++){var r=nv[i],a=n.getShallow(r,!0);null!=a&&e.setItemVisual(t,r,a)}}}};function av(e,t,n){switch(n){case"color":var i=e.getItemVisual(t,"style");return i[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 ov(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 sv(e,t,n,i){switch(n){case"color":var r=e.ensureUniqueItemVisual(t,"style");r[e.getVisual("drawType")]=i,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,i);break;default:0}}function lv(e,t){function n(t,n){var i=[];return t.eachComponent({mainType:"series",subType:e,query:n},(function(e){i.push(e.seriesIndex)})),i}Object(x["k"])([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,i,r){t=Object(x["m"])({},t),r.dispatchAction(Object(x["m"])(t,{type:e[1],seriesIndex:n(i,t)}))}))}))}function uv(e,t,n,i,r){var a=e+t;n.isSilent(a)||i.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,i=e.option.selectedMap,o=r.selected,s=0;s<o.length;s++)if(o[s].seriesIndex===t){var l=e.getData(),u=Zr(l,r.fromActionPayload);n.trigger(a,{type:a,seriesId:e.id,name:Object(x["t"])(u)?l.getName(u[0]):l.getName(u),selected:Object(x["C"])(i)?i:Object(x["m"])({},i)})}}))}function cv(e,t,n){e.on("selectchanged",(function(e){var i=n.getModel();e.isFromClick?(uv("map","selectchanged",t,i,e),uv("pie","selectchanged",t,i,e)):"select"===e.fromAction?(uv("map","selected",t,i,e),uv("pie","selected",t,i,e)):"unselect"===e.fromAction&&(uv("map","unselected",t,i,e),uv("pie","unselected",t,i,e))}))}function hv(e,t,n){var i;while(e){if(t(e)&&(i=e,n))break;e=e.__hostTarget||e.parent}return i}var dv=Math.round(9*Math.random()),fv="function"===typeof Object.defineProperty,pv=function(){function e(){this._id="__ec_inner_"+dv++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return fv?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}(),mv=pv,gv=ls.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,a=t.height/2;e.moveTo(n,i-a),e.lineTo(n+r,i+a),e.lineTo(n-r,i+a),e.closePath()}}),yv=ls.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,a=t.height/2;e.moveTo(n,i-a),e.lineTo(n+r,i),e.lineTo(n,i+a),e.lineTo(n-r,i),e.closePath()}}),vv=ls.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,i=t.y,r=t.width/5*3,a=Math.max(r,t.height),o=r/2,s=o*o/(a-o),l=i-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,h=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;e.moveTo(n-c,l+s),e.arc(n,l,o,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),e.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),e.closePath()}}),_v=ls.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,i=t.width,r=t.x,a=t.y,o=i/3*2;e.moveTo(r,a),e.lineTo(r+o,a+n),e.lineTo(r,a+n/4*3),e.lineTo(r-o,a+n),e.lineTo(r,a),e.closePath()}}),xv={line:eg,rect:Ts,roundRect:Ts,square:Ts,circle:vm,diamond:yv,pin:vv,arrow:_v,triangle:gv},bv={line:function(e,t,n,i,r){r.x1=e,r.y1=t+i/2,r.x2=e+n,r.y2=t+i/2},rect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i},roundRect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(e,t,n,i,r){var a=Math.min(n,i);r.x=e,r.y=t,r.width=a,r.height=a},circle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.r=Math.min(n,i)/2},diamond:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i},pin:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},arrow:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},triangle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i}},wv={};Object(x["k"])(xv,(function(e,t){wv[t]=new e}));var Mv=ls.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var i=_i(e,t,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.position&&(i.y=n.y+.4*n.height),i},buildPath:function(e,t,n){var i=t.symbolType;if("none"!==i){var r=wv[i];r||(i="rect",r=wv[i]),bv[i](t.x,t.y,t.width,t.height,r.shape),r.buildPath(e,r.shape,n)}}});function Sv(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 Tv(e,t,n,i,r,a,o){var s,l=0===e.indexOf("empty");return l&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),s=0===e.indexOf("image://")?Ng(e.slice(8),new je(t,n,i,r),o?"center":"cover"):0===e.indexOf("path://")?Pg(e.slice(7),{},new je(t,n,i,r),o?"center":"cover"):new Mv({shape:{symbolType:e,x:t,y:n,width:i,height:r}}),s.__isEmptyBrush=l,s.setColor=Sv,a&&s.setColor(a),s}function Lv(e){return Object(x["t"])(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function Dv(e,t){if(null!=e)return Object(x["t"])(e)||(e=[e,e]),[er(e[0],t[0])||0,er(Object(x["P"])(e[1],e[0]),t[1])||0]}function Av(e){return isFinite(e)}function Ov(e,t,n){var i=null==t.x?0:t.x,r=null==t.x2?1:t.x2,a=null==t.y?0:t.y,o=null==t.y2?0:t.y2;t.global||(i=i*n.width+n.x,r=r*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),i=Av(i)?i:0,r=Av(r)?r:1,a=Av(a)?a:0,o=Av(o)?o:0;var s=e.createLinearGradient(i,a,r,o);return s}function kv(e,t,n){var i=n.width,r=n.height,a=Math.min(i,r),o=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(o=o*i+n.x,s=s*r+n.y,l*=a),o=Av(o)?o:.5,s=Av(s)?s:.5,l=l>=0&&Av(l)?l:.5;var u=e.createRadialGradient(o,s,0,o,s,l);return u}function Iv(e,t,n){for(var i="radial"===t.type?kv(e,t,n):Ov(e,t,n),r=t.colorStops,a=0;a<r.length;a++)i.addColorStop(r[a].offset,r[a].color);return i}function Cv(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 Ev(e){return parseInt(e,10)}function Pv(e,t,n){var i=["width","height"][t],r=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(e);return(e[r]||Ev(s[i])||Ev(e.style[i]))-(Ev(s[a])||0)-(Ev(s[o])||0)|0}function Nv(e,t){return e&&"solid"!==e&&t>0?"dashed"===e?[4*t,2*t]:"dotted"===e?[t]:Object(x["z"])(e)?[e]:Object(x["t"])(e)?e:null:null}function Rv(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&Nv(t.lineDash,t.lineWidth),i=t.lineDashOffset;if(n){var r=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;r&&1!==r&&(n=Object(x["H"])(n,(function(e){return e/r})),i/=r)}return[n,i]}var Yv=new Ro(!0);function zv(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function Hv(e){return"string"===typeof e&&"none"!==e}function jv(e){var t=e.fill;return null!=t&&"none"!==t}function Fv(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 Bv(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 Vv(e,t,n){var i=Da(t.image,t.__image,n);if(Oa(i)){var r=e.createPattern(i,t.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*x["a"]),a.scaleSelf(t.scaleX||1,t.scaleY||1),r.setTransform(a)}return r}}function Gv(e,t,n,i){var r,a=zv(n),o=jv(n),s=n.strokePercent,l=s<1,u=!t.path;t.silent&&!l||!u||t.createPathProxy();var c=t.path||Yv,h=t.__dirty;if(!i){var d=n.fill,f=n.stroke,p=o&&!!d.colorStops,m=a&&!!f.colorStops,g=o&&!!d.image,y=a&&!!f.image,v=void 0,_=void 0,x=void 0,b=void 0,w=void 0;(p||m)&&(w=t.getBoundingRect()),p&&(v=h?Iv(e,d,w):t.__canvasFillGradient,t.__canvasFillGradient=v),m&&(_=h?Iv(e,f,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(x=h||!t.__canvasFillPattern?Vv(e,d,t):t.__canvasFillPattern,t.__canvasFillPattern=x),y&&(b=h||!t.__canvasStrokePattern?Vv(e,f,t):t.__canvasStrokePattern,t.__canvasStrokePattern=x),p?e.fillStyle=v:g&&(x?e.fillStyle=x:o=!1),m?e.strokeStyle=_:y&&(b?e.strokeStyle=b:a=!1)}var M,S,T=t.getGlobalScale();c.setScale(T[0],T[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(r=Rv(t),M=r[0],S=r[1]);var L=!0;(u||h&ht)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),L=!1),c.reset(),t.buildPath(c,t.shape,i),c.toStatic(),t.pathUpdated()),L&&c.rebuildPath(e,l?s:1),M&&(e.setLineDash(M),e.lineDashOffset=S),i||(n.strokeFirst?(a&&Bv(e,n),o&&Fv(e,n)):(o&&Fv(e,n),a&&Bv(e,n))),M&&e.setLineDash([])}function Wv(e,t,n){var i=t.__image=Da(n.image,t.__image,t,t.onload);if(i&&Oa(i)){var r=n.x||0,a=n.y||0,o=t.getWidth(),s=t.getHeight(),l=i.width/i.height;if(null==o&&null!=s?o=s*l:null==s&&null!=o?s=o/l:null==o&&null==s&&(o=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(i,u,c,n.sWidth,n.sHeight,r,a,o,s)}else if(n.sx&&n.sy){u=n.sx,c=n.sy;var h=o-u,d=s-c;e.drawImage(i,u,c,h,d,r,a,o,s)}else e.drawImage(i,r,a,o,s)}}function Uv(e,t,n){var i,r=n.text;if(null!=r&&(r+=""),r){e.font=n.font||ci["a"],e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var a=void 0,o=void 0;e.setLineDash&&n.lineDash&&(i=Rv(t),a=i[0],o=i[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),n.strokeFirst?(zv(n)&&e.strokeText(r,n.x,n.y),jv(n)&&e.fillText(r,n.x,n.y)):(jv(n)&&e.fillText(r,n.x,n.y),zv(n)&&e.strokeText(r,n.x,n.y)),a&&e.setLineDash([])}}var Xv=["shadowBlur","shadowOffsetX","shadowOffsetY"],Zv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function qv(e,t,n,i,r){var a=!1;if(!i&&(n=n||{},t===n))return!1;if(i||t.opacity!==n.opacity){o_(e,r),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?Ua.opacity:o}(i||t.blend!==n.blend)&&(a||(o_(e,r),a=!0),e.globalCompositeOperation=t.blend||Ua.blend);for(var s=0;s<Xv.length;s++){var l=Xv[s];(i||t[l]!==n[l])&&(a||(o_(e,r),a=!0),e[l]=e.dpr*(t[l]||0))}return(i||t.shadowColor!==n.shadowColor)&&(a||(o_(e,r),a=!0),e.shadowColor=t.shadowColor||Ua.shadowColor),a}function $v(e,t,n,i,r){var a=s_(t,r.inHover),o=i?null:n&&s_(n,r.inHover)||{};if(a===o)return!1;var s=qv(e,a,o,i,r);if((i||a.fill!==o.fill)&&(s||(o_(e,r),s=!0),Hv(a.fill)&&(e.fillStyle=a.fill)),(i||a.stroke!==o.stroke)&&(s||(o_(e,r),s=!0),Hv(a.stroke)&&(e.strokeStyle=a.stroke)),(i||a.opacity!==o.opacity)&&(s||(o_(e,r),s=!0),e.globalAlpha=null==a.opacity?1:a.opacity),t.hasStroke()){var l=a.lineWidth,u=l/(a.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(o_(e,r),s=!0),e.lineWidth=u)}for(var c=0;c<Zv.length;c++){var h=Zv[c],d=h[0];(i||a[d]!==o[d])&&(s||(o_(e,r),s=!0),e[d]=a[d]||h[1])}return s}function Jv(e,t,n,i,r){return qv(e,s_(t,r.inHover),n&&s_(n,r.inHover),i,r)}function Kv(e,t){var n=t.transform,i=e.dpr||1;n?e.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):e.setTransform(i,0,0,i,0,0)}function Qv(e,t,n){for(var i=!1,r=0;r<e.length;r++){var a=e[r];i=i||a.isZeroArea(),Kv(t,a),t.beginPath(),a.buildPath(t,a.shape),t.clip()}n.allClipped=i}function e_(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 t_=1,n_=2,i_=3,r_=4;function a_(e){var t=jv(e),n=zv(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 o_(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function s_(e,t){return t&&e.__hoverStyle||e.style}function l_(e,t){u_(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function u_(e,t,n,i){var r=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=~ut,void(t.__isRendered=!1);var a=t.__clipPaths,o=n.prevElClipPaths,s=!1,l=!1;if(o&&!Cv(a,o)||(o&&o.length&&(o_(e,n),e.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),a&&a.length&&(o_(e,n),e.save(),Qv(a,e,n),s=!0),n.prevElClipPaths=a),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c=t instanceof ls&&t.autoBatch&&a_(t.style);s||e_(r,u.transform)?(o_(e,n),Kv(e,t)):c||o_(e,n);var h=s_(t,n.inHover);t instanceof ls?(n.lastDrawType!==t_&&(l=!0,n.lastDrawType=t_),$v(e,t,u,l,n),c&&(n.batchFill||n.batchStroke)||e.beginPath(),Gv(e,t,h,c),c&&(n.batchFill=h.fill||"",n.batchStroke=h.stroke||"")):t instanceof hs?(n.lastDrawType!==i_&&(l=!0,n.lastDrawType=i_),$v(e,t,u,l,n),Uv(e,t,h)):t instanceof gs?(n.lastDrawType!==n_&&(l=!0,n.lastDrawType=n_),Jv(e,t,u,l,n),Wv(e,t,h)):t.getTemporalDisplayables&&(n.lastDrawType!==r_&&(l=!0,n.lastDrawType=r_),c_(e,t,n)),c&&i&&o_(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}function c_(e,t,n){var i=t.getDisplayables(),r=t.getTemporalDisplayables();e.save();var a,o,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(a=t.getCursor(),o=i.length;a<o;a++){var l=i[a];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),u_(e,l,s,a===o-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=r.length;u<c;u++){l=r[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),u_(e,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var h_=new mv,d_=new ui["a"](100),f_=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function p_(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),i=t.getZr(),r="svg"===i.painter.type;e.dirty&&h_["delete"](e);var a=h_.get(e);if(a)return a;var o=Object(x["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"===o.backgroundColor&&(o.backgroundColor=null);var s={repeat:"repeat"};return l(s),s.rotation=o.rotation,s.scaleX=s.scaleY=r?1:1/n,h_.set(e,s),e.dirty=!1,s;function l(e){for(var t,a=[n],s=!0,l=0;l<f_.length;++l){var u=o[f_[l]];if(null!=u&&!Object(x["t"])(u)&&!Object(x["C"])(u)&&!Object(x["z"])(u)&&"boolean"!==typeof u){s=!1;break}a.push(u)}if(s){t=a.join(",")+(r?"-svg":"");var c=d_.get(t);c&&(r?e.svgElement=c:e.image=c)}var h,d=g_(o.dashArrayX),f=y_(o.dashArrayY),p=m_(o.symbol),m=v_(d),g=__(f),y=!r&&ci["d"].createCanvas(),v=r&&{tag:"g",attrs:{},key:"dcl",children:[]},_=b();function b(){for(var e=1,t=0,n=m.length;t<n;++t)e=Mr(e,m[t]);var i=1;for(t=0,n=p.length;t<n;++t)i=Mr(i,p[t].length);e*=i;var r=g*m.length*p.length;return{width:Math.max(1,Math.min(e,o.maxTileWidth)),height:Math.max(1,Math.min(r,o.maxTileHeight))}}function w(){h&&(h.clearRect(0,0,y.width,y.height),o.backgroundColor&&(h.fillStyle=o.backgroundColor,h.fillRect(0,0,y.width,y.height)));for(var e=0,t=0;t<f.length;++t)e+=f[t];if(!(e<=0)){var a=-g,s=0,l=0,u=0;while(a<_.height){if(s%2===0){var c=l/2%p.length,m=0,x=0,b=0;while(m<2*_.width){var w=0;for(t=0;t<d[u].length;++t)w+=d[u][t];if(w<=0)break;if(x%2===0){var M=.5*(1-o.symbolSize),S=m+d[u][x]*M,T=a+f[s]*M,L=d[u][x]*o.symbolSize,D=f[s]*o.symbolSize,A=b/2%p[c].length;O(S,T,L,D,p[c][A])}m+=d[u][x],++b,++x,x===d[u].length&&(x=0)}++u,u===d.length&&(u=0)}a+=f[s],++l,++s,s===f.length&&(s=0)}}function O(e,t,a,s,l){var u=r?1:n,c=Tv(l,e*u,t*u,a*u,s*u,o.color,o.symbolKeepAspect);if(r){var d=i.painter.renderOneToVNode(c);d&&v.children.push(d)}else l_(h,c)}}y&&(y.width=_.width*n,y.height=_.height*n,h=y.getContext("2d")),w(),s&&d_.put(t,y||v),e.image=y,e.svgElement=v,e.svgWidth=_.width,e.svgHeight=_.height}}function m_(e){if(!e||0===e.length)return[["rect"]];if(Object(x["C"])(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!Object(x["C"])(e[n])){t=!1;break}if(t)return m_([e]);var i=[];for(n=0;n<e.length;++n)Object(x["C"])(e[n])?i.push([e[n]]):i.push(e[n]);return i}function g_(e){if(!e||0===e.length)return[[0,0]];if(Object(x["z"])(e)){var t=Math.ceil(e);return[[t,t]]}for(var n=!0,i=0;i<e.length;++i)if(!Object(x["z"])(e[i])){n=!1;break}if(n)return g_([e]);var r=[];for(i=0;i<e.length;++i)if(Object(x["z"])(e[i])){t=Math.ceil(e[i]);r.push([t,t])}else{t=Object(x["H"])(e[i],(function(e){return Math.ceil(e)}));t.length%2===1?r.push(t.concat(t)):r.push(t)}return r}function y_(e){if(!e||"object"===typeof e&&0===e.length)return[0,0];if(Object(x["z"])(e)){var t=Math.ceil(e);return[t,t]}var n=Object(x["H"])(e,(function(e){return Math.ceil(e)}));return e.length%2?n.concat(n):n}function v_(e){return Object(x["H"])(e,(function(e){return __(e)}))}function __(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?2*t:t}function x_(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(e){var n=i.getItemVisual(e,"decal");if(n){var r=i.ensureUniqueItemVisual(e,"style");r.decal=p_(n,t)}}));var r=i.getVisual("decal");if(r){var a=i.getVisual("style");a.decal=p_(r,t)}}}))}var b_=new G,w_=b_,M_={};function S_(e,t){M_[e]=t}function T_(e){return M_[e]}var L_=1,D_=800,A_=900,O_=1e3,k_=2e3,I_=5e3,C_=1e3,E_=1100,P_=2e3,N_=3e3,R_=4e3,Y_=4500,z_=4600,H_=5e3,j_=6e3,F_=7e3,B_={PROCESSOR:{FILTER:O_,SERIES_FILTER:D_,STATISTIC:I_},VISUAL:{LAYOUT:C_,PROGRESSIVE_LAYOUT:E_,GLOBAL:P_,CHART:N_,POST_CHART_LAYOUT:z_,COMPONENT:R_,BRUSH:H_,CHART_ITEM:Y_,ARIA:j_,DECAL:F_}},V_="__flagInMainProcess",G_="__pendingUpdate",W_="__needsUpdateStatus",U_=/^[a-zA-Z0-9_]+$/,X_="__connectUpdateStatus",Z_=0,q_=1,$_=2;function J_(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return Q_(this,e,t);Mx(this.id)}}function K_(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Q_(this,e,t)}}function Q_(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),G.prototype[t].apply(e,n)}var ex,tx,nx,ix,rx,ax,ox,sx,lx,ux,cx,hx,dx,fx,px,mx,gx,yx,vx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t}(G),_x=vx.prototype;_x.on=K_("on"),_x.off=K_("off");var xx=function(e){function t(t,n,i){var r=e.call(this,new ev)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},Object(x["C"])(n)&&(n=Ox[n]),r._dom=t;var a="canvas",o="auto",s=!1;i.ssr&&Zi((function(e){var t=Gs(e),n=t.dataIndex;if(null!=n){var i=Object(x["f"])();return i.set("series_index",t.seriesIndex),i.set("data_index",n),t.ssrType&&i.set("ssr_type",t.ssrType),i}}));var l=r._zr=Bi(t,{renderer:i.renderer||a,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:Object(x["P"])(i.useDirtyRect,s),useCoarsePointer:Object(x["P"])(i.useCoarsePointer,o),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=gy(Object(x["c"])(l.flush,l),17),n=Object(x["d"])(n),n&&Vd(n,!0),r._theme=n,r._locale=ac(i.locale||ic),r._coordSysMgr=new dd;var u=r._api=px(r);function c(e,t){return e.__prio-t.__prio}return lt(Ax,c),lt(Lx,c),r._scheduler=new Wy(r,u,Lx,Ax),r._messageCenter=new vx,r._initEvents(),r.resize=Object(x["c"])(r.resize,r),l.animation.on("frame",r._onframe,r),ux(l,r),cx(l,r),Object(x["R"])(r),r}return v(t,e),t.prototype._onframe=function(){if(!this._disposed){yx(this);var e=this._scheduler;if(this[G_]){var t=this[G_].silent;this[V_]=!0;try{ex(this),ix.update.call(this,null,this[G_].updateParams)}catch(o){throw this[V_]=!1,this[G_]=null,o}this._zr.flush(),this[V_]=!1,this[G_]=null,sx.call(this,t),lx.call(this,t)}else if(e.unfinished){var n=L_,i=this._model,r=this._api;e.unfinished=!1;do{var a=+new Date;e.performSeriesTasks(i),e.performDataProcessorTasks(i),ax(this,i),e.performVisualTasks(i),fx(this,this._model,r,"remain",{}),n-=+new Date-a}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[V_])if(this._disposed)Mx(this.id);else{var i,r,a;if(Object(x["A"])(t)&&(n=t.lazyUpdate,i=t.silent,r=t.replaceMerge,a=t.transition,t=t.notMerge),this[V_]=!0,!this._model||t){var o=new _d(this._api),s=this._theme,l=this._model=new od;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,o)}this._model.setOption(e,{replaceMerge:r},Dx);var u={seriesTransition:a,optionChanged:!0};if(n)this[G_]={silent:i,updateParams:u},this[V_]=!1,this.getZr().wakeUp();else{try{ex(this),ix.update.call(this,null,u)}catch(c){throw this[G_]=null,this[V_]=!1,c}this._ssr||this._zr.flush(),this[G_]=null,this[V_]=!1,sx.call(this,i),lx.call(this,i)}}},t.prototype.setTheme=function(){$h("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||_["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(_["a"].svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(x["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,i=[],r=this;Object(x["k"])(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(i.push(t),t.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(x["k"])(i,(function(e){e.group.ignore=!1})),a}Mx(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,i=Math.min,r=Math.max,a=1/0;if(Cx[n]){var o=a,s=a,l=-a,u=-a,c=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();Object(x["k"])(Ix,(function(a,h){if(a.group===n){var d=t?a.getZr().painter.getSvgDom().innerHTML:a.renderToCanvas(Object(x["d"])(e)),f=a.getDom().getBoundingClientRect();o=i(f.left,o),s=i(f.top,s),l=r(f.right,l),u=r(f.bottom,u),c.push({dom:d,left:f.left,top:f.top})}})),o*=h,s*=h,l*=h,u*=h;var d=l-o,f=u-s,p=ci["d"].createCanvas(),m=Bi(p,{renderer:t?"svg":"canvas"});if(m.resize({width:d,height:f}),t){var g="";return Object(x["k"])(c,(function(e){var t=e.left-o,n=e.top-s;g+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=g,e.connectedBackgroundColor&&m.painter.setBackgroundColor(e.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return e.connectedBackgroundColor&&m.add(new Ts({shape:{x:0,y:0,width:d,height:f},style:{fill:e.connectedBackgroundColor}})),Object(x["k"])(c,(function(e){var t=new gs({style:{x:e.left*h-o,y:e.top*h-s,image:e.dom}});m.add(t)})),m.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}Mx(this.id)},t.prototype.convertToPixel=function(e,t){return rx(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return rx(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,i=this._model,r=Jr(i,e);return Object(x["k"])(r,(function(e,i){i.indexOf("Models")>=0&&Object(x["k"])(e,(function(e){var r=e.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(t);else if("seriesModels"===i){var a=this._chartsMap[e.__viewId];a&&a.containPoint&&(n=n||a.containPoint(t,e))}else 0}),this)}),this),!!n}Mx(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,i=Jr(n,e,{defaultMainType:"series"}),r=i.seriesModel;var a=r.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?a.indexOfRawIndex(i.dataIndex):null;return null!=o?av(a,o,t):ov(a,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(x["k"])(wx,(function(t){var n=function(n){var i,r=e.getModel(),a=n.target,o="globalout"===t;if(o?i={}:a&&hv(a,(function(e){var t=Gs(e);if(t&&null!=t.dataIndex){var n=t.dataModel||r.getSeriesByIndex(t.seriesIndex);return i=n&&n.getDataParams(t.dataIndex,t.dataType,a)||{},!0}if(t.eventData)return i=Object(x["m"])({},t.eventData),!0}),!0),i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),c=u&&e["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,i.event=n,i.type=t,e._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:u,view:c},e.trigger(t,i)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),Object(x["k"])(Tx,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),Object(x["k"])(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),cv(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?Mx(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)Mx(this.id);else{this._disposed=!0;var e=this.getDom();e&&na(this.getDom(),Px,"");var t=this,n=t._api,i=t._model;Object(x["k"])(t._componentsViews,(function(e){e.dispose(i,n)})),Object(x["k"])(t._chartsViews,(function(e){e.dispose(i,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 Ix[t.id]}},t.prototype.resize=function(e){if(!this[V_])if(this._disposed)Mx(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),i=e&&e.silent;this[G_]&&(null==i&&(i=this[G_].silent),n=!0,this[G_]=null),this[V_]=!0;try{n&&ex(this),ix.update.call(this,{type:"resize",animation:Object(x["m"])({duration:0},e&&e.animation)})}catch(r){throw this[V_]=!1,r}this[V_]=!1,sx.call(this,i),lx.call(this,i)}}},t.prototype.showLoading=function(e,t){if(this._disposed)Mx(this.id);else if(Object(x["A"])(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),kx[e]){var n=kx[e](this._api,t),i=this._zr;this._loadingFX=n,i.add(n)}},t.prototype.hideLoading=function(){this._disposed?Mx(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(x["m"])({},e);return t.type=Tx[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)Mx(this.id);else if(Object(x["A"])(t)||(t={silent:!!t}),Sx[e.type]&&this._model)if(this[V_])this._pendingActions.push(e);else{var n=t.silent;ox.call(this,e,n);var i=t.flush;i?this._zr.flush():!1!==i&&_["a"].browser.weChat&&this._throttledZrFlush(),sx.call(this,n),lx.call(this,n)}},t.prototype.updateLabelLayout=function(){w_.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)Mx(this.id);else{var t=e.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(t);0,i.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=[],i=!1;if(e.eachComponent((function(e,r){var a=r.get("zlevel")||0,o=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===e?n:t).push({zlevel:a,z:o,idx:r.componentIndex,type:e,key:s})})),i){var r,a,o=t.concat(n);lt(o,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),Object(x["k"])(o,(function(t){var n=e.getComponent(t.type,t.idx),i=t.zlevel,o=t.key;null!=r&&(i=Math.max(r,i)),o?(i===r&&o!==a&&i++,a=o):a&&(i===r&&i++,a=""),r=i,n.setZLevel(i)}))}}function n(e){for(var t=[],n=e.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&t.push(r)}e.selected&&e.states.select&&t.push("select"),e.hoverState===Ks&&e.states.emphasis?t.push("emphasis"):e.hoverState===Js&&e.states.blur&&t.push("blur"),e.useStates(t)}function i(e,t){var n=e._zr,i=n.storage,r=0;i.traverse((function(e){e.isGroup||r++})),r>t.get("hoverLayerThreshold")&&!_["a"].node&&!_["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 r(e,t){var n=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=n)}))}function a(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,i=e.get("zlevel")||0;t.eachRendered((function(e){return o(e,n,i,-1/0),!0}))}}function o(e,t,n,i){var r=e.getTextContent(),a=e.getTextGuideLine(),s=e.isGroup;if(s)for(var l=e.childrenRef(),u=0;u<l.length;u++)i=Math.max(o(l[u],t,n,i),i);else e.z=t,e.zlevel=n,i=Math.max(e.z2,i);if(r&&(r.z=t,r.zlevel=n,isFinite(i)&&(r.z2=i+2)),a){var c=e.textGuideLineConfig;a.z=t,a.zlevel=n,isFinite(i)&&(a.z2=i+(c&&c.showAbove?1:-1))}return i}function s(e,t){t.eachRendered((function(e){if(!uu(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 l(e,t){var i=e.getModel("stateAnimation"),r=e.isAnimationEnabled(),a=i.get("duration"),o=a>0?{duration:a,delay:i.get("delay"),easing:i.get("easing")}:null;t.eachRendered((function(e){if(e.states&&e.states.emphasis){if(uu(e))return;if(e instanceof ls&&iu(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(r){e.stateTransition=o;var i=e.getTextContent(),a=e.getTextGuideLine();i&&(i.stateTransition=o),a&&(a.stateTransition=o)}e.__dirty&&n(e)}}))}ex=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),tx(e,!0),tx(e,!1),t.plan()},tx=function(e,t){for(var n=e._model,i=e._scheduler,r=t?e._componentsViews:e._chartsViews,a=t?e._componentsMap:e._chartsMap,o=e._zr,s=e._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(e){var l=e.__requireNewView;e.__requireNewView=!1;var u="_ec_"+e.id+"_"+e.type,c=!l&&a[u];if(!c){var h=ca(e.type),d=t?Wp.getClass(h.main,h.sub):dy.getClass(h.sub);0,c=new d,c.init(n,s),a[u]=c,r.push(c),o.add(c.group)}e.__viewId=c.__id=u,c.__alive=!0,c.__model=e,c.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&i.prepareView(c,e,n,s)}t?n.eachComponent((function(e,t){"series"!==e&&u(t)})):n.eachSeries(u);for(l=0;l<r.length;){var c=r[l];c.__alive?l++:(!t&&c.renderTask.dispose(),o.remove(c.group),c.dispose(n,s),r.splice(l,1),a[c.__id]===c&&delete a[c.__id],c.__id=c.group.__ecComponentInfo=null)}},nx=function(e,t,n,i,r){var a=e._model;if(a.setUpdatePayload(n),i){var o={};o[i+"Id"]=n[i+"Id"],o[i+"Index"]=n[i+"Index"],o[i+"Name"]=n[i+"Name"];var s={mainType:i,query:o};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=Object(x["f"])(),Object(x["k"])(Dr(u),(function(e){var t=Fr(e,null);null!=t&&l.set(t,!0)}))),a&&a.eachComponent(s,(function(t){var i=l&&null!=l.get(t.id);if(!i)if(nu(n))if(t instanceof Vp)n.type!==il||n.notBlur||t.get(["emphasis","disabled"])||Yl(t,n,e._api);else{var r=zl(t.mainType,t.componentIndex,n.name,e._api),a=r.focusSelf,o=r.dispatchers;n.type===il&&a&&!n.notBlur&&Rl(t.mainType,t.componentIndex,e._api),o&&Object(x["k"])(o,(function(e){n.type===il?Dl(e):Al(e)}))}else tu(n)&&t instanceof Vp&&(Fl(t,n,e._api),Bl(t),gx(e))}),e),a&&a.eachComponent(s,(function(t){var n=l&&null!=l.get(t.id);n||c(e["series"===i?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else Object(x["k"])([].concat(e._componentsViews).concat(e._chartsViews),c);function c(i){i&&i.__alive&&i[t]&&i[t](i.__model,a,e._api,n)}},ix={prepareAndUpdate:function(e){ex(this),ix.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var i=this._model,r=this._api,a=this._zr,o=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(t),s.restoreData(i,t),s.performSeriesTasks(i),o.create(i,r),s.performDataProcessorTasks(i,t),ax(this,i),o.update(i,r),e(i),s.performVisualTasks(i,t),hx(this,i,r,t,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");a.setBackgroundColor(l),null!=u&&"auto"!==u&&a.setDarkMode(u),w_.trigger("afterupdate",i,r)}},updateTransform:function(t){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(t);var a=[];i.eachComponent((function(e,o){if("series"!==e){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,i,r,t);l&&l.update&&a.push(s)}else a.push(s)}}));var o=Object(x["f"])();i.eachSeries((function(e){var a=n._chartsMap[e.__viewId];if(a.updateTransform){var s=a.updateTransform(e,i,r,t);s&&s.update&&o.set(e.uid,1)}else o.set(e.uid,1)})),e(i),this._scheduler.performVisualTasks(i,t,{setDirty:!0,dirtyMap:o}),fx(this,i,r,t,{},o),w_.trigger("afterupdate",i,r)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),dy.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),hx(this,n,this._api,t,{}),w_.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,i=this._model;i&&(i.setUpdatePayload(t),i.eachSeries((function(e){e.getData().clearAllVisual()})),dy.markUpdateMethod(t,"updateVisual"),e(i),this._scheduler.performVisualTasks(i,t,{visualType:"visual",setDirty:!0}),i.eachComponent((function(e,r){if("series"!==e){var a=n.getViewOfComponentModel(r);a&&a.__alive&&a.updateVisual(r,i,n._api,t)}})),i.eachSeries((function(e){var r=n._chartsMap[e.__viewId];r.updateVisual(e,i,n._api,t)})),w_.trigger("afterupdate",i,this._api))},updateLayout:function(e){ix.update.call(this,e)}},rx=function(e,t,n,i){if(e._disposed)Mx(e.id);else{for(var r,a=e._model,o=e._coordSysMgr.getCoordinateSystems(),s=Jr(a,n),l=0;l<o.length;l++){var u=o[l];if(u[t]&&null!=(r=u[t](a,s,i)))return r}0}},ax=function(e,t){var n=e._chartsMap,i=e._scheduler;t.eachSeries((function(e){i.updateStreamModes(e,n[e.__viewId])}))},ox=function(e,t){var n=this,i=this.getModel(),r=e.type,a=e.escapeConnect,o=Sx[r],s=o.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&ca(l[0]);this[V_]=!0;var h=[e],d=!1;e.batch&&(d=!0,h=Object(x["H"])(e.batch,(function(t){return t=Object(x["i"])(Object(x["m"])({},t),e),t.batch=null,t})));var f,p=[],m=tu(e),g=nu(e);if(g&&Pl(this._api),Object(x["k"])(h,(function(t){if(f=o.action(t,n._model,n._api),f=f||Object(x["m"])({},t),f.type=s.event||f.type,p.push(f),g){var i=Kr(e),r=i.queryOptionMap,a=i.mainTypeSpecified,l=a?r.keys()[0]:"series";nx(n,u,t,l),gx(n)}else m?(nx(n,u,t,"series"),gx(n)):c&&nx(n,u,t,c.main,c.sub)})),"none"!==u&&!g&&!m&&!c)try{this[G_]?(ex(this),ix.update.call(this,e),this[G_]=null):ix[u].call(this,e)}catch(_){throw this[V_]=!1,_}if(f=d?{type:s.event||r,escapeConnect:a,batch:p}:p[0],this[V_]=!1,!t){var y=this._messageCenter;if(y.trigger(f.type,f),m){var v={type:"selectchanged",escapeConnect:a,selected:Vl(i),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};y.trigger(v.type,v)}}},sx=function(e){var t=this._pendingActions;while(t.length){var n=t.shift();ox.call(this,n,e)}},lx=function(e){!e&&this.trigger("updated")},ux=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t[G_]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},cx=function(e,t){e.on("mouseover",(function(e){var n=e.target,i=hv(n,Kl);i&&(Hl(i,e,t._api),gx(t))})).on("mouseout",(function(e){var n=e.target,i=hv(n,Kl);i&&(jl(i,e,t._api),gx(t))})).on("click",(function(e){var n=e.target,i=hv(n,(function(e){return null!=Gs(e).dataIndex}),!0);if(i){var r=i.selected?"unselect":"select",a=Gs(i);t._api.dispatchAction({type:r,dataType:a.dataType,dataIndexInside:a.dataIndex,seriesIndex:a.seriesIndex,isFromClick:!0})}}))},hx=function(e,n,i,r,a){t(n),dx(e,n,i,r,a),Object(x["k"])(e._chartsViews,(function(e){e.__alive=!1})),fx(e,n,i,r,a),Object(x["k"])(e._chartsViews,(function(e){e.__alive||e.remove(n,i)}))},dx=function(e,t,n,i,r,o){Object(x["k"])(o||e._componentsViews,(function(e){var r=e.__model;s(r,e),e.render(r,t,n,i),a(r,e),l(r,e)}))},fx=function(e,t,n,o,u,c){var h=e._scheduler;u=Object(x["m"])(u||{},{updatedSeries:t.getSeries()}),w_.trigger("series:beforeupdate",t,n,u);var d=!1;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var i=n.renderTask;h.updatePayload(i,o),s(t,n),c&&c.get(t.uid)&&i.dirty(),i.perform(h.getPerformArgs(i))&&(d=!0),n.group.silent=!!t.get("silent"),r(t,n),Bl(t)})),h.unfinished=d||h.unfinished,w_.trigger("series:layoutlabels",t,n,u),w_.trigger("series:transition",t,n,u),t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];a(t,n),l(t,n)})),i(e,t),w_.trigger("series:afterupdate",t,n,u)},gx=function(e){e[W_]=!0,e.getZr().wakeUp()},yx=function(e){e[W_]&&(e.getZr().storage.traverse((function(e){uu(e)||n(e)})),e[W_]=!1)},px=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return v(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){Dl(t,n),gx(e)},n.prototype.leaveEmphasis=function(t,n){Al(t,n),gx(e)},n.prototype.enterBlur=function(t){Ol(t),gx(e)},n.prototype.leaveBlur=function(t){kl(t),gx(e)},n.prototype.enterSelect=function(t){Il(t),gx(e)},n.prototype.leaveSelect=function(t){Cl(t),gx(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}(ud))(e)},mx=function(e){function t(e,t){for(var n=0;n<e.length;n++){var i=e[n];i[X_]=t}}Object(x["k"])(Tx,(function(n,i){e._messageCenter.on(i,(function(n){if(Cx[e.group]&&e[X_]!==Z_){if(n&&n.escapeConnect)return;var i=e.makeActionFromEvent(n),r=[];Object(x["k"])(Ix,(function(t){t!==e&&t.group===e.group&&r.push(t)})),t(r,Z_),Object(x["k"])(r,(function(e){e[X_]!==q_&&e.dispatchAction(i)})),t(r,$_)}}))}))}}(),t}(G),bx=xx.prototype;bx.on=J_("on"),bx.off=J_("off"),bx.one=function(e,t,n){var i=this;function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];t&&t.apply&&t.apply(this,n),i.off(e,r)}$h("ECharts#one is deprecated."),this.on.call(this,e,r,n)};var wx=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Mx(e){0}var Sx={},Tx={},Lx=[],Dx=[],Ax=[],Ox={},kx={},Ix={},Cx={},Ex=+new Date-0,Px=(new Date,"_echarts_instance_");function Nx(e,t,n){var i=!(n&&n.ssr);if(i){0;var r=Rx(e);if(r)return r;0}var a=new xx(e,t,n);return a.id="ec_"+Ex++,Ix[a.id]=a,i&&na(e,Px,a.id),mx(a),w_.trigger("afterinit",a),a}function Rx(e){return Ix[ia(e,Px)]}function Yx(e,t){Ox[e]=t}function zx(e){Object(x["r"])(Dx,e)<0&&Dx.push(e)}function Hx(e,t){qx(Lx,e,t,k_)}function jx(e){Bx("afterinit",e)}function Fx(e){Bx("afterupdate",e)}function Bx(e,t){w_.on(e,t)}function Vx(e,t,n){Object(x["w"])(t)&&(n=t,t="");var i=Object(x["A"])(e)?e.type:[e,e={event:t}][0];e.event=(e.event||i).toLowerCase(),t=e.event,Tx[t]||(Object(x["b"])(U_.test(i)&&U_.test(t)),Sx[i]||(Sx[i]={action:n,actionInfo:e}),Tx[t]=i)}function Gx(e,t){dd.register(e,t)}function Wx(e){var t=dd.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function Ux(e,t){qx(Ax,e,t,C_,"layout")}function Xx(e,t){qx(Ax,e,t,N_,"visual")}var Zx=[];function qx(e,t,n,i,r){if((Object(x["w"])(t)||Object(x["A"])(t))&&(n=t,t=i),!(Object(x["r"])(Zx,n)>=0)){Zx.push(n);var a=Wy.wrapStageHandler(n,r);a.__prio=t,a.__raw=n,e.push(a)}}function $x(e,t){kx[e]=t}function Jx(e,t,n){var i=T_("registerMap");i&&i(e,t,n)}function Kx(e){var t=T_("getMap");return t&&t(e)}var Qx=Bf;Xx(P_,Sy),Xx(Y_,Ly),Xx(Y_,Dy),Xx(P_,iv),Xx(Y_,rv),Xx(F_,x_),zx(Vd),Hx(A_,Gd),$x("default",Oy),Vx({type:il,event:il,update:il},x["L"]),Vx({type:rl,event:rl,update:rl},x["L"]),Vx({type:al,event:al,update:al},x["L"]),Vx({type:ol,event:ol,update:ol},x["L"]),Vx({type:sl,event:sl,update:sl},x["L"]),Yx("light",Xy),Yx("dark",Qy);function eb(e){return null==e?0:e.length||1}function tb(e){return e}var nb=function(){function e(e,t,n,i,r,a){this._old=e,this._new=t,this._oldKeyGetter=n||tb,this._newKeyGetter=i||tb,this.context=r,this._diffModeMultiple="multiple"===a}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={},i=new Array(e.length),r=new Array(t.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(t,n,r,"_newKeyGetter");for(var a=0;a<e.length;a++){var o=i[a],s=n[o],l=eb(s);if(l>1){var u=s.shift();1===s.length&&(n[o]=s[0]),this._update&&this._update(u,a)}else 1===l?(n[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(r,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},r=[],a=[];this._initIndexMap(e,n,r,"_oldKeyGetter"),this._initIndexMap(t,i,a,"_newKeyGetter");for(var o=0;o<r.length;o++){var s=r[o],l=n[s],u=i[s],c=eb(l),h=eb(u);if(c>1&&1===h)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===c&&h>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===c&&1===h)this._update&&this._update(u,l),i[s]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(a,i)},e.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=t[i],a=eb(r);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(r[o]);else 1===a&&this._add&&this._add(r);t[i]=null}},e.prototype._initIndexMap=function(e,t,n,i){for(var r=this._diffModeMultiple,a=0;a<e.length;a++){var o="_ec_"+this[i](e[a],a);if(r||(n[a]=o),t){var s=t[o],l=eb(s);0===l?(t[o]=a,r&&n.push(o)):1===l?t[o]=[s,a]:s.push(a)}}},e}(),ib=nb,rb=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 ab(e,t){var n={},i=n.encode={},r=Object(x["f"])(),a=[],o=[],s={};Object(x["k"])(e.dimensions,(function(t){var n=e.getDimensionInfo(t),l=n.coordDim;if(l){0;var u=n.coordDimIndex;ob(i,l)[u]=t,n.isExtraCoord||(r.set(l,1),lb(n.type)&&(a[0]=t),ob(s,l)[u]=e.getDimensionIndex(n.name)),n.defaultTooltip&&o.push(t)}_h.each((function(e,t){var r=ob(i,t),a=n.otherDims[t];null!=a&&!1!==a&&(r[a]=n.name)}))}));var l=[],u={};r.each((function(e,t){var n=i[t];u[t]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=Object(x["H"])(l,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=i.label;c&&c.length&&(a=c.slice());var h=i.tooltip;return h&&h.length?o=h.slice():o.length||(o=a.slice()),i.defaultedLabel=a,i.defaultedTooltip=o,n.userOutput=new rb(s,t),n}function ob(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function sb(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function lb(e){return!("ordinal"===e||"time"===e)}var ub=function(){function e(e){this.otherDims={},null!=e&&x["m"](this,e)}return e}(),cb=ub,hb=qr(),db={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},fb=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=gb(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return Object(x["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=lf(this.source),n=!yb(e),i="",r=[],a=0,o=0;a<e;a++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[o];if(c&&c.storeDimIndex===a)s=t?c.name:null,l=c.type,u=c.ordinalMeta,o++;else{var h=this.getSourceDimension(a);h&&(s=t?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:u}),!t||null==s||c&&c.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=db[l]||"f",u&&(i+=u.uid),i+="$"}var d=this.source,f=[d.seriesLayoutBy,d.startIndex,i].join("$$");return{dimensions:r,hash:f}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===t)r.isCalculationCoord||(i=r.name),n++;else{var a=this.getSourceDimension(t);a&&(i=a.name)}e.push(i)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function pb(e){return e instanceof fb}function mb(e){for(var t=Object(x["f"])(),n=0;n<(e||[]).length;n++){var i=e[n],r=Object(x["A"])(i)?i.name:i;null!=r&&null==t.get(r)&&t.set(r,n)}return t}function gb(e){var t=hb(e);return t.dimNameMap||(t.dimNameMap=mb(e.dimensionsDefine))}function yb(e){return e>30}var vb,_b,xb,bb,wb,Mb,Sb,Tb=x["A"],Lb=x["H"],Db="undefined"===typeof Int32Array?Array:Int32Array,Ab="e\0\0",Ob=-1,kb=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Ib=["_approximateExtent"],Cb=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","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;pb(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(i=!0,n=e),n=n||["x","y"];for(var r={},a=[],o={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],h=x["C"](c)?new cb({name:c}):c instanceof cb?c:new cb(c),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var f=h.otherDims=h.otherDims||{};a.push(d),r[d]=h,null!=l[d]&&(s=!0),h.createInvertedIndices&&(o[d]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(h.storeDimIndex=u)}if(this.dimensions=a,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=o,this._dimOmitted){var p=this._dimIdxToName=x["f"]();x["k"](a,(function(e){p.set(r[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 i=this._schema.getSourceDimension(t);return i?i.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(x["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 i=n.encode[e];return i?i[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 i,r=this;if(e instanceof rp&&(i=e),!i){var a=this.dimensions,o=Kd(e)||x["u"](e)?new uf(e,a.length):e;i=new rp;var s=Lb(a,(function(e){return{type:r._dimInfos[e].type,property:e}}));i.initData(o,s,n)}this._store=i,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=ab(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.length),i=n.start,r=n.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var o=i;o<r;o++){var s=o-i;this._nameList[o]=t[s],a&&Sb(this,o)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var i=this._dimInfos[t[n]];i.ordinalMeta&&e.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==Sh&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,a=this._idList,o=i.getSource().sourceFormat,s=o===xh;if(s&&!i.pure)for(var l=[],u=e;u<t;u++){var c=i.getItem(u,l);if(!this.hasItemOption&&Ir(c)&&(this.hasItemOption=!0),c){var h=c.name;null==r[u]&&null!=h&&(r[u]=Fr(h,null));var d=c.id;null==a[u]&&null!=d&&(a[u]=Fr(d,null))}}if(this._shouldMakeIdFromName())for(u=e;u<t;u++)Sb(this,u);vb(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){Tb(e)?x["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=xb(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),i=this._store.getOrdinalMeta(e);return i?i.categories[n]:n},e.prototype.getId=function(e){return _b(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,i=this._dimInfos[e];if(i)return n.get(i.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,i=this._dimInfos[e];if(i)return n.getByRawIndex(i.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,i=this._store;return x["t"](e)?i.getValues(Lb(e,(function(e){return n._getStoreDimIndex(e)})),t):i.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,i=t.length;n<i;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 i=n[t];return null==i||isNaN(i)?Ob:i},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){x["w"](e)&&(n=t,t=e,e=[]);var i=n||this,r=Lb(bb(e),this._getStoreDimIndex,this);this._store.each(r,i?x["c"](t,i):t)},e.prototype.filterSelf=function(e,t,n){x["w"](e)&&(n=t,t=e,e=[]);var i=n||this,r=Lb(bb(e),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?x["c"](t,i):t),this},e.prototype.selectRange=function(e){var t=this,n={},i=x["F"](e),r=[];return x["k"](i,(function(i){var a=t._getStoreDimIndex(i);n[a]=e[i],r.push(a)})),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){x["w"](e)&&(n=t,t=e,e=[]),n=n||this;var i=[];return this.each(e,(function(){i.push(t&&t.apply(this,arguments))}),n),i},e.prototype.map=function(e,t,n,i){var r=n||i||this,a=Lb(bb(e),this._getStoreDimIndex,this),o=Mb(this);return o._store=this._store.map(a,r?x["c"](t,r):t),o},e.prototype.modify=function(e,t,n,i){var r=n||i||this;var a=Lb(bb(e),this._getStoreDimIndex,this);this._store.modify(a,r?x["c"](t,r):t)},e.prototype.downSample=function(e,t,n,i){var r=Mb(this);return r._store=this._store.downSample(this._getStoreDimIndex(e),t,n,i),r},e.prototype.lttbDownSample=function(e,t){var n=Mb(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 Gu(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new ib(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return _b(e,t)}),(function(e){return _b(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||{},Tb(e)?x["m"](this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],i=n&&n[t];return null==i?this.getVisual(t):i},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,i=n[e];i||(i=n[e]={});var r=i[t];return null==r&&(r=this.getVisual(t),x["t"](r)?r=r.slice():Tb(r)&&(r=x["m"]({},r)),i[t]=r),r},e.prototype.setItemVisual=function(e,t,n){var i=this._itemVisuals[e]||{};this._itemVisuals[e]=i,Tb(t)?x["m"](i,t):i[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){Tb(e)?x["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?x["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;Ws(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){x["k"](this._graphicEls,(function(n,i){n&&e&&e.call(t,n,i)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Lb(this.dimensions,this._getDimInfo,this),this.hostModel)),wb(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];x["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(x["S"](arguments)))})},e.internalField=function(){vb=function(e){var t=e._invertedIndicesMap;x["k"](t,(function(n,i){var r=e._dimInfos[i],a=r.ordinalMeta,o=e._store;if(a){n=t[i]=new Db(a.categories.length);for(var s=0;s<n.length;s++)n[s]=Ob;for(s=0;s<o.count();s++)n[o.get(r.storeDimIndex,s)]=s}}))},xb=function(e,t,n){return Fr(e._getCategory(t,n),null)},_b=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=xb(e,e._idDimIdx,t)),null==n&&(n=Ab+t),n},bb=function(e){return x["t"](e)||(e=null!=e?[e]:[]),e},Mb=function(t){var n=new e(t._schema?t._schema:Lb(t.dimensions,t._getDimInfo,t),t.hostModel);return wb(n,t),n},wb=function(e,t){x["k"](kb.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,x["k"](Ib,(function(n){e[n]=x["d"](t[n])})),e._calculationInfo=x["m"]({},t._calculationInfo)},Sb=function(e,t){var n=e._nameList,i=e._idList,r=e._nameDimIdx,a=e._idDimIdx,o=n[t],s=i[t];if(null==o&&null!=r&&(n[t]=o=xb(e,r,t)),null==s&&null!=a&&(i[t]=s=xb(e,a,t)),null==s&&null!=o){var l=e._nameRepeatCount,u=l[o]=(l[o]||0)+1;s=o,u>1&&(s+="__ec__"+u),i[t]=s}}}(),e}(),Eb=Cb;function Pb(e,t){return Nb(e,t).dimensions}function Nb(e,t){Kd(e)||(e=ef(e)),t=t||{};var n=t.coordDimensions||[],i=t.dimensionsDefine||e.dimensionsDefine||[],r=Object(x["f"])(),a=[],o=Yb(e,n,i,t.dimensionsCount),s=t.canOmitUnusedDimensions&&yb(o),l=i===e.dimensionsDefine,u=l?gb(e):mb(i),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var h=Object(x["f"])(c),d=new $f(o),f=0;f<d.length;f++)d[f]=-1;function p(e){var t=d[e];if(t<0){var n=i[e],r=Object(x["A"])(n)?n:{name:n},o=new cb,s=r.name;null!=s&&null!=u.get(s)&&(o.name=o.displayName=s),null!=r.type&&(o.type=r.type),null!=r.displayName&&(o.displayName=r.displayName);var l=a.length;return d[e]=l,o.storeDimIndex=e,a.push(o),o}return a[t]}if(!s)for(f=0;f<o;f++)p(f);h.each((function(e,t){var n=Dr(e).slice();if(1===n.length&&!Object(x["C"])(n[0])&&n[0]<0)h.set(t,!1);else{var i=h.set(t,[]);Object(x["k"])(n,(function(e,n){var r=Object(x["C"])(e)?u.get(e):e;null!=r&&r<o&&(i[n]=r,g(p(r),t,n))}))}}));var m=0;function g(e,t,n){null!=_h.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,r.set(t,!0))}Object(x["k"])(n,(function(e){var t,n,i,r;if(Object(x["C"])(e))t=e,r={};else{r=e,t=r.name;var a=r.ordinalMeta;r.ordinalMeta=null,r=Object(x["m"])({},r),r.ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=h.get(t);if(!1!==s){if(s=Dr(s),!s.length)for(var u=0;u<(n&&n.length||1);u++){while(m<o&&null!=p(m).coordDim)m++;m<o&&s.push(m++)}Object(x["k"])(s,(function(e,a){var o=p(e);if(l&&null!=r.type&&(o.type=r.type),g(Object(x["i"])(o,r),t,a),null==o.name&&n){var s=n[a];!Object(x["A"])(s)&&(s={name:s}),o.name=o.displayName=s.name,o.defaultTooltip=s.defaultTooltip}i&&Object(x["i"])(o.otherDims,i)}))}}));var y=t.generateCoord,v=t.generateCoordCount,_=null!=v;v=y?v||1:0;var b=y||"value";function w(e){null==e.name&&(e.name=e.coordDim)}if(s)Object(x["k"])(a,(function(e){w(e)})),a.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var M=0;M<o;M++){var S=p(M),T=S.coordDim;null==T&&(S.coordDim=zb(b,r,_),S.coordDimIndex=0,(!y||v<=0)&&(S.isExtraCoord=!0),v--),w(S),null!=S.type||Nh(e,M)!==Ah.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return Rb(a),new fb({source:e,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function Rb(e){for(var t=Object(x["f"])(),n=0;n<e.length;n++){var i=e[n],r=i.name,a=t.get(r)||0;a>0&&(i.name=r+(a-1)),a++,t.set(r,a)}}function Yb(e,t,n,i){var r=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,i||0);return Object(x["k"])(t,(function(e){var t;Object(x["A"])(e)&&(t=e.dimsDef)&&(r=Math.max(r,t.length))})),r}function zb(e,t,n){if(n||t.hasKey(e)){var i=0;while(t.hasKey(e+i))i++;e+=i}return t.set(e,!0),e}var Hb=function(){function e(e){this.coordSysDims=[],this.axisMap=Object(x["f"])(),this.categoryAxisMap=Object(x["f"])(),this.coordSysName=e}return e}();function jb(e){var t=e.get("coordinateSystem"),n=new Hb(t),i=Fb[t];if(i)return i(e,n,n.axisMap,n.categoryAxisMap),n}var Fb={cartesian2d:function(e,t,n,i){var r=e.getReferringComponents("xAxis",Qr).models[0],a=e.getReferringComponents("yAxis",Qr).models[0];t.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),Bb(r)&&(i.set("x",r),t.firstCategoryDimIndex=0),Bb(a)&&(i.set("y",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,i){var r=e.getReferringComponents("singleAxis",Qr).models[0];t.coordSysDims=["single"],n.set("single",r),Bb(r)&&(i.set("single",r),t.firstCategoryDimIndex=0)},polar:function(e,t,n,i){var r=e.getReferringComponents("polar",Qr).models[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),Bb(a)&&(i.set("radius",a),t.firstCategoryDimIndex=0),Bb(o)&&(i.set("angle",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,i){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,i){var r=e.ecModel,a=r.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();Object(x["k"])(a.parallelAxisIndex,(function(e,a){var s=r.getComponent("parallelAxis",e),l=o[a];n.set(l,s),Bb(s)&&(i.set(l,s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=a))}))}};function Bb(e){return"category"===e.get("type")}function Vb(e,t,n){n=n||{};var i,r,a,o=n.byIndex,s=n.stackedCoordDimension;Gb(t)?i=t:(r=t.schema,i=r.dimensions,a=t.store);var l,u,c,h,d=!(!e||!e.get("stack"));if(Object(x["k"])(i,(function(e,t){Object(x["C"])(e)&&(i[t]=e={name:e}),d&&!e.isExtraCoord&&(o||l||!e.ordinalMeta||(l=e),u||"ordinal"===e.type||"time"===e.type||s&&s!==e.coordDim||(u=e))})),!u||o||l||(o=!0),u){c="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,p=u.type,m=0;Object(x["k"])(i,(function(e){e.coordDim===f&&m++}));var g={name:c,coordDim:f,coordDimIndex:m,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:h,coordDim:h,coordDimIndex:m+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(a&&(g.storeDimIndex=a.ensureCalculationDimension(h,p),y.storeDimIndex=a.ensureCalculationDimension(c,p)),r.appendCalculationDimension(g),r.appendCalculationDimension(y)):(i.push(g),i.push(y))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:o,stackedOverDimension:h,stackResultDimension:c}}function Gb(e){return!pb(e.schema)}function Wb(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Ub(e,t){return Wb(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Xb(e,t){var n,i=e.get("coordinateSystem"),r=dd.get(i);return t&&t.coordSysDims&&(n=x["H"](t.coordSysDims,(function(e){var n={name:e},i=t.axisMap.get(e);if(i){var r=i.get("type");n.type=sb(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function Zb(e,t,n){var i,r;return n&&x["k"](e,(function(e,a){var o=e.coordDim,s=n.categoryAxisMap.get(o);s&&(null==i&&(i=a),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(r=!0)})),r||null==i||(e[i].otherDims.itemName=0),i}function qb(e,t,n){n=n||{};var i,r=t.getSourceManager(),a=!1;e?(a=!0,i=ef(e)):(i=r.getSource(),a=i.sourceFormat===xh);var o=jb(t),s=Xb(t,o),l=n.useEncodeDefaulter,u=x["w"](l)?l:l?x["h"](Ih,s,t):null,c={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},h=Nb(i,c),d=Zb(h.dimensions,n.createInvertedIndices,o),f=a?null:r.getSharedDataStore(h),p=Vb(t,{schema:h,store:f}),m=new Eb(h,t);m.setCalculationInfo(p);var g=null!=d&&$b(i)?function(e,t,n,i){return i===d?n:this.defaultDimValueGetter(e,t,n,i)}:null;return m.hasItemOption=!1,m.initData(a?i:f,null,g),m}function $b(e){if(e.sourceFormat===xh){var t=Jb(e.data||[]);return!x["t"](kr(t))}}function Jb(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var Kb=qb,Qb=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}();xa(Qb);var ew=Qb,tw=0,nw=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++tw}return e.createByAxisModel=function(t){var n=t.option,i=n.data,r=i&&Object(x["H"])(i,iw);return new e({categories:r,needCollect:!r,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(x["C"])(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var i=this._getOrCreateMap();return t=i.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,i.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(x["f"])(this.categories))},e}();function iw(e){return Object(x["A"])(e)&&null!=e.value?e.value:e+""}var rw=nw;function aw(e){return"interval"===e.type||"log"===e.type}function ow(e,t,n,i){var r={},a=e[1]-e[0],o=r.interval=gr(a/t,!0);null!=n&&o<n&&(o=r.interval=n),null!=i&&o>i&&(o=r.interval=i);var s=r.intervalPrecision=lw(o),l=r.niceTickExtent=[tr(Math.ceil(e[0]/o)*o,s),tr(Math.floor(e[1]/o)*o,s)];return cw(l,e),r}function sw(e){var t=Math.pow(10,mr(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,tr(n*t)}function lw(e){return ir(e)+2}function uw(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function cw(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),uw(e,0,t),uw(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function hw(e,t){return e>=t[0]&&e<=t[1]}function dw(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function fw(e,t){return e*(t[1]-t[0])+t[0]}var pw=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new rw({})),Object(x["t"])(i)&&(i=new rw({categories:Object(x["H"])(i,(function(e){return Object(x["A"])(e)?e.value:e}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return v(t,e),t.prototype.parse=function(e){return null==e?NaN:Object(x["C"])(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),hw(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),dw(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(fw(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=[],i=this._ticksByOrdinalNumber=[],r=0,a=this._ordinalMeta.categories.length,o=Math.min(a,t.length);r<o;++r){var s=t[r];n[r]=s,i[s]=r}for(var l=0;r<a;++r){while(null!=i[l])l++;n.push(l),i[l]=r}}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}(ew);ew.registerClass(pw);var mw=pw,gw=tr,yw=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 v(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return hw(e,this._extent)},t.prototype.normalize=function(e){return dw(e,this._extent)},t.prototype.scale=function(e){return fw(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=lw(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,a=[];if(!t)return a;var o=1e4;n[0]<i[0]&&(e?a.push({value:gw(i[0]-t,r)}):a.push({value:n[0]}));var s=i[0];while(s<=i[1]){if(a.push({value:s}),s=gw(s+t,r),s===a[a.length-1].value)break;if(a.length>o)return[]}var l=a.length?a[a.length-1].value:i[1];return n[1]>l&&(e?a.push({value:gw(l+t,r)}):a.push({value:n[1]})),a},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<t.length;r++){var a=t[r],o=t[r-1],s=0,l=[],u=a.value-o.value,c=u/e;while(s<e-1){var h=gw(o.value+(s+1)*c);h>i[0]&&h<i[1]&&l.push(h),s++}n.push(l)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;null==n?n=ir(e.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=gw(e.value,n,!0);return jc(i)},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var a=ow(i,e,t,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.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 i=t[1]-t[0];isFinite(i)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var r=this._interval;e.fixMin||(t[0]=gw(Math.floor(t[0]/r)*r)),e.fixMax||(t[1]=gw(Math.ceil(t[1]/r)*r))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(ew);ew.registerClass(yw);var vw=yw,_w="undefined"!==typeof Float32Array,xw=_w?Float32Array:Array;function bw(e){return Object(x["t"])(e)?_w?new Float32Array(e):e:new xw(e)}var ww="__ec_stack_";function Mw(e){return e.get("stack")||ww+e.seriesIndex}function Sw(e){return e.dim+e.index}function Tw(e){var t=[],n=e.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),a=0;a<e.count;a++)t.push(Object(x["i"])({bandWidth:r,axisKey:i,stackId:ww+a},e));var o=Ow(t),s=[];for(a=0;a<e.count;a++){var l=o[i][ww+a];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}function Lw(e,t){var n=[];return t.eachSeriesByType(e,(function(e){Ew(e)&&n.push(e)})),n}function Dw(e){var t={};Object(x["k"])(e,(function(e){var n=e.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=e.getData(),a=i.dim+"_"+i.index,o=r.getDimensionIndex(r.mapDimension(i.dim)),s=r.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(o,l);t[a]?t[a].push(c):t[a]=[c]}}));var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];if(r){r.sort((function(e,t){return e-t}));for(var a=null,o=1;o<r.length;++o){var s=r[o]-r[o-1];s>0&&(a=null===a?s:Math.min(a,s))}n[i]=a}}return n}function Aw(e){var t=Dw(e),n=[];return Object(x["k"])(e,(function(e){var i,r=e.coordinateSystem,a=r.getBaseAxis(),o=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var s=a.dim+"_"+a.index,l=t[s],u=Math.abs(o[1]-o[0]),c=a.scale.getExtent(),h=Math.abs(c[1]-c[0]);i=l?u/h*l:u}else{var d=e.getData();i=Math.abs(o[1]-o[0])/d.count()}var f=er(e.get("barWidth"),i),p=er(e.get("barMaxWidth"),i),m=er(e.get("barMinWidth")||(Pw(e)?.5:1),i),g=e.get("barGap"),y=e.get("barCategoryGap");n.push({bandWidth:i,barWidth:f,barMaxWidth:p,barMinWidth:m,barGap:g,barCategoryGap:y,axisKey:Sw(a),stackId:Mw(e)})})),Ow(n)}function Ow(e){var t={};Object(x["k"])(e,(function(e,n){var i=e.axisKey,r=e.bandWidth,a=t[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;t[i]=a;var s=e.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=e.barMaxWidth;u&&(o[s].maxWidth=u);var c=e.barMinWidth;c&&(o[s].minWidth=c);var h=e.barGap;null!=h&&(a.gap=h);var d=e.barCategoryGap;null!=d&&(a.categoryGap=d)}));var n={};return Object(x["k"])(t,(function(e,t){n[t]={};var i=e.stacks,r=e.bandWidth,a=e.categoryGap;if(null==a){var o=Object(x["F"])(i).length;a=Math.max(35-4*o,15)+"%"}var s=er(a,r),l=er(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),Object(x["k"])(i,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){i=e.width;t&&(i=Math.min(i,t)),n&&(i=Math.max(i,n)),e.width=i,u-=i+l*i,c--}else{var i=h;t&&t<i&&(i=Math.min(t,u)),n&&n>i&&(i=n),i!==h&&(e.width=i,u-=i+l*i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;Object(x["k"])(i,(function(e,t){e.width||(e.width=h),d=e,f+=e.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;Object(x["k"])(i,(function(e,i){n[t][i]=n[t][i]||{bandWidth:r,offset:p,width:e.width},p+=e.width*(1+l)}))})),n}function kw(e,t,n){if(e&&t){var i=e[Sw(t)];return null!=i&&null!=n?i[Mw(n)]:i}}function Iw(e,t){var n=Lw(e,t),i=Aw(n);Object(x["k"])(n,(function(e){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),a=Mw(e),o=i[Sw(r)][a],s=o.offset,l=o.width;t.setLayout({bandWidth:o.bandWidth,offset:s,size:l})}))}function Cw(e){return{seriesType:e,plan:Up(),reset:function(e){if(Ew(e)){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),a=t.getDimensionIndex(t.mapDimension(r.dim)),o=t.getDimensionIndex(t.mapDimension(i.dim)),s=e.get("showBackground",!0),l=t.mapDimension(r.dim),u=t.getCalculationInfo("stackResultDimension"),c=Wb(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=Nw(i,r),f=Pw(e),p=e.get("barMinHeight")||0,m=u&&t.getDimensionIndex(u),g=t.getLayout("size"),y=t.getLayout("offset");return{progress:function(e,t){var i,r=e.count,l=f&&bw(3*r),u=f&&s&&bw(3*r),v=f&&bw(r),_=n.master.getRect(),x=h?_.width:_.height,b=t.getStore(),w=0;while(null!=(i=e.next())){var M=b.get(c?m:a,i),S=b.get(o,i),T=d,L=void 0;c&&(L=+M-b.get(a,i));var D=void 0,A=void 0,O=void 0,k=void 0;if(h){var I=n.dataToPoint([M,S]);if(c){var C=n.dataToPoint([L,S]);T=C[0]}D=T,A=I[1]+y,O=I[0]-T,k=g,Math.abs(O)<p&&(O=(O<0?-1:1)*p)}else{I=n.dataToPoint([S,M]);if(c){C=n.dataToPoint([S,L]);T=C[1]}D=I[0]+y,A=T,O=g,k=I[1]-T,Math.abs(k)<p&&(k=(k<=0?-1:1)*p)}f?(l[w]=D,l[w+1]=A,l[w+2]=h?O:k,u&&(u[w]=h?_.x:D,u[w+1]=h?A:_.y,u[w+2]=x),v[i]=i):t.setItemLayout(i,{x:D,y:A,width:O,height:k}),w+=3}f&&t.setLayout({largePoints:l,largeDataIndices:v,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function Ew(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function Pw(e){return e.pipelineContext&&e.pipelineContext.large}function Nw(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 Rw=function(e,t,n,i){while(n<i){var r=n+i>>>1;e[r][1]<t?n=r+1:i=r}return n},Yw=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return v(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return wc(e.value,mc[bc(_c(this._minLevelUnit))]||mc.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return Mc(e,t,n,r,i)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var i=this.getSetting("useUTC"),r=Uw(this._minLevelUnit,this._approxInterval,i,t);return n=n.concat(r),n.push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=hc,t[1]+=hc),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]-hc}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var a=zw.length,o=Math.min(Rw(zw,this._approxInterval,0,a),a-1);this._interval=zw[o][1],this._minLevelUnit=zw[Math.max(o-1,0)][0]},t.prototype.parse=function(e){return Object(x["z"])(e)?e:+fr(e)},t.prototype.contain=function(e){return hw(this.parse(e),this._extent)},t.prototype.normalize=function(e){return dw(this.parse(e),this._extent)},t.prototype.scale=function(e){return fw(e,this._extent)},t.type="time",t}(vw),zw=[["second",lc],["minute",uc],["hour",cc],["quarter-day",6*cc],["half-day",12*cc],["day",1.2*hc],["half-week",3.5*hc],["week",7*hc],["month",31*hc],["quarter",95*hc],["half-year",dc/2],["year",dc]];function Hw(e,t,n,i){var r=fr(t),a=fr(n),o=function(e){return Tc(r,e,i)===Tc(a,e,i)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},c=function(){return u()&&o("hour")},h=function(){return c()&&o("minute")},d=function(){return h()&&o("second")},f=function(){return d()&&o("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return d();case"millisecond":return f()}}function jw(e,t){return e/=hc,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function Fw(e){var t=30*hc;return e/=t,e>6?6:e>3?3:e>2?2:1}function Bw(e){return e/=cc,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function Vw(e,t){return e/=t?uc:lc,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function Gw(e){return gr(e,!0)}function Ww(e,t,n){var i=new Date(e);switch(_c(t)){case"year":case"month":i[Pc(n)](0);case"day":i[Nc(n)](1);case"hour":i[Rc(n)](0);case"minute":i[Yc(n)](0);case"second":i[zc(n)](0),i[Hc(n)](0)}return i.getTime()}function Uw(e,t,n,i){var r=1e4,a=yc,o=0;function s(e,t,n,r,a,o,s){var l=new Date(t),u=t,c=l[r]();while(u<n&&u<=i[1])s.push({value:u}),c+=e,l[a](c),u=l.getTime();s.push({value:u,notAdd:!0})}function l(e,r,a){var o=[],l=!r.length;if(!Hw(_c(e),i[0],i[1],n)){l&&(r=[{value:Ww(new Date(i[0]),e,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,h=r[u+1].value;if(c!==h){var d=void 0,f=void 0,p=void 0,m=!1;switch(e){case"year":d=Math.max(1,Math.round(t/hc/365)),f=Lc(n),p=Ec(n);break;case"half-year":case"quarter":case"month":d=Fw(t),f=Dc(n),p=Pc(n);break;case"week":case"half-week":case"day":d=jw(t,31),f=Ac(n),p=Nc(n),m=!0;break;case"half-day":case"quarter-day":case"hour":d=Bw(t),f=Oc(n),p=Rc(n);break;case"minute":d=Vw(t,!0),f=kc(n),p=Yc(n);break;case"second":d=Vw(t,!1),f=Ic(n),p=zc(n);break;case"millisecond":d=Gw(t),f=Cc(n),p=Hc(n);break}s(d,c,h,f,p,m,o),"year"===e&&a.length>1&&0===u&&a.unshift({value:a[0].value-d})}}for(u=0;u<o.length;u++)a.push(o[u]);return o}}for(var u=[],c=[],h=0,d=0,f=0;f<a.length&&o++<r;++f){var p=_c(a[f]);if(xc(a[f])){l(a[f],u[u.length-1]||[],c);var m=a[f+1]?_c(a[f+1]):null;if(p!==m){if(c.length){d=h,c.sort((function(e,t){return e.value-t.value}));for(var g=[],y=0;y<c.length;++y){var v=c[y].value;0!==y&&c[y-1].value===v||(g.push(c[y]),v>=i[0]&&v<=i[1]&&h++)}var _=(i[1]-i[0])/t;if(h>1.5*_&&d>_/1.5)break;if(u.push(g),h>_||e===a[f])break}c=[]}}}var b=Object(x["n"])(Object(x["H"])(u,(function(e){return Object(x["n"])(e,(function(e){return e.value>=i[0]&&e.value<=i[1]&&!e.notAdd}))})),(function(e){return e.length>0})),w=[],M=b.length-1;for(f=0;f<b.length;++f)for(var S=b[f],T=0;T<S.length;++T)w.push({value:S[T].value,level:M-f});w.sort((function(e,t){return e.value-t.value}));var L=[];for(f=0;f<w.length;++f)0!==f&&w[f].value===w[f-1].value||L.push(w[f]);return L}ew.registerClass(Yw);var Xw=Yw,Zw=ew.prototype,qw=vw.prototype,$w=tr,Jw=Math.floor,Kw=Math.ceil,Qw=Math.pow,eM=Math.log,tM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new vw,t._interval=0,t}return v(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,i=t.getExtent(),r=qw.getTicks.call(this,e);return x["H"](r,(function(e){var t=e.value,r=tr(Qw(this.base,t));return r=t===n[0]&&this._fixMin?iM(r,i[0]):r,r=t===n[1]&&this._fixMax?iM(r,i[1]):r,{value:r}}),this)},t.prototype.setExtent=function(e,t){var n=eM(this.base);e=eM(Math.max(0,e))/n,t=eM(Math.max(0,t))/n,qw.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=Zw.getExtent.call(this);t[0]=Qw(e,t[0]),t[1]=Qw(e,t[1]);var n=this._originalScale,i=n.getExtent();return this._fixMin&&(t[0]=iM(t[0],i[0])),this._fixMax&&(t[1]=iM(t[1],i[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=eM(e[0])/eM(t),e[1]=eM(e[1])/eM(t),Zw.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 i=pr(n),r=e/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var a=[tr(Kw(t[0]/i)*i),tr(Jw(t[1]/i)*i)];this._interval=i,this._niceExtent=a}},t.prototype.calcNiceExtent=function(e){qw.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=eM(e)/eM(this.base),hw(e,this._extent)},t.prototype.normalize=function(e){return e=eM(e)/eM(this.base),dw(e,this._extent)},t.prototype.scale=function(e){return e=fw(e,this._extent),Qw(this.base,e)},t.type="log",t}(ew),nM=tM.prototype;function iM(e,t){return $w(e,ir(t))}nM.getMinorTicks=qw.getMinorTicks,nM.getLabel=qw.getLabel,ew.registerClass(tM);var rM=tM,aM=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 i=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var r=t.get("min",!0);null==r&&(r=t.get("startValue",!0));var a=this._modelMinRaw=r;Object(x["w"])(a)?this._modelMinNum=uM(e,a({min:n[0],max:n[1]})):"dataMin"!==a&&(this._modelMinNum=uM(e,a));var o=this._modelMaxRaw=t.get("max",!0);if(Object(x["w"])(o)?this._modelMaxNum=uM(e,o({min:n[0],max:n[1]})):"dataMax"!==o&&(this._modelMaxNum=uM(e,o)),i)this._axisDataLen=t.getCategories().length;else{var s=t.get("boundaryGap"),l=Object(x["t"])(s)?s:[s||0,s||0];"boolean"===typeof l[0]||"boolean"===typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[vi(l[0],1),vi(l[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,a=e?null:n-t||Math.abs(t),o="dataMin"===this._modelMinRaw?t:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=o,u=null!=s;null==o&&(o=e?i?0:NaN:t-r[0]*a),null==s&&(s=e?i?i-1:NaN:n+r[1]*a),(null==o||!isFinite(o))&&(o=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=Object(x["l"])(o)||Object(x["l"])(s)||e&&!i;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(o=h,l=!0),null!=d&&(s=d,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:c}},e.prototype.modifyDataMinMax=function(e,t){this[sM[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var n=oM[e];this[n]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),oM={min:"_determinedMin",max:"_determinedMax"},sM={min:"_dataMin",max:"_dataMax"};function lM(e,t,n){var i=e.rawExtentInfo;return i||(i=new aM(e,t,n),e.rawExtentInfo=i,i)}function uM(e,t){return null==t?null:Object(x["l"])(t)?NaN:e.parse(t)}function cM(e,t){var n=e.type,i=lM(e,t,e.getExtent()).calculate();e.setBlank(i.isBlank);var r=i.min,a=i.max,o=t.ecModel;if(o&&"time"===n){var s=Lw("bar",o),l=!1;if(x["k"](s,(function(e){l=l||e.getBaseAxis()===t.axis})),l){var u=Aw(s),c=hM(r,a,t,u);r=c.min,a=c.max}}return{extent:[r,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function hM(e,t,n,i){var r=n.axis.getExtent(),a=r[1]-r[0],o=kw(i,n.axis);if(void 0===o)return{min:e,max:t};var s=1/0;x["k"](o,(function(e){s=Math.min(e.offset,s)}));var l=-1/0;x["k"](o,(function(e){l=Math.max(e.offset+e.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,h=1-(s+l)/a,d=c/h-c;return t+=d*(l/u),e-=d*(s/u),{min:e,max:t}}function dM(e,t){var n=t,i=cM(e,n),r=i.extent,a=n.get("splitNumber");e instanceof rM&&(e.base=n.get("logBase"));var o=e.type,s=n.get("interval"),l="interval"===o||"time"===o;e.setExtent(r[0],r[1]),e.calcNiceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function fM(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new mw({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new Xw({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(ew.getClass(t)||vw)}}function pM(e){var t=e.scale.getExtent(),n=t[0],i=t[1];return!(n>0&&i>0||n<0&&i<0)}function mM(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,i){return e.scale.getFormattedLabel(n,i,t)}}(t):x["C"](t)?function(t){return function(n){var i=e.scale.getLabel(n),r=t.replace("{value}",null!=i?i:"");return r}}(t):x["w"](t)?function(t){return function(i,r){return null!=n&&(r=i.value-n),t(gM(e,i),r,null!=i.level?{level:i.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function gM(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function yM(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var i,r,a=n.getExtent();n instanceof mw?r=n.count():(i=n.getTicks(),r=i.length);var o,s=e.getLabelModel(),l=mM(e),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c<r;c+=u){var h=i?i[c]:{value:a[0]+c},d=l(h,c),f=s.getTextRect(d),p=vM(f,s.get("rotate")||0);o?o.union(p):o=p}return o}}function vM(e,t){var n=t*Math.PI/180,i=e.width,r=e.height,a=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),o=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n)),s=new je(e.x,e.y,a,o);return s}function _M(e){var t=e.get("interval");return null==t?"auto":t}function xM(e){return"category"===e.type&&0===_M(e.getLabelModel())}function bM(e,t){var n={};return x["k"](e.mapDimensionsAll(t),(function(t){n[Ub(e,t)]=!0})),x["F"](n)}function wM(e,t,n){t&&x["k"](bM(t,n),(function(n){var i=t.getApproximateExtent(n);i[0]<e[0]&&(e[0]=i[0]),i[1]>e[1]&&(e[1]=i[1])}))}var MM=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},e.prototype.getCoordSysModel=function(){},e}();function SM(e){return Kb(null,e)}var TM={isDimensionStacked:Wb,enableDataStack:Vb,getStackedDimension:Ub};function LM(e,t){var n=t;t instanceof Gu||(n=new Gu(t));var i=fM(n);return i.setExtent(e[0],e[1]),dM(i,n),i}function DM(e){x["K"](e,MM)}function AM(e,t){return t=t||{},xu(e,null,null,"normal"!==t.state)}var OM=[],kM={registerPreprocessor:zx,registerProcessor:Hx,registerPostInit:jx,registerPostUpdate:Fx,registerUpdateLifecycle:Bx,registerAction:Vx,registerCoordinateSystem:Gx,registerLayout:Ux,registerVisual:Xx,registerTransform:Qx,registerLoading:$x,registerMap:Jx,registerImpl:S_,PRIORITY:B_,ComponentModel:mh,ComponentView:Wp,SeriesModel:Vp,ChartView:dy,registerComponentModel:function(e){mh.registerClass(e)},registerComponentView:function(e){Wp.registerClass(e)},registerSeriesModel:function(e){Vp.registerClass(e)},registerChartView:function(e){dy.registerClass(e)},registerSubTypeDefaulter:function(e,t){mh.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Ui(e,t)}};function IM(e){Object(x["t"])(e)?Object(x["k"])(e,(function(e){IM(e)})):Object(x["r"])(OM,e)>=0||(OM.push(e),Object(x["w"])(e)&&(e={install:e}),e.install(kM))}var CM=1e-8;function EM(e,t){return Math.abs(e-t)<CM}function PM(e,t,n){var i=0,r=e[0];if(!r)return!1;for(var a=1;a<e.length;a++){var o=e[a];i+=Go(r[0],r[1],o[0],o[1],t,n),r=o}var s=e[0];return EM(r[0],s[0])&&EM(r[1],s[1])||(i+=Go(r[0],r[1],s[0],s[1],t,n)),0!==i}var NM=[];function RM(e,t){for(var n=0;n<e.length;n++)Y(e[n],e[n],t)}function YM(e,t,n,i){for(var r=0;r<e.length;r++){var a=e[r];i&&(a=i.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(z(t,t,a),H(n,n,a))}}function zM(e){for(var t=0,n=0,i=0,r=e.length,a=e[r-1][0],o=e[r-1][1],s=0;s<r;s++){var l=e[s][0],u=e[s][1],c=a*u-l*o;t+=c,n+=(a+l)*c,i+=(o+u)*c,a=l,o=u}return t?[n/t/3,i/t/3,t]:[e[0][0]||0,e[0][1]||0]}var HM=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}(),jM=function(){function e(e,t){this.type="polygon",this.exterior=e,this.interiors=t}return e}(),FM=function(){function e(e){this.type="linestring",this.points=e}return e}(),BM=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return v(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,i=0;i<t.length;i++){var r=t[i],a=r.exterior,o=a&&a.length;o>n&&(e=r,n=o)}if(e)return zM(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],i=[-1/0,-1/0],r=this.geometries;return Object(x["k"])(r,(function(t){"polygon"===t.type?YM(t.exterior,n,i,e):Object(x["k"])(t.points,(function(t){YM(t,n,i,e)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),t=new je(n[0],n[1],i[0]-n[0],i[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 i=0,r=n.length;i<r;i++){var a=n[i];if("polygon"===a.type){var o=a.exterior,s=a.interiors;if(PM(o,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(PM(s[l],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,n,i){var r=this.getBoundingRect(),a=r.width/r.height;n?i||(i=n/a):n=a*i;for(var o=new je(e,t,n,i),s=r.calculateTransform(o),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(RM(c.exterior,s),Object(x["k"])(c.interiors,(function(e){RM(e,s)}))):Object(x["k"])(c.points,(function(e){RM(e,s)}))}r=this._rect,r.copy(o),this._center=[r.x+r.width/2,r.y+r.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}(HM),VM=function(e){function t(t,n){var i=e.call(this,t)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return v(t,e),t.prototype.calcCenter=function(){var e=this._elOnlyForCalculate,t=e.getBoundingRect(),n=[t.x+t.width/2,t.y+t.height/2],i=be(NM),r=e;while(r&&!r.isGeoSVGGraphicRoot)Me(i,r.getLocalTransform(),i),r=r.parent;return De(i,i),Y(n,n,i),n},t}(HM);function GM(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;null==n&&(n=1024);var i=t.features;return x["k"](i,(function(e){var t=e.geometry,i=t.encodeOffsets,r=t.coordinates;if(i)switch(t.type){case"LineString":t.coordinates=UM(r,i,n);break;case"Polygon":WM(r,i,n);break;case"MultiLineString":WM(r,i,n);break;case"MultiPolygon":x["k"](r,(function(e,t){return WM(e,i[t],n)}))}})),t.UTF8Encoding=!1,t}function WM(e,t,n){for(var i=0;i<e.length;i++)e[i]=UM(e[i],t[i],n)}function UM(e,t,n){for(var i=[],r=t[0],a=t[1],o=0;o<e.length;o+=2){var s=e.charCodeAt(o)-64,l=e.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=a,r=s,a=l,i.push([s/n,l/n])}return i}function XM(e,t){return e=GM(e),x["H"](x["n"](e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,i=e.geometry,r=[];switch(i.type){case"Polygon":var a=i.coordinates;r.push(new jM(a[0],a.slice(1)));break;case"MultiPolygon":x["k"](i.coordinates,(function(e){e[0]&&r.push(new jM(e[0],e.slice(1)))}));break;case"LineString":r.push(new FM([i.coordinates]));break;case"MultiLineString":r.push(new FM(i.coordinates))}var o=new BM(n[t||"name"],r,n.cp);return o.properties=n,o}))}function ZM(e,t,n,i,r,a,o,s){var l=new Vs({style:{text:e,font:t,align:n,verticalAlign:i,padding:r,rich:a,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}var qM=qr();function $M(e,t){var n=x["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 JM(e){var t=e.getLabelModel().get("customValues");if(t){var n=mM(e);return{labels:$M(e,t).map((function(t){var i={value:t};return{formattedLabel:n(i),rawLabel:e.scale.getLabel(i),tickValue:t}}))}}return"category"===e.type?QM(e):nS(e)}function KM(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:$M(e,n)}:"category"===e.type?tS(e,t):{ticks:x["H"](e.scale.getTicks(),(function(e){return e.value}))}}function QM(e){var t=e.getLabelModel(),n=eS(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function eS(e,t){var n,i,r=iS(e,"labels"),a=_M(t),o=rS(r,a);return o||(x["w"](a)?n=cS(e,a):(i="auto"===a?oS(e):a,n=uS(e,i)),aS(r,a,{labels:n,labelCategoryInterval:i}))}function tS(e,t){var n,i,r=iS(e,"ticks"),a=_M(t),o=rS(r,a);if(o)return o;if(t.get("show")&&!e.scale.isBlank()||(n=[]),x["w"](a))n=cS(e,a,!0);else if("auto"===a){var s=eS(e,e.getLabelModel());i=s.labelCategoryInterval,n=x["H"](s.labels,(function(e){return e.tickValue}))}else i=a,n=uS(e,i,!0);return aS(r,a,{ticks:n,tickCategoryInterval:i})}function nS(e){var t=e.scale.getTicks(),n=mM(e);return{labels:x["H"](t,(function(t,i){return{level:t.level,formattedLabel:n(t,i),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}function iS(e,t){return qM(e)[t]||(qM(e)[t]=[])}function rS(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function aS(e,t,n){return e.push({key:t,value:n}),n}function oS(e){var t=qM(e).autoInterval;return null!=t?t:qM(e).autoInterval=e.calculateCategoryInterval()}function sS(e){var t=lS(e),n=mM(e),i=(t.axisRotate-t.labelRotate)/180*Math.PI,r=e.scale,a=r.getExtent(),o=r.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(i)),h=Math.abs(u*Math.sin(i)),d=0,f=0;l<=a[1];l+=s){var p=0,m=0,g=pi(n({value:l}),t.font,"center","top");p=1.3*g.width,m=1.3*g.height,d=Math.max(d,p,7),f=Math.max(f,m,7)}var y=d/c,v=f/h;isNaN(y)&&(y=1/0),isNaN(v)&&(v=1/0);var _=Math.max(0,Math.floor(Math.min(y,v))),x=qM(e.model),b=e.getExtent(),w=x.lastAutoInterval,M=x.lastTickCount;return null!=w&&null!=M&&Math.abs(w-_)<=1&&Math.abs(M-o)<=1&&w>_&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?_=w:(x.lastTickCount=o,x.lastAutoInterval=_,x.axisExtent0=b[0],x.axisExtent1=b[1]),_}function lS(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 uS(e,t,n){var i=mM(e),r=e.scale,a=r.getExtent(),o=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=a[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=xM(e),d=o.get("showMinLabel")||h,f=o.get("showMaxLabel")||h;d&&u!==a[0]&&m(a[0]);for(var p=u;p<=a[1];p+=l)m(p);function m(e){var t={value:e};s.push(n?e:{formattedLabel:i(t),rawLabel:r.getLabel(t),tickValue:e})}return f&&p-l!==a[1]&&m(a[1]),s}function cS(e,t,n){var i=e.scale,r=mM(e),a=[];return x["k"](i.getTicks(),(function(e){var o=i.getLabel(e),s=e.value;t(e.value,o)&&a.push(n?s:{formattedLabel:r(e),rawLabel:o,tickValue:s})})),a}var hS=[0,1],dS=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]),i=Math.max(t[0],t[1]);return e>=n&&e<=i},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return ar(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,i=this.scale;return e=i.normalize(e),this.onBand&&"ordinal"===i.type&&(n=n.slice(),fS(n,i.count())),Qi(e,hS,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),fS(n,i.count()));var r=Qi(e,n,hS,t);return this.scale.scale(r)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=KM(this,t),i=n.ticks,r=Object(x["H"])(i,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this),a=t.get("alignWithLabel");return pS(this,r,a,e.clamp),r},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),i=Object(x["H"])(n,(function(e){return Object(x["H"])(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return i},e.prototype.getViewLabels=function(){return JM(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 i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},e.prototype.calculateCategoryInterval=function(){return sS(this)},e}();function fS(e,t){var n=e[1]-e[0],i=t,r=n/i/2;e[0]+=r,e[1]-=r}function pS(e,t,n,i){var r=t.length;if(e.onBand&&!n&&r){var a,o,s=e.getExtent();if(1===r)t[0].coord=s[0],a=t[1]={coord:s[1]};else{var l=t[r-1].tickValue-t[0].tickValue,u=(t[r-1].coord-t[0].coord)/l;Object(x["k"])(t,(function(e){e.coord-=u/2}));var c=e.scale.getExtent();o=1+c[1]-t[r-1].tickValue,a={coord:t[r-1].coord+u*o},t.push(a)}var h=s[0]>s[1];d(t[0].coord,s[0])&&(i?t[0].coord=s[0]:t.shift()),i&&d(s[0],t[0].coord)&&t.unshift({coord:s[0]}),d(s[1],a.coord)&&(i?a.coord=s[1]:t.pop()),i&&d(a.coord,s[1])&&t.push({coord:s[1]})}function d(e,t){return e=tr(e),t=tr(t),h?e>t:e<t}}var mS=dS;function gS(e){var t=Vp.extend(e);return Vp.registerClass(t),t}function yS(e){var t=dy.extend(e);return dy.registerClass(t),t}var vS=2*Math.PI,_S=Ro.CMD,xS=["top","right","bottom","left"];function bS(e,t,n,i,r){var a=n.width,o=n.height;switch(e){case"top":i.set(n.x+a/2,n.y-t),r.set(0,-1);break;case"bottom":i.set(n.x+a/2,n.y+o+t),r.set(0,1);break;case"left":i.set(n.x-t,n.y+o/2),r.set(-1,0);break;case"right":i.set(n.x+a+t,n.y+o/2),r.set(1,0);break}}function wS(e,t,n,i,r,a,o,s,l){o-=e,s-=t;var u=Math.sqrt(o*o+s*s);o/=u,s/=u;var c=o*n+e,h=s*n+t;if(Math.abs(i-r)%vS<1e-4)return l[0]=c,l[1]=h,u-n;if(a){var d=i;i=Fo(r),r=Fo(d)}else i=Fo(i),r=Fo(r);i>r&&(r+=vS);var f=Math.atan2(s,o);if(f<0&&(f+=vS),f>=i&&f<=r||f+vS>=i&&f+vS<=r)return l[0]=c,l[1]=h,u-n;var p=n*Math.cos(i)+e,m=n*Math.sin(i)+t,g=n*Math.cos(r)+e,y=n*Math.sin(r)+t,v=(p-o)*(p-o)+(m-s)*(m-s),_=(g-o)*(g-o)+(y-s)*(y-s);return v<_?(l[0]=p,l[1]=m,Math.sqrt(v)):(l[0]=g,l[1]=y,Math.sqrt(_))}function MS(e,t,n,i,r,a,o,s){var l=r-e,u=a-t,c=n-e,h=i-t,d=Math.sqrt(c*c+h*h);c/=d,h/=d;var f=l*c+u*h,p=f/d;s&&(p=Math.min(Math.max(p,0),1)),p*=d;var m=o[0]=e+p*c,g=o[1]=t+p*h;return Math.sqrt((m-r)*(m-r)+(g-a)*(g-a))}function SS(e,t,n,i,r,a,o){n<0&&(e+=n,n=-n),i<0&&(t+=i,i=-i);var s=e+n,l=t+i,u=o[0]=Math.min(Math.max(r,e),s),c=o[1]=Math.min(Math.max(a,t),l);return Math.sqrt((u-r)*(u-r)+(c-a)*(c-a))}var TS=[];function LS(e,t,n){var i=SS(t.x,t.y,t.width,t.height,e.x,e.y,TS);return n.set(TS[0],TS[1]),i}function DS(e,t,n){for(var i,r,a=0,o=0,s=0,l=0,u=1/0,c=t.data,h=e.x,d=e.y,f=0;f<c.length;){var p=c[f++];1===f&&(a=c[f],o=c[f+1],s=a,l=o);var m=u;switch(p){case _S.M:s=c[f++],l=c[f++],a=s,o=l;break;case _S.L:m=MS(a,o,c[f],c[f+1],h,d,TS,!0),a=c[f++],o=c[f++];break;case _S.C:m=Yt(a,o,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],h,d,TS),a=c[f++],o=c[f++];break;case _S.Q:m=Gt(a,o,c[f++],c[f++],c[f],c[f+1],h,d,TS),a=c[f++],o=c[f++];break;case _S.A:var g=c[f++],y=c[f++],v=c[f++],_=c[f++],x=c[f++],b=c[f++];f+=1;var w=!!(1-c[f++]);i=Math.cos(x)*v+g,r=Math.sin(x)*_+y,f<=1&&(s=i,l=r);var M=(h-g)*_/v+g;m=wS(g,y,_,x,x+b,w,M,d,TS),a=Math.cos(x+b)*v+g,o=Math.sin(x+b)*_+y;break;case _S.R:s=a=c[f++],l=o=c[f++];var S=c[f++],T=c[f++];m=SS(s,l,S,T,h,d,TS);break;case _S.Z:m=MS(a,o,s,l,h,d,TS,!0),a=s,o=l;break}m<u&&(u=m,n.set(TS[0],TS[1]))}return u}var AS=new ke,OS=new ke,kS=new ke,IS=new ke,CS=new ke;function ES(e,t){if(e){var n=e.getTextGuideLine(),i=e.getTextContent();if(i&&n){var r=e.textGuideLineConfig||{},a=[[0,0],[0,0],[0,0]],o=r.candidates||xS,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,c=e.getComputedTransform(),h=c&&De([],c),d=t.get("length2")||0;u&&kS.copy(u);for(var f=0;f<o.length;f++){var p=o[f];bS(p,0,s,AS,IS),ke.scaleAndAdd(OS,AS,IS,d),OS.transform(h);var m=e.getBoundingRect(),g=u?u.distance(OS):e instanceof ls?DS(OS,e.path,kS):LS(OS,m,kS);g<l&&(l=g,OS.transform(c),kS.transform(c),kS.toArray(a[0]),OS.toArray(a[1]),AS.toArray(a[2]))}RS(a,t.get("minTurnAngle")),n.setShape({points:a})}}}var PS=[],NS=new ke;function RS(e,t){if(t<=180&&t>0){t=t/180*Math.PI,AS.fromArray(e[0]),OS.fromArray(e[1]),kS.fromArray(e[2]),ke.sub(IS,AS,OS),ke.sub(CS,kS,OS);var n=IS.len(),i=CS.len();if(!(n<.001||i<.001)){IS.scale(1/n),CS.scale(1/i);var r=IS.dot(CS),a=Math.cos(t);if(a<r){var o=MS(OS.x,OS.y,kS.x,kS.y,AS.x,AS.y,PS,!1);NS.fromArray(PS),NS.scaleAndAdd(CS,o/Math.tan(Math.PI-t));var s=kS.x!==OS.x?(NS.x-OS.x)/(kS.x-OS.x):(NS.y-OS.y)/(kS.y-OS.y);if(isNaN(s))return;s<0?ke.copy(NS,OS):s>1&&ke.copy(NS,kS),NS.toArray(e[1])}}}}function YS(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,AS.fromArray(e[0]),OS.fromArray(e[1]),kS.fromArray(e[2]),ke.sub(IS,OS,AS),ke.sub(CS,kS,OS);var i=IS.len(),r=CS.len();if(!(i<.001||r<.001)){IS.scale(1/i),CS.scale(1/r);var a=IS.dot(t),o=Math.cos(n);if(a<o){var s=MS(OS.x,OS.y,kS.x,kS.y,AS.x,AS.y,PS,!1);NS.fromArray(PS);var l=Math.PI/2,u=Math.acos(CS.dot(t)),c=l+u-n;if(c>=l)ke.copy(NS,kS);else{NS.scaleAndAdd(CS,s/Math.tan(Math.PI/2-c));var h=kS.x!==OS.x?(NS.x-OS.x)/(kS.x-OS.x):(NS.y-OS.y)/(kS.y-OS.y);if(isNaN(h))return;h<0?ke.copy(NS,OS):h>1&&ke.copy(NS,kS)}NS.toArray(e[1])}}}}function zS(e,t,n,i){var r="normal"===n,a=r?e:e.ensureState(n);a.ignore=t;var o=i.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=i.getModel("lineStyle").getLineStyle();r?e.useStyle(s):a.style=s}function HS(e,t){var n=t.smooth,i=t.points;if(i)if(e.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=E(i[0],i[1]),a=E(i[1],i[2]);if(!r||!a)return e.lineTo(i[1][0],i[1][1]),void e.lineTo(i[2][0],i[2][1]);var o=Math.min(r,a)*n,s=R([],i[1],i[0],o/r),l=R([],i[1],i[2],o/a),u=R([],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],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)e.lineTo(i[c][0],i[c][1])}function jS(e,t,n){var i=e.getTextGuideLine(),r=e.getTextContent();if(r){for(var a=t.normal,o=a.get("show"),s=r.ignore,l=0;l<el.length;l++){var u=el[l],c=t[u],h="normal"===u;if(c){var d=c.get("show"),f=h?s:Object(x["P"])(r.states[u]&&r.states[u].ignore,s);if(f||!Object(x["P"])(d,o)){var p=h?i:i&&i.states[u];p&&(p.ignore=!0),i&&zS(i,!0,u,c);continue}i||(i=new $m,e.setTextGuideLine(i),h||!s&&o||zS(i,!0,"normal",t.normal),e.stateProxy&&(i.stateProxy=e.stateProxy)),zS(i,!1,u,c)}}if(i){Object(x["i"])(i.style,n),i.style.fill=null;var m=a.get("showAbove"),g=e.textGuideLineConfig=e.textGuideLineConfig||{};g.showAbove=m||!1,i.buildPath=HS}}else i&&e.removeTextGuideLine()}function FS(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},i=0;i<Qs.length;i++){var r=Qs[i];n[r]=e.getModel([r,t])}return n}function BS(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];if(!i.defaultAttr.ignore){var r=i.label,a=r.getComputedTransform(),o=r.getBoundingRect(),s=!a||a[1]<1e-5&&a[2]<1e-5,l=r.style.margin||0,u=o.clone();u.applyTransform(a),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new wg(o,a):null;t.push({label:r,labelLine:i.labelLine,rect:u,localRect:o,obb:c,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:a})}}return t}function VS(e,t,n,i,r,a){var o=e.length;if(!(o<2)){e.sort((function(e,n){return e.rect[t]-n.rect[t]}));for(var s,l=0,u=!1,c=[],h=0,d=0;d<o;d++){var f=e[d],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),h+=m,l=p[t]+p[n]}h>0&&a&&w(-h/o,0,o);var g,y,v=e[0],_=e[o-1];return x(),g<0&&M(-g,.8),y<0&&M(y,.8),x(),b(g,y,1),b(y,g,-1),x(),g<0&&S(-g),y<0&&S(y),u}function x(){g=v.rect[t]-i,y=r-_.rect[t]-_.rect[n]}function b(e,t,n){if(e<0){var i=Math.min(t,-e);if(i>0){w(i*n,0,o);var r=i+e;r<0&&M(-r*n,1)}else M(-e*n,1)}}function w(n,i,r){0!==n&&(u=!0);for(var a=i;a<r;a++){var o=e[a],s=o.rect;s[t]+=n,o.label[t]+=n}}function M(i,r){for(var a=[],s=0,l=1;l<o;l++){var u=e[l-1].rect,c=Math.max(e[l].rect[t]-u[t]-u[n],0);a.push(c),s+=c}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<o-1;l++){var d=a[l]*h;w(d,0,l+1)}else for(l=o-1;l>0;l--){d=a[l-1]*h;w(-d,l,o)}}}function S(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(o-1)),i=0;i<o-1;i++)if(t>0?w(n,0,i+1):w(-n,o-i-1,o),e-=n,e<=0)return}}function GS(e,t,n,i){return VS(e,"x","width",t,n,i)}function WS(e,t,n,i){return VS(e,"y","height",t,n,i)}function US(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new je(0,0,0,0);function i(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var r=0;r<e.length;r++){var a=e[r],o=a.axisAligned,s=a.localRect,l=a.transform,u=a.label,c=a.labelLine;n.copy(a.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=a.obb,d=!1,f=0;f<t.length;f++){var p=t[f];if(n.intersect(p.rect)){if(o&&p.axisAligned){d=!0;break}if(p.obb||(p.obb=new wg(p.localRect,p.transform)),h||(h=new wg(s,l)),h.intersect(p.obb)){d=!0;break}}}d?(i(u),c&&i(c)):(u.attr("ignore",a.defaultAttr.ignore),c&&c.attr("ignore",a.defaultAttr.labelGuideIgnore),t.push(a))}}function XS(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function ZS(e,t){var n=e.label,i=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:XS(i&&i.shape.points)}}var qS=["align","verticalAlign","width","height","fontSize"],$S=new li,JS=qr(),KS=qr();function QS(e,t,n){for(var i=0;i<n.length;i++){var r=n[i];null!=t[r]&&(e[r]=t[r])}}var eT=["x","y","rotation"],tT=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,n,i,r){var a=i.style,o=i.__hostTarget,s=o.textConfig||{},l=i.getComputedTransform(),u=i.getBoundingRect().plain();je.applyTransform(u,u,l),l?$S.setLocalTransform(l):($S.x=$S.y=$S.rotation=$S.originX=$S.originY=0,$S.scaleX=$S.scaleY=1),$S.rotation=Fo($S.rotation);var c,h=i.__hostTarget;if(h){c=h.getBoundingRect().plain();var d=h.getComputedTransform();je.applyTransform(c,c,d)}var f=c&&h.getTextGuideLine();this._labelList.push({label:i,labelLine:f,seriesModel:n,dataIndex:e,dataType:t,layoutOption:r,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:f&&f.ignore,x:$S.x,y:$S.y,scaleX:$S.scaleX,scaleY:$S.scaleY,rotation:$S.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:i.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var n=e.__model,i=n.get("labelLayout");(Object(x["w"])(i)||Object(x["F"])(i).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var r=e.getTextContent(),a=Gs(e);r&&!r.disableLabelLayout&&t._addLabel(a.dataIndex,a.dataType,n,r,i)}))},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),n=e.getHeight();function i(e,t){return function(){ES(e,t)}}for(var r=0;r<this._labelList.length;r++){var a=this._labelList[r],o=a.label,s=o.__hostTarget,l=a.defaultAttr,u=void 0;u=Object(x["w"])(a.layoutOption)?a.layoutOption(ZS(a,s)):a.layoutOption,u=u||{},a.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var h=!1;if(null!=u.x?(o.x=er(u.x,t),o.setStyle("x",0),h=!0):(o.x=l.x,o.setStyle("x",l.style.x)),null!=u.y?(o.y=er(u.y,n),o.setStyle("y",0),h=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var d=s.getTextGuideLine();d&&(d.setShape({points:u.labelLinePoints}),h=!1)}var f=JS(o);f.needsUpdateLabelLine=h,o.rotation=null!=u.rotate?u.rotate*c:l.rotation,o.scaleX=l.scaleX,o.scaleY=l.scaleY;for(var p=0;p<qS.length;p++){var m=qS[p];o.setStyle(m,null!=u[m]?u[m]:l.style[m])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var g=a.seriesModel;if(null!=a.dataIndex){var y=a.seriesModel.getData(a.dataType);g=y.getItemModel(a.dataIndex)}o.on("drag",i(s,g.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},e.prototype.layout=function(e){var t=e.getWidth(),n=e.getHeight(),i=BS(this._labelList),r=Object(x["n"])(i,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),a=Object(x["n"])(i,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));GS(r,0,t),WS(a,0,n);var o=Object(x["n"])(i,(function(e){return e.layoutOption.hideOverlap}));US(o)},e.prototype.processLabelsOverall=function(){var e=this;Object(x["k"])(this._chartViewList,(function(t){var n=t.__model,i=t.ignoreLabelLineUpdate,r=n.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var a=!i,o=t.getTextContent();!a&&o&&(a=JS(o).needsUpdateLabelLine),a&&e._updateLabelLine(t,n),r&&e._animateLabels(t,n)}))}))},e.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),i=Gs(e),r=i.dataIndex;if(n&&null!=r){var a=t.getData(i.dataType),o=a.getItemModel(r),s={},l=a.getItemVisual(r,"style");if(l){var u=a.getVisual("drawType");s.stroke=l[u]}var c=o.getModel("labelLine");jS(e,FS(o),s),ES(e,c)}},e.prototype._animateLabels=function(e,t){var n=e.getTextContent(),i=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!uu(e))){var r=JS(n),a=r.oldLayout,o=Gs(e),s=o.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},u=t.getData(o.dataType);if(a){n.attr(a);var c=e.prevStates;c&&(Object(x["r"])(c,"select")>=0&&n.attr(r.oldLayoutSelect),Object(x["r"])(c,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),su(n,l,t,s)}else if(n.attr(l),!Ou(n).valueAnimation){var h=Object(x["P"])(n.style.opacity,1);n.style.opacity=0,lu(n,{style:{opacity:h}},t,s)}if(r.oldLayout=l,n.states.select){var d=r.oldLayoutSelect={};QS(d,l,eT),QS(d,n.states.select,eT)}if(n.states.emphasis){var f=r.oldLayoutEmphasis={};QS(f,l,eT),QS(f,n.states.emphasis,eT)}Iu(n,s,u,t,t)}if(i&&!i.ignore&&!i.invisible){r=KS(i),a=r.oldLayout;var p={points:i.shape.points};a?(i.attr({shape:a}),su(i,{shape:p},t)):(i.setShape(p),i.style.strokePercent=0,lu(i,{style:{strokePercent:1}},t)),r.oldLayout=p}},e}(),nT=tT,iT=qr();function rT(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var i=iT(t).labelManager;i||(i=iT(t).labelManager=new nT),i.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var i=iT(t).labelManager;n.updatedSeries.forEach((function(e){i.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),i.updateLayoutConfig(t),i.layout(t),i.processLabelsOverall()}))}function aT(e,t,n){var i=ci["d"].createCanvas(),r=t.getWidth(),a=t.getHeight(),o=i.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=r+"px",o.height=a+"px",i.setAttribute("data-zr-dom-id",e)),i.width=r*n,i.height=a*n,i}IM(rT);var oT=function(e){function t(t,n,i){var r,a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null,i=i||Xn,"string"===typeof t?r=aT(t,n,i):x["A"](t)&&(r=t,t=r.id),a.id=t,a.dom=r;var o=r.style;return o&&(x["j"](r),r.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),a.painter=n,a.dpr=i,a}return v(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=aT("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,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,a=[],o=this.maxRepaintRectCount,s=!1,l=new je(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===a.length){var t=new je(0,0,0,0);t.copy(e),a.push(t)}else{for(var n=!1,i=1/0,r=0,u=0;u<a.length;++u){var c=a[u];if(c.intersect(e)){var h=new je(0,0,0,0);h.copy(c),h.union(e),a[u]=h,n=!0;break}if(s){l.copy(e),l.union(c);var d=e.width*e.height,f=c.width*c.height,p=l.width*l.height,m=p-d-f;m<i&&(i=m,r=u)}}if(s&&(a[r].union(e),n=!0),!n){t=new je(0,0,0,0);t.copy(e),a.push(t)}s||(s=a.length>=o)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var h=e[c];if(h){var d=h.shouldBePainted(n,i,!0,!0),f=h.__isRendered&&(h.__dirty&ut||!d)?h.getPrevPaintRect():null;f&&u(f);var p=d&&(h.__dirty&ut||!h.__isRendered)?h.getPaintRect():null;p&&u(p)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){h=t[c],d=h&&h.shouldBePainted(n,i,!0,!0);if(h&&(!d||!h.__zr)&&h.__isRendered){f=h.getPrevPaintRect();f&&u(f)}}do{r=!1;for(c=0;c<a.length;)if(a[c].isZero())a.splice(c,1);else{for(var m=c+1;m<a.length;)a[c].intersect(a[m])?(r=!0,a[c].union(a[m]),a.splice(m,1)):m++;c++}}while(r);return this._paintRects=a,a},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,i=this.dom,r=i.style,a=this.domBack;r&&(r.width=e+"px",r.height=t+"px"),i.width=e*n,i.height=t*n,a&&(a.width=e*n,a.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var i=this.dom,r=this.ctx,a=i.width,o=i.height;t=t||this.clearColor;var s=this.motionBlur&&!e,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/u,o/u));var h=this.domBack;function d(e,n,i,a){if(r.clearRect(e,n,i,a),t&&"transparent"!==t){var o=void 0;if(x["x"](t)){var d=t.global||t.__width===i&&t.__height===a;o=d&&t.__canvasGradient||Iv(r,t,{x:0,y:0,width:i,height:a}),t.__canvasGradient=o,t.__width=i,t.__height=a}else x["y"](t)&&(t.scaleX=t.scaleX||u,t.scaleY=t.scaleY||u,o=Vv(r,t,{dirty:function(){c.setUnpainted(),c.painter.refresh()}}));r.save(),r.fillStyle=o||t,r.fillRect(e,n,i,a),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(h,e,n,i,a),r.restore())}!n||s?d(0,0,a,o):n.length&&x["k"](n,(function(e){d(e.x*u,e.y*u,e.width*u,e.height*u)}))},t}(G),sT=oT,lT=1e5,uT=314159,cT=.01,hT=.001;function dT(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}function fT(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 pT=function(){function e(e,t,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=x["m"]({},n||{}),this.dpr=n.devicePixelRatio||Xn,this._singleCanvas=r,this.root=e;var a=e.style;a&&(x["j"](e),e.innerHTML=""),this.storage=t;var o=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(r){var l=e,u=l.width,c=l.height;null!=n.width&&(u=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,l.width=u*this.dpr,l.height=c*this.dpr,this._width=u,this._height=c;var h=new sT(l,this,this.dpr);h.__builtin__=!0,h.initContext(),s[uT]=h,h.zlevel=uT,o.push(uT),this._domRoot=e}else{this._width=Pv(e,0,n),this._height=Pv(e,1,n);var d=this._domRoot=fT(this._width,this._height);e.appendChild(d)}}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,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var r=0;r<i.length;r++){var a=i[r],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=0===r?this._backgroundColor:null;o.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 i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},a=0;a<t;a++){var o=e[a];o.__inHover&&(n||(n=this._hoverlayer=this.getLayer(lT)),i||(i=n.ctx,i.save()),u_(i,o,r,a===t-1))}i&&i.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(lT)},e.prototype.paintOne=function(e,t){l_(e,t)},e.prototype._paintList=function(e,t,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(e);var r=this._doPaintList(e,t,n),a=r.finished,o=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(e),a)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var s=this;vt((function(){s._paintList(e,t,n,i)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(uT).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(i){i.virtual&&e.drawImage(i.dom,0,0,t,n)}))},e.prototype._doPaintList=function(e,t,n){for(var i=this,r=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._zlevelList[o],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&r.push(l)}for(var u=!0,c=!1,h=function(o){var s,l=r[o],h=l.ctx,f=a&&l.createRepaintRects(e,t,d._width,d._height),p=n?l.__startIndex:l.__drawIndex,m=!n&&l.incremental&&Date.now,g=m&&Date.now(),y=l.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,y,f);else if(p===l.__startIndex){var v=e[p];v.incremental&&v.notClear&&!n||l.clear(!1,y,f)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var _=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=p;s<l.__endIndex;s++){var r=e[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,t,n,s===l.__endIndex-1),m){var o=Date.now()-g;if(o>15)break}}n.prevElClipPaths&&h.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var x=d.dpr,b=0;b<f.length;++b){var w=f[b];h.save(),h.beginPath(),h.rect(w.x*x,w.y*x,w.width*x,w.height*x),h.clip(),_(w),h.restore()}else h.save(),_(),h.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(u=!1)},d=this,f=0;f<r.length;f++)h(f);return _["a"].wxa&&x["k"](this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:u,needsRefreshHover:c}},e.prototype._doPaintEl=function(e,t,n,i,r,a){var o=t.ctx;if(n){var s=e.getPaintRect();(!i||s&&s.intersect(i))&&(u_(o,e,r,a),e.setPrevPaintRect(s))}else u_(o,e,r,a)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=uT);var n=this._layers[e];return n||(n=new sT("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?x["I"](n,this._layerConfig[e],!0):this._layerConfig[e-cT]&&x["I"](n,this._layerConfig[e-cT],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,i=this._zlevelList,r=i.length,a=this._domRoot,o=null,s=-1;if(!n[e]&&dT(t)){if(r>0&&e>i[0]){for(s=0;s<r-1;s++)if(i[s]<e&&i[s+1]>e)break;o=n[i[s]]}if(i.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(t.dom,l.nextSibling):a.appendChild(t.dom)}else a.firstChild?a.insertBefore(t.dom,a.firstChild):a.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];e.call(t,this._layers[r],r)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],a=this._layers[r];a.__builtin__&&e.call(t,a,r)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],a=this._layers[r];a.__builtin__||e.call(t,a,r)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){o&&(o.__endIndex!==e&&(o.__dirty=!0),o.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var i=e[n];if(i.zlevel!==e[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var r,a,o=null,s=0;for(a=0;a<e.length;a++){i=e[a];var l=i.zlevel,u=void 0;r!==l&&(r=l,s=0),i.incremental?(u=this.getLayer(l+hT,this._needsManuallyCompositing),u.incremental=!0,s=1):u=this.getLayer(l+(s>0?cT:0),this._needsManuallyCompositing),u.__builtin__||x["G"]("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==a&&(u.__dirty=!0),u.__startIndex=a,u.incremental?u.__drawIndex=-1:u.__drawIndex=a,t(a),o=u),i.__dirty&ut&&!i.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=a))}t(a),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,x["k"](this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?x["I"](n[e],t,!0):n[e]=t;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===e||r===e+cT){var a=this._layers[r];x["I"](a,n[e],!0)}}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,i=t[e];i&&(i.dom.parentNode.removeChild(i.dom),delete t[e],n.splice(x["r"](n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=Pv(r,0,i),t=Pv(r,1,i),n.style.display="",this._width!==e||t!==this._height){for(var a in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].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(uT).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[uT].dom;var t=new sT("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 i=t.dom.width,r=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,i,r):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++){var u=o[s];u_(n,u,a,s===l-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}(),mT=pT;function gT(e){e.registerPainter("canvas",mT)}var yT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return v(t,e),t.prototype.init=function(t,n,i){e.prototype.init.call(this,t,n,i),this._sourceManager=new ap(this),op(this)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),op(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:Lh},t}(mh),vT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return v(t,e),t.type="dataset",t}(Wp);function _T(e){e.registerComponentModel(yT),e.registerComponentView(vT)}IM([gT,_T]);IM(rT),gS({type:"series.liquidFill",optionUpdated:function(){var e=this.option;e.gridSize=Math.max(Math.floor(e.gridSize),4)},getInitialData:function(e,t){var n=o.createDimensions(e.data,{coordDimensions:["value"]}),i=new Eb(n,this);return i.initData(e.data),i},defaultOption:{color:["#294D99","#156ACF","#1598ED","#45BDFF"],center:["50%","50%"],radius:"50%",amplitude:"8%",waveLength:"80%",phase:"auto",period:"auto",direction:"right",shape:"circle",waveAnimation:!0,animationEasing:"linear",animationEasingUpdate:"linear",animationDuration:2e3,animationDurationUpdate:1e3,outline:{show:!0,borderDistance:8,itemStyle:{color:"none",borderColor:"#294D99",borderWidth:8,shadowBlur:20,shadowColor:"rgba(0, 0, 0, 0.25)"}},backgroundStyle:{color:"#E3F7FF"},itemStyle:{opacity:.95,shadowBlur:50,shadowColor:"rgba(0, 0, 0, 0.4)"},label:{show:!0,color:"#294D99",insideColor:"#fff",fontSize:50,fontWeight:"bold",align:"center",baseline:"middle",position:"inside"},emphasis:{itemStyle:{opacity:.8}}}});var xT=l.extendShape({type:"ec-liquid-fill",shape:{waveLength:0,radius:0,radiusY:0,cx:0,cy:0,waterLevel:0,amplitude:0,phase:0,inverse:!1},buildPath:function(e,t){null==t.radiusY&&(t.radiusY=t.radius);var n=Math.max(2*Math.ceil(2*t.radius/t.waveLength*4),8);while(t.phase<2*-Math.PI)t.phase+=2*Math.PI;while(t.phase>0)t.phase-=2*Math.PI;var i=t.phase/Math.PI/2*t.waveLength,r=t.cx-t.radius+i-2*t.radius;e.moveTo(r,t.waterLevel);for(var a=0,o=0;o<n;++o){var s=o%4,l=bT(o*t.waveLength/4,s,t.waveLength,t.amplitude);e.bezierCurveTo(l[0][0]+r,-l[0][1]+t.waterLevel,l[1][0]+r,-l[1][1]+t.waterLevel,l[2][0]+r,-l[2][1]+t.waterLevel),o===n-1&&(a=l[2][0])}t.inverse?(e.lineTo(a+r,t.cy-t.radiusY),e.lineTo(r,t.cy-t.radiusY),e.lineTo(r,t.waterLevel)):(e.lineTo(a+r,t.cy+t.radiusY),e.lineTo(r,t.cy+t.radiusY),e.lineTo(r,t.waterLevel)),e.closePath()}});function bT(e,t,n,i){return 0===t?[[e+.5*n/Math.PI/2,i/2],[e+.5*n/Math.PI,i],[e+n/4,i]]:1===t?[[e+.5*n/Math.PI/2*(Math.PI-2),i],[e+.5*n/Math.PI/2*(Math.PI-1),i/2],[e+n/4,0]]:2===t?[[e+.5*n/Math.PI/2,-i/2],[e+.5*n/Math.PI,-i],[e+n/4,-i]]:[[e+.5*n/Math.PI/2*(Math.PI-2),-i],[e+.5*n/Math.PI/2*(Math.PI-1),-i/2],[e+n/4,0]]}var wT=er;function MT(e){return e&&0===e.indexOf("path://")}yS({type:"liquidFill",render:function(e,t,n){var i=this,r=this.group;r.removeAll();var a=e.getData(),s=a.getItemModel(0),u=s.get("center"),c=s.get("radius"),h=n.getWidth(),d=n.getHeight(),f=Math.min(h,d),p=0,m=0,g=e.get("outline.show");g&&(p=e.get("outline.borderDistance"),m=wT(e.get("outline.itemStyle.borderWidth"),f));var y,v,_,x=wT(u[0],h),b=wT(u[1],d),w=!1,M=e.get("shape");if("container"===M?(w=!0,y=[h/2,d/2],v=[y[0]-m/2,y[1]-m/2],_=[wT(p,h),wT(p,d)],c=[Math.max(v[0]-_[0],0),Math.max(v[1]-_[1],0)]):(y=wT(c,f)/2,v=y-m/2,_=wT(p,f),c=Math.max(v-_,0)),g){var S=I();S.style.lineWidth=m,r.add(I())}var T=w?0:x-c,L=w?0:b-c,D=null;r.add(C());var A=this._data,O=[];function k(e,t){if(M){if(MT(M)){var n=l.makePath(M.slice(7),{}),i=n.getBoundingRect(),r=i.width,a=i.height;r>a?(a*=2*e/r,r=2*e):(r*=2*e/a,a=2*e);var s=t?0:x-r/2,u=t?0:b-a/2;return n=l.makePath(M.slice(7),{},new l.BoundingRect(s,u,r,a)),t&&(n.x=-r/2,n.y=-a/2),n}if(w){var c=t?-e[0]:x-e[0],h=t?-e[1]:b-e[1];return o.createSymbol("rect",c,h,2*e[0],2*e[1])}c=t?-e:x-e,h=t?-e:b-e;return"pin"===M?h+=e:"arrow"===M&&(h-=e),o.createSymbol(M,c,h,2*e,2*e)}return new l.Circle({shape:{cx:t?0:x,cy:t?0:b,r:e}})}function I(){var t=k(y);return t.style.fill=null,t.setStyle(e.getModel("outline.itemStyle").getItemStyle()),t}function C(){var t=k(c);t.setStyle(e.getModel("backgroundStyle").getItemStyle()),t.style.fill=null,t.z2=5;var n=k(c);n.setStyle(e.getModel("backgroundStyle").getItemStyle()),n.style.stroke=null;var i=new l.Group;return i.add(t),i.add(n),i}function E(t,n,i){var r=w?c[0]:c,s=w?d/2:c,l=a.getItemModel(t),u=l.getModel("itemStyle"),h=l.get("phase"),f=wT(l.get("amplitude"),2*s),p=wT(l.get("waveLength"),2*r),m=a.get("value",t),g=s-m*s*2;h=i?i.shape.phase:"auto"===h?t*Math.PI/4:h;var y=u.getItemStyle();if(!y.fill){var v=e.get("color"),_=t%v.length;y.fill=v[_]}var M=2*r,S=new xT({shape:{waveLength:p,radius:r,radiusY:s,cx:M,cy:0,waterLevel:g,amplitude:f,phase:h,inverse:n},style:y,x:x,y:b});S.shape._waterLevel=g;var T=l.getModel("emphasis.itemStyle").getItemStyle();T.lineWidth=0,S.ensureState("emphasis").style=T,o.enableHoverEmphasis(S);var L=k(c,!0);return L.setStyle({fill:"white"}),S.setClipPath(L),S}function P(e,t,n){var i=a.getItemModel(e),r=i.get("period"),o=i.get("direction"),s=a.get("value",e),l=i.get("phase");l=n?n.shape.phase:"auto"===l?e*Math.PI/4:l;var u=function(t){var n=a.count();return 0===n?t:t*(.2+(n-e)/n*.8)},c=0;c="auto"===r?u(5e3):"function"===typeof r?r(s,e):r;var h=0;"right"===o||null==o?h=Math.PI:"left"===o?h=-Math.PI:"none"===o?h=0:console.error("Illegal direction value for liquid fill."),"none"!==o&&i.get("waveAnimation")&&t.animate("shape",!0).when(0,{phase:l}).when(c/2,{phase:h+l}).when(c,{phase:2*h+l}).during((function(){D&&D.dirty(!0)})).start()}function N(t){var n=s.getModel("label");function i(){var t=e.getFormattedLabel(0,"normal"),n=100*a.get("value",0),i=a.getName(0)||e.name;return isNaN(n)||(i=n.toFixed(0)+"%"),null==t?i:t}var r={z2:10,shape:{x:T,y:L,width:2*(w?c[0]:c),height:2*(w?c[1]:c)},style:{fill:"transparent"},textConfig:{position:n.get("position")||"inside"},silent:!0},u={style:{text:i(),textAlign:n.get("align"),textVerticalAlign:n.get("baseline")}};Object.assign(u.style,o.createTextStyle(n));var h=new l.Rect(r),d=new l.Rect(r);d.disableLabelAnimation=!0,h.disableLabelAnimation=!0;var f=new l.Text(u),p=new l.Text(u);h.setTextContent(f),d.setTextContent(p);var m=n.get("insideColor");p.style.fill=m;var g=new l.Group;g.add(h),g.add(d);var y=k(c,!0);return D=new l.CompoundPath({shape:{paths:t},x:x,y:b}),D.setClipPath(y),d.setClipPath(D),g}a.diff(A).add((function(t){var n=E(t,!1),i=n.shape.waterLevel;n.shape.waterLevel=w?d/2:c,l.initProps(n,{shape:{waterLevel:i}},e),n.z2=2,P(t,n,null),r.add(n),a.setItemGraphicEl(t,n),O.push(n)})).update((function(t,n){for(var o=A.getItemGraphicEl(n),s=E(t,!1,o),u={},c=["amplitude","cx","cy","phase","radius","radiusY","waterLevel","waveLength"],h=0;h<c.length;++h){var f=c[h];s.shape.hasOwnProperty(f)&&(u[f]=s.shape[f])}var p={},m=["fill","opacity","shadowBlur","shadowColor"];for(h=0;h<m.length;++h){f=m[h];s.style.hasOwnProperty(f)&&(p[f]=s.style[f])}w&&(u.radiusY=d/2),l.updateProps(o,{shape:u,x:s.x,y:s.y},e),e.isUniversalTransitionEnabled&&e.isUniversalTransitionEnabled()?l.updateProps(o,{style:p},e):o.useStyle(p);var g=o.getClipPath(),y=s.getClipPath();o.setClipPath(s.getClipPath()),o.shape.inverse=s.inverse,g&&y&&i._shape===M&&!MT(M)&&l.updateProps(y,{shape:g.shape},e,{isFrom:!0}),P(t,o,o),r.add(o),a.setItemGraphicEl(t,o),O.push(o)})).remove((function(e){var t=A.getItemGraphicEl(e);r.remove(t)})).execute(),s.get("label.show")&&r.add(N(O)),this._shape=M,this._data=a},dispose:function(){}});var ST=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},TT=[],LT=(n("caad"),n("a9e3"),n("d3b7"),n("25f0"),n("b680"),n("d81d"),n("c740"),n("99af"),Math.sin),DT=Math.cos,AT=Math.PI,OT=2*Math.PI,kT=180/AT,IT=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,i,r,a){this._add("C",e,t,n,i,r,a)},e.prototype.quadraticCurveTo=function(e,t,n,i){this._add("Q",e,t,n,i)},e.prototype.arc=function(e,t,n,i,r,a){this.ellipse(e,t,n,n,0,i,r,a)},e.prototype.ellipse=function(e,t,n,i,r,a,o,s){var l=o-a,u=!s,c=Math.abs(l),h=Object(Jt["j"])(c-OT)||(u?l>=OT:-l>=OT),d=l>0?l%OT:l%OT+OT,f=!1;f=!!h||!Object(Jt["j"])(c)&&d>=AT===!!u;var p=e+n*DT(a),m=t+i*LT(a);this._start&&this._add("M",p,m);var g=Math.round(r*kT);if(h){var y=1/this._p,v=(u?1:-1)*(OT-y);this._add("A",n,i,g,1,+u,e+n*DT(a+v),t+i*LT(a+v)),y>.01&&this._add("A",n,i,g,0,+u,p,m)}else{var _=e+n*DT(o),x=t+i*LT(o);this._add("A",n,i,g,+f,+u,_,x)}},e.prototype.rect=function(e,t,n,i){this._add("M",e,t),this._add("l",n,0),this._add("l",0,i),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,i,r,a,o,s,l){for(var u=[],c=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);u.push(Math.round(d*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}(),CT=IT,ET="none",PT=Math.round;function NT(e){var t=e.fill;return null!=t&&t!==ET}function RT(e){var t=e.stroke;return null!=t&&t!==ET}var YT=["lineCap","miterLimit","lineJoin"],zT=Object(x["H"])(YT,(function(e){return"stroke-"+e.toLowerCase()}));function HT(e,t,n,i){var r=null==t.opacity?1:t.opacity;if(n instanceof gs)e("opacity",r);else{if(NT(t)){var a=Object(Jt["p"])(t.fill);e("fill",a.color);var o=null!=t.fillOpacity?t.fillOpacity*a.opacity*r:a.opacity*r;(i||o<1)&&e("fill-opacity",o)}else e("fill",ET);if(RT(t)){var s=Object(Jt["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*r:s.opacity*r,h=t.strokeFirst;if((i||1!==u)&&e("stroke-width",u),(i||h)&&e("paint-order",h?"stroke":"fill"),(i||c<1)&&e("stroke-opacity",c),t.lineDash){var d=Rv(n),f=d[0],p=d[1];f&&(p=PT(p||0),e("stroke-dasharray",f.join(",")),(p||i)&&e("stroke-dashoffset",p))}else i&&e("stroke-dasharray",ET);for(var m=0;m<YT.length;m++){var g=YT[m];if(i||t[g]!==rs[g]){var y=t[g]||rs[g];y&&e(zT[m],y)}}}else i&&e("stroke",ET)}}var jT="http://www.w3.org/2000/svg",FT="http://www.w3.org/1999/xlink",BT="http://www.w3.org/2000/xmlns/",VT="http://www.w3.org/XML/1998/namespace",GT="ecmeta_";function WT(e){return document.createElementNS(jT,e)}function UT(e,t,n,i,r){return{tag:e,attrs:n||{},children:i,text:r,key:t}}function XT(e,t){var n=[];if(t)for(var i in t){var r=t[i],a=i;!1!==r&&(!0!==r&&null!=r&&(a+='="'+r+'"'),n.push(a))}return"<"+e+" "+n.join(" ")+">"}function ZT(e){return"</"+e+">"}function qT(e,t){t=t||{};var n=t.newline?"\n":"";function i(e){var t=e.children,r=e.tag,a=e.attrs,o=e.text;return XT(r,a)+("style"!==r?ie(o):o||"")+(t?""+n+Object(x["H"])(t,(function(e){return i(e)})).join(n)+n:"")+ZT(r)}return i(e)}function $T(e,t,n){n=n||{};var i=n.newline?"\n":"",r=" {"+i,a=i+"}",o=Object(x["H"])(Object(x["F"])(e),(function(t){return t+r+Object(x["H"])(Object(x["F"])(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(i)+a})).join(i),s=Object(x["H"])(Object(x["F"])(t),(function(e){return"@keyframes "+e+r+Object(x["H"])(Object(x["F"])(t[e]),(function(n){return n+r+Object(x["H"])(Object(x["F"])(t[e][n]),(function(i){var r=t[e][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+a})).join(i)+a})).join(i);return o||s?["<![CDATA[",o,s,"]]>"].join(i):""}function JT(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function KT(e,t,n,i){return UT("svg","root",{width:e,height:t,xmlns:jT,"xmlns:xlink":FT,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+e+" "+t},n)}var QT=0;function eL(){return QT++}var tL={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"},nL="transform-origin";function iL(e,t,n){var i=Object(x["m"])({},e.shape);Object(x["m"])(i,t),e.buildPath(n,i);var r=new CT;return r.reset(Object(Jt["f"])(e)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function rL(e,t){var n=t.originX,i=t.originY;(n||i)&&(e[nL]=n+"px "+i+"px")}var aL={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function oL(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function sL(e,t,n){var i,r,a=e.shape.paths,o={};if(Object(x["k"])(a,(function(e){var t=JT(n.zrId);t.animation=!0,uL(e,{},t,!0);var a=t.cssAnims,s=t.cssNodes,l=Object(x["F"])(a),u=l.length;if(u){r=l[u-1];var c=a[r];for(var h in c){var d=c[h];o[h]=o[h]||{d:""},o[h].d+=d.d||""}for(var f in s){var p=s[f].animation;p.indexOf(r)>=0&&(i=p)}}})),i){t.d=!1;var s=oL(o,n);return i.replace(r,s)}}function lL(e){return Object(x["C"])(e)?tL[e]?"cubic-bezier("+tL[e]+")":Xt(e)?e:"":""}function uL(e,t,n,i){var r=e.animators,a=r.length,o=[];if(e instanceof cg){var s=sL(e,t,n);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var l={},u=0;u<a;u++){var c=r[u],h=[c.getMaxTime()/1e3+"s"],d=lL(c.getClip().easing),f=c.getDelay();d?h.push(d):h.push("linear"),f&&h.push(f/1e3+"s"),c.getLoop()&&h.push("infinite");var p=h.join(" ");l[p]=l[p]||[p,[]],l[p][1].push(c)}function m(r){var a,o=r[1],s=o.length,l={},u={},c={},h="animation-timing-function";function d(e,t,n){for(var i=e.getTracks(),r=e.getMaxTime(),a=0;a<i.length;a++){var o=i[a];if(o.needsAnimate()){var s=o.keyframes,l=o.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],d=Math.round(c.time/r*100)+"%",f=lL(c.easing),p=c.rawValue;(Object(x["C"])(p)||Object(x["z"])(p))&&(t[d]=t[d]||{},t[d][l]=c.rawValue,f&&(t[d][h]=f))}}}}for(var f=0;f<s;f++){var p=o[f],m=p.targetName;m?"shape"===m&&d(p,u):!i&&d(p,l)}for(var g in l){var y={};si(y,e),Object(x["m"])(y,l[g]);var v=Object(Jt["g"])(y),_=l[g][h];c[g]=v?{transform:v}:{},rL(c[g],y),_&&(c[g][h]=_)}var b=!0;for(var g in u){c[g]=c[g]||{};var w=!a;_=u[g][h];w&&(a=new Ro);var M=a.len();a.reset(),c[g].d=iL(e,u[g],a);var S=a.len();if(!w&&M!==S){b=!1;break}_&&(c[g][h]=_)}if(!b)for(var g in c)delete c[g].d;if(!i)for(f=0;f<s;f++){p=o[f],m=p.targetName;"style"===m&&d(p,c,(function(e){return aL[e]}))}var T,L=Object(x["F"])(c),D=!0;for(f=1;f<L.length;f++){var A=L[f-1],O=L[f];if(c[A][nL]!==c[O][nL]){D=!1;break}T=c[A][nL]}if(D&&T){for(var g in c)c[g][nL]&&delete c[g][nL];t[nL]=T}if(Object(x["n"])(L,(function(e){return Object(x["F"])(c[e]).length>0})).length){var k=oL(c,n);return k+" "+r[0]+" both"}}for(var g in l){s=m(l[g]);s&&o.push(s)}if(o.length){var y=n.zrId+"-cls-"+eL();n.cssNodes["."+y]={animation:o.join(",")},t["class"]=y}}function cL(e,t,n){if(!e.ignore)if(e.isSilent()){var i={"pointer-events":"none"};hL(i,t,n,!0)}else{var r=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},a=r.fill;if(!a){var o=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||o;l&&(a=Object($t["liftColor"])(l))}var u=r.lineWidth;if(u){var c=!r.strokeNoScale&&e.transform?e.transform[0]:1;u/=c}i={cursor:"pointer"};a&&(i.fill=a),r.stroke&&(i.stroke=r.stroke),u&&(i["stroke-width"]=u),hL(i,t,n,!0)}}function hL(e,t,n,i){var r=JSON.stringify(e),a=n.cssStyleCache[r];a||(a=n.zrId+"-cls-"+eL(),n.cssStyleCache[r]=a,n.cssNodes["."+a+(i?":hover":"")]=e),t["class"]=t["class"]?t["class"]+" "+a:a}var dL=Math.round;function fL(e){return e&&Object(x["C"])(e.src)}function pL(e){return e&&Object(x["w"])(e.toDataURL)}function mL(e,t,n,i){HT((function(r,a){var o="fill"===r||"stroke"===r;o&&Object(Jt["k"])(a)?kL(t,e,r,i):o&&Object(Jt["n"])(a)?IL(n,e,r,i):e[r]=o&&"none"===a?"transparent":a}),t,n,!1),OL(n,e,i)}function gL(e,t){var n=Xi(t);n&&(n.each((function(t,n){null!=t&&(e[(GT+n).toLowerCase()]=t+"")})),t.isSilent()&&(e[GT+"silent"]="true"))}function yL(e){return Object(Jt["j"])(e[0]-1)&&Object(Jt["j"])(e[1])&&Object(Jt["j"])(e[2])&&Object(Jt["j"])(e[3]-1)}function vL(e){return Object(Jt["j"])(e[4])&&Object(Jt["j"])(e[5])}function _L(e,t,n){if(t&&(!vL(t)||!yL(t))){var i=n?10:1e4;e.transform=yL(t)?"translate("+dL(t[4]*i)/i+" "+dL(t[5]*i)/i+")":Object(Jt["e"])(t)}}function xL(e,t,n){for(var i=e.points,r=[],a=0;a<i.length;a++)r.push(dL(i[a][0]*n)/n),r.push(dL(i[a][1]*n)/n);t.points=r.join(" ")}function bL(e){return!e.smooth}function wL(e){var t=Object(x["H"])(e,(function(e){return"string"===typeof e?[e,e]:e}));return function(e,n,i){for(var r=0;r<t.length;r++){var a=t[r],o=e[a[0]];null!=o&&(n[a[1]]=dL(o*i)/i)}}}var ML={circle:[wL(["cx","cy","r"])],polyline:[xL,bL],polygon:[xL,bL]};function SL(e){for(var t=e.animators,n=0;n<t.length;n++)if("shape"===t[n].targetName)return!0;return!1}function TL(e,t){var n=e.style,i=e.shape,r=ML[e.type],a={},o=t.animation,s="path",l=e.style.strokePercent,u=t.compress&&Object(Jt["f"])(e)||4;if(!r||t.willUpdate||r[1]&&!r[1](i)||o&&SL(e)||l<1){var c=!e.path||e.shapeChanged();e.path||e.createPathProxy();var h=e.path;c&&(h.beginPath(),e.buildPath(h,e.shape),e.pathUpdated());var d=h.getVersion(),f=e,p=f.__svgPathBuilder;f.__svgPathVersion===d&&p&&l===f.__svgPathStrokePercent||(p||(p=f.__svgPathBuilder=new CT),p.reset(u),h.rebuildPath(p,l),p.generateStr(),f.__svgPathVersion=d,f.__svgPathStrokePercent=l),a.d=p.getStr()}else{s=e.type;var m=Math.pow(10,u);r[0](i,a,m)}return _L(a,e.transform),mL(a,n,e,t),gL(a,e),t.animation&&uL(e,a,t),t.emphasis&&cL(e,a,t),UT(s,e.id+"",a)}function LL(e,t){var n=e.style,i=n.image;if(i&&!Object(x["C"])(i)&&(fL(i)?i=i.src:pL(i)&&(i=i.toDataURL())),i){var r=n.x||0,a=n.y||0,o=n.width,s=n.height,l={href:i,width:o,height:s};return r&&(l.x=r),a&&(l.y=a),_L(l,e.transform),mL(l,n,e,t),gL(l,e),t.animation&&uL(e,l,t),UT("image",e.id+"",l)}}function DL(e,t){var n=e.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||ci["a"],a=n.x||0,o=Object(Jt["b"])(n.y||0,yi(r),n.textBaseline),s=Jt["a"][n.textAlign]||n.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(Ns(n)){var u="",c=n.fontStyle,h=Es(n.fontSize);if(!parseFloat(h))return;var d=n.fontFamily||ci["b"],f=n.fontWeight;u+="font-size:"+h+";font-family:"+d+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),f&&"normal"!==f&&(u+="font-weight:"+f+";"),l.style=u}else l.style="font: "+r;return i.match(/\s/)&&(l["xml:space"]="preserve"),a&&(l.x=a),o&&(l.y=o),_L(l,e.transform),mL(l,n,e,t),gL(l,e),t.animation&&uL(e,l,t),UT("text",e.id+"",l,void 0,i)}}function AL(e,t){return e instanceof ls?TL(e,t):e instanceof gs?LL(e,t):e instanceof hs?DL(e,t):void 0}function OL(e,t,n){var i=e.style;if(Object(Jt["i"])(i)){var r=Object(Jt["h"])(e),a=n.shadowCache,o=a[r];if(!o){var s=e.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,h=i.shadowOffsetY||0,d=i.shadowBlur,f=Object(Jt["p"])(i.shadowColor),p=f.opacity,m=f.color,g=d/2/l,y=d/2/u,v=g+" "+y;o=n.zrId+"-s"+n.shadowIdx++,n.defs[o]=UT("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[UT("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:v,"flood-color":m,"flood-opacity":p})]),a[r]=o}t.filter=Object(Jt["d"])(o)}}function kL(e,t,n,i){var r,a=e[n],o={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(Jt["m"])(a))r="linearGradient",o.x1=a.x,o.y1=a.y,o.x2=a.x2,o.y2=a.y2;else{if(!Object(Jt["o"])(a))return void 0;r="radialGradient",o.cx=Object(x["P"])(a.x,.5),o.cy=Object(x["P"])(a.y,.5),o.r=Object(x["P"])(a.r,.5)}for(var s=a.colorStops,l=[],u=0,c=s.length;u<c;++u){var h=100*Object(Jt["q"])(s[u].offset)+"%",d=s[u].color,f=Object(Jt["p"])(d),p=f.color,m=f.opacity,g={offset:h};g["stop-color"]=p,m<1&&(g["stop-opacity"]=m),l.push(UT("stop",u+"",g))}var y=UT(r,"",o,l),v=qT(y),_=i.gradientCache,b=_[v];b||(b=i.zrId+"-g"+i.gradientIdx++,_[v]=b,o.id=b,i.defs[b]=UT(r,b,o,l)),t[n]=Object(Jt["d"])(b)}function IL(e,t,n,i){var r,a=e.style[n],o=e.getBoundingRect(),s={},l=a.repeat,u="no-repeat"===l,c="repeat-x"===l,h="repeat-y"===l;if(Object(Jt["l"])(a)){var d=a.imageWidth,f=a.imageHeight,p=void 0,m=a.image;if(Object(x["C"])(m)?p=m:fL(m)?p=m.src:pL(m)&&(p=m.toDataURL()),"undefined"===typeof Image){var g="Image width/height must been given explictly in svg-ssr renderer.";Object(x["b"])(d,g),Object(x["b"])(f,g)}else if(null==d||null==f){var y=function(e,t){if(e){var n=e.elm,i=d||t.width,r=f||t.height;"pattern"===e.tag&&(c?(r=1,i/=o.width):h&&(i=1,r/=o.height)),e.attrs.width=i,e.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},v=Da(p,null,e,(function(e){u||y(M,e),y(r,e)}));v&&v.width&&v.height&&(d=d||v.width,f=f||v.height)}r=UT("image","img",{href:p,width:d,height:f}),s.width=d,s.height=f}else a.svgElement&&(r=Object(x["d"])(a.svgElement),s.width=a.svgWidth,s.height=a.svgHeight);if(r){var _,b;u?_=b=1:c?(b=1,_=s.width/o.width):h?(_=1,b=s.height/o.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==b||isNaN(b)||(s.height=b);var w=Object(Jt["g"])(a);w&&(s.patternTransform=w);var M=UT("pattern","",s,[r]),S=qT(M),T=i.patternCache,L=T[S];L||(L=i.zrId+"-p"+i.patternIdx++,T[S]=L,s.id=L,M=i.defs[L]=UT("pattern",L,s,[r])),t[n]=Object(Jt["d"])(L)}}function CL(e,t,n){var i=n.clipPathCache,r=n.defs,a=i[e.id];if(!a){a=n.zrId+"-c"+n.clipPathIdx++;var o={id:a};i[e.id]=a,r[a]=UT("clipPath",a,o,[TL(e,n)])}t["clip-path"]=Object(Jt["d"])(a)}function EL(e){return document.createTextNode(e)}function PL(e,t,n){e.insertBefore(t,n)}function NL(e,t){e.removeChild(t)}function RL(e,t){e.appendChild(t)}function YL(e){return e.parentNode}function zL(e){return e.nextSibling}function HL(e,t){e.textContent=t}var jL=58,FL=120,BL=UT("","");function VL(e){return void 0===e}function GL(e){return void 0!==e}function WL(e,t,n){for(var i={},r=t;r<=n;++r){var a=e[r].key;void 0!==a&&(i[a]=r)}return i}function UL(e,t){var n=e.key===t.key,i=e.tag===t.tag;return i&&n}function XL(e){var t,n=e.children,i=e.tag;if(GL(i)){var r=e.elm=WT(i);if($L(BL,e),Object(x["t"])(n))for(t=0;t<n.length;++t){var a=n[t];null!=a&&RL(r,XL(a))}else GL(e.text)&&!Object(x["A"])(e.text)&&RL(r,EL(e.text))}else e.elm=EL(e.text);return e.elm}function ZL(e,t,n,i,r){for(;i<=r;++i){var a=n[i];null!=a&&PL(e,XL(a),t)}}function qL(e,t,n,i){for(;n<=i;++n){var r=t[n];if(null!=r)if(GL(r.tag)){var a=YL(r.elm);NL(a,r.elm)}else NL(e,r.elm)}}function $L(e,t){var n,i=t.elm,r=e&&e.attrs||{},a=t.attrs||{};if(r!==a){for(n in a){var o=a[n],s=r[n];s!==o&&(!0===o?i.setAttribute(n,""):!1===o?i.removeAttribute(n):"style"===n?i.style.cssText=o:n.charCodeAt(0)!==FL?i.setAttribute(n,o):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(BT,n,o):n.charCodeAt(3)===jL?i.setAttributeNS(VT,n,o):n.charCodeAt(5)===jL?i.setAttributeNS(FT,n,o):i.setAttribute(n,o))}for(n in r)n in a||i.removeAttribute(n)}}function JL(e,t,n){var i,r,a,o,s=0,l=0,u=t.length-1,c=t[0],h=t[u],d=n.length-1,f=n[0],p=n[d];while(s<=u&&l<=d)null==c?c=t[++s]:null==h?h=t[--u]:null==f?f=n[++l]:null==p?p=n[--d]:UL(c,f)?(KL(c,f),c=t[++s],f=n[++l]):UL(h,p)?(KL(h,p),h=t[--u],p=n[--d]):UL(c,p)?(KL(c,p),PL(e,c.elm,zL(h.elm)),c=t[++s],p=n[--d]):UL(h,f)?(KL(h,f),PL(e,h.elm,c.elm),h=t[--u],f=n[++l]):(VL(i)&&(i=WL(t,s,u)),r=i[f.key],VL(r)?PL(e,XL(f),c.elm):(a=t[r],a.tag!==f.tag?PL(e,XL(f),c.elm):(KL(a,f),t[r]=void 0,PL(e,a.elm,c.elm))),f=n[++l]);(s<=u||l<=d)&&(s>u?(o=null==n[d+1]?null:n[d+1].elm,ZL(e,o,n,l,d)):qL(e,t,s,u))}function KL(e,t){var n=t.elm=e.elm,i=e.children,r=t.children;e!==t&&($L(e,t),VL(t.text)?GL(i)&&GL(r)?i!==r&&JL(n,i,r):GL(r)?(GL(e.text)&&HL(n,""),ZL(n,null,r,0,r.length-1)):GL(i)?qL(n,i,0,i.length-1):GL(e.text)&&HL(n,""):e.text!==t.text&&(GL(i)&&qL(n,i,0,i.length-1),HL(n,t.text)))}function QL(e,t){if(UL(e,t))KL(e,t);else{var n=e.elm,i=YL(n);XL(t),null!==i&&(PL(i,t.elm,zL(n)),qL(i,[e],0,0))}return t}var eD=0,tD=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=nD("refreshHover"),this.configLayer=nD("configLayer"),this.storage=t,this._opts=n=Object(x["m"])({},n),this.root=e,this._id="zr"+eD++,this._oldVNode=KT(n.width,n.height),e&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=WT("svg");$L(null,this._oldVNode),i.appendChild(r),e.appendChild(i)}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",QL(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return AL(e,JT(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=JT(this._id);r.animation=e.animation,r.willUpdate=e.willUpdate,r.compress=e.compress,r.emphasis=e.emphasis;var a=[],o=this._bgVNode=iD(n,i,this._backgroundColor,r);o&&a.push(o);var s=e.compress?null:this._mainVNode=UT("g","main",{},[]);this._paintList(t,r,s?s.children:a),s&&a.push(s);var l=Object(x["H"])(Object(x["F"])(r.defs),(function(e){return r.defs[e]}));if(l.length&&a.push(UT("defs","defs",{},l)),e.animation){var u=$T(r.cssNodes,r.cssAnims,{newline:!0});if(u){var c=UT("style","stl",{},[],u);a.push(c)}}return KT(n,i,a,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},qT(this.renderToVNode({animation:Object(x["P"])(e.cssAnimation,!0),emphasis:Object(x["P"])(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Object(x["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 i,r,a=e.length,o=[],s=0,l=0,u=0;u<a;u++){var c=e[u];if(!c.invisible){var h=c.__clipPaths,d=h&&h.length||0,f=r&&r.length||0,p=void 0;for(p=Math.max(d-1,f-1);p>=0;p--)if(h&&r&&h[p]===r[p])break;for(var m=f-1;m>p;m--)s--,i=o[s-1];for(var g=p+1;g<d;g++){var y={};CL(h[g],y,t);var v=UT("g","clip-g-"+l++,y,[]);(i?i.children:n).push(v),o[s++]=v,i=v}r=h;var _=AL(c,t);_&&(i?i.children:n).push(_)}}},e.prototype.resize=function(e,t){var n=this._opts,i=this.root,r=this._viewport;if(null!=e&&(n.width=e),null!=t&&(n.height=t),i&&r&&(r.style.display="none",e=Pv(i,0,n),t=Pv(i,1,n),r.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,r){var a=r.style;a.width=e+"px",a.height=t+"px"}if(Object(Jt["n"])(this._backgroundColor))this.refresh();else{var o=this._svgDom;o&&(o.setAttribute("width",e),o.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(Jt["c"])(t),t&&n+"base64,"+t):n+"charset=UTF-8,"+encodeURIComponent(t)},e}();function nD(e){return function(){0}}function iD(e,t,n,i){var r;if(n&&"none"!==n)if(r=UT("rect","bg",{width:e,height:t,x:"0",y:"0"}),Object(Jt["k"])(n))kL({fill:n},r.attrs,"fill",i);else if(Object(Jt["n"])(n))IL({style:{fill:n},dirty:x["L"],getBoundingRect:function(){return{width:e,height:t}}},r.attrs,"fill",i);else{var a=Object(Jt["p"])(n),o=a.color,s=a.opacity;r.attrs.fill=o,s<1&&(r.attrs["fill-opacity"]=s)}return r}var rD=tD;function aD(e){e.registerPainter("svg",rD)}var oD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return v(t,e),t.prototype.getInitialData=function(e){return Kb(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new Ni,n=Tv("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),a="none"===i?"circle":i,o=.8*e.itemHeight,s=Tv(a,(e.itemWidth-o)/2,(e.itemHeight-o)/2,o,o,e.itemStyle.fill);t.add(s),s.setStyle(e.itemStyle);var l="inherit"===e.iconRotate?r:e.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),a.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}(Vp),sD=oD;function lD(e,t){var n=e.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=xf(e,t,n[0]);return null!=r?r+"":null}if(i){for(var a=[],o=0;o<n.length;o++)a.push(xf(e,t,n[o]));return a.join(" ")}}function uD(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!Object(x["t"])(t))return t+"";for(var i=[],r=0;r<n.length;r++){var a=e.getDimensionIndex(n[r]);a>=0&&i.push(t[a])}return i.join(" ")}var cD=function(e){function t(t,n,i,r){var a=e.call(this)||this;return a.updateData(t,n,i,r),a}return v(t,e),t.prototype._createSymbol=function(e,t,n,i,r){this.removeAll();var a=Tv(e,-1,-1,2,2,null,r);a.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=hD,this._symbolType=e,this.add(a)},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(){Dl(this.childAt(0))},t.prototype.downplay=function(){Al(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,i,r){this.silent=!1;var a=e.getItemVisual(n,"symbol")||"circle",o=e.hostModel,s=t.getSymbolSize(e,n),l=a!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,e,n,s,c)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};u?h.attr(d):su(h,d,o,n),fu(h)}if(this._updateCommon(e,n,s,i,r),l){h=this.childAt(0);if(!u){d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,lu(h,d,o,n)}}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,i,r){var a,o,s,l,u,c,h,d,f,p=this.childAt(0),m=e.hostModel;if(i&&(a=i.emphasisItemStyle,o=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,h=i.labelStatesModels,d=i.hoverScale,f=i.cursorStyle,c=i.emphasisDisabled),!i||e.hasItemOption){var g=i&&i.itemModel?i.itemModel:e.getItemModel(t),y=g.getModel("emphasis");a=y.getModel("itemStyle").getItemStyle(),s=g.getModel(["select","itemStyle"]).getItemStyle(),o=g.getModel(["blur","itemStyle"]).getItemStyle(),l=y.get("focus"),u=y.get("blurScope"),c=y.get("disabled"),h=_u(g),d=y.getShallow("scale"),f=g.getShallow("cursor")}var v=e.getItemVisual(t,"symbolRotate");p.attr("rotation",(v||0)*Math.PI/180||0);var _=Dv(e.getItemVisual(t,"symbolOffset"),n);_&&(p.x=_[0],p.y=_[1]),f&&p.attr("cursor",f);var b=e.getItemVisual(t,"style"),w=b.fill;if(p instanceof gs){var M=p.style;p.useStyle(Object(x["m"])({image:M.image,x:M.x,y:M.y,width:M.width,height:M.height},b))}else p.__isEmptyBrush?p.useStyle(Object(x["m"])({},b)):p.useStyle(b),p.style.decal=null,p.setColor(w,r&&r.symbolInnerColor),p.style.strokeNoScale=!0;var S=e.getItemVisual(t,"liftZ"),T=this._z2;null!=S?null==T&&(this._z2=p.z2,p.z2+=S):null!=T&&(p.z2=T,this._z2=null);var L=r&&r.useNameLabel;function D(t){return L?e.getName(t):lD(e,t)}vu(p,h,{labelFetcher:m,labelDataIndex:t,defaultText:D,inheritColor:w,defaultOpacity:b.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var A=p.ensureState("emphasis");A.style=a,p.ensureState("select").style=s,p.ensureState("blur").style=o;var O=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;A.scaleX=this._sizeX*O,A.scaleY=this._sizeY*O,this.setSymbolScale(1),Ul(this,l,u,c)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var i=this.childAt(0),r=Gs(this).dataIndex,a=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var o=i.getTextContent();o&&cu(o,{style:{opacity:0}},t,{dataIndex:r,removeOpt:a,cb:function(){i.removeTextContent()}})}else i.removeTextContent();cu(i,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:r,cb:e,removeOpt:a})},t.getSymbolSize=function(e,t){return Lv(e.getItemVisual(t,"symbolSize"))},t}(Ni);function hD(e,t){this.parent.drift(e,t)}var dD=cD;function fD(e,t,n,i){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function pD(e){return null==e||Object(x["A"])(e)||(e={isIgnore:e}),e||{}}function mD(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:_u(t),cursorStyle:t.get("cursor")}}var gD=function(){function e(e){this.group=new Ni,this._SymbolCtor=e||dD}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=pD(t);var n=this.group,i=e.hostModel,r=this._data,a=this._SymbolCtor,o=t.disableAnimation,s=mD(e),l={disableAnimation:o},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};r||n.removeAll(),e.diff(r).add((function(i){var r=u(i);if(fD(e,r,i,t)){var o=new a(e,i,s,l);o.setPosition(r),e.setItemGraphicEl(i,o),n.add(o)}})).update((function(c,h){var d=r.getItemGraphicEl(h),f=u(c);if(fD(e,f,c,t)){var p=e.getItemVisual(c,"symbol")||"circle",m=d&&d.getSymbolType&&d.getSymbolType();if(!d||m&&m!==p)n.remove(d),d=new a(e,c,s,l),d.setPosition(f);else{d.updateData(e,c,s,l);var g={x:f[0],y:f[1]};o?d.attr(g):su(d,g,i)}n.add(d),e.setItemGraphicEl(c,d)}else n.remove(d)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),i)})).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var i=e._getSymbolPoint(n);t.setPosition(i),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=mD(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function i(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=pD(n);for(var r=e.start;r<e.end;r++){var a=t.getItemLayout(r);if(fD(t,a,r,n)){var o=new this._SymbolCtor(t,r,this._seriesScope);o.traverse(i),o.setPosition(a),this.group.add(o),t.setItemGraphicEl(r,o),this._progressiveEls.push(o)}}},e.prototype.eachRendered=function(e){iy(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}(),yD=gD;function vD(e,t,n){var i=e.getBaseAxis(),r=e.getOtherAxis(i),a=_D(r,n),o=i.dim,s=r.dim,l=t.mapDimension(s),u=t.mapDimension(o),c="x"===s||"radius"===s?1:0,h=Object(x["H"])(e.dimensions,(function(e){return t.mapDimension(e)})),d=!1,f=t.getCalculationInfo("stackResultDimension");return Wb(t,h[0])&&(d=!0,h[0]=f),Wb(t,h[1])&&(d=!0,h[1]=f),{dataDimsForPoint:h,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function _D(e,t){var n=0,i=e.scale.getExtent();return"start"===t?n=i[0]:"end"===t?n=i[1]:Object(x["z"])(t)&&!isNaN(t)?n=t:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function xD(e,t,n,i){var r=NaN;e.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=n.get(e.baseDim,i),o[1-a]=r,t.dataToPoint(o)}function bD(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 wD(e,t,n,i,r,a,o,s){for(var l=bD(e,t),u=[],c=[],h=[],d=[],f=[],p=[],m=[],g=vD(r,t,o),y=e.getLayout("points")||[],v=t.getLayout("points")||[],_=0;_<l.length;_++){var x=l[_],b=!0,w=void 0,M=void 0;switch(x.cmd){case"=":w=2*x.idx,M=2*x.idx1;var S=y[w],T=y[w+1],L=v[M],D=v[M+1];(isNaN(S)||isNaN(T))&&(S=L,T=D),u.push(S,T),c.push(L,D),h.push(n[w],n[w+1]),d.push(i[M],i[M+1]),m.push(t.getRawIndex(x.idx1));break;case"+":var A=x.idx,O=g.dataDimsForPoint,k=r.dataToPoint([t.get(O[0],A),t.get(O[1],A)]);M=2*A,u.push(k[0],k[1]),c.push(v[M],v[M+1]);var I=xD(g,r,t,A);h.push(I[0],I[1]),d.push(i[M],i[M+1]),m.push(t.getRawIndex(A));break;case"-":b=!1}b&&(f.push(x),p.push(p.length))}p.sort((function(e,t){return m[e]-m[t]}));var C=u.length,E=bw(C),P=bw(C),N=bw(C),R=bw(C),Y=[];for(_=0;_<p.length;_++){var z=p[_],H=2*_,j=2*z;E[H]=u[j],E[H+1]=u[j+1],P[H]=c[j],P[H+1]=c[j+1],N[H]=h[j],N[H+1]=h[j+1],R[H]=d[j],R[H+1]=d[j+1],Y[_]=f[z]}return{current:E,next:P,stackedOnCurrent:N,stackedOnNext:R,status:Y}}var MD=Math.min,SD=Math.max;function TD(e,t){return isNaN(e)||isNaN(t)}function LD(e,t,n,i,r,a,o,s,l){for(var u,c,h,d,f,p,m=n,g=0;g<i;g++){var y=t[2*m],v=t[2*m+1];if(m>=r||m<0)break;if(TD(y,v)){if(l){m+=a;continue}break}if(m===n)e[a>0?"moveTo":"lineTo"](y,v),h=y,d=v;else{var _=y-u,x=v-c;if(_*_+x*x<.5){m+=a;continue}if(o>0){var b=m+a,w=t[2*b],M=t[2*b+1];while(w===y&&M===v&&g<i)g++,b+=a,m+=a,w=t[2*b],M=t[2*b+1],y=t[2*m],v=t[2*m+1],_=y-u,x=v-c;var S=g+1;if(l)while(TD(w,M)&&S<i)S++,b+=a,w=t[2*b],M=t[2*b+1];var T=.5,L=0,D=0,A=void 0,O=void 0;if(S>=i||TD(w,M))f=y,p=v;else{L=w-u,D=M-c;var k=y-u,I=w-y,C=v-c,E=M-v,P=void 0,N=void 0;if("x"===s){P=Math.abs(k),N=Math.abs(I);var R=L>0?1:-1;f=y-R*P*o,p=v,A=y+R*N*o,O=v}else if("y"===s){P=Math.abs(C),N=Math.abs(E);var Y=D>0?1:-1;f=y,p=v-Y*P*o,A=y,O=v+Y*N*o}else P=Math.sqrt(k*k+C*C),N=Math.sqrt(I*I+E*E),T=N/(N+P),f=y-L*o*(1-T),p=v-D*o*(1-T),A=y+L*o*T,O=v+D*o*T,A=MD(A,SD(w,y)),O=MD(O,SD(M,v)),A=SD(A,MD(w,y)),O=SD(O,MD(M,v)),L=A-y,D=O-v,f=y-L*P/N,p=v-D*P/N,f=MD(f,SD(u,y)),p=MD(p,SD(c,v)),f=SD(f,MD(u,y)),p=SD(p,MD(c,v)),L=y-f,D=v-p,A=y+L*N/P,O=v+D*N/P}e.bezierCurveTo(h,d,f,p,y,v),h=A,d=O}else e.lineTo(y,v)}u=y,c=v,m+=a}return g}var DD=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),AD=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return v(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new DD},t.prototype.buildPath=function(e,t){var n=t.points,i=0,r=n.length/2;if(t.connectNulls){for(;r>0;r--)if(!TD(n[2*r-2],n[2*r-1]))break;for(;i<r;i++)if(!TD(n[2*i],n[2*i+1]))break}while(i<r)i+=LD(e,n,i,r,r,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,i,r=this.path,a=r.data,o=Ro.CMD,s="x"===t,l=[],u=0;u<a.length;){var c=a[u++],h=void 0,d=void 0,f=void 0,p=void 0,m=void 0,g=void 0,y=void 0;switch(c){case o.M:n=a[u++],i=a[u++];break;case o.L:if(h=a[u++],d=a[u++],y=s?(e-n)/(h-n):(e-i)/(d-i),y<=1&&y>=0){var v=s?(d-i)*y+i:(h-n)*y+n;return s?[e,v]:[v,e]}n=h,i=d;break;case o.C:h=a[u++],d=a[u++],f=a[u++],p=a[u++],m=a[u++],g=a[u++];var _=s?Pt(n,h,f,m,e,l):Pt(i,d,p,g,e,l);if(_>0)for(var x=0;x<_;x++){var b=l[x];if(b<=1&&b>=0){v=s?Ct(i,d,p,g,b):Ct(n,h,f,m,b);return s?[e,v]:[v,e]}}n=m,i=g;break}}},t}(ls),OD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t}(DD),kD=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return v(t,e),t.prototype.getDefaultShape=function(){return new OD},t.prototype.buildPath=function(e,t){var n=t.points,i=t.stackedOnPoints,r=0,a=n.length/2,o=t.smoothMonotone;if(t.connectNulls){for(;a>0;a--)if(!TD(n[2*a-2],n[2*a-1]))break;for(;r<a;r++)if(!TD(n[2*r],n[2*r+1]))break}while(r<a){var s=LD(e,n,r,a,a,1,t.smooth,o,t.connectNulls);LD(e,i,r+s-1,s,a,-1,t.stackedOnSmooth,o,t.connectNulls),r+=s+1,e.closePath()}},t}(ls);function ID(e,t,n,i,r){var a=e.getArea(),o=a.x,s=a.y,l=a.width,u=a.height,c=n.get(["lineStyle","width"])||2;o-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),o!==Math.floor(o)&&(o=Math.floor(o),l++);var h=new Ts({shape:{x:o,y:s,width:l,height:u}});if(t){var d=e.getBaseAxis(),f=d.isHorizontal(),p=d.inverse;f?(p&&(h.shape.x+=l),h.shape.width=0):(p||(h.shape.y+=u),h.shape.height=0);var m=Object(x["w"])(r)?function(e){r(e,h)}:null;lu(h,{shape:{width:l,height:u,x:o,y:s}},n,null,i,m)}return h}function CD(e,t,n){var i=e.getArea(),r=tr(i.r0,1),a=tr(i.r,1),o=new Hm({shape:{cx:tr(e.cx,1),cy:tr(e.cy,1),r0:r,r:a,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});if(t){var s="angle"===e.getBaseAxis().dim;s?o.shape.endAngle=i.startAngle:o.shape.r=r,lu(o,{shape:{endAngle:i.endAngle,r:a}},n)}return o}function ED(e,t,n,i,r){return e?"polar"===e.type?CD(e,t,n):"cartesian2d"===e.type?ID(e,t,n,i,r):null:null}function PD(e,t){return e.type===t}function ND(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function RD(e){for(var t=1/0,n=1/0,i=-1/0,r=-1/0,a=0;a<e.length;){var o=e[a++],s=e[a++];isNaN(o)||(t=Math.min(o,t),i=Math.max(o,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[t,n],[i,r]]}function YD(e,t){var n=RD(e),i=n[0],r=n[1],a=RD(t),o=a[0],s=a[1];return Math.max(Math.abs(i[0]-o[0]),Math.abs(i[1]-o[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function zD(e){return x["z"](e)?e:e?.5:0}function HD(e,t,n){if(!n.valueDim)return[];for(var i=t.count(),r=bw(2*i),a=0;a<i;a++){var o=xD(n,e,t,a);r[2*a]=o[0],r[2*a+1]=o[1]}return r}function jD(e,t,n,i){var r=t.getBaseAxis(),a="x"===r.dim||"radius"===r.dim?0:1,o=[],s=0,l=[],u=[],c=[],h=[];if(i){for(s=0;s<e.length;s+=2)isNaN(e[s])||isNaN(e[s+1])||h.push(e[s],e[s+1]);e=h}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],o.push(u[0],u[1]),n){case"end":l[a]=c[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var d=(u[a]+c[a])/2,f=[];l[a]=f[a]=d,l[1-a]=u[1-a],f[1-a]=c[1-a],o.push(l[0],l[1]),o.push(f[0],f[1]);break;default:l[a]=u[a],l[1-a]=c[1-a],o.push(l[0],l[1])}return o.push(e[s++],e[s++]),o}function FD(e,t){var n,i,r=[],a=e.length;function o(e,t,n){var i=e.coord,r=(n-i)/(t.coord-i),a=Object($t["lerp"])(r,[e.color,t.color]);return{coord:n,color:a}}for(var s=0;s<a;s++){var l=e[s],u=l.coord;if(u<0)n=l;else{if(u>t){i?r.push(o(i,l,t)):n&&r.push(o(n,l,0),o(n,l,t));break}n&&(r.push(o(n,l,0)),n=null),r.push(l),i=l}}return r}function BD(e,t,n){var i=e.getVisual("visualMeta");if(i&&i.length&&e.count()&&"cartesian2d"===t.type){for(var r,a,o=i.length-1;o>=0;o--){var s=e.getDimensionInfo(i[o].dimension);if(r=s&&s.coordDim,"x"===r||"y"===r){a=i[o];break}}if(a){var l=t.getAxis(r),u=x["H"](a.stops,(function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}})),c=u.length,h=a.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),h.reverse());var d=FD(u,"x"===r?n.getWidth():n.getHeight()),f=d.length;if(!f&&c)return u[0].coord<0?h[1]?h[1]:u[c-1].color:h[0]?h[0]:u[0].color;var p=10,m=d[0].coord-p,g=d[f-1].coord+p,y=g-m;if(y<.001)return"transparent";x["k"](d,(function(e){e.offset=(e.coord-m)/y})),d.push({offset:f?d[f-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:h[0]||"transparent"});var v=new pg(0,0,0,0,d,!0);return v[r]=m,v[r+"2"]=g,v}}}function VD(e,t,n){var i=e.get("showAllSymbol"),r="auto"===i;if(!i||r){var a=n.getAxesByScale("ordinal")[0];if(a&&(!r||!GD(a,t))){var o=t.mapDimension(a.dim),s={};return x["k"](a.getViewLabels(),(function(e){var t=a.scale.getRawOrdinalNumber(e.tickValue);s[t]=1})),function(e){return!s.hasOwnProperty(t.get(o,e))}}}}function GD(e,t){var n=e.getExtent(),i=Math.abs(n[1]-n[0])/e.scale.count();isNaN(i)&&(i=0);for(var r=t.count(),a=Math.max(1,Math.round(r/5)),o=0;o<r;o+=a)if(1.5*dD.getSymbolSize(t,o)[e.isHorizontal()?1:0]>i)return!1;return!0}function WD(e,t){return isNaN(e)||isNaN(t)}function UD(e){for(var t=e.length/2;t>0;t--)if(!WD(e[2*t-2],e[2*t-1]))break;return t-1}function XD(e,t){return[e[2*t],e[2*t+1]]}function ZD(e,t,n){for(var i,r,a=e.length/2,o="x"===n?0:1,s=0,l=-1,u=0;u<a;u++)if(r=e[2*u+o],!isNaN(r)&&!isNaN(e[2*u+1-o]))if(0!==u){if(i<=t&&r>=t||i>=t&&r<=t){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(t-i)/(r-i)}}function qD(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<Qs.length;t++)if(e.get([Qs[t],"endLabel","show"]))return!0;return!1}function $D(e,t,n,i){if(PD(t,"cartesian2d")){var r=i.getModel("endLabel"),a=r.get("valueAnimation"),o=i.getData(),s={lastFrameIndex:0},l=qD(i)?function(n,i){e._endLabelOnDuring(n,i,o,s,a,r,t)}:null,u=t.getBaseAxis().isHorizontal(),c=ID(t,n,i,(function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),l);if(!i.get("clip",!0)){var h=c.shape,d=Math.max(h.width,h.height);u?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,c),c}return CD(t,n,i)}function JD(e,t){var n=t.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,a=i?r?"right":"left":"center",o=i?"middle":r?"top":"bottom";return{normal:{align:e.get("align")||a,verticalAlign:e.get("verticalAlign")||o}}}var KD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.init=function(){var e=new Ni,t=new yD;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},t.prototype.render=function(e,t,n){var i=this,r=e.coordinateSystem,a=this.group,o=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=o.getLayout("points")||[],c="polar"===r.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,m=this._lineGroup,g=!t.ssr&&e.get("animation"),y=!l.isEmpty(),v=l.get("origin"),_=vD(r,o,v),b=y&&HD(r,o,_),w=e.get("showSymbol"),M=e.get("connectNulls"),S=w&&!c&&VD(e,o,r),T=this._data;T&&T.eachItemGraphicEl((function(e,t){e.__temp&&(a.remove(e),T.setItemGraphicEl(t,null))})),w||d.remove(),a.add(m);var L,D=!c&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(L=r.getArea(),null!=L.width?(L.x-=.1,L.y-=.1,L.width+=.2,L.height+=.2):L.r0&&(L.r0-=.5,L.r+=.5)),this._clipShapeForSymbol=L;var A=BD(o,r,n)||o.getVisual("style")[o.getVisual("drawType")];if(f&&h.type===r.type&&D===this._step){y&&!p?p=this._newPolygon(u,b):p&&!y&&(m.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(e,r,Jc(A));var O=m.getClipPath();if(O){var k=$D(this,r,!1,e);lu(O,{shape:k.shape},e)}else m.setClipPath($D(this,r,!0,e));w&&d.updateData(o,{isIgnore:S,clipShape:L,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),ND(this._stackedOnPoints,b)&&ND(this._points,u)||(g?this._doUpdateAnimation(o,b,r,n,D,v,M):(D&&(u=jD(u,r,D,M),b&&(b=jD(b,r,D,M))),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:b})))}else w&&d.updateData(o,{isIgnore:S,clipShape:L,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),g&&this._initSymbolLabelAnimation(o,r,L),D&&(u=jD(u,r,D,M),b&&(b=jD(b,r,D,M))),f=this._newPolyline(u),y?p=this._newPolygon(u,b):p&&(m.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(e,r,Jc(A)),m.setClipPath($D(this,r,!0,e));var I=e.getModel("emphasis"),C=I.get("focus"),E=I.get("blurScope"),P=I.get("disabled");if(f.useStyle(x["i"](s.getLineStyle(),{fill:"none",stroke:A,lineJoin:"bevel"})),$l(f,e,"lineStyle"),f.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])){var N=f.getState("emphasis").style;N.lineWidth=+f.style.lineWidth+1}Gs(f).seriesIndex=e.seriesIndex,Ul(f,C,E,P);var R=zD(e.get("smooth")),Y=e.get("smoothMonotone");if(f.setShape({smooth:R,smoothMonotone:Y,connectNulls:M}),p){var z=o.getCalculationInfo("stackedOnSeries"),H=0;p.useStyle(x["i"](l.getAreaStyle(),{fill:A,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),z&&(H=zD(z.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:H,smoothMonotone:Y,connectNulls:M}),$l(p,e,"areaStyle"),Gs(p).seriesIndex=e.seriesIndex,Ul(p,C,E,P)}var j=function(e){i._changePolyState(e)};o.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=j)})),this._polyline.onHoverStateChange=j,this._data=o,this._coordSys=r,this._stackedOnPoints=b,this._points=u,this._step=D,this._valueOrigin=v,e.get("triggerLineEvent")&&(this.packEventData(e,f),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,t){Gs(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,i){var r=e.getData(),a=Zr(r,i);if(this._changePolyState("emphasis"),!(a instanceof Array)&&null!=a&&a>=0){var o=r.getLayout("points"),s=r.getItemGraphicEl(a);if(!s){var l=o[2*a],u=o[2*a+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,h=e.get("z")||0;s=new dD(r,a),s.x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else dy.prototype.highlight.call(this,e,t,n,i)},t.prototype.downplay=function(e,t,n,i){var r=e.getData(),a=Zr(r,i);if(this._changePolyState("normal"),null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else dy.prototype.downplay.call(this,e,t,n,i)},t.prototype._changePolyState=function(e){var t=this._polygon;vl(this._polyline,e),t&&vl(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new AD({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 kD({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var i,r,a=t.getBaseAxis(),o=a.inverse;"cartesian2d"===t.type?(i=a.isHorizontal(),r=!1):"polar"===t.type&&(i="angle"===a.dim,r=!0);var s=e.hostModel,l=s.get("animationDuration");x["w"](l)&&(l=l(null));var u=s.get("animationDelay")||0,c=x["w"](u)?u(null):u;e.eachItemGraphicEl((function(e,a){var s=e;if(s){var h=[e.x,e.y],d=void 0,f=void 0,p=void 0;if(n)if(r){var m=n,g=t.pointToCoord(h);i?(d=m.startAngle,f=m.endAngle,p=-g[1]/180*Math.PI):(d=m.r0,f=m.r,p=g[0])}else{var y=n;i?(d=y.x,f=y.x+y.width,p=e.x):(d=y.y+y.height,f=y.y,p=e.y)}var v=f===d?0:(p-d)/(f-d);o&&(v=1-v);var _=x["w"](u)?u(a):l*v+c,b=s.getSymbolPath(),w=b.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:_}),b.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,n){var i=e.getModel("endLabel");if(qD(e)){var r=e.getData(),a=this._polyline,o=r.getLayout("points");if(!o)return a.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new Vs({z2:200}),s.ignoreClip=!0,a.setTextContent(this._endLabel),a.disableLabelAnimation=!0);var l=UD(o);l>=0&&(vu(a,_u(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?uD(r,n):lD(r,e)},enableTextSetter:!0},JD(i,t)),a.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,i,r,a,o){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),d=a.get("precision"),f=a.get("distance")||0,p=o.getBaseAxis(),m=p.isHorizontal(),g=p.inverse,y=t.shape,v=g?m?y.x:y.y+y.height:m?y.x+y.width:y.y,_=(m?f:0)*(g?-1:1),x=(m?0:-f)*(g?-1:1),b=m?"x":"y",w=ZD(u,v,b),M=w.range,S=M[1]-M[0],T=void 0;if(S>=1){if(S>1&&!h){var L=XD(u,M[0]);s.attr({x:L[0]+_,y:L[1]+x}),r&&(T=c.getRawValue(M[0]))}else{L=l.getPointOn(v,b);L&&s.attr({x:L[0]+_,y:L[1]+x});var D=c.getRawValue(M[0]),A=c.getRawValue(M[1]);r&&(T=oa(n,d,D,A,w.t))}i.lastFrameIndex=M[0]}else{var O=1===e||i.lastFrameIndex>0?M[0]:0;L=XD(u,O);r&&(T=c.getRawValue(O)),s.attr({x:L[0]+_,y:L[1]+x})}if(r){var k=Ou(s);"function"===typeof k.setLabelText&&k.setLabelText(T)}}},t.prototype._doUpdateAnimation=function(e,t,n,i,r,a,o){var s=this._polyline,l=this._polygon,u=e.hostModel,c=wD(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,a),h=c.current,d=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(r&&(h=jD(c.current,n,r,o),d=jD(c.stackedOnCurrent,n,r,o),f=jD(c.next,n,r,o),p=jD(c.stackedOnNext,n,r,o)),YD(h,f)>3e3||l&&YD(d,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=h;var m={shape:{points:f}};c.current!==h&&(m.shape.__points=c.next),s.stopAnimation(),su(s,m,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),su(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],y=c.status,v=0;v<y.length;v++){var _=y[v].cmd;if("="===_){var x=e.getItemGraphicEl(y[v].idx1);x&&g.push({el:x,ptIdx:v})}}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,i=2*g[t].ptIdx;n.x=e[i],n.y=e[i+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,i){e.__temp&&(t.remove(e),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(dy),QD=KD;function eA(e,t){return{seriesType:e,plan:Up(),reset:function(e){var n=e.getData(),i=e.coordinateSystem,r=e.pipelineContext,a=t||r.large;if(i){var o=Object(x["H"])(i.dimensions,(function(e){return n.mapDimension(e)})).slice(0,2),s=o.length,l=n.getCalculationInfo("stackResultDimension");Wb(n,o[0])&&(o[0]=l),Wb(n,o[1])&&(o[1]=l);var u=n.getStore(),c=n.getDimensionIndex(o[0]),h=n.getDimensionIndex(o[1]);return s&&{progress:function(e,t){for(var n=e.end-e.start,r=a&&bw(n*s),o=[],l=[],d=e.start,f=0;d<e.end;d++){var p=void 0;if(1===s){var m=u.get(c,d);p=i.dataToPoint(m,null,l)}else o[0]=u.get(c,d),o[1]=u.get(h,d),p=i.dataToPoint(o,null,l);a?(r[f++]=p[0],r[f++]=p[1]):t.setItemLayout(d,p.slice())}a&&t.setLayout("points",r)}}}}}}var tA={average:function(e){for(var t=0,n=0,i=0;i<e.length;i++)isNaN(e[i])||(t+=e[i],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},minmax:function(e){for(var t=-1/0,n=-1/0,i=0;i<e.length;i++){var r=e[i],a=Math.abs(r);a>t&&(t=a,n=r)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},nA=function(e){return Math.round(e.length/2)};function iA(e){return{seriesType:e,reset:function(e,t,n){var i=e.getData(),r=e.get("sampling"),a=e.coordinateSystem,o=i.count();if(o>10&&"cartesian2d"===a.type&&r){var s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),h=Math.abs(u[1]-u[0])*(c||1),d=Math.round(o/h);if(isFinite(d)&&d>1){"lttb"===r&&e.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d));var f=void 0;Object(x["C"])(r)?f=tA[r]:Object(x["w"])(r)&&(f=r),f&&e.setData(i.downSample(i.mapDimension(l.dim),1/d,f,nA))}}}}}function rA(e){e.registerChartView(QD),e.registerSeriesModel(sD),e.registerLayout(eA("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,iA("line"))}var aA=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.getInitialData=function(e,t){return Kb(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(e),a=i.dataToPoint(r);if(n)Object(x["k"])(i.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var i=e.getTicksCoords(),o=e.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===t[n]||"y1"===t[n];if(l&&!o&&(s+=1),i.length<2)return;if(2===i.length)return void(a[n]=e.toGlobalCoord(e.getExtent()[l?1:0]));for(var u=void 0,c=void 0,h=1,d=0;d<i.length;d++){var f=i[d].coord,p=d===i.length-1?i[d-1].tickValue+h:i[d].tickValue;if(p===s){c=f;break}if(p<s)u=f;else if(null!=u&&p>s){c=(f+u)/2;break}1===d&&(h=p-i[0].tickValue)}null==c&&(u?u&&(c=i[i.length-1].coord):c=i[0].coord),a[n]=e.toGlobalCoord(c)}}));else{var o=this.getData(),s=o.getLayout("offset"),l=o.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;a[u]+=s+l/2}return a}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}(Vp);Vp.registerClass(aA);var oA=aA,sA=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.getInitialData=function(){return Kb(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=qu(oA.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}(oA),lA=sA,uA=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}(),cA=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return v(t,e),t.prototype.getDefaultShape=function(){return new uA},t.prototype.buildPath=function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r0||0,0),a=Math.max(t.r,0),o=.5*(a-r),s=r+o,l=t.startAngle,u=t.endAngle,c=t.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var f=Math.cos(l),p=Math.sin(l),m=Math.cos(u),g=Math.sin(u);d?(e.moveTo(f*r+n,p*r+i),e.arc(f*s+n,p*s+i,o,-Math.PI+l,l,!c)):e.moveTo(f*a+n,p*a+i),e.arc(n,i,a,l,u,!c),e.arc(m*s+n,g*s+i,o,u-2*Math.PI,u-Math.PI,!c),0!==r&&e.arc(n,i,r,u,l,c)},t}(ls),hA=cA;function dA(e,t){t=t||{};var n=t.isRoundCap;return function(t,i,r){var a=i.position;if(!a||a instanceof Array)return _i(t,i,r);var o=e(a),s=null!=i.distance?i.distance:5,l=this.shape,u=l.cx,c=l.cy,h=l.r,d=l.r0,f=(h+d)/2,p=l.startAngle,m=l.endAngle,g=(p+m)/2,y=n?Math.abs(h-d)/2:0,v=Math.cos,_=Math.sin,x=u+h*v(p),b=c+h*_(p),w="left",M="top";switch(o){case"startArc":x=u+(d-s)*v(g),b=c+(d-s)*_(g),w="center",M="top";break;case"insideStartArc":x=u+(d+s)*v(g),b=c+(d+s)*_(g),w="center",M="bottom";break;case"startAngle":x=u+f*v(p)+pA(p,s+y,!1),b=c+f*_(p)+mA(p,s+y,!1),w="right",M="middle";break;case"insideStartAngle":x=u+f*v(p)+pA(p,-s+y,!1),b=c+f*_(p)+mA(p,-s+y,!1),w="left",M="middle";break;case"middle":x=u+f*v(g),b=c+f*_(g),w="center",M="middle";break;case"endArc":x=u+(h+s)*v(g),b=c+(h+s)*_(g),w="center",M="bottom";break;case"insideEndArc":x=u+(h-s)*v(g),b=c+(h-s)*_(g),w="center",M="top";break;case"endAngle":x=u+f*v(m)+pA(m,s+y,!0),b=c+f*_(m)+mA(m,s+y,!0),w="left",M="middle";break;case"insideEndAngle":x=u+f*v(m)+pA(m,-s+y,!0),b=c+f*_(m)+mA(m,-s+y,!0),w="right",M="middle";break;default:return _i(t,i,r)}return t=t||{},t.x=x,t.y=b,t.align=w,t.verticalAlign=M,t}}function fA(e,t,n,i){if(Object(x["z"])(i))e.setTextConfig({rotation:i});else if(Object(x["t"])(t))e.setTextConfig({rotation:0});else{var r,a=e.shape,o=a.clockwise?a.startAngle:a.endAngle,s=a.clockwise?a.endAngle:a.startAngle,l=(o+s)/2,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void e.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),e.setTextConfig({rotation:c})}}function pA(e,t,n){return t*Math.sin(e)*(n?-1:1)}function mA(e,t,n){return t*Math.cos(e)*(n?1:-1)}function gA(e,t,n){var i=e.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;Object(x["t"])(i)||(i=[i,i,i,i]);var r=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Object(x["H"])(i,(function(e){return vi(e,r)}))}}var yA=Math.max,vA=Math.min;function _A(e,t){var n=e.getArea&&e.getArea();if(PD(e,"cartesian2d")){var i=e.getBaseAxis();if("category"!==i.type||!i.onBand){var r=t.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}var xA=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return v(t,e),t.prototype.render=function(e,t,n,i){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var r=e.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,i))},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){iy(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,i){var r,a=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,h=MA(e,l);h&&this._enableRealtimeSort(h,o,n);var d=e.get("clip",!0)||h,f=_A(l,o);a.removeClipPath();var p=e.get("roundCap",!0),m=e.get("showBackground",!0),g=e.getModel("backgroundStyle"),y=g.get("borderRadius")||0,v=[],_=this._backgroundEls,x=i&&i.isInitSort,b=i&&"changeAxisOrder"===i.type;function w(e){var t=OA[l.type](o,e),n=jA(l,r,t);return n.useStyle(g.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",y):n.setShape("cornerRadius",y),v[e]=n,n}o.diff(s).add((function(t){var n=o.getItemModel(t),i=OA[l.type](o,t,n);if(m&&w(t),o.hasValue(t)&&AA[l.type](i)){var s=!1;d&&(s=bA[l.type](f,i));var g=wA[l.type](e,o,t,i,r,c,u.model,!1,p);h&&(g.forceLabelAnimation=!0),CA(g,o,t,n,i,e,r,"polar"===l.type),x?g.attr({shape:i}):h?SA(h,c,g,i,t,r,!1,!1):lu(g,{shape:i},e,t),o.setItemGraphicEl(t,g),a.add(g),g.ignore=s}})).update((function(t,n){var i=o.getItemModel(t),M=OA[l.type](o,t,i);if(m){var S=void 0;0===_.length?S=w(n):(S=_[n],S.useStyle(g.getItemStyle()),"cartesian2d"===l.type?S.setShape("r",y):S.setShape("cornerRadius",y),v[t]=S);var T=OA[l.type](o,t),L=HA(r,T,l);su(S,{shape:L},c,t)}var D=s.getItemGraphicEl(n);if(o.hasValue(t)&&AA[l.type](M)){var A=!1;if(d&&(A=bA[l.type](f,M),A&&a.remove(D)),D?fu(D):D=wA[l.type](e,o,t,M,r,c,u.model,!!D,p),h&&(D.forceLabelAnimation=!0),b){var O=D.getTextContent();if(O){var k=Ou(O);null!=k.prevValue&&(k.prevValue=k.value)}}else CA(D,o,t,i,M,e,r,"polar"===l.type);x?D.attr({shape:M}):h?SA(h,c,D,M,t,r,!0,b):su(D,{shape:M},e,t,null),o.setItemGraphicEl(t,D),D.ignore=A,a.add(D)}else a.remove(D)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&du(n,e,t)})).execute();var M=this._backgroundGroup||(this._backgroundGroup=new Ni);M.removeAll();for(var S=0;S<v.length;++S)M.add(v[S]);a.add(M),this._backgroundEls=v,this._data=o},t.prototype._renderLarge=function(e,t,n){this._clear(),RA(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),RA(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&ED(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var i=this;if(t.count()){var r=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var a=function(e){var n=t.getItemGraphicEl(e),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(t,a,r,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var i=[];return e.each(e.mapDimension(t.dim),(function(e,t){var r=n(t);r=null==r?NaN:r,i.push({dataIndex:t,mappedValue:r,ordinalNumber:e})})),i.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:Object(x["H"])(i,(function(e){return e.ordinalNumber}))}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var i=n.scale,r=e.mapDimension(n.dim),a=Number.MAX_VALUE,o=0,s=i.getOrdinalMeta().categories.length;o<s;++o){var l=e.rawIndexOf(r,i.getRawOrdinalNumber(o)),u=l<0?Number.MIN_VALUE:t(e.indexOfRawIndex(l));if(u>a)return!0;a=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,i=n.getExtent(),r=Math.max(0,i[0]),a=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=a;++r)if(e.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,i){if(this._isOrderChangedWithinSameData(e,t,n)){var r=this._dataSort(e,n,t);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},t.prototype._dispatchInitSort=function(e,t,n){var i=t.baseAxis,r=this._dataSort(e,i,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},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){du(t,e,Gs(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}(dy),bA={cartesian2d:function(e,t){var n=t.width<0?-1:1,i=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height);var r=e.x+e.width,a=e.y+e.height,o=yA(t.x,e.x),s=vA(t.x+t.width,r),l=yA(t.y,e.y),u=vA(t.y+t.height,a),c=s<o,h=u<l;return t.x=c&&o>r?s:o,t.y=h&&l>a?u:l,t.width=c?0:s-o,t.height=h?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height),c||h},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var i=t.r;t.r=t.r0,t.r0=i}var r=vA(t.r,e.r),a=yA(t.r0,e.r0);t.r=r,t.r0=a;var o=r-a<0;if(n<0){i=t.r;t.r=t.r0,t.r0=i}return o}},wA={cartesian2d:function(e,t,n,i,r,a,o,s,l){var u=new Ts({shape:Object(x["m"])({},i),z2:1});if(u.__dataIndex=n,u.name="item",a){var c=u.shape,h=r?"height":"width";c[h]=0}return u},polar:function(e,t,n,i,r,a,o,s,l){var u=!r&&l?hA:Hm,c=new u({shape:i,z2:1});c.name="item";var h=IA(r);if(c.calculateTextPosition=dA(h,{isRoundCap:u===hA}),a){var d=c.shape,f=r?"r":"endAngle",p={};d[f]=r?i.r0:i.startAngle,p[f]=i[f],(s?su:lu)(c,{shape:p},a)}return c}};function MA(e,t){var n=e.get("realtimeSort",!0),i=t.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===t.type)return{baseAxis:i,otherAxis:t.getOtherAxis(i)}}function SA(e,t,n,i,r,a,o,s){var l,u;a?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(o?su:lu)(n,{shape:l},t,r,null);var c=t?e.baseAxis.model:null;(o?su:lu)(n,{shape:u},c,r)}function TA(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var LA=["x","y","width","height"],DA=["cx","cy","r","startAngle","endAngle"],AA={cartesian2d:function(e){return!TA(e,LA)},polar:function(e){return!TA(e,DA)}},OA={cartesian2d:function(e,t,n){var i=e.getItemLayout(t),r=n?EA(n,i):0,a=i.width>0?1:-1,o=i.height>0?1:-1;return{x:i.x+a*r/2,y:i.y+o*r/2,width:i.width-a*r,height:i.height-o*r}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function kA(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function IA(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 CA(e,t,n,i,r,a,o,s){var l=t.getItemVisual(n,"style");if(s){if(!a.get("roundCap")){var u=e.shape,c=gA(i.getModel("itemStyle"),u,!0);Object(x["m"])(u,c),e.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;e.setShape("r",h)}e.useStyle(l);var d=i.getShallow("cursor");d&&e.attr("cursor",d);var f=s?o?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":o?r.height>=0?"bottom":"top":r.width>=0?"right":"left",p=_u(i);vu(e,p,{labelFetcher:a,labelDataIndex:n,defaultText:lD(a.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:f});var m=e.getTextContent();if(s&&m){var g=i.get(["label","position"]);e.textConfig.inside="middle"===g||null,fA(e,"outside"===g?f:g,IA(o),i.get(["label","rotate"]))}ku(m,p,a.getRawValue(n),(function(e){return uD(t,e)}));var y=i.getModel(["emphasis"]);Ul(e,y.get("focus"),y.get("blurScope"),y.get("disabled")),$l(e,i),kA(r)&&(e.style.fill="none",e.style.stroke="none",Object(x["k"])(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}function EA(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=e.get(["itemStyle","borderWidth"])||0,r=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(i,r,a)}var PA=function(){function e(){}return e}(),NA=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return v(t,e),t.prototype.getDefaultShape=function(){return new PA},t.prototype.buildPath=function(e,t){for(var n=t.points,i=this.baseDimIdx,r=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,l=0;l<n.length;l+=3)o[i]=s,o[r]=n[l+2],a[i]=n[l+i],a[r]=n[l+r],e.rect(a[0],a[1],o[0],o[1])},t}(ls);function RA(e,t,n,i){var r=e.getData(),a=r.getLayout("valueAxisHorizontal")?1:0,o=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=e.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new NA({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),n&&n.push(c)}var h=new NA({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=a,h.largeDataIndices=o,h.barWidth=s,t.add(h),h.useStyle(r.getVisual("style")),Gs(h).seriesIndex=e.seriesIndex,e.get("silent")||(h.on("mousedown",YA),h.on("mousemove",YA)),n&&n.push(h)}var YA=gy((function(e){var t=this,n=zA(t,e.offsetX,e.offsetY);Gs(t).dataIndex=n>=0?n:null}),30,!1);function zA(e,t,n){for(var i=e.baseDimIdx,r=1-i,a=e.shape.points,o=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,h=a.length/3;c<h;c++){var d=3*c;if(l[i]=u,l[r]=a[d+2],s[i]=a[d+i],s[r]=a[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return o[c]}return-1}function HA(e,t,n){if(PD(n,"cartesian2d")){var i=t,r=n.getArea();return{x:e?i.x:r.x,y:e?r.y:i.y,width:e?i.width:r.width,height:e?r.height:i.height}}r=n.getArea();var a=t;return{cx:r.cx,cy:r.cy,r0:e?r.r0:a.r0,r:e?r.r:a.r,startAngle:e?a.startAngle:0,endAngle:e?a.endAngle:2*Math.PI}}function jA(e,t,n){var i="polar"===e.type?Hm:Ts;return new i({shape:HA(t,n,e),silent:!0,z2:0})}var FA=xA;function BA(e){e.registerChartView(FA),e.registerSeriesModel(lA),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,x["h"](Iw,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Cw("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,iA("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 VA=2*Math.PI,GA=Math.PI/180;function WA(e,t){return ah(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function UA(e,t){var n=WA(e,t),i=e.get("center"),r=e.get("radius");x["t"](r)||(r=[0,r]);var a,o,s=er(n.width,t.getWidth()),l=er(n.height,t.getHeight()),u=Math.min(s,l),c=er(r[0],u/2),h=er(r[1],u/2),d=e.coordinateSystem;if(d){var f=d.dataToPoint(i);a=f[0]||0,o=f[1]||0}else x["t"](i)||(i=[i,i]),a=er(i[0],s)+n.x,o=er(i[1],l)+n.y;return{cx:a,cy:o,r0:c,r:h}}function XA(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),i=t.mapDimension("value"),r=WA(e,n),a=UA(e,n),o=a.cx,s=a.cy,l=a.r,u=a.r0,c=-e.get("startAngle")*GA,h=e.get("endAngle"),d=e.get("padAngle")*GA;h="auto"===h?c-VA:-h*GA;var f=e.get("minAngle")*GA,p=f+d,m=0;t.each(i,(function(e){!isNaN(e)&&m++}));var g=t.getSum(i),y=Math.PI/(g||m)*2,v=e.get("clockwise"),_=e.get("roseType"),x=e.get("stillShowZeroSum"),b=t.getDataExtent(i);b[0]=0;var w=v?1:-1,M=[c,h],S=w*d/2;Po(M,!v),c=M[0],h=M[1];var T=ZA(e);T.startAngle=c,T.endAngle=h,T.clockwise=v;var L=Math.abs(h-c),D=L,A=0,O=c;if(t.setLayout({viewRect:r,r:l}),t.each(i,(function(e,n){var i;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:o,cy:s,r0:u,r:_?NaN:l});else{i="area"!==_?0===g&&x?y:e*y:L/m,i<p?(i=p,D-=p):A+=e;var r=O+w*i,a=0,c=0;d>i?(a=O+w*i/2,c=a):(a=O+S,c=r-S),t.setItemLayout(n,{angle:i,startAngle:a,endAngle:c,clockwise:v,cx:o,cy:s,r0:u,r:_?Qi(e,b,[u,l]):l}),O=r}})),D<VA&&m)if(D<=.001){var k=L/m;t.each(i,(function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n);i.angle=k;var r=0,a=0;k<d?(r=c+w*(n+.5)*k,a=r):(r=c+w*n*k+S,a=c+w*(n+1)*k-S),i.startAngle=r,i.endAngle=a}}))}else y=D/A,O=c,t.each(i,(function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n),r=i.angle===p?p:e*y,a=0,o=0;r<d?(a=O+w*r/2,o=a):(a=O+S,o=O+w*r-S),i.startAngle=a,i.endAngle=o,O+=w*r}}))}))}var ZA=qr();function qA(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var i=e.getData();i.filterSelf((function(e){for(var t=i.getName(e),r=0;r<n.length;r++)if(!n[r].isSelected(t))return!1;return!0}))}}}}var $A=Math.PI/180;function JA(e,t,n,i,r,a,o,s,l,u){if(!(e.length<2)){for(var c=e.length,h=0;h<c;h++)if("outer"===e[h].position&&"labelLine"===e[h].labelAlignTo){var d=e[h].label.x-u;e[h].linePoints[1][0]+=d,e[h].label.x=u}WS(e,l,l+o)&&p(e)}function f(e){for(var a=e.rB,o=a*a,s=0;s<e.list.length;s++){var l=e.list[s],u=Math.abs(l.label.y-n),c=i+l.len,h=c*c,d=Math.sqrt((1-Math.abs(u*u/o))*h),f=t+(d+l.len2)*r,p=f-l.label.x,m=l.targetTextWidth-p*r;QA(l,m,!0),l.label.x=f}}function p(e){for(var a={list:[],maxY:0},o={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],u=l.label.y>n?o:a,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-t-l.len2*r,d=i+l.len,p=Math.abs(h)<d?Math.sqrt(c*c/(1-h*h/d/d)):d;u.rB=p,u.maxY=c}u.list.push(l)}f(a),f(o)}}function KA(e,t,n,i,r,a,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<e.length;d++){var f=e[d].label;eO(e[d])||(f.x<t?(c=Math.min(c,f.x),l.push(e[d])):(h=Math.max(h,f.x),u.push(e[d])))}for(d=0;d<e.length;d++){var p=e[d];if(!eO(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-o-p.edgeDistance:o+r-p.edgeDistance-m[2][0]-p.labelDistance:"labelLine"===p.labelAlignTo?f.x<t?c-o-p.bleedMargin:o+r-h-p.bleedMargin:f.x<t?f.x-o-p.bleedMargin:o+r-f.x-p.bleedMargin,p.targetTextWidth=g,QA(p,g)}}JA(u,t,n,i,1,r,a,o,s,h),JA(l,t,n,i,-1,r,a,o,s,c);for(d=0;d<e.length;d++){p=e[d];if(!eO(p)&&p.linePoints){f=p.label,m=p.linePoints;var y="edge"===p.labelAlignTo,v=f.style.padding,_=v?v[1]+v[3]:0,x=f.style.backgroundColor?0:_,b=p.rect.width+x,w=m[1][0]-m[2][0];y?f.x<t?m[2][0]=o+p.edgeDistance+b+p.labelDistance:m[2][0]=o+r-p.edgeDistance-b-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]+w),m[1][1]=m[2][1]=f.y}}}function QA(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var i=e.label,r=i.style,a=e.rect,o=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=a.width+(o?0:l);if(t<c||n){var h=a.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",t-l);var d=i.getBoundingRect();i.setStyle("width",Math.ceil(d.width)),i.setStyle("backgroundColor",o)}else{var f=t-l,p=t<c?f:n?f>e.unconstrainedWidth?null:f:null;i.setStyle("width",p)}var m=i.getBoundingRect();a.width=m.width;var g=(i.style.margin||0)+2.1;a.height=m.height+g,a.y-=(a.height-h)/2}}}function eO(e){return"center"===e.position}function tO(e){var t,n,i=e.getData(),r=[],a=!1,o=(e.get("minShowLabelAngle")||0)*$A,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,c=s.x,h=s.y,d=s.height;function f(e){e.ignore=!0}function p(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}i.each((function(e){var s=i.getItemGraphicEl(e),h=s.shape,d=s.getTextContent(),m=s.getTextGuideLine(),g=i.getItemModel(e),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),_=y.get("distanceToLabelLine"),b=y.get("alignTo"),w=er(y.get("edgeDistance"),u),M=y.get("bleedMargin"),S=g.getModel("labelLine"),T=S.get("length");T=er(T,u);var L=S.get("length2");if(L=er(L,u),Math.abs(h.endAngle-h.startAngle)<o)return Object(x["k"])(d.states,f),d.ignore=!0,void(m&&(Object(x["k"])(m.states,f),m.ignore=!0));if(p(d)){var D,A,O,k,I=(h.startAngle+h.endAngle)/2,C=Math.cos(I),E=Math.sin(I);t=h.cx,n=h.cy;var P="inside"===v||"inner"===v;if("center"===v)D=h.cx,A=h.cy,k="center";else{var N=(P?(h.r+h.r0)/2*C:h.r*C)+t,R=(P?(h.r+h.r0)/2*E:h.r*E)+n;if(D=N+3*C,A=R+3*E,!P){var Y=N+C*(T+l-h.r),z=R+E*(T+l-h.r),H=Y+(C<0?-1:1)*L,j=z;D="edge"===b?C<0?c+w:c+u-w:H+(C<0?-_:_),A=j,O=[[N,R],[Y,z],[H,j]]}k=P?"center":"edge"===b?C>0?"right":"left":C>0?"left":"right"}var F=Math.PI,B=0,V=y.get("rotate");if(Object(x["z"])(V))B=V*(F/180);else if("center"===v)B=0;else if("radial"===V||!0===V){var G=C<0?-I+F:-I;B=G}else if("tangential"===V&&"outside"!==v&&"outer"!==v){var W=Math.atan2(C,E);W<0&&(W=2*F+W);var U=E>0;U&&(W=F+W),B=W-F}if(a=!!B,d.x=D,d.y=A,d.rotation=B,d.setStyle({verticalAlign:"middle"}),P){d.setStyle({align:k});var X=d.states.select;X&&(X.x+=d.x,X.y+=d.y)}else{var Z=d.getBoundingRect().clone();Z.applyTransform(d.getComputedTransform());var q=(d.style.margin||0)+2.1;Z.y-=q/2,Z.height+=q,r.push({label:d,labelLine:m,position:v,len:T,len2:L,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new ke(C,E),linePoints:O,textAlign:k,labelDistance:_,labelAlignTo:b,edgeDistance:w,bleedMargin:M,rect:Z,unconstrainedWidth:Z.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:P})}})),!a&&e.get("avoidLabelOverlap")&&KA(r,t,n,l,u,d,c,h);for(var m=0;m<r.length;m++){var g=r[m],y=g.label,v=g.labelLine,_=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:g.textAlign}),_&&(Object(x["k"])(y.states,f),y.ignore=!0);var b=y.states.select;b&&(b.x+=y.x,b.y+=y.y)}if(v){var w=g.linePoints;_||!w?(Object(x["k"])(v.states,f),v.ignore=!0):(RS(w,g.minTurnAngle),YS(w,g.surfaceNormal,g.maxSurfaceAngle),v.setShape({points:w}),y.__hostTarget.textGuideLineConfig={anchor:new ke(w[0][0],w[0][1])})}}}var nO=function(e){function t(t,n,i){var r=e.call(this)||this;r.z2=2;var a=new Vs;return r.setTextContent(a),r.updateData(t,n,i,!0),r}return v(t,e),t.prototype.updateData=function(e,t,n,i){var r=this,a=e.hostModel,o=e.getItemModel(t),s=o.getModel("emphasis"),l=e.getItemLayout(t),u=Object(x["m"])(gA(o.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var c=a.getShallow("animationType");a.ecModel.ssr?(lu(r,{scaleX:0,scaleY:0},a,{dataIndex:t,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===c?(r.shape.r=l.r0,lu(r,{shape:{r:l.r}},a,t)):null!=n?(r.setShape({startAngle:n,endAngle:n}),lu(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},a,t)):(r.shape.endAngle=l.startAngle,su(r,{shape:{endAngle:l.endAngle}},a,t))}else fu(r),su(r,{shape:u},a,t);r.useStyle(e.getItemVisual(t,"style")),$l(r,o);var h=(l.startAngle+l.endAngle)/2,d=a.get("selectedOffset"),f=Math.cos(h)*d,p=Math.sin(h)*d,m=o.getShallow("cursor");m&&r.attr("cursor",m),this._updateLabel(a,e,t),r.ensureState("emphasis").shape=Object(x["m"])({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},gA(s.getModel("itemStyle"),l)),Object(x["m"])(r.ensureState("select"),{x:f,y:p,shape:gA(o.getModel(["select","itemStyle"]),l)}),Object(x["m"])(r.ensureState("blur"),{shape:gA(o.getModel(["blur","itemStyle"]),l)});var g=r.getTextGuideLine(),y=r.getTextContent();g&&Object(x["m"])(g.ensureState("select"),{x:f,y:p}),Object(x["m"])(y.ensureState("select"),{x:f,y:p}),Ul(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var i=this,r=t.getItemModel(n),a=r.getModel("labelLine"),o=t.getItemVisual(n,"style"),s=o&&o.fill,l=o&&o.opacity;vu(i,_u(r),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=e.get(["label","position"]);if("outside"!==c&&"outer"!==c)i.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new $m,this.setTextGuideLine(h)),jS(this,FS(r),{stroke:s,opacity:Object(x["Q"])(a.get(["lineStyle","opacity"]),l,1)})}},t}(Hm),iO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return v(t,e),t.prototype.render=function(e,t,n,i){var r,a=e.getData(),o=this._data,s=this.group;if(!o&&a.count()>0){for(var l=a.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<a.count();++u)l=a.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===a.count()&&e.get("showEmptyCircle")){var c=ZA(e),h=new Hm({shape:Object(x["m"])(UA(e,n),c)});h.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,s.add(h)}a.diff(o).add((function(e){var t=new nO(a,e,r);a.setItemGraphicEl(e,t),s.add(t)})).update((function(e,t){var n=o.getItemGraphicEl(t);n.updateData(a,e,r),n.off("click"),s.add(n),a.setItemGraphicEl(e,n)})).remove((function(t){var n=o.getItemGraphicEl(t);du(n,e,t)})).execute(),tO(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=a)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData(),i=n.getItemLayout(0);if(i){var r=e[0]-i.cx,a=e[1]-i.cy,o=Math.sqrt(r*r+a*a);return o<=i.r&&o>=i.r0}},t.type="pie",t}(dy),rO=iO;function aO(e,t,n){t=Object(x["t"])(t)&&{coordDimensions:t}||Object(x["m"])({encodeDefine:e.getEncode()},t);var i=e.getSource(),r=Nb(i,t).dimensions,a=new Eb(r,e);return a.initData(i,n),a}var oO=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}(),sO=oO,lO=qr(),uO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new sO(x["c"](this.getData,this),x["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return aO(this,{coordDimensions:["value"],encodeDefaulter:x["h"](Ch,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),i=lO(n),r=i.seats;if(!r){var a=[];n.each(n.mapDimension("value"),(function(e){a.push(e)})),r=i.seats=sr(a,n.hostModel.get("percentPrecision"))}var o=e.prototype.getDataParams.call(this,t);return o.percent=r[t]||0,o.$vars.push("percent"),o},t.prototype._defaultLabelLine=function(e){Ar(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}(Vp),cO=uO;function hO(e){return{seriesType:e,reset:function(e,t){var n=e.getData();n.filterSelf((function(e){var t=n.mapDimension("value"),i=n.get(t,e);return!(Object(x["z"])(i)&&!isNaN(i)&&i<0)}))}}}function dO(e){e.registerChartView(rO),e.registerSeriesModel(cO),lv("pie",e.registerAction),e.registerLayout(Object(x["h"])(XA,"pie")),e.registerProcessor(qA("pie")),e.registerProcessor(hO("pie"))}var fO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return v(t,e),t.prototype.getInitialData=function(e,t){return Kb(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}(Vp),pO=fO,mO=4,gO=function(){function e(){}return e}(),yO=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return v(t,e),t.prototype.getDefaultShape=function(){return new gO},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,i=t.points,r=t.size,a=this.symbolProxy,o=a.shape,s=e.getContext?e.getContext():e,l=s&&r[0]<mO,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],h=i[n++];isNaN(c)||isNaN(h)||(u&&!u.contain(c,h)||(o.x=c-r[0]/2,o.y=h-r[1]/2,o.width=r[0],o.height=r[1],a.buildPath(e,o,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,n=t.points,i=t.size,r=this._ctx,a=this.softClipShape;if(r){for(e=this._off;e<n.length;){var o=n[e++],s=n[e++];isNaN(o)||isNaN(s)||(a&&!a.contain(o,s)||r.fillRect(o-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var n=this.shape,i=n.points,r=n.size,a=Math.max(r[0],4),o=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-a/2,c=i[l+1]-o/2;if(e>=u&&t>=c&&e<=u+a&&t<=c+o)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect();if(e=n[0],t=n[1],i.contain(e,t)){var r=this.hoverDataIdx=this.findDataIndex(e,t);return r>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,i=t.size,r=i[0],a=i[1],o=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var h=n[c++],d=n[c++];o=Math.min(h,o),l=Math.max(h,l),s=Math.min(d,s),u=Math.max(d,u)}e=this._rect=new je(o-r/2,s-a/2,l-o+r,u-s+a)}return e},t}(ls),vO=function(){function e(){this.group=new Ni}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),i=4*e.startIndex*2;t=new Float32Array(t.buffer,i,n)}e.setShape("points",t),e.reset()}))},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,n){var i=this._newAdded[0],r=t.getLayout("points"),a=i&&i.shape.points;if(a&&a.length<2e4){var o=a.length,s=new Float32Array(o+r.length);s.set(a),s.set(r,o),i.endIndex=e.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,t,n)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new yO({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,n){var i=t.hostModel;n=n||{};var r=t.getVisual("symbolSize");e.setShape("size",r instanceof Array?r:[r,r]),e.softClipShape=n.clipShape||null,e.symbolProxy=Tv(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var a=e.shape.size[0]<mO;e.useStyle(i.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var o=t.getVisual("style"),s=o&&o.fill;s&&e.setColor(s);var l=Gs(e);l.seriesIndex=i.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}(),_O=vO,xO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=e.getData(),r=this._updateSymbolDraw(i,e);r.updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var i=e.getData(),r=this._updateSymbolDraw(i,e);r.incrementalPrepareUpdate(i),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 i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=eA("").reset(e,t,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},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,i=t.pipelineContext,r=i.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new _O:new yD,this._isLargeDraw=r,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}(dy),bO=xO,wO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(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}(mh),MO=wO,SO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Qr).models[0]},t.type="cartesian2dAxis",t}(mh);x["K"](SO,MM);var TO={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,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},LO=x["I"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},TO),DO=x["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}}},TO),AO=x["I"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},DO),OO=x["i"]({logBase:10},DO),kO={category:LO,value:DO,time:AO,log:OO},IO={value:1,category:1,time:1,log:1};function CO(e,t,n,i){Object(x["k"])(IO,(function(r,a){var o=Object(x["I"])(Object(x["I"])({},kO[a],!0),i,!0),s=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+a,n}return v(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=lh(this),i=n?ch(e):{},r=t.getTheme();Object(x["I"])(e,r.get(a+"Axis")),Object(x["I"])(e,this.getDefaultOption()),e.type=EO(e),n&&uh(e,i,n)},n.prototype.optionUpdated=function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=rw.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."+a,n.defaultOption=o,n}(n);e.registerComponentModel(s)})),e.registerSubTypeDefaulter(t+"Axis",EO)}function EO(e){return e.type||(e.data?"category":"value")}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 x["H"](this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),x["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}(),NO=PO,RO=["x","y"];function YO(e){return"interval"===e.type||"time"===e.type}var zO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=RO,t}return v(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(YO(e)&&YO(t)){var n=e.getExtent(),i=t.getExtent(),r=this.dataToPoint([n[0],i[0]]),a=this.dataToPoint([n[1],i[1]]),o=n[1]-n[0],s=i[1]-i[0];if(o&&s){var l=(a[0]-r[0])/o,u=(a[1]-r[1])/s,c=r[0]-n[0]*l,h=r[1]-i[0]*u,d=this._transform=[l,0,0,u,c,h];this._invTransform=De([],d)}}},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),i=this.dataToPoint(t),r=this.getArea(),a=new je(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(a)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var i=e[0],r=e[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Y(n,e,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(i,t)),n[1]=o.toGlobalCoord(o.dataToCoord(r,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),a=i.getExtent(),o=n.parse(e[0]),s=i.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),t[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return Y(n,e,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(e[0]),t),n[1]=r.coordToData(r.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(),i=Math.min(t[0],t[1])-e,r=Math.min(n[0],n[1])-e,a=Math.max(t[0],t[1])-i+e,o=Math.max(n[0],n[1])-r+e;return new je(i,r,a,o)},t}(NO),HO=zO,jO=function(e){function t(t,n,i,r,a){var o=e.call(this,t,n,i)||this;return o.index=0,o.type=r||"value",o.position=a||"bottom",o}return v(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}(mS),FO=jO;function BO(e,t,n){n=n||{};var i=e.coordinateSystem,r=t.axis,a={},o=r.getAxesOnZeroOf()[0],s=r.position,l=o?"onZero":s,u=r.dim,c=i.getRect(),h=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=t.get("offset")||0,p="x"===u?[h[2]-f,h[3]+f]:[h[0]-f,h[1]+f];if(o){var m=o.toGlobalCoord(o.dataToCoord(0));p[d.onZero]=Math.max(Math.min(m,p[1]),p[0])}a.position=["y"===u?p[d[l]]:h[0],"x"===u?p[d[l]]:h[3]],a.rotation=Math.PI/2*("x"===u?0:1);var g={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=g[s],a.labelOffset=o?p[d[s]]-p[d.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),x["O"](n.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var y=t.get(["axisLabel","rotate"]);return a.labelRotate="top"===l?-y:y,a.z2=1,a}function VO(e){return"cartesian2d"===e.get("coordinateSystem")}function GO(e){var t={xAxisModel:null,yAxisModel:null};return x["k"](t,(function(n,i){var r=i.replace(/Model$/,""),a=e.getReferringComponents(r,Qr).models[0];t[i]=a})),t}var WO=Math.log;function UO(e,t,n){var i=vw.prototype,r=i.getTicks.call(n),a=i.getTicks.call(n,!0),o=r.length-1,s=i.getInterval.call(n),l=cM(e,t),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===e.type){var d=WO(e.base);u=[WO(u[0])/d,WO(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:h});var f=i.getExtent.call(e);c&&(u[0]=f[0]),h&&(u[1]=f[1]);var p=i.getInterval.call(e),m=u[0],g=u[1];if(c&&h)p=(g-m)/o;else if(c){g=u[0]+p*o;while(g<u[1]&&isFinite(g)&&isFinite(u[1]))p=sw(p),g=u[0]+p*o}else if(h){m=u[1]-p*o;while(m>u[0]&&isFinite(m)&&isFinite(u[0]))p=sw(p),m=u[1]-p*o}else{var y=e.getTicks().length-1;y>o&&(p=sw(p));var v=p*o;g=Math.ceil(u[1]/p)*p,m=tr(g-v),m<0&&u[0]>=0?(m=0,g=tr(v)):g>0&&u[1]<=0&&(g=0,m=-tr(v))}var _=(r[0].value-a[0].value)/s,x=(r[o].value-a[o].value)/s;i.setExtent.call(e,m+p*_,g+p*x),i.setInterval.call(e,p),(_||x)&&i.setNiceExtent.call(e,m+p,g-p)}var XO=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=RO,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 i(e){var t,n=Object(x["F"])(e),i=n.length;if(i){for(var r=[],a=i-1;a>=0;a--){var o=+n[a],s=e[o],l=s.model,u=s.scale;aw(u)&&l.get("alignTicks")&&null==l.get("interval")?r.push(s):(dM(u,l),aw(u)&&(t=s))}r.length&&(t||(t=r.pop(),dM(t.scale,t.model)),Object(x["k"])(r,(function(e){UO(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),i(n.x),i(n.y);var r={};Object(x["k"])(n.x,(function(e){qO(n,"y",e,r)})),Object(x["k"])(n.y,(function(e){qO(n,"x",e,r)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var i=e.getBoxLayoutParams(),r=!n&&e.get("containLabel"),a=ah(i,{width:t.getWidth(),height:t.getHeight()});this._rect=a;var o=this._axesList;function s(){Object(x["k"])(o,(function(e){var t=e.isHorizontal(),n=t?[0,a.width]:[0,a.height],i=e.inverse?1:0;e.setExtent(n[i],n[1-i]),JO(e,t?a.x:a.y)}))}s(),r&&(Object(x["k"])(o,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=yM(e);if(t){var n=e.isHorizontal()?"height":"width",i=e.model.get(["axisLabel","margin"]);a[n]-=t[n]+i,"top"===e.position?a.y+=t.height+i:"left"===e.position&&(a.x+=t.width+i)}}})),s()),Object(x["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(x["A"])(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===e||r[i].getAxis("y").index===t)return r[i]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var i=this._findConvertTarget(t);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var i=this._findConvertTarget(t);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,i=e.seriesModel,r=e.xAxisModel||i&&i.getReferringComponents("xAxis",Qr).models[0],a=e.yAxisModel||i&&i.getReferringComponents("yAxis",Qr).models[0],o=e.gridModel,s=this._coordsList;if(i)t=i.coordinateSystem,Object(x["r"])(s,t)<0&&(t=null);else if(r&&a)t=this.getCartesian(r.componentIndex,a.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(a)n=this.getAxis("y",a.componentIndex);else if(o){var l=o.coordinateSystem;l===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 i=this,r=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(t){return function(n,i){if(ZO(n,e)){var l=n.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=a.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=a.left?"right":"left"),a[l]=!0;var u=new FO(t,fM(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=r,u.index=i,r._axesList.push(u),o[t][i]=u,s[t]++}}}this._axesMap=o,Object(x["k"])(o.x,(function(t,n){Object(x["k"])(o.y,(function(r,a){var o="x"+n+"y"+a,s=new HO(o);s.master=i,s.model=e,i._coordsMap[o]=s,i._coordsList.push(s),s.addAxis(t),s.addAxis(r)}))}))},e.prototype._updateScale=function(e,t){function n(e,t){Object(x["k"])(bM(e,t.dim),(function(n){t.scale.unionExtentFromData(e,n)}))}Object(x["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(VO(e)){var i=GO(e),r=i.xAxisModel,a=i.yAxisModel;if(!ZO(r,t)||!ZO(a,t))return;var o=this.getCartesian(r.componentIndex,a.componentIndex),s=e.getData(),l=o.getAxis("x"),u=o.getAxis("y");n(s,l),n(s,u)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return Object(x["k"])(this.getCartesians(),(function(i){var r=null!=e&&"auto"!==e?i.getAxis(e):i.getBaseAxis(),a=i.getOtherAxis(r);Object(x["r"])(t,r)<0&&t.push(r),Object(x["r"])(n,a)<0&&n.push(a)})),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var i=[];return t.eachComponent("grid",(function(r,a){var o=new e(r,t,n);o.name="grid_"+a,o.resize(r,n,!0),r.coordinateSystem=o,i.push(o)})),t.eachSeries((function(e){if(VO(e)){var t=GO(e),n=t.xAxisModel,i=t.yAxisModel,r=n.getCoordSysModel();0;var a=r.coordinateSystem;e.coordinateSystem=a.getCartesian(n.componentIndex,i.componentIndex)}})),i},e.dimensions=RO,e}();function ZO(e,t){return e.getCoordSysModel()===t}function qO(e,t,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,a=e[t],o=n.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)$O(a[l])&&(r=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&$O(a[u])&&!i[c(a[u])]){r=a[u];break}r&&(i[c(r)]=!0)}function c(e){return e.dim+"_"+e.index}}function $O(e){return e&&"category"!==e.type&&"time"!==e.type&&pM(e)}function JO(e,t){var n=e.getExtent(),i=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return i-e+t}}var KO=XO,QO=Math.PI,ek=function(){function e(e,t){this.group=new Ni,this.opt=t,this.axisModel=e,Object(x["i"])(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Ni({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!tk[e]},e.prototype.add=function(e){tk[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var i,r,a=cr(t-e);return hr(a)?(r=n>0?"top":"bottom",i="center"):hr(a-QO)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a<QO?n>0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}},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}(),tk={axisLine:function(e,t,n,i){var r=t.get(["axisLine","show"]);if("auto"===r&&e.handleAutoShown&&(r=e.handleAutoShown("axisLine")),r){var a=t.axis.getExtent(),o=i.transform,s=[a[0],0],l=[a[1],0],u=s[0]>l[0];o&&(Y(s,s,o),Y(l,l,o));var c=Object(x["m"])({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new eg({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});Hg(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var d=t.get(["axisLine","symbol"]);if(null!=d){var f=t.get(["axisLine","symbolSize"]);Object(x["C"])(d)&&(d=[d,d]),(Object(x["C"])(f)||Object(x["z"])(f))&&(f=[f,f]);var p=Dv(t.get(["axisLine","symbolOffset"])||0,f),m=f[0],g=f[1];Object(x["k"])([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(t,i){if("none"!==d[i]&&null!=d[i]){var r=Tv(d[i],-m/2,-g/2,m,g,c.stroke,!0),a=t.r+t.offset,o=u?l:s;r.attr({rotation:t.rotate,x:o[0]+a*Math.cos(e.rotation),y:o[1]-a*Math.sin(e.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(e,t,n,i){var r=lk(n,i,t,e),a=ck(n,i,t,e);if(ik(t,a,r),uk(n,i,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=BS(Object(x["H"])(a,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}})));US(o)}},axisName:function(e,t,n,i){var r=Object(x["O"])(e.axisName,t.get("name"));if(r){var a,o,s=t.get("nameLocation"),l=e.nameDirection,u=t.getModel("nameTextStyle"),c=t.get("nameGap")||0,h=t.axis.getExtent(),d=h[0]>h[1]?-1:1,f=["start"===s?h[0]-d*c:"end"===s?h[1]+d*c:(h[0]+h[1])/2,ok(s)?e.labelOffset+l*c:0],p=t.get("nameRotate");null!=p&&(p=p*QO/180),ok(s)?a=ek.innerTextLayout(e.rotation,null!=p?p:e.rotation,l):(a=nk(e.rotation,s,p||0,h),o=e.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(a.rotation)),!isFinite(o)&&(o=null)));var m=u.getFont(),g=t.get("nameTruncate",!0)||{},y=g.ellipsis,v=Object(x["O"])(e.nameTruncateMaxWidth,g.maxWidth,o),_=new Vs({x:f[0],y:f[1],rotation:a.rotation,silent:ek.isLabelSilent(t),style:xu(u,{text:r,font:m,overflow:"truncate",width:v,ellipsis:y,fill:u.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:u.get("align")||a.textAlign,verticalAlign:u.get("verticalAlign")||a.textVerticalAlign}),z2:1});if(ty({el:_,componentModel:t,itemName:r}),_.__fullText=r,_.anid="name",t.get("triggerEvent")){var b=ek.makeAxisEventDataBase(t);b.targetType="axisName",b.name=r,Gs(_).eventData=b}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function nk(e,t,n,i){var r,a,o=cr(n-e),s=i[0]>i[1],l="start"===t&&!s||"start"!==t&&s;return hr(o-QO/2)?(a=l?"bottom":"top",r="center"):hr(o-1.5*QO)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*QO&&o>QO/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}function ik(e,t,n){if(!xM(e.axis)){var i=e.get(["axisLabel","showMinLabel"]),r=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var a=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(rk(a),rk(u)):ak(a,o)&&(i?(rk(o),rk(c)):(rk(a),rk(u))),!1===r?(rk(s),rk(h)):ak(l,s)&&(r?(rk(l),rk(d)):(rk(s),rk(h)))}}function rk(e){e&&(e.ignore=!0)}function ak(e,t){var n=e&&e.getBoundingRect().clone(),i=t&&t.getBoundingRect().clone();if(n&&i){var r=be([]);return Te(r,r,-e.rotation),n.applyTransform(Me([],r,e.getLocalTransform())),i.applyTransform(Me([],r,t.getLocalTransform())),n.intersect(i)}}function ok(e){return"middle"===e||"center"===e}function sk(e,t,n,i,r){for(var a=[],o=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=n,t&&(Y(o,o,t),Y(s,s,t));var c=new eg({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});Hg(c.shape,c.style.lineWidth),c.anid=r+"_"+e[l].tickValue,a.push(c)}return a}function lk(e,t,n,i){var r=n.axis,a=n.getModel("axisTick"),o=a.get("show");if("auto"===o&&i.handleAutoShown&&(o=i.handleAutoShown("axisTick")),o&&!r.scale.isBlank()){for(var s=a.getModel("lineStyle"),l=i.tickDirection*a.get("length"),u=r.getTicksCoords(),c=sk(u,t.transform,l,Object(x["i"])(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)e.add(c[h]);return c}}function uk(e,t,n,i){var r=n.axis,a=n.getModel("minorTick");if(a.get("show")&&!r.scale.isBlank()){var o=r.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=i*a.get("length"),u=Object(x["i"])(s.getLineStyle(),Object(x["i"])(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var h=sk(o[c],t.transform,l,u,"minorticks_"+c),d=0;d<h.length;d++)e.add(h[d])}}function ck(e,t,n,i){var r=n.axis,a=Object(x["O"])(i.axisLabelShow,n.get(["axisLabel","show"]));if(a&&!r.scale.isBlank()){var o=n.getModel("axisLabel"),s=o.get("margin"),l=r.getViewLabels(),u=(Object(x["O"])(i.labelRotate,o.get("rotate"))||0)*QO/180,c=ek.innerTextLayout(i.rotation,u,i.labelDirection),h=n.getCategories&&n.getCategories(!0),d=[],f=ek.isLabelSilent(n),p=n.get("triggerEvent");return Object(x["k"])(l,(function(a,u){var m="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(a.tickValue):a.tickValue,g=a.formattedLabel,y=a.rawLabel,v=o;if(h&&h[m]){var _=h[m];Object(x["A"])(_)&&_.textStyle&&(v=new Gu(_.textStyle,o,n.ecModel))}var b=v.getTextColor()||n.get(["axisLine","lineStyle","color"]),w=r.dataToCoord(m),M=v.getShallow("align",!0)||c.textAlign,S=Object(x["P"])(v.getShallow("alignMinLabel",!0),M),T=Object(x["P"])(v.getShallow("alignMaxLabel",!0),M),L=v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||c.textVerticalAlign,D=Object(x["P"])(v.getShallow("verticalAlignMinLabel",!0),L),A=Object(x["P"])(v.getShallow("verticalAlignMaxLabel",!0),L),O=new Vs({x:w,y:i.labelOffset+i.labelDirection*s,rotation:c.rotation,silent:f,z2:10+(a.level||0),style:xu(v,{text:g,align:0===u?S:u===l.length-1?T:M,verticalAlign:0===u?D:u===l.length-1?A:L,fill:Object(x["w"])(b)?b("category"===r.type?y:"value"===r.type?m+"":m,u):b})});if(O.anid="label_"+m,p){var k=ek.makeAxisEventDataBase(n);k.targetType="axisLabel",k.value=y,k.tickIndex=u,"category"===r.type&&(k.dataIndex=m),Gs(O).eventData=k}t.add(O),O.updateTransform(),d.push(O),e.add(O),O.decomposeTransform()})),d}}var hk=ek;function dk(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return fk(n,e,t),n.seriesInvolved&&mk(n,e),n}function fk(e,t,n){var i=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),a=r.get("link",!0)||[],o=[];Object(x["k"])(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=wk(n.model),l=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var u=n.model,c=u.getModel("tooltip",i);if(Object(x["k"])(n.getAxes(),Object(x["h"])(p,!1,null)),n.getTooltipAxes&&i&&c.get("show")){var h="axis"===c.get("trigger"),d="cross"===c.get(["axisPointer","type"]),f=n.getTooltipAxes(c.get(["axisPointer","axis"]));(h||d)&&Object(x["k"])(f.baseAxes,Object(x["h"])(p,!d||"cross",h)),d&&Object(x["k"])(f.otherAxes,Object(x["h"])(p,"cross",!1))}}function p(i,s,u){var h=u.model.getModel("axisPointer",r),d=h.get("show");if(d&&("auto"!==d||i||bk(h))){null==s&&(s=h.get("triggerTooltip")),h=i?pk(u,c,r,t,i,s):h;var f=h.get("snap"),p=h.get("triggerEmphasis"),m=wk(u.model),g=s||f||"category"===u.type,y=e.axesInfo[m]={key:m,axis:u,coordSys:n,axisPointerModel:h,triggerTooltip:s,triggerEmphasis:p,involveSeries:g,snap:f,useHandle:bk(h),seriesModels:[],linkGroup:null};l[m]=y,e.seriesInvolved=e.seriesInvolved||g;var v=gk(a,u);if(null!=v){var _=o[v]||(o[v]={axesInfo:{}});_.axesInfo[m]=y,_.mapper=a[v].mapper,y.linkGroup=_}}}}))}function pk(e,t,n,i,r,a){var o=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};Object(x["k"])(s,(function(e){l[e]=Object(x["d"])(o.get(e))})),l.snap="category"!==e.type&&!!a,"cross"===o.get("type")&&(l.type="line");var u=l.label||(l.label={});if(null==u.show&&(u.show=!1),"cross"===r){var c=o.get(["label","show"]);if(u.show=null==c||c,!a){var h=l.lineStyle=o.get("crossStyle");h&&Object(x["i"])(u,h.textStyle)}}return e.model.getModel("axisPointer",new Gu(l,n,i))}function mk(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,i=t.get(["tooltip","trigger"],!0),r=t.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==t.get(["axisPointer","show"],!0)&&Object(x["k"])(e.coordSysAxesInfo[wk(n.model)],(function(e){var i=e.axis;n.getAxis(i.dim)===i&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}function gk(e,t){for(var n=t.model,i=t.dim,r=0;r<e.length;r++){var a=e[r]||{};if(yk(a[i+"AxisId"],n.id)||yk(a[i+"AxisIndex"],n.componentIndex)||yk(a[i+"AxisName"],n.name))return r}}function yk(e,t){return"all"===e||Object(x["t"])(e)&&Object(x["r"])(e,t)>=0||e===t}function vk(e){var t=_k(e);if(t){var n=t.axisPointerModel,i=t.axis.scale,r=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=bk(n);null==a&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),r.value=o,s&&(r.status=t.axis.scale.isBlank()?"hide":"show")}}function _k(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[wk(e)]}function xk(e){var t=_k(e);return t&&t.axisPointerModel}function bk(e){return!!e.get(["handle","show"])}function wk(e){return e.type+"||"+e.id}var Mk={},Sk=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(t,n,i,r){this.axisPointerClass&&vk(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,i,!0)},t.prototype.updateAxisPointer=function(e,t,n,i){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,i){var r=t.getAxisPointerClass(this.axisPointerClass);if(r){var a=xk(e);a?(this._axisPointer||(this._axisPointer=new r)).render(e,a,n,i):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){Mk[e]=t},t.getAxisPointerClass=function(e){return e&&Mk[e]},t.type="axis",t}(Wp),Tk=Sk,Lk=qr();function Dk(e,t,n,i){var r=n.axis;if(!r.scale.isBlank()){var a=n.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:a,clamp:!0});if(u.length){var c=s.length,h=Lk(e).splitAreaColors,d=x["f"](),f=0;if(h)for(var p=0;p<u.length;p++){var m=h.get(u[p].tickValue);if(null!=m){f=(m+(c-1)*p)%c;break}}var g=r.toGlobalCoord(u[0].coord),y=o.getAreaStyle();s=x["t"](s)?s:[s];for(p=1;p<u.length;p++){var v=r.toGlobalCoord(u[p].coord),_=void 0,b=void 0,w=void 0,M=void 0;r.isHorizontal()?(_=g,b=l.y,w=v-_,M=l.height,g=_+w):(_=l.x,b=g,w=l.width,M=v-b,g=b+M);var S=u[p-1].tickValue;null!=S&&d.set(S,f),t.add(new Ts({anid:null!=S?"area_"+S:null,shape:{x:_,y:b,width:w,height:M},style:x["i"]({fill:s[f]},y),autoBatch:!0,silent:!0})),f=(f+1)%c}Lk(e).splitAreaColors=d}}}function Ak(e){Lk(e).splitAreaColors=null}var Ok=["axisLine","axisTickLabel","axisName"],kk=["splitArea","splitLine","minorSplitLine"],Ik=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return v(t,e),t.prototype.render=function(t,n,i,r){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new Ni,this.group.add(this._axisGroup),t.get("show")){var o=t.getCoordSysModel(),s=BO(o,t),l=new hk(t,x["m"]({handleAutoShown:function(e){for(var n=o.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(aw(n[i].getOtherAxis(t.axis).scale))return!0;return!1}},s));x["k"](Ok,l.add,l),this._axisGroup.add(l.getGroup()),x["k"](kk,(function(e){t.get([e,"show"])&&Ck[e](this,this._axisGroup,t,o)}),this);var u=r&&"changeAxisOrder"===r.type&&r.isInitSort;u||Xg(a,this._axisGroup,t),e.prototype.render.call(this,t,n,i,r)}},t.prototype.remove=function(){Ak(this)},t.type="cartesianAxis",t}(Tk),Ck={splitLine:function(e,t,n,i){var r=n.axis;if(!r.scale.isBlank()){var a=n.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=x["t"](s)?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),c=0,h=r.getTicksCoords({tickModel:a}),d=[],f=[],p=o.getLineStyle(),m=0;m<h.length;m++){var g=r.toGlobalCoord(h[m].coord);u?(d[0]=g,d[1]=l.y,f[0]=g,f[1]=l.y+l.height):(d[0]=l.x,d[1]=g,f[0]=l.x+l.width,f[1]=g);var y=c++%s.length,v=h[m].tickValue,_=new eg({anid:null!=v?"line_"+h[m].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:x["i"]({stroke:s[y]},p),silent:!0});Hg(_.shape,p.lineWidth),t.add(_)}}},minorSplitLine:function(e,t,n,i){var r=n.axis,a=n.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=i.coordinateSystem.getRect(),l=r.isHorizontal(),u=r.getMinorTicksCoords();if(u.length)for(var c=[],h=[],d=o.getLineStyle(),f=0;f<u.length;f++)for(var p=0;p<u[f].length;p++){var m=r.toGlobalCoord(u[f][p].coord);l?(c[0]=m,c[1]=s.y,h[0]=m,h[1]=s.y+s.height):(c[0]=s.x,c[1]=m,h[0]=s.x+s.width,h[1]=m);var g=new eg({anid:"minor_line_"+u[f][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:d,silent:!0});Hg(g.shape,d.lineWidth),t.add(g)}},splitArea:function(e,t,n,i){Dk(e,t,n,i)}},Ek=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="xAxis",t}(Ik),Pk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=Ek.type,t}return v(t,e),t.type="yAxis",t}(Ik),Nk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return v(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new Ts({shape:e.coordinateSystem.getRect(),style:Object(x["i"])({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(Wp),Rk={offset:0};function Yk(e){e.registerComponentView(Nk),e.registerComponentModel(MO),e.registerCoordinateSystem("cartesian2d",KO),CO(e,"x",SO,Rk),CO(e,"y",SO,Rk),e.registerComponentView(Ek),e.registerComponentView(Pk),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}function zk(e){IM(Yk),e.registerSeriesModel(pO),e.registerChartView(bO),e.registerLayout(eA("scatter"))}function Hk(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],i=e.coordinateSystem;if(i){var r=i.getIndicatorAxes();x["k"](r,(function(e,a){t.each(t.mapDimension(r[a].dim),(function(e,t){n[t]=n[t]||[];var r=i.dataToPoint(e,a);n[t][a]=jk(r)?r:Fk(i)}))})),t.each((function(e){var r=x["o"](n[e],(function(e){return jk(e)}))||Fk(i);n[e].push(r.slice()),t.setItemLayout(e,n[e])}))}}))}function jk(e){return!isNaN(e[0])&&!isNaN(e[1])}function Fk(e){return[e.cx,e.cy]}function Bk(e){var t=e.polar;if(t){x["t"](t)||(t=[t]);var n=[];x["k"](t,(function(t,i){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],x["t"](e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}x["k"](e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}var Vk=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=e.coordinateSystem,r=this.group,o=e.getData(),s=this._data;function l(e,t){var n=e.getItemVisual(t,"symbol")||"circle";if("none"!==n){var i=Lv(e.getItemVisual(t,"symbolSize")),r=Tv(n,-1,-1,2,2),a=e.getItemVisual(t,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:a*Math.PI/180||0}),r}}function u(t,n,i,r,o,s){i.removeAll();for(var u=0;u<n.length-1;u++){var c=l(r,o);c&&(c.__dimIdx=u,t[u]?(c.setPosition(t[u]),a[s?"initProps":"updateProps"](c,{x:n[u][0],y:n[u][1]},e,o)):c.setPosition(n[u]),i.add(c))}}function c(e){return x["H"](e,(function(e){return[i.cx,i.cy]}))}o.diff(s).add((function(t){var n=o.getItemLayout(t);if(n){var i=new Xm,r=new $m,a={shape:{points:n}};i.shape.points=c(n),r.shape.points=c(n),lu(i,a,e,t),lu(r,a,e,t);var s=new Ni,l=new Ni;s.add(r),s.add(i),s.add(l),u(r.shape.points,n,l,o,t,!0),o.setItemGraphicEl(t,s)}})).update((function(t,n){var i=s.getItemGraphicEl(n),r=i.childAt(0),a=i.childAt(1),l=i.childAt(2),c={shape:{points:o.getItemLayout(t)}};c.shape.points&&(u(r.shape.points,c.shape.points,l,o,t,!1),fu(a),fu(r),su(r,c,e),su(a,c,e),o.setItemGraphicEl(t,i))})).remove((function(e){r.remove(s.getItemGraphicEl(e))})).execute(),o.eachItemGraphicEl((function(e,t){var n=o.getItemModel(t),i=e.childAt(0),a=e.childAt(1),s=e.childAt(2),l=o.getItemVisual(t,"style"),u=l.fill;r.add(e),i.useStyle(x["i"](n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),$l(i,n,"lineStyle"),$l(a,n,"areaStyle");var c=n.getModel("areaStyle"),h=c.isEmpty()&&c.parentModel.isEmpty();a.ignore=h,x["k"](["emphasis","select","blur"],(function(e){var t=n.getModel([e,"areaStyle"]),i=t.isEmpty()&&t.parentModel.isEmpty();a.ensureState(e).ignore=i&&h})),a.useStyle(x["i"](c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var d=n.getModel("emphasis"),f=d.getModel("itemStyle").getItemStyle();s.eachChild((function(e){if(e instanceof gs){var i=e.style;e.useStyle(x["m"]({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else e.useStyle(l),e.setColor(u),e.style.strokeNoScale=!0;var r=e.ensureState("emphasis");r.style=x["d"](f);var a=o.getStore().get(o.getDimensionIndex(e.__dimIdx),t);(null==a||isNaN(a))&&(a=""),vu(e,_u(n),{labelFetcher:o.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:a,inheritColor:u,defaultOpacity:l.opacity})})),Ul(e,d.get("focus"),d.get("blurScope"),d.get("disabled"))})),this._data=o},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(dy),Gk=Vk,Wk=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return v(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new sO(x["c"](this.getData,this),x["c"](this.getRawData,this))},t.prototype.getInitialData=function(e,t){return aO(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,n){var i=this.getData(),r=this.coordinateSystem,a=r.getIndicatorAxes(),o=this.getData().getName(e),s=""===o?this.name:o,l=Lp(this,e);return fp("section",{header:s,sortBlocks:!0,blocks:x["H"](a,(function(t){var n=i.get(i.mapDimension(t.dim),e);return fp("nameValue",{markerType:"subItem",markerColor:l,name:t.name,value:n,sortParam:n})}))})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,i=t.getValues(x["H"](n.dimensions,(function(e){return t.mapDimension(e)})),e),r=0,a=i.length;r<a;r++)if(!isNaN(i[r])){var o=n.getIndicatorAxes();return n.coordToPoint(o[r].dataToCoord(i[r]),r)}},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}(Vp),Uk=Wk,Xk=kO.value;function Zk(e,t){return x["i"]({show:t},e)}var qk=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),a=this.get("axisLabel"),o=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),h=x["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 d=o;null!=h.color&&(d=x["i"]({color:h.color},o));var f=x["I"](x["d"](h),{boundaryGap:e,splitNumber:t,scale:n,axisLine:i,axisTick:r,axisLabel:a,name:h.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:c},!1);if(x["C"](l)){var p=f.name;f.name=l.replace("{value}",null!=p?p:"")}else x["w"](l)&&(f.name=l(f.name,f));var m=new Gu(f,null,this.ecModel);return x["K"](m,MM.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m}),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:x["I"]({lineStyle:{color:"#bbb"}},Xk.axisLine),axisLabel:Zk(Xk.axisLabel,!1),axisTick:Zk(Xk.axisTick,!1),splitLine:Zk(Xk.splitLine,!0),splitArea:Zk(Xk.splitArea,!0),indicator:[]},t}(mh),$k=qk,Jk=["axisLine","axisTickLabel","axisName"],Kk=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=this.group;i.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),i=x["H"](n,(function(e){var n=e.model.get("showName")?e.name:"",i=new hk(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));x["k"](i,(function(e){x["k"](Jk,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 i=e.get("shape"),r=e.getModel("splitLine"),a=e.getModel("splitArea"),o=r.getModel("lineStyle"),s=a.getModel("areaStyle"),l=r.get("show"),u=a.get("show"),c=o.get("color"),h=s.get("color"),d=x["t"](c)?c:[c],f=x["t"](h)?h:[h],p=[],m=[];if("circle"===i)for(var g=n[0].getTicksCoords(),y=t.cx,v=t.cy,_=0;_<g.length;_++){if(l){var b=O(p,d,_);p[b].push(new vm({shape:{cx:y,cy:v,r:g[_].coord}}))}if(u&&_<g.length-1){b=O(m,f,_);m[b].push(new Bm({shape:{cx:y,cy:v,r0:g[_].coord,r:g[_+1].coord}}))}}else{var w,M=x["H"](n,(function(e,n){var i=e.getTicksCoords();return w=null==w?i.length-1:Math.min(i.length-1,w),x["H"](i,(function(e){return t.coordToPoint(e.coord,n)}))})),S=[];for(_=0;_<=w;_++){for(var T=[],L=0;L<n.length;L++)T.push(M[L][_]);if(T[0]&&T.push(T[0].slice()),l){b=O(p,d,_);p[b].push(new $m({shape:{points:T}}))}if(u&&S){b=O(m,f,_-1);m[b].push(new Xm({shape:{points:T.concat(S)}}))}S=T.slice().reverse()}}var D=o.getLineStyle(),A=s.getAreaStyle();x["k"](m,(function(e,t){this.group.add(Yg(e,{style:x["i"]({stroke:"none",fill:f[t%f.length]},A),silent:!0}))}),this),x["k"](p,(function(e,t){this.group.add(Yg(e,{style:x["i"]({fill:"none",stroke:d[t%d.length]},D),silent:!0}))}),this)}function O(e,t,n){var i=n%t.length;return e[i]=e[i]||[],i}},t.type="radar",t}(Wp),Qk=Kk,eI=function(e){function t(t,n,i){var r=e.call(this,t,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return v(t,e),t}(mS),tI=eI,nI=function(){function e(e,t,n){this.dimensions=[],this._model=e,this._indicatorAxes=Object(x["H"])(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,i=new tI(n,new vw);return i.name=e.get("name"),i.model=e,e.axis=i,this.dimensions.push(n),i}),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],i=n.angle,r=this.cx+e*Math.cos(i),a=this.cy-e*Math.sin(i);return[r,a]},e.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,i=Math.sqrt(t*t+n*n);t/=i,n/=i;for(var r,a=Math.atan2(-n,t),o=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(a-u.angle);c<o&&(r=u,s=l,o=c)}return[s,+(r&&r.coordToData(i))]},e.prototype.resize=function(e,t){var n=e.get("center"),i=t.getWidth(),r=t.getHeight(),a=Math.min(i,r)/2;this.cx=er(n[0],i),this.cy=er(n[1],r),this.startAngle=e.get("startAngle")*Math.PI/180;var o=e.get("radius");(Object(x["C"])(o)||Object(x["z"])(o))&&(o=[0,o]),this.r0=er(o[0],a),this.r=er(o[1],a),Object(x["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,i=this._model;Object(x["k"])(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,r){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===i){var a=t.getData();Object(x["k"])(n,(function(e){e.scale.unionExtentFromData(a,a.mapDimension(e.dim))}))}}),this);var r=i.get("splitNumber"),a=new vw;a.setExtent(0,r),a.setInterval(1),Object(x["k"])(n,(function(e,t){UO(e.scale,e.model,a)}))},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 i=[];return t.eachComponent("radar",(function(r){var a=new e(r,t,n);i.push(a),r.coordinateSystem=a})),t.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("radarIndex")||0])})),i},e.dimensions=[],e}(),iI=nI;function rI(e){e.registerCoordinateSystem("radar",iI),e.registerComponentModel($k),e.registerComponentView(Qk),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 aI(e){IM(rI),e.registerChartView(Gk),e.registerSeriesModel(Uk),e.registerLayout(Hk),e.registerProcessor(qA("radar")),e.registerPreprocessor(Bk)}var oI="\0_ec_interaction_mutex";function sI(e,t,n){var i=cI(e);i[t]=n}function lI(e,t,n){var i=cI(e),r=i[t];r===n&&(i[t]=null)}function uI(e,t){return!!cI(e)[t]}function cI(e){return e[oI]||(e[oI]={})}Vx({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},x["L"]);var hI=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var i=Object(x["c"])(n._mousedownHandler,n),r=Object(x["c"])(n._mousemoveHandler,n),a=Object(x["c"])(n._mouseupHandler,n),o=Object(x["c"])(n._mousewheelHandler,n),s=Object(x["c"])(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=Object(x["i"])(Object(x["d"])(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",i),t.on("mousemove",r),t.on("mouseup",a)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",o),t.on("pinch",s))},n.disable=function(){t.off("mousedown",i),t.off("mousemove",r),t.off("mouseup",a),t.off("mousewheel",o),t.off("pinch",s)},n}return v(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(!me(e)){var t=e.target;while(t){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&pI("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!uI(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,i=this._x,r=this._y,a=t-i,o=n-r;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&pe(e.event),fI(this,"pan","moveOnMouseMove",e,{dx:a,dy:o,oldX:i,oldY:r,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){me(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=pI("zoomOnMouseWheel",e,this._opt),n=pI("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,r=Math.abs(i),a=e.offsetX,o=e.offsetY;if(0!==i&&(t||n)){if(t){var s=r>3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;dI(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:a,originY:o,isAvailableBehavior:null})}if(n){var u=Math.abs(i),c=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);dI(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:a,originY:o,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!uI(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;dI(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(G);function dI(e,t,n,i,r){e.pointerChecker&&e.pointerChecker(i,r.originX,r.originY)&&(pe(i.event),fI(e,t,n,i,r))}function fI(e,t,n,i,r){r.isAvailableBehavior=Object(x["c"])(pI,null,n,i),e.trigger(t,r)}function pI(e,t,n){var i=n[e];return!e||i&&(!Object(x["C"])(i)||t.event[i+"Key"])}var mI=hI;function gI(e,t,n){var i=e.target;i.x+=t,i.y+=n,i.dirty()}function yI(e,t,n,i){var r=e.target,a=e.zoomLimit,o=e.zoom=e.zoom||1;if(o*=t,a){var s=a.min||0,l=a.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/e.zoom;e.zoom=o,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var vI,_I={axisPointer:1,tooltip:1,brush:1};function xI(e,t,n){var i=t.getComponentByElement(e.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!_I.hasOwnProperty(i.mainType)&&r&&r.model!==n}function bI(e){if(Object(x["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 wI={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"},MI=Object(x["F"])(wI),SI={"alignment-baseline":"textBaseline","stop-color":"stopColor"},TI=Object(x["F"])(SI),LI=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=bI(e);this._defsUsePending=[];var i=new Ni;this._root=i;var r=[],a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||t.width),s=parseFloat(n.getAttribute("height")||t.height);isNaN(o)&&(o=null),isNaN(s)&&(s=null),CI(n,i,null,!0,!1);var l,u,c=n.firstChild;while(c)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(RI(this._defs,this._defsUsePending),this._defsUsePending=[],a){var h=zI(a);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=o&&null!=s&&(u=WI(l,{x:0,y:0,width:o,height:s}),!t.ignoreViewBox)){var d=i;i=new Ni,i.add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return t.ignoreRootClip||null==o||null==s||i.setClipPath(new Ts({shape:{x:0,y:0,width:o,height:s}})),{root:i,width:o,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},e.prototype._parseNode=function(e,t,n,i,r,a){var o,s=e.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(a=!0),"defs"===s||"switch"===s)o=t;else{if(!r){var u=vI[s];if(u&&Object(x["q"])(vI,s)){o=u.call(this,e,t);var c=e.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:s,el:o};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:o});t.add(o)}}var d=DI[s];if(d&&Object(x["q"])(DI,s)){var f=d.call(this,e),p=e.getAttribute("id");p&&(this._defs[p]=f)}}if(o&&o.isGroup){var m=e.firstChild;while(m)1===m.nodeType?this._parseNode(m,o,n,l,r,a):3===m.nodeType&&a&&this._parseText(m,o),m=m.nextSibling}},e.prototype._parseText=function(e,t){var n=new hs({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});kI(t,n),CI(e,n,this._defsUsePending,!1,!1),EI(n,t);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var a=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=a;var o=n.getBoundingRect();return this._textX+=o.width,t.add(n),n},e.internalField=function(){vI={g:function(e,t){var n=new Ni;return kI(t,n),CI(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new Ts;return kI(t,n),CI(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 vm;return kI(t,n),CI(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 eg;return kI(t,n),CI(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 bm;return kI(t,n),CI(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,i=e.getAttribute("points");i&&(n=II(i));var r=new Xm({shape:{points:n||[]},silent:!0});return kI(t,r),CI(e,r,this._defsUsePending,!1,!1),r},polyline:function(e,t){var n,i=e.getAttribute("points");i&&(n=II(i));var r=new $m({shape:{points:n||[]},silent:!0});return kI(t,r),CI(e,r,this._defsUsePending,!1,!1),r},image:function(e,t){var n=new gs;return kI(t,n),CI(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",i=e.getAttribute("y")||"0",r=e.getAttribute("dx")||"0",a=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(a);var o=new Ni;return kI(t,o),CI(e,o,this._defsUsePending,!1,!0),o},tspan:function(e,t){var n=e.getAttribute("x"),i=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=e.getAttribute("dx")||"0",a=e.getAttribute("dy")||"0",o=new Ni;return kI(t,o),CI(e,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(a),o},path:function(e,t){var n=e.getAttribute("d")||"",i=dm(n);return kI(t,i),CI(e,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),e}(),DI={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),i=parseInt(e.getAttribute("x2")||"10",10),r=parseInt(e.getAttribute("y2")||"0",10),a=new pg(t,n,i,r);return AI(e,a),OI(e,a),a},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),i=parseInt(e.getAttribute("r")||"0",10),r=new gg(t,n,i);return AI(e,r),OI(e,r),r}};function AI(e,t){var n=e.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(t.global=!0)}function OI(e,t){var n=e.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var a={};VI(n,a,a);var o=a.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:r,color:o})}n=n.nextSibling}}function kI(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Object(x["i"])(t.__inheritedStyle,e.__inheritedStyle))}function II(e){for(var t=zI(e),n=[],i=0;i<t.length;i+=2){var r=parseFloat(t[i]),a=parseFloat(t[i+1]);n.push([r,a])}return n}function CI(e,t,n,i,r){var a=t,o=a.__inheritedStyle=a.__inheritedStyle||{},s={};1===e.nodeType&&(FI(e,t),VI(e,o,s),i||GI(e,o,s)),a.style=a.style||{},null!=o.fill&&(a.style.fill=NI(a,"fill",o.fill,n)),null!=o.stroke&&(a.style.stroke=NI(a,"stroke",o.stroke,n)),Object(x["k"])(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){null!=o[e]&&(a.style[e]=parseFloat(o[e]))})),Object(x["k"])(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(e){null!=o[e]&&(a.style[e]=o[e])})),r&&(a.__selfStyle=s),o.lineDash&&(a.style.lineDash=Object(x["H"])(zI(o.lineDash),(function(e){return parseFloat(e)}))),"hidden"!==o.visibility&&"collapse"!==o.visibility||(a.invisible=!0),"none"===o.display&&(a.ignore=!0)}function EI(e,t){var n=t.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",e.style.textBaseline=r}var a=t.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&("middle"===o&&(s="center"),e.style.textAlign=s)}}var PI=/^url\(\s*#(.*?)\)/;function NI(e,t,n,i){var r=n&&n.match(PI);if(!r)return"none"===n&&(n=null),n;var a=Object(x["T"])(r[1]);i.push([e,t,a])}function RI(e,t){for(var n=0;n<t.length;n++){var i=t[n];i[0].style[i[1]]=e[i[2]]}}var YI=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function zI(e){return e.match(YI)||[]}var HI=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,jI=Math.PI/180;function FI(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(HI,(function(e,t,n){return i.push(t,n),""}));for(var a=i.length-1;a>0;a-=2){var o=i[a],s=i[a-1],l=zI(o);switch(r=r||xe(),s){case"translate":Se(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Le(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Te(r,r,-parseFloat(l[0])*jI,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*jI);Me(r,[1,0,u,1,0,0],r);break;case"skewY":var c=Math.tan(parseFloat(l[0])*jI);Me(r,[1,c,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5]);break}}t.setLocalTransform(r)}}var BI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function VI(e,t,n){var i=e.getAttribute("style");if(i){var r;BI.lastIndex=0;while(null!=(r=BI.exec(i))){var a=r[1],o=Object(x["q"])(wI,a)?wI[a]:null;o&&(t[o]=r[2]);var s=Object(x["q"])(SI,a)?SI[a]:null;s&&(n[s]=r[2])}}}function GI(e,t,n){for(var i=0;i<MI.length;i++){var r=MI[i],a=e.getAttribute(r);null!=a&&(t[wI[r]]=a)}for(i=0;i<TI.length;i++){r=TI[i],a=e.getAttribute(r);null!=a&&(n[SI[r]]=a)}}function WI(e,t){var n=t.width/e.width,i=t.height/e.height,r=Math.min(n,i);return{scale:r,x:-(e.x+e.width/2)*r+(t.x+t.width/2),y:-(e.y+e.height/2)*r+(t.y+t.height/2)}}function UI(e,t){var n=new LI;return n.parse(e,t)}var XI=Object(x["f"])(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),ZI=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=Object(x["f"])(),this._freedGraphics=[],this._mapName=e,this._parsedXML=bI(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=$I(e.named),n=t.regions,i=t.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,n;try{t=e&&UI(e,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=t.root,Object(x["b"])(null!=n)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var i=new Ni;i.add(n),i.isGeoSVGGraphicRoot=!0;var r=t.width,a=t.height,o=t.viewBoxRect,s=this._boundingRect;if(!s){var l=void 0,u=void 0,c=void 0,h=void 0;if(null!=r?(l=0,c=r):o&&(l=o.x,c=o.width),null!=a?(u=0,h=a):o&&(u=o.y,h=o.height),null==l||null==u){var d=n.getBoundingRect();null==l&&(l=d.x,c=d.width),null==u&&(u=d.y,h=d.height)}s=this._boundingRect=new je(l,u,c,h)}if(o){var f=WI(o,s);n.scaleX=n.scaleY=f.scale,n.x=f.x,n.y=f.y}i.setClipPath(new Ts({shape:s.plain()}));var p=[];return Object(x["k"])(t.named,(function(e){null!=XI.get(e.svgNodeTagLower)&&(p.push(e),qI(e.el))})),{root:i,boundingRect:s,named:p}},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 qI(e){e.silent=!1,e.isGroup&&e.traverse((function(e){e.silent=!1}))}function $I(e){var t=[],n=Object(x["f"])();return Object(x["k"])(e,(function(e){if(null==e.namedFrom){var i=new VM(e.name,e.el);t.push(i),n.set(e.name,i)}})),{regions:t,regionsMap:n}}for(var JI=[126,25],KI="南海诸岛",QI=[[[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]]],eC=0;eC<QI.length;eC++)for(var tC=0;tC<QI[eC].length;tC++)QI[eC][tC][0]/=10.5,QI[eC][tC][1]/=-14,QI[eC][tC][0]+=JI[0],QI[eC][tC][1]+=JI[1];function nC(e,t){if("china"===e){for(var n=0;n<t.length;n++)if(t[n].name===KI)return;t.push(new BM(KI,x["H"](QI,(function(e){return{type:"polygon",exterior:e}})),JI))}}var iC={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function rC(e,t){if("china"===e){var n=iC[t.name];if(n){var i=t.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,t.setCenter(i)}}}var aC=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function oC(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:aC[0]})}var sC="name",lC=function(){function e(e,t,n){this.type="geoJSON",this._parsedMap=Object(x["f"])(),this._mapName=e,this._specialAreas=n,this._geoJSON=cC(t)}return e.prototype.load=function(e,t){t=t||sC;var n=this._parsedMap.get(t);if(!n){var i=this._parseToRegions(t);n=this._parsedMap.set(t,{regions:i,boundingRect:uC(i)})}var r=Object(x["f"])(),a=[];return Object(x["k"])(n.regions,(function(t){var n=t.name;e&&Object(x["q"])(e,n)&&(t=t.cloneShallow(n=e[n])),a.push(t),r.set(n,t)})),{regions:a,boundingRect:n.boundingRect||new je(0,0,0,0),regionsMap:r}},e.prototype._parseToRegions=function(e){var t,n=this._mapName,i=this._geoJSON;try{t=i?XM(i,e):[]}catch(r){throw new Error("Invalid geoJson format\n"+r.message)}return nC(n,t),Object(x["k"])(t,(function(e){var t=e.name;rC(n,e),oC(n,e);var i=this._specialAreas&&this._specialAreas[t];i&&e.transformTo(i.left,i.top,i.width,i.height)}),this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function uC(e){for(var t,n=0;n<e.length;n++){var i=e[n].getBoundingRect();t=t||i.clone(),t.union(i)}return t}function cC(e){return Object(x["C"])(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var hC=Object(x["f"])(),dC={registerMap:function(e,t,n){if(t.svg){var i=new ZI(e,t.svg);hC.set(e,i)}else{var r=t.geoJson||t.geoJSON;r&&!t.features?n=t.specialAreas:r=t;i=new lC(e,r,n);hC.set(e,i)}},getGeoResource:function(e){return hC.get(e)},getMapForUser:function(e){var t=hC.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,n){var i=hC.get(e);if(i)return i.load(t,n)}},fC=["rect","circle","line","ellipse","polygon","polyline","path"],pC=x["f"](fC),mC=x["f"](fC.concat(["g"])),gC=x["f"](fC.concat(["g"])),yC=qr();function vC(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function _C(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var xC=function(){function e(e){var t=new Ni;this.uid=Uu("ec_map_draw"),this._controller=new mI(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new Ni),t.add(this._svgGroup=new Ni)}return e.prototype.draw=function(e,t,n,i,r){var a="geo"===e.mainType,o=e.getData&&e.getData();a&&t.eachComponent({mainType:"series",subType:"map"},(function(t){o||t.getHostGeoModel()!==e||(o=t.getData())}));var s=e.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),h=c.raw,d=c.roam,f=!l.childAt(0)||r;f?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):su(u,d,e);var p=o&&o.getVisual("visualMeta")&&o.getVisual("visualMeta").length>0,m={api:n,geo:s,mapOrGeoModel:e,data:o,isVisualEncodedByVisualMap:p,isGeo:a,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(m):"geoSVG"===s.resourceType&&this._buildSVG(m),this._updateController(e,t,n),this._updateMapSelectHandler(e,l,n,i)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=x["f"](),n=x["f"](),i=this._regionsGroup,r=e.transformInfoRaw,a=e.mapOrGeoModel,o=e.data,s=e.geo.projection,l=s&&s.stream;function u(e,t){return t&&(e=t(e)),e&&[e[0]*r.scaleX+r.x,e[1]*r.scaleY+r.y]}function c(e){for(var t=[],n=!l&&s&&s.project,i=0;i<e.length;++i){var r=u(e[i],n);r&&t.push(r)}return t}function h(e){return{shape:{points:c(e)}}}i.removeAll(),x["k"](e.geo.regions,(function(r){var c=r.name,d=t.get(c),f=n.get(c)||{},p=f.dataIdx,m=f.regionModel;d||(d=t.set(c,new Ni),i.add(d),p=o?o.indexOfName(c):null,m=e.isGeo?a.getRegionModel(c):o?o.getItemModel(p):null,n.set(c,{dataIdx:p,regionModel:m}));var g=[],y=[];x["k"](r.geometries,(function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);l&&(t=LC(t,l)),x["k"](t,(function(e){g.push(new Xm(h(e)))}))}else{var n=e.points;l&&(n=LC(n,l,!0)),x["k"](n,(function(e){y.push(new $m(h(e)))}))}}));var v=u(r.getCenter(),s&&s.project);function _(t,n){if(t.length){var i=new cg({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});d.add(i),bC(e,i,p,m),wC(e,i,c,m,a,p,v),n&&(_C(i),x["k"](i.states,_C))}}_(g),_(y,!0)})),t.each((function(t,i){var r=n.get(i),o=r.dataIdx,s=r.regionModel;MC(e,t,i,s,a,o),SC(e,t,i,s,a),TC(e,t,i,s,a)}),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 i=this._svgDispatcherMap=x["f"](),r=!1;x["k"](this._svgGraphicRecord.named,(function(t){var n=t.name,a=e.mapOrGeoModel,o=e.data,s=t.svgNodeTagLower,l=t.el,u=o?o.indexOfName(n):null,c=a.getRegionModel(n);if(null!=pC.get(s)&&l instanceof eo&&bC(e,l,u,c),l instanceof eo&&(l.culling=!0),l.z2EmphasisLift=0,!t.namedFrom&&(null!=gC.get(s)&&wC(e,l,n,c,a,u,null),MC(e,l,n,c,a,u),SC(e,l,n,c,a),null!=mC.get(s))){var h=TC(e,l,n,c,a);"self"===h&&(r=!0);var d=i.get(n)||i.set(n,[]);d.push(l)}}),this),this._enableBlurEntireSVG(r,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var n=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),i=n.opacity;this._svgGraphicRecord.root.traverse((function(e){if(!e.isGroup){Sl(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=i&&(t.opacity=i),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 i=this._regionsGroupByName;if(i){var r=i.get(e);return r?[r]:[]}}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=dC.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=dC.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 i=e.coordinateSystem,r=this._controller,a=this._controllerHost;a.zoomLimit=e.get("scaleLimit"),a.zoom=i.getZoom(),r.enable(e.get("roam")||!1);var o=e.mainType;function s(){var t={type:"geoRoam",componentType:o};return t[o+"Id"]=e.id,t}r.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,gI(a,e.dx,e.dy),n.dispatchAction(x["m"](s(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(e){this._mouseDownFlag=!1,yI(a,e.scale,e.originX,e.originY),n.dispatchAction(x["m"](s(),{totalZoom:a.zoom,zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(t,r,a){return i.containPoint([r,a])&&!xI(t,n,e)}))},e.prototype.resetForLabelLayout=function(){this.group.traverse((function(e){var t=e.getTextContent();t&&(t.ignore=yC(t).ignore)}))},e.prototype._updateMapSelectHandler=function(e,t,n,i){var r=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",(function(){r._mouseDownFlag=!0})),t.on("click",(function(e){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},e}();function bC(e,t,n,i){var r=i.getModel("itemStyle"),a=i.getModel(["emphasis","itemStyle"]),o=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=vC(r),u=vC(a),c=vC(s),h=vC(o),d=e.data;if(d){var f=d.getItemVisual(n,"style"),p=d.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=p_(p,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=h,Sl(t)}function wC(e,t,n,i,r,a,o){var s=e.data,l=e.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),a)),c=s&&s.getItemLayout(a);if(l||u||c&&c.showLabel){var h=l?n:a,d=void 0;(!s||a>=0)&&(d=r);var f=o?{normal:{align:"center",verticalAlign:"middle"}}:null;vu(t,_u(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},f);var p=t.getTextContent();if(p&&(yC(p).ignore=p.ignore,t.textConfig&&o)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(o[0]-m.x)/m.width*100+"%",(o[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function MC(e,t,n,i,r,a){e.data?e.data.setItemGraphicEl(a,t):Gs(t).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function SC(e,t,n,i,r){e.data||ty({el:t,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function TC(e,t,n,i,r){t.highDownSilentOnTouch=!!r.get("selectedMode");var a=i.getModel("emphasis"),o=a.get("focus");return Ul(t,o,a.get("blurScope"),a.get("disabled")),e.isGeo&&Ql(t,r,n),o}function LC(e,t,n){var i,r=[];function a(){i=[]}function o(){i.length&&(r.push(i),i=[])}var s=t({polygonStart:a,polygonEnd:o,lineStart:a,lineEnd:o,point:function(e,t){isFinite(e)&&isFinite(t)&&i.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),x["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(),r}var DC=xC,AC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id){a=this._mapDraw;a&&r.add(a.group)}else if(e.needsDrawMap){var a=this._mapDraw||new DC(n);r.add(a.group),a.draw(e,t,n,this,i),this._mapDraw=a}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 i=e.originalData,r=this.group;i.each(i.mapDimension("value"),(function(t,n){if(!isNaN(t)){var a=i.getItemLayout(n);if(a&&a.point){var o=a.point,s=a.offset,l=new vm({style:{fill:e.getData().getVisual("style").fill},shape:{cx:o[0]+9*s,cy:o[1],r:3},silent:!0,z2:8+(s?0:tl+1)});if(!s){var u=e.mainSeries.getData(),c=i.getName(n),h=u.indexOfName(c),d=i.getItemModel(n),f=d.getModel("label"),p=u.getItemGraphicEl(h);vu(l,_u(d),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(h,n)}},defaultText:c}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(e){vl(l,e)}}r.add(l)}}}))},t.type="map",t}(dy),OC=AC,kC=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,i=n.getRegion(t);return i&&n.dataToPoint(i.getCenter())}},n}return v(t,e),t.prototype.getInitialData=function(e){for(var t=aO(this,{coordDimensions:["value"],encodeDefaulter:x["h"](Ch,this)}),n=x["f"](),i=[],r=0,a=t.count();r<a;r++){var o=t.getName(r);n.set(o,!0)}var s=dC.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return x["k"](s.regions,(function(e){var t=e.name;n.get(t)||i.push(t)})),t.appendValues([],i),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 i=this.getData(),r=this.getRawValue(e),a=i.getName(e),o=this.seriesGroup,s=[],l=0;l<o.length;l++){var u=o[l].originalData.indexOfName(a),c=i.mapDimension("value");isNaN(o[l].originalData.get(c,u))||s.push(o[l].name)}return fp("section",{header:s.join(", "),noHeader:!s.length,blocks:[fp("nameValue",{name:a,value:r})]})},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=Tv(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}(Vp),IC=kC;function CC(e,t){var n={};return x["k"](e,(function(e){e.each(e.mapDimension("value"),(function(t,i){var r="ec-"+e.getName(i);n[r]=n[r]||[],isNaN(t)||n[r].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(i,r){for(var a,o="ec-"+e[0].getName(r),s=0,l=1/0,u=-1/0,c=n[o].length,h=0;h<c;h++)l=Math.min(l,n[o][h]),u=Math.max(u,n[o][h]),s+=n[o][h];return a="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:a}))}function EC(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)})),x["k"](t,(function(e,t){for(var n=CC(x["H"](e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),i=0;i<e.length;i++)e[i].originalData=e[i].getData();for(i=0;i<e.length;i++)e[i].seriesGroup=e,e[i].needsDrawMap=0===i&&!e[i].getHostGeoModel(),e[i].setData(n.cloneShallow()),e[i].mainSeries=e[0]}))}function PC(e){var t={};e.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!t[i]){var r={};x["k"](n.seriesGroup,(function(t){var n=t.coordinateSystem,i=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&i.each(i.mapDimension("value"),(function(e,t){var a=i.getName(t),o=n.getRegion(a);if(o&&!isNaN(e)){var s=r[a]||0,l=n.dataToPoint(o.getCenter());r[a]=s+1,i.setItemLayout(t,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(e){var t=a.getName(e),n=a.getItemLayout(e)||{};n.showLabel=!r[t],a.setItemLayout(e,n)})),t[i]=!0}}))}var NC=Y,RC=function(e){function t(t){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new li,n._rawTransformable=new li,n.name=t,n}return v(t,e),t.prototype.setBoundingRect=function(e,t,n,i){return this._rect=new je(e,t,n,i),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,n,i){this._transformTo(e,t,n,i),this._viewRect=new je(e,t,n,i)},t.prototype._transformTo=function(e,t,n,i){var r=this.getBoundingRect(),a=this._rawTransformable;a.transform=r.calculateTransform(new je(e,t,n,i));var o=a.parent;a.parent=null,a.decomposeTransform(),a.parent=o,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[er(e[0],t.getWidth()),er(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(),i=this.getCenter(),r=this.getZoom();i=Y([],i,e),n=Y([],n,e),t.originX=i[0],t.originY=i[1],t.x=n[0]-i[0],t.y=n[1]-i[1],t.scaleX=t.scaleY=r,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),we(this.transform||(this.transform=[]),t.transform||xe()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],De(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,n=new li;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 i=t?this._rawTransform:this.transform;return n=n||[],i?NC(n,e,i):w(n,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?NC([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,n){var i=YC(t);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var i=YC(t);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(li);function YC(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var zC=RC,HC={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},jC=["lng","lat"],FC=function(e){function t(t,n,i){var r=e.call(this,t)||this;r.dimensions=jC,r.type="geo",r._nameCoordMap=x["f"](),r.map=n;var a,o=i.projection,s=dC.load(n,i.nameMap,i.nameProperty),l=dC.getGeoResource(n),u=(r.resourceType=l?l.type:null,r.regions=s.regions),c=HC[l.type];if(r._regionsMap=s.regionsMap,r.regions=s.regions,r.projection=o,o)for(var h=0;h<u.length;h++){var d=u[h].getBoundingRect(o);a=a||d.clone(),a.union(d)}else a=s.boundingRect;return r.setBoundingRect(a.x,a.y,a.width,a.height),r.aspectScale=o?1:x["P"](i.aspectScale,c.aspectScale),r._invertLongitute=!o&&c.invertLongitute,r}return v(t,e),t.prototype._transformTo=function(e,t,n,i){var r=this.getBoundingRect(),a=this._invertLongitute;r=r.clone(),a&&(r.y=-r.y-r.height);var o=this._rawTransformable;o.transform=r.calculateTransform(new je(e,t,n,i));var s=o.parent;o.parent=null,o.decomposeTransform(),o.parent=s,a&&(o.scaleY=-o.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 i=t[n];if("geoJSON"===i.type&&i.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(x["C"](e)&&(e=this.getGeoCoord(e)),e){var i=this.projection;return i&&(e=i.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,i){return e.prototype.dataToPoint.call(this,t,n,i)},t.prototype.convertToPixel=function(e,t,n){var i=BC(t);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var i=BC(t);return i===this?i.pointToData(n):null},t}(zC);function BC(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",Qr).models[0]||{}).coordinateSystem:null}x["K"](FC,zC);var VC=FC;function GC(e,t){var n=e.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var a=this.projection;if(a){var o=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var c=function(e,t,n,o){for(var s=n-e,l=o-t,u=0;u<=100;u++){var c=u/100,h=a.project([e+s*c,t+l*c]);z(i,i,h),H(r,r,h)}};c(o,s,l,s),c(l,s,l,u),c(l,u,o,u),c(o,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else 0}var h,d,f,p=this.getBoundingRect(),m=e.get("layoutCenter"),g=e.get("layoutSize"),y=t.getWidth(),v=t.getHeight(),_=p.width/p.height*this.aspectScale,x=!1;if(m&&g&&(h=[er(m[0],y),er(m[1],v)],d=er(g,Math.min(y,v)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(x=!0)),x)f={},_>1?(f.width=d,f.height=d/_):(f.height=d,f.width=d*_),f.y=h[1]-f.height/2,f.x=h[0]-f.width/2;else{var b=e.getBoxLayoutParams();b.aspect=_,f=ah(b,{width:y,height:v})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function WC(e,t){x["k"](t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var UC=function(){function e(){this.dimensions=jC}return e.prototype.create=function(e,t){var n=[];function i(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,r){var a=e.get("map"),o=new VC(a+r,a,x["m"]({nameMap:e.get("nameMap")},i(e)));o.zoomLimit=e.get("scaleLimit"),n.push(o),e.coordinateSystem=o,o.model=e,o.resize=GC,o.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var i=e.get("geoIndex")||0;e.coordinateSystem=n[i]}}));var r={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();r[t]=r[t]||[],r[t].push(e)}})),x["k"](r,(function(e,r){var a=x["H"](e,(function(e){return e.get("nameMap")})),o=new VC(r,r,x["m"]({nameMap:x["J"](a)},i(e[0])));o.zoomLimit=x["O"].apply(null,x["H"](e,(function(e){return e.get("scaleLimit")}))),n.push(o),o.resize=GC,o.resize(e[0],t),x["k"](e,(function(e){e.coordinateSystem=o,WC(o,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,i){for(var r=(e||[]).slice(),a=x["f"](),o=0;o<r.length;o++)a.set(r[o].name,r[o]);var s=dC.load(t,n,i);return x["k"](s.regions,(function(e){var t=e.name;!a.get(t)&&r.push({name:t})})),r},e}(),XC=new UC,ZC=XC,qC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(e,t,n){var i=dC.getGeoResource(e.map);if(i&&"geoJSON"===i.type){var r=e.itemStyle=e.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(e,n),Ar(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=ZC.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var n={};this._optionModelMap=x["N"](t.regions||[],(function(t,i){var r=i.name;return r&&(t.set(r,new Gu(i,e,e.ecModel)),i.selected&&(n[r]=!0)),t}),x["f"]()),t.selectedMap||(t.selectedMap=n)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Gu(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var n=this.getRegionModel(e),i="normal"===t?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:e};return x["w"](i)?(r.status=t,i(r)):x["C"](i)?i.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 i=t.selectedMap||(t.selectedMap={});i[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}(mh),$C=qC;function JC(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function KC(e,t,n,i){var r=e.getZoom(),a=e.getCenter(),o=t.zoom,s=e.projectedToPoint?e.projectedToPoint(a):e.dataToPoint(a);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(JC(e,s),i)),null!=o){if(n){var l=n.min||0,u=n.max||1/0;o=Math.max(Math.min(r*o,u),l)/r}e.scaleX*=o,e.scaleY*=o;var c=(t.originX-e.x)*(o-1),h=(t.originY-e.y)*(o-1);e.x-=c,e.y-=h,e.updateTransform(),e.setCenter(JC(e,s),i),e.setZoom(o*r)}return{center:e.getCenter(),zoom:e.getZoom()}}var QC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return v(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,n,i){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new DC(n));var r=this._mapDraw;r.draw(e,t,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=e.get("silent"),this.group.add(r.group),this.updateSelectStatus(e,t,n)},t.prototype._handleRegionClick=function(e){var t;hv(e.target,(function(e){return null!=(t=Gs(e).eventData)}),!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,n){var i=this;this._mapDraw.group.traverse((function(e){var t=Gs(e).eventData;if(t)return i._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}(Wp),eE=QC;function tE(e,t,n){dC.registerMap(e,t,n)}function nE(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,(function(e,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var a=n.coordinateSystem;Object(x["k"])(a.regions,(function(e){i[e.name]=n.isSelected(e.name)||!1}));var o=[];Object(x["k"])(i,(function(e,t){i[t]&&o.push(t)})),r.push({geoIndex:n.componentIndex,name:o})})),{selected:i,allSelected:r,name:e.name}}))}e.registerCoordinateSystem("geo",ZC),e.registerComponentModel($C),e.registerComponentView(eE),e.registerImpl("registerMap",tE),e.registerImpl("getMap",(function(e){return dC.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 i=e.componentType||"series";t.eachComponent({mainType:i,query:e},(function(t){var r=t.coordinateSystem;if("geo"===r.type){var a=KC(r,e,t.get("scaleLimit"),n);t.setCenter&&t.setCenter(a.center),t.setZoom&&t.setZoom(a.zoom),"series"===i&&Object(x["k"])(t.seriesGroup,(function(e){e.setCenter(a.center),e.setZoom(a.zoom)}))}}))}))}function iE(e){IM(nE),e.registerChartView(OC),e.registerSeriesModel(IC),e.registerLayout(PC),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,EC),lv("map",e.registerAction)}function rE(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var n,i,r=[t];while(n=r.pop())if(i=n.children,n.isExpand&&i.length)for(var a=i.length,o=a-1;o>=0;o--){var s=i[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(s)}}function aE(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,r=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){cE(e);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(e.hierNode.prelim=r.hierNode.prelim+t(e,r),e.hierNode.modifier=e.hierNode.prelim-a):e.hierNode.prelim=a}else r&&(e.hierNode.prelim=r.hierNode.prelim+t(e,r));e.parentNode.hierNode.defaultAncestor=hE(e,r,e.parentNode.hierNode.defaultAncestor||i[0],t)}function oE(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function sE(e){return arguments.length?e:gE}function lE(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function uE(e,t){return ah(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function cE(e){var t=e.children,n=t.length,i=0,r=0;while(--n>=0){var a=t[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,r+=a.hierNode.change,i+=a.hierNode.shift+r}}function hE(e,t,n,i){if(t){var r=e,a=e,o=a.parentNode.children[0],s=t,l=r.hierNode.modifier,u=a.hierNode.modifier,c=o.hierNode.modifier,h=s.hierNode.modifier;while(s=dE(s),a=fE(a),s&&a){r=dE(r),o=fE(o),r.hierNode.ancestor=e;var d=s.hierNode.prelim+h-a.hierNode.prelim-u+i(s,a);d>0&&(mE(pE(s,e,n),e,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=r.hierNode.modifier,c+=o.hierNode.modifier}s&&!dE(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),a&&!fE(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-c,n=e)}return n}function dE(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function fE(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function pE(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function mE(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function gE(e,t){return e.parentNode===t.parentNode?1:2}var yE=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),vE=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new yE},t.prototype.buildPath=function(e,t){var n=t.childPoints,i=n.length,r=t.parentPoint,a=n[0],o=n[i-1];if(1===i)return e.moveTo(r[0],r[1]),void e.lineTo(a[0],a[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=er(t.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(o[u]-r[u])*c,e.moveTo(r[0],r[1]),e.lineTo(h[0],h[1]),e.moveTo(a[0],a[1]),h[l]=a[l],e.lineTo(h[0],h[1]),h[l]=o[l],e.lineTo(h[0],h[1]),e.lineTo(o[0],o[1]);for(var d=1;d<i-1;d++){var f=n[d];e.moveTo(f[0],f[1]),h[l]=f[l],e.lineTo(h[0],h[1])}},t}(ls),_E=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new Ni,n}return v(t,e),t.prototype.init=function(e,t){this._controller=new mI(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,n){var i=e.getData(),r=e.layoutInfo,a=this._mainGroup,o=e.get("layout");"radial"===o?(a.x=r.x+r.width/2,a.y=r.y+r.height/2):(a.x=r.x,a.y=r.y),this._updateViewCoordSys(e,n),this._updateController(e,t,n);var s=this._data;i.diff(s).add((function(t){xE(i,t)&&bE(i,t,null,a,e)})).update((function(t,n){var r=s.getItemGraphicEl(n);xE(i,t)?bE(i,t,r,a,e):r&&TE(s,n,r,a,e)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&TE(s,t,n,a,e)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&i.eachItemGraphicEl((function(t,i){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:i})}))})),this._data=i},t.prototype._updateViewCoordSys=function(e,t){var n=e.getData(),i=[];n.each((function(e){var t=n.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||i.push([+t.x,+t.y])}));var r=[],a=[];uo(i,r,a);var o=this._min,s=this._max;a[0]-r[0]===0&&(r[0]=o?o[0]:r[0]-1,a[0]=s?s[0]:a[0]+1),a[1]-r[1]===0&&(r[1]=o?o[1]:r[1]-1,a[1]=s?s[1]:a[1]+1);var l=e.coordinateSystem=new zC;l.zoomLimit=e.get("scaleLimit"),l.setBoundingRect(r[0],r[1],a[0]-r[0],a[1]-r[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=r,this._max=a},t.prototype._updateController=function(e,t,n){var i=this,r=this._controller,a=this._controllerHost,o=this.group;r.setPointerChecker((function(t,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!xI(t,n,e)})),r.enable(e.get("roam")),a.zoomLimit=e.get("scaleLimit"),a.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){gI(a,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){yI(a,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),i._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,i=t.scaleX||1,r=t.getZoom(),a=(r-1)*n+1;return a/i},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}(dy);function xE(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function bE(e,t,n,i,r){var a=!n,o=e.tree.getNodeByDataIndex(t),s=o.getModel(),l=o.getVisual("style").fill,u=!1===o.isExpand&&0!==o.children.length?l:"#fff",c=e.tree.root,h=o.parentNode===c?o:o.parentNode||o,d=e.getItemGraphicEl(h.dataIndex),f=h.getLayout(),p=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:f,m=o.getLayout();a?(n=new dD(e,t,null,{symbolInnerColor:u,useNameLabel:!0}),n.x=p.x,n.y=p.y):n.updateData(e,t,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,i.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,su(n,{x:m.x,y:m.y},r);var g=n.getSymbolPath();if("radial"===r.get("layout")){var y=c.children[0],v=y.getLayout(),_=y.children.length,b=void 0,w=void 0;if(m.x===v.x&&!0===o.isExpand&&y.children.length){var M={x:(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2};b=Math.atan2(M.y-v.y,M.x-v.x),b<0&&(b=2*Math.PI+b),w=M.x<v.x,w&&(b-=Math.PI)}else b=Math.atan2(m.y-v.y,m.x-v.x),b<0&&(b=2*Math.PI+b),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(w=m.x<v.x,w&&(b-=Math.PI)):(w=m.x>v.x,w||(b-=Math.PI));var S=w?"left":"right",T=s.getModel("label"),L=T.get("rotate"),D=L*(Math.PI/180),A=g.getTextContent();A&&(g.setTextConfig({position:T.get("position")||S,rotation:null==L?-b:D,origin:"center"}),A.setStyle("verticalAlign","middle"))}var O=s.get(["emphasis","focus"]),k="relative"===O?x["e"](o.getAncestorsIndices(),o.getDescendantIndices()):"ancestor"===O?o.getAncestorsIndices():"descendant"===O?o.getDescendantIndices():null;k&&(Gs(n).focus=k),wE(r,o,c,n,p,f,m,i),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var i=o.parentNode&&e.getItemGraphicEl(o.parentNode.dataIndex);i&&i.hoverState===Js||vl(n.__edge,t)}})}function wE(e,t,n,i,r,a,o,s){var l=t.getModel(),u=e.get("edgeShape"),c=e.get("layout"),h=e.getOrient(),d=e.get(["lineStyle","curveness"]),f=e.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),m=i.__edge;if("curve"===u)t.parentNode&&t.parentNode!==n&&(m||(m=i.__edge=new ag({shape:LE(c,h,d,r,r)})),su(m,{shape:LE(c,h,d,a,o)},e));else if("polyline"===u)if("orthogonal"===c){if(t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var g=t.children,y=[],v=0;v<g.length;v++){var _=g[v].getLayout();y.push([_.x,_.y])}m||(m=i.__edge=new vE({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:h,forkPosition:f}})),su(m,{shape:{parentPoint:[o.x,o.y],childPoints:y}},e)}}else 0;m&&("polyline"!==u||t.isExpand)&&(m.useStyle(x["i"]({strokeNoScale:!0,fill:null},p)),$l(m,l,"lineStyle"),Sl(m),s.add(m))}function ME(e,t,n,i,r){var a=t.tree.root,o=SE(a,e),s=o.source,l=o.sourceLayout,u=t.getItemGraphicEl(e.dataIndex);if(u){var c=t.getItemGraphicEl(s.dataIndex),h=c.__edge,d=u.__edge||(!1===s.isExpand||1===s.children.length?h:void 0),f=i.get("edgeShape"),p=i.get("layout"),m=i.get("orient"),g=i.get(["lineStyle","curveness"]);d&&("curve"===f?cu(d,{shape:LE(p,m,g,l,l),style:{opacity:0}},i,{cb:function(){n.remove(d)},removeOpt:r}):"polyline"===f&&"orthogonal"===i.get("layout")&&cu(d,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},i,{cb:function(){n.remove(d)},removeOpt:r}))}}function SE(e,t){var n,i=t.parentNode===e?t:t.parentNode||t;while(n=i.getLayout(),null==n)i=i.parentNode===e?i:i.parentNode||i;return{source:i,sourceLayout:n}}function TE(e,t,n,i,r){var a=e.tree.getNodeByDataIndex(t),o=e.tree.root,s=SE(o,a).sourceLayout,l={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};cu(n,{x:s.x+1,y:s.y+1},r,{cb:function(){i.remove(n),e.setItemGraphicEl(t,null)},removeOpt:l}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:l}),a.children.forEach((function(t){ME(t,e,i,r,l)})),ME(a,e,i,r,l)}function LE(e,t,n,i,r){var a,o,s,l,u,c,h,d;if("radial"===e){u=i.rawX,h=i.rawY,c=r.rawX,d=r.rawY;var f=lE(u,h),p=lE(u,h+(d-h)*n),m=lE(c,d+(h-d)*n),g=lE(c,d);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=i.x,h=i.y,c=r.x,d=r.y,"LR"!==t&&"RL"!==t||(a=u+(c-u)*n,o=h,s=c+(u-c)*n,l=d),"TB"!==t&&"BT"!==t||(a=u,o=h+(d-h)*n,s=c,l=d+(h-d)*n),{x1:u,y1:h,x2:c,y2:d,cpx1:a,cpy1:o,cpx2:s,cpy2:l}}var DE=_E,AE=qr();function OE(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,RE(t,n,e),Object(x["k"])(n,(function(n){Object(x["k"])(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,Object(x["h"])(kE,e))}))})),t.wrapMethod("cloneShallow",Object(x["h"])(CE,e)),Object(x["k"])(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,Object(x["h"])(IE,e))})),Object(x["b"])(n[t.dataType]===t)}function kE(e,t){if(NE(this)){var n=Object(x["m"])({},AE(this).datas);n[this.dataType]=t,RE(t,n,e)}else YE(t,this.dataType,AE(this).mainData,e);return t}function IE(e,t){return e.struct&&e.struct.update(),t}function CE(e,t){return Object(x["k"])(AE(t).datas,(function(n,i){n!==t&&YE(n.cloneShallow(),i,t,e)})),t}function EE(e){var t=AE(this).mainData;return null==e||null==t?t:AE(t).datas[e]}function PE(){var e=AE(this).mainData;return null==e?[{data:e}]:Object(x["H"])(Object(x["F"])(AE(e).datas),(function(t){return{type:t,data:AE(e).datas[t]}}))}function NE(e){return AE(e).mainData===e}function RE(e,t,n){AE(e).datas={},Object(x["k"])(t,(function(t,i){YE(t,i,e,n)}))}function YE(e,t,n,i){AE(n).datas[t]=e,AE(e).mainData=n,e.dataType=t,i.struct&&(e[i.structAttr]=i.struct,i.struct[i.datasAttr[t]]=e),e.getLinkedData=EE,e.getLinkedDataAll=PE}var zE=OE,HE=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){x["w"](e)&&(n=t,t=e,e=null),e=e||{},x["C"](e)&&(e={order:e});var i,r=e.order||"preorder",a=this[e.attr||"children"];"preorder"===r&&(i=t.call(n,this));for(var o=0;!i&&o<a.length;o++)a[o].eachNode(e,t,n);"postorder"===r&&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 i=this.children[n];i.updateDepthAndHeight(e+1),i.height>t&&(t=i.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t<i;t++){var r=n[t].getNodeById(e);if(r)return r}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,n=this.children,i=n.length;t<i;t++){var r=n[t].contains(e);if(r)return r}},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}(),jE=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,i=t.length;n<i;n++)t[n].dataIndex=-1;for(n=0,i=e.count();n<i;n++)t[e.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,i){var r=new e(n),a=[],o=1;function s(e,t){var n=e.value;o=Math.max(o,x["t"](n)?n.length:1),a.push(e);var i=new HE(Fr(e.name,""),r);t?FE(i,t):r.root=i,r._nodes.push(i);var l=e.children;if(l)for(var u=0;u<l.length;u++)s(l[u],i)}s(t),r.root.updateDepthAndHeight(0);var l=Nb(a,{coordDimensions:["value"],dimensionsCount:o}).dimensions,u=new Eb(l,n);return u.initData(a),i&&i(u),zE({mainData:u,struct:r,structAttr:"tree"}),r.update(),r},e}();function FE(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}var BE=jE;function VE(e,t,n){if(e&&x["r"](t,e.type)>=0){var i=n.getData().tree.root,r=e.targetNode;if(x["C"](r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var a=e.targetNodeId;if(null!=a&&(r=i.getNodeById(a)))return{node:r}}}function GE(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function WE(e,t){var n=GE(e);return x["r"](n,t)>=0}function UE(e,t){var n=[];while(e){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}var XE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return v(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i=new Gu(n,this,this.ecModel),r=BE.createTree(t,this,a);function a(e){e.wrapMethod("getItemModel",(function(e,t){var n=r.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=i),e}))}var o=0;r.eachNode("preorder",(function(e){e.depth>o&&(o=e.depth)}));var s=e.expandAndCollapse,l=s&&e.initialTreeDepth>=0?e.initialTreeDepth:o;return r.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),r.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 i=this.getData().tree,r=i.root.children[0],a=i.getNodeByDataIndex(e),o=a.getValue(),s=a.name;while(a&&a!==r)s=a.parentNode.name+"."+s,a=a.parentNode;return fp("nameValue",{name:s,value:o,noValue:isNaN(o)||null==o})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=UE(i,this),n.collapsed=!i.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}(Vp),ZE=XE;function qE(e,t,n){var i,r=[e],a=[];while(i=r.pop())if(a.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s<o.length;s++)r.push(o[s])}while(i=a.pop())t(i,n)}function $E(e,t){var n,i=[e];while(n=i.pop())if(t(n),n.isExpand){var r=n.children;if(r.length)for(var a=r.length-1;a>=0;a--)i.push(r[a])}}function JE(e,t){e.eachSeriesByType("tree",(function(e){KE(e,t)}))}function KE(e,t){var n=uE(e,t);e.layoutInfo=n;var i=e.get("layout"),r=0,a=0,o=null;"radial"===i?(r=2*Math.PI,a=Math.min(n.height,n.width)/2,o=sE((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(r=n.width,a=n.height,o=sE());var s=e.getData().tree.root,l=s.children[0];if(l){rE(s),qE(l,aE,o),s.hierNode.modifier=-l.hierNode.prelim,$E(l,oE);var u=l,c=l,h=l;$E(l,(function(e){var t=e.getLayout().x;t<u.getLayout().x&&(u=e),t>c.getLayout().x&&(c=e),e.depth>h.depth&&(h=e)}));var d=u===c?1:o(u,c)/2,f=d-u.getLayout().x,p=0,m=0,g=0,y=0;if("radial"===i)p=r/(c.getLayout().x+d+f),m=a/(h.depth-1||1),$E(l,(function(e){g=(e.getLayout().x+f)*p,y=(e.depth-1)*m;var t=lE(g,y);e.setLayout({x:t.x,y:t.y,rawX:g,rawY:y},!0)}));else{var v=e.getOrient();"RL"===v||"LR"===v?(m=a/(c.getLayout().x+d+f),p=r/(h.depth-1||1),$E(l,(function(e){y=(e.getLayout().x+f)*m,g="LR"===v?(e.depth-1)*p:r-(e.depth-1)*p,e.setLayout({x:g,y:y},!0)}))):"TB"!==v&&"BT"!==v||(p=r/(c.getLayout().x+d+f),m=a/(h.depth-1||1),$E(l,(function(e){g=(e.getLayout().x+f)*p,y="TB"===v?(e.depth-1)*m:a-(e.depth-1)*m,e.setLayout({x:g,y:y},!0)})))}}}function QE(e){e.eachSeriesByType("tree",(function(e){var t=e.getData(),n=t.tree;n.eachNode((function(e){var n=e.getModel(),i=n.getModel("itemStyle").getItemStyle(),r=t.ensureUniqueItemVisual(e.dataIndex,"style");Object(x["m"])(r,i)}))}))}function eP(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,i=t.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t,n){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var i=t.coordinateSystem,r=KC(i,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))}function tP(e){e.registerChartView(DE),e.registerSeriesModel(ZE),e.registerLayout(JE),e.registerVisual(QE),eP(e)}var nP=["treemapZoomToNode","treemapRender","treemapMove"];function iP(e){for(var t=0;t<nP.length;t++)e.registerAction({type:nP[t],update:"updateView"},x["L"]);e.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){function n(t,n){var i=["treemapZoomToNode","treemapRootToNode"],r=VE(e,i,t);if(r){var a=t.getViewRoot();a&&(e.direction=WE(a,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},n)}))}function rP(e){var t=e.getData(),n=t.tree,i={};n.eachNode((function(t){var n=t;while(n&&n.depth>1)n=n.parentNode;var r=Vh(e.ecModel,n.name||n.dataIndex+"",i);t.setVisual("decal",r)}))}var aP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return v(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};oP(n);var i=e.levels||[],r=this.designatedVisualItemStyle={},a=new Gu({itemStyle:r},this,t);i=e.levels=sP(i,t);var o=x["H"](i||[],(function(e){return new Gu(e,a,t)}),this),s=BE.createTree(n,this,l);function l(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),i=n?o[n.depth]:null;return e.parentModel=i||a,e}))}return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var i=this.getData(),r=this.getRawValue(e),a=i.getName(e);return fp("nameValue",{name:a,value:r})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=UE(i,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},x["m"](this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=x["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(){rP(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}(Vp);function oP(e){var t=0;x["k"](e.children,(function(e){oP(e);var n=e.value;x["t"](n)&&(n=n[0]),t+=n}));var n=e.value;x["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),x["t"](e.value)?e.value[0]=n:e.value=n}function sP(e,t){var n=Dr(t.get("color")),i=Dr(t.get(["aria","decal","decals"]));if(n){var r,a;e=e||[],x["k"](e,(function(e){var t=new Gu(e),n=t.get("color"),i=t.get("decal");(t.get(["itemStyle","color"])||n&&"none"!==n)&&(r=!0),(t.get(["itemStyle","decal"])||i&&"none"!==i)&&(a=!0)}));var o=e[0]||(e[0]={});return r||(o.color=n.slice()),!a&&i&&(o.decal=i.slice()),e}}var lP=aP,uP=8,cP=8,hP=5,dP=function(){function e(e){this.group=new Ni,e.add(this.group)}return e.prototype.render=function(e,t,n,i){var r=e.getModel("breadcrumb"),a=this.group;if(a.removeAll(),r.get("show")&&n){var o=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=o.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(e,c,o,s,l,u,i),oh(a,c.pos,c.box)}},e.prototype._prepare=function(e,t,n){for(var i=e;i;i=i.parentNode){var r=Fr(i.getModel().get("name"),""),a=n.getTextRect(r),o=Math.max(a.width+2*uP,t.emptyItemWidth);t.totalWidth+=o+cP,t.renderList.push({node:i,text:r,width:o})}},e.prototype._renderContent=function(e,t,n,i,r,a,o){for(var s=0,l=t.emptyItemWidth,u=e.get(["breadcrumb","height"]),c=rh(t.pos,t.box),h=t.totalWidth,d=t.renderList,f=i.getModel("itemStyle").getItemStyle(),p=d.length-1;p>=0;p--){var m=d[p],g=m.node,y=m.width,v=m.text;h>c.width&&(h-=y-l,y=l,v=null);var _=new Xm({shape:{points:fP(s,0,y,u,p===d.length-1,0===p)},style:Object(x["i"])(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Vs({style:xu(r,{text:v})}),textConfig:{position:"inside"},z2:1e4*tl,onclick:Object(x["h"])(o,g)});_.disableLabelAnimation=!0,_.getTextContent().ensureState("emphasis").style=xu(a,{text:v}),_.ensureState("emphasis").style=f,Ul(_,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(_),pP(_,e,g),s+=y+cP}},e.prototype.remove=function(){this.group.removeAll()},e}();function fP(e,t,n,i,r,a){var o=[[r?e:e-hP,t],[e+n,t],[e+n,t+i],[r?e:e-hP,t+i]];return!a&&o.splice(2,0,[e+n+hP,t+i/2]),!r&&o.push([e,t+i/2]),o}function pP(e,t,n){Gs(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&&UE(n,t)}}var mP=dP,gP=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,i,r){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:i,easing:r}),!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())},i=0,r=this._storage.length;i<r;i++){var a=this._storage[i];a.el.animateTo(a.target,{duration:a.duration,delay:a.delay,easing:a.easing,setToFinal:!0,done:n,aborted:n})}return this},e}();function yP(){return new gP}var vP=Ni,_P=Ts,xP=3,bP="label",wP="upperLabel",MP=10*tl,SP=2*tl,TP=3*tl,LP=ba([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),DP=function(e){var t=LP(e);return t.stroke=t.fill=t.lineWidth=null,t},AP=qr(),OP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage=kP(),n}return v(t,e),t.prototype.render=function(e,t,n,i){var r=t.findComponents({mainType:"series",subType:"treemap",query:i});if(!(Object(x["r"])(r,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var a=["treemapZoomToNode","treemapRootToNode"],o=VE(i,a,e),s=i&&i.type,l=e.layoutInfo,u=!this._oldTree,c=this._storage,h="treemapRootToNode"===s&&o&&c?{rootNodeGroup:c.nodeGroup[o.node.getRawIndex()],direction:i.direction}:null,d=this._giveContainerGroup(l),f=e.get("animation"),p=this._doRender(d,e,h);!f||u||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?p.renderFinally():this._doAnimation(d,p,e,h),this._resetController(n),this._renderBreadcrumb(e,n,o)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new vP,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var i=t.getData().tree,r=this._oldTree,a=kP(),o=kP(),s=this._storage,l=[];function u(e,i,r,u){return IP(t,o,s,n,a,l,e,i,r,u)}f(i.root?[i.root]:[],r&&r.root?[r.root]:[],e,i===r||!r,0);var c=p(s);if(this._oldTree=i,this._storage=o,this._controllerHost){var h=this.seriesModel.layoutInfo,d=i.root.getLayout();d.width===h.width&&d.height===h.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:a,willDeleteEls:c,renderFinally:m};function f(e,t,n,i,r){function a(e){return e.getId()}function o(a,o){var s=null!=a?e[a]:null,l=null!=o?t[o]:null,c=u(s,l,n,r);c&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],c,i,r+1)}i?(t=e,Object(x["k"])(e,(function(e,t){!e.isRemoved()&&o(t,t)}))):new ib(t,e,a,a).add(o).update(o).remove(Object(x["h"])(o,null)).execute()}function p(e){var t=kP();return e&&Object(x["k"])(e,(function(e,n){var i=t[n];Object(x["k"])(e,(function(e){e&&(i.push(e),AP(e).willDelete=!0)}))})),t}function m(){Object(x["k"])(c,(function(e){Object(x["k"])(e,(function(e){e.parent&&e.parent.remove(e)}))})),Object(x["k"])(l,(function(e){e.invisible=!0,e.dirty()}))}},t.prototype._doAnimation=function(e,t,n,i){var r=n.get("animationDurationUpdate"),a=n.get("animationEasing"),o=(Object(x["w"])(r)?0:r)||0,s=(Object(x["w"])(a)?null:a)||"cubicOut",l=yP();Object(x["k"])(t.willDeleteEls,(function(e,t){Object(x["k"])(e,(function(e,n){if(!e.invisible){var r,a=e.parent,u=AP(a);if(i&&"drillDown"===i.direction)r=a===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;u.willDelete||(c=u.nodeWidth/2,h=u.nodeHeight/2),r="nodeGroup"===t?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&l.add(e,r,o,0,s)}}))})),Object(x["k"])(this._storage,(function(e,n){Object(x["k"])(e,(function(e,i){var r=t.lastsForAnimation[n][i],a={};r&&(e instanceof Ni?null!=r.oldX&&(a.x=e.x,a.y=e.y,e.x=r.oldX,e.y=r.oldY):(r.oldShape&&(a.shape=Object(x["m"])({},e.shape),e.setShape(r.oldShape)),r.fadein?(e.setStyle("opacity",0),a.style={opacity:1}):1!==e.style.opacity&&(a.style={opacity:1})),l.add(e,a,o,0,s))}))}),this),this._state="animating",l.finished(Object(x["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 mI(e.getZr()),t.enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),t.on("pan",Object(x["c"])(this._onPan,this)),t.on("zoom",Object(x["c"])(this._onZoom,this)));var i=new je(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return i.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)>xP||Math.abs(e.dy)>xP)){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,i=e.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var a=r.getLayout();if(!a)return;var o=new je(a.x,a.y,a.width,a.height),s=null,l=this._controllerHost;s=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,s){var c=s.min||0,h=s.max||1/0;u=Math.max(Math.min(h,u),c)}var d=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo;t-=f.x,n-=f.y;var p=xe();Se(p,p,[-t,-n]),Le(p,p,[d,d]),Se(p,p,[t,n]),o.applyTransform(p),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.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 i=t.findTarget(e.offsetX,e.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)t._rootToNode(i);else if("zoomToNode"===n)t._zoomToNode(i);else if("link"===n){var a=r.hostTree.data.getItemModel(r.dataIndex),o=a.get("link",!0),s=a.get("target",!0)||"blank";o&&Kc(o,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var i=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 mP(this.group))).render(e,t,n.node,(function(t){"animating"!==i._state&&(WE(e.getViewRoot(),t)?i._rootToNode({node:t}):i._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=kP(),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,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var a=r.transformCoordToLocal(e,t),o=r.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}}),this),n},t.type="treemap",t}(dy);function kP(){return{nodeGroup:[],background:[],content:[]}}function IP(e,t,n,i,r,a,o,s,l,u){if(o){var c=o.getLayout(),h=e.getData(),d=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),c&&c.isInView){var f=c.width,p=c.height,m=c.borderWidth,g=c.invisible,y=o.getRawIndex(),v=s&&s.getRawIndex(),_=o.viewChildren,b=c.upperHeight,w=_&&_.length,M=d.getModel("itemStyle"),S=d.getModel(["emphasis","itemStyle"]),T=d.getModel(["blur","itemStyle"]),L=d.getModel(["select","itemStyle"]),D=M.get("borderRadius")||0,A=F("nodeGroup",vP);if(A){if(l.add(A),A.x=c.x||0,A.y=c.y||0,A.markRedraw(),AP(A).nodeWidth=f,AP(A).nodeHeight=p,c.isAboveViewRoot)return A;var O=F("background",_P,u,SP);O&&R(A,O,w&&c.upperLabelHeight);var k=d.getModel("emphasis"),I=k.get("focus"),C=k.get("blurScope"),E=k.get("disabled"),P="ancestor"===I?o.getAncestorsIndices():"descendant"===I?o.getDescendantIndices():I;if(w)Kl(A)&&Jl(A,!1),O&&(Jl(O,!E),h.setItemGraphicEl(o.dataIndex,O),Xl(O,P,C));else{var N=F("content",_P,u,TP);N&&Y(A,N),O.disableMorphing=!0,O&&Kl(O)&&Jl(O,!1),Jl(A,!E),h.setItemGraphicEl(o.dataIndex,A),Xl(A,P,C)}return A}}}function R(t,n,i){var r=Gs(n);if(r.dataIndex=o.dataIndex,r.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:f,height:p,r:D}),g)z(n);else{n.invisible=!1;var a=o.getVisual("style"),s=a.stroke,l=DP(M);l.fill=s;var u=LP(S);u.fill=S.get("borderColor");var c=LP(T);c.fill=T.get("borderColor");var h=LP(L);if(h.fill=L.get("borderColor"),i){var d=f-2*m;H(n,s,a.opacity,{x:m,y:0,width:d,height:b})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=h,Sl(n)}t.add(n)}function Y(t,n){var i=Gs(n);i.dataIndex=o.dataIndex,i.seriesIndex=e.seriesIndex;var r=Math.max(f-2*m,0),a=Math.max(p-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:r,height:a,r:D}),g)z(n);else{n.invisible=!1;var s=o.getVisual("style"),l=s.fill,u=DP(M);u.fill=l,u.decal=s.decal;var c=LP(S),h=LP(T),d=LP(L);H(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=h,n.ensureState("select").style=d,Sl(n)}t.add(n)}function z(e){!e.invisible&&a.push(e)}function H(t,n,i,r){var a=d.getModel(r?wP:bP),s=Fr(d.get("name"),null),l=a.getShallow("show");vu(t,_u(d,r?wP:bP),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:e,labelDataIndex:o.dataIndex});var u=t.getTextContent();if(u){var h=u.style,f=Object(x["M"])(h.padding||0);r&&(t.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var e=Math.max((r?r.width:t.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:t.shape.height)-f[0]-f[2],0);h.width===e&&h.height===n||u.setStyle({width:e,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",j(h,r,c);var p=u.getState("emphasis");j(p?p.style:null,r,c)}}function j(t,n,i){var r=t?t.text:null;if(!n&&i.isLeafRoot&&null!=r){var a=e.get("drillDownIcon",!0);t.text=a?a+" "+r:r}}function F(e,i,a,o){var s=null!=v&&n[e][v],l=r[e];return s?(n[e][v]=null,B(l,s)):g||(s=new i,s instanceof eo&&(s.z2=CP(a,o)),V(l,s)),t[e][y]=s}function B(e,t){var n=e[y]={};t instanceof vP?(n.oldX=t.x,n.oldY=t.y):n.oldShape=Object(x["m"])({},t.shape)}function V(e,t){var n=e[y]={},a=o.parentNode,s=t instanceof Ni;if(a&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=r.background[a.getRawIndex()];!i&&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 CP(e,t){return e*MP+t}var EP=OP,PP=x["k"],NP=x["A"],RP=-1,YP=function(){function e(t){var n=t.mappingMethod,i=t.type,r=this.option=x["d"](t);this.type=i,this.mappingMethod=n,this._normalizeData=qP[n];var a=e.visualHandlers[i];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],"piecewise"===n?(jP(r),zP(r)):"category"===n?r.categories?HP(r):jP(r,!0):(x["b"]("linear"!==n||r.dataExtent),jP(r))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return x["c"](this._normalizeData,this)},e.listVisualTypes=function(){return x["F"](e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){x["A"](e)?x["k"](e,t,n):t.call(n,e)},e.mapVisual=function(t,n,i){var r,a=x["t"](t)?[]:x["A"](t)?{}:(r=!0,null);return e.eachVisual(t,(function(e,t){var o=n.call(i,e,t);r?a=o:a[t]=o})),a},e.retrieveVisuals=function(t){var n,i={};return t&&PP(e.visualHandlers,(function(e,r){t.hasOwnProperty(r)&&(i[r]=t[r],n=!0)})),n?i:null},e.prepareVisualTypes=function(e){if(x["t"](e))e=e.slice();else{if(!NP(e))return[];var t=[];PP(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 i,r=1/0,a=0,o=t.length;a<o;a++){var s=t[a].value;if(null!=s){if(s===e||x["C"](s)&&s===e+"")return a;n&&h(s,a)}}for(a=0,o=t.length;a<o;a++){var l=t[a],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if($P(c[1],e,u[1]))return a}else if(u[1]===1/0){if($P(c[0],u[0],e))return a}else if($P(c[0],u[0],e)&&$P(c[1],e,u[1]))return a;n&&h(u[0],a),n&&h(u[1],a)}}if(n)return e===1/0?t.length-1:e===-1/0?0:i;function h(t,n){var a=Math.abs(t-e);a<r&&(r=a,i=n)}},e.visualHandlers={color:{applyVisual:VP("color"),getColorMapper:function(){var e=this.option;return x["c"]("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),GP.call(this,e)}:function(t,n,i){var r=!!i;return!n&&(t=this._normalizeData(t)),i=$t["fastLerp"](t,e.parsedVisual,i),r?i:$t["stringify"](i,"rgba")},this)},_normalizedToVisual:{linear:function(e){return $t["stringify"]($t["fastLerp"](e,this.option.parsedVisual),"rgba")},category:GP,piecewise:function(e,t){var n=XP.call(this,t);return null==n&&(n=$t["stringify"]($t["fastLerp"](e,this.option.parsedVisual),"rgba")),n},fixed:WP}},colorHue:FP((function(e,t){return $t["modifyHSL"](e,t)})),colorSaturation:FP((function(e,t){return $t["modifyHSL"](e,null,t)})),colorLightness:FP((function(e,t){return $t["modifyHSL"](e,null,null,t)})),colorAlpha:FP((function(e,t){return $t["modifyAlpha"](e,t)})),decal:{applyVisual:VP("decal"),_normalizedToVisual:{linear:null,category:GP,piecewise:null,fixed:null}},opacity:{applyVisual:VP("opacity"),_normalizedToVisual:UP([0,1])},liftZ:{applyVisual:VP("liftZ"),_normalizedToVisual:{linear:WP,category:WP,piecewise:WP,fixed:WP}},symbol:{applyVisual:function(e,t,n){var i=this.mapValueToVisual(e);n("symbol",i)},_normalizedToVisual:{linear:BP,category:GP,piecewise:function(e,t){var n=XP.call(this,t);return null==n&&(n=BP.call(this,e)),n},fixed:WP}},symbolSize:{applyVisual:VP("symbolSize"),_normalizedToVisual:UP([0,1])}},e}();function zP(e){var t=e.pieceList;e.hasSpecialVisual=!1,x["k"](t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function HP(e){var t=e.categories,n=e.categoryMap={},i=e.visual;if(PP(t,(function(e,t){n[e]=t})),!x["t"](i)){var r=[];x["A"](i)?PP(i,(function(e,t){var i=n[t];r[null!=i?i:RP]=e})):r[RP]=i,i=ZP(e,r)}for(var a=t.length-1;a>=0;a--)null==i[a]&&(delete n[t[a]],t.pop())}function jP(e,t){var n=e.visual,i=[];x["A"](n)?PP(n,(function(e){i.push(e)})):null!=n&&i.push(n);var r={color:1,symbol:1};t||1!==i.length||r.hasOwnProperty(e.type)||(i[1]=i[0]),ZP(e,i)}function FP(e){return{applyVisual:function(t,n,i){var r=this.mapValueToVisual(t);i("color",e(n("color"),r))},_normalizedToVisual:UP([0,1])}}function BP(e){var t=this.option.visual;return t[Math.round(Qi(e,[0,1],[0,t.length-1],!0))]||{}}function VP(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function GP(e){var t=this.option.visual;return t[this.option.loop&&e!==RP?e%t.length:e]}function WP(){return this.option.visual[0]}function UP(e){return{linear:function(t){return Qi(t,e,this.option.visual,!0)},category:GP,piecewise:function(t,n){var i=XP.call(this,n);return null==i&&(i=Qi(t,e,this.option.visual,!0)),i},fixed:WP}}function XP(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=YP.findPieceIndex(e,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function ZP(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=x["H"](t,(function(e){var t=$t["parse"](e);return t||[0,0,0,1]}))),t}var qP={linear:function(e){return Qi(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=YP.findPieceIndex(e,t,!0);if(null!=n)return Qi(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?RP:t},fixed:x["L"]};function $P(e,t,n){return e?t<=n:t<n}var JP=YP,KP="itemStyle",QP=qr(),eN={seriesType:"treemap",reset:function(e){var t=e.getData().tree,n=t.root;n.isRemoved()||tN(n,{},e.getViewRoot().getAncestors(),e)}};function tN(e,t,n,i){var r=e.getModel(),a=e.getLayout(),o=e.hostTree.data;if(a&&!a.invisible&&a.isInView){var s,l=r.getModel(KP),u=nN(l,t,i),c=o.ensureUniqueItemVisual(e.dataIndex,"style"),h=l.get("borderColor"),d=l.get("borderColorSaturation");null!=d&&(s=iN(u),h=rN(d,s)),c.stroke=h;var f=e.viewChildren;if(f&&f.length){var p=oN(e,r,a,l,u,f);Object(x["k"])(f,(function(e,t){if(e.depth>=n.length||e===n[e.depth]){var a=lN(r,u,e,t,p,i);tN(e,a,n,i)}}))}else s=iN(u),c.fill=s}}function nN(e,t,n){var i=Object(x["m"])({},t),r=n.designatedVisualItemStyle;return Object(x["k"])(["color","colorAlpha","colorSaturation"],(function(n){r[n]=t[n];var a=e.get(n);r[n]=null,null!=a&&(i[n]=a)})),i}function iN(e){var t=aN(e,"color");if(t){var n=aN(e,"colorAlpha"),i=aN(e,"colorSaturation");return i&&(t=Object($t["modifyHSL"])(t,null,null,i)),n&&(t=Object($t["modifyAlpha"])(t,n)),t}}function rN(e,t){return null!=t?Object($t["modifyHSL"])(t,null,null,e):null}function aN(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function oN(e,t,n,i,r,a){if(a&&a.length){var o=sN(t,"color")||null!=r.color&&"none"!==r.color&&(sN(t,"colorAlpha")||sN(t,"colorSaturation"));if(o){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"),h={type:o.name,dataExtent:u,visual:o.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new JP(h);return QP(d).drColorMappingBy=c,d}}}function sN(e,t){var n=e.get(t);return Object(x["t"])(n)&&n.length?{name:t,range:n}:null}function lN(e,t,n,i,r,a){var o=Object(x["m"])({},t);if(r){var s=r.type,l="color"===s&&QP(r).drColorMappingBy,u="index"===l?i:"id"===l?a.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));o[s]=r.mapValueToVisual(u)}return o}var uN=Math.max,cN=Math.min,hN=x["O"],dN=x["k"],fN=["itemStyle","borderWidth"],pN=["itemStyle","gapWidth"],mN=["upperLabel","show"],gN=["upperLabel","height"],yN={seriesType:"treemap",reset:function(e,t,n,i){var r=n.getWidth(),a=n.getHeight(),o=e.option,s=ah(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=o.size||[],u=er(hN(s.width,l[0]),r),c=er(hN(s.height,l[1]),a),h=i&&i.type,d=["treemapZoomToNode","treemapRootToNode"],f=VE(i,d,e),p="treemapRender"===h||"treemapMove"===h?i.rootRect:null,m=e.getViewRoot(),g=GE(m);if("treemapMove"!==h){var y="treemapZoomToNode"===h?TN(e,f,m,u,c):p?[p.width,p.height]:[u,c],v=o.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var _={squareRatio:o.squareRatio,sort:v,leafDepth:o.leafDepth};m.hostTree.clearLayouts();var b={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};m.setLayout(b),vN(m,_,!1,0),b=m.getLayout(),dN(g,(function(e,t){var n=(g[t+1]||m).getValue();e.setLayout(x["m"]({dataExtent:[n,n],borderWidth:0,upperHeight:0},b))}))}var w=e.getData().tree.root;w.setLayout(LN(s,p,f),!0),e.setLayoutInfo(s),DN(w,new je(-s.x,-s.y,r,a),g,m,0)}};function vN(e,t,n,i){var r,a;if(!e.isRemoved()){var o=e.getLayout();r=o.width,a=o.height;var s=e.getModel(),l=s.get(fN),u=s.get(pN)/2,c=AN(s),h=Math.max(l,c),d=l-u,f=h-u;e.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0),r=uN(r-2*d,0),a=uN(a-d-f,0);var p=r*a,m=_N(e,s,p,t,n,i);if(m.length){var g={x:d,y:f,width:r,height:a},y=cN(r,a),v=1/0,_=[];_.area=0;for(var x=0,b=m.length;x<b;){var w=m[x];_.push(w),_.area+=w.getLayout().area;var M=MN(_,y,t.squareRatio);M<=v?(x++,v=M):(_.area-=_.pop().getLayout().area,SN(_,y,g,u,!1),y=cN(g.width,g.height),_.length=_.area=0,v=1/0)}if(_.length&&SN(_,y,g,u,!0),!n){var S=s.get("childrenVisibleMin");null!=S&&p<S&&(n=!0)}for(x=0,b=m.length;x<b;x++)vN(m[x],t,n,i+1)}}}function _N(e,t,n,i,r,a){var o=e.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=a;if(r&&!l)return e.viewChildren=[];o=x["n"](o,(function(e){return!e.isRemoved()})),bN(o,s);var u=wN(t,o,s);if(0===u.sum)return e.viewChildren=[];if(u.sum=xN(t,n,u.sum,s,o),0===u.sum)return e.viewChildren=[];for(var c=0,h=o.length;c<h;c++){var d=o[c].getValue()/u.sum*n;o[c].setLayout({area:d})}return l&&(o.length&&e.setLayout({isLeafRoot:!0},!0),o.length=0),e.viewChildren=o,e.setLayout({dataExtent:u.dataExtent},!0),o}function xN(e,t,n,i,r){if(!i)return n;for(var a=e.get("visibleMin"),o=r.length,s=o,l=o-1;l>=0;l--){var u=r["asc"===i?o-l-1:l].getValue();u/n*t<a&&(s=l,n-=u)}return"asc"===i?r.splice(0,o-s):r.splice(s,o-s),n}function bN(e,t){return t&&e.sort((function(e,n){var i="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===i?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:i})),e}function wN(e,t,n){for(var i=0,r=0,a=t.length;r<a;r++)i+=t[r].getValue();var o,s=e.get("visualDimension");return t&&t.length?"value"===s&&n?(o=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&o.reverse()):(o=[1/0,-1/0],dN(t,(function(e){var t=e.getValue(s);t<o[0]&&(o[0]=t),t>o[1]&&(o[1]=t)}))):o=[NaN,NaN],{sum:i,dataExtent:o}}function MN(e,t,n){for(var i=0,r=1/0,a=0,o=void 0,s=e.length;a<s;a++)o=e[a].getLayout().area,o&&(o<r&&(r=o),o>i&&(i=o));var l=e.area*e.area,u=t*t*n;return l?uN(u*i/l,l/(u*r)):1/0}function SN(e,t,n,i,r){var a=t===n.width?0:1,o=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],c=t?e.area/t:0;(r||c>n[l[o]])&&(c=n[l[o]]);for(var h=0,d=e.length;h<d;h++){var f=e[h],p={},m=c?f.getLayout().area/c:0,g=p[l[o]]=uN(c-2*i,0),y=n[s[a]]+n[l[a]]-u,v=h===d-1||y<m?y:m,_=p[l[a]]=uN(v-2*i,0);p[s[o]]=n[s[o]]+cN(i,g/2),p[s[a]]=u+cN(i,_/2),u+=v,f.setLayout(p,!0)}n[s[o]]+=c,n[l[o]]-=c}function TN(e,t,n,i,r){var a,o=(t||{}).node,s=[i,r];if(!o||o===n)return s;var l=i*r,u=l*e.option.zoomToNodeRatio;while(a=o.parentNode){for(var c=0,h=a.children,d=0,f=h.length;d<f;d++)c+=h[d].getValue();var p=o.getValue();if(0===p)return s;u*=c/p;var m=a.getModel(),g=m.get(fN),y=Math.max(g,AN(m));u+=4*g*g+(3*g+y)*Math.pow(u,.5),u>ur&&(u=ur),o=a}u<l&&(u=l);var v=Math.pow(u/l,.5);return[i*v,r*v]}function LN(e,t,n){if(t)return{x:t.x,y:t.y};var i={x:0,y:0};if(!n)return i;var r=n.node,a=r.getLayout();if(!a)return i;var o=[a.width/2,a.height/2],s=r;while(s){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:e.width/2-o[0],y:e.height/2-o[1]}}function DN(e,t,n,i,r){var a=e.getLayout(),o=n[r],s=o&&o===e;if(!(o&&!s||r===n.length&&e!==i)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(a),isAboveViewRoot:s},!0);var l=new je(t.x-a.x,t.y-a.y,t.width,t.height);dN(e.viewChildren||[],(function(e){DN(e,l,n,i,r+1)}))}}function AN(e){return e.get(mN)?e.get(gN):0}function ON(e){e.registerSeriesModel(lP),e.registerChartView(EP),e.registerVisual(eN),e.registerLayout(yN),iP(e)}function kN(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getGraph(),r=i.data,a=n.mapArray(n.getName);r.filterSelf((function(e){var n=r.getItemModel(e),i=n.getShallow("category");if(null!=i){Object(x["z"])(i)&&(i=a[i]);for(var o=0;o<t.length;o++)if(!t[o].isSelected(i))return!1}return!0}))}))}function IN(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getData(),r={};n.each((function(i){var a=n.getName(i);r["ec-"+a]=i;var o=n.getItemModel(i),s=o.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(a,t)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=o.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(e){var t=i.getItemModel(e),a=t.getShallow("category");if(null!=a){Object(x["C"])(a)&&(a=r["ec-"+a]);var o=n.getItemVisual(a,"style"),s=i.ensureUniqueItemVisual(e,"style");Object(x["m"])(s,o);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++)i.setItemVisual(e,l[u],n.getItemVisual(a,l[u]))}}))}))}function CN(e){return e instanceof Array||(e=[e,e]),e}function EN(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),n=e.getEdgeData(),i=CN(e.get("edgeSymbol")),r=CN(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each((function(e){var i=n.getItemModel(e),r=t.getEdgeByIndex(e),a=CN(i.getShallow("symbol",!0)),o=CN(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(e,"style");switch(Object(x["m"])(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill;break}a[0]&&r.setVisual("fromSymbol",a[0]),a[1]&&r.setVisual("toSymbol",a[1]),o[0]&&r.setVisual("fromSymbolSize",o[0]),o[1]&&r.setVisual("toSymbolSize",o[1])}))}))}var PN="--\x3e",NN=function(e){return e.get("autoCurveness")||null},RN=function(e,t){var n=NN(e),i=20,r=[];if(x["z"](n))i=n;else if(x["t"](n))return void(e.__curvenessList=n);t>i&&(i=t);var a=i%2?i+2:i+3;r=[];for(var o=0;o<a;o++)r.push((o%2?o+1:o)/10*(o%2?-1:1));e.__curvenessList=r},YN=function(e,t,n){var i=[e.id,e.dataIndex].join("."),r=[t.id,t.dataIndex].join(".");return[n.uid,i,r].join(PN)},zN=function(e){var t=e.split(PN);return[t[0],t[2],t[1]].join(PN)},HN=function(e,t){var n=YN(e.node1,e.node2,t);return t.__edgeMap[n]},jN=function(e,t){var n=FN(YN(e.node1,e.node2,t),t),i=FN(YN(e.node2,e.node1,t),t);return n+i},FN=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function BN(e){NN(e)&&(e.__curvenessList=[],e.__edgeMap={},RN(e))}function VN(e,t,n,i){if(NN(n)){var r=YN(e,t,n),a=n.__edgeMap,o=a[zN(r)];a[r]&&!o?a[r].isForward=!0:o&&a[r]&&(o.isForward=!0,a[r].isForward=!1),a[r]=a[r]||[],a[r].push(i)}}function GN(e,t,n,i){var r=NN(t),a=x["t"](r);if(!r)return null;var o=HN(e,t);if(!o)return null;for(var s=-1,l=0;l<o.length;l++)if(o[l]===n){s=l;break}var u=jN(e,t);RN(t,u),e.lineStyle=e.lineStyle||{};var c=YN(e.node1,e.node2,t),h=t.__curvenessList,d=a||u%2?0:1;if(o.isForward)return h[d+s];var f=zN(c),p=FN(f,t),m=h[s+p+d];return i?a?r&&0===r[0]?(p+d)%2?m:-m:((p%2?0:1)+d)%2?m:-m:(p+d)%2?m:-m:h[s+p+d]}function WN(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")])})),UN(n,e)}}function UN(e,t){e.eachEdge((function(e,n){var i=x["Q"](e.getModel().get(["lineStyle","curveness"]),-GN(e,t,n,!0),0),r=M(e.node1.getLayout()),a=M(e.node2.getLayout()),o=[r,a];+i&&o.push([(r[0]+a[0])/2-(r[1]-a[1])*i,(r[1]+a[1])/2-(a[0]-r[0])*i]),e.setLayout(o)}))}function XN(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var i=e.getData(),r=[];Object(x["k"])(n.dimensions,(function(e){r=r.concat(i.mapDimensionsAll(e))}));for(var a=0;a<i.count();a++){for(var o=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],a);isNaN(u)||(s=!0),o.push(u)}s?i.setItemLayout(a,n.dataToPoint(o)):i.setItemLayout(a,[NaN,NaN])}UN(i.graph,e)}else t&&"none"!==t||WN(e)}))}function ZN(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,i=t.scaleX,r=t.getZoom(),a=(r-1)*n+1;return a/i}function qN(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var $N=Math.PI,JN=[];function KN(e,t,n,i){var r=e.coordinateSystem;if(!r||"view"===r.type){var a=r.getBoundingRect(),o=e.getData(),s=o.graph,l=a.width/2+a.x,u=a.height/2+a.y,c=Math.min(a.width,a.height)/2,h=o.count();if(o.setLayout({cx:l,cy:u}),h){if(n){var d=r.pointToData(i),f=d[0],p=d[1],m=[f-l,p-u];I(m,m),k(m,m,c),n.setLayout([l+m[0],u+m[1]],!0);var g=e.get(["circular","rotateLabel"]);eR(n,g,l,u)}QN[t](e,s,o,c,l,u,h),s.eachEdge((function(t,n){var i,r=x["Q"](t.getModel().get(["lineStyle","curveness"]),GN(t,e,n),0),a=M(t.node1.getLayout()),o=M(t.node2.getLayout()),s=(a[0]+o[0])/2,c=(a[1]+o[1])/2;+r&&(r*=3,i=[l*r+s*(1-r),u*r+c*(1-r)]),t.setLayout([a,o,i])}))}}}var QN={value:function(e,t,n,i,r,a,o){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||o);t.eachNode((function(e){var t=e.getValue("value"),n=u*(l?t:1)/2;s+=n,e.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+a]),s+=n}))},symbolSize:function(e,t,n,i,r,a,o){var s=0;JN.length=o;var l=ZN(e);t.eachNode((function(e){var t=qN(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=l;var n=Math.asin(t/2/i);isNaN(n)&&(n=$N/2),JN[e.dataIndex]=n,s+=2*n}));var u=(2*$N-s)/o/2,c=0;t.eachNode((function(e){var t=u+JN[e.dataIndex];c+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+a]),c+=t}))}};function eR(e,t,n,i){var r=e.getGraphicEl();if(r){var a=e.getModel(),o=a.get(["label","rotate"])||0,s=r.getSymbolPath();if(t){var l=e.getLayout(),u=Math.atan2(l[1]-i,l[0]-n);u<0&&(u=2*Math.PI+u);var c=l[0]<n;c&&(u-=Math.PI);var h=c?"left":"right";s.setTextConfig({rotation:-u,position:h,origin:"center"});var d=s.ensureState("emphasis");x["m"](d.textConfig||(d.textConfig={}),{position:h})}else s.setTextConfig({rotation:o*=Math.PI/180})}}function tR(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&KN(e,"symbolSize")}))}var nR=L;function iR(e,t,n){for(var i=e,r=t,a=n.rect,o=a.width,s=a.height,l=[a.x+o/2,a.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<i.length;c++){var h=i[c];h.p||(h.p=b(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=M(h.p),h.edges=null}var d,f,p=null==n.friction?.6:n.friction,m=p;return{warmUp:function(){m=.8*p},setFixed:function(e){i[e].fixed=!0},setUnfixed:function(e){i[e].fixed=!1},beforeStep:function(e){d=e},afterStep:function(e){f=e},step:function(e){d&&d(i,r);for(var t=[],n=i.length,a=0;a<r.length;a++){var o=r[a];if(!o.ignoreForceLayout){var s=o.n1,c=o.n2;D(t,c.p,s.p);var h=A(t)-o.d,p=c.w/(s.w+c.w);isNaN(p)&&(p=0),I(t,t),!s.fixed&&nR(s.p,s.p,t,p*h*m),!c.fixed&&nR(c.p,c.p,t,-(1-p)*h*m)}}for(a=0;a<n;a++){var g=i[a];g.fixed||(D(t,l,g.p),nR(g.p,g.p,t,u*m))}for(a=0;a<n;a++){s=i[a];for(var y=a+1;y<n;y++){c=i[y];D(t,c.p,s.p);h=A(t);0===h&&(S(t,Math.random()-.5,Math.random()-.5),h=1);var v=(s.rep+c.rep)/h/h;!s.fixed&&nR(s.pp,s.pp,t,v),!c.fixed&&nR(c.pp,c.pp,t,-v)}}var _=[];for(a=0;a<n;a++){g=i[a];g.fixed||(D(_,g.p,g.pp),nR(g.p,g.p,_,m),w(g.pp,g.p))}m*=.992;var x=m<.01;f&&f(i,r,x),e&&e(x)}}}function rR(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},i=e.getGraph(),r=i.data,a=i.edgeData,o=e.getModel("force"),s=o.get("initLayout");e.preservedPoints?r.each((function(e){var t=r.getId(e);r.setItemLayout(e,n[t]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&KN(e,"value"):WN(e);var l=r.getDataExtent("value"),u=a.getDataExtent("value"),c=o.get("repulsion"),h=o.get("edgeLength"),d=x["t"](c)?c:[c,c],f=x["t"](h)?h:[h,h];f=[f[1],f[0]];var p=r.mapArray("value",(function(e,t){var n=r.getItemLayout(t),i=Qi(e,l,d);return isNaN(i)&&(i=(d[0]+d[1])/2),{w:i,rep:i,fixed:r.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),m=a.mapArray("value",(function(t,n){var r=i.getEdgeByIndex(n),a=Qi(t,u,f);isNaN(a)&&(a=(f[0]+f[1])/2);var o=r.getModel(),s=x["Q"](r.getModel().get(["lineStyle","curveness"]),-GN(r,e,n,!0),0);return{n1:p[r.node1.dataIndex],n2:p[r.node2.dataIndex],d:a,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),g=t.getBoundingRect(),y=iR(p,m,{rect:g,gravity:o.get("gravity"),friction:o.get("friction")});y.beforeStep((function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].fixed&&w(e[n].p,i.getNodeByIndex(n).getLayout())})),y.afterStep((function(e,t,a){for(var o=0,s=e.length;o<s;o++)e[o].fixed||i.getNodeByIndex(o).setLayout(e[o].p),n[r.getId(o)]=e[o].p;for(o=0,s=t.length;o<s;o++){var l=t[o],u=i.getEdgeByIndex(o),c=l.n1.p,h=l.n2.p,d=u.getLayout();d=d?d.slice():[],d[0]=d[0]||[],d[1]=d[1]||[],w(d[0],c),w(d[1],h),+l.curveness&&(d[2]=[(c[0]+h[0])/2-(c[1]-h[1])*l.curveness,(c[1]+h[1])/2-(h[0]-c[0])*l.curveness]),u.setLayout(d)}})),e.forceLayout=y,e.preservedPoints=n,y.step()}else e.forceLayout=null}))}function aR(e,t,n){var i=Object(x["m"])(e.getBoxLayoutParams(),{aspect:n});return ah(i,{width:t.getWidth(),height:t.getHeight()})}function oR(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var i=e.get("coordinateSystem");if(!i||"view"===i){var r=e.getData(),a=r.mapArray((function(e){var t=r.getItemModel(e);return[+t.get("x"),+t.get("y")]})),o=[],s=[];uo(a,o,s),s[0]-o[0]===0&&(s[0]+=1,o[0]-=1),s[1]-o[1]===0&&(s[1]+=1,o[1]-=1);var l=(s[0]-o[0])/(s[1]-o[1]),u=aR(e,t,l);isNaN(l)&&(o=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var c=s[0]-o[0],h=s[1]-o[1],d=u.width,f=u.height,p=e.coordinateSystem=new zC;p.zoomLimit=e.get("scaleLimit"),p.setBoundingRect(o[0],o[1],c,h),p.setViewRect(u.x,u.y,d,f),p.setCenter(e.get("center"),t),p.setZoom(e.get("zoom")),n.push(p)}})),n}var sR=eg.prototype,lR=ag.prototype,uR=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}v(t,e)})(uR);function cR(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var hR=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return v(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new uR},t.prototype.buildPath=function(e,t){cR(t)?sR.buildPath.call(this,e,t):lR.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return cR(this.shape)?sR.pointAt.call(this,e):lR.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=cR(t)?[t.x2-t.x1,t.y2-t.y1]:lR.tangentAt.call(this,e);return I(n,n)},t}(ls),dR=hR,fR=["fromSymbol","toSymbol"];function pR(e){return"_"+e+"Type"}function mR(e,t,n){var i=t.getItemVisual(n,e);if(!i||"none"===i)return i;var r=t.getItemVisual(n,e+"Size"),a=t.getItemVisual(n,e+"Rotate"),o=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=Lv(r),u=Dv(o||0,l);return i+l+u+(a||"")+(s||"")}function gR(e,t,n){var i=t.getItemVisual(n,e);if(i&&"none"!==i){var r=t.getItemVisual(n,e+"Size"),a=t.getItemVisual(n,e+"Rotate"),o=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=Lv(r),u=Dv(o||0,l),c=Tv(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==a||isNaN(a)?void 0:+a*Math.PI/180||0,c.name=e,c}}function yR(e){var t=new dR({name:"line",subPixelOptimize:!0});return vR(t.shape,e),t}function vR(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 _R=function(e){function t(t,n,i){var r=e.call(this)||this;return r._createLine(t,n,i),r}return v(t,e),t.prototype._createLine=function(e,t,n){var i=e.hostModel,r=e.getItemLayout(t),a=yR(r);a.shape.percent=0,lu(a,{shape:{percent:1}},i,t),this.add(a),Object(x["k"])(fR,(function(n){var i=gR(n,e,t);this.add(i),this[pR(n)]=mR(n,e,t)}),this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var i=e.hostModel,r=this.childOfName("line"),a=e.getItemLayout(t),o={shape:{}};vR(o.shape,a),su(r,o,i,t),Object(x["k"])(fR,(function(n){var i=mR(n,e,t),r=pR(n);if(this[r]!==i){this.remove(this.childOfName(n));var a=gR(n,e,t);this.add(a)}this[r]=i}),this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var i=e.hostModel,r=this.childOfName("line"),a=n&&n.emphasisLineStyle,o=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,h=n&&n.blurScope;if(!n||e.hasItemOption){var d=e.getItemModel(t),f=d.getModel("emphasis");a=f.getModel("lineStyle").getLineStyle(),o=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),u=f.get("disabled"),c=f.get("focus"),h=f.get("blurScope"),l=_u(d)}var p=e.getItemVisual(t,"style"),m=p.stroke;r.useStyle(p),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=a,r.ensureState("blur").style=o,r.ensureState("select").style=s,Object(x["k"])(fR,(function(e){var t=this.childOfName(e);if(t){t.setColor(m),t.style.opacity=p.opacity;for(var n=0;n<Qs.length;n++){var i=Qs[n],a=r.getState(i);if(a){var o=a.style||{},s=t.ensureState(i),l=s.style||(s.style={});null!=o.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity&&(l.opacity=o.opacity)}}t.markRedraw()}}),this);var g=i.getRawValue(t);vu(this,l,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return i.getFormattedLabel(t,n,e.dataType)}},inheritColor:m||"#000",defaultOpacity:p.opacity,defaultText:(null==g?e.getName(t):isFinite(g)?tr(g):g)+""});var y=this.getTextContent();if(y){var v=l.normal;y.__align=y.style.align,y.__verticalAlign=y.style.verticalAlign,y.__position=v.get("position")||"middle";var _=v.get("distance");Object(x["t"])(_)||(_=[_,_]),y.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),Ul(this,c,h,u)},t.prototype.highlight=function(){Dl(this)},t.prototype.downplay=function(){Al(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");vR(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),i=e.getTextContent();if(t||n||i&&!i.ignore){var r=1,a=this.parent;while(a)a.scaleX&&(r/=a.scaleX),a=a.parent;var o=e.childOfName("line");if(this.__dirty||o.__dirty){var s=o.shape.percent,l=o.pointAt(0),u=o.pointAt(s),c=D([],u,l);if(I(c,c),t&&(t.setPosition(l),M(t,0),t.scaleX=t.scaleY=r*s,t.markRedraw()),n&&(n.setPosition(u),M(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var h=void 0,d=void 0,f=i.__labelDistance,p=f[0]*r,m=f[1]*r,g=s/2,y=o.tangentAt(g),v=[y[1],-y[0]],_=o.pointAt(g);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var x=y[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(y[1],y[0]);u[0]<l[0]&&(b=Math.PI+b),i.rotation=b}var w=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-m,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=m,d="top";break;default:w=0,d="middle"}switch(i.__position){case"end":i.x=c[0]*p+u[0],i.y=c[1]*m+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*p+l[0],i.y=-c[1]*m+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=p*x+l[0],i.y=l[1]+w,h=y[0]<0?"right":"left",i.originX=-p*x,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=_[0],i.y=_[1]+w,h="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-p*x+u[0],i.y=u[1]+w,h=y[0]>=0?"right":"left",i.originX=p*x,i.originY=-w;break}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||h})}}}function M(e,t){var n=e.__specifiedRotation;if(null==n){var i=o.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else e.attr("rotation",n)}},t}(Ni),xR=_R,bR=function(){function e(e){this.group=new Ni,this._LineCtor=e||xR}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=e,r||i.removeAll();var a=MR(e);e.diff(r).add((function(n){t._doAdd(e,n,a)})).update((function(n,i){t._doUpdate(r,e,i,n,a)})).remove((function(e){i.remove(r.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=MR(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||wR(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=e.start;i<e.end;i++){var r=t.getItemLayout(i);if(TR(r)){var a=new this._LineCtor(t,i,this._seriesScope);a.traverse(n),this.group.add(a),t.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){iy(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){var i=e.getItemLayout(t);if(TR(i)){var r=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,r),this.group.add(r)}},e.prototype._doUpdate=function(e,t,n,i,r){var a=e.getItemGraphicEl(n);TR(t.getItemLayout(i))?(a?a.updateData(t,i,r):a=new this._LineCtor(t,i,r),t.setItemGraphicEl(i,a),this.group.add(a)):this.group.remove(a)},e}();function wR(e){return e.animators&&e.animators.length>0}function MR(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:_u(t)}}function SR(e){return isNaN(e[0])||isNaN(e[1])}function TR(e){return e&&!SR(e[0])&&!SR(e[1])}var LR=bR,DR=[],AR=[],OR=[],kR=Ht,IR=N,CR=Math.abs;function ER(e,t,n){for(var i,r=e[0],a=e[1],o=e[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){DR[0]=kR(r[0],a[0],o[0],c),DR[1]=kR(r[1],a[1],o[1],c);var h=CR(IR(DR,t)-l);h<s&&(s=h,i=c)}for(var d=0;d<32;d++){var f=i+u;AR[0]=kR(r[0],a[0],o[0],i),AR[1]=kR(r[1],a[1],o[1],i),OR[0]=kR(r[0],a[0],o[0],f),OR[1]=kR(r[1],a[1],o[1],f);h=IR(AR,t)-l;if(CR(h)<.01)break;var p=IR(OR,t)-l;u/=2,h<0?p>=0?i+=u:i-=u:p>=0?i-=u:i+=u}return i}function PR(e,t){var n=[],i=Vt,r=[[],[],[]],a=[[],[]],o=[];t/=2,e.eachEdge((function(e,s){var l=e.getLayout(),u=e.getVisual("fromSymbol"),c=e.getVisual("toSymbol");l.__original||(l.__original=[M(l[0]),M(l[1])],l[2]&&l.__original.push(M(l[2])));var h=l.__original;if(null!=l[2]){if(w(r[0],h[0]),w(r[1],h[2]),w(r[2],h[1]),u&&"none"!==u){var d=qN(e.node1),f=ER(r,h[0],d*t);i(r[0][0],r[1][0],r[2][0],f,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],f,n),r[0][1]=n[3],r[1][1]=n[4]}if(c&&"none"!==c){d=qN(e.node2),f=ER(r,h[1],d*t);i(r[0][0],r[1][0],r[2][0],f,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],f,n),r[1][1]=n[1],r[2][1]=n[2]}w(l[0],r[0]),w(l[1],r[2]),w(l[2],r[1])}else{if(w(a[0],h[0]),w(a[1],h[1]),D(o,a[1],a[0]),I(o,o),u&&"none"!==u){d=qN(e.node1);L(a[0],a[0],o,d*t)}if(c&&"none"!==c){d=qN(e.node2);L(a[1],a[1],o,-d*t)}w(l[0],a[0]),w(l[1],a[1])}}))}function NR(e){return"view"===e.type}var RR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(e,t){var n=new yD,i=new LR,r=this.group;this._controller=new mI(t.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},t.prototype.render=function(e,t,n){var i=this,r=e.coordinateSystem;this._model=e;var a=this._symbolDraw,o=this._lineDraw,s=this.group;if(NR(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):su(s,l,e)}PR(e.getGraph(),ZN(e));var u=e.getData();a.updateData(u);var c=e.getEdgeData();o.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var h=e.forceLayout,d=e.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d);var f=e.get("layout");u.graph.eachNode((function(t){var n=t.dataIndex,r=t.getGraphicEl(),a=t.getModel();if(r){r.off("drag").off("dragend");var o=a.get("draggable");o&&r.on("drag",(function(a){switch(f){case"force":h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,d),h.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),t.setLayout({fixed:!0},!0),KN(e,"symbolSize",t,[a.offsetX,a.offsetY]),i.updateLayout(e);break;case"none":default:u.setItemLayout(n,[r.x,r.y]),UN(e.getGraph(),e),i.updateLayout(e);break}})).on("dragend",(function(){h&&h.setUnfixed(n)})),r.setDraggable(o,!!a.get("cursor"));var s=a.get(["emphasis","focus"]);"adjacency"===s&&(Gs(r).focus=t.getAdjacentDataIndices())}})),u.graph.eachEdge((function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&(Gs(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){eR(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 i(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(i,16):i())}))})()},t.prototype._updateController=function(e,t,n){var i=this,r=this._controller,a=this._controllerHost,o=this.group;r.setPointerChecker((function(t,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!xI(t,n,e)})),NR(e.coordinateSystem)?(r.enable(e.get("roam")),a.zoomLimit=e.get("scaleLimit"),a.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){gI(a,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){yI(a,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),i._updateNodeAndLinkScale(),PR(e.getGraph(),ZN(e)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=ZN(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(n)}))},t.prototype.updateLayout=function(e){PR(e.getGraph(),ZN(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}(dy),YR=RR;function zR(e){return"_EC_"+e}var HR=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[zR(e)]){var i=new jR(e,t);return i.hostGraph=this,this.nodes.push(i),n[zR(e)]=i,i}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[zR(e)]},e.prototype.addEdge=function(e,t,n){var i=this._nodesMap,r=this._edgesMap;if(x["z"](e)&&(e=this.nodes[e]),x["z"](t)&&(t=this.nodes[t]),e instanceof jR||(e=i[zR(e)]),t instanceof jR||(t=i[zR(t)]),e&&t){var a=e.id+"-"+t.id,o=new FR(e,t,n);return o.hostGraph=this,this._directed&&(e.outEdges.push(o),t.inEdges.push(o)),e.edges.push(o),e!==t&&t.edges.push(o),this.edges.push(o),r[a]=o,o}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof jR&&(e=e.id),t instanceof jR&&(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,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&e.call(t,n[r],r)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&e.call(t,n[r],r)},e.prototype.breadthFirstTraverse=function(e,t,n,i){if(t instanceof jR||(t=this._nodesMap[zR(t)]),t){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!e.call(i,t,null)){var o=[t];while(o.length){var s=o.shift(),l=s[r];for(a=0;a<l.length;a++){var u=l[a],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(e.call(i,c,s))return;o.push(c),c.__visited=!0}}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,i=this.edges,r=0,a=n.length;r<a;r++)n[r].dataIndex=-1;for(r=0,a=e.count();r<a;r++)n[e.getRawIndex(r)].dataIndex=r;t.filterSelf((function(e){var n=i[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,a=i.length;r<a;r++)i[r].dataIndex=-1;for(r=0,a=t.count();r<a;r++)i[t.getRawIndex(r)].dataIndex=r},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)t.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var a=i[r];t.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return t},e}(),jR=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=x["f"](),t=x["f"](),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){e.set(i.dataIndex,!0);var r=[i.node1],a=[i.node2],o=0;while(o<r.length){var s=r[o];o++,t.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)e.set(s.inEdges[l].dataIndex,!0),r.push(s.inEdges[l].node1)}o=0;while(o<a.length){var u=a[o];o++,t.set(u.dataIndex,!0);for(l=0;l<u.outEdges.length;l++)e.set(u.outEdges[l].dataIndex,!0),a.push(u.outEdges[l].node2)}}}return{edge:e.keys(),node:t.keys()}},e}(),FR=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=x["f"](),t=x["f"]();e.set(this.dataIndex,!0);var n=[this.node1],i=[this.node2],r=0;while(r<n.length){var a=n[r];r++,t.set(a.dataIndex,!0);for(var o=0;o<a.inEdges.length;o++)e.set(a.inEdges[o].dataIndex,!0),n.push(a.inEdges[o].node1)}r=0;while(r<i.length){var s=i[r];r++,t.set(s.dataIndex,!0);for(o=0;o<s.outEdges.length;o++)e.set(s.outEdges[o].dataIndex,!0),i.push(s.outEdges[o].node2)}return{edge:e.keys(),node:t.keys()}},e}();function BR(e,t){return{getValue:function(n){var i=this[e][t];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},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)}}}x["K"](jR,BR("hostGraph","data")),x["K"](FR,BR("hostGraph","edgeData"));var VR=HR;function GR(e,t,n,i,r){for(var a=new VR(i),o=0;o<e.length;o++)a.addNode(x["O"](e[o].id,e[o].name,o),o);var s=[],l=[],u=0;for(o=0;o<t.length;o++){var c=t[o],h=c.source,d=c.target;a.addEdge(h,d,u)&&(l.push(c),s.push(x["O"](Fr(c.id,null),h+" > "+d)),u++)}var f,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)f=Kb(e,n);else{var m=dd.get(p),g=m&&m.dimensions||[];x["r"](g,"value")<0&&g.concat(["value"]);var y=Nb(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;f=new Eb(y,n),f.initData(e)}var v=new Eb(["value"],n);return v.initData(l,s),r&&r(f,v),zE({mainData:f,struct:a,structAttr:"graph",datas:{node:f,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}var WR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return v(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new sO(i,i),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),Ar(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],r=this;if(i&&n){BN(this);var a=GR(i,n,this,!0,o);return x["k"](a.edges,(function(e){VN(e.node1,e.node2,this,e.dataIndex)}),this),a.data}function o(e,t){e.wrapMethod("getItemModel",(function(e){var t=r._categoriesModels,n=e.getShallow("category"),i=t[n];return i&&(i.parentModel=e.parentModel,e.parentModel=i),e}));var n=Gu.prototype.getModel;function i(e,t){var i=n.call(this,e,t);return i.resolveParentPath=a,i}function a(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=a,e.getModel=i,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 i=this.getData(),r=this.getDataParams(e,n),a=i.graph.getEdgeByIndex(e),o=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),fp("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}var u=Op({series:this,dataIndex:e,multipleSeries:t});return u},t.prototype._updateCategoriesData=function(){var e=x["H"](this.option.categories||[],(function(e){return null!=e.value?e:x["m"]({value:0},e)})),t=new Eb(["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}(Vp),UR=WR,XR={type:"graphRoam",event:"graphRoam",update:"none"};function ZR(e){e.registerChartView(YR),e.registerSeriesModel(UR),e.registerProcessor(kN),e.registerVisual(IN),e.registerVisual(EN),e.registerLayout(XN),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,tR),e.registerLayout(rR),e.registerCoordinateSystem("graphView",{dimensions:zC.dimensions,create:oR}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},x["L"]),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},x["L"]),e.registerAction(XR,(function(e,t,n){t.eachComponent({mainType:"series",query:e},(function(t){var i=t.coordinateSystem,r=KC(i,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))}var qR=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),$R=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return v(t,e),t.prototype.getDefaultShape=function(){return new qR},t.prototype.buildPath=function(e,t){var n=Math.cos,i=Math.sin,r=t.r,a=t.width,o=t.angle,s=t.x-n(o)*a*(a>=r/3?1:2),l=t.y-i(o)*a*(a>=r/3?1:2);o=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(o)*a,t.y+i(o)*a),e.lineTo(t.x+n(t.angle)*r,t.y+i(t.angle)*r),e.lineTo(t.x-n(o)*a,t.y-i(o)*a),e.lineTo(s,l)},t}(ls),JR=$R;function KR(e,t){var n=e.get("center"),i=t.getWidth(),r=t.getHeight(),a=Math.min(i,r),o=er(n[0],t.getWidth()),s=er(n[1],t.getHeight()),l=er(e.get("radius"),a/2);return{cx:o,cy:s,r:l}}function QR(e,t){var n=null==e?"":e+"";return t&&(Object(x["C"])(t)?n=t.replace("{value}",n):Object(x["w"])(t)&&(n=t(e))),n}var eY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var i=e.get(["axisLine","lineStyle","color"]),r=KR(e,n);this._renderMain(e,t,n,i,r),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,i,r){var a=this.group,o=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,l=-e.get("endAngle")/180*Math.PI,u=e.getModel("axisLine"),c=u.get("roundCap"),h=c?hA:Hm,d=u.get("show"),f=u.getModel("lineStyle"),p=f.get("width"),m=[s,l];Po(m,!o),s=m[0],l=m[1];for(var g=l-s,y=s,v=[],_=0;d&&_<i.length;_++){var b=Math.min(Math.max(i[_][0],0),1);l=s+g*b;var w=new h({shape:{startAngle:y,endAngle:l,cx:r.cx,cy:r.cy,clockwise:o,r0:r.r-p,r:r.r},silent:!0});w.setStyle({fill:i[_][1]}),w.setStyle(f.getLineStyle(["color","width"])),v.push(w),y=l}v.reverse(),Object(x["k"])(v,(function(e){return a.add(e)}));var M=function(e){if(e<=0)return i[0][1];var t;for(t=0;t<i.length;t++)if(i[t][0]>=e&&(0===t?0:i[t-1][0])<e)return i[t][1];return i[t-1][1]};this._renderTicks(e,t,n,M,r,s,l,o,p),this._renderTitleAndDetail(e,t,n,M,r),this._renderAnchor(e,r),this._renderPointer(e,t,n,M,r,s,l,o,p)},t.prototype._renderTicks=function(e,t,n,i,r,a,o,s,l){for(var u,c,h=this.group,d=r.cx,f=r.cy,p=r.r,m=+e.get("min"),g=+e.get("max"),y=e.getModel("splitLine"),v=e.getModel("axisTick"),_=e.getModel("axisLabel"),b=e.get("splitNumber"),w=v.get("splitNumber"),M=er(y.get("length"),p),S=er(v.get("length"),p),T=a,L=(o-a)/b,D=L/w,A=y.getModel("lineStyle").getLineStyle(),O=v.getModel("lineStyle").getLineStyle(),k=y.get("distance"),I=0;I<=b;I++){if(u=Math.cos(T),c=Math.sin(T),y.get("show")){var C=k?k+l:l,E=new eg({shape:{x1:u*(p-C)+d,y1:c*(p-C)+f,x2:u*(p-M-C)+d,y2:c*(p-M-C)+f},style:A,silent:!0});"auto"===A.stroke&&E.setStyle({stroke:i(I/b)}),h.add(E)}if(_.get("show")){C=_.get("distance")+k;var P=QR(tr(I/b*(g-m)+m),_.get("formatter")),N=i(I/b),R=u*(p-M-C)+d,Y=c*(p-M-C)+f,z=_.get("rotate"),H=0;"radial"===z?(H=-T+2*Math.PI,H>Math.PI/2&&(H+=Math.PI)):"tangential"===z?H=-T-Math.PI/2:Object(x["z"])(z)&&(H=z*Math.PI/180),0===H?h.add(new Vs({style:xu(_,{text:P,x:R,y:Y,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:N}),silent:!0})):h.add(new Vs({style:xu(_,{text:P,x:R,y:Y,verticalAlign:"middle",align:"center"},{inheritColor:N}),silent:!0,originX:R,originY:Y,rotation:H}))}if(v.get("show")&&I!==b){C=v.get("distance");C=C?C+l:l;for(var j=0;j<=w;j++){u=Math.cos(T),c=Math.sin(T);var F=new eg({shape:{x1:u*(p-C)+d,y1:c*(p-C)+f,x2:u*(p-S-C)+d,y2:c*(p-S-C)+f},silent:!0,style:O});"auto"===O.stroke&&F.setStyle({stroke:i((I+j/w)/b)}),h.add(F),T+=D}T-=D}else T+=L}},t.prototype._renderPointer=function(e,t,n,i,r,a,o,s,l){var u=this.group,c=this._data,h=this._progressEls,d=[],f=e.get(["pointer","show"]),p=e.getModel("progress"),m=p.get("show"),g=e.getData(),y=g.mapDimension("value"),v=+e.get("min"),_=+e.get("max"),b=[v,_],w=[a,o];function M(t,n){var i,a=g.getItemModel(t),o=a.getModel("pointer"),s=er(o.get("width"),r.r),l=er(o.get("length"),r.r),u=e.get(["pointer","icon"]),c=o.get("offsetCenter"),h=er(c[0],r.r),d=er(c[1],r.r),f=o.get("keepAspect");return i=u?Tv(u,h-s/2,d-l,s,l,null,f):new JR({shape:{angle:-Math.PI/2,width:s,r:l,x:h,y:d}}),i.rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(e,t){var n=p.get("roundCap"),i=n?hA:Hm,o=p.get("overlap"),u=o?p.get("width"):l/g.count(),c=o?r.r-u:r.r-(e+1)*u,h=o?r.r:r.r-e*u,d=new i({shape:{startAngle:a,endAngle:t,cx:r.cx,cy:r.cy,clockwise:s,r0:c,r:h}});return o&&(d.z2=_-g.get(y,e)%_),d}(m||f)&&(g.diff(c).add((function(t){var n=g.get(y,t);if(f){var i=M(t,a);lu(i,{rotation:-((isNaN(+n)?w[0]:Qi(n,b,w,!0))+Math.PI/2)},e),u.add(i),g.setItemGraphicEl(t,i)}if(m){var r=S(t,a),o=p.get("clip");lu(r,{shape:{endAngle:Qi(n,b,w,o)}},e),u.add(r),Ws(e.seriesIndex,g.dataType,t,r),d[t]=r}})).update((function(t,n){var i=g.get(y,t);if(f){var r=c.getItemGraphicEl(n),o=r?r.rotation:a,s=M(t,o);s.rotation=o,su(s,{rotation:-((isNaN(+i)?w[0]:Qi(i,b,w,!0))+Math.PI/2)},e),u.add(s),g.setItemGraphicEl(t,s)}if(m){var l=h[n],v=l?l.shape.endAngle:a,_=S(t,v),x=p.get("clip");su(_,{shape:{endAngle:Qi(i,b,w,x)}},e),u.add(_),Ws(e.seriesIndex,g.dataType,t,_),d[t]=_}})).execute(),g.each((function(e){var t=g.getItemModel(e),n=t.getModel("emphasis"),r=n.get("focus"),a=n.get("blurScope"),o=n.get("disabled");if(f){var s=g.getItemGraphicEl(e),l=g.getItemVisual(e,"style"),u=l.fill;if(s instanceof gs){var c=s.style;s.useStyle(Object(x["m"])({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(Qi(g.get(y,e),b,[0,1],!0))),s.z2EmphasisLift=0,$l(s,t),Ul(s,r,a,o)}if(m){var h=d[e];h.useStyle(g.getItemVisual(e,"style")),h.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,$l(h,t),Ul(h,r,a,o)}})),this._progressEls=d)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor"),i=n.get("show");if(i){var r=n.get("size"),a=n.get("icon"),o=n.get("offsetCenter"),s=n.get("keepAspect"),l=Tv(a,t.cx-r/2+er(o[0],t.r),t.cy-r/2+er(o[1],t.r),r,r,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,i,r){var a=this,o=e.getData(),s=o.mapDimension("value"),l=+e.get("min"),u=+e.get("max"),c=new Ni,h=[],d=[],f=e.isAnimationEnabled(),p=e.get(["pointer","showAbove"]);o.diff(this._data).add((function(e){h[e]=new Vs({silent:!0}),d[e]=new Vs({silent:!0})})).update((function(e,t){h[e]=a._titleEls[t],d[e]=a._detailEls[t]})).execute(),o.each((function(t){var n=o.getItemModel(t),a=o.get(s,t),m=new Ni,g=i(Qi(a,[l,u],[0,1],!0)),y=n.getModel("title");if(y.get("show")){var v=y.get("offsetCenter"),_=r.cx+er(v[0],r.r),x=r.cy+er(v[1],r.r),b=h[t];b.attr({z2:p?0:2,style:xu(y,{x:_,y:x,text:o.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(b)}var w=n.getModel("detail");if(w.get("show")){var M=w.get("offsetCenter"),S=r.cx+er(M[0],r.r),T=r.cy+er(M[1],r.r),L=er(w.get("width"),r.r),D=er(w.get("height"),r.r),A=e.get(["progress","show"])?o.getItemVisual(t,"style").fill:g,O=(b=d[t],w.get("formatter"));b.attr({z2:p?0:2,style:xu(w,{x:S,y:T,text:QR(a,O),width:isNaN(L)?null:L,height:isNaN(D)?null:D,align:"center",verticalAlign:"middle"},{inheritColor:A})}),ku(b,{normal:w},a,(function(e){return QR(e,O)})),f&&Iu(b,t,o,e,{getFormattedLabel:function(e,t,n,i,r,o){return QR(o?o.interpolatedValue:a,O)}}),m.add(b)}c.add(m)})),this.group.add(c),this._titleEls=h,this._detailEls=d},t.type="gauge",t}(dy),tY=eY,nY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return v(t,e),t.prototype.getInitialData=function(e,t){return aO(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}(Vp),iY=nY;function rY(e){e.registerChartView(tY),e.registerSeriesModel(iY)}var aY=["itemStyle","opacity"],oY=function(e){function t(t,n){var i=e.call(this)||this,r=i,a=new $m,o=new Vs;return r.setTextContent(o),i.setTextGuideLine(a),i.updateData(t,n,!0),i}return v(t,e),t.prototype.updateData=function(e,t,n){var i=this,r=e.hostModel,a=e.getItemModel(t),o=e.getItemLayout(t),s=a.getModel("emphasis"),l=a.get(aY);l=null==l?1:l,n||fu(i),i.useStyle(e.getItemVisual(t,"style")),i.style.lineJoin="round",n?(i.setShape({points:o.points}),i.style.opacity=0,lu(i,{style:{opacity:l}},r,t)):su(i,{style:{opacity:l},shape:{points:o.points}},r,t),$l(i,a),this._updateLabel(e,t),Ul(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),a=e.hostModel,o=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"style"),c=u.fill;vu(r,_u(o),{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 h=l.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new ke(h[0][0],h[0][1]):null},su(r,{style:{x:l.x,y:l.y}},a,t),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),jS(n,FS(o),{stroke:c})},t}(Xm),sY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return v(t,e),t.prototype.render=function(e,t,n){var i=e.getData(),r=this._data,a=this.group;i.diff(r).add((function(e){var t=new oY(i,e);i.setItemGraphicEl(e,t),a.add(t)})).update((function(e,t){var n=r.getItemGraphicEl(t);n.updateData(i,e),a.add(n),i.setItemGraphicEl(e,n)})).remove((function(t){var n=r.getItemGraphicEl(t);du(n,e,t)})).execute(),this._data=i},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(dy),lY=sY,uY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new sO(x["c"](this.getData,this),x["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return aO(this,{coordDimensions:["value"],encodeDefaulter:x["h"](Ch,this)})},t.prototype._defaultLabelLine=function(e){Ar(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(),i=e.prototype.getDataParams.call(this,t),r=n.mapDimension("value"),a=n.getSum(r);return i.percent=a?+(n.get(r,t)/a*100).toFixed(2):0,i.$vars.push("percent"),i},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}(Vp),cY=uY;function hY(e,t){return ah(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function dY(e,t){for(var n=e.mapDimension("value"),i=e.mapArray(n,(function(e){return e})),r=[],a="ascending"===t,o=0,s=e.count();o<s;o++)r[o]=o;return Object(x["w"])(t)?r.sort(t):"none"!==t&&r.sort((function(e,t){return a?i[e]-i[t]:i[t]-i[e]})),r}function fY(e){var t=e.hostModel,n=t.get("orient");e.each((function(t){var i,r,a,o,s=e.getItemModel(t),l=s.getModel("label"),u=l.get("position"),c=s.getModel("labelLine"),h=e.getItemLayout(t),d=h.points,f="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(f)"insideLeft"===u?(r=(d[0][0]+d[3][0])/2+5,a=(d[0][1]+d[3][1])/2,i="left"):"insideRight"===u?(r=(d[1][0]+d[2][0])/2-5,a=(d[1][1]+d[2][1])/2,i="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,a=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,i="center"),o=[[r,a],[r,a]];else{var p=void 0,m=void 0,g=void 0,y=void 0,v=c.get("length");0,"left"===u?(p=(d[3][0]+d[0][0])/2,m=(d[3][1]+d[0][1])/2,g=p-v,r=g-5,i="right"):"right"===u?(p=(d[1][0]+d[2][0])/2,m=(d[1][1]+d[2][1])/2,g=p+v,r=g+5,i="left"):"top"===u?(p=(d[3][0]+d[0][0])/2,m=(d[3][1]+d[0][1])/2,y=m-v,a=y-5,i="center"):"bottom"===u?(p=(d[1][0]+d[2][0])/2,m=(d[1][1]+d[2][1])/2,y=m+v,a=y+5,i="center"):"rightTop"===u?(p="horizontal"===n?d[3][0]:d[1][0],m="horizontal"===n?d[3][1]:d[1][1],"horizontal"===n?(y=m-v,a=y-5,i="center"):(g=p+v,r=g+5,i="top")):"rightBottom"===u?(p=d[2][0],m=d[2][1],"horizontal"===n?(y=m+v,a=y+5,i="center"):(g=p+v,r=g+5,i="bottom")):"leftTop"===u?(p=d[0][0],m="horizontal"===n?d[0][1]:d[1][1],"horizontal"===n?(y=m-v,a=y-5,i="center"):(g=p-v,r=g-5,i="right")):"leftBottom"===u?(p="horizontal"===n?d[1][0]:d[3][0],m="horizontal"===n?d[1][1]:d[2][1],"horizontal"===n?(y=m+v,a=y+5,i="center"):(g=p-v,r=g-5,i="right")):(p=(d[1][0]+d[2][0])/2,m=(d[1][1]+d[2][1])/2,"horizontal"===n?(y=m+v,a=y+5,i="center"):(g=p+v,r=g+5,i="left")),"horizontal"===n?(g=p,r=g):(y=m,a=y),o=[[p,m],[g,y]]}h.label={linePoints:o,x:r,y:a,verticalAlign:"middle",textAlign:i,inside:f}}))}function pY(e,t){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),i=n.mapDimension("value"),r=e.get("sort"),a=hY(e,t),o=e.get("orient"),s=a.width,l=a.height,u=dY(n,r),c=a.x,h=a.y,d="horizontal"===o?[er(e.get("minSize"),l),er(e.get("maxSize"),l)]:[er(e.get("minSize"),s),er(e.get("maxSize"),s)],f=n.getDataExtent(i),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"),y=e.get("gap"),v="horizontal"===o?s:l,_=(v-y*(n.count()-1))/n.count(),x=function(e,t){if("horizontal"===o){var r=n.get(i,e)||0,a=Qi(r,[p,m],d,!0),u=void 0;switch(g){case"top":u=h;break;case"center":u=h+(l-a)/2;break;case"bottom":u=h+(l-a);break}return[[t,u],[t,u+a]]}var f,y=n.get(i,e)||0,v=Qi(y,[p,m],d,!0);switch(g){case"left":f=c;break;case"center":f=c+(s-v)/2;break;case"right":f=c+s-v;break}return[[f,t],[f+v,t]]};"ascending"===r&&(_=-_,y=-y,"horizontal"===o?c+=s:h+=l,u=u.reverse());for(var b=0;b<u.length;b++){var w=u[b],M=u[b+1],S=n.getItemModel(w);if("horizontal"===o){var T=S.get(["itemStyle","width"]);null==T?T=_:(T=er(T,s),"ascending"===r&&(T=-T));var L=x(w,c),D=x(M,c+T);c+=T+y,n.setItemLayout(w,{points:L.concat(D.slice().reverse())})}else{var A=S.get(["itemStyle","height"]);null==A?A=_:(A=er(A,l),"ascending"===r&&(A=-A));L=x(w,h),D=x(M,h+A);h+=A+y,n.setItemLayout(w,{points:L.concat(D.slice().reverse())})}}fY(n)}))}function mY(e){e.registerChartView(lY),e.registerSeriesModel(cY),e.registerLayout(pY),e.registerProcessor(qA("funnel"))}var gY=.3,yY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new Ni,n._initialized=!1,n}return v(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,n,i){this._progressiveEls=null;var r=this._dataGroup,a=e.getData(),o=this._data,s=e.coordinateSystem,l=s.dimensions,u=bY(e);function c(e){var t=xY(a,r,e,l,s);wY(t,a,e,u)}function h(t,n){var i=o.getItemGraphicEl(n),r=_Y(a,t,l,s);a.setItemGraphicEl(t,i),su(i,{shape:{points:r}},e,t),fu(i),wY(i,a,t,u)}function d(e){var t=o.getItemGraphicEl(e);r.remove(t)}if(a.diff(o).add(c).update(h).remove(d).execute(),!this._initialized){this._initialized=!0;var f=vY(s,e,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(f)}this._data=a},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 i=t.getData(),r=t.coordinateSystem,a=r.dimensions,o=bY(t),s=this._progressiveEls=[],l=e.start;l<e.end;l++){var u=xY(i,this._dataGroup,l,a,r);u.incremental=!0,wY(u,i,l,o),s.push(u)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(dy);function vY(e,t,n){var i=e.model,r=e.getRect(),a=new Ts({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),o="horizontal"===i.get("layout")?"width":"height";return a.setShape(o,0),lu(a,{shape:{width:r.width,height:r.height}},t,n),a}function _Y(e,t,n,i){for(var r=[],a=0;a<n.length;a++){var o=n[a],s=e.get(e.mapDimension(o),t);MY(s,i.getAxis(o).type)||r.push(i.dataToPoint(s,o))}return r}function xY(e,t,n,i,r){var a=_Y(e,n,i,r),o=new $m({shape:{points:a},z2:10});return t.add(o),e.setItemGraphicEl(n,o),o}function bY(e){var t=e.get("smooth",!0);return!0===t&&(t=gY),t=_r(t),Object(x["l"])(t)&&(t=0),{smooth:t}}function wY(e,t,n,i){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",i.smooth);var r=t.getItemModel(n),a=r.getModel("emphasis");$l(e,r,"lineStyle"),Ul(e,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function MY(e,t){return"category"===t?null==e:null==e||isNaN(e)}var SY=yY,TY=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 v(t,e),t.prototype.getInitialData=function(e,t){return Kb(null,this,{useEncodeDefaulter:Object(x["c"])(LY,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,n=this.getData(),i=[];return t.eachActiveState(n,(function(t,r){e===t&&i.push(n.getRawIndex(r))})),i},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}(Vp);function LY(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return Object(x["k"])(t.dimensions,(function(e){var t=DY(e);n[e]=t})),n}}function DY(e){return+e.replace("dim","")}var AY=TY,OY=["lineStyle","opacity"],kY={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,i={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 r=i[e];if("normal"===e&&t.hasItemOption){var a=t.getItemModel(n).get(OY,!0);null!=a&&(r=a)}var o=t.ensureUniqueItemVisual(n,"style");o.opacity=r}),e.start,e.end)}}}},IY=kY;function CY(e){EY(e),PY(e)}function EY(e){if(!e.parallel){var t=!1;x["k"](e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function PY(e){var t=Dr(e.parallelAxis);x["k"](t,(function(t){if(x["A"](t)){var n=t.parallelIndex||0,i=Dr(e.parallel)[n];i&&i.parallelAxisDefault&&x["I"](t,i.parallelAxisDefault,!1)}}))}var NY=5,RY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},Object(x["k"])(YY,(function(e,t){n.getZr().on(t,this._handlers[t]=Object(x["c"])(e,this))}),this)),yy(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){vy(this,"_throttledDispatchExpand"),Object(x["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(x["m"])({type:"parallelAxisExpand"},e))},t.type="parallel",t}(Wp),YY={mousedown:function(e){zY(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(zY(this,"click")&&t){var n=[e.offsetX,e.offsetY],i=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(i>NY)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&zY(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function zY(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}var HY=RY,jY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&x["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){x["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=x["n"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);x["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}(mh),FY=jY,BY=function(e){function t(t,n,i,r,a){var o=e.call(this,t,n,i)||this;return o.type=r||"value",o.axisIndex=a,o}return v(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(mS),VY=BY;function GY(e,t,n,i,r,a){e=e||0;var o=n[1]-n[0];if(null!=r&&(r=UY(r,[0,o])),null!=a&&(a=Math.max(a,null!=r?r:0)),"all"===i){var s=Math.abs(t[1]-t[0]);s=UY(s,[0,o]),r=a=UY(s,[r,a]),i=0}t[0]=UY(t[0],n),t[1]=UY(t[1],n);var l=WY(t,i);t[i]+=e;var u,c=r||0,h=n.slice();return l.sign<0?h[0]+=c:h[1]-=c,t[i]=UY(t[i],h),u=WY(t,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(t[1-i]=t[i]+l.sign*r),u=WY(t,i),null!=a&&u.span>a&&(t[1-i]=t[i]+u.sign*a),t}function WY(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 UY(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var XY=x["k"],ZY=Math.min,qY=Math.max,$Y=Math.floor,JY=Math.ceil,KY=tr,QY=Math.PI,ez=function(){function e(e,t,n){this.type="parallel",this._axesMap=x["f"](),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var i=e.dimensions,r=e.parallelAxisIndex;XY(i,(function(e,n){var i=r[n],a=t.getComponent("parallelAxis",i),o=this._axesMap.set(e,new VY(e,fM(a),[0,0],a.get("type"),i)),s="category"===o.type;o.onBand=s&&a.get("boundaryGap"),o.inverse=a.get("inverse"),a.axis=o,o.model=a,o.coordinateSystem=a.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,i=t.layoutBase,r=t.pixelDimIndex,a=e[1-r],o=e[r];return a>=n&&a<=n+t.axisLength&&o>=i&&o<=i+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 i=n.getData();XY(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(i,i.mapDimension(e)),dM(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=ah(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,i=["x","y"],r=["width","height"],a=t.get("layout"),o="horizontal"===a?0:1,s=n[r[o]],l=[0,s],u=this.dimensions.length,c=tz(t.get("axisExpandWidth"),l),h=tz(t.get("axisExpandCount")||0,[0,u]),d=t.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=t.get("axisExpandWindow");if(f)e=tz(f[1]-f[0],l),f[1]=f[0]+e;else{e=tz(c*(h-1),l);var p=t.get("axisExpandCenter")||$Y(u/2);f=[c*p-e/2],f[1]=f[0]+e}var m=(s-e)/(u-h);m<3&&(m=0);var g=[$Y(KY(f[0]/c,1))+1,JY(KY(f[1]/c,1))-1],y=m/c*f[0];return{layout:a,pixelDimIndex:o,layoutBase:n[i[o]],layoutLength:s,axisBase:n[i[1-o]],axisLength:n[r[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:m,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;t.each((function(e){var t=[0,i.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),XY(n,(function(t,n){var a=(i.axisExpandable?iz:nz)(n,i),o={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},s={horizontal:QY/2,vertical:0},l=[o[r].x+e.x,o[r].y+e.y],u=s[r],c=xe();Te(c,c,u),Se(c,c,l),this._axesLayout[t]={position:l,rotation:u,transform:c,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.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,i){null==n&&(n=0),null==i&&(i=e.count());var r=this._axesMap,a=this.dimensions,o=[],s=[];x["k"](a,(function(t){o.push(e.mapDimension(t)),s.push(r.get(t).model)}));for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var c=void 0;if(l){c="active";for(var h=e.getValues(o,u),d=0,f=a.length;d<f;d++){var p=s[d].getActiveState(h[d]);if("inactive"===p){c="inactive";break}}}else c="normal";t(c,u)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,n=!1,i=0,r=e.length;i<r;i++)"normal"!==t.get(e[i]).model.getActiveState()&&(n=!0);return n},e.prototype.axisCoordToPoint=function(e,t){var n=this._axesLayout[t];return Vg([e,0],n.transform)},e.prototype.getAxisLayout=function(e){return x["d"](this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,i=t.axisExpandWindow.slice(),r=i[1]-i[0],a=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:i};var o,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<r*c[0]?(l="jump",o=s-r*c[2]):h&&u&&s>r*(1-c[0])?(l="jump",o=s-r*(1-c[2])):(o=s-r*c[1])>=0&&(o=s-r*(1-c[1]))<=0&&(o=0),o*=t.axisExpandWidth/u,o?GY(o,i,a,"all"):l="none";else{var d=i[1]-i[0],f=a[1]*s/d;i=[qY(0,f-d/2)],i[1]=ZY(a[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},e}();function tz(e,t){return ZY(qY(e,t[0]),t[1])}function nz(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function iz(e,t){var n,i,r=t.layoutLength,a=t.axisExpandWidth,o=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(n=e*s,i=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*a-t.axisExpandWindow[0],u=a,c=!0):(n=r-(o-1-e)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}var rz=ez;function az(e,t){var n=[];return e.eachComponent("parallel",(function(i,r){var a=new rz(i,e,t);a.name="parallel_"+r,a.resize(i,t),i.coordinateSystem=a,a.model=i,n.push(a)})),e.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",Qr).models[0];e.coordinateSystem=t.coordinateSystem}})),n}var oz={create:az},sz=oz,lz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return v(t,e),t.prototype.getAreaSelectStyle=function(){return ba([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=x["d"](e);if(t)for(var n=t.length-1;n>=0;n--)nr(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 i=0,r=t.length;i<r;i++)if(t[i][0]<=e&&e<=t[i][1])return"active";return"inactive"},t}(mh);x["K"](lz,MM);var uz=lz,cz=!0,hz=Math.min,dz=Math.max,fz=Math.pow,pz=1e4,mz=6,gz=6,yz="globalPan",vz={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_z={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},xz={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},bz=0,wz=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new Ni,n._uid="brushController_"+bz++,Object(x["k"])(eH,(function(e,t){this._handlers[t]=Object(x["c"])(e,this)}),n),n}return v(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||sI(t,yz,this._uid),Object(x["k"])(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=Object(x["I"])(Object(x["d"])(xz),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;lI(e,yz,this._uid),Object(x["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(x["k"])(e,(function(e){t[e.panelId]=Object(x["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(x["H"])(e,(function(e){return Object(x["I"])(Object(x["d"])(xz),e,!0)}));var t="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,a=this._creatingCover;return new ib(n,e,s,o).add(l).update(l).remove(u).execute(),this;function o(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function s(e,t){return o(e.__brushOption,t)}function l(t,o){var s=e[t];if(null!=o&&n[o]===a)i[t]=n[o];else{var l=i[t]=null!=o?(n[o].__brushOption=s,n[o]):Sz(r,Mz(r,s));Dz(r,l)}}function u(e){n[e]!==a&&r.group.remove(n[e])}},t.prototype.unmount=function(){return this.enableBrush(!1),Iz(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(G);function Mz(e,t){var n=iH[t.brushType].createCover(e,t);return n.__brushOption=t,Lz(n,t),e.group.add(n),n}function Sz(e,t){var n=Az(t);return n.endCreating&&(n.endCreating(e,t),Lz(t,t.__brushOption)),t}function Tz(e,t){var n=t.__brushOption;Az(t).updateCoverShape(e,t,n.range,n)}function Lz(e,t){var n=t.z;null==n&&(n=pz),e.traverse((function(e){e.z=n,e.z2=n}))}function Dz(e,t){Az(t).updateCommon(e,t),Tz(e,t)}function Az(e){return iH[e.__brushOption.brushType]}function Oz(e,t,n){var i,r=e._panels;if(!r)return cz;var a=e._transform;return Object(x["k"])(r,(function(e){e.isTargetByCursor(t,n,a)&&(i=e)})),i}function kz(e,t){var n=e._panels;if(!n)return cz;var i=t.__brushOption.panelId;return null!=i?n[i]:cz}function Iz(e){var t=e._covers,n=t.length;return Object(x["k"])(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function Cz(e,t){var n=Object(x["H"])(e._covers,(function(e){var t=e.__brushOption,n=Object(x["d"])(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function Ez(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],r=n[0]-i[0],a=n[1]-i[1],o=fz(r*r+a*a,.5);return o>mz}function Pz(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function Nz(e,t,n,i){var r=new Ni;return r.add(new Ts({name:"main",style:Hz(n),silent:!0,draggable:!0,cursor:"move",drift:Object(x["h"])(Gz,e,t,r,["n","s","w","e"]),ondragend:Object(x["h"])(Cz,t,{isEnd:!0})})),Object(x["k"])(i,(function(n){r.add(new Ts({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(x["h"])(Gz,e,t,r,n),ondragend:Object(x["h"])(Cz,t,{isEnd:!0})}))})),r}function Rz(e,t,n,i){var r=i.brushStyle.lineWidth||0,a=dz(r,gz),o=n[0][0],s=n[1][0],l=o-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-a+r/2,f=h-a+r/2,p=c-o,m=h-s,g=p+r,y=m+r;zz(e,t,"main",o,s,p,m),i.transformable&&(zz(e,t,"w",l,u,a,y),zz(e,t,"e",d,u,a,y),zz(e,t,"n",l,u,g,a),zz(e,t,"s",l,f,g,a),zz(e,t,"nw",l,u,a,a),zz(e,t,"ne",d,u,a,a),zz(e,t,"sw",l,f,a,a),zz(e,t,"se",d,f,a,a))}function Yz(e,t){var n=t.__brushOption,i=n.transformable,r=t.childAt(0);r.useStyle(Hz(n)),r.attr({silent:!i,cursor:i?"move":"default"}),Object(x["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=t.childOfName(n.join("")),a=1===n.length?Bz(e,n[0]):Vz(e,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?_z[a]+"-resize":null})}))}function zz(e,t,n,i,r,a,o){var s=t.childOfName(n);s&&s.setShape(Zz(Xz(e,t,[[i,r],[i+a,r+o]])))}function Hz(e){return Object(x["i"])({strokeNoScale:!0},e.brushStyle)}function jz(e,t,n,i){var r=[hz(e,n),hz(t,i)],a=[dz(e,n),dz(t,i)];return[[r[0],a[0]],[r[1],a[1]]]}function Fz(e){return Bg(e.group)}function Bz(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"},r=Gg(n[t],Fz(e));return i[r]}function Vz(e,t){var n=[Bz(e,t[0]),Bz(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function Gz(e,t,n,i,r,a){var o=n.__brushOption,s=e.toRectRange(o.range),l=Uz(t,r,a);Object(x["k"])(i,(function(e){var t=vz[e];s[t[0]][t[1]]+=l[t[0]]})),o.range=e.fromRectRange(jz(s[0][0],s[1][0],s[0][1],s[1][1])),Dz(t,n),Cz(t,{isEnd:!1})}function Wz(e,t,n,i){var r=t.__brushOption.range,a=Uz(e,n,i);Object(x["k"])(r,(function(e){e[0]+=a[0],e[1]+=a[1]})),Dz(e,t),Cz(e,{isEnd:!1})}function Uz(e,t,n){var i=e.group,r=i.transformCoordToLocal(t,n),a=i.transformCoordToLocal(0,0);return[r[0]-a[0],r[1]-a[1]]}function Xz(e,t,n){var i=kz(e,t);return i&&i!==cz?i.clipPath(n,e._transform):Object(x["d"])(n)}function Zz(e){var t=hz(e[0][0],e[1][0]),n=hz(e[0][1],e[1][1]),i=dz(e[0][0],e[1][0]),r=dz(e[0][1],e[1][1]);return{x:t,y:n,width:i-t,height:r-n}}function qz(e,t,n){if(e._brushType&&!nH(e,t.offsetX,t.offsetY)){var i=e._zr,r=e._covers,a=Oz(e,t,n);if(!e._dragging)for(var o=0;o<r.length;o++){var s=r[o].__brushOption;if(a&&(a===cz||s.panelId===a.panelId)&&iH[s.brushType].contain(r[o],n[0],n[1]))return}a&&i.setCursorStyle("crosshair")}}function $z(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Jz(e,t,n){return e.childOfName("main").contain(t,n)}function Kz(e,t,n,i){var r,a=e._creatingCover,o=e._creatingPanel,s=e._brushOption;if(e._track.push(n.slice()),Ez(e)||a){if(o&&!a){"single"===s.brushMode&&Iz(e);var l=Object(x["d"])(s);l.brushType=Qz(l.brushType,o),l.panelId=o===cz?null:o.panelId,a=e._creatingCover=Mz(e,l),e._covers.push(a)}if(a){var u=iH[Qz(e._brushType,o)],c=a.__brushOption;c.range=u.getCreatingRange(Xz(e,a,e._track)),i&&(Sz(e,a),u.updateCommon(e,a)),Tz(e,a),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&Oz(e,t,n)&&Iz(e)&&(r={isEnd:i,removeOnClick:!0});return r}function Qz(e,t){return"auto"===e?t.defaultBrushType:e}var eH={mousedown:function(e){if(this._dragging)tH(this,e);else if(!e.target||!e.target.draggable){$z(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=Oz(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,i=this.group.transformCoordToLocal(t,n);if(qz(this,e,i),this._dragging){$z(e);var r=Kz(this,e,i,!1);r&&Cz(this,r)}},mouseup:function(e){tH(this,e)}};function tH(e,t){if(e._dragging){$z(t);var n=t.offsetX,i=t.offsetY,r=e.group.transformCoordToLocal(n,i),a=Kz(e,t,r,!0);e._dragging=!1,e._track=[],e._creatingCover=null,a&&Cz(e,a)}}function nH(e,t,n){var i=e._zr;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}var iH={lineX:rH(0),lineY:rH(1),rect:{createCover:function(e,t){function n(e){return e}return Nz({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=Pz(e);return jz(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,i){Rz(e,t,n,i)},updateCommon:Yz,contain:Jz},polygon:{createCover:function(e,t){var n=new Ni;return n.add(new $m({name:"main",style:Hz(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Xm({name:"main",draggable:!0,drift:Object(x["h"])(Wz,e,t),ondragend:Object(x["h"])(Cz,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,i){t.childAt(0).setShape({points:Xz(e,t,n)})},updateCommon:Yz,contain:Jz}};function rH(e){return{createCover:function(t,n){return Nz({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=Pz(t),i=hz(n[0][e],n[1][e]),r=dz(n[0][e],n[1][e]);return[i,r]},updateCoverShape:function(t,n,i,r){var a,o=kz(t,n);if(o!==cz&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(e);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[i,a];e&&l.reverse(),Rz(t,n,l,r)},updateCommon:Yz,contain:Jz}}var aH=wz;function oH(e){return e=uH(e),function(t){return Zg(t,e)}}function sH(e,t){return e=uH(e),function(n){var i=null!=t?t:n,r=i?e.width:e.height,a=i?e.x:e.y;return[a,a+(r||0)]}}function lH(e,t,n){var i=uH(e);return function(e,r){return i.contain(r[0],r[1])&&!xI(e,t,n)}}function uH(e){return je.create(e)}var cH=["axisLine","axisTickLabel","axisName"],hH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new aH(n.getZr())).on("brush",x["c"](this._onBrush,this))},t.prototype.render=function(e,t,n,i){if(!dH(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new Ni,this.group.add(this._axisGroup),e.get("show")){var a=pH(e,t),o=a.coordinateSystem,s=e.getAreaSelectStyle(),l=s.width,u=e.axis.dim,c=o.getAxisLayout(u),h=x["m"]({strokeContainThreshold:l},c),d=new hk(e,h);x["k"](cH,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(h,s,e,a,l,n),Xg(r,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,i,r,a){var o=n.axis.getExtent(),s=o[1]-o[0],l=Math.min(30,.1*Math.abs(s)),u=je.create({x:o[0],y:-r/2,width:s,height:r});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:oH(u),isTargetByCursor:lH(u,a,i),getLinearBrushOtherExtent:sH(u,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(fH(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,i=n.axis,r=x["H"](t,(function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(Wp);function dH(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function fH(e){var t=e.axis;return x["H"](e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function pH(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var mH=hH,gH={type:"axisAreaSelect",event:"axisAreaSelected"};function yH(e){e.registerAction(gH,(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 vH={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function _H(e){e.registerComponentView(HY),e.registerComponentModel(FY),e.registerCoordinateSystem("parallel",sz),e.registerPreprocessor(CY),e.registerComponentModel(uz),e.registerComponentView(mH),CO(e,"parallel",uz,vH),yH(e)}function xH(e){IM(_H),e.registerChartView(SY),e.registerSeriesModel(AY),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,IY)}var bH=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}(),wH=function(e){function t(t){return e.call(this,t)||this}return v(t,e),t.prototype.getDefaultShape=function(){return new bH},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(){Dl(this)},t.prototype.downplay=function(){Al(this)},t}(ls),MH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return v(t,e),t.prototype.render=function(e,t,n){var i=this,r=e.getGraph(),a=this.group,o=e.layoutInfo,s=o.width,l=o.height,u=e.getData(),c=e.getData("edge"),h=e.get("orient");this._model=e,a.removeAll(),a.x=o.x,a.y=o.y,r.eachEdge((function(t){var n=new wH,i=Gs(n);i.dataIndex=t.dataIndex,i.seriesIndex=e.seriesIndex,i.dataType="edge";var r,o,u,d,f,p,m,g,y=t.getModel(),v=y.getModel("lineStyle"),_=v.get("curveness"),b=t.node1.getLayout(),w=t.node1.getModel(),M=w.get("localX"),S=w.get("localY"),T=t.node2.getLayout(),L=t.node2.getModel(),D=L.get("localX"),A=L.get("localY"),O=t.getLayout();n.shape.extent=Math.max(1,O.dy),n.shape.orient=h,"vertical"===h?(r=(null!=M?M*s:b.x)+O.sy,o=(null!=S?S*l:b.y)+b.dy,u=(null!=D?D*s:T.x)+O.ty,d=null!=A?A*l:T.y,f=r,p=o*(1-_)+d*_,m=u,g=o*_+d*(1-_)):(r=(null!=M?M*s:b.x)+b.dx,o=(null!=S?S*l:b.y)+O.sy,u=null!=D?D*s:T.x,d=(null!=A?A*l:T.y)+O.ty,f=r*(1-_)+u*_,p=o,m=r*_+u*(1-_),g=d),n.setShape({x1:r,y1:o,x2:u,y2:d,cpx1:f,cpy1:p,cpx2:m,cpy2:g}),n.useStyle(v.getItemStyle()),SH(n.style,h,t);var k=""+y.get("value"),I=_u(y,"edgeLabel");vu(n,I,{labelFetcher:{getFormattedLabel:function(t,n,i,r,a,o){return e.getFormattedLabel(t,n,"edge",r,Object(x["Q"])(a,I.normal&&I.normal.get("formatter"),k),o)}},labelDataIndex:t.dataIndex,defaultText:k}),n.setTextConfig({position:"inside"});var C=y.getModel("emphasis");$l(n,y,"lineStyle",(function(e){var n=e.getItemStyle();return SH(n,h,t),n})),a.add(n),c.setItemGraphicEl(t.dataIndex,n);var E=C.get("focus");Ul(n,"adjacency"===E?t.getAdjacentDataIndices():"trajectory"===E?t.getTrajectoryDataIndices():E,C.get("blurScope"),C.get("disabled"))})),r.eachNode((function(t){var n=t.getLayout(),i=t.getModel(),r=i.get("localX"),o=i.get("localY"),c=i.getModel("emphasis"),h=i.get(["itemStyle","borderRadius"])||0,d=new Ts({shape:{x:null!=r?r*s:n.x,y:null!=o?o*l:n.y,width:n.dx,height:n.dy,r:h},style:i.getModel("itemStyle").getItemStyle(),z2:10});vu(d,_u(i),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(t,n,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),d.disableLabelAnimation=!0,d.setStyle("fill",t.getVisual("color")),d.setStyle("decal",t.getVisual("style").decal),$l(d,i),a.add(d),u.setItemGraphicEl(t.dataIndex,d),Gs(d).dataType="node";var f=c.get("focus");Ul(d,"adjacency"===f?t.getAdjacentDataIndices():"trajectory"===f?t.getTrajectoryDataIndices():f,c.get("blurScope"),c.get("disabled"))})),u.eachItemGraphicEl((function(t,r){var a=u.getItemModel(r);a.get("draggable")&&(t.drift=function(t,a){i._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=a,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},t.ondragend=function(){i._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")})),!this._data&&e.isAnimationEnabled()&&a.setClipPath(TH(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(dy);function SH(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 i=n.node1.getVisual("color"),r=n.node2.getVisual("color");Object(x["C"])(i)&&Object(x["C"])(r)&&(e.fill=new pg(0,0,+("horizontal"===t),+("vertical"===t),[{color:i,offset:0},{color:r,offset:1}]))}}function TH(e,t,n){var i=new Ts({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return lu(i,{shape:{width:e.width+20}},t,n),i}var LH=MH,DH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.getInitialData=function(e,t){var n=e.edges||e.links,i=e.data||e.nodes,r=e.levels;this.levelModels=[];for(var a=this.levelModels,o=0;o<r.length;o++)null!=r[o].depth&&r[o].depth>=0&&(a[r[o].depth]=new Gu(r[o],this,t));if(i&&n){var s=GR(i,n,this,!0,l);return s.data}function l(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,i=n.getData().getItemLayout(t);if(i){var r=i.depth,a=n.levelModels[r];a&&(e.parentModel=a)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,i=n.getGraph().getEdgeByIndex(t),r=i.node1.getLayout();if(r){var a=r.depth,o=n.levelModels[a];o&&(e.parentModel=o)}return e}))}},t.prototype.setNodePosition=function(e,t){var n=this.option.data||this.option.nodes,i=n[e];i.localX=t[0],i.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 i(e){return isNaN(e)||null==e}if("edge"===n){var r=this.getDataParams(e,n),a=r.data,o=r.value,s=a.source+" -- "+a.target;return fp("nameValue",{name:s,value:o,noValue:i(o)})}var l=this.getGraph().getNodeByIndex(e),u=l.getLayout().value,c=this.getDataParams(e,n).data.name;return fp("nameValue",{name:null!=c?c+"":null,value:u,noValue:i(u)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var i=e.prototype.getDataParams.call(this,t,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(t),a=r.getLayout().value;i.value=a}return i},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}(Vp),AH=DH;function OH(e,t){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),i=e.get("nodeGap"),r=kH(e,t);e.layoutInfo=r;var a=r.width,o=r.height,s=e.getGraph(),l=s.nodes,u=s.edges;CH(l);var c=x["n"](l,(function(e){return 0===e.getLayout().value})),h=0!==c.length?0:e.get("layoutIterations"),d=e.get("orient"),f=e.get("nodeAlign");IH(l,u,n,i,a,o,h,d,f)}))}function kH(e,t){return ah(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function IH(e,t,n,i,r,a,o,s,l){EH(e,t,n,r,a,s,l),zH(e,t,a,r,i,o,s),JH(e,s)}function CH(e){x["k"](e,(function(e){var t=qH(e.outEdges,ZH),n=qH(e.inEdges,ZH),i=e.getValue()||0,r=Math.max(t,n,i);e.setLayout({value:r},!0)}))}function EH(e,t,n,i,r,a,o){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<t.length;d++)s[d]=1;for(d=0;d<e.length;d++)l[d]=e[d].inEdges.length,0===l[d]&&u.push(e[d]);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),y=null!=g.depth&&g.depth>=0;y&&g.depth>f&&(f=g.depth),m.setLayout({depth:y?g.depth:h},!0),"vertical"===a?m.setLayout({dy:n},!0):m.setLayout({dx:n},!0);for(var v=0;v<m.outEdges.length;v++){var _=m.outEdges[v],x=t.indexOf(_);s[x]=0;var b=_.node2,w=e.indexOf(b);0===--l[w]&&c.indexOf(b)<0&&c.push(b)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var M=f>h-1?f:h-1;o&&"left"!==o&&NH(e,o,a,M);var S="vertical"===a?(r-n)/M:(i-n)/M;YH(e,S,a)}function PH(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function NH(e,t,n,i){if("right"===t){var r=[],a=e,o=0;while(a.length){for(var s=0;s<a.length;s++){var l=a[s];l.setLayout({skNodeHeight:o},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];r.indexOf(c.node1)<0&&r.push(c.node1)}}a=r,r=[],++o}x["k"](e,(function(e){PH(e)||e.setLayout({depth:Math.max(0,i-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&RH(e,i)}function RH(e,t){x["k"](e,(function(e){PH(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function YH(e,t,n){x["k"](e,(function(e){var i=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:i},!0):e.setLayout({x:i},!0)}))}function zH(e,t,n,i,r,a,o){var s=HH(e,o);jH(s,t,n,i,r,o),FH(s,r,n,i,o);for(var l=1;a>0;a--)l*=.99,BH(s,l,o),FH(s,r,n,i,o),$H(s,l,o),FH(s,r,n,i,o)}function HH(e,t){var n=[],i="vertical"===t?"y":"x",r=aa(e,(function(e){return e.getLayout()[i]}));return r.keys.sort((function(e,t){return e-t})),x["k"](r.keys,(function(e){n.push(r.buckets.get(e))})),n}function jH(e,t,n,i,r,a){var o=1/0;x["k"](e,(function(e){var t=e.length,s=0;x["k"](e,(function(e){s+=e.getLayout().value}));var l="vertical"===a?(i-(t-1)*r)/s:(n-(t-1)*r)/s;l<o&&(o=l)})),x["k"](e,(function(e){x["k"](e,(function(e,t){var n=e.getLayout().value*o;"vertical"===a?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),x["k"](t,(function(e){var t=+e.getValue()*o;e.setLayout({dy:t},!0)}))}function FH(e,t,n,i,r){var a="vertical"===r?"x":"y";x["k"](e,(function(e){var o,s,l;e.sort((function(e,t){return e.getLayout()[a]-t.getLayout()[a]}));for(var u=0,c=e.length,h="vertical"===r?"dx":"dy",d=0;d<c;d++)s=e[d],l=u-s.getLayout()[a],l>0&&(o=s.getLayout()[a]+l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[a]+s.getLayout()[h]+t;var f="vertical"===r?i:n;if(l=u-t-f,l>0){o=s.getLayout()[a]-l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0),u=o;for(d=c-2;d>=0;--d)s=e[d],l=s.getLayout()[a]+s.getLayout()[h]+t-u,l>0&&(o=s.getLayout()[a]-l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[a]}}))}function BH(e,t,n){x["k"](e.slice().reverse(),(function(e){x["k"](e,(function(e){if(e.outEdges.length){var i=qH(e.outEdges,VH,n)/qH(e.outEdges,ZH);if(isNaN(i)){var r=e.outEdges.length;i=r?qH(e.outEdges,GH,n)/r:0}if("vertical"===n){var a=e.getLayout().x+(i-XH(e,n))*t;e.setLayout({x:a},!0)}else{var o=e.getLayout().y+(i-XH(e,n))*t;e.setLayout({y:o},!0)}}}))}))}function VH(e,t){return XH(e.node2,t)*e.getValue()}function GH(e,t){return XH(e.node2,t)}function WH(e,t){return XH(e.node1,t)*e.getValue()}function UH(e,t){return XH(e.node1,t)}function XH(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function ZH(e){return e.getValue()}function qH(e,t,n){var i=0,r=e.length,a=-1;while(++a<r){var o=+t(e[a],n);isNaN(o)||(i+=o)}return i}function $H(e,t,n){x["k"](e,(function(e){x["k"](e,(function(e){if(e.inEdges.length){var i=qH(e.inEdges,WH,n)/qH(e.inEdges,ZH);if(isNaN(i)){var r=e.inEdges.length;i=r?qH(e.inEdges,UH,n)/r:0}if("vertical"===n){var a=e.getLayout().x+(i-XH(e,n))*t;e.setLayout({x:a},!0)}else{var o=e.getLayout().y+(i-XH(e,n))*t;e.setLayout({y:o},!0)}}}))}))}function JH(e,t){var n="vertical"===t?"x":"y";x["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]}))})),x["k"](e,(function(e){var t=0,n=0;x["k"](e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),x["k"](e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}function KH(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes,i=t.edges;if(n.length){var r=1/0,a=-1/0;x["k"](n,(function(e){var t=e.getLayout().value;t<r&&(r=t),t>a&&(a=t)})),x["k"](n,(function(t){var n=new JP({type:"color",mappingMethod:"linear",dataExtent:[r,a],visual:e.get("color")}),i=n.mapValueToVisual(t.getLayout().value),o=t.getModel().get(["itemStyle","color"]);null!=o?(t.setVisual("color",o),t.setVisual("style",{fill:o})):(t.setVisual("color",i),t.setVisual("style",{fill:i}))}))}i.length&&x["k"](i,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}function QH(e){e.registerChartView(LH),e.registerSeriesModel(AH),e.registerLayout(OH),e.registerVisual(KH),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 ej=function(){function e(){}return e.prototype.getInitialData=function(e,t){var n,i,r=t.getComponent("xAxis",this.get("xAxisIndex")),a=t.getComponent("yAxis",this.get("yAxisIndex")),o=r.get("type"),s=a.get("type");"category"===o?(e.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(e.layout="vertical",n=a.getOrdinalMeta(),i=!0):e.layout=e.layout||"horizontal";var l=["x","y"],u="horizontal"===e.layout?0:1,c=this._baseAxisDim=l[u],h=l[1-u],d=[r,a],f=d[u].get("type"),p=d[1-u].get("type"),m=e.data;if(m&&i){var g=[];x["k"](m,(function(e,t){var n;x["t"](e)?(n=e.slice(),e.unshift(t)):x["t"](e.value)?(n=x["m"]({},e),n.value=n.value.slice(),e.value.unshift(t)):n=e,g.push(n)})),e.data=g}var y=this.defaultValueDimensions,v=[{name:c,type:sb(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:sb(p),dimsDef:y.slice()}];return aO(this,{coordDimensions:v,dimensionsCount:y.length+1,encodeDefaulter:x["h"](Ih,v,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),tj=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 v(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}(Vp);Object(x["K"])(tj,ej,!0);var nj=tj,ij=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=e.getData(),r=this.group,a=this._data;this._data||r.removeAll();var o="horizontal"===e.get("layout")?1:0;i.diff(a).add((function(e){if(i.hasValue(e)){var t=i.getItemLayout(e),n=oj(t,i,e,o,!0);i.setItemGraphicEl(e,n),r.add(n)}})).update((function(e,t){var n=a.getItemGraphicEl(t);if(i.hasValue(e)){var s=i.getItemLayout(e);n?(fu(n),sj(s,n,i,e)):n=oj(s,i,e,o),r.add(n),i.setItemGraphicEl(e,n)}else r.remove(n)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=i},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}(dy),rj=function(){function e(){}return e}(),aj=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return v(t,e),t.prototype.getDefaultShape=function(){return new rj},t.prototype.buildPath=function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i<n.length;i++)e.moveTo(n[i][0],n[i][1]),i++,e.lineTo(n[i][0],n[i][1])},t}(ls);function oj(e,t,n,i,r){var a=e.ends,o=new aj({shape:{points:r?lj(a,i,e):a}});return sj(e,o,t,n,r),o}function sj(e,t,n,i,r){var o=n.hostModel,s=a[r?"initProps":"updateProps"];s(t,{shape:{points:e.ends}},o,i),t.useStyle(n.getItemVisual(i,"style")),t.style.strokeNoScale=!0,t.z2=100;var l=n.getItemModel(i),u=l.getModel("emphasis");$l(t,l),Ul(t,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function lj(e,t,n){return x["H"](e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var uj=ij,cj=x["k"];function hj(e){var t=dj(e);cj(t,(function(e){var t=e.seriesModels;t.length&&(fj(e),cj(t,(function(t,n){pj(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function dj(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var i=e.getBaseAxis(),r=x["r"](n,i);r<0&&(r=n.length,n[r]=i,t[r]={axis:i,seriesModels:[]}),t[r].seriesModels.push(e)})),t}function fj(e){var t,n=e.axis,i=e.seriesModels,r=i.length,a=e.boxWidthList=[],o=e.boxOffsetList=[],s=[];if("category"===n.type)t=n.getBandWidth();else{var l=0;cj(i,(function(e){l=Math.max(l,e.getData().count())}));var u=n.getExtent();t=Math.abs(u[1]-u[0])/l}cj(i,(function(e){var n=e.get("boxWidth");x["t"](n)||(n=[n,n]),s.push([er(n[0],t)||0,er(n[1],t)||0])}));var c=.8*t-2,h=c/r*.3,d=(c-h*(r-1))/r,f=d/2-c/2;cj(i,(function(e,t){o.push(f),f+=h+d,a.push(Math.min(Math.max(d,s[t][0]),s[t][1]))}))}function pj(e,t,n){var i=e.coordinateSystem,r=e.getData(),a=n/2,o="horizontal"===e.get("layout")?0:1,s=1-o,l=["x","y"],u=r.mapDimension(l[o]),c=r.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var h=0;h<r.count();h++){var d=r.get(u,h),f=_(d,c[2],h),p=_(d,c[0],h),m=_(d,c[1],h),g=_(d,c[3],h),y=_(d,c[4],h),v=[];x(v,m,!1),x(v,g,!0),v.push(p,m,y,g),b(v,p),b(v,y),b(v,f),r.setItemLayout(h,{initBaseline:f[s],ends:v})}function _(e,n,a){var l,u=r.get(n,a),c=[];return c[o]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c),l[o]+=t),l}function x(e,t,n){var i=t.slice(),r=t.slice();i[o]+=a,r[o]-=a,n?e.push(i,r):e.push(r,i)}function b(e,t){var n=t.slice(),i=t.slice();n[o]-=a,i[o]+=a,e.push(n,i)}}function mj(e,t){t=t||{};for(var n=[],i=[],r=t.boundIQR,a="none"===r||0===r,o=0;o<e.length;o++){var s=nr(e[o].slice()),l=yr(s,.25),u=yr(s,.5),c=yr(s,.75),h=s[0],d=s[s.length-1],f=(null==r?1.5:r)*(c-l),p=a?h:Math.max(h,l-f),m=a?d:Math.min(d,c+f),g=t.itemNameFormatter,y=Object(x["w"])(g)?g({value:o}):Object(x["C"])(g)?g.replace("{value}",o+""):o+"";n.push([y,p,l,u,c,m]);for(var v=0;v<s.length;v++){var _=s[v];if(_<p||_>m){var b=[y,_];i.push(b)}}}return{boxData:n,outliers:i}}var gj={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==bh){var n="";0,Jh(n)}var i=mj(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function yj(e){e.registerSeriesModel(nj),e.registerChartView(uj),e.registerLayout(hj),e.registerTransform(gj)}var vj=["color","borderColor"],_j=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){iy(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,i=this.group,r=t.getLayout("isSimpleBox"),a=e.get("clip",!0),o=e.coordinateSystem,s=o.getArea&&o.getArea();this._data||i.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var o=t.getItemLayout(n);if(a&&Mj(s,o))return;var l=wj(o,n,!0);lu(l,{shape:{points:o.ends}},e,n),Sj(l,t,n,r),i.add(l),t.setItemGraphicEl(n,l)}})).update((function(o,l){var u=n.getItemGraphicEl(l);if(t.hasValue(o)){var c=t.getItemLayout(o);a&&Mj(s,c)?i.remove(u):(u?(su(u,{shape:{points:c.ends}},e,o),fu(u)):u=wj(c,o),Sj(u,t,o,r),i.add(u),t.setItemGraphicEl(o,u))}else i.remove(u)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),Aj(e,this.group);var t=e.get("clip",!0)?ED(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){var n,i=t.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=e.next())){var a=i.getItemLayout(n),o=wj(a,n);Sj(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},t.prototype._incrementalRenderLarge=function(e,t){Aj(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}(dy),xj=function(){function e(){}return e}(),bj=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return v(t,e),t.prototype.getDefaultShape=function(){return new xj},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}(ls);function wj(e,t,n){var i=e.ends;return new bj({shape:{points:n?Tj(i,e):i},z2:100})}function Mj(e,t){for(var n=!0,i=0;i<t.ends.length;i++)if(e.contain(t.ends[i][0],t.ends[i][1])){n=!1;break}return n}function Sj(e,t,n,i){var r=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=i,$l(e,r)}function Tj(e,t){return x["H"](e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var Lj=function(){function e(){}return e}(),Dj=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeCandlestickBox",n}return v(t,e),t.prototype.getDefaultShape=function(){return new Lj},t.prototype.buildPath=function(e,t){for(var n=t.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];e.moveTo(r,n[i++]),e.lineTo(r,n[i++])}else i+=3},t}(ls);function Aj(e,t,n,i){var r=e.getData(),a=r.getLayout("largePoints"),o=new Dj({shape:{points:a},__sign:1,ignoreCoarsePointer:!0});t.add(o);var s=new Dj({shape:{points:a},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new Dj({shape:{points:a},__sign:0,ignoreCoarsePointer:!0});t.add(l),Oj(1,o,e,r),Oj(-1,s,e,r),Oj(0,l,e,r),i&&(o.incremental=!0,s.incremental=!0),n&&n.push(o,s)}function Oj(e,t,n,i){var r=n.get(["itemStyle",e>0?"borderColor":"borderColor0"])||n.get(["itemStyle",e>0?"color":"color0"]);0===e&&(r=n.get(["itemStyle","borderColorDoji"]));var a=n.getModel("itemStyle").getItemStyle(vj);t.useStyle(a),t.style.fill=null,t.style.stroke=r}var kj=_j,Ij=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 v(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.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:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(Vp);Object(x["K"])(Ij,ej,!0);var Cj=Ij;function Ej(e){e&&x["t"](e.series)&&x["k"](e.series,(function(e){x["A"](e)&&"k"===e.type&&(e.type="candlestick")}))}var Pj=["itemStyle","borderColor"],Nj=["itemStyle","borderColor0"],Rj=["itemStyle","borderColorDoji"],Yj=["itemStyle","color"],zj=["itemStyle","color0"],Hj={seriesType:"candlestick",plan:Up(),performRawSeries:!0,reset:function(e,t){function n(e,t){return t.get(e>0?Yj:zj)}function i(e,t){return t.get(0===e?Rj:e>0?Pj:Nj)}if(!t.isSeriesFiltered(e)){var r=e.pipelineContext.large;return!r&&{progress:function(e,t){var r;while(null!=(r=e.next())){var a=t.getItemModel(r),o=t.getItemLayout(r).sign,s=a.getItemStyle();s.fill=n(o,a),s.stroke=i(o,a)||s.fill;var l=t.ensureUniqueItemVisual(r,"style");Object(x["m"])(l,s)}}}}}},jj=Hj,Fj={seriesType:"candlestick",plan:Up(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),i=Vj(e,n),r=0,a=1,o=["x","y"],s=n.getDimensionIndex(n.mapDimension(o[r])),l=Object(x["H"])(n.mapDimensionsAll(o[a]),n.getDimensionIndex,n),u=l[0],c=l[1],h=l[2],d=l[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(s<0||l.length<4))return{progress:e.pipelineContext.large?p:f};function f(e,n){var o,l=n.getStore();while(null!=(o=e.next())){var f=l.get(s,o),p=l.get(u,o),m=l.get(c,o),g=l.get(h,o),y=l.get(d,o),v=Math.min(p,m),_=Math.max(p,m),x=D(v,f),b=D(_,f),w=D(g,f),M=D(y,f),S=[];A(S,b,0),A(S,x,1),S.push(k(M),k(b),k(w),k(x));var T=n.getItemModel(o),L=!!T.get(["itemStyle","borderColorDoji"]);n.setItemLayout(o,{sign:Bj(l,o,p,m,c,L),initBaseline:p>m?b[a]:x[a],ends:S,brushRect:O(g,y,f)})}function D(e,n){var i=[];return i[r]=n,i[a]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function A(e,t,n){var a=t.slice(),o=t.slice();a[r]=Fg(a[r]+i/2,1,!1),o[r]=Fg(o[r]-i/2,1,!0),n?e.push(a,o):e.push(o,a)}function O(e,t,n){var o=D(e,n),s=D(t,n);return o[r]-=i/2,s[r]-=i/2,{x:o[0],y:o[1],width:a?i:s[0]-o[0],height:a?s[1]-o[1]:i}}function k(e){return e[r]=Fg(e[r],1),e}}function p(n,i){var o,l,f=bw(4*n.count),p=0,m=[],g=[],y=i.getStore(),v=!!e.get(["itemStyle","borderColorDoji"]);while(null!=(l=n.next())){var _=y.get(s,l),x=y.get(u,l),b=y.get(c,l),w=y.get(h,l),M=y.get(d,l);isNaN(_)||isNaN(w)||isNaN(M)?(f[p++]=NaN,p+=3):(f[p++]=Bj(y,l,x,b,c,v),m[r]=_,m[a]=w,o=t.dataToPoint(m,null,g),f[p++]=o?o[0]:NaN,f[p++]=o?o[1]:NaN,m[a]=M,o=t.dataToPoint(m,null,g),f[p++]=o?o[1]:NaN)}i.setLayout("largePoints",f)}}};function Bj(e,t,n,i,r,a){var o;return o=n>i?-1:n<i?1:a?0:t>0?e.get(r,t-1)<=i?1:-1:1,o}function Vj(e,t){var n,i=e.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),a=er(Object(x["P"])(e.get("barMaxWidth"),r),r),o=er(Object(x["P"])(e.get("barMinWidth"),1),r),s=e.get("barWidth");return null!=s?er(s,r):Math.max(Math.min(r/2,a),o)}var Gj=Fj;function Wj(e){e.registerChartView(kj),e.registerSeriesModel(Cj),e.registerPreprocessor(Ej),e.registerVisual(jj),e.registerLayout(Gj)}function Uj(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 Xj=function(e){function t(t,n){var i=e.call(this)||this,r=new dD(t,n),a=new Ni;return i.add(r),i.add(a),i.updateData(t,n),i}return v(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,i=e.rippleNumber,r=this.childAt(1),a=0;a<i;a++){var o=Tv(t,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-a/i*e.period+e.effectOffset;o.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(s).start(),o.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),r.add(o)}Uj(r,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var a=i[r];if(t[a]!==e[a])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}Uj(n,e)},t.prototype.highlight=function(){Dl(this)},t.prototype.downplay=function(){Al(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var n=this,i=e.hostModel;this.childAt(0).updateData(e,t);var r=this.childAt(1),a=e.getItemModel(t),o=e.getItemVisual(t,"symbol"),s=Lv(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"style"),u=l&&l.fill,c=a.getModel("emphasis");r.setScale(s),r.traverse((function(e){e.setStyle("fill",u)}));var h=Dv(e.getItemVisual(t,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var d=e.getItemVisual(t,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var f={};f.showEffectOn=i.get("showEffectOn"),f.rippleScale=a.get(["rippleEffect","scale"]),f.brushType=a.get(["rippleEffect","brushType"]),f.period=1e3*a.get(["rippleEffect","period"]),f.effectOffset=t/e.count(),f.z=i.getShallow("z")||0,f.zlevel=i.getShallow("zlevel")||0,f.symbolType=o,f.color=u,f.rippleEffectColor=a.get(["rippleEffect","color"]),f.rippleNumber=a.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,Ul(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(Ni),Zj=Xj,qj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(){this._symbolDraw=new yD(Zj)},t.prototype.render=function(e,t,n){var i=e.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(e)}),this.group.add(r.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 i=e.getData();this.group.dirty();var r=eA("").reset(e,t,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=Ae(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(dy),$j=qj,Jj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return v(t,e),t.prototype.getInitialData=function(e,t){return Kb(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}(Vp),Kj=Jj;function Qj(e){e.registerChartView($j),e.registerSeriesModel(Kj),e.registerLayout(eA("effectScatter"))}var eF=function(e){function t(t,n,i){var r=e.call(this)||this;return r.add(r.createLine(t,n,i)),r._updateEffectSymbol(t,n),r}return v(t,e),t.prototype.createLine=function(e,t,n){return new xR(e,t,n)},t.prototype._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),i=n.getModel("effect"),r=i.get("symbolSize"),a=i.get("symbol");x["t"](r)||(r=[r,r]);var o=e.getItemVisual(t,"style"),s=i.get("color")||o&&o.stroke,l=this.childAt(1);this._symbolType!==a&&(this.remove(l),l=Tv(a,-.5,-.5,1,1,s),l.z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(i.getItemStyle(["color"])),l.scaleX=r[0],l.scaleY=r[1],l.setColor(s),this._symbolType=a,this._symbolScale=r,this._updateEffectAnimation(e,i,t))},t.prototype._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var r=e.getItemLayout(n),a=1e3*t.get("period"),o=t.get("loop"),s=t.get("roundTrip"),l=t.get("constantSpeed"),u=x["O"](t.get("delay"),(function(t){return t/e.count()*a/3}));if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(a=this._getLineLength(i)/l*1e3),a!==this._period||o!==this._loop||s!==this._roundTrip){i.stopAnimation();var c=void 0;c=x["w"](u)?u(n):u,i.__t>0&&(c=-a*i.__t),this._animateSymbol(i,a,c,o,s)}this._period=a,this._loop=o,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,i,r){if(t>0){e.__t=0;var a=this,o=e.animate("",i).when(r?2*t:t,{__t:r?2:1}).delay(n).during((function(){a._updateSymbolPosition(e)}));i||o.done((function(){a.remove(e)})),o.start()}},t.prototype._getLineLength=function(e){return E(e.__p1,e.__cp1)+E(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,i=e.__cp1,r=e.__t<1?e.__t:2-e.__t,a=[e.x,e.y],o=a.slice(),s=Ht,l=jt;a[0]=s(t[0],i[0],n[0],r),a[1]=s(t[1],i[1],n[1],r);var u=e.__t<1?l(t[0],i[0],n[0],r):l(n[0],i[0],t[0],1-r),c=e.__t<1?l(t[1],i[1],n[1],r):l(n[1],i[1],t[1],1-r);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*E(o,a),1===r&&(a[0]=o[0]+(a[0]-o[0])/2,a[1]=o[1]+(a[1]-o[1])/2)):1===e.__lastT?e.scaleY=2*E(t,a):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=a[0],e.y=a[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}(Ni),tF=eF,nF=function(e){function t(t,n,i){var r=e.call(this)||this;return r._createPolyline(t,n,i),r}return v(t,e),t.prototype._createPolyline=function(e,t,n){var i=e.getItemLayout(t),r=new $m({shape:{points:i}});this.add(r),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var i=e.hostModel,r=this.childAt(0),a={shape:{points:e.getItemLayout(t)}};su(r,a,i,t),this._updateCommonStl(e,t,n)},t.prototype._updateCommonStl=function(e,t,n){var i=this.childAt(0),r=e.getItemModel(t),a=n&&n.emphasisLineStyle,o=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||e.hasItemOption){var u=r.getModel("emphasis");a=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),o=u.get("focus"),s=u.get("blurScope")}i.useStyle(e.getItemVisual(t,"style")),i.style.fill=null,i.style.strokeNoScale=!0;var c=i.ensureState("emphasis");c.style=a,Ul(this,o,s,l)},t.prototype.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},t}(Ni),iF=nF,rF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return v(t,e),t.prototype.createLine=function(e,t,n){return new iF(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],i=0,r=1;r<t.length;r++){var a=t[r-1],o=t[r];i+=E(a,o),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}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,i=this._offsets,r=n.length;if(i){var a,o=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(o+1,r-1);for(a=s;a>=0;a--)if(i[a]<=t)break;a=Math.min(a,r-2)}else{for(a=o;a<r;a++)if(i[a]>t)break;a=Math.min(a-1,r-2)}var l=(t-i[a])/(i[a+1]-i[a]),u=n[a],c=n[a+1];e.x=u[0]*(1-l)+l*c[0],e.y=u[1]*(1-l)+l*c[1];var h=e.__t<1?c[0]-u[0]:u[0]-c[0],d=e.__t<1?c[1]-u[1]:u[1]-c[1];e.rotation=-Math.atan2(d,h)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=t,e.ignore=!1}},t}(tF),aF=rF,oF=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),sF=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return v(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 oF},t.prototype.buildPath=function(e,t){var n,i=t.segs,r=t.curveness;if(t.polyline)for(n=this._off;n<i.length;){var a=i[n++];if(a>0){e.moveTo(i[n++],i[n++]);for(var o=1;o<a;o++)e.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],c=i[n++];if(e.moveTo(s,l),r>0){var h=(s+u)/2-(l-c)*r,d=(l+c)/2-(u-s)*r;e.quadraticCurveTo(h,d,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,i=n.segs,r=n.curveness,a=this.style.lineWidth;if(n.polyline)for(var o=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],c=i[s++],h=1;h<l;h++){var d=i[s++],f=i[s++];if(Yo(u,c,d,f,a,e,t))return o}o++}else for(o=0,s=0;s<i.length;){u=i[s++],c=i[s++],d=i[s++],f=i[s++];if(r>0){var p=(u+d)/2-(c-f)*r,m=(c+f)/2-(d-u)*r;if(Ho(u,c,p,m,d,f,a,e,t))return o}else if(Yo(u,c,d,f,a,e,t))return o;o++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect();if(e=n[0],t=n[1],i.contain(e,t)){var r=this.hoverDataIdx=this.findDataIndex(e,t);return r>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.segs,i=1/0,r=1/0,a=-1/0,o=-1/0,s=0;s<n.length;){var l=n[s++],u=n[s++];i=Math.min(l,i),a=Math.max(l,a),r=Math.min(u,r),o=Math.max(u,o)}e=this._rect=new je(i,r,a,o)}return e},t}(ls),lF=function(){function e(){this.group=new Ni}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],i=t.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var a=r.length,o=new Float32Array(a+i.length);o.set(r),o.set(i,a),n.setShape({segs:o})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),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 sF({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var r=t.getVisual("style");r&&r.stroke&&e.setStyle("stroke",r.stroke),e.setStyle("fill",null);var a=Gs(e);a.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){a.dataIndex=null;var n=e.hoverDataIdx;n>0&&(a.dataIndex=n+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),uF=lF,cF={seriesType:"lines",plan:Up(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),i=e.pipelineContext.large;return{progress:function(r,a){var o=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var f=e.getLineCoords(c,o);n&&(s[h++]=f);for(var p=0;p<f;p++)d=t.dataToPoint(o[p],!1,d),s[h++]=d[0],s[h++]=d[1]}a.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var m=a.getItemModel(c),g=(f=e.getLineCoords(c,o),[]);if(n)for(var y=0;y<f;y++)g.push(t.dataToPoint(o[y]));else{g[0]=t.dataToPoint(o[0]),g[1]=t.dataToPoint(o[1]);var v=m.get(["lineStyle","curveness"]);+v&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*v,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*v])}a.setItemLayout(c,g)}}}}}},hF=cF,dF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=e.getData(),r=this._updateLineDraw(i,e),a=e.get("zlevel"),o=e.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(a).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&o>0&&(l||s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),r.updateData(i);var u=e.get("clip",!0)&&ED(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var i=e.getData(),r=this._updateLineDraw(i,e);r.incrementalPrepareUpdate(i),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 i=e.getData(),r=e.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var a=hF.reset(e,t,n);a.progress&&a.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,i=this._showEffect(t),r=!!t.get("polyline"),a=t.pipelineContext,o=a.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new uF:new LR(r?i?aF:iF:i?tF:xR),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),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}(dy),fF=dF,pF="undefined"===typeof Uint32Array?Array:Uint32Array,mF="undefined"===typeof Float64Array?Array:Float64Array;function gF(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Object(x["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(x["J"])([n,e[0],e[1]])})))}var yF=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 v(t,e),t.prototype.init=function(t){t.data=t.data||[],gF(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(gF(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(x["e"])(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Object(x["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],i=this._flatCoordsOffset[2*e+1],r=0;r<i;r++)t[r]=t[r]||[],t[r][0]=this._flatCoords[n+2*r],t[r][1]=this._flatCoords[n+2*r+1];return i}var a=this._getCoordsFromItemModel(e);for(r=0;r<a.length;r++)t[r]=t[r]||[],t[r][0]=a[r][0],t[r][1]=a[r][1];return a.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),Object(x["z"])(e[0])){for(var n=e.length,i=new pF(n),r=new mF(n),a=0,o=0,s=0,l=0;l<n;){s++;var u=e[l++];i[o++]=a+t,i[o++]=u;for(var c=0;c<u;c++){var h=e[l++],d=e[l++];r[a++]=h,r[a++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,o),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var n=new Eb(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,i,r){if(e instanceof Array)return NaN;n.hasItemOption=!0;var a=e.value;return null!=a?a instanceof Array?a[r]:a:void 0})),n},t.prototype.formatTooltip=function(e,t,n){var i=this.getData(),r=i.getItemModel(e),a=r.get("name");if(a)return a;var o=r.get("fromName"),s=r.get("toName"),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),fp("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}(Vp),vF=yF;function _F(e){return e instanceof Array||(e=[e,e]),e}var xF={seriesType:"lines",reset:function(e){var t=_F(e.get("symbol")),n=_F(e.get("symbolSize")),i=e.getData();function r(e,t){var n=e.getItemModel(t),i=_F(n.getShallow("symbol",!0)),r=_F(n.getShallow("symbolSize",!0));i[0]&&e.setItemVisual(t,"fromSymbol",i[0]),i[1]&&e.setItemVisual(t,"toSymbol",i[1]),r[0]&&e.setItemVisual(t,"fromSymbolSize",r[0]),r[1]&&e.setItemVisual(t,"toSymbolSize",r[1])}return i.setVisual("fromSymbol",t&&t[0]),i.setVisual("toSymbol",t&&t[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?r:null}}},bF=xF;function wF(e){e.registerChartView(fF),e.registerSeriesModel(vF),e.registerLayout(hF),e.registerVisual(bF)}var MF=256,SF=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=ci["d"].createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,i,r,a){var o=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=e.length;c.width=t,c.height=n;for(var f=0;f<d;++f){var p=e[f],m=p[0],g=p[1],y=p[2],v=i(y);h.globalAlpha=v,h.drawImage(o,m-u,g-u)}if(!c.width||!c.height)return c;var _=h.getImageData(0,0,c.width,c.height),x=_.data,b=0,w=x.length,M=this.minOpacity,S=this.maxOpacity,T=S-M;while(b<w){v=x[b+3]/256;var L=4*Math.floor(v*(MF-1));if(v>0){var D=a(v)?s:l;v>0&&(v=v*T+M),x[b++]=D[L],x[b++]=D[L+1],x[b++]=D[L+2],x[b++]=D[L+3]*v*256}else b+=4}return h.putImageData(_,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=ci["d"].createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var i=e.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-t,t,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,i=n[t]||(n[t]=new Uint8ClampedArray(1024)),r=[0,0,0,0],a=0,o=0;o<256;o++)e[t](o/255,!0,r),i[a++]=r[0],i[a++]=r[1],i[a++]=r[2],i[a++]=r[3];return i},e}(),TF=SF;function LF(e,t,n){var i=e[1]-e[0];t=x["H"](t,(function(t){return{interval:[(t.interval[0]-e[0])/i,(t.interval[1]-e[0])/i]}}));var r=t.length,a=0;return function(e){var i;for(i=a;i<r;i++){var o=t[i].interval;if(o[0]<=e&&e<=o[1]){a=i;break}}if(i===r)for(i=a-1;i>=0;i--){o=t[i].interval;if(o[0]<=e&&e<=o[1]){a=i;break}}return i>=0&&i<r&&n[i]}}function DF(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 AF(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var OF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(i=t)}))})),this._progressiveEls=null,this.group.removeAll();var r=e.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):AF(r)&&this._renderOnGeo(r,e,i,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,i){var r=t.coordinateSystem;r&&(AF(r)?this.render(t,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){iy(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,i,r){var a,o,s,l,u=e.coordinateSystem,c=PD(u,"cartesian2d");if(c){var h=u.getAxis("x"),d=u.getAxis("y");0,a=h.getBandWidth()+.5,o=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var f=this.group,p=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),g=e.getModel(["blur","itemStyle"]).getItemStyle(),y=e.getModel(["select","itemStyle"]).getItemStyle(),v=e.get(["itemStyle","borderRadius"]),_=_u(e),x=e.getModel("emphasis"),b=x.get("focus"),w=x.get("blurScope"),M=x.get("disabled"),S=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],T=n;T<i;T++){var L=void 0,D=p.getItemVisual(T,"style");if(c){var A=p.get(S[0],T),O=p.get(S[1],T);if(isNaN(p.get(S[2],T))||isNaN(A)||isNaN(O)||A<s[0]||A>s[1]||O<l[0]||O>l[1])continue;var k=u.dataToPoint([A,O]);L=new Ts({shape:{x:k[0]-a/2,y:k[1]-o/2,width:a,height:o},style:D})}else{if(isNaN(p.get(S[1],T)))continue;L=new Ts({z2:1,shape:u.dataToRect([p.get(S[0],T)]).contentShape,style:D})}if(p.hasItemOption){var I=p.getItemModel(T),C=I.getModel("emphasis");m=C.getModel("itemStyle").getItemStyle(),g=I.getModel(["blur","itemStyle"]).getItemStyle(),y=I.getModel(["select","itemStyle"]).getItemStyle(),v=I.get(["itemStyle","borderRadius"]),b=C.get("focus"),w=C.get("blurScope"),M=C.get("disabled"),_=_u(I)}L.shape.r=v;var E=e.getRawValue(T),P="-";E&&null!=E[2]&&(P=E[2]+""),vu(L,_,{labelFetcher:e,labelDataIndex:T,defaultOpacity:D.opacity,defaultText:P}),L.ensureState("emphasis").style=m,L.ensureState("blur").style=g,L.ensureState("select").style=y,Ul(L,b,w,M),L.incremental=r,r&&(L.states.emphasis.hoverLayer=!0),f.add(L),p.setItemGraphicEl(T,L),this._progressiveEls&&this._progressiveEls.push(L)}},t.prototype._renderOnGeo=function(e,t,n,i){var r=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,o=t.getData(),s=this._hmLayer||this._hmLayer||new TF;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),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),f=Math.min(l.height+l.y,i.getHeight()),p=d-c,m=f-h,g=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],y=o.mapArray(g,(function(t,n,i){var r=e.dataToPoint([t,n]);return r[0]-=c,r[1]-=h,r.push(i),r})),v=n.getExtent(),_="visualMap.continuous"===n.type?DF(v,n.option.range):LF(v,n.getPieceList(),n.option.selected);s.update(y,p,m,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:a.color.getColorMapper()},_);var x=new gs({style:{width:p,height:m,x:c,y:h,image:s.canvas},silent:!0});this.group.add(x)},t.type="heatmap",t}(dy),kF=OF,IF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.getInitialData=function(e,t){return Kb(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=dd.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}(Vp),CF=IF;function EF(e){e.registerChartView(kF),e.registerSeriesModel(CF)}var PF=["itemStyle","borderWidth"],NF=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],RF=new vm,YF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=this.group,r=e.getData(),a=this._data,o=e.coordinateSystem,s=o.getBaseAxis(),l=s.isHorizontal(),u=o.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:o,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:NF[+l],categoryDim:NF[1-+l]};r.diff(a).add((function(e){if(r.hasValue(e)){var t=qF(r,e),n=zF(r,e,t,c),a=KF(r,c,n);r.setItemGraphicEl(e,a),i.add(a),rB(a,c,n)}})).update((function(e,t){var n=a.getItemGraphicEl(t);if(r.hasValue(e)){var o=qF(r,e),s=zF(r,e,o,c),l=tB(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(e,null),n=null),n?QF(n,c,s):n=KF(r,c,s,!0),r.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,i.add(n),rB(n,c,s)}else i.remove(n)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&eB(a,e,t.__pictorialSymbolMeta.animationModel,t)})).execute();var h=e.get("clip",!0)?ED(e.coordinateSystem,!1,e):null;return h?i.setClipPath(h):i.removeClipPath(),this._data=r,this.group},t.prototype.remove=function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl((function(t){eB(i,Gs(t).dataIndex,e,t)})):n.removeAll()},t.type="pictorialBar",t}(dy);function zF(e,t,n,i){var r=e.getItemLayout(t),a=n.get("symbolRepeat"),o=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,h=n.isAnimationEnabled(),d={dataIndex:t,layout:r,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:h?n:null,hoverScale:h&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};HF(n,a,r,i,d),FF(e,t,r,a,o,d.boundingLength,d.pxSign,c,i,d),BF(n,d.symbolScale,u,i,d);var f=d.symbolSize,p=Dv(n.get("symbolOffset"),f);return VF(n,f,r,a,o,p,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,i,d),d}function HF(e,t,n,i,r){var a,o=i.valueDim,s=e.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[o.wh]<=0);if(x["t"](s)){var h=[jF(l,s[0])-u,jF(l,s[1])-u];h[1]<h[0]&&h.reverse(),a=h[c]}else a=null!=s?jF(l,s)-u:t?i.coordSysExtent[o.index][c]-u:n[o.wh];r.boundingLength=a,t&&(r.repeatCutLength=n[o.wh]),r.pxSign=a>0?1:-1}function jF(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function FF(e,t,n,i,r,a,o,s,l,u){var c,h=l.valueDim,d=l.categoryDim,f=Math.abs(n[d.wh]),p=e.getItemVisual(t,"symbolSize");c=x["t"](p)?p.slice():null==p?["100%","100%"]:[p,p],c[d.index]=er(c[d.index],f),c[h.index]=er(c[h.index],i?f:Math.abs(a)),u.symbolSize=c;var m=u.symbolScale=[c[0]/s,c[1]/s];m[h.index]*=(l.isHorizontal?-1:1)*o}function BF(e,t,n,i,r){var a=e.get(PF)||0;a&&(RF.attr({scaleX:t[0],scaleY:t[1],rotation:n}),RF.updateTransform(),a/=RF.getLineScale(),a*=t[i.valueDim.index]),r.valueLineWidth=a||0}function VF(e,t,n,i,r,a,o,s,l,u,c,h){var d=c.categoryDim,f=c.valueDim,p=h.pxSign,m=Math.max(t[f.index]+s,0),g=m;if(i){var y=Math.abs(l),v=x["O"](e.get("symbolMargin"),"15%")+"",_=!1;v.lastIndexOf("!")===v.length-1&&(_=!0,v=v.slice(0,v.length-1));var b=er(v,t[f.index]),w=Math.max(m+2*b,0),M=_?0:2*b,S=xr(i),T=S?i:aB((y+M)/w),L=y-T*m;b=L/2/(_?T:Math.max(T-1,1)),w=m+2*b,M=_?0:2*b,S||"fixed"===i||(T=u?aB((Math.abs(u)+M)/w):0),g=T*w-M,h.repeatTimes=T,h.symbolMargin=b}var D=p*(g/2),A=h.pathPosition=[];A[d.index]=n[d.wh]/2,A[f.index]="start"===o?D:"end"===o?l-D:l/2,a&&(A[0]+=a[0],A[1]+=a[1]);var O=h.bundlePosition=[];O[d.index]=n[d.xy],O[f.index]=n[f.xy];var k=h.barRectShape=x["m"]({},n);k[f.wh]=p*Math.max(Math.abs(n[f.wh]),Math.abs(A[f.index]+D)),k[d.wh]=n[d.wh];var I=h.clipShape={};I[d.xy]=-n[d.xy],I[d.wh]=c.ecSize[d.wh],I[f.xy]=0,I[f.wh]=n[f.wh]}function GF(e){var t=e.symbolPatternSize,n=Tv(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function WF(e,t,n,i){var r=e.__pictorialBundle,a=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,h=a[t.valueDim.index]+o+2*n.symbolMargin;for(nB(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?iB(e,null,p(c),n,i):iB(e,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(e)})),c++}));c<u;c++){var d=GF(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,r.add(d);var f=p(c);iB(d,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,i)}function p(e){var t=s.slice(),i=n.pxSign,r=e;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-e),t[l.index]=h*(r-u/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function UF(e,t,n,i){var r=e.__pictorialBundle,a=e.__pictorialMainPath;a?iB(a,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(a=e.__pictorialMainPath=GF(n),r.add(a),iB(a,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function XF(e,t,n){var i=x["m"]({},t.barRectShape),r=e.__pictorialBarRect;r?iB(r,null,{shape:i},t,n):(r=e.__pictorialBarRect=new Ts({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),r.disableMorphing=!0,e.add(r))}function ZF(e,t,n,i){if(n.symbolClip){var r=e.__pictorialClipPath,o=x["m"]({},n.clipShape),s=t.valueDim,l=n.animationModel,u=n.dataIndex;if(r)su(r,{shape:o},l,u);else{o[s.wh]=0,r=new Ts({shape:o}),e.__pictorialBundle.setClipPath(r),e.__pictorialClipPath=r;var c={};c[s.wh]=n.clipShape[s.wh],a[i?"updateProps":"initProps"](r,{shape:c},l,u)}}}function qF(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=$F,n.isAnimationEnabled=JF,n}function $F(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function JF(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function KF(e,t,n,i){var r=new Ni,a=new Ni;return r.add(a),r.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?WF(r,t,n):UF(r,t,n),XF(r,n,i),ZF(r,t,n,i),r.__pictorialShapeStr=tB(e,n),r.__pictorialSymbolMeta=n,r}function QF(e,t,n){var i=n.animationModel,r=n.dataIndex,a=e.__pictorialBundle;su(a,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?WF(e,t,n,!0):UF(e,t,n,!0),XF(e,n,!0),ZF(e,t,n,!0)}function eB(e,t,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var a=[];nB(i,(function(e){a.push(e)})),i.__pictorialMainPath&&a.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),x["k"](a,(function(e){cu(e,{scaleX:0,scaleY:0},n,t,(function(){i.parent&&i.parent.remove(i)}))})),e.setItemGraphicEl(t,null)}function tB(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function nB(e,t,n){x["k"](e.__pictorialBundle.children(),(function(i){i!==e.__pictorialBarRect&&t.call(n,i)}))}function iB(e,t,n,i,r,o){t&&e.attr(t),i.symbolClip&&!r?n&&e.attr(n):n&&a[r?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,o)}function rB(e,t,n){var i=n.dataIndex,r=n.itemModel,a=r.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),c=a.get("focus"),h=a.get("blurScope"),d=a.get("scale");nB(e,(function(e){if(e instanceof gs){var t=e.style;e.useStyle(x["m"]({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var i=e.ensureState("emphasis");i.style=o,d&&(i.scaleX=1.1*e.scaleX,i.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=l,u&&(e.cursor=u),e.z2=n.z2}));var f=t.valueDim.posDesc[+(n.boundingLength>0)],p=e.__pictorialBarRect;p.ignoreClip=!0,vu(p,_u(r),{labelFetcher:t.seriesModel,labelDataIndex:i,defaultText:lD(t.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),Ul(e,c,h,a.get("disabled"))}function aB(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var oB=YF,sB=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 v(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=qu(oA.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}(oA),lB=sB;function uB(e){e.registerChartView(oB),e.registerSeriesModel(lB),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Object(x["h"])(Iw,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Cw("pictorialBar"))}var cB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return v(t,e),t.prototype.render=function(e,t,n){var i=e.getData(),r=this,a=this.group,o=e.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(e){return e.name}a.x=0,a.y=l.y+u[0];var h=new ib(this._layersSeries||[],o,c,c),d=[];function f(t,n,s){var l=r._layers;if("remove"!==t){for(var u,c,h=[],f=[],p=o[n].indices,m=0;m<p.length;m++){var g=i.getItemLayout(p[m]),y=g.x,v=g.y0,_=g.y;h.push(y,v),f.push(y,v+_),u=i.getItemVisual(p[m],"style")}var x=i.getItemLayout(p[0]),b=e.getModel("label"),w=b.get("margin"),M=e.getModel("emphasis");if("add"===t){var S=d[n]=new Ni;c=new kD({shape:{points:h,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),a.add(S),e.isAnimationEnabled()&&c.setClipPath(hB(c.getBoundingRect(),e,(function(){c.removeClipPath()})))}else{S=l[s];c=S.childAt(0),a.add(S),d[n]=S,su(c,{shape:{points:h,stackedOnPoints:f}},e),fu(c)}vu(c,_u(e),{labelDataIndex:p[m-1],defaultText:i.getName(p[m-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var T=c.getTextContent();T&&(T.x=x.x-w,T.y=x.y0+x.y/2),c.useStyle(u),i.setItemGraphicEl(n,c),$l(c,e),Ul(c,M.get("focus"),M.get("blurScope"),M.get("disabled"))}else a.remove(l[n])}h.add(Object(x["c"])(f,this,"add")).update(Object(x["c"])(f,this,"update")).remove(Object(x["c"])(f,this,"remove")).execute(),this._layersSeries=o,this._layers=d},t.type="themeRiver",t}(dy);function hB(e,t,n){var i=new Ts({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return lu(i,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),i}var dB=cB,fB=2,pB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new sO(x["c"](this.getData,this),x["c"](this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},i=aa(e,(function(e){return n.hasOwnProperty(e[0]+"")||(n[e[0]+""]=-1),e[2]})),r=[];i.buckets.each((function(e,t){r.push({name:t,dataList:e})}));for(var a=r.length,o=0;o<a;++o){for(var s=r[o].name,l=0;l<r[o].dataList.length;++l){var u=r[o].dataList[l][0]+"";n[u]=o}for(var u in n)n.hasOwnProperty(u)&&n[u]!==o&&(n[u]=o,e[t]=[u,0,s],t++)}return e},t.prototype.getInitialData=function(e,t){for(var n=this.getReferringComponents("singleAxis",Qr).models[0],i=n.get("type"),r=x["n"](e.data,(function(e){return void 0!==e[2]})),a=this.fixData(r||[]),o=[],s=this.nameMap=x["f"](),l=0,u=0;u<a.length;++u)o.push(a[u][fB]),s.get(a[u][fB])||(s.set(a[u][fB],l),l++);var c=Nb(a,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:sb(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,h=new Eb(c,this);return h.initData(a),h},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),n=[],i=0;i<t;++i)n[i]=i;var r=e.mapDimension("single"),a=aa(n,(function(t){return e.get("name",t)})),o=[];return a.buckets.each((function(t,n){t.sort((function(t,n){return e.get(r,t)-e.get(r,n)})),o.push({name:n,indices:t})})),o},t.prototype.getAxisTooltipData=function(e,t,n){x["t"](e)||(e=e?[e]:[]);for(var i,r=this.getData(),a=this.getLayerSeries(),o=[],s=a.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=a[l].indices.length,d=0;d<h;++d){var f=r.get(e[0],a[l].indices[d]),p=Math.abs(f-t);p<=u&&(i=f,u=p,c=a[l].indices[d])}o.push(c)}return{dataIndices:o,nestestValue:i}},t.prototype.formatTooltip=function(e,t,n){var i=this.getData(),r=i.getName(e),a=i.get(i.mapDimension("value"),e);return fp("nameValue",{name:r,value:a})},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}(Vp),mB=pB;function gB(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,i={},r=n.getRect();i.rect=r;var a=e.get("boundaryGap"),o=n.getAxis();if(i.boundaryGap=a,"horizontal"===o.orient){a[0]=er(a[0],r.height),a[1]=er(a[1],r.height);var s=r.height-a[0]-a[1];yB(t,e,s)}else{a[0]=er(a[0],r.width),a[1]=er(a[1],r.width);var l=r.width-a[0]-a[1];yB(t,e,l)}t.setLayout("layoutInfo",i)}))}function yB(e,t,n){if(e.count())for(var i,r=t.coordinateSystem,a=t.getLayerSeries(),o=e.mapDimension("single"),s=e.mapDimension("value"),l=x["H"](a,(function(t){return x["H"](t.indices,(function(t){var n=r.dataToPoint(e.get(o,t));return n[1]=e.get(s,t),n}))})),u=vB(l),c=u.y0,h=n/u.max,d=a.length,f=a[0].indices.length,p=0;p<f;++p){i=c[p]*h,e.setItemLayout(a[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:i,y:l[0][p][1]*h});for(var m=1;m<d;++m)i+=l[m-1][p][1]*h,e.setItemLayout(a[m].indices[p],{layerIndex:m,x:l[m][p][0],y0:i,y:l[m][p][1]*h})}}function vB(e){for(var t=e.length,n=e[0].length,i=[],r=[],a=0,o=0;o<n;++o){for(var s=0,l=0;l<t;++l)s+=e[l][o][1];s>a&&(a=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(a-i[u])/2;a=0;for(var c=0;c<n;++c){var h=i[c]+r[c];h>a&&(a=h)}return{y0:r,max:a}}function _B(e){e.registerChartView(dB),e.registerSeriesModel(mB),e.registerLayout(gB),e.registerProcessor(qA("themeRiver"))}var xB=2,bB=4,wB=function(e){function t(t,n,i,r){var a=e.call(this)||this;a.z2=xB,a.textConfig={inside:!0},Gs(a).seriesIndex=n.seriesIndex;var o=new Vs({z2:bB,silent:t.getModel().get(["label","silent"])});return a.setTextContent(o),a.updateData(!0,t,n,i,r),a}return v(t,e),t.prototype.updateData=function(e,t,n,i,r){this.node=t,t.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var a=this;Gs(a).dataIndex=t.dataIndex;var o=t.getModel(),s=o.getModel("emphasis"),l=t.getLayout(),u=x["m"]({},l);u.label=null;var c=t.getVisual("style");c.lineJoin="bevel";var h=t.getVisual("decal");h&&(c.decal=p_(h,r));var d=gA(o.getModel("itemStyle"),u,!0);x["m"](u,d),x["k"](Qs,(function(e){var t=a.ensureState(e),n=o.getModel([e,"itemStyle"]);t.style=n.getItemStyle();var i=gA(n,u);i&&(t.shape=i)})),e?(a.setShape(u),a.shape.r=l.r0,lu(a,{shape:{r:l.r}},n,t.dataIndex)):(su(a,{shape:u},n),fu(a)),a.useStyle(c),this._updateLabel(n);var f=o.getShallow("cursor");f&&a.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var p=s.get("focus"),m="ancestor"===p?t.getAncestorsIndices():"descendant"===p?t.getDescendantIndices():p;Ul(this,m,s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),a=r.endAngle-r.startAngle,o=(r.startAngle+r.endAngle)/2,s=Math.cos(o),l=Math.sin(o),u=this,c=u.getTextContent(),h=this.node.dataIndex,d=i.get("minAngle")/180*Math.PI,f=i.get("show")&&!(null!=d&&Math.abs(a)<d);function p(e,t){var n=e.get(t);return null==n?i.get(t):n}c.ignore=!f,x["k"](el,(function(i){var d="normal"===i?n.getModel("label"):n.getModel([i,"label"]),f="normal"===i,m=f?c:c.ensureState(i),g=e.getFormattedLabel(h,i);f&&(g=g||t.node.name),m.style=xu(d,{},null,"normal"!==i,!0),g&&(m.style.text=g);var y=d.get("show");null==y||f||(m.ignore=!y);var v,_=p(d,"position"),b=f?u:u.states[i],w=b.style.fill;b.textConfig={outsideFill:"inherit"===d.get("color")?w:null,inside:"outside"!==_};var M=p(d,"distance")||0,S=p(d,"align"),T=p(d,"rotate"),L=.5*Math.PI,D=1.5*Math.PI,A=Fo("tangential"===T?Math.PI/2-o:o),O=A>L&&!hr(A-L)&&A<D;"outside"===_?(v=r.r+M,S=O?"right":"left"):S&&"center"!==S?"left"===S?(v=r.r0+M,S=O?"right":"left"):"right"===S&&(v=r.r-M,S=O?"left":"right"):(v=a===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),m.style.align=S,m.style.verticalAlign=p(d,"verticalAlign")||"middle",m.x=v*s+r.cx,m.y=v*l+r.cy;var k=0;"radial"===T?k=Fo(-o)+(O?Math.PI:0):"tangential"===T?k=Fo(Math.PI/2-o)+(O?Math.PI:0):x["z"](T)&&(k=T*Math.PI/180),m.rotation=Fo(k)})),c.dirtyStyle()},t}(Hm),MB=wB,SB="sunburstRootToNode",TB="sunburstHighlight",LB="sunburstUnhighlight";function DB(e){e.registerAction({type:SB,update:"updateView"},(function(e,t){function n(t,n){var i=VE(e,[SB],t);if(i){var r=t.getViewRoot();r&&(e.direction=WE(r,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)})),e.registerAction({type:TB,update:"none"},(function(e,t,n){function i(t){var n=VE(e,[TB],t);n&&(e.dataIndex=n.node.dataIndex)}e=Object(x["m"])({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},i),n.dispatchAction(Object(x["m"])(e,{type:"highlight"}))})),e.registerAction({type:LB,update:"updateView"},(function(e,t,n){e=Object(x["m"])({},e),n.dispatchAction(Object(x["m"])(e,{type:"downplay"}))}))}var AB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n,i){var r=this;this.seriesModel=e,this.api=n,this.ecModel=t;var a=e.getData(),o=a.tree.root,s=e.getViewRoot(),l=this.group,u=e.get("renderLabelForZeroData"),c=[];s.eachNode((function(e){c.push(e)}));var h=this._oldChildren||[];function d(e,t){function n(e){return e.getId()}function i(n,i){var r=null==n?null:e[n],a=null==i?null:t[i];f(r,a)}0===e.length&&0===t.length||new ib(t,e,n,n).add(i).update(i).remove(x["h"](i,null)).execute()}function f(i,r){if(u||!i||i.getValue()||(i=null),i!==o&&r!==o)if(r&&r.piece)i?(r.piece.updateData(!1,i,e,t,n),a.setItemGraphicEl(i.dataIndex,r.piece)):p(r);else if(i){var s=new MB(i,e,t,n);l.add(s),a.setItemGraphicEl(i.dataIndex,s)}}function p(e){e&&e.piece&&(l.remove(e.piece),e.piece=null)}function m(i,a){a.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,e,t,n):(r.virtualPiece=new MB(i,e,t,n),l.add(r.virtualPiece)),a.piece.off("click"),r.virtualPiece.on("click",(function(e){r._rootToNode(a.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}d(c,h),m(o,s),this._initEvents(),this._oldChildren=c},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",(function(t){var n=!1,i=e.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece===t.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)e._rootToNode(i);else if("link"===r){var a=i.getModel(),o=a.get("link");if(o){var s=a.get("target",!0)||"_blank";Kc(o,s)}}n=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:SB,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData(),i=n.getItemLayout(0);if(i){var r=e[0]-i.cx,a=e[1]-i.cy,o=Math.sqrt(r*r+a*a);return o<=i.r&&o>=i.r0}},t.type="sunburst",t}(dy),OB=AB,kB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return v(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};IB(n);var i=this._levelModels=x["H"](e.levels||[],(function(e){return new Gu(e,this,t)}),this),r=BE.createTree(n,this,a);function a(e){e.wrapMethod("getItemModel",(function(e,t){var n=r.getNodeByDataIndex(t),a=i[n.depth];return a&&(e.parentModel=a),e}))}return r.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=UE(i,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(){rP(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}(Vp);function IB(e){var t=0;x["k"](e.children,(function(e){IB(e);var n=e.value;x["t"](n)&&(n=n[0]),t+=n}));var n=e.value;x["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),x["t"](e.value)?e.value[0]=n:e.value=n}var CB=kB,EB=Math.PI/180;function PB(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),i=e.get("radius");x["t"](i)||(i=[0,i]),x["t"](t)||(t=[t,t]);var r=n.getWidth(),a=n.getHeight(),o=Math.min(r,a),s=er(t[0],r),l=er(t[1],a),u=er(i[0],o/2),c=er(i[1],o/2),h=-e.get("startAngle")*EB,d=e.get("minAngle")*EB,f=e.getData().tree.root,p=e.getViewRoot(),m=p.depth,g=e.get("sort");null!=g&&NB(p,g);var y=0;x["k"](p.children,(function(e){!isNaN(e.getValue())&&y++}));var v=p.getValue(),_=Math.PI/(v||y)*2,b=p.depth>0,w=p.height-(b?-1:1),M=(c-u)/(w||1),S=e.get("clockwise"),T=e.get("stillShowZeroSum"),L=S?1:-1,D=function(t,n){if(t){var i=n;if(t!==f){var r=t.getValue(),a=0===v&&T?_:r*_;a<d&&(a=d),i=n+L*a;var c=t.depth-m-(b?-1:1),h=u+M*c,p=u+M*(c+1),g=e.getLevelModel(t);if(g){var y=g.get("r0",!0),w=g.get("r",!0),A=g.get("radius",!0);null!=A&&(y=A[0],w=A[1]),null!=y&&(h=er(y,o/2)),null!=w&&(p=er(w,o/2))}t.setLayout({angle:a,startAngle:n,endAngle:i,clockwise:S,cx:s,cy:l,r0:h,r:p})}if(t.children&&t.children.length){var O=0;x["k"](t.children,(function(e){O+=D(e,n+O)}))}return i-n}};if(b){var A=u,O=u+M,k=2*Math.PI;f.setLayout({angle:k,startAngle:h,endAngle:h+k,clockwise:S,cx:s,cy:l,r0:A,r:O})}D(p,h)}))}function NB(e,t){var n=e.children||[];e.children=RB(n,t),n.length&&x["k"](e.children,(function(e){NB(e,t)}))}function RB(e,t){if(x["w"](t)){var n=x["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)})),x["H"](n,(function(t){return e[t.index]}))}var i="asc"===t;return e.sort((function(e,t){var n=(e.getValue()-t.getValue())*(i?1:-1);return 0===n?(e.dataIndex-t.dataIndex)*(i?-1:1):n}))}function YB(e){var t={};function n(e,n,i){var r=e;while(r&&r.depth>1)r=r.parentNode;var a=n.getColorFromPalette(r.name||r.dataIndex+"",t);return e.depth>1&&Object(x["C"])(a)&&(a=Object($t["lift"])(a,(e.depth-1)/(i-1)*.5)),a}e.eachSeriesByType("sunburst",(function(e){var t=e.getData(),i=t.tree;i.eachNode((function(r){var a=r.getModel(),o=a.getModel("itemStyle").getItemStyle();o.fill||(o.fill=n(r,e,i.root.height));var s=t.ensureUniqueItemVisual(r.dataIndex,"style");Object(x["m"])(s,o)}))}))}function zB(e){e.registerChartView(OB),e.registerSeriesModel(CB),e.registerLayout(Object(x["h"])(PB,"sunburst")),e.registerProcessor(Object(x["h"])(qA,"sunburst")),e.registerVisual(YB),DB(e)}var HB={color:"fill",borderColor:"stroke"},jB={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},FB=qr(),BB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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 Kb(null,this)},t.prototype.getDataParams=function(t,n,i){var r=e.prototype.getDataParams.call(this,t,n);return i&&(r.info=FB(i).info),r},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(Vp),VB=BB;function GB(e,t){return t=t||[0,0],x["H"](["x","y"],(function(n,i){var r=this.getAxis(n),a=t[i],o=e[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o))}),this)}function WB(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:x["c"](GB,e)}}}function UB(e,t){return t=t||[0,0],x["H"]([0,1],(function(n){var i=t[n],r=e[n]/2,a=[],o=[];return a[n]=i-r,o[n]=i+r,a[1-n]=o[1-n]=t[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(o)[n])}),this)}function XB(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:x["c"](UB,e)}}}function ZB(e,t){var n=this.getAxis(),i=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function qB(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(x["c"])(ZB,e)}}}function $B(e,t){return t=t||[0,0],x["H"](["Radius","Angle"],(function(n,i){var r="get"+n+"Axis",a=this[r](),o=t[i],s=e[i]/2,l="category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(o-s)-a.dataToCoord(o+s));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function JB(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),i=t.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=t.dataToRadius(i[0]),a=n.dataToAngle(i[1]),o=e.coordToPoint([r,a]);return o.push(r,a*Math.PI/180),o},size:x["c"]($B,e)}}}function KB(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 QB(e,t,n,i){return e&&(e.legacy||!1!==e.legacy&&!n&&!i&&"tspan"!==t&&("text"===t||Object(x["q"])(e,"text")))}function eV(e,t,n){var i,r,a,o=e;if("text"===t)a=o;else{a={},Object(x["q"])(o,"text")&&(a.text=o.text),Object(x["q"])(o,"rich")&&(a.rich=o.rich),Object(x["q"])(o,"textFill")&&(a.fill=o.textFill),Object(x["q"])(o,"textStroke")&&(a.stroke=o.textStroke),Object(x["q"])(o,"fontFamily")&&(a.fontFamily=o.fontFamily),Object(x["q"])(o,"fontSize")&&(a.fontSize=o.fontSize),Object(x["q"])(o,"fontStyle")&&(a.fontStyle=o.fontStyle),Object(x["q"])(o,"fontWeight")&&(a.fontWeight=o.fontWeight),r={type:"text",style:a,silent:!0},i={};var s=Object(x["q"])(o,"textPosition");n?i.position=s?o.textPosition:"inside":s&&(i.position=o.textPosition),Object(x["q"])(o,"textPosition")&&(i.position=o.textPosition),Object(x["q"])(o,"textOffset")&&(i.offset=o.textOffset),Object(x["q"])(o,"textRotation")&&(i.rotation=o.textRotation),Object(x["q"])(o,"textDistance")&&(i.distance=o.textDistance)}return tV(a,e),Object(x["k"])(a.rich,(function(e){tV(e,e)})),{textConfig:i,textContent:r}}function tV(e,t){t&&(t.font=t.textFont||t.font,Object(x["q"])(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Object(x["q"])(t,"textAlign")&&(e.align=t.textAlign),Object(x["q"])(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Object(x["q"])(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Object(x["q"])(t,"textWidth")&&(e.width=t.textWidth),Object(x["q"])(t,"textHeight")&&(e.height=t.textHeight),Object(x["q"])(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Object(x["q"])(t,"textPadding")&&(e.padding=t.textPadding),Object(x["q"])(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Object(x["q"])(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Object(x["q"])(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Object(x["q"])(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Object(x["q"])(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Object(x["q"])(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Object(x["q"])(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function nV(e,t,n){var i=e;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,a=e.fill||"#000";iV(i,t);var o=null==i.textFill;return r?o&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=a),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(o&&(i.textFill=e.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=t.text,i.rich=t.rich,Object(x["k"])(t.rich,(function(e){iV(e,e)})),i}function iV(e,t){t&&(Object(x["q"])(t,"fill")&&(e.textFill=t.fill),Object(x["q"])(t,"stroke")&&(e.textStroke=t.fill),Object(x["q"])(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Object(x["q"])(t,"font")&&(e.font=t.font),Object(x["q"])(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Object(x["q"])(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Object(x["q"])(t,"fontSize")&&(e.fontSize=t.fontSize),Object(x["q"])(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Object(x["q"])(t,"align")&&(e.textAlign=t.align),Object(x["q"])(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Object(x["q"])(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Object(x["q"])(t,"width")&&(e.textWidth=t.width),Object(x["q"])(t,"height")&&(e.textHeight=t.height),Object(x["q"])(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Object(x["q"])(t,"padding")&&(e.textPadding=t.padding),Object(x["q"])(t,"borderColor")&&(e.textBorderColor=t.borderColor),Object(x["q"])(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Object(x["q"])(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Object(x["q"])(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Object(x["q"])(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Object(x["q"])(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Object(x["q"])(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Object(x["q"])(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Object(x["q"])(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Object(x["q"])(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Object(x["q"])(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var rV={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},aV=Object(x["F"])(rV),oV=(Object(x["N"])(oi,(function(e,t){return e[t]=1,e}),{}),oi.join(", "),["","style","shape","extra"]),sV=qr();function lV(e,t,n,i,r){var a=e+"Animation",o=au(e,i,r)||{},s=sV(t).userDuring;return o.duration>0&&(o.during=s?Object(x["c"])(vV,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=e),Object(x["m"])(o,n[a]),o}function uV(e,t,n,i){i=i||{};var r=i.dataIndex,a=i.isInit,o=i.clearStyle,s=n.isAnimationEnabled(),l=sV(e),u=t.style;l.userDuring=t.during;var c={},h={};if(wV(e,t,h),xV("shape",t,h),xV("extra",t,h),!a&&s&&(bV(e,t,c),_V("shape",e,t,c),_V("extra",e,t,c),MV(e,t,u,c)),h.style=u,fV(e,h,o),mV(e,t),s)if(a){var d={};Object(x["k"])(oV,(function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(d[e]=d[e]||{}),Object(x["m"])(e?d[e]:d,n.enterFrom))}));var f=lV("enter",e,t,n,r);f.duration>0&&e.animateFrom(d,f)}else pV(e,t,r||0,n,c);cV(e,t),u?e.dirty():e.markRedraw()}function cV(e,t){for(var n=sV(e).leaveToProps,i=0;i<oV.length;i++){var r=oV[i],a=r?t[r]:t;a&&a.leaveTo&&(n||(n=sV(e).leaveToProps={}),r&&(n[r]=n[r]||{}),Object(x["m"])(r?n[r]:n,a.leaveTo))}}function hV(e,t,n,i){if(e){var r=e.parent,a=sV(e).leaveToProps;if(a){var o=lV("update",e,t,n,0);o.done=function(){r.remove(e),i&&i()},e.animateTo(a,o)}else r.remove(e),i&&i()}}function dV(e){return"all"===e}function fV(e,t,n){var i=t.style;if(!e.isGroup&&i){if(n){e.useStyle({});for(var r=e.animators,a=0;a<r.length;a++){var o=r[a];"style"===o.targetName&&o.changeTarget(e.style)}}e.setStyle(i)}t&&(t.style=null,t&&e.attr(t),t.style=i)}function pV(e,t,n,i,r){if(r){var a=lV("update",e,t,i,n);a.duration>0&&e.animateFrom(r,a)}}function mV(e,t){Object(x["q"])(t,"silent")&&(e.silent=t.silent),Object(x["q"])(t,"ignore")&&(e.ignore=t.ignore),e instanceof eo&&Object(x["q"])(t,"invisible")&&(e.invisible=t.invisible),e instanceof ls&&Object(x["q"])(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var gV={},yV={setTransform:function(e,t){return gV.el[e]=t,this},getTransform:function(e){return gV.el[e]},setShape:function(e,t){var n=gV.el,i=n.shape||(n.shape={});return i[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=gV.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=gV.el,i=n.style;return i&&(i[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=gV.el.style;if(t)return t[e]},setExtra:function(e,t){var n=gV.el.extra||(gV.el.extra={});return n[e]=t,this},getExtra:function(e){var t=gV.el.extra;if(t)return t[e]}};function vV(){var e=this,t=e.el;if(t){var n=sV(t).userDuring,i=e.userDuring;n===i?(gV.el=t,i(yV)):e.el=e.userDuring=null}}function _V(e,t,n,i){var r=n[e];if(r){var a,o=t[e];if(o){var s=n.transition,l=r.transition;if(l)if(!a&&(a=i[e]={}),dV(l))Object(x["m"])(a,o);else for(var u=Dr(l),c=0;c<u.length;c++){var h=u[c],d=o[h];a[h]=d}else if(dV(s)||Object(x["r"])(s,e)>=0){!a&&(a=i[e]={});var f=Object(x["F"])(o);for(c=0;c<f.length;c++){h=f[c],d=o[h];SV(r[h],d)&&(a[h]=d)}}}}}function xV(e,t,n){var i=t[e];if(i)for(var r=n[e]={},a=Object(x["F"])(i),o=0;o<a.length;o++){var s=a[o];r[s]=sn(i[s])}}function bV(e,t,n){for(var i=t.transition,r=dV(i)?oi:Dr(i||[]),a=0;a<r.length;a++){var o=r[a];if("style"!==o&&"shape"!==o&&"extra"!==o){var s=e[o];0,n[o]=s}}}function wV(e,t,n){for(var i=0;i<aV.length;i++){var r=aV[i],a=rV[r],o=t[r];o&&(n[a[0]]=o[0],n[a[1]]=o[1])}for(i=0;i<oi.length;i++){var s=oi[i];null!=t[s]&&(n[s]=t[s])}}function MV(e,t,n,i){if(n){var r,a=e.style;if(a){var o=n.transition,s=t.transition;if(o&&!dV(o)){var l=Dr(o);!r&&(r=i.style={});for(var u=0;u<l.length;u++){var c=l[u],h=a[c];r[c]=h}}else if(e.getAnimationStyleProps&&(dV(s)||dV(o)||Object(x["r"])(s,"style")>=0)){var d=e.getAnimationStyleProps(),f=d?d.style:null;if(f){!r&&(r=i.style={});var p=Object(x["F"])(n);for(u=0;u<p.length;u++){c=p[u];if(f[c]){h=a[c];r[c]=h}}}}}}}function SV(e,t){return Object(x["u"])(e)?e!==t:null!=e&&isFinite(e)}var TV=qr(),LV=["percent","easing","shape","style","extra"];function DV(e){e.stopAnimation("keyframe"),e.attr(TV(e))}function AV(e,t,n){if(n.isAnimationEnabled()&&t)if(Object(x["t"])(t))Object(x["k"])(t,(function(t){AV(e,t,n)}));else{var i=t.keyframes,r=t.duration;if(n&&null==r){var a=au("enter",n,0);r=a&&a.duration}if(i&&r){var o=TV(e);Object(x["k"])(oV,(function(n){if(!n||e[n]){var a;i.sort((function(e,t){return e.percent-t.percent})),Object(x["k"])(i,(function(i){var s=e.animators,l=n?i[n]:i;if(l){var u=Object(x["F"])(l);if(n||(u=Object(x["n"])(u,(function(e){return Object(x["r"])(LV,e)<0}))),u.length){a||(a=e.animate(n,t.loop,!0),a.scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==a&&s[c].targetName===a.targetName&&s[c].stopTracks(u);n&&(o[n]=o[n]||{});var h=n?o[n]:o;Object(x["k"])(u,(function(t){h[t]=((n?e[n]:e)||{})[t]})),a.whenWithKeys(r*i.percent,l,u,i.easing)}}})),a&&a.delay(t.delay||0).duration(r).start(t.easing)}}))}}}var OV="emphasis",kV="normal",IV="blur",CV="select",EV=[kV,OV,IV,CV],PV={normal:["itemStyle"],emphasis:[OV,"itemStyle"],blur:[IV,"itemStyle"],select:[CV,"itemStyle"]},NV={normal:["label"],emphasis:[OV,"label"],blur:[IV,"label"],select:[CV,"label"]},RV=["x","y"],YV="e\0\0",zV={normal:{},emphasis:{},blur:{},select:{}},HV={cartesian2d:WB,geo:XB,single:qB,polar:JB,calendar:KB};function jV(e){return e instanceof ls}function FV(e){return e instanceof eo}function BV(e,t){t.copyTransform(e),FV(t)&&FV(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,jV(t)&&jV(e)&&t.setShape(e.shape))}var VV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n,i){this._progressiveEls=null;var r=this._data,a=e.getData(),o=this.group,s=$V(e,a,t,n);r||o.removeAll(),a.diff(r).add((function(t){KV(n,null,t,s(t,i),e,o,a)})).remove((function(t){var n=r.getItemGraphicEl(t);n&&hV(n,FB(n).option,e)})).update((function(t,l){var u=r.getItemGraphicEl(l);KV(n,u,t,s(t,i),e,o,a)})).execute();var l=e.get("clip",!0)?ED(e.coordinateSystem,!1,e):null;l?o.setClipPath(l):o.removeClipPath(),this._data=a},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,i,r){var a=t.getData(),o=$V(t,a,n,i),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=KV(null,null,u,o(u,r),t,this.group,a);c&&(c.traverse(l),s.push(c))}},t.prototype.eachRendered=function(e){iy(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,i){var r=t.element;if(null==r||n.name===r)return!0;while((n=n.__hostTarget||n.parent)&&n!==this.group)if(n.name===r)return!0;return!1},t.type="custom",t}(dy),GV=VV;function WV(e){var t,n=e.type;if("path"===n){var i=e.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,a=dG(i);t=Pg(a,null,r,i.layout||"center"),FB(t).customPathData=a}else if("image"===n)t=new gs({}),FB(t).customImagePath=e.style.image;else if("text"===n)t=new Vs({});else if("group"===n)t=new Ni;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=Eg(n);if(!o){var s="";0,Jh(s)}t=new o}return FB(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function UV(e,t,n,i,r,a,o){DV(t);var s=r&&r.normal.cfg;s&&t.setTextConfig(s),i&&null==i.transition&&(i.transition=RV);var l=i&&i.style;if(l){if("text"===t.type){var u=l;Object(x["q"])(u,"textFill")&&(u.fill=u.textFill),Object(x["q"])(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,h=jV(t)?l.decal:null;e&&h&&(h.dirty=!0,c=p_(h,e)),l.__decalPattern=c}if(FV(t)&&l){c=l.__decalPattern;c&&(l.decal=c)}uV(t,i,a,{dataIndex:n,isInit:o,clearStyle:!0}),AV(t,i.keyframeAnimation,a)}function XV(e,t,n,i,r){var a=t.isGroup?null:t,o=r&&r[e].cfg;if(a){var s=a.ensureState(e);if(!1===i){var l=a.getState(e);l&&(l.style=null)}else s.style=i||null;o&&(s.textConfig=o),Sl(a)}}function ZV(e,t,n){if(!e.isGroup){var i=e,r=n.currentZ,a=n.currentZLevel;i.z=r,i.zlevel=a;var o=t.z2;null!=o&&(i.z2=o||0);for(var s=0;s<EV.length;s++)qV(i,t,EV[s])}}function qV(e,t,n){var i,r=n===kV,a=r?t:rG(t,n),o=a?a.z2:null;null!=o&&(i=r?e:e.ensureState(n),i.z2=o||0)}function $V(e,t,n,i){var r=e.get("renderItem"),a=e.coordinateSystem,o={};a&&(o=a.prepareCustoms?a.prepareCustoms(a):HV[a.type](a));for(var s,l,u=Object(x["i"])({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:b,style:M,ordinalRawValue:w,styleEmphasis:S,visual:D,barLayout:A,currentSeriesIndices:O,font:k},o.api||{}),c={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:o.coordSys,dataInsideLength:t.count(),encode:JV(e.getData())},h={},d={},f={},p={},m=0;m<EV.length;m++){var g=EV[m];f[g]=e.getModel(PV[g]),p[g]=e.getModel(NV[g])}function y(e){return e===s?l||(l=t.getItemModel(e)):t.getItemModel(e)}function v(e,n){return t.hasItemOption?e===s?h[n]||(h[n]=y(e).getModel(PV[n])):y(e).getModel(PV[n]):f[n]}function _(e,n){return t.hasItemOption?e===s?d[n]||(d[n]=y(e).getModel(NV[n])):y(e).getModel(NV[n]):p[n]}return function(e,n){return s=e,l=null,h={},d={},r&&r(Object(x["i"])({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},c),u)};function b(e,n){return null==n&&(n=s),t.getStore().get(t.getDimensionIndex(e||0),n)}function w(e,n){null==n&&(n=s),e=e||0;var i=t.getDimensionInfo(e);if(!i){var r=t.getDimensionIndex(e);return r>=0?t.getStore().get(r,n):void 0}var a=t.get(i.name,n),o=i&&i.ordinalMeta;return o?o.categories[a]:a}function M(n,i){null==i&&(i=s);var r=t.getItemVisual(i,"style"),a=r&&r.fill,o=r&&r.opacity,l=v(i,kV).getItemStyle();null!=a&&(l.fill=a),null!=o&&(l.opacity=o);var u={inheritColor:Object(x["C"])(a)?a:"#000"},c=_(i,kV),h=xu(c,null,u,!1,!0);h.text=c.getShallow("show")?Object(x["P"])(e.getFormattedLabel(i,kV),lD(t,i)):null;var d=bu(c,u,!1);return L(n,l),l=nV(l,h,d),n&&T(l,n),l.legacy=!0,l}function S(n,i){null==i&&(i=s);var r=v(i,OV).getItemStyle(),a=_(i,OV),o=xu(a,null,null,!0,!0);o.text=a.getShallow("show")?Object(x["Q"])(e.getFormattedLabel(i,OV),e.getFormattedLabel(i,kV),lD(t,i)):null;var l=bu(a,null,!0);return L(n,r),r=nV(r,o,l),n&&T(r,n),r.legacy=!0,r}function T(e,t){for(var n in t)Object(x["q"])(t,n)&&(e[n]=t[n])}function L(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}function D(e,n){if(null==n&&(n=s),Object(x["q"])(HB,e)){var i=t.getItemVisual(n,"style");return i?i[HB[e]]:null}if(Object(x["q"])(jB,e))return t.getItemVisual(n,e)}function A(e){if("cartesian2d"===a.type){var t=a.getBaseAxis();return Tw(Object(x["i"])({axis:t},e))}}function O(){return n.getCurrentSeriesIndices()}function k(e){return Au(e,n)}}function JV(e){var t={};return Object(x["k"])(e.dimensions,(function(n){var i=e.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim,a=t[r]=t[r]||[];a[i.coordDimIndex]=e.getDimensionIndex(n)}})),t}function KV(e,t,n,i,r,a,o){if(i){var s=QV(e,t,n,i,r,a);return s&&o.setItemGraphicEl(n,s),s&&Ul(s,i.focus,i.blurScope,i.emphasisDisabled),s}a.remove(t)}function QV(e,t,n,i,r,a){var o=-1,s=t;t&&eG(t,i,r)&&(o=Object(x["r"])(a.childrenRef(),t),t=null);var l=!t,u=t;u?u.clearStates():(u=WV(i),s&&BV(s,u)),!1===i.morph?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),zV.normal.cfg=zV.normal.conOpt=zV.emphasis.cfg=zV.emphasis.conOpt=zV.blur.cfg=zV.blur.conOpt=zV.select.cfg=zV.select.conOpt=null,zV.isLegacy=!1,nG(u,n,i,r,l,zV),tG(u,n,i,r,l),UV(e,u,n,i,zV,r,l),Object(x["q"])(i,"info")&&(FB(u).info=i.info);for(var c=0;c<EV.length;c++){var h=EV[c];if(h!==kV){var d=rG(i,h),f=aG(i,d,h);XV(h,u,d,f,zV)}}return ZV(u,i,r),"group"===i.type&&oG(e,u,n,i,r),o>=0?a.replaceAt(u,o):a.add(u),u}function eG(e,t,n){var i=FB(e),r=t.type,a=t.shape,o=t.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==i.customGraphicType||"path"===r&&fG(a)&&dG(a)!==i.customPathData||"image"===r&&Object(x["q"])(o,"image")&&o.image!==i.customImagePath}function tG(e,t,n,i,r){var a=n.clipPath;if(!1===a)e&&e.getClipPath()&&e.removeClipPath();else if(a){var o=e.getClipPath();o&&eG(o,a,i)&&(o=null),o||(o=WV(a),e.setClipPath(o)),UV(null,o,t,a,null,i,r)}}function nG(e,t,n,i,r,a){if(!e.isGroup){iG(n,null,a),iG(n,OV,a);var o=a.normal.conOpt,s=a.emphasis.conOpt,l=a.blur.conOpt,u=a.select.conOpt;if(null!=o||null!=s||null!=u||null!=l){var c=e.getTextContent();if(!1===o)c&&e.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=WV(o),e.setTextContent(c)),UV(null,c,t,o,null,i,r);for(var h=o&&o.style,d=0;d<EV.length;d++){var f=EV[d];if(f!==kV){var p=a[f].conOpt;XV(f,c,p,aG(o,p,f),null)}}h?c.dirty():c.markRedraw()}}}}function iG(e,t,n){var i=t?rG(e,t):e,r=t?aG(e,i,OV):e.style,a=e.type,o=i?i.textConfig:null,s=e.textContent,l=s?t?rG(s,t):s:null;if(r&&(n.isLegacy||QB(r,a,!!o,!!l))){n.isLegacy=!0;var u=eV(r,a,!t);!o&&u.textConfig&&(o=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;!c.type&&(c.type="text")}var h=t?n[t]:n.normal;h.cfg=o,h.conOpt=l}function rG(e,t){return t?e?e[t]:null:e}function aG(e,t,n){var i=t&&t.style;return null==i&&n===OV&&e&&(i=e.styleEmphasis),i}function oG(e,t,n,i,r){var a=i.children,o=a?a.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(o||l||u)if(l)lG({api:e,oldChildren:t.children()||[],newChildren:a||[],dataIndex:n,seriesModel:r,group:t});else{u&&t.removeAll();for(var c=0;c<o;c++){var h=a[c],d=t.childAt(c);h?(null==h.ignore&&(h.ignore=!1),QV(e,d,n,h,r,t)):d.ignore=!0}for(var f=t.childCount()-1;f>=c;f--){var p=t.childAt(f);sG(t,p,r)}}}function sG(e,t,n){t&&hV(t,FB(e).option,n)}function lG(e){new ib(e.oldChildren,e.newChildren,uG,uG,e).add(cG).update(cG).remove(hG).execute()}function uG(e,t){var n=e&&e.name;return null!=n?n:YV+t}function cG(e,t){var n=this.context,i=null!=e?n.newChildren[e]:null,r=null!=t?n.oldChildren[t]:null;QV(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function hG(e){var t=this.context,n=t.oldChildren[e];n&&hV(n,FB(n).option,t.seriesModel)}function dG(e){return e&&(e.pathData||e.d)}function fG(e){return e&&(Object(x["q"])(e,"pathData")||Object(x["q"])(e,"d"))}function pG(e){e.registerChartView(GV),e.registerSeriesModel(VB)}var mG=qr(),gG=x["d"],yG=x["c"],vG=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,i){var r=t.get("value"),a=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,i||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||"hide"===a)return o&&o.hide(),void(s&&s.hide());o&&o.show(),s&&s.show();var l={};this.makeElOption(l,r,e,t,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(e,t);if(o){var h=x["h"](_G,t,c);this.updatePointerEl(o,l,h),this.updateLabelEl(o,l,h,t)}else o=this._group=new Ni,this.createPointerEl(o,l,e,t),this.createLabelEl(o,l,e,t),n.getZr().add(o);MG(o,t,!0),this._renderHandle(r)}},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"),i=e.axis,r="category"===i.type,a=t.get("snap");if(!a&&!r)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(r&&i.getBandWidth()>o)return!0;if(a){var s=_k(e).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,i,r){},e.prototype.createPointerEl=function(e,t,n,i){var r=t.pointer;if(r){var o=mG(e).pointerEl=new a[r.type](gG(t.pointer));e.add(o)}},e.prototype.createLabelEl=function(e,t,n,i){if(t.label){var r=mG(e).labelEl=new Vs(gG(t.label));e.add(r),bG(r,i)}},e.prototype.updatePointerEl=function(e,t,n){var i=mG(e).pointerEl;i&&t.pointer&&(i.setStyle(t.pointer.style),n(i,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,i){var r=mG(e).labelEl;r&&(r.setStyle(t.label.style),n(r,{x:t.label.x,y:t.label.y}),bG(r,i))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),o=n.get("status");if(!a.get("show")||!o||"hide"===o)return r&&i.remove(r),void(this._handle=null);this._handle||(t=!0,r=this._handle=$g(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){pe(e.event)},onmousedown:yG(this._onHandleDragMove,this,0,0),drift:yG(this._onHandleDragMove,this),ondragend:yG(this._onHandleDragEnd,this)}),i.add(r)),MG(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=a.get("size");x["t"](s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,yy(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){_G(this._axisPointerModel,!t&&this._moveAnimation,this._handle,wG(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(wG(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(wG(i)),mG(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,i=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),i&&t.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),vy(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 _G(e,t,n,i){xG(mG(n).lastProp,i)||(mG(n).lastProp=i,t?su(n,i,e):(n.stopAnimation(),n.attr(i)))}function xG(e,t){if(x["A"](e)&&x["A"](t)){var n=!0;return x["k"](t,(function(t,i){n=n&&xG(e[i],t)})),!!n}return e===t}function bG(e,t){e[t.get(["label","show"])?"show":"hide"]()}function wG(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function MG(e,t,n){var i=t.get("z"),r=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=r&&(e.zlevel=r),e.silent=n)}))}var SG=vG;function TG(e){var t,n=e.get("type"),i=e.getModel(n+"Style");return"line"===n?(t=i.getLineStyle(),t.fill=null):"shadow"===n&&(t=i.getAreaStyle(),t.stroke=null),t}function LG(e,t,n,i,r){var a=n.get("value"),o=AG(a,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=Bc(s.get("padding")||0),u=s.getFont(),c=pi(o,u),h=r.position,d=c.width+l[1]+l[3],f=c.height+l[0]+l[2],p=r.align;"right"===p&&(h[0]-=d),"center"===p&&(h[0]-=d/2);var m=r.verticalAlign;"bottom"===m&&(h[1]-=f),"middle"===m&&(h[1]-=f/2),DG(h,d,f,i);var g=s.get("backgroundColor");g&&"auto"!==g||(g=t.get(["axisLine","lineStyle","color"])),e.label={x:h[0],y:h[1],style:xu(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function DG(e,t,n,i){var r=i.getWidth(),a=i.getHeight();e[0]=Math.min(e[0]+t,r)-t,e[1]=Math.min(e[1]+n,a)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function AG(e,t,n,i,r){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:r.precision}),o=r.formatter;if(o){var s={value:gM(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};x["k"](i,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),i=e.dataIndexInside,r=t&&t.getDataParams(i);r&&s.seriesData.push(r)})),x["C"](o)?a=o.replace("{value}",a):x["w"](o)&&(a=o(s))}return a}function OG(e,t,n){var i=xe();return Te(i,i,n.rotation),Se(i,i,n.position),Vg([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function kG(e,t,n,i,r,a){var o=hk.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),LG(t,i,r,a,{position:OG(i.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function IG(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function CG(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function EG(e,t,n,i,r,a){return{cx:e,cy:t,r0:n,r:i,startAngle:r,endAngle:a,clockwise:!0}}var PG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.makeElOption=function(e,t,n,i,r){var a=n.axis,o=a.grid,s=i.get("type"),l=NG(o,a).getOtherAxis(a).getGlobalExtent(),u=a.toGlobalCoord(a.dataToCoord(t,!0));if(s&&"none"!==s){var c=TG(i),h=RG[s](a,u,l);h.style=c,e.graphicKey=h.type,e.pointer=h}var d=BO(o.model,n);kG(t,e,d,n,i,r)},t.prototype.getHandleTransform=function(e,t,n){var i=BO(t.axis.grid.model,t,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=OG(t.axis,e,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,i){var r=n.axis,a=r.grid,o=r.getGlobalExtent(!0),s=NG(a,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(o[1],u[l]),u[l]=Math.max(o[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:h,tooltipOption:d[l]}},t}(SG);function NG(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var RG={line:function(e,t,n){var i=IG([t,n[0]],[t,n[1]],YG(e));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(e,t,n){var i=Math.max(1,e.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:CG([t-i/2,n[0]],[i,r],YG(e))}}};function YG(e){return"x"===e.dim?0:1}var zG=PG,HG=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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}(mh),jG=HG,FG=qr(),BG=x["k"];function VG(e,t,n){if(!_["a"].node){var i=t.getZr();FG(i).records||(FG(i).records={}),GG(i,t);var r=FG(i).records[e]||(FG(i).records[e]={});r.handler=n}}function GG(e,t){function n(n,i){e.on(n,(function(n){var r=ZG(t);BG(FG(e).records,(function(e){e&&i(e,n,r.dispatchAction)})),WG(r.pendings,t)}))}FG(e).initialized||(FG(e).initialized=!0,n("click",x["h"](XG,"click")),n("mousemove",x["h"](XG,"mousemove")),n("globalout",UG))}function WG(e,t){var n,i=e.showTip.length,r=e.hideTip.length;i?n=e.showTip[i-1]:r&&(n=e.hideTip[r-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function UG(e,t,n){e.handler("leave",null,n)}function XG(e,t,n,i){t.handler(e,n,i)}function ZG(e){var t={showTip:[],hideTip:[]},n=function(i){var r=t[i.type];r?r.push(i):(i.dispatchAction=n,e.dispatchAction(i))};return{dispatchAction:n,pendings:t}}function qG(e,t){if(!_["a"].node){var n=t.getZr(),i=(FG(n).records||{})[e];i&&(FG(n).records[e]=null)}}var $G=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=t.getComponent("tooltip"),r=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";VG("axisPointer",n,(function(e,t,n){"none"!==r&&("leave"===e||r.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){qG("axisPointer",t)},t.prototype.dispose=function(e,t){qG("axisPointer",t)},t.type="axisPointer",t}(Wp),JG=$G;function KG(e,t){var n,i=[],r=e.seriesIndex;if(null==r||!(n=t.getSeriesByIndex(r)))return{point:[]};var a=n.getData(),o=Zr(a,e);if(null==o||o<0||x["t"](o))return{point:[]};var s=a.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u),h=c.dim,d=u.dim,f="x"===h||"radius"===h?1:0,p=a.mapDimension(d),m=[];m[f]=a.get(p,o),m[1-f]=a.get(a.getCalculationInfo("stackResultDimension"),o),i=l.dataToPoint(m)||[]}else i=l.dataToPoint(a.getValues(x["H"](l.dimensions,(function(e){return a.mapDimension(e)})),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var QG=qr();function eW(e,t,n){var i=e.currTrigger,r=[e.x,e.y],a=e,o=e.dispatchAction||Object(x["c"])(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){cW(r)&&(r=KG({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var l=cW(r),u=a.axesInfo,c=s.axesInfo,h="leave"===i||cW(r),d={},f={},p={list:[],map:{}},m={showPointer:Object(x["h"])(iW,f),showTooltip:Object(x["h"])(rW,p)};Object(x["k"])(s.coordSysMap,(function(e,t){var n=l||e.containPoint(r);Object(x["k"])(s.coordSysAxesInfo[t],(function(e,t){var i=e.axis,a=lW(u,e);if(!h&&n&&(!u||a)){var o=a&&a.value;null!=o||l||(o=i.pointToData(r)),null!=o&&tW(e,o,m,!1,d)}}))}));var g={};return Object(x["k"])(c,(function(e,t){var n=e.linkGroup;n&&!f[t]&&Object(x["k"])(n.axesInfo,(function(t,i){var r=f[i];if(t!==e&&r){var a=r.value;n.mapper&&(a=e.axis.scale.parse(n.mapper(a,uW(t),uW(e)))),g[e.key]=a}}))})),Object(x["k"])(g,(function(e,t){tW(c[t],e,m,!0,d)})),aW(f,c,d),oW(p,r,e,o),sW(c,o,n),d}}function tW(e,t,n,i,r){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var o=nW(t,e),s=o.payloadBatch,l=o.snapToValue;s[0]&&null==r.seriesIndex&&Object(x["m"])(r,s[0]),!i&&e.snap&&a.containData(l)&&null!=l&&(t=l),n.showPointer(e,t,s),n.showTooltip(e,o,l)}else n.showPointer(e,t)}function nW(e,t){var n=t.axis,i=n.dim,r=e,a=[],o=Number.MAX_VALUE,s=-1;return Object(x["k"])(t.seriesModels,(function(t,l){var u,c,h=t.getData().mapDimensionsAll(i);if(t.getAxisTooltipData){var d=t.getAxisTooltipData(h,e,n);c=d.dataIndices,u=d.nestestValue}else{if(c=t.getData().indicesOfNearest(h[0],e,"category"===n.type?.5:null),!c.length)return;u=t.getData().get(h[0],c[0])}if(null!=u&&isFinite(u)){var f=e-u,p=Math.abs(f);p<=o&&((p<o||f>=0&&s<0)&&(o=p,s=f,r=u,a.length=0),Object(x["k"])(c,(function(e){a.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:a,snapToValue:r}}function iW(e,t,n,i){e[t.key]={value:n,payloadBatch:i}}function rW(e,t,n,i){var r=n.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(t.triggerTooltip&&r.length){var l=t.coordSys.model,u=wk(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:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function aW(e,t,n){var i=n.axesInfo=[];Object(x["k"])(t,(function(t,n){var r=t.axisPointerModel.option,a=e[n];a?(!t.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!t.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})}))}function oW(e,t,n,i){if(!cW(t)&&e.list.length){var r=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:e.list})}else i({type:"hideTip"})}function sW(e,t,n){var i=n.getZr(),r="axisPointerLastHighlights",a=QG(i)[r]||{},o=QG(i)[r]={};Object(x["k"])(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&e.triggerEmphasis&&Object(x["k"])(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;o[t]=e}))}));var s=[],l=[];Object(x["k"])(a,(function(e,t){!o[t]&&l.push(e)})),Object(x["k"])(o,(function(e,t){!a[t]&&s.push(e)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function lW(e,t){for(var n=0;n<(e||[]).length;n++){var i=e[n];if(t.axis.dim===i.axisDim&&t.axis.model.componentIndex===i.axisIndex)return i}}function uW(e){var t=e.axis.model,n={},i=n.axisDim=e.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=t.componentIndex,n.axisName=n[i+"AxisName"]=t.name,n.axisId=n[i+"AxisId"]=t.id,n}function cW(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function hW(e){Tk.registerAxisPointerClass("CartesianAxisPointer",zG),e.registerComponentModel(jG),e.registerComponentView(JG),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!Object(x["t"])(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=dk(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},eW)}function dW(e){IM(Yk),IM(hW)}var fW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.makeElOption=function(e,t,n,i,r){var a=n.axis;"angle"===a.dim&&(this.animationThreshold=Math.PI/18);var o=a.polar,s=o.getOtherAxis(a),l=s.getExtent(),u=a.dataToCoord(t),c=i.get("type");if(c&&"none"!==c){var h=TG(i),d=mW[c](a,o,u,l);d.style=h,e.graphicKey=d.type,e.pointer=d}var f=i.get(["label","margin"]),p=pW(t,n,i,o,f);LG(e,n,i,r,p)},t}(SG);function pW(e,t,n,i,r){var a=t.axis,o=a.dataToCoord(e),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===a.dim){var d=xe();Te(d,d,s),Se(d,d,[i.cx,i.cy]),l=Vg([o,-r],d);var f=t.getModel("axisLabel").get("rotate")||0,p=hk.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var m=h[1];l=i.coordToPoint([m+r,o]);var g=i.cx,y=i.cy;u=Math.abs(l[0]-g)/m<.3?"center":l[0]>g?"left":"right",c=Math.abs(l[1]-y)/m<.3?"middle":l[1]>y?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var mW={line:function(e,t,n,i){return"angle"===e.dim?{type:"Line",shape:IG(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,i){var r=Math.max(1,e.getBandWidth()),a=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:EG(t.cx,t.cy,i[0],i[1],(-n-r/2)*a,(r/2-n)*a)}:{type:"Sector",shape:EG(t.cx,t.cy,n-r/2,n+r/2,0,2*Math.PI)}}},gW=fW,yW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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}(mh),vW=yW,_W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Qr).models[0]},t.type="polarAxis",t}(mh);x["K"](_W,MM);var xW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="angleAxis",t}(_W),bW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="radiusAxis",t}(_W),wW=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return v(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(mS);wW.prototype.dataToRadius=mS.prototype.dataToCoord,wW.prototype.radiusToData=mS.prototype.coordToData;var MW=wW,SW=qr(),TW=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return v(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,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var a=i[0],o=e.dataToCoord(a+1)-e.dataToCoord(a),s=Math.abs(o),l=pi(null==a?"":a+"",t.getFont(),"center","top"),u=Math.max(l.height,7),c=u/s;isNaN(c)&&(c=1/0);var h=Math.max(0,Math.floor(c)),d=SW(e.model),f=d.lastAutoInterval,p=d.lastTickCount;return null!=f&&null!=p&&Math.abs(f-h)<=1&&Math.abs(p-r)<=1&&f>h?h=f:(d.lastTickCount=r,d.lastAutoInterval=h),h},t}(mS);TW.prototype.dataToAngle=mS.prototype.dataToCoord,TW.prototype.angleToData=mS.prototype.coordToData;var LW=TW,DW=["radius","angle"],AW=function(){function e(e){this.dimensions=DW,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new MW,this._angleAxis=new LW,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,i=this._radiusAxis;return n.scale.type===e&&t.push(n),i.scale.type===e&&t.push(i),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,i=this.getAngleAxis(),r=i.getExtent(),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);i.inverse?a=o-360:o=a+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;var l=Math.atan2(-n,t)/Math.PI*180,u=l<a?1:-1;while(l<a||l>o)l+=360*u;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI,i=Math.cos(n)*t+this.cx,r=-Math.sin(n)*t+this.cy;return[i,r]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),n=t.getExtent().slice();n[0]>n[1]&&n.reverse();var i=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,i=t-this.cy,r=n*n+i*i-1e-4,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}},e.prototype.convertToPixel=function(e,t,n){var i=OW(t);return i===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var i=OW(t);return i===this?this.pointToData(n):null},e}();function OW(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var kW=AW;function IW(e,t,n){var i=t.get("center"),r=n.getWidth(),a=n.getHeight();e.cx=er(i[0],r),e.cy=er(i[1],a);var o=e.getRadiusAxis(),s=Math.min(r,a)/2,l=t.get("radius");null==l?l=[0,"100%"]:x["t"](l)||(l=[0,l]);var u=[er(l[0],s),er(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function CW(e,t){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();x["k"](bM(t,"radius"),(function(e){r.scale.unionExtentFromData(t,e)})),x["k"](bM(t,"angle"),(function(e){i.scale.unionExtentFromData(t,e)}))}})),dM(i.scale,i.model),dM(r.scale,r.model),"category"===i.type&&!i.onBand){var a=i.getExtent(),o=360/i.scale.count();i.inverse?a[1]+=o:a[1]-=o,i.setExtent(a[0],a[1])}}function EW(e){return"angleAxis"===e.mainType}function PW(e,t){var n;if(e.type=t.get("type"),e.scale=fM(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),EW(t)){e.inverse=e.inverse!==t.get("clockwise");var i=t.get("startAngle"),r=null!==(n=t.get("endAngle"))&&void 0!==n?n:i+(e.inverse?-360:360);e.setExtent(i,r)}t.axis=e,e.model=t}var NW={dimensions:DW,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,i){var r=new kW(i+"");r.update=CW;var a=r.getRadiusAxis(),o=r.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");PW(a,s),PW(o,l),IW(r,e,t),n.push(r),e.coordinateSystem=r,r.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",Qr).models[0];0,e.coordinateSystem=t.coordinateSystem}})),n}},RW=NW,YW=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function zW(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var i=e.coordToPoint([t[0],n]),r=e.coordToPoint([t[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function HW(e){var t=e.getRadiusAxis();return t.inverse?0:1}function jW(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 FW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return v(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),o=n.getMinorTicksCoords(),s=x["H"](n.getViewLabels(),(function(e){e=x["d"](e);var t=n.scale,i="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(i),e}));jW(s),jW(a),x["k"](YW,(function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||BW[t](this.group,e,i,a,o,r,s)}),this)}},t.type="angleAxis",t}(Tk),BW={axisLine:function(e,t,n,i,r,o){var s,l=t.getModel(["axisLine","lineStyle"]),u=n.getAngleAxis(),c=Math.PI/180,h=u.getExtent(),d=HW(n),f=d?0:1,p=360===Math.abs(h[1]-h[0])?"Circle":"Arc";s=0===o[f]?new a[p]({shape:{cx:n.cx,cy:n.cy,r:o[d],startAngle:-h[0]*c,endAngle:-h[1]*c,clockwise:u.inverse},style:l.getLineStyle(),z2:1,silent:!0}):new Bm({shape:{cx:n.cx,cy:n.cy,r:o[d],r0:o[f]},style:l.getLineStyle(),z2:1,silent:!0}),s.style.fill=null,e.add(s)},axisTick:function(e,t,n,i,r,a){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=a[HW(n)],u=x["H"](i,(function(e){return new eg({shape:zW(n,[l,l+s],e.coord)})}));e.add(Yg(u,{style:x["i"](o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,i,r,a){if(r.length){for(var o=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=a[HW(n)],c=[],h=0;h<r.length;h++)for(var d=0;d<r[h].length;d++)c.push(new eg({shape:zW(n,[u,u+l],r[h][d].coord)}));e.add(Yg(c,{style:x["i"](s.getModel("lineStyle").getLineStyle(),x["i"](o.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,i,r,a,o){var s=t.getCategories(!0),l=t.getModel("axisLabel"),u=l.get("margin"),c=t.get("triggerEvent");x["k"](o,(function(i,r){var o=l,h=i.tickValue,d=a[HW(n)],f=n.coordToPoint([d+u,i.coord]),p=n.cx,m=n.cy,g=Math.abs(f[0]-p)/d<.3?"center":f[0]>p?"left":"right",y=Math.abs(f[1]-m)/d<.3?"middle":f[1]>m?"top":"bottom";if(s&&s[h]){var v=s[h];x["A"](v)&&v.textStyle&&(o=new Gu(v.textStyle,l,l.ecModel))}var _=new Vs({silent:hk.isLabelSilent(t),style:xu(o,{x:f[0],y:f[1],fill:o.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:g,verticalAlign:y})});if(e.add(_),c){var b=hk.makeAxisEventDataBase(t);b.targetType="axisLabel",b.value=i.rawLabel,Gs(_).eventData=b}}),this)},splitLine:function(e,t,n,i,r,a){var o=t.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=0;h<i.length;h++){var d=u++%l.length;c[d]=c[d]||[],c[d].push(new eg({shape:zW(n,a,i[h].coord)}))}for(h=0;h<c.length;h++)e.add(Yg(c[h],{style:x["i"]({stroke:l[h%l.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,i,r,a){if(r.length){for(var o=t.getModel("minorSplitLine"),s=o.getModel("lineStyle"),l=[],u=0;u<r.length;u++)for(var c=0;c<r[u].length;c++)l.push(new eg({shape:zW(n,a,r[u][c].coord)}));e.add(Yg(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,i,r,a){if(i.length){var o=t.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=Math.PI/180,d=-i[0].coord*h,f=Math.min(a[0],a[1]),p=Math.max(a[0],a[1]),m=t.get("clockwise"),g=1,y=i.length;g<=y;g++){var v=g===y?i[0].coord:i[g].coord,_=u++%l.length;c[_]=c[_]||[],c[_].push(new Hm({shape:{cx:n.cx,cy:n.cy,r0:f,r:p,startAngle:d,endAngle:-v*h,clockwise:m},silent:!0})),d=-v*h}for(g=0;g<c.length;g++)e.add(Yg(c[g],{style:x["i"]({fill:l[g%l.length]},s.getAreaStyle()),silent:!0}))}}},VW=FW,GW=["axisLine","axisTickLabel","axisName"],WW=["splitLine","splitArea","minorSplitLine"],UW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return v(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=this._axisGroup,i=this._axisGroup=new Ni;this.group.add(i);var r=e.axis,a=r.polar,o=a.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=o.getExtent()[0],c=r.getExtent(),h=ZW(a,e,u),d=new hk(e,h);x["k"](GW,d.add,d),i.add(d.getGroup()),Xg(n,i,e),x["k"](WW,(function(t){e.get([t,"show"])&&!r.scale.isBlank()&&XW[t](this.group,e,a,u,c,s,l)}),this)}},t.type="radiusAxis",t}(Tk),XW={splitLine:function(e,t,n,i,r,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0,h=n.getAngleAxis(),d=Math.PI/180,f=h.getExtent(),p=360===Math.abs(f[1]-f[0])?"Circle":"Arc";u=u instanceof Array?u:[u];for(var m=[],g=0;g<o.length;g++){var y=c++%u.length;m[y]=m[y]||[],m[y].push(new a[p]({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[g].coord,0),startAngle:-f[0]*d,endAngle:-f[1]*d,clockwise:h.inverse}}))}for(g=0;g<m.length;g++)e.add(Yg(m[g],{style:x["i"]({stroke:u[g%u.length],fill:null},l.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,i,r,a,o){if(o.length){for(var s=t.getModel("minorSplitLine"),l=s.getModel("lineStyle"),u=[],c=0;c<o.length;c++)for(var h=0;h<o[c].length;h++)u.push(new vm({shape:{cx:n.cx,cy:n.cy,r:o[c][h].coord}}));e.add(Yg(u,{style:x["i"]({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,i,r,a){if(a.length){var o=t.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=a[0].coord,d=1;d<a.length;d++){var f=u++%l.length;c[f]=c[f]||[],c[f].push(new Hm({shape:{cx:n.cx,cy:n.cy,r0:h,r:a[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=a[d].coord}for(d=0;d<c.length;d++)e.add(Yg(c[d],{style:x["i"]({fill:l[d%l.length]},s.getAreaStyle()),silent:!0}))}}};function ZW(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 qW=UW;function $W(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function JW(e,t){return t.dim+e.model.componentIndex}function KW(e,t,n){var i={},r=QW(x["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,a=n.getBaseAxis(),o=JW(n,a),s=$W(e),l=r[o][s],u=l.offset,c=l.width,h=n.getOtherAxis(a),d=e.coordinateSystem.cx,f=e.coordinateSystem.cy,p=e.get("barMinHeight")||0,m=e.get("barMinAngle")||0;i[s]=i[s]||[];for(var g=t.mapDimension(h.dim),y=t.mapDimension(a.dim),v=Wb(t,g),_="radius"!==a.dim||!e.get("roundCap",!0),x=h.model,b=x.get("startValue"),w=h.dataToCoord(b||0),M=0,S=t.count();M<S;M++){var T=t.get(g,M),L=t.get(y,M),D=T>=0?"p":"n",A=w;v&&(i[s][L]||(i[s][L]={p:w,n:w}),A=i[s][L][D]);var O=void 0,k=void 0,I=void 0,C=void 0;if("radius"===h.dim){var E=h.dataToCoord(T)-w,P=a.dataToCoord(L);Math.abs(E)<p&&(E=(E<0?-1:1)*p),O=A,k=A+E,I=P-u,C=I-c,v&&(i[s][L][D]=k)}else{var N=h.dataToCoord(T,_)-w,R=a.dataToCoord(L);Math.abs(N)<m&&(N=(N<0?-1:1)*m),O=R+u,k=O+c,I=A,C=A+N,v&&(i[s][L][D]=C)}t.setItemLayout(M,{cx:d,cy:f,r0:O,r:k,startAngle:-I*Math.PI/180,endAngle:-C*Math.PI/180,clockwise:I>=C})}}}))}function QW(e){var t={};x["k"](e,(function(e,n){var i=e.getData(),r=e.coordinateSystem,a=r.getBaseAxis(),o=JW(r,a),s=a.getExtent(),l="category"===a.type?a.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=t[o]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;t[o]=u;var h=$W(e);c[h]||u.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var d=er(e.get("barWidth"),l),f=er(e.get("barMaxWidth"),l),p=e.get("barGap"),m=e.get("barCategoryGap");d&&!c[h].width&&(d=Math.min(u.remainedWidth,d),c[h].width=d,u.remainedWidth-=d),f&&(c[h].maxWidth=f),null!=p&&(u.gap=p),null!=m&&(u.categoryGap=m)}));var n={};return x["k"](t,(function(e,t){n[t]={};var i=e.stacks,r=e.bandWidth,a=er(e.categoryGap,r),o=er(e.gap,1),s=e.remainedWidth,l=e.autoWidthCount,u=(s-a)/(l+(l-1)*o);u=Math.max(u,0),x["k"](i,(function(e,t){var n=e.maxWidth;n&&n<u&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,l--)})),u=(s-a)/(l+(l-1)*o),u=Math.max(u,0);var c,h=0;x["k"](i,(function(e,t){e.width||(e.width=u),c=e,h+=e.width*(1+o)})),c&&(h-=c.width*o);var d=-h/2;x["k"](i,(function(e,i){n[t][i]=n[t][i]||{offset:d,width:e.width},d+=e.width*(1+o)}))})),n}var eU=KW,tU={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},nU={splitNumber:5},iU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="polar",t}(Wp);function rU(e){IM(hW),Tk.registerAxisPointerClass("PolarAxisPointer",gW),e.registerCoordinateSystem("polar",RW),e.registerComponentModel(vW),e.registerComponentView(iU),CO(e,"angle",xW,tU),CO(e,"radius",bW,nU),e.registerComponentView(VW),e.registerComponentView(qW),e.registerLayout(Object(x["h"])(eU,"bar"))}function aU(e,t){t=t||{};var n=e.coordinateSystem,i=e.axis,r={},a=i.position,o=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===o?u.vertical[a]:l[0],"horizontal"===o?u.horizontal[a]:l[3]];var c={horizontal:0,vertical:1};r.rotation=Math.PI/2*c[o];var h={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=h[a],e.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),x["O"](t.labelInside,e.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var d=t.rotate;return null==d&&(d=e.get(["axisLabel","rotate"])),r.labelRotation="top"===a?-d:d,r.z2=1,r}var oU=["axisLine","axisTickLabel","axisName"],sU=["splitArea","splitLine"],lU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return v(t,e),t.prototype.render=function(t,n,i,r){var a=this.group;a.removeAll();var o=this._axisGroup;this._axisGroup=new Ni;var s=aU(t),l=new hk(t,s);x["k"](oU,l.add,l),a.add(this._axisGroup),a.add(l.getGroup()),x["k"](sU,(function(e){t.get([e,"show"])&&uU[e](this,this.group,this._axisGroup,t)}),this),Xg(o,this._axisGroup,t),e.prototype.render.call(this,t,n,i,r)},t.prototype.remove=function(){Ak(this)},t.type="singleAxis",t}(Tk),uU={splitLine:function(e,t,n,i){var r=i.axis;if(!r.scale.isBlank()){var a=i.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var l=o.get("width"),u=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=[],d=0,f=r.getTicksCoords({tickModel:a}),p=[],m=[],g=0;g<f.length;++g){var y=r.toGlobalCoord(f[g].coord);c?(p[0]=y,p[1]=u.y,m[0]=y,m[1]=u.y+u.height):(p[0]=u.x,p[1]=y,m[0]=u.x+u.width,m[1]=y);var v=new eg({shape:{x1:p[0],y1:p[1],x2:m[0],y2:m[1]},silent:!0});Hg(v.shape,l);var _=d++%s.length;h[_]=h[_]||[],h[_].push(v)}var b=o.getLineStyle(["color"]);for(g=0;g<h.length;++g)t.add(Yg(h[g],{style:x["i"]({stroke:s[g%s.length]},b),silent:!0}))}},splitArea:function(e,t,n,i){Dk(e,n,i,i)}},cU=lU,hU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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}(mh);Object(x["K"])(hU,MM.prototype);var dU=hU,fU=function(e){function t(t,n,i,r,a){var o=e.call(this,t,n,i)||this;return o.type=r||"value",o.position=a||"bottom",o}return v(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}(mS),pU=fU,mU=["single"],gU=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=mU,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var i=this.dimension,r=new pU(i,fM(e),[0,0],e.get("type"),e.get("position")),a="category"===r.type;r.onBand=a&&e.get("boundaryGap"),r.inverse=e.get("inverse"),r.orient=e.get("orient"),e.axis=r,r.model=e,r.coordinateSystem=this,this._axis=r},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();Object(x["k"])(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),dM(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=ah({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(),i=n?[0,e.width]:[0,e.height],r=t.inverse?1:0;t.setExtent(i[r],i[1-r]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),i=n[0]+n[1],r=e.isHorizontal();e.toGlobalCoord=r?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord=r?function(e){return e-t}:function(e){return i-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(),i=n.orient;return"horizontal"===i?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(),i=[],r="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),i[r]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},e.prototype.convertToPixel=function(e,t,n){var i=yU(t);return i===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var i=yU(t);return i===this?this.pointToData(n):null},e}();function yU(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var vU=gU;function _U(e,t){var n=[];return e.eachComponent("singleAxis",(function(i,r){var a=new vU(i,e,t);a.name="single_"+r,a.resize(i,t),i.coordinateSystem=a,n.push(a)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",Qr).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),n}var xU={create:_U,dimensions:mU},bU=xU,wU=["x","y"],MU=["width","height"],SU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.makeElOption=function(e,t,n,i,r){var a=n.axis,o=a.coordinateSystem,s=DU(o,1-LU(a)),l=o.dataToPoint(t)[0],u=i.get("type");if(u&&"none"!==u){var c=TG(i),h=TU[u](a,l,s);h.style=c,e.graphicKey=h.type,e.pointer=h}var d=aU(n);kG(t,e,d,n,i,r)},t.prototype.getHandleTransform=function(e,t,n){var i=aU(t,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=OG(t.axis,e,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,i){var r=n.axis,a=r.coordinateSystem,o=LU(r),s=DU(a,o),l=[e.x,e.y];l[o]+=t[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var u=DU(a,1-o),c=(u[1]+u[0])/2,h=[c,c];return h[o]=l[o],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},t}(SG),TU={line:function(e,t,n){var i=IG([t,n[0]],[t,n[1]],LU(e));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(e,t,n){var i=e.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:CG([t-i/2,n[0]],[i,r],LU(e))}}};function LU(e){return e.isHorizontal()?0:1}function DU(e,t){var n=e.getRect();return[n[wU[t]],n[wU[t]]+n[MU[t]]]}var AU=SU,OU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="single",t}(Wp);function kU(e){IM(hW),Tk.registerAxisPointerClass("SingleAxisPointer",AU),e.registerComponentView(OU),e.registerComponentView(cU),e.registerComponentModel(dU),CO(e,"single",dU,dU.defaultOption),e.registerCoordinateSystem("single",bU)}var IU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(t,n,i){var r=ch(t);e.prototype.init.apply(this,arguments),CU(t,r)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),CU(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}(mh);function CU(e,t){var n,i=e.cellSize;n=x["t"](i)?i:e.cellSize=[i,i],1===n.length&&(n[1]=n[0]);var r=x["H"]([0,1],(function(e){return sh(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));uh(e,t,{type:"box",ignoreSize:r})}var EU=IU,PU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){var i=this.group;i.removeAll();var r=e.coordinateSystem,a=r.getRangeInfo(),o=r.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,a,i),this._renderLines(e,a,o,i),this._renderYearText(e,a,o,i),this._renderMonthText(e,s,o,i),this._renderWeekText(e,s,a,o,i)},t.prototype._renderDayRect=function(e,t,n){for(var i=e.coordinateSystem,r=e.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),o=i.getCellHeight(),s=t.start.time;s<=t.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Ts({shape:{x:l[0],y:l[1],width:a,height:o},cursor:"default",style:r});n.add(u)}},t.prototype._renderLines=function(e,t,n,i){var r=this,a=e.coordinateSystem,o=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){d(u.formatedDate),0===c&&(u=a.getDateInfo(t.start.y+"-"+t.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=a.getDateInfo(h)}function d(t){r._firstDayOfMonth.push(a.getDateInfo(t)),r._firstDayPoints.push(a.dataToRect([t],!1).tl);var l=r._getLinePointsOfOneWeek(e,t,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,o,i)}d(a.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),o,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),o,i)},t.prototype._getEdgesPoints=function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-t/2,i[1][r]=i[1][r]+t/2,i},t.prototype._drawSplitline=function(e,t,n){var i=new $m({z2:20,shape:{points:e},style:t});n.add(i)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var i=e.coordinateSystem,r=i.getDateInfo(t),a=[],o=0;o<7;o++){var s=i.getNextNDay(r.time,o),l=i.dataToRect([s.time],!1);a[2*s.day]=l.tl,a[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return a},t.prototype._formatterLabel=function(e,t){return Object(x["C"])(e)&&e?Xc(e,t):Object(x["w"])(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,n,i,r){var a=t[0],o=t[1],s=["center","bottom"];"bottom"===i?(o+=r,s=["center","top"]):"left"===i?a-=r:"right"===i?(a+=r,s=["center","top"]):o-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:a,y:o,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,i){var r=e.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),o=r.get("position");o||(o="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,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=t.start.y;+t.end.y>+t.start.y&&(d=d+"-"+t.end.y);var f=r.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:d},m=this._formatterLabel(f,p),g=new Vs({z2:30,style:xu(r,{text:m})});g.attr(this._yearTextPositionControl(g,h[o],n,o,a)),i.add(g)}},t.prototype._monthTextPositionControl=function(e,t,n,i,r){var a="left",o="top",s=e[0],l=e[1];return"horizontal"===n?(l+=r,t&&(a="center"),"start"===i&&(o="bottom")):(s+=r,t&&(o="middle"),"start"===i&&(a="right")),{x:s,y:l,align:a,verticalAlign:o}},t.prototype._renderMonthText=function(e,t,n,i){var r=e.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),o=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];a&&!Object(x["C"])(a)||(a&&(t=oc(a)||t),a=t.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,h="horizontal"===n?0:1;o="start"===s?-o:o;for(var d="center"===l,f=0;f<u[c].length-1;f++){var p=u[c][f].slice(),m=this._firstDayOfMonth[f];if(d){var g=this._firstDayPoints[f];p[h]=(g[h]+u[0][f+1][h])/2}var y=r.get("formatter"),v=a[+m.m-1],_={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:v},b=this._formatterLabel(y,_),w=new Vs({z2:30,style:Object(x["m"])(xu(r,{text:b}),this._monthTextPositionControl(p,d,n,s,o))});i.add(w)}}},t.prototype._weekTextPositionControl=function(e,t,n,i,r){var a="center",o="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+i+(u?1:-1)*r[0]/2,a=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,o=u?"bottom":"top"),{x:s,y:l,align:a,verticalAlign:o}},t.prototype._renderWeekText=function(e,t,n,i,r){var a=e.getModel("dayLabel");if(a.get("show")){var o=e.coordinateSystem,s=a.get("position"),l=a.get("nameMap"),u=a.get("margin"),c=o.getFirstDayOfWeek();if(!l||Object(x["C"])(l)){l&&(t=oc(l)||t);var h=t.get(["time","dayOfWeekShort"]);l=h||Object(x["H"])(t.get(["time","dayOfWeekAbbr"]),(function(e){return e[0]}))}var d=o.getNextNDay(n.end.time,7-n.lweek).time,f=[o.getCellWidth(),o.getCellHeight()];u=er(u,Math.min(f[1],f[0])),"start"===s&&(d=o.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var p=0;p<7;p++){var m=o.getNextNDay(d,p),g=o.dataToRect([m.time],!1).center,y=p;y=Math.abs((p+c)%7);var v=new Vs({z2:30,style:Object(x["m"])(xu(a,{text:l[y]}),this._weekTextPositionControl(g,i,s,u,f))});r.add(v)}}},t.type="calendar",t}(Wp),NU=PU,RU=864e5,YU=function(){function e(t,n,i){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=fr(e);var t=e.getFullYear(),n=e.getMonth()+1,i=n<10?"0"+n:""+n,r=e.getDate(),a=r<10?"0"+r:""+r,o=e.getDay();return o=Math.abs((o+7-this.getFirstDayOfWeek())%7),{y:t+"",m:i,d:a,day:o,time:e.getTime(),formatedDate:t+"-"+i+"-"+a,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,i=["width","height"],r=this._model.getCellSize().slice(),a=this._model.getBoxLayoutParams(),o="horizontal"===this._orient?[n,7]:[7,n];x["k"]([0,1],(function(e){u(r,e)&&(a[i[e]]=r[e]*o[e])}));var s={width:t.getWidth(),height:t.getHeight()},l=this._rect=ah(a,s);function u(e,t){return null!=e[t]&&"auto"!==e[t]}x["k"]([0,1],(function(e){u(r,e)||(r[e]=l[i[e]]/o[e])})),this._sw=r[0],this._sh=r[1]},e.prototype.dataToPoint=function(e,t){x["t"](e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),i=this._rangeInfo,r=n.formatedDate;if(t&&!(n.time>=i.start.time&&n.time<i.end.time+RU))return[NaN,NaN];var a=n.day,o=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]:[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*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,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,i):this._getDateByWeeksAndDay(t,n-1,i)},e.prototype.convertToPixel=function(e,t,n){var i=zU(t);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var i=zU(t);return i===this?i.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(x["t"](t)&&1===t.length&&(t=t[0]),x["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 i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var a=this.getNextNDay(r,-1);e=[i.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return t;var o=this._getRangeInfo(e);return o.start.time>o.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 i=Math.floor(n[1].time/RU)-Math.floor(n[0].time/RU)+1,r=new Date(n[0].time),a=r.getDate(),o=n[1].date.getDate();r.setDate(a+i-1);var s=r.getDate();if(s!==o){var l=r.getTime()-n[1].time>0?1:-1;while((s=r.getDate())!==o&&(r.getTime()-n[1].time)*l>0)i-=l,r.setDate(s-l)}var u=Math.floor((i+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:i,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var i=this._getRangeInfo(n);if(e>i.weeks||0===e&&t<i.fweek||e===i.weeks&&t>i.lweek)return null;var r=7*(e-1)-i.fweek+t,a=new Date(i.start.time);return a.setDate(+i.start.d+r),this.getDateInfo(a)},e.create=function(t,n){var i=[];return t.eachComponent("calendar",(function(r){var a=new e(r,t,n);i.push(a),r.coordinateSystem=a})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("calendarIndex")||0])})),i},e.dimensions=["time","value"],e}();function zU(e){var t=e.calendarModel,n=e.seriesModel,i=t?t.coordinateSystem:n?n.coordinateSystem:null;return i}var HU=YU;function jU(e){e.registerComponentModel(EU),e.registerComponentView(NU),e.registerCoordinateSystem("calendar",HU)}function FU(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var i=t.parentOption;i?t.parentId=i.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function BU(e,t){var n;return x["k"](t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function VU(e,t,n){var i=x["m"]({},n),r=e[t],a=n.$action||"merge";"merge"===a?r?(x["I"](r,i,!0),uh(r,i,{ignoreSize:!0}),hh(n,r),UU(n,r),UU(n,r,"shape"),UU(n,r,"style"),UU(n,r,"extra"),n.clipPath=r.clipPath):e[t]=i:"replace"===a?e[t]=i:"remove"===a&&r&&(e[t]=null)}var GU=["transition","enterFrom","leaveTo"],WU=GU.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function UU(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var i=n?GU:WU,r=0;r<i.length;r++){var a=i[r];null==e[a]&&null!=t[a]&&(e[a]=t[a])}}function XU(e,t){if(e&&(e.hv=t.hv=[BU(t,["left","right"]),BU(t,["top","bottom"])],"group"===e.type)){var n=e,i=t;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}var ZU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return v(t,e),t.prototype.mergeOption=function(t,n){var i=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,n),this.option.elements=i},t.prototype.optionUpdated=function(e,t){var n=this.option,i=(t?n:e).elements,r=n.elements=t?[]:n.elements,a=[];this._flatten(i,a,null);var o=Cr(r,a,"normalMerge"),s=this._elOptionsToUpdate=[];x["k"](o,(function(e,t){var n=e.newOption;n&&(s.push(n),FU(e,n),VU(r,t,n),XU(r[t],n))}),this),n.elements=x["n"](r,(function(e){return e&&delete e.$action,null!=e}))},t.prototype._flatten=function(e,t,n){x["k"](e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var i=e.children;i&&i.length&&this._flatten(i,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}(mh),qU={path:null,compoundPath:null,group:Ni,image:gs,text:Vs},$U=qr(),JU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(){this._elMap=x["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,i=this.group,r=e.get("z"),a=e.get("zlevel");x["k"](t,(function(t){var o=Fr(t.id,null),s=null!=o?n.get(o):null,l=Fr(t.parentId,null),u=null!=l?n.get(l):i,c=t.type,h=t.style;"text"===c&&h&&t.hv&&t.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=t.textContent,f=t.textConfig;if(h&&QB(h,c,!!f,!!d)){var p=eV(h,c,!0);!f&&p.textConfig&&(f=t.textConfig=p.textConfig),!d&&p.textContent&&(d=p.textContent)}var m=nX(t);var g=t.$action||"merge",y="merge"===g,v="replace"===g;if(y){var _=!s,x=s;_?x=QU(o,u,t.type,n):(x&&($U(x).isNew=!1),DV(x)),x&&(uV(x,m,e,{isInit:_}),tX(x,t,r,a))}else if(v){eX(s,t,n,e);var b=QU(o,u,t.type,n);b&&(uV(b,m,e,{isInit:!0}),tX(b,t,r,a))}else"remove"===g&&(cV(s,t),eX(s,t,n,e));var w=n.get(o);if(w&&d)if(y){var M=w.getTextContent();M?M.attr(d):w.setTextContent(new Vs(d))}else v&&w.setTextContent(new Vs(d));if(w){var S=t.clipPath;if(S){var T=S.type,L=void 0;_=!1;if(y){var D=w.getClipPath();_=!D||$U(D).type!==T,L=_?KU(T):D}else v&&(_=!0,L=KU(T));w.setClipPath(L),uV(L,S,e,{isInit:_}),AV(L,S.keyframeAnimation,e)}var A=$U(w);w.setTextConfig(f),A.option=t,iX(w,e,t),ty({el:w,componentModel:e,itemName:w.name,itemTooltipOption:t.tooltip}),AV(w,t.keyframeAnimation,e)}}))}},t.prototype._relocate=function(e,t){for(var n=e.option.elements,i=this.group,r=this._elMap,a=t.getWidth(),o=t.getHeight(),s=["x","y"],l=0;l<n.length;l++){var u=n[l],c=Fr(u.id,null),h=null!=c?r.get(c):null;if(h&&h.isGroup){var d=h.parent,f=d===i,p=$U(h),m=$U(d);p.width=er(p.option.width,f?a:m.width)||0,p.height=er(p.option.height,f?o:m.height)||0}}for(l=n.length-1;l>=0;l--){u=n[l],c=Fr(u.id,null),h=null!=c?r.get(c):null;if(h){d=h.parent,m=$U(d);var g=d===i?{width:a,height:o}:{width:m.width,height:m.height},y={},v=oh(h,u,g,null,{hv:u.hv,boundingMode:u.bounding},y);if(!$U(h).isNew&&v){for(var _=u.transition,b={},w=0;w<s.length;w++){var M=s[w],S=y[M];_&&(dV(_)||x["r"](_,M)>=0)?b[M]=S:h[M]=S}su(h,b,e,0)}else h.attr(y)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(n){eX(n,$U(n).option,t,e._lastGraphicModel)})),this._elMap=x["f"]()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Wp);function KU(e){var t=x["q"](qU,e)?qU[e]:Eg(e);var n=new t({});return $U(n).type=e,n}function QU(e,t,n,i){var r=KU(n);return t.add(r),i.set(e,r),$U(r).id=e,$U(r).isNew=!0,r}function eX(e,t,n,i){var r=e&&e.parent;r&&("group"===e.type&&e.traverse((function(e){eX(e,t,n,i)})),hV(e,t,i),n.removeKey($U(e).id))}function tX(e,t,n,i){e.isGroup||x["k"]([["cursor",eo.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];x["q"](t,i)?e[i]=x["P"](t[i],n[1]):null==e[i]&&(e[i]=n[1])})),x["k"](x["F"](t),(function(n){if(0===n.indexOf("on")){var i=t[n];e[n]=x["w"](i)?i:null}})),x["q"](t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}function nX(e){return e=x["m"]({},e),x["k"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(eh),(function(t){delete e[t]})),e}function iX(e,t,n){var i=Gs(e).eventData;e.silent||e.ignore||i||(i=Gs(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),i&&(i.info=n.info)}function rX(e){e.registerComponentModel(ZU),e.registerComponentView(JU),e.registerPreprocessor((function(e){var t=e.graphic;Object(x["t"])(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}))}var aX=["x","y","radius","angle","single"],oX=["cartesian2d","polar","singleAxis"];function sX(e){var t=e.get("coordinateSystem");return Object(x["r"])(oX,t)>=0}function lX(e){return e+"Axis"}function uX(e,t){var n,i=Object(x["f"])(),r=[],a=Object(x["f"])();e.eachComponent({mainType:"dataZoom",query:t},(function(e){a.get(e.uid)||s(e)}));do{n=!1,e.eachComponent("dataZoom",o)}while(n);function o(e){!a.get(e.uid)&&l(e)&&(s(e),n=!0)}function s(e){a.set(e.uid,!0),r.push(e),u(e)}function l(e){var t=!1;return e.eachTargetAxis((function(e,n){var r=i.get(e);r&&r[n]&&(t=!0)})),t}function u(e){e.eachTargetAxis((function(e,t){(i.get(e)||i.set(e,[]))[t]=!0}))}return r}function cX(e){var t=e.ecModel,n={infoList:[],infoMap:Object(x["f"])()};return e.eachTargetAxis((function(e,i){var r=t.getComponent(lX(e),i);if(r){var a=r.getCoordSysModel();if(a){var o=a.uid,s=n.infoMap.get(o);s||(s={model:a,axisModels:[]},n.infoList.push(s),n.infoMap.set(o,s)),s.axisModels.push(r)}}})),n}var hX=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}(),dX=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 v(t,e),t.prototype.init=function(e,t,n){var i=fX(e);this.settledOption=i,this.mergeDefaultAndTheme(e,n),this._doInit(i)},t.prototype.mergeOption=function(e){var t=fX(e);Object(x["I"])(this.option,e,!0),Object(x["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(x["k"])([["start","startValue"],["end","endValue"]],(function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Object(x["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(x["k"])(aX,(function(n){var i=this.getReferringComponents(lX(n),ea);if(i.specified){t=!0;var r=new hX;Object(x["k"])(i.models,(function(e){r.add(e.componentIndex)})),e.set(n,r)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,i=!0;if(i){var r="vertical"===t?"y":"x",a=n.findComponents({mainType:r+"Axis"});o(a,r)}if(i){a=n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});o(a,"single")}function o(t,n){var r=t[0];if(r){var a=new hX;if(a.add(r.componentIndex),e.set(n,a),i=!1,"x"===n||"y"===n){var o=r.getReferringComponents("grid",Qr).models[0];o&&Object(x["k"])(t,(function(e){r.componentIndex!==e.componentIndex&&o===e.getReferringComponents("grid",Qr).models[0]&&a.add(e.componentIndex)}))}}}i&&Object(x["k"])(aX,(function(t){if(i){var r=n.findComponents({mainType:lX(t),filter:function(e){return"category"===e.get("type",!0)}});if(r[0]){var a=new hX;a.add(r[0].componentIndex),e.set(t,a),i=!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(x["k"])([["start","startValue"],["end","endValue"]],(function(i,r){var a=null!=e[i[0]],o=null!=e[i[1]];a&&!o?t[r]="percent":!a&&o?t[r]="value":n?t[r]=n[r]:a&&(t[r]="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(lX(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,i){Object(x["k"])(n.indexList,(function(n){e.call(t,i,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(lX(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(x["k"])([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(x["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(),i=0;i<n.length;i++)for(var r=n[i],a=this._targetAxisInfoMap.get(r),o=0;o<a.indexList.length;o++){var s=this.getAxisProxy(r,a.indexList[o]);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}(mh);function fX(e){var t={};return Object(x["k"])(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var pX=dX,mX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="dataZoom.select",t}(pX),gX=mX,yX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(Wp),vX=yX,_X=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="dataZoom.select",t}(vX),xX=_X,bX=x["k"],wX=nr,MX=function(){function e(e,t,n,i){this._dimName=e,this._axisIndex=t,this.ecModel=i,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(sX(t)){var n=lX(this._dimName),i=t.getReferringComponents(n,Qr).models[0];i&&this._axisIndex===i.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return x["d"](this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,i=this.getAxisModel(),r=i.axis.scale,a=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],l=[];bX(["start","end"],(function(i,u){var c=e[i],h=e[i+"Value"];"percent"===a[u]?(null==c&&(c=o[u]),h=r.parse(Qi(c,o,n))):(t=!0,h=null==h?n[u]:r.parse(h),c=Qi(h,n,o)),l[u]=null==h||isNaN(h)?n[u]:h,s[u]=null==c||isNaN(c)?o[u]:c})),wX(l),wX(s);var u=this._minMaxSpan;function c(e,t,n,i,a){var o=a?"Span":"ValueSpan";GY(0,e,n,"all",u["min"+o],u["max"+o]);for(var s=0;s<2;s++)t[s]=Qi(e[s],n,i,!0),a&&(t[s]=r.parse(t[s]))}return t?c(l,s,n,o,!1):c(s,l,o,n,!0),{valueWindow:l,percentWindow:s}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=SX(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,i=this.getTargetSeriesModels(),r=e.get("filterMode"),a=this._valueWindow;"none"!==r&&bX(i,(function(e){var t=e.getData(),i=t.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var s=t.getStore(),l=x["H"](i,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,r,o=0;o<i.length;o++){var u=s.get(l[o],e),c=!isNaN(u),h=u<a[0],d=u>a[1];if(c&&!h&&!d)return!0;c&&(r=!0),h&&(t=!0),d&&(n=!0)}return r&&t&&n}))}else bX(i,(function(n){if("empty"===r)e.setData(t=t.map(n,(function(e){return o(e)?e:NaN})));else{var i={};i[n]=a,t.selectRange(i)}}));bX(i,(function(e){t.setApproximateExtent(a,e)}))}}))}function o(e){return e>=a[0]&&e<=a[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;bX(["min","max"],(function(i){var r=t.get(i+"Span"),a=t.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=Qi(n[0]+a,n,[0,100],!0):null!=r&&(a=Qi(r,[0,100],n,!0)-n[0]),e[i+"Span"]=r,e[i+"ValueSpan"]=a}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var i=ar(n,[0,500]);i=Math.min(i,20);var r=e.axis.scale.rawExtentInfo;0!==t[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==t[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},e}();function SX(e,t,n){var i=[1/0,-1/0];bX(n,(function(e){wM(i,e.getData(),t)}));var r=e.getAxisModel(),a=lM(r.axis.scale,r,i).calculate();return[a.min,a.max]}var TX=MX,LX={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var a=e.getComponent(lX(i),r);t(i,r,a,n)}))}))}t((function(e,t,n,i){n.__dzAxisProxy=null}));var n=[];t((function(t,i,r,a){r.__dzAxisProxy||(r.__dzAxisProxy=new TX(t,i,a,e),n.push(r.__dzAxisProxy))}));var i=Object(x["f"])();return Object(x["k"])(n,(function(e){Object(x["k"])(e.getTargetSeriesModels(),(function(e){i.set(e.uid,e)}))})),i},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,i){e.getAxisProxy(n,i).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),i=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},DX=LX;function AX(e){e.registerAction("dataZoom",(function(e,t){var n=uX(t,e);Object(x["k"])(n,(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}var OX=!1;function kX(e){OX||(OX=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,DX),AX(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function IX(e){e.registerComponentModel(gX),e.registerComponentView(xX),kX(e)}var CX=function(){function e(){}return e}(),EX={};function PX(e,t){EX[e]=t}function NX(e){return EX[e]}var RX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;x["k"](this.option.feature,(function(e,n){var i=NX(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(t)),x["I"](e,i.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}(mh),YX=RX;function zX(e,t,n){var i=t.getBoxLayoutParams(),r=t.get("padding"),a={width:n.getWidth(),height:n.getHeight()},o=ah(i,a,r);ih(t.get("orient"),e,t.get("itemGap"),o.width,o.height),oh(e,i,a,r)}function HX(e,t){var n=Bc(t.get("padding")),i=t.getItemStyle(["color","opacity"]);return i.fill=t.get("backgroundColor"),e=new Ts({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:i,silent:!0,z2:-1}),e}var jX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(e,t,n,i){var r=this.group;if(r.removeAll(),e.get("show")){var a=+e.get("itemSize"),o="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),u=[];x["k"](s,(function(e,t){u.push(t)})),new ib(this._featureNames||[],u).add(c).update(c).remove(x["h"](c,null)).execute(),this._featureNames=u,zX(r,e,n),r.add(HX(r.getBoundingRect(),e)),o||r.eachChild((function(e){var t=e.__title,i=e.ensureState("emphasis"),o=i.textConfig||(i.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!x["w"](l)&&t){var u=l.style||(l.style={}),c=pi(t,Vs.makeFont(u)),h=e.x+r.x,d=e.y+r.y+a,f=!1;d+c.height>n.getHeight()&&(o.position="top",f=!0);var p=f?-5-c.height:a+10;h+c.width/2>n.getWidth()?(o.position=["100%",p],u.align="right"):h-c.width/2<0&&(o.position=[0,p],u.align="left")}}))}function c(r,a){var o,c=u[r],d=u[a],f=s[c],p=new Gu(f,e,e.ecModel);if(i&&null!=i.newTitle&&i.featureName===c&&(f.title=i.newTitle),c&&!d){if(FX(c))o={onclick:p.option.onclick,featureName:c};else{var m=NX(c);if(!m)return;o=new m}l[c]=o}else if(o=l[d],!o)return;o.uid=Uu("toolbox-feature"),o.model=p,o.ecModel=t,o.api=n;var g=o instanceof CX;c||!d?!p.get("show")||g&&o.unusable?g&&o.remove&&o.remove(t,n):(h(p,o,c),p.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&("emphasis"===t?Dl:Al)(i[e])},o instanceof CX&&o.render&&o.render(p,t,n,i)):g&&o.dispose&&o.dispose(t,n)}function h(i,s,l){var u,c,h=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),f=s instanceof CX&&s.getIcons?s.getIcons():i.get("icon"),p=i.get("title")||{};x["C"](f)?(u={},u[l]=f):u=f,x["C"](p)?(c={},c[l]=p):c=p;var m=i.iconPaths={};x["k"](u,(function(l,u){var f=$g(l,{},{x:-a/2,y:-a/2,width:a,height:a});f.setStyle(h.getItemStyle());var p=f.ensureState("emphasis");p.style=d.getItemStyle();var g=new Vs({style:{text:c[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null,font:Au({fontStyle:d.get("textFontStyle"),fontFamily:d.get("textFontFamily"),fontSize:d.get("textFontSize"),fontWeight:d.get("textFontWeight")},t)},ignore:!0});f.setTextContent(g),ty({el:f,componentModel:e,itemName:u,formatterParamsExtra:{title:c[u]}}),f.__title=c[u],f.on("mouseover",(function(){var t=d.getItemStyle(),i=o?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";g.setStyle({fill:d.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),f.setTextConfig({position:d.get("textPosition")||i}),g.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),g.hide()})),("emphasis"===i.get(["iconStatus",u])?Dl:Al)(f),r.add(f),f.on("click",x["c"](s.onclick,s,t,n,u)),m[u]=f}))}},t.prototype.updateView=function(e,t,n,i){x["k"](this._features,(function(e){e instanceof CX&&e.updateView&&e.updateView(e.model,t,n,i)}))},t.prototype.remove=function(e,t){x["k"](this._features,(function(n){n instanceof CX&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){x["k"](this._features,(function(n){n instanceof CX&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(Wp);function FX(e){return 0===e.indexOf("my")}var BX=jX,VX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.onclick=function(e,t){var n=this.model,i=n.get("name")||e.get("title.0.text")||"echarts",r="svg"===t.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",o=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=_["a"].browser;if("function"!==typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var l=o.split(","),u=l[0].indexOf("base64")>-1,c=r?decodeURIComponent(l[1]):l[1];u&&(c=window.atob(c));var h=i+"."+a;if(window.navigator.msSaveOrOpenBlob){var d=c.length,f=new Uint8Array(d);while(d--)f[d]=c.charCodeAt(d);var p=new Blob([f]);window.navigator.msSaveOrOpenBlob(p,h)}else{var m=document.createElement("iframe");document.body.appendChild(m);var g=m.contentWindow,y=g.document;y.open("image/svg+xml","replace"),y.write(c),y.close(),g.focus(),y.execCommand("SaveAs",!0,h),document.body.removeChild(m)}}else{var v=n.get("lang"),x='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(v&&v[0]||"")+'" /></body>',b=window.open();b.document.write(x),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+a,w.target="_blank",w.href=o;var M=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(M)}},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}(CX),GX=VX,WX="__ec_magicType_stack__",UX=[["line","bar"],["stack"]],XX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return x["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 i=this.model,r=i.get(["seriesIndex",n]);if(ZX[n]){var a,o={series:[]},s=function(e){var t=e.subType,r=e.id,a=ZX[n](t,r,e,i);a&&(x["i"](a,e.option),o.series.push(a));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim,c=u+"Axis",h=e.getReferringComponents(c,Qr).models[0],d=h.componentIndex;o[c]=o[c]||[];for(var f=0;f<=d;f++)o[c][d]=o[c][d]||{};o[c][d].boundaryGap="bar"===n}}};x["k"](UX,(function(e){x["r"](e,n)>=0&&x["k"](e,(function(e){i.setIconStatus(e,"normal")}))})),i.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},s);var l=n;"stack"===n&&(a=x["I"]({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(l="tiled")),t.dispatchAction({type:"changeMagicType",currentType:l,newOption:o,newTitle:a,featureName:"magicType"})}},t}(CX),ZX={line:function(e,t,n,i){if("bar"===e)return x["I"]({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(e,t,n,i){if("line"===e)return x["I"]({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(e,t,n,i){var r=n.get("stack")===WX;if("line"===e||"bar"===e)return i.setIconStatus("stack",r?"normal":"emphasis"),x["I"]({id:t,stack:r?"":WX},i.get(["option","stack"])||{},!0)}};Vx({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));var qX=XX,$X=new Array(60).join("-"),JX="\t";function KX(e){var t={},n=[],i=[];return e.eachRawSeries((function(e){var r=e.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(e);else{var a=r.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;t[o]||(t[o]={categoryAxis:a,valueAxis:r.getOtherAxis(a),series:[]},i.push({axisDim:a.dim,axisIndex:a.index})),t[o].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:i}}function QX(e){var t=[];return x["k"](e,(function(e,n){var i=e.categoryAxis,r=e.valueAxis,a=r.dim,o=[" "].concat(x["H"](e.series,(function(e){return e.name}))),s=[i.model.getCategories()];x["k"](e.series,(function(e){var t=e.getRawData();s.push(e.getRawData().mapArray(t.mapDimension(a),(function(e){return e})))}));for(var l=[o.join(JX)],u=0;u<s[0].length;u++){for(var c=[],h=0;h<s.length;h++)c.push(s[h][u]);l.push(c.join(JX))}t.push(l.join("\n"))})),t.join("\n\n"+$X+"\n\n")}function eZ(e){return x["H"](e,(function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,r=arguments[e-1],a=t.getName(r),o=0;o<e-1;o++)i[o]=arguments[o];n.push((a?a+JX:"")+i.join(JX))})),n.join("\n")})).join("\n\n"+$X+"\n\n")}function tZ(e){var t=KX(e);return{value:x["n"]([QX(t.seriesGroupByCategoryAxis),eZ(t.other)],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+$X+"\n\n"),meta:t.meta}}function nZ(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function iZ(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(JX)>=0)return!0}var rZ=new RegExp("["+JX+"]+","g");function aZ(e){for(var t=e.split(/\n+/g),n=nZ(t.shift()).split(rZ),i=[],r=x["H"](n,(function(e){return{name:e,data:[]}})),a=0;a<t.length;a++){var o=nZ(t[a]).split(rZ);i.push(o.shift());for(var s=0;s<o.length;s++)r[s]&&(r[s].data[a]=o[s])}return{series:r,categories:i}}function oZ(e){for(var t=e.split(/\n+/g),n=nZ(t.shift()),i=[],r=0;r<t.length;r++){var a=nZ(t[r]);if(a){var o=a.split(rZ),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<o.length;c++)l.push(+o[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}function sZ(e,t){var n=e.split(new RegExp("\n*"+$X+"\n*","g")),i={series:[]};return x["k"](n,(function(e,n){if(iZ(e)){var r=aZ(e),a=t[n],o=a.axisDim+"Axis";a&&(i[o]=i[o]||[],i[o][a.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=oZ(e);i.series.push(r)}})),i}var lZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var a=document.createElement("h4"),o=i.get("lang")||[];a.innerHTML=o[0]||i.get("title"),a.style.cssText="margin:10px 20px",a.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=tZ(e);if(x["w"](u)){var d=u(t.getOption());x["C"](d)?s.innerHTML=d:x["v"](d)&&s.appendChild(d)}else{l.readOnly=i.get("readOnly");var f=l.style;f.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",f.color=i.get("textColor"),f.borderColor=i.get("textareaBorderColor"),f.backgroundColor=i.get("textareaColor"),l.value=h.value,s.appendChild(l)}var p=h.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),v=document.createElement("div");g+=";background-color:"+i.get("buttonColor"),g+=";color:"+i.get("buttonTextColor");var _=this;function b(){n.removeChild(r),_._dom=null}de(y,"click",b),de(v,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)b();else{var e;try{e=x["w"](c)?c(s,t.getOption()):sZ(l.value,p)}catch(n){throw b(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),b()}})),y.innerHTML=o[1],v.innerHTML=o[2],v.style.cssText=y.style.cssText=g,!i.get("readOnly")&&m.appendChild(v),m.appendChild(y),r.appendChild(a),r.appendChild(s),r.appendChild(m),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},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}(CX);function uZ(e,t){return x["H"](e,(function(e,n){var i=t&&t[n];if(x["A"](i)&&!x["t"](i)){var r=x["A"](e)&&!x["t"](e);r||(e={value:e});var a=null!=i.name&&null==e.name;return e=x["i"](e,i),a&&delete e.name,e}return e}))}Vx({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];x["k"](e.newOption.series,(function(e){var i=t.getSeriesByName(e.name)[0];if(i){var r=i.get("data");n.push({name:e.name,data:uZ(e.data,r)})}else n.push(x["m"]({type:"scatter"},e))})),t.mergeOption(x["i"]({series:n},e.newOption))}));var cZ=lZ,hZ=x["k"],dZ=qr();function fZ(e,t){var n=yZ(e);hZ(t,(function(t,i){for(var r=n.length-1;r>=0;r--){var a=n[r];if(a[i])break}if(r<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var s=o.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(t)}function pZ(e){var t=yZ(e),n=t[t.length-1];t.length>1&&t.pop();var i={};return hZ(n,(function(e,n){for(var r=t.length-1;r>=0;r--)if(e=t[r][n],e){i[n]=e;break}})),i}function mZ(e){dZ(e).snapshots=null}function gZ(e){return yZ(e).length}function yZ(e){var t=dZ(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var vZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.onclick=function(e,t){mZ(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}(CX);Vx({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var _Z=vZ,xZ=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],bZ=function(){function e(e,t,n){var i=this;this._targetInfoList=[];var r=MZ(t,e);Object(x["k"])(SZ,(function(e,t){(!n||!n.include||Object(x["r"])(n.include,t)>=0)&&e(r,i._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 i=DZ[e.brushType](0,n,t);e.__rangeOffset={offset:OZ[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){Object(x["k"])(e,(function(e){var i=this.findTargetInfo(e,t);i&&!0!==i&&Object(x["k"])(i.coordSyses,(function(i){var r=DZ[e.brushType](1,i,e.range,!0);n(e,r.values,i,t)}))}),this)},e.prototype.setInputRanges=function(e,t){Object(x["k"])(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var i=DZ[e.brushType](0,n.coordSys,e.coordRange),r=e.__rangeOffset;e.range=r?OZ[e.brushType](i.values,r.offset,IZ(i.xyMinMax,r.xyMinMax)):i.values}}),this)},e.prototype.makePanelOpts=function(e,t){return Object(x["H"])(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:oH(i),isTargetByCursor:lH(i,e,n.coordSysModel),getLinearBrushOtherExtent:sH(i)}}))},e.prototype.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&Object(x["r"])(i.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=MZ(t,e),r=0;r<n.length;r++){var a=n[r],o=e.panelId;if(o){if(a.panelId===o)return a}else for(var s=0;s<TZ.length;s++)if(TZ[s](i,a))return a}return!0},e}();function wZ(e){return e[0]>e[1]&&e.reverse(),e}function MZ(e,t){return Jr(e,t,{includeMainTypes:xZ})}var SZ={grid:function(e,t){var n=e.xAxisModels,i=e.yAxisModels,r=e.gridModels,a=Object(x["f"])(),o={},s={};(n||i||r)&&(Object(x["k"])(n,(function(e){var t=e.axis.grid.model;a.set(t.id,t),o[t.id]=!0})),Object(x["k"])(i,(function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0})),Object(x["k"])(r,(function(e){a.set(e.id,e),o[e.id]=!0,s[e.id]=!0})),a.each((function(e){var r=e.coordinateSystem,a=[];Object(x["k"])(r.getCartesians(),(function(e,t){(Object(x["r"])(n,e.getAxis("x").model)>=0||Object(x["r"])(i,e.getAxis("y").model)>=0)&&a.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:LZ.grid,xAxisDeclared:o[e.id],yAxisDeclared:s[e.id]})})))},geo:function(e,t){Object(x["k"])(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:LZ.geo})}))}},TZ=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,r=e.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],LZ={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Bg(e)),t}},DZ={lineX:Object(x["h"])(AZ,0),lineY:Object(x["h"])(AZ,1),rect:function(e,t,n,i){var r=e?t.pointToData([n[0][0],n[1][0]],i):t.dataToPoint([n[0][0],n[1][0]],i),a=e?t.pointToData([n[0][1],n[1][1]],i):t.dataToPoint([n[0][1],n[1][1]],i),o=[wZ([r[0],a[0]]),wZ([r[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n,i){var r=[[1/0,-1/0],[1/0,-1/0]],a=Object(x["H"])(n,(function(n){var a=e?t.pointToData(n,i):t.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],a[0]),r[1][0]=Math.min(r[1][0],a[1]),r[0][1]=Math.max(r[0][1],a[0]),r[1][1]=Math.max(r[1][1],a[1]),a}));return{values:a,xyMinMax:r}}};function AZ(e,t,n,i){var r=n.getAxis(["x","y"][e]),a=wZ(Object(x["H"])([0,1],(function(e){return t?r.coordToData(r.toLocalCoord(i[e]),!0):r.toGlobalCoord(r.dataToCoord(i[e]))}))),o=[];return o[e]=a,o[1-e]=[NaN,NaN],{values:a,xyMinMax:o}}var OZ={lineX:Object(x["h"])(kZ,0),lineY:Object(x["h"])(kZ,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(x["H"])(e,(function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]}))}};function kZ(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function IZ(e,t){var n=CZ(e),i=CZ(t),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function CZ(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var EZ=bZ,PZ=x["k"],NZ=Gr("toolbox-dataZoom_"),RZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(e,t,n,i){this._brushController||(this._brushController=new aH(n.getZr()),this._brushController.on("brush",x["c"](this._onBrush,this)).mount()),jZ(e,t,this,i,n),HZ(e,t)},t.prototype.onclick=function(e,t,n){YZ[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={},i=this.ecModel;this._brushController.updateCovers([]);var r=new EZ(zZ(this.model),i,{include:["grid"]});r.matchOutputRanges(t,i,(function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(a("x",n,t[0]),a("y",n,t[1])):a({lineX:"x",lineY:"y"}[i],n,t)}})),fZ(i,n),this._dispatchZoomAction(n)}function a(e,t,r){var a=t.getAxis(e),s=a.model,l=o(e,s,i),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=GY(0,r.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}function o(e,t,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(e,t.componentIndex);r&&(i=n)})),i}},t.prototype._dispatchZoomAction=function(e){var t=[];PZ(e,(function(e,n){t.push(x["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}(CX),YZ={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(pZ(this.ecModel))}};function zZ(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 HZ(e,t){e.setIconStatus("back",gZ(t)>1?"emphasis":"normal")}function jZ(e,t,n,i,r){var a=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(a="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var o=new EZ(zZ(e),t,{include:["grid"]}),s=o.makePanelOpts(r,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!a||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}zh("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var i=t.getModel(n),r=[],a=zZ(i),o=Jr(e,a);return PZ(o.xAxisModels,(function(e){return s(e,"xAxis","xAxisIndex")})),PZ(o.yAxisModels,(function(e){return s(e,"yAxis","yAxisIndex")})),r}function s(e,t,n){var a=e.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:NZ+t+a};o[n]=a,r.push(o)}}));var FZ=RZ;function BZ(e){e.registerComponentModel(YX),e.registerComponentView(BX),PX("saveAsImage",GX),PX("magicType",qX),PX("dataView",cZ),PX("dataZoom",FZ),PX("restore",_Z),IM(IX)}var VZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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}(mh),GZ=VZ;function WZ(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function UZ(e){if(_["a"].domSupported)for(var t=document.documentElement.style,n=0,i=e.length;n<i;n++)if(e[n]in t)return e[n]}var XZ=UZ(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ZZ=UZ(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function qZ(e,t){if(!e)return t;t=Fc(t,!0);var n=e.indexOf(t);return e=-1===n?t:"-"+e.slice(0,n)+"-"+t,e.toLowerCase()}function $Z(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?t?n[t]:n:null}var JZ=qZ(ZZ,"transition"),KZ=qZ(XZ,"transform"),QZ="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(_["a"].transform3dSupported?"will-change:transform;":"");function eq(e){return e="left"===e?"right":"right"===e?"left":"top"===e?"bottom":"top",e}function tq(e,t,n){if(!Object(x["C"])(n)||"inside"===n)return"";var i=e.get("backgroundColor"),r=e.get("borderWidth");t=Jc(t);var a,o=eq(n),s=Math.max(1.5*Math.round(r),6),l="",u=KZ+":";Object(x["r"])(["left","right"],o)>-1?(l+="top:50%",u+="translateY(-50%) rotate("+(a="left"===o?-225:-45)+"deg)"):(l+="left:50%",u+="translateX(-50%) rotate("+(a="top"===o?225:45)+"deg)");var c=a*Math.PI/180,h=s+r,d=h*Math.abs(Math.cos(c))+h*Math.abs(Math.sin(c)),f=Math.round(100*((d-Math.SQRT2*r)/2+Math.SQRT2*r-(d-h)/2))/100;l+=";"+o+":-"+f+"px";var p=t+" solid "+r+"px;",m=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",l+";"+u+";","border-bottom:"+p,"border-right:"+p,"background-color:"+i+";"];return'<div style="'+m.join("")+'"></div>'}function nq(e,t){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+e/2+"s "+n,r="opacity"+i+",visibility"+i;return t||(i=" "+e+"s "+n,r+=_["a"].transformSupported?","+KZ+i:",left"+i+",top"+i),JZ+":"+r}function iq(e,t,n){var i=e.toFixed(0)+"px",r=t.toFixed(0)+"px";if(!_["a"].transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var a=_["a"].transform3dSupported,o="translate"+(a?"3d":"")+"("+i+","+r+(a?",0":"")+")";return n?"top:0;left:0;"+KZ+":"+o+";":[["top",0],["left",0],[XZ,o]]}function rq(e){var t=[],n=e.get("fontSize"),i=e.getTextColor();i&&t.push("color:"+i),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px");var r=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,o=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return r&&a&&t.push("text-shadow:"+o+"px "+s+"px "+a+"px "+r),Object(x["k"])(["decoration","align"],(function(n){var i=e.get(n);i&&t.push("text-"+n+":"+i)})),t.join(";")}function aq(e,t,n){var i=[],r=e.get("transitionDuration"),a=e.get("backgroundColor"),o=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),h=Dp(e,"html"),d=l+"px "+u+"px "+o+"px "+s;return i.push("box-shadow:"+d),t&&r&&i.push(nq(r,n)),a&&i.push("background-color:"+a),Object(x["k"])(["width","color","radius"],(function(t){var n="border-"+t,r=Fc(n),a=e.get(r);null!=a&&i.push(n+":"+a+("color"===t?"":"px"))})),i.push(rq(c)),null!=h&&i.push("padding:"+Bc(h).join("px ")+"px"),i.join(";")+";"}function oq(e,t,n,i,r){var a=t&&t.painter;if(n){var o=a&&a.getViewportRoot();o&&$(e,o,n,i,r)}else{e[0]=i,e[1]=r;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var sq=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,_["a"].wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=e.getZr(),r=t.appendTo,a=r&&(Object(x["C"])(r)?document.querySelector(r):Object(x["v"])(r)?r:Object(x["w"])(r)&&r(e.getDom()));oq(this._styleCoord,i,a,e.getWidth()/2,e.getHeight()/2),(a||e.getDom()).appendChild(n),this._api=e,this._container=a;var o=this;n.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!o._enterable){var t=i.handler,n=i.painter.getViewportRoot();ce(n,e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return e.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),n=$Z(t,"position"),i=t.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r=e.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=QZ+aq(e,!this._firstShow,this._longHide)+iq(r[0],r[1],!0)+"border-color:"+Jc(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,i,r){var a=this.el;if(null!=e){var o="";if(Object(x["C"])(r)&&"item"===n.get("trigger")&&!WZ(n)&&(o=tq(n,i,r)),Object(x["C"])(e))a.innerHTML=e+o;else if(e){a.innerHTML="",Object(x["t"])(e)||(e=[e]);for(var s=0;s<e.length;s++)Object(x["v"])(e[s])&&e[s].parentNode!==a&&a.appendChild(e[s]);if(o&&a.childNodes.length){var l=document.createElement("div");l.innerHTML=o,a.appendChild(l)}}}else a.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},e.prototype.moveTo=function(e,t){var n=this._styleCoord;if(oq(n,this._zr,this._container,e,t),null!=n[0]&&null!=n[1]){var i=this.el.style,r=iq(n[0],n[1]);Object(x["k"])(r,(function(e){i[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",_["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(x["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}(),lq=sq,uq=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,i,r){var a=this;x["A"](e)&&Jh(""),this.el&&this._zr.remove(this.el);var o=n.getModel("textStyle");this.el=new Vs({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:o.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Dp(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),x["k"](["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){a.el.style[e]=n.get(e)})),x["k"](["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){a.el.style[e]=o.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=hq(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 i=this._styleCoord;dq(i,this._zr,e,t),e=i[0],t=i[1];var r=n.style,a=cq(r.borderWidth||0),o=hq(r);n.x=e+a+o.left,n.y=t+a+o.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(x["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 cq(e){return Math.max(0,e)}function hq(e){var t=cq(e.shadowBlur||0),n=cq(e.shadowOffsetX||0),i=cq(e.shadowOffsetY||0);return{left:cq(t-n),right:cq(t+n),top:cq(t-i),bottom:cq(t+i)}}function dq(e,t,n,i){e[0]=n,e[1]=i,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var fq=uq,pq=new Ts({shape:{x:-1,y:-1,width:2,height:2}}),mq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(e,t){if(!_["a"].node&&t.getDom()){var n=e.getComponent("tooltip"),i=this._renderMode=ra(n.get("renderMode"));this._tooltipContent="richText"===i?new fq(t):new lq(t,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},t.prototype.render=function(e,t,n){if(!_["a"].node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var i=this._tooltipContent;i.update(e),i.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?yy(this,"_updatePosition",50,"fixRate"):vy(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,t=e.get("triggerOn");VG("itemTooltip",this._api,Object(x["c"])((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,i=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,i){if(i.from!==this.uid&&!_["a"].node&&n.getDom()){var r=yq(i,n);this._ticket="";var a=i.dataByCoordSys,o=wq(i,t,n);if(o){var s=o.el.getBoundingRect().clone();s.applyTransform(o.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:o.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=pq;l.x=i.x,l.y=i.y,l.update(),Gs(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,i))return;var u=KG(i,t),c=u.point[0],h=u.point[1];null!=c&&null!=h&&this._tryShow({offsetX:c,offsetY:h,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},t.prototype.manuallyHideTip=function(e,t,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(yq(i,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,i){var r=i.seriesIndex,a=i.dataIndex,o=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=t.getSeriesByIndex(r);if(s){var l=s.getData(),u=gq([l.getItemModel(a),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,position:i.position}),!0}}},t.prototype._tryShow=function(e,t){var n=e.target,i=this._tooltipModel;if(i){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,e);else if(n){var a,o,s=Gs(n);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,hv(n,(function(e){return null!=Gs(e).dataIndex?(a=e,!0):null!=Gs(e).tooltipConfig?(o=e,!0):void 0}),!0),a?this._showSeriesItemTooltip(e,a,t):o?this._showComponentItemTooltip(e,o,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=Object(x["c"])(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,i=this._tooltipModel,r=[t.offsetX,t.offsetY],a=gq([t.tooltipOption],i),o=this._renderMode,s=[],l=fp("section",{blocks:[],noHeader:!0}),u=[],c=new Ap;Object(x["k"])(e,(function(e){Object(x["k"])(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value;if(t&&null!=r){var a=AG(r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),h=fp("section",{header:a,noHeader:!Object(x["T"])(a),sortBlocks:!0,blocks:[]});l.blocks.push(h),Object(x["k"])(e.seriesDataIndices,(function(l){var d=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,p=d.getDataParams(f);if(!(p.dataIndex<0)){p.axisDim=e.axisDim,p.axisIndex=e.axisIndex,p.axisType=e.axisType,p.axisId=e.axisId,p.axisValue=gM(t.axis,{value:r}),p.axisValueLabel=a,p.marker=c.makeTooltipMarker("item",Jc(p.color),o);var m=Mf(d.formatTooltip(f,!0,null)),g=m.frag;if(g){var y=gq([d],i).get("valueFormatter");h.blocks.push(y?Object(x["m"])({valueFormatter:y},g):g)}m.text&&u.push(m.text),s.push(p)}}))}}))})),l.blocks.reverse(),u.reverse();var h=t.position,d=a.get("order"),f=_p(l,c,o,d,n.get("useUTC"),a.get("textStyle"));f&&u.unshift(f);var p="richText"===o?"\n\n":"<br/>",m=u.join(p);this._showOrMove(a,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(a,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(a,m,s,Math.random()+"",r[0],r[1],h,null,c)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var i=this._ecModel,r=Gs(t),a=r.seriesIndex,o=i.getSeriesByIndex(a),s=r.dataModel||o,l=r.dataIndex,u=r.dataType,c=s.getData(u),h=this._renderMode,d=e.positionDefault,f=gq([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=f.get("trigger");if(null==p||"item"===p){var m=s.getDataParams(l,u),g=new Ap;m.marker=g.makeTooltipMarker("item",Jc(m.color),h);var y=Mf(s.formatTooltip(l,!1,u)),v=f.get("order"),_=f.get("valueFormatter"),b=y.frag,w=b?_p(_?Object(x["m"])({valueFormatter:_},b):b,g,h,v,i.get("useUTC"),f.get("textStyle")):y.text,M="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,w,m,M,e.offsetX,e.offsetY,e.position,e.target,g)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:a,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var i="html"===this._renderMode,r=Gs(t),a=r.tooltipConfig,o=a.option||{},s=o.encodeHTMLContent;if(Object(x["C"])(o)){var l=o;o={content:l,formatter:l},s=!0}s&&i&&o.content&&(o=Object(x["d"])(o),o.content=ie(o.content));var u=[o],c=this._ecModel.getComponent(r.componentMainType,r.componentIndex);c&&u.push(c),u.push({formatter:o.content});var h=e.positionDefault,d=gq(u,this._tooltipModel,h?{position:h}:null),f=d.get("content"),p=Math.random()+"",m=new Ap;this._showOrMove(d,(function(){var n=Object(x["d"])(d.get("formatterParams")||{});this._showTooltipContent(d,f,n,p,e.offsetX,e.offsetY,e.position,t,m)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,i,r,a,o,s,l){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent;u.setEnterable(e.get("enterable"));var c=e.get("formatter");o=o||e.get("position");var h=t,d=this._getNearestPoint([r,a],n,e.get("trigger"),e.get("borderColor")),f=d.color;if(c)if(Object(x["C"])(c)){var p=e.ecModel.get("useUTC"),m=Object(x["t"])(n)?n[0]:n,g=m&&m.axisType&&m.axisType.indexOf("time")>=0;h=c,g&&(h=wc(m.axisValue,h,p)),h=Uc(h,n,!0)}else if(Object(x["w"])(c)){var y=Object(x["c"])((function(t,i){t===this._ticket&&(u.setContent(i,l,e,f,o),this._updatePosition(e,o,r,a,u,n,s))}),this);this._ticket=i,h=c(n,i,y)}else h=c;u.setContent(h,l,e,f,o),u.show(e,f),this._updatePosition(e,o,r,a,u,n,s)}},t.prototype._getNearestPoint=function(e,t,n,i){return"axis"===n||Object(x["t"])(t)?{color:i||("html"===this._renderMode?"#fff":"none")}:Object(x["t"])(t)?void 0:{color:i||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,i,r,a,o){var s=this._api.getWidth(),l=this._api.getHeight();t=t||e.get("position");var u=r.getSize(),c=e.get("align"),h=e.get("verticalAlign"),d=o&&o.getBoundingRect().clone();if(o&&d.applyTransform(o.transform),Object(x["w"])(t)&&(t=t([n,i],a,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),Object(x["t"])(t))n=er(t[0],s),i=er(t[1],l);else if(Object(x["A"])(t)){var f=t;f.width=u[0],f.height=u[1];var p=ah(f,{width:s,height:l});n=p.x,i=p.y,c=null,h=null}else if(Object(x["C"])(t)&&o){var m=xq(t,d,u,e.get("borderWidth"));n=m[0],i=m[1]}else{m=vq(n,i,r,s,l,c?null:20,h?null:20);n=m[0],i=m[1]}if(c&&(n-=bq(c)?u[0]/2:"right"===c?u[0]:0),h&&(i-=bq(h)?u[1]/2:"bottom"===h?u[1]:0),WZ(e)){m=_q(n,i,r,s,l);n=m[0],i=m[1]}r.moveTo(n,i)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===e.length;return r&&Object(x["k"])(n,(function(n,a){var o=n.dataByAxis||[],s=e[a]||{},l=s.dataByAxis||[];r=r&&o.length===l.length,r&&Object(x["k"])(o,(function(e,n){var a=l[n]||{},o=e.seriesDataIndices||[],s=a.seriesDataIndices||[];r=r&&e.value===a.value&&e.axisType===a.axisType&&e.axisId===a.axisId&&o.length===s.length,r&&Object(x["k"])(o,(function(e,t){var n=s[t];r=r&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),i&&Object(x["k"])(e.seriesDataIndices,(function(e){var n=e.seriesIndex,a=t[n],o=i[n];a&&o&&o.data!==a.data&&(r=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!r},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!_["a"].node&&t.getDom()&&(vy(this,"_updatePosition"),this._tooltipContent.dispose(),qG("itemTooltip",t))},t.type="tooltip",t}(Wp);function gq(e,t,n){var i,r=t.ecModel;n?(i=new Gu(n,r,r),i=new Gu(t.option,i,r)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof Gu&&(o=o.get("tooltip",!0)),Object(x["C"])(o)&&(o={formatter:o}),o&&(i=new Gu(o,i,r)))}return i}function yq(e,t){return e.dispatchAction||Object(x["c"])(t.dispatchAction,t)}function vq(e,t,n,i,r,a,o){var s=n.getSize(),l=s[0],u=s[1];return null!=a&&(e+l+a+2>i?e-=l+a:e+=a),null!=o&&(t+u+o>r?t-=u+o:t+=o),[e,t]}function _q(e,t,n,i,r){var a=n.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,i)-o,t=Math.min(t+s,r)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function xq(e,t,n,i){var r=n[0],a=n[1],o=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-r/2,l=t.y+c/2-a/2;break;case"top":s=t.x+u/2-r/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-r/2,l=t.y+c+o;break;case"left":s=t.x-r-o,l=t.y+c/2-a/2;break;case"right":s=t.x+u+o,l=t.y+c/2-a/2}return[s,l]}function bq(e){return"center"===e||"middle"===e}function wq(e,t,n){var i=Kr(e).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var a=ta(t,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s,l=n.getViewOfComponentModel(o);return l.group.traverse((function(t){var n=Gs(t).tooltipConfig;if(n&&n.name===e.name)return s=t,!0})),s?{componentMainType:r,componentIndex:o.componentIndex,el:s}:void 0}}}var Mq=mq;function Sq(e){IM(hW),e.registerComponentModel(GZ),e.registerComponentView(Mq),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},x["L"]),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},x["L"])}var Tq=["rect","polygon","keep","clear"];function Lq(e,t){var n=Dr(e?e.brush:[]);if(n.length){var i=[];x["k"](n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(i=i.concat(t))}));var r=e&&e.toolbox;x["t"](r)&&(r=r[0]),r||(r={feature:{}},e.toolbox=[r]);var a=r.feature||(r.feature={}),o=a.brush||(a.brush={}),s=o.type||(o.type=[]);s.push.apply(s,i),Dq(s),t&&!s.length&&s.push.apply(s,Tq)}}function Dq(e){var t={};x["k"](e,(function(e){t[e]=1})),e.length=0,x["k"](t,(function(t,n){e.push(n)}))}var Aq=x["k"];function Oq(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function kq(e,t,n){var i={};return Aq(t,(function(t){var a=i[t]=r();Aq(e[t],(function(e,i){if(JP.isValidType(i)){var r={type:i,visual:e};n&&n(r,t),a[i]=new JP(r),"opacity"===i&&(r=x["d"](r),r.type="colorAlpha",a.__hidden.__alphaForOpacity=new JP(r))}}))})),i;function r(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function Iq(e,t,n){var i;x["k"](n,(function(e){t.hasOwnProperty(e)&&Oq(t[e])&&(i=!0)})),i&&x["k"](n,(function(n){t.hasOwnProperty(n)&&Oq(t[n])?e[n]=x["d"](t[n]):delete e[n]}))}function Cq(e,t,n,i,r,a){var o,s={};function l(e){return av(n,o,e)}function u(e,t){sv(n,o,e,t)}function c(e,c){o=null==a?e:c;var h=n.getRawDataItem(o);if(!h||!1!==h.visualMap)for(var d=i.call(r,e),f=t[d],p=s[d],m=0,g=p.length;m<g;m++){var y=p[m];f[y]&&f[y].applyVisual(e,l,u)}}x["k"](e,(function(e){var n=JP.prepareVisualTypes(t[e]);s[e]=n})),null==a?n.each(c):n.each([a],c)}function Eq(e,t,n,i){var r={};return x["k"](e,(function(e){var n=JP.prepareVisualTypes(t[e]);r[e]=n})),{progress:function(e,a){var o,s;function l(e){return av(a,s,e)}function u(e,t){sv(a,s,e,t)}null!=i&&(o=a.getDimensionIndex(i));var c=a.getStore();while(null!=(s=e.next())){var h=a.getRawDataItem(s);if(!h||!1!==h.visualMap)for(var d=null!=i?c.get(o,s):s,f=n(d),p=t[f],m=r[f],g=0,y=m.length;g<y;g++){var v=m[g];p[v]&&p[v].applyVisual(d,l,u)}}}}}function Pq(e){var t=e.brushType,n={point:function(i){return Nq[t].point(i,n,e)},rect:function(i){return Nq[t].rect(i,n,e)}};return n}var Nq={lineX:Rq(0),lineY:Rq(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])&&PM(n.range,e[0],e[1])},rect:function(e,t,n){var i=n.range;if(!e||i.length<=1)return!1;var r=e.x,a=e.y,o=e.width,s=e.height,l=i[0];return!!(PM(i,r,a)||PM(i,r+o,a)||PM(i,r,a+s)||PM(i,r+o,a+s)||je.create(e).contain(l[0],l[1])||Jg(r,a,r+o,a,i)||Jg(r,a,r,a+s,i)||Jg(r+o,a,r+o,a+s,i)||Jg(r,a+s,r+o,a+s,i))||void 0}}};function Rq(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,i){if(t){var r=i.range,a=t[e];return Yq(a,r)}},rect:function(i,r,a){if(i){var o=a.range,s=[i[t[e]],i[t[e]]+i[n[e]]];return s[1]<s[0]&&s.reverse(),Yq(s[0],o)||Yq(s[1],o)||Yq(o[0],s)||Yq(o[1],s)}}}}function Yq(e,t){return t[0]<=e&&e<=t[1]}var zq=["inBrush","outOfBrush"],Hq="__ecBrushSelect",jq="__ecInBrushSelectEvent";function Fq(e){e.eachComponent({mainType:"brush"},(function(t){var n=t.brushTargetManager=new EZ(t.option,e);n.setInputRanges(t.areas,e)}))}function Bq(e,t,n){var i,r,a=[];e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),Fq(e),e.eachComponent({mainType:"brush"},(function(t,n){var o={brushId:t.id,brushIndex:n,brushName:t.name,areas:x["d"](t.areas),selected:[]};a.push(o);var s=t.option,l=s.brushLink,u=[],c=[],h=[],d=!1;n||(i=s.throttleType,r=s.throttleDelay);var f=x["H"](t.areas,(function(e){var t=Xq[e.brushType],n=x["i"]({boundingRect:t?t(e):void 0},e);return n.selectors=Pq(n),n})),p=kq(t.option,zq,(function(e){e.mappingMethod="fixed"}));function m(e){return"all"===l||!!u[e]}function g(e){return!!e.length}function y(e,t){var n=e.coordinateSystem;d=d||n.hasAxisBrushed(),m(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(c[t]=1)}))}function v(n,i,r){if(n.brushSelector&&!Uq(t,i)&&(x["k"](f,(function(i){t.brushTargetManager.controlSeries(i,n,e)&&r.push(i),d=d||g(r)})),m(i)&&g(r))){var a=n.getData();a.each((function(e){Wq(n,r,a,e)&&(c[e]=1)}))}}x["t"](l)&&x["k"](l,(function(e){u[e]=1})),e.eachSeries((function(e,t){var n=h[t]=[];"parallel"===e.subType?y(e,t):v(e,t,n)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};o.selected.push(n);var i=h[t],r=e.getData(),a=m(t)?function(e){return c[e]?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return Wq(e,i,r,t)?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"};(m(t)?d:g(i))&&Cq(zq,p,r,a)}))})),Vq(t,i,r,a,n)}function Vq(e,t,n,i,r){if(r){var a=e.getZr();if(!a[jq]){a[Hq]||(a[Hq]=Gq);var o=yy(a,Hq,n,t);o(e,i)}}}function Gq(e,t){if(!e.isDisposed()){var n=e.getZr();n[jq]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[jq]=!1}}function Wq(e,t,n,i){for(var r=0,a=t.length;r<a;r++){var o=t[r];if(e.brushSelector(i,n,o.selectors,o))return!0}}function Uq(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(x["t"](n)?x["r"](n,t)<0:t!==n)}var Xq={rect:function(e){return Zq(e.range)},polygon:function(e){for(var t,n=e.range,i=0,r=n.length;i<r;i++){t=t||[[1/0,-1/0],[1/0,-1/0]];var a=n[i];a[0]<t[0][0]&&(t[0][0]=a[0]),a[0]>t[0][1]&&(t[0][1]=a[0]),a[1]<t[1][0]&&(t[1][0]=a[1]),a[1]>t[1][1]&&(t[1][1]=a[1])}return t&&Zq(t)}};function Zq(e){return new je(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var qq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new aH(t.getZr())).on("brush",x["c"](this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,i){this.model=e,this._updateController(e,t,n,i)},t.prototype.updateTransform=function(e,t,n,i){Fq(t),this._updateController(e,t,n,i)},t.prototype.updateVisual=function(e,t,n,i){this.updateTransform(e,t,n,i)},t.prototype.updateView=function(e,t,n,i){this._updateController(e,t,n,i)},t.prototype._updateController=function(e,t,n,i){(!i||i.$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:x["d"](n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:x["d"](n),$from:t})},t.type="brush",t}(Wp),$q=qq,Jq="#ddd",Kq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return v(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&Iq(n,e,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:Jq},i.hasOwnProperty("liftZ")||(i.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=x["H"](e,(function(e){return Qq(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=Qq(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}(mh);function Qq(e,t){return x["I"]({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Gu(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var e$=Kq,t$=["rect","polygon","lineX","lineY","keep","clear"],n$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(e,t,n){var i,r,a;t.eachComponent({mainType:"brush"},(function(e){i=e.brushType,r=e.brushOption.brushMode||"single",a=a||!!e.areas.length})),this._brushType=i,this._brushMode=r,x["k"](e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===r:"clear"===t?a:t===i)?"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 x["k"](e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},t.prototype.onclick=function(e,t,n){var i=this._brushType,r=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?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},t.getDefaultOption=function(e){var t={show:!0,type:t$.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}(CX),i$=n$;function r$(e){e.registerComponentView($q),e.registerComponentModel(e$),e.registerPreprocessor(Lq),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Bq),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"},x["L"]),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},x["L"]),PX("brush",i$)}var a$=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 v(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}(mh),o$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var i=this.group,r=e.getModel("textStyle"),a=e.getModel("subtextStyle"),o=e.get("textAlign"),s=x["P"](e.get("textBaseline"),e.get("textVerticalAlign")),l=new Vs({style:xu(r,{text:e.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=e.get("subtext"),h=new Vs({style:xu(a,{text:c,fill:a.getTextColor(),y:u.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),f=e.get("sublink"),p=e.get("triggerEvent",!0);l.silent=!d&&!p,h.silent=!f&&!p,d&&l.on("click",(function(){Kc(d,"_"+e.get("target"))})),f&&h.on("click",(function(){Kc(f,"_"+e.get("subtarget"))})),Gs(l).eventData=Gs(h).eventData=p?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(l),c&&i.add(h);var m=i.getBoundingRect(),g=e.getBoxLayoutParams();g.width=m.width,g.height=m.height;var y=ah(g,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));o||(o=e.get("left")||e.get("right"),"middle"===o&&(o="center"),"right"===o?y.x+=y.width:"center"===o&&(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"),i.x=y.x,i.y=y.y,i.markRedraw();var v={align:o,verticalAlign:s};l.setStyle(v),h.setStyle(v),m=i.getBoundingRect();var _=y.margin,b=e.getItemStyle(["color","opacity"]);b.fill=e.get("backgroundColor");var w=new Ts({shape:{x:m.x-_[3],y:m.y-_[0],width:m.width+_[1]+_[3],height:m.height+_[0]+_[2],r:e.get("borderRadius")},style:b,subPixelOptimize:!0,silent:!0});i.add(w)}},t.type="title",t}(Wp);function s$(e){e.registerComponentModel(a$),e.registerComponentView(o$)}var l$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return v(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||[],i=t.axisType,r=this._names=[];"category"===i?(e=[],Object(x["k"])(n,(function(t,n){var i,a=Fr(kr(t),"");Object(x["A"])(t)?(i=Object(x["d"])(t),i.value=n):i=n,e.push(i),r.push(a)}))):e=n;var a={category:"ordinal",time:"time",value:"number"}[i]||"number",o=this._data=new Eb([{name:"value",type:a}],this);o.initData(e,r)},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}(mh),u$=l$,c$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="timeline.slider",t.defaultOption=qu(u$.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}(u$);Object(x["K"])(c$,wf.prototype);var h$=c$,d$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="timeline",t}(Wp),f$=d$,p$=function(e){function t(t,n,i,r){var a=e.call(this,t,n,i)||this;return a.type=r||"value",a}return v(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(mS),m$=p$,g$=Math.PI,y$=qr(),v$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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 i=this._layout(e,n),r=this._createGroup("_mainGroup"),a=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(i,e);e.formatTooltip=function(e){var t=o.scale.getLabel({value:e});return fp("nameValue",{noName:!0,value:t})},Object(x["k"])(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](i,r,o,e)}),this),this._renderAxisLabel(i,a,o,e),this._position(i,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,i=e.get(["label","position"]),r=e.get("orient"),a=x$(e,t);n=null==i||"auto"===i?"horizontal"===r?a.y+a.height/2<t.getHeight()/2?"-":"+":a.x+a.width/2<t.getWidth()/2?"+":"-":Object(x["C"])(i)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][i]:i;var o,s,l,u={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:g$/2},d="vertical"===r?a.height:a.width,f=e.getModel("controlStyle"),p=f.get("show",!0),m=p?f.get("itemSize"):0,g=p?f.get("itemGap"):0,y=m+g,v=e.get(["label","rotate"])||0;v=v*g$/180;var _=f.get("position",!0),b=p&&f.get("showPlayBtn",!0),w=p&&f.get("showPrevBtn",!0),M=p&&f.get("showNextBtn",!0),S=0,T=d;"left"===_||"bottom"===_?(b&&(o=[0,0],S+=y),w&&(s=[S,0],S+=y),M&&(l=[T-m,0],T-=y)):(b&&(o=[T-m,0],T-=y),w&&(s=[0,0],S+=y),M&&(l=[T-m,0],T-=y));var L=[S,T];return e.get("inverse")&&L.reverse(),{viewRect:a,mainLength:d,orient:r,rotation:h[r],labelRotation:v,labelPosOpt:n,labelAlign:e.get(["label","align"])||u[r],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||c[r],playPosition:o,prevBtnPosition:s,nextBtnPosition:l,axisExtent:L,controlSize:m,controlGap:g}},t.prototype._position=function(e,t){var n=this._mainGroup,i=this._labelGroup,r=e.viewRect;if("vertical"===e.orient){var a=xe(),o=r.x,s=r.y+r.height;Se(a,a,[-o,-s]),Te(a,a,-g$/2),Se(a,a,[o,s]),r=r.clone(),r.applyTransform(a)}var l=g(r),u=g(n.getBoundingRect()),c=g(i.getBoundingRect()),h=[n.x,n.y],d=[i.x,i.y];d[0]=h[0]=l[0][0];var f=e.labelPosOpt;if(null==f||Object(x["C"])(f)){var p="+"===f?0:1;y(h,u,l,1,p),y(d,c,l,1,1-p)}else{p=f>=0?0:1;y(h,u,l,1,p),d[1]=h[1]+f}function m(e){e.originX=l[0][0]-e.x,e.originY=l[1][0]-e.y}function g(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function y(e,t,n,i,r){e[i]+=n[i][r]-t[i][r]}n.setPosition(h),i.setPosition(d),n.rotation=i.rotation=e.rotation,m(n),m(i)},t.prototype._createAxis=function(e,t){var n=t.getData(),i=t.get("axisType"),r=_$(t,i);r.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var a=n.getDataExtent("value");r.setExtent(a[0],a[1]),r.calcNiceTicks();var o=new m$("value",r,e.axisExtent,i);return o.model=t,o},t.prototype._createGroup=function(e){var t=this[e]=new Ni;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var a=new eg({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:Object(x["m"])({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(a);var o=this._progressLine=new eg({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:Object(x["i"])({lineCap:"round",lineWidth:a.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(o)}},t.prototype._renderAxisTick=function(e,t,n,i){var r=this,a=i.getData(),o=n.scale.getTicks();this._tickSymbols=[],Object(x["k"])(o,(function(e){var o=n.dataToCoord(e.value),s=a.getItemModel(e.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),h={x:o,y:0,onclick:Object(x["c"])(r._changeTimeline,r,e.value)},d=w$(s,l,t,h);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=c.getItemStyle(),Gl(d);var f=Gs(d);s.get("tooltip")?(f.dataIndex=e.value,f.dataModel=i):f.dataIndex=f.dataModel=null,r._tickSymbols.push(d)}))},t.prototype._renderAxisLabel=function(e,t,n,i){var r=this,a=n.getLabelModel();if(a.get("show")){var o=i.getData(),s=n.getViewLabels();this._tickLabels=[],Object(x["k"])(s,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),h=n.dataToCoord(i.tickValue),d=new Vs({x:h,y:0,rotation:e.labelRotation-e.rotation,onclick:Object(x["c"])(r._changeTimeline,r,a),silent:!1,style:xu(l,{text:i.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});d.ensureState("emphasis").style=xu(u),d.ensureState("progress").style=xu(c),t.add(d),Gl(d),y$(d).dataIndex=a,r._tickLabels.push(d)}))}},t.prototype._renderControl=function(e,t,n,i){var r=e.controlSize,a=e.rotation,o=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function c(e,n,l,u){if(e){var c=vi(Object(x["P"])(i.get(["controlStyle",n+"BtnSize"]),r),r),h=[0,-c/2,c,c],d=b$(i,n+"Icon",h,{x:e[0],y:e[1],originX:r/2,originY:0,rotation:u?-a:0,rectHover:!0,style:o,onclick:l});d.ensureState("emphasis").style=s,t.add(d),Gl(d)}}c(e.nextBtnPosition,"next",Object(x["c"])(this._changeTimeline,this,u?"-":"+")),c(e.prevBtnPosition,"prev",Object(x["c"])(this._changeTimeline,this,u?"+":"-")),c(e.playPosition,l?"stop":"play",Object(x["c"])(this._handlePlayClick,this,!l),!0)},t.prototype._renderCurrentPointer=function(e,t,n,i){var r=i.getData(),a=i.getCurrentIndex(),o=r.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=Object(x["c"])(s._handlePointerDrag,s),e.ondragend=Object(x["c"])(s._handlePointerDragend,s),M$(e,s._progressLine,a,n,i,!0)},onUpdate:function(e){M$(e,s._progressLine,a,n,i)}};this._currentPointer=w$(o,o,this._mainGroup,{},this._currentPointer,l)},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],i=this._axis,r=nr(i.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var a=this._progressLine;a&&(a.shape.x2=n,a.dirty());var o=this._findNearestTick(n),s=this.model;(t||o!==s.getCurrentIndex()&&s.get("realtime"))&&this._changeTimeline(o)},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 Vg(e,t,!0)},t.prototype._findNearestTick=function(e){var t,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,a){var o=r.dataToCoord(n),s=Math.abs(o-e);s<i&&(i=s,t=a)})),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 i=0;i<t.length;i++)t&&t[i]&&t[i].toggleState("progress",i<e);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",y$(n[i]).dataIndex<=e)},t.type="timeline.slider",t}(f$);function _$(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new mw({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new Xw({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new vw}}function x$(e,t){return ah(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function b$(e,t,n,i){var r=i.style,a=$g(e.get(["controlStyle",t]),i||{},new je(n[0],n[1],n[2],n[3]));return r&&a.setStyle(r),a}function w$(e,t,n,i,r,a){var o=t.get("color");if(r)r.setColor(o),n.add(r),a&&a.onUpdate(r);else{var s=e.get("symbol");r=Tv(s,-1,-1,2,2,o),r.setStyle("strokeNoScale",!0),n.add(r),a&&a.onCreate(r)}var l=t.getItemStyle(["color"]);r.setStyle(l),i=Object(x["I"])({rectHover:!0,z2:100},i,!0);var u=Lv(e.get("symbolSize"));i.scaleX=u[0]/2,i.scaleY=u[1]/2;var c=Dv(e.get("symbolOffset"),u);c&&(i.x=(i.x||0)+c[0],i.y=(i.y||0)+c[1]);var h=e.get("symbolRotate");return i.rotation=(h||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function M$(e,t,n,i,r,a){if(!e.dragging){var o=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(a||!o.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}var S$=v$;function T$(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t,n){var i=t.getComponent("timeline");return i&&null!=e.currentIndex&&(i.setCurrentIndex(e.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),Object(x["i"])({currentIndex:i.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 L$(e){var t=e&&e.timeline;x["t"](t)||(t=t?[t]:[]),x["k"](t,(function(e){e&&D$(e)}))}function D$(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),A$(e),O$(e,"controlPosition")){var i=e.controlStyle||(e.controlStyle={});O$(i,"position")||(i.position=e.controlPosition),"none"!==i.position||O$(i,"show")||(i.show=!1,delete i.position),delete e.controlPosition}x["k"](e.data||[],(function(e){x["A"](e)&&!x["t"](e)&&(!O$(e,"value")&&O$(e,"name")&&(e.value=e.name),A$(e))}))}function A$(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),i=e.label||e.label||{},r=i.normal||(i.normal={}),a={normal:1,emphasis:1};x["k"](i,(function(e,t){a[t]||O$(r,t)||(r[t]=e)})),n.label&&!O$(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function O$(e,t){return e.hasOwnProperty(t)}function k$(e){e.registerComponentModel(h$),e.registerComponentView(S$),e.registerSubTypeDefaulter("timeline",(function(){return"slider"})),T$(e),e.registerPreprocessor(L$)}function I$(e,t){if(!e)return!1;for(var n=Object(x["t"])(e)?e:[e],i=0;i<n.length;i++)if(n[i]&&n[i][t])return!0;return!1}function C$(e){Ar(e,"label",["show"])}var E$=qr(),P$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return v(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(_["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,i){var r=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),a=E$(e)[r];n&&n.data?(a?a._mergeOption(n,t,!0):(i&&C$(n),x["k"](n.data,(function(e){e instanceof Array?(C$(e[0]),C$(e[1])):C$(e)})),a=this.createMarkerModelFromSeries(n,this,t),x["m"](a,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),a.__hostSeries=e),E$(e)[r]=a):E$(e)[r]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var i=this.getData(),r=this.getRawValue(e),a=i.getName(e);return fp("section",{header:this.name,blocks:[fp("nameValue",{name:a,value:r,noName:!a,noValue:null==r})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,t){var n=wf.prototype.getDataParams.call(this,e,t),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},t.getMarkerModelFromSeries=function(e,t){return E$(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(mh);x["K"](P$,wf.prototype);var N$=P$,R$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},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}(N$),Y$=R$;function z$(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function H$(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function j$(e,t,n,i,r,a){var o=[],s=Wb(t,i),l=s?t.getCalculationInfo("stackResultDimension"):i,u=Z$(t,l,e),c=t.indicesOfNearest(l,u)[0];o[r]=t.get(n,c),o[a]=t.get(l,c);var h=t.get(i,c),d=ir(t.get(i,c));return d=Math.min(d,20),d>=0&&(o[a]=+o[a].toFixed(d)),[o,h]}var F$={min:Object(x["h"])(j$,"min"),max:Object(x["h"])(j$,"max"),average:Object(x["h"])(j$,"average"),median:Object(x["h"])(j$,"median")};function B$(e,t){if(t){var n=e.getData(),i=e.coordinateSystem,r=i&&i.dimensions;if(!H$(t)&&!Object(x["t"])(t.coord)&&Object(x["t"])(r)){var a=V$(t,n,i,e);if(t=Object(x["d"])(t),t.type&&F$[t.type]&&a.baseAxis&&a.valueAxis){var o=Object(x["r"])(r,a.baseAxis.dim),s=Object(x["r"])(r,a.valueAxis.dim),l=F$[t.type](n,a.baseDataDim,a.valueDataDim,o,s);t.coord=l[0],t.value=l[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&Object(x["t"])(r))for(var u=t.coord,c=0;c<2;c++)F$[u[c]]&&(u[c]=Z$(n,n.mapDimension(r[c]),u[c]));else t.coord=[];return t}}function V$(e,t,n,i){var r={};return null!=e.valueIndex||null!=e.valueDim?(r.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,r.valueAxis=n.getAxis(G$(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim),r.valueDataDim=t.mapDimension(r.valueAxis.dim)),r}function G$(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function W$(e,t){return!(e&&e.containData&&t.coord&&!z$(t))||e.containData(t.coord)}function U$(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!z$(t)&&!z$(n))||e.containZone(t.coord,n.coord)}function X$(e,t){return e?function(e,n,i,r){var a=r<2?e.coord&&e.coord[r]:e.value;return Df(a,t[r])}:function(e,n,i,r){return Df(e.value,t[r])}}function Z$(e,t,n){if("average"===n){var i=0,r=0;return e.each(t,(function(e,t){isNaN(e)||(i+=e,r++)})),i/r}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var q$=qr(),$$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.init=function(){this.markerGroupMap=Object(x["f"])()},t.prototype.render=function(e,t,n){var i=this,r=this.markerGroupMap;r.each((function(e){q$(e).keep=!1})),t.eachSeries((function(e){var r=N$.getMarkerModelFromSeries(e,i.type);r&&i.renderSeries(e,r,t,n)})),r.each((function(e){!q$(e).keep&&i.group.remove(e.group)}))},t.prototype.markKeep=function(e){q$(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;Object(x["k"])(e,(function(e){var i=N$.getMarkerModelFromSeries(e,n.type);if(i){var r=i.getData();r.eachItemGraphicEl((function(e){e&&(t?Ol(e):kl(e))}))}}))},t.type="marker",t}(Wp),J$=$$;function K$(e,t,n){var i=t.coordinateSystem;e.each((function(r){var a,o=e.getItemModel(r),s=er(o.get("x"),n.getWidth()),l=er(o.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(i){var u=e.get(i.dimensions[0],r),c=e.get(i.dimensions[1],r);a=i.dataToPoint([u,c])}}else a=[s,l];isNaN(s)||(a[0]=s),isNaN(l)||(a[1]=l),e.setItemLayout(r,a)}))}var Q$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=N$.getMarkerModelFromSeries(e,"markPoint");t&&(K$(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,i){var r=e.coordinateSystem,a=e.id,o=e.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new yD),u=eJ(r,e,t);t.setData(u),K$(t.getData(),e,i),u.each((function(e){var n=u.getItemModel(e),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Object(x["w"])(i)||Object(x["w"])(r)||Object(x["w"])(a)||Object(x["w"])(s)){var c=t.getRawValue(e),h=t.getDataParams(e);Object(x["w"])(i)&&(i=i(c,h)),Object(x["w"])(r)&&(r=r(c,h)),Object(x["w"])(a)&&(a=a(c,h)),Object(x["w"])(s)&&(s=s(c,h))}var d=n.getModel("itemStyle").getItemStyle(),f=ov(o,"color");d.fill||(d.fill=f),u.setItemVisual(e,{symbol:i,symbolSize:r,symbolRotate:a,symbolOffset:s,symbolKeepAspect:l,style:d})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(e){e.traverse((function(e){Gs(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(J$);function eJ(e,t,n){var i;i=e?Object(x["H"])(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(x["m"])(Object(x["m"])({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Eb(i,n),a=Object(x["H"])(n.get("data"),Object(x["h"])(B$,t));e&&(a=Object(x["n"])(a,Object(x["h"])(W$,e)));var o=X$(!!e,i);return r.initData(a,null,o),r}var tJ=Q$;function nJ(e){e.registerComponentModel(Y$),e.registerComponentView(tJ),e.registerPreprocessor((function(e){I$(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))}var iJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},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}(N$),rJ=iJ,aJ=qr(),oJ=function(e,t,n,i){var r,a=e.getData();if(Object(x["t"])(i))r=i;else{var o=i.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=t.getAxis(null!=i.yAxis?"y":"x"),l=Object(x["O"])(i.yAxis,i.xAxis);else{var u=V$(i,a,t,e);s=u.valueAxis;var c=Ub(a,u.valueDataDim);l=Z$(a,c,o)}var h="x"===s.dim?0:1,d=1-h,f=Object(x["d"])(i),p={coord:[]};f.type=null,f.coord=[],f.coord[d]=-1/0,p.coord[d]=1/0;var m=n.get("precision");m>=0&&Object(x["z"])(l)&&(l=+l.toFixed(Math.min(m,20))),f.coord[h]=p.coord[h]=l,r=[f,p,{type:o,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[B$(e,r[0]),B$(e,r[1]),Object(x["m"])({},r[2])];return g[2].type=g[2].type||null,Object(x["I"])(g[2],g[0]),Object(x["I"])(g[2],g[1]),g};function sJ(e){return!isNaN(e)&&!isFinite(e)}function lJ(e,t,n,i){var r=1-e,a=i.dimensions[e];return sJ(t[r])&&sJ(n[r])&&t[e]===n[e]&&i.getAxis(a).containData(t[e])}function uJ(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(lJ(1,n,i,e)||lJ(0,n,i,e)))return!0}return W$(e,t[0])&&W$(e,t[1])}function cJ(e,t,n,i,r){var a,o=i.coordinateSystem,s=e.getItemModel(t),l=er(s.get("x"),r.getWidth()),u=er(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)a=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=o.dimensions,h=e.get(c[0],t),d=e.get(c[1],t);a=o.dataToPoint([h,d])}if(PD(o,"cartesian2d")){var f=o.getAxis("x"),p=o.getAxis("y");c=o.dimensions;sJ(e.get(c[0],t))?a[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):sJ(e.get(c[1],t))&&(a[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];e.setItemLayout(t,a)}var hJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=N$.getMarkerModelFromSeries(e,"markLine");if(t){var i=t.getData(),r=aJ(t).from,a=aJ(t).to;r.each((function(t){cJ(r,t,!0,e,n),cJ(a,t,!1,e,n)})),i.each((function(e){i.setItemLayout(e,[r.getItemLayout(e),a.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,n,i){var r=e.coordinateSystem,a=e.id,o=e.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new LR);this.group.add(l.group);var u=dJ(r,e,t),c=u.from,h=u.to,d=u.line;aJ(t).from=c,aJ(t).to=h,t.setData(d);var f=t.get("symbol"),p=t.get("symbolSize"),m=t.get("symbolRotate"),g=t.get("symbolOffset");function y(t,n,r){var a=t.getItemModel(n);cJ(t,n,r,e,i);var s=a.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=ov(o,"color")),t.setItemVisual(n,{symbolKeepAspect:a.get("symbolKeepAspect"),symbolOffset:Object(x["P"])(a.get("symbolOffset",!0),g[r?0:1]),symbolRotate:Object(x["P"])(a.get("symbolRotate",!0),m[r?0:1]),symbolSize:Object(x["P"])(a.get("symbolSize"),p[r?0:1]),symbol:Object(x["P"])(a.get("symbol",!0),f[r?0:1]),style:s})}Object(x["t"])(f)||(f=[f,f]),Object(x["t"])(p)||(p=[p,p]),Object(x["t"])(m)||(m=[m,m]),Object(x["t"])(g)||(g=[g,g]),u.from.each((function(e){y(c,e,!0),y(h,e,!1)})),d.each((function(e){var t=d.getItemModel(e).getModel("lineStyle").getLineStyle();d.setItemLayout(e,[c.getItemLayout(e),h.getItemLayout(e)]),null==t.stroke&&(t.stroke=c.getItemVisual(e,"style").fill),d.setItemVisual(e,{fromSymbolKeepAspect:c.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(e,"symbolOffset"),fromSymbolRotate:c.getItemVisual(e,"symbolRotate"),fromSymbolSize:c.getItemVisual(e,"symbolSize"),fromSymbol:c.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})})),l.updateData(d),u.line.eachItemGraphicEl((function(e){Gs(e).dataModel=t,e.traverse((function(e){Gs(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(J$);function dJ(e,t,n){var i;i=e?Object(x["H"])(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(x["m"])(Object(x["m"])({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Eb(i,n),a=new Eb(i,n),o=new Eb([],n),s=Object(x["H"])(n.get("data"),Object(x["h"])(oJ,t,e,n));e&&(s=Object(x["n"])(s,Object(x["h"])(uJ,e)));var l=X$(!!e,i);return r.initData(Object(x["H"])(s,(function(e){return e[0]})),null,l),a.initData(Object(x["H"])(s,(function(e){return e[1]})),null,l),o.initData(Object(x["H"])(s,(function(e){return e[2]}))),o.hasItemOption=!0,{from:r,to:a,line:o}}var fJ=hJ;function pJ(e){e.registerComponentModel(rJ),e.registerComponentView(fJ),e.registerPreprocessor((function(e){I$(e.series,"markLine")&&(e.markLine=e.markLine||{})}))}var mJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},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}(N$),gJ=mJ,yJ=qr(),vJ=function(e,t,n,i){var r=i[0],a=i[1];if(r&&a){var o=B$(e,r),s=B$(e,a),l=o.coord,u=s.coord;l[0]=Object(x["O"])(l[0],-1/0),l[1]=Object(x["O"])(l[1],-1/0),u[0]=Object(x["O"])(u[0],1/0),u[1]=Object(x["O"])(u[1],1/0);var c=Object(x["J"])([{},o,s]);return c.coord=[o.coord,s.coord],c.x0=o.x,c.y0=o.y,c.x1=s.x,c.y1=s.y,c}};function _J(e){return!isNaN(e)&&!isFinite(e)}function xJ(e,t,n,i){var r=1-e;return _J(t[r])&&_J(n[r])}function bJ(e,t){var n=t.coord[0],i=t.coord[1],r={coord:n,x:t.x0,y:t.y0},a={coord:i,x:t.x1,y:t.y1};return PD(e,"cartesian2d")?!(!n||!i||!xJ(1,n,i,e)&&!xJ(0,n,i,e))||U$(e,r,a):W$(e,r)||W$(e,a)}function wJ(e,t,n,i,r){var a,o=i.coordinateSystem,s=e.getItemModel(t),l=er(s.get(n[0]),r.getWidth()),u=er(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var c=e.getValues(["x0","y0"],t),h=e.getValues(["x1","y1"],t),d=o.clampData(c),f=o.clampData(h),p=[];"x0"===n[0]?p[0]=d[0]>f[0]?h[0]:c[0]:p[0]=d[0]>f[0]?c[0]:h[0],"y0"===n[1]?p[1]=d[1]>f[1]?h[1]:c[1]:p[1]=d[1]>f[1]?c[1]:h[1],a=i.getMarkerPosition(p,n,!0)}else{var m=e.get(n[0],t),g=e.get(n[1],t),y=[m,g];o.clampData&&o.clampData(y,y),a=o.dataToPoint(y,!0)}if(PD(o,"cartesian2d")){var v=o.getAxis("x"),_=o.getAxis("y");m=e.get(n[0],t),g=e.get(n[1],t);_J(m)?a[0]=v.toGlobalCoord(v.getExtent()["x0"===n[0]?0:1]):_J(g)&&(a[1]=_.toGlobalCoord(_.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];return a}var MJ=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],SJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=N$.getMarkerModelFromSeries(e,"markArea");if(t){var i=t.getData();i.each((function(t){var r=Object(x["H"])(MJ,(function(r){return wJ(i,t,r,e,n)}));i.setItemLayout(t,r);var a=i.getItemGraphicEl(t);a.setShape("points",r)}))}}),this)},t.prototype.renderSeries=function(e,t,n,i){var r=e.coordinateSystem,a=e.id,o=e.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,{group:new Ni});this.group.add(l.group),this.markKeep(l);var u=TJ(r,e,t);t.setData(u),u.each((function(t){var n=Object(x["H"])(MJ,(function(n){return wJ(u,t,n,e,i)})),a=r.getAxis("x").scale,s=r.getAxis("y").scale,l=a.getExtent(),c=s.getExtent(),h=[a.parse(u.get("x0",t)),a.parse(u.get("x1",t))],d=[s.parse(u.get("y0",t)),s.parse(u.get("y1",t))];nr(h),nr(d);var f=!(l[0]>h[1]||l[1]<h[0]||c[0]>d[1]||c[1]<d[0]),p=!f;u.setItemLayout(t,{points:n,allClipped:p});var m=u.getItemModel(t).getModel("itemStyle").getItemStyle(),g=ov(o,"color");m.fill||(m.fill=g,Object(x["C"])(m.fill)&&(m.fill=$t["modifyAlpha"](m.fill,.4))),m.stroke||(m.stroke=g),u.setItemVisual(t,"style",m)})),u.diff(yJ(l).data).add((function(e){var t=u.getItemLayout(e);if(!t.allClipped){var n=new Xm({shape:{points:t.points}});u.setItemGraphicEl(e,n),l.group.add(n)}})).update((function(e,n){var i=yJ(l).data.getItemGraphicEl(n),r=u.getItemLayout(e);r.allClipped?i&&l.group.remove(i):(i?su(i,{shape:{points:r.points}},t,e):i=new Xm({shape:{points:r.points}}),u.setItemGraphicEl(e,i),l.group.add(i))})).remove((function(e){var t=yJ(l).data.getItemGraphicEl(e);l.group.remove(t)})).execute(),u.eachItemGraphicEl((function(e,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");e.useStyle(u.getItemVisual(n,"style")),vu(e,_u(i),{labelFetcher:t,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:Object(x["C"])(r.fill)?$t["modifyAlpha"](r.fill,1):"#000"}),$l(e,i),Ul(e,null,null,i.get(["emphasis","disabled"])),Gs(e).dataModel=t})),yJ(l).data=u,l.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(J$);function TJ(e,t,n){var i,r,a=["x0","y0","x1","y1"];if(e){var o=Object(x["H"])(e&&e.dimensions,(function(e){var n=t.getData(),i=n.getDimensionInfo(n.mapDimension(e))||{};return Object(x["m"])(Object(x["m"])({},i),{name:e,ordinalMeta:null})}));r=Object(x["H"])(a,(function(e,t){return{name:e,type:o[t%2].type}})),i=new Eb(r,n)}else r=[{name:"value",type:"float"}],i=new Eb(r,n);var s=Object(x["H"])(n.get("data"),Object(x["h"])(vJ,t,e,n));e&&(s=Object(x["n"])(s,Object(x["h"])(bJ,e)));var l=e?function(e,t,n,i){var a=e.coord[Math.floor(i/2)][i%2];return Df(a,r[i])}:function(e,t,n,i){return Df(e.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}var LJ=SJ;function DJ(e){e.registerComponentModel(gJ),e.registerComponentView(LJ),e.registerPreprocessor((function(e){I$(e.series,"markArea")&&(e.markArea=e.markArea||{})}))}var AJ=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},OJ=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 v(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"]),x["t"](t)&&x["k"](t,(function(e,i){x["C"](e)&&(e={type:e}),t[i]=x["I"](e,AJ(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 i=e[n].get("name");if(this.isSelected(i)){this.select(i),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries((function(i){var r,a=i.name;if(n.push(a),i.legendVisualProvider){var o=i.legendVisualProvider,s=o.getAllNames();e.isSeriesFiltered(i)||(n=n.concat(s)),s.length?t=t.concat(s):r=!0}else r=!0;r&&Br(i)&&t.push(i.name)})),this._availableNames=n;var i=this.get("data")||t,r=x["f"](),a=x["H"](i,(function(e){return(x["C"](e)||x["z"](e))&&(e={name:e}),r.get(e.name)?null:(r.set(e.name,!0),new Gu(e,this,this.ecModel))}),this);this._data=x["n"](a,(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 i=this._data;x["k"](i,(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;x["k"](e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;x["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])&&x["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}(mh),kJ=OJ,IJ=x["h"],CJ=x["k"],EJ=Ni,PJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return v(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new EJ),this.group.add(this._selectorGroup=new EJ),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 i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var r=e.get("align"),a=e.get("orient");r&&"auto"!==r||(r="right"===e.get("left")&&"vertical"===a?"right":"left");var o=e.get("selector",!0),s=e.get("selectorPosition",!0);!o||s&&"auto"!==s||(s="horizontal"===a?"end":"start"),this.renderInner(r,e,t,n,o,a,s);var l=e.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=e.get("padding"),h=ah(l,u,c),d=this.layoutInner(e,r,h,i,o,s),f=ah(x["i"]({width:d.width,height:d.height},l),u,c);this.group.x=f.x-d.x,this.group.y=f.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=HX(d,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,i,r,a,o){var s=this.getContentGroup(),l=x["f"](),u=t.get("selectedMode"),c=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&c.push(e.id)})),CJ(t.getData(),(function(r,a){var o=r.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o)){var h=new EJ;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(o)[0];if(!l.get(o)){if(d){var f=d.getData(),p=f.getVisual("legendLineStyle")||{},m=f.getVisual("legendIcon"),g=f.getVisual("style"),y=this._createItem(d,o,a,r,t,e,p,g,m,u,i);y.on("click",IJ(YJ,o,null,i,c)).on("mouseover",IJ(HJ,d.name,null,i,c)).on("mouseout",IJ(jJ,d.name,null,i,c)),n.ssr&&y.eachChild((function(e){var t=Gs(e);t.seriesIndex=d.seriesIndex,t.dataIndex=a,t.ssrType="legend"})),l.set(o,!0)}else n.eachRawSeries((function(s){if(!l.get(o)&&s.legendVisualProvider){var h=s.legendVisualProvider;if(!h.containName(o))return;var d=h.indexOfName(o),f=h.getItemVisual(d,"style"),p=h.getItemVisual(d,"legendIcon"),m=Object($t["parse"])(f.fill);m&&0===m[3]&&(m[3]=.2,f=x["m"](x["m"]({},f),{fill:Object($t["stringify"])(m,"rgba")}));var g=this._createItem(s,o,a,r,t,e,{},f,p,u,i);g.on("click",IJ(YJ,null,o,i,c)).on("mouseover",IJ(HJ,null,o,i,c)).on("mouseout",IJ(jJ,null,o,i,c)),n.ssr&&g.eachChild((function(e){var t=Gs(e);t.seriesIndex=s.seriesIndex,t.dataIndex=a,t.ssrType="legend"})),l.set(o,!0)}}),this);0}}),this),r&&this._createSelector(r,t,i,a,o)},t.prototype._createSelector=function(e,t,n,i,r){var a=this.getSelectorGroup();CJ(e,(function(e){var i=e.type,r=new Vs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});a.add(r);var o=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);vu(r,{normal:o,emphasis:s},{defaultText:e.title}),Gl(r)}))},t.prototype._createItem=function(e,t,n,i,r,a,o,s,l,u,c){var h=e.visualDrawType,d=r.get("itemWidth"),f=r.get("itemHeight"),p=r.isSelected(t),m=i.get("symbolRotate"),g=i.get("symbolKeepAspect"),y=i.get("icon");l=y||l||"roundRect";var v=NJ(l,i,o,s,h,p,c),_=new EJ,b=i.getModel("textStyle");if(!x["w"](e.getLegendIcon)||y&&"inherit"!==y){var w="inherit"===y&&e.getData().getVisual("symbol")?"inherit"===m?e.getData().getVisual("symbolRotate"):m:0;_.add(RJ({itemWidth:d,itemHeight:f,icon:l,iconRotate:w,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:g}))}else _.add(e.getLegendIcon({itemWidth:d,itemHeight:f,icon:l,iconRotate:m,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:g}));var M="left"===a?d+5:-5,S=a,T=r.get("formatter"),L=t;x["C"](T)&&T?L=T.replace("{name}",null!=t?t:""):x["w"](T)&&(L=T(t));var D=p?b.getTextColor():i.get("inactiveColor");_.add(new Vs({style:xu(b,{text:L,x:M,y:f/2,fill:D,align:S,verticalAlign:"middle"},{inheritColor:D})}));var A=new Ts({shape:_.getBoundingRect(),style:{fill:"transparent"}}),O=i.getModel("tooltip");return O.get("show")&&ty({el:A,componentModel:r,itemName:t,itemTooltipOption:O.option}),_.add(A),_.eachChild((function(e){e.silent=!0})),A.silent=!u,this.getContentGroup().add(_),Gl(_),_.__legendDataIndex=n,_},t.prototype.layoutInner=function(e,t,n,i,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();ih(e.get("orient"),o,e.get("itemGap"),n.width,n.height);var l=o.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),o.markRedraw(),r){ih("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=e.get("selectorButtonGap",!0),f=e.getOrient().index,p=0===f?"width":"height",m=0===f?"height":"width",g=0===f?"y":"x";"end"===a?h[f]+=l[p]+d:u[f]+=c[p]+d,h[1-f]+=l[m]/2-c[m]/2,s.x=h[0],s.y=h[1],o.x=u[0],o.y=u[1];var y={x:0,y:0};return y[p]=l[p]+d+c[p],y[m]=Math.max(l[m],c[m]),y[g]=Math.min(0,c[g]+h[1-f]),y}return o.x=u[0],o.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Wp);function NJ(e,t,n,i,r,a,o){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),CJ(e,(function(n,i){"inherit"===e[i]&&(e[i]=t[i])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?p_(h,o):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[c]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var d=t.getModel("lineStyle"),f=d.getLineStyle();if(s(f,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===f.stroke&&(f.stroke=i.fill),!a){var p=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth="auto"===p?i.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),f.stroke=d.get("inactiveColor"),f.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function RJ(e){var t=e.icon||"roundRect",n=Tv(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 YJ(e,t,n,i){jJ(e,t,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),HJ(e,t,n,i)}function zJ(e){var t,n=e.getZr().storage.getDisplayList(),i=0,r=n.length;while(i<r&&!(t=n[i].states.emphasis))i++;return t&&t.hoverLayer}function HJ(e,t,n,i){zJ(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:i})}function jJ(e,t,n,i){zJ(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:i})}var FJ=PJ;function BJ(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 VJ(e,t,n){var i,r={},a="toggleSelected"===e;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),i=n.isSelected(t.name));var o=n.getData();Object(x["k"])(o,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var i=n.isSelected(t);r.hasOwnProperty(t)?r[t]=r[t]&&i:r[t]=i}}))})),"allSelect"===e||"inverseSelect"===e?{selected:r}:{name:t.name,selected:r}}function GJ(e){e.registerAction("legendToggleSelect","legendselectchanged",Object(x["h"])(VJ,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Object(x["h"])(VJ,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Object(x["h"])(VJ,"inverseSelect")),e.registerAction("legendSelect","legendselected",Object(x["h"])(VJ,"select")),e.registerAction("legendUnSelect","legendunselected",Object(x["h"])(VJ,"unSelect"))}function WJ(e){e.registerComponentModel(kJ),e.registerComponentView(FJ),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,BJ),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),GJ(e)}var UJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,i){var r=ch(t);e.prototype.init.call(this,t,n,i),XJ(this,t,r)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),XJ(this,this.option,t)},t.type="legend.scroll",t.defaultOption=qu(kJ.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}(kJ);function XJ(e,t,n){var i=e.getOrient(),r=[1,1];r[i.index]=0,uh(t,n,{type:"box",ignoreSize:!!r})}var ZJ=UJ,qJ=Ni,$J=["width","height"],JJ=["x","y"],KJ=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 v(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new qJ),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new qJ)},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,i,r,a,o,s){var l=this;e.prototype.renderInner.call(this,t,n,i,r,a,o,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),h=x["t"](c)?c:[c,c];f("pagePrev",0);var d=n.getModel("pageTextStyle");function f(e,t){var i=e+"DataIndex",a=$g(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:x["c"](l._pageGo,l,i,n,r)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});a.name=e,u.add(a)}u.add(new Vs({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},t.prototype.layoutInner=function(e,t,n,i,r,a){var o=this.getSelectorGroup(),s=e.getOrient().index,l=$J[s],u=JJ[s],c=$J[1-s],h=JJ[1-s];r&&ih("horizontal",o,e.get("selectorItemGap",!0));var d=e.get("selectorButtonGap",!0),f=o.getBoundingRect(),p=[-f.x,-f.y],m=x["d"](n);r&&(m[l]=n[l]-f[l]-d);var g=this._layoutContentAndController(e,i,m,s,l,c,h,u);if(r){if("end"===a)p[s]+=g[l]+d;else{var y=f[l]+d;p[s]-=y,g[u]-=y}g[l]+=f[l]+d,p[1-s]+=g[h]+g[c]/2-f[c]/2,g[c]=Math.max(g[c],f[c]),g[h]=Math.min(g[h],f[h]+p[1-s]),o.x=p[0],o.y=p[1],o.markRedraw()}return g},t.prototype._layoutContentAndController=function(e,t,n,i,r,a,o,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;ih(e.get("orient"),l,e.get("itemGap"),i?n.width:null,i?null:n.height),ih("horizontal",c,e.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),d=c.getBoundingRect(),f=this._showController=h[r]>n[r],p=[-h.x,-h.y];t||(p[i]=l[s]);var m=[0,0],g=[-d.x,-d.y],y=x["P"](e.get("pageButtonGap",!0),e.get("itemGap",!0));if(f){var v=e.get("pageButtonPosition",!0);"end"===v?g[i]+=n[r]-d[r]:m[i]+=d[r]+y}g[1-i]+=h[a]/2-d[a]/2,l.setPosition(p),u.setPosition(m),c.setPosition(g);var _={x:0,y:0};if(_[r]=f?n[r]:h[r],_[a]=Math.max(h[a],d[a]),_[o]=Math.min(0,d[o]+g[1-i]),u.__rectSize=n[r],f){var b={x:0,y:0};b[r]=Math.max(n[r]-d[r]-y,0),b[a]=_[a],u.setClipPath(new Ts({shape:b})),u.__rectSize=b[r]}else c.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(e);return null!=w.pageIndex&&su(l,{x:w.contentPosition[0],y:w.contentPosition[1]},f?e:null),this._updatePageInfoView(e,w),_},t.prototype._pageGo=function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;x["k"](["pagePrev","pageNext"],(function(i){var r=i+"DataIndex",a=null!=t[r],o=n.childOfName(i);o&&(o.setStyle("fill",a?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=a?"pointer":"default")}));var i=n.childOfName("pageText"),r=e.get("pageFormatter"),a=t.pageIndex,o=null!=a?a+1:0,s=t.pageCount;i&&r&&i.setStyle("text",x["C"](r)?r.replace("{current}",null==o?"":o+"").replace("{total}",null==s?"":s+""):r({current:o,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=e.getOrient().index,a=$J[r],o=JJ[r],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var f=v(u);d.contentPosition[r]=-f.s;for(var p=s+1,m=f,g=f,y=null;p<=c;++p)y=v(l[p]),(!y&&g.e>m.s+i||y&&!_(y,m.s))&&(m=g.i>m.i?g:y,m&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=m.i),++d.pageCount)),g=y;for(p=s-1,m=f,g=f,y=null;p>=-1;--p)y=v(l[p]),y&&_(g,y.s)||!(m.i<g.i)||(g=m,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=m.i),++d.pageCount,++d.pageIndex),m=y;return d;function v(e){if(e){var t=e.getBoundingRect(),n=t[o]+e[o];return{s:n,e:n+t[a],i:e.__legendDataIndex}}}function _(e,t){return e.e>=t&&e.s<=t+i}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,n,i=this.getContentGroup();return i.eachChild((function(i,r){var a=i.__legendDataIndex;null==n&&null!=a&&(n=r),a===e&&(t=r)})),null!=t?t:n},t.type="legend.scroll",t}(FJ),QJ=KJ;function eK(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 tK(e){IM(WJ),e.registerComponentModel(ZJ),e.registerComponentView(QJ),eK(e)}function nK(e){IM(WJ),IM(tK)}var iK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="dataZoom.inside",t.defaultOption=qu(pX.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(pX),rK=iK,aK=qr();function oK(e,t,n){aK(e).coordSysRecordMap.each((function(e){var i=e.dataZoomInfoMap.get(t.uid);i&&(i.getRange=n)}))}function sK(e,t){for(var n=aK(e).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var a=i[r],o=n.get(a),s=o.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||lK(n,o))}}}function lK(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function uK(e,t){var n={model:t,containsPoint:Object(x["h"])(hK,t),dispatchAction:Object(x["h"])(cK,e),dataZoomInfoMap:null,controller:null},i=n.controller=new mI(e.getZr());return Object(x["k"])(["pan","zoom","scrollMove"],(function(e){i.on(e,(function(t){var i=[];n.dataZoomInfoMap.each((function(r){if(t.isAvailableBehavior(r.model.option)){var a=(r.getRange||{})[e],o=a&&a(r.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!r.model.get("disabled",!0)&&o&&i.push({dataZoomId:r.model.id,start:o[0],end:o[1]})}})),i.length&&n.dispatchAction(i)}))})),n}function cK(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function hK(e,t,n,i){return e.coordinateSystem.containPoint([n,i])}function dK(e){var t,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return e.each((function(e){var a=e.model,o=!a.get("disabled",!0)&&(!a.get("zoomLock",!0)||"move");i[n+o]>i[n+t]&&(t=o),r=r&&a.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}function fK(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=aK(t),i=n.coordSysRecordMap||(n.coordSysRecordMap=Object(x["f"])());i.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){var n=cX(e);Object(x["k"])(n.infoList,(function(n){var r=n.model.uid,a=i.get(r)||i.set(r,uK(t,n.model)),o=a.dataZoomInfoMap||(a.dataZoomInfoMap=Object(x["f"])());o.set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),i.each((function(e){var t,n=e.controller,r=e.dataZoomInfoMap;if(r){var a=r.keys()[0];null!=a&&(t=r.get(a))}if(t){var o=dK(r);n.enable(o.controlType,o.opt),n.setPointerChecker(e.containsPoint),yy(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else lK(i,e)}))}))}var pK=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return v(t,e),t.prototype.render=function(t,n,i){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),oK(i,t,{pan:Object(x["c"])(mK.pan,this),zoom:Object(x["c"])(mK.zoom,this),scrollMove:Object(x["c"])(mK.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){sK(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(vX),mK={zoom:function(e,t,n,i){var r=this.range,a=r.slice(),o=e.axisModels[0];if(o){var s=yK[t](null,[i.originX,i.originY],o,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/i.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return GY(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:gK((function(e,t,n,i,r,a){var o=yK[i]([a.oldX,a.oldY],[a.newX,a.newY],t,r,n);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength})),scrollMove:gK((function(e,t,n,i,r,a){var o=yK[i]([0,0],[a.scrollDelta,a.scrollDelta],t,r,n);return o.signal*(e[1]-e[0])*a.scrollDelta}))};function gK(e){return function(t,n,i,r){var a=this.range,o=a.slice(),s=t.axisModels[0];if(s){var l=e(o,s,t,n,i,r);return GY(l,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}}}var yK={grid:function(e,t,n,i,r){var a=n.axis,o={},s=r.model.coordinateSystem.getRect();return e=e||[0,0],"x"===a.dim?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(e,t,n,i,r){var a=n.axis,o={},s=r.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?(o.pixel=t[0]-e[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(e,t,n,i,r){var a=n.axis,o=r.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===a.orient?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}},vK=pK;function _K(e){kX(e),e.registerComponentModel(rK),e.registerComponentView(vK),fK(e)}var xK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=qu(pX.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:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(pX),bK=xK,wK=Ts,MK=7,SK=1,TK=30,LK=7,DK="horizontal",AK="vertical",OK=5,kK=["line","bar","candlestick","scatter"],IK={easing:"cubicOut",duration:100,delay:0},CK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return v(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=Object(x["c"])(this._onBrush,this),this._onBrushEnd=Object(x["c"])(this._onBrushEnd,this)},t.prototype.render=function(t,n,i,r){if(e.prototype.render.apply(this,arguments),yy(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.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(){vy(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 Ni;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"),i=n?LK:0,r=this._findCoordRect(),a={width:t.getWidth(),height:t.getHeight()},o=this._orient===DK?{right:a.width-r.x-r.width,top:a.height-TK-MK-i,width:r.width,height:TK}:{right:MK,top:r.y,width:TK,height:r.height},s=ch(e.option);Object(x["k"])(["right","top","width","height"],(function(e){"ph"===s[e]&&(s[e]=o[e])}));var l=ah(s,a);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===AK&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),a=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(n!==DK||r?n===DK&&r?{scaleY:o?1:-1,scaleX:-1}:n!==AK||r?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var s=e.getBoundingRect([a]);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,i=e.get("brushSelect");n.add(new wK({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var r=new wK({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:Object(x["c"])(this._onClickPanel,this)}),a=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),n.add(r)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],i=e.series,r=i.getRawData(),a=i.getShadowDim&&i.getShadowDim(),o=a&&r.getDimensionInfo(a)?i.getShadowDim():e.otherDim;if(null!=o){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||o!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var u=r.getDataExtent(o),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var h,d=[0,t[1]],f=[0,t[0]],p=[[t[0],0],[0,0]],m=[],g=f[1]/(r.count()-1),y=0,v=Math.round(r.count()/t[0]);r.each([o],(function(e,t){if(v>0&&t%v)y+=g;else{var n=null==e||isNaN(e)||""===e,i=n?0:Qi(e,u,d,!0);n&&!h&&t?(p.push([p[p.length-1][0],0]),m.push([m[m.length-1][0],0])):!n&&h&&(p.push([y,0]),m.push([y,0])),p.push([y,i]),m.push([y,i]),y+=g,h=n}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=m}this._shadowData=r,this._shadowDim=o,this._shadowSize=[t[0],t[1]];for(var _=this.dataZoomModel,x=0;x<3;x++){var b=w(1===x);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(e){var t=_.getModel(e?"selectedDataBackground":"dataBackground"),n=new Ni,i=new Xm({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new $m({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,i=this.ecModel;return e.eachTargetAxis((function(r,a){var o=e.getAxisProxy(r,a).getTargetSeriesModels();Object(x["k"])(o,(function(e){if(!n&&!(!0!==t&&Object(x["r"])(kK,e.get("type"))<0)){var o,s=i.getComponent(lX(r),a).axis,l=EK(r),u=e.coordinateSystem;null!=l&&u.getOtherAxis&&(o=u.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),n={thisAxis:s,series:e,thisDim:r,otherDim:l,otherAxisInverse:o}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],i=t.handleLabels=[null,null],r=this._displayables.sliderGroup,a=this._size,o=this.dataZoomModel,s=this.api,l=o.get("borderRadius")||0,u=o.get("brushSelect"),c=t.filler=new wK({silent:u,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new wK({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:l},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:SK,fill:"rgba(0,0,0,0)"}})),Object(x["k"])([0,1],(function(t){var a=o.get("handleIcon");!wv[a]&&a.indexOf("path://")<0&&a.indexOf("image://")<0&&(a="path://"+a);var s=Tv(a,-1,0,2,2,null,!0);s.attr({cursor:PK(this._orient),draggable:!0,drift:Object(x["c"])(this._onDragMove,this,t),ondragend:Object(x["c"])(this._onDragEnd,this),onmouseover:Object(x["c"])(this._showDataInfo,this,!0),onmouseout:Object(x["c"])(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=o.get("handleSize");this._handleHeight=er(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(o.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=o.getModel(["emphasis","handleStyle"]).getItemStyle(),Gl(s);var c=o.get("handleColor");null!=c&&(s.style.fill=c),r.add(n[t]=s);var h=o.getModel("textStyle");e.add(i[t]=new Vs({silent:!0,invisible:!0,style:xu(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=c;if(u){var d=er(o.get("moveHandleSize"),a[1]),f=t.moveHandle=new Ts({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:d}}),p=.8*d,m=t.moveHandleIcon=Tv(o.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);m.silent=!0,m.y=a[1]+d/2-.5,f.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var g=Math.min(a[1]/2,Math.max(d,10));h=t.moveZone=new Ts({invisible:!0,shape:{y:a[1]-g,height:d+g}}),h.on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),r.add(f),r.add(m),r.add(h)}h.attr({draggable:!0,cursor:PK(this._orient),drift:Object(x["c"])(this._onDragMove,this,"all"),ondragstart:Object(x["c"])(this._showDataInfo,this,!0),ondragend:Object(x["c"])(this._onDragEnd,this),onmouseover:Object(x["c"])(this._showDataInfo,this,!0),onmouseout:Object(x["c"])(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[Qi(e[0],[0,100],t,!0),Qi(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];GY(t,i,r,n.get("zoomLock")?"all":e,null!=a.minSpan?Qi(a.minSpan,o,r,!0):null,null!=a.maxSpan?Qi(a.maxSpan,o,r,!0):null);var s=this._range,l=this._range=nr([Qi(i[0],r,o,!0),Qi(i[1],r,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,i=nr(n.slice()),r=this._size;Object(x["k"])([0,1],(function(e){var i=t.handles[e],a=this._handleHeight;i.attr({scaleX:a/2,scaleY:a/2,x:n[e]+(e?-1:1),y:r[1]/2-a/2})}),this),t.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var a={x:i[0],width:i[1]-i[0]};t.moveHandle&&(t.moveHandle.setShape(a),t.moveZone.setShape(a),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",a.x+a.width/2));for(var o=t.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<o.length;l++){var u=o[l],c=u.getClipPath();c||(c=new Ts,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(t.get("showDetail")){var o=t.findRepresentativeAxisProxy();if(o){var s=o.getAxisModel().axis,l=this._range,u=e?o.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:o.getDataValueWindow();a=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=nr(this._handleEnds.slice());function h(e){var t=Bg(n.handles[e].parent,this.group),o=Gg(0===e?"right":"left",t),s=this._handleWidth/2+OK,l=Vg([c[e]+(0===e?-s:s),this._size[1]/2],t);i[e].setStyle({x:l[0],y:l[1],verticalAlign:r===DK?"middle":o,align:r===DK?o:"center",text:a[e]})}h.call(this,0),h.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=t.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(r,20));return Object(x["w"])(i)?i(e,a):Object(x["C"])(i)?i.replace("{value}",a):a},t.prototype._showDataInfo=function(e){e=this._dragging||e;var t=this._displayables,n=t.handleLabels;n[0].attr("invisible",!e),n[1].attr("invisible",!e),t.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](t.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,i){this._dragging=!0,pe(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),a=Vg([t,n],r,!0),o=this._updateInterval(e,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),o&&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 i=this._handleEnds,r=(i[0]+i[1])/2,a=this._updateInterval("all",n[0]-r);this._updateView(),a&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new ke(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,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),a=[0,100];this._range=nr([Qi(n.x,r,a,!0),Qi(n.x+n.width,r,a,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(pe(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new wK({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var a=this._brushStart,o=this._displayables.sliderGroup,s=o.transformCoordToLocal(e,t),l=o.transformCoordToLocal(a.x,a.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.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?IK:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=cX(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var i=this.api.getWidth(),r=this.api.getHeight();e={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return e},t.type="dataZoom.slider",t}(vX);function EK(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function PK(e){return"vertical"===e?"ns-resize":"ew-resize"}var NK=CK;function RK(e){e.registerComponentModel(bK),e.registerComponentView(NK),kX(e)}function YK(e){IM(_K),IM(RK)}var zK={get:function(e,t,n){var i=x["d"]((HK[e]||{})[t]);return n&&x["t"](i)?i[i.length-1]:i}},HK={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]}},jK=zK,FK=JP.mapVisual,BK=JP.eachVisual,VK=x["t"],GK=x["k"],WK=nr,UK=Qi,XK=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 v(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&Iq(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=x["c"](e,this),this.controllerVisuals=kq(this.option.controller,t,e),this.targetVisuals=kq(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=Dr(e),t},t.prototype.eachTargetSeries=function(e,t){x["k"](this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&e.call(t,i)}),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 i,r=this.option,a=r.precision,o=this.dataBound,s=r.formatter;n=n||["<",">"],x["t"](e)&&(e=e.slice(),i=!0);var l=t?e:i?[u(e[0]),u(e[1])]:u(e);return x["C"](s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):x["w"](s)?i?s(e[0],e[1]):s(e):i?e[0]===o[0]?n[0]+" "+l[1]:e[1]===o[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(e){return e===o[0]?"min":e===o[1]?"max":(+e).toFixed(Math.min(a,20))}},t.prototype.resetExtent=function(){var e=this.option,t=WK([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,i=n.length-1;i>=0;i--){var r=n[i],a=e.getDimensionInfo(r);if(!a.isCalculationCoord)return a.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},i=t.target||(t.target={}),r=t.controller||(t.controller={});x["I"](i,n),x["I"](r,n);var a=this.isCategory();function o(n){VK(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 i=e[t],r=e[n];i&&!r&&(r=e[n]={},GK(i,(function(e,t){if(JP.isValidType(t)){var n=jK.get(t,"inactive",a);null!=n&&(r[t]=n,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function l(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol(),o=r||"roundRect";GK(this.stateList,(function(r){var s=this.itemSize,l=e[r];l||(l=e[r]={color:a?i:[i]}),null==l.symbol&&(l.symbol=t&&x["d"](t)||(a?o:[o])),null==l.symbolSize&&(l.symbolSize=n&&x["d"](n)||(a?s[0]:[s[0],s[0]])),l.symbol=FK(l.symbol,(function(e){return"none"===e?o:e}));var u=l.symbolSize;if(null!=u){var c=-1/0;BK(u,(function(e){e>c&&(c=e)})),l.symbolSize=FK(u,(function(e){return UK(e,[0,c],[0,s[0]],!0)}))}}),this)}o.call(this,i),o.call(this,r),s.call(this,i,"inRange","outOfRange"),l.call(this,r)},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}(mh),ZK=XK,qK=[20,140],$K=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(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]=qK[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=qK[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):x["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),x["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=nr((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 i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},t.prototype.getVisualMeta=function(e){var t=JK(this,"outOfRange",this.getExtent()),n=JK(this,"inRange",this.option.range.slice()),i=[];function r(t,n){i.push({value:t,color:e(t,n)})}for(var a=0,o=0,s=n.length,l=t.length;o<l&&(!n.length||t[o]<=n[0]);o++)t[o]<n[a]&&r(t[o],"outOfRange");for(var u=1;a<s;a++,u=0)u&&i.length&&r(n[a],"outOfRange"),r(n[a],"inRange");for(u=1;o<l;o++)(!n.length||n[n.length-1]<t[o])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(t[o],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=qu(ZK.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}(ZK);function JK(e,t,n){if(n[0]===n[1])return n.slice();for(var i=200,r=(n[1]-n[0])/i,a=n[0],o=[],s=0;s<=i&&a<n[1];s++)o.push(a),a+=r;return o.push(n[1]),o}var KK=$K,QK=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 v(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,n,i):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=Bc(t.get("padding")||0),i=e.getBoundingRect();e.add(new Ts({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.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 i=n.forceState,r=this.visualMapModel,a={};if("color"===t){var o=r.get("contentColor");a.color=o}function s(e){return a[e]}function l(e,t){a[e]=t}var u=r.controllerVisuals[i||r.getValueState(e)],c=JP.prepareVisualTypes(u);return x["k"](c,(function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),JP.dependsOn(i,t)&&r&&r.applyVisual(e,s,l)})),a[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;oh(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,i){},t.type="visualMap",t}(Wp),eQ=QK,tQ=[["left","right","width"],["top","bottom","height"]];function nQ(e,t,n){var i=e.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var a={width:t.getWidth(),height:t.getHeight()},o="horizontal"===i.orient?1:0,s=tQ[o],l=[0,null,10],u={},c=0;c<3;c++)u[tQ[1-o][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];var h=[["x","width",3],["y","height",0]][o],d=ah(u,a,i.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*a[h[1]]?0:1]}function iQ(e,t){return x["k"](e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}var rQ=Qi,aQ=x["k"],oQ=Math.min,sQ=Math.max,lQ=12,uQ=6,cQ=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 v(t,e),t.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this._hoverLinkFromSeriesMouseOver=x["c"](this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=x["c"](this._hideIndicator,this)},t.prototype.doRender=function(e,t,n,i){i&&"selectDataRange"===i.type&&i.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 i=t[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,a=r.get("textGap"),o=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([o[0]/2,0===n?-a:o[1]+a],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new Vs({style:xu(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,i=t.itemSize,r=this._orient,a=this._useHandle,o=nQ(t,this.api,i),s=n.mainGroup=this._createBarGroup(o),l=new Ni;s.add(l),l.add(n.outOfRange=hQ()),l.add(n.inRange=hQ(null,a?pQ(this._orient):null,x["c"](this._dragHandle,this,"all",!1),x["c"](this._dragHandle,this,"all",!0))),l.setClipPath(new Ts({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=t.textStyleModel.getTextRect("国"),c=sQ(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,s,0,i,c,r),this._createHandle(t,s,1,i,c,r)),this._createIndicator(t,s,i,c,r),e.add(s)},t.prototype._createHandle=function(e,t,n,i,r,a){var o=x["c"](this._dragHandle,this,n,!1),s=x["c"](this._dragHandle,this,n,!0),l=vi(e.get("handleSize"),i[0]),u=Tv(e.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=pQ(this._orient);u.attr({cursor:c,draggable:!0,drift:o,ondragend:s,onmousemove:function(e){pe(e.event)}}),u.x=i[0]/2,u.useStyle(e.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),Jl(u,!0),t.add(u);var h=this.visualMapModel.textStyleModel,d=new Vs({cursor:c,draggable:!0,drift:o,onmousemove:function(e){pe(e.event)},ondragend:s,style:xu(h,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var f=[l,0],p=this._shapes;p.handleThumbs[n]=u,p.handleLabelPoints[n]=f,p.handleLabels[n]=d},t.prototype._createIndicator=function(e,t,n,i,r){var a=vi(e.get("indicatorSize"),n[0]),o=Tv(e.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);o.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(o instanceof gs){var l=o.style;o.useStyle(x["m"]({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else o.useStyle(s);t.add(o);var u=this.visualMapModel.textStyleModel,c=new Vs({silent:!0,invisible:!0,style:xu(u,{x:0,y:0,text:""})});this.group.add(c);var h=[("horizontal"===r?i/2:uQ)+n[0]/2,0],d=this._shapes;d.indicator=o,d.indicatorLabel=c,d.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,i){if(this._useHandle){if(this._dragging=!t,!t){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(e,r[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():fQ(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[rQ(t[0],n,i,!0),rQ(t[1],n,i,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];GY(t,i,r,e,0);var a=n.getExtent();this._dataInterval=[rQ(i[0],r,a,!0),rQ(i[1],r,a,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),i=this._shapes,r=[0,t.itemSize[1]],a=e?r:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(a,o)},t.prototype._createBarVisual=function(e,t,n,i){var r={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,r),o=[this.getControllerVisual(e[0],"symbolSize",r),this.getControllerVisual(e[1],"symbolSize",r)],s=this._createBarPoints(n,o);return{barColor:new pg(0,0,0,1,a),barPoints:s,handlesColor:[a[0].color,a[a.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=100,i=[],r=(e[1]-e[0])/n;i.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var a=1;a<n;a++){var o=e[0]+r*a;if(o>e[1])break;i.push({color:this.getControllerVisual(o,"color",t),offset:a/n})}return i.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),i},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 Ni("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,i=this.visualMapModel,r=n.handleThumbs,a=n.handleLabels,o=i.itemSize,s=i.getExtent();aQ([0,1],(function(l){var u=r[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var c=rQ(e[l],[0,o[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/o[0],u.x=o[0]-h/2;var d=Vg(n.handleLabelPoints[l],Bg(u,this.group));a[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,i){var r=this.visualMapModel,a=r.getExtent(),o=r.itemSize,s=[0,o[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},h=this.getControllerVisual(e,"color",c),d=this.getControllerVisual(e,"symbolSize"),f=rQ(e,a,s,!0),p=o[0]-d/2,m={x:u.x,y:u.y};u.y=f,u.x=p;var g=Vg(l.indicatorLabelPoint,Bg(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),_=this._orient,x="horizontal"===_;y.setStyle({text:(n||"")+r.formatValueText(t),verticalAlign:x?v:"middle",align:x?"center":v});var b={x:p,y:f,style:{fill:h}},w={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var M={duration:100,easing:"cubicInOut",additive:!0};u.x=m.x,u.y=m.y,u.animateTo(b,M),y.animateTo(w,M)}else u.attr(b),y.attr(w);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var T=0;T<S.length;T++)this.api.enterBlur(S[T])}},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,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);i[1]=oQ(sQ(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[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,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],a=n.getExtent();e=oQ(sQ(r[0],e),r[1]);var o=dQ(n,a,r),s=[e-o,e+o],l=rQ(e,r,a,!0),u=[rQ(s[0],r,a,!0),rQ(s[1],r,a,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var c=this._hoverLinkDataIndices,h=[];(t||fQ(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=Xr(c,h);this._dispatchHighDown("downplay",iQ(d[0],n)),this._dispatchHighDown("highlight",iQ(d[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if(hv(e.target,(function(e){var n=Gs(e);if(null!=n.dataIndex)return t=n,!0}),!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(t.dataType),a=r.getStore().get(i.getDataDimensionIndex(r),t.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},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",iQ(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,i){var r=Bg(t,i?null:this.group);return x["t"](e)?Vg(e,r,n):Gg(e,r,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}(eQ);function hQ(e,t,n,i){return new Xm({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){pe(e.event)},ondragend:i})}function dQ(e,t,n){var i=lQ/2,r=e.get("hoverLinkDataSize");return r&&(i=rQ(r,t,n,!0)/2),i}function fQ(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function pQ(e){return"vertical"===e?"ns-resize":"ew-resize"}var mQ=cQ,gQ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},yQ=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))},vQ=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var i=e.pipelineContext;!t.isTargetSeries(e)||i&&i.large||n.push(Eq(t.stateList,t.targetVisuals,x["c"](t.getValueState,t),t.getDataDimensionIndex(e.getData())))})),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),i=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var r=t.getVisualMeta(x["c"](_Q,null,e,t))||{stops:[],outerColors:[]},a=t.getDataDimensionIndex(n);a>=0&&(r.dimension=a,i.push(r))}})),e.getData().setVisual("visualMeta",i)}}];function _Q(e,t,n,i){for(var r=t.targetVisuals[i],a=JP.prepareVisualTypes(r),o={color:ov(e.getData(),"color")},s=0,l=a.length;s<l;s++){var u=a[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,h,d)}return o.color;function h(e){return o[e]}function d(e,t){o[e]=t}}var xQ=x["k"];function bQ(e){var t=e&&e.visualMap;x["t"](t)||(t=t?[t]:[]),xQ(t,(function(e){if(e){wQ(e,"splitList")&&!wQ(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&x["t"](t)&&xQ(t,(function(e){x["A"](e)&&(wQ(e,"start")&&!wQ(e,"min")&&(e.min=e.start),wQ(e,"end")&&!wQ(e,"max")&&(e.max=e.end))}))}}))}function wQ(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var MQ=!1;function SQ(e){MQ||(MQ=!0,e.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(gQ,yQ),Object(x["k"])(vQ,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(bQ))}function TQ(e){e.registerComponentModel(KK),e.registerComponentView(mQ),SQ(e)}var LQ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return v(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],DQ[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var r=this.option.categories;this.resetVisual((function(e,t){"categories"===i?(e.mappingMethod="category",e.categories=x["d"](r)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=x["H"](this._pieceList,(function(e){return e=x["d"](e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,n={},i=JP.listVisualTypes(),r=this.isCategory();function a(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}x["k"](t.pieces,(function(e){x["k"](i,(function(t){e.hasOwnProperty(t)&&(n[t]=1)}))})),x["k"](n,(function(e,n){var i=!1;x["k"](this.stateList,(function(e){i=i||a(t,e,n)||a(t.target,e,n)}),this),!i&&x["k"](this.stateList,(function(e){(t[e]||(t[e]={}))[n]=jK.get(n,"inRange"===e?"active":"inactive",r)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,i=this._pieceList,r=(t?n:e).selected||{};if(n.selected=r,x["k"](i,(function(e,t){var n=this.getSelectedMapKey(e);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var a=!1;x["k"](i,(function(e,t){var n=this.getSelectedMapKey(e);r[n]&&(a?r[n]=!1:a=!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=x["d"](e)},t.prototype.getValueState=function(e){var t=JP.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(i){var r=[],a=i.getData();a.each(this.getDataDimensionIndex(a),(function(t,i){var a=JP.findPieceIndex(t,n);a===e&&r.push(i)}),this),t.push({seriesId:i.id,dataIndex:r})}),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=["",""],i=this,r=this._pieceList.slice();if(r.length){var a=r[0].interval[0];a!==-1/0&&r.unshift({interval:[-1/0,a]}),a=r[r.length-1].interval[1],a!==1/0&&r.push({interval:[a,1/0]})}else r.push({interval:[-1/0,1/0]});var o=-1/0;return x["k"](r,(function(e){var t=e.interval;t&&(t[0]>o&&s([o,t[0]],"outOfRange"),s(t.slice()),o=t[1])}),this),{stops:t,outerColors:n}}function s(r,a){var o=i.getRepresentValue({interval:r});a||(a=i.getValueState(o));var s=e(o,a);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:t.push({value:r[0],color:s},{value:r[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=qu(ZK.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}(ZK),DQ={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),i=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;var a=(i[1]-i[0])/r;while(+a.toFixed(n)!==a&&n<5)n++;t.precision=n,a=+a.toFixed(n),t.minOpen&&e.push({interval:[-1/0,i[0]],close:[0,0]});for(var o=0,s=i[0];o<r;s+=a,o++){var l=o===r-1?i[1]:s+a;e.push({interval:[s,l],close:[1,1]})}t.maxOpen&&e.push({interval:[i[1],1/0],close:[0,0]}),vr(e),x["k"](e,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(e){var t=this.option;x["k"](t.categories,(function(t){e.push({text:this.formatValueText(t,!0),value:t})}),this),AQ(t,e)},pieces:function(e){var t=this.option;x["k"](t.pieces,(function(t,n){x["A"](t)||(t={value:t});var i={text:"",index:n};if(null!=t.label&&(i.text=t.label),t.hasOwnProperty("value")){var r=i.value=t.value;i.interval=[r,r],i.close=[1,1]}else{for(var a=i.interval=[],o=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var h=[["gte","gt","min"],["lte","lt","max"]][c],d=0;d<3&&null==a[c];d++)a[c]=t[h[d]],o[c]=s[d],u[c]=2===d;null==a[c]&&(a[c]=l[c])}u[0]&&a[1]===1/0&&(o[0]=0),u[1]&&a[0]===-1/0&&(o[1]=0),a[0]===a[1]&&o[0]&&o[1]&&(i.value=a[0])}i.visual=JP.retrieveVisuals(t),e.push(i)}),this),AQ(t,e),vr(e),x["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 AQ(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var OQ=LQ,kQ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return v(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),i=t.textStyleModel,r=i.getFont(),a=i.getTextColor(),o=this._getItemAlign(),s=t.itemSize,l=this._getViewData(),u=l.endsText,c=x["O"](t.get("showLabel",!0),!u);u&&this._renderEndsText(e,u[0],s,c,o),x["k"](l.viewPieceList,(function(i){var l=i.piece,u=new Ni;u.onclick=x["c"](this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var h=t.getRepresentValue(l);if(this._createItemSymbol(u,h,[0,0,s[0],s[1]]),c){var d=this.visualMapModel.getValueState(h);u.add(new Vs({style:{x:"right"===o?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:o,font:r,fill:a,opacity:"outOfRange"===d?.5:1}}))}e.add(u)}),this),u&&this._renderEndsText(e,u[1],s,c,o),ih(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 i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(e){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:e,batch:iQ(i.findTargetDataIndices(t),i)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return nQ(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,i,r){if(t){var a=new Ni,o=this.visualMapModel.textStyleModel;a.add(new Vs({style:xu(o,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:t})})),e.add(a)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=x["H"](e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),i=e.get("orient"),r=e.get("inverse");return("horizontal"===i?r:!r)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n){e.add(Tv(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,i=n.selectedMode;if(i){var r=x["d"](n.selected),a=t.getSelectedMapKey(e);"single"===i||!0===i?(r[a]=!0,x["k"](r,(function(e,t){r[t]=t===a}))):r[a]=!r[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},t.type="visualMap.piecewise",t}(eQ),IQ=kQ;function CQ(e){e.registerComponentModel(OQ),e.registerComponentView(IQ),SQ(e)}function EQ(e){IM(TQ),IM(CQ)}var PQ={label:{enabled:!0},decal:{show:!1}},NQ=qr(),RQ={};function YQ(e,t){var n=e.getModel("aria");if(n.get("enabled")){var i=x["d"](PQ);x["I"](i.label,e.getLocaleModel().get("aria"),!1),x["I"](n.option,i,!1),r(),a()}function r(){var t=n.getModel("decal"),i=t.get("show");if(i){var r=x["f"]();e.eachSeries((function(e){if(!e.isColorBySeries()){var t=r.get(e.type);t||(t={},r.set(e.type,t)),NQ(e).scope=t}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(x["w"](t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var i=Vh(t.ecModel,t.name,RQ,e.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var a=t.getRawData(),o={},s=NQ(t).scope;n.each((function(e){var t=n.getRawIndex(e);o[t]=e}));var l=a.count();a.each((function(e){var i=o[e],r=a.getName(e)||e+"",c=Vh(t.ecModel,r,s,l),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(h,c))}))}}function u(e,t){var n=e?x["m"](x["m"]({},t),e):t;return n.dirty=!0,n}}))}}function a(){var i=t.getZr().dom;if(i){var r=e.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=x["i"](a.option,r),a.get("enabled"))if(a.get("description"))i.setAttribute("aria-label",a.get("description"));else{var u,c=e.getSeriesCount(),h=a.get(["data","maxCount"])||10,d=a.get(["series","maxCount"])||10,f=Math.min(c,d);if(!(c<1)){var p=s();if(p){var m=a.get(["general","withTitle"]);u=o(m,{title:p})}else u=a.get(["general","withoutTitle"]);var g=[],y=c>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]);u+=o(y,{seriesCount:c}),e.eachSeries((function(e,t){if(t<f){var n=void 0,i=e.get("name"),r=i?"withName":"withoutName";n=c>1?a.get(["series","multiple",r]):a.get(["series","single",r]),n=o(n,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:l(e.subType)});var s=e.getData();if(s.count()>h){var u=a.get(["data","partialData"]);n+=o(u,{displayCnt:h})}else n+=a.get(["data","allData"]);for(var d=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),m=[],y=0;y<s.count();y++)if(y<h){var v=s.getName(y),_=s.getValues(y),x=a.get(["data",v?"withName":"withoutName"]);m.push(o(x,{name:v,value:_.join(d)}))}n+=m.join(d)+p,g.push(n)}}));var v=a.getModel(["series","multiple","separator"]),_=v.get("middle"),b=v.get("end");u+=g.join(_)+b,i.setAttribute("aria-label",u)}}}}function o(e,t){if(!x["C"](e))return e;var n=e;return x["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 l(t){var n=e.getLocaleModel().get(["series","typeNames"]);return n[t]||n.chart}}function zQ(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},x["k"](["description","general","series","data"],(function(e){null!=t[e]&&(t.label[e]=t[e])}))}}function HQ(e){e.registerPreprocessor(zQ),e.registerVisual(e.PRIORITY.VISUAL.ARIA,YQ)}var jQ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},FQ=function(){function e(e){var t=this._condVal=Object(x["C"])(e)?new RegExp(e):Object(x["B"])(e)?e:null;if(null==t){var n="";0,Jh(n)}}return e.prototype.evaluate=function(e){var t=typeof e;return Object(x["C"])(t)?this._condVal.test(e):!!Object(x["z"])(t)&&this._condVal.test(e+"")},e}(),BQ=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),VQ=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}(),GQ=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}(),WQ=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),UQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=!!this.valueParser,t=this.getValue,n=t(this.valueGetterParam),i=e?this.valueParser(n):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(e?i:n))return!1;return!0},e}();function XQ(e,t){if(!0===e||!1===e){var n=new BQ;return n.value=e,n}var i="";return JQ(e)||Jh(i),e.and?ZQ("and",e,t):e.or?ZQ("or",e,t):e.not?qQ(e,t):$Q(e,t)}function ZQ(e,t,n){var i=t[e],r="";Object(x["t"])(i)||Jh(r),i.length||Jh(r);var a="and"===e?new VQ:new GQ;return a.children=Object(x["H"])(i,(function(e){return XQ(e,n)})),a.children.length||Jh(r),a}function qQ(e,t){var n=e.not,i="";JQ(n)||Jh(i);var r=new WQ;return r.child=XQ(n,t),r.child||Jh(i),r}function $Q(e,t){for(var n="",i=t.prepareGetValue(e),r=[],a=Object(x["F"])(e),o=e.parser,s=o?Of(o):null,l=0;l<a.length;l++){var u=a[l];if("parser"!==u&&!t.valueGetterAttrMap.get(u)){var c=Object(x["q"])(jQ,u)?jQ[u]:u,h=e[u],d=s?s(h):h,f=Pf(c,d)||"reg"===c&&new FQ(d);f||Jh(n),r.push(f)}}r.length||Jh(n);var p=new UQ;return p.valueGetterParam=i,p.valueParser=s,p.getValue=t.getValue,p.subCondList=r,p}function JQ(e){return Object(x["A"])(e)&&!Object(x["u"])(e)}var KQ=function(){function e(e,t){this._cond=XQ(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function QQ(e,t){return new KQ(e,t)}var e1={type:"echarts:filter",transform:function(e){for(var t,n=e.upstream,i=QQ(e.config,{valueGetterAttrMap:Object(x["f"])({dimension:!0}),prepareGetValue:function(e){var t="",i=e.dimension;Object(x["q"])(e,"dimension")||Jh(t);var r=n.getDimensionInfo(i);return r||Jh(t),{dimIdx:r.index}},getValue:function(e){return n.retrieveValueFromItem(t,e.dimIdx)}}),r=[],a=0,o=n.count();a<o;a++)t=n.getRawDataItem(a),i.evaluate()&&r.push(t);return{data:r}}};var t1={type:"echarts:sort",transform:function(e){var t=e.upstream,n=e.config,i="",r=Dr(n);r.length||Jh(i);var a=[];Object(x["k"])(r,(function(e){var n=e.dimension,r=e.order,o=e.parser,s=e.incomparable;if(null==n&&Jh(i),"asc"!==r&&"desc"!==r&&Jh(i),s&&"min"!==s&&"max"!==s){var l="";0,Jh(l)}if("asc"!==r&&"desc"!==r){var u="";0,Jh(u)}var c=t.getDimensionInfo(n);c||Jh(i);var h=o?Of(o):null;o&&!h&&Jh(i),a.push({dimIdx:c.index,parser:h,comparator:new Cf(r,s)})}));var o=t.sourceFormat;o!==bh&&o!==wh&&Jh(i);for(var s=[],l=0,u=t.count();l<u;l++)s.push(t.getRawDataItem(l));return s.sort((function(e,n){for(var i=0;i<a.length;i++){var r=a[i],o=t.retrieveValueFromItem(e,r.dimIdx),s=t.retrieveValueFromItem(n,r.dimIdx);r.parser&&(o=r.parser(o),s=r.parser(s));var l=r.comparator.evaluate(o,s);if(0!==l)return l}return 0})),{data:s}}};function n1(e){e.registerTransform(e1),e.registerTransform(t1)}var i1=Ro.CMD;function r1(e,t){return Math.abs(e-t)<1e-5}function a1(e){var t,n,i,r,a,o=e.data,s=e.len(),l=[],u=0,c=0,h=0,d=0;function f(e,n){t&&t.length>2&&l.push(t),t=[e,n]}function p(e,n,i,r){r1(e,i)&&r1(n,r)||t.push(e,n,i,r,i,r)}function m(e,n,i,r,a,o){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,u=n<e?-1:1,c=Math.cos(e),h=Math.sin(e),d=Math.cos(n),f=Math.sin(n),p=c*a+i,m=h*o+r,g=d*a+i,y=f*o+r,v=a*l*u,_=o*l*u;t.push(p-v*h,m+_*c,g+v*f,y-_*d,g,y)}for(var g=0;g<s;){var y=o[g++],v=1===g;switch(v&&(u=o[g],c=o[g+1],h=u,d=c,y!==i1.L&&y!==i1.C&&y!==i1.Q||(t=[h,d])),y){case i1.M:u=h=o[g++],c=d=o[g++],f(h,d);break;case i1.L:n=o[g++],i=o[g++],p(u,c,n,i),u=n,c=i;break;case i1.C:t.push(o[g++],o[g++],o[g++],o[g++],u=o[g++],c=o[g++]);break;case i1.Q:n=o[g++],i=o[g++],r=o[g++],a=o[g++],t.push(u+2/3*(n-u),c+2/3*(i-c),r+2/3*(n-r),a+2/3*(i-a),r,a),u=r,c=a;break;case i1.A:var _=o[g++],x=o[g++],b=o[g++],w=o[g++],M=o[g++],S=o[g++]+M;g+=1;var T=!o[g++];n=Math.cos(M)*b+_,i=Math.sin(M)*w+x,v?(h=n,d=i,f(h,d)):p(u,c,n,i),u=Math.cos(S)*b+_,c=Math.sin(S)*w+x;for(var L=(T?-1:1)*Math.PI/2,D=M;T?D>S:D<S;D+=L){var A=T?Math.max(D+L,S):Math.min(D+L,S);m(D,A,_,x,b,w)}break;case i1.R:h=u=o[g++],d=c=o[g++],n=h+o[g++],i=d+o[g++],f(n,d),p(n,d,n,i),p(n,i,h,i),p(h,i,h,d),p(h,d,n,d);break;case i1.Z:t&&p(u,c,h,d),u=h,c=d;break}}return t&&t.length>2&&l.push(t),l}function o1(e,t,n,i,r,a,o,s,l,u){if(r1(e,n)&&r1(t,i)&&r1(r,o)&&r1(a,s))l.push(o,s);else{var c=2/u,h=c*c,d=o-e,f=s-t,p=Math.sqrt(d*d+f*f);d/=p,f/=p;var m=n-e,g=i-t,y=r-o,v=a-s,_=m*m+g*g,x=y*y+v*v;if(_<h&&x<h)l.push(o,s);else{var b=d*m+f*g,w=-d*y-f*v,M=_-b*b,S=x-w*w;if(M<h&&b>=0&&S<h&&w>=0)l.push(o,s);else{var T=[],L=[];Rt(e,n,r,o,.5,T),Rt(t,i,a,s,.5,L),o1(T[0],L[0],T[1],L[1],T[2],L[2],T[3],L[3],l,u),o1(T[4],L[4],T[5],L[5],T[6],L[6],T[7],L[7],l,u)}}}}function s1(e,t){var n=a1(e),i=[];t=t||1;for(var r=0;r<n.length;r++){var a=n[r],o=[],s=a[0],l=a[1];o.push(s,l);for(var u=2;u<a.length;){var c=a[u++],h=a[u++],d=a[u++],f=a[u++],p=a[u++],m=a[u++];o1(s,l,c,h,d,f,p,m,o,t),s=p,l=m}i.push(o)}return i}function l1(e,t,n){var i=e[t],r=e[1-t],a=Math.abs(i/r),o=Math.ceil(Math.sqrt(a*n)),s=Math.floor(n/o);0===s&&(s=1,o=n);for(var l=[],u=0;u<o;u++)l.push(s);var c=o*s,h=n-c;if(h>0)for(u=0;u<h;u++)l[u%o]+=1;return l}function u1(e,t,n){for(var i=e.r0,r=e.r,a=e.startAngle,o=e.endAngle,s=Math.abs(o-a),l=s*r,u=r-i,c=l>Math.abs(u),h=l1([l,u],c?0:1,t),d=(c?s:u)/h.length,f=0;f<h.length;f++)for(var p=(c?u:s)/h[f],m=0;m<h[f];m++){var g={};c?(g.startAngle=a+d*f,g.endAngle=a+d*(f+1),g.r0=i+p*m,g.r=i+p*(m+1)):(g.startAngle=a+p*m,g.endAngle=a+p*(m+1),g.r0=i+d*f,g.r=i+d*(f+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,n.push(g)}}function c1(e,t,n){for(var i=e.width,r=e.height,a=i>r,o=l1([i,r],a?0:1,t),s=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",h=e[s]/o.length,d=0;d<o.length;d++)for(var f=e[l]/o[d],p=0;p<o[d];p++){var m={};m[u]=d*h,m[c]=p*f,m[s]=h,m[l]=f,m.x+=e.x,m.y+=e.y,n.push(m)}}function h1(e,t,n,i){return e*i-n*t}function d1(e,t,n,i,r,a,o,s){var l=n-e,u=i-t,c=o-r,h=s-a,d=h1(c,h,l,u);if(Math.abs(d)<1e-6)return null;var f=e-r,p=t-a,m=h1(f,p,c,h)/d;return m<0||m>1?null:new ke(m*l+e,m*u+t)}function f1(e,t,n){var i=new ke;ke.sub(i,n,t),i.normalize();var r=new ke;ke.sub(r,e,t);var a=r.dot(i);return a}function p1(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function m1(e,t,n){for(var i=e.length,r=[],a=0;a<i;a++){var o=e[a],s=e[(a+1)%i],l=d1(o[0],o[1],s[0],s[1],t.x,t.y,n.x,n.y);l&&r.push({projPt:f1(l,t,n),pt:l,idx:a})}if(r.length<2)return[{points:e},{points:e}];r.sort((function(e,t){return e.projPt-t.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var h=u;u=c,c=h}var d=[u.pt.x,u.pt.y],f=[c.pt.x,c.pt.y],p=[d],m=[f];for(a=u.idx+1;a<=c.idx;a++)p1(p,e[a].slice());p1(p,f),p1(p,d);for(a=c.idx+1;a<=u.idx+i;a++)p1(m,e[a%i].slice());return p1(m,d),p1(m,f),[{points:p},{points:m}]}function g1(e){var t=e.points,n=[],i=[];uo(t,n,i);var r=new je(n[0],n[1],i[0]-n[0],i[1]-n[1]),a=r.width,o=r.height,s=r.x,l=r.y,u=new ke,c=new ke;return a>o?(u.x=c.x=s+a/2,u.y=l,c.y=l+o):(u.y=c.y=l+o/2,u.x=s,c.x=s+a),m1(t,u,c)}function y1(e,t,n,i){if(1===n)i.push(t);else{var r=Math.floor(n/2),a=e(t);y1(e,a[0],r,i),y1(e,a[1],n-r,i)}return i}function v1(e,t){for(var n=[],i=0;i<t;i++)n.push(mm(e));return n}function _1(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function x1(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}function b1(e,t){var n,i=[],r=e.shape;switch(e.type){case"rect":c1(r,t,i),n=Ts;break;case"sector":u1(r,t,i),n=Hm;break;case"circle":u1({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},t,i),n=Hm;break;default:var a=e.getComputedTransform(),o=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,s=Object(x["H"])(s1(e.getUpdatedPathProxy(),o),(function(e){return x1(e)})),l=s.length;if(0===l)y1(g1,{points:s[0]},t,i);else if(l===t)for(var u=0;u<l;u++)i.push({points:s[u]});else{var c=0,h=Object(x["H"])(s,(function(e){var t=[],n=[];uo(e,t,n);var i=(n[1]-t[1])*(n[0]-t[0]);return c+=i,{poly:e,area:i}}));h.sort((function(e,t){return t.area-e.area}));var d=t;for(u=0;u<l;u++){var f=h[u];if(d<=0)break;var p=u===l-1?d:Math.ceil(f.area/c*t);p<0||(y1(g1,{points:f.poly},p,i),d-=p)}}n=Xm;break}if(!n)return v1(e,t);var m=[];for(u=0;u<i.length;u++){var g=new n;g.setShape(i[u]),_1(e,g),m.push(g)}return m}function w1(e,t){var n=e.length,i=t.length;if(n===i)return[e,t];for(var r=[],a=[],o=n<i?e:t,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,h=[o[0],o[1]],d=l,f=2;f<s;){var p=o[f-2],m=o[f-1],g=o[f++],y=o[f++],v=o[f++],_=o[f++],x=o[f++],b=o[f++];if(d<=0)h.push(g,y,v,_,x,b);else{for(var w=Math.min(d,c-1)+1,M=1;M<=w;M++){var S=M/w;Rt(p,g,v,x,S,r),Rt(m,y,_,b,S,a),p=r[3],m=a[3],h.push(r[1],a[1],r[2],a[2],p,m),g=r[5],y=a[5],v=r[6],_=a[6]}d-=w-1}}return o===e?[h,t]:[e,h]}function M1(e,t){for(var n=e.length,i=e[n-2],r=e[n-1],a=[],o=0;o<t.length;)a[o++]=i,a[o++]=r;return a}function S1(e,t){for(var n,i,r,a=[],o=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],u=t[s],c=void 0,h=void 0;l?u?(n=w1(l,u),c=n[0],h=n[1],i=c,r=h):(h=M1(r||l,l),c=l):(c=M1(i||u,u),h=u),a.push(c),o.push(h)}return[a,o]}function T1(e){for(var t=0,n=0,i=0,r=e.length,a=0,o=r-2;a<r;o=a,a+=2){var s=e[o],l=e[o+1],u=e[a],c=e[a+1],h=s*c-u*l;t+=h,n+=(s+u)*h,i+=(l+c)*h}return 0===t?[e[0]||0,e[1]||0]:[n/t/3,i/t/3,t]}function L1(e,t,n,i){for(var r=(e.length-2)/6,a=1/0,o=0,s=e.length,l=s-2,u=0;u<r;u++){for(var c=6*u,h=0,d=0;d<s;d+=2){var f=0===d?c:(c+d-2)%l+2,p=e[f]-n[0],m=e[f+1]-n[1],g=t[d]-i[0],y=t[d+1]-i[1],v=g-p,_=y-m;h+=v*v+_*_}h<a&&(a=h,o=u)}return o}function D1(e){for(var t=[],n=e.length,i=0;i<n;i+=2)t[i]=e[n-i-2],t[i+1]=e[n-i-1];return t}function A1(e,t,n,i){for(var r,a=[],o=0;o<e.length;o++){var s=e[o],l=t[o],u=T1(s),c=T1(l);null==r&&(r=u[2]<0!==c[2]<0);var h=[],d=[],f=0,p=1/0,m=[],g=s.length;r&&(s=D1(s));for(var y=6*L1(s,l,u,c),v=g-2,_=0;_<v;_+=2){var x=(y+_)%v+2;h[_+2]=s[x]-u[0],h[_+3]=s[x+1]-u[1]}if(h[0]=s[y]-u[0],h[1]=s[y+1]-u[1],n>0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var M=Math.sin(w),S=Math.cos(w),T=0;for(_=0;_<s.length;_+=2){var L=h[_],D=h[_+1],A=l[_]-c[0],O=l[_+1]-c[1],k=A*S-O*M,I=A*M+O*S;m[_]=k,m[_+1]=I;var C=k-L,E=I-D;T+=C*C+E*E}if(T<p){p=T,f=w;for(var P=0;P<m.length;P++)d[P]=m[P]}}else for(var N=0;N<g;N+=2)d[N]=l[N]-c[0],d[N+1]=l[N+1]-c[1];a.push({from:h,to:d,fromCp:u,toCp:c,rotation:-f})}return a}function O1(e){return e.__isCombineMorphing}var k1="__mOriginal_";function I1(e,t,n){var i=k1+t,r=e[i]||e[t];e[i]||(e[i]=e[t]);var a=n.replace,o=n.after,s=n.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=a?a.apply(this,t):r.apply(this,t),o&&o.apply(this,t),e}}function C1(e,t){var n=k1+t;e[n]&&(e[t]=e[n],e[n]=null)}function E1(e,t){for(var n=0;n<e.length;n++)for(var i=e[n],r=0;r<i.length;){var a=i[r],o=i[r+1];i[r++]=t[0]*a+t[2]*o+t[4],i[r++]=t[1]*a+t[3]*o+t[5]}}function P1(e,t){var n=e.getUpdatedPathProxy(),i=t.getUpdatedPathProxy(),r=S1(a1(n),a1(i)),a=r[0],o=r[1],s=e.getComputedTransform(),l=t.getComputedTransform();function u(){this.transform=null}s&&E1(a,s),l&&E1(o,l),I1(t,"updateTransform",{replace:u}),t.transform=null;var c=A1(a,o,10,Math.PI),h=[];I1(t,"buildPath",{replace:function(e){for(var n=t.__morphT,i=1-n,r=[],a=0;a<c.length;a++){var o=c[a],s=o.from,l=o.to,u=o.rotation*n,d=o.fromCp,f=o.toCp,p=Math.sin(u),m=Math.cos(u);R(r,d,f,n);for(var g=0;g<s.length;g+=2){var y=s[g],v=s[g+1],_=l[g],x=l[g+1],b=y*i+_*n,w=v*i+x*n;h[g]=b*m-w*p+r[0],h[g+1]=b*p+w*m+r[1]}var M=h[0],S=h[1];e.moveTo(M,S);for(g=2;g<s.length;){_=h[g++],x=h[g++];var T=h[g++],L=h[g++],D=h[g++],A=h[g++];M===_&&S===x&&T===D&&L===A?e.lineTo(D,A):e.bezierCurveTo(_,x,T,L,D,A),M=D,S=A}}}})}function N1(e,t,n){if(!e||!t)return t;var i=n.done,r=n.during;function a(){C1(t,"buildPath"),C1(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return P1(e,t),t.__morphT=0,t.animateTo({__morphT:1},Object(x["i"])({during:function(e){t.dirtyShape(),r&&r(e)},done:function(){a(),i&&i()}},n)),t}function R1(e,t,n,i,r,a){var o=16;e=r===n?0:Math.round(32767*(e-n)/(r-n)),t=a===i?0:Math.round(32767*(t-i)/(a-i));for(var s,l=0,u=(1<<o)/2;u>0;u/=2){var c=0,h=0;(e&u)>0&&(c=1),(t&u)>0&&(h=1),l+=u*u*(3*c^h),0===h&&(1===c&&(e=u-1-e,t=u-1-t),s=e,e=t,t=s)}return l}function Y1(e){var t=1/0,n=1/0,i=-1/0,r=-1/0,a=Object(x["H"])(e,(function(e){var a=e.getBoundingRect(),o=e.getComputedTransform(),s=a.x+a.width/2+(o?o[4]:0),l=a.y+a.height/2+(o?o[5]:0);return t=Math.min(s,t),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]})),o=Object(x["H"])(a,(function(a,o){return{cp:a,z:R1(a[0],a[1],t,n,i,r),path:e[o]}}));return o.sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function z1(e){return b1(e.path,e.count)}function H1(){return{fromIndividuals:[],toIndividuals:[],count:0}}function j1(e,t,n){var i=[];function r(e){for(var t=0;t<e.length;t++){var n=e[t];O1(n)?r(n.childrenRef()):n instanceof ls&&i.push(n)}}r(e);var a=i.length;if(!a)return H1();var o=n.dividePath||z1,s=o({path:t,count:a});if(s.length!==a)return console.error("Invalid morphing: unmatched splitted path"),H1();i=Y1(i),s=Y1(s);for(var l=n.done,u=n.during,c=n.individualDelay,h=new li,d=0;d<a;d++){var f=i[d],p=s[d];p.parent=t,p.copyTransform(h),c||P1(f,p)}function m(e){for(var t=0;t<s.length;t++)s[t].addSelfToZr(e)}function g(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,C1(t,"addSelfToZr"),C1(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return s},I1(t,"addSelfToZr",{after:function(e){m(e)}}),I1(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<s.length;t++)s[t].removeSelfFromZr(e)}});var y=s.length;if(c){var v=y,_=function(){v--,0===v&&(g(),l&&l())};for(d=0;d<y;d++){var b=c?Object(x["i"])({delay:(n.delay||0)+c(d,y,i[d],s[d]),done:_},n):n;N1(i[d],s[d],b)}}else t.__morphT=0,t.animateTo({__morphT:1},Object(x["i"])({during:function(e){for(var n=0;n<y;n++){var i=s[n];i.__morphT=t.__morphT,i.dirtyShape()}u&&u(e)},done:function(){g();for(var t=0;t<e.length;t++)C1(e[t],"updateTransform");l&&l()}},n));return t.__zr&&m(t.__zr),{fromIndividuals:i,toIndividuals:s,count:y}}function F1(e,t,n){var i=t.length,r=[],a=n.dividePath||z1;function o(e){for(var t=0;t<e.length;t++){var n=e[t];O1(n)?o(n.childrenRef()):n instanceof ls&&r.push(n)}}if(O1(e)){o(e.childrenRef());var s=r.length;if(s<i)for(var l=0,u=s;u<i;u++)r.push(mm(r[l++%s]));r.length=i}else{r=a({path:e,count:i});var c=e.getComputedTransform();for(u=0;u<r.length;u++)r[u].setLocalTransform(c);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),H1()}r=Y1(r),t=Y1(t);var h=n.individualDelay;for(u=0;u<i;u++){var d=h?Object(x["i"])({delay:(n.delay||0)+h(u,i,r[u],t[u])},n):n;N1(r[u],t[u],d)}return{fromIndividuals:r,toIndividuals:t,count:t.length}}function B1(e){return Object(x["t"])(e[0])}function V1(e,t){for(var n=[],i=e.length,r=0;r<i;r++)n.push({one:e[r],many:[]});for(r=0;r<t.length;r++){var a=t[r].length,o=void 0;for(o=0;o<a;o++)n[o%i].many.push(t[r][o])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}a=l.length;var u=Math.ceil(a/2);n[r].many=l.slice(u,a),n[s].many=l.slice(0,u),s++}return n}var G1={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),i=0;i<e.count;i++){var r=mm(e.path);r.setStyle("opacity",n),t.push(r)}return t},split:null};function W1(e,t,n,i,r,a){if(e.length&&t.length){var o=au("update",i,r);if(o&&o.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},o);B1(e)&&(s=e,l=t),B1(t)&&(s=t,l=e);for(var h=s?s===e:e.length>t.length,d=s?V1(l,s):V1(h?t:e,[h?e:t]),f=0,p=0;p<d.length;p++)f+=d[p].many.length;var m=0;for(p=0;p<d.length;p++)g(d[p],h,m,f),m+=d[p].many.length}}function g(e,t,i,r,o){var s=e.many,l=e.one;if(1!==s.length||o)for(var h=Object(x["i"])({dividePath:G1[n],individualDelay:u&&function(e,t,n,a){return u(e+i,r)}},c),d=t?j1(s,l,h):F1(l,s,h),f=d.fromIndividuals,p=d.toIndividuals,m=f.length,y=0;y<m;y++){b=u?Object(x["i"])({delay:u(y,m)},c):c;a(f[y],p[y],t?s[y]:e.one,t?e.one:s[y],b)}else{var v=t?s[0]:l,_=t?l:s[0];if(O1(v))g({many:[v],one:_},!0,i,r,!0);else{var b=u?Object(x["i"])({delay:u(i,r)},c):c;N1(v,_,b),a(v,_,v,_,b)}}}}function U1(e){if(!e)return[];if(Object(x["t"])(e)){for(var t=[],n=0;n<e.length;n++)t.push(U1(e[n]));return t}var i=[];return e.traverse((function(e){e instanceof ls&&!e.disableMorphing&&!e.invisible&&!e.ignore&&i.push(e)})),i}var X1=1e4,Z1=0,q1=1,$1=2,J1=qr();function K1(e,t){for(var n=e.dimensions,i=0;i<n.length;i++){var r=e.getDimensionInfo(n[i]);if(r&&0===r.otherDims[t])return n[i]}}function Q1(e,t,n){var i=e.getDimensionInfo(n),r=i&&i.ordinalMeta;if(i){var a=e.get(i.name,t);return r&&r.categories[a]||a+""}}function e0(e,t,n,i){var r=i?"itemChildGroupId":"itemGroupId",a=K1(e,r);if(a){var o=Q1(e,t,a);return o}var s=e.getRawDataItem(t),l=i?"childGroupId":"groupId";return s&&s[l]?s[l]+"":i?void 0:n||e.getId(t)}function t0(e){var t=[];return Object(x["k"])(e,(function(e){var n=e.data,i=e.dataGroupId;if(!(n.count()>X1))for(var r=n.getIndices(),a=0;a<r.length;a++)t.push({data:n,groupId:e0(n,a,i,!1),childGroupId:e0(n,a,i,!0),divide:e.divide,dataIndex:a})})),t}function n0(e,t,n){e.traverse((function(e){e instanceof ls&&lu(e,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})}))}function i0(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function r0(e){e.stopAnimation(),e.isGroup&&e.traverse((function(e){e.stopAnimation()}))}function a0(e,t,n){var i=au("update",n,t);i&&e.traverse((function(e){if(e instanceof eo){var t=pu(e);t&&e.animateFrom({style:t},i)}}))}function o0(e,t){var n=e.length;if(n!==t.length)return!1;for(var i=0;i<n;i++){var r=e[i],a=t[i];if(r.data.getId(r.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}function s0(e,t,n){var i=t0(e),r=t0(t);function a(e,t,n,i,r){(n||e)&&t.animateFrom({style:n&&n!==e?Object(x["m"])(Object(x["m"])({},n.style),e.style):e.style},r)}var o=!1,s=Z1,l=Object(x["f"])(),u=Object(x["f"])();i.forEach((function(e){e.groupId&&l.set(e.groupId,!0),e.childGroupId&&u.set(e.childGroupId,!0)}));for(var c=0;c<r.length;c++){var h=r[c].groupId;if(u.get(h)){s=q1;break}var d=r[c].childGroupId;if(d&&l.get(d)){s=$1;break}}function f(e,t){return function(n){var i=n.data,r=n.dataIndex;return t?i.getId(r):e?s===q1?n.childGroupId:n.groupId:s===$1?n.childGroupId:n.groupId}}var p=o0(i,r),m={};if(!p)for(c=0;c<r.length;c++){var g=r[c],y=g.data.getItemGraphicEl(g.dataIndex);y&&(m[y.id]=!0)}function v(e,t){var n=i[t],s=r[e],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&m[u.id]||c&&(r0(c),u?(r0(u),i0(u),o=!0,W1(U1(u),U1(c),s.divide,l,e,a)):n0(c,l,e)):c&&a0(c,s.dataIndex,l)}new ib(i,r,f(!0,p),f(!1,p),null,"multiple").update(v).updateManyToOne((function(e,t){var n=r[e],s=n.data,l=s.hostModel,u=s.getItemGraphicEl(n.dataIndex),c=Object(x["n"])(Object(x["H"])(t,(function(e){return i[e].data.getItemGraphicEl(i[e].dataIndex)})),(function(e){return e&&e!==u&&!m[e.id]}));u&&(r0(u),c.length?(Object(x["k"])(c,(function(e){r0(e),i0(e)})),o=!0,W1(U1(c),U1(u),n.divide,l,e,a)):n0(u,l,n.dataIndex))})).updateOneToMany((function(e,t){var n=i[t],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!m[s.id]){var l=Object(x["n"])(Object(x["H"])(e,(function(e){return r[e].data.getItemGraphicEl(r[e].dataIndex)})),(function(e){return e&&e!==s})),u=r[e[0]].data.hostModel;l.length&&(Object(x["k"])(l,(function(e){return r0(e)})),s?(r0(s),i0(s),o=!0,W1(U1(s),U1(l),n.divide,u,e[0],a)):Object(x["k"])(l,(function(t){return n0(t,u,e[0])})))}})).updateManyToMany((function(e,t){new ib(t,e,(function(e){return i[e].data.getId(i[e].dataIndex)}),(function(e){return r[e].data.getId(r[e].dataIndex)})).update((function(n,i){v(e[n],t[i])})).execute()})).execute(),o&&Object(x["k"])(t,(function(e){var t=e.data,i=t.hostModel,r=i&&n.getViewOfSeriesModel(i),a=au("update",i,0);r&&i.isAnimationEnabled()&&a&&a.duration>0&&r.group.traverse((function(e){e instanceof ls&&!e.animators.length&&e.animateFrom({style:{opacity:0}},a)}))}))}function l0(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function u0(e){return Object(x["t"])(e)?e.sort().join(","):e}function c0(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function h0(e,t){var n=Object(x["f"])(),i=Object(x["f"])(),r=Object(x["f"])();return Object(x["k"])(e.oldSeries,(function(t,n){var a=e.oldDataGroupIds[n],o=e.oldData[n],s=l0(t),l=u0(s);i.set(l,{dataGroupId:a,data:o}),Object(x["t"])(s)&&Object(x["k"])(s,(function(e){r.set(e,{key:l,dataGroupId:a,data:o})}))})),Object(x["k"])(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),a=e.getData(),o=l0(e),s=u0(o),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:c0(l.data),data:l.data}],newSeries:[{dataGroupId:t,divide:c0(a),data:a}]});else if(Object(x["t"])(o)){0;var u=[];Object(x["k"])(o,(function(e){var t=i.get(e);t.data&&u.push({dataGroupId:t.dataGroupId,divide:c0(t.data),data:t.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:t,data:a,divide:c0(a)}]})}else{var c=r.get(o);if(c){var h=n.get(c.key);h||(h={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:c0(c.data)}],newSeries:[]},n.set(c.key,h)),h.newSeries.push({dataGroupId:t,data:a,divide:c0(a)})}}}})),n}function d0(e,t){for(var n=0;n<e.length;n++){var i=null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id;if(i)return n}}function f0(e,t,n,i){var r=[],a=[];Object(x["k"])(Dr(e.from),(function(e){var n=d0(t.oldSeries,e);n>=0&&r.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:c0(t.oldData[n]),groupIdDim:e.dimension})})),Object(x["k"])(Dr(e.to),(function(e){var i=d0(n.updatedSeries,e);if(i>=0){var r=n.updatedSeries[i].getData();a.push({dataGroupId:t.oldDataGroupIds[i],data:r,divide:c0(r),groupIdDim:e.dimension})}})),r.length>0&&a.length>0&&s0(r,a,i)}function p0(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){Object(x["k"])(Dr(n.seriesTransition),(function(e){Object(x["k"])(Dr(e.to),(function(e){for(var t=n.updatedSeries,i=0;i<t.length;i++)(null!=e.seriesIndex&&e.seriesIndex===t[i].seriesIndex||null!=e.seriesId&&e.seriesId===t[i].id)&&(t[i][Ep]=!0)}))}))})),e.registerUpdateLifecycle("series:transition",(function(e,t,n){var i=J1(t);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)Object(x["k"])(Dr(r),(function(e){f0(e,i,n,t)}));else{var a=h0(i,n);Object(x["k"])(a.keys(),(function(e){var n=a.get(e);s0(n.oldSeries,n.newSeries,t)}))}Object(x["k"])(n.updatedSeries,(function(e){e[Ep]&&(e[Ep]=!1)}))}for(var o=e.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],c=0;c<o.length;c++){var h=o[c].getData();h.count()<X1&&(s.push(o[c]),l.push(o[c].get("dataGroupId")),u.push(h))}}))}IM([gT]),IM([aD]),IM([rA,BA,dO,zk,aI,iE,tP,ON,ZR,rY,mY,xH,QH,yj,Wj,Qj,wF,EF,uB,_B,zB,pG]),IM(dW),IM(rU),IM(nE),IM(kU),IM(_H),IM(jU),IM(rX),IM(BZ),IM(Sq),IM(hW),IM(r$),IM(s$),IM(k$),IM(nJ),IM(pJ),IM(DJ),IM(nK),IM(YK),IM(_K),IM(RK),IM(EQ),IM(TQ),IM(CQ),IM(HQ),IM(n1),IM(_T),IM(p0),IM(rT);var m0=n("c1df"),g0=n.n(m0),y0=(n("fb6a"),n("c298")),v0=n.n(y0),_0={data:function(){return{colorTheme:v0.a,colorDefault:Object.keys(v0.a).map((function(e){return v0.a[e]})).slice(0,14)}}},x0={name:"DtGantt",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},type:{type:String,default:"rectangle",validator:function(e){return["rectangle","point"].includes(e)}},singleTypeColor:{type:Boolean,default:!0},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},yAxisMaxMultiple:{type:Number,default:5},dataZoom:{type:Array,default:function(){return[0,100]}},slideWidth:{type:Number,default:10},slideBackground:String,dataZoomDisabled:Boolean,xAxisName:String,yAxisName:String,yAxisLabelFormatter:Function,grid:{type:Array,default:function(){return[60,100,60,90]}},minTime:String,maxTime:String,enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showMarkline:{type:Boolean,default:!1},autoMarkline:{type:Boolean,default:!0},markLineTime:{type:String},tooltipFormatter:{type:Function},autoTimeLevel:{type:Boolean,default:!1},autoTypeLevel:{type:Boolean,default:!1},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},simpleTime:{type:Boolean,default:!1},xSplitNumber:{type:Number,default:5},labelFontSize:{type:Number,default:12},enableText:{type:Boolean,default:!1},textIndex:{type:Number,default:2},textColor:{type:String,default:"#fff"},renderHeight:{type:Number,default:.2},yAxisWidth:{type:Number},yAxisBreak:{type:String},enableXAxisTooltip:{type:Boolean,default:!1},enableYAxisTooltip:{type:Boolean,default:!1},axisTooltipColor:{type:String,default:"#fff"},axisTooltipBackgroundColor:{type:String,default:"#000"}},data:function(){return{chartInstance:null,markLineValue:"",interval:null,maxXTime:void 0,yAxisId:void 0,xAxisId:void 0}},watch:{data:function(e){var t=this.chartInstance.getOption(),n=this.processData(e),i=n.data,r=n.categories;t.yAxis[0].data=r,t.series[0].data=i,this.chartInstance.setOption(t,!0)},minTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].min=e,this.chartInstance.setOption(t,!0)},maxTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].max=e,this.chartInstance.setOption(t,!0)},markLineTime:function(e){this.markLineValue=e},markLineValue:function(e){if(this.showMarkline){var t=this.chartInstance.getOption();t.series.forEach((function(t){"标线"===t.name&&(t.markLine.data[0].xAxis=e)})),this.chartInstance.setOption(t,!1)}}},mounted:function(){var e=this;this.xAxisId=((new Date).getTime()+(100*Math.random()).toFixed(0)).toString(),this.yAxisId=((new Date).getTime()+(100*Math.random()).toFixed(0)).toString(),this.chartInstance=Nx(this.$refs.chart),this.enableXAxisTooltip&&this.extension(this.chartInstance,this.xAxisId,"xAxis"),this.enableYAxisTooltip&&this.extension(this.chartInstance,this.yAxisId,"yAxis"),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent();var t=this;if(this.showMarkline&&this.autoMarkline){var n=setInterval((function(){var n=t.maxTime?t.maxTime:t.maxXTime;if(g0()(e.markLineValue).isBefore(g0()(n))){var i=g0()(e.markLineValue).add(1,"seconds");e.markLineValue=i.local().format("YYYY-MM-DD HH:mm:ss")}}),1e3);this.$once("hook:beforeDestroy",(function(){window.clearInterval(n)}))}this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize);var e=document.getElementById(this.yAxisId);e&&document.querySelector("html").removeChild(e);var t=document.getElementById(this.xAxisId);t&&document.querySelector("html").removeChild(t)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},calculateTimeLevel:function(e){for(var t=0;t<e.length;t++){var n=1;e[t].data[0].level=1;for(var i=[[e[t].data[0].value]],r=1;r<e[t].data.length;r++){for(var a=!1,o=0;o<i.length;o++){for(var s=!0,l=0;l<i[o].length;l++){var u=g0()(i[o][l][0]),c=g0()(i[o][l][1]),h=g0()(e[t].data[r].value[0]),d=g0()(e[t].data[r].value[1]),f=h.isBetween(u,c),p=d.isBetween(u,c),m=u.isBetween(h,d),g=c.isBetween(h,d);if(f||p||m||g){s=!1;break}}if(s){e[t].data[r].level=o+1,i[o].push(e[t].data[r].value),a=!0;break}}a||(n+=1,e[t].data[r].level=n,i.push([e[t].data[r].value]))}e[t].total=n}return e},calculateTypeLevel:function(e){for(var t=0;t<e.length;t++){var n=1;e[t].data[0].level=1;for(var i=[e[t].data[0].name],r=1;r<e[t].data.length;r++){var a=i.indexOf(e[t].data[r].name);-1!==a?e[t].data[r].level=a+1:(n+=1,e[t].data[r].level=n,i.push(e[t].data[r].name))}e[t].total=n}return e},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processData:function(e){var t=this;this.autoTimeLevel&&(e=this.calculateTimeLevel(e)),this.autoTypeLevel&&(e=this.calculateTypeLevel(e));var n=Object.keys(this.colors).length>0,i=[],r=[],a=[];e.map((function(e,o){if(i.push(e.name),e.data){var s=e.data.map((function(i,r){var s;if(t.maxXTime?t.maxXTime=g0()(i.value[1]).isAfter(g0()(t.maxXTime))?g0()(i.value[1]).local().format("YYYY-MM-DD HH:mm:ss"):t.maxXTime:t.maxXTime=g0()(i.value[1]).local().format("YYYY-MM-DD HH:mm:ss"),n)s=t.singleTypeColor?t.colors[i.name]:t.colors[e.name];else{a.includes(i.name)||a.push(i.name);var l=a.findIndex((function(e){return i.name===e}))%7;s=t.colorDefault[l]}return"rectangle"===t.type?{name:i.name,value:[o,new Date(i.value[0]).getTime(),new Date(i.value[1]).getTime(),"".concat(i.value[0]," ~ ").concat(i.value[1]),e.total,i.level,i.value[t.textIndex]],rawItem:i,itemStyle:{color:s}}:"point"===t.type?{name:i.name,value:[o,new Date(i.value).getTime(),i.value],rawItem:i,itemStyle:{color:s}}:void 0}));r=r.concat(s)}}));var o=this.yAxisMaxMultiple-e.length;if(o>0)for(var s=0;s<o;s++)i.push("");return{categories:i,data:r}},chartOption:function(){var e,t,n=this,i=null;if(i=this.simpleTime?function(e){var t=g0()(e),n=t.hour(),i=t.minute(),r=t.seconds();return 0===n&&0===i&&0===r?"".concat(t.format("YYYY-MM-DD"),"\n").concat(t.format("HH:mm:ss")):t.format("HH:mm:ss")}:this.timeFormatter,"rectangle"===this.type){var r=this.processData(this.data);e=r.data,t=r.categories}else if("point"===this.type){var a=this.processData(this.data);e=a.data,t=a.categories}var o=[{type:"custom",renderItem:function(e,t){if("rectangle"===n.type){var i=t.value(0),r=t.coord([t.value(1),i]),a=t.coord([t.value(2),i]),o=t.size([0,1])[1]*n.renderHeight;t.value(4)&&t.value(4)>4&&(o=t.size([0,1])[1]/t.value(4));var s=o,u=.9*o,c=r[1]-s/2;t.value(4)&&t.value(5)&&(c=r[1]-t.value(4)*s*.5-1*s+t.value(5)*s);var h=l.clipRectByRect({x:r[0],y:c,width:a[0]-r[0],height:u},{x:e.coordSys.x,y:e.coordSys.y,width:e.coordSys.width,height:e.coordSys.height}),d=h&&{type:"rect",shape:h,style:{fill:t.visual("color"),text:n.enableText?t.value(6):void 0,textFill:n.textColor},styleEmphasis:{}};return d}if("point"===n.type){var f=t.value(0),p=t.coord([t.value(1),f]),m={type:"circle",shape:{cx:p[0],cy:p[1],r:3},style:{fill:t.visual("color")},textContent:{},styleEmphasis:{}};return m}},encode:{x:[1,2],y:0},data:e}];if(this.markLineValue=this.markLineTime?this.markLineTime:g0()().local().format("YYYY-MM-DD HH:mm:ss"),this.showMarkline){var s=this.markLineValue;o.push({name:"标线",type:"line",tooltip:{show:!1},markLine:{animation:!1,symbol:"",tooltip:{show:!0,formatter:function(e){return'<div style="display: flex;">\n <span>'.concat("当前时间: ",'<i style="width: 10px; display: inline-block;"></i>',g0()(e.value).format("YYYY-MM-DD HH:mm:ss"),"\n </span>\n </div>")}},data:[{xAxis:s,label:{show:!1},lineStyle:{width:1,type:"solid",color:this.colorTheme.cyan}}]}})}var u=this,c=function(e){return"rectangle"===u.type?'<div style="display: flex;">\n <span>\n <span style="background-color: '.concat(e.color,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n <span>').concat(e.name,'<i style="width: 10px; display: inline-block;"></i>').concat(g0()(e.value[1]).format("YYYY-MM-DD HH:mm:ss")," ~ ").concat(g0()(e.value[2]).format("YYYY-MM-DD HH:mm:ss"),"</span>\n </span>\n </div>"):"point"===u.type?'<div style="display: flex;">\n <span>\n <span style="background-color: '.concat(e.color,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n <span>').concat(e.name,'<i style="width: 10px; display: inline-block;"></i>').concat(e.value[2],"</span>\n </span>\n </div>"):void 0};return{tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},confine:!0,formatter:this.tooltipFormatter?this.tooltipFormatter:c},legend:{show:!1},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{type:"time",name:this.xAxisName,min:this.minTime,max:this.maxTime,splitNumber:this.xSplitNumber,triggerEvent:this.enableXAxisTooltip,nameTextStyle:{color:this.colorTheme.text,fontSize:12},axisLabel:{color:this.colorTheme.text,margin:15,formatter:i,fontSize:this.labelFontSize},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{show:!1},axisTick:{show:!0}},yAxis:{name:this.yAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},nameLocation:"start",inverse:!0,triggerEvent:this.enableYAxisTooltip,data:t,axisLabel:{interval:0,margin:15,width:this.yAxisWidth,overflow:this.yAxisBreak,color:this.colorTheme.text,fontSize:this.labelFontSize,formatter:this.yAxisLabelFormatter||null},axisLine:{lineStyle:{width:1,color:this.colorTheme.axisLine}},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}}},dataZoom:[{type:"inside",show:!this.dataZoomDisabled,xAxisIndex:[0],start:this.dataZoom[0],end:this.dataZoom[1],disabled:this.dataZoomDisabled,filterMode:"none"},{type:"slider",show:!this.dataZoomDisabled,yAxisIndex:[0],startValue:0,endValue:this.yAxisMaxMultiple-1,width:this.slideWidth,backgroundColor:this.colorTheme.background,borderColor:"transparent",fillerColor:this.slideBackground?this.slideBackground:this.colorTheme.axisLine,handleSize:0,moveHandleSize:0,textStyle:{color:"transparent"},zoomLock:!0,disabled:this.dataZoomDisabled,filterMode:"none",rangeMode:["value","value"],brushSelect:!1}],series:o}},extension:function(e,t,n){var i=document.getElementById(t);if(!i){var r=document.createElement("div");r.setAttribute("id",t),r.style.display="none",document.querySelector("html").appendChild(r)}var a=this,o=function(e){var n=document.getElementById(t),i=e.pageX-10,r=e.pageY+15;n.style.top=r+"px",n.style.left=i+"px"};e.on("mouseover",(function(e){if(e.componentType===n){var i=document.getElementById(t),r="position: absolute;z-index: 99999;color: ".concat(a.axisTooltipColor,";font-size: 12px;padding: 5px;display: inline;border-radius: 4px;background-color: ").concat(a.axisTooltipBackgroundColor,";");i.style.cssText=r,i.innerHTML=e.value,document.querySelector("html").addEventListener("mousemove",o)}})),e.on("mouseout",(function(e){if(e.componentType===n){var i=document.getElementById(t);i.style.cssText="display:none",document.querySelector("html").removeEventListener("mousemove",o)}}))}}},b0=x0;function w0(e,t,n,i,r,a,o,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),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 h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}var M0=w0(b0,ST,TT,!1,null,null,null),S0=M0.exports;S0.install=function(e){e.component(S0.name,S0)};var T0=S0,L0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},D0=[];function A0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function O0(e){if(Array.isArray(e))return A0(e)}n("e01a"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("a630");function k0(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function I0(e,t){if(e){if("string"===typeof e)return A0(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)?A0(e,t):void 0}}function C0(){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 E0(e){return O0(e)||k0(e)||I0(e)||C0()}var P0={name:"DtPolar",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},type:{type:String,default:"line",validator:function(e){return["line","scatter"].includes(e)}},colors:{type:Object,default:function(){return{}}},singleColor:String,borderColor:{type:String},interval:{type:Number,default:30},labelFontSize:{type:Number,default:12},angleAxisLineColor:{type:String},angleTickColor:{type:String},angleSplitColor:{type:String},radiusSplitColor:{type:String},scatterLabelShow:{type:Boolean,default:!1},scatterLabelStyle:{type:Object,default:function(){return{position:"bottom",color:"#ffffff",fontSize:12}}},labelFormatter:Function},data:function(){return{chartInstance:null}},watch:{data:{handler:function(e){this.chartInstance.setOption(this.chartOption(),!0)},deep:!0}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption())},methods:{processSeries:function(){var e=this,t=this.data.map((function(t,n){var i=e.singleColor?e.singleColor:e.colors[t.name]||e.colorDefault[n];return{name:t.name,coordinateSystem:"polar",type:e.type,showSymbol:"scatter"===e.type,symbolSize:8,smooth:!0,data:t.data,itemStyle:{color:i},lineStyle:{width:2*(n+1),color:i},label:{show:e.scatterLabelShow,position:e.scatterLabelStyle.position,color:e.scatterLabelStyle.color,fontSize:e.scatterLabelStyle.fontSize,formatter:e.labelFormatter}}}));return t},chartOption:function(){var e=this,t=this.processSeries();return{polar:{center:["50%","50%"],radius:"75%"},tooltip:{trigger:"axis",confine:!0,axisPointer:{type:"shadow"},backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},formatter:function(e){var t="";return e.forEach((function(e){t+='<div style="display: flex;">\n <span>\n <span style="background-color: '.concat(e.color,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n <span>').concat(e.seriesName,'<i style="width: 5px; display: inline-block;"></i>').concat(e.value[0],'<i style="width: 5px; display: inline-block;"></i>').concat(e.value[1],"</span>\n </span>\n </div>")})),t}},angleAxis:{type:"value",min:0,max:360,startAngle:90,interval:this.interval,data:[0,90,180,360],z:1,axisLine:{lineStyle:{width:3,color:this.angleAxisLineColor?this.angleAxisLineColor:this.colorTheme.axisLine}},axisTick:{inside:!0,length:6,lineStyle:{width:3,color:this.angleTickColor?this.angleTickColor:this.colorTheme.axisLine}},splitLine:{lineStyle:{width:1,color:this.angleSplitColor?this.angleSplitColor:this.colorTheme.axisLine}},axisLabel:{color:this.colorTheme.text,fontSize:this.labelFontSize,margin:12},axisPointer:{lineStyle:{width:1,color:this.colorTheme.axisLine}}},radiusAxis:{min:0,max:90,inverse:!0,interval:30,z:1,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{width:1,color:this.radiusSplitColor?this.radiusSplitColor:this.colorTheme.axisLine}},axisLabel:{show:!1,margin:0,color:this.colorTheme.axisLine},axisPointer:{lineStyle:{width:1,color:this.colorTheme.axisLine}}},series:[{type:"pie",startAngle:1,data:Array.apply(null,{length:180}).map((function(t,n){return{value:1,name:n,itemStyle:{color:e.colorTheme.axisLine}}})),z:-1,radius:["68%","75%"],itemStyle:{borderColor:this.borderColor||this.colorTheme.black,borderWidth:3},label:{position:"inside",show:!1}}].concat(E0(t))}}}},N0=P0,R0=w0(N0,L0,D0,!1,null,null,null),Y0=R0.exports;Y0.install=function(e){e.component(Y0.name,Y0)};var z0=Y0,H0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},j0=[];n("7db0");function F0(e){return F0="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},F0(e)}n("a15b");function B0(e,t){var n=e.toLowerCase(),i=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(n&&i.test(n)){if(4===n.length){for(var r="#",a=1;a<4;a+=1)r+=n.slice(a,a+1).concat(n.slice(a,a+1));n=r}var o=[];for(a=1;a<7;a+=2)o.push(parseInt("0x"+n.slice(a,a+2)));return"rgba("+o.join(",")+","+t+")"}return n}function V0(e,t,n){var i=[],r=new Date(e),a=new Date(t),o=l(r);while(o<a){i.push(c(o));var s=+o.getHours();o.setHours(s+12)}function l(e){var t=+e.getHours(),n=+e.getDate();return t>=0&&t<6?(i.push(c(e)),e.setHours(6),e):t>=18&&t<24?(i.push(c(e)),e.setDate(n+1),e.setHours(6),e):(e.setHours(18),e)}function u(e){var t=+e.getHours(),n=+e.getDate();return t>=0&&t<=6?(i.push(c(e)),e.setHours(6),e):t>=18&&t<24?(i.push(c(e)),e.setDate(n+1),e.setHours(6),e):(e.setHours(18),e)}function c(e){var t=new Date(e),n=t.getFullYear(),i=("0"+(t.getMonth()+1)).slice(-2),r=("0"+t.getDate()).slice(-2),a=("0"+t.getHours()).slice(-2),o=("0"+t.getMinutes()).slice(-2),s=("0"+t.getSeconds()).slice(-2);return"".concat(n,"-").concat(i,"-").concat(r," ").concat(a,":").concat(o,":").concat(s)}return u(a),i}function G0(e){var t=e&&"object"===F0(e);return t&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function W0(e){return Array.isArray(e)?[]:{}}function U0(e,t){var n=t&&!0===t.clone;return n&&G0(e)?q0(W0(e),e,t):e}function X0(e,t,n){return t}function Z0(e,t,n){var i={};return G0(e)&&Object.keys(e).forEach((function(t){i[t]=U0(e[t],n)})),Object.keys(t).forEach((function(r){G0(t[r])&&e[r]?i[r]=q0(e[r],t[r],n):i[r]=U0(t[r],n)})),i}function q0(e,t,n){var i=Array.isArray(t),r=n||{arrayMerge:X0},a=r.arrayMerge||X0;return i?Array.isArray(e)?a(e,t,n):U0(t,n):Z0(e,t,n)}function $0(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.apply(r,i)}),t)}}q0.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 q0(e,n,t)}))};var J0={name:"DtPolarCommon",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},polar:{type:Array,default:function(){return[{}]}},baseSeries:{type:Array,default:function(){return[{}]}},showBase:{type:Boolean,default:!1},radiusAxis:{type:Array,default:function(){return[{}]}},angleAxis:{type:Array,default:function(){return[{}]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,markLineValue:"",maxXTime:void 0,defaultTitle:{show:!1,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!1,orient:"horizontal",icon:"rect"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60,borderWidth:0},defaultBaseSeries:{type:"pie",startAngle:1,data:Array.apply(null,{length:20}).map((function(e,t){return{value:1,name:t}})),z:-1,radius:["42%","49%"],itemStyle:{color:"#5f7090",borderColor:"#282c34",borderWidth:3},label:{position:"inside",show:!1}},defaultPolar:{center:["50%","50%"],radius:"78%"},defaultRadiusAxis:{min:0,max:90,inverse:!0,interval:30,z:1,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{width:1,color:"#5f7090"}},axisLabel:{show:!1},axisPointer:{lineStyle:{width:1,color:"#5f7090"}}},defaultAngleAxis:{type:"value",min:0,max:360,startAngle:90,interval:30,data:[0,90,180,360],z:1,axisLine:{lineStyle:{width:3,color:"#5f7090"}},axisTick:{inside:!0,length:6,lineStyle:{width:3,color:"#5f7090"}},splitLine:{lineStyle:{width:1,color:"#5f7090"}},axisLabel:{color:"#5f7090",fontSize:12,margin:12},axisPointer:{lineStyle:{width:1,color:"#5f7090"}}},defaultTooltip:{show:!0,trigger:"item",axisPointer:{type:"shadow"},triggerOn:"mousemove"},defaultLine:{symbol:"circle",coordinateSystem:"polar",symbolSize:4,lineStyle:{color:"#fff",width:2,type:"solid"},smooth:!0},defaultScatter:{type:"scatter",coordinateSystem:"polar",symbol:"circle",symbolSize:8,emphasis:{scale:!0}},zoomAxis:[],userXAxis:[],userYAxis:[]}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processLine:function(e){var t=Z0(this.defaultLine,e);return t},processScatter:function(e){var t=Z0(this.defaultScatter,e);return t},chartOption:function(){var e=this,t=[];this.showBase&&this.baseSeries.length&&this.baseSeries.forEach((function(n){t.push(Z0(e.defaultBaseSeries,n))}));var n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=n.type.slice(0,1).toUpperCase()+n.type.slice(1),r=e["process"+i](n);t.push(r)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),a=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),o=Z0(this.defaultTooltip,this.tooltip),s=this.radiusAxis.map((function(t,n){var i=Z0(e.defaultRadiusAxis,t);return i}));this.userXAxis=s;var l=this.angleAxis.map((function(t){return Z0(e.defaultAngleAxis,t)})),u=this.polar.map((function(t){return Z0(e.defaultPolar,t)}));this.userYAxis=l;var c={polar:u,title:i,grid:r,legend:a,tooltip:o,radiusAxis:s,angleAxis:l,series:t};return c},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=this.chartInstance.getOption();n.forEach((function(e){var t=i.series.find((function(t){return t.name===e.name}));t&&(t.data=e.data)}));var r=[];n.forEach((function(e){var n=i.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);r.push(a)}})),r.length&&(i.series=i.series.concat(r)),this.chartInstance.setOption(i,!0)},appendSeries:function(e){var t=this,n=[];e.forEach((function(e){var i=e.type.slice(0,1).toUpperCase()+e.type.slice(1),r=t["process"+i](e);n.push(r)}));var i=this.chartInstance.getOption();i.series=i.series.concat(n),this.chartInstance.setOption(i,!0)},deleteSeries:function(e){var t=this.chartInstance.getOption();t.series=t.series.filter((function(t){return-1===e.indexOf(t.name)})),this.chartInstance.setOption(t,!0)}}},K0=J0,Q0=w0(K0,H0,j0,!1,null,null,null),e2=Q0.exports;e2.install=function(e){e.component(e2.name,e2)};var t2=e2,n2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},i2=[],r2=n("4e91"),a2={name:"DtMap",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},color:{type:String},boundingCoords:{type:Array,default:function(){return[[73,3],[135,65]]}}},data:function(){return{chartInstance:null}},watch:{data:function(e){var t=this.chartInstance.getOption();t.series[0].data=e,this.chartInstance.setOption(t,!0)}},mounted:function(){Jx("china",{geoJSON:r2}),this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption())},methods:{chartOption:function(){return{tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text}},geo:{map:"china",show:!0,roam:!0,zoom:2,boundingCoords:this.boundingCoords,emphasis:{label:{show:!1},itemStyle:{color:this.colorTheme.yellow}},itemStyle:{areaColor:this.colorTheme.blue,borderColor:this.colorTheme.black,shadowColor:"rgba(0, 0, 0, .5)",shadowBlur:15}},series:[{type:"effectScatter",coordinateSystem:"geo",data:this.data,symbolSize:function(e){return e[2]/2},showEffectOn:"render",rippleEffect:{brushType:"stroke"},emphasis:{scale:!0},label:{formatter:"{b}",position:"right",show:!0},itemStyle:{color:this.color||this.colorTheme.yellow,shadowBlur:10},zlevel:1}]}},convertData:function(e){var t=this,n=e.map((function(e){var n=t.geoCoordMap[e.name];return{name:e.name,value:n.concat(e.value)}}));return n}}},o2=a2,s2=w0(o2,n2,i2,!1,null,null,null),l2=s2.exports;l2.install=function(e){e.component(l2.name,l2)};var u2=l2,c2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},h2=[],d2={name:"DtPie",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},seriesCenterX:{type:String,default:"50%"},seriesCenterY:{type:String,default:"50%"},type:{type:String,default:"circle",validator:function(e){return["circle","cyclic"].includes(e)}},colors:{type:Object,default:function(){return{}}},showLabel:{type:Boolean,default:!0},labelFormatter:[Function,String],labelPosition:{type:[String,Array],default:"top"},borderWidth:{type:Number,default:0},borderColor:{type:String},legendOrient:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},legendBottom:{type:String},showLegend:{type:Boolean,default:!0},showLegendRate:Boolean,confineTooltip:{type:Boolean,default:!1},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendType:{type:String,default:"plain",validator:function(e){return["plain","scroll"].includes(e)}},legendSelected:{type:Object,default:function(){}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showTitle:{type:Boolean,default:!1},titleText:{type:String},titleColor:{type:String,default:"rgb(250, 41, 41)"},titleSize:{type:[Number,String],default:24},subTitleText:{type:[String,Number],default:""},subTitleColor:{type:String,default:"rgb(250, 41, 41)"},subTitleSize:{type:Number,default:18},titleLeft:{type:String,default:"center"},titleTop:{type:String,default:"center"},radius:{type:Array},simpleLabel:{type:Boolean,default:!1},toFixed:{type:Number,default:2},tooltipUnit:{type:String,default:""},lineOrTextColors:{type:null|Object,default:null},roseType:{type:Boolean|String,default:!1},tooltipFormatter:[Function,String]},data:function(){return{chartInstance:null,resizeTimer:null}},watch:{data:function(e){var t=this.chartInstance.getOption();t.series[0].data=e,this.chartInstance.setOption(t,!0)},showLabel:function(e){var t=this.chartInstance.getOption();t.series.forEach((function(t,n){t.label.show=e,t.labelLine.show=e})),this.chartInstance.setOption(t,!0)},subTitleText:function(e){var t=this.chartInstance.getOption();t.title[0].subtext="{a|".concat(e,"}"),this.chartInstance.setOption(t,!0)}},mounted:function(){var e=this;this.chartInstance=Nx(this.$refs.chart),this.chartInstance.on("finished",(function(){e.$emit("finish",!0)})),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(window.clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processSeries:function(){var e=this,t=Object.keys(this.colors).length>0;return[{type:"pie",center:[this.seriesCenterX,this.seriesCenterY],radius:this.radius?this.radius:"circle"===this.type?["0%","60%"]:["45%","65%"],itemStyle:{borderColor:this.borderColor||this.colorTheme.black,borderWidth:this.borderWidth,color:function(n){var r;return r=t?e.colors[n.name]||e.colorDefault[i%14]:e.colorDefault[n.dataIndex%14],r}},roseType:this.roseType,label:{show:this.showLabel,formatter:this.labelFormatter||function(t){return e.simpleLabel?"".concat(t.percent.toFixed(e.toFixed),"%"):"".concat(t.name," ").concat(t.percent.toFixed(e.toFixed),"%")},color:this.lineOrTextColors?this.lineOrTextColors.text:this.colorTheme.text,position:this.labelPosition},labelLine:{show:this.showLabel,length:20,length2:30,lineStyle:{width:1}},data:this.data}]},chartOption:function(){var e=this,t=this.processSeries(),n=this;return{tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,appendToBody:!0,textStyle:{color:this.colorTheme.text},confine:!0,formatter:this.tooltipFormatter||function(t){return'<div style="display: flex;">\n <span>\n <span style="background-color: '.concat(t.color,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n <span style="color: ').concat(e.colorTheme.text,'">').concat(t.name,'<i style="width: 10px; display: inline-block;"></i>').concat(t.value).concat(n.tooltipUnit,", ").concat(t.percent.toFixed(e.toFixed),"%</span>\n </span>\n </div>")}},legend:{type:this.legendType,show:this.showLegend,orient:this.legendOrient,itemHeight:12,top:this.legendBottom?"auto":"horizontal"===this.legendOrient?5:"center",left:"horizontal"===this.legendOrient?"center":20,bottom:this.legendBottom,icon:this.legendIcon,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},formatter:this.showLegendRate?function(t){var n=e.data.reduce((function(e,t){return e+t.value}),0),i=e.data.find((function(e){return e.name===t})).value,r=+(i/n*100).toFixed(2);return"".concat(t," ").concat(0===r?"":r+"%")}:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:12,height:9,rich:{a:{verticalAlign:"bottom"}}},selected:this.legendSelected},title:{show:this.showTitle,text:this.titleText,textStyle:{color:this.titleColor,fontSize:this.titleSize},triggerEvent:!0,subtext:"{a|".concat(this.subTitleText,"}"),subtextStyle:{rich:{a:{color:this.subTitleColor,fontSize:this.subTitleSize,width:58,align:"center"}}},left:this.titleLeft,top:this.titleTop},series:t}}}},f2=d2,p2=w0(f2,c2,h2,!1,null,null,null),m2=p2.exports;m2.install=function(e){e.component(m2.name,m2)};var g2=m2,y2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},v2=[],_2=(n("a434"),{name:"DtLine",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},regionData:{type:Array,default:function(){return[]}},regionColor:{type:String,default:"rgba(250, 252, 174, 0.4)"},axisTick:{type:Boolean,default:!0},colors:{type:Object,default:function(){return{}}},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},smooth:{type:Boolean,default:!1},xMarkLine:{type:String||Number,default:void 0},dataZoom:{type:Array,default:function(){return[0,100]}},effect:{type:Boolean,default:!1},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},grid:{type:Array,default:function(){return[60,100,60,90]}},showArea:{type:Boolean,default:!0},legendType:{type:String,default:"scroll"},legendTop:{type:String,default:"top"},legendLeft:{type:String,default:"center"},legendRight:{type:String|Number},yMin:{type:Number},yMax:{type:Number},yInterval:{type:Number,default:-1},yAxisLabelFormatter:Function,showYAxisLine:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},showXsplitLine:{type:Boolean,default:!1},xSplitLineType:{type:String,default:"solid"},showYsplitLine:{type:Boolean,default:!0},ySplitLineType:{type:String,default:"solid"},xAxisLineColor:{type:String},xAxisNameLocation:{type:String,default:"end"},yAxisNameLocation:{type:String,default:"end"},xAxisNameGap:{type:Number,default:40},yAxisNameGap:{type:Number,default:40},xAxisLabelColor:{type:String},yAxisLabelColor:{type:String},splitLineColor:{type:String},axisLineColor:{type:String},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},simpleTime:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},hasScatter:{type:Boolean,default:!1},scatterData:{type:Array,default:function(){return[]}},symbolSize:{type:Number,default:5},symbolScale:{type:Number},scatterColors:{type:Object,default:function(){return{}}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showMarkline:{type:Boolean,default:!1},autoMarkline:{type:Boolean,default:!0},markLineTime:{type:String|Date},showTooltips:{type:Boolean,default:!0},tooltipTrigger:{type:String,default:"axis"},tooltipFormatter:{type:Function},minX:{type:String},maxX:{type:String},legendWidth:{type:String,default:"auto"},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendSelected:{type:Object,default:function(){}},xLabelType:{type:String,default:"full"},showXais:{type:Boolean,default:!0},enableZoom:{type:Boolean,default:!0},yAxisType:{type:String,default:"value"},dataZoomEnable:{type:Boolean,default:!1},labelFontSize:{type:Number,default:12},lineStyleType:{type:Object,default:function(){return{}}},ySplitNumber:{type:Number,default:5},animation:{type:Boolean,default:!0}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,markLineValue:"",maxXTime:void 0}},watch:{data:{handler:function(e){var t=this;this.chartInstance.setOption(this.chartOption());var n=this.chartInstance.getOption();n.series.length;n.series.forEach((function(n){var i=e.find((function(e){return e.name===n.name}));if(t.timeAxis){if("line"===n.type)n.data=(null===i||void 0===i?void 0:i.data)||[];else if("lines"===n.type){var r=[];null===i||void 0===i||i.data.forEach((function(e,t){var n;r.push({coords:[null===i||void 0===i?void 0:i.data[t],(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n[t+1])||[void 0,void 0]]})})),n.data=r}}else if("line"===n.type)n.data=(null===i||void 0===i?void 0:i.data)||[];else if("lines"===n.type){var a=[];null===i||void 0===i||i.data.forEach((function(e,t){a.push({coords:[[t,e],[t+1,null===i||void 0===i?void 0:i.data[t+1]]]})})),n.data=a}})),e.forEach((function(e,i){for(var r=!1,a=0;a<n.series.length;a++)if(e.name===n.series[a].name){r=!0;break}if(!r){if(t.timeAxis)if(t.effect){var o;o=colorConfig&&t.colors[e.name]||t.colorDefault[i];var s=[];e.data.forEach((function(t,n){var i;s.push({coords:[e.data[n],(null===(i=e.data)||void 0===i?void 0:i[n+1])||[void 0,void 0]]})})),series.push(t.lineSeries(e.name,t.smooth,o,e.data),t.pathSeries(e.name,o,s,i+1))}else{var l;l=colorConfig&&t.colors[e.name]||t.colorDefault[i],series.push(t.lineSeries(e.name,t.smooth,l,e.data))}else if(t.effect){var u;u=colorConfig&&t.colors[e.name]||t.colorDefault[i];var c=[];e.data.forEach((function(t,n){c.push({coords:[[n,t],[n+1,e.data[n+1]]]})})),series.push(t.lineSeries(e.name,t.smooth,u,e.data),t.pathSeries(e.name,u,c,i+1))}else{var h;h=colorConfig&&t.colors[e.name]||t.colorDefault[i],series.push(t.lineSeries(e.name,t.smooth,h,e.data))}n.series.push(t.barSeries(e.name,_0,e.data))}})),e.forEach((function(e){t.maxXTime&&e.data.length>0?t.maxXTime=g0()(e.data[e.data.length-1]).isAfter(g0()(t.maxXTime))?g0()(e.data[e.data.length-1]).local().format("YYYY-MM-DD HH:mm:ss"):t.maxXTime:e.data.length>0&&(t.maxXTime=g0()(e.data[e.data.length-1]).local().format("YYYY-MM-DD HH:mm:ss"))})),this.chartInstance.setOption(n)},deep:!0},regionData:function(e){var t=this,n=this.chartInstance.getOption(),i=n.series.findIndex((function(e,t,n){return"标注"===e.name})),r=[],a=[];e.forEach((function(e){a.push([e.data[0],0],[e.data[1],0]),r.push([{xAxis:e.data[0],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}},{xAxis:e.data[1],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}}])})),-1!==i?(n.series[i].data=a,n.series[i].markArea.data=r,this.chartInstance.setOption(n,!0)):this.chartInstance.setOption(this.chartOption())},scatterData:function(e){var t=this.chartInstance.getOption();t.series.forEach((function(n,i){var r=e.find((function(e){return e.name===n.name}));r?n.data=null===r||void 0===r?void 0:r.data:t.series.splice(i,1)})),this.chartInstance.setOption(t,!0)},colors:function(e){this.chartInstance.setOption(this.chartOption())},scatterColors:function(e){this.chartInstance.setOption(this.chartOption())},markLineTime:function(e){this.markLineValue=e},markLineValue:function(e){if(this.showMarkline){var t=this.chartInstance.getOption();t.series.forEach((function(t){"标线"===t.name&&(t.markLine.data[0].xAxis=e)})),this.chartInstance.setOption(t,!1)}},minX:function(e){var t=this.chartInstance.getOption();t.xAxis.forEach((function(t){t.min=e})),this.chartInstance.setOption(t,!0)},maxX:function(e){var t=this.chartInstance.getOption();t.xAxis.forEach((function(t){t.max=e})),this.chartInstance.setOption(t,!0)},categorys:function(e){var t=this.chartInstance.getOption();t.xAxis.forEach((function(t){t.data=e})),this.chartInstance.setOption(t,!0)}},mounted:function(){var e=this;if(this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.dataZoomEnable&&this.drawChartOnDataRoom(),this.showMarkline&&this.autoMarkline){var t=setInterval((function(){var t=e.maxX?e.maxX:e.maxXTime;if(g0()(e.markLineValue).isBefore(g0()(t))){var n=g0()(e.markLineValue).add(1,"seconds");e.markLineValue=n.local().format("YYYY-MM-DD HH:mm:ss")}}),1e3);this.$once("hook:beforeDestroy",(function(){window.clearInterval(t)}))}this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{drawChartOnDataRoom:function(){var e=this;this.chartInstance.on("datazoom",$0((function(t){e.chartOption.animation=!1;var n=e.chartInstance.getOption().dataZoom,i=null===n||void 0===n?void 0:n[0],r=i.startValue,a=i.endValue,o=g0()(r).format("YYYY-MM-DDTHH:mm:ss")+"Z",s=g0()(a).format("YYYY-MM-DDTHH:mm:ss")+"Z",l=t.batch[0],u=l.start,c=l.end;if(0===u&&100===c){var h=0,d=a-r;d<DURATION.DAY_DURATION?h=DURATION.HOUR_DURATION:d>=DURATION.DAY_DURATION&&d<DURATION.WEEK_DURATION?h=DURATION.DAY_DURATION:d>=DURATION.WEEK_DURATION&&d<DURATION.MONTH_DURATION?h=DURATION.WEEK_DURATION:d>=DURATION.MONTH_DURATION&&d<DURATION.YEAR_DURATION?h=DURATION.MONTH_DURATION:d>=DURATION.YEAR_DURATION&&(h=DURATION.YEAR_DURATION),o=g0()(r-h).format("YYYY-MM-DDTHH:mm:ss")+"Z",s=g0()(a+h).format("YYYY-MM-DDTHH:mm:ss")+"Z",e.modfiyMinAndMaxTime(o,s)}e.$emit("timeChange",o,s,t)}),500))},echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;this.timeAxis?this.effect?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r%14];var o=[];i.data.forEach((function(e,t){var n;o.push({coords:[i.data[t],(null===(n=i.data)||void 0===n?void 0:n[t+1])||[void 0,void 0]]})})),e.maxXTime&&i.data.length>0?e.maxXTime=g0()(i.data[i.data.length-1][0]).isAfter(g0()(e.maxXTime))?g0()(i.data[i.data.length-1][0]).local().format("YYYY-MM-DD HH:mm:ss"):e.maxXTime:i.data.length>0&&(e.maxXTime=g0()(i.data[i.data.length-1][0]).local().format("YYYY-MM-DD HH:mm:ss")),t.push(e.lineSeries(i.name,e.smooth,a,i.data),e.pathSeries(i.name,a,o,r+1))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r%14],e.maxXTime&&i.data.length>0?e.maxXTime=g0()(i.data[i.data.length-1][0]).isAfter(g0()(e.maxXTime))?g0()(i.data[i.data.length-1][0]).local().format("YYYY-MM-DD HH:mm:ss"):e.maxXTime:i.data.length>0&&(e.maxXTime=g0()(i.data[i.data.length-1][0]).local().format("YYYY-MM-DD HH:mm:ss")),t.push(e.lineSeries(i.name,e.smooth,a,i.data))})):this.effect?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r%14];var o=[];i.data.forEach((function(e,t){o.push({coords:[[t,e],[t+1,i.data[t+1]]]})})),t.push(e.lineSeries(i.name,e.smooth,a,i.data),e.pathSeries(i.name,a,o,r+1))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r%14],t.push(e.lineSeries(i.name,e.smooth,a,i.data))}));var i=Object.keys(this.scatterColors).length>0;return this.hasScatter&&this.scatterData.length>0&&(this.timeAxis,this.scatterData.forEach((function(n,r){var a;a=i&&e.scatterColors[n.name]||e.colorDefault[r%14],t.push(e.scatterSeries(n.name,a,n.data))}))),this.regionData.length>0&&t.push(this.regionSeries(this.regionData)),this.showMarkline&&t.push(this.marklineSeries()),t},pathSeries:function(e,t,n,i){return{name:e,type:"lines",coordinateSystem:"cartesian2d",zlevel:i,effect:{show:!0,period:2,symbolSize:5,trailLength:.3},lineStyle:{type:"solid",color:t,width:0,opacity:0,curveness:0},data:n}},lineSeries:function(e,t,n,i){var r={color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:B0(n,.6)},{offset:1,color:B0(n,0)}],global:!1},shadowColor:"rgba(0, 0, 0, 0.1)",shadowBlur:10};return{name:e,type:"line",smooth:t,sampling:"lttb",symbolSize:this.symbolSize,areaStyle:this.showArea?r:null,itemStyle:{color:n},lineStyle:{width:1,type:this.lineStyleType[e]},animation:this.animation,data:i}},scatterSeries:function(e,t,n){var i=this;return{name:e,type:"scatter",symbolSize:function(e){return i.symbolScale?i.timeAxis?e[1]:e/i.symbolScale:i.symbolSize},itemStyle:{color:t},data:n}},regionSeries:function(e){var t=this,n=[],i=[];return e.forEach((function(e){i.push([e.data[0],0],[e.data[1],0]),n.push([{xAxis:e.data[0],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}},{xAxis:e.data[1],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}}])})),{name:"标注",type:"line",symbol:"none",areaStyle:{opacity:0},itemStyle:{opacity:0},z:0,tooltip:{show:!1},lineStyle:{width:0,opacity:0},label:{show:!1},markArea:{label:{show:!0,position:"top",color:"#fff"},data:n},data:i}},marklineSeries:function(){this.markLineValue=this.markLineTime?this.markLineTime:g0()().local().format("YYYY-MM-DD HH:mm:ss");var e=this.markLineValue;return{name:"标线",type:"line",tooltip:{show:!1},markLine:{animation:!1,symbol:"",emphasis:{disabled:!0,lineStyle:{width:1}},tooltip:{show:!1,formatter:function(e){return'<div style="display: flex;">\n <span style="font-size:12px">'.concat("当前时间: ",g0()(e.value).format("HH:mm:ss"),"\n </span>\n </div>")}},data:[{xAxis:e,label:{show:!0,color:"#fff",textBorderColor:"transparent",formatter:function(e){return g0()(e.value).format("MM-DD HH:mm:ss")}},lineStyle:{width:1,type:[2,2],color:this.colorTheme.white}}]}}},chartOption:function(){var e=this,t=this.processSeries(),n={trigger:this.tooltipTrigger,backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},axisPointer:{lineStyle:{color:this.colorTheme.blue}},formatter:this.tooltipFormatter||null,confine:!0},i=this.data.map((function(e){return e.name}));this.hasScatter&&(i=i.concat(this.scatterData.map((function(e){return e.name}))));var r={type:this.legendType,show:this.showLegend,data:i,top:this.legendTop?this.legendTop:5,left:this.legendRight?"auto":this.legendLeft,right:this.legendRight,icon:this.legendIcon,width:this.legendWidth,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:12,height:10,rich:{a:{verticalAlign:"bottom"}}},itemWidth:12,itemHeight:12};this.legendSelected&&(r.selected=this.legendSelected);var a=null;this.timeAxis&&(a=this.simpleTime?function(t){var n=g0()(t),i=n.year(),r=n.month(),a=n.hour(),o=n.minute(),s=n.seconds(),l="";switch(e.xLabelType){case"full":l=0===a&&0===o&&0===s?"".concat(n.format("YYYY-MM-DD"),"\n").concat(n.format("HH:mm:ss")):n.format("HH:mm:ss");break;case"ymd":l=n.format("YYYY-MM-DD");break;case"month":l=0===r?i+"年1月":r+1+"月";break;case"minute":l=0===a&&0===o&&0===s?"".concat(n.format("YYYY-MM-DD"),"\n").concat(n.format("HH:mm")):n.format("HH:mm");break;default:break}return l}:this.timeFormatter);var o={name:this.xAxisName,show:this.showXais,nameTextStyle:{color:this.colorTheme.text,fontSize:12},min:this.minX,max:this.maxX,nameGap:this.xAxisNameGap,nameLocation:this.xAxisNameLocation,type:this.timeAxis?"time":"category",boundaryGap:["0.001%","0.001%"],splitNumber:5,axisLabel:{color:this.xAxisLabelColor?this.xAxisLabelColor:this.colorTheme.text,margin:15,formatter:a,fontSize:this.labelFontSize},axisLine:{lineStyle:{color:this.xAxisLineColor?this.xAxisLineColor:this.colorTheme.axisLine}},axisTick:{show:this.axisTick},splitLine:{show:this.showXsplitLine,lineStyle:{width:1,type:this.xSplitLineType,color:this.colorTheme.axisLine}},data:this.categorys},s={name:this.yAxisName,type:this.yAxisType,nameTextStyle:{color:this.colorTheme.text,fontSize:12},nameGap:this.yAxisNameGap,nameLocation:this.yAxisNameLocation,min:this.yMin,max:this.yMax?this.yMax:function(e){return Math.ceil(1.1*e.max)},axisLabel:{margin:15,formatter:this.yAxisLabelFormatter,color:this.yAxisLabelColor?this.yAxisLabelColor:this.colorTheme.text,fontSize:this.labelFontSize},axisLine:{show:this.showYAxisLine,lineStyle:{width:1,color:this.axisLineColor?this.axisLineColor:this.colorTheme.axisLine}},axisTick:{show:this.axisTick},splitNumber:this.ySplitNumber,splitLine:{show:this.showYsplitLine,lineStyle:{width:1,type:this.ySplitLineType,color:this.splitLineColor?this.splitLineColor:this.colorTheme.axisLine}}};-1!==this.yInterval&&(s.interval=this.yInterval);var l=[];return this.enableZoom&&(l=[{type:"inside",start:this.dataZoom[0],end:this.dataZoom[1],filterMode:"none"}]),{backgroundColor:this.backgroundColor,tooltip:!!this.showTooltips&&n,legend:r,grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:o,yAxis:s,dataZoom:l,series:t}}}}),x2=_2,b2=w0(x2,y2,v2,!1,null,null,null),w2=b2.exports;w2.install=function(e){e.component(w2.name,w2)};var M2=w2,S2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart_drag",staticClass:"dt-chart-drag",style:{width:e.width,height:e.height}})},T2=[],L2={name:"DtLineDrag",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,default:[]},isSmoothShow:{type:Boolean,default:!1},xMax:{type:Number,default:100},yMax:{type:Number,default:100},grid:{type:Array,default:[20,20,20,20]},symbolSize:{type:Number,default:6},disabled:{type:Boolean,default:!1}},data:function(){return{myChart:null}},watch:{disabled:{handler:function(e,t){this.init()}}},mounted:function(){this.init()},methods:{init:function(){var e,t=this,n=JSON.parse(JSON.stringify(this.data)),i=this.$refs.chart_drag,r=Nx(i);e={tooltip:{triggerOn:"none",formatter:function(e){return"X: "+e.data[0].toFixed(2)+"<br>Y: "+e.data[1].toFixed(2)}},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{type:"value",axisLine:{onZero:!1},max:this.xMax,min:0},yAxis:{type:"value",axisLine:{onZero:!1},max:this.yMax,min:0},series:[{id:"line_drag",type:"line",color:this.disabled?"rgba(255, 0, 0, 0.3)":"rgba(255, 0, 0, 1)",smooth:this.isSmoothShow,symbolSize:this.symbolSize,data:n}]},r.setOption(e),r.setOption({graphic:n.map((function(e,i){return{type:"circle",position:r.convertToPixel("grid",e),shape:{cx:0,cy:0,r:t.symbolSize/2},invisible:!0,draggable:!t.disabled,ondrag:function(e,a){n[i][1]=r.convertFromPixel("grid",[this.x,this.y])[1],n[i][1]>t.yMax?n[i][1]=t.yMax:n[i][1]<0&&(n[i][1]=0);var o=r.convertToPixel("grid",n[i]);this.y=o[1],this.x=o[0],r.setOption({series:[{id:"line_drag",data:n}]}),t.$emit("changed",n[i])},z:100}}))})},updatePosition:function(){myChart.setOption({graphic:this.data.map((function(e,t){return{position:myChart.convertToPixel("grid",e)}}))})}}},D2=L2,A2=w0(D2,S2,T2,!1,null,null,null),O2=A2.exports;O2.install=function(e){e.component(O2.name,O2)};var k2=O2,I2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},C2=[],E2=(n("4e82"),n("cb29"),{name:"DtBar",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,require:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},barWidth:{type:Number,default:20},barGap:{type:String,default:"30%"},layout:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},borderRadius:{type:Array,default:function(){return[0,0,0,0]}},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},yAxisNameAlign:{type:String,default:"center"},grid:{type:Array,default:function(){return[60,30,60,50]}},isCube:{type:Boolean,default:!1},isCubeAnimation:{type:Boolean,default:!0},cubeLeftOffset:{type:Array,default:function(){return[4,0,4,0,-8,-4,-8,-4]}},cubeRightOffset:{type:Array,default:function(){return[10,-8,10,-8,4,0,4,0]}},cubeTopOffset:{type:Array,default:function(){return[4,0,10,-8,-1,-11,-8,-4]}},cubeLeftFillColor:{type:Array,default:function(){return["#3248b3","#1f93b1"]}},cubeRightFillColor:{type:Array,default:function(){return["#3248b3","#1f93b1"]}},cubeTopFillColor:{type:Array,default:function(){return["#3fd4f3","#3fd4f3"]}},isCubeColorLinear:{type:Boolean,default:!1},cubeHeightAjust:{type:Number,default:0},showLegend:{type:Boolean,default:!0},legendTop:{type:String,default:"top"},legendLeft:{type:String,default:"center"},legendRight:{type:String|Number},colorStops:{type:null|Array,default:null},maxYValue:{type:Number,default:null},addTips:{type:Boolean,default:!1},tipsColor:{type:String,default:"inherit"},tipUnit:{type:String,default:""},tipOffset:{type:Array,default:function(){return[0,0]}},isDifferColor:{type:Boolean,default:!1},differColor:{type:Array,default:function(){return["#7fffd4","ffe4c4","8a2be2","ff7f50","dc143c","006400","ffd700"]}},isStack:{type:Boolean,default:!1},isLinear:{type:Boolean,default:!0},showLabel:{type:Boolean,default:!1},labelFontSize:{type:Number,default:12},labelColor:{type:String,default:"inherit"},labelPosition:{type:String|Array,default:"top"},labelUnit:{type:String,default:""},showYAxisTick:{type:Boolean,default:!0},showYsplitLine:{type:Boolean,default:!0},showXaxisLine:{type:Boolean,default:!0},showXaxisTick:{type:Boolean,default:!0},showYAxis:{type:Boolean,default:!0},legendData:{type:Array,default:function(){return[]}},isXLabelDifferColor:{type:Boolean,default:!1},xLabelColor:{type:Array,default:function(){return["#ff0000","#ffb400","#30ff00","#00c6ff","#0066ff","#8a00ff"]}},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendSelected:{type:Object,default:function(){}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showTotalLabel:{type:Boolean,default:!0},isLabelVertical:{type:Boolean,default:!1},labelWidth:{type:Number,default:15},isLabelPercent:{type:Boolean,default:!1},labelPercent:{type:Array,default:function(){return[]}},labelSample:{type:Boolean,default:!1},simpleTime:{type:Boolean,default:!1},dataZoomDisabled:{type:Boolean,default:!0},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},forceResize:{type:Boolean},sortTooltip:{type:Boolean,default:!1},showTooltipMarker:{type:Boolean,default:!0},xLabelType:{type:String,default:"full"},borderColor:{type:String,default:"transparent"},autoY:{type:Boolean,default:!1},textOrLinecolor:{type:null|Object,default:null},yAxisAxisLine:{type:String,default:""},splitLineType:{type:String,default:"solid"},legendOrient:{type:String,default:"horizontal"},backgroundStyle:{type:void 0|Object,default:void 0},tooltipFormatter:Function,labelFormatter:Function,dataZoomSlider:Boolean,yLabelFormatter:Function,tooltipPositionTop:Boolean,xAxisLabelRotate:{type:Number,default:0},yAxisLabelRotate:{type:Number,default:0}},data:function(){return{chartInstance:null,resizeTimer:null}},watch:{data:{handler:function(e){var t=this,n=this.chartInstance.getOption(),i=n.series.filter((function(t,n){var i=e.find((function(e){return e.name===t.name}));return i&&(t.data=null===i||void 0===i?void 0:i.data),i}));n.series=i,e.forEach((function(e,i){for(var r=!1,a=0;a<n.series.length;a++)if(e.name===n.series[a].name){r=!0;break}if(!r){var o,s=Object.keys(t.colors).length>0;o=s&&t.colors[e.name]||t.colorDefault[i],n.series.push(t.barSeries(e.name,o,e.data,e.stackName))}})),this.chartInstance.setOption(n,!0)},deep:!0},categorys:function(e){var t=this.chartInstance.getOption();t.xAxis.forEach((function(t){t.data=e})),this.chartInstance.setOption(t,!0)},forceResize:function(){this.chartInstance.resize()}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.chartInstance.setOption(this.chartOption()),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;return this.timeAxis,this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],e.isCube?t.push(e.bar3DSeries(i.name,a,i.data)):t.push(e.barSeries(i.name,a,i.data,i.stackName)),e.addTips&&t.push(e.tipsSeries(i.name,a,i.data))})),t},barSeries:function(e,t,n,i){var r=t,a={type:"linear",x:"horizontal"===this.layout?0:1,y:0,x2:0,y2:"horizontal"===this.layout?1:0,colorStops:this.colorStops||[{offset:0,color:t},{offset:1,color:B0(t,.1)}],global:!1},o=this,s=function(e){return o.differColor[e.dataIndex]},l=function(e){return{type:"linear",x:"horizontal"===o.layout?0:1,y:0,x2:0,y2:"horizontal"===o.layout?1:0,colorStops:[{offset:0,color:o.differColor[e.dataIndex]},{offset:1,color:B0(o.differColor[e.dataIndex],.1)}],global:!1}},u=this.isDifferColor?s:r;u=this.isDifferColor?this.isLinear?l:s:this.isLinear?a:r;var c=this.showLabel;this.isStack&&!this.labelFormatter&&(this.showTotalLabel&&(c="total"===e),"total"===e&&(u="transparent"));var h={show:c,fontSize:this.labelFontSize,color:this.labelColor,position:this.labelPosition,formatter:this.labelFormatter?this.labelFormatter:function(e){if(0!==e.value){var t=o.isLabelPercent?o.getPercentForLable(e.seriesIndex,e.value):e.value;return o.labelSample?t+o.labelUnit:e.seriesName+t+o.labelUnit}return""}};this.isLabelVertical&&(h.width=this.labelWidth,h.overflow="break");var d={name:e,type:"bar",barWidth:this.barWidth,barGap:this.isStack&&"total"===e?" -100%":this.barGap,itemStyle:{color:u,borderColor:this.borderColor,borderRadius:this.borderRadius},emphasis:{itemStyle:{color:u,borderColor:this.borderColor,borderRadius:this.borderRadius}},showBackground:!!this.backgroundStyle,backgroundStyle:this.backgroundStyle,label:h,data:n};return this.isStack&&"total"!==e&&(d.stack=i||"total"),this.isStack&&"total"===e&&(d.legend={show:!1}),d},bar3DSeries:function(e,t,n){var i=this,r=l.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x+i.cubeLeftOffset[2],t.y+i.cubeLeftOffset[3]-i.cubeHeightAjust],a=[t.x+i.cubeLeftOffset[4],t.y+i.cubeLeftOffset[5]-i.cubeHeightAjust],o=[n[0]+i.cubeLeftOffset[6],n[1]+i.cubeLeftOffset[7]],s=[n[0]+i.cubeLeftOffset[0],n[1]+i.cubeLeftOffset[1]];e.moveTo(r[0],r[1]).lineTo(a[0],a[1]).lineTo(o[0],o[1]).lineTo(s[0],s[1]).closePath()}}),a=l.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x+i.cubeRightOffset[4],t.y+i.cubeRightOffset[5]-i.cubeHeightAjust],a=[n[0]+i.cubeRightOffset[6],n[1]+i.cubeRightOffset[7]],o=[n[0]+i.cubeRightOffset[0],n[1]+i.cubeRightOffset[1]],s=[t.x+i.cubeRightOffset[2],t.y+i.cubeRightOffset[3]-i.cubeHeightAjust];e.moveTo(r[0],r[1]).lineTo(a[0],a[1]).lineTo(o[0],o[1]).lineTo(s[0],s[1]).closePath()}}),o=l.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=[t.x+i.cubeTopOffset[0],t.y+i.cubeTopOffset[1]-i.cubeHeightAjust],r=[t.x+i.cubeTopOffset[2],t.y+i.cubeTopOffset[3]-i.cubeHeightAjust],a=[t.x+i.cubeTopOffset[4],t.y+i.cubeTopOffset[5]-i.cubeHeightAjust],o=[t.x+i.cubeTopOffset[6],t.y+i.cubeTopOffset[7]-i.cubeHeightAjust];e.moveTo(n[0],n[1]).lineTo(r[0],r[1]).lineTo(a[0],a[1]).lineTo(o[0],o[1]).closePath()}});return l.registerShape("CubeLeft",r),l.registerShape("CubeRight",a),l.registerShape("CubeTop",o),{type:"custom",name:e,renderItem:function(e,t){console.log("立体柱子",e,t);var n=t.coord([t.value(0),t.value(1)]);return{type:"group",children:[{type:"CubeLeft",shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:n[0],y:n[1],xAxisPoint:t.coord([t.value(0),0])},style:i.isCubeColorLinear?{fill:new l.LinearGradient(0,0,0,1,[{offset:0,color:i.cubeLeftFillColor[0]},{offset:1,color:i.cubeLeftFillColor[1]}])}:t.style()},{type:"CubeRight",shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:n[0],y:n[1],xAxisPoint:t.coord([t.value(0),0])},style:i.isCubeColorLinear?{fill:new l.LinearGradient(0,0,0,1,[{offset:0,color:i.cubeRightFillColor[0]},{offset:1,color:i.cubeRightFillColor[1]}])}:t.style()},{type:"CubeTop",shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:n[0],y:n[1],xAxisPoint:t.coord([t.value(0),0])},style:i.isCubeColorLinear?{fill:new l.LinearGradient(0,0,0,1,[{offset:0,color:i.cubeTopFillColor[0]},{offset:1,color:i.cubeTopFillColor[1]}])}:t.style()}]}},animation:!0,data:n}},bar3DAnimationSeries:function(e,t,n){return[{type:"bar",name:e,barWidth:this.barWidth,label:{show:this.showLabel,fontSize:12,position:this.labelPosition,color:this.labelColor,formatter:"{c}"+this.labelUnit},data:n},{type:"pictorialBar",name:e,Z:2,symbol:"diamond",symbolOffset:[0,"50%"],symbolSize:[this.barWidth,.5*this.barWidth],itemStyle:{opacity:.5,borderColor:"#fff",borderWidth:2,color:"red"},data:n},{type:"pictorialBar",name:e,Z:3,symbolPosition:"end",symbol:"diamond",symbolOffset:[0,"-50%"],symbolSize:[this.barWidth,.5*this.barWidth],data:n}]},tipsSeries:function(e,t,n){return{type:"bar",name:e,barWidth:this.barWidth,barGap:"-100%",label:{normal:{show:!0,position:"top",formatter:"{c}"+this.tipUnit,fontSize:12,color:this.tipsColor,offset:this.tipOffset,opacity:1}},itemStyle:{color:"transparent",opacity:0},tooltip:{show:!1},data:n}},getPercentForLable:function(e,t){return this.labelPercent[e]&&this.labelPercent[e][t]?this.labelPercent[e][t]:0},chartOption:function(){var e=this,t=this.processSeries(),n=null;this.timeAxis&&(n=this.simpleTime?function(t){var n=g0()(t),i=n.year(),r=n.month(),a=n.hour(),o=n.minute(),s=n.seconds(),l="";switch(e.xLabelType){case"full":l=0===a&&0===o&&0===s?"".concat(n.format("YYYY-MM-DD"),"\n").concat(n.format("HH:mm:ss")):n.format("HH:mm:ss");break;case"ymd":l=n.format("YYYY-MM-DD");break;case"month":l=0===r?i+"年1月":r+1+"月";break;case"minute":l=0===a&&0===o&&0===s?"".concat(n.format("YYYY-MM-DD"),"\n").concat(n.format("HH:mm")):n.format("HH:mm");break;default:break}return l}:this.timeFormatter);var i,r,a=[{type:"inside",disabled:this.dataZoomDisabled,start:this.dataZoom[0],end:this.dataZoom[1]}],o=[{type:this.timeAxis?"time":"category",splitNumber:5,nameTextStyle:{color:this.textOrLinecolor?this.textOrLinecolor.text:this.colorTheme.text,fontSize:12},axisLabel:{color:this.textOrLinecolor?this.textOrLinecolor.text:this.colorTheme.text,margin:15,fontSize:this.labelFontSize,formatter:n,rotate:this.xAxisLabelRotate},axisLine:{show:this.showXaxisLine,lineStyle:{color:this.textOrLinecolor?this.textOrLinecolor.axisLine:this.colorTheme.axisLine}},axisTick:{show:this.showXaxisTick},data:this.categorys},{show:this.showYAxis,max:function(t){return e.maxYValue?e.maxYValue:Math.floor(1*t.max*10)/10},nameTextStyle:{color:this.textOrLinecolor?this.textOrLinecolor.text:this.colorTheme.text,fontSize:12,align:this.yAxisNameAlign},axisLabel:{margin:15,fontSize:this.labelFontSize,color:this.textOrLinecolor?this.textOrLinecolor.text:this.colorTheme.text,formatter:this.yLabelFormatter,rotate:this.yAxisLabelRotate},axisLine:{show:!0,lineStyle:{width:1,color:this.textOrLinecolor?this.textOrLinecolor.axisLine:this.colorTheme.axisLine}},axisTick:{show:this.showYAxisTick},splitLine:{show:this.showYsplitLine,lineStyle:{type:this.splitLineType,width:1,color:this.textOrLinecolor?this.textOrLinecolor.yaxisLine:this.colorTheme.axisLine}}}];this.dataZoomSlider&&a.push({type:"slider",start:this.dataZoom[0],end:this.dataZoom[1],backgroundColor:"rgba(42, 42, 52, 1)",borderColor:"transparent",height:4,borderRadius:2,textStyle:{color:"transparent"},dataBackground:{lineStyle:{color:"transparent"},areaStyle:{color:"transparent"}},selectedDataBackground:{lineStyle:{color:"transparent",opacity:1},areaStyle:{color:"transparent",opacity:1}},fillerColor:"rgba(112, 112, 118, 1)",zoomLock:!0,handleSize:0,brushSelect:!1,bottom:5}),this.autoY&&(o[1].max=void 0),"horizontal"===this.layout?(i=o[0],r=o[1],a.xAxisIndex=[0],i.name=this.xAxisName,r.name=this.yAxisName,r.axisLine={lineStyle:{color:this.yAxisAxisLine?this.yAxisAxisLine:this.colorTheme.axisLine}}):"vertical"===this.layout&&(r=o[0],i=o[1],r.inverse=!0,a.yAxisIndex=[0],i.name=this.yAxisName,r.name=this.xAxisName,r.nameLocation="start"),this.isXLabelDifferColor&&(i.axisLabel.color=function(t,n){var i=e.xLabelColor[n]?e.xLabelColor[n]:"#fff";return i});var s=p({trigger:"axis",backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},position:this.tooltipPositionTop?function(e,t,n,i,r){return[e[0]-r.contentSize[0]/2,0]}:"",confine:!0,axisPointer:{lineStyle:{color:this.colorTheme.blue}},appendToBody:!0},"confine",!0);return this.sortTooltip?s.formatter=function(t){var n=[],i=[];n=E0(t),n.sort((function(e,t){return t.value-e.value}));var r=0;return n.forEach((function(e){r=e.seriesName.length>r?e.seriesName.length:r})),r+=3,n.forEach((function(t){var n=new Array(r-t.seriesName.length).fill("&nbsp").join(""),a="";a=e.showTooltipMarker?t.marker+" "+t.seriesName+":"+n+t.value+"<br/>":t.seriesName+":"+n+t.value+"<br/>","total"!==t.seriesName&&i.push(a)})),i.join("")}:this.tooltipFormatter&&(s.formatter=this.tooltipFormatter),{tooltip:s,legend:{type:"scroll",orient:this.legendOrient,show:this.showLegend,data:this.legendData.length>0?this.legendData:this.data.forEach((function(e){return e.name})),top:this.legendTop?this.legendTop:5,left:this.legendRight?"auto":this.legendLeft,right:this.legendRight,icon:this.legendIcon,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.textOrLinecolor?this.textOrLinecolor.axisLine:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.textOrLinecolor?this.textOrLinecolor.text:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.textOrLinecolor?this.textOrLinecolor.text:this.colorTheme.text,fontSize:12,height:10,rich:{a:{verticalAlign:"bottom"}}},itemWidth:12,itemHeight:12,selected:this.legendSelected},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:i,yAxis:r,dataZoom:a,series:t}},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))}}}),P2=E2,N2=w0(P2,I2,C2,!1,null,null,null),R2=N2.exports;R2.install=function(e){e.component(R2.name,R2)};var Y2=R2,z2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},H2=[],j2={name:"DtBarScatter",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,require:!0,default:function(){return[]}},isShowScatter:{type:Boolean,default:!0},colors:{type:Object,default:function(){return{}}},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},barWidth:{type:Number,default:20},barGap:{type:String,default:"30%"},layout:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},borderRadius:{type:Array,default:function(){return[0,0,0,0]}},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},grid:{type:Array,default:function(){return[60,30,60,50]}},isCube:{type:Boolean,default:!1},isCubeAnimation:{type:Boolean,default:!0},cubeLeftOffset:{type:Array,default:function(){return[4,0,4,0,-8,-4,-8,-4]}},cubeRightOffset:{type:Array,default:function(){return[10,-8,10,-8,4,0,4,0]}},cubeTopOffset:{type:Array,default:function(){return[4,0,10,-8,-1,-11,-8,-4]}},cubeLeftFillColor:{type:Array,default:function(){return["#3248b3","#1f93b1"]}},cubeRightFillColor:{type:Array,default:function(){return["#3248b3","#1f93b1"]}},cubeTopFillColor:{type:Array,default:function(){return["#3fd4f3","#3fd4f3"]}},isCubeColorLinear:{type:Boolean,default:!1},cubeHeightAjust:{type:Number,default:0},showLegend:{type:Boolean,default:!0},legendTop:{type:String,default:"top"},legendLeft:{type:String,default:"center"},legendRight:{type:String|Number},maxYValue:{type:Number,default:null},addTips:{type:Boolean,default:!1},tipsColor:{type:String,default:"inherit"},tipUnit:{type:String,default:""},tipOffset:{type:Array,default:function(){return[0,0]}},isDifferColor:{type:Boolean,default:!1},differColor:{type:Array,default:function(){return["#7fffd4","ffe4c4","8a2be2","ff7f50","dc143c","006400","ffd700"]}},isStack:{type:Boolean,default:!1},isLinear:{type:Boolean,default:!0},showLabel:{type:Boolean,default:!1},labelColor:{type:String,default:"inherit"},labelPosition:{type:String,default:"top"},labelUnit:{type:String,default:""},legendData:{type:Array,default:function(){return[]}},isXLabelDifferColor:{type:Boolean,default:!1},xLabelColor:{type:Array,default:function(){return["#ff0000","#ffb400","#30ff00","#00c6ff","#0066ff","#8a00ff"]}},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendSelected:{type:Object,default:function(){}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showTotalLabel:{type:Boolean,default:!0},isLabelVertical:{type:Boolean,default:!1},labelWidth:{type:Number,default:15},isLabelPercent:{type:Boolean,default:!1},labelPercent:{type:Array,default:function(){return[]}},labelSample:{type:Boolean,default:!1},simpleTime:{type:Boolean,default:!1},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},forceResize:{type:Boolean},sortTooltip:{type:Boolean,default:!1},showTooltipMarker:{type:Boolean,default:!0},xLabelType:{type:String,default:"full"},borderColor:{type:String,default:"transparent"},autoY:{type:Boolean,default:!1},labelFontSize:{type:Number,default:12},scatterLabelShow:{type:Boolean,default:!1},scatterLabelStyle:{type:Object,default:function(){return{position:"bottom",color:"#ffffff",fontSize:12}}},tooltipFormatter:Function,dataZoomSlider:Boolean,yLabelFormatter:Function,tooltipPositionTop:Boolean},data:function(){return{chartInstance:null,resizeTimer:null}},watch:{data:{handler:function(e){var t=this,n=this.chartInstance.getOption(),i=n.series.filter((function(t,n){var i=e.find((function(e){return e.name===t.name}));return i&&(t.data=null===i||void 0===i?void 0:i.data),i}));n.series=i,e.forEach((function(e,i){for(var r=!1,a=0;a<n.series.length;a++)if(e.name===n.series[a].name){r=!0;break}if(!r){var o,s=Object.keys(t.colors).length>0;o=s&&t.colors[e.name]||t.colorDefault[i],n.series.push(t.barSeries(e.name,o,e.data,e.stackName)),n.series.push(t.scatterSeries(e.name,o,e.scatterData,e.stackName))}})),this.chartInstance.setOption(n,!0)},deep:!0},categorys:function(e){var t=this.chartInstance.getOption();t.xAxis.forEach((function(t){t.data=e})),this.chartInstance.setOption(t,!0)},forceResize:function(){this.chartInstance.resize()}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.chartInstance.setOption(this.chartOption()),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;return this.timeAxis,this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],e.isCube?t.push(e.bar3DSeries(i.name,a,i.data)):t.push(e.barSeries(i.name,a,i.data,i.stackName)),e.addTips&&t.push(e.tipsSeries(i.name,a,i.data))})),t},scatterSeries:function(e,t,n){var i={show:!0,fontSize:12,color:this.labelColor,position:this.labelPosition},r={name:e,type:"scatter",barGap:this.isStack&&"total"===e?" -100%":this.barGap,itemStyle:{color:"#fff",borderColor:this.borderColor,borderRadius:this.borderRadius},emphasis:{itemStyle:{color:"#fff",borderColor:this.borderColor,borderRadius:this.borderRadius}},label:i,data:n};return r},barSeries:function(e,t,n,i){var r=t,a={type:"linear",x:"horizontal"===this.layout?0:1,y:0,x2:0,y2:"horizontal"===this.layout?1:0,colorStops:[{offset:0,color:t},{offset:1,color:B0(t,.1)}],global:!1},o=this,s=function(e){return o.differColor[e.dataIndex]},l=function(e){return{type:"linear",x:"horizontal"===o.layout?0:1,y:0,x2:0,y2:"horizontal"===o.layout?1:0,colorStops:[{offset:0,color:o.differColor[e.dataIndex]},{offset:1,color:B0(o.differColor[e.dataIndex],.1)}],global:!1}},u=this.isDifferColor?s:r;u=this.isDifferColor?this.isLinear?l:s:this.isLinear?a:r;var c=this.showLabel;this.isStack&&(this.showTotalLabel&&(c="total"===e),"total"===e&&(u="transparent"));var h={show:c,fontSize:12,color:this.labelColor,position:this.labelPosition,formatter:function(e){if(0!==e.value){var t=o.isLabelPercent?o.getPercentForLable(e.seriesIndex,e.value):e.value;return o.labelSample?t+o.labelUnit:e.seriesName+t+o.labelUnit}return""}};this.isLabelVertical&&(h.width=this.labelWidth,h.overflow="break");var d={name:e,type:"bar",barWidth:this.barWidth,barGap:this.isStack&&"total"===e?" -100%":this.barGap,itemStyle:{color:u,borderColor:this.borderColor,borderRadius:this.borderRadius},emphasis:{itemStyle:{color:u,borderColor:this.borderColor,borderRadius:this.borderRadius}},label:h,data:n};return this.isStack&&"total"!==e&&(d.stack=i||"total"),this.isStack&&"total"===e&&(d.legend={show:!1}),d},bar3DSeries:function(e,t,n){var i=this,r=l.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x+i.cubeLeftOffset[2],t.y+i.cubeLeftOffset[3]-i.cubeHeightAjust],a=[t.x+i.cubeLeftOffset[4],t.y+i.cubeLeftOffset[5]-i.cubeHeightAjust],o=[n[0]+i.cubeLeftOffset[6],n[1]+i.cubeLeftOffset[7]],s=[n[0]+i.cubeLeftOffset[0],n[1]+i.cubeLeftOffset[1]];e.moveTo(r[0],r[1]).lineTo(a[0],a[1]).lineTo(o[0],o[1]).lineTo(s[0],s[1]).closePath()}}),a=l.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x+i.cubeRightOffset[4],t.y+i.cubeRightOffset[5]-i.cubeHeightAjust],a=[n[0]+i.cubeRightOffset[6],n[1]+i.cubeRightOffset[7]],o=[n[0]+i.cubeRightOffset[0],n[1]+i.cubeRightOffset[1]],s=[t.x+i.cubeRightOffset[2],t.y+i.cubeRightOffset[3]-i.cubeHeightAjust];e.moveTo(r[0],r[1]).lineTo(a[0],a[1]).lineTo(o[0],o[1]).lineTo(s[0],s[1]).closePath()}}),o=l.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=[t.x+i.cubeTopOffset[0],t.y+i.cubeTopOffset[1]-i.cubeHeightAjust],r=[t.x+i.cubeTopOffset[2],t.y+i.cubeTopOffset[3]-i.cubeHeightAjust],a=[t.x+i.cubeTopOffset[4],t.y+i.cubeTopOffset[5]-i.cubeHeightAjust],o=[t.x+i.cubeTopOffset[6],t.y+i.cubeTopOffset[7]-i.cubeHeightAjust];e.moveTo(n[0],n[1]).lineTo(r[0],r[1]).lineTo(a[0],a[1]).lineTo(o[0],o[1]).closePath()}});return l.registerShape("CubeLeft",r),l.registerShape("CubeRight",a),l.registerShape("CubeTop",o),{type:"custom",name:e,renderItem:function(e,t){console.log("立体柱子",e,t);var n=t.coord([t.value(0),t.value(1)]);return{type:"group",children:[{type:"CubeLeft",shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:n[0],y:n[1],xAxisPoint:t.coord([t.value(0),0])},style:i.isCubeColorLinear?{fill:new l.LinearGradient(0,0,0,1,[{offset:0,color:i.cubeLeftFillColor[0]},{offset:1,color:i.cubeLeftFillColor[1]}])}:t.style()},{type:"CubeRight",shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:n[0],y:n[1],xAxisPoint:t.coord([t.value(0),0])},style:i.isCubeColorLinear?{fill:new l.LinearGradient(0,0,0,1,[{offset:0,color:i.cubeRightFillColor[0]},{offset:1,color:i.cubeRightFillColor[1]}])}:t.style()},{type:"CubeTop",shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:n[0],y:n[1],xAxisPoint:t.coord([t.value(0),0])},style:i.isCubeColorLinear?{fill:new l.LinearGradient(0,0,0,1,[{offset:0,color:i.cubeTopFillColor[0]},{offset:1,color:i.cubeTopFillColor[1]}])}:t.style()}]}},animation:!0,data:n}},bar3DAnimationSeries:function(e,t,n){return[{type:"bar",name:e,barWidth:this.barWidth,label:{show:this.showLabel,fontSize:12,position:this.labelPosition,color:this.labelColor,formatter:"{c}"+this.labelUnit},data:n},{type:"pictorialBar",name:e,Z:2,symbol:"diamond",symbolOffset:[0,"50%"],symbolSize:[this.barWidth,.5*this.barWidth],itemStyle:{opacity:.5,borderColor:"#fff",borderWidth:2,color:"red"},data:n},{type:"pictorialBar",name:e,Z:3,symbolPosition:"end",symbol:"diamond",symbolOffset:[0,"-50%"],symbolSize:[this.barWidth,.5*this.barWidth],data:n}]},tipsSeries:function(e,t,n){return console.log({type:"bar",name:e,barWidth:this.barWidth,barGap:"-100%",label:{normal:{show:!0,position:"top",formatter:"{c}"+this.tipUnit,fontSize:12,color:this.tipsColor,offset:this.tipOffset,opacity:1}},itemStyle:{color:"transparent",opacity:0},tooltip:{show:!1},data:n}),{type:"bar",name:e,barWidth:this.barWidth,barGap:"-100%",label:{normal:{show:!0,position:"top",formatter:"{c}"+this.tipUnit,fontSize:12,color:this.tipsColor,offset:this.tipOffset,opacity:1}},itemStyle:{color:"transparent",opacity:0},tooltip:{show:!1},data:n}},getPercentForLable:function(e,t){return this.labelPercent[e]&&this.labelPercent[e][t]?this.labelPercent[e][t]:0},processSeriesScatter:function(){var e=this,t=this.data.map((function(t,n){var i=e.singleColor?e.singleColor:e.colors[t.name]||e.colorDefault[n],r=[];return r=t.scatterData&&t.scatterData.length>0?t.scatterData:t.data,{name:t.name,type:"scatter",showSymbol:!0,symbolSize:20,smooth:!0,data:r,itemStyle:{color:i},lineStyle:{width:2*(n+1),color:i},label:{show:e.scatterLabelShow,position:e.scatterLabelStyle.position,color:e.scatterLabelStyle.color,fontSize:e.scatterLabelStyle.fontSize}}}));return t},chartOption:function(){var e=this,t=this.processSeries(),n=this.processSeriesScatter(),i=null;this.timeAxis&&(i=this.simpleTime?function(t){var n=g0()(t),i=n.year(),r=n.month(),a=n.hour(),o=n.minute(),s=n.seconds(),l="";switch(e.xLabelType){case"full":l=0===a&&0===o&&0===s?"".concat(n.format("YYYY-MM-DD"),"\n").concat(n.format("HH:mm:ss")):n.format("HH:mm:ss");break;case"ymd":l=n.format("YYYY-MM-DD");break;case"month":l=0===r?i+"年1月":r+1+"月";break;case"minute":l=0===a&&0===o&&0===s?"".concat(n.format("YYYY-MM-DD"),"\n").concat(n.format("HH:mm")):n.format("HH:mm");break;default:break}return l}:this.timeFormatter);var r,a,o=[{type:"inside",start:this.dataZoom[0],end:this.dataZoom[1]}],s=[{type:this.timeAxis?"time":"category",splitNumber:5,nameTextStyle:{color:this.colorTheme.text,fontSize:12},axisLabel:{color:this.colorTheme.text,margin:15,fontSize:this.labelFontSize,formatter:i},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},axisTick:{show:!0},data:this.categorys},{max:function(t){return e.maxYValue?e.maxYValue:Math.floor(1*t.max*10)/10},nameTextStyle:{color:this.colorTheme.text,fontSize:12},axisLabel:{margin:15,fontSize:this.labelFontSize,color:this.colorTheme.text,formatter:this.yLabelFormatter},axisLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}}}];this.dataZoomSlider&&o.push({type:"slider",start:this.dataZoom[0],end:this.dataZoom[1],backgroundColor:"rgba(42, 42, 52, 1)",borderColor:"transparent",height:4,borderRadius:2,textStyle:{color:"transparent"},dataBackground:{lineStyle:{color:"transparent"},areaStyle:{color:"transparent"}},selectedDataBackground:{lineStyle:{color:"transparent",opacity:1},areaStyle:{color:"transparent",opacity:1}},fillerColor:"rgba(112, 112, 118, 1)",zoomLock:!0,handleSize:0,brushSelect:!1,bottom:5}),this.autoY&&(s[1].max=void 0),"horizontal"===this.layout?(r=s[0],a=s[1],o.xAxisIndex=[0],r.name=this.xAxisName,a.name=this.yAxisName):"vertical"===this.layout&&(a=s[0],r=s[1],a.inverse=!0,o.yAxisIndex=[0],r.name=this.yAxisName,a.name=this.xAxisName,a.nameLocation="start"),this.isXLabelDifferColor&&(r.axisLabel.color=function(t,n){var i=e.xLabelColor[n]?e.xLabelColor[n]:"#fff";return i});var l=p({trigger:"axis",backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},position:this.tooltipPositionTop?function(e,t,n,i,r){return[e[0]-r.contentSize[0]/2,0]}:"",confine:!0,axisPointer:{lineStyle:{color:this.colorTheme.blue}},appendToBody:!0},"confine",!0);return this.sortTooltip?l.formatter=function(t){var n=[],i=[];n=E0(t),n.sort((function(e,t){return t.value-e.value}));var r=0;return n.forEach((function(e){r=e.seriesName.length>r?e.seriesName.length:r})),r+=3,n.forEach((function(t){var n=new Array(r-t.seriesName.length).fill("&nbsp").join(""),a="";a=e.showTooltipMarker?t.marker+" "+t.seriesName+":"+n+t.value+"<br/>":t.seriesName+":"+n+t.value+"<br/>","total"!==t.seriesName&&i.push(a)})),i.join("")}:this.tooltipFormatter&&(l.formatter=this.tooltipFormatter),console.log(l,7777),{tooltip:l,legend:{type:"scroll",show:this.showLegend,data:this.legendData.length>0?this.legendData:this.data.forEach((function(e){return e.name})),top:this.legendTop?this.legendTop:5,left:this.legendRight?"auto":this.legendLeft,right:this.legendRight,icon:this.legendIcon,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:12,height:10,rich:{a:{verticalAlign:"bottom"}}},itemWidth:12,itemHeight:12,selected:this.legendSelected},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:r,yAxis:a,dataZoom:o,series:[].concat(E0(t),E0(n))}},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))}}},F2=j2,B2=w0(F2,z2,H2,!1,null,null,null),V2=B2.exports;V2.install=function(e){e.component(V2.name,V2)};var G2=V2,W2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},U2=[],X2={name:"DtScatter",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},regionData:{type:Array,default:function(){return[]}},regionColor:{type:String,default:"rgba(250, 252, 174, 0.4)"},colors:{type:Object,default:function(){return{}}},showLegend:{type:Boolean,default:!0},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},symbolSize:{type:Number,default:5},symbolScale:{type:Number},layout:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},grid:{type:Array,default:function(){return[60,100,60,90]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showMarkline:{type:Boolean,default:!1},autoMarkline:{type:Boolean,default:!0},markLineTime:{type:String},tooltipTrigger:{type:String,default:"axis"},showLabel:{type:Boolean,default:!1},labelPosition:{type:String,default:"bottom"},labelUnit:{type:String,default:""},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},simpleTime:{type:Boolean,default:!1},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendSelected:{type:Object,default:function(){}}},data:function(){return{chartInstance:null,markLineValue:"",maxXTime:void 0}},watch:{data:function(e){var t=this,n=this.chartInstance.getOption();n.series.forEach((function(t,i){var r=e.find((function(e){return e.name===t.name}));r?t.data=null===r||void 0===r?void 0:r.data:n.series.splice(i,1)})),e.forEach((function(e){t.maxXTime?t.maxXTime=g0()(e.data[e.data.length-1]).isAfter(g0()(t.maxXTime))?g0()(e.data[e.data.length-1]).local().format("YYYY-MM-DD HH:mm:ss"):t.maxXTime:t.maxXTime=g0()(e.data[e.data.length-1]).local().format("YYYY-MM-DD HH:mm:ss")})),this.chartInstance.setOption(n,!0)},markLineTime:function(e){this.markLineValue=e},markLineValue:function(e){if(this.showMarkline){var t=this.chartInstance.getOption();t.series.forEach((function(t){"标线"===t.name&&(t.markLine.data[0].xAxis=e)})),this.chartInstance.setOption(t,!1)}},regionData:function(e){var t=this,n=this.chartInstance.getOption(),i=n.series.findIndex((function(e,t,n){return"标注"===e.name})),r=[],a=[];e.forEach((function(e){a.push([e.data[0],0],[e.data[1],0]),r.push([{xAxis:e.data[0],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}},{xAxis:e.data[1],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}}])})),-1!==i?(n.series[i].data=a,n.series[i].markArea.data=r,this.chartInstance.setOption(n,!0)):this.chartInstance.setOption(this.chartOption())}},mounted:function(){var e=this;if(this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.showMarkline&&this.autoMarkline){var t=setInterval((function(){if(g0()(e.markLineValue).isBefore(g0()(e.maxXTime))){var t=g0()(e.markLineValue).add(1,"seconds");e.markLineValue=t.local().format("YYYY-MM-DD HH:mm:ss")}}),1e3);this.$once("hook:beforeDestroy",(function(){window.clearInterval(t)}))}},methods:{addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;return this.timeAxis?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],e.maxXTime&&i.data.length>0?e.maxXTime=g0()(i.data[i.data.length-1][0]).isAfter(g0()(e.maxXTime))?g0()(i.data[i.data.length-1][0]).local().format("YYYY-MM-DD HH:mm:ss"):e.maxXTime:i.data.length>0&&(e.maxXTime=g0()(i.data[i.data.length-1][0]).local().format("YYYY-MM-DD HH:mm:ss")),t.push(e.scatterSeries(i.name,a,i.data))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],t.push(e.scatterSeries(i.name,a,i.data))})),this.showMarkline&&t.push(this.marklineSeries()),this.regionData.length>0&&t.push(this.regionSeries(this.regionData)),t},scatterSeries:function(e,t,n){var i=this;return{name:e,type:"scatter",symbolSize:function(e){return i.symbolScale?i.timeAxis?"horizontal"===i.layout?e[1]:e[0]/i.symbolScale:e/i.symbolScale:i.symbolSize},itemStyle:{color:t},label:{show:this.showLabel,position:this.labelPosition,color:"#fff",formatter:"{@[1]}"+this.labelUnit},data:n}},regionSeries:function(e){var t=this,n=[],i=[];return e.forEach((function(e){i.push([e.data[0],0],[e.data[1],0]),n.push([{xAxis:e.data[0],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}},{xAxis:e.data[1],name:e.name,itemStyle:{color:e.color?e.color:t.regionColor}}])})),{name:"标注",type:"line",symbol:"none",areaStyle:{opacity:0},itemStyle:{opacity:0},z:0,tooltip:{show:!1},lineStyle:{width:0,opacity:0},label:{show:!1},markArea:{label:{show:!0,position:"top",color:"#fff"},data:n},data:i}},marklineSeries:function(){this.markLineValue=this.markLineTime?this.markLineTime:g0()().local().format("YYYY-MM-DD HH:mm:ss");var e=this.markLineValue;return{name:"标线",type:"line",tooltip:{show:!1},markLine:{animation:!1,symbol:"",tooltip:{show:!0,formatter:function(e){return'<div style="display: flex;">\n <span>'.concat("当前时间: ",'<i style="width: 10px; display: inline-block;"></i>',g0()(e.value).format("YYYY-MM-DD HH:mm:ss"),"\n </span>\n </div>")}},data:[{xAxis:e,label:{show:!1},lineStyle:{width:1,type:"solid",color:this.colorTheme.cyan}}]}}},chartOption:function(){var e=this.processSeries(),t=null;this.timeAxis&&(t=this.simpleTime?function(e){var t=g0()(e),n=t.hour(),i=t.minute(),r=t.seconds();return 0===n&&0===i&&0===r?"".concat(t.format("YYYY-MM-DD"),"\n").concat(t.format("HH:mm:ss")):t.format("HH:mm:ss")}:this.timeFormatter);var n,i,r={type:"inside",start:this.dataZoom[0],end:this.dataZoom[1]},a=[{type:this.timeAxis?"time":"category",splitNumber:5,nameTextStyle:{color:this.colorTheme.text,fontSize:12},axisLabel:{color:this.colorTheme.text,margin:15,formatter:t},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},axisTick:{show:!0},data:this.categorys||void 0},{max:function(e){return 1.1*e.max},nameTextStyle:{color:this.colorTheme.text,fontSize:12},axisLabel:{margin:15,align:"center",color:this.colorTheme.text},axisLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}}}];return"horizontal"===this.layout?(n=a[0],i=a[1],r.xAxisIndex=[0],n.name=this.xAxisName,i.name=this.yAxisName):"vertical"===this.layout&&(i=a[0],n=a[1],i.inverse=!0,r.yAxisIndex=[0],n.name=this.yAxisName,i.name=this.xAxisName,i.nameLocation="start"),{tooltip:{trigger:this.tooltipTrigger,backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},axisPointer:{lineStyle:{color:this.colorTheme.blue}}},legend:{type:"scroll",data:this.data.map((function(e){return e.name})),top:5,left:"center",icon:this.legendIcon,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:12,height:12,rich:{a:{verticalAlign:"bottom"}}},selected:this.legendSelected,show:this.showLegend},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:n,yAxis:i,dataZoom:r,series:e}}}},Z2=X2,q2=w0(Z2,W2,U2,!1,null,null,null),$2=q2.exports;$2.install=function(e){e.component($2.name,$2)};var J2=$2,K2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Q2=[],e3=(n("ac1f"),n("1276"),n("2532"),{name:"DtScatterDrag",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}}},data:function(){return{chartInstance:null,isDrag:!1,dragOrigin:[0,0],panPosition:void 0,scale:1,lineList:[],pointTree:[],pointList:[],pointListCopy:void 0,lastClickedPoint:void 0,curScale:1,minScale:.5,maxScale:15,scaleStep:1.25,backgroundHeight:8e3,backgroundWidth:8e3,distanceCollection:[]}},watch:{data:function(e){}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.drawBackground()},methods:{drawBackground:function(){var e=this,t=t={graphic:[{id:"toolPan",type:"rect",z:2,position:[-this.backgroundHeight/2,-this.backgroundWidth/2],invisible:!1,style:{fill:"#ccc"},cursor:"all-scroll",shape:{height:this.backgroundHeight,width:this.backgroundWidth},onmousedown:this.dragPanStart(),onmouseup:this.dragPanEnd(),onmousemove:this.dragPan(),onmouseout:this.dragPanEnd(),onmousewheel:this.groupCanZoom("group1","toolPan"),onclick:function(t){e.panPosition=e.chartInstance.getOption().graphic[0].elements[0].position}}]};this.chartInstance.setOption(t),this.data&&this.data.length>0&&this.appendPoints(this.data)},groupCanZoom:function(e,t){var n=this;return function(e){var t=[e.offsetX,e.offsetY],i=e.wheelDelta>0,r=i?n.scaleStep:1/n.scaleStep;if(!(n.curScale*r<n.minScale||n.curScale*r>n.maxScale)){n.curScale=n.curScale*r,n.pointListCopy=JSON.parse(JSON.stringify(n.pointList)),n.pointList.forEach((function(e){var i=n.vecSub(e.position,t),a=n.vecScale(i,r);e.position=n.vecAdd(a,t)})),n.updatePoints(n.pointList),n.drawLine(n.lineList,n.pointList),n.panPosition=n.chartInstance.getOption().graphic[0].elements[0].position;var a=n.vecSub(n.panPosition,t),o=n.vecScale(a,r);n.panPosition=n.vecAdd(o,t),n.chartInstance.setOption({graphic:[{id:"toolPan",$action:"merge",shape:{height:n.backgroundHeight*n.curScale,width:n.backgroundWidth*n.curScale},position:n.panPosition}]})}}},vecAdd:function(e,t){if(!(e.length<2||t.length<2))return[e[0]+t[0],e[1]+t[1]]},vecSub:function(e,t){if(!(e.length<2||t.length<2))return[e[0]-t[0],e[1]-t[1]]},vecScale:function(e,t){if(!(e.length<2))return[e[0]*t,e[1]*t]},vecNegate:function(e){if(!(e.length<2))return[-e[0],-e[1]]},dragPanStart:function(){var e=this;return function(t){e.isDrag=!0,e.dragOrigin=[t.offsetX,t.offsetY],e.panPosition=e.chartInstance.getOption().graphic[0].elements[0].position}},dragPan:function(){var e=this;return function(t){if(e.isDrag){var n=[t.offsetX,t.offsetY],i=e.vecSub(n,e.dragOrigin);e.pointListCopy=JSON.parse(JSON.stringify(e.pointList)),e.pointListCopy.forEach((function(t){t.position=e.vecAdd(t.position,i)})),e.updatePoints(e.pointListCopy),e.drawLine(e.lineList,e.pointListCopy),e.chartInstance.setOption({graphic:[{id:"toolPan",$action:"merge",position:e.vecAdd(i,e.panPosition)}]})}}},dragPanEnd:function(){var e=this;return function(t){if(e.isDrag){if(e.isDrag=!1,e.dragOrigin=void 0,!e.pointListCopy)return;e.pointList=JSON.parse(JSON.stringify(e.pointListCopy)),console.log("整体拖动后赋值",e.pointList),e.panPosition=e.chartInstance.getOption().graphic[0].elements[0].position}}},onDragPoint:function(){var e=this;return function(t){var n=e.lineList,i=e.pointList,r=t.target.name,a=[t.offsetX-t.target.x,t.offsetY-t.target.y],o=e.findItemFromTree(r,e.pointTree);e.updatePointsPosition(o,a),e.updatePoints(i),e.drawLine(n,i)}},findItemFromTree:function(e,t){for(var n,i=0;i<t.length;i++){if(t[i].name===e){n=t[i];break}if(t[i].children&&t[i].children.length>0){var r=this.findItemFromTree(e,t[i].children);if(r){n=r;break}}}return n},updatePointsPosition:function(e,t){var n=this,i=this.pointList.find((function(t){return t.name===e.name}));i.position=[i.position[0]+t[0],i.position[1]+t[1]],e.children&&e.children.length>0&&e.children.forEach((function(e){n.updatePointsPosition(e,t)}))},updatePoints:function(e){var t=[];e.forEach((function(e){t.push({id:e.name,$action:"merge",position:e.position}),t.push({id:e.name+"-text",$action:"merge",position:[e.position[0]-5,e.position[1]+10]})})),this.chartInstance.setOption({graphic:t})},drawLine:function(e,t){var n=this,i=[];e.forEach((function(e){var r=[];e.nodes.forEach((function(e){t.forEach((function(t){e.name===t.name&&r.push(t.position)}))}));var a={id:e.name,type:"polyline",z:2,style:{stroke:"#838A9D",lineWidth:2},shape:{points:r}},o=(Math.sqrt(Math.pow(r[1][1]-r[0][1],2)+Math.pow(r[1][0]-r[0][0],2))/n.curScale).toFixed(1),s={id:e.name+"-text",type:"text",z:3,position:[(r[0][0]+r[1][0])/2-5,(r[0][1]+r[1][1])/2+10],style:{fill:"#fff",text:o,font:"14px Microsoft YaHei"}},l=n.distanceCollection.findIndex((function(t){return t.name===e.name.split("-")[1]}));-1!==l?n.distanceCollection[l].value=o:n.distanceCollection.push({name:e.name.split("-")[1],value:o}),i.push(a),i.push(s)})),this.chartInstance.setOption({graphic:[{id:"group1",type:"group",$action:"merge",children:i}]})},appendLine:function(e,t){var n=this,i=[];e.forEach((function(e){var r=[];e.nodes.forEach((function(e){t.forEach((function(t){e.name===t.name&&r.push(t.position)}))}));var a={id:e.name,type:"polyline",z:2,style:{stroke:"#838A9D",lineWidth:2},shape:{points:r}},o=(Math.sqrt(Math.pow(r[1][1]-r[0][1],2)+Math.pow(r[1][0]-r[0][0],2))/n.curScale).toFixed(1),s={id:e.name+"-text",type:"text",z:3,position:n.getTextPosition(r[0],r[1]),style:{fill:"#fff",text:o,font:"14px Microsoft YaHei"}},l=n.distanceCollection.findIndex((function(t){return t.name===e.name.split("-")[1]}));-1!==l?n.distanceCollection[l].value=o:n.distanceCollection.push({name:e.name.split("-")[1],value:o}),i.push(a),i.push(s)})),this.chartInstance.setOption({graphic:[{id:"group1",type:"group",$action:"merge",children:i}]}),this.lineList=this.lineList.concat(e)},getTextPosition:function(e,t){var n=[];return n=(e[0]-t[0])*(e[1]-t[1])>0?[(e[0]+t[0])/2+15*this.curScale,(e[1]+t[1])/2]:(e[0]-t[0])*(e[1]-t[1])<0?[(e[0]+t[0])/2-35*this.curScale,(e[1]+t[1])/2]:[(e[0]+t[0])/2,(e[1]+t[1])/2+15*this.curScale],n},onPointClick:function(){var e=this,t=1.2;return function(n){var i=n.target,r=i.name,a=i.scale[0],o=i.style.fill,s=a===t?1:t,l=[{id:r,$action:"merge",scale:[s,s],style:{shadowBlur:a===t?0:4,shadowColor:o}}];e.lastClickedPoint&&e.lastClickedPoint!==r&&(l.push({id:e.lastClickedPoint,$action:"merge",scale:[1,1],style:{shadowBlur:0}}),e.lastClickedPoint=""),e.chartInstance.setOption({graphic:l}),e.lastClickedPoint=r}},appendPoint:function(e){var t=this,n=[];e.forEach((function(e){var i={id:e.name,name:e.name,type:"circle",position:e.position,draggable:!0,z:3,style:{fill:e.color||"black"},shape:{r:10},ondrag:t.onDragPoint(t.lineList,t.pointList),onclick:t.onPointClick()},r={id:e.name+"-text",type:"text",z:3,position:[e.position[0]-5,e.position[1]+10],style:{fill:"#fff",text:e.name,font:"14px Microsoft YaHei"}};n.push(i),n.push(r)})),this.chartInstance.setOption({graphic:[{id:"group1",type:"group",$action:"merge",children:n}]}),this.pointList=this.pointList.concat(e)},getLinesArrFromTree:function(e,t){var n=this,i=[];return e.forEach((function(e){t&&i.push({name:t.name+"-"+e.name,nodes:[{name:t.name},{name:e.name}]}),e.children&&e.children.length>0&&(i=i.concat(n.getLinesArrFromTree(e.children,e)))})),i},getPointsArrFromTree:function(e){var t=this,n=[];return e.forEach((function(e){n.push(e),e.children&&(n=n.concat(t.getPointsArrFromTree(e.children)))})),n},appendToTree:function(e,t,n){for(var i=t.length,r=0;r<i;r++){if(t[r].id===e.id){t[r].children?t[r].children=t[r].children.concat(n):t[r].children=n;break}t[r].children&&t[r].children.length>0&&this.appendToTree(e,t[r].children,n)}},appendPoints:function(e,t){t?this.appendToTree(t,this.pointTree,e):this.pointTree=this.pointTree.concat(e);var n=this.getPointsArrFromTree(e),i=this.getLinesArrFromTree(e,t);console.log("得到的线",i),this.appendPoint(n),this.appendLine(i,n.concat(this.pointList))},setBackgroundPosition:function(e){var t=this,n=this.chartInstance.getOption().graphic[0].elements[0].position;this.panPosition=this.chartInstance.getOption().graphic[0].elements[0].position;var i=this.vecSub(e,n);this.pointListCopy=JSON.parse(JSON.stringify(this.pointList)),this.pointListCopy.forEach((function(e){e.position=t.vecAdd(e.position,i)})),this.updatePoints(this.pointListCopy),this.drawLine(this.lineList,this.pointListCopy),this.pointList=JSON.parse(JSON.stringify(this.pointListCopy)),this.panPosition=this.chartInstance.getOption().graphic[0].elements[0].position,this.chartInstance.setOption({graphic:[{id:"toolPan",$action:"merge",position:e}]})},deletePoint:function(e){var t=this,n=this.removeTreeNode(this.pointTree,e),i=this.getPointsArrFromTree([n]),r=i.map((function(e){return e.id})),a=[],o=[];this.pointList.forEach((function(e){r.includes(e.id)?(o.push({id:e.name,$action:"remove"}),o.push({id:e.name+"-text",$action:"remove"})):a.push(e)})),this.pointList=a,this.lineList.forEach((function(e){var n=[];if(e.nodes.forEach((function(e){t.pointList.forEach((function(t){e.name===t.name&&n.push(t.position)}))})),n.length<2){var i={id:e.name,type:"polyline",$action:"remove",z:2},r={id:e.name+"-text",type:"text",$action:"remove",z:3};o.push(i),o.push(r)}})),this.chartInstance.setOption({graphic:o});var s=this.getLinesArrFromTree(this.pointTree);this.lineList=s},removeTreeNode:function(e,t){for(var n=null,i=0;i<e.length;i++){var r=e[i];if(r.id===t.id){n=e.splice(i,1)[0];break}if(r.children&&r.children.length>0&&(n=this.removeTreeNode(r.children,t),n))break}return n},getResultData:function(){var e,t=this;if(1===this.curScale)e=this.updateTreeData(this.pointTree,this.pointList);else{var n=[this.backgroundWidth/2,this.backgroundHeight/2],i=1,r=JSON.parse(JSON.stringify(this.pointList));r.forEach((function(e){var r=t.vecSub(e.position,n),a=t.vecScale(r,i);e.position=t.vecAdd(a,n)})),e=this.updateTreeData(this.pointTree,r)}return e},updateTreeData:function(e,t){var n=this;return e.forEach((function(e){var i=t.find((function(t){return t.id===e.id}));i&&(e.position=i.position);var r=n.distanceCollection.find((function(t){return t.name===e.name}));r&&(e.distance=r.value),e.children&&e.children.length>0&&n.updateTreeData(e.children,t)})),e}}}),t3=e3,n3=w0(t3,K2,Q2,!1,null,null,null),i3=n3.exports;i3.install=function(e){e.component(i3.name,i3)};var r3=i3,a3=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},o3=[],s3={name:"DtRadar",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},shape:{type:String,default:"polygon",validator:function(e){return["circle","polygon"].includes(e)}},indicator:{type:Array,required:!0},legendOrient:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},showLegend:{type:Boolean,default:!0},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendSelected:{type:Object,default:function(){}}},data:function(){return{chartInstance:null}},watch:{data:function(e){var t=this.chartInstance.getOption();t.series[0].data=this.processSeries(),t.legend[0].data=e.map((function(e){return e.name})),this.chartInstance.setOption(t,!0)}},mounted:function(){var e=this,t=[];this.data[0].data.forEach((function(n,i){t.push([n,e.indicator[i].text])})),this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption())},methods:{processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;return this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],t.push(e.radarSeries(i.name,a,i.data))})),t},radarSeries:function(e,t,n){return{name:e,itemStyle:{color:t,lineStyle:{color:t},shadowColor:t,shadowBlur:10},lineStyle:{width:1.5},areaStyle:{color:{type:"linear",x:0,y:0,x2:1,y2:1,colorStops:[{offset:0,color:t},{offset:.5,color:B0(t,.1)},{offset:1,color:t}],globalCoord:!1},opacity:1},value:n}},chartOption:function(){var e=this.processSeries();return{tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text}},legend:{type:"scroll",show:this.showLegend,data:this.data.map((function(e){return e.name})),orient:this.legendOrient,top:"horizontal"===this.legendOrient?5:"center",left:"horizontal"===this.legendOrient?"center":5,icon:this.legendIcon,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:12,height:12,rich:{a:{verticalAlign:"bottom"}}},selected:this.legendSelected},radar:{shape:this.shape,center:["50%","55%"],axisName:{color:this.colorTheme.text,margin:15},indicator:this.indicator,splitArea:{show:!1},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{lineStyle:{color:this.colorTheme.axisLine,width:1}}},series:[{type:"radar",symbolSize:6,emphasis:{lineStyle:{width:3}},data:e}]}}}},l3=s3,u3=w0(l3,a3,o3,!1,null,null,null),c3=u3.exports;c3.install=function(e){e.component(c3.name,c3)};var h3=c3,d3=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},f3=[],p3={name:"DtRadarDrag",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},count:{type:Object,default:function(){return{max:5,min:0}}},angle:{type:Object,default:function(){return{max:360,min:0}}},disabled:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,myChart:null}},watch:{data:function(e){}},mounted:function(){for(var e=JSON.parse(JSON.stringify(this.data)),t=[],n=0;n<e.length;n++)t.push({max:this.count.max});var i=this;this.myChart=Nx(this.$refs.chart),this.myChart.setOption({radar:{indicator:t,radius:["0%","70%"],splitArea:{areaStyle:{color:[]}}},polar:{radius:["0%","70%"]},angleAxis:[{type:"value",max:this.angle.max,min:this.angle.min,show:!0,axisLine:{show:!1}}],radiusAxis:[{type:"value",max:this.count.max,min:this.count.min,show:!1,color:"rgba(255, 80, 0, 0)",axisLabel:{rotate:0,color:"rgba(255, 80, 0, 0.66)"}}],series:[{name:"",id:"echarts_radar",type:"radar",symbolSize:0,color:this.disabled?"rgba(255, 0, 0, 0.3)":"rgba(255, 0, 0, 1)",data:[{value:e.map((function(e){return e[0]}))}]}]}),this.myChart.setOption({graphic:c.map(e,(function(t,n){return{type:"circle",position:i.myChart.convertToPixel("polar",t),shape:{r:4},invisible:!1,draggable:!i.disabled,style:{fill:i.disabled?"rgba(255, 0, 0, 0.3)":"rgba(255, 0, 0, 1)"},ondrag:function(){i.onPointDragging(n,[this.x,this.y]),e[n]=[i.myChart.convertFromPixel("polar",[this.x,this.y])[0],e[n][1]],e[n][0]=e[n][0]>5?5:e[n][0];var t=i.myChart.convertToPixel("polar",e[n]);this.x=t[0],this.y=t[1],i.myChart.setOption({series:[{id:"echarts_radar",data:[{value:e.map((function(e){return e[0]}))}]}]}),i.$emit("changed",e[n])},onclick:function(e){var t=[i.myChart.convertFromPixel("polar",[this.x,this.y])[0],i.data[n][1]];i.$emit("changed",t)},z:100}}))}),window.addEventListener("resize",(function(){i.myChart.setOption({graphic:c.map(e,(function(e,t){return{position:i.myChart.convertToPixel("polar",e)}}))})}))},methods:{handleGraphicStyle:function(e){var t=this.myChart.getModel().option.graphic;this.myChart.setOption({graphic:t}),e.target.style.fill="rgba(0,255,255,1)",this.myChart.setOption({series:[{id:"cross_section",data:this.data}]})},onPointDragging:function(){},showTooltip:function(){},hideTooltip:function(){}}},m3=p3,g3=w0(m3,d3,f3,!1,null,null,null),y3=g3.exports;y3.install=function(e){e.component(y3.name,y3)};var v3=y3,_3=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},x3=[],b3={name:"DtHeatmap",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},xData:{type:Array},yData:{type:Array},data:{type:Array,required:!0},colors:{type:Array},dataZoom:{type:Array,default:function(){return[0,100]}},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},yAxisLabelFormatter:Function,grid:{type:Array,default:function(){return[60,100,60,90]}},labelFontSize:{type:Number,default:12},visualMap:{type:Object,default:function(){return{}}},showTooltip:{type:Boolean,default:!0},xAxisPosition:{type:String,default:"bottom"},yAxisMaxMultiple:Number,dataZoomDisabled:Boolean},data:function(){return{chartInstance:null}},watch:{data:function(e){this.chartInstance.setOption(this.chartOption())}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption())},methods:{chartOption:function(){var e,t,n=this.yAxisMaxMultiple-this.yData.length;while(n>0)this.yData.push(""),n--;return{tooltip:{show:this.showTooltip,backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},axisPointer:{lineStyle:{color:this.colorTheme.blue}}},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{position:this.xAxisPosition,type:"category",name:this.xAxisName,nameTextStyle:{color:this.colorTheme.text},splitNumber:1,axisLabel:{color:this.colorTheme.text,margin:15,fontSize:this.labelFontSize,formatter:this.timeAxis?"{yyyy}-{MM}-{dd}\n{HH}:{mm}:{ss}":null},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},axisTick:{show:!0},data:this.xData},yAxis:{type:"category",inverse:"top"===this.xAxisPosition,name:this.yAxisName,nameTextStyle:{color:this.colorTheme.text},axisLabel:{margin:15,color:this.colorTheme.text,fontSize:this.labelFontSize,formatter:this.yAxisLabelFormatter},axisLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},data:this.yData},visualMap:{type:"continuous",show:this.visualMap.show,orient:this.visualMap.orient||"vertical",top:this.visualMap.top||"center",right:this.visualMap.right||0,bottom:this.visualMap.bottom||"auto",left:this.visualMap.left||"auto",min:this.visualMap.min||0,max:this.visualMap.max||1,textStyle:{color:(null===(e=this.visualMap)||void 0===e||null===(t=e.textStyle)||void 0===t?void 0:t.color)||this.colorTheme.text},calculable:this.visualMap.calculable||!0,realtime:this.visualMap.realtime||!1,inRange:{color:this.colors||this.colorDefault.reverse()}},dataZoom:[{type:"inside",show:!this.dataZoomDisabled,start:this.dataZoom[0],end:this.dataZoom[1],disabled:this.dataZoomDisabled,filterMode:"none"},{type:"slider",show:!this.dataZoomDisabled,yAxisIndex:[0],startValue:0,endValue:this.dataZoomDisabled?null:this.yAxisMaxMultiple-1,width:10,backgroundColor:this.colorTheme.background,borderColor:"transparent",fillerColor:this.colorTheme.axisLine,handleSize:0,moveHandleSize:0,textStyle:{color:"transparent"},zoomLock:!0,disabled:this.dataZoomDisabled,filterMode:"none",rangeMode:["value","value"],brushSelect:!1}],series:[{type:"heatmap",data:this.data,emphasis:{itemStyle:{borderColor:this.colorTheme.text,borderWidth:1}},itemStyle:{borderWidth:0},progressive:1e3,animation:!1}]}}}},w3=b3,M3=w0(w3,_3,x3,!1,null,null,null),S3=M3.exports;S3.install=function(e){e.component(S3.name,S3)};var T3=S3,L3=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},D3=[],A3={name:"DtHeatmapBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},xAxis:{type:Array,default:function(){return[{}]}},yAxis:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},visualMap:{type:Object,default:function(){return{}}},dataZoom:{type:Array,default:function(){return[{}]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,defaultXAxis:{show:!0,gridIndex:0,position:"bottom",type:"category",name:"x轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultYAxis:{show:!0,gridIndex:0,position:"left",type:"category",name:"y轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"dashed",opacity:.4}}},defaultTitle:{show:!1,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!1,orient:"horizontal",icon:"rect"},defaultTooltip:{show:!0,trigger:"item",triggerOn:"mousemove"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60},defaultDataZoom:{inside:{type:"inside",disabled:!1,filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1},slider:{type:"slider",disabled:!1,backgroundColor:"rgba(47,69,84,0)",filterMode:"filter",start:0,end:100,right:15,width:16,orient:"vertical",yAxisIndex:[0],zoomLock:!1}},defaultVisualMap:{show:!0,type:"continuous",orient:"horizontal",top:"auto",left:"center",bottom:5,right:"center",min:0,max:1,inRange:{color:["#13B285FF","#3DB213FF","#94B213FF","#a68915","#A66014FF","#A74013FF","#AA2507FF","#8107AAFF"]},calculable:!0,realtime:!1},defaultHeatmap:{type:"heatmap",name:"",coordinateSystem:"cartesian2d",progressive:"400"},zoomAxis:[],userXAxis:[],userYAxis:[]}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processData:function(e){var t=Z0(this.defaultHeatmap,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){console.log(1,n);var i=e.processData(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),a=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),o=Z0(this.defaultTooltip,this.tooltip),s=this.xAxis.map((function(t,n){var i=Z0(e.defaultXAxis,t);return i}));this.userXAxis=s;var l=this.yAxis.map((function(t){return Z0(e.defaultYAxis,t)})),u=Z0(this.defaultVisualMap,this.visualMap);this.userYAxis=s;var c=this.dataZoom.map((function(t){var n=t.type?t.type:"inside",i=Z0(e.defaultDataZoom[n],t);return i})),h={title:i,grid:a,legend:r,tooltip:o,xAxis:s,yAxis:l,visualMap:u,dataZoom:c,series:t};return h},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=this.chartInstance.getOption();i.series.forEach((function(e){var t=n.find((function(t){return t.name===e.name})),i=t.data;e.data=i}));var r=[];n.forEach((function(e){var n=i.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);r.push(a)}})),r.length&&(i.series=i.series.concat(r)),this.chartInstance.setOption(i,!0)}}},O3=A3,k3=w0(O3,L3,D3,!1,null,null,null),I3=k3.exports;I3.install=function(e){e.component(I3.name,I3)};var C3=I3,E3=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},P3=[],N3={name:"DtGauge",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Object,required:!0,default:function(){}},min:{type:Number,default:0},max:{type:Number,default:100},startAngle:{type:Number,default:225},endAngle:{type:Number,default:-45},roundCap:{type:Boolean,default:!1},progressColor:{type:Array,default:function(){return[]}},axisLineColor:{type:[String,Array]},axisTickWidth:{type:Number,default:1},barWidth:{type:Number,default:10},distance:{type:Number,default:15}},data:function(){return{chartInstance:null}},watch:{data:function(e){var t=this.chartInstance.getOption();t.series[0].data[0].name=e.name,t.series[0].data[0]=e,this.chartInstance.setOption(t,!0)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption())},methods:{chartOption:function(){return{tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text}},series:[{name:this.data.name,type:"gauge",min:this.min,max:this.max,progress:{show:!0,roundCap:this.roundCap,width:this.barWidth,itemStyle:{color:{type:"linear",x:.5,y:.5,r:0,colorStops:[{offset:0,color:this.progressColor[0]||this.colorTheme.blue},{offset:.5,color:this.progressColor[1]||this.colorTheme.cyan},{offset:1,color:this.progressColor[2]||this.colorTheme.green}],global:!1},shadowColor:this.progressColor[0]||this.colorTheme.blue,shadowBlur:10}},pointer:{itemStyle:{color:{type:"linear",x:1,y:1,r:1,colorStops:[{offset:0,color:this.progressColor[0]||this.colorTheme.blue},{offset:.5,color:this.progressColor[1]||this.colorTheme.cyan},{offset:1,color:this.progressColor[2]||this.colorTheme.green}],global:!1},shadowColor:this.progressColor[0]||this.colorTheme.blue,shadowBlur:10}},startAngle:this.startAngle,endAngle:this.endAngle,title:{valueAnimation:!0,color:this.colorTheme.text},detail:{color:this.colorTheme.text,valueAnimation:!0,formatter:"{value}"},axisLabel:{color:this.colorTheme.text,distance:this.distance,textBorderWidth:1},axisLine:{roundCap:this.roundCap,lineStyle:{width:this.barWidth,color:this.axisLineColor&&"string"===typeof this.axisLineColor?[[0,this.axisLineColor],[1,this.axisLineColor]]:this.axisLineColor&&this.axisLineColor instanceof Array?this.axisLineColor:this.colorDefault.map((function(e,t){return[.14*(t+1),B0(e,.2)]}))}},splitLine:{lineStyle:{width:this.axisTickWidth,color:this.colorTheme.axisLine}},axisTick:{lineStyle:{width:this.axisTickWidth,color:this.colorTheme.axisLine}},data:[this.data]}]}}}},R3=N3,Y3=w0(R3,E3,P3,!1,null,null,null),z3=Y3.exports;z3.install=function(e){e.component(z3.name,z3)};var H3=z3,j3=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},F3=[],B3={name:"DtGaugeCommon",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},xAxis:{type:Array,default:function(){return[{}]}},yAxis:{type:Array,default:function(){return[{}]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,markLineValue:"",maxXTime:void 0,defaultTitle:{show:!1,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultGrid:{show:!0,left:0,top:0,right:0,bottom:0,borderWidth:0},defaultTooltip:{show:!0,trigger:"axis",axisPointer:{type:"line"},triggerOn:"mousemove"},defaultGauge:{type:"gauge",startAngle:225,endAngle:-45,min:0,max:100,radius:"85%",axisLine:{show:!0,roundCap:!0,lineStyle:{color:[[1,"#6c6c6c"]],width:10}},progress:{show:!0,overlap:!0,roundCap:!0,clip:!0,width:10,itemStyle:{color:{type:"linear",x:0,x2:1,colorStops:[{offset:0,color:"#2b67d6"},{offset:1,color:"#31e28e"}]}}},splitLine:{show:!0,length:10,distance:10,lineStyle:{width:3,color:"#fff",type:"solid"}},axisTick:{show:!0,splitNumber:5,lineStyle:{width:1,color:"#fff"}},axisLabel:{color:"#fff",distance:15},pointer:{show:!0,showAbove:!0,itemStyle:{color:"#2b67d6"}},title:{show:!0,color:"#fff",fontSize:18},detail:{color:"#d3d1d1",valueAnimation:!0,formatter:"{value}",fontSize:16}},defaultPie:{type:"pie",label:{show:!1},labelLine:{show:!1},emphasis:{scale:!1},center:["50%","50%"],radius:[0,"30%"],silent:!0},defaultScatter:{type:"scatter",symbol:"circle",symbolSize:10,label:{show:!1},labelLine:{show:!1},emphasis:{scale:!1},silent:!0}}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processGauge:function(e){var t=Z0(this.defaultGauge,e);return t},processPie:function(e){var t=Z0(this.defaultPie,e);return t},processScatter:function(e){var t=Z0(this.defaultScatter,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=n.type.slice(0,1).toUpperCase()+n.type.slice(1),r=e["process"+i](n);t.push(r)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),a=Z0(this.defaultTooltip,this.tooltip),o={title:i,grid:r,tooltip:a,series:t};return o},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=[],r=this.chartInstance.getOption();n.forEach((function(e){var t=r.series.find((function(t){return t.name===e.name}));t&&(t.data=e.data)})),n.forEach((function(e){var n=r.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);i.push(a)}})),i.length&&(r.series=r.series.concat(i)),this.chartInstance.setOption(r,!0)},appendSeries:function(e){var t=this,n=[];e.forEach((function(e){var i=e.type.slice(0,1).toUpperCase()+e.type.slice(1),r=t["process"+i](e);n.push(r)}));var i=this.chartInstance.getOption();i.series=i.series.concat(n),this.chartInstance.setOption(i,!0)},deleteSeries:function(e){var t=this.chartInstance.getOption();t.series=t.series.filter((function(t){return-1===e.indexOf(t.name)})),this.chartInstance.setOption(t,!0)}}},V3=B3,G3=w0(V3,j3,F3,!1,null,null,null),W3=G3.exports;W3.install=function(e){e.component(W3.name,W3)};var U3=W3,X3=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Z3=[];function q3(e,t,n){"object"==typeof t&&(n=t,t=null);var i,r=this;if(!(e instanceof Function))for(var a in i=[],e)e.hasOwnProperty(a)&&i.push(a);var o=function(t){if(r.apply(this,arguments),e instanceof Function?$3(this,e.call(this,t)):J3(this,e,i),this.constructor===o)for(var n=o.__initializers__,a=0;a<n.length;a++)n[a].apply(this,arguments)};o.__super__=r,r.__initializers__?o.__initializers__=r.__initializers__.slice():o.__initializers__=[],t&&o.__initializers__.push(t);var s=function(){};return s.prototype=r.prototype,o.prototype=new s,o.prototype.constructor=o,$3(o.prototype,n),o.extend=r.extend,o.derive=r.extend,o}function $3(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function J3(e,t,n){for(var i=0;i<n.length;i++){var r=n[i];e[r]=t[r]}}var K3={extend:q3,derive:q3};function Q3(e,t){this.action=e,this.context=t}var e4={trigger:function(e){if(this.hasOwnProperty("__handlers__")&&this.__handlers__.hasOwnProperty(e)){var t=this.__handlers__[e],n=t.length,i=-1,r=arguments;switch(r.length){case 1:while(++i<n)t[i].action.call(t[i].context);return;case 2:while(++i<n)t[i].action.call(t[i].context,r[1]);return;case 3:while(++i<n)t[i].action.call(t[i].context,r[1],r[2]);return;case 4:while(++i<n)t[i].action.call(t[i].context,r[1],r[2],r[3]);return;case 5:while(++i<n)t[i].action.call(t[i].context,r[1],r[2],r[3],r[4]);return;default:while(++i<n)t[i].action.apply(t[i].context,Array.prototype.slice.call(r,1));return}}},on:function(e,t,n){if(e&&t){var i=this.__handlers__||(this.__handlers__={});if(i[e]){if(this.has(e,t))return}else i[e]=[];var r=new Q3(t,n||this);return i[e].push(r),this}},once:function(e,t,n){if(e&&t){var i=this;return this.on(e,r,n)}function r(){i.off(e,r),t.apply(this,arguments)}},before:function(e,t,n){if(e&&t)return e="before"+e,this.on(e,t,n)},after:function(e,t,n){if(e&&t)return e="after"+e,this.on(e,t,n)},success:function(e,t){return this.once("success",e,t)},error:function(e,t){return this.once("error",e,t)},off:function(e,t){var n=this.__handlers__||(this.__handlers__={});if(t){if(n[e]){for(var i=n[e],r=[],a=0;a<i.length;a++)t&&i[a].action!==t&&r.push(i[a]);n[e]=r}return this}n[e]=[]},has:function(e,t){var n=this.__handlers__;if(!n||!n[e])return!1;for(var i=n[e],r=0;r<i.length;r++)if(i[r].action===t)return!0}},t4=e4,n4=0,i4=Array.prototype,r4=i4.forEach,a4={genGUID:function(){return++n4},relative2absolute:function(e,t){if(!t||e.match(/^\//))return e;var n=e.split("/"),i=t.split("/"),r=n[0];while("."===r||".."===r)".."===r&&i.pop(),n.shift(),r=n[0];return i.join("/")+"/"+n.join("/")},extend:function(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},defaults:function(e,t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},extendWithPropList:function(e,t,n){if(t)for(var i=0;i<n.length;i++){var r=n[i];e[r]=t[r]}return e},defaultsWithPropList:function(e,t,n){if(t)for(var i=0;i<n.length;i++){var r=n[i];null==e[r]&&(e[r]=t[r])}return e},each:function(e,t,n){if(e&&t)if(e.forEach&&e.forEach===r4)e.forEach(t,n);else if(e.length===+e.length)for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(n,e[a],a,e)},isObject:function(e){return e===Object(e)},isArray:function(e){return Array.isArray(e)},isArrayLike:function(e){return!!e&&e.length===+e.length},clone:function(e){if(a4.isObject(e)){if(a4.isArray(e))return e.slice();if(a4.isArrayLike(e)){for(var t=new e.constructor(e.length),n=0;n<e.length;n++)t[n]=e[n];return t}return a4.extend({},e)}return e}},o4=a4,s4=function(){this.__uid__=o4.genGUID()};s4.__initializers__=[function(e){o4.extend(this,e)}],o4.extend(s4,K3),o4.extend(s4.prototype,t4);var l4=s4,u4=["OES_texture_float","OES_texture_half_float","OES_texture_float_linear","OES_texture_half_float_linear","OES_standard_derivatives","OES_vertex_array_object","OES_element_index_uint","WEBGL_compressed_texture_s3tc","WEBGL_depth_texture","EXT_texture_filter_anisotropic","EXT_shader_texture_lod","WEBGL_draw_buffers","EXT_frag_depth","EXT_sRGB","ANGLE_instanced_arrays"],c4=["MAX_TEXTURE_SIZE","MAX_CUBE_MAP_TEXTURE_SIZE"];function h4(e){for(var t={},n={},i=0;i<u4.length;i++){var r=u4[i];o(r)}for(i=0;i<c4.length;i++){var a=c4[i];n[a]=e.getParameter(e[a])}function o(n){if(e.getExtension){var i=e.getExtension(n);i||(i=e.getExtension("MOZ_"+n)),i||(i=e.getExtension("WEBKIT_"+n)),t[n]=i}}this.getExtension=function(e){return e in t||o(e),t[e]},this.getParameter=function(e){return n[e]}}var d4=h4,f4={DEPTH_BUFFER_BIT:256,STENCIL_BUFFER_BIT:1024,COLOR_BUFFER_BIT:16384,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,ZERO:0,ONE:1,SRC_COLOR:768,ONE_MINUS_SRC_COLOR:769,SRC_ALPHA:770,ONE_MINUS_SRC_ALPHA:771,DST_ALPHA:772,ONE_MINUS_DST_ALPHA:773,DST_COLOR:774,ONE_MINUS_DST_COLOR:775,SRC_ALPHA_SATURATE:776,FUNC_ADD:32774,BLEND_EQUATION:32777,BLEND_EQUATION_RGB:32777,BLEND_EQUATION_ALPHA:34877,FUNC_SUBTRACT:32778,FUNC_REVERSE_SUBTRACT:32779,BLEND_DST_RGB:32968,BLEND_SRC_RGB:32969,BLEND_DST_ALPHA:32970,BLEND_SRC_ALPHA:32971,CONSTANT_COLOR:32769,ONE_MINUS_CONSTANT_COLOR:32770,CONSTANT_ALPHA:32771,ONE_MINUS_CONSTANT_ALPHA:32772,BLEND_COLOR:32773,ARRAY_BUFFER:34962,ELEMENT_ARRAY_BUFFER:34963,ARRAY_BUFFER_BINDING:34964,ELEMENT_ARRAY_BUFFER_BINDING:34965,STREAM_DRAW:35040,STATIC_DRAW:35044,DYNAMIC_DRAW:35048,BUFFER_SIZE:34660,BUFFER_USAGE:34661,CURRENT_VERTEX_ATTRIB:34342,FRONT:1028,BACK:1029,FRONT_AND_BACK:1032,CULL_FACE:2884,BLEND:3042,DITHER:3024,STENCIL_TEST:2960,DEPTH_TEST:2929,SCISSOR_TEST:3089,POLYGON_OFFSET_FILL:32823,SAMPLE_ALPHA_TO_COVERAGE:32926,SAMPLE_COVERAGE:32928,NO_ERROR:0,INVALID_ENUM:1280,INVALID_VALUE:1281,INVALID_OPERATION:1282,OUT_OF_MEMORY:1285,CW:2304,CCW:2305,LINE_WIDTH:2849,ALIASED_POINT_SIZE_RANGE:33901,ALIASED_LINE_WIDTH_RANGE:33902,CULL_FACE_MODE:2885,FRONT_FACE:2886,DEPTH_RANGE:2928,DEPTH_WRITEMASK:2930,DEPTH_CLEAR_VALUE:2931,DEPTH_FUNC:2932,STENCIL_CLEAR_VALUE:2961,STENCIL_FUNC:2962,STENCIL_FAIL:2964,STENCIL_PASS_DEPTH_FAIL:2965,STENCIL_PASS_DEPTH_PASS:2966,STENCIL_REF:2967,STENCIL_VALUE_MASK:2963,STENCIL_WRITEMASK:2968,STENCIL_BACK_FUNC:34816,STENCIL_BACK_FAIL:34817,STENCIL_BACK_PASS_DEPTH_FAIL:34818,STENCIL_BACK_PASS_DEPTH_PASS:34819,STENCIL_BACK_REF:36003,STENCIL_BACK_VALUE_MASK:36004,STENCIL_BACK_WRITEMASK:36005,VIEWPORT:2978,SCISSOR_BOX:3088,COLOR_CLEAR_VALUE:3106,COLOR_WRITEMASK:3107,UNPACK_ALIGNMENT:3317,PACK_ALIGNMENT:3333,MAX_TEXTURE_SIZE:3379,MAX_VIEWPORT_DIMS:3386,SUBPIXEL_BITS:3408,RED_BITS:3410,GREEN_BITS:3411,BLUE_BITS:3412,ALPHA_BITS:3413,DEPTH_BITS:3414,STENCIL_BITS:3415,POLYGON_OFFSET_UNITS:10752,POLYGON_OFFSET_FACTOR:32824,TEXTURE_BINDING_2D:32873,SAMPLE_BUFFERS:32936,SAMPLES:32937,SAMPLE_COVERAGE_VALUE:32938,SAMPLE_COVERAGE_INVERT:32939,COMPRESSED_TEXTURE_FORMATS:34467,DONT_CARE:4352,FASTEST:4353,NICEST:4354,GENERATE_MIPMAP_HINT:33170,BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,DEPTH_COMPONENT:6402,ALPHA:6406,RGB:6407,RGBA:6408,LUMINANCE:6409,LUMINANCE_ALPHA:6410,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,FRAGMENT_SHADER:35632,VERTEX_SHADER:35633,MAX_VERTEX_ATTRIBS:34921,MAX_VERTEX_UNIFORM_VECTORS:36347,MAX_VARYING_VECTORS:36348,MAX_COMBINED_TEXTURE_IMAGE_UNITS:35661,MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660,MAX_TEXTURE_IMAGE_UNITS:34930,MAX_FRAGMENT_UNIFORM_VECTORS:36349,SHADER_TYPE:35663,DELETE_STATUS:35712,LINK_STATUS:35714,VALIDATE_STATUS:35715,ATTACHED_SHADERS:35717,ACTIVE_UNIFORMS:35718,ACTIVE_ATTRIBUTES:35721,SHADING_LANGUAGE_VERSION:35724,CURRENT_PROGRAM:35725,NEVER:512,LESS:513,EQUAL:514,LEQUAL:515,GREATER:516,NOTEQUAL:517,GEQUAL:518,ALWAYS:519,KEEP:7680,REPLACE:7681,INCR:7682,DECR:7683,INVERT:5386,INCR_WRAP:34055,DECR_WRAP:34056,VENDOR:7936,RENDERER:7937,VERSION:7938,NEAREST:9728,LINEAR:9729,NEAREST_MIPMAP_NEAREST:9984,LINEAR_MIPMAP_NEAREST:9985,NEAREST_MIPMAP_LINEAR:9986,LINEAR_MIPMAP_LINEAR:9987,TEXTURE_MAG_FILTER:10240,TEXTURE_MIN_FILTER:10241,TEXTURE_WRAP_S:10242,TEXTURE_WRAP_T:10243,TEXTURE_2D:3553,TEXTURE:5890,TEXTURE_CUBE_MAP:34067,TEXTURE_BINDING_CUBE_MAP:34068,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074,MAX_CUBE_MAP_TEXTURE_SIZE:34076,TEXTURE0:33984,TEXTURE1:33985,TEXTURE2:33986,TEXTURE3:33987,TEXTURE4:33988,TEXTURE5:33989,TEXTURE6:33990,TEXTURE7:33991,TEXTURE8:33992,TEXTURE9:33993,TEXTURE10:33994,TEXTURE11:33995,TEXTURE12:33996,TEXTURE13:33997,TEXTURE14:33998,TEXTURE15:33999,TEXTURE16:34e3,TEXTURE17:34001,TEXTURE18:34002,TEXTURE19:34003,TEXTURE20:34004,TEXTURE21:34005,TEXTURE22:34006,TEXTURE23:34007,TEXTURE24:34008,TEXTURE25:34009,TEXTURE26:34010,TEXTURE27:34011,TEXTURE28:34012,TEXTURE29:34013,TEXTURE30:34014,TEXTURE31:34015,ACTIVE_TEXTURE:34016,REPEAT:10497,CLAMP_TO_EDGE:33071,MIRRORED_REPEAT:33648,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,INT_VEC2:35667,INT_VEC3:35668,INT_VEC4:35669,BOOL:35670,BOOL_VEC2:35671,BOOL_VEC3:35672,BOOL_VEC4:35673,FLOAT_MAT2:35674,FLOAT_MAT3:35675,FLOAT_MAT4:35676,SAMPLER_2D:35678,SAMPLER_CUBE:35680,VERTEX_ATTRIB_ARRAY_ENABLED:34338,VERTEX_ATTRIB_ARRAY_SIZE:34339,VERTEX_ATTRIB_ARRAY_STRIDE:34340,VERTEX_ATTRIB_ARRAY_TYPE:34341,VERTEX_ATTRIB_ARRAY_NORMALIZED:34922,VERTEX_ATTRIB_ARRAY_POINTER:34373,VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:34975,COMPILE_STATUS:35713,LOW_FLOAT:36336,MEDIUM_FLOAT:36337,HIGH_FLOAT:36338,LOW_INT:36339,MEDIUM_INT:36340,HIGH_INT:36341,FRAMEBUFFER:36160,RENDERBUFFER:36161,RGBA4:32854,RGB5_A1:32855,RGB565:36194,DEPTH_COMPONENT16:33189,STENCIL_INDEX:6401,STENCIL_INDEX8:36168,DEPTH_STENCIL:34041,RENDERBUFFER_WIDTH:36162,RENDERBUFFER_HEIGHT:36163,RENDERBUFFER_INTERNAL_FORMAT:36164,RENDERBUFFER_RED_SIZE:36176,RENDERBUFFER_GREEN_SIZE:36177,RENDERBUFFER_BLUE_SIZE:36178,RENDERBUFFER_ALPHA_SIZE:36179,RENDERBUFFER_DEPTH_SIZE:36180,RENDERBUFFER_STENCIL_SIZE:36181,FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:36048,FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:36049,FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:36050,FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:36051,COLOR_ATTACHMENT0:36064,DEPTH_ATTACHMENT:36096,STENCIL_ATTACHMENT:36128,DEPTH_STENCIL_ATTACHMENT:33306,NONE:0,FRAMEBUFFER_COMPLETE:36053,FRAMEBUFFER_INCOMPLETE_ATTACHMENT:36054,FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:36055,FRAMEBUFFER_INCOMPLETE_DIMENSIONS:36057,FRAMEBUFFER_UNSUPPORTED:36061,FRAMEBUFFER_BINDING:36006,RENDERBUFFER_BINDING:36007,MAX_RENDERBUFFER_SIZE:34024,INVALID_FRAMEBUFFER_OPERATION:1286,UNPACK_FLIP_Y_WEBGL:37440,UNPACK_PREMULTIPLY_ALPHA_WEBGL:37441,CONTEXT_LOST_WEBGL:37442,UNPACK_COLORSPACE_CONVERSION_WEBGL:37443,BROWSER_DEFAULT_WEBGL:37444},p4=n("620a"),m4=function(){this.head=null,this.tail=null,this._length=0};m4.prototype.insert=function(e){var t=new m4.Entry(e);return this.insertEntry(t),t},m4.prototype.insertAt=function(e,t){if(!(e<0)){var n=this.head,i=0;while(n&&i!=e)n=n.next,i++;if(n){var r=new m4.Entry(t),a=n.prev;a?(a.next=r,r.prev=a):this.head=r,r.next=n,n.prev=r}else this.insert(t)}},m4.prototype.insertBeforeEntry=function(e,t){var n=new m4.Entry(e),i=t.prev;i?(i.next=n,n.prev=i):this.head=n,n.next=t,t.prev=n,this._length++},m4.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,this.tail=e):this.head=this.tail=e,this._length++},m4.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._length--},m4.prototype.removeAt=function(e){if(!(e<0)){var t=this.head,n=0;while(t&&n!=e)t=t.next,n++;return t?(this.remove(t),t.value):void 0}},m4.prototype.getHead=function(){if(this.head)return this.head.value},m4.prototype.getTail=function(){if(this.tail)return this.tail.value},m4.prototype.getAt=function(e){if(!(e<0)){var t=this.head,n=0;while(t&&n!=e)t=t.next,n++;return t.value}},m4.prototype.indexOf=function(e){var t=this.head,n=0;while(t){if(t.value===e)return n;t=t.next,n++}},m4.prototype.length=function(){return this._length},m4.prototype.isEmpty=function(){return 0===this._length},m4.prototype.forEach=function(e,t){var n=this.head,i=0,r="undefined"!=typeof t;while(n)r?e.call(t,n.value,i):e(n.value,i),n=n.next,i++},m4.prototype.clear=function(){this.tail=this.head=null,this._length=0},m4.Entry=function(e){this.value=e,this.next=null,this.prev=null};var g4=m4,y4=function(e){this._list=new g4,this._map={},this._maxSize=e||10};y4.prototype.setMaxSize=function(e){this._maxSize=e},y4.prototype.put=function(e,t){if(!this._map.hasOwnProperty(e)){var n=this._list.length();if(n>=this._maxSize&&n>0){var i=this._list.head;this._list.remove(i),delete this._map[i.key]}var r=this._list.insert(t);r.key=e,this._map[e]=r}},y4.prototype.get=function(e){var t=this._map[e];if(this._map.hasOwnProperty(e))return t!==this._list.tail&&(this._list.remove(t),this._list.insertEntry(t)),t.value},y4.prototype.remove=function(e){var t=this._map[e];"undefined"!==typeof t&&(delete this._map[e],this._list.remove(t))},y4.prototype.clear=function(){this._list.clear(),this._map={}};var v4=y4,_4={},x4={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 b4(e){return e=Math.round(e),e<0?0:e>255?255:e}function w4(e){return e=Math.round(e),e<0?0:e>360?360:e}function M4(e){return e<0?0:e>1?1:e}function S4(e){return e.length&&"%"===e.charAt(e.length-1)?b4(parseFloat(e)/100*255):b4(parseInt(e,10))}function T4(e){return e.length&&"%"===e.charAt(e.length-1)?M4(parseFloat(e)/100):M4(parseFloat(e))}function L4(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 D4(e,t,n){return e+(t-e)*n}function A4(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e}function O4(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var k4=new v4(20),I4=null;function C4(e,t){I4&&O4(I4,t),I4=k4.put(e,I4||t.slice())}function E4(e,t){var n=(parseFloat(e[0])%360+360)%360/360,i=T4(e[1]),r=T4(e[2]),a=r<=.5?r*(i+1):r+i-r*i,o=2*r-a;return t=t||[],A4(t,b4(255*L4(o,a,n+1/3)),b4(255*L4(o,a,n)),b4(255*L4(o,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function P4(e){if(e){var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,u=(s+o)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;i===s?t=d-h:r===s?t=1/3+c-d:a===s&&(t=2/3+h-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}_4.parse=function(e,t){if(e){t=t||[];var n=k4.get(e);if(n)return O4(t,n);e+="";var i=e.replace(/ /g,"").toLowerCase();if(i in x4)return O4(t,x4[i]),C4(e,t),t;if("#"!==i.charAt(0)){var r=i.indexOf("("),a=i.indexOf(")");if(-1!==r&&a+1===i.length){var o=i.substr(0,r),s=i.substr(r+1,a-(r+1)).split(","),l=1;switch(o){case"rgba":if(4!==s.length)return void A4(t,0,0,0,1);l=T4(s.pop());case"rgb":return 3!==s.length?void A4(t,0,0,0,1):(A4(t,S4(s[0]),S4(s[1]),S4(s[2]),l),C4(e,t),t);case"hsla":return 4!==s.length?void A4(t,0,0,0,1):(s[3]=T4(s[3]),E4(s,t),C4(e,t),t);case"hsl":return 3!==s.length?void A4(t,0,0,0,1):(E4(s,t),C4(e,t),t);default:return}}A4(t,0,0,0,1)}else{if(4===i.length){var u=parseInt(i.substr(1),16);return u>=0&&u<=4095?(A4(t,(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1),C4(e,t),t):void A4(t,0,0,0,1)}if(7===i.length){u=parseInt(i.substr(1),16);return u>=0&&u<=16777215?(A4(t,(16711680&u)>>16,(65280&u)>>8,255&u,1),C4(e,t),t):void A4(t,0,0,0,1)}}}},_4.parseToFloat=function(e,t){if(t=_4.parse(e,t),t)return t[0]/=255,t[1]/=255,t[2]/=255,t},_4.lift=function(e,t){var n=_4.parse(e);if(n){for(var i=0;i<3;i++)n[i]=t<0?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0;return _4.stringify(n,4===n.length?"rgba":"rgb")}},_4.toHex=function(e){var t=_4.parse(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)},_4.fastLerp=function(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),o=t[r],s=t[a],l=i-r;return n[0]=b4(D4(o[0],s[0],l)),n[1]=b4(D4(o[1],s[1],l)),n[2]=b4(D4(o[2],s[2],l)),n[3]=M4(D4(o[3],s[3],l)),n}},_4.fastMapToColor=_4.fastLerp,_4.lerp=function(e,t,n){if(t&&t.length&&e>=0&&e<=1){var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),o=_4.parse(t[r]),s=_4.parse(t[a]),l=i-r,u=_4.stringify([b4(D4(o[0],s[0],l)),b4(D4(o[1],s[1],l)),b4(D4(o[2],s[2],l)),M4(D4(o[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:a,value:i}:u}},_4.mapToColor=_4.lerp,_4.modifyHSL=function(e,t,n,i){if(e=_4.parse(e),e)return e=P4(e),null!=t&&(e[0]=w4(t)),null!=n&&(e[1]=T4(n)),null!=i&&(e[2]=T4(i)),_4.stringify(E4(e),"rgba")},_4.modifyAlpha=function(e,t){if(e=_4.parse(e),e&&null!=t)return e[3]=M4(t),_4.stringify(e,"rgba")},_4.stringify=function(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+")"}};var N4=_4,R4=N4.parseToFloat,Y4={};function z4(e){var t=Object.keys(e);t.sort();for(var n=[],i=0;i<t.length;i++){var r=t[i],a=e[r];null===a?n.push(r):n.push(r+" "+a.toString())}return n.join("\n")}function H4(e,t,n){n.sort();for(var i=[],r=0;r<n.length;r++){var a=n[r];i.push(a)}var o=z4(e)+"\n"+z4(t)+"\n"+i.join("\n");if(Y4[o])return Y4[o];var s=o4.genGUID();return Y4[o]=s,s}var j4=l4.extend((function(){return{name:"",depthTest:!0,depthMask:!0,transparent:!1,blend:null,autoUpdateTextureStatus:!0,uniforms:{},vertexDefines:{},fragmentDefines:{},_textureStatus:{},_enabledUniforms:null}}),(function(){this.name||(this.name="MATERIAL_"+this.__uid__),this.shader&&this.attachShader(this.shader,!0)}),{precision:"highp",setUniform:function(e,t){void 0===t&&console.warn('Uniform value "'+e+'" is undefined');var n=this.uniforms[e];n&&("string"===typeof t&&(t=R4(t)||t),n.value=t,this.autoUpdateTextureStatus&&"t"===n.type&&(t?this.enableTexture(e):this.disableTexture(e)))},setUniforms:function(e){for(var t in e){var n=e[t];this.setUniform(t,n)}},isUniformEnabled:function(e){return this._enabledUniforms.indexOf(e)>=0},getEnabledUniforms:function(){return this._enabledUniforms},getTextureUniforms:function(){return this._textureUniforms},set:function(e,t){if("object"===typeof e)for(var n in e){var i=e[n];this.setUniform(n,i)}else this.setUniform(e,t)},get:function(e){var t=this.uniforms[e];if(t)return t.value},attachShader:function(e,t){var n=this.uniforms;this.uniforms=e.createUniforms(),this.shader=e;var i=this.uniforms;this._enabledUniforms=Object.keys(i),this._enabledUniforms.sort(),this._textureUniforms=this._enabledUniforms.filter((function(e){var t=this.uniforms[e].type;return"t"===t||"tv"===t}),this);var r=this.vertexDefines,a=this.fragmentDefines;if(this.vertexDefines=o4.clone(e.vertexDefines),this.fragmentDefines=o4.clone(e.fragmentDefines),t){for(var o in n)i[o]&&(i[o].value=n[o].value);o4.defaults(this.vertexDefines,r),o4.defaults(this.fragmentDefines,a)}var s={};for(var l in e.textures)s[l]={shaderType:e.textures[l].shaderType,type:e.textures[l].type,enabled:!(!t||!this._textureStatus[l])&&this._textureStatus[l].enabled};this._textureStatus=s,this._programKey=""},clone:function(){var e=new this.constructor({name:this.name,shader:this.shader});for(var t in this.uniforms)e.uniforms[t].value=this.uniforms[t].value;return e.depthTest=this.depthTest,e.depthMask=this.depthMask,e.transparent=this.transparent,e.blend=this.blend,e.vertexDefines=o4.clone(this.vertexDefines),e.fragmentDefines=o4.clone(this.fragmentDefines),e.enableTexture(this.getEnabledTextures()),e.precision=this.precision,e},define:function(e,t,n){var i=this.vertexDefines,r=this.fragmentDefines;"vertex"!==e&&"fragment"!==e&&"both"!==e&&arguments.length<3&&(n=t,t=e,e="both"),n=null!=n?n:null,"vertex"!==e&&"both"!==e||i[t]!==n&&(i[t]=n,this._programKey=""),"fragment"!==e&&"both"!==e||r[t]!==n&&(r[t]=n,"both"!==e&&(this._programKey=""))},undefine:function(e,t){"vertex"!==e&&"fragment"!==e&&"both"!==e&&arguments.length<2&&(t=e,e="both"),"vertex"!==e&&"both"!==e||this.isDefined("vertex",t)&&(delete this.vertexDefines[t],this._programKey=""),"fragment"!==e&&"both"!==e||this.isDefined("fragment",t)&&(delete this.fragmentDefines[t],"both"!==e&&(this._programKey=""))},isDefined:function(e,t){switch(e){case"vertex":return void 0!==this.vertexDefines[t];case"fragment":return void 0!==this.fragmentDefines[t]}},getDefine:function(e,t){switch(e){case"vertex":return this.vertexDefines[t];case"fragment":return this.fragmentDefines[t]}},enableTexture:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.enableTexture(e[t]);else{var n=this._textureStatus[e];if(n){var i=n.enabled;i||(n.enabled=!0,this._programKey="")}}},enableTexturesAll:function(){var e=this._textureStatus;for(var t in e)e[t].enabled=!0;this._programKey=""},disableTexture:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.disableTexture(e[t]);else{var n=this._textureStatus[e];if(n){var i=!n.enabled;i||(n.enabled=!1,this._programKey="")}}},disableTexturesAll:function(){var e=this._textureStatus;for(var t in e)e[t].enabled=!1;this._programKey=""},isTextureEnabled:function(e){var t=this._textureStatus;return!!t[e]&&t[e].enabled},getEnabledTextures:function(){var e=[],t=this._textureStatus;for(var n in t)t[n].enabled&&e.push(n);return e},dirtyDefines:function(){this._programKey=""},getProgramKey:function(){return this._programKey||(this._programKey=H4(this.vertexDefines,this.fragmentDefines,this.getEnabledTextures())),this._programKey}}),F4=j4,B4=1e-6,V4=Array,G4=Math.random,W4={create:function(){var e=new V4(2);return e[0]=0,e[1]=0,e},clone:function(e){var t=new V4(2);return t[0]=e[0],t[1]=e[1],t},fromValues:function(e,t){var n=new V4(2);return n[0]=e,n[1]=t,n},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},set:function(e,t,n){return e[0]=t,e[1]=n,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},subtract:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}};W4.sub=W4.subtract,W4.multiply=function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e},W4.mul=W4.multiply,W4.divide=function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e},W4.div=W4.divide,W4.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e},W4.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e},W4.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},W4.scaleAndAdd=function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e},W4.distance=function(e,t){var n=t[0]-e[0],i=t[1]-e[1];return Math.sqrt(n*n+i*i)},W4.dist=W4.distance,W4.squaredDistance=function(e,t){var n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i},W4.sqrDist=W4.squaredDistance,W4.length=function(e){var t=e[0],n=e[1];return Math.sqrt(t*t+n*n)},W4.len=W4.length,W4.squaredLength=function(e){var t=e[0],n=e[1];return t*t+n*n},W4.sqrLen=W4.squaredLength,W4.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e},W4.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e},W4.normalize=function(e,t){var n=t[0],i=t[1],r=n*n+i*i;return r>0&&(r=1/Math.sqrt(r),e[0]=t[0]*r,e[1]=t[1]*r),e},W4.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]},W4.cross=function(e,t,n){var i=t[0]*n[1]-t[1]*n[0];return e[0]=e[1]=0,e[2]=i,e},W4.lerp=function(e,t,n,i){var r=t[0],a=t[1];return e[0]=r+i*(n[0]-r),e[1]=a+i*(n[1]-a),e},W4.random=function(e,t){t=t||1;var n=2*GLMAT_RANDOM()*Math.PI;return e[0]=Math.cos(n)*t,e[1]=Math.sin(n)*t,e},W4.transformMat2=function(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[2]*r,e[1]=n[1]*i+n[3]*r,e},W4.transformMat2d=function(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[2]*r+n[4],e[1]=n[1]*i+n[3]*r+n[5],e},W4.transformMat3=function(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[3]*r+n[6],e[1]=n[1]*i+n[4]*r+n[7],e},W4.transformMat4=function(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[4]*r+n[12],e[1]=n[1]*i+n[5]*r+n[13],e},W4.forEach=function(){var e=W4.create();return function(t,n,i,r,a,o){var s,l;for(n||(n=2),i||(i=0),l=r?Math.min(r*n+i,t.length):t.length,s=i;s<l;s+=n)e[0]=t[s],e[1]=t[s+1],a(e,e,o),t[s]=e[0],t[s+1]=e[1];return t}}();var U4=W4,X4=function(e,t){e=e||0,t=t||0,this.array=U4.fromValues(e,t),this._dirty=!0};if(X4.prototype={constructor:X4,add:function(e){return U4.add(this.array,this.array,e.array),this._dirty=!0,this},set:function(e,t){return this.array[0]=e,this.array[1]=t,this._dirty=!0,this},setArray:function(e){return this.array[0]=e[0],this.array[1]=e[1],this._dirty=!0,this},clone:function(){return new X4(this.x,this.y)},copy:function(e){return U4.copy(this.array,e.array),this._dirty=!0,this},cross:function(e,t){return U4.cross(e.array,this.array,t.array),e._dirty=!0,this},dist:function(e){return U4.dist(this.array,e.array)},distance:function(e){return U4.distance(this.array,e.array)},div:function(e){return U4.div(this.array,this.array,e.array),this._dirty=!0,this},divide:function(e){return U4.divide(this.array,this.array,e.array),this._dirty=!0,this},dot:function(e){return U4.dot(this.array,e.array)},len:function(){return U4.len(this.array)},length:function(){return U4.length(this.array)},lerp:function(e,t,n){return U4.lerp(this.array,e.array,t.array,n),this._dirty=!0,this},min:function(e){return U4.min(this.array,this.array,e.array),this._dirty=!0,this},max:function(e){return U4.max(this.array,this.array,e.array),this._dirty=!0,this},mul:function(e){return U4.mul(this.array,this.array,e.array),this._dirty=!0,this},multiply:function(e){return U4.multiply(this.array,this.array,e.array),this._dirty=!0,this},negate:function(){return U4.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return U4.normalize(this.array,this.array),this._dirty=!0,this},random:function(e){return U4.random(this.array,e),this._dirty=!0,this},scale:function(e){return U4.scale(this.array,this.array,e),this._dirty=!0,this},scaleAndAdd:function(e,t){return U4.scaleAndAdd(this.array,this.array,e.array,t),this._dirty=!0,this},sqrDist:function(e){return U4.sqrDist(this.array,e.array)},squaredDistance:function(e){return U4.squaredDistance(this.array,e.array)},sqrLen:function(){return U4.sqrLen(this.array)},squaredLength:function(){return U4.squaredLength(this.array)},sub:function(e){return U4.sub(this.array,this.array,e.array),this._dirty=!0,this},subtract:function(e){return U4.subtract(this.array,this.array,e.array),this._dirty=!0,this},transformMat2:function(e){return U4.transformMat2(this.array,this.array,e.array),this._dirty=!0,this},transformMat2d:function(e){return U4.transformMat2d(this.array,this.array,e.array),this._dirty=!0,this},transformMat3:function(e){return U4.transformMat3(this.array,this.array,e.array),this._dirty=!0,this},transformMat4:function(e){return U4.transformMat4(this.array,this.array,e.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},Object.defineProperty){var Z4=X4.prototype;Object.defineProperty(Z4,"x",{get:function(){return this.array[0]},set:function(e){this.array[0]=e,this._dirty=!0}}),Object.defineProperty(Z4,"y",{get:function(){return this.array[1]},set:function(e){this.array[1]=e,this._dirty=!0}})}X4.add=function(e,t,n){return U4.add(e.array,t.array,n.array),e._dirty=!0,e},X4.set=function(e,t,n){return U4.set(e.array,t,n),e._dirty=!0,e},X4.copy=function(e,t){return U4.copy(e.array,t.array),e._dirty=!0,e},X4.cross=function(e,t,n){return U4.cross(e.array,t.array,n.array),e._dirty=!0,e},X4.dist=function(e,t){return U4.distance(e.array,t.array)},X4.distance=X4.dist,X4.div=function(e,t,n){return U4.divide(e.array,t.array,n.array),e._dirty=!0,e},X4.divide=X4.div,X4.dot=function(e,t){return U4.dot(e.array,t.array)},X4.len=function(e){return U4.length(e.array)},X4.lerp=function(e,t,n,i){return U4.lerp(e.array,t.array,n.array,i),e._dirty=!0,e},X4.min=function(e,t,n){return U4.min(e.array,t.array,n.array),e._dirty=!0,e},X4.max=function(e,t,n){return U4.max(e.array,t.array,n.array),e._dirty=!0,e},X4.mul=function(e,t,n){return U4.multiply(e.array,t.array,n.array),e._dirty=!0,e},X4.multiply=X4.mul,X4.negate=function(e,t){return U4.negate(e.array,t.array),e._dirty=!0,e},X4.normalize=function(e,t){return U4.normalize(e.array,t.array),e._dirty=!0,e},X4.random=function(e,t){return U4.random(e.array,t),e._dirty=!0,e},X4.scale=function(e,t,n){return U4.scale(e.array,t.array,n),e._dirty=!0,e},X4.scaleAndAdd=function(e,t,n,i){return U4.scaleAndAdd(e.array,t.array,n.array,i),e._dirty=!0,e},X4.sqrDist=function(e,t){return U4.sqrDist(e.array,t.array)},X4.squaredDistance=X4.sqrDist,X4.sqrLen=function(e){return U4.sqrLen(e.array)},X4.squaredLength=X4.sqrLen,X4.sub=function(e,t,n){return U4.subtract(e.array,t.array,n.array),e._dirty=!0,e},X4.subtract=X4.sub,X4.transformMat2=function(e,t,n){return U4.transformMat2(e.array,t.array,n.array),e._dirty=!0,e},X4.transformMat2d=function(e,t,n){return U4.transformMat2d(e.array,t.array,n.array),e._dirty=!0,e},X4.transformMat3=function(e,t,n){return U4.transformMat3(e.array,t.array,n.array),e._dirty=!0,e},X4.transformMat4=function(e,t,n){return U4.transformMat4(e.array,t.array,n.array),e._dirty=!0,e};var q4=X4,$4=1,J4=2,K4=3,Q4={};function e5(e){for(var t=e.split("\n"),n=0,i=t.length;n<i;n++)t[n]=n+1+": "+t[n];return t.join("\n")}function t5(e,t,n){if(!e.getShaderParameter(t,e.COMPILE_STATUS))return[e.getShaderInfoLog(t),e5(n)].join("\n")}var n5=new p4["a"].Float32Array(16),i5=l4.extend({uniformSemantics:{},attributes:{}},(function(){this._locations={},this._textureSlot=0,this._program=null}),{bind:function(e){this._textureSlot=0,e.gl.useProgram(this._program)},hasUniform:function(e){var t=this._locations[e];return null!==t&&void 0!==t},useTextureSlot:function(e,t,n){t&&(e.gl.activeTexture(e.gl.TEXTURE0+n),t.isRenderable()?t.bind(e):t.unbind(e))},currentTextureSlot:function(){return this._textureSlot},resetTextureSlot:function(e){this._textureSlot=e||0},takeCurrentTextureSlot:function(e,t){var n=this._textureSlot;return this.useTextureSlot(e,t,n),this._textureSlot++,n},setUniform:function(e,t,n,i){var r=this._locations,a=r[n];if(null===a||void 0===a)return!1;switch(t){case"m4":if(!(i instanceof Float32Array)){for(var o=0;o<i.length;o++)n5[o]=i[o];i=n5}e.uniformMatrix4fv(a,!1,i);break;case"2i":e.uniform2i(a,i[0],i[1]);break;case"2f":e.uniform2f(a,i[0],i[1]);break;case"3i":e.uniform3i(a,i[0],i[1],i[2]);break;case"3f":e.uniform3f(a,i[0],i[1],i[2]);break;case"4i":e.uniform4i(a,i[0],i[1],i[2],i[3]);break;case"4f":e.uniform4f(a,i[0],i[1],i[2],i[3]);break;case"1i":e.uniform1i(a,i);break;case"1f":e.uniform1f(a,i);break;case"1fv":e.uniform1fv(a,i);break;case"1iv":e.uniform1iv(a,i);break;case"2iv":e.uniform2iv(a,i);break;case"2fv":e.uniform2fv(a,i);break;case"3iv":e.uniform3iv(a,i);break;case"3fv":e.uniform3fv(a,i);break;case"4iv":e.uniform4iv(a,i);break;case"4fv":e.uniform4fv(a,i);break;case"m2":case"m2v":e.uniformMatrix2fv(a,!1,i);break;case"m3":case"m3v":e.uniformMatrix3fv(a,!1,i);break;case"m4v":if(Array.isArray(i)&&Array.isArray(i[0])){var s=new p4["a"].Float32Array(16*i.length),l=0;for(o=0;o<i.length;o++)for(var u=i[o],c=0;c<16;c++)s[l++]=u[c];e.uniformMatrix4fv(a,!1,s)}else e.uniformMatrix4fv(a,!1,i);break}return!0},setUniformOfSemantic:function(e,t,n){var i=this.uniformSemantics[t];return!!i&&this.setUniform(e,i.type,i.symbol,n)},enableAttributes:function(e,t,n){var i,r=e.gl,a=this._program,o=this._locations;i=n?n.__enabledAttributeList:Q4[e.__uid__],i||(i=n?n.__enabledAttributeList=[]:Q4[e.__uid__]=[]);for(var s=[],l=0;l<t.length;l++){var u=t[l];if(this.attributes[u]){var c=o[u];if(null==c){if(c=r.getAttribLocation(a,u),-1===c){s[l]=-1;continue}o[u]=c}s[l]=c,i[c]?i[c]=J4:i[c]=$4}else s[l]=-1}for(l=0;l<i.length;l++)switch(i[l]){case $4:r.enableVertexAttribArray(l),i[l]=K4;break;case J4:i[l]=K4;break;case K4:r.disableVertexAttribArray(l),i[l]=0;break}return s},getAttribLocation:function(e,t){var n=this._locations,i=n[t];return null==i&&(i=e.getAttribLocation(this._program,t),n[t]=i),i},buildProgram:function(e,t,n,i){var r=e.createShader(e.VERTEX_SHADER),a=e.createProgram();e.shaderSource(r,n),e.compileShader(r);var o=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(o,i),e.compileShader(o);var s=t5(e,r,n);if(s)return s;if(s=t5(e,o,i),s)return s;if(e.attachShader(a,r),e.attachShader(a,o),t.attributeSemantics["POSITION"])e.bindAttribLocation(a,0,t.attributeSemantics["POSITION"].symbol);else{var l=Object.keys(this.attributes);e.bindAttribLocation(a,0,l[0])}if(e.linkProgram(a),e.deleteShader(r),e.deleteShader(o),this._program=a,this.vertexCode=n,this.fragmentCode=i,!e.getProgramParameter(a,e.LINK_STATUS))return"Could not link program\n"+e.getProgramInfoLog(a);for(var u=0;u<t.uniforms.length;u++){var c=t.uniforms[u];this._locations[c]=e.getUniformLocation(a,c)}}}),r5=i5,a5=/for\s*?\(int\s*?_idx_\s*\=\s*([\w-]+)\;\s*_idx_\s*<\s*([\w-]+);\s*_idx_\s*\+\+\s*\)\s*\{\{([\s\S]+?)(?=\}\})\}\}/g;function o5(e,t,n){function i(e,n,i,a){var o="";isNaN(n)&&(n=n in t?t[n]:r[n]),isNaN(i)&&(i=i in t?t[i]:r[i]);for(var s=parseInt(n);s<parseInt(i);s++)o+="{"+a.replace(/float\s*\(\s*_idx_\s*\)/g,s.toFixed(1)).replace(/_idx_/g,s)+"}";return o}var r={};for(var a in n)r[a+"_COUNT"]=n[a];return e.replace(a5,i)}function s5(e,t,n){var i=[];if(t)for(var r in t){var a=t[r];a>0&&i.push("#define "+r.toUpperCase()+"_COUNT "+a)}if(n)for(var o=0;o<n.length;o++){var s=n[o];i.push("#define "+s.toUpperCase()+"_ENABLED")}for(var s in e){var l=e[s];null===l?i.push("#define "+s):i.push("#define "+s+" "+l.toString())}return i.join("\n")}function l5(e){for(var t=[],n=0;n<e.length;n++)t.push("#extension GL_"+e[n]+" : enable");return t.join("\n")}function u5(e){return["precision",e,"float"].join(" ")+";\n"+["precision",e,"int"].join(" ")+";\n"+["precision",e,"sampler2D"].join(" ")+";\n"}function c5(e){this._renderer=e,this._cache={}}c5.prototype.getProgram=function(e,t,n){var i=this._cache,r=e.isSkinnedMesh&&e.isSkinnedMesh(),a=e.isInstancedMesh&&e.isInstancedMesh(),o="s"+t.shader.shaderID+"m"+t.getProgramKey();n&&(o+="se"+n.getProgramKey(e.lightGroup)),r&&(o+=",sk"+e.joints.length),a&&(o+=",is");var s=i[o];if(s)return s;var l=n?n.getLightsNumbers(e.lightGroup):{},u=this._renderer,c=u.gl,h=t.getEnabledTextures(),d="";if(r){var f={SKINNING:null,JOINT_COUNT:e.joints.length};e.joints.length>u.getMaxJointNumber()&&(f.USE_SKIN_MATRICES_TEXTURE=null),d+="\n"+s5(f)+"\n"}a&&(d+="\n#define INSTANCING\n");var p=d+s5(t.vertexDefines,l,h),m=d+s5(t.fragmentDefines,l,h),g=p+"\n"+t.shader.vertex,y=["OES_standard_derivatives","EXT_shader_texture_lod"].filter((function(e){return null!=u.getGLExtension(e)}));y.indexOf("EXT_shader_texture_lod")>=0&&(m+="\n#define SUPPORT_TEXTURE_LOD"),y.indexOf("OES_standard_derivatives")>=0&&(m+="\n#define SUPPORT_STANDARD_DERIVATIVES");var v=l5(y)+"\n"+u5(t.precision)+"\n"+m+"\n"+t.shader.fragment,_=o5(g,t.vertexDefines,l),x=o5(v,t.fragmentDefines,l);s=new r5;s.uniformSemantics=t.shader.uniformSemantics,s.attributes=t.shader.attributes;var b=s.buildProgram(c,t.shader,_,x);return s.__error=b,i[o]=s,s};var h5=c5,d5=/uniform\s+(bool|float|int|vec2|vec3|vec4|ivec2|ivec3|ivec4|mat2|mat3|mat4|sampler2D|samplerCube)\s+([\s\S]*?);/g,f5=/attribute\s+(float|int|vec2|vec3|vec4)\s+([\s\S]*?);/g,p5=/#define\s+(\w+)?(\s+[\d-.]+)?\s*;?\s*\n/g,m5={bool:"1i",int:"1i",sampler2D:"t",samplerCube:"t",float:"1f",vec2:"2f",vec3:"3f",vec4:"4f",ivec2:"2i",ivec3:"3i",ivec4:"4i",mat2:"m2",mat3:"m3",mat4:"m4"};function g5(e){for(var t=[],n=0;n<e;n++)t[n]=0;return t}var y5={bool:function(){return!0},int:function(){return 0},float:function(){return 0},sampler2D:function(){return null},samplerCube:function(){return null},vec2:function(){return g5(2)},vec3:function(){return g5(3)},vec4:function(){return g5(4)},ivec2:function(){return g5(2)},ivec3:function(){return g5(3)},ivec4:function(){return g5(4)},mat2:function(){return g5(4)},mat3:function(){return g5(9)},mat4:function(){return g5(16)},array:function(){return[]}},v5=["POSITION","NORMAL","BINORMAL","TANGENT","TEXCOORD","TEXCOORD_0","TEXCOORD_1","COLOR","JOINT","WEIGHT"],_5=["SKIN_MATRIX","VIEWPORT_SIZE","VIEWPORT","DEVICEPIXELRATIO","WINDOW_SIZE","NEAR","FAR","TIME"],x5=["WORLD","VIEW","PROJECTION","WORLDVIEW","VIEWPROJECTION","WORLDVIEWPROJECTION","WORLDINVERSE","VIEWINVERSE","PROJECTIONINVERSE","WORLDVIEWINVERSE","VIEWPROJECTIONINVERSE","WORLDVIEWPROJECTIONINVERSE","WORLDTRANSPOSE","VIEWTRANSPOSE","PROJECTIONTRANSPOSE","WORLDVIEWTRANSPOSE","VIEWPROJECTIONTRANSPOSE","WORLDVIEWPROJECTIONTRANSPOSE","WORLDINVERSETRANSPOSE","VIEWINVERSETRANSPOSE","PROJECTIONINVERSETRANSPOSE","WORLDVIEWINVERSETRANSPOSE","VIEWPROJECTIONINVERSETRANSPOSE","WORLDVIEWPROJECTIONINVERSETRANSPOSE"],b5={vec4:4,vec3:3,vec2:2,float:1},w5={},M5={};function S5(e,t){var n="vertex:"+e+"fragment:"+t;if(w5[n])return w5[n];var i=o4.genGUID();return w5[n]=i,M5[i]={vertex:e,fragment:t},i}function T5(e){return e.replace(/[ \t]*\/\/.*\n/g,"").replace(/[ \t]*\/\*[\s\S]*?\*\//g,"")}function L5(){console.error("Wrong uniform/attributes syntax")}function D5(e,t){for(var n=/[,=\(\):]/,i=t.replace(/:\s*\[\s*(.*)\s*\]/g,"="+e+"($1)").replace(/\s+/g,"").split(/(?=[,=\(\):])/g),r=[],a=0;a<i.length;a++)i[a].match(n)?r.push(i[a].charAt(0),i[a].slice(1)):r.push(i[a]);i=r;var o,s=0,l=1,u=2,c=3,h=4,d=5,f=s,p={},m=null;function g(e){e||L5();var t=e.match(/\[(.*?)\]/);o=e.replace(/\[(.*?)\]/,""),p[o]={},t&&(p[o].isArray=!0,p[o].arraySize=t[1])}g(i[0]);for(a=1;a<i.length;a++){var y=i[a];if(y)if("="!==y)if(":"!==y)if(","!==y)if(")"!==y)if("("!==y)if(y.indexOf("vec")>=0){if(f!==l&&f!==h){L5();break}f=u,m=[]}else if(f!==l)if(f!==h)g(y),f=s;else{var v=y;v5.indexOf(v)>=0||_5.indexOf(v)>=0||x5.indexOf(v)>=0?p[o].semantic=v:"ignore"===v||"unconfigurable"===v?p[o].ignore=!0:p[o].value="bool"===e?"true"===v:parseFloat(v)}else p[o].value="bool"===e?"true"===y:parseFloat(y),m=null;else{if(f!==u){L5();break}if(!(m instanceof Array)){L5();break}m.push(+i[++a])}else p[o].value=new p4["a"].Float32Array(m),m=null,f=d;else if(f===u){if(!(m instanceof Array)){L5();break}m.push(+i[++a])}else f=d;else f=h;else{if(f!==s&&f!==c){L5();break}f=l}}return p}function A5(e,t){"object"===typeof e&&(t=e.fragment,e=e.vertex),e=T5(e),t=T5(t),this._shaderID=S5(e,t),this._vertexCode=A5.parseImport(e),this._fragmentCode=A5.parseImport(t),this.attributeSemantics={},this.matrixSemantics={},this.uniformSemantics={},this.matrixSemanticKeys=[],this.uniformTemplates={},this.attributes={},this.textures={},this.vertexDefines={},this.fragmentDefines={},this._parseAttributes(),this._parseUniforms(),this._parseDefines()}A5.prototype={constructor:A5,createUniforms:function(){var e={};for(var t in this.uniformTemplates){var n=this.uniformTemplates[t];e[t]={type:n.type,value:n.value()}}return e},_parseImport:function(){this._vertexCode=A5.parseImport(this.vertex),this._fragmentCode=A5.parseImport(this.fragment)},_addSemanticUniform:function(e,t,n){if(v5.indexOf(n)>=0)this.attributeSemantics[n]={symbol:e,type:t};else if(x5.indexOf(n)>=0){var i=!1,r=n;n.match(/TRANSPOSE$/)&&(i=!0,r=n.slice(0,-9)),this.matrixSemantics[n]={symbol:e,type:t,isTranspose:i,semanticNoTranspose:r}}else _5.indexOf(n)>=0&&(this.uniformSemantics[n]={symbol:e,type:t})},_addMaterialUniform:function(e,t,n,i,r,a){a[e]={type:n,value:r?y5["array"]:i||y5[t],semantic:null}},_parseUniforms:function(){var e={},t=this,n="vertex";function i(e){return null!=e?function(){return e}:null}function r(r,a,o){var s=D5(a,o),l=[];for(var u in s){var c=s[u],h=c.semantic,d=u,f=m5[a],p=i(s[u].value);s[u].isArray&&(d+="["+s[u].arraySize+"]",f+="v"),l.push(d),t._uniformList.push(u),c.ignore||("sampler2D"!==a&&"samplerCube"!==a||(t.textures[u]={shaderType:n,type:a}),h?t._addSemanticUniform(u,f,h):t._addMaterialUniform(u,a,f,p,s[u].isArray,e))}return l.length>0?"uniform "+a+" "+l.join(",")+";\n":""}this._uniformList=[],this._vertexCode=this._vertexCode.replace(d5,r),n="fragment",this._fragmentCode=this._fragmentCode.replace(d5,r),t.matrixSemanticKeys=Object.keys(this.matrixSemantics),this.uniformTemplates=e},_parseAttributes:function(){var e={},t=this;function n(n,i,r){var a=D5(i,r),o=b5[i]||1,s=[];for(var l in a){var u=a[l].semantic;if(e[l]={type:"float",size:o,semantic:u||null},u){if(v5.indexOf(u)<0)throw new Error('Unkown semantic "'+u+'"');t.attributeSemantics[u]={symbol:l,type:i}}s.push(l)}return"attribute "+i+" "+s.join(",")+";\n"}this._vertexCode=this._vertexCode.replace(f5,n),this.attributes=e},_parseDefines:function(){var e=this,t="vertex";function n(n,i,r){var a="vertex"===t?e.vertexDefines:e.fragmentDefines;return a[i]||(a[i]="false"!==r&&("true"===r||(r?isNaN(parseFloat(r))?r.trim():parseFloat(r):null))),""}this._vertexCode=this._vertexCode.replace(p5,n),t="fragment",this._fragmentCode=this._fragmentCode.replace(p5,n)},clone:function(){var e=M5[this._shaderID],t=new A5(e.vertex,e.fragment);return t}},Object.defineProperty&&(Object.defineProperty(A5.prototype,"shaderID",{get:function(){return this._shaderID}}),Object.defineProperty(A5.prototype,"vertex",{get:function(){return this._vertexCode}}),Object.defineProperty(A5.prototype,"fragment",{get:function(){return this._fragmentCode}}),Object.defineProperty(A5.prototype,"uniforms",{get:function(){return this._uniformList}}));var O5=/(@import)\s*([0-9a-zA-Z_\-\.]*)/g;A5.parseImport=function(e){return e=e.replace(O5,(function(e,t,n){e=A5.source(n);return e?A5.parseImport(e):(console.error('Shader chunk "'+n+'" not existed in library'),"")})),e};var k5=/(@export)\s*([0-9a-zA-Z_\-\.]*)\s*\n([\s\S]*?)@end/g;A5["import"]=function(e){e.replace(k5,(function(e,t,n,i){i=i.replace(/(^[\s\t\xa0\u3000]+)|([\u3000\xa0\s\t]+\x24)/g,"");if(i){var r,a=n.split("."),o=A5.codes,s=0;while(s<a.length-1)r=a[s++],o[r]||(o[r]={}),o=o[r];r=a[s],o[r]=i}return i}))},A5.codes={},A5.source=function(e){var t=e.split("."),n=A5.codes,i=0;while(n&&i<t.length){var r=t[i++];n=n[r]}return"string"!==typeof n?(console.error('Shader "'+e+'" not existed in library'),""):n};var I5=A5,C5="@export clay.prez.vertex\nuniform mat4 WVP : WORLDVIEWPROJECTION;\nattribute vec3 pos : POSITION;\nattribute vec2 uv : TEXCOORD_0;\nuniform vec2 uvRepeat : [1.0, 1.0];\nuniform vec2 uvOffset : [0.0, 0.0];\n@import clay.chunk.skinning_header\n@import clay.chunk.instancing_header\nvarying vec2 v_Texcoord;\nvoid main()\n{\n vec4 P = vec4(pos, 1.0);\n#ifdef SKINNING\n @import clay.chunk.skin_matrix\n P = skinMatrixWS * P;\n#endif\n#ifdef INSTANCING\n @import clay.chunk.instancing_matrix\n P = instanceMat * P;\n#endif\n gl_Position = WVP * P;\n v_Texcoord = uv * uvRepeat + uvOffset;\n}\n@end\n@export clay.prez.fragment\nuniform sampler2D alphaMap;\nuniform float alphaCutoff: 0.0;\nvarying vec2 v_Texcoord;\nvoid main()\n{\n if (alphaCutoff > 0.0) {\n if (texture2D(alphaMap, v_Texcoord).a <= alphaCutoff) {\n discard;\n }\n }\n gl_FragColor = vec4(0.0,0.0,0.0,1.0);\n}\n@end",E5={create:function(){var e=new V4(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},clone:function(e){var t=new V4(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},copy:function(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[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},transpose:function(e,t){if(e===t){var n=t[1],i=t[2],r=t[3],a=t[6],o=t[7],s=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=i,e[9]=a,e[11]=t[14],e[12]=r,e[13]=o,e[14]=s}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e},invert:function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],l=t[6],u=t[7],c=t[8],h=t[9],d=t[10],f=t[11],p=t[12],m=t[13],g=t[14],y=t[15],v=n*s-i*o,_=n*l-r*o,x=n*u-a*o,b=i*l-r*s,w=i*u-a*s,M=r*u-a*l,S=c*m-h*p,T=c*g-d*p,L=c*y-f*p,D=h*g-d*m,A=h*y-f*m,O=d*y-f*g,k=v*O-_*A+x*D+b*L-w*T+M*S;return k?(k=1/k,e[0]=(s*O-l*A+u*D)*k,e[1]=(r*A-i*O-a*D)*k,e[2]=(m*M-g*w+y*b)*k,e[3]=(d*w-h*M-f*b)*k,e[4]=(l*L-o*O-u*T)*k,e[5]=(n*O-r*L+a*T)*k,e[6]=(g*x-p*M-y*_)*k,e[7]=(c*M-d*x+f*_)*k,e[8]=(o*A-s*L+u*S)*k,e[9]=(i*L-n*A-a*S)*k,e[10]=(p*w-m*x+y*v)*k,e[11]=(h*x-c*w-f*v)*k,e[12]=(s*T-o*D-l*S)*k,e[13]=(n*D-i*T+r*S)*k,e[14]=(m*_-p*b-g*v)*k,e[15]=(c*b-h*_+d*v)*k,e):null},adjoint:function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],l=t[6],u=t[7],c=t[8],h=t[9],d=t[10],f=t[11],p=t[12],m=t[13],g=t[14],y=t[15];return e[0]=s*(d*y-f*g)-h*(l*y-u*g)+m*(l*f-u*d),e[1]=-(i*(d*y-f*g)-h*(r*y-a*g)+m*(r*f-a*d)),e[2]=i*(l*y-u*g)-s*(r*y-a*g)+m*(r*u-a*l),e[3]=-(i*(l*f-u*d)-s*(r*f-a*d)+h*(r*u-a*l)),e[4]=-(o*(d*y-f*g)-c*(l*y-u*g)+p*(l*f-u*d)),e[5]=n*(d*y-f*g)-c*(r*y-a*g)+p*(r*f-a*d),e[6]=-(n*(l*y-u*g)-o*(r*y-a*g)+p*(r*u-a*l)),e[7]=n*(l*f-u*d)-o*(r*f-a*d)+c*(r*u-a*l),e[8]=o*(h*y-f*m)-c*(s*y-u*m)+p*(s*f-u*h),e[9]=-(n*(h*y-f*m)-c*(i*y-a*m)+p*(i*f-a*h)),e[10]=n*(s*y-u*m)-o*(i*y-a*m)+p*(i*u-a*s),e[11]=-(n*(s*f-u*h)-o*(i*f-a*h)+c*(i*u-a*s)),e[12]=-(o*(h*g-d*m)-c*(s*g-l*m)+p*(s*d-l*h)),e[13]=n*(h*g-d*m)-c*(i*g-r*m)+p*(i*d-r*h),e[14]=-(n*(s*g-l*m)-o*(i*g-r*m)+p*(i*l-r*s)),e[15]=n*(s*d-l*h)-o*(i*d-r*h)+c*(i*l-r*s),e},determinant:function(e){var t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],o=e[5],s=e[6],l=e[7],u=e[8],c=e[9],h=e[10],d=e[11],f=e[12],p=e[13],m=e[14],g=e[15],y=t*o-n*a,v=t*s-i*a,_=t*l-r*a,x=n*s-i*o,b=n*l-r*o,w=i*l-r*s,M=u*p-c*f,S=u*m-h*f,T=u*g-d*f,L=c*m-h*p,D=c*g-d*p,A=h*g-d*m;return y*A-v*D+_*L+x*T-b*S+w*M},multiply:function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=t[9],f=t[10],p=t[11],m=t[12],g=t[13],y=t[14],v=t[15],_=n[0],x=n[1],b=n[2],w=n[3];return e[0]=_*i+x*s+b*h+w*m,e[1]=_*r+x*l+b*d+w*g,e[2]=_*a+x*u+b*f+w*y,e[3]=_*o+x*c+b*p+w*v,_=n[4],x=n[5],b=n[6],w=n[7],e[4]=_*i+x*s+b*h+w*m,e[5]=_*r+x*l+b*d+w*g,e[6]=_*a+x*u+b*f+w*y,e[7]=_*o+x*c+b*p+w*v,_=n[8],x=n[9],b=n[10],w=n[11],e[8]=_*i+x*s+b*h+w*m,e[9]=_*r+x*l+b*d+w*g,e[10]=_*a+x*u+b*f+w*y,e[11]=_*o+x*c+b*p+w*v,_=n[12],x=n[13],b=n[14],w=n[15],e[12]=_*i+x*s+b*h+w*m,e[13]=_*r+x*l+b*d+w*g,e[14]=_*a+x*u+b*f+w*y,e[15]=_*o+x*c+b*p+w*v,e},multiplyAffine:function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[4],s=t[5],l=t[6],u=t[8],c=t[9],h=t[10],d=t[12],f=t[13],p=t[14],m=n[0],g=n[1],y=n[2];return e[0]=m*i+g*o+y*u,e[1]=m*r+g*s+y*c,e[2]=m*a+g*l+y*h,m=n[4],g=n[5],y=n[6],e[4]=m*i+g*o+y*u,e[5]=m*r+g*s+y*c,e[6]=m*a+g*l+y*h,m=n[8],g=n[9],y=n[10],e[8]=m*i+g*o+y*u,e[9]=m*r+g*s+y*c,e[10]=m*a+g*l+y*h,m=n[12],g=n[13],y=n[14],e[12]=m*i+g*o+y*u+d,e[13]=m*r+g*s+y*c+f,e[14]=m*a+g*l+y*h+p,e}};E5.mul=E5.multiply,E5.mulAffine=E5.multiplyAffine,E5.translate=function(e,t,n){var i,r,a,o,s,l,u,c,h,d,f,p,m=n[0],g=n[1],y=n[2];return t===e?(e[12]=t[0]*m+t[4]*g+t[8]*y+t[12],e[13]=t[1]*m+t[5]*g+t[9]*y+t[13],e[14]=t[2]*m+t[6]*g+t[10]*y+t[14],e[15]=t[3]*m+t[7]*g+t[11]*y+t[15]):(i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=t[9],f=t[10],p=t[11],e[0]=i,e[1]=r,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e[6]=u,e[7]=c,e[8]=h,e[9]=d,e[10]=f,e[11]=p,e[12]=i*m+s*g+h*y+t[12],e[13]=r*m+l*g+d*y+t[13],e[14]=a*m+u*g+f*y+t[14],e[15]=o*m+c*g+p*y+t[15]),e},E5.scale=function(e,t,n){var i=n[0],r=n[1],a=n[2];return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*r,e[6]=t[6]*r,e[7]=t[7]*r,e[8]=t[8]*a,e[9]=t[9]*a,e[10]=t[10]*a,e[11]=t[11]*a,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},E5.rotate=function(e,t,n,i){var r,a,o,s,l,u,c,h,d,f,p,m,g,y,v,_,x,b,w,M,S,T,L,D,A=i[0],O=i[1],k=i[2],I=Math.sqrt(A*A+O*O+k*k);return Math.abs(I)<B4?null:(I=1/I,A*=I,O*=I,k*=I,r=Math.sin(n),a=Math.cos(n),o=1-a,s=t[0],l=t[1],u=t[2],c=t[3],h=t[4],d=t[5],f=t[6],p=t[7],m=t[8],g=t[9],y=t[10],v=t[11],_=A*A*o+a,x=O*A*o+k*r,b=k*A*o-O*r,w=A*O*o-k*r,M=O*O*o+a,S=k*O*o+A*r,T=A*k*o+O*r,L=O*k*o-A*r,D=k*k*o+a,e[0]=s*_+h*x+m*b,e[1]=l*_+d*x+g*b,e[2]=u*_+f*x+y*b,e[3]=c*_+p*x+v*b,e[4]=s*w+h*M+m*S,e[5]=l*w+d*M+g*S,e[6]=u*w+f*M+y*S,e[7]=c*w+p*M+v*S,e[8]=s*T+h*L+m*D,e[9]=l*T+d*L+g*D,e[10]=u*T+f*L+y*D,e[11]=c*T+p*L+v*D,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)},E5.rotateX=function(e,t,n){var i=Math.sin(n),r=Math.cos(n),a=t[4],o=t[5],s=t[6],l=t[7],u=t[8],c=t[9],h=t[10],d=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=a*r+u*i,e[5]=o*r+c*i,e[6]=s*r+h*i,e[7]=l*r+d*i,e[8]=u*r-a*i,e[9]=c*r-o*i,e[10]=h*r-s*i,e[11]=d*r-l*i,e},E5.rotateY=function(e,t,n){var i=Math.sin(n),r=Math.cos(n),a=t[0],o=t[1],s=t[2],l=t[3],u=t[8],c=t[9],h=t[10],d=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*r-u*i,e[1]=o*r-c*i,e[2]=s*r-h*i,e[3]=l*r-d*i,e[8]=a*i+u*r,e[9]=o*i+c*r,e[10]=s*i+h*r,e[11]=l*i+d*r,e},E5.rotateZ=function(e,t,n){var i=Math.sin(n),r=Math.cos(n),a=t[0],o=t[1],s=t[2],l=t[3],u=t[4],c=t[5],h=t[6],d=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*r+u*i,e[1]=o*r+c*i,e[2]=s*r+h*i,e[3]=l*r+d*i,e[4]=u*r-a*i,e[5]=c*r-o*i,e[6]=h*r-s*i,e[7]=d*r-l*i,e},E5.fromRotationTranslation=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=i+i,l=r+r,u=a+a,c=i*s,h=i*l,d=i*u,f=r*l,p=r*u,m=a*u,g=o*s,y=o*l,v=o*u;return e[0]=1-(f+m),e[1]=h+v,e[2]=d-y,e[3]=0,e[4]=h-v,e[5]=1-(c+m),e[6]=p+g,e[7]=0,e[8]=d+y,e[9]=p-g,e[10]=1-(c+f),e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e},E5.fromQuat=function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=n+n,s=i+i,l=r+r,u=n*o,c=i*o,h=i*s,d=r*o,f=r*s,p=r*l,m=a*o,g=a*s,y=a*l;return e[0]=1-h-p,e[1]=c+y,e[2]=d-g,e[3]=0,e[4]=c-y,e[5]=1-u-p,e[6]=f+m,e[7]=0,e[8]=d+g,e[9]=f-m,e[10]=1-u-h,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},E5.frustum=function(e,t,n,i,r,a,o){var s=1/(n-t),l=1/(r-i),u=1/(a-o);return e[0]=2*a*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*a*l,e[6]=0,e[7]=0,e[8]=(n+t)*s,e[9]=(r+i)*l,e[10]=(o+a)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*a*2*u,e[15]=0,e},E5.perspective=function(e,t,n,i,r){var a=1/Math.tan(t/2),o=1/(i-r);return e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(r+i)*o,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*r*i*o,e[15]=0,e},E5.ortho=function(e,t,n,i,r,a,o){var s=1/(t-n),l=1/(i-r),u=1/(a-o);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+n)*s,e[13]=(r+i)*l,e[14]=(o+a)*u,e[15]=1,e},E5.lookAt=function(e,t,n,i){var r,a,o,s,l,u,c,h,d,f,p=t[0],m=t[1],g=t[2],y=i[0],v=i[1],_=i[2],x=n[0],b=n[1],w=n[2];return Math.abs(p-x)<B4&&Math.abs(m-b)<B4&&Math.abs(g-w)<B4?E5.identity(e):(c=p-x,h=m-b,d=g-w,f=1/Math.sqrt(c*c+h*h+d*d),c*=f,h*=f,d*=f,r=v*d-_*h,a=_*c-y*d,o=y*h-v*c,f=Math.sqrt(r*r+a*a+o*o),f?(f=1/f,r*=f,a*=f,o*=f):(r=0,a=0,o=0),s=h*o-d*a,l=d*r-c*o,u=c*a-h*r,f=Math.sqrt(s*s+l*l+u*u),f?(f=1/f,s*=f,l*=f,u*=f):(s=0,l=0,u=0),e[0]=r,e[1]=s,e[2]=c,e[3]=0,e[4]=a,e[5]=l,e[6]=h,e[7]=0,e[8]=o,e[9]=u,e[10]=d,e[11]=0,e[12]=-(r*p+a*m+o*g),e[13]=-(s*p+l*m+u*g),e[14]=-(c*p+h*m+d*g),e[15]=1,e)},E5.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2)+Math.pow(e[4],2)+Math.pow(e[5],2)+Math.pow(e[6],2)+Math.pow(e[7],2)+Math.pow(e[8],2)+Math.pow(e[9],2)+Math.pow(e[10],2)+Math.pow(e[11],2)+Math.pow(e[12],2)+Math.pow(e[13],2)+Math.pow(e[14],2)+Math.pow(e[15],2))};var P5=E5,N5={create:function(){var e=new V4(3);return e[0]=0,e[1]=0,e[2]=0,e},clone:function(e){var t=new V4(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},fromValues:function(e,t,n){var i=new V4(3);return i[0]=e,i[1]=t,i[2]=n,i},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},set:function(e,t,n,i){return e[0]=t,e[1]=n,e[2]=i,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e},subtract:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}};N5.sub=N5.subtract,N5.multiply=function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e},N5.mul=N5.multiply,N5.divide=function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e},N5.div=N5.divide,N5.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e},N5.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e},N5.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e},N5.scaleAndAdd=function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e[2]=t[2]+n[2]*i,e},N5.distance=function(e,t){var n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2];return Math.sqrt(n*n+i*i+r*r)},N5.dist=N5.distance,N5.squaredDistance=function(e,t){var n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2];return n*n+i*i+r*r},N5.sqrDist=N5.squaredDistance,N5.length=function(e){var t=e[0],n=e[1],i=e[2];return Math.sqrt(t*t+n*n+i*i)},N5.len=N5.length,N5.squaredLength=function(e){var t=e[0],n=e[1],i=e[2];return t*t+n*n+i*i},N5.sqrLen=N5.squaredLength,N5.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e},N5.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e},N5.normalize=function(e,t){var n=t[0],i=t[1],r=t[2],a=n*n+i*i+r*r;return a>0&&(a=1/Math.sqrt(a),e[0]=t[0]*a,e[1]=t[1]*a,e[2]=t[2]*a),e},N5.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},N5.cross=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=n[0],s=n[1],l=n[2];return e[0]=r*l-a*s,e[1]=a*o-i*l,e[2]=i*s-r*o,e},N5.lerp=function(e,t,n,i){var r=t[0],a=t[1],o=t[2];return e[0]=r+i*(n[0]-r),e[1]=a+i*(n[1]-a),e[2]=o+i*(n[2]-o),e},N5.random=function(e,t){t=t||1;var n=2*G4()*Math.PI,i=2*G4()-1,r=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(n)*r,e[1]=Math.sin(n)*r,e[2]=i*t,e},N5.transformMat4=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=n[3]*i+n[7]*r+n[11]*a+n[15];return o=o||1,e[0]=(n[0]*i+n[4]*r+n[8]*a+n[12])/o,e[1]=(n[1]*i+n[5]*r+n[9]*a+n[13])/o,e[2]=(n[2]*i+n[6]*r+n[10]*a+n[14])/o,e},N5.transformMat3=function(e,t,n){var i=t[0],r=t[1],a=t[2];return e[0]=i*n[0]+r*n[3]+a*n[6],e[1]=i*n[1]+r*n[4]+a*n[7],e[2]=i*n[2]+r*n[5]+a*n[8],e},N5.transformQuat=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=n[0],s=n[1],l=n[2],u=n[3],c=u*i+s*a-l*r,h=u*r+l*i-o*a,d=u*a+o*r-s*i,f=-o*i-s*r-l*a;return e[0]=c*u+f*-o+h*-l-d*-s,e[1]=h*u+f*-s+d*-o-c*-l,e[2]=d*u+f*-l+c*-s-h*-o,e},N5.rotateX=function(e,t,n,i){var r=[],a=[];return r[0]=t[0]-n[0],r[1]=t[1]-n[1],r[2]=t[2]-n[2],a[0]=r[0],a[1]=r[1]*Math.cos(i)-r[2]*Math.sin(i),a[2]=r[1]*Math.sin(i)+r[2]*Math.cos(i),e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},N5.rotateY=function(e,t,n,i){var r=[],a=[];return r[0]=t[0]-n[0],r[1]=t[1]-n[1],r[2]=t[2]-n[2],a[0]=r[2]*Math.sin(i)+r[0]*Math.cos(i),a[1]=r[1],a[2]=r[2]*Math.cos(i)-r[0]*Math.sin(i),e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},N5.rotateZ=function(e,t,n,i){var r=[],a=[];return r[0]=t[0]-n[0],r[1]=t[1]-n[1],r[2]=t[2]-n[2],a[0]=r[0]*Math.cos(i)-r[1]*Math.sin(i),a[1]=r[0]*Math.sin(i)+r[1]*Math.cos(i),a[2]=r[2],e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},N5.forEach=function(){var e=N5.create();return function(t,n,i,r,a,o){var s,l;for(n||(n=3),i||(i=0),l=r?Math.min(r*n+i,t.length):t.length,s=i;s<l;s+=n)e[0]=t[s],e[1]=t[s+1],e[2]=t[s+2],a(e,e,o),t[s]=e[0],t[s+1]=e[1],t[s+2]=e[2];return t}}(),N5.angle=function(e,t){var n=N5.fromValues(e[0],e[1],e[2]),i=N5.fromValues(t[0],t[1],t[2]);N5.normalize(n,n),N5.normalize(i,i);var r=N5.dot(n,i);return r>1?0:Math.acos(r)};var R5=N5;I5["import"](C5);var Y5=P5.create,z5={};function H5(e){return e.material}function j5(e,t,n){return t.uniforms[n].value}function F5(e,t,n,i){return n!==i}function B5(e){return!0}function V5(){}var G5={float:f4.FLOAT,byte:f4.BYTE,ubyte:f4.UNSIGNED_BYTE,short:f4.SHORT,ushort:f4.UNSIGNED_SHORT};function W5(e,t,n){this.availableAttributes=e,this.availableAttributeSymbols=t,this.indicesBuffer=n,this.vao=null}function U5(e){var t,n;this.bind=function(e){t||(t=p4["a"].createCanvas(),t.width=t.height=1,t.getContext("2d"));var i=e.gl,r=!n;r&&(n=i.createTexture()),i.bindTexture(i.TEXTURE_2D,n),r&&i.texImage2D(i.TEXTURE_2D,0,i.RGBA,i.RGBA,i.UNSIGNED_BYTE,t)},this.unbind=function(e){e.gl.bindTexture(e.gl.TEXTURE_2D,null)},this.isRenderable=function(){return!0}}var X5=l4.extend((function(){return{canvas:null,_width:100,_height:100,devicePixelRatio:"undefined"!==typeof window&&window.devicePixelRatio||1,clearColor:[0,0,0,0],clearBit:17664,alpha:!0,depth:!0,stencil:!1,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!1,throwError:!0,gl:null,viewport:{},maxJointNumber:20,__currentFrameBuffer:null,_viewportStack:[],_clearStack:[],_sceneRendering:null}}),(function(){this.canvas||(this.canvas=p4["a"].createCanvas());var e=this.canvas;try{var t={alpha:this.alpha,depth:this.depth,stencil:this.stencil,antialias:this.antialias,premultipliedAlpha:this.premultipliedAlpha,preserveDrawingBuffer:this.preserveDrawingBuffer};if(this.gl=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),!this.gl)throw new Error;this._glinfo=new d4(this.gl),this.gl.targetRenderer&&console.error("Already created a renderer"),this.gl.targetRenderer=this,this.resize()}catch(n){throw"Error creating WebGL Context "+n}this._programMgr=new h5(this),this._placeholderTexture=new U5(this)}),{resize:function(e,t){var n=this.canvas,i=this.devicePixelRatio;null!=e?(n.style&&(n.style.width=e+"px",n.style.height=t+"px"),n.width=e*i,n.height=t*i,this._width=e,this._height=t):(this._width=n.width/i,this._height=n.height/i),this.setViewport(0,0,this._width,this._height)},getWidth:function(){return this._width},getHeight:function(){return this._height},getViewportAspect:function(){var e=this.viewport;return e.width/e.height},setDevicePixelRatio:function(e){this.devicePixelRatio=e,this.resize(this._width,this._height)},getDevicePixelRatio:function(){return this.devicePixelRatio},getGLExtension:function(e){return this._glinfo.getExtension(e)},getGLParameter:function(e){return this._glinfo.getParameter(e)},setViewport:function(e,t,n,i,r){if("object"===typeof e){var a=e;e=a.x,t=a.y,n=a.width,i=a.height,r=a.devicePixelRatio}r=r||this.devicePixelRatio,this.gl.viewport(e*r,t*r,n*r,i*r),this.viewport={x:e,y:t,width:n,height:i,devicePixelRatio:r}},saveViewport:function(){this._viewportStack.push(this.viewport)},restoreViewport:function(){this._viewportStack.length>0&&this.setViewport(this._viewportStack.pop())},saveClear:function(){this._clearStack.push({clearBit:this.clearBit,clearColor:this.clearColor})},restoreClear:function(){if(this._clearStack.length>0){var e=this._clearStack.pop();this.clearColor=e.clearColor,this.clearBit=e.clearBit}},bindSceneRendering:function(e){this._sceneRendering=e},render:function(e,t,n,i){var r=this.gl,a=this.clearColor;if(this.clearBit){r.colorMask(!0,!0,!0,!0),r.depthMask(!0);var o=this.viewport,s=!1,l=o.devicePixelRatio;(o.width!==this._width||o.height!==this._height||l&&l!==this.devicePixelRatio||o.x||o.y)&&(s=!0,r.enable(r.SCISSOR_TEST),r.scissor(o.x*l,o.y*l,o.width*l,o.height*l)),r.clearColor(a[0],a[1],a[2],a[3]),r.clear(this.clearBit),s&&r.disable(r.SCISSOR_TEST)}if(n||e.update(!1),e.updateLights(),t=t||e.getMainCamera(),t){t.update();var u=e.updateRenderList(t,!0);this._sceneRendering=e;var c=u.opaque,h=u.transparent,d=e.material;e.trigger("beforerender",this,e,t,u),i?(this.renderPreZ(c,e,t),r.depthFunc(r.LEQUAL)):r.depthFunc(r.LESS);for(var f=Y5(),p=R5.create(),m=0;m<h.length;m++){var g=h[m];P5.multiplyAffine(f,t.viewMatrix.array,g.worldTransform.array),R5.transformMat4(p,g.position.array,f),g.__depth=p[2]}this.renderPass(c,t,{getMaterial:function(e){return d||e.material},sortCompare:this.opaqueSortCompare}),this.renderPass(h,t,{getMaterial:function(e){return d||e.material},sortCompare:this.transparentSortCompare}),e.trigger("afterrender",this,e,t,u),this._sceneRendering=null}else console.error("Can't find camera in the scene.")},getProgram:function(e,t,n){return t=t||e.material,this._programMgr.getProgram(e,t,n)},validateProgram:function(e){if(e.__error){var t=e.__error;if(z5[e.__uid__])return;if(z5[e.__uid__]=!0,this.throwError)throw new Error(t);this.trigger("error",t)}},updatePrograms:function(e,t,n){var i=n&&n.getMaterial||H5;t=t||null;for(var r=0;r<e.length;r++){var a=e[r],o=i.call(this,a);if(r>0){var s=e[r-1],l=s.joints?s.joints.length:0,u=a.joints?a.joints.length:0;if(u===l&&a.material===s.material&&a.lightGroup===s.lightGroup){a.__program=s.__program;continue}}var c=this._programMgr.getProgram(a,o,t);this.validateProgram(c),a.__program=c}},renderPass:function(e,t,n){this.trigger("beforerenderpass",this,e,t,n),n=n||{},n.getMaterial=n.getMaterial||H5,n.getUniform=n.getUniform||j5,n.isMaterialChanged=n.isMaterialChanged||F5,n.beforeRender=n.beforeRender||V5,n.afterRender=n.afterRender||V5;var i=n.ifRender||B5;this.updatePrograms(e,this._sceneRendering,n),n.sortCompare&&e.sort(n.sortCompare);var r=this.viewport,a=r.devicePixelRatio,o=[r.x*a,r.y*a,r.width*a,r.height*a],s=this.devicePixelRatio,l=this.__currentFrameBuffer?[this.__currentFrameBuffer.getTextureWidth(),this.__currentFrameBuffer.getTextureHeight()]:[this._width*s,this._height*s],u=[o[2],o[3]],c=Date.now();t?(P5.copy(Z5.VIEW,t.viewMatrix.array),P5.copy(Z5.PROJECTION,t.projectionMatrix.array),P5.copy(Z5.VIEWINVERSE,t.worldTransform.array)):(P5.identity(Z5.VIEW),P5.identity(Z5.PROJECTION),P5.identity(Z5.VIEWINVERSE)),P5.multiply(Z5.VIEWPROJECTION,Z5.PROJECTION,Z5.VIEW),P5.invert(Z5.PROJECTIONINVERSE,Z5.PROJECTION),P5.invert(Z5.VIEWPROJECTIONINVERSE,Z5.VIEWPROJECTION);for(var h,d,f,p,m,g,y,v,_,x,b,w,M=this.gl,S=this._sceneRendering,T=null,L=0;L<e.length;L++){var D,A=e[L],O=null!=A.worldTransform;if(i(A)){O&&(D=A.isSkinnedMesh&&A.isSkinnedMesh()?A.offsetMatrix?A.offsetMatrix.array:Z5.IDENTITY:A.worldTransform.array);var k=A.geometry,I=n.getMaterial.call(this,A),C=A.__program,E=I.shader,P=k.__uid__+"-"+C.__uid__,N=P!==x;x=P,N&&T&&T.bindVertexArrayOES(null),O&&(P5.copy(Z5.WORLD,D),P5.multiply(Z5.WORLDVIEWPROJECTION,Z5.VIEWPROJECTION,D),P5.multiplyAffine(Z5.WORLDVIEW,Z5.VIEW,D),(E.matrixSemantics.WORLDINVERSE||E.matrixSemantics.WORLDINVERSETRANSPOSE)&&P5.invert(Z5.WORLDINVERSE,D),(E.matrixSemantics.WORLDVIEWINVERSE||E.matrixSemantics.WORLDVIEWINVERSETRANSPOSE)&&P5.invert(Z5.WORLDVIEWINVERSE,Z5.WORLDVIEW),(E.matrixSemantics.WORLDVIEWPROJECTIONINVERSE||E.matrixSemantics.WORLDVIEWPROJECTIONINVERSETRANSPOSE)&&P5.invert(Z5.WORLDVIEWPROJECTIONINVERSE,Z5.WORLDVIEWPROJECTION)),A.beforeRender&&A.beforeRender(this),n.beforeRender.call(this,A,I,h);var R=C!==d;R?(C.bind(this),C.setUniformOfSemantic(M,"VIEWPORT",o),C.setUniformOfSemantic(M,"WINDOW_SIZE",l),t&&(C.setUniformOfSemantic(M,"NEAR",t.near),C.setUniformOfSemantic(M,"FAR",t.far)),C.setUniformOfSemantic(M,"DEVICEPIXELRATIO",a),C.setUniformOfSemantic(M,"TIME",c),C.setUniformOfSemantic(M,"VIEWPORT_SIZE",u),S&&S.setLightUniforms(C,A.lightGroup,this)):C=d,(R||n.isMaterialChanged(A,f,I,h))&&(I.depthTest!==p&&(I.depthTest?M.enable(M.DEPTH_TEST):M.disable(M.DEPTH_TEST),p=I.depthTest),I.depthMask!==m&&(M.depthMask(I.depthMask),m=I.depthMask),I.transparent!==_&&(I.transparent?M.enable(M.BLEND):M.disable(M.BLEND),_=I.transparent),I.transparent&&(I.blend?I.blend(M):(M.blendEquationSeparate(M.FUNC_ADD,M.FUNC_ADD),M.blendFuncSeparate(M.SRC_ALPHA,M.ONE_MINUS_SRC_ALPHA,M.ONE,M.ONE_MINUS_SRC_ALPHA))),w=this._bindMaterial(A,I,C,f||null,h||null,d||null,n.getUniform),h=I);var Y=E.matrixSemanticKeys;if(O)for(var z=0;z<Y.length;z++){var H=Y[z],j=E.matrixSemantics[H],F=Z5[H];if(j.isTranspose){var B=Z5[j.semanticNoTranspose];P5.transpose(F,B)}C.setUniform(M,j.type,j.symbol,F)}A.cullFace!==y&&(y=A.cullFace,M.cullFace(y)),A.frontFace!==v&&(v=A.frontFace,M.frontFace(v)),A.culling!==g&&(g=A.culling,g?M.enable(M.CULL_FACE):M.disable(M.CULL_FACE)),this._updateSkeleton(A,C,w),N&&(b=this._bindVAO(T,E,k,C)),this._renderObject(A,b,C),n.afterRender(this,A),A.afterRender&&A.afterRender(this),d=C,f=A}}T&&T.bindVertexArrayOES(null),this.trigger("afterrenderpass",this,e,t,n)},getMaxJointNumber:function(){return this.maxJointNumber},_updateSkeleton:function(e,t,n){var i=this.gl,r=e.skeleton;if(r)if(r.update(),e.joints.length>this.getMaxJointNumber()){var a=r.getSubSkinMatricesTexture(e.__uid__,e.joints);t.useTextureSlot(this,a,n),t.setUniform(i,"1i","skinMatricesTexture",n),t.setUniform(i,"1f","skinMatricesTextureSize",a.width)}else{var o=r.getSubSkinMatrices(e.__uid__,e.joints);t.setUniformOfSemantic(i,"SKIN_MATRIX",o)}},_renderObject:function(e,t,n){var i=this.gl,r=e.geometry,a=e.mode;null==a&&(a=4);var o=null,s=e.isInstancedMesh&&e.isInstancedMesh();if(!s||(o=this.getGLExtension("ANGLE_instanced_arrays"),o)){var l;if(s&&(l=this._bindInstancedAttributes(e,n,o)),t.indicesBuffer){var u=this.getGLExtension("OES_element_index_uint"),c=u&&r.indices instanceof Uint32Array,h=c?i.UNSIGNED_INT:i.UNSIGNED_SHORT;s?o.drawElementsInstancedANGLE(a,t.indicesBuffer.count,h,0,e.getInstanceCount()):i.drawElements(a,t.indicesBuffer.count,h,0)}else s?o.drawArraysInstancedANGLE(a,0,r.vertexCount,e.getInstanceCount()):i.drawArrays(a,0,r.vertexCount);if(s)for(var d=0;d<l.length;d++)i.disableVertexAttribArray(l[d])}else console.warn("Device not support ANGLE_instanced_arrays extension")},_bindInstancedAttributes:function(e,t,n){for(var i=this.gl,r=e.getInstancedAttributesBuffers(this),a=[],o=0;o<r.length;o++){var s=r[o],l=t.getAttribLocation(i,s.symbol);if(!(l<0)){var u=G5[s.type]||i.FLOAT;i.enableVertexAttribArray(l),i.bindBuffer(i.ARRAY_BUFFER,s.buffer),i.vertexAttribPointer(l,s.size,u,!1,0,0),n.vertexAttribDivisorANGLE(l,s.divisor),a.push(l)}}return a},_bindMaterial:function(e,t,n,i,r,a,o){for(var s=this.gl,l=a===n,u=n.currentTextureSlot(),c=t.getEnabledUniforms(),h=t.getTextureUniforms(),d=this._placeholderTexture,f=0;f<h.length;f++){var p=h[f],m=o(e,t,p),g=t.uniforms[p].type;if("t"===g&&m)m.__slot=-1;else if("tv"===g)for(var y=0;y<m.length;y++)m[y]&&(m[y].__slot=-1)}d.__slot=-1;for(f=0;f<c.length;f++){p=c[f];var v=t.uniforms[p],_=(m=o(e,t,p),g=v.type,"t"===g);if(_&&(m&&m.isRenderable()||(m=d)),r&&l){var x=o(i,r,p);if(_&&(x&&x.isRenderable()||(x=d)),x===m){if(_)n.takeCurrentTextureSlot(this,null);else if("tv"===g&&m)for(y=0;y<m.length;y++)n.takeCurrentTextureSlot(this,null);continue}}if(null!=m)if(_)if(m.__slot<0){var b=n.currentTextureSlot(),w=n.setUniform(s,"1i",p,b);w&&(n.takeCurrentTextureSlot(this,m),m.__slot=b)}else n.setUniform(s,"1i",p,m.__slot);else if(Array.isArray(m)){if(0===m.length)continue;if("tv"===g){if(!n.hasUniform(p))continue;var M=[];for(y=0;y<m.length;y++){var S=m[y];if(S.__slot<0){b=n.currentTextureSlot();M.push(b),n.takeCurrentTextureSlot(this,S),S.__slot=b}else M.push(S.__slot)}n.setUniform(s,"1iv",p,M)}else n.setUniform(s,v.type,p,m)}else n.setUniform(s,v.type,p,m)}var T=n.currentTextureSlot();return n.resetTextureSlot(u),T},_bindVAO:function(e,t,n,i){var r=!n.dynamic,a=this.gl,o=this.__uid__+"-"+i.__uid__,s=n.__vaoCache[o];if(!s){var l=n.getBufferChunks(this);if(!l||!l.length)return;for(var u=l[0],c=u.attributeBuffers,h=u.indicesBuffer,d=[],f=[],p=0;p<c.length;p++){var m,g=c[p],y=g.name,v=g.semantic;if(v){var _=t.attributeSemantics[v];m=_&&_.symbol}else m=y;m&&i.attributes[m]&&(d.push(g),f.push(m))}s=new W5(d,f,h),r&&(n.__vaoCache[o]=s)}var x=!0;e&&r&&(null==s.vao?s.vao=e.createVertexArrayOES():x=!1,e.bindVertexArrayOES(s.vao));d=s.availableAttributes,h=s.indicesBuffer;if(x){var b=i.enableAttributes(this,s.availableAttributeSymbols,e&&r&&s);for(p=0;p<d.length;p++){var w=b[p];if(-1!==w){g=d[p];var M=g.buffer,S=g.size,T=G5[g.type]||a.FLOAT;a.bindBuffer(a.ARRAY_BUFFER,M),a.vertexAttribPointer(w,S,T,!1,0,0)}}n.isUseIndices()&&a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,h.buffer)}return s},renderPreZ:function(e,t,n){var i=this.gl,r=this._prezMaterial||new F4({shader:new I5(I5.source("clay.prez.vertex"),I5.source("clay.prez.fragment"))});this._prezMaterial=r,i.colorMask(!1,!1,!1,!1),i.depthMask(!0),this.renderPass(e,n,{ifRender:function(e){return!e.ignorePreZ},isMaterialChanged:function(e,t){var n=e.material,i=t.material;return n.get("diffuseMap")!==i.get("diffuseMap")||(n.get("alphaCutoff")||0)!==(i.get("alphaCutoff")||0)},getUniform:function(e,t,n){if("alphaMap"===n)return e.material.get("diffuseMap");if("alphaCutoff"===n){if(e.material.isDefined("fragment","ALPHA_TEST")&&e.material.get("diffuseMap")){var i=e.material.get("alphaCutoff");return i||0}return 0}return"uvRepeat"===n?e.material.get("uvRepeat"):"uvOffset"===n?e.material.get("uvOffset"):t.get(n)},getMaterial:function(){return r},sort:this.opaqueSortCompare}),i.colorMask(!0,!0,!0,!0),i.depthMask(!0)},disposeScene:function(e){this.disposeNode(e,!0,!0),e.dispose()},disposeNode:function(e,t,n){e.getParent()&&e.getParent().remove(e);var i={};e.traverse((function(e){var r=e.material;if(e.geometry&&t&&e.geometry.dispose(this),n&&r&&!i[r.__uid__]){for(var a=r.getTextureUniforms(),o=0;o<a.length;o++){var s=a[o],l=r.uniforms[s].value,u=r.uniforms[s].type;if(l)if("t"===u)l.dispose&&l.dispose(this);else if("tv"===u)for(var c=0;c<l.length;c++)l[c]&&l[c].dispose&&l[c].dispose(this)}i[r.__uid__]=!0}e.dispose&&e.dispose(this)}),this)},disposeGeometry:function(e){e.dispose(this)},disposeTexture:function(e){e.dispose(this)},disposeFrameBuffer:function(e){e.dispose(this)},dispose:function(){},screenToNDC:function(e,t,n){n||(n=new q4),t=this._height-t;var i=this.viewport,r=n.array;return r[0]=(e-i.x)/i.width,r[0]=2*r[0]-1,r[1]=(t-i.y)/i.height,r[1]=2*r[1]-1,n}});X5.opaqueSortCompare=X5.prototype.opaqueSortCompare=function(e,t){return e.renderOrder===t.renderOrder?e.__program===t.__program?e.material===t.material?e.geometry.__uid__-t.geometry.__uid__:e.material.__uid__-t.material.__uid__:e.__program&&t.__program?e.__program.__uid__-t.__program.__uid__:0:e.renderOrder-t.renderOrder},X5.transparentSortCompare=X5.prototype.transparentSortCompare=function(e,t){return e.renderOrder===t.renderOrder?e.__depth===t.__depth?e.__program===t.__program?e.material===t.material?e.geometry.__uid__-t.geometry.__uid__:e.material.__uid__-t.material.__uid__:e.__program&&t.__program?e.__program.__uid__-t.__program.__uid__:0:e.__depth-t.__depth:e.renderOrder-t.renderOrder};var Z5={IDENTITY:Y5(),WORLD:Y5(),VIEW:Y5(),PROJECTION:Y5(),WORLDVIEW:Y5(),VIEWPROJECTION:Y5(),WORLDVIEWPROJECTION:Y5(),WORLDINVERSE:Y5(),VIEWINVERSE:Y5(),PROJECTIONINVERSE:Y5(),WORLDVIEWINVERSE:Y5(),VIEWPROJECTIONINVERSE:Y5(),WORLDVIEWPROJECTIONINVERSE:Y5(),WORLDTRANSPOSE:Y5(),VIEWTRANSPOSE:Y5(),PROJECTIONTRANSPOSE:Y5(),WORLDVIEWTRANSPOSE:Y5(),VIEWPROJECTIONTRANSPOSE:Y5(),WORLDVIEWPROJECTIONTRANSPOSE:Y5(),WORLDINVERSETRANSPOSE:Y5(),VIEWINVERSETRANSPOSE:Y5(),PROJECTIONINVERSETRANSPOSE:Y5(),WORLDVIEWINVERSETRANSPOSE:Y5(),VIEWPROJECTIONINVERSETRANSPOSE:Y5(),WORLDVIEWPROJECTIONINVERSETRANSPOSE:Y5()};X5.COLOR_BUFFER_BIT=f4.COLOR_BUFFER_BIT,X5.DEPTH_BUFFER_BIT=f4.DEPTH_BUFFER_BIT,X5.STENCIL_BUFFER_BIT=f4.STENCIL_BUFFER_BIT;var q5=X5,$5=function(e,t,n){e=e||0,t=t||0,n=n||0,this.array=R5.fromValues(e,t,n),this._dirty=!0};$5.prototype={constructor:$5,add:function(e){return R5.add(this.array,this.array,e.array),this._dirty=!0,this},set:function(e,t,n){return this.array[0]=e,this.array[1]=t,this.array[2]=n,this._dirty=!0,this},setArray:function(e){return this.array[0]=e[0],this.array[1]=e[1],this.array[2]=e[2],this._dirty=!0,this},clone:function(){return new $5(this.x,this.y,this.z)},copy:function(e){return R5.copy(this.array,e.array),this._dirty=!0,this},cross:function(e,t){return R5.cross(this.array,e.array,t.array),this._dirty=!0,this},dist:function(e){return R5.dist(this.array,e.array)},distance:function(e){return R5.distance(this.array,e.array)},div:function(e){return R5.div(this.array,this.array,e.array),this._dirty=!0,this},divide:function(e){return R5.divide(this.array,this.array,e.array),this._dirty=!0,this},dot:function(e){return R5.dot(this.array,e.array)},len:function(){return R5.len(this.array)},length:function(){return R5.length(this.array)},lerp:function(e,t,n){return R5.lerp(this.array,e.array,t.array,n),this._dirty=!0,this},min:function(e){return R5.min(this.array,this.array,e.array),this._dirty=!0,this},max:function(e){return R5.max(this.array,this.array,e.array),this._dirty=!0,this},mul:function(e){return R5.mul(this.array,this.array,e.array),this._dirty=!0,this},multiply:function(e){return R5.multiply(this.array,this.array,e.array),this._dirty=!0,this},negate:function(){return R5.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return R5.normalize(this.array,this.array),this._dirty=!0,this},random:function(e){return R5.random(this.array,e),this._dirty=!0,this},scale:function(e){return R5.scale(this.array,this.array,e),this._dirty=!0,this},scaleAndAdd:function(e,t){return R5.scaleAndAdd(this.array,this.array,e.array,t),this._dirty=!0,this},sqrDist:function(e){return R5.sqrDist(this.array,e.array)},squaredDistance:function(e){return R5.squaredDistance(this.array,e.array)},sqrLen:function(){return R5.sqrLen(this.array)},squaredLength:function(){return R5.squaredLength(this.array)},sub:function(e){return R5.sub(this.array,this.array,e.array),this._dirty=!0,this},subtract:function(e){return R5.subtract(this.array,this.array,e.array),this._dirty=!0,this},transformMat3:function(e){return R5.transformMat3(this.array,this.array,e.array),this._dirty=!0,this},transformMat4:function(e){return R5.transformMat4(this.array,this.array,e.array),this._dirty=!0,this},transformQuat:function(e){return R5.transformQuat(this.array,this.array,e.array),this._dirty=!0,this},applyProjection:function(e){var t=this.array;if(e=e.array,0===e[15]){var n=-1/t[2];t[0]=e[0]*t[0]*n,t[1]=e[5]*t[1]*n,t[2]=(e[10]*t[2]+e[14])*n}else t[0]=e[0]*t[0]+e[12],t[1]=e[5]*t[1]+e[13],t[2]=e[10]*t[2]+e[14];return this._dirty=!0,this},eulerFromQuat:function(e,t){$5.eulerFromQuat(this,e,t)},eulerFromMat3:function(e,t){$5.eulerFromMat3(this,e,t)},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var J5=Object.defineProperty;if(J5){var K5=$5.prototype;J5(K5,"x",{get:function(){return this.array[0]},set:function(e){this.array[0]=e,this._dirty=!0}}),J5(K5,"y",{get:function(){return this.array[1]},set:function(e){this.array[1]=e,this._dirty=!0}}),J5(K5,"z",{get:function(){return this.array[2]},set:function(e){this.array[2]=e,this._dirty=!0}})}function Q5(e,t,n){return e<t?t:e>n?n:e}$5.add=function(e,t,n){return R5.add(e.array,t.array,n.array),e._dirty=!0,e},$5.set=function(e,t,n,i){R5.set(e.array,t,n,i),e._dirty=!0},$5.copy=function(e,t){return R5.copy(e.array,t.array),e._dirty=!0,e},$5.cross=function(e,t,n){return R5.cross(e.array,t.array,n.array),e._dirty=!0,e},$5.dist=function(e,t){return R5.distance(e.array,t.array)},$5.distance=$5.dist,$5.div=function(e,t,n){return R5.divide(e.array,t.array,n.array),e._dirty=!0,e},$5.divide=$5.div,$5.dot=function(e,t){return R5.dot(e.array,t.array)},$5.len=function(e){return R5.length(e.array)},$5.lerp=function(e,t,n,i){return R5.lerp(e.array,t.array,n.array,i),e._dirty=!0,e},$5.min=function(e,t,n){return R5.min(e.array,t.array,n.array),e._dirty=!0,e},$5.max=function(e,t,n){return R5.max(e.array,t.array,n.array),e._dirty=!0,e},$5.mul=function(e,t,n){return R5.multiply(e.array,t.array,n.array),e._dirty=!0,e},$5.multiply=$5.mul,$5.negate=function(e,t){return R5.negate(e.array,t.array),e._dirty=!0,e},$5.normalize=function(e,t){return R5.normalize(e.array,t.array),e._dirty=!0,e},$5.random=function(e,t){return R5.random(e.array,t),e._dirty=!0,e},$5.scale=function(e,t,n){return R5.scale(e.array,t.array,n),e._dirty=!0,e},$5.scaleAndAdd=function(e,t,n,i){return R5.scaleAndAdd(e.array,t.array,n.array,i),e._dirty=!0,e},$5.sqrDist=function(e,t){return R5.sqrDist(e.array,t.array)},$5.squaredDistance=$5.sqrDist,$5.sqrLen=function(e){return R5.sqrLen(e.array)},$5.squaredLength=$5.sqrLen,$5.sub=function(e,t,n){return R5.subtract(e.array,t.array,n.array),e._dirty=!0,e},$5.subtract=$5.sub,$5.transformMat3=function(e,t,n){return R5.transformMat3(e.array,t.array,n.array),e._dirty=!0,e},$5.transformMat4=function(e,t,n){return R5.transformMat4(e.array,t.array,n.array),e._dirty=!0,e},$5.transformQuat=function(e,t,n){return R5.transformQuat(e.array,t.array,n.array),e._dirty=!0,e};var e9=Math.atan2,t9=Math.asin,n9=Math.abs;$5.eulerFromQuat=function(e,t,n){e._dirty=!0,t=t.array;var i=e.array,r=t[0],a=t[1],o=t[2],s=t[3],l=r*r,u=a*a,c=o*o,h=s*s;n=(n||"XYZ").toUpperCase();switch(n){case"XYZ":i[0]=e9(2*(r*s-a*o),h-l-u+c),i[1]=t9(Q5(2*(r*o+a*s),-1,1)),i[2]=e9(2*(o*s-r*a),h+l-u-c);break;case"YXZ":i[0]=t9(Q5(2*(r*s-a*o),-1,1)),i[1]=e9(2*(r*o+a*s),h-l-u+c),i[2]=e9(2*(r*a+o*s),h-l+u-c);break;case"ZXY":i[0]=t9(Q5(2*(r*s+a*o),-1,1)),i[1]=e9(2*(a*s-o*r),h-l-u+c),i[2]=e9(2*(o*s-r*a),h-l+u-c);break;case"ZYX":i[0]=e9(2*(r*s+o*a),h-l-u+c),i[1]=t9(Q5(2*(a*s-r*o),-1,1)),i[2]=e9(2*(r*a+o*s),h+l-u-c);break;case"YZX":i[0]=e9(2*(r*s-o*a),h-l+u-c),i[1]=e9(2*(a*s-r*o),h+l-u-c),i[2]=t9(Q5(2*(r*a+o*s),-1,1));break;case"XZY":i[0]=e9(2*(r*s+a*o),h-l+u-c),i[1]=e9(2*(r*o+a*s),h+l-u-c),i[2]=t9(Q5(2*(o*s-r*a),-1,1));break;default:console.warn("Unkown order: "+n)}return e},$5.eulerFromMat3=function(e,t,n){var i=t.array,r=i[0],a=i[3],o=i[6],s=i[1],l=i[4],u=i[7],c=i[2],h=i[5],d=i[8],f=e.array;n=(n||"XYZ").toUpperCase();switch(n){case"XYZ":f[1]=t9(Q5(o,-1,1)),n9(o)<.99999?(f[0]=e9(-u,d),f[2]=e9(-a,r)):(f[0]=e9(h,l),f[2]=0);break;case"YXZ":f[0]=t9(-Q5(u,-1,1)),n9(u)<.99999?(f[1]=e9(o,d),f[2]=e9(s,l)):(f[1]=e9(-c,r),f[2]=0);break;case"ZXY":f[0]=t9(Q5(h,-1,1)),n9(h)<.99999?(f[1]=e9(-c,d),f[2]=e9(-a,l)):(f[1]=0,f[2]=e9(s,r));break;case"ZYX":f[1]=t9(-Q5(c,-1,1)),n9(c)<.99999?(f[0]=e9(h,d),f[2]=e9(s,r)):(f[0]=0,f[2]=e9(-a,l));break;case"YZX":f[2]=t9(Q5(s,-1,1)),n9(s)<.99999?(f[0]=e9(-u,l),f[1]=e9(-c,r)):(f[0]=0,f[1]=e9(o,d));break;case"XZY":f[2]=t9(-Q5(a,-1,1)),n9(a)<.99999?(f[0]=e9(h,l),f[1]=e9(o,r)):(f[0]=e9(-u,d),f[1]=0);break;default:console.warn("Unkown order: "+n)}return e._dirty=!0,e},Object.defineProperties($5,{POSITIVE_X:{get:function(){return new $5(1,0,0)}},NEGATIVE_X:{get:function(){return new $5(-1,0,0)}},POSITIVE_Y:{get:function(){return new $5(0,1,0)}},NEGATIVE_Y:{get:function(){return new $5(0,-1,0)}},POSITIVE_Z:{get:function(){return new $5(0,0,1)}},NEGATIVE_Z:{get:function(){return new $5(0,0,-1)}},UP:{get:function(){return new $5(0,1,0)}},ZERO:{get:function(){return new $5}}});var i9=$5,r9=1e-5,a9=function(e,t){this.origin=e||new i9,this.direction=t||new i9};a9.prototype={constructor:a9,intersectPlane:function(e,t){var n=e.normal.array,i=e.distance,r=this.origin.array,a=this.direction.array,o=R5.dot(n,a);if(0===o)return null;t||(t=new i9);var s=(R5.dot(n,r)-i)/o;return R5.scaleAndAdd(t.array,r,a,-s),t._dirty=!0,t},mirrorAgainstPlane:function(e){var t=R5.dot(e.normal.array,this.direction.array);R5.scaleAndAdd(this.direction.array,this.direction.array,e.normal.array,2*-t),this.direction._dirty=!0},distanceToPoint:function(){var e=R5.create();return function(t){R5.sub(e,t,this.origin.array);var n=R5.dot(e,this.direction.array);if(n<0)return R5.distance(this.origin.array,t);var i=R5.lenSquared(e);return Math.sqrt(i-n*n)}}(),intersectSphere:function(){var e=R5.create();return function(t,n,i){var r=this.origin.array,a=this.direction.array;t=t.array,R5.sub(e,t,r);var o=R5.dot(e,a),s=R5.squaredLength(e),l=s-o*o,u=n*n;if(!(l>u)){var c=Math.sqrt(u-l),h=o-c,d=o+c;return i||(i=new i9),h<0?d<0?null:(R5.scaleAndAdd(i.array,r,a,d),i):(R5.scaleAndAdd(i.array,r,a,h),i)}}}(),intersectBoundingBox:function(e,t){var n,i,r,a,o,s,l=this.direction.array,u=this.origin.array,c=e.min.array,h=e.max.array,d=1/l[0],f=1/l[1],p=1/l[2];if(d>=0?(n=(c[0]-u[0])*d,i=(h[0]-u[0])*d):(i=(c[0]-u[0])*d,n=(h[0]-u[0])*d),f>=0?(r=(c[1]-u[1])*f,a=(h[1]-u[1])*f):(a=(c[1]-u[1])*f,r=(h[1]-u[1])*f),n>a||r>i)return null;if((r>n||n!==n)&&(n=r),(a<i||i!==i)&&(i=a),p>=0?(o=(c[2]-u[2])*p,s=(h[2]-u[2])*p):(s=(c[2]-u[2])*p,o=(h[2]-u[2])*p),n>s||o>i)return null;if((o>n||n!==n)&&(n=o),(s<i||i!==i)&&(i=s),i<0)return null;var m=n>=0?n:i;return t||(t=new i9),R5.scaleAndAdd(t.array,u,l,m),t},intersectTriangle:function(){var e=R5.create(),t=R5.create(),n=R5.create(),i=R5.create();return function(r,a,o,s,l,u){var c=this.direction.array,h=this.origin.array;r=r.array,a=a.array,o=o.array,R5.sub(e,a,r),R5.sub(t,o,r),R5.cross(i,t,c);var d=R5.dot(e,i);if(s){if(d>-r9)return null}else if(d>-r9&&d<r9)return null;R5.sub(n,h,r);var f=R5.dot(i,n)/d;if(f<0||f>1)return null;R5.cross(i,e,n);var p=R5.dot(c,i)/d;if(p<0||p>1||f+p>1)return null;R5.cross(i,e,t);var m=-R5.dot(n,i)/d;return m<0?null:(l||(l=new i9),u&&i9.set(u,1-f-p,f,p),R5.scaleAndAdd(l.array,h,c,m),l)}}(),applyTransform:function(e){i9.add(this.direction,this.direction,this.origin),i9.transformMat4(this.origin,this.origin,e),i9.transformMat4(this.direction,this.direction,e),i9.sub(this.direction,this.direction,this.origin),i9.normalize(this.direction,this.direction)},copy:function(e){i9.copy(this.origin,e.origin),i9.copy(this.direction,e.direction)},clone:function(){var e=new a9;return e.copy(this),e}};var o9=a9,s9={create:function(){var e=new V4(4);return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e},clone:function(e){var t=new V4(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},fromValues:function(e,t,n,i){var r=new V4(4);return r[0]=e,r[1]=t,r[2]=n,r[3]=i,r},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},set:function(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e},subtract:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}};s9.sub=s9.subtract,s9.multiply=function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e},s9.mul=s9.multiply,s9.divide=function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e},s9.div=s9.divide,s9.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e},s9.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e},s9.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e},s9.scaleAndAdd=function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e[2]=t[2]+n[2]*i,e[3]=t[3]+n[3]*i,e},s9.distance=function(e,t){var n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],a=t[3]-e[3];return Math.sqrt(n*n+i*i+r*r+a*a)},s9.dist=s9.distance,s9.squaredDistance=function(e,t){var n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],a=t[3]-e[3];return n*n+i*i+r*r+a*a},s9.sqrDist=s9.squaredDistance,s9.length=function(e){var t=e[0],n=e[1],i=e[2],r=e[3];return Math.sqrt(t*t+n*n+i*i+r*r)},s9.len=s9.length,s9.squaredLength=function(e){var t=e[0],n=e[1],i=e[2],r=e[3];return t*t+n*n+i*i+r*r},s9.sqrLen=s9.squaredLength,s9.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},s9.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},s9.normalize=function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=n*n+i*i+r*r+a*a;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e[3]=t[3]*o),e},s9.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},s9.lerp=function(e,t,n,i){var r=t[0],a=t[1],o=t[2],s=t[3];return e[0]=r+i*(n[0]-r),e[1]=a+i*(n[1]-a),e[2]=o+i*(n[2]-o),e[3]=s+i*(n[3]-s),e},s9.random=function(e,t){return t=t||1,e[0]=G4(),e[1]=G4(),e[2]=G4(),e[3]=G4(),s9.normalize(e,e),s9.scale(e,e,t),e},s9.transformMat4=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3];return e[0]=n[0]*i+n[4]*r+n[8]*a+n[12]*o,e[1]=n[1]*i+n[5]*r+n[9]*a+n[13]*o,e[2]=n[2]*i+n[6]*r+n[10]*a+n[14]*o,e[3]=n[3]*i+n[7]*r+n[11]*a+n[15]*o,e},s9.transformQuat=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=n[0],s=n[1],l=n[2],u=n[3],c=u*i+s*a-l*r,h=u*r+l*i-o*a,d=u*a+o*r-s*i,f=-o*i-s*r-l*a;return e[0]=c*u+f*-o+h*-l-d*-s,e[1]=h*u+f*-s+d*-o-c*-l,e[2]=d*u+f*-l+c*-s-h*-o,e},s9.forEach=function(){var e=s9.create();return function(t,n,i,r,a,o){var s,l;for(n||(n=4),i||(i=0),l=r?Math.min(r*n+i,t.length):t.length,s=i;s<l;s+=n)e[0]=t[s],e[1]=t[s+1],e[2]=t[s+2],e[3]=t[s+3],a(e,e,o),t[s]=e[0],t[s+1]=e[1],t[s+2]=e[2],t[s+3]=e[3];return t}}();var l9=s9,u9={create:function(){var e=new V4(9);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},fromMat4:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e},clone:function(e){var t=new V4(9);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},copy:function(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[6]=t[6],e[7]=t[7],e[8]=t[8],e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},transpose:function(e,t){if(e===t){var n=t[1],i=t[2],r=t[5];e[1]=t[3],e[2]=t[6],e[3]=n,e[5]=t[7],e[6]=i,e[7]=r}else e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8];return e},invert:function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],l=t[6],u=t[7],c=t[8],h=c*o-s*u,d=-c*a+s*l,f=u*a-o*l,p=n*h+i*d+r*f;return p?(p=1/p,e[0]=h*p,e[1]=(-c*i+r*u)*p,e[2]=(s*i-r*o)*p,e[3]=d*p,e[4]=(c*n-r*l)*p,e[5]=(-s*n+r*a)*p,e[6]=f*p,e[7]=(-u*n+i*l)*p,e[8]=(o*n-i*a)*p,e):null},adjoint:function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],l=t[6],u=t[7],c=t[8];return e[0]=o*c-s*u,e[1]=r*u-i*c,e[2]=i*s-r*o,e[3]=s*l-a*c,e[4]=n*c-r*l,e[5]=r*a-n*s,e[6]=a*u-o*l,e[7]=i*l-n*u,e[8]=n*o-i*a,e},determinant:function(e){var t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],o=e[5],s=e[6],l=e[7],u=e[8];return t*(u*a-o*l)+n*(-u*r+o*s)+i*(l*r-a*s)},multiply:function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=n[0],f=n[1],p=n[2],m=n[3],g=n[4],y=n[5],v=n[6],_=n[7],x=n[8];return e[0]=d*i+f*o+p*u,e[1]=d*r+f*s+p*c,e[2]=d*a+f*l+p*h,e[3]=m*i+g*o+y*u,e[4]=m*r+g*s+y*c,e[5]=m*a+g*l+y*h,e[6]=v*i+_*o+x*u,e[7]=v*r+_*s+x*c,e[8]=v*a+_*l+x*h,e}};u9.mul=u9.multiply,u9.translate=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=n[0],f=n[1];return e[0]=i,e[1]=r,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e[6]=d*i+f*o+u,e[7]=d*r+f*s+c,e[8]=d*a+f*l+h,e},u9.rotate=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=Math.sin(n),f=Math.cos(n);return e[0]=f*i+d*o,e[1]=f*r+d*s,e[2]=f*a+d*l,e[3]=f*o-d*i,e[4]=f*s-d*r,e[5]=f*l-d*a,e[6]=u,e[7]=c,e[8]=h,e},u9.scale=function(e,t,n){var i=n[0],r=n[1];return e[0]=i*t[0],e[1]=i*t[1],e[2]=i*t[2],e[3]=r*t[3],e[4]=r*t[4],e[5]=r*t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},u9.fromMat2d=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=0,e[3]=t[2],e[4]=t[3],e[5]=0,e[6]=t[4],e[7]=t[5],e[8]=1,e},u9.fromQuat=function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=n+n,s=i+i,l=r+r,u=n*o,c=i*o,h=i*s,d=r*o,f=r*s,p=r*l,m=a*o,g=a*s,y=a*l;return e[0]=1-h-p,e[3]=c-y,e[6]=d+g,e[1]=c+y,e[4]=1-u-p,e[7]=f-m,e[2]=d-g,e[5]=f+m,e[8]=1-u-h,e},u9.normalFromMat4=function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],l=t[6],u=t[7],c=t[8],h=t[9],d=t[10],f=t[11],p=t[12],m=t[13],g=t[14],y=t[15],v=n*s-i*o,_=n*l-r*o,x=n*u-a*o,b=i*l-r*s,w=i*u-a*s,M=r*u-a*l,S=c*m-h*p,T=c*g-d*p,L=c*y-f*p,D=h*g-d*m,A=h*y-f*m,O=d*y-f*g,k=v*O-_*A+x*D+b*L-w*T+M*S;return k?(k=1/k,e[0]=(s*O-l*A+u*D)*k,e[1]=(l*L-o*O-u*T)*k,e[2]=(o*A-s*L+u*S)*k,e[3]=(r*A-i*O-a*D)*k,e[4]=(n*O-r*L+a*T)*k,e[5]=(i*L-n*A-a*S)*k,e[6]=(m*M-g*w+y*b)*k,e[7]=(g*x-p*M-y*_)*k,e[8]=(p*w-m*x+y*v)*k,e):null},u9.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2)+Math.pow(e[4],2)+Math.pow(e[5],2)+Math.pow(e[6],2)+Math.pow(e[7],2)+Math.pow(e[8],2))};var c9=u9,h9={create:function(){var e=new V4(4);return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e}};h9.rotationTo=function(){var e=R5.create(),t=R5.fromValues(1,0,0),n=R5.fromValues(0,1,0);return function(i,r,a){var o=R5.dot(r,a);return o<-.999999?(R5.cross(e,t,r),R5.length(e)<1e-6&&R5.cross(e,n,r),R5.normalize(e,e),h9.setAxisAngle(i,e,Math.PI),i):o>.999999?(i[0]=0,i[1]=0,i[2]=0,i[3]=1,i):(R5.cross(e,r,a),i[0]=e[0],i[1]=e[1],i[2]=e[2],i[3]=1+o,h9.normalize(i,i))}}(),h9.setAxes=function(){var e=c9.create();return function(t,n,i,r){return e[0]=i[0],e[3]=i[1],e[6]=i[2],e[1]=r[0],e[4]=r[1],e[7]=r[2],e[2]=-n[0],e[5]=-n[1],e[8]=-n[2],h9.normalize(t,h9.fromMat3(t,e))}}(),h9.clone=l9.clone,h9.fromValues=l9.fromValues,h9.copy=l9.copy,h9.set=l9.set,h9.identity=function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e},h9.setAxisAngle=function(e,t,n){n*=.5;var i=Math.sin(n);return e[0]=i*t[0],e[1]=i*t[1],e[2]=i*t[2],e[3]=Math.cos(n),e},h9.add=l9.add,h9.multiply=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=n[0],l=n[1],u=n[2],c=n[3];return e[0]=i*c+o*s+r*u-a*l,e[1]=r*c+o*l+a*s-i*u,e[2]=a*c+o*u+i*l-r*s,e[3]=o*c-i*s-r*l-a*u,e},h9.mul=h9.multiply,h9.scale=l9.scale,h9.rotateX=function(e,t,n){n*=.5;var i=t[0],r=t[1],a=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=i*l+o*s,e[1]=r*l+a*s,e[2]=a*l-r*s,e[3]=o*l-i*s,e},h9.rotateY=function(e,t,n){n*=.5;var i=t[0],r=t[1],a=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=i*l-a*s,e[1]=r*l+o*s,e[2]=a*l+i*s,e[3]=o*l-r*s,e},h9.rotateZ=function(e,t,n){n*=.5;var i=t[0],r=t[1],a=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=i*l+r*s,e[1]=r*l-i*s,e[2]=a*l+o*s,e[3]=o*l-a*s,e},h9.calculateW=function(e,t){var n=t[0],i=t[1],r=t[2];return e[0]=n,e[1]=i,e[2]=r,e[3]=Math.sqrt(Math.abs(1-n*n-i*i-r*r)),e},h9.dot=l9.dot,h9.lerp=l9.lerp,h9.slerp=function(e,t,n,i){var r,a,o,s,l,u=t[0],c=t[1],h=t[2],d=t[3],f=n[0],p=n[1],m=n[2],g=n[3];return a=u*f+c*p+h*m+d*g,a<0&&(a=-a,f=-f,p=-p,m=-m,g=-g),1-a>1e-6?(r=Math.acos(a),o=Math.sin(r),s=Math.sin((1-i)*r)/o,l=Math.sin(i*r)/o):(s=1-i,l=i),e[0]=s*u+l*f,e[1]=s*c+l*p,e[2]=s*h+l*m,e[3]=s*d+l*g,e},h9.invert=function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=n*n+i*i+r*r+a*a,s=o?1/o:0;return e[0]=-n*s,e[1]=-i*s,e[2]=-r*s,e[3]=a*s,e},h9.conjugate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e},h9.length=l9.length,h9.len=h9.length,h9.squaredLength=l9.squaredLength,h9.sqrLen=h9.squaredLength,h9.normalize=l9.normalize,h9.fromMat3=function(e,t){var n,i=t[0]+t[4]+t[8];if(i>0)n=Math.sqrt(i+1),e[3]=.5*n,n=.5/n,e[0]=(t[5]-t[7])*n,e[1]=(t[6]-t[2])*n,e[2]=(t[1]-t[3])*n;else{var r=0;t[4]>t[0]&&(r=1),t[8]>t[3*r+r]&&(r=2);var a=(r+1)%3,o=(r+2)%3;n=Math.sqrt(t[3*r+r]-t[3*a+a]-t[3*o+o]+1),e[r]=.5*n,n=.5/n,e[3]=(t[3*a+o]-t[3*o+a])*n,e[a]=(t[3*a+r]+t[3*r+a])*n,e[o]=(t[3*o+r]+t[3*r+o])*n}return e};var d9=h9,f9=function(){this._axisX=new i9,this._axisY=new i9,this._axisZ=new i9,this.array=P5.create(),this._dirty=!0};f9.prototype={constructor:f9,setArray:function(e){for(var t=0;t<this.array.length;t++)this.array[t]=e[t];return this._dirty=!0,this},adjoint:function(){return P5.adjoint(this.array,this.array),this._dirty=!0,this},clone:function(){return(new f9).copy(this)},copy:function(e){return P5.copy(this.array,e.array),this._dirty=!0,this},determinant:function(){return P5.determinant(this.array)},fromQuat:function(e){return P5.fromQuat(this.array,e.array),this._dirty=!0,this},fromRotationTranslation:function(e,t){return P5.fromRotationTranslation(this.array,e.array,t.array),this._dirty=!0,this},fromMat2d:function(e){return f9.fromMat2d(this,e),this},frustum:function(e,t,n,i,r,a){return P5.frustum(this.array,e,t,n,i,r,a),this._dirty=!0,this},identity:function(){return P5.identity(this.array),this._dirty=!0,this},invert:function(){return P5.invert(this.array,this.array),this._dirty=!0,this},lookAt:function(e,t,n){return P5.lookAt(this.array,e.array,t.array,n.array),this._dirty=!0,this},mul:function(e){return P5.mul(this.array,this.array,e.array),this._dirty=!0,this},mulLeft:function(e){return P5.mul(this.array,e.array,this.array),this._dirty=!0,this},multiply:function(e){return P5.multiply(this.array,this.array,e.array),this._dirty=!0,this},multiplyLeft:function(e){return P5.multiply(this.array,e.array,this.array),this._dirty=!0,this},ortho:function(e,t,n,i,r,a){return P5.ortho(this.array,e,t,n,i,r,a),this._dirty=!0,this},perspective:function(e,t,n,i){return P5.perspective(this.array,e,t,n,i),this._dirty=!0,this},rotate:function(e,t){return P5.rotate(this.array,this.array,e,t.array),this._dirty=!0,this},rotateX:function(e){return P5.rotateX(this.array,this.array,e),this._dirty=!0,this},rotateY:function(e){return P5.rotateY(this.array,this.array,e),this._dirty=!0,this},rotateZ:function(e){return P5.rotateZ(this.array,this.array,e),this._dirty=!0,this},scale:function(e){return P5.scale(this.array,this.array,e.array),this._dirty=!0,this},translate:function(e){return P5.translate(this.array,this.array,e.array),this._dirty=!0,this},transpose:function(){return P5.transpose(this.array,this.array),this._dirty=!0,this},decomposeMatrix:function(){var e=R5.create(),t=R5.create(),n=R5.create(),i=c9.create();return function(r,a,o){var s=this.array;R5.set(e,s[0],s[1],s[2]),R5.set(t,s[4],s[5],s[6]),R5.set(n,s[8],s[9],s[10]);var l=R5.length(e),u=R5.length(t),c=R5.length(n),h=this.determinant();h<0&&(l=-l),r&&r.set(l,u,c),o.set(s[12],s[13],s[14]),c9.fromMat4(i,s),i[0]/=l,i[1]/=l,i[2]/=l,i[3]/=u,i[4]/=u,i[5]/=u,i[6]/=c,i[7]/=c,i[8]/=c,d9.fromMat3(a.array,i),d9.normalize(a.array,a.array),a._dirty=!0,o._dirty=!0}}(),toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var p9=Object.defineProperty;if(p9){var m9=f9.prototype;p9(m9,"z",{get:function(){var e=this.array;return this._axisZ.set(e[8],e[9],e[10]),this._axisZ},set:function(e){var t=this.array;e=e.array,t[8]=e[0],t[9]=e[1],t[10]=e[2],this._dirty=!0}}),p9(m9,"y",{get:function(){var e=this.array;return this._axisY.set(e[4],e[5],e[6]),this._axisY},set:function(e){var t=this.array;e=e.array,t[4]=e[0],t[5]=e[1],t[6]=e[2],this._dirty=!0}}),p9(m9,"x",{get:function(){var e=this.array;return this._axisX.set(e[0],e[1],e[2]),this._axisX},set:function(e){var t=this.array;e=e.array,t[0]=e[0],t[1]=e[1],t[2]=e[2],this._dirty=!0}})}f9.adjoint=function(e,t){return P5.adjoint(e.array,t.array),e._dirty=!0,e},f9.copy=function(e,t){return P5.copy(e.array,t.array),e._dirty=!0,e},f9.determinant=function(e){return P5.determinant(e.array)},f9.identity=function(e){return P5.identity(e.array),e._dirty=!0,e},f9.ortho=function(e,t,n,i,r,a,o){return P5.ortho(e.array,t,n,i,r,a,o),e._dirty=!0,e},f9.perspective=function(e,t,n,i,r){return P5.perspective(e.array,t,n,i,r),e._dirty=!0,e},f9.lookAt=function(e,t,n,i){return P5.lookAt(e.array,t.array,n.array,i.array),e._dirty=!0,e},f9.invert=function(e,t){return P5.invert(e.array,t.array),e._dirty=!0,e},f9.mul=function(e,t,n){return P5.mul(e.array,t.array,n.array),e._dirty=!0,e},f9.multiply=f9.mul,f9.fromQuat=function(e,t){return P5.fromQuat(e.array,t.array),e._dirty=!0,e},f9.fromRotationTranslation=function(e,t,n){return P5.fromRotationTranslation(e.array,t.array,n.array),e._dirty=!0,e},f9.fromMat2d=function(e,t){e._dirty=!0;t=t.array,e=e.array;return e[0]=t[0],e[4]=t[2],e[12]=t[4],e[1]=t[1],e[5]=t[3],e[13]=t[5],e},f9.rotate=function(e,t,n,i){return P5.rotate(e.array,t.array,n,i.array),e._dirty=!0,e},f9.rotateX=function(e,t,n){return P5.rotateX(e.array,t.array,n),e._dirty=!0,e},f9.rotateY=function(e,t,n){return P5.rotateY(e.array,t.array,n),e._dirty=!0,e},f9.rotateZ=function(e,t,n){return P5.rotateZ(e.array,t.array,n),e._dirty=!0,e},f9.scale=function(e,t,n){return P5.scale(e.array,t.array,n.array),e._dirty=!0,e},f9.transpose=function(e,t){return P5.transpose(e.array,t.array),e._dirty=!0,e},f9.translate=function(e,t,n){return P5.translate(e.array,t.array,n.array),e._dirty=!0,e};var g9=f9,y9=function(e,t,n,i){e=e||0,t=t||0,n=n||0,i=void 0===i?1:i,this.array=d9.fromValues(e,t,n,i),this._dirty=!0};y9.prototype={constructor:y9,add:function(e){return d9.add(this.array,this.array,e.array),this._dirty=!0,this},calculateW:function(){return d9.calculateW(this.array,this.array),this._dirty=!0,this},set:function(e,t,n,i){return this.array[0]=e,this.array[1]=t,this.array[2]=n,this.array[3]=i,this._dirty=!0,this},setArray:function(e){return this.array[0]=e[0],this.array[1]=e[1],this.array[2]=e[2],this.array[3]=e[3],this._dirty=!0,this},clone:function(){return new y9(this.x,this.y,this.z,this.w)},conjugate:function(){return d9.conjugate(this.array,this.array),this._dirty=!0,this},copy:function(e){return d9.copy(this.array,e.array),this._dirty=!0,this},dot:function(e){return d9.dot(this.array,e.array)},fromMat3:function(e){return d9.fromMat3(this.array,e.array),this._dirty=!0,this},fromMat4:function(){var e=c9.create();return function(t){return c9.fromMat4(e,t.array),c9.transpose(e,e),d9.fromMat3(this.array,e),this._dirty=!0,this}}(),identity:function(){return d9.identity(this.array),this._dirty=!0,this},invert:function(){return d9.invert(this.array,this.array),this._dirty=!0,this},len:function(){return d9.len(this.array)},length:function(){return d9.length(this.array)},lerp:function(e,t,n){return d9.lerp(this.array,e.array,t.array,n),this._dirty=!0,this},mul:function(e){return d9.mul(this.array,this.array,e.array),this._dirty=!0,this},mulLeft:function(e){return d9.multiply(this.array,e.array,this.array),this._dirty=!0,this},multiply:function(e){return d9.multiply(this.array,this.array,e.array),this._dirty=!0,this},multiplyLeft:function(e){return d9.multiply(this.array,e.array,this.array),this._dirty=!0,this},normalize:function(){return d9.normalize(this.array,this.array),this._dirty=!0,this},rotateX:function(e){return d9.rotateX(this.array,this.array,e),this._dirty=!0,this},rotateY:function(e){return d9.rotateY(this.array,this.array,e),this._dirty=!0,this},rotateZ:function(e){return d9.rotateZ(this.array,this.array,e),this._dirty=!0,this},rotationTo:function(e,t){return d9.rotationTo(this.array,e.array,t.array),this._dirty=!0,this},setAxes:function(e,t,n){return d9.setAxes(this.array,e.array,t.array,n.array),this._dirty=!0,this},setAxisAngle:function(e,t){return d9.setAxisAngle(this.array,e.array,t),this._dirty=!0,this},slerp:function(e,t,n){return d9.slerp(this.array,e.array,t.array,n),this._dirty=!0,this},sqrLen:function(){return d9.sqrLen(this.array)},squaredLength:function(){return d9.squaredLength(this.array)},fromEuler:function(e,t){return y9.fromEuler(this,e,t)},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var v9=Object.defineProperty;if(v9){var _9=y9.prototype;v9(_9,"x",{get:function(){return this.array[0]},set:function(e){this.array[0]=e,this._dirty=!0}}),v9(_9,"y",{get:function(){return this.array[1]},set:function(e){this.array[1]=e,this._dirty=!0}}),v9(_9,"z",{get:function(){return this.array[2]},set:function(e){this.array[2]=e,this._dirty=!0}}),v9(_9,"w",{get:function(){return this.array[3]},set:function(e){this.array[3]=e,this._dirty=!0}})}y9.add=function(e,t,n){return d9.add(e.array,t.array,n.array),e._dirty=!0,e},y9.set=function(e,t,n,i,r){d9.set(e.array,t,n,i,r),e._dirty=!0},y9.copy=function(e,t){return d9.copy(e.array,t.array),e._dirty=!0,e},y9.calculateW=function(e,t){return d9.calculateW(e.array,t.array),e._dirty=!0,e},y9.conjugate=function(e,t){return d9.conjugate(e.array,t.array),e._dirty=!0,e},y9.identity=function(e){return d9.identity(e.array),e._dirty=!0,e},y9.invert=function(e,t){return d9.invert(e.array,t.array),e._dirty=!0,e},y9.dot=function(e,t){return d9.dot(e.array,t.array)},y9.len=function(e){return d9.length(e.array)},y9.lerp=function(e,t,n,i){return d9.lerp(e.array,t.array,n.array,i),e._dirty=!0,e},y9.slerp=function(e,t,n,i){return d9.slerp(e.array,t.array,n.array,i),e._dirty=!0,e},y9.mul=function(e,t,n){return d9.multiply(e.array,t.array,n.array),e._dirty=!0,e},y9.multiply=y9.mul,y9.rotateX=function(e,t,n){return d9.rotateX(e.array,t.array,n),e._dirty=!0,e},y9.rotateY=function(e,t,n){return d9.rotateY(e.array,t.array,n),e._dirty=!0,e},y9.rotateZ=function(e,t,n){return d9.rotateZ(e.array,t.array,n),e._dirty=!0,e},y9.setAxisAngle=function(e,t,n){return d9.setAxisAngle(e.array,t.array,n),e._dirty=!0,e},y9.normalize=function(e,t){return d9.normalize(e.array,t.array),e._dirty=!0,e},y9.sqrLen=function(e){return d9.sqrLen(e.array)},y9.squaredLength=y9.sqrLen,y9.fromMat3=function(e,t){return d9.fromMat3(e.array,t.array),e._dirty=!0,e},y9.setAxes=function(e,t,n,i){return d9.setAxes(e.array,t.array,n.array,i.array),e._dirty=!0,e},y9.rotationTo=function(e,t,n){return d9.rotationTo(e.array,t.array,n.array),e._dirty=!0,e},y9.fromEuler=function(e,t,n){e._dirty=!0,t=t.array;var i=e.array,r=Math.cos(t[0]/2),a=Math.cos(t[1]/2),o=Math.cos(t[2]/2),s=Math.sin(t[0]/2),l=Math.sin(t[1]/2),u=Math.sin(t[2]/2);n=(n||"XYZ").toUpperCase();switch(n){case"XYZ":i[0]=s*a*o+r*l*u,i[1]=r*l*o-s*a*u,i[2]=r*a*u+s*l*o,i[3]=r*a*o-s*l*u;break;case"YXZ":i[0]=s*a*o+r*l*u,i[1]=r*l*o-s*a*u,i[2]=r*a*u-s*l*o,i[3]=r*a*o+s*l*u;break;case"ZXY":i[0]=s*a*o-r*l*u,i[1]=r*l*o+s*a*u,i[2]=r*a*u+s*l*o,i[3]=r*a*o-s*l*u;break;case"ZYX":i[0]=s*a*o-r*l*u,i[1]=r*l*o+s*a*u,i[2]=r*a*u-s*l*o,i[3]=r*a*o+s*l*u;break;case"YZX":i[0]=s*a*o+r*l*u,i[1]=r*l*o+s*a*u,i[2]=r*a*u-s*l*o,i[3]=r*a*o-s*l*u;break;case"XZY":i[0]=s*a*o-r*l*u,i[1]=r*l*o-s*a*u,i[2]=r*a*u+s*l*o,i[3]=r*a*o+s*l*u;break}};var x9=y9,b9=R5.set,w9=R5.copy,M9=function(e,t){this.min=e||new i9(1/0,1/0,1/0),this.max=t||new i9(-1/0,-1/0,-1/0),this.vertices=null};M9.prototype={constructor:M9,updateFromVertices:function(e){if(e.length>0){var t=this.min,n=this.max,i=t.array,r=n.array;w9(i,e[0]),w9(r,e[0]);for(var a=1;a<e.length;a++){var o=e[a];o[0]<i[0]&&(i[0]=o[0]),o[1]<i[1]&&(i[1]=o[1]),o[2]<i[2]&&(i[2]=o[2]),o[0]>r[0]&&(r[0]=o[0]),o[1]>r[1]&&(r[1]=o[1]),o[2]>r[2]&&(r[2]=o[2])}t._dirty=!0,n._dirty=!0}},union:function(e){var t=this.min,n=this.max;return R5.min(t.array,t.array,e.min.array),R5.max(n.array,n.array,e.max.array),t._dirty=!0,n._dirty=!0,this},intersection:function(e){var t=this.min,n=this.max;return R5.max(t.array,t.array,e.min.array),R5.min(n.array,n.array,e.max.array),t._dirty=!0,n._dirty=!0,this},intersectBoundingBox:function(e){var t=this.min.array,n=this.max.array,i=e.min.array,r=e.max.array;return!(t[0]>r[0]||t[1]>r[1]||t[2]>r[2]||n[0]<i[0]||n[1]<i[1]||n[2]<i[2])},containBoundingBox:function(e){var t=this.min.array,n=this.max.array,i=e.min.array,r=e.max.array;return t[0]<=i[0]&&t[1]<=i[1]&&t[2]<=i[2]&&n[0]>=r[0]&&n[1]>=r[1]&&n[2]>=r[2]},containPoint:function(e){var t=this.min.array,n=this.max.array,i=e.array;return t[0]<=i[0]&&t[1]<=i[1]&&t[2]<=i[2]&&n[0]>=i[0]&&n[1]>=i[1]&&n[2]>=i[2]},isFinite:function(){var e=this.min.array,t=this.max.array;return isFinite(e[0])&&isFinite(e[1])&&isFinite(e[2])&&isFinite(t[0])&&isFinite(t[1])&&isFinite(t[2])},applyTransform:function(e){this.transformFrom(this,e)},transformFrom:function(){var e=R5.create(),t=R5.create(),n=R5.create(),i=R5.create(),r=R5.create(),a=R5.create();return function(o,s){var l=o.min.array,u=o.max.array,c=s.array;return e[0]=c[0]*l[0],e[1]=c[1]*l[0],e[2]=c[2]*l[0],t[0]=c[0]*u[0],t[1]=c[1]*u[0],t[2]=c[2]*u[0],n[0]=c[4]*l[1],n[1]=c[5]*l[1],n[2]=c[6]*l[1],i[0]=c[4]*u[1],i[1]=c[5]*u[1],i[2]=c[6]*u[1],r[0]=c[8]*l[2],r[1]=c[9]*l[2],r[2]=c[10]*l[2],a[0]=c[8]*u[2],a[1]=c[9]*u[2],a[2]=c[10]*u[2],l=this.min.array,u=this.max.array,l[0]=Math.min(e[0],t[0])+Math.min(n[0],i[0])+Math.min(r[0],a[0])+c[12],l[1]=Math.min(e[1],t[1])+Math.min(n[1],i[1])+Math.min(r[1],a[1])+c[13],l[2]=Math.min(e[2],t[2])+Math.min(n[2],i[2])+Math.min(r[2],a[2])+c[14],u[0]=Math.max(e[0],t[0])+Math.max(n[0],i[0])+Math.max(r[0],a[0])+c[12],u[1]=Math.max(e[1],t[1])+Math.max(n[1],i[1])+Math.max(r[1],a[1])+c[13],u[2]=Math.max(e[2],t[2])+Math.max(n[2],i[2])+Math.max(r[2],a[2])+c[14],this.min._dirty=!0,this.max._dirty=!0,this}}(),applyProjection:function(e){var t=this.min.array,n=this.max.array,i=e.array,r=t[0],a=t[1],o=t[2],s=n[0],l=n[1],u=t[2],c=n[0],h=n[1],d=n[2];if(1===i[15])t[0]=i[0]*r+i[12],t[1]=i[5]*a+i[13],n[2]=i[10]*o+i[14],n[0]=i[0]*c+i[12],n[1]=i[5]*h+i[13],t[2]=i[10]*d+i[14];else{var f=-1/o;t[0]=i[0]*r*f,t[1]=i[5]*a*f,n[2]=(i[10]*o+i[14])*f,f=-1/u,n[0]=i[0]*s*f,n[1]=i[5]*l*f,f=-1/d,t[2]=(i[10]*d+i[14])*f}return this.min._dirty=!0,this.max._dirty=!0,this},updateVertices:function(){var e=this.vertices;if(!e){e=[];for(var t=0;t<8;t++)e[t]=R5.fromValues(0,0,0);this.vertices=e}var n=this.min.array,i=this.max.array;return b9(e[0],n[0],n[1],n[2]),b9(e[1],n[0],i[1],n[2]),b9(e[2],i[0],n[1],n[2]),b9(e[3],i[0],i[1],n[2]),b9(e[4],n[0],n[1],i[2]),b9(e[5],n[0],i[1],i[2]),b9(e[6],i[0],n[1],i[2]),b9(e[7],i[0],i[1],i[2]),this},copy:function(e){var t=this.min,n=this.max;return w9(t.array,e.min.array),w9(n.array,e.max.array),t._dirty=!0,n._dirty=!0,this},clone:function(){var e=new M9;return e.copy(this),e}};var S9=M9,T9=0,L9=l4.extend({name:"",position:null,rotation:null,scale:null,worldTransform:null,localTransform:null,autoUpdateLocalTransform:!0,_parent:null,_scene:null,_needsUpdateWorldTransform:!0,_inIterating:!1,__depth:0},(function(){this.name||(this.name=(this.type||"NODE")+"_"+T9++),this.position||(this.position=new i9),this.rotation||(this.rotation=new x9),this.scale||(this.scale=new i9(1,1,1)),this.worldTransform=new g9,this.localTransform=new g9,this._children=[]}),{target:null,invisible:!1,isSkinnedMesh:function(){return!1},isRenderable:function(){return!1},setName:function(e){var t=this._scene;if(t){var n=t._nodeRepository;delete n[this.name],n[e]=this}this.name=e},add:function(e){var t=e._parent;if(t!==this){t&&t.remove(e),e._parent=this,this._children.push(e);var n=this._scene;n&&n!==e.scene&&e.traverse(this._addSelfToScene,this),e._needsUpdateWorldTransform=!0}},remove:function(e){var t=this._children,n=t.indexOf(e);n<0||(t.splice(n,1),e._parent=null,this._scene&&e.traverse(this._removeSelfFromScene,this))},removeAll:function(){for(var e=this._children,t=0;t<e.length;t++)e[t]._parent=null,this._scene&&e[t].traverse(this._removeSelfFromScene,this);this._children=[]},getScene:function(){return this._scene},getParent:function(){return this._parent},_removeSelfFromScene:function(e){e._scene.removeFromScene(e),e._scene=null},_addSelfToScene:function(e){this._scene.addToScene(e),e._scene=this._scene},isAncestor:function(e){var t=e._parent;while(t){if(t===this)return!0;t=t._parent}return!1},children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},getChildByName:function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},getDescendantByName:function(e){for(var t=this._children,n=0;n<t.length;n++){var i=t[n];if(i.name===e)return i;var r=i.getDescendantByName(e);if(r)return r}},queryNode:function(e){if(e){for(var t=e.split("/"),n=this,i=0;i<t.length;i++){var r=t[i];if(r){for(var a=!1,o=n._children,s=0;s<o.length;s++){var l=o[s];if(l.name===r){n=l,a=!0;break}}if(!a)return}}return n}},getPath:function(e){if(!this._parent)return"/";var t=this._parent,n=this.name;while(t._parent){if(n=t.name+"/"+n,t._parent==e)break;t=t._parent}return!t._parent&&e?null:n},traverse:function(e,t){e.call(t,this);for(var n=this._children,i=0,r=n.length;i<r;i++)n[i].traverse(e,t)},eachChild:function(e,t){for(var n=this._children,i=0,r=n.length;i<r;i++){var a=n[i];e.call(t,a,i)}},setLocalTransform:function(e){P5.copy(this.localTransform.array,e.array),this.decomposeLocalTransform()},decomposeLocalTransform:function(e){var t=e?null:this.scale;this.localTransform.decomposeMatrix(t,this.rotation,this.position)},setWorldTransform:function(e){P5.copy(this.worldTransform.array,e.array),this.decomposeWorldTransform()},decomposeWorldTransform:function(){var e=P5.create();return function(t){var n=this.localTransform,i=this.worldTransform;this._parent?(P5.invert(e,this._parent.worldTransform.array),P5.multiply(n.array,e,i.array)):P5.copy(n.array,i.array);var r=t?null:this.scale;n.decomposeMatrix(r,this.rotation,this.position)}}(),transformNeedsUpdate:function(){return this.position._dirty||this.rotation._dirty||this.scale._dirty},updateLocalTransform:function(){var e=this.position,t=this.rotation,n=this.scale;if(this.transformNeedsUpdate()){var i=this.localTransform.array;P5.fromRotationTranslation(i,t.array,e.array),P5.scale(i,i,n.array),t._dirty=!1,n._dirty=!1,e._dirty=!1,this._needsUpdateWorldTransform=!0}},_updateWorldTransformTopDown:function(){var e=this.localTransform.array,t=this.worldTransform.array;this._parent?P5.multiplyAffine(t,this._parent.worldTransform.array,e):P5.copy(t,e)},updateWorldTransform:function(){var e=this;while(e&&e.getParent()&&e.getParent().transformNeedsUpdate())e=e.getParent();e.update()},update:function(e){this.autoUpdateLocalTransform?this.updateLocalTransform():e=!0,(e||this._needsUpdateWorldTransform)&&(this._updateWorldTransformTopDown(),e=!0,this._needsUpdateWorldTransform=!1);for(var t=this._children,n=0,i=t.length;n<i;n++)t[n].update(e)},getBoundingBox:function(){function e(e){return!e.invisible&&e.geometry}var t=new S9,n=new g9,i=new g9;return function(r,a){return a=a||new S9,r=r||e,this._parent?g9.invert(i,this._parent.worldTransform):g9.identity(i),this.traverse((function(e){e.geometry&&e.geometry.boundingBox&&(t.copy(e.geometry.boundingBox),g9.multiply(n,i,e.worldTransform),t.applyTransform(n),a.union(t))}),this,e),a}}(),getWorldPosition:function(e){this.transformNeedsUpdate()&&this.updateWorldTransform();var t=this.worldTransform.array;if(e){var n=e.array;return n[0]=t[12],n[1]=t[13],n[2]=t[14],e}return new i9(t[12],t[13],t[14])},clone:function(){var e=new this.constructor,t=this._children;e.setName(this.name),e.position.copy(this.position),e.rotation.copy(this.rotation),e.scale.copy(this.scale);for(var n=0;n<t.length;n++)e.add(t[n].clone());return e},rotateAround:function(){var e=new i9,t=new g9;return function(n,i,r){e.copy(this.position).subtract(n);var a=this.localTransform;a.identity(),a.translate(n),a.rotate(r,i),t.fromRotationTranslation(this.rotation,e),a.multiply(t),a.scale(this.scale),this.decomposeLocalTransform(),this._needsUpdateWorldTransform=!0}}(),lookAt:function(){var e=new g9;return function(t,n){e.lookAt(this.position,t,n||this.localTransform.y).invert(),this.setLocalTransform(e),this.target=t}}()}),D9=L9,A9=D9.extend({material:null,geometry:null,mode:f4.TRIANGLES,_renderInfo:null},{__program:null,lightGroup:0,renderOrder:0,culling:!0,cullFace:f4.BACK,frontFace:f4.CCW,frustumCulling:!0,receiveShadow:!0,castShadow:!0,ignorePicking:!1,ignorePreZ:!1,ignoreGBuffer:!1,isRenderable:function(){return this.geometry&&this.material&&this.material.shader&&!this.invisible&&this.geometry.vertexCount>0},beforeRender:function(e){},afterRender:function(e,t){},getBoundingBox:function(e,t){return t=D9.prototype.getBoundingBox.call(this,e,t),this.geometry&&this.geometry.boundingBox&&t.union(this.geometry.boundingBox),t},clone:function(){var e=["castShadow","receiveShadow","mode","culling","cullFace","frontFace","frustumCulling","renderOrder","lineWidth","ignorePicking","ignorePreZ","ignoreGBuffer"];return function(){var t=D9.prototype.clone.call(this);t.geometry=this.geometry,t.material=this.material;for(var n=0;n<e.length;n++){var i=e[n];t[i]!==this[i]&&(t[i]=this[i])}return t}}()});A9.POINTS=f4.POINTS,A9.LINES=f4.LINES,A9.LINE_LOOP=f4.LINE_LOOP,A9.LINE_STRIP=f4.LINE_STRIP,A9.TRIANGLES=f4.TRIANGLES,A9.TRIANGLE_STRIP=f4.TRIANGLE_STRIP,A9.TRIANGLE_FAN=f4.TRIANGLE_FAN,A9.BACK=f4.BACK,A9.FRONT=f4.FRONT,A9.FRONT_AND_BACK=f4.FRONT_AND_BACK,A9.CW=f4.CW,A9.CCW=f4.CCW;var O9=A9,k9=l4.extend({scene:null,camera:null,renderer:null},(function(){this._ray=new o9,this._ndc=new q4}),{pick:function(e,t,n){var i=this.pickAll(e,t,[],n);return i[0]||null},pickAll:function(e,t,n,i){return this.renderer.screenToNDC(e,t,this._ndc),this.camera.castRay(this._ndc,this._ray),n=n||[],this._intersectNode(this.scene,n,i||!1),n.sort(this._intersectionCompareFunc),n},_intersectNode:function(e,t,n){e instanceof O9&&e.isRenderable()&&(e.ignorePicking&&!n||!(e.mode===f4.TRIANGLES&&e.geometry.isUseIndices()||e.geometry.pickByRay||e.geometry.pick)||this._intersectRenderable(e,t));for(var i=0;i<e._children.length;i++)this._intersectNode(e._children[i],t,n)},_intersectRenderable:function(){var e=new i9,t=new i9,n=new i9,i=new o9,r=new g9;return function(a,o){var s=a.isSkinnedMesh();i.copy(this._ray),g9.invert(r,a.worldTransform),s||i.applyTransform(r);var l=a.geometry,u=s?a.skeleton.boundingBox:l.boundingBox;if(!u||i.intersectBoundingBox(u))if(l.pick)l.pick(this._ndc.x,this._ndc.y,this.renderer,this.camera,a,o);else if(l.pickByRay)l.pickByRay(i,a,o);else{var c,h,d=a.cullFace===f4.BACK&&a.frontFace===f4.CCW||a.cullFace===f4.FRONT&&a.frontFace===f4.CW,f=l.indices,p=l.attributes.position,m=l.attributes.weight,g=l.attributes.joint,y=[];if(p&&p.value&&f){if(s){h=a.skeleton.getSubSkinMatrices(a.__uid__,a.joints);for(var v=0;v<a.joints.length;v++){y[v]=y[v]||[];for(var _=0;_<16;_++)y[v][_]=h[16*v+_]}var x=[],b=[],w=[],M=[],S=[],T=l.attributes.skinnedPosition;T&&T.value||(l.createAttribute("skinnedPosition","f",3),T=l.attributes.skinnedPosition,T.init(l.vertexCount));for(v=0;v<l.vertexCount;v++){p.get(v,x),m.get(v,b),g.get(v,w),b[3]=1-b[0]-b[1]-b[2],R5.set(M,0,0,0);for(_=0;_<4;_++)w[_]>=0&&b[_]>1e-4&&(R5.transformMat4(S,x,y[w[_]]),R5.scaleAndAdd(M,M,S,b[_]));T.set(v,M)}}for(v=0;v<f.length;v+=3){var L=f[v],D=f[v+1],A=f[v+2],O=s?l.attributes.skinnedPosition:p;if(O.get(L,e.array),O.get(D,t.array),O.get(A,n.array),c=d?i.intersectTriangle(e,t,n,a.culling):i.intersectTriangle(e,n,t,a.culling),c){var k=new i9;s?i9.copy(k,c):i9.transformMat4(k,c,a.worldTransform),o.push(new k9.Intersection(c,k,a,[L,D,A],v/3,i9.dist(k,this._ray.origin)))}}}}}}(),_intersectionCompareFunc:function(e,t){return e.distance-t.distance}});k9.Intersection=function(e,t,n,i,r,a){this.point=e,this.pointWorld=t,this.target=n,this.triangle=i,this.triangleIndex=r,this.distance=a};var I9=k9,C9="__dt__",E9=function(){this._contextId=0,this._caches=[],this._context={}};E9.prototype={use:function(e,t){var n=this._caches;n[e]||(n[e]={},t&&(n[e]=t())),this._contextId=e,this._context=n[e]},put:function(e,t){this._context[e]=t},get:function(e){return this._context[e]},dirty:function(e){e=e||"";var t=C9+e;this.put(t,!0)},dirtyAll:function(e){e=e||"";for(var t=C9+e,n=this._caches,i=0;i<n.length;i++)n[i]&&(n[i][t]=!0)},fresh:function(e){e=e||"";var t=C9+e;this.put(t,!1)},freshAll:function(e){e=e||"";for(var t=C9+e,n=this._caches,i=0;i<n.length;i++)n[i]&&(n[i][t]=!1)},isDirty:function(e){e=e||"";var t=C9+e,n=this._context;return!n.hasOwnProperty(t)||!0===n[t]},deleteContext:function(e){delete this._caches[e],this._context={}},delete:function(e){delete this._context[e]},clearAll:function(){this._caches={}},getContext:function(){return this._context},eachContext:function(e,t){var n=Object.keys(this._caches);n.forEach((function(n){e&&e.call(t,n)}))},miss:function(e){return!this._context.hasOwnProperty(e)}},E9.prototype.constructor=E9;var P9=E9,N9=l4.extend({width:512,height:512,type:f4.UNSIGNED_BYTE,format:f4.RGBA,wrapS:f4.REPEAT,wrapT:f4.REPEAT,minFilter:f4.LINEAR_MIPMAP_LINEAR,magFilter:f4.LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,sRGB:!0,unpackAlignment:4,premultiplyAlpha:!1,dynamic:!1,NPOT:!1,__used:0},(function(){this._cache=new P9}),{getWebGLTexture:function(e){var t=e.gl,n=this._cache;return n.use(e.__uid__),n.miss("webgl_texture")&&n.put("webgl_texture",t.createTexture()),this.dynamic?this.update(e):n.isDirty()&&(this.update(e),n.fresh()),n.get("webgl_texture")},bind:function(){},unbind:function(){},dirty:function(){this._cache&&this._cache.dirtyAll()},update:function(e){},updateCommon:function(e){var t=e.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,this.flipY),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha),t.pixelStorei(t.UNPACK_ALIGNMENT,this.unpackAlignment),this.format===f4.DEPTH_COMPONENT&&(this.useMipmap=!1);var n=e.getGLExtension("EXT_sRGB");this.format!==N9.SRGB||n||(this.format=N9.RGB),this.format!==N9.SRGB_ALPHA||n||(this.format=N9.RGBA),this.NPOT=!this.isPowerOfTwo()},getAvailableWrapS:function(){return this.NPOT?f4.CLAMP_TO_EDGE:this.wrapS},getAvailableWrapT:function(){return this.NPOT?f4.CLAMP_TO_EDGE:this.wrapT},getAvailableMinFilter:function(){var e=this.minFilter;return this.NPOT||!this.useMipmap?e===f4.NEAREST_MIPMAP_NEAREST||e===f4.NEAREST_MIPMAP_LINEAR?f4.NEAREST:e===f4.LINEAR_MIPMAP_LINEAR||e===f4.LINEAR_MIPMAP_NEAREST?f4.LINEAR:e:e},getAvailableMagFilter:function(){return this.magFilter},nextHighestPowerOfTwo:function(e){--e;for(var t=1;t<32;t<<=1)e|=e>>t;return e+1},dispose:function(e){var t=this._cache;t.use(e.__uid__);var n=t.get("webgl_texture");n&&e.gl.deleteTexture(n),t.deleteContext(e.__uid__)},isRenderable:function(){},isPowerOfTwo:function(){}});Object.defineProperty(N9.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e}}),Object.defineProperty(N9.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e}}),N9.BYTE=f4.BYTE,N9.UNSIGNED_BYTE=f4.UNSIGNED_BYTE,N9.SHORT=f4.SHORT,N9.UNSIGNED_SHORT=f4.UNSIGNED_SHORT,N9.INT=f4.INT,N9.UNSIGNED_INT=f4.UNSIGNED_INT,N9.FLOAT=f4.FLOAT,N9.HALF_FLOAT=36193,N9.UNSIGNED_INT_24_8_WEBGL=34042,N9.DEPTH_COMPONENT=f4.DEPTH_COMPONENT,N9.DEPTH_STENCIL=f4.DEPTH_STENCIL,N9.ALPHA=f4.ALPHA,N9.RGB=f4.RGB,N9.RGBA=f4.RGBA,N9.LUMINANCE=f4.LUMINANCE,N9.LUMINANCE_ALPHA=f4.LUMINANCE_ALPHA,N9.SRGB=35904,N9.SRGB_ALPHA=35906,N9.COMPRESSED_RGB_S3TC_DXT1_EXT=33776,N9.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777,N9.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778,N9.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779,N9.NEAREST=f4.NEAREST,N9.LINEAR=f4.LINEAR,N9.NEAREST_MIPMAP_NEAREST=f4.NEAREST_MIPMAP_NEAREST,N9.LINEAR_MIPMAP_NEAREST=f4.LINEAR_MIPMAP_NEAREST,N9.NEAREST_MIPMAP_LINEAR=f4.NEAREST_MIPMAP_LINEAR,N9.LINEAR_MIPMAP_LINEAR=f4.LINEAR_MIPMAP_LINEAR,N9.REPEAT=f4.REPEAT,N9.CLAMP_TO_EDGE=f4.CLAMP_TO_EDGE,N9.MIRRORED_REPEAT=f4.MIRRORED_REPEAT;var R9=N9,Y9=O9.extend({skeleton:null,joints:null},(function(){this.joints||(this.joints=[])}),{offsetMatrix:null,isInstancedMesh:function(){return!1},isSkinnedMesh:function(){return!!(this.skeleton&&this.joints&&this.joints.length>0)},clone:function(){var e=O9.prototype.clone.call(this);return e.skeleton=this.skeleton,this.joints&&(e.joints=this.joints.slice()),e}});Y9.POINTS=f4.POINTS,Y9.LINES=f4.LINES,Y9.LINE_LOOP=f4.LINE_LOOP,Y9.LINE_STRIP=f4.LINE_STRIP,Y9.TRIANGLES=f4.TRIANGLES,Y9.TRIANGLE_STRIP=f4.TRIANGLE_STRIP,Y9.TRIANGLE_FAN=f4.TRIANGLE_FAN,Y9.BACK=f4.BACK,Y9.FRONT=f4.FRONT,Y9.FRONT_AND_BACK=f4.FRONT_AND_BACK,Y9.CW=f4.CW,Y9.CCW=f4.CCW;var z9=Y9,H9={isPowerOfTwo:function(e){return 0===(e&e-1)},nextPowerOfTwo:function(e){return e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,e},nearestPowerOfTwo:function(e){return Math.pow(2,Math.round(Math.log(e)/Math.LN2))}},j9=H9,F9=j9.isPowerOfTwo;function B9(e){return Math.pow(2,Math.round(Math.log(e)/Math.LN2))}function V9(e,t){var n=B9(e.width),i=B9(e.height);t=t||document.createElement("canvas"),t.width=n,t.height=i;var r=t.getContext("2d");return r.drawImage(e.image,0,0,n,i),t}var G9=R9.extend((function(){return{image:null,pixels:null,mipmaps:[],convertToPOT:!1}}),{textureType:"texture2D",update:function(e){var t=e.gl;t.bindTexture(t.TEXTURE_2D,this._cache.get("webgl_texture")),this.updateCommon(e);var n=this.format,i=this.type,r=!(!this.convertToPOT||this.mipmaps.length||!this.image||this.wrapS!==R9.REPEAT&&this.wrapT!==R9.REPEAT||!this.NPOT);t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,r?this.wrapS:this.getAvailableWrapS()),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,r?this.wrapT:this.getAvailableWrapT()),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,r?this.magFilter:this.getAvailableMagFilter()),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,r?this.minFilter:this.getAvailableMinFilter());var a=e.getGLExtension("EXT_texture_filter_anisotropic");if(a&&this.anisotropic>1&&t.texParameterf(t.TEXTURE_2D,a.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),36193===i){var o=e.getGLExtension("OES_texture_half_float");o||(i=f4.FLOAT)}if(this.mipmaps.length)for(var s=this.width,l=this.height,u=0;u<this.mipmaps.length;u++){var c=this.mipmaps[u];this._updateTextureData(t,c,u,s,l,n,i,!1),s/=2,l/=2}else this._updateTextureData(t,this,0,this.width,this.height,n,i,r),!this.useMipmap||this.NPOT&&!r||t.generateMipmap(t.TEXTURE_2D);t.bindTexture(t.TEXTURE_2D,null)},_updateTextureData:function(e,t,n,i,r,a,o,s){if(t.image){var l=t.image;s&&(this._potCanvas=V9(this,this._potCanvas),l=this._potCanvas),e.texImage2D(e.TEXTURE_2D,n,a,a,o,l)}else a<=R9.COMPRESSED_RGBA_S3TC_DXT5_EXT&&a>=R9.COMPRESSED_RGB_S3TC_DXT1_EXT?e.compressedTexImage2D(e.TEXTURE_2D,n,a,i,r,0,t.pixels):e.texImage2D(e.TEXTURE_2D,n,a,i,r,0,a,o,t.pixels)},generateMipmap:function(e){var t=e.gl;this.useMipmap&&!this.NPOT&&(t.bindTexture(t.TEXTURE_2D,this._cache.get("webgl_texture")),t.generateMipmap(t.TEXTURE_2D))},isPowerOfTwo:function(){return F9(this.width)&&F9(this.height)},isRenderable:function(){return this.image?this.image.width>0&&this.image.height>0:!(!this.width||!this.height)},bind:function(e){e.gl.bindTexture(e.gl.TEXTURE_2D,this.getWebGLTexture(e))},unbind:function(e){e.gl.bindTexture(e.gl.TEXTURE_2D,null)},load:function(e,t){var n=p4["a"].createImage();t&&(n.crossOrigin=t);var i=this;return n.onload=function(){i.dirty(),i.trigger("success",i)},n.onerror=function(){i.trigger("error",i)},n.src=e,this.image=n,this}});Object.defineProperty(G9.prototype,"width",{get:function(){return this.image?this.image.width:this._width},set:function(e){this.image?console.warn("Texture from image can't set width"):(this._width!==e&&this.dirty(),this._width=e)}}),Object.defineProperty(G9.prototype,"height",{get:function(){return this.image?this.image.height:this._height},set:function(e){this.image?console.warn("Texture from image can't set height"):(this._height!==e&&this.dirty(),this._height=e)}});var W9=G9;function U9(e){return{byte:p4["a"].Int8Array,ubyte:p4["a"].Uint8Array,short:p4["a"].Int16Array,ushort:p4["a"].Uint16Array}[e]||p4["a"].Float32Array}function X9(e){return"attr_"+e}function Z9(e,t,n,i){switch(this.name=e,this.type=t,this.size=n,this.semantic=i||"",this.value=null,n){case 1:this.get=function(e){return this.value[e]},this.set=function(e,t){this.value[e]=t},this.copy=function(e,t){this.value[e]=this.value[e]};break;case 2:this.get=function(e,t){var n=this.value;return t[0]=n[2*e],t[1]=n[2*e+1],t},this.set=function(e,t){var n=this.value;n[2*e]=t[0],n[2*e+1]=t[1]},this.copy=function(e,t){var n=this.value;t*=2,e*=2,n[e]=n[t],n[e+1]=n[t+1]};break;case 3:this.get=function(e,t){var n=3*e,i=this.value;return t[0]=i[n],t[1]=i[n+1],t[2]=i[n+2],t},this.set=function(e,t){var n=3*e,i=this.value;i[n]=t[0],i[n+1]=t[1],i[n+2]=t[2]},this.copy=function(e,t){var n=this.value;t*=3,e*=3,n[e]=n[t],n[e+1]=n[t+1],n[e+2]=n[t+2]};break;case 4:this.get=function(e,t){var n=this.value,i=4*e;return t[0]=n[i],t[1]=n[i+1],t[2]=n[i+2],t[3]=n[i+3],t},this.set=function(e,t){var n=this.value,i=4*e;n[i]=t[0],n[i+1]=t[1],n[i+2]=t[2],n[i+3]=t[3]},this.copy=function(e,t){var n=this.value;t*=4,e*=4,n[e]=n[t],n[e+1]=n[t+1],n[e+2]=n[t+2],n[e+3]=n[t+3]}}}function q9(e,t,n,i,r){this.name=e,this.type=t,this.buffer=n,this.size=i,this.semantic=r,this.symbol="",this.needsRemove=!1}function $9(e){this.buffer=e,this.count=0}Z9.prototype.init=function(e){if(!this.value||this.value.length!==e*this.size){var t=U9(this.type);this.value=new t(e*this.size)}},Z9.prototype.fromArray=function(e){var t,n=U9(this.type);if(e[0]&&e[0].length){var i=0,r=this.size;t=new n(e.length*r);for(var a=0;a<e.length;a++)for(var o=0;o<r;o++)t[i++]=e[a][o]}else t=new n(e);this.value=t},Z9.prototype.clone=function(e){var t=new Z9(this.name,this.type,this.size,this.semantic);return e&&console.warn("todo"),t};var J9=l4.extend((function(){return{attributes:{},indices:null,dynamic:!0,_enabledAttributes:null,__used:0}}),(function(){this._cache=new P9,this._attributeList=Object.keys(this.attributes),this.__vaoCache={}}),{mainAttribute:"",pick:null,pickByRay:null,dirty:function(){for(var e=this.getEnabledAttributes(),t=0;t<e.length;t++)this.dirtyAttribute(e[t]);this.dirtyIndices(),this._enabledAttributes=null,this._cache.dirty("any")},dirtyIndices:function(){this._cache.dirtyAll("indices")},dirtyAttribute:function(e){this._cache.dirtyAll(X9(e)),this._cache.dirtyAll("attributes")},getTriangleIndices:function(e,t){if(e<this.triangleCount&&e>=0){t||(t=[]);var n=this.indices;return t[0]=n[3*e],t[1]=n[3*e+1],t[2]=n[3*e+2],t}},setTriangleIndices:function(e,t){var n=this.indices;n[3*e]=t[0],n[3*e+1]=t[1],n[3*e+2]=t[2]},isUseIndices:function(){return!!this.indices},initIndicesFromArray:function(e){var t,n=this.vertexCount>65535?p4["a"].Uint32Array:p4["a"].Uint16Array;if(e[0]&&e[0].length){var i=0,r=3;t=new n(e.length*r);for(var a=0;a<e.length;a++)for(var o=0;o<r;o++)t[i++]=e[a][o]}else t=new n(e);this.indices=t},createAttribute:function(e,t,n,i){var r=new Z9(e,t,n,i);return this.attributes[e]&&this.removeAttribute(e),this.attributes[e]=r,this._attributeList.push(e),r},removeAttribute:function(e){var t=this._attributeList,n=t.indexOf(e);return n>=0&&(t.splice(n,1),delete this.attributes[e],!0)},getAttribute:function(e){return this.attributes[e]},getEnabledAttributes:function(){var e=this._enabledAttributes,t=this._attributeList;if(e)return e;for(var n=[],i=this.vertexCount,r=0;r<t.length;r++){var a=t[r],o=this.attributes[a];o.value&&o.value.length===i*o.size&&n.push(a)}return this._enabledAttributes=n,n},getBufferChunks:function(e){var t=this._cache;t.use(e.__uid__);var n=t.isDirty("attributes"),i=t.isDirty("indices");if(n||i){this._updateBuffer(e.gl,n,i);for(var r=this.getEnabledAttributes(),a=0;a<r.length;a++)t.fresh(X9(r[a]));t.fresh("attributes"),t.fresh("indices")}return t.fresh("any"),t.get("chunks")},_updateBuffer:function(e,t,n){var i=this._cache,r=i.get("chunks"),a=!1;r||(r=[],r[0]={attributeBuffers:[],indicesBuffer:null},i.put("chunks",r),a=!0);var o=r[0],s=o.attributeBuffers,l=o.indicesBuffer;if(t||a){var u=this.getEnabledAttributes(),c={};if(!a)for(var h=0;h<s.length;h++)c[s[h].name]=s[h];for(var d=0;d<u.length;d++){var f,p,m=u[d],g=this.attributes[m];a||(f=c[m]),p=f?f.buffer:e.createBuffer(),i.isDirty(X9(m))&&(e.bindBuffer(e.ARRAY_BUFFER,p),e.bufferData(e.ARRAY_BUFFER,g.value,this.dynamic?e.DYNAMIC_DRAW:e.STATIC_DRAW)),s[d]=new q9(m,g.type,p,g.size,g.semantic)}for(h=d;h<s.length;h++)e.deleteBuffer(s[h].buffer);s.length=d}this.isUseIndices()&&(n||a)&&(l||(l=new $9(e.createBuffer()),o.indicesBuffer=l),l.count=this.indices.length,e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,l.buffer),e.bufferData(e.ELEMENT_ARRAY_BUFFER,this.indices,this.dynamic?e.DYNAMIC_DRAW:e.STATIC_DRAW))},dispose:function(e){var t=this._cache;t.use(e.__uid__);var n=t.get("chunks");if(n)for(var i=0;i<n.length;i++){for(var r=n[i],a=0;a<r.attributeBuffers.length;a++){var o=r.attributeBuffers[a];e.gl.deleteBuffer(o.buffer)}r.indicesBuffer&&e.gl.deleteBuffer(r.indicesBuffer.buffer)}if(this.__vaoCache){var s=e.getGLExtension("OES_vertex_array_object");for(var l in this.__vaoCache){var u=this.__vaoCache[l].vao;u&&s.deleteVertexArrayOES(u)}}this.__vaoCache={},t.deleteContext(e.__uid__)}});Object.defineProperty&&(Object.defineProperty(J9.prototype,"vertexCount",{enumerable:!1,get:function(){var e=this.attributes[this.mainAttribute];return e||(e=this.attributes[this._attributeList[0]]),e&&e.value?e.value.length/e.size:0}}),Object.defineProperty(J9.prototype,"triangleCount",{enumerable:!1,get:function(){var e=this.indices;return e?e.length/3:0}})),J9.STATIC_DRAW=f4.STATIC_DRAW,J9.DYNAMIC_DRAW=f4.DYNAMIC_DRAW,J9.STREAM_DRAW=f4.STREAM_DRAW,J9.AttributeBuffer=q9,J9.IndicesBuffer=$9,J9.Attribute=Z9;var K9=J9,Q9=R5.create,e8=R5.add,t8=R5.set,n8=K9.Attribute,i8=K9.extend((function(){return{attributes:{position:new n8("position","float",3,"POSITION"),texcoord0:new n8("texcoord0","float",2,"TEXCOORD_0"),texcoord1:new n8("texcoord1","float",2,"TEXCOORD_1"),normal:new n8("normal","float",3,"NORMAL"),tangent:new n8("tangent","float",4,"TANGENT"),color:new n8("color","float",4,"COLOR"),weight:new n8("weight","float",3,"WEIGHT"),joint:new n8("joint","float",4,"JOINT"),barycentric:new n8("barycentric","float",3,null)},boundingBox:null}}),{mainAttribute:"position",updateBoundingBox:function(){var e=this.boundingBox;e||(e=this.boundingBox=new S9);var t=this.attributes.position.value;if(t&&t.length){var n=e.min,i=e.max,r=n.array,a=i.array;R5.set(r,t[0],t[1],t[2]),R5.set(a,t[0],t[1],t[2]);for(var o=3;o<t.length;){var s=t[o++],l=t[o++],u=t[o++];s<r[0]&&(r[0]=s),l<r[1]&&(r[1]=l),u<r[2]&&(r[2]=u),s>a[0]&&(a[0]=s),l>a[1]&&(a[1]=l),u>a[2]&&(a[2]=u)}n._dirty=!0,i._dirty=!0}},generateVertexNormals:function(){if(this.vertexCount){var e=this.indices,t=this.attributes,n=t.position.value,i=t.normal.value;if(i&&i.length===n.length)for(var r=0;r<i.length;r++)i[r]=0;else i=t.normal.value=new p4["a"].Float32Array(n.length);for(var a,o,s,l=Q9(),u=Q9(),c=Q9(),h=Q9(),d=Q9(),f=Q9(),p=e?e.length:this.vertexCount,m=0;m<p;){e?(a=e[m++],o=e[m++],s=e[m++]):(a=m++,o=m++,s=m++),t8(l,n[3*a],n[3*a+1],n[3*a+2]),t8(u,n[3*o],n[3*o+1],n[3*o+2]),t8(c,n[3*s],n[3*s+1],n[3*s+2]),R5.sub(h,l,u),R5.sub(d,u,c),R5.cross(f,h,d);for(r=0;r<3;r++)i[3*a+r]=i[3*a+r]+f[r],i[3*o+r]=i[3*o+r]+f[r],i[3*s+r]=i[3*s+r]+f[r]}for(r=0;r<i.length;)t8(f,i[r],i[r+1],i[r+2]),R5.normalize(f,f),i[r++]=f[0],i[r++]=f[1],i[r++]=f[2];this.dirty()}},generateFaceNormals:function(){if(this.vertexCount){this.isUniqueVertex()||this.generateUniqueVertex();var e=this.indices,t=this.attributes,n=t.position.value,i=t.normal.value,r=Q9(),a=Q9(),o=Q9(),s=Q9(),l=Q9(),u=Q9();i||(i=t.normal.value=new Float32Array(n.length));for(var c,h,d,f=e?e.length:this.vertexCount,p=0;p<f;){e?(c=e[p++],h=e[p++],d=e[p++]):(c=p++,h=p++,d=p++),t8(r,n[3*c],n[3*c+1],n[3*c+2]),t8(a,n[3*h],n[3*h+1],n[3*h+2]),t8(o,n[3*d],n[3*d+1],n[3*d+2]),R5.sub(s,r,a),R5.sub(l,a,o),R5.cross(u,s,l),R5.normalize(u,u);for(var m=0;m<3;m++)i[3*c+m]=u[m],i[3*h+m]=u[m],i[3*d+m]=u[m]}this.dirty()}},generateTangents:function(){if(this.vertexCount){var e=this.vertexCount,t=this.attributes;t.tangent.value||(t.tangent.value=new Float32Array(4*e));var n=t.texcoord0.value,i=t.position.value,r=t.tangent.value,a=t.normal.value;if(n){for(var o=[],s=[],l=0;l<e;l++)o[l]=[0,0,0],s[l]=[0,0,0];var u,c,h,d=[0,0,0],f=[0,0,0],p=this.indices,m=p?p.length:this.vertexCount;for(l=0;l<m;){p?(u=p[l++],c=p[l++],h=p[l++]):(u=l++,c=l++,h=l++);var g=n[2*u],y=n[2*c],v=n[2*h],_=n[2*u+1],x=n[2*c+1],b=n[2*h+1],w=i[3*u],M=i[3*c],S=i[3*h],T=i[3*u+1],L=i[3*c+1],D=i[3*h+1],A=i[3*u+2],O=i[3*c+2],k=i[3*h+2],I=M-w,C=S-w,E=L-T,P=D-T,N=O-A,R=k-A,Y=y-g,z=v-g,H=x-_,j=b-_,F=1/(Y*j-H*z);d[0]=(j*I-H*C)*F,d[1]=(j*E-H*P)*F,d[2]=(j*N-H*R)*F,f[0]=(Y*C-z*I)*F,f[1]=(Y*P-z*E)*F,f[2]=(Y*R-z*N)*F,e8(o[u],o[u],d),e8(o[c],o[c],d),e8(o[h],o[h],d),e8(s[u],s[u],f),e8(s[c],s[c],f),e8(s[h],s[h],f)}var B=Q9(),V=Q9(),G=Q9();for(l=0;l<e;l++){G[0]=a[3*l],G[1]=a[3*l+1],G[2]=a[3*l+2];var W=o[l];R5.scale(B,G,R5.dot(G,W)),R5.sub(B,W,B),R5.normalize(B,B),R5.cross(V,G,W),r[4*l]=B[0],r[4*l+1]=B[1],r[4*l+2]=B[2],r[4*l+3]=R5.dot(V,s[l])<0?-1:1}this.dirty()}else console.warn("Geometry without texcoords can't generate tangents.")}},isUniqueVertex:function(){return!this.isUseIndices()||this.vertexCount===this.indices.length},generateUniqueVertex:function(){if(this.vertexCount&&this.indices){this.indices.length>65535&&(this.indices=new p4["a"].Uint32Array(this.indices));for(var e=this.attributes,t=this.indices,n=this.getEnabledAttributes(),i={},r=0;r<n.length;r++){var a=n[r];i[a]=e[a].value,e[a].init(this.indices.length)}for(var o=0,s=0;s<t.length;s++){var l=t[s];for(r=0;r<n.length;r++){a=n[r];for(var u=e[a].value,c=e[a].size,h=0;h<c;h++)u[o*c+h]=i[a][l*c+h]}t[s]=o,o++}this.dirty()}},generateBarycentric:function(){if(this.vertexCount){this.isUniqueVertex()||this.generateUniqueVertex();var e=this.attributes,t=e.barycentric.value,n=this.indices;if(!t||t.length!==3*n.length){t=e.barycentric.value=new Float32Array(3*n.length);for(var i=0;i<(n?n.length:this.vertexCount/3);)for(var r=0;r<3;r++){var a=n?n[i++]:3*i+r;t[3*a+r]=1}this.dirty()}}},applyTransform:function(e){var t=this.attributes,n=t.position.value,i=t.normal.value,r=t.tangent.value;e=e.array;var a=P5.create();P5.invert(a,e),P5.transpose(a,a);var o=R5.transformMat4,s=R5.forEach;s(n,3,0,null,o,e),i&&s(i,3,0,null,o,a),r&&s(r,4,0,null,o,a),this.boundingBox&&this.updateBoundingBox()},dispose:function(e){var t=this._cache;t.use(e.__uid__);var n=t.get("chunks");if(n)for(var i=0;i<n.length;i++){for(var r=n[i],a=0;a<r.attributeBuffers.length;a++){var o=r.attributeBuffers[a];e.gl.deleteBuffer(o.buffer)}r.indicesBuffer&&e.gl.deleteBuffer(r.indicesBuffer.buffer)}if(this.__vaoCache){var s=e.getGLExtension("OES_vertex_array_object");for(var l in this.__vaoCache){var u=this.__vaoCache[l].vao;u&&s.deleteVertexArrayOES(u)}}this.__vaoCache={},t.deleteContext(e.__uid__)}});i8.STATIC_DRAW=K9.STATIC_DRAW,i8.DYNAMIC_DRAW=K9.DYNAMIC_DRAW,i8.STREAM_DRAW=K9.STREAM_DRAW,i8.AttributeBuffer=K9.AttributeBuffer,i8.IndicesBuffer=K9.IndicesBuffer,i8.Attribute=n8;var r8=i8,a8="vec3 calcAmbientSHLight(int idx, vec3 N) {\n int offset = 9 * idx;\n return ambientSHLightCoefficients[0]\n + ambientSHLightCoefficients[1] * N.x\n + ambientSHLightCoefficients[2] * N.y\n + ambientSHLightCoefficients[3] * N.z\n + ambientSHLightCoefficients[4] * N.x * N.z\n + ambientSHLightCoefficients[5] * N.z * N.y\n + ambientSHLightCoefficients[6] * N.y * N.x\n + ambientSHLightCoefficients[7] * (3.0 * N.z * N.z - 1.0)\n + ambientSHLightCoefficients[8] * (N.x * N.x - N.y * N.y);\n}",o8="uniform vec3 ",s8="uniform float ",l8="@export clay.header.",u8="@end",c8=":unconfigurable;",h8=[l8+"directional_light",o8+"directionalLightDirection[DIRECTIONAL_LIGHT_COUNT]"+c8,o8+"directionalLightColor[DIRECTIONAL_LIGHT_COUNT]"+c8,u8,l8+"ambient_light",o8+"ambientLightColor[AMBIENT_LIGHT_COUNT]"+c8,u8,l8+"ambient_sh_light",o8+"ambientSHLightColor[AMBIENT_SH_LIGHT_COUNT]"+c8,o8+"ambientSHLightCoefficients[AMBIENT_SH_LIGHT_COUNT * 9]"+c8,a8,u8,l8+"ambient_cubemap_light",o8+"ambientCubemapLightColor[AMBIENT_CUBEMAP_LIGHT_COUNT]"+c8,"uniform samplerCube ambientCubemapLightCubemap[AMBIENT_CUBEMAP_LIGHT_COUNT]"+c8,"uniform sampler2D ambientCubemapLightBRDFLookup[AMBIENT_CUBEMAP_LIGHT_COUNT]"+c8,u8,l8+"point_light",o8+"pointLightPosition[POINT_LIGHT_COUNT]"+c8,s8+"pointLightRange[POINT_LIGHT_COUNT]"+c8,o8+"pointLightColor[POINT_LIGHT_COUNT]"+c8,u8,l8+"spot_light",o8+"spotLightPosition[SPOT_LIGHT_COUNT]"+c8,o8+"spotLightDirection[SPOT_LIGHT_COUNT]"+c8,s8+"spotLightRange[SPOT_LIGHT_COUNT]"+c8,s8+"spotLightUmbraAngleCosine[SPOT_LIGHT_COUNT]"+c8,s8+"spotLightPenumbraAngleCosine[SPOT_LIGHT_COUNT]"+c8,s8+"spotLightFalloffFactor[SPOT_LIGHT_COUNT]"+c8,o8+"spotLightColor[SPOT_LIGHT_COUNT]"+c8,u8].join("\n");I5["import"](h8);var d8=D9.extend((function(){return{color:[1,1,1],intensity:1,castShadow:!0,shadowResolution:512,group:0}}),{type:"",clone:function(){var e=D9.prototype.clone.call(this);return e.color=Array.prototype.slice.call(this.color),e.intensity=this.intensity,e.castShadow=this.castShadow,e.shadowResolution=this.shadowResolution,e}}),f8=d8,p8=function(e,t){this.normal=e||new i9(0,1,0),this.distance=t||0};p8.prototype={constructor:p8,distanceToPoint:function(e){return R5.dot(e.array,this.normal.array)-this.distance},projectPoint:function(e,t){t||(t=new i9);var n=this.distanceToPoint(e);return R5.scaleAndAdd(t.array,e.array,this.normal.array,-n),t._dirty=!0,t},normalize:function(){var e=1/R5.len(this.normal.array);R5.scale(this.normal.array,e),this.distance*=e},intersectFrustum:function(e){for(var t=e.vertices,n=this.normal.array,i=R5.dot(t[0].array,n)>this.distance,r=1;r<8;r++)if(R5.dot(t[r].array,n)>this.distance!=i)return!0},intersectLine:function(){var e=R5.create();return function(t,n,i){var r=this.distanceToPoint(t),a=this.distanceToPoint(n);if(r>0&&a>0||r<0&&a<0)return null;var o=this.normal.array,s=this.distance,l=t.array;R5.sub(e,n.array,t.array),R5.normalize(e,e);var u=R5.dot(o,e);if(0===u)return null;i||(i=new i9);var c=(R5.dot(o,l)-s)/u;return R5.scaleAndAdd(i.array,l,e,-c),i._dirty=!0,i}}(),applyTransform:function(){var e=P5.create(),t=l9.create(),n=l9.create();return n[3]=1,function(i){i=i.array,R5.scale(n,this.normal.array,this.distance),l9.transformMat4(n,n,i),this.distance=R5.dot(n,this.normal.array),P5.invert(e,i),P5.transpose(e,e),t[3]=0,R5.copy(t,this.normal.array),l9.transformMat4(t,t,e),R5.copy(this.normal.array,t)}}(),copy:function(e){R5.copy(this.normal.array,e.normal.array),this.normal._dirty=!0,this.distance=e.distance},clone:function(){var e=new p8;return e.copy(this),e}};var m8=p8,g8=R5.set,y8=R5.copy,v8=R5.transformMat4,_8=Math.min,x8=Math.max,b8=function(){this.planes=[];for(var e=0;e<6;e++)this.planes.push(new m8);this.boundingBox=new S9,this.vertices=[];for(e=0;e<8;e++)this.vertices[e]=R5.fromValues(0,0,0)};b8.prototype={setFromProjection:function(e){var t=this.planes,n=e.array,i=n[0],r=n[1],a=n[2],o=n[3],s=n[4],l=n[5],u=n[6],c=n[7],h=n[8],d=n[9],f=n[10],p=n[11],m=n[12],g=n[13],y=n[14],v=n[15];g8(t[0].normal.array,o-i,c-s,p-h),t[0].distance=-(v-m),t[0].normalize(),g8(t[1].normal.array,o+i,c+s,p+h),t[1].distance=-(v+m),t[1].normalize(),g8(t[2].normal.array,o+r,c+l,p+d),t[2].distance=-(v+g),t[2].normalize(),g8(t[3].normal.array,o-r,c-l,p-d),t[3].distance=-(v-g),t[3].normalize(),g8(t[4].normal.array,o-a,c-u,p-f),t[4].distance=-(v-y),t[4].normalize(),g8(t[5].normal.array,o+a,c+u,p+f),t[5].distance=-(v+y),t[5].normalize();var _=this.boundingBox,x=this.vertices;if(0===v){var b=l/i,w=-y/(f-1),M=-y/(f+1),S=-M/l,T=-w/l;_.min.set(-S*b,-S,M),_.max.set(S*b,S,w),g8(x[0],-S*b,-S,M),g8(x[1],-S*b,S,M),g8(x[2],S*b,-S,M),g8(x[3],S*b,S,M),g8(x[4],-T*b,-T,w),g8(x[5],-T*b,T,w),g8(x[6],T*b,-T,w),g8(x[7],T*b,T,w)}else{var L=(-1-m)/i,D=(1-m)/i,A=(1-g)/l,O=(-1-g)/l,k=(-1-y)/f,I=(1-y)/f;_.min.set(Math.min(L,D),Math.min(O,A),Math.min(I,k)),_.max.set(Math.max(D,L),Math.max(A,O),Math.max(k,I));var C=_.min.array,E=_.max.array;g8(x[0],C[0],C[1],C[2]),g8(x[1],C[0],E[1],C[2]),g8(x[2],E[0],C[1],C[2]),g8(x[3],E[0],E[1],C[2]),g8(x[4],C[0],C[1],E[2]),g8(x[5],C[0],E[1],E[2]),g8(x[6],E[0],C[1],E[2]),g8(x[7],E[0],E[1],E[2])}},getTransformedBoundingBox:function(){var e=R5.create();return function(t,n){var i=this.vertices,r=n.array,a=t.min,o=t.max,s=a.array,l=o.array,u=i[0];v8(e,u,r),y8(s,e),y8(l,e);for(var c=1;c<8;c++)u=i[c],v8(e,u,r),s[0]=_8(e[0],s[0]),s[1]=_8(e[1],s[1]),s[2]=_8(e[2],s[2]),l[0]=x8(e[0],l[0]),l[1]=x8(e[1],l[1]),l[2]=x8(e[2],l[2]);return a._dirty=!0,o._dirty=!0,t}}()};var w8=b8,M8=D9.extend((function(){return{projectionMatrix:new g9,invProjectionMatrix:new g9,viewMatrix:new g9,frustum:new w8}}),(function(){this.update(!0)}),{update:function(e){D9.prototype.update.call(this,e),g9.invert(this.viewMatrix,this.worldTransform),this.updateProjectionMatrix(),g9.invert(this.invProjectionMatrix,this.projectionMatrix),this.frustum.setFromProjection(this.projectionMatrix)},setViewMatrix:function(e){g9.copy(this.viewMatrix,e),g9.invert(this.worldTransform,e),this.decomposeWorldTransform()},decomposeProjectionMatrix:function(){},setProjectionMatrix:function(e){g9.copy(this.projectionMatrix,e),g9.invert(this.invProjectionMatrix,e),this.decomposeProjectionMatrix()},updateProjectionMatrix:function(){},castRay:function(){var e=l9.create();return function(t,n){var i=void 0!==n?n:new o9,r=t.array[0],a=t.array[1];return l9.set(e,r,a,-1,1),l9.transformMat4(e,e,this.invProjectionMatrix.array),l9.transformMat4(e,e,this.worldTransform.array),R5.scale(i.origin.array,e,1/e[3]),l9.set(e,r,a,1,1),l9.transformMat4(e,e,this.invProjectionMatrix.array),l9.transformMat4(e,e,this.worldTransform.array),R5.scale(e,e,1/e[3]),R5.sub(i.direction.array,e,i.origin.array),R5.normalize(i.direction.array,i.direction.array),i.direction._dirty=!0,i.origin._dirty=!0,i}}()}),S8=M8,T8=P5.create(),L8=P5.create(),D8={};function A8(e){var t=[],n=Object.keys(e);n.sort();for(var i=0;i<n.length;i++){var r=n[i];t.push(r+" "+e[r])}var a=t.join("\n");if(D8[a])return D8[a];var o=o4.genGUID();return D8[a]=o,o}function O8(){this.opaque=[],this.transparent=[],this._opaqueCount=0,this._transparentCount=0}O8.prototype.startCount=function(){this._opaqueCount=0,this._transparentCount=0},O8.prototype.add=function(e,t){t?this.transparent[this._transparentCount++]=e:this.opaque[this._opaqueCount++]=e},O8.prototype.endCount=function(){this.transparent.length=this._transparentCount,this.opaque.length=this._opaqueCount};var k8=D9.extend((function(){return{material:null,lights:[],viewBoundingBoxLastFrame:new S9,shadowUniforms:{},_cameraList:[],_lightUniforms:{},_previousLightNumber:{},_lightNumber:{},_lightProgramKeys:{},_nodeRepository:{},_renderLists:new v4(20)}}),(function(){this._scene=this}),{addToScene:function(e){e instanceof S8?(this._cameraList.length>0&&console.warn("Found multiple camera in one scene. Use the fist one."),this._cameraList.push(e)):e instanceof f8&&this.lights.push(e),e.name&&(this._nodeRepository[e.name]=e)},removeFromScene:function(e){var t;e instanceof S8?(t=this._cameraList.indexOf(e),t>=0&&this._cameraList.splice(t,1)):e instanceof f8&&(t=this.lights.indexOf(e),t>=0&&this.lights.splice(t,1)),e.name&&delete this._nodeRepository[e.name]},getNode:function(e){return this._nodeRepository[e]},setMainCamera:function(e){var t=this._cameraList.indexOf(e);t>=0&&this._cameraList.splice(t,1),this._cameraList.unshift(e)},getMainCamera:function(){return this._cameraList[0]},getLights:function(){return this.lights},updateLights:function(){var e=this.lights;this._previousLightNumber=this._lightNumber;for(var t={},n=0;n<e.length;n++){var i=e[n];if(!i.invisible){var r=i.group;t[r]||(t[r]={}),t[r][i.type]=t[r][i.type]||0,t[r][i.type]++}}for(var a in this._lightNumber=t,t)this._lightProgramKeys[a]=A8(t[a]);this._updateLightUniforms()},cloneNode:function(e){var t=e.clone(),n={};function i(e,t){n[e.__uid__]=t;for(var r=0;r<e._children.length;r++){var a=e._children[r],o=t._children[r];i(a,o)}}return i(e,t),t.traverse((function(e){e.skeleton&&(e.skeleton=e.skeleton.clone(n)),e.material&&(e.material=e.material.clone())})),t},updateRenderList:function(e,t){var n=e.__uid__,i=this._renderLists.get(n);i||(i=new O8,this._renderLists.put(n,i)),i.startCount(),t&&(this.viewBoundingBoxLastFrame.min.set(1/0,1/0,1/0),this.viewBoundingBoxLastFrame.max.set(-1/0,-1/0,-1/0));var r=this.material&&this.material.transparent||!1;return this._doUpdateRenderList(this,e,r,i,t),i.endCount(),i},getRenderList:function(e){return this._renderLists.get(e.__uid__)},_doUpdateRenderList:function(e,t,n,i,r){if(!e.invisible)for(var a=0;a<e._children.length;a++){var o=e._children[a];if(o.isRenderable()){var s=o.isSkinnedMesh()?T8:o.worldTransform.array,l=o.geometry;P5.multiplyAffine(L8,t.viewMatrix.array,s),(r&&!l.boundingBox||!this.isFrustumCulled(o,t,L8))&&i.add(o,o.material.transparent||n)}o._children.length>0&&this._doUpdateRenderList(o,t,n,i,r)}},isFrustumCulled:function(){var e=new S9,t=new g9;return function(n,i,r){var a=n.boundingBox;if(a||(a=n.skeleton&&n.skeleton.boundingBox?n.skeleton.boundingBox:n.geometry.boundingBox),!a)return!1;if(t.array=r,e.transformFrom(a,t),n.castShadow&&this.viewBoundingBoxLastFrame.union(e),n.frustumCulling){if(!e.intersectBoundingBox(i.frustum.boundingBox))return!0;t.array=i.projectionMatrix.array,e.max.array[2]>0&&e.min.array[2]<0&&(e.max.array[2]=-1e-20),e.applyProjection(t);var o=e.min.array,s=e.max.array;if(s[0]<-1||o[0]>1||s[1]<-1||o[1]>1||s[2]<-1||o[2]>1)return!0}return!1}}(),_updateLightUniforms:function(){var e=this.lights;e.sort(I8);var t=this._lightUniforms;for(var n in t)for(var i in t[n])t[n][i].value.length=0;for(var r=0;r<e.length;r++){var a=e[r];if(!a.invisible){n=a.group;for(var i in a.uniformTemplates){var o=a.uniformTemplates[i],s=o.value(a);if(null!=s){t[n]||(t[n]={}),t[n][i]||(t[n][i]={type:"",value:[]});var l=t[n][i];switch(l.type=o.type+"v",o.type){case"1i":case"1f":case"t":l.value.push(s);break;case"2f":case"3f":case"4f":for(var u=0;u<s.length;u++)l.value.push(s[u]);break;default:console.error("Unkown light uniform type "+o.type)}}}}}},getLightGroups:function(){var e=[];for(var t in this._lightNumber)e.push(t);return e},getNumberChangedLightGroups:function(){var e=[];for(var t in this._lightNumber)this.isLightNumberChanged(t)&&e.push(t);return e},isLightNumberChanged:function(e){var t=this._previousLightNumber,n=this._lightNumber;for(var i in n[e]){if(!t[e])return!0;if(n[e][i]!==t[e][i])return!0}for(var i in t[e]){if(!n[e])return!0;if(n[e][i]!==t[e][i])return!0}return!1},getLightsNumbers:function(e){return this._lightNumber[e]},getProgramKey:function(e){return this._lightProgramKeys[e]},setLightUniforms:function(){function e(e,t,n){for(var i in e){var r=e[i];if("tv"===r.type){if(!t.hasUniform(i))continue;for(var a=[],o=0;o<r.value.length;o++){var s=r.value[o],l=t.takeCurrentTextureSlot(n,s);a.push(l)}t.setUniform(n.gl,"1iv",i,a)}else t.setUniform(n.gl,r.type,i,r.value)}}return function(t,n,i){e(this._lightUniforms[n],t,i),e(this.shadowUniforms,t,i)}}(),dispose:function(){this.material=null,this._opaqueList=[],this._transparentList=[],this.lights=[],this._lightUniforms={},this._lightNumber={},this._nodeRepository={}}});function I8(e,t){if(t.castShadow&&!e.castShadow)return!0}var C8=k8,E8=j9.isPowerOfTwo,P8=["px","nx","py","ny","pz","nz"],N8=R9.extend((function(){return{image:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},pixels:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},mipmaps:[]}}),{textureType:"textureCube",update:function(e){var t=e.gl;t.bindTexture(t.TEXTURE_CUBE_MAP,this._cache.get("webgl_texture")),this.updateCommon(e);var n=this.format,i=this.type;t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_WRAP_S,this.getAvailableWrapS()),t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_WRAP_T,this.getAvailableWrapT()),t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MAG_FILTER,this.getAvailableMagFilter()),t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MIN_FILTER,this.getAvailableMinFilter());var r=e.getGLExtension("EXT_texture_filter_anisotropic");if(r&&this.anisotropic>1&&t.texParameterf(t.TEXTURE_CUBE_MAP,r.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),36193===i){var a=e.getGLExtension("OES_texture_half_float");a||(i=f4.FLOAT)}if(this.mipmaps.length)for(var o=this.width,s=this.height,l=0;l<this.mipmaps.length;l++){var u=this.mipmaps[l];this._updateTextureData(t,u,l,o,s,n,i),o/=2,s/=2}else this._updateTextureData(t,this,0,this.width,this.height,n,i),!this.NPOT&&this.useMipmap&&t.generateMipmap(t.TEXTURE_CUBE_MAP);t.bindTexture(t.TEXTURE_CUBE_MAP,null)},_updateTextureData:function(e,t,n,i,r,a,o){for(var s=0;s<6;s++){var l=P8[s],u=t.image&&t.image[l];u?e.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+s,n,a,a,o,u):e.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+s,n,a,i,r,0,a,o,t.pixels&&t.pixels[l])}},generateMipmap:function(e){var t=e.gl;this.useMipmap&&!this.NPOT&&(t.bindTexture(t.TEXTURE_CUBE_MAP,this._cache.get("webgl_texture")),t.generateMipmap(t.TEXTURE_CUBE_MAP))},bind:function(e){e.gl.bindTexture(e.gl.TEXTURE_CUBE_MAP,this.getWebGLTexture(e))},unbind:function(e){e.gl.bindTexture(e.gl.TEXTURE_CUBE_MAP,null)},isPowerOfTwo:function(){return this.image.px?E8(this.image.px.width)&&E8(this.image.px.height):E8(this.width)&&E8(this.height)},isRenderable:function(){return this.image.px?R8(this.image.px)&&R8(this.image.nx)&&R8(this.image.py)&&R8(this.image.ny)&&R8(this.image.pz)&&R8(this.image.nz):!(!this.width||!this.height)},load:function(e,t){var n=0,i=this;return o4.each(e,(function(e,r){var a=p4["a"].createImage();t&&(a.crossOrigin=t),a.onload=function(){n--,0===n&&(i.dirty(),i.trigger("success",i))},a.onerror=function(){n--},n++,a.src=e,i.image[r]=a})),this}});function R8(e){return e.width>0&&e.height>0}Object.defineProperty(N8.prototype,"width",{get:function(){return this.image&&this.image.px?this.image.px.width:this._width},set:function(e){this.image&&this.image.px?console.warn("Texture from image can't set width"):(this._width!==e&&this.dirty(),this._width=e)}}),Object.defineProperty(N8.prototype,"height",{get:function(){return this.image&&this.image.px?this.image.px.height:this._height},set:function(e){this.image&&this.image.px?console.warn("Texture from image can't set height"):(this._height!==e&&this.dirty(),this._height=e)}});var Y8=N8,z8=S8.extend({fov:50,aspect:1,near:.1,far:2e3},{updateProjectionMatrix:function(){var e=this.fov/180*Math.PI;this.projectionMatrix.perspective(e,this.aspect,this.near,this.far)},decomposeProjectionMatrix:function(){var e=this.projectionMatrix.array,t=2*Math.atan(1/e[5]);this.fov=t/Math.PI*180,this.aspect=e[5]/e[0],this.near=e[14]/(e[10]-1),this.far=e[14]/(e[10]+1)},clone:function(){var e=S8.prototype.clone.call(this);return e.fov=this.fov,e.aspect=this.aspect,e.near=this.near,e.far=this.far,e}}),H8=z8,j8="framebuffer",F8="renderbuffer",B8=F8+"_width",V8=F8+"_height",G8=F8+"_attached",W8="depthtexture_attached",U8=f4.FRAMEBUFFER,X8=f4.RENDERBUFFER,Z8=f4.DEPTH_ATTACHMENT,q8=f4.COLOR_ATTACHMENT0,$8=l4.extend({depthBuffer:!0,viewport:null,_width:0,_height:0,_textures:null,_boundRenderer:null},(function(){this._cache=new P9,this._textures={}}),{getTextureWidth:function(){return this._width},getTextureHeight:function(){return this._height},bind:function(e){if(e.__currentFrameBuffer){if(e.__currentFrameBuffer===this)return;console.warn("Renderer already bound with another framebuffer. Unbind it first")}e.__currentFrameBuffer=this;var t=e.gl;t.bindFramebuffer(U8,this._getFrameBufferGL(e)),this._boundRenderer=e;var n=this._cache;n.put("viewport",e.viewport);var i,r,a=!1;for(var o in this._textures){a=!0;var s=this._textures[o];s&&(i=s.texture.width,r=s.texture.height,this._doAttach(e,s.texture,o,s.target))}this._width=i,this._height=r,!a&&this.depthBuffer&&console.error("Must attach texture before bind, or renderbuffer may have incorrect width and height."),this.viewport?e.setViewport(this.viewport):e.setViewport(0,0,i,r,1);var l=n.get("attached_textures");if(l)for(var o in l)if(!this._textures[o]){var u=l[o];this._doDetach(t,o,u)}if(!n.get(W8)&&this.depthBuffer){n.miss(F8)&&n.put(F8,t.createRenderbuffer());var c=n.get(F8);i===n.get(B8)&&r===n.get(V8)||(t.bindRenderbuffer(X8,c),t.renderbufferStorage(X8,t.DEPTH_COMPONENT16,i,r),n.put(B8,i),n.put(V8,r),t.bindRenderbuffer(X8,null)),n.get(G8)||(t.framebufferRenderbuffer(U8,Z8,X8,c),n.put(G8,!0))}},unbind:function(e){e.__currentFrameBuffer=null;var t=e.gl;t.bindFramebuffer(U8,null),this._boundRenderer=null,this._cache.use(e.__uid__);var n=this._cache.get("viewport");n&&e.setViewport(n),this.updateMipmap(e)},updateMipmap:function(e){var t=e.gl;for(var n in this._textures){var i=this._textures[n];if(i){var r=i.texture;if(!r.NPOT&&r.useMipmap&&r.minFilter===R9.LINEAR_MIPMAP_LINEAR){var a="textureCube"===r.textureType?f4.TEXTURE_CUBE_MAP:f4.TEXTURE_2D;t.bindTexture(a,r.getWebGLTexture(e)),t.generateMipmap(a),t.bindTexture(a,null)}}}},checkStatus:function(e){return e.checkFramebufferStatus(U8)},_getFrameBufferGL:function(e){var t=this._cache;return t.use(e.__uid__),t.miss(j8)&&t.put(j8,e.gl.createFramebuffer()),t.get(j8)},attach:function(e,t,n){if(!e.width)throw new Error("The texture attached to color buffer is not a valid.");t=t||q8,n=n||f4.TEXTURE_2D;var i,r=this._boundRenderer,a=r&&r.gl;if(a){var o=this._cache;o.use(r.__uid__),i=o.get("attached_textures")}var s=this._textures[t];if(!s||s.target!==n||s.texture!==e||!i||null==i[t]){var l=!0;r&&(l=this._doAttach(r,e,t,n),this.viewport||r.setViewport(0,0,e.width,e.height,1)),l&&(this._textures[t]=this._textures[t]||{},this._textures[t].texture=e,this._textures[t].target=n)}},_doAttach:function(e,t,n,i){var r=e.gl,a=t.getWebGLTexture(e),o=this._cache.get("attached_textures");if(o&&o[n]){var s=o[n];if(s.texture===t&&s.target===i)return}n=+n;var l=!0;if(n===Z8||n===f4.DEPTH_STENCIL_ATTACHMENT){var u=e.getGLExtension("WEBGL_depth_texture");if(u||(console.error("Depth texture is not supported by the browser"),l=!1),t.format!==f4.DEPTH_COMPONENT&&t.format!==f4.DEPTH_STENCIL&&(console.error("The texture attached to depth buffer is not a valid."),l=!1),l){var c=this._cache.get(F8);c&&(r.framebufferRenderbuffer(U8,Z8,X8,null),r.deleteRenderbuffer(c),this._cache.put(F8,!1)),this._cache.put(G8,!1),this._cache.put(W8,!0)}}return r.framebufferTexture2D(U8,n,i,a,0),o||(o={},this._cache.put("attached_textures",o)),o[n]=o[n]||{},o[n].texture=t,o[n].target=i,l},_doDetach:function(e,t,n){e.framebufferTexture2D(U8,t,n,null,0);var i=this._cache.get("attached_textures");i&&i[t]&&(i[t]=null),t!==Z8&&t!==f4.DEPTH_STENCIL_ATTACHMENT||this._cache.put(W8,!1)},detach:function(e,t){if(this._textures[e]=null,this._boundRenderer){var n=this._cache;n.use(this._boundRenderer.__uid__),this._doDetach(this._boundRenderer.gl,e,t)}},dispose:function(e){var t=e.gl,n=this._cache;n.use(e.__uid__);var i=n.get(F8);i&&t.deleteRenderbuffer(i);var r=n.get(j8);r&&t.deleteFramebuffer(r),n.deleteContext(e.__uid__),this._textures={}}});$8.DEPTH_ATTACHMENT=Z8,$8.COLOR_ATTACHMENT0=q8,$8.STENCIL_ATTACHMENT=f4.STENCIL_ATTACHMENT,$8.DEPTH_STENCIL_ATTACHMENT=f4.DEPTH_STENCIL_ATTACHMENT;var J8=$8,K8=["px","nx","py","ny","pz","nz"],Q8=l4.extend((function(){var e={position:new i9,far:1e3,near:.1,texture:null,shadowMapPass:null},t=e._cameras={px:new H8({fov:90}),nx:new H8({fov:90}),py:new H8({fov:90}),ny:new H8({fov:90}),pz:new H8({fov:90}),nz:new H8({fov:90})};return t.px.lookAt(i9.POSITIVE_X,i9.NEGATIVE_Y),t.nx.lookAt(i9.NEGATIVE_X,i9.NEGATIVE_Y),t.py.lookAt(i9.POSITIVE_Y,i9.POSITIVE_Z),t.ny.lookAt(i9.NEGATIVE_Y,i9.NEGATIVE_Z),t.pz.lookAt(i9.POSITIVE_Z,i9.NEGATIVE_Y),t.nz.lookAt(i9.NEGATIVE_Z,i9.NEGATIVE_Y),e._frameBuffer=new J8,e}),{getCamera:function(e){return this._cameras[e]},render:function(e,t,n){var i=e.gl;n||t.update();for(var r=this.texture.width,a=2*Math.atan(r/(r-.5))/Math.PI*180,o=0;o<6;o++){var s=K8[o],l=this._cameras[s];if(i9.copy(l.position,this.position),l.far=this.far,l.near=this.near,l.fov=a,this.shadowMapPass){l.update();var u=t.getBoundingBox();u.applyTransform(l.viewMatrix),t.viewBoundingBoxLastFrame.copy(u),this.shadowMapPass.render(e,t,l,!0)}this._frameBuffer.attach(this.texture,i.COLOR_ATTACHMENT0,i.TEXTURE_CUBE_MAP_POSITIVE_X+o),this._frameBuffer.bind(e),e.render(t,l,!0),this._frameBuffer.unbind(e)}},dispose:function(e){this._frameBuffer.dispose(e)}}),e6=Q8,t6=r8.extend({dynamic:!1,widthSegments:1,heightSegments:1},(function(){this.build()}),{build:function(){for(var e=this.heightSegments,t=this.widthSegments,n=this.attributes,i=[],r=[],a=[],o=[],s=0;s<=e;s++)for(var l=s/e,u=0;u<=t;u++){var c=u/t;if(i.push([2*c-1,2*l-1,0]),r&&r.push([c,l]),a&&a.push([0,0,1]),u<t&&s<e){var h=u+s*(t+1);o.push([h,h+1,h+t+1]),o.push([h+t+1,h+1,h+t+2])}}n.position.fromArray(i),n.texcoord0.fromArray(r),n.normal.fromArray(a),this.initIndicesFromArray(o),this.boundingBox=new S9,this.boundingBox.min.set(-1,-1,0),this.boundingBox.max.set(1,1,0)}}),n6=t6,i6=new g9,r6=r8.extend({dynamic:!1,widthSegments:1,heightSegments:1,depthSegments:1,inside:!1},(function(){this.build()}),{build:function(){var e={px:a6("px",this.depthSegments,this.heightSegments),nx:a6("nx",this.depthSegments,this.heightSegments),py:a6("py",this.widthSegments,this.depthSegments),ny:a6("ny",this.widthSegments,this.depthSegments),pz:a6("pz",this.widthSegments,this.heightSegments),nz:a6("nz",this.widthSegments,this.heightSegments)},t=["position","texcoord0","normal"],n=0,i=0;for(var r in e)n+=e[r].vertexCount,i+=e[r].indices.length;for(var a=0;a<t.length;a++)this.attributes[t[a]].init(n);this.indices=new p4["a"].Uint16Array(i);var o=0,s=0;for(var r in e){var l=e[r];for(a=0;a<t.length;a++)for(var u=t[a],c=l.attributes[u].value,h=l.attributes[u].size,d="normal"===u,f=0;f<c.length;f++){var p=c[f];this.inside&&d&&(p=-p),this.attributes[u].value[f+h*s]=p}var m=l.indices.length;for(f=0;f<l.indices.length;f++)this.indices[f+o]=s+l.indices[this.inside?m-f-1:f];o+=l.indices.length,s+=l.vertexCount}this.boundingBox=new S9,this.boundingBox.max.set(1,1,1),this.boundingBox.min.set(-1,-1,-1)}});function a6(e,t,n){i6.identity();var i=new n6({widthSegments:t,heightSegments:n});switch(e){case"px":g9.translate(i6,i6,i9.POSITIVE_X),g9.rotateY(i6,i6,Math.PI/2);break;case"nx":g9.translate(i6,i6,i9.NEGATIVE_X),g9.rotateY(i6,i6,-Math.PI/2);break;case"py":g9.translate(i6,i6,i9.POSITIVE_Y),g9.rotateX(i6,i6,-Math.PI/2);break;case"ny":g9.translate(i6,i6,i9.NEGATIVE_Y),g9.rotateX(i6,i6,Math.PI/2);break;case"pz":g9.translate(i6,i6,i9.POSITIVE_Z);break;case"nz":g9.translate(i6,i6,i9.NEGATIVE_Z),g9.rotateY(i6,i6,Math.PI);break}return i.applyTransform(i6),i}var o6=r6,s6="@export clay.skybox.vertex\n#define SHADER_NAME skybox\nuniform mat4 world : WORLD;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nattribute vec3 position : POSITION;\nvarying vec3 v_WorldPosition;\nvoid main()\n{\n v_WorldPosition = (world * vec4(position, 1.0)).xyz;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n@end\n@export clay.skybox.fragment\n#define PI 3.1415926\nuniform mat4 viewInverse : VIEWINVERSE;\n#ifdef EQUIRECTANGULAR\nuniform sampler2D environmentMap;\n#else\nuniform samplerCube environmentMap;\n#endif\nuniform float lod: 0.0;\nvarying vec3 v_WorldPosition;\n@import clay.util.rgbm\n@import clay.util.srgb\n@import clay.util.ACES\nvoid main()\n{\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(v_WorldPosition - eyePos);\n#ifdef EQUIRECTANGULAR\n float phi = acos(V.y);\n float theta = atan(-V.x, V.z) + PI * 0.5;\n vec2 uv = vec2(theta / 2.0 / PI, phi / PI);\n vec4 texel = decodeHDR(texture2D(environmentMap, fract(uv)));\n#else\n #if defined(LOD) || defined(SUPPORT_TEXTURE_LOD)\n vec4 texel = decodeHDR(textureCubeLodEXT(environmentMap, V, lod));\n #else\n vec4 texel = decodeHDR(textureCube(environmentMap, V));\n #endif\n#endif\n#ifdef SRGB_DECODE\n texel = sRGBToLinear(texel);\n#endif\n#ifdef TONEMAPPING\n texel.rgb = ACESToneMapping(texel.rgb);\n#endif\n#ifdef SRGB_ENCODE\n texel = linearTosRGB(texel);\n#endif\n gl_FragColor = encodeHDR(vec4(texel.rgb, 1.0));\n}\n@end";I5.import(s6);var l6=z9.extend((function(){var e=new I5({vertex:I5.source("clay.skybox.vertex"),fragment:I5.source("clay.skybox.fragment")}),t=new F4({shader:e,depthMask:!1});return{scene:null,geometry:new o6,material:t,environmentMap:null,culling:!1,_dummyCamera:new H8}}),(function(){var e=this.scene;e&&this.attachScene(e),this.environmentMap&&this.setEnvironmentMap(this.environmentMap)}),{attachScene:function(e){this.scene&&this.detachScene(),e.skybox=this,this.scene=e,e.on("beforerender",this._beforeRenderScene,this)},detachScene:function(){this.scene&&(this.scene.off("beforerender",this._beforeRenderScene),this.scene.skybox=null),this.scene=null},dispose:function(e){this.detachScene(),this.geometry.dispose(e)},setEnvironmentMap:function(e){"texture2D"===e.textureType?(this.material.define("EQUIRECTANGULAR"),e.minFilter=R9.LINEAR):this.material.undefine("EQUIRECTANGULAR"),this.material.set("environmentMap",e)},getEnvironmentMap:function(){return this.material.get("environmentMap")},_beforeRenderScene:function(e,t,n){this.renderSkybox(e,n)},renderSkybox:function(e,t){var n=this._dummyCamera;n.aspect=e.getViewportAspect(),n.fov=t.fov||50,n.updateProjectionMatrix(),g9.invert(n.invProjectionMatrix,n.projectionMatrix),n.worldTransform.copy(t.worldTransform),n.viewMatrix.copy(t.viewMatrix),this.position.copy(t.getWorldPosition()),this.update(),e.gl.disable(e.gl.BLEND),this.material.get("lod")>0?this.material.define("fragment","LOD"):this.material.undefine("fragment","LOD"),e.renderPass([this],n)}}),u6=l6,c6=u6,h6=542327876,d6=131072,f6=512,p6=4;function m6(e){return e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)}var g6=31,y6=m6("DXT1"),v6=m6("DXT3"),_6=m6("DXT5"),x6=0,b6=1,w6=2,M6=3,S6=4,T6=7,L6=20,D6=21,A6=28,O6={parse:function(e,t){var n=new Int32Array(e,0,g6);if(n[x6]!==h6)return null;if(!n(L6)&p6)return null;var i,r,a=n(D6),o=n[S6],s=n[M6],l=n[A6]&f6,u=n[w6]&d6;switch(a){case y6:i=8,r=R9.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case v6:i=16,r=R9.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case _6:i=16,r=R9.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}var c=n[b6]+4,h=l?6:1,d=1;u&&(d=Math.max(1,n[T6]));for(var f=[],p=0;p<h;p++){var m=o,g=s;f[p]=new W9({width:m,height:g,format:r});for(var y=[],v=0;v<d;v++){var _=Math.max(4,m)/4*Math.max(4,g)/4*i,x=new Uint8Array(e,c,_);c+=_,m*=.5,g*=.5,y[v]=x}f[p].pixels=y[0],u&&(f[p].mipmaps=y)}if(!t)return f[0];t.width=f[0].width,t.height=f[0].height,t.format=f[0].format,t.pixels=f[0].pixels,t.mipmaps=f[0].mipmaps}},k6=O6,I6=String.fromCharCode,C6=8,E6=32767;function P6(e,t,n,i){if(e[3]>0){var r=Math.pow(2,e[3]-128-8+i);t[n+0]=e[0]*r,t[n+1]=e[1]*r,t[n+2]=e[2]*r}else t[n+0]=0,t[n+1]=0,t[n+2]=0;return t[n+3]=1,t}function N6(e,t,n){for(var i="",r=t;r<n;r++)i+=I6(e[r]);return i}function R6(e,t){t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]}function Y6(e,t,n,i){var r=0,a=0,o=i;while(o>0)if(e[a][0]=t[n++],e[a][1]=t[n++],e[a][2]=t[n++],e[a][3]=t[n++],1===e[a][0]&&1===e[a][1]&&1===e[a][2]){for(var s=e[a][3]<<r>>>0;s>0;s--)R6(e[a-1],e[a]),a++,o--;r+=8}else a++,o--,r=0;return n}function z6(e,t,n,i){if(i<C6|i>E6)return Y6(e,t,n,i);var r=t[n++];if(2!=r)return Y6(e,t,n-1,i);if(e[0][1]=t[n++],e[0][2]=t[n++],r=t[n++],(e[0][2]<<8>>>0|r)>>>0!==i)return null;for(r=0;r<4;r++)for(var a=0;a<i;){var o=t[n++];if(o>128){o=(127&o)>>>0;var s=t[n++];while(o--)e[a++][r]=s}else while(o--)e[a++][r]=t[n++]}return n}var H6={parseRGBE:function(e,t,n){null==n&&(n=0);var i=new Uint8Array(e),r=i.length;if("#?"===N6(i,0,2)){for(var a=2;a<r;a++)if("\n"===I6(i[a])&&"\n"===I6(i[a+1]))break;if(!(a>=r)){a+=2;for(var o="";a<r;a++){var s=I6(i[a]);if("\n"===s)break;o+=s}var l=o.split(" "),u=parseInt(l[1]),c=parseInt(l[3]);if(c&&u){for(var h=a+1,d=[],f=0;f<c;f++){d[f]=[];for(var p=0;p<4;p++)d[f][p]=0}for(var m=new Float32Array(c*u*4),g=0,y=0;y<u;y++){h=z6(d,i,h,c);if(!h)return null;for(f=0;f<c;f++)P6(d[f],m,g,n),g+=4}return t||(t=new W9),t.width=c,t.height=u,t.pixels=m,t.type=R9.FLOAT,t}}}},parseRGBEFromPNG:function(e){}},j6=H6,F6={loadTexture:function(e,t,n,i){var r;if("function"===typeof t?(n=t,i=n,t={}):t=t||{},"string"===typeof e){if(e.match(/.hdr$/)||"hdr"===t.fileType)return r=new W9({width:0,height:0,sRGB:!1}),F6._fetchTexture(e,(function(e){j6.parseRGBE(e,r,t.exposure),r.dirty(),n&&n(r)}),i),r;e.match(/.dds$/)||"dds"===t.fileType?(r=new W9({width:0,height:0}),F6._fetchTexture(e,(function(e){k6.parse(e,r),r.dirty(),n&&n(r)}),i)):(r=new W9,r.load(e),r.success(n),r.error(i))}else"object"===typeof e&&"undefined"!==typeof e.px&&(r=new Y8,r.load(e),r.success(n),r.error(i));return r},loadPanorama:function(e,t,n,i,r,a){var o=this;"function"===typeof i?(r=i,a=r,i={}):i=i||{},F6.loadTexture(t,i,(function(t){t.flipY=i.flipY||!1,o.panoramaToCubeMap(e,t,n,i),t.dispose(e),r&&r(n)}),a)},panoramaToCubeMap:function(e,t,n,i){var r=new e6,a=new c6({scene:new C8});return a.setEnvironmentMap(t),i=i||{},i.encodeRGBM&&a.material.define("fragment","RGBM_ENCODE"),n.sRGB=t.sRGB,r.texture=n,r.render(e,a.scene),r.texture=null,r.dispose(e),n},heightToNormal:function(e,t){var n=document.createElement("canvas"),i=n.width=e.width,r=n.height=e.height,a=n.getContext("2d");a.drawImage(e,0,0,i,r),t=t||!1;for(var o=a.getImageData(0,0,i,r),s=a.createImageData(i,r),l=0;l<o.data.length;l+=4){if(t){var u=o.data[l],c=o.data[l+1],h=o.data[l+2],d=Math.abs(u-c)+Math.abs(c-h);if(d>20)return console.warn("Given image is not a height map"),e}var f,p,m,g;l%(4*i)===0?(f=o.data[l],m=o.data[l+4]):l%(4*i)===4*(i-1)?(f=o.data[l-4],m=o.data[l]):(f=o.data[l-4],m=o.data[l+4]),l<4*i?(p=o.data[l],g=o.data[l+4*i]):l>i*(r-1)*4?(p=o.data[l-4*i],g=o.data[l]):(p=o.data[l-4*i],g=o.data[l+4*i]),s.data[l]=f-m+127,s.data[l+1]=p-g+127,s.data[l+2]=255,s.data[l+3]=255}return a.putImageData(s,0,0),n},isHeightImage:function(e,t,n){if(!e||!e.width||!e.height)return!1;var i=document.createElement("canvas"),r=i.getContext("2d"),a=t||32;n=n||20,i.width=i.height=a,r.drawImage(e,0,0,a,a);for(var o=r.getImageData(0,0,a,a),s=0;s<o.data.length;s+=4){var l=o.data[s],u=o.data[s+1],c=o.data[s+2],h=Math.abs(l-u)+Math.abs(u-c);if(h>n)return!1}return!0},_fetchTexture:function(e,t,n){p4["a"].request.get({url:e,responseType:"arraybuffer",onload:t,onerror:n})},createChessboard:function(e,t,n,i){e=e||512,t=t||64,n=n||"black",i=i||"white";var r=Math.ceil(e/t),a=document.createElement("canvas");a.width=e,a.height=e;var o=a.getContext("2d");o.fillStyle=i,o.fillRect(0,0,e,e),o.fillStyle=n;for(var s=0;s<r;s++)for(var l=0;l<r;l++){var u=l%2?s%2:s%2-1;u&&o.fillRect(s*t,l*t,t,t)}var c=new W9({image:a,anisotropic:8});return c},createBlank:function(e){var t=document.createElement("canvas");t.width=1,t.height=1;var n=t.getContext("2d");n.fillStyle=e,n.fillRect(0,0,1,1);var i=new W9({image:t});return i}},B6=F6,V6=["mousedown","mouseup","mousemove","mouseover","mouseout","click","dblclick","contextmenu"];function G6(e){return"_on"+e}var W6=function(e){var t=this;this._texture=new W9({anisotropic:32,flipY:!1,surface:this,dispose:function(e){t.dispose(),W9.prototype.dispose.call(this,e)}}),V6.forEach((function(e){this[G6(e)]=function(t){t.triangle&&this._meshes.forEach((function(n){this.dispatchEvent(e,n,t.triangle,t.point)}),this)}}),this),this._meshes=[],e&&this.setECharts(e),this.onupdate=null};W6.prototype={constructor:W6,getTexture:function(){return this._texture},setECharts:function(e){this._chart=e;var t=e.getDom();if(t instanceof HTMLCanvasElement){var n=this,i=e.getZr(),r=i.__oldRefreshImmediately||i.refreshImmediately;i.refreshImmediately=function(){r.call(this),n._texture.dirty(),n.onupdate&&n.onupdate()},i.__oldRefreshImmediately=r}else console.error("ECharts must init on canvas if it is used as texture."),t=document.createElement("canvas");this._texture.image=t,this._texture.dirty(),this.onupdate&&this.onupdate()},dispatchEvent:function(){var e=new i9,t=new i9,n=new i9,i=new q4,r=new q4,a=new q4,o=new q4,s=new i9;return function(l,u,c,h){var d=u.geometry,f=d.attributes.position,p=d.attributes.texcoord0,m=i9.dot,g=i9.cross;f.get(c[0],e.array),f.get(c[1],t.array),f.get(c[2],n.array),p.get(c[0],i.array),p.get(c[1],r.array),p.get(c[2],a.array),g(s,t,n);var y=m(e,s),v=m(h,s)/y;g(s,n,e);var _=m(h,s)/y;g(s,e,t);var x=m(h,s)/y;q4.scale(o,i,v),q4.scaleAndAdd(o,o,r,_),q4.scaleAndAdd(o,o,a,x);var b=o.x*this._chart.getWidth(),w=o.y*this._chart.getHeight();this._chart.getZr().handler.dispatch(l,{zrX:b,zrY:w})}}(),attachToMesh:function(e){this._meshes.indexOf(e)>=0||(V6.forEach((function(t){e.on(t,this[G6(t)],this)}),this),this._meshes.push(e))},detachFromMesh:function(e){var t=this._meshes.indexOf(e);t>=0&&this._meshes.splice(t,1),V6.forEach((function(t){e.off(t,this[G6(t)])}),this)},dispose:function(){this._meshes.forEach((function(e){this.detachFromMesh(e)}),this)}};var U6=W6,X6=S8.extend({left:-1,right:1,near:-1,far:1,top:1,bottom:-1},{updateProjectionMatrix:function(){this.projectionMatrix.ortho(this.left,this.right,this.bottom,this.top,this.near,this.far)},decomposeProjectionMatrix:function(){var e=this.projectionMatrix.array;this.left=(-1-e[12])/e[0],this.right=(1-e[12])/e[0],this.top=(1-e[13])/e[5],this.bottom=(-1-e[13])/e[5],this.near=-(-1-e[14])/e[10],this.far=-(1-e[14])/e[10]},clone:function(){var e=S8.prototype.clone.call(this);return e.left=this.left,e.right=this.right,e.near=this.near,e.far=this.far,e.top=this.top,e.bottom=this.bottom,e}}),Z6=X6,q6="\n@export clay.compositor.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nvarying vec2 v_Texcoord;\nvoid main()\n{\n v_Texcoord = texcoord;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n@end";I5["import"](q6);var $6=new n6,J6=new z9({geometry:$6,frustumCulling:!1}),K6=new Z6,Q6=l4.extend((function(){return{fragment:"",outputs:null,material:null,blendWithPrevious:!1,clearColor:!1,clearDepth:!0}}),(function(){var e=new I5(I5.source("clay.compositor.vertex"),this.fragment),t=new F4({shader:e});t.enableTexturesAll(),this.material=t}),{setUniform:function(e,t){this.material.setUniform(e,t)},getUniform:function(e){var t=this.material.uniforms[e];if(t)return t.value},attachOutput:function(e,t){this.outputs||(this.outputs={}),t=t||f4.COLOR_ATTACHMENT0,this.outputs[t]=e},detachOutput:function(e){for(var t in this.outputs)this.outputs[t]===e&&(this.outputs[t]=null)},bind:function(e,t){if(this.outputs)for(var n in this.outputs){var i=this.outputs[n];i&&t.attach(i,n)}t&&t.bind(e)},unbind:function(e,t){t.unbind(e)},render:function(e,t){var n=e.gl;if(t){this.bind(e,t);var i=e.getGLExtension("EXT_draw_buffers");if(i&&this.outputs){var r=[];for(var a in this.outputs)a=+a,a>=n.COLOR_ATTACHMENT0&&a<=n.COLOR_ATTACHMENT0+8&&r.push(a);i.drawBuffersEXT(r)}}this.trigger("beforerender",this,e);var o=this.clearDepth?n.DEPTH_BUFFER_BIT:0;if(n.depthMask(!0),this.clearColor){o|=n.COLOR_BUFFER_BIT,n.colorMask(!0,!0,!0,!0);var s=this.clearColor;Array.isArray(s)&&n.clearColor(s[0],s[1],s[2],s[3])}n.clear(o),this.blendWithPrevious?(n.enable(n.BLEND),this.material.transparent=!0):(n.disable(n.BLEND),this.material.transparent=!1),this.renderQuad(e),this.trigger("afterrender",this,e),t&&this.unbind(e,t)},renderQuad:function(e){J6.material=this.material,e.renderPass([J6],K6)},dispose:function(e){}}),e7=Q6,t7="#define SAMPLE_NUMBER 1024\n#define PI 3.14159265358979\nuniform sampler2D normalDistribution;\nuniform vec2 viewportSize : [512, 256];\nconst vec3 N = vec3(0.0, 0.0, 1.0);\nconst float fSampleNumber = float(SAMPLE_NUMBER);\nvec3 importanceSampleNormal(float i, float roughness, vec3 N) {\n vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb;\n vec3 upVector = abs(N.y) > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nfloat G_Smith(float roughness, float NoV, float NoL) {\n float k = roughness * roughness / 2.0;\n float G1V = NoV / (NoV * (1.0 - k) + k);\n float G1L = NoL / (NoL * (1.0 - k) + k);\n return G1L * G1V;\n}\nvoid main() {\n vec2 uv = gl_FragCoord.xy / viewportSize;\n float NoV = uv.x;\n float roughness = uv.y;\n vec3 V;\n V.x = sqrt(1.0 - NoV * NoV);\n V.y = 0.0;\n V.z = NoV;\n float A = 0.0;\n float B = 0.0;\n for (int i = 0; i < SAMPLE_NUMBER; i++) {\n vec3 H = importanceSampleNormal(float(i) / fSampleNumber, roughness, N);\n vec3 L = reflect(-V, H);\n float NoL = clamp(L.z, 0.0, 1.0);\n float NoH = clamp(H.z, 0.0, 1.0);\n float VoH = clamp(dot(V, H), 0.0, 1.0);\n if (NoL > 0.0) {\n float G = G_Smith(roughness, NoV, NoL);\n float G_Vis = G * VoH / (NoH * NoV);\n float Fc = pow(1.0 - VoH, 5.0);\n A += (1.0 - Fc) * G_Vis;\n B += Fc * G_Vis;\n }\n }\n gl_FragColor = vec4(vec2(A, B) / fSampleNumber, 0.0, 1.0);\n}\n",n7="#define SHADER_NAME prefilter\n#define SAMPLE_NUMBER 1024\n#define PI 3.14159265358979\nuniform mat4 viewInverse : VIEWINVERSE;\nuniform samplerCube environmentMap;\nuniform sampler2D normalDistribution;\nuniform float roughness : 0.5;\nvarying vec2 v_Texcoord;\nvarying vec3 v_WorldPosition;\n@import clay.util.rgbm\nvec3 importanceSampleNormal(float i, float roughness, vec3 N) {\n vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb;\n vec3 upVector = abs(N.y) > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nvoid main() {\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(v_WorldPosition - eyePos);\n vec3 N = V;\n vec3 prefilteredColor = vec3(0.0);\n float totalWeight = 0.0;\n float fMaxSampleNumber = float(SAMPLE_NUMBER);\n for (int i = 0; i < SAMPLE_NUMBER; i++) {\n vec3 H = importanceSampleNormal(float(i) / fMaxSampleNumber, roughness, N);\n vec3 L = reflect(-V, H);\n float NoL = clamp(dot(N, L), 0.0, 1.0);\n if (NoL > 0.0) {\n prefilteredColor += decodeHDR(textureCube(environmentMap, L)).rgb * NoL;\n totalWeight += NoL;\n }\n }\n gl_FragColor = encodeHDR(vec4(prefilteredColor / totalWeight, 1.0));\n}\n",i7={},r7=["px","nx","py","ny","pz","nz"];i7.prefilterEnvironmentMap=function(e,t,n,i,r){r&&i||(i=i7.generateNormalDistribution(),r=i7.integrateBRDF(e,i)),n=n||{};var a=n.width||64,o=n.height||64,s=n.type||t.type,l=new Y8({width:a,height:o,type:s,flipY:!1,mipmaps:[]});l.isPowerOfTwo()||console.warn("Width and height must be power of two to enable mipmap.");var u=Math.min(a,o),c=Math.log(u)/Math.log(2)+1,h=new F4({shader:new I5({vertex:I5.source("clay.skybox.vertex"),fragment:n7})});h.set("normalDistribution",i),n.encodeRGBM&&h.define("fragment","RGBM_ENCODE"),n.decodeRGBM&&h.define("fragment","RGBM_DECODE");var d,f=new C8;if("texture2D"===t.textureType){var p=new Y8({width:a,height:o,type:s===R9.FLOAT?R9.HALF_FLOAT:s});B6.panoramaToCubeMap(e,t,p,{encodeRGBM:n.decodeRGBM}),t=p}d=new u6({scene:f,material:h}),d.material.set("environmentMap",t);var m=new e6({texture:l});n.encodeRGBM&&(s=l.type=R9.UNSIGNED_BYTE);for(var g=new W9({width:a,height:o,type:s}),y=new J8({depthBuffer:!1}),v=p4["a"][s===R9.UNSIGNED_BYTE?"Uint8Array":"Float32Array"],_=0;_<c;_++){l.mipmaps[_]={pixels:{}},d.material.set("roughness",_/(c-1));for(var x=g.width,b=2*Math.atan(x/(x-.5))/Math.PI*180,w=0;w<r7.length;w++){var M=new v(g.width*g.height*4);y.attach(g),y.bind(e);var S=m.getCamera(r7[w]);S.fov=b,e.render(f,S),e.gl.readPixels(0,0,g.width,g.height,R9.RGBA,s,M),y.unbind(e),l.mipmaps[_].pixels[r7[w]]=M}g.width/=2,g.height/=2,g.dirty()}return y.dispose(e),g.dispose(e),d.dispose(e),i.dispose(e),{environmentMap:l,brdfLookup:r,normalDistribution:i,maxMipmapLevel:c}},i7.integrateBRDF=function(e,t){t=t||i7.generateNormalDistribution();var n=new J8({depthBuffer:!1}),i=new e7({fragment:t7}),r=new W9({width:512,height:256,type:R9.HALF_FLOAT,wrapS:R9.CLAMP_TO_EDGE,wrapT:R9.CLAMP_TO_EDGE,minFilter:R9.NEAREST,magFilter:R9.NEAREST,useMipmap:!1});return i.setUniform("normalDistribution",t),i.setUniform("viewportSize",[512,256]),i.attachOutput(r),i.render(e,n),n.dispose(e),r},i7.generateNormalDistribution=function(e,t){e=e||256,t=t||1024;for(var n=new W9({width:e,height:t,type:R9.FLOAT,minFilter:R9.NEAREST,magFilter:R9.NEAREST,wrapS:R9.CLAMP_TO_EDGE,wrapT:R9.CLAMP_TO_EDGE,useMipmap:!1}),i=new Float32Array(t*e*4),r=[],a=0;a<e;a++){for(var o=a/e,s=o*o,l=0;l<t;l++){var u=(l<<16|l>>>16)>>>0;u=((1431655765&u)<<1|(2863311530&u)>>>1)>>>0,u=((858993459&u)<<2|(3435973836&u)>>>2)>>>0,u=((252645135&u)<<4|(4042322160&u)>>>4)>>>0,u=(((16711935&u)<<8|(4278255360&u)>>>8)>>>0)/4294967296;var c=Math.sqrt((1-u)/(1+(s*s-1)*u));r[l]=c}for(l=0;l<t;l++){var h=4*(l*e+a),d=(c=r[l],Math.sqrt(1-c*c)),f=l/t,p=2*Math.PI*f;i[h]=d*Math.cos(p),i[h+1]=c,i[h+2]=d*Math.sin(p),i[h+3]=1}}return n.pixels=i,n};var a7=i7,o7=f8.extend({cubemap:null,castShadow:!1,_normalDistribution:null,_brdfLookup:null},{type:"AMBIENT_CUBEMAP_LIGHT",prefilter:function(e,t){if(e.getGLExtension("EXT_shader_texture_lod")){this._brdfLookup||(this._normalDistribution=a7.generateNormalDistribution(),this._brdfLookup=a7.integrateBRDF(e,this._normalDistribution));var n=this.cubemap;if(!n.__prefiltered){var i=a7.prefilterEnvironmentMap(e,n,{encodeRGBM:!0,width:t,height:t},this._normalDistribution,this._brdfLookup);this.cubemap=i.environmentMap,this.cubemap.__prefiltered=!0,n.dispose(e)}}else console.warn("Device not support textureCubeLodEXT")},getBRDFLookup:function(){return this._brdfLookup},uniformTemplates:{ambientCubemapLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}},ambientCubemapLightCubemap:{type:"t",value:function(e){return e.cubemap}},ambientCubemapLightBRDFLookup:{type:"t",value:function(e){return e._brdfLookup}}}}),s7=o7,l7=f8.extend({castShadow:!1,coefficients:[]},(function(){this._coefficientsTmpArr=new p4["a"].Float32Array(27)}),{type:"AMBIENT_SH_LIGHT",uniformTemplates:{ambientSHLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}},ambientSHLightCoefficients:{type:"3f",value:function(e){for(var t=e._coefficientsTmpArr,n=0;n<e.coefficients.length;n++)t[n]=e.coefficients[n];return t}}}}),u7=l7,c7={},h7=["px","nx","py","ny","pz","nz"];function d7(e,t){var n=e[0],i=e[1],r=e[2];return 0===t?1:1===t?n:2===t?i:3===t?r:4===t?n*r:5===t?i*r:6===t?n*i:7===t?3*r*r-1:n*n-i*i}var f7={px:[2,1,0,-1,-1,1],nx:[2,1,0,1,-1,-1],py:[0,2,1,1,-1,-1],ny:[0,2,1,1,1,1],pz:[0,1,2,-1,-1,-1],nz:[0,1,2,1,-1,1]};function p7(e,t,n,i){for(var r=new p4["a"].Float32Array(27),a=R5.create(),o=R5.create(),s=R5.create(),l=0;l<9;l++){for(var u=R5.create(),c=0;c<h7.length;c++){for(var h=t[h7[c]],d=R5.create(),f=0,p=0,m=f7[h7[c]],g=0;g<i;g++)for(var y=0;y<n;y++){a[0]=y/(n-1)*2-1,a[1]=g/(i-1)*2-1,a[2]=-1,R5.normalize(a,a),s[0]=a[m[0]]*m[3],s[1]=a[m[1]]*m[4],s[2]=a[m[2]]*m[5],o[0]=h[p++]/255,o[1]=h[p++]/255,o[2]=h[p++]/255;var v=h[p++]/255*8.12;o[0]*=v,o[1]*=v,o[2]*=v,R5.scaleAndAdd(d,d,o,d7(s,l)*-a[2]),f+=-a[2]}R5.scaleAndAdd(u,u,d,1/f)}r[3*l]=u[0]/6,r[3*l+1]=u[1]/6,r[3*l+2]=u[2]/6}return r}c7.projectEnvironmentMap=function(e,t,n){var i;n=n||{},n.lod=n.lod||0;var r=new C8,a=64;"texture2D"===t.textureType?i=new c6({scene:r,environmentMap:t}):(a=t.image&&t.image.px?t.image.px.width:t.width,i=new u6({scene:r,environmentMap:t}));var o=Math.ceil(a/Math.pow(2,n.lod)),s=Math.ceil(a/Math.pow(2,n.lod)),l=new W9({width:o,height:s}),u=new J8;i.material.define("fragment","RGBM_ENCODE"),n.decodeRGBM&&i.material.define("fragment","RGBM_DECODE"),i.material.set("lod",n.lod);for(var c=new e6({texture:l}),h={},d=0;d<h7.length;d++){h[h7[d]]=new Uint8Array(o*s*4);var f=c.getCamera(h7[d]);f.fov=90,u.attach(l),u.bind(e),e.render(r,f),e.gl.readPixels(0,0,o,s,R9.RGBA,R9.UNSIGNED_BYTE,h[h7[d]]),u.unbind(e)}return i.dispose(e),u.dispose(e),l.dispose(e),p7(e,h,o,s)};var m7=c7,g7={firstNotNull:function(){for(var e=0,t=arguments.length;e<t;e++)if(null!=arguments[e])return arguments[e]},queryDataIndex:function(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?c.isArray(t.dataIndex)?c.map(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?c.isArray(t.name)?c.map(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}},y7=g7,v7=r8.extend({dynamic:!1,widthSegments:40,heightSegments:20,phiStart:0,phiLength:2*Math.PI,thetaStart:0,thetaLength:Math.PI,radius:1},(function(){this.build()}),{build:function(){var e=this.heightSegments,t=this.widthSegments,n=this.attributes.position,i=this.attributes.texcoord0,r=this.attributes.normal,a=(t+1)*(e+1);n.init(a),i.init(a),r.init(a);var o,s,l,u,c,h,d,f,p,m,g,y=a>65535?Uint32Array:Uint16Array,v=this.indices=new y(t*e*6),_=this.radius,x=this.phiStart,b=this.phiLength,w=this.thetaStart,M=this.thetaLength,S=(_=this.radius,[]),T=[],L=0,D=1/_;for(d=0;d<=e;d++)for(h=0;h<=t;h++)u=h/t,c=d/e,o=-_*Math.cos(x+u*b)*Math.sin(w+c*M),s=_*Math.cos(w+c*M),l=_*Math.sin(x+u*b)*Math.sin(w+c*M),S[0]=o,S[1]=s,S[2]=l,T[0]=u,T[1]=c,n.set(L,S),i.set(L,T),S[0]*=D,S[1]*=D,S[2]*=D,r.set(L,S),L++;var A=t+1,O=0;for(d=0;d<e;d++)for(h=0;h<t;h++)p=d*A+h,f=d*A+h+1,g=(d+1)*A+h+1,m=(d+1)*A+h,v[O++]=f,v[O++]=p,v[O++]=g,v[O++]=p,v[O++]=m,v[O++]=g;this.boundingBox=new S9,this.boundingBox.max.set(_,_,_),this.boundingBox.min.set(-_,-_,-_)}}),_7=v7,x7=f8.extend({castShadow:!1},{type:"AMBIENT_LIGHT",uniformTemplates:{ambientLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}}}}),b7=x7,w7=f8.extend({shadowBias:.001,shadowSlopeScale:2,shadowCascade:1,cascadeSplitLogFactor:.2},{type:"DIRECTIONAL_LIGHT",uniformTemplates:{directionalLightDirection:{type:"3f",value:function(e){return e.__dir=e.__dir||new i9,e.__dir.copy(e.worldTransform.z).normalize().negate().array}},directionalLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}}},clone:function(){var e=f8.prototype.clone.call(this);return e.shadowBias=this.shadowBias,e.shadowSlopeScale=this.shadowSlopeScale,e}}),M7=w7,S7=f8.extend({range:100,castShadow:!1},{type:"POINT_LIGHT",uniformTemplates:{pointLightPosition:{type:"3f",value:function(e){return e.getWorldPosition().array}},pointLightRange:{type:"1f",value:function(e){return e.range}},pointLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}}},clone:function(){var e=f8.prototype.clone.call(this);return e.range=this.range,e}}),T7=S7,L7=f8.extend({range:20,umbraAngle:30,penumbraAngle:45,falloffFactor:2,shadowBias:.001,shadowSlopeScale:2},{type:"SPOT_LIGHT",uniformTemplates:{spotLightPosition:{type:"3f",value:function(e){return e.getWorldPosition().array}},spotLightRange:{type:"1f",value:function(e){return e.range}},spotLightUmbraAngleCosine:{type:"1f",value:function(e){return Math.cos(e.umbraAngle*Math.PI/180)}},spotLightPenumbraAngleCosine:{type:"1f",value:function(e){return Math.cos(e.penumbraAngle*Math.PI/180)}},spotLightFalloffFactor:{type:"1f",value:function(e){return e.falloffFactor}},spotLightDirection:{type:"3f",value:function(e){return e.__dir=e.__dir||new i9,e.__dir.copy(e.worldTransform.z).negate().array}},spotLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}}},clone:function(){var e=f8.prototype.clone.call(this);return e.range=this.range,e.umbraAngle=this.umbraAngle,e.penumbraAngle=this.penumbraAngle,e.falloffFactor=this.falloffFactor,e.shadowBias=this.shadowBias,e.shadowSlopeScale=this.shadowSlopeScale,e}}),D7=L7,A7=function(e,t,n,i){e=e||0,t=t||0,n=n||0,i=i||0,this.array=l9.fromValues(e,t,n,i),this._dirty=!0};A7.prototype={constructor:A7,add:function(e){return l9.add(this.array,this.array,e.array),this._dirty=!0,this},set:function(e,t,n,i){return this.array[0]=e,this.array[1]=t,this.array[2]=n,this.array[3]=i,this._dirty=!0,this},setArray:function(e){return this.array[0]=e[0],this.array[1]=e[1],this.array[2]=e[2],this.array[3]=e[3],this._dirty=!0,this},clone:function(){return new A7(this.x,this.y,this.z,this.w)},copy:function(e){return l9.copy(this.array,e.array),this._dirty=!0,this},dist:function(e){return l9.dist(this.array,e.array)},distance:function(e){return l9.distance(this.array,e.array)},div:function(e){return l9.div(this.array,this.array,e.array),this._dirty=!0,this},divide:function(e){return l9.divide(this.array,this.array,e.array),this._dirty=!0,this},dot:function(e){return l9.dot(this.array,e.array)},len:function(){return l9.len(this.array)},length:function(){return l9.length(this.array)},lerp:function(e,t,n){return l9.lerp(this.array,e.array,t.array,n),this._dirty=!0,this},min:function(e){return l9.min(this.array,this.array,e.array),this._dirty=!0,this},max:function(e){return l9.max(this.array,this.array,e.array),this._dirty=!0,this},mul:function(e){return l9.mul(this.array,this.array,e.array),this._dirty=!0,this},multiply:function(e){return l9.multiply(this.array,this.array,e.array),this._dirty=!0,this},negate:function(){return l9.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return l9.normalize(this.array,this.array),this._dirty=!0,this},random:function(e){return l9.random(this.array,e),this._dirty=!0,this},scale:function(e){return l9.scale(this.array,this.array,e),this._dirty=!0,this},scaleAndAdd:function(e,t){return l9.scaleAndAdd(this.array,this.array,e.array,t),this._dirty=!0,this},sqrDist:function(e){return l9.sqrDist(this.array,e.array)},squaredDistance:function(e){return l9.squaredDistance(this.array,e.array)},sqrLen:function(){return l9.sqrLen(this.array)},squaredLength:function(){return l9.squaredLength(this.array)},sub:function(e){return l9.sub(this.array,this.array,e.array),this._dirty=!0,this},subtract:function(e){return l9.subtract(this.array,this.array,e.array),this._dirty=!0,this},transformMat4:function(e){return l9.transformMat4(this.array,this.array,e.array),this._dirty=!0,this},transformQuat:function(e){return l9.transformQuat(this.array,this.array,e.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var O7=Object.defineProperty;if(O7){var k7=A7.prototype;O7(k7,"x",{get:function(){return this.array[0]},set:function(e){this.array[0]=e,this._dirty=!0}}),O7(k7,"y",{get:function(){return this.array[1]},set:function(e){this.array[1]=e,this._dirty=!0}}),O7(k7,"z",{get:function(){return this.array[2]},set:function(e){this.array[2]=e,this._dirty=!0}}),O7(k7,"w",{get:function(){return this.array[3]},set:function(e){this.array[3]=e,this._dirty=!0}})}A7.add=function(e,t,n){return l9.add(e.array,t.array,n.array),e._dirty=!0,e},A7.set=function(e,t,n,i,r){l9.set(e.array,t,n,i,r),e._dirty=!0},A7.copy=function(e,t){return l9.copy(e.array,t.array),e._dirty=!0,e},A7.dist=function(e,t){return l9.distance(e.array,t.array)},A7.distance=A7.dist,A7.div=function(e,t,n){return l9.divide(e.array,t.array,n.array),e._dirty=!0,e},A7.divide=A7.div,A7.dot=function(e,t){return l9.dot(e.array,t.array)},A7.len=function(e){return l9.length(e.array)},A7.lerp=function(e,t,n,i){return l9.lerp(e.array,t.array,n.array,i),e._dirty=!0,e},A7.min=function(e,t,n){return l9.min(e.array,t.array,n.array),e._dirty=!0,e},A7.max=function(e,t,n){return l9.max(e.array,t.array,n.array),e._dirty=!0,e},A7.mul=function(e,t,n){return l9.multiply(e.array,t.array,n.array),e._dirty=!0,e},A7.multiply=A7.mul,A7.negate=function(e,t){return l9.negate(e.array,t.array),e._dirty=!0,e},A7.normalize=function(e,t){return l9.normalize(e.array,t.array),e._dirty=!0,e},A7.random=function(e,t){return l9.random(e.array,t),e._dirty=!0,e},A7.scale=function(e,t,n){return l9.scale(e.array,t.array,n),e._dirty=!0,e},A7.scaleAndAdd=function(e,t,n,i){return l9.scaleAndAdd(e.array,t.array,n.array,i),e._dirty=!0,e},A7.sqrDist=function(e,t){return l9.sqrDist(e.array,t.array)},A7.squaredDistance=A7.sqrDist,A7.sqrLen=function(e){return l9.sqrLen(e.array)},A7.squaredLength=A7.sqrLen,A7.sub=function(e,t,n){return l9.subtract(e.array,t.array,n.array),e._dirty=!0,e},A7.subtract=A7.sub,A7.transformMat4=function(e,t,n){return l9.transformMat4(e.array,t.array,n.array),e._dirty=!0,e},A7.transformQuat=function(e,t,n){return l9.transformQuat(e.array,t.array,n.array),e._dirty=!0,e};var I7=A7,C7={create:function(){var e=new V4(4);return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e},clone:function(e){var t=new V4(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e},transpose:function(e,t){if(e===t){var n=t[1];e[1]=t[2],e[2]=n}else e[0]=t[0],e[1]=t[2],e[2]=t[1],e[3]=t[3];return e},invert:function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=n*a-r*i;return o?(o=1/o,e[0]=a*o,e[1]=-i*o,e[2]=-r*o,e[3]=n*o,e):null},adjoint:function(e,t){var n=t[0];return e[0]=t[3],e[1]=-t[1],e[2]=-t[2],e[3]=n,e},determinant:function(e){return e[0]*e[3]-e[2]*e[1]},multiply:function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=n[0],l=n[1],u=n[2],c=n[3];return e[0]=i*s+a*l,e[1]=r*s+o*l,e[2]=i*u+a*c,e[3]=r*u+o*c,e}};C7.mul=C7.multiply,C7.rotate=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=i*l+a*s,e[1]=r*l+o*s,e[2]=i*-s+a*l,e[3]=r*-s+o*l,e},C7.scale=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=n[0],l=n[1];return e[0]=i*s,e[1]=r*s,e[2]=a*l,e[3]=o*l,e},C7.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2))},C7.LDU=function(e,t,n,i){return e[2]=i[2]/i[0],n[0]=i[0],n[1]=i[1],n[3]=i[3]-e[2]*n[1],[e,t,n]};var E7=C7,P7=function(){this.array=E7.create(),this._dirty=!0};P7.prototype={constructor:P7,setArray:function(e){for(var t=0;t<this.array.length;t++)this.array[t]=e[t];return this._dirty=!0,this},clone:function(){return(new P7).copy(this)},copy:function(e){return E7.copy(this.array,e.array),this._dirty=!0,this},adjoint:function(){return E7.adjoint(this.array,this.array),this._dirty=!0,this},determinant:function(){return E7.determinant(this.array)},identity:function(){return E7.identity(this.array),this._dirty=!0,this},invert:function(){return E7.invert(this.array,this.array),this._dirty=!0,this},mul:function(e){return E7.mul(this.array,this.array,e.array),this._dirty=!0,this},mulLeft:function(e){return E7.mul(this.array,e.array,this.array),this._dirty=!0,this},multiply:function(e){return E7.multiply(this.array,this.array,e.array),this._dirty=!0,this},multiplyLeft:function(e){return E7.multiply(this.array,e.array,this.array),this._dirty=!0,this},rotate:function(e){return E7.rotate(this.array,this.array,e),this._dirty=!0,this},scale:function(e){return E7.scale(this.array,this.array,e.array),this._dirty=!0,this},transpose:function(){return E7.transpose(this.array,this.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},P7.adjoint=function(e,t){return E7.adjoint(e.array,t.array),e._dirty=!0,e},P7.copy=function(e,t){return E7.copy(e.array,t.array),e._dirty=!0,e},P7.determinant=function(e){return E7.determinant(e.array)},P7.identity=function(e){return E7.identity(e.array),e._dirty=!0,e},P7.invert=function(e,t){return E7.invert(e.array,t.array),e._dirty=!0,e},P7.mul=function(e,t,n){return E7.mul(e.array,t.array,n.array),e._dirty=!0,e},P7.multiply=P7.mul,P7.rotate=function(e,t,n){return E7.rotate(e.array,t.array,n),e._dirty=!0,e},P7.scale=function(e,t,n){return E7.scale(e.array,t.array,n.array),e._dirty=!0,e},P7.transpose=function(e,t){return E7.transpose(e.array,t.array),e._dirty=!0,e};var N7=P7,R7={create:function(){var e=new V4(6);return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},clone:function(e){var t=new V4(6);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},copy:function(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},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},invert:function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],l=n*a-i*r;return l?(l=1/l,e[0]=a*l,e[1]=-i*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*o)*l,e[5]=(i*o-n*s)*l,e):null},determinant:function(e){return e[0]*e[3]-e[1]*e[2]},multiply:function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=n[0],c=n[1],h=n[2],d=n[3],f=n[4],p=n[5];return e[0]=i*u+a*c,e[1]=r*u+o*c,e[2]=i*h+a*d,e[3]=r*h+o*d,e[4]=i*f+a*p+s,e[5]=r*f+o*p+l,e}};R7.mul=R7.multiply,R7.rotate=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=i*c+a*u,e[1]=r*c+o*u,e[2]=i*-u+a*c,e[3]=r*-u+o*c,e[4]=s,e[5]=l,e},R7.scale=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=n[0],c=n[1];return e[0]=i*u,e[1]=r*u,e[2]=a*c,e[3]=o*c,e[4]=s,e[5]=l,e},R7.translate=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=n[0],c=n[1];return e[0]=i,e[1]=r,e[2]=a,e[3]=o,e[4]=i*u+a*c+s,e[5]=r*u+o*c+l,e},R7.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2)+Math.pow(e[4],2)+Math.pow(e[5],2)+1)};var Y7=R7,z7=function(){this.array=Y7.create(),this._dirty=!0};z7.prototype={constructor:z7,setArray:function(e){for(var t=0;t<this.array.length;t++)this.array[t]=e[t];return this._dirty=!0,this},clone:function(){return(new z7).copy(this)},copy:function(e){return Y7.copy(this.array,e.array),this._dirty=!0,this},determinant:function(){return Y7.determinant(this.array)},identity:function(){return Y7.identity(this.array),this._dirty=!0,this},invert:function(){return Y7.invert(this.array,this.array),this._dirty=!0,this},mul:function(e){return Y7.mul(this.array,this.array,e.array),this._dirty=!0,this},mulLeft:function(e){return Y7.mul(this.array,e.array,this.array),this._dirty=!0,this},multiply:function(e){return Y7.multiply(this.array,this.array,e.array),this._dirty=!0,this},multiplyLeft:function(e){return Y7.multiply(this.array,e.array,this.array),this._dirty=!0,this},rotate:function(e){return Y7.rotate(this.array,this.array,e),this._dirty=!0,this},scale:function(e){return Y7.scale(this.array,this.array,e.array),this._dirty=!0,this},translate:function(e){return Y7.translate(this.array,this.array,e.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},z7.copy=function(e,t){return Y7.copy(e.array,t.array),e._dirty=!0,e},z7.determinant=function(e){return Y7.determinant(e.array)},z7.identity=function(e){return Y7.identity(e.array),e._dirty=!0,e},z7.invert=function(e,t){return Y7.invert(e.array,t.array),e._dirty=!0,e},z7.mul=function(e,t,n){return Y7.mul(e.array,t.array,n.array),e._dirty=!0,e},z7.multiply=z7.mul,z7.rotate=function(e,t,n){return Y7.rotate(e.array,t.array,n),e._dirty=!0,e},z7.scale=function(e,t,n){return Y7.scale(e.array,t.array,n.array),e._dirty=!0,e},z7.translate=function(e,t,n){return Y7.translate(e.array,t.array,n.array),e._dirty=!0,e};var H7=z7,j7=function(){this.array=c9.create(),this._dirty=!0};j7.prototype={constructor:j7,setArray:function(e){for(var t=0;t<this.array.length;t++)this.array[t]=e[t];return this._dirty=!0,this},adjoint:function(){return c9.adjoint(this.array,this.array),this._dirty=!0,this},clone:function(){return(new j7).copy(this)},copy:function(e){return c9.copy(this.array,e.array),this._dirty=!0,this},determinant:function(){return c9.determinant(this.array)},fromMat2d:function(e){return c9.fromMat2d(this.array,e.array),this._dirty=!0,this},fromMat4:function(e){return c9.fromMat4(this.array,e.array),this._dirty=!0,this},fromQuat:function(e){return c9.fromQuat(this.array,e.array),this._dirty=!0,this},identity:function(){return c9.identity(this.array),this._dirty=!0,this},invert:function(){return c9.invert(this.array,this.array),this._dirty=!0,this},mul:function(e){return c9.mul(this.array,this.array,e.array),this._dirty=!0,this},mulLeft:function(e){return c9.mul(this.array,e.array,this.array),this._dirty=!0,this},multiply:function(e){return c9.multiply(this.array,this.array,e.array),this._dirty=!0,this},multiplyLeft:function(e){return c9.multiply(this.array,e.array,this.array),this._dirty=!0,this},rotate:function(e){return c9.rotate(this.array,this.array,e),this._dirty=!0,this},scale:function(e){return c9.scale(this.array,this.array,e.array),this._dirty=!0,this},translate:function(e){return c9.translate(this.array,this.array,e.array),this._dirty=!0,this},normalFromMat4:function(e){return c9.normalFromMat4(this.array,e.array),this._dirty=!0,this},transpose:function(){return c9.transpose(this.array,this.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},j7.adjoint=function(e,t){return c9.adjoint(e.array,t.array),e._dirty=!0,e},j7.copy=function(e,t){return c9.copy(e.array,t.array),e._dirty=!0,e},j7.determinant=function(e){return c9.determinant(e.array)},j7.identity=function(e){return c9.identity(e.array),e._dirty=!0,e},j7.invert=function(e,t){return c9.invert(e.array,t.array),e},j7.mul=function(e,t,n){return c9.mul(e.array,t.array,n.array),e._dirty=!0,e},j7.multiply=j7.mul,j7.fromMat2d=function(e,t){return c9.fromMat2d(e.array,t.array),e._dirty=!0,e},j7.fromMat4=function(e,t){return c9.fromMat4(e.array,t.array),e._dirty=!0,e},j7.fromQuat=function(e,t){return c9.fromQuat(e.array,t.array),e._dirty=!0,e},j7.normalFromMat4=function(e,t){return c9.normalFromMat4(e.array,t.array),e._dirty=!0,e},j7.rotate=function(e,t,n){return c9.rotate(e.array,t.array,n),e._dirty=!0,e},j7.scale=function(e,t,n){return c9.scale(e.array,t.array,n.array),e._dirty=!0,e},j7.transpose=function(e,t){return c9.transpose(e.array,t.array),e._dirty=!0,e},j7.translate=function(e,t,n){return c9.translate(e.array,t.array,n.array),e._dirty=!0,e};var F7=j7,B7={_animators:null,getAnimators:function(){return this._animators=this._animators||[],this._animators},animate:function(e,t){this._animators=this._animators||[];var n,i=this;if(e){for(var r=e.split("."),a=i,o=0,s=r.length;o<s;o++)a&&(a=a[r[o]]);a&&(n=a)}else n=i;if(null==n)throw new Error("Target "+e+" not exists");var l=this._animators,u=new wn(n,t),c=this;return u.during((function(){c.__zr&&c.__zr.refresh()})).done((function(){var e=l.indexOf(u);e>=0&&l.splice(e,1)})),l.push(u),this.__zr&&this.__zr.animation.addAnimator(u),u},stopAnimation:function(e){this._animators=this._animators||[];for(var t=this._animators,n=t.length,i=0;i<n;i++)t[i].stop(e);return t.length=0,this},addAnimatorsToZr:function(e){if(this._animators)for(var t=0;t<this._animators.length;t++)e.animation.addAnimator(this._animators[t])},removeAnimatorsFromZr:function(e){if(this._animators)for(var t=0;t<this._animators.length;t++)e.animation.removeAnimator(this._animators[t])}},V7=B7,G7="\n@export clay.util.rand\nhighp float rand(vec2 uv) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot(uv.xy, vec2(a,b)), sn = mod(dt, 3.141592653589793);\n return fract(sin(sn) * c);\n}\n@end\n@export clay.util.calculate_attenuation\nuniform float attenuationFactor : 5.0;\nfloat lightAttenuation(float dist, float range)\n{\n float attenuation = 1.0;\n attenuation = dist*dist/(range*range+1.0);\n float att_s = attenuationFactor;\n attenuation = 1.0/(attenuation*att_s+1.0);\n att_s = 1.0/(att_s+1.0);\n attenuation = attenuation - att_s;\n attenuation /= 1.0 - att_s;\n return clamp(attenuation, 0.0, 1.0);\n}\n@end\n@export clay.util.edge_factor\n#ifdef SUPPORT_STANDARD_DERIVATIVES\nfloat edgeFactor(float width)\n{\n vec3 d = fwidth(v_Barycentric);\n vec3 a3 = smoothstep(vec3(0.0), d * width, v_Barycentric);\n return min(min(a3.x, a3.y), a3.z);\n}\n#else\nfloat edgeFactor(float width)\n{\n return 1.0;\n}\n#endif\n@end\n@export clay.util.encode_float\nvec4 encodeFloat(const in float depth)\n{\n const vec4 bitShifts = vec4(256.0*256.0*256.0, 256.0*256.0, 256.0, 1.0);\n const vec4 bit_mask = vec4(0.0, 1.0/256.0, 1.0/256.0, 1.0/256.0);\n vec4 res = fract(depth * bitShifts);\n res -= res.xxyz * bit_mask;\n return res;\n}\n@end\n@export clay.util.decode_float\nfloat decodeFloat(const in vec4 color)\n{\n const vec4 bitShifts = vec4(1.0/(256.0*256.0*256.0), 1.0/(256.0*256.0), 1.0/256.0, 1.0);\n return dot(color, bitShifts);\n}\n@end\n@export clay.util.float\n@import clay.util.encode_float\n@import clay.util.decode_float\n@end\n@export clay.util.rgbm_decode\nvec3 RGBMDecode(vec4 rgbm, float range) {\n return range * rgbm.rgb * rgbm.a;\n}\n@end\n@export clay.util.rgbm_encode\nvec4 RGBMEncode(vec3 color, float range) {\n if (dot(color, color) == 0.0) {\n return vec4(0.0);\n }\n vec4 rgbm;\n color /= range;\n rgbm.a = clamp(max(max(color.r, color.g), max(color.b, 1e-6)), 0.0, 1.0);\n rgbm.a = ceil(rgbm.a * 255.0) / 255.0;\n rgbm.rgb = color / rgbm.a;\n return rgbm;\n}\n@end\n@export clay.util.rgbm\n@import clay.util.rgbm_decode\n@import clay.util.rgbm_encode\nvec4 decodeHDR(vec4 color)\n{\n#if defined(RGBM_DECODE) || defined(RGBM)\n return vec4(RGBMDecode(color, 8.12), 1.0);\n#else\n return color;\n#endif\n}\nvec4 encodeHDR(vec4 color)\n{\n#if defined(RGBM_ENCODE) || defined(RGBM)\n return RGBMEncode(color.xyz, 8.12);\n#else\n return color;\n#endif\n}\n@end\n@export clay.util.srgb\nvec4 sRGBToLinear(in vec4 value) {\n return vec4(mix(pow(value.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), value.rgb * 0.0773993808, vec3(lessThanEqual(value.rgb, vec3(0.04045)))), value.w);\n}\nvec4 linearTosRGB(in vec4 value) {\n return vec4(mix(pow(value.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), value.rgb * 12.92, vec3(lessThanEqual(value.rgb, vec3(0.0031308)))), value.w);\n}\n@end\n@export clay.chunk.skinning_header\n#ifdef SKINNING\nattribute vec3 weight : WEIGHT;\nattribute vec4 joint : JOINT;\n#ifdef USE_SKIN_MATRICES_TEXTURE\nuniform sampler2D skinMatricesTexture : ignore;\nuniform float skinMatricesTextureSize: ignore;\nmat4 getSkinMatrix(sampler2D tex, float idx) {\n float j = idx * 4.0;\n float x = mod(j, skinMatricesTextureSize);\n float y = floor(j / skinMatricesTextureSize) + 0.5;\n vec2 scale = vec2(skinMatricesTextureSize);\n return mat4(\n texture2D(tex, vec2(x + 0.5, y) / scale),\n texture2D(tex, vec2(x + 1.5, y) / scale),\n texture2D(tex, vec2(x + 2.5, y) / scale),\n texture2D(tex, vec2(x + 3.5, y) / scale)\n );\n}\nmat4 getSkinMatrix(float idx) {\n return getSkinMatrix(skinMatricesTexture, idx);\n}\n#else\nuniform mat4 skinMatrix[JOINT_COUNT] : SKIN_MATRIX;\nmat4 getSkinMatrix(float idx) {\n return skinMatrix[int(idx)];\n}\n#endif\n#endif\n@end\n@export clay.chunk.skin_matrix\nmat4 skinMatrixWS = getSkinMatrix(joint.x) * weight.x;\nif (weight.y > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.y) * weight.y;\n}\nif (weight.z > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.z) * weight.z;\n}\nfloat weightW = 1.0-weight.x-weight.y-weight.z;\nif (weightW > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.w) * weightW;\n}\n@end\n@export clay.chunk.instancing_header\n#ifdef INSTANCING\nattribute vec4 instanceMat1;\nattribute vec4 instanceMat2;\nattribute vec4 instanceMat3;\n#endif\n@end\n@export clay.chunk.instancing_matrix\nmat4 instanceMat = mat4(\n vec4(instanceMat1.xyz, 0.0),\n vec4(instanceMat2.xyz, 0.0),\n vec4(instanceMat3.xyz, 0.0),\n vec4(instanceMat1.w, instanceMat2.w, instanceMat3.w, 1.0)\n);\n@end\n@export clay.util.parallax_correct\nvec3 parallaxCorrect(in vec3 dir, in vec3 pos, in vec3 boxMin, in vec3 boxMax) {\n vec3 first = (boxMax - pos) / dir;\n vec3 second = (boxMin - pos) / dir;\n vec3 further = max(first, second);\n float dist = min(further.x, min(further.y, further.z));\n vec3 fixedPos = pos + dir * dist;\n vec3 boxCenter = (boxMax + boxMin) * 0.5;\n return normalize(fixedPos - boxCenter);\n}\n@end\n@export clay.util.clamp_sample\nvec4 clampSample(const in sampler2D texture, const in vec2 coord)\n{\n#ifdef STEREO\n float eye = step(0.5, coord.x) * 0.5;\n vec2 coordClamped = clamp(coord, vec2(eye, 0.0), vec2(0.5 + eye, 1.0));\n#else\n vec2 coordClamped = clamp(coord, vec2(0.0), vec2(1.0));\n#endif\n return texture2D(texture, coordClamped);\n}\n@end\n@export clay.util.ACES\nvec3 ACESToneMapping(vec3 color)\n{\n const float A = 2.51;\n const float B = 0.03;\n const float C = 2.43;\n const float D = 0.59;\n const float E = 0.14;\n return (color * (A * color + B)) / (color * (C * color + D) + E);\n}\n@end",W7="\n@export ecgl.common.transformUniforms\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform mat4 worldInverseTranspose : WORLDINVERSETRANSPOSE;\nuniform mat4 world : WORLD;\n@end\n\n@export ecgl.common.attributes\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nattribute vec3 normal : NORMAL;\n@end\n\n@export ecgl.common.uv.header\nuniform vec2 uvRepeat : [1.0, 1.0];\nuniform vec2 uvOffset : [0.0, 0.0];\nuniform vec2 detailUvRepeat : [1.0, 1.0];\nuniform vec2 detailUvOffset : [0.0, 0.0];\n\nvarying vec2 v_Texcoord;\nvarying vec2 v_DetailTexcoord;\n@end\n\n@export ecgl.common.uv.main\nv_Texcoord = texcoord * uvRepeat + uvOffset;\nv_DetailTexcoord = texcoord * detailUvRepeat + detailUvOffset;\n@end\n\n@export ecgl.common.uv.fragmentHeader\nvarying vec2 v_Texcoord;\nvarying vec2 v_DetailTexcoord;\n@end\n\n\n@export ecgl.common.albedo.main\n\n vec4 albedoTexel = vec4(1.0);\n#ifdef DIFFUSEMAP_ENABLED\n albedoTexel = texture2D(diffuseMap, v_Texcoord);\n #ifdef SRGB_DECODE\n albedoTexel = sRGBToLinear(albedoTexel);\n #endif\n#endif\n\n#ifdef DETAILMAP_ENABLED\n vec4 detailTexel = texture2D(detailMap, v_DetailTexcoord);\n #ifdef SRGB_DECODE\n detailTexel = sRGBToLinear(detailTexel);\n #endif\n albedoTexel.rgb = mix(albedoTexel.rgb, detailTexel.rgb, detailTexel.a);\n albedoTexel.a = detailTexel.a + (1.0 - detailTexel.a) * albedoTexel.a;\n#endif\n\n@end\n\n@export ecgl.common.wireframe.vertexHeader\n\n#ifdef WIREFRAME_QUAD\nattribute vec4 barycentric;\nvarying vec4 v_Barycentric;\n#elif defined(WIREFRAME_TRIANGLE)\nattribute vec3 barycentric;\nvarying vec3 v_Barycentric;\n#endif\n\n@end\n\n@export ecgl.common.wireframe.vertexMain\n\n#if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE)\n v_Barycentric = barycentric;\n#endif\n\n@end\n\n\n@export ecgl.common.wireframe.fragmentHeader\n\nuniform float wireframeLineWidth : 1;\nuniform vec4 wireframeLineColor: [0, 0, 0, 0.5];\n\n#ifdef WIREFRAME_QUAD\nvarying vec4 v_Barycentric;\nfloat edgeFactor () {\n vec4 d = fwidth(v_Barycentric);\n vec4 a4 = smoothstep(vec4(0.0), d * wireframeLineWidth, v_Barycentric);\n return min(min(min(a4.x, a4.y), a4.z), a4.w);\n}\n#elif defined(WIREFRAME_TRIANGLE)\nvarying vec3 v_Barycentric;\nfloat edgeFactor () {\n vec3 d = fwidth(v_Barycentric);\n vec3 a3 = smoothstep(vec3(0.0), d * wireframeLineWidth, v_Barycentric);\n return min(min(a3.x, a3.y), a3.z);\n}\n#endif\n\n@end\n\n\n@export ecgl.common.wireframe.fragmentMain\n\n#if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE)\n if (wireframeLineWidth > 0.) {\n vec4 lineColor = wireframeLineColor;\n#ifdef SRGB_DECODE\n lineColor = sRGBToLinear(lineColor);\n#endif\n\n gl_FragColor.rgb = mix(gl_FragColor.rgb, lineColor.rgb, (1.0 - edgeFactor()) * lineColor.a);\n }\n#endif\n@end\n\n\n\n\n@export ecgl.common.bumpMap.header\n\n#ifdef BUMPMAP_ENABLED\nuniform sampler2D bumpMap;\nuniform float bumpScale : 1.0;\n\n\nvec3 bumpNormal(vec3 surfPos, vec3 surfNormal, vec3 baseNormal)\n{\n vec2 dSTdx = dFdx(v_Texcoord);\n vec2 dSTdy = dFdy(v_Texcoord);\n\n float Hll = bumpScale * texture2D(bumpMap, v_Texcoord).x;\n float dHx = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdx).x - Hll;\n float dHy = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdy).x - Hll;\n\n vec3 vSigmaX = dFdx(surfPos);\n vec3 vSigmaY = dFdy(surfPos);\n vec3 vN = surfNormal;\n\n vec3 R1 = cross(vSigmaY, vN);\n vec3 R2 = cross(vN, vSigmaX);\n\n float fDet = dot(vSigmaX, R1);\n\n vec3 vGrad = sign(fDet) * (dHx * R1 + dHy * R2);\n return normalize(abs(fDet) * baseNormal - vGrad);\n\n}\n#endif\n\n@end\n\n@export ecgl.common.normalMap.vertexHeader\n\n#ifdef NORMALMAP_ENABLED\nattribute vec4 tangent : TANGENT;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@end\n\n@export ecgl.common.normalMap.vertexMain\n\n#ifdef NORMALMAP_ENABLED\n if (dot(tangent, tangent) > 0.0) {\n v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz);\n v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w);\n }\n#endif\n\n@end\n\n\n@export ecgl.common.normalMap.fragmentHeader\n\n#ifdef NORMALMAP_ENABLED\nuniform sampler2D normalMap;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@end\n\n@export ecgl.common.normalMap.fragmentMain\n#ifdef NORMALMAP_ENABLED\n if (dot(v_Tangent, v_Tangent) > 0.0) {\n vec3 normalTexel = texture2D(normalMap, v_DetailTexcoord).xyz;\n if (dot(normalTexel, normalTexel) > 0.0) { N = normalTexel * 2.0 - 1.0;\n mat3 tbn = mat3(v_Tangent, v_Bitangent, v_Normal);\n N = normalize(tbn * N);\n }\n }\n#endif\n@end\n\n\n\n@export ecgl.common.vertexAnimation.header\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute vec3 prevNormal;\nuniform float percent;\n#endif\n\n@end\n\n@export ecgl.common.vertexAnimation.main\n\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n vec3 norm = mix(prevNormal, normal, percent);\n#else\n vec3 pos = position;\n vec3 norm = normal;\n#endif\n\n@end\n\n\n@export ecgl.common.ssaoMap.header\n#ifdef SSAOMAP_ENABLED\nuniform sampler2D ssaoMap;\nuniform vec4 viewport : VIEWPORT;\n#endif\n@end\n\n@export ecgl.common.ssaoMap.main\n float ao = 1.0;\n#ifdef SSAOMAP_ENABLED\n ao = texture2D(ssaoMap, (gl_FragCoord.xy - viewport.xy) / viewport.zw).r;\n#endif\n@end\n\n\n\n\n@export ecgl.common.diffuseLayer.header\n\n#if (LAYER_DIFFUSEMAP_COUNT > 0)\nuniform float layerDiffuseIntensity[LAYER_DIFFUSEMAP_COUNT];\nuniform sampler2D layerDiffuseMap[LAYER_DIFFUSEMAP_COUNT];\n#endif\n\n@end\n\n@export ecgl.common.emissiveLayer.header\n\n#if (LAYER_EMISSIVEMAP_COUNT > 0)\nuniform float layerEmissionIntensity[LAYER_EMISSIVEMAP_COUNT];\nuniform sampler2D layerEmissiveMap[LAYER_EMISSIVEMAP_COUNT];\n#endif\n\n@end\n\n@export ecgl.common.layers.header\n@import ecgl.common.diffuseLayer.header\n@import ecgl.common.emissiveLayer.header\n@end\n\n@export ecgl.common.diffuseLayer.main\n\n#if (LAYER_DIFFUSEMAP_COUNT > 0)\n for (int _idx_ = 0; _idx_ < LAYER_DIFFUSEMAP_COUNT; _idx_++) {{\n float intensity = layerDiffuseIntensity[_idx_];\n vec4 texel2 = texture2D(layerDiffuseMap[_idx_], v_Texcoord);\n #ifdef SRGB_DECODE\n texel2 = sRGBToLinear(texel2);\n #endif\n albedoTexel.rgb = mix(albedoTexel.rgb, texel2.rgb * intensity, texel2.a);\n albedoTexel.a = texel2.a + (1.0 - texel2.a) * albedoTexel.a;\n }}\n#endif\n\n@end\n\n@export ecgl.common.emissiveLayer.main\n\n#if (LAYER_EMISSIVEMAP_COUNT > 0)\n for (int _idx_ = 0; _idx_ < LAYER_EMISSIVEMAP_COUNT; _idx_++)\n {{\n vec4 texel2 = texture2D(layerEmissiveMap[_idx_], v_Texcoord) * layerEmissionIntensity[_idx_];\n #ifdef SRGB_DECODE\n texel2 = sRGBToLinear(texel2);\n #endif\n float intensity = layerEmissionIntensity[_idx_];\n gl_FragColor.rgb += texel2.rgb * texel2.a * intensity;\n }}\n#endif\n\n@end\n",U7="@export ecgl.color.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\n@import ecgl.common.uv.header\n\nattribute vec2 texcoord : TEXCOORD_0;\nattribute vec3 position: POSITION;\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nuniform float percent : 1.0;\n#endif\n\n#ifdef ATMOSPHERE_ENABLED\nattribute vec3 normal: NORMAL;\nuniform mat4 worldInverseTranspose : WORLDINVERSETRANSPOSE;\nvarying vec3 v_Normal;\n#endif\n\nvoid main()\n{\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n#else\n vec3 pos = position;\n#endif\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n @import ecgl.common.uv.main\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n#ifdef ATMOSPHERE_ENABLED\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n\n}\n\n@end\n\n@export ecgl.color.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n\nuniform sampler2D diffuseMap;\nuniform sampler2D detailMap;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\n#ifdef ATMOSPHERE_ENABLED\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform vec3 glowColor;\nuniform float glowPower;\nvarying vec3 v_Normal;\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n@import ecgl.common.layers.header\n\n@import ecgl.common.uv.fragmentHeader\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color);\n#else\n gl_FragColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n gl_FragColor *= albedoTexel;\n\n#ifdef ATMOSPHERE_ENABLED\n float atmoIntensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor.rgb += glowColor * atmoIntensity;\n#endif\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n\n}\n@end",X7="/**\n * http: */\n\n@export ecgl.lambert.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n\n@import ecgl.common.attributes\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.vertexAnimation.header\n\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nvoid main()\n{\n @import ecgl.common.uv.main\n\n @import ecgl.common.vertexAnimation.main\n\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n}\n\n@end\n\n\n@export ecgl.lambert.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform sampler2D diffuseMap;\nuniform sampler2D detailMap;\n\n@import ecgl.common.layers.header\n\nuniform float emissionIntensity: 1.0;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef ATMOSPHERE_ENABLED\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform vec3 glowColor;\nuniform float glowPower;\n#endif\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color);\n#else\n gl_FragColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n gl_FragColor *= sRGBToLinear(v_Color);\n #else\n gl_FragColor *= v_Color;\n #endif\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n gl_FragColor *= albedoTexel;\n\n vec3 N = v_Normal;\n#ifdef DOUBLE_SIDED\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n vec3 diffuseColor = vec3(0.0, 0.0, 0.0);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++)\n {\n diffuseColor += ambientLightColor[i] * ambientFactor * ao;\n }\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n diffuseColor += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao;\n }}\n#endif\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++)\n {\n vec3 lightDirection = -directionalLightDirection[i];\n vec3 lightColor = directionalLightColor[i];\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[i];\n }\n#endif\n\n float ndl = dot(N, normalize(lightDirection)) * shadowContrib;\n\n diffuseColor += lightColor * clamp(ndl, 0.0, 1.0);\n }\n#endif\n\n gl_FragColor.rgb *= diffuseColor;\n\n#ifdef ATMOSPHERE_ENABLED\n float atmoIntensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor.rgb += glowColor * atmoIntensity;\n#endif\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end",Z7="@export ecgl.realistic.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef NORMALMAP_ENABLED\nattribute vec4 tangent : TANGENT;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@import ecgl.common.vertexAnimation.header\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nvoid main()\n{\n\n @import ecgl.common.uv.main\n\n @import ecgl.common.vertexAnimation.main\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n#ifdef NORMALMAP_ENABLED\n v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz);\n v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w);\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n\n}\n\n@end\n\n\n\n@export ecgl.realistic.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n#define PI 3.14159265358979\n#define ROUGHNESS_CHANEL 0\n#define METALNESS_CHANEL 1\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform sampler2D diffuseMap;\n\nuniform sampler2D detailMap;\nuniform sampler2D metalnessMap;\nuniform sampler2D roughnessMap;\n\n@import ecgl.common.layers.header\n\nuniform float emissionIntensity: 1.0;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nuniform float metalness : 0.0;\nuniform float roughness : 0.5;\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef ATMOSPHERE_ENABLED\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform vec3 glowColor;\nuniform float glowPower;\n#endif\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef AMBIENT_CUBEMAP_LIGHT_COUNT\n@import clay.header.ambient_cubemap_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n@import ecgl.common.normalMap.fragmentHeader\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import clay.util.rgbm\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nvec3 F_Schlick(float ndv, vec3 spec) {\n return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0);\n}\n\nfloat D_Phong(float g, float ndh) {\n float a = pow(8192.0, g);\n return (a + 2.0) / 8.0 * pow(ndh, a);\n}\n\nvoid main()\n{\n vec4 albedoColor = color;\n\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n albedoColor *= sRGBToLinear(v_Color);\n #else\n albedoColor *= v_Color;\n #endif\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n albedoColor *= albedoTexel;\n\n float m = metalness;\n\n#ifdef METALNESSMAP_ENABLED\n float m2 = texture2D(metalnessMap, v_DetailTexcoord)[METALNESS_CHANEL];\n m = clamp(m2 + (m - 0.5) * 2.0, 0.0, 1.0);\n#endif\n\n vec3 baseColor = albedoColor.rgb;\n albedoColor.rgb = baseColor * (1.0 - m);\n vec3 specFactor = mix(vec3(0.04), baseColor, m);\n\n float g = 1.0 - roughness;\n\n#ifdef ROUGHNESSMAP_ENABLED\n float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL];\n g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0);\n#endif\n\n vec3 N = v_Normal;\n\n#ifdef DOUBLE_SIDED\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n@import ecgl.common.normalMap.fragmentMain\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n vec3 diffuseTerm = vec3(0.0);\n vec3 specularTerm = vec3(0.0);\n\n float ndv = clamp(dot(N, V), 0.0, 1.0);\n vec3 fresnelTerm = F_Schlick(ndv, specFactor);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_LIGHT_COUNT; _idx_++)\n {{\n diffuseTerm += ambientLightColor[_idx_] * ambientFactor * ao;\n }}\n#endif\n\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n diffuseTerm += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao;\n }}\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++)\n {{\n vec3 L = -directionalLightDirection[_idx_];\n vec3 lc = directionalLightColor[_idx_];\n\n vec3 H = normalize(L + V);\n float ndl = clamp(dot(N, normalize(L)), 0.0, 1.0);\n float ndh = clamp(dot(N, H), 0.0, 1.0);\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[_idx_];\n }\n#endif\n\n vec3 li = lc * ndl * shadowContrib;\n\n diffuseTerm += li;\n specularTerm += li * fresnelTerm * D_Phong(g, ndh);\n }}\n#endif\n\n\n#ifdef AMBIENT_CUBEMAP_LIGHT_COUNT\n vec3 L = reflect(-V, N);\n L = vec3(L.x, L[NORMAL_UP_AXIS], L[NORMAL_FRONT_AXIS]);\n float rough2 = clamp(1.0 - g, 0.0, 1.0);\n float bias2 = rough2 * 5.0;\n vec2 brdfParam2 = texture2D(ambientCubemapLightBRDFLookup[0], vec2(rough2, ndv)).xy;\n vec3 envWeight2 = specFactor * brdfParam2.x + brdfParam2.y;\n vec3 envTexel2;\n for(int _idx_ = 0; _idx_ < AMBIENT_CUBEMAP_LIGHT_COUNT; _idx_++)\n {{\n envTexel2 = RGBMDecode(textureCubeLodEXT(ambientCubemapLightCubemap[_idx_], L, bias2), 8.12);\n specularTerm += ambientCubemapLightColor[_idx_] * envTexel2 * envWeight2 * ao;\n }}\n#endif\n\n gl_FragColor.rgb = albedoColor.rgb * diffuseTerm + specularTerm;\n gl_FragColor.a = albedoColor.a;\n\n#ifdef ATMOSPHERE_ENABLED\n float atmoIntensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor.rgb += glowColor * atmoIntensity;\n#endif\n\n#ifdef SRGB_ENCODE\n gl_FragColor = linearTosRGB(gl_FragColor);\n#endif\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end",q7="@export ecgl.hatching.vertex\n\n@import ecgl.realistic.vertex\n\n@end\n\n\n@export ecgl.hatching.fragment\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform vec4 color : [0.0, 0.0, 0.0, 1.0];\nuniform vec4 paperColor : [1.0, 1.0, 1.0, 1.0];\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nuniform sampler2D hatch1;\nuniform sampler2D hatch2;\nuniform sampler2D hatch3;\nuniform sampler2D hatch4;\nuniform sampler2D hatch5;\nuniform sampler2D hatch6;\n\nfloat shade(in float tone) {\n vec4 c = vec4(1. ,1., 1., 1.);\n float step = 1. / 6.;\n vec2 uv = v_DetailTexcoord;\n if (tone <= step / 2.0) {\n c = mix(vec4(0.), texture2D(hatch6, uv), 12. * tone);\n }\n else if (tone <= step) {\n c = mix(texture2D(hatch6, uv), texture2D(hatch5, uv), 6. * tone);\n }\n if(tone > step && tone <= 2. * step){\n c = mix(texture2D(hatch5, uv), texture2D(hatch4, uv) , 6. * (tone - step));\n }\n if(tone > 2. * step && tone <= 3. * step){\n c = mix(texture2D(hatch4, uv), texture2D(hatch3, uv), 6. * (tone - 2. * step));\n }\n if(tone > 3. * step && tone <= 4. * step){\n c = mix(texture2D(hatch3, uv), texture2D(hatch2, uv), 6. * (tone - 3. * step));\n }\n if(tone > 4. * step && tone <= 5. * step){\n c = mix(texture2D(hatch2, uv), texture2D(hatch1, uv), 6. * (tone - 4. * step));\n }\n if(tone > 5. * step){\n c = mix(texture2D(hatch1, uv), vec4(1.), 6. * (tone - 5. * step));\n }\n\n return c.r;\n}\n\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n vec4 inkColor = sRGBToLinear(color);\n#else\n vec4 inkColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n inkColor *= sRGBToLinear(v_Color);\n #else\n inkColor *= v_Color;\n #endif\n#endif\n\n vec3 N = v_Normal;\n#ifdef DOUBLE_SIDED\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float tone = 0.0;\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++)\n {\n tone += dot(ambientLightColor[i], w) * ambientFactor * ao;\n }\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n tone += dot(calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_], w) * ao;\n }}\n#endif\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++)\n {\n vec3 lightDirection = -directionalLightDirection[i];\n float lightTone = dot(directionalLightColor[i], w);\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[i];\n }\n#endif\n\n float ndl = dot(N, normalize(lightDirection)) * shadowContrib;\n\n tone += lightTone * clamp(ndl, 0.0, 1.0);\n }\n#endif\n\n gl_FragColor = mix(inkColor, paperColor, shade(clamp(tone, 0.0, 1.0)));\n }\n@end\n",$7="@export ecgl.sm.depth.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nuniform float percent : 1.0;\n#endif\n\nvarying vec4 v_ViewPosition;\nvarying vec2 v_Texcoord;\n\nvoid main(){\n\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n#else\n vec3 pos = position;\n#endif\n\n v_ViewPosition = worldViewProjection * vec4(pos, 1.0);\n gl_Position = v_ViewPosition;\n\n v_Texcoord = texcoord;\n\n}\n@end\n\n\n\n@export ecgl.sm.depth.fragment\n\n@import clay.sm.depth.fragment\n\n@end";function J7(e){return!e||"none"===e}function K7(e){return e instanceof HTMLCanvasElement||e instanceof HTMLImageElement||e instanceof Image}function Q7(e){return e.getZr&&e.setOption}Object.assign(D9.prototype,V7),I5.import(G7),I5.import(C5),I5.import(W7),I5.import(U7),I5.import(X7),I5.import(Z7),I5.import(q7),I5.import($7);var eee=C8.prototype.addToScene,tee=C8.prototype.removeFromScene;C8.prototype.addToScene=function(e){if(eee.call(this,e),this.__zr){var t=this.__zr;e.traverse((function(e){e.__zr=t,e.addAnimatorsToZr&&e.addAnimatorsToZr(t)}))}},C8.prototype.removeFromScene=function(e){tee.call(this,e),e.traverse((function(e){var t=e.__zr;e.__zr=null,t&&e.removeAnimatorsFromZr&&e.removeAnimatorsFromZr(t)}))},F4.prototype.setTextureImage=function(e,t,n,i){if(this.shader){var r,a=n.getZr(),o=this;return o.autoUpdateTextureStatus=!1,o.disableTexture(e),J7(t)||(r=nee.loadTexture(t,n,i,(function(t){o.enableTexture(e),a&&a.refresh()})),o.set(e,r)),r}};var nee={};nee.Renderer=q5,nee.Node=D9,nee.Mesh=z9,nee.Shader=I5,nee.Material=F4,nee.Texture=R9,nee.Texture2D=W9,nee.Geometry=r8,nee.SphereGeometry=_7,nee.PlaneGeometry=n6,nee.CubeGeometry=o6,nee.AmbientLight=b7,nee.DirectionalLight=M7,nee.PointLight=T7,nee.SpotLight=D7,nee.PerspectiveCamera=H8,nee.OrthographicCamera=Z6,nee.Vector2=q4,nee.Vector3=i9,nee.Vector4=I7,nee.Quaternion=x9,nee.Matrix2=N7,nee.Matrix2d=H7,nee.Matrix3=F7,nee.Matrix4=g9,nee.Plane=m8,nee.Ray=o9,nee.BoundingBox=S9,nee.Frustum=w8;var iee=null;function ree(){return null!==iee||(iee=B6.createBlank("rgba(255,255,255,0)").image),iee}function aee(e){return Math.pow(2,Math.round(Math.log(e)/Math.LN2))}function oee(e){if((e.wrapS===R9.REPEAT||e.wrapT===R9.REPEAT)&&e.image){var t=aee(e.width),n=aee(e.height);if(t!==e.width||n!==e.height){var i=document.createElement("canvas");i.width=t,i.height=n;var r=i.getContext("2d");r.drawImage(e.image,0,0,t,n),e.image=i}}}nee.loadTexture=function(e,t,n,i){"function"===typeof n&&(i=n,n={}),n=n||{};for(var r=Object.keys(n).sort(),a="",o=0;o<r.length;o++)a+=r[o]+"_"+n[r[o]]+"_";var s=t.__textureCache=t.__textureCache||new ui["a"](20);if(Q7(e)){var l=e.__textureid__,u=s.get(a+l);if(u)u.texture.surface.setECharts(e),i&&i(u.texture);else{var c=new U6(e);c.onupdate=function(){t.getZr().refresh()},u={texture:c.getTexture()};for(o=0;o<r.length;o++)u.texture[r[o]]=n[r[o]];l=e.__textureid__||"__ecgl_ec__"+u.texture.__uid__,e.__textureid__=l,s.put(a+l,u),i&&i(u.texture)}return u.texture}if(K7(e)){l=e.__textureid__,u=s.get(a+l);if(!u){u={texture:new nee.Texture2D({image:e})};for(o=0;o<r.length;o++)u.texture[r[o]]=n[r[o]];l=e.__textureid__||"__ecgl_image__"+u.texture.__uid__,e.__textureid__=l,s.put(a+l,u),oee(u.texture),i&&i(u.texture)}return u.texture}u=s.get(a+e);if(u)u.callbacks?u.callbacks.push(i):i&&i(u.texture);else if(e.match(/.hdr$|^data:application\/octet-stream/)){u={callbacks:[i]};var h=B6.loadTexture(e,{exposure:n.exposure,fileType:"hdr"},(function(){h.dirty(),u.callbacks.forEach((function(e){e&&e(h)})),u.callbacks=null}));u.texture=h,s.put(a+e,u)}else{for(h=new nee.Texture2D({image:new Image}),o=0;o<r.length;o++)h[r[o]]=n[r[o]];u={texture:h,callbacks:[i]};var d=h.image;d.onload=function(){h.image=d,oee(h),h.dirty(),u.callbacks.forEach((function(e){e&&e(h)})),u.callbacks=null},d.crossOrigin="Anonymous",d.src=e,h.image=ree(),s.put(a+e,u)}return u.texture},nee.createAmbientCubemap=function(e,t,n,i){e=e||{};var r=e.texture,a=y7.firstNotNull(e.exposure,1),o=new s7({intensity:y7.firstNotNull(e.specularIntensity,1)}),s=new u7({intensity:y7.firstNotNull(e.diffuseIntensity,1),coefficients:[.844,.712,.691,-.037,.083,.167,.343,.288,.299,-.041,-.021,-.009,-.003,-.041,-.064,-.011,-.007,-.004,-.031,.034,.081,-.06,-.049,-.06,.046,.056,.05]});return o.cubemap=nee.loadTexture(r,n,{exposure:a},(function(){o.cubemap.flipY=!1,o.prefilter(t,32),s.coefficients=m7.projectEnvironmentMap(t,o.cubemap,{lod:1}),i&&i()})),{specular:o,diffuse:s}},nee.createBlankTexture=B6.createBlank,nee.isImage=K7,nee.additiveBlend=function(e){e.blendEquation(e.FUNC_ADD),e.blendFunc(e.SRC_ALPHA,e.ONE)},nee.parseColor=function(e,t){return e instanceof Array?(t||(t=[]),t[0]=e[0],t[1]=e[1],t[2]=e[2],e.length>3?t[3]=e[3]:t[3]=1,t):(t=$t.parse(e||"#000",t)||[0,0,0,0],t[0]/=255,t[1]/=255,t[2]/=255,t)},nee.directionFromAlphaBeta=function(e,t){var n=e/180*Math.PI+Math.PI/2,i=-t/180*Math.PI+Math.PI/2,r=[],a=Math.sin(n);return r[0]=a*Math.cos(i),r[1]=-Math.cos(n),r[2]=a*Math.sin(i),r},nee.getShadowResolution=function(e){var t=1024;switch(e){case"low":t=512;break;case"medium":break;case"high":t=2048;break;case"ultra":t=4096;break}return t},nee.COMMON_SHADERS=["lambert","color","realistic","hatching","shadow"],nee.createShader=function(e){"ecgl.shadow"===e&&(e="ecgl.displayShadow");var t=I5.source(e+".vertex"),n=I5.source(e+".fragment");t||console.error("Vertex shader of '%s' not exits",e),n||console.error("Fragment shader of '%s' not exits",e);var i=new I5(t,n);return i.name=e,i},nee.createMaterial=function(e,t){t instanceof Array||(t=[t]);var n=nee.createShader(e),i=new F4({shader:n});return t.forEach((function(e){"string"===typeof e&&i.define(e)})),i},nee.setMaterialFromModel=function(e,t,n,i){t.autoUpdateTextureStatus=!1;var r=n.getModel(e+"Material"),a=r.get("detailTexture"),o=y7.firstNotNull(r.get("textureTiling"),1),s=y7.firstNotNull(r.get("textureOffset"),0);"number"===typeof o&&(o=[o,o]),"number"===typeof s&&(s=[s,s]);var l=o[0]>1||o[1]>1?nee.Texture.REPEAT:nee.Texture.CLAMP_TO_EDGE,u={anisotropic:8,wrapS:l,wrapT:l};if("realistic"===e){var c=r.get("roughness"),h=r.get("metalness");null!=h?isNaN(h)&&(t.setTextureImage("metalnessMap",h,i,u),h=y7.firstNotNull(r.get("metalnessAdjust"),.5)):h=0,null!=c?isNaN(c)&&(t.setTextureImage("roughnessMap",c,i,u),c=y7.firstNotNull(r.get("roughnessAdjust"),.5)):c=.5;var d=r.get("normalTexture");t.setTextureImage("detailMap",a,i,u),t.setTextureImage("normalMap",d,i,u),t.set({roughness:c,metalness:h,detailUvRepeat:o,detailUvOffset:s})}else if("lambert"===e)t.setTextureImage("detailMap",a,i,u),t.set({detailUvRepeat:o,detailUvOffset:s});else if("color"===e)t.setTextureImage("detailMap",a,i,u),t.set({detailUvRepeat:o,detailUvOffset:s});else if("hatching"===e){var f=r.get("hatchingTextures")||[];f.length;for(var p=0;p<6;p++)t.setTextureImage("hatch"+(p+1),f[p],i,{anisotropic:8,wrapS:nee.Texture.REPEAT,wrapT:nee.Texture.REPEAT});t.set({detailUvRepeat:o,detailUvOffset:s})}},nee.updateVertexAnimation=function(e,t,n,i){var r=i.get("animation"),a=i.get("animationDurationUpdate"),o=i.get("animationEasingUpdate"),s=n.shadowDepthMaterial;if(r&&t&&a>0&&t.geometry.vertexCount===n.geometry.vertexCount){n.material.define("vertex","VERTEX_ANIMATION"),n.ignorePreZ=!0,s&&s.define("vertex","VERTEX_ANIMATION");for(var l=0;l<e.length;l++)n.geometry.attributes[e[l][0]].value=t.geometry.attributes[e[l][1]].value;n.geometry.dirty(),n.__percent=0,n.material.set("percent",0),n.stopAnimation(),n.animate().when(a,{__percent:1}).during((function(){n.material.set("percent",n.__percent),s&&s.set("percent",n.__percent)})).done((function(){n.ignorePreZ=!1,n.material.undefine("vertex","VERTEX_ANIMATION"),s&&s.undefine("vertex","VERTEX_ANIMATION")})).start(o)}else n.material.undefine("vertex","VERTEX_ANIMATION"),s&&s.undefine("vertex","VERTEX_ANIMATION")};var see=nee,lee=function(e,t){this.id=e,this.zr=t;try{this.renderer=new q5({clearBit:0,devicePixelRatio:t.painter.dpr,preserveDrawingBuffer:!0,premultipliedAlpha:!0}),this.renderer.resize(t.painter.getWidth(),t.painter.getHeight())}catch(i){return this.renderer=null,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute; left: 0; top: 0; right: 0; bottom: 0;",this.dom.className="ecgl-nowebgl",this.dom.innerHTML="Sorry, your browser does not support WebGL",void console.error(i)}this.onglobalout=this.onglobalout.bind(this),t.on("globalout",this.onglobalout),this.dom=this.renderer.canvas;var n=this.dom.style;n.position="absolute",n.left="0",n.top="0",this.views=[],this._picking=new I9({renderer:this.renderer}),this._viewsToDispose=[],this._accumulatingId=0,this._zrEventProxy=new l.Rect({shape:{x:-1,y:-1,width:2,height:2},__isGLToZRProxy:!0}),this._backgroundColor=null,this._disposed=!1};function uee(e){var t=e.__zr;e.__zr=null,t&&e.removeAnimatorsFromZr&&e.removeAnimatorsFromZr(t)}lee.prototype.setUnpainted=function(){},lee.prototype.addView=function(e){if(e.layer!==this){var t=this._viewsToDispose.indexOf(e);t>=0&&this._viewsToDispose.splice(t,1),this.views.push(e),e.layer=this;var n=this.zr;e.scene.traverse((function(e){e.__zr=n,e.addAnimatorsToZr&&e.addAnimatorsToZr(n)}))}},lee.prototype.removeView=function(e){if(e.layer===this){var t=this.views.indexOf(e);t>=0&&(this.views.splice(t,1),e.scene.traverse(uee,this),e.layer=null,this._viewsToDispose.push(e))}},lee.prototype.removeViewsAll=function(){this.views.forEach((function(e){e.scene.traverse(uee,this),e.layer=null,this._viewsToDispose.push(e)}),this),this.views.length=0},lee.prototype.resize=function(e,t){var n=this.renderer;n.resize(e,t)},lee.prototype.clear=function(){var e=this.renderer.gl,t=this._backgroundColor||[0,0,0,0];e.clearColor(t[0],t[1],t[2],t[3]),e.depthMask(!0),e.colorMask(!0,!0,!0,!0),e.clear(e.DEPTH_BUFFER_BIT|e.COLOR_BUFFER_BIT)},lee.prototype.clearDepth=function(){var e=this.renderer.gl;e.clear(e.DEPTH_BUFFER_BIT)},lee.prototype.clearColor=function(){var e=this.renderer.gl;e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT)},lee.prototype.needsRefresh=function(){this.zr.refresh()},lee.prototype.refresh=function(e){this._backgroundColor=e?see.parseColor(e):[0,0,0,0],this.renderer.clearColor=this._backgroundColor;for(var t=0;t<this.views.length;t++)this.views[t].prepareRender(this.renderer);this._doRender(!1),this._trackAndClean();for(t=0;t<this._viewsToDispose.length;t++)this._viewsToDispose[t].dispose(this.renderer);this._viewsToDispose.length=0,this._startAccumulating()},lee.prototype.renderToCanvas=function(e){this._startAccumulating(!0),e.drawImage(this.dom,0,0,e.canvas.width,e.canvas.height)},lee.prototype._doRender=function(e){this.clear(),this.renderer.saveViewport();for(var t=0;t<this.views.length;t++)this.views[t].render(this.renderer,e);this.renderer.restoreViewport()},lee.prototype._stopAccumulating=function(){this._accumulatingId=0,clearTimeout(this._accumulatingTimeout)};var cee=1;function hee(e){for(var t=0;t<e.length;t++)e[t].__used__=0}function dee(e,t){for(var n=0;n<t.length;n++)t[n].__used__||t[n].dispose(e)}function fee(e,t){e.__used__=e.__used__||0,e.__used__++,1===e.__used__&&t.push(e)}function pee(e,t,n){var i,r;e.traverse((function(e){if(e.isRenderable()){var a=e.geometry,o=e.material;if(o!==i)for(var s=o.getTextureUniforms(),l=0;l<s.length;l++){var u=s[l],c=o.uniforms[u].value;if(c)if(c instanceof R9)fee(c,t);else if(c instanceof Array)for(var h=0;h<c.length;h++)c[h]instanceof R9&&fee(c[h],t)}a!==r&&fee(a,n),i=o,r=a}}));for(var a=0;a<e.lights.length;a++)e.lights[a].cubemap&&fee(e.lights[a].cubemap,t)}lee.prototype._startAccumulating=function(e){var t=this;this._stopAccumulating();for(var n=!1,i=0;i<this.views.length;i++)n=this.views[i].needsAccumulate()||n;function r(i){if(t._accumulatingId&&i===t._accumulatingId){for(var a=!0,o=0;o<t.views.length;o++)a=t.views[o].isAccumulateFinished()&&n;a||(t._doRender(!0),e?r(i):vt((function(){r(i)})))}}n&&(this._accumulatingId=cee++,e?r(t._accumulatingId):this._accumulatingTimeout=setTimeout((function(){r(t._accumulatingId)}),50))},lee.prototype._trackAndClean=function(){var e=[],t=[];this._textureList&&(hee(this._textureList),hee(this._geometriesList));for(var n=0;n<this.views.length;n++)pee(this.views[n].scene,e,t);this._textureList&&(dee(this.renderer,this._textureList),dee(this.renderer,this._geometriesList)),this._textureList=e,this._geometriesList=t},lee.prototype.dispose=function(){this._disposed||(this._stopAccumulating(),this._textureList&&(hee(this._textureList),hee(this._geometriesList),dee(this.renderer,this._textureList),dee(this.renderer,this._geometriesList)),this.zr.off("globalout",this.onglobalout),this._disposed=!0)},lee.prototype.onmousedown=function(e){if(!e.target||!e.target.__isGLToZRProxy){e=e.event;var t=this.pickObject(e.offsetX,e.offsetY);t&&(this._dispatchEvent("mousedown",e,t),this._dispatchDataEvent("mousedown",e,t)),this._downX=e.offsetX,this._downY=e.offsetY}},lee.prototype.onmousemove=function(e){if(!e.target||!e.target.__isGLToZRProxy){e=e.event;var t=this.pickObject(e.offsetX,e.offsetY),n=t&&t.target,i=this._hovered;this._hovered=t,i&&n!==i.target&&(i.relatedTarget=n,this._dispatchEvent("mouseout",e,i),this.zr.setCursorStyle("default")),this._dispatchEvent("mousemove",e,t),t&&(this.zr.setCursorStyle("pointer"),i&&n===i.target||this._dispatchEvent("mouseover",e,t)),this._dispatchDataEvent("mousemove",e,t)}},lee.prototype.onmouseup=function(e){if(!e.target||!e.target.__isGLToZRProxy){e=e.event;var t=this.pickObject(e.offsetX,e.offsetY);t&&(this._dispatchEvent("mouseup",e,t),this._dispatchDataEvent("mouseup",e,t)),this._upX=e.offsetX,this._upY=e.offsetY}},lee.prototype.onclick=lee.prototype.dblclick=function(e){if(!e.target||!e.target.__isGLToZRProxy){var t=this._upX-this._downX,n=this._upY-this._downY;if(!(Math.sqrt(t*t+n*n)>20)){e=e.event;var i=this.pickObject(e.offsetX,e.offsetY);i&&(this._dispatchEvent(e.type,e,i),this._dispatchDataEvent(e.type,e,i));var r=this._clickToSetFocusPoint(e);if(r){var a=r.view.setDOFFocusOnPoint(r.distance);a&&this.zr.refresh()}}}},lee.prototype._clickToSetFocusPoint=function(e){for(var t=this.renderer,n=t.viewport,i=this.views.length-1;i>=0;i--){var r=this.views[i];if(r.hasDOF()&&r.containPoint(e.offsetX,e.offsetY)){this._picking.scene=r.scene,this._picking.camera=r.camera,t.viewport=r.viewport;var a=this._picking.pick(e.offsetX,e.offsetY,!0);if(a)return a.view=r,a}}t.viewport=n},lee.prototype.onglobalout=function(e){var t=this._hovered;t&&this._dispatchEvent("mouseout",e,{target:t.target})},lee.prototype.pickObject=function(e,t){for(var n=[],i=this.renderer,r=i.viewport,a=0;a<this.views.length;a++){var o=this.views[a];o.containPoint(e,t)&&(this._picking.scene=o.scene,this._picking.camera=o.camera,i.viewport=o.viewport,this._picking.pickAll(e,t,n))}return i.viewport=r,n.sort((function(e,t){return e.distance-t.distance})),n[0]},lee.prototype._dispatchEvent=function(e,t,n){n||(n={});var i=n.target;n.cancelBubble=!1,n.event=t,n.type=e,n.offsetX=t.offsetX,n.offsetY=t.offsetY;while(i)if(i.trigger(e,n),i=i.getParent(),n.cancelBubble)break;this._dispatchToView(e,n)},lee.prototype._dispatchDataEvent=function(e,t,n){var i=n&&n.target,r=i&&i.dataIndex,a=i&&i.seriesIndex,s=i&&i.eventData,l=!1,u=this._zrEventProxy;u.x=t.offsetX,u.y=t.offsetY,u.update();var c={target:u};const h=o.getECData(u);"mousemove"===e&&(null!=r?r!==this._lastDataIndex&&(parseInt(this._lastDataIndex,10)>=0&&(h.dataIndex=this._lastDataIndex,h.seriesIndex=this._lastSeriesIndex,this.zr.handler.dispatchToElement(c,"mouseout",t)),l=!0):null!=s&&s!==this._lastEventData&&(null!=this._lastEventData&&(h.eventData=this._lastEventData,this.zr.handler.dispatchToElement(c,"mouseout",t)),l=!0),this._lastEventData=s,this._lastDataIndex=r,this._lastSeriesIndex=a),h.eventData=s,h.dataIndex=r,h.seriesIndex=a,(null!=s||parseInt(r,10)>=0&&parseInt(a,10)>=0)&&(this.zr.handler.dispatchToElement(c,e,t),l&&this.zr.handler.dispatchToElement(c,"mouseover",t))},lee.prototype._dispatchToView=function(e,t){for(var n=0;n<this.views.length;n++)this.views[n].containPoint(t.offsetX,t.offsetY)&&this.views[n].trigger(e,t)},Object.assign(lee.prototype,t4);var mee=lee,gee=["bar3D","line3D","map3D","scatter3D","surface","lines3D","scatterGL","scatter3D"];function yee(e,t){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var n=e[t].normal,i=e[t].emphasis;n&&(e[t]=n),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i)}}function vee(e){yee(e,"itemStyle"),yee(e,"lineStyle"),yee(e,"areaStyle"),yee(e,"label")}function _ee(e){e&&(e instanceof Array||(e=[e]),c.each(e,(function(e){if(e.axisLabel){var t=e.axisLabel;Object.assign(t,t.textStyle),t.textStyle=null}})))}var xee=function(e){c.each(e.series,(function(t){c.indexOf(gee,t.type)>=0&&(vee(t),"mapbox"===t.coordinateSystem&&(t.coordinateSystem="mapbox3D",e.mapbox3D=e.mapbox))})),_ee(e.xAxis3D),_ee(e.yAxis3D),_ee(e.zAxis3D),_ee(e.grid3D),yee(e.geo3D)};function bee(e){this._layers={},this._zr=e}bee.prototype.update=function(e,t){var n=this,i=t.getZr();if(i.getWidth()&&i.getHeight()){for(var r in this._layers)this._layers[r].removeViewsAll();e.eachComponent((function(n,i){if("series"!==n){var r=t.getViewOfComponentModel(i),s=i.coordinateSystem;if(r.__ecgl__){if(s){if(!s.viewGL)return void console.error("Can't find viewGL in coordinateSystem of component "+i.id);l=s.viewGL}else{if(!i.viewGL)return void console.error("Can't find viewGL of component "+i.id);l=s.viewGL}var l=s.viewGL,u=a(i);u.addView(l),r.afterRender&&r.afterRender(i,e,t,u),o(r.groupGL,i.get("silent"))}}})),e.eachSeries((function(n){var i=t.getViewOfSeriesModel(n),r=n.coordinateSystem;if(i.__ecgl__){if(r&&!r.viewGL&&!i.viewGL)return void console.error("Can't find viewGL of series "+i.id);var s=r&&r.viewGL||i.viewGL,l=a(n);l.addView(s),i.afterRender&&i.afterRender(n,e,t,l),o(i.groupGL,n.get("silent"))}}))}else console.warn("Dom has no width or height");function a(e){var t;i.setSleepAfterStill(0),t=(e.coordinateSystem&&e.coordinateSystem.model,e.get("zlevel"));var r=n._layers,a=r[t];if(!a){if(a=r[t]=new mee("gl-"+t,i),i.painter.isSingleCanvas()){a.virtual=!0;var o=new l.Image({z:1e4,style:{image:a.renderer.canvas},silent:!0});a.__hostImage=o,i.add(o)}i.painter.insertLayer(t,a)}return a.__hostImage&&a.__hostImage.setStyle({width:a.renderer.getWidth(),height:a.renderer.getHeight()}),a}function o(e,t){e&&e.traverse((function(e){e.isRenderable&&e.isRenderable()&&(e.ignorePicking=null!=e.$ignorePicking?e.$ignorePicking:t)}))}},jx((function(e){var t=e.getZr(),n=t.painter.dispose;t.painter.dispose=function(){this.eachOtherLayer((function(e){e instanceof mee&&e.dispose()})),n.call(this)},t.painter.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas)return this._layers[0].dom;var t=document.createElement("canvas"),n=e.pixelRatio||this.dpr;t.width=this.getWidth()*n,t.height=this.getHeight()*n;var i=t.getContext("2d");i.dpr=n,i.clearRect(0,0,t.width,t.height),e.backgroundColor&&(i.fillStyle=e.backgroundColor,i.fillRect(0,0,t.width,t.height));var r,a=this.storage.getDisplayList(!0),o={},s=this;function l(e,t){var n,r=s._zlevelList;null==e&&(e=-1/0);for(var a=0;a<r.length;a++){var o=r[a],l=s._layers[o];if(!l.__builtin__&&o>e&&o<t){n=l;break}}n&&n.renderToCanvas&&(i.save(),n.renderToCanvas(i),i.restore())}for(var u={ctx:i},c=0;c<a.length;c++){var h=a[c];h.zlevel!==r&&(l(r,h.zlevel),r=h.zlevel),this._doPaintEl(h,u,!0,null,o)}return l(r,1/0),t}})),Fx((function(e,t){var n=t.getZr(),i=n.__egl=n.__egl||new bee(n);i.update(e,t)})),zx(xee);var wee={defaultOption:{viewControl:{projection:"perspective",autoRotate:!1,autoRotateDirection:"cw",autoRotateSpeed:10,autoRotateAfterStill:3,damping:.8,rotateSensitivity:1,zoomSensitivity:1,panSensitivity:1,panMouseButton:"middle",rotateMouseButton:"left",distance:150,minDistance:40,maxDistance:400,orthographicSize:150,maxOrthographicSize:400,minOrthographicSize:20,center:[0,0,0],alpha:0,beta:0,minAlpha:-90,maxAlpha:90}},setView:function(e){e=e||{},this.option.viewControl=this.option.viewControl||{},null!=e.alpha&&(this.option.viewControl.alpha=e.alpha),null!=e.beta&&(this.option.viewControl.beta=e.beta),null!=e.distance&&(this.option.viewControl.distance=e.distance),null!=e.center&&(this.option.viewControl.center=e.center)}},Mee={defaultOption:{postEffect:{enable:!1,bloom:{enable:!0,intensity:.1},depthOfField:{enable:!1,focalRange:20,focalDistance:50,blurRadius:10,fstop:2.8,quality:"medium"},screenSpaceAmbientOcclusion:{enable:!1,radius:2,quality:"medium",intensity:1},screenSpaceReflection:{enable:!1,quality:"medium",maxRoughness:.8},colorCorrection:{enable:!0,exposure:0,brightness:0,contrast:1,saturation:1,lookupTexture:""},edge:{enable:!1},FXAA:{enable:!1}},temporalSuperSampling:{enable:"auto"}}},See={defaultOption:{light:{main:{shadow:!1,shadowQuality:"high",color:"#fff",intensity:1,alpha:0,beta:0},ambient:{color:"#fff",intensity:.2},ambientCubemap:{texture:null,exposure:1,diffuseIntensity:.5,specularIntensity:.5}}}},Tee=mh.extend({type:"grid3D",dependencies:["xAxis3D","yAxis3D","zAxis3D"],defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",boxWidth:100,boxHeight:100,boxDepth:100,axisPointer:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.8)",width:1},label:{show:!0,formatter:null,margin:8,textStyle:{fontSize:14,color:"#fff",backgroundColor:"rgba(0,0,0,0.5)",padding:3,borderRadius:3}}},axisLine:{show:!0,lineStyle:{color:"#333",width:2,type:"solid"}},axisTick:{show:!0,inside:!1,length:3,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},light:{main:{alpha:30,beta:40},ambient:{intensity:.4}},viewControl:{alpha:20,beta:40,autoRotate:!1,distance:200,minDistance:40,maxDistance:400}}});c.merge(Tee.prototype,wee),c.merge(Tee.prototype,Mee),c.merge(Tee.prototype,See);var Lee=Tee,Dee=y7.firstNotNull,Aee={left:0,middle:1,right:2};function Oee(e){return e instanceof Array||(e=[e,e]),e}var kee=l4.extend((function(){return{zr:null,viewGL:null,_center:new i9,minDistance:.5,maxDistance:1.5,maxOrthographicSize:300,minOrthographicSize:30,minAlpha:-90,maxAlpha:90,minBeta:-1/0,maxBeta:1/0,autoRotateAfterStill:0,autoRotateDirection:"cw",autoRotateSpeed:60,damping:.8,rotateSensitivity:1,zoomSensitivity:1,panSensitivity:1,panMouseButton:"middle",rotateMouseButton:"left",_mode:"rotate",_camera:null,_needsUpdate:!1,_rotating:!1,_phi:0,_theta:0,_mouseX:0,_mouseY:0,_rotateVelocity:new q4,_panVelocity:new q4,_distance:500,_zoomSpeed:0,_stillTimeout:0,_animators:[]}}),(function(){["_mouseDownHandler","_mouseWheelHandler","_mouseMoveHandler","_mouseUpHandler","_pinchHandler","_contextMenuHandler","_update"].forEach((function(e){this[e]=this[e].bind(this)}),this)}),{init:function(){var e=this.zr;e&&(e.on("mousedown",this._mouseDownHandler),e.on("globalout",this._mouseUpHandler),e.on("mousewheel",this._mouseWheelHandler),e.on("pinch",this._pinchHandler),e.animation.on("frame",this._update),e.dom.addEventListener("contextmenu",this._contextMenuHandler))},dispose:function(){var e=this.zr;e&&(e.off("mousedown",this._mouseDownHandler),e.off("mousemove",this._mouseMoveHandler),e.off("mouseup",this._mouseUpHandler),e.off("mousewheel",this._mouseWheelHandler),e.off("pinch",this._pinchHandler),e.off("globalout",this._mouseUpHandler),e.dom.removeEventListener("contextmenu",this._contextMenuHandler),e.animation.off("frame",this._update)),this.stopAllAnimation()},getDistance:function(){return this._distance},setDistance:function(e){this._distance=e,this._needsUpdate=!0},getOrthographicSize:function(){return this._orthoSize},setOrthographicSize:function(e){this._orthoSize=e,this._needsUpdate=!0},getAlpha:function(){return this._theta/Math.PI*180},getBeta:function(){return-this._phi/Math.PI*180},getCenter:function(){return this._center.toArray()},setAlpha:function(e){e=Math.max(Math.min(this.maxAlpha,e),this.minAlpha),this._theta=e/180*Math.PI,this._needsUpdate=!0},setBeta:function(e){e=Math.max(Math.min(this.maxBeta,e),this.minBeta),this._phi=-e/180*Math.PI,this._needsUpdate=!0},setCenter:function(e){this._center.setArray(e)},setViewGL:function(e){this.viewGL=e},getCamera:function(){return this.viewGL.camera},setFromViewControlModel:function(e,t){t=t||{};var n=t.baseDistance||0,i=t.baseOrthoSize||1,r=e.get("projection");"perspective"!==r&&"orthographic"!==r&&"isometric"!==r&&(r="perspective"),this._projection=r,this.viewGL.setProjection(r);var a=e.get("distance")+n,o=e.get("orthographicSize")+i;[["damping",.8],["autoRotate",!1],["autoRotateAfterStill",3],["autoRotateDirection","cw"],["autoRotateSpeed",10],["minDistance",30],["maxDistance",400],["minOrthographicSize",30],["maxOrthographicSize",300],["minAlpha",-90],["maxAlpha",90],["minBeta",-1/0],["maxBeta",1/0],["rotateSensitivity",1],["zoomSensitivity",1],["panSensitivity",1],["panMouseButton","left"],["rotateMouseButton","middle"]].forEach((function(t){this[t[0]]=Dee(e.get(t[0]),t[1])}),this),this.minDistance+=n,this.maxDistance+=n,this.minOrthographicSize+=i,this.maxOrthographicSize+=i;var s=e.ecModel,l={};["animation","animationDurationUpdate","animationEasingUpdate"].forEach((function(t){l[t]=Dee(e.get(t),s&&s.get(t))}));var u=Dee(t.alpha,e.get("alpha"))||0,c=Dee(t.beta,e.get("beta"))||0,h=Dee(t.center,e.get("center"))||[0,0,0];l.animation&&l.animationDurationUpdate>0&&this._notFirst?this.animateTo({alpha:u,beta:c,center:h,distance:a,orthographicSize:o,easing:l.animationEasingUpdate,duration:l.animationDurationUpdate}):(this.setDistance(a),this.setAlpha(u),this.setBeta(c),this.setCenter(h),this.setOrthographicSize(o)),this._notFirst=!0,this._validateProperties()},_validateProperties:function(){0},animateTo:function(e){var t=this.zr,n=this,i={},r={};return null!=e.distance&&(i.distance=this.getDistance(),r.distance=e.distance),null!=e.orthographicSize&&(i.orthographicSize=this.getOrthographicSize(),r.orthographicSize=e.orthographicSize),null!=e.alpha&&(i.alpha=this.getAlpha(),r.alpha=e.alpha),null!=e.beta&&(i.beta=this.getBeta(),r.beta=e.beta),null!=e.center&&(i.center=this.getCenter(),r.center=e.center),this._addAnimator(t.animation.animate(i).when(e.duration||1e3,r).during((function(){null!=i.alpha&&n.setAlpha(i.alpha),null!=i.beta&&n.setBeta(i.beta),null!=i.distance&&n.setDistance(i.distance),null!=i.center&&n.setCenter(i.center),null!=i.orthographicSize&&n.setOrthographicSize(i.orthographicSize),n._needsUpdate=!0}))).start(e.easing||"linear")},stopAllAnimation:function(){for(var e=0;e<this._animators.length;e++)this._animators[e].stop();this._animators.length=0},update:function(){this._needsUpdate=!0,this._update(20)},_isAnimating:function(){return this._animators.length>0},_update:function(e){if(this._rotating){var t=("cw"===this.autoRotateDirection?1:-1)*this.autoRotateSpeed/180*Math.PI;this._phi-=t*e/1e3,this._needsUpdate=!0}else this._rotateVelocity.len()>0&&(this._needsUpdate=!0);(Math.abs(this._zoomSpeed)>.1||this._panVelocity.len()>0)&&(this._needsUpdate=!0),this._needsUpdate&&(e=Math.min(e,50),this._updateDistanceOrSize(e),this._updatePan(e),this._updateRotate(e),this._updateTransform(),this.getCamera().update(),this.zr&&this.zr.refresh(),this.trigger("update"),this._needsUpdate=!1)},_updateRotate:function(e){var t=this._rotateVelocity;this._phi=t.y*e/20+this._phi,this._theta=t.x*e/20+this._theta,this.setAlpha(this.getAlpha()),this.setBeta(this.getBeta()),this._vectorDamping(t,Math.pow(this.damping,e/16))},_updateDistanceOrSize:function(e){"perspective"===this._projection?this._setDistance(this._distance+this._zoomSpeed*e/20):this._setOrthoSize(this._orthoSize+this._zoomSpeed*e/20),this._zoomSpeed*=Math.pow(this.damping,e/16)},_setDistance:function(e){this._distance=Math.max(Math.min(e,this.maxDistance),this.minDistance)},_setOrthoSize:function(e){this._orthoSize=Math.max(Math.min(e,this.maxOrthographicSize),this.minOrthographicSize);var t=this.getCamera(),n=this._orthoSize,i=n/this.viewGL.viewport.height*this.viewGL.viewport.width;t.left=-i/2,t.right=i/2,t.top=n/2,t.bottom=-n/2},_updatePan:function(e){var t=this._panVelocity,n=this._distance,i=this.getCamera(),r=i.worldTransform.y,a=i.worldTransform.x;this._center.scaleAndAdd(a,-t.x*n/200).scaleAndAdd(r,-t.y*n/200),this._vectorDamping(t,0)},_updateTransform:function(){var e=this.getCamera(),t=new i9,n=this._theta+Math.PI/2,i=this._phi+Math.PI/2,r=Math.sin(n);t.x=r*Math.cos(i),t.y=-Math.cos(n),t.z=r*Math.sin(i),e.position.copy(this._center).scaleAndAdd(t,this._distance),e.rotation.identity().rotateY(-this._phi).rotateX(-this._theta)},_startCountingStill:function(){clearTimeout(this._stillTimeout);var e=this.autoRotateAfterStill,t=this;!isNaN(e)&&e>0&&(this._stillTimeout=setTimeout((function(){t._rotating=!0}),1e3*e))},_vectorDamping:function(e,t){var n=e.len();n*=t,n<1e-4&&(n=0),e.normalize().scale(n)},_decomposeTransform:function(){if(this.getCamera()){this.getCamera().updateWorldTransform();var e=this.getCamera().worldTransform.z,t=Math.asin(e.y),n=Math.atan2(e.x,e.z);this._theta=t,this._phi=-n,this.setBeta(this.getBeta()),this.setAlpha(this.getAlpha()),this.getCamera().aspect?this._setDistance(this.getCamera().position.dist(this._center)):this._setOrthoSize(this.getCamera().top-this.getCamera().bottom)}},_mouseDownHandler:function(e){if(!e.target&&!this._isAnimating()){var t=e.offsetX,n=e.offsetY;this.viewGL&&!this.viewGL.containPoint(t,n)||(this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler),e.event.targetTouches?1===e.event.targetTouches.length&&(this._mode="rotate"):e.event.button===Aee[this.rotateMouseButton]?this._mode="rotate":e.event.button===Aee[this.panMouseButton]?this._mode="pan":this._mode="",this._rotateVelocity.set(0,0),this._rotating=!1,this.autoRotate&&this._startCountingStill(),this._mouseX=e.offsetX,this._mouseY=e.offsetY)}},_mouseMoveHandler:function(e){if((!e.target||!e.target.__isGLToZRProxy)&&!this._isAnimating()){var t=Oee(this.panSensitivity),n=Oee(this.rotateSensitivity);"rotate"===this._mode?(this._rotateVelocity.y=(e.offsetX-this._mouseX)/this.zr.getHeight()*2*n[0],this._rotateVelocity.x=(e.offsetY-this._mouseY)/this.zr.getWidth()*2*n[1]):"pan"===this._mode&&(this._panVelocity.x=(e.offsetX-this._mouseX)/this.zr.getWidth()*t[0]*400,this._panVelocity.y=(-e.offsetY+this._mouseY)/this.zr.getHeight()*t[1]*400),this._mouseX=e.offsetX,this._mouseY=e.offsetY,e.event.preventDefault()}},_mouseWheelHandler:function(e){if(!this._isAnimating()){var t=e.event.wheelDelta||-e.event.detail;this._zoomHandler(e,t)}},_pinchHandler:function(e){this._isAnimating()||(this._zoomHandler(e,e.pinchScale>1?1:-1),this._mode="")},_zoomHandler:function(e,t){if(0!==t){var n,i=e.offsetX,r=e.offsetY;if(!this.viewGL||this.viewGL.containPoint(i,r))n="perspective"===this._projection?Math.max(Math.max(Math.min(this._distance-this.minDistance,this.maxDistance-this._distance))/20,.5):Math.max(Math.max(Math.min(this._orthoSize-this.minOrthographicSize,this.maxOrthographicSize-this._orthoSize))/20,.5),this._zoomSpeed=(t>0?-1:1)*n*this.zoomSensitivity,this._rotating=!1,this.autoRotate&&"rotate"===this._mode&&this._startCountingStill(),e.event.preventDefault()}},_mouseUpHandler:function(){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_isRightMouseButtonUsed:function(){return"right"===this.rotateMouseButton||"right"===this.panMouseButton},_contextMenuHandler:function(e){this._isRightMouseButtonUsed()&&e.preventDefault()},_addAnimator:function(e){var t=this._animators;return t.push(e),e.done((function(){var n=t.indexOf(e);n>=0&&t.splice(n,1)})),e}});Object.defineProperty(kee.prototype,"autoRotate",{get:function(e){return this._autoRotate},set:function(e){this._autoRotate=e,this._rotating=e}});var Iee=kee,Cee={convertToDynamicArray:function(e){e&&this.resetOffset();var t=this.attributes;for(var n in t)e||!t[n].value?t[n].value=[]:t[n].value=Array.prototype.slice.call(t[n].value);e||!this.indices?this.indices=[]:this.indices=Array.prototype.slice.call(this.indices)},convertToTypedArray:function(){var e=this.attributes;for(var t in e)e[t].value&&e[t].value.length>0?e[t].value=new Float32Array(e[t].value):e[t].value=null;this.indices&&this.indices.length>0&&(this.indices=this.vertexCount>65535?new Uint32Array(this.indices):new Uint16Array(this.indices)),this.dirty()}},Eee={vec2:U4,vec3:R5,vec4:l9,mat2:E7,mat2d:Y7,mat3:c9,mat4:P5,quat:d9},Pee=Eee,Nee=Pee.vec3,Ree=[[0,0],[1,1]],Yee=r8.extend((function(){return{segmentScale:1,dynamic:!0,useNativeLine:!0,attributes:{position:new r8.Attribute("position","float",3,"POSITION"),positionPrev:new r8.Attribute("positionPrev","float",3),positionNext:new r8.Attribute("positionNext","float",3),prevPositionPrev:new r8.Attribute("prevPositionPrev","float",3),prevPosition:new r8.Attribute("prevPosition","float",3),prevPositionNext:new r8.Attribute("prevPositionNext","float",3),offset:new r8.Attribute("offset","float",1),color:new r8.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0,this._itemVertexOffsets=[]},setVertexCount:function(e){var t=this.attributes;this.vertexCount!==e&&(t.position.init(e),t.color.init(e),this.useNativeLine||(t.positionPrev.init(e),t.positionNext.init(e),t.offset.init(e)),e>65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(e){this.triangleCount!==e&&(this.indices=0===e?null:this.vertexCount>65535?new Uint32Array(3*e):new Uint16Array(3*e))},_getCubicCurveApproxStep:function(e,t,n,i){var r=Nee.dist(e,t)+Nee.dist(n,t)+Nee.dist(i,n),a=1/(r+1)*this.segmentScale;return a},getCubicCurveVertexCount:function(e,t,n,i){var r=this._getCubicCurveApproxStep(e,t,n,i),a=Math.ceil(1/r);return this.useNativeLine?2*a:2*a+2},getCubicCurveTriangleCount:function(e,t,n,i){var r=this._getCubicCurveApproxStep(e,t,n,i),a=Math.ceil(1/r);return this.useNativeLine?0:2*a},getLineVertexCount:function(){return this.getPolylineVertexCount(Ree)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(Ree)},getPolylineVertexCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/3}return this.useNativeLine?2*(t-1):2*(t-1)+2},getPolylineTriangleCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/3}return this.useNativeLine?0:2*Math.max(t-1,0)},addCubicCurve:function(e,t,n,i,r,a){null==a&&(a=1);var o=e[0],s=e[1],l=e[2],u=t[0],c=t[1],h=t[2],d=n[0],f=n[1],p=n[2],m=i[0],g=i[1],y=i[2],v=this._getCubicCurveApproxStep(e,t,n,i),_=v*v,x=_*v,b=3*v,w=3*_,M=6*_,S=6*x,T=o-2*u+d,L=s-2*c+f,D=l-2*h+p,A=3*(u-d)-o+m,O=3*(c-f)-s+g,k=3*(h-p)-l+y,I=o,C=s,E=l,P=(u-o)*b+T*w+A*x,N=(c-s)*b+L*w+O*x,R=(h-l)*b+D*w+k*x,Y=T*M+A*S,z=L*M+O*S,H=D*M+k*S,j=A*S,F=O*S,B=k*S,V=0,G=0,W=Math.ceil(1/v),U=new Float32Array(3*(W+1)),X=(U=[],0);for(G=0;G<W+1;G++)U[X++]=I,U[X++]=C,U[X++]=E,I+=P,C+=N,E+=R,P+=Y,N+=z,R+=H,Y+=j,z+=F,H+=B,V+=v,V>1&&(I=P>0?Math.min(I,m):Math.max(I,m),C=N>0?Math.min(C,g):Math.max(C,g),E=R>0?Math.min(E,y):Math.max(E,y));return this.addPolyline(U,r,a)},addLine:function(e,t,n,i){return this.addPolyline([e,t],n,i)},addPolyline:function(e,t,n,i,r){if(e.length){var a="number"!==typeof e[0];if(null==r&&(r=a?e.length:e.length/3),!(r<2)){null==i&&(i=0),null==n&&(n=1),this._itemVertexOffsets.push(this._vertexOffset);a="number"!==typeof e[0];var o,s,l=a?"number"!==typeof t[0]:t.length/4===r,u=this.attributes.position,c=this.attributes.positionPrev,h=this.attributes.positionNext,d=this.attributes.color,f=this.attributes.offset,p=this.indices,m=this._vertexOffset;n=Math.max(n,.01);for(var g=i;g<r;g++){if(a)o=e[g],s=l?t[g]:t;else{var y=3*g;if(o=o||[],o[0]=e[y],o[1]=e[y+1],o[2]=e[y+2],l){var v=4*g;s=s||[],s[0]=t[v],s[1]=t[v+1],s[2]=t[v+2],s[3]=t[v+3]}else s=t}if(this.useNativeLine?g>1&&(u.copy(m,m-1),d.copy(m,m-1),m++):(g<r-1&&(c.set(m+2,o),c.set(m+3,o)),g>0&&(h.set(m-2,o),h.set(m-1,o)),u.set(m,o),u.set(m+1,o),d.set(m,s),d.set(m+1,s),f.set(m,n/2),f.set(m+1,-n/2),m+=2),this.useNativeLine)d.set(m,s),u.set(m,o),m++;else if(g>0){var _=3*this._triangleOffset;p=this.indices;p[_]=m-4,p[_+1]=m-3,p[_+2]=m-2,p[_+3]=m-3,p[_+4]=m-1,p[_+5]=m-2,this._triangleOffset+=2}}if(!this.useNativeLine){var x=this._vertexOffset,b=this._vertexOffset+2*r;c.copy(x,x+2),c.copy(x+1,x+3),h.copy(b-1,b-3),h.copy(b-2,b-4)}return this._vertexOffset=m,this._vertexOffset}}},setItemColor:function(e,t){for(var n=this._itemVertexOffsets[e],i=e<this._itemVertexOffsets.length-1?this._itemVertexOffsets[e+1]:this._vertexOffset,r=n;r<i;r++)this.attributes.color.set(r,t);this.dirty("color")},currentTriangleOffset:function(){return this._triangleOffset},currentVertexOffset:function(){return this._vertexOffset}});c.defaults(Yee.prototype,Cee);var zee=Yee;function Hee(e,t,n,i,r,a,o){this._zr=e,this._x=0,this._y=0,this._rowHeight=0,this.width=i,this.height=r,this.offsetX=t,this.offsetY=n,this.dpr=o,this.gap=a}function jee(e){e=e||{},e.width=e.width||512,e.height=e.height||512,e.devicePixelRatio=e.devicePixelRatio||1,e.gap=null==e.gap?2:e.gap;var t=document.createElement("canvas");t.width=e.width*e.devicePixelRatio,t.height=e.height*e.devicePixelRatio,this._canvas=t,this._texture=new W9({image:t,flipY:!1});var n=this;this._zr=r.init(t);var i=this._zr.refreshImmediately;this._zr.refreshImmediately=function(){i.call(this),n._texture.dirty(),n.onupdate&&n.onupdate()},this._dpr=e.devicePixelRatio,this._coords={},this.onupdate=e.onupdate,this._gap=e.gap,this._textureAtlasNodes=[new Hee(this._zr,0,0,e.width,e.height,this._gap,this._dpr)],this._nodeWidth=e.width,this._nodeHeight=e.height,this._currentNodeIdx=0}Hee.prototype={constructor:Hee,clear:function(){this._x=0,this._y=0,this._rowHeight=0},add:function(e,t,n){var i=e.getBoundingRect();null==t&&(t=i.width),null==n&&(n=i.height),t*=this.dpr,n*=this.dpr,this._fitElement(e,t,n);var r=this._x,a=this._y,o=this.width*this.dpr,s=this.height*this.dpr,l=this.gap;if(r+t+l>o&&(r=this._x=0,a+=this._rowHeight+l,this._y=a,this._rowHeight=0),this._x+=t+l,this._rowHeight=Math.max(this._rowHeight,n),a+n+l>s)return null;e.x+=this.offsetX*this.dpr+r,e.y+=this.offsetY*this.dpr+a,this._zr.add(e);var u=[this.offsetX/this.width,this.offsetY/this.height],c=[[r/o+u[0],a/s+u[1]],[(r+t)/o+u[0],(a+n)/s+u[1]]];return c},_fitElement:function(e,t,n){var i=e.getBoundingRect(),r=t/i.width,a=n/i.height;e.x=-i.x*r,e.y=-i.y*a,e.scaleX=r,e.scaleY=a,e.update()}},jee.prototype={clear:function(){for(var e=0;e<this._textureAtlasNodes.length;e++)this._textureAtlasNodes[e].clear();this._currentNodeIdx=0,this._zr.clear(),this._coords={}},getWidth:function(){return this._width},getHeight:function(){return this._height},getTexture:function(){return this._texture},getDevicePixelRatio:function(){return this._dpr},getZr:function(){return this._zr},_getCurrentNode:function(){return this._textureAtlasNodes[this._currentNodeIdx]},_expand:function(){if(this._currentNodeIdx++,this._textureAtlasNodes[this._currentNodeIdx])return this._textureAtlasNodes[this._currentNodeIdx];var e=4096/this._dpr,t=this._textureAtlasNodes,n=t.length,i=n*this._nodeWidth%e,r=Math.floor(n*this._nodeWidth/e)*this._nodeHeight;if(!(r>=e)){var a=(i+this._nodeWidth)*this._dpr,o=(r+this._nodeHeight)*this._dpr;try{this._zr.resize({width:a,height:o})}catch(l){this._canvas.width=a,this._canvas.height=o}var s=new Hee(this._zr,i,r,this._nodeWidth,this._nodeHeight,this._gap,this._dpr);return this._textureAtlasNodes.push(s),s}},add:function(e,t,n){if(this._coords[e.id])return this._coords[e.id];var i=this._getCurrentNode().add(e,t,n);if(!i){var r=this._expand();if(!r)return;i=r.add(e,t,n)}return this._coords[e.id]=i,i},getCoordsScale:function(){var e=this._dpr;return[this._nodeWidth/this._canvas.width*e,this._nodeHeight/this._canvas.height*e]},getCoords:function(e){return this._coords[e]},dispose:function(){this._zr.dispose()}};var Fee=jee;function Bee(){}Bee.prototype={constructor:Bee,setScene:function(e){this._scene=e,this._skybox&&this._skybox.attachScene(this._scene)},initLight:function(e){this._lightRoot=e,this.mainLight=new see.DirectionalLight({shadowBias:.005}),this.ambientLight=new see.AmbientLight,e.add(this.mainLight),e.add(this.ambientLight)},dispose:function(){this._lightRoot&&(this._lightRoot.remove(this.mainLight),this._lightRoot.remove(this.ambientLight))},updateLight:function(e){var t=this.mainLight,n=this.ambientLight,i=e.getModel("light"),r=i.getModel("main"),a=i.getModel("ambient");t.intensity=r.get("intensity"),n.intensity=a.get("intensity"),t.color=see.parseColor(r.get("color")).slice(0,3),n.color=see.parseColor(a.get("color")).slice(0,3);var o=r.get("alpha")||0,s=r.get("beta")||0;t.position.setArray(see.directionFromAlphaBeta(o,s)),t.lookAt(see.Vector3.ZERO),t.castShadow=r.get("shadow"),t.shadowResolution=see.getShadowResolution(r.get("shadowQuality"))},updateAmbientCubemap:function(e,t,n){var i=t.getModel("light.ambientCubemap"),r=i.get("texture");if(r){this._cubemapLightsCache=this._cubemapLightsCache||{};var a=this._cubemapLightsCache[r];if(!a){var o=this;a=this._cubemapLightsCache[r]=see.createAmbientCubemap(i.option,e,n,(function(){o._isSkyboxFromAmbientCubemap&&o._skybox.setEnvironmentMap(a.specular.cubemap),n.getZr().refresh()}))}this._lightRoot.add(a.diffuse),this._lightRoot.add(a.specular),this._currentCubemapLights=a}else this._currentCubemapLights&&(this._lightRoot.remove(this._currentCubemapLights.diffuse),this._lightRoot.remove(this._currentCubemapLights.specular),this._currentCubemapLights=null)},updateSkybox:function(e,t,n){var i=t.get("environment"),r=this;function a(){return r._skybox=r._skybox||new u6,r._skybox}var o=a();if(i&&"none"!==i)if("auto"===i)if(this._isSkyboxFromAmbientCubemap=!0,this._currentCubemapLights){var s=this._currentCubemapLights.specular.cubemap;o.setEnvironmentMap(s),this._scene&&o.attachScene(this._scene),o.material.set("lod",3)}else this._skybox&&this._skybox.detachScene();else if("object"===typeof i&&i.colorStops||"string"===typeof i&&$t.parse(i)){this._isSkyboxFromAmbientCubemap=!1;var u=new see.Texture2D({anisotropic:8,flipY:!1});o.setEnvironmentMap(u);var c=u.image=document.createElement("canvas");c.width=c.height=16;var h=c.getContext("2d"),d=new l.Rect({shape:{x:0,y:0,width:16,height:16},style:{fill:i}});l_(h,d),o.attachScene(this._scene)}else{this._isSkyboxFromAmbientCubemap=!1;u=see.loadTexture(i,n,{anisotropic:8,flipY:!1});o.setEnvironmentMap(u),o.attachScene(this._scene)}else this._skybox&&this._skybox.detachScene(this._scene),this._skybox=null;var f=t.coordinateSystem;if(this._skybox)if(!f||!f.viewGL||"auto"===i||i.match&&i.match(/.hdr$/))this._skybox.material.undefine("fragment","SRGB_DECODE");else{var p=f.viewGL.isLinearSpace()?"define":"undefine";this._skybox.material[p]("fragment","SRGB_DECODE")}}};var Vee=Bee,Gee=Pee.vec3,Wee=r8.extend((function(){return{segmentScale:1,useNativeLine:!0,attributes:{position:new r8.Attribute("position","float",3,"POSITION"),normal:new r8.Attribute("normal","float",3,"NORMAL"),color:new r8.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setQuadCount:function(e){var t=this.attributes,n=this.getQuadVertexCount()*e,i=this.getQuadTriangleCount()*e;this.vertexCount!==n&&(t.position.init(n),t.normal.init(n),t.color.init(n)),this.triangleCount!==i&&(this.indices=n>65535?new Uint32Array(3*i):new Uint16Array(3*i))},getQuadVertexCount:function(){return 4},getQuadTriangleCount:function(){return 2},addQuad:function(){var e=Gee.create(),t=Gee.create(),n=Gee.create(),i=[0,3,1,3,2,1];return function(r,a){var o=this.attributes.position,s=this.attributes.normal,l=this.attributes.color;Gee.sub(e,r[1],r[0]),Gee.sub(t,r[2],r[1]),Gee.cross(n,e,t),Gee.normalize(n,n);for(var u=0;u<4;u++)o.set(this._vertexOffset+u,r[u]),l.set(this._vertexOffset+u,a),s.set(this._vertexOffset+u,n);var c=3*this._faceOffset;for(u=0;u<6;u++)this.indices[c+u]=i[u]+this._vertexOffset;this._vertexOffset+=4,this._faceOffset+=2}}()});c.defaults(Wee.prototype,Cee);var Uee=Wee,Xee=y7.firstNotNull,Zee={x:0,y:2,z:1};function qee(e,t,n,i){var r=[0,0,0],a=i<0?n.getExtentMin():n.getExtentMax();r[Zee[n.dim]]=a,e.position.setArray(r),e.rotation.identity(),t.distance=-Math.abs(a),t.normal.set(0,0,0),"x"===n.dim?(e.rotation.rotateY(i*Math.PI/2),t.normal.x=-i):"z"===n.dim?(e.rotation.rotateX(-i*Math.PI/2),t.normal.y=-i):(i>0&&e.rotation.rotateY(Math.PI),t.normal.z=-i)}function $ee(e,t,n){this.rootNode=new see.Node;var i=new see.Mesh({geometry:new zee({useNativeLine:!1}),material:t,castShadow:!1,ignorePicking:!0,$ignorePicking:!0,renderOrder:1}),r=new see.Mesh({geometry:new Uee,material:n,castShadow:!1,culling:!1,ignorePicking:!0,$ignorePicking:!0,renderOrder:0});this.rootNode.add(r),this.rootNode.add(i),this.faceInfo=e,this.plane=new see.Plane,this.linesMesh=i,this.quadsMesh=r}$ee.prototype.update=function(e,t,n){var i=e.coordinateSystem,r=[i.getAxis(this.faceInfo[0]),i.getAxis(this.faceInfo[1])],a=this.linesMesh.geometry,o=this.quadsMesh.geometry;a.convertToDynamicArray(!0),o.convertToDynamicArray(!0),this._updateSplitLines(a,r,e,n),this._udpateSplitAreas(o,r,e,n),a.convertToTypedArray(),o.convertToTypedArray();var s=i.getAxis(this.faceInfo[2]);qee(this.rootNode,this.plane,s,this.faceInfo[3])},$ee.prototype._updateSplitLines=function(e,t,n,i){var r=i.getDevicePixelRatio();t.forEach((function(i,a){var o=i.model,s=t[1-a].getExtent();if(!i.scale.isBlank()){var l=o.getModel("splitLine",n.getModel("splitLine"));if(l.get("show")){var u=l.getModel("lineStyle"),h=u.get("color"),d=Xee(u.get("opacity"),1),f=Xee(u.get("width"),1);h=c.isArray(h)?h:[h];for(var p=i.getTicksCoords({tickModel:l}),m=0,g=0;g<p.length;g++){var y=p[g].coord,v=see.parseColor(h[m%h.length]);v[3]*=d;var _=[0,0,0],x=[0,0,0];_[a]=x[a]=y,_[1-a]=s[0],x[1-a]=s[1],e.addLine(_,x,v,f*r),m++}}}}))},$ee.prototype._udpateSplitAreas=function(e,t,n,i){t.forEach((function(i,r){var a=i.model,o=t[1-r].getExtent();if(!i.scale.isBlank()){var s=a.getModel("splitArea",n.getModel("splitArea"));if(s.get("show")){var l=s.getModel("areaStyle"),u=l.get("color"),h=Xee(l.get("opacity"),1);u=c.isArray(u)?u:[u];for(var d=i.getTicksCoords({tickModel:s,clamp:!0}),f=0,p=[0,0,0],m=[0,0,0],g=0;g<d.length;g++){var y=d[g].coord,v=[0,0,0],_=[0,0,0];if(v[r]=_[r]=y,v[1-r]=o[0],_[1-r]=o[1],0!==g){var x=see.parseColor(u[f%u.length]);x[3]*=h,e.addQuad([p,v,_,m],x),p=v,m=_,f++}else p=v,m=_}}}}))};var Jee=$ee,Kee=[0,1,2,0,2,3],Qee=r8.extend((function(){return{attributes:{position:new r8.Attribute("position","float",3,"POSITION"),texcoord:new r8.Attribute("texcoord","float",2,"TEXCOORD_0"),offset:new r8.Attribute("offset","float",2),color:new r8.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setSpriteCount:function(e){this._spriteCount=e;var t=4*e,n=2*e;this.vertexCount!==t&&(this.attributes.position.init(t),this.attributes.offset.init(t),this.attributes.color.init(t)),this.triangleCount!==n&&(this.indices=t>65535?new Uint32Array(3*n):new Uint16Array(3*n))},setSpriteAlign:function(e,t,n,i,r){var a,o,s,l;switch(null==n&&(n="left"),null==i&&(i="top"),r=r||0,n){case"left":a=r,s=t[0]+r;break;case"center":case"middle":a=-t[0]/2,s=t[0]/2;break;case"right":a=-t[0]-r,s=-r;break}switch(i){case"bottom":o=r,l=t[1]+r;break;case"middle":o=-t[1]/2,l=t[1]/2;break;case"top":o=-t[1]-r,l=-r;break}var u=4*e,c=this.attributes.offset;c.set(u,[a,l]),c.set(u+1,[s,l]),c.set(u+2,[s,o]),c.set(u+3,[a,o])},addSprite:function(e,t,n,i,r,a){var o=this._vertexOffset;this.setSprite(this._vertexOffset/4,e,t,n,i,r,a);for(var s=0;s<Kee.length;s++)this.indices[3*this._faceOffset+s]=Kee[s]+o;return this._faceOffset+=2,this._vertexOffset+=4,o/4},setSprite:function(e,t,n,i,r,a,o){for(var s=4*e,l=this.attributes,u=0;u<4;u++)l.position.set(s+u,t);var c=l.texcoord;c.set(s,[i[0][0],i[0][1]]),c.set(s+1,[i[1][0],i[0][1]]),c.set(s+2,[i[1][0],i[1][1]]),c.set(s+3,[i[0][0],i[1][1]]),this.setSpriteAlign(e,n,r,a,o)}});c.defaults(Qee.prototype,Cee);var ete=Qee,tte="@export ecgl.labels.vertex\n\nattribute vec3 position: POSITION;\nattribute vec2 texcoord: TEXCOORD_0;\nattribute vec2 offset;\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\n\nvarying vec2 v_Texcoord;\n\nvoid main()\n{\n vec4 proj = worldViewProjection * vec4(position, 1.0);\n\n vec2 screen = (proj.xy / abs(proj.w) + 1.0) * 0.5 * viewport.zw;\n\n screen += offset;\n\n proj.xy = (screen / viewport.zw - 0.5) * 2.0 * abs(proj.w);\n gl_Position = proj;\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n v_Texcoord = texcoord;\n}\n@end\n\n\n@export ecgl.labels.fragment\n\nuniform vec3 color : [1.0, 1.0, 1.0];\nuniform float alpha : 1.0;\nuniform sampler2D textureAtlas;\nuniform vec2 uvScale: [1.0, 1.0];\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\nvarying float v_Miter;\n\nvarying vec2 v_Texcoord;\n\nvoid main()\n{\n gl_FragColor = vec4(color, alpha) * texture2D(textureAtlas, v_Texcoord * uvScale);\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n#endif\n}\n\n@end";see.Shader.import(tte);var nte=see.Mesh.extend((function(){var e=new ete({dynamic:!0}),t=new see.Material({shader:see.createShader("ecgl.labels"),transparent:!0,depthMask:!1});return{geometry:e,material:t,culling:!1,castShadow:!1,ignorePicking:!0}})),ite=y7.firstNotNull,rte={x:0,y:2,z:1};function ate(e,t){var n=new see.Mesh({geometry:new zee({useNativeLine:!1}),material:t,castShadow:!1,ignorePicking:!0,renderOrder:2}),i=new nte;i.material.depthMask=!1;var r=new see.Node;r.add(n),r.add(i),this.rootNode=r,this.dim=e,this.linesMesh=n,this.labelsMesh=i,this.axisLineCoords=null,this.labelElements=[]}var ote={x:"y",y:"x",z:"y"};ate.prototype.update=function(e,t,n){var i=e.coordinateSystem,r=i.getAxis(this.dim),a=this.linesMesh.geometry,o=this.labelsMesh.geometry;a.convertToDynamicArray(!0),o.convertToDynamicArray(!0);var s=r.model,u=r.getExtent(),c=n.getDevicePixelRatio(),h=s.getModel("axisLine",e.getModel("axisLine")),d=s.getModel("axisTick",e.getModel("axisTick")),f=s.getModel("axisLabel",e.getModel("axisLabel")),p=h.get("lineStyle.color");if(h.get("show")){var m=h.getModel("lineStyle"),g=[0,0,0],y=[0,0,0],v=rte[r.dim];g[v]=u[0],y[v]=u[1],this.axisLineCoords=[g,y];var _=see.parseColor(p),x=ite(m.get("width"),1),b=ite(m.get("opacity"),1);_[3]*=b,a.addLine(g,y,_,x*c)}if(d.get("show")){var w=d.getModel("lineStyle"),M=see.parseColor(ite(w.get("color"),p));x=ite(w.get("width"),1);M[3]*=ite(w.get("opacity"),1);for(var S=r.getTicksCoords(),T=d.get("length"),L=0;L<S.length;L++){var D=S[L].coord,A=(g=[0,0,0],y=[0,0,0],v=rte[r.dim],rte[ote[r.dim]]);g[v]=y[v]=D,y[A]=T,a.addLine(g,y,M,x*c)}}this.labelElements=[];c=n.getDevicePixelRatio();if(f.get("show")){S=r.getTicksCoords();var O=s.get("data"),k=f.get("margin"),I=r.getViewLabels();for(L=0;L<I.length;L++){var C=I[L].tickValue,E=I[L].formattedLabel,P=I[L].rawLabel,N=(D=r.dataToCoord(C),[0,0,0]);v=rte[r.dim],A=rte[ote[r.dim]];N[v]=N[v]=D,N[A]=k;var R=f;O&&O[C]&&O[C].textStyle&&(R=new Gu(O[C].textStyle,f,s.ecModel));var Y=ite(R.get("color"),p),z=new l.Text({style:xu(R,{text:E,fill:"function"===typeof Y?Y("category"===r.type?P:"value"===r.type?C+"":C,L):Y,verticalAlign:"top",align:"left"})}),H=t.add(z),j=z.getBoundingRect();o.addSprite(N,[j.width*c,j.height*c],H),this.labelElements.push(z)}}if(s.get("name")){var F=s.getModel("nameTextStyle"),B=(N=[0,0,0],v=rte[r.dim],A=rte[ote[r.dim]],ite(F.get("color"),p)),V=F.get("borderColor");x=F.get("borderWidth");N[v]=N[v]=(u[0]+u[1])/2,N[A]=s.get("nameGap");z=new l.Text({style:xu(F,{text:s.get("name"),fill:B,stroke:V,lineWidth:x})}),H=t.add(z),j=z.getBoundingRect();o.addSprite(N,[j.width*c,j.height*c],H),z.__idx=this.labelElements.length,this.nameLabelElement=z}this.labelsMesh.material.set("textureAtlas",t.getTexture()),this.labelsMesh.material.set("uvScale",t.getCoordsScale()),a.convertToTypedArray(),o.convertToTypedArray()},ate.prototype.setSpriteAlign=function(e,t,n){for(var i=n.getDevicePixelRatio(),r=this.labelsMesh.geometry,a=0;a<this.labelElements.length;a++){var o=this.labelElements[a],s=o.getBoundingRect();r.setSpriteAlign(a,[s.width*i,s.height*i],e,t)}var l=this.nameLabelElement;if(l){s=l.getBoundingRect();r.setSpriteAlign(l.__idx,[s.width*i,s.height*i],e,t),r.dirty()}this.textAlign=e,this.textVerticalAlign=t};var ste=ate,lte="@export ecgl.lines3D.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec3 position: POSITION;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(position, 1.0);\n v_Color = a_Color;\n}\n\n@end\n\n@export ecgl.lines3D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n}\n@end\n\n\n\n@export ecgl.lines3D.clipNear\n\nvec4 clipNear(vec4 p1, vec4 p2) {\n float n = (p1.w - near) / (p1.w - p2.w);\n return vec4(mix(p1.xy, p2.xy, n), -near, near);\n}\n\n@end\n\n@export ecgl.lines3D.expandLine\n#ifdef VERTEX_ANIMATION\n vec4 prevProj = worldViewProjection * vec4(mix(prevPositionPrev, positionPrev, percent), 1.0);\n vec4 currProj = worldViewProjection * vec4(mix(prevPosition, position, percent), 1.0);\n vec4 nextProj = worldViewProjection * vec4(mix(prevPositionNext, positionNext, percent), 1.0);\n#else\n vec4 prevProj = worldViewProjection * vec4(positionPrev, 1.0);\n vec4 currProj = worldViewProjection * vec4(position, 1.0);\n vec4 nextProj = worldViewProjection * vec4(positionNext, 1.0);\n#endif\n\n if (currProj.w < 0.0) {\n if (nextProj.w > 0.0) {\n currProj = clipNear(currProj, nextProj);\n }\n else if (prevProj.w > 0.0) {\n currProj = clipNear(currProj, prevProj);\n }\n }\n\n vec2 prevScreen = (prevProj.xy / abs(prevProj.w) + 1.0) * 0.5 * viewport.zw;\n vec2 currScreen = (currProj.xy / abs(currProj.w) + 1.0) * 0.5 * viewport.zw;\n vec2 nextScreen = (nextProj.xy / abs(nextProj.w) + 1.0) * 0.5 * viewport.zw;\n\n vec2 dir;\n float len = offset;\n if (position == positionPrev) {\n dir = normalize(nextScreen - currScreen);\n }\n else if (position == positionNext) {\n dir = normalize(currScreen - prevScreen);\n }\n else {\n vec2 dirA = normalize(currScreen - prevScreen);\n vec2 dirB = normalize(nextScreen - currScreen);\n\n vec2 tanget = normalize(dirA + dirB);\n\n float miter = 1.0 / max(dot(tanget, dirA), 0.5);\n len *= miter;\n dir = tanget;\n }\n\n dir = vec2(-dir.y, dir.x) * len;\n currScreen += dir;\n\n currProj.xy = (currScreen / viewport.zw - 0.5) * 2.0 * abs(currProj.w);\n@end\n\n\n@export ecgl.meshLines3D.vertex\n\nattribute vec3 position: POSITION;\nattribute vec3 positionPrev;\nattribute vec3 positionNext;\nattribute float offset;\nattribute vec4 a_Color : COLOR;\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute vec3 prevPositionPrev;\nattribute vec3 prevPositionNext;\nuniform float percent : 1.0;\n#endif\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\nuniform float near : NEAR;\n\nvarying vec4 v_Color;\n\n@import ecgl.common.wireframe.vertexHeader\n\n@import ecgl.lines3D.clipNear\n\nvoid main()\n{\n @import ecgl.lines3D.expandLine\n\n gl_Position = currProj;\n\n v_Color = a_Color;\n\n @import ecgl.common.wireframe.vertexMain\n}\n@end\n\n\n@export ecgl.meshLines3D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end",ute=y7.firstNotNull;see.Shader.import(lte);var cte={x:0,y:2,z:1},hte=Wp.extend({type:"grid3D",__ecgl__:!0,init:function(e,t){var n=[["y","z","x",-1,"left"],["y","z","x",1,"right"],["x","y","z",-1,"bottom"],["x","y","z",1,"top"],["x","z","y",-1,"far"],["x","z","y",1,"near"]],i=["x","y","z"],r=new see.Material({shader:see.createShader("ecgl.color"),depthMask:!1,transparent:!0}),a=new see.Material({shader:see.createShader("ecgl.meshLines3D"),depthMask:!1,transparent:!0});r.define("fragment","DOUBLE_SIDED"),r.define("both","VERTEX_COLOR"),this.groupGL=new see.Node,this._control=new Iee({zr:t.getZr()}),this._control.init(),this._faces=n.map((function(e){var t=new Jee(e,a,r);return this.groupGL.add(t.rootNode),t}),this),this._axes=i.map((function(e){var t=new ste(e,a);return this.groupGL.add(t.rootNode),t}),this);var o=t.getDevicePixelRatio();this._axisLabelSurface=new Fee({width:256,height:256,devicePixelRatio:o}),this._axisLabelSurface.onupdate=function(){t.getZr().refresh()},this._axisPointerLineMesh=new see.Mesh({geometry:new zee({useNativeLine:!1}),material:a,castShadow:!1,ignorePicking:!0,renderOrder:3}),this.groupGL.add(this._axisPointerLineMesh),this._axisPointerLabelsSurface=new Fee({width:128,height:128,devicePixelRatio:o}),this._axisPointerLabelsMesh=new nte({ignorePicking:!0,renderOrder:4,castShadow:!1}),this._axisPointerLabelsMesh.material.set("textureAtlas",this._axisPointerLabelsSurface.getTexture()),this.groupGL.add(this._axisPointerLabelsMesh),this._lightRoot=new see.Node,this._sceneHelper=new Vee,this._sceneHelper.initLight(this._lightRoot)},render:function(e,t,n){this._model=e,this._api=n;var i=e.coordinateSystem;i.viewGL.add(this._lightRoot),e.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL);var r=this._control;r.setViewGL(i.viewGL);var a=e.getModel("viewControl");r.setFromViewControlModel(a,0),this._axisLabelSurface.clear(),r.off("update"),e.get("show")&&(this._faces.forEach((function(i){i.update(e,t,n)}),this),this._axes.forEach((function(t){t.update(e,this._axisLabelSurface,n)}),this)),r.on("update",this._onCameraChange.bind(this,e,n),this),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(e),i.viewGL.setPostEffect(e.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling")),this._initMouseHandler(e)},afterRender:function(e,t,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,e,n),this._sceneHelper.updateSkybox(r,e,n)},showAxisPointer:function(e,t,n,i){this._doShowAxisPointer(),this._updateAxisPointer(i.value)},hideAxisPointer:function(e,t,n,i){this._doHideAxisPointer()},_initMouseHandler:function(e){var t=e.coordinateSystem,n=t.viewGL;e.get("show")&&e.get("axisPointer.show")?n.on("mousemove",this._updateAxisPointerOnMousePosition,this):n.off("mousemove",this._updateAxisPointerOnMousePosition)},_updateAxisPointerOnMousePosition:function(e){if(!e.target){for(var t,n=this._model,i=n.coordinateSystem,r=i.viewGL,a=r.castRay(e.offsetX,e.offsetY,new see.Ray),o=0;o<this._faces.length;o++){var s=this._faces[o];if(!s.rootNode.invisible){s.plane.normal.dot(r.camera.worldTransform.z)<0&&s.plane.normal.negate();var l=a.intersectPlane(s.plane);if(l){var u=i.getAxis(s.faceInfo[0]),c=i.getAxis(s.faceInfo[1]),h=cte[s.faceInfo[0]],d=cte[s.faceInfo[1]];u.contain(l.array[h])&&c.contain(l.array[d])&&(t=l)}}}if(t){var f=i.pointToData(t.array,[],!0);this._updateAxisPointer(f),this._doShowAxisPointer()}else this._doHideAxisPointer()}},_onCameraChange:function(e,t){e.get("show")&&(this._updateFaceVisibility(),this._updateAxisLinePosition());var n=this._control;t.dispatchAction({type:"grid3DChangeCamera",alpha:n.getAlpha(),beta:n.getBeta(),distance:n.getDistance(),center:n.getCenter(),from:this.uid,grid3DId:e.id})},_updateFaceVisibility:function(){var e=this._control.getCamera(),t=new see.Vector3;e.update();for(var n=0;n<this._faces.length/2;n++){for(var i=[],r=0;r<2;r++){var a=this._faces[2*n+r];a.rootNode.getWorldPosition(t),t.transformMat4(e.viewMatrix),i[r]=t.z}var o=i[0]>i[1]?0:1,s=this._faces[2*n+o],l=this._faces[2*n+1-o];s.rootNode.invisible=!0,l.rootNode.invisible=!1}},_updateAxisLinePosition:function(){var e=this._model.coordinateSystem,t=e.getAxis("x"),n=e.getAxis("y"),i=e.getAxis("z"),r=i.getExtentMax(),a=i.getExtentMin(),o=t.getExtentMin(),s=t.getExtentMax(),l=n.getExtentMax(),u=n.getExtentMin(),c=this._axes[0].rootNode,h=this._axes[1].rootNode,d=this._axes[2].rootNode,f=this._faces,p=f[4].rootNode.invisible?u:l,m=f[2].rootNode.invisible?r:a,g=f[0].rootNode.invisible?o:s,y=f[2].rootNode.invisible?r:a,v=f[0].rootNode.invisible?s:o,_=f[4].rootNode.invisible?u:l;c.rotation.identity(),h.rotation.identity(),d.rotation.identity(),f[4].rootNode.invisible&&(this._axes[0].flipped=!0,c.rotation.rotateX(Math.PI)),f[0].rootNode.invisible&&(this._axes[1].flipped=!0,h.rotation.rotateZ(Math.PI)),f[4].rootNode.invisible&&(this._axes[2].flipped=!0,d.rotation.rotateY(Math.PI)),c.position.set(0,m,p),h.position.set(g,y,0),d.position.set(v,0,_),c.update(),h.update(),d.update(),this._updateAxisLabelAlign()},_updateAxisLabelAlign:function(){var e=this._control.getCamera(),t=[new see.Vector4,new see.Vector4],n=new see.Vector4;this.groupGL.getWorldPosition(n),n.w=1,n.transformMat4(e.viewMatrix).transformMat4(e.projectionMatrix),n.x/=n.w,n.y/=n.w,this._axes.forEach((function(i){for(var r=i.axisLineCoords,a=(i.labelsMesh.geometry,0);a<t.length;a++)t[a].setArray(r[a]),t[a].w=1,t[a].transformMat4(i.rootNode.worldTransform).transformMat4(e.viewMatrix).transformMat4(e.projectionMatrix),t[a].x/=t[a].w,t[a].y/=t[a].w;var o,s,l=t[1].x-t[0].x,u=t[1].y-t[0].y,c=(t[1].x+t[0].x)/2,h=(t[1].y+t[0].y)/2;Math.abs(u/l)<.5?(o="center",s=h>n.y?"bottom":"top"):(s="middle",o=c>n.x?"left":"right"),i.setSpriteAlign(o,s,this._api)}),this)},_doShowAxisPointer:function(){this._axisPointerLineMesh.invisible&&(this._axisPointerLineMesh.invisible=!1,this._axisPointerLabelsMesh.invisible=!1,this._api.getZr().refresh())},_doHideAxisPointer:function(){this._axisPointerLineMesh.invisible||(this._axisPointerLineMesh.invisible=!0,this._axisPointerLabelsMesh.invisible=!0,this._api.getZr().refresh())},_updateAxisPointer:function(e){var t=this._model.coordinateSystem,n=t.dataToPoint(e),i=this._axisPointerLineMesh,r=i.geometry,a=this._model.getModel("axisPointer"),o=this._api.getDevicePixelRatio();function s(e){return y7.firstNotNull(e.model.get("axisPointer.show"),a.get("show"))}function l(e){var t=e.model.getModel("axisPointer",a),n=t.getModel("lineStyle"),i=see.parseColor(n.get("color")),r=ute(n.get("width"),1),o=ute(n.get("opacity"),1);return i[3]*=o,{color:i,lineWidth:r}}r.convertToDynamicArray(!0);for(var u=0;u<this._faces.length;u++){var c=this._faces[u];if(!c.rootNode.invisible){for(var h=c.faceInfo,d=h[3]<0?t.getAxis(h[2]).getExtentMin():t.getAxis(h[2]).getExtentMax(),f=cte[h[2]],p=0;p<2;p++){var m=h[p],g=h[1-p],y=t.getAxis(m),v=t.getAxis(g);if(s(y)){var _=[0,0,0],x=[0,0,0],b=cte[m],w=cte[g];_[b]=x[b]=n[b],_[f]=x[f]=d,_[w]=v.getExtentMin(),x[w]=v.getExtentMax();var M=l(y);r.addLine(_,x,M.color,M.lineWidth*o)}}if(s(t.getAxis(h[2]))){_=n.slice(),x=n.slice();x[f]=d;M=l(t.getAxis(h[2]));r.addLine(_,x,M.color,M.lineWidth*o)}}}r.convertToTypedArray(),this._updateAxisPointerLabelsMesh(e),this._api.getZr().refresh()},_updateAxisPointerLabelsMesh:function(e){var t=this._model,n=this._axisPointerLabelsMesh,i=this._axisPointerLabelsSurface,r=t.coordinateSystem,a=t.getModel("axisPointer");n.geometry.convertToDynamicArray(!0),i.clear();var o={x:"y",y:"x",z:"y"};this._axes.forEach((function(t,u){var c=r.getAxis(t.dim),h=c.model,d=h.getModel("axisPointer",a),f=d.getModel("label"),p=d.get("lineStyle.color");if(f.get("show")&&d.get("show")){var m=e[u],g=f.get("formatter"),y=c.scale.getLabel({value:m});if(null!=g)y=g(y,e);else if("interval"===c.scale.type||"log"===c.scale.type){var v=s.getPrecisionSafe(c.scale.getTicks()[0]);y=m.toFixed(v+2)}var _=f.get("color"),x=new l.Text({style:xu(f,{text:y,fill:_||p,align:"left",verticalAlign:"top"})}),b=i.add(x),w=x.getBoundingRect(),M=this._api.getDevicePixelRatio(),S=t.rootNode.position.toArray(),T=cte[o[t.dim]];S[T]+=(t.flipped?-1:1)*f.get("margin"),S[cte[t.dim]]=c.dataToCoord(e[u]),n.geometry.addSprite(S,[w.width*M,w.height*M],b,t.textAlign,t.textVerticalAlign)}}),this),i.getZr().refreshImmediately(),n.material.set("uvScale",i.getCoordsScale()),n.geometry.convertToTypedArray()},dispose:function(){this.groupGL.removeAll(),this._control.dispose(),this._axisLabelSurface.dispose(),this._axisPointerLabelsSurface.dispose()}});function dte(e){NO.call(this,e),this.type="cartesian3D",this.dimensions=["x","y","z"],this.size=[0,0,0]}dte.prototype={constructor:dte,model:null,containPoint:function(e){return this.getAxis("x").contain(e[0])&&this.getAxis("y").contain(e[2])&&this.getAxis("z").contain(e[1])},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])&&this.getAxis("z").containData(e[2])},dataToPoint:function(e,t,n){return t=t||[],t[0]=this.getAxis("x").dataToCoord(e[0],n),t[2]=this.getAxis("y").dataToCoord(e[1],n),t[1]=this.getAxis("z").dataToCoord(e[2],n),t},pointToData:function(e,t,n){return t=t||[],t[0]=this.getAxis("x").coordToData(e[0],n),t[1]=this.getAxis("y").coordToData(e[2],n),t[2]=this.getAxis("z").coordToData(e[1],n),t}},c.inherits(dte,NO);var fte=dte;function pte(e,t,n){mS.call(this,e,t,n)}pte.prototype={constructor:pte,getExtentMin:function(){var e=this._extent;return Math.min(e[0],e[1])},getExtentMax:function(){var e=this._extent;return Math.max(e[0],e[1])},calculateCategoryInterval:function(){return Math.floor(this.scale.count()/8)}},c.inherits(pte,mS);var mte=pte,gte=function(){this._pool={},this._allocatedTextures=[]};gte.prototype={constructor:gte,get:function(e){var t=_te(e);this._pool.hasOwnProperty(t)||(this._pool[t]=[]);var n=this._pool[t];if(!n.length){var i=new W9(e);return this._allocatedTextures.push(i),i}return n.pop()},put:function(e){var t=_te(e);this._pool.hasOwnProperty(t)||(this._pool[t]=[]);var n=this._pool[t];n.push(e)},clear:function(e){for(var t=0;t<this._allocatedTextures.length;t++)this._allocatedTextures[t].dispose(e);this._pool={},this._allocatedTextures=[]}};var yte={width:512,height:512,type:f4.UNSIGNED_BYTE,format:f4.RGBA,wrapS:f4.CLAMP_TO_EDGE,wrapT:f4.CLAMP_TO_EDGE,minFilter:f4.LINEAR_MIPMAP_LINEAR,magFilter:f4.LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,unpackAlignment:4,premultiplyAlpha:!1},vte=Object.keys(yte);function _te(e){o4.defaultsWithPropList(e,yte,vte),xte(e);for(var t="",n=0;n<vte.length;n++){var i=vte[n],r=e[i].toString();t+=r}return t}function xte(e){var t=bte(e.width,e.height);e.format===f4.DEPTH_COMPONENT&&(e.useMipmap=!1),t&&e.useMipmap||(e.minFilter==f4.NEAREST_MIPMAP_NEAREST||e.minFilter==f4.NEAREST_MIPMAP_LINEAR?e.minFilter=f4.NEAREST:e.minFilter!=f4.LINEAR_MIPMAP_LINEAR&&e.minFilter!=f4.LINEAR_MIPMAP_NEAREST||(e.minFilter=f4.LINEAR)),t||(e.wrapS=f4.CLAMP_TO_EDGE,e.wrapT=f4.CLAMP_TO_EDGE)}function bte(e,t){return 0===(e&e-1)&&0===(t&t-1)}var wte=gte,Mte="@export clay.sm.depth.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nuniform vec2 uvRepeat = vec2(1.0, 1.0);\nuniform vec2 uvOffset = vec2(0.0, 0.0);\n@import clay.chunk.skinning_header\n@import clay.chunk.instancing_header\nvarying vec4 v_ViewPosition;\nvarying vec2 v_Texcoord;\nvoid main(){\n vec4 P = vec4(position, 1.0);\n#ifdef SKINNING\n @import clay.chunk.skin_matrix\n P = skinMatrixWS * P;\n#endif\n#ifdef INSTANCING\n @import clay.chunk.instancing_matrix\n P = instanceMat * P;\n#endif\n v_ViewPosition = worldViewProjection * P;\n gl_Position = v_ViewPosition;\n v_Texcoord = texcoord * uvRepeat + uvOffset;\n}\n@end\n@export clay.sm.depth.fragment\nvarying vec4 v_ViewPosition;\nvarying vec2 v_Texcoord;\nuniform float bias : 0.001;\nuniform float slopeScale : 1.0;\nuniform sampler2D alphaMap;\nuniform float alphaCutoff: 0.0;\n@import clay.util.encode_float\nvoid main(){\n float depth = v_ViewPosition.z / v_ViewPosition.w;\n if (alphaCutoff > 0.0) {\n if (texture2D(alphaMap, v_Texcoord).a <= alphaCutoff) {\n discard;\n }\n }\n#ifdef USE_VSM\n depth = depth * 0.5 + 0.5;\n float moment1 = depth;\n float moment2 = depth * depth;\n #ifdef SUPPORT_STANDARD_DERIVATIVES\n float dx = dFdx(depth);\n float dy = dFdy(depth);\n moment2 += 0.25*(dx*dx+dy*dy);\n #endif\n gl_FragColor = vec4(moment1, moment2, 0.0, 1.0);\n#else\n #ifdef SUPPORT_STANDARD_DERIVATIVES\n float dx = dFdx(depth);\n float dy = dFdy(depth);\n depth += sqrt(dx*dx + dy*dy) * slopeScale + bias;\n #else\n depth += bias;\n #endif\n gl_FragColor = encodeFloat(depth * 0.5 + 0.5);\n#endif\n}\n@end\n@export clay.sm.debug_depth\nuniform sampler2D depthMap;\nvarying vec2 v_Texcoord;\n@import clay.util.decode_float\nvoid main() {\n vec4 tex = texture2D(depthMap, v_Texcoord);\n#ifdef USE_VSM\n gl_FragColor = vec4(tex.rgb, 1.0);\n#else\n float depth = decodeFloat(tex);\n gl_FragColor = vec4(depth, depth, depth, 1.0);\n#endif\n}\n@end\n@export clay.sm.distance.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform mat4 world : WORLD;\nattribute vec3 position : POSITION;\n@import clay.chunk.skinning_header\nvarying vec3 v_WorldPosition;\nvoid main (){\n vec4 P = vec4(position, 1.0);\n#ifdef SKINNING\n @import clay.chunk.skin_matrix\n P = skinMatrixWS * P;\n#endif\n#ifdef INSTANCING\n @import clay.chunk.instancing_matrix\n P = instanceMat * P;\n#endif\n gl_Position = worldViewProjection * P;\n v_WorldPosition = (world * P).xyz;\n}\n@end\n@export clay.sm.distance.fragment\nuniform vec3 lightPosition;\nuniform float range : 100;\nvarying vec3 v_WorldPosition;\n@import clay.util.encode_float\nvoid main(){\n float dist = distance(lightPosition, v_WorldPosition);\n#ifdef USE_VSM\n gl_FragColor = vec4(dist, dist * dist, 0.0, 0.0);\n#else\n dist = dist / range;\n gl_FragColor = encodeFloat(dist);\n#endif\n}\n@end\n@export clay.plugin.shadow_map_common\n@import clay.util.decode_float\nfloat tapShadowMap(sampler2D map, vec2 uv, float z){\n vec4 tex = texture2D(map, uv);\n return step(z, decodeFloat(tex) * 2.0 - 1.0);\n}\nfloat pcf(sampler2D map, vec2 uv, float z, float textureSize, vec2 scale) {\n float shadowContrib = tapShadowMap(map, uv, z);\n vec2 offset = vec2(1.0 / textureSize) * scale;\n#ifdef PCF_KERNEL_SIZE\n for (int _idx_ = 0; _idx_ < PCF_KERNEL_SIZE; _idx_++) {{\n shadowContrib += tapShadowMap(map, uv + offset * pcfKernel[_idx_], z);\n }}\n return shadowContrib / float(PCF_KERNEL_SIZE + 1);\n#else\n shadowContrib += tapShadowMap(map, uv+vec2(offset.x, 0.0), z);\n shadowContrib += tapShadowMap(map, uv+vec2(offset.x, offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(0.0, offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, 0.0), z);\n shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, -offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(offset.x, -offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(0.0, -offset.y), z);\n return shadowContrib / 9.0;\n#endif\n}\nfloat pcf(sampler2D map, vec2 uv, float z, float textureSize) {\n return pcf(map, uv, z, textureSize, vec2(1.0));\n}\nfloat chebyshevUpperBound(vec2 moments, float z){\n float p = 0.0;\n z = z * 0.5 + 0.5;\n if (z <= moments.x) {\n p = 1.0;\n }\n float variance = moments.y - moments.x * moments.x;\n variance = max(variance, 0.0000001);\n float mD = moments.x - z;\n float pMax = variance / (variance + mD * mD);\n pMax = clamp((pMax-0.4)/(1.0-0.4), 0.0, 1.0);\n return max(p, pMax);\n}\nfloat computeShadowContrib(\n sampler2D map, mat4 lightVPM, vec3 position, float textureSize, vec2 scale, vec2 offset\n) {\n vec4 posInLightSpace = lightVPM * vec4(position, 1.0);\n posInLightSpace.xyz /= posInLightSpace.w;\n float z = posInLightSpace.z;\n if(all(greaterThan(posInLightSpace.xyz, vec3(-0.99, -0.99, -1.0))) &&\n all(lessThan(posInLightSpace.xyz, vec3(0.99, 0.99, 1.0)))){\n vec2 uv = (posInLightSpace.xy+1.0) / 2.0;\n #ifdef USE_VSM\n vec2 moments = texture2D(map, uv * scale + offset).xy;\n return chebyshevUpperBound(moments, z);\n #else\n return pcf(map, uv * scale + offset, z, textureSize, scale);\n #endif\n }\n return 1.0;\n}\nfloat computeShadowContrib(sampler2D map, mat4 lightVPM, vec3 position, float textureSize) {\n return computeShadowContrib(map, lightVPM, position, textureSize, vec2(1.0), vec2(0.0));\n}\nfloat computeShadowContribOmni(samplerCube map, vec3 direction, float range)\n{\n float dist = length(direction);\n vec4 shadowTex = textureCube(map, direction);\n#ifdef USE_VSM\n vec2 moments = shadowTex.xy;\n float variance = moments.y - moments.x * moments.x;\n float mD = moments.x - dist;\n float p = variance / (variance + mD * mD);\n if(moments.x + 0.001 < dist){\n return clamp(p, 0.0, 1.0);\n }else{\n return 1.0;\n }\n#else\n return step(dist, (decodeFloat(shadowTex) + 0.0002) * range);\n#endif\n}\n@end\n@export clay.plugin.compute_shadow_map\n#if defined(SPOT_LIGHT_SHADOWMAP_COUNT) || defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) || defined(POINT_LIGHT_SHADOWMAP_COUNT)\n#ifdef SPOT_LIGHT_SHADOWMAP_COUNT\nuniform sampler2D spotLightShadowMaps[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform mat4 spotLightMatrices[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform float spotLightShadowMapSizes[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\n#endif\n#ifdef DIRECTIONAL_LIGHT_SHADOWMAP_COUNT\n#if defined(SHADOW_CASCADE)\nuniform sampler2D directionalLightShadowMaps[1]:unconfigurable;\nuniform mat4 directionalLightMatrices[SHADOW_CASCADE]:unconfigurable;\nuniform float directionalLightShadowMapSizes[1]:unconfigurable;\nuniform float shadowCascadeClipsNear[SHADOW_CASCADE]:unconfigurable;\nuniform float shadowCascadeClipsFar[SHADOW_CASCADE]:unconfigurable;\n#else\nuniform sampler2D directionalLightShadowMaps[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform mat4 directionalLightMatrices[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform float directionalLightShadowMapSizes[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\n#endif\n#endif\n#ifdef POINT_LIGHT_SHADOWMAP_COUNT\nuniform samplerCube pointLightShadowMaps[POINT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\n#endif\nuniform bool shadowEnabled : true;\n#ifdef PCF_KERNEL_SIZE\nuniform vec2 pcfKernel[PCF_KERNEL_SIZE];\n#endif\n@import clay.plugin.shadow_map_common\n#if defined(SPOT_LIGHT_SHADOWMAP_COUNT)\nvoid computeShadowOfSpotLights(vec3 position, inout float shadowContribs[SPOT_LIGHT_COUNT] ) {\n float shadowContrib;\n for(int _idx_ = 0; _idx_ < SPOT_LIGHT_SHADOWMAP_COUNT; _idx_++) {{\n shadowContrib = computeShadowContrib(\n spotLightShadowMaps[_idx_], spotLightMatrices[_idx_], position,\n spotLightShadowMapSizes[_idx_]\n );\n shadowContribs[_idx_] = shadowContrib;\n }}\n for(int _idx_ = SPOT_LIGHT_SHADOWMAP_COUNT; _idx_ < SPOT_LIGHT_COUNT; _idx_++){{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#endif\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n#ifdef SHADOW_CASCADE\nvoid computeShadowOfDirectionalLights(vec3 position, inout float shadowContribs[DIRECTIONAL_LIGHT_COUNT]){\n float depth = (2.0 * gl_FragCoord.z - gl_DepthRange.near - gl_DepthRange.far)\n / (gl_DepthRange.far - gl_DepthRange.near);\n float shadowContrib;\n shadowContribs[0] = 1.0;\n for (int _idx_ = 0; _idx_ < SHADOW_CASCADE; _idx_++) {{\n if (\n depth >= shadowCascadeClipsNear[_idx_] &&\n depth <= shadowCascadeClipsFar[_idx_]\n ) {\n shadowContrib = computeShadowContrib(\n directionalLightShadowMaps[0], directionalLightMatrices[_idx_], position,\n directionalLightShadowMapSizes[0],\n vec2(1.0 / float(SHADOW_CASCADE), 1.0),\n vec2(float(_idx_) / float(SHADOW_CASCADE), 0.0)\n );\n shadowContribs[0] = shadowContrib;\n }\n }}\n for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#else\nvoid computeShadowOfDirectionalLights(vec3 position, inout float shadowContribs[DIRECTIONAL_LIGHT_COUNT]){\n float shadowContrib;\n for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_++) {{\n shadowContrib = computeShadowContrib(\n directionalLightShadowMaps[_idx_], directionalLightMatrices[_idx_], position,\n directionalLightShadowMapSizes[_idx_]\n );\n shadowContribs[_idx_] = shadowContrib;\n }}\n for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#endif\n#endif\n#if defined(POINT_LIGHT_SHADOWMAP_COUNT)\nvoid computeShadowOfPointLights(vec3 position, inout float shadowContribs[POINT_LIGHT_COUNT] ){\n vec3 lightPosition;\n vec3 direction;\n for(int _idx_ = 0; _idx_ < POINT_LIGHT_SHADOWMAP_COUNT; _idx_++) {{\n lightPosition = pointLightPosition[_idx_];\n direction = position - lightPosition;\n shadowContribs[_idx_] = computeShadowContribOmni(pointLightShadowMaps[_idx_], direction, pointLightRange[_idx_]);\n }}\n for(int _idx_ = POINT_LIGHT_SHADOWMAP_COUNT; _idx_ < POINT_LIGHT_COUNT; _idx_++) {{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#endif\n#endif\n@end",Ste=["px","nx","py","ny","pz","nz"];function Tte(e,t,n){if("alphaMap"===n)return e.material.get("diffuseMap");if("alphaCutoff"===n){if(e.material.isDefined("fragment","ALPHA_TEST")&&e.material.get("diffuseMap")){var i=e.material.get("alphaCutoff");return i||0}return 0}return"uvRepeat"===n?e.material.get("uvRepeat"):"uvOffset"===n?e.material.get("uvOffset"):t.get(n)}function Lte(e,t){var n=e.material,i=t.material;return n.get("diffuseMap")!==i.get("diffuseMap")||(n.get("alphaCutoff")||0)!==(i.get("alphaCutoff")||0)}I5["import"](Mte);var Dte=l4.extend((function(){return{softShadow:Dte.PCF,shadowBlur:1,lightFrustumBias:"auto",kernelPCF:new Float32Array([1,0,1,1,-1,1,0,1,-1,0,-1,-1,1,-1,0,-1]),precision:"highp",_lastRenderNotCastShadow:!1,_frameBuffer:new J8,_textures:{},_shadowMapNumber:{POINT_LIGHT:0,DIRECTIONAL_LIGHT:0,SPOT_LIGHT:0},_depthMaterials:{},_distanceMaterials:{},_receivers:[],_lightsCastShadow:[],_lightCameras:{},_lightMaterials:{},_texturePool:new wte}}),(function(){this._gaussianPassH=new e7({fragment:I5.source("clay.compositor.gaussian_blur")}),this._gaussianPassV=new e7({fragment:I5.source("clay.compositor.gaussian_blur")}),this._gaussianPassH.setUniform("blurSize",this.shadowBlur),this._gaussianPassH.setUniform("blurDir",0),this._gaussianPassV.setUniform("blurSize",this.shadowBlur),this._gaussianPassV.setUniform("blurDir",1),this._outputDepthPass=new e7({fragment:I5.source("clay.sm.debug_depth")})}),{render:function(e,t,n,i){n||(n=t.getMainCamera()),this.trigger("beforerender",this,e,t,n),this._renderShadowPass(e,t,n,i),this.trigger("afterrender",this,e,t,n)},renderDebug:function(e,t){e.saveClear();var n=e.viewport,i=0,r=0,a=t||n.width/4,o=a;for(var s in this.softShadow===Dte.VSM?this._outputDepthPass.material.define("fragment","USE_VSM"):this._outputDepthPass.material.undefine("fragment","USE_VSM"),this._textures){var l=this._textures[s];e.setViewport(i,r,a*l.width/l.height,o),this._outputDepthPass.setUniform("depthMap",l),this._outputDepthPass.render(e),i+=a*l.width/l.height}e.setViewport(n),e.restoreClear()},_updateReceivers:function(e,t){if(t.receiveShadow?(this._receivers.push(t),t.material.set("shadowEnabled",1),t.material.set("pcfKernel",this.kernelPCF)):t.material.set("shadowEnabled",0),this.softShadow===Dte.VSM)t.material.define("fragment","USE_VSM"),t.material.undefine("fragment","PCF_KERNEL_SIZE");else{t.material.undefine("fragment","USE_VSM");var n=this.kernelPCF;n&&n.length?t.material.define("fragment","PCF_KERNEL_SIZE",n.length/2):t.material.undefine("fragment","PCF_KERNEL_SIZE")}},_update:function(e,t){var n=this;t.traverse((function(t){t.isRenderable()&&n._updateReceivers(e,t)}));for(var i=0;i<t.lights.length;i++){var r=t.lights[i];r.castShadow&&!r.invisible&&this._lightsCastShadow.push(r)}},_renderShadowPass:function(e,t,n,i){for(var r in this._shadowMapNumber)this._shadowMapNumber[r]=0;this._lightsCastShadow.length=0,this._receivers.length=0;var a=e.gl;if(i||t.update(),n&&n.update(),t.updateLights(),this._update(e,t),this._lightsCastShadow.length||!this._lastRenderNotCastShadow){this._lastRenderNotCastShadow=0===this._lightsCastShadow,a.enable(a.DEPTH_TEST),a.depthMask(!0),a.disable(a.BLEND),a.clearColor(1,1,1,1);for(var o,s=[],l=[],u=[],c=[],h=[],d=[],f=0;f<this._lightsCastShadow.length;f++){var p=this._lightsCastShadow[f];if("DIRECTIONAL_LIGHT"===p.type){if(o){console.warn("Only one direectional light supported with shadow cascade");continue}if(p.shadowCascade>4){console.warn("Support at most 4 cascade");continue}p.shadowCascade>1&&(o=p),this.renderDirectionalLightShadow(e,t,n,p,h,c,u)}else"SPOT_LIGHT"===p.type?this.renderSpotLightShadow(e,t,p,l,s):"POINT_LIGHT"===p.type&&this.renderPointLightShadow(e,t,p,d);this._shadowMapNumber[p.type]++}for(var m in this._shadowMapNumber){var g=this._shadowMapNumber[m],y=m+"_SHADOWMAP_COUNT";for(f=0;f<this._receivers.length;f++){var v=this._receivers[f],_=v.material;_.fragmentDefines[y]!==g&&(g>0?_.define("fragment",y,g):_.isDefined("fragment",y)&&_.undefine("fragment",y))}}for(f=0;f<this._receivers.length;f++){v=this._receivers[f],_=v.material;o?_.define("fragment","SHADOW_CASCADE",o.shadowCascade):_.undefine("fragment","SHADOW_CASCADE")}var x=t.shadowUniforms;if(u.length>0){var b=u.map(T);if(x.directionalLightShadowMaps={value:u,type:"tv"},x.directionalLightMatrices={value:c,type:"m4v"},x.directionalLightShadowMapSizes={value:b,type:"1fv"},o){var w=h.slice(),M=h.slice();w.pop(),M.shift(),w.reverse(),M.reverse(),c.reverse(),x.shadowCascadeClipsNear={value:w,type:"1fv"},x.shadowCascadeClipsFar={value:M,type:"1fv"}}}if(s.length>0){var S=s.map(T);x=t.shadowUniforms;x.spotLightShadowMaps={value:s,type:"tv"},x.spotLightMatrices={value:l,type:"m4v"},x.spotLightShadowMapSizes={value:S,type:"1fv"}}d.length>0&&(x.pointLightShadowMaps={value:d,type:"tv"})}function T(e){return e.height}},renderDirectionalLightShadow:function(){var e=new w8,t=new g9,n=new S9,i=new g9,r=new g9,a=new g9,o=new g9;return function(s,l,u,c,h,d,f){var p=this._getDepthMaterial(c),m={getMaterial:function(e){return e.shadowDepthMaterial||p},isMaterialChanged:Lte,getUniform:Tte,ifRender:function(e){return e.castShadow},sortCompare:q5.opaqueSortCompare};if(!l.viewBoundingBoxLastFrame.isFinite()){var g=l.getBoundingBox();l.viewBoundingBoxLastFrame.copy(g).applyTransform(u.viewMatrix)}var y=Math.min(-l.viewBoundingBoxLastFrame.min.z,u.far),v=Math.max(-l.viewBoundingBoxLastFrame.max.z,u.near),_=this._getDirectionalLightCamera(c,l,u),x=a.array;o.copy(_.projectionMatrix),P5.invert(r.array,_.worldTransform.array),P5.multiply(r.array,r.array,u.worldTransform.array),P5.multiply(x,o.array,r.array);for(var b=[],w=u instanceof H8,M=(u.near+u.far)/(u.near-u.far),S=2*u.near*u.far/(u.near-u.far),T=0;T<=c.shadowCascade;T++){var L=v*Math.pow(y/v,T/c.shadowCascade),D=v+(y-v)*T/c.shadowCascade,A=L*c.cascadeSplitLogFactor+D*(1-c.cascadeSplitLogFactor);b.push(A),h.push(-(-A*M+S)/-A)}var O=this._getTexture(c,c.shadowCascade);f.push(O);var k=s.viewport,I=s.gl;this._frameBuffer.attach(O),this._frameBuffer.bind(s),I.clear(I.COLOR_BUFFER_BIT|I.DEPTH_BUFFER_BIT);for(T=0;T<c.shadowCascade;T++){var C=b[T],E=b[T+1];w?P5.perspective(t.array,u.fov/180*Math.PI,u.aspect,C,E):P5.ortho(t.array,u.left,u.right,u.bottom,u.top,C,E),e.setFromProjection(t),e.getTransformedBoundingBox(n,r),n.applyProjection(o);var P=n.min.array,N=n.max.array;P[0]=Math.max(P[0],-1),P[1]=Math.max(P[1],-1),N[0]=Math.min(N[0],1),N[1]=Math.min(N[1],1),i.ortho(P[0],N[0],P[1],N[1],1,-1),_.projectionMatrix.multiplyLeft(i);var R=c.shadowResolution||512;s.setViewport((c.shadowCascade-T-1)*R,0,R,R,1);var Y=l.updateRenderList(_);s.renderPass(Y.opaque,_,m),this.softShadow===Dte.VSM&&this._gaussianFilter(s,O,O.width);var z=new g9;z.copy(_.viewMatrix).multiplyLeft(_.projectionMatrix),d.push(z.array),_.projectionMatrix.copy(o)}this._frameBuffer.unbind(s),s.setViewport(k)}}(),renderSpotLightShadow:function(e,t,n,i,r){var a=this._getTexture(n),o=this._getSpotLightCamera(n),s=e.gl;this._frameBuffer.attach(a),this._frameBuffer.bind(e),s.clear(s.COLOR_BUFFER_BIT|s.DEPTH_BUFFER_BIT);var l=this._getDepthMaterial(n),u={getMaterial:function(e){return e.shadowDepthMaterial||l},isMaterialChanged:Lte,getUniform:Tte,ifRender:function(e){return e.castShadow},sortCompare:q5.opaqueSortCompare},c=t.updateRenderList(o);e.renderPass(c.opaque,o,u),this._frameBuffer.unbind(e),this.softShadow===Dte.VSM&&this._gaussianFilter(e,a,a.width);var h=new g9;h.copy(o.worldTransform).invert().multiplyLeft(o.projectionMatrix),r.push(a),i.push(h.array)},renderPointLightShadow:function(e,t,n,i){var r=this._getTexture(n),a=e.gl;i.push(r);var o=this._getDepthMaterial(n),s={getMaterial:function(e){return e.shadowDepthMaterial||o},getUniform:Tte,sortCompare:q5.opaqueSortCompare},l={px:[],py:[],pz:[],nx:[],ny:[],nz:[]},u=new S9,c=n.getWorldPosition().array,h=new S9,d=n.range;h.min.setArray(c),h.max.setArray(c);var f=new i9(d,d,d);h.max.add(f),h.min.sub(f);var p={px:!1,py:!1,pz:!1,nx:!1,ny:!1,nz:!1};t.traverse((function(e){if(e.isRenderable()&&e.castShadow){var t=e.geometry;if(!t.boundingBox){for(var n=0;n<Ste.length;n++)l[Ste[n]].push(e);return}if(u.transformFrom(t.boundingBox,e.worldTransform),!u.intersectBoundingBox(h))return;u.updateVertices();for(n=0;n<Ste.length;n++)p[Ste[n]]=!1;for(n=0;n<8;n++){var i=u.vertices[n],r=i[0]-c[0],a=i[1]-c[1],o=i[2]-c[2],s=Math.abs(r),d=Math.abs(a),f=Math.abs(o);s>d?s>f?p[r>0?"px":"nx"]=!0:p[o>0?"pz":"nz"]=!0:d>f?p[a>0?"py":"ny"]=!0:p[o>0?"pz":"nz"]=!0}for(n=0;n<Ste.length;n++)p[Ste[n]]&&l[Ste[n]].push(e)}}));for(var m=0;m<6;m++){var g=Ste[m],y=this._getPointLightCamera(n,g);this._frameBuffer.attach(r,a.COLOR_ATTACHMENT0,a.TEXTURE_CUBE_MAP_POSITIVE_X+m),this._frameBuffer.bind(e),a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),e.renderPass(l[g],y,s)}this._frameBuffer.unbind(e)},_getDepthMaterial:function(e){var t=this._lightMaterials[e.__uid__],n="POINT_LIGHT"===e.type;if(!t){var i=n?"clay.sm.distance.":"clay.sm.depth.";t=new F4({precision:this.precision,shader:new I5(I5.source(i+"vertex"),I5.source(i+"fragment"))}),this._lightMaterials[e.__uid__]=t}return null!=e.shadowSlopeScale&&t.setUniform("slopeScale",e.shadowSlopeScale),null!=e.shadowBias&&t.setUniform("bias",e.shadowBias),this.softShadow===Dte.VSM?t.define("fragment","USE_VSM"):t.undefine("fragment","USE_VSM"),n&&(t.set("lightPosition",e.getWorldPosition().array),t.set("range",e.range)),t},_gaussianFilter:function(e,t,n){var i={width:n,height:n,type:R9.FLOAT},r=this._texturePool.get(i);this._frameBuffer.attach(r),this._frameBuffer.bind(e),this._gaussianPassH.setUniform("texture",t),this._gaussianPassH.setUniform("textureWidth",n),this._gaussianPassH.render(e),this._frameBuffer.attach(t),this._gaussianPassV.setUniform("texture",r),this._gaussianPassV.setUniform("textureHeight",n),this._gaussianPassV.render(e),this._frameBuffer.unbind(e),this._texturePool.put(r)},_getTexture:function(e,t){var n=e.__uid__,i=this._textures[n],r=e.shadowResolution||512;return t=t||1,i||(i="POINT_LIGHT"===e.type?new Y8:new W9,i.width=r*t,i.height=r,this.softShadow===Dte.VSM?(i.type=R9.FLOAT,i.anisotropic=4):(i.minFilter=f4.NEAREST,i.magFilter=f4.NEAREST,i.useMipmap=!1),this._textures[n]=i),i},_getPointLightCamera:function(e,t){this._lightCameras.point||(this._lightCameras.point={px:new H8,nx:new H8,py:new H8,ny:new H8,pz:new H8,nz:new H8});var n=this._lightCameras.point[t];switch(n.far=e.range,n.fov=90,n.position.set(0,0,0),t){case"px":n.lookAt(i9.POSITIVE_X,i9.NEGATIVE_Y);break;case"nx":n.lookAt(i9.NEGATIVE_X,i9.NEGATIVE_Y);break;case"py":n.lookAt(i9.POSITIVE_Y,i9.POSITIVE_Z);break;case"ny":n.lookAt(i9.NEGATIVE_Y,i9.NEGATIVE_Z);break;case"pz":n.lookAt(i9.POSITIVE_Z,i9.NEGATIVE_Y);break;case"nz":n.lookAt(i9.NEGATIVE_Z,i9.NEGATIVE_Y);break}return e.getWorldPosition(n.position),n.update(),n},_getDirectionalLightCamera:function(){var e=new g9,t=new S9,n=new S9;return function(i,r,a){this._lightCameras.directional||(this._lightCameras.directional=new Z6);var o=this._lightCameras.directional;t.copy(r.viewBoundingBoxLastFrame),t.intersection(a.frustum.boundingBox),o.position.copy(t.min).add(t.max).scale(.5).transformMat4(a.worldTransform),o.rotation.copy(i.rotation),o.scale.copy(i.scale),o.updateWorldTransform(),g9.invert(e,o.worldTransform),g9.multiply(e,e,a.worldTransform),n.copy(t).applyTransform(e);var s=n.min.array,l=n.max.array;return o.position.set((s[0]+l[0])/2,(s[1]+l[1])/2,l[2]).transformMat4(o.worldTransform),o.near=0,o.far=-s[2]+l[2],isNaN(this.lightFrustumBias)?o.far*=4:o.far+=this.lightFrustumBias,o.left=s[0],o.right=l[0],o.top=l[1],o.bottom=s[1],o.update(!0),o}}(),_getSpotLightCamera:function(e){this._lightCameras.spot||(this._lightCameras.spot=new H8);var t=this._lightCameras.spot;return t.fov=2*e.penumbraAngle,t.far=e.range,t.worldTransform.copy(e.worldTransform),t.updateProjectionMatrix(),P5.invert(t.viewMatrix.array,t.worldTransform.array),t},dispose:function(e){var t=e.gl||e;for(var n in this._frameBuffer&&this._frameBuffer.dispose(t),this._textures)this._textures[n].dispose(t);this._texturePool.clear(e.gl),this._depthMaterials={},this._distanceMaterials={},this._textures={},this._lightCameras={},this._shadowMapNumber={POINT_LIGHT:0,DIRECTIONAL_LIGHT:0,SPOT_LIGHT:0},this._meshMaterials={};for(var i=0;i<this._receivers.length;i++){var r=this._receivers[i];if(r.material){var a=r.material;a.undefine("fragment","POINT_LIGHT_SHADOW_COUNT"),a.undefine("fragment","DIRECTIONAL_LIGHT_SHADOW_COUNT"),a.undefine("fragment","AMBIENT_LIGHT_SHADOW_COUNT"),a.set("shadowEnabled",0)}}this._receivers=[],this._lightsCastShadow=[]}});Dte.VSM=1,Dte.PCF=2;var Ate=Dte,Ote=l4.extend((function(){return{name:"",inputLinks:{},outputLinks:{},_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}}),{updateParameter:function(e,t){var n,i,r=this.outputs[e],a=r.parameters,o=r._parametersCopy;if(o||(o=r._parametersCopy={}),a)for(var s in a)"width"!==s&&"height"!==s&&(o[s]=a[s]);return n=a.width instanceof Function?a.width.call(this,t):a.width,i=a.height instanceof Function?a.height.call(this,t):a.height,o.width===n&&o.height===i||this._outputTextures[e]&&this._outputTextures[e].dispose(t.gl),o.width=n,o.height=i,o},setParameter:function(e,t){},getParameter:function(e){},setParameters:function(e){for(var t in e)this.setParameter(t,e[t])},render:function(){},getOutput:function(e,t){if(null==t)return t=e,this._outputTextures[t];var n=this.outputs[t];return n?this._rendered?n.outputLastFrame?this._prevOutputTextures[t]:this._outputTextures[t]:this._rendering?(this._prevOutputTextures[t]||(this._prevOutputTextures[t]=this._compositor.allocateTexture(n.parameters||{})),this._prevOutputTextures[t]):(this.render(e),this._outputTextures[t]):void 0},removeReference:function(e){if(this._outputReferences[e]--,0===this._outputReferences[e]){var t=this.outputs[e];t.keepLastFrame?(this._prevOutputTextures[e]&&this._compositor.releaseTexture(this._prevOutputTextures[e]),this._prevOutputTextures[e]=this._outputTextures[e]):this._compositor.releaseTexture(this._outputTextures[e])}},link:function(e,t,n){this.inputLinks[e]={node:t,pin:n},t.outputLinks[n]||(t.outputLinks[n]=[]),t.outputLinks[n].push({node:this,pin:e}),this.pass.material.enableTexture(e)},clear:function(){this.inputLinks={},this.outputLinks={}},updateReference:function(e){if(!this._rendering){for(var t in this._rendering=!0,this.inputLinks){var n=this.inputLinks[t];n.node.updateReference(n.pin)}this._rendering=!1}e&&this._outputReferences[e]++},beforeFrame:function(){for(var e in this._rendered=!1,this.outputLinks)this._outputReferences[e]=0},afterFrame:function(){for(var e in this.outputLinks)if(this._outputReferences[e]>0){var t=this.outputs[e];t.keepLastFrame?(this._prevOutputTextures[e]&&this._compositor.releaseTexture(this._prevOutputTextures[e]),this._prevOutputTextures[e]=this._outputTextures[e]):this._compositor.releaseTexture(this._outputTextures[e])}}}),kte=Ote,Ite=l4.extend((function(){return{nodes:[]}}),{dirty:function(){this._dirty=!0},addNode:function(e){this.nodes.indexOf(e)>=0||(this.nodes.push(e),this._dirty=!0)},removeNode:function(e){"string"===typeof e&&(e=this.getNodeByName(e));var t=this.nodes.indexOf(e);t>=0&&(this.nodes.splice(t,1),this._dirty=!0)},getNodeByName:function(e){for(var t=0;t<this.nodes.length;t++)if(this.nodes[t].name===e)return this.nodes[t]},update:function(){for(var e=0;e<this.nodes.length;e++)this.nodes[e].clear();for(e=0;e<this.nodes.length;e++){var t=this.nodes[e];if(t.inputs)for(var n in t.inputs)if(t.inputs[n])if(!t.pass||t.pass.material.isUniformEnabled(n)){var i=t.inputs[n],r=this.findPin(i);r?t.link(n,r.node,r.pin):"string"===typeof i?console.warn("Node "+i+" not exist"):console.warn("Pin of "+i.node+"."+i.pin+" not exist")}else console.warn("Pin "+t.name+"."+n+" not used.")}},findPin:function(e){var t;if(("string"===typeof e||e instanceof kte)&&(e={node:e}),"string"===typeof e.node)for(var n=0;n<this.nodes.length;n++){var i=this.nodes[n];i.name===e.node&&(t=i)}else t=e.node;if(t){var r=e.pin;if(r||t.outputs&&(r=Object.keys(t.outputs)[0]),t.outputs[r])return{node:t,pin:r}}}}),Cte=Ite,Ete=Cte.extend((function(){return{_outputs:[],_texturePool:new wte,_frameBuffer:new J8({depthBuffer:!1})}}),{addNode:function(e){Cte.prototype.addNode.call(this,e),e._compositor=this},render:function(e,t){if(this._dirty){this.update(),this._dirty=!1,this._outputs.length=0;for(var n=0;n<this.nodes.length;n++)this.nodes[n].outputs||this._outputs.push(this.nodes[n])}for(n=0;n<this.nodes.length;n++)this.nodes[n].beforeFrame();for(n=0;n<this._outputs.length;n++)this._outputs[n].updateReference();for(n=0;n<this._outputs.length;n++)this._outputs[n].render(e,t);for(n=0;n<this.nodes.length;n++)this.nodes[n].afterFrame()},allocateTexture:function(e){return this._texturePool.get(e)},releaseTexture:function(e){this._texturePool.put(e)},getFrameBuffer:function(){return this._frameBuffer},dispose:function(e){this._texturePool.clear(e)}}),Pte=Ete,Nte=kte.extend({name:"scene",scene:null,camera:null,autoUpdateScene:!0,preZ:!1},(function(){this.frameBuffer=new J8}),{render:function(e){this._rendering=!0;var t,n=e.gl;if(this.trigger("beforerender"),this.outputs){var i=this.frameBuffer;for(var r in this.outputs){var a=this.updateParameter(r,e),o=this.outputs[r],s=this._compositor.allocateTexture(a);this._outputTextures[r]=s;var l=o.attachment||n.COLOR_ATTACHMENT0;"string"==typeof l&&(l=n[l]),i.attach(s,l)}i.bind(e);var u=e.getGLExtension("EXT_draw_buffers");if(u){var c=[];for(var l in this.outputs)l=parseInt(l),l>=n.COLOR_ATTACHMENT0&&l<=n.COLOR_ATTACHMENT0+8&&c.push(l);u.drawBuffersEXT(c)}e.saveClear(),e.clearBit=f4.DEPTH_BUFFER_BIT|f4.COLOR_BUFFER_BIT,t=e.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ),e.restoreClear(),i.unbind(e)}else t=e.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ);this.trigger("afterrender",t),this._rendering=!1,this._rendered=!0}}),Rte=Nte,Yte=kte.extend((function(){return{texture:null,outputs:{color:{}}}}),(function(){}),{getOutput:function(e,t){return this.texture},beforeFrame:function(){},afterFrame:function(){}}),zte=Yte,Hte=kte.extend((function(){return{name:"",inputs:{},outputs:null,shader:"",inputLinks:{},outputLinks:{},pass:null,_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}}),(function(){var e=new e7({fragment:this.shader});this.pass=e}),{render:function(e,t){this.trigger("beforerender",e),this._rendering=!0;var n=e.gl;for(var i in this.inputLinks){var r=this.inputLinks[i],a=r.node.getOutput(e,r.pin);this.pass.setUniform(i,a)}if(this.outputs){this.pass.outputs={};var o={};for(var s in this.outputs){var l=this.updateParameter(s,e);isNaN(l.width)&&this.updateParameter(s,e);var u=this.outputs[s],c=this._compositor.allocateTexture(l);this._outputTextures[s]=c;var h=u.attachment||n.COLOR_ATTACHMENT0;"string"===typeof h&&(h=n[h]),o[h]=c}for(var h in this._compositor.getFrameBuffer().bind(e),o)this._compositor.getFrameBuffer().attach(o[h],h);this.pass.render(e),this._compositor.getFrameBuffer().updateMipmap(e)}else this.pass.outputs=null,this._compositor.getFrameBuffer().unbind(e),this.pass.render(e,t);for(var i in this.inputLinks){r=this.inputLinks[i];r.node.removeReference(r.pin)}this._rendering=!1,this._rendered=!0,this.trigger("afterrender",e)},updateParameter:function(e,t){var n,i,r=this.outputs[e],a=r.parameters,o=r._parametersCopy;if(o||(o=r._parametersCopy={}),a)for(var s in a)"width"!==s&&"height"!==s&&(o[s]=a[s]);return n="function"===typeof a.width?a.width.call(this,t):a.width,i="function"===typeof a.height?a.height.call(this,t):a.height,n=Math.ceil(n),i=Math.ceil(i),o.width===n&&o.height===i||this._outputTextures[e]&&this._outputTextures[e].dispose(t),o.width=n,o.height=i,o},setParameter:function(e,t){this.pass.setUniform(e,t)},getParameter:function(e){return this.pass.getUniform(e)},setParameters:function(e){for(var t in e)this.setParameter(t,e[t])},define:function(e,t){this.pass.material.define("fragment",e,t)},undefine:function(e){this.pass.material.undefine("fragment",e)},removeReference:function(e){if(this._outputReferences[e]--,0===this._outputReferences[e]){var t=this.outputs[e];t.keepLastFrame?(this._prevOutputTextures[e]&&this._compositor.releaseTexture(this._prevOutputTextures[e]),this._prevOutputTextures[e]=this._outputTextures[e]):this._compositor.releaseTexture(this._outputTextures[e])}},clear:function(){kte.prototype.clear.call(this),this.pass.material.disableTexturesAll()}}),jte=Hte,Fte="@export clay.compositor.coloradjust\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float brightness : 0.0;\nuniform float contrast : 1.0;\nuniform float exposure : 0.0;\nuniform float gamma : 1.0;\nuniform float saturation : 1.0;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = clamp(tex.rgb + vec3(brightness), 0.0, 1.0);\n color = clamp( (color-vec3(0.5))*contrast+vec3(0.5), 0.0, 1.0);\n color = clamp( color * pow(2.0, exposure), 0.0, 1.0);\n color = clamp( pow(color, vec3(gamma)), 0.0, 1.0);\n float luminance = dot( color, w );\n color = mix(vec3(luminance), color, saturation);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.brightness\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float brightness : 0.0;\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = tex.rgb + vec3(brightness);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.contrast\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float contrast : 1.0;\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = (tex.rgb-vec3(0.5))*contrast+vec3(0.5);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.exposure\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float exposure : 0.0;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = tex.rgb * pow(2.0, exposure);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.gamma\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float gamma : 1.0;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = pow(tex.rgb, vec3(gamma));\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.saturation\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float saturation : 1.0;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = tex.rgb;\n float luminance = dot(color, w);\n color = mix(vec3(luminance), color, saturation);\n gl_FragColor = vec4(color, tex.a);\n}\n@end",Bte="@export clay.compositor.kernel.gaussian_9\nfloat gaussianKernel[9];\ngaussianKernel[0] = 0.07;\ngaussianKernel[1] = 0.09;\ngaussianKernel[2] = 0.12;\ngaussianKernel[3] = 0.14;\ngaussianKernel[4] = 0.16;\ngaussianKernel[5] = 0.14;\ngaussianKernel[6] = 0.12;\ngaussianKernel[7] = 0.09;\ngaussianKernel[8] = 0.07;\n@end\n@export clay.compositor.kernel.gaussian_13\nfloat gaussianKernel[13];\ngaussianKernel[0] = 0.02;\ngaussianKernel[1] = 0.03;\ngaussianKernel[2] = 0.06;\ngaussianKernel[3] = 0.08;\ngaussianKernel[4] = 0.11;\ngaussianKernel[5] = 0.13;\ngaussianKernel[6] = 0.14;\ngaussianKernel[7] = 0.13;\ngaussianKernel[8] = 0.11;\ngaussianKernel[9] = 0.08;\ngaussianKernel[10] = 0.06;\ngaussianKernel[11] = 0.03;\ngaussianKernel[12] = 0.02;\n@end\n@export clay.compositor.gaussian_blur\n#define SHADER_NAME gaussian_blur\nuniform sampler2D texture;varying vec2 v_Texcoord;\nuniform float blurSize : 2.0;\nuniform vec2 textureSize : [512.0, 512.0];\nuniform float blurDir : 0.0;\n@import clay.util.rgbm\n@import clay.util.clamp_sample\nvoid main (void)\n{\n @import clay.compositor.kernel.gaussian_9\n vec2 off = blurSize / textureSize;\n off *= vec2(1.0 - blurDir, blurDir);\n vec4 sum = vec4(0.0);\n float weightAll = 0.0;\n for (int i = 0; i < 9; i++) {\n float w = gaussianKernel[i];\n vec4 texel = decodeHDR(clampSample(texture, v_Texcoord + float(i - 4) * off));\n sum += texel * w;\n weightAll += w;\n }\n gl_FragColor = encodeHDR(sum / max(weightAll, 0.01));\n}\n@end\n",Vte="@export clay.compositor.hdr.log_lum\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\n@import clay.util.rgbm\nvoid main()\n{\n vec4 tex = decodeHDR(texture2D(texture, v_Texcoord));\n float luminance = dot(tex.rgb, w);\n luminance = log(luminance + 0.001);\n gl_FragColor = encodeHDR(vec4(vec3(luminance), 1.0));\n}\n@end\n@export clay.compositor.hdr.lum_adaption\nvarying vec2 v_Texcoord;\nuniform sampler2D adaptedLum;\nuniform sampler2D currentLum;\nuniform float frameTime : 0.02;\n@import clay.util.rgbm\nvoid main()\n{\n float fAdaptedLum = decodeHDR(texture2D(adaptedLum, vec2(0.5, 0.5))).r;\n float fCurrentLum = exp(encodeHDR(texture2D(currentLum, vec2(0.5, 0.5))).r);\n fAdaptedLum += (fCurrentLum - fAdaptedLum) * (1.0 - pow(0.98, 30.0 * frameTime));\n gl_FragColor = encodeHDR(vec4(vec3(fAdaptedLum), 1.0));\n}\n@end\n@export clay.compositor.lum\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord );\n float luminance = dot(tex.rgb, w);\n gl_FragColor = vec4(vec3(luminance), 1.0);\n}\n@end",Gte="\n@export clay.compositor.lut\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform sampler2D lookup;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n float blueColor = tex.b * 63.0;\n vec2 quad1;\n quad1.y = floor(floor(blueColor) / 8.0);\n quad1.x = floor(blueColor) - (quad1.y * 8.0);\n vec2 quad2;\n quad2.y = floor(ceil(blueColor) / 8.0);\n quad2.x = ceil(blueColor) - (quad2.y * 8.0);\n vec2 texPos1;\n texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r);\n texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g);\n vec2 texPos2;\n texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r);\n texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g);\n vec4 newColor1 = texture2D(lookup, texPos1);\n vec4 newColor2 = texture2D(lookup, texPos2);\n vec4 newColor = mix(newColor1, newColor2, fract(blueColor));\n gl_FragColor = vec4(newColor.rgb, tex.w);\n}\n@end",Wte="@export clay.compositor.vignette\n#define OUTPUT_ALPHA\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float darkness: 1;\nuniform float offset: 1;\n@import clay.util.rgbm\nvoid main()\n{\n vec4 texel = decodeHDR(texture2D(texture, v_Texcoord));\n gl_FragColor.rgb = texel.rgb;\n vec2 uv = (v_Texcoord - vec2(0.5)) * vec2(offset);\n gl_FragColor = encodeHDR(vec4(mix(texel.rgb, vec3(1.0 - darkness), dot(uv, uv)), texel.a));\n}\n@end",Ute="@export clay.compositor.output\n#define OUTPUT_ALPHA\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\n@import clay.util.rgbm\nvoid main()\n{\n vec4 tex = decodeHDR(texture2D(texture, v_Texcoord));\n gl_FragColor.rgb = tex.rgb;\n#ifdef OUTPUT_ALPHA\n gl_FragColor.a = tex.a;\n#else\n gl_FragColor.a = 1.0;\n#endif\n gl_FragColor = encodeHDR(gl_FragColor);\n#ifdef PREMULTIPLY_ALPHA\n gl_FragColor.rgb *= gl_FragColor.a;\n#endif\n}\n@end",Xte="@export clay.compositor.bright\nuniform sampler2D texture;\nuniform float threshold : 1;\nuniform float scale : 1.0;\nuniform vec2 textureSize: [512, 512];\nvarying vec2 v_Texcoord;\nconst vec3 lumWeight = vec3(0.2125, 0.7154, 0.0721);\n@import clay.util.rgbm\nvec4 median(vec4 a, vec4 b, vec4 c)\n{\n return a + b + c - min(min(a, b), c) - max(max(a, b), c);\n}\nvoid main()\n{\n vec4 texel = decodeHDR(texture2D(texture, v_Texcoord));\n#ifdef ANTI_FLICKER\n vec3 d = 1.0 / textureSize.xyx * vec3(1.0, 1.0, 0.0);\n vec4 s1 = decodeHDR(texture2D(texture, v_Texcoord - d.xz));\n vec4 s2 = decodeHDR(texture2D(texture, v_Texcoord + d.xz));\n vec4 s3 = decodeHDR(texture2D(texture, v_Texcoord - d.zy));\n vec4 s4 = decodeHDR(texture2D(texture, v_Texcoord + d.zy));\n texel = median(median(texel, s1, s2), s3, s4);\n#endif\n float lum = dot(texel.rgb , lumWeight);\n vec4 color;\n if (lum > threshold && texel.a > 0.0)\n {\n color = vec4(texel.rgb * scale, texel.a * scale);\n }\n else\n {\n color = vec4(0.0);\n }\n gl_FragColor = encodeHDR(color);\n}\n@end\n",Zte="@export clay.compositor.downsample\nuniform sampler2D texture;\nuniform vec2 textureSize : [512, 512];\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\nfloat brightness(vec3 c)\n{\n return max(max(c.r, c.g), c.b);\n}\n@import clay.util.clamp_sample\nvoid main()\n{\n vec4 d = vec4(-1.0, -1.0, 1.0, 1.0) / textureSize.xyxy;\n#ifdef ANTI_FLICKER\n vec3 s1 = decodeHDR(clampSample(texture, v_Texcoord + d.xy)).rgb;\n vec3 s2 = decodeHDR(clampSample(texture, v_Texcoord + d.zy)).rgb;\n vec3 s3 = decodeHDR(clampSample(texture, v_Texcoord + d.xw)).rgb;\n vec3 s4 = decodeHDR(clampSample(texture, v_Texcoord + d.zw)).rgb;\n float s1w = 1.0 / (brightness(s1) + 1.0);\n float s2w = 1.0 / (brightness(s2) + 1.0);\n float s3w = 1.0 / (brightness(s3) + 1.0);\n float s4w = 1.0 / (brightness(s4) + 1.0);\n float oneDivideSum = 1.0 / (s1w + s2w + s3w + s4w);\n vec4 color = vec4(\n (s1 * s1w + s2 * s2w + s3 * s3w + s4 * s4w) * oneDivideSum,\n 1.0\n );\n#else\n vec4 color = decodeHDR(clampSample(texture, v_Texcoord + d.xy));\n color += decodeHDR(clampSample(texture, v_Texcoord + d.zy));\n color += decodeHDR(clampSample(texture, v_Texcoord + d.xw));\n color += decodeHDR(clampSample(texture, v_Texcoord + d.zw));\n color *= 0.25;\n#endif\n gl_FragColor = encodeHDR(color);\n}\n@end",qte="\n@export clay.compositor.upsample\n#define HIGH_QUALITY\nuniform sampler2D texture;\nuniform vec2 textureSize : [512, 512];\nuniform float sampleScale: 0.5;\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\n@import clay.util.clamp_sample\nvoid main()\n{\n#ifdef HIGH_QUALITY\n vec4 d = vec4(1.0, 1.0, -1.0, 0.0) / textureSize.xyxy * sampleScale;\n vec4 s;\n s = decodeHDR(clampSample(texture, v_Texcoord - d.xy));\n s += decodeHDR(clampSample(texture, v_Texcoord - d.wy)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord - d.zy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zw)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord )) * 4.0;\n s += decodeHDR(clampSample(texture, v_Texcoord + d.xw)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.wy)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord + d.xy));\n gl_FragColor = encodeHDR(s / 16.0);\n#else\n vec4 d = vec4(-1.0, -1.0, +1.0, +1.0) / textureSize.xyxy;\n vec4 s;\n s = decodeHDR(clampSample(texture, v_Texcoord + d.xy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.xw));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zw));\n gl_FragColor = encodeHDR(s / 4.0);\n#endif\n}\n@end",$te="@export clay.compositor.hdr.composite\n#define TONEMAPPING\nuniform sampler2D texture;\n#ifdef BLOOM_ENABLED\nuniform sampler2D bloom;\n#endif\n#ifdef LENSFLARE_ENABLED\nuniform sampler2D lensflare;\nuniform sampler2D lensdirt;\n#endif\n#ifdef LUM_ENABLED\nuniform sampler2D lum;\n#endif\n#ifdef LUT_ENABLED\nuniform sampler2D lut;\n#endif\n#ifdef COLOR_CORRECTION\nuniform float brightness : 0.0;\nuniform float contrast : 1.0;\nuniform float saturation : 1.0;\n#endif\n#ifdef VIGNETTE\nuniform float vignetteDarkness: 1.0;\nuniform float vignetteOffset: 1.0;\n#endif\nuniform float exposure : 1.0;\nuniform float bloomIntensity : 0.25;\nuniform float lensflareIntensity : 1;\nvarying vec2 v_Texcoord;\n@import clay.util.srgb\nvec3 ACESToneMapping(vec3 color)\n{\n const float A = 2.51;\n const float B = 0.03;\n const float C = 2.43;\n const float D = 0.59;\n const float E = 0.14;\n return (color * (A * color + B)) / (color * (C * color + D) + E);\n}\nfloat eyeAdaption(float fLum)\n{\n return mix(0.2, fLum, 0.5);\n}\n#ifdef LUT_ENABLED\nvec3 lutTransform(vec3 color) {\n float blueColor = color.b * 63.0;\n vec2 quad1;\n quad1.y = floor(floor(blueColor) / 8.0);\n quad1.x = floor(blueColor) - (quad1.y * 8.0);\n vec2 quad2;\n quad2.y = floor(ceil(blueColor) / 8.0);\n quad2.x = ceil(blueColor) - (quad2.y * 8.0);\n vec2 texPos1;\n texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r);\n texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g);\n vec2 texPos2;\n texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r);\n texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g);\n vec4 newColor1 = texture2D(lut, texPos1);\n vec4 newColor2 = texture2D(lut, texPos2);\n vec4 newColor = mix(newColor1, newColor2, fract(blueColor));\n return newColor.rgb;\n}\n#endif\n@import clay.util.rgbm\nvoid main()\n{\n vec4 texel = vec4(0.0);\n vec4 originalTexel = vec4(0.0);\n#ifdef TEXTURE_ENABLED\n texel = decodeHDR(texture2D(texture, v_Texcoord));\n originalTexel = texel;\n#endif\n#ifdef BLOOM_ENABLED\n vec4 bloomTexel = decodeHDR(texture2D(bloom, v_Texcoord));\n texel.rgb += bloomTexel.rgb * bloomIntensity;\n texel.a += bloomTexel.a * bloomIntensity;\n#endif\n#ifdef LENSFLARE_ENABLED\n texel += decodeHDR(texture2D(lensflare, v_Texcoord)) * texture2D(lensdirt, v_Texcoord) * lensflareIntensity;\n#endif\n texel.a = min(texel.a, 1.0);\n#ifdef LUM_ENABLED\n float fLum = texture2D(lum, vec2(0.5, 0.5)).r;\n float adaptedLumDest = 3.0 / (max(0.1, 1.0 + 10.0*eyeAdaption(fLum)));\n float exposureBias = adaptedLumDest * exposure;\n#else\n float exposureBias = exposure;\n#endif\n#ifdef TONEMAPPING\n texel.rgb *= exposureBias;\n texel.rgb = ACESToneMapping(texel.rgb);\n#endif\n texel = linearTosRGB(texel);\n#ifdef LUT_ENABLED\n texel.rgb = lutTransform(clamp(texel.rgb,vec3(0.0),vec3(1.0)));\n#endif\n#ifdef COLOR_CORRECTION\n texel.rgb = clamp(texel.rgb + vec3(brightness), 0.0, 1.0);\n texel.rgb = clamp((texel.rgb - vec3(0.5))*contrast+vec3(0.5), 0.0, 1.0);\n float lum = dot(texel.rgb, vec3(0.2125, 0.7154, 0.0721));\n texel.rgb = mix(vec3(lum), texel.rgb, saturation);\n#endif\n#ifdef VIGNETTE\n vec2 uv = (v_Texcoord - vec2(0.5)) * vec2(vignetteOffset);\n texel.rgb = mix(texel.rgb, vec3(1.0 - vignetteDarkness), dot(uv, uv));\n#endif\n gl_FragColor = encodeHDR(texel);\n#ifdef DEBUG\n #if DEBUG == 1\n gl_FragColor = encodeHDR(decodeHDR(texture2D(texture, v_Texcoord)));\n #elif DEBUG == 2\n gl_FragColor = encodeHDR(decodeHDR(texture2D(bloom, v_Texcoord)) * bloomIntensity);\n #elif DEBUG == 3\n gl_FragColor = encodeHDR(decodeHDR(texture2D(lensflare, v_Texcoord) * lensflareIntensity));\n #endif\n#endif\n if (originalTexel.a <= 0.01 && gl_FragColor.a > 1e-5) {\n gl_FragColor.a = dot(gl_FragColor.rgb, vec3(0.2125, 0.7154, 0.0721));\n }\n#ifdef PREMULTIPLY_ALPHA\n gl_FragColor.rgb *= gl_FragColor.a;\n#endif\n}\n@end",Jte="@export clay.compositor.lensflare\n#define SAMPLE_NUMBER 8\nuniform sampler2D texture;\nuniform sampler2D lenscolor;\nuniform vec2 textureSize : [512, 512];\nuniform float dispersal : 0.3;\nuniform float haloWidth : 0.4;\nuniform float distortion : 1.0;\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\nvec4 textureDistorted(\n in vec2 texcoord,\n in vec2 direction,\n in vec3 distortion\n) {\n return vec4(\n decodeHDR(texture2D(texture, texcoord + direction * distortion.r)).r,\n decodeHDR(texture2D(texture, texcoord + direction * distortion.g)).g,\n decodeHDR(texture2D(texture, texcoord + direction * distortion.b)).b,\n 1.0\n );\n}\nvoid main()\n{\n vec2 texcoord = -v_Texcoord + vec2(1.0); vec2 textureOffset = 1.0 / textureSize;\n vec2 ghostVec = (vec2(0.5) - texcoord) * dispersal;\n vec2 haloVec = normalize(ghostVec) * haloWidth;\n vec3 distortion = vec3(-textureOffset.x * distortion, 0.0, textureOffset.x * distortion);\n vec4 result = vec4(0.0);\n for (int i = 0; i < SAMPLE_NUMBER; i++)\n {\n vec2 offset = fract(texcoord + ghostVec * float(i));\n float weight = length(vec2(0.5) - offset) / length(vec2(0.5));\n weight = pow(1.0 - weight, 10.0);\n result += textureDistorted(offset, normalize(ghostVec), distortion) * weight;\n }\n result *= texture2D(lenscolor, vec2(length(vec2(0.5) - texcoord)) / length(vec2(0.5)));\n float weight = length(vec2(0.5) - fract(texcoord + haloVec)) / length(vec2(0.5));\n weight = pow(1.0 - weight, 10.0);\n vec2 offset = fract(texcoord + haloVec);\n result += textureDistorted(offset, normalize(ghostVec), distortion) * weight;\n gl_FragColor = result;\n}\n@end",Kte="@export clay.compositor.blend\n#define SHADER_NAME blend\n#ifdef TEXTURE1_ENABLED\nuniform sampler2D texture1;\nuniform float weight1 : 1.0;\n#endif\n#ifdef TEXTURE2_ENABLED\nuniform sampler2D texture2;\nuniform float weight2 : 1.0;\n#endif\n#ifdef TEXTURE3_ENABLED\nuniform sampler2D texture3;\nuniform float weight3 : 1.0;\n#endif\n#ifdef TEXTURE4_ENABLED\nuniform sampler2D texture4;\nuniform float weight4 : 1.0;\n#endif\n#ifdef TEXTURE5_ENABLED\nuniform sampler2D texture5;\nuniform float weight5 : 1.0;\n#endif\n#ifdef TEXTURE6_ENABLED\nuniform sampler2D texture6;\nuniform float weight6 : 1.0;\n#endif\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\nvoid main()\n{\n vec4 tex = vec4(0.0);\n#ifdef TEXTURE1_ENABLED\n tex += decodeHDR(texture2D(texture1, v_Texcoord)) * weight1;\n#endif\n#ifdef TEXTURE2_ENABLED\n tex += decodeHDR(texture2D(texture2, v_Texcoord)) * weight2;\n#endif\n#ifdef TEXTURE3_ENABLED\n tex += decodeHDR(texture2D(texture3, v_Texcoord)) * weight3;\n#endif\n#ifdef TEXTURE4_ENABLED\n tex += decodeHDR(texture2D(texture4, v_Texcoord)) * weight4;\n#endif\n#ifdef TEXTURE5_ENABLED\n tex += decodeHDR(texture2D(texture5, v_Texcoord)) * weight5;\n#endif\n#ifdef TEXTURE6_ENABLED\n tex += decodeHDR(texture2D(texture6, v_Texcoord)) * weight6;\n#endif\n gl_FragColor = encodeHDR(tex);\n}\n@end",Qte="@export clay.compositor.fxaa\nuniform sampler2D texture;\nuniform vec4 viewport : VIEWPORT;\nvarying vec2 v_Texcoord;\n#define FXAA_REDUCE_MIN (1.0/128.0)\n#define FXAA_REDUCE_MUL (1.0/8.0)\n#define FXAA_SPAN_MAX 8.0\n@import clay.util.rgbm\nvoid main()\n{\n vec2 resolution = 1.0 / viewport.zw;\n vec3 rgbNW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, -1.0 ) ) * resolution ) ).xyz;\n vec3 rgbNE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, -1.0 ) ) * resolution ) ).xyz;\n vec3 rgbSW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, 1.0 ) ) * resolution ) ).xyz;\n vec3 rgbSE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, 1.0 ) ) * resolution ) ).xyz;\n vec4 rgbaM = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution ) );\n vec3 rgbM = rgbaM.xyz;\n float opacity = rgbaM.w;\n vec3 luma = vec3( 0.299, 0.587, 0.114 );\n float lumaNW = dot( rgbNW, luma );\n float lumaNE = dot( rgbNE, luma );\n float lumaSW = dot( rgbSW, luma );\n float lumaSE = dot( rgbSE, luma );\n float lumaM = dot( rgbM, luma );\n float lumaMin = min( lumaM, min( min( lumaNW, lumaNE ), min( lumaSW, lumaSE ) ) );\n float lumaMax = max( lumaM, max( max( lumaNW, lumaNE) , max( lumaSW, lumaSE ) ) );\n vec2 dir;\n dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));\n float dirReduce = max( ( lumaNW + lumaNE + lumaSW + lumaSE ) * ( 0.25 * FXAA_REDUCE_MUL ), FXAA_REDUCE_MIN );\n float rcpDirMin = 1.0 / ( min( abs( dir.x ), abs( dir.y ) ) + dirReduce );\n dir = min( vec2( FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n max( vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n dir * rcpDirMin)) * resolution;\n vec3 rgbA = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 1.0 / 3.0 - 0.5 ) ) ).xyz;\n rgbA += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 2.0 / 3.0 - 0.5 ) ) ).xyz;\n rgbA *= 0.5;\n vec3 rgbB = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * -0.5 ) ).xyz;\n rgbB += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * 0.5 ) ).xyz;\n rgbB *= 0.25;\n rgbB += rgbA * 0.5;\n float lumaB = dot( rgbB, luma );\n if ( ( lumaB < lumaMin ) || ( lumaB > lumaMax ) )\n {\n gl_FragColor = vec4( rgbA, opacity );\n }\n else {\n gl_FragColor = vec4( rgbB, opacity );\n }\n}\n@end";function ene(e){e["import"](Fte),e["import"](Bte),e["import"](Vte),e["import"](Gte),e["import"](Wte),e["import"](Ute),e["import"](Xte),e["import"](Zte),e["import"](qte),e["import"]($te),e["import"](Jte),e["import"](Kte),e["import"](Qte)}ene(I5);var tne=/^#source\((.*?)\)/;function nne(e,t){var n=new Pte;t=t||{};var i={textures:{},parameters:{}},r=function(r,a){for(var o=0;o<e.nodes.length;o++){var s=e.nodes[o],l=ine(s,i,t);l&&n.addNode(l)}};for(var a in e.parameters){var o=e.parameters[a];i.parameters[a]=one(o)}return sne(e,i,t,(function(e){i.textures=e,r()})),n}function ine(e,t,n){var i,r,a,o,s=e.type||"filter";if("filter"===s){var l=e.shader.trim(),u=tne.exec(l);if(u?i=I5.source(u[1].trim()):"#"===l.charAt(0)&&(i=t.shaders[l.substr(1)]),i||(i=l),!i)return}if(e.inputs)for(var c in r={},e.inputs)"string"===typeof e.inputs[c]?r[c]=e.inputs[c]:r[c]={node:e.inputs[c].node,pin:e.inputs[c].pin};if(e.outputs)for(var c in a={},e.outputs){var h=e.outputs[c];a[c]={},null!=h.attachment&&(a[c].attachment=h.attachment),null!=h.keepLastFrame&&(a[c].keepLastFrame=h.keepLastFrame),null!=h.outputLastFrame&&(a[c].outputLastFrame=h.outputLastFrame),h.parameters&&(a[c].parameters=one(h.parameters))}if(o="scene"===s?new Rte({name:e.name,scene:n.scene,camera:n.camera,outputs:a}):"texture"===s?new zte({name:e.name,outputs:a}):new jte({name:e.name,shader:i,inputs:r,outputs:a}),o){if(e.parameters)for(var c in e.parameters){var d=e.parameters[c];"string"===typeof d?(d=d.trim(),"#"===d.charAt(0)?d=t.textures[d.substr(1)]:o.on("beforerender",lne(c,cne(d)))):"function"===typeof d&&o.on("beforerender",d),o.setParameter(c,d)}if(e.defines&&o.pass)for(var c in e.defines){d=e.defines[c];o.pass.material.define("fragment",c,d)}}return o}function rne(e,t){return e}function ane(e,t){return t}function one(e){var t={};if(!e)return t;["type","minFilter","magFilter","wrapS","wrapT","flipY","useMipmap"].forEach((function(n){var i=e[n];null!=i&&("string"===typeof i&&(i=R9[i]),t[n]=i)}));var n=e.scale||1;return["width","height"].forEach((function(i){if(null!=e[i]){var r=e[i];"string"===typeof r?(r=r.trim(),t[i]=une(i,cne(r),n)):t[i]=r}})),t.width||(t.width=rne),t.height||(t.height=ane),null!=e.useMipmap&&(t.useMipmap=e.useMipmap),t}function sne(e,t,n,i){if(e.textures){var r={},a=0,o=!1,s=n.textureRootPath;o4.each(e.textures,(function(e,t){var n,l=e.path,u=one(e.parameters);if(Array.isArray(l)&&6===l.length)s&&(l=l.map((function(e){return o4.relative2absolute(e,s)}))),n=new Y8(u);else{if("string"!==typeof l)return;s&&(l=o4.relative2absolute(l,s)),n=new W9(u)}n.load(l),a++,n.once("success",(function(){r[t]=n,a--,0===a&&(i(r),o=!0)}))})),0!==a||o||i(r)}else i({})}function lne(e,t){return function(n){var i=n.getDevicePixelRatio(),r=n.getWidth(),a=n.getHeight(),o=t(r,a,i);this.setParameter(e,o)}}function une(e,t,n){return n=n||1,function(e){var i=e.getDevicePixelRatio(),r=e.getWidth()*n,a=e.getHeight()*n;return t(r,a,i)}}function cne(e){var t=/^expr\((.*)\)$/.exec(e);if(t)try{var n=new Function("width","height","dpr","return "+t[1]);return n(1,1),n}catch(i){throw new Error("Invalid expression.")}}var hne=nne,dne=hne;function fne(e,t){var n=0,i=1/t,r=e;while(r>0)n+=i*(r%t),r=Math.floor(r/t),i/=t;return n}var pne=fne,mne="@export ecgl.ssao.estimate\n\nuniform sampler2D depthTex;\n\nuniform sampler2D normalTex;\n\nuniform sampler2D noiseTex;\n\nuniform vec2 depthTexSize;\n\nuniform vec2 noiseTexSize;\n\nuniform mat4 projection;\n\nuniform mat4 projectionInv;\n\nuniform mat4 viewInverseTranspose;\n\nuniform vec3 kernel[KERNEL_SIZE];\n\nuniform float radius : 1;\n\nuniform float power : 1;\n\nuniform float bias: 1e-2;\n\nuniform float intensity: 1.0;\n\nvarying vec2 v_Texcoord;\n\nfloat ssaoEstimator(in vec3 originPos, in mat3 kernelBasis) {\n float occlusion = 0.0;\n\n for (int i = 0; i < KERNEL_SIZE; i++) {\n vec3 samplePos = kernel[i];\n#ifdef NORMALTEX_ENABLED\n samplePos = kernelBasis * samplePos;\n#endif\n samplePos = samplePos * radius + originPos;\n\n vec4 texCoord = projection * vec4(samplePos, 1.0);\n texCoord.xy /= texCoord.w;\n\n vec4 depthTexel = texture2D(depthTex, texCoord.xy * 0.5 + 0.5);\n\n float sampleDepth = depthTexel.r * 2.0 - 1.0;\n if (projection[3][3] == 0.0) {\n sampleDepth = projection[3][2] / (sampleDepth * projection[2][3] - projection[2][2]);\n }\n else {\n sampleDepth = (sampleDepth - projection[3][2]) / projection[2][2];\n }\n \n float rangeCheck = smoothstep(0.0, 1.0, radius / abs(originPos.z - sampleDepth));\n occlusion += rangeCheck * step(samplePos.z, sampleDepth - bias);\n }\n#ifdef NORMALTEX_ENABLED\n occlusion = 1.0 - occlusion / float(KERNEL_SIZE);\n#else\n occlusion = 1.0 - clamp((occlusion / float(KERNEL_SIZE) - 0.6) * 2.5, 0.0, 1.0);\n#endif\n return pow(occlusion, power);\n}\n\nvoid main()\n{\n\n vec4 depthTexel = texture2D(depthTex, v_Texcoord);\n\n#ifdef NORMALTEX_ENABLED\n vec4 tex = texture2D(normalTex, v_Texcoord);\n if (dot(tex.rgb, tex.rgb) == 0.0) {\n gl_FragColor = vec4(1.0);\n return;\n }\n vec3 N = tex.rgb * 2.0 - 1.0;\n N = (viewInverseTranspose * vec4(N, 0.0)).xyz;\n\n vec2 noiseTexCoord = depthTexSize / vec2(noiseTexSize) * v_Texcoord;\n vec3 rvec = texture2D(noiseTex, noiseTexCoord).rgb * 2.0 - 1.0;\n vec3 T = normalize(rvec - N * dot(rvec, N));\n vec3 BT = normalize(cross(N, T));\n mat3 kernelBasis = mat3(T, BT, N);\n#else\n if (depthTexel.r > 0.99999) {\n gl_FragColor = vec4(1.0);\n return;\n }\n mat3 kernelBasis;\n#endif\n\n float z = depthTexel.r * 2.0 - 1.0;\n\n vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0);\n vec4 p4 = projectionInv * projectedPos;\n\n vec3 position = p4.xyz / p4.w;\n\n float ao = ssaoEstimator(position, kernelBasis);\n ao = clamp(1.0 - (1.0 - ao) * intensity, 0.0, 1.0);\n gl_FragColor = vec4(vec3(ao), 1.0);\n}\n\n@end\n\n\n@export ecgl.ssao.blur\n#define SHADER_NAME SSAO_BLUR\n\nuniform sampler2D ssaoTexture;\n\n#ifdef NORMALTEX_ENABLED\nuniform sampler2D normalTex;\n#endif\n\nvarying vec2 v_Texcoord;\n\nuniform vec2 textureSize;\nuniform float blurSize : 1.0;\n\nuniform int direction: 0.0;\n\n#ifdef DEPTHTEX_ENABLED\nuniform sampler2D depthTex;\nuniform mat4 projection;\nuniform float depthRange : 0.5;\n\nfloat getLinearDepth(vec2 coord)\n{\n float depth = texture2D(depthTex, coord).r * 2.0 - 1.0;\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n}\n#endif\n\nvoid main()\n{\n float kernel[5];\n kernel[0] = 0.122581;\n kernel[1] = 0.233062;\n kernel[2] = 0.288713;\n kernel[3] = 0.233062;\n kernel[4] = 0.122581;\n\n vec2 off = vec2(0.0);\n if (direction == 0) {\n off[0] = blurSize / textureSize.x;\n }\n else {\n off[1] = blurSize / textureSize.y;\n }\n\n vec2 coord = v_Texcoord;\n\n float sum = 0.0;\n float weightAll = 0.0;\n\n#ifdef NORMALTEX_ENABLED\n vec3 centerNormal = texture2D(normalTex, v_Texcoord).rgb * 2.0 - 1.0;\n#endif\n#if defined(DEPTHTEX_ENABLED)\n float centerDepth = getLinearDepth(v_Texcoord);\n#endif\n\n for (int i = 0; i < 5; i++) {\n vec2 coord = clamp(v_Texcoord + vec2(float(i) - 2.0) * off, vec2(0.0), vec2(1.0));\n\n float w = kernel[i];\n#ifdef NORMALTEX_ENABLED\n vec3 normal = texture2D(normalTex, coord).rgb * 2.0 - 1.0;\n w *= clamp(dot(normal, centerNormal), 0.0, 1.0);\n#endif\n#ifdef DEPTHTEX_ENABLED\n float d = getLinearDepth(coord);\n w *= (1.0 - smoothstep(abs(centerDepth - d) / depthRange, 0.0, 1.0));\n#endif\n\n weightAll += w;\n sum += texture2D(ssaoTexture, coord).r * w;\n }\n\n gl_FragColor = vec4(vec3(sum / weightAll), 1.0);\n}\n\n@end\n";function gne(e){for(var t=new Uint8Array(e*e*4),n=0,i=new i9,r=0;r<e;r++)for(var a=0;a<e;a++)i.set(2*Math.random()-1,2*Math.random()-1,0).normalize(),t[n++]=255*(.5*i.x+.5),t[n++]=255*(.5*i.y+.5),t[n++]=0,t[n++]=255;return t}function yne(e){return new W9({pixels:gne(e),wrapS:R9.REPEAT,wrapT:R9.REPEAT,width:e,height:e})}function vne(e,t,n){var i=new Float32Array(3*e);t=t||0;for(var r=0;r<e;r++){var a=pne(r+t,2)*(n?1:2)*Math.PI,o=pne(r+t,3)*Math.PI,s=Math.random(),l=Math.cos(a)*Math.sin(o)*s,u=Math.cos(o)*s,c=Math.sin(a)*Math.sin(o)*s;i[3*r]=l,i[3*r+1]=u,i[3*r+2]=c}return i}function _ne(e){e=e||{},this._ssaoPass=new e7({fragment:I5.source("ecgl.ssao.estimate")}),this._blurPass=new e7({fragment:I5.source("ecgl.ssao.blur")}),this._framebuffer=new J8({depthBuffer:!1}),this._ssaoTexture=new W9,this._blurTexture=new W9,this._blurTexture2=new W9,this._depthTex=e.depthTexture,this._normalTex=e.normalTexture,this.setNoiseSize(4),this.setKernelSize(e.kernelSize||12),null!=e.radius&&this.setParameter("radius",e.radius),null!=e.power&&this.setParameter("power",e.power),this._normalTex||(this._ssaoPass.material.disableTexture("normalTex"),this._blurPass.material.disableTexture("normalTex")),this._depthTex||this._blurPass.material.disableTexture("depthTex"),this._blurPass.material.setUniform("normalTex",this._normalTex),this._blurPass.material.setUniform("depthTex",this._depthTex)}I5.import(mne),_ne.prototype.setDepthTexture=function(e){this._depthTex=e},_ne.prototype.setNormalTexture=function(e){this._normalTex=e,this._ssaoPass.material[e?"enableTexture":"disableTexture"]("normalTex"),this.setKernelSize(this._kernelSize)},_ne.prototype.update=function(e,t,n){var i=e.getWidth(),r=e.getHeight(),a=this._ssaoPass,o=this._blurPass;a.setUniform("kernel",this._kernels[n%this._kernels.length]),a.setUniform("depthTex",this._depthTex),null!=this._normalTex&&a.setUniform("normalTex",this._normalTex),a.setUniform("depthTexSize",[this._depthTex.width,this._depthTex.height]);var s=new g9;g9.transpose(s,t.worldTransform),a.setUniform("projection",t.projectionMatrix.array),a.setUniform("projectionInv",t.invProjectionMatrix.array),a.setUniform("viewInverseTranspose",s.array);var l=this._ssaoTexture,u=this._blurTexture,c=this._blurTexture2;l.width=i/2,l.height=r/2,u.width=i,u.height=r,c.width=i,c.height=r,this._framebuffer.attach(l),this._framebuffer.bind(e),e.gl.clearColor(1,1,1,1),e.gl.clear(e.gl.COLOR_BUFFER_BIT),a.render(e),o.setUniform("textureSize",[i/2,r/2]),o.setUniform("projection",t.projectionMatrix.array),this._framebuffer.attach(u),o.setUniform("direction",0),o.setUniform("ssaoTexture",l),o.render(e),this._framebuffer.attach(c),o.setUniform("textureSize",[i,r]),o.setUniform("direction",1),o.setUniform("ssaoTexture",u),o.render(e),this._framebuffer.unbind(e);var h=e.clearColor;e.gl.clearColor(h[0],h[1],h[2],h[3])},_ne.prototype.getTargetTexture=function(){return this._blurTexture2},_ne.prototype.setParameter=function(e,t){"noiseTexSize"===e?this.setNoiseSize(t):"kernelSize"===e?this.setKernelSize(t):"intensity"===e?this._ssaoPass.material.set("intensity",t):this._ssaoPass.setUniform(e,t)},_ne.prototype.setKernelSize=function(e){this._kernelSize=e,this._ssaoPass.material.define("fragment","KERNEL_SIZE",e),this._kernels=this._kernels||[];for(var t=0;t<30;t++)this._kernels[t]=vne(e,t*e,!!this._normalTex)},_ne.prototype.setNoiseSize=function(e){var t=this._ssaoPass.getUniform("noiseTex");t?(t.data=gne(e),t.width=t.height=e,t.dirty()):(t=yne(e),this._ssaoPass.setUniform("noiseTex",yne(e))),this._ssaoPass.setUniform("noiseTexSize",[e,e])},_ne.prototype.dispose=function(e){this._blurTexture.dispose(e),this._ssaoTexture.dispose(e),this._blurTexture2.dispose(e)};var xne=_ne,bne="@export ecgl.ssr.main\n\n#define SHADER_NAME SSR\n#define MAX_ITERATION 20;\n#define SAMPLE_PER_FRAME 5;\n#define TOTAL_SAMPLES 128;\n\nuniform sampler2D sourceTexture;\nuniform sampler2D gBufferTexture1;\nuniform sampler2D gBufferTexture2;\nuniform sampler2D gBufferTexture3;\nuniform samplerCube specularCubemap;\nuniform float specularIntensity: 1;\n\nuniform mat4 projection;\nuniform mat4 projectionInv;\nuniform mat4 toViewSpace;\nuniform mat4 toWorldSpace;\n\nuniform float maxRayDistance: 200;\n\nuniform float pixelStride: 16;\nuniform float pixelStrideZCutoff: 50; \nuniform float screenEdgeFadeStart: 0.9; \nuniform float eyeFadeStart : 0.2; uniform float eyeFadeEnd: 0.8; \nuniform float minGlossiness: 0.2; uniform float zThicknessThreshold: 1;\n\nuniform float nearZ;\nuniform vec2 viewportSize : VIEWPORT_SIZE;\n\nuniform float jitterOffset: 0;\n\nvarying vec2 v_Texcoord;\n\n#ifdef DEPTH_DECODE\n@import clay.util.decode_float\n#endif\n\n#ifdef PHYSICALLY_CORRECT\nuniform sampler2D normalDistribution;\nuniform float sampleOffset: 0;\nuniform vec2 normalDistributionSize;\n\nvec3 transformNormal(vec3 H, vec3 N) {\n vec3 upVector = N.y > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nvec3 importanceSampleNormalGGX(float i, float roughness, vec3 N) {\n float p = fract((i + sampleOffset) / float(TOTAL_SAMPLES));\n vec3 H = texture2D(normalDistribution,vec2(roughness, p)).rgb;\n return transformNormal(H, N);\n}\nfloat G_Smith(float g, float ndv, float ndl) {\n float roughness = 1.0 - g;\n float k = roughness * roughness / 2.0;\n float G1V = ndv / (ndv * (1.0 - k) + k);\n float G1L = ndl / (ndl * (1.0 - k) + k);\n return G1L * G1V;\n}\nvec3 F_Schlick(float ndv, vec3 spec) {\n return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0);\n}\n#endif\n\nfloat fetchDepth(sampler2D depthTexture, vec2 uv)\n{\n vec4 depthTexel = texture2D(depthTexture, uv);\n return depthTexel.r * 2.0 - 1.0;\n}\n\nfloat linearDepth(float depth)\n{\n if (projection[3][3] == 0.0) {\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n }\n else {\n return (depth - projection[3][2]) / projection[2][2];\n }\n}\n\nbool rayIntersectDepth(float rayZNear, float rayZFar, vec2 hitPixel)\n{\n if (rayZFar > rayZNear)\n {\n float t = rayZFar; rayZFar = rayZNear; rayZNear = t;\n }\n float cameraZ = linearDepth(fetchDepth(gBufferTexture2, hitPixel));\n return rayZFar <= cameraZ && rayZNear >= cameraZ - zThicknessThreshold;\n}\n\n\nbool traceScreenSpaceRay(\n vec3 rayOrigin, vec3 rayDir, float jitter,\n out vec2 hitPixel, out vec3 hitPoint, out float iterationCount\n)\n{\n float rayLength = ((rayOrigin.z + rayDir.z * maxRayDistance) > -nearZ)\n ? (-nearZ - rayOrigin.z) / rayDir.z : maxRayDistance;\n\n vec3 rayEnd = rayOrigin + rayDir * rayLength;\n\n vec4 H0 = projection * vec4(rayOrigin, 1.0);\n vec4 H1 = projection * vec4(rayEnd, 1.0);\n\n float k0 = 1.0 / H0.w, k1 = 1.0 / H1.w;\n\n vec3 Q0 = rayOrigin * k0, Q1 = rayEnd * k1;\n\n vec2 P0 = (H0.xy * k0 * 0.5 + 0.5) * viewportSize;\n vec2 P1 = (H1.xy * k1 * 0.5 + 0.5) * viewportSize;\n\n P1 += dot(P1 - P0, P1 - P0) < 0.0001 ? 0.01 : 0.0;\n vec2 delta = P1 - P0;\n\n bool permute = false;\n if (abs(delta.x) < abs(delta.y)) {\n permute = true;\n delta = delta.yx;\n P0 = P0.yx;\n P1 = P1.yx;\n }\n float stepDir = sign(delta.x);\n float invdx = stepDir / delta.x;\n\n vec3 dQ = (Q1 - Q0) * invdx;\n float dk = (k1 - k0) * invdx;\n\n vec2 dP = vec2(stepDir, delta.y * invdx);\n\n float strideScaler = 1.0 - min(1.0, -rayOrigin.z / pixelStrideZCutoff);\n float pixStride = 1.0 + strideScaler * pixelStride;\n\n dP *= pixStride; dQ *= pixStride; dk *= pixStride;\n\n vec4 pqk = vec4(P0, Q0.z, k0);\n vec4 dPQK = vec4(dP, dQ.z, dk);\n\n pqk += dPQK * jitter;\n float rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w);\n float rayZNear;\n\n bool intersect = false;\n\n vec2 texelSize = 1.0 / viewportSize;\n\n iterationCount = 0.0;\n\n for (int i = 0; i < MAX_ITERATION; i++)\n {\n pqk += dPQK;\n\n rayZNear = rayZFar;\n rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w);\n\n hitPixel = permute ? pqk.yx : pqk.xy;\n hitPixel *= texelSize;\n\n intersect = rayIntersectDepth(rayZNear, rayZFar, hitPixel);\n\n iterationCount += 1.0;\n\n dPQK *= 1.2;\n\n if (intersect) {\n break;\n }\n }\n\n Q0.xy += dQ.xy * iterationCount;\n Q0.z = pqk.z;\n hitPoint = Q0 / pqk.w;\n\n return intersect;\n}\n\nfloat calculateAlpha(\n float iterationCount, float reflectivity,\n vec2 hitPixel, vec3 hitPoint, float dist, vec3 rayDir\n)\n{\n float alpha = clamp(reflectivity, 0.0, 1.0);\n alpha *= 1.0 - (iterationCount / float(MAX_ITERATION));\n vec2 hitPixelNDC = hitPixel * 2.0 - 1.0;\n float maxDimension = min(1.0, max(abs(hitPixelNDC.x), abs(hitPixelNDC.y)));\n alpha *= 1.0 - max(0.0, maxDimension - screenEdgeFadeStart) / (1.0 - screenEdgeFadeStart);\n\n float _eyeFadeStart = eyeFadeStart;\n float _eyeFadeEnd = eyeFadeEnd;\n if (_eyeFadeStart > _eyeFadeEnd) {\n float tmp = _eyeFadeEnd;\n _eyeFadeEnd = _eyeFadeStart;\n _eyeFadeStart = tmp;\n }\n\n float eyeDir = clamp(rayDir.z, _eyeFadeStart, _eyeFadeEnd);\n alpha *= 1.0 - (eyeDir - _eyeFadeStart) / (_eyeFadeEnd - _eyeFadeStart);\n\n alpha *= 1.0 - clamp(dist / maxRayDistance, 0.0, 1.0);\n\n return alpha;\n}\n\n@import clay.util.rand\n\n@import clay.util.rgbm\n\nvoid main()\n{\n vec4 normalAndGloss = texture2D(gBufferTexture1, v_Texcoord);\n\n if (dot(normalAndGloss.rgb, vec3(1.0)) == 0.0) {\n discard;\n }\n\n float g = normalAndGloss.a;\n#if !defined(PHYSICALLY_CORRECT)\n if (g <= minGlossiness) {\n discard;\n }\n#endif\n\n float reflectivity = (g - minGlossiness) / (1.0 - minGlossiness);\n\n vec3 N = normalize(normalAndGloss.rgb * 2.0 - 1.0);\n N = normalize((toViewSpace * vec4(N, 0.0)).xyz);\n\n vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, fetchDepth(gBufferTexture2, v_Texcoord), 1.0);\n vec4 pos = projectionInv * projectedPos;\n vec3 rayOrigin = pos.xyz / pos.w;\n vec3 V = -normalize(rayOrigin);\n\n float ndv = clamp(dot(N, V), 0.0, 1.0);\n float iterationCount;\n float jitter = rand(fract(v_Texcoord + jitterOffset));\n\n#ifdef PHYSICALLY_CORRECT\n vec4 color = vec4(vec3(0.0), 1.0);\n vec4 albedoMetalness = texture2D(gBufferTexture3, v_Texcoord);\n vec3 albedo = albedoMetalness.rgb;\n float m = albedoMetalness.a;\n vec3 diffuseColor = albedo * (1.0 - m);\n vec3 spec = mix(vec3(0.04), albedo, m);\n\n float jitter2 = rand(fract(v_Texcoord)) * float(TOTAL_SAMPLES);\n\n for (int i = 0; i < SAMPLE_PER_FRAME; i++) {\n vec3 H = importanceSampleNormalGGX(float(i) + jitter2, 1.0 - g, N);\n vec3 rayDir = normalize(reflect(-V, H));\n#else\n vec3 rayDir = normalize(reflect(-V, N));\n#endif\n vec2 hitPixel;\n vec3 hitPoint;\n\n bool intersect = traceScreenSpaceRay(rayOrigin, rayDir, jitter, hitPixel, hitPoint, iterationCount);\n\n float dist = distance(rayOrigin, hitPoint);\n\n vec3 hitNormal = texture2D(gBufferTexture1, hitPixel).rgb * 2.0 - 1.0;\n hitNormal = normalize((toViewSpace * vec4(hitNormal, 0.0)).xyz);\n#ifdef PHYSICALLY_CORRECT\n float ndl = clamp(dot(N, rayDir), 0.0, 1.0);\n float vdh = clamp(dot(V, H), 0.0, 1.0);\n float ndh = clamp(dot(N, H), 0.0, 1.0);\n vec3 litTexel = vec3(0.0);\n if (dot(hitNormal, rayDir) < 0.0 && intersect) {\n litTexel = texture2D(sourceTexture, hitPixel).rgb;\n litTexel *= pow(clamp(1.0 - dist / 200.0, 0.0, 1.0), 3.0);\n\n }\n else {\n #ifdef SPECULARCUBEMAP_ENABLED\n vec3 rayDirW = normalize(toWorldSpace * vec4(rayDir, 0.0)).rgb;\n litTexel = RGBMDecode(textureCubeLodEXT(specularCubemap, rayDirW, 0.0), 8.12).rgb * specularIntensity;\n#endif\n }\n color.rgb += ndl * litTexel * (\n F_Schlick(ndl, spec) * G_Smith(g, ndv, ndl) * vdh / (ndh * ndv + 0.001)\n );\n }\n color.rgb /= float(SAMPLE_PER_FRAME);\n#else\n #if !defined(SPECULARCUBEMAP_ENABLED)\n if (dot(hitNormal, rayDir) >= 0.0) {\n discard;\n }\n if (!intersect) {\n discard;\n }\n#endif\n float alpha = clamp(calculateAlpha(iterationCount, reflectivity, hitPixel, hitPoint, dist, rayDir), 0.0, 1.0);\n vec4 color = texture2D(sourceTexture, hitPixel);\n color.rgb *= alpha;\n\n#ifdef SPECULARCUBEMAP_ENABLED\n vec3 rayDirW = normalize(toWorldSpace * vec4(rayDir, 0.0)).rgb;\n alpha = alpha * (intersect ? 1.0 : 0.0);\n float bias = (1.0 -g) * 5.0;\n color.rgb += (1.0 - alpha)\n * RGBMDecode(textureCubeLodEXT(specularCubemap, rayDirW, bias), 8.12).rgb\n * specularIntensity;\n#endif\n\n#endif\n\n gl_FragColor = encodeHDR(color);\n}\n@end\n\n@export ecgl.ssr.blur\n\nuniform sampler2D texture;\nuniform sampler2D gBufferTexture1;\nuniform sampler2D gBufferTexture2;\nuniform mat4 projection;\nuniform float depthRange : 0.05;\n\nvarying vec2 v_Texcoord;\n\nuniform vec2 textureSize;\nuniform float blurSize : 1.0;\n\n#ifdef BLEND\n #ifdef SSAOTEX_ENABLED\nuniform sampler2D ssaoTex;\n #endif\nuniform sampler2D sourceTexture;\n#endif\n\nfloat getLinearDepth(vec2 coord)\n{\n float depth = texture2D(gBufferTexture2, coord).r * 2.0 - 1.0;\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n}\n\n@import clay.util.rgbm\n\n\nvoid main()\n{\n @import clay.compositor.kernel.gaussian_9\n\n vec4 centerNTexel = texture2D(gBufferTexture1, v_Texcoord);\n float g = centerNTexel.a;\n float maxBlurSize = clamp(1.0 - g, 0.0, 1.0) * blurSize;\n#ifdef VERTICAL\n vec2 off = vec2(0.0, maxBlurSize / textureSize.y);\n#else\n vec2 off = vec2(maxBlurSize / textureSize.x, 0.0);\n#endif\n\n vec2 coord = v_Texcoord;\n\n vec4 sum = vec4(0.0);\n float weightAll = 0.0;\n\n vec3 cN = centerNTexel.rgb * 2.0 - 1.0;\n float cD = getLinearDepth(v_Texcoord);\n for (int i = 0; i < 9; i++) {\n vec2 coord = clamp((float(i) - 4.0) * off + v_Texcoord, vec2(0.0), vec2(1.0));\n float w = gaussianKernel[i]\n * clamp(dot(cN, texture2D(gBufferTexture1, coord).rgb * 2.0 - 1.0), 0.0, 1.0);\n float d = getLinearDepth(coord);\n w *= (1.0 - smoothstep(abs(cD - d) / depthRange, 0.0, 1.0));\n\n weightAll += w;\n sum += decodeHDR(texture2D(texture, coord)) * w;\n }\n\n#ifdef BLEND\n float aoFactor = 1.0;\n #ifdef SSAOTEX_ENABLED\n aoFactor = texture2D(ssaoTex, v_Texcoord).r;\n #endif\n gl_FragColor = encodeHDR(\n sum / weightAll * aoFactor + decodeHDR(texture2D(sourceTexture, v_Texcoord))\n );\n#else\n gl_FragColor = encodeHDR(sum / weightAll);\n#endif\n}\n\n@end";function wne(e){e=e||{},this._ssrPass=new e7({fragment:I5.source("ecgl.ssr.main"),clearColor:[0,0,0,0]}),this._blurPass1=new e7({fragment:I5.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._blurPass2=new e7({fragment:I5.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._blendPass=new e7({fragment:I5.source("clay.compositor.blend")}),this._blendPass.material.disableTexturesAll(),this._blendPass.material.enableTexture(["texture1","texture2"]),this._ssrPass.setUniform("gBufferTexture1",e.normalTexture),this._ssrPass.setUniform("gBufferTexture2",e.depthTexture),this._blurPass1.setUniform("gBufferTexture1",e.normalTexture),this._blurPass1.setUniform("gBufferTexture2",e.depthTexture),this._blurPass2.setUniform("gBufferTexture1",e.normalTexture),this._blurPass2.setUniform("gBufferTexture2",e.depthTexture),this._blurPass2.material.define("fragment","VERTICAL"),this._blurPass2.material.define("fragment","BLEND"),this._ssrTexture=new W9({type:R9.HALF_FLOAT}),this._texture2=new W9({type:R9.HALF_FLOAT}),this._texture3=new W9({type:R9.HALF_FLOAT}),this._prevTexture=new W9({type:R9.HALF_FLOAT}),this._currentTexture=new W9({type:R9.HALF_FLOAT}),this._frameBuffer=new J8({depthBuffer:!1}),this._normalDistribution=null,this._totalSamples=256,this._samplePerFrame=4,this._ssrPass.material.define("fragment","SAMPLE_PER_FRAME",this._samplePerFrame),this._ssrPass.material.define("fragment","TOTAL_SAMPLES",this._totalSamples),this._downScale=1}I5.import(bne),wne.prototype.setAmbientCubemap=function(e,t){this._ssrPass.material.set("specularCubemap",e),this._ssrPass.material.set("specularIntensity",t);var n=e&&t;this._ssrPass.material[n?"enableTexture":"disableTexture"]("specularCubemap")},wne.prototype.update=function(e,t,n,i){var r=e.getWidth(),a=e.getHeight(),o=this._ssrTexture,s=this._texture2,l=this._texture3;o.width=this._prevTexture.width=this._currentTexture.width=r/this._downScale,o.height=this._prevTexture.height=this._currentTexture.height=a/this._downScale,s.width=l.width=r,s.height=l.height=a;var u=this._frameBuffer,c=this._ssrPass,h=this._blurPass1,d=this._blurPass2,f=this._blendPass,p=new g9,m=new g9;g9.transpose(p,t.worldTransform),g9.transpose(m,t.viewMatrix),c.setUniform("sourceTexture",n),c.setUniform("projection",t.projectionMatrix.array),c.setUniform("projectionInv",t.invProjectionMatrix.array),c.setUniform("toViewSpace",p.array),c.setUniform("toWorldSpace",m.array),c.setUniform("nearZ",t.near);var g=i/this._totalSamples*this._samplePerFrame;if(c.setUniform("jitterOffset",g),c.setUniform("sampleOffset",i*this._samplePerFrame),h.setUniform("textureSize",[o.width,o.height]),d.setUniform("textureSize",[r,a]),d.setUniform("sourceTexture",n),h.setUniform("projection",t.projectionMatrix.array),d.setUniform("projection",t.projectionMatrix.array),u.attach(o),u.bind(e),c.render(e),this._physicallyCorrect&&(u.attach(this._currentTexture),f.setUniform("texture1",this._prevTexture),f.setUniform("texture2",o),f.material.set({weight1:i>=1?.95:0,weight2:i>=1?.05:1}),f.render(e)),u.attach(s),h.setUniform("texture",this._physicallyCorrect?this._currentTexture:o),h.render(e),u.attach(l),d.setUniform("texture",s),d.render(e),u.unbind(e),this._physicallyCorrect){var y=this._prevTexture;this._prevTexture=this._currentTexture,this._currentTexture=y}},wne.prototype.getTargetTexture=function(){return this._texture3},wne.prototype.setParameter=function(e,t){"maxIteration"===e?this._ssrPass.material.define("fragment","MAX_ITERATION",t):this._ssrPass.setUniform(e,t)},wne.prototype.setPhysicallyCorrect=function(e){e?(this._normalDistribution||(this._normalDistribution=a7.generateNormalDistribution(64,this._totalSamples)),this._ssrPass.material.define("fragment","PHYSICALLY_CORRECT"),this._ssrPass.material.set("normalDistribution",this._normalDistribution),this._ssrPass.material.set("normalDistributionSize",[64,this._totalSamples])):this._ssrPass.material.undefine("fragment","PHYSICALLY_CORRECT"),this._physicallyCorrect=e},wne.prototype.setSSAOTexture=function(e){var t=this._blurPass2;e?(t.material.enableTexture("ssaoTex"),t.material.set("ssaoTex",e)):t.material.disableTexture("ssaoTex")},wne.prototype.isFinished=function(e){return!this._physicallyCorrect||e>this._totalSamples/this._samplePerFrame},wne.prototype.dispose=function(e){this._ssrTexture.dispose(e),this._texture2.dispose(e),this._texture3.dispose(e),this._prevTexture.dispose(e),this._currentTexture.dispose(e),this._frameBuffer.dispose(e)};var Mne=wne,Sne=[0,0,-.321585265978,-.154972575841,.458126042375,.188473391593,.842080129861,.527766490688,.147304551086,-.659453822776,-.331943915203,-.940619700594,.0479226680259,.54812163202,.701581552186,-.709825561388,-.295436780218,.940589268233,-.901489676764,.237713156085,.973570876096,-.109899459384,-.866792314779,-.451805525005,.330975007087,.800048655954,-.344275183665,.381779221166,-.386139432542,-.437418421534,-.576478634965,-.0148463392551,.385798197415,-.262426961053,-.666302061145,.682427250835,-.628010632582,-.732836215494,.10163141741,-.987658134403,.711995289051,-.320024291314,.0296005138058,.950296523438,.0130612307608,-.351024443122,-.879596633704,-.10478487883,.435712737232,.504254490347,.779203817497,.206477676721,.388264289969,-.896736162545,-.153106280781,-.629203242522,-.245517550697,.657969239148,.126830499058,.26862328493,-.634888119007,-.302301223431,.617074219636,.779817204925],Tne="@export ecgl.normal.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\n@import ecgl.common.normalMap.vertexHeader\n\n@import ecgl.common.vertexAnimation.header\n\nvoid main()\n{\n\n @import ecgl.common.vertexAnimation.main\n\n @import ecgl.common.uv.main\n\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n @import ecgl.common.normalMap.vertexMain\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n}\n\n\n@end\n\n\n@export ecgl.normal.fragment\n\n#define ROUGHNESS_CHANEL 0\n\nuniform bool useBumpMap;\nuniform bool useRoughnessMap;\nuniform bool doubleSide;\nuniform float roughness;\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n@import ecgl.common.normalMap.fragmentHeader\n@import ecgl.common.bumpMap.header\n\nuniform sampler2D roughnessMap;\n\nvoid main()\n{\n vec3 N = v_Normal;\n \n bool flipNormal = false;\n if (doubleSide) {\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n flipNormal = true;\n }\n }\n\n @import ecgl.common.normalMap.fragmentMain\n\n if (useBumpMap) {\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n }\n\n float g = 1.0 - roughness;\n\n if (useRoughnessMap) {\n float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL];\n g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0);\n }\n\n if (flipNormal) {\n N = -N;\n }\n\n gl_FragColor.rgb = (N.xyz + 1.0) * 0.5;\n gl_FragColor.a = g;\n}\n@end";function Lne(e,t,n,i,r){var a=e.gl;t.setUniform(a,"1i",n,r),a.activeTexture(a.TEXTURE0+r),i.isRenderable()?i.bind(e):i.unbind(e)}function Dne(e,t,n,i,r){var a,o,s,l,u=e.gl;return function(r,c,h){if(!l||l.material!==r.material){var d=r.material,f=r.__program,p=d.get("roughness");null==p&&(p=1);var m=d.get("normalMap")||t,g=d.get("roughnessMap"),y=d.get("bumpMap"),v=d.get("uvRepeat"),_=d.get("uvOffset"),x=d.get("detailUvRepeat"),b=d.get("detailUvOffset"),w=!!y&&d.isTextureEnabled("bumpMap"),M=!!g&&d.isTextureEnabled("roughnessMap"),S=d.isDefined("fragment","DOUBLE_SIDED");y=y||n,g=g||i,h!==c?(c.set("normalMap",m),c.set("bumpMap",y),c.set("roughnessMap",g),c.set("useBumpMap",w),c.set("useRoughnessMap",M),c.set("doubleSide",S),null!=v&&c.set("uvRepeat",v),null!=_&&c.set("uvOffset",_),null!=x&&c.set("detailUvRepeat",x),null!=b&&c.set("detailUvOffset",b),c.set("roughness",p)):(f.setUniform(u,"1f","roughness",p),a!==m&&Lne(e,f,"normalMap",m,0),o!==y&&y&&Lne(e,f,"bumpMap",y,1),s!==g&&g&&Lne(e,f,"roughnessMap",g,2),null!=v&&f.setUniform(u,"2f","uvRepeat",v),null!=_&&f.setUniform(u,"2f","uvOffset",_),null!=x&&f.setUniform(u,"2f","detailUvRepeat",x),null!=b&&f.setUniform(u,"2f","detailUvOffset",b),f.setUniform(u,"1i","useBumpMap",+w),f.setUniform(u,"1i","useRoughnessMap",+M),f.setUniform(u,"1i","doubleSide",+S)),a=m,o=y,s=g,l=r}}}function Ane(e){e=e||{},this._depthTex=new W9({format:R9.DEPTH_COMPONENT,type:R9.UNSIGNED_INT}),this._normalTex=new W9({type:R9.HALF_FLOAT}),this._framebuffer=new J8,this._framebuffer.attach(this._normalTex),this._framebuffer.attach(this._depthTex,J8.DEPTH_ATTACHMENT),this._normalMaterial=new F4({shader:new I5(I5.source("ecgl.normal.vertex"),I5.source("ecgl.normal.fragment"))}),this._normalMaterial.enableTexture(["normalMap","bumpMap","roughnessMap"]),this._defaultNormalMap=B6.createBlank("#000"),this._defaultBumpMap=B6.createBlank("#000"),this._defaultRoughessMap=B6.createBlank("#000"),this._debugPass=new e7({fragment:I5.source("clay.compositor.output")}),this._debugPass.setUniform("texture",this._normalTex),this._debugPass.material.undefine("fragment","OUTPUT_ALPHA")}I5.import(Tne),Ane.prototype.getDepthTexture=function(){return this._depthTex},Ane.prototype.getNormalTexture=function(){return this._normalTex},Ane.prototype.update=function(e,t,n){var i=e.getWidth(),r=e.getHeight(),a=this._depthTex,o=this._normalTex,s=this._normalMaterial;a.width=i,a.height=r,o.width=i,o.height=r;var l=t.getRenderList(n).opaque;this._framebuffer.bind(e),e.gl.clearColor(0,0,0,0),e.gl.clear(e.gl.COLOR_BUFFER_BIT|e.gl.DEPTH_BUFFER_BIT),e.gl.disable(e.gl.BLEND),e.renderPass(l,n,{getMaterial:function(){return s},ifRender:function(e){return e.renderNormal},beforeRender:Dne(e,this._defaultNormalMap,this._defaultBumpMap,this._defaultRoughessMap,this._normalMaterial),sort:e.opaqueSortCompare}),this._framebuffer.unbind(e)},Ane.prototype.renderDebug=function(e){this._debugPass.render(e)},Ane.prototype.dispose=function(e){this._depthTex.dispose(e),this._normalTex.dispose(e)};var One=Ane;function kne(e){e=e||{},this._edgePass=new e7({fragment:I5.source("ecgl.edge")}),this._edgePass.setUniform("normalTexture",e.normalTexture),this._edgePass.setUniform("depthTexture",e.depthTexture),this._targetTexture=new W9({type:R9.HALF_FLOAT}),this._frameBuffer=new J8,this._frameBuffer.attach(this._targetTexture)}kne.prototype.update=function(e,t,n,i){var r=e.getWidth(),a=e.getHeight(),o=this._targetTexture;o.width=r,o.height=a;var s=this._frameBuffer;s.bind(e),this._edgePass.setUniform("projectionInv",t.invProjectionMatrix.array),this._edgePass.setUniform("textureSize",[r,a]),this._edgePass.setUniform("texture",n),this._edgePass.render(e),s.unbind(e)},kne.prototype.getTargetTexture=function(){return this._targetTexture},kne.prototype.setParameter=function(e,t){this._edgePass.setUniform(e,t)},kne.prototype.dispose=function(e){this._targetTexture.dispose(e),this._frameBuffer.dispose(e)};var Ine=kne,Cne={type:"compositor",nodes:[{name:"source",type:"texture",outputs:{color:{}}},{name:"source_half",shader:"#source(clay.compositor.downsample)",inputs:{texture:"source"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bright",shader:"#source(clay.compositor.bright)",inputs:{texture:"source_half"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{threshold:2,scale:4,textureSize:"expr([width * 1.0 / 2, height / 2])"}},{name:"bright_downsample_4",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 2, height / 2] )"}},{name:"bright_downsample_8",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 4, height / 4] )"}},{name:"bright_downsample_16",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 8, height / 8] )"}},{name:"bright_downsample_32",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 32)",height:"expr(height * 1.0 / 32)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 16, height / 16] )"}},{name:"bright_upsample_16_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_32"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 32, height / 32] )"}},{name:"bright_upsample_16_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_16_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_8_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_8_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_8_blur_v",texture2:"bright_upsample_16_blur_v"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_4_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_4_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_4_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_4_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_4_blur_v",texture2:"bright_upsample_8_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_2_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_2_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_2_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_2_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_2_blur_v",texture2:"bright_upsample_4_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_full_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_full_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_full_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bloom_composite",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_full_blur_v",texture2:"bright_upsample_2_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"coc",shader:"#source(ecgl.dof.coc)",outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{focalDist:50,focalRange:30}},{name:"dof_far_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"dof_near_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_NEARFIELD:null}},{name:"dof_coc_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"coc"},outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_COC:null}},{name:"dof_composite",shader:"#source(ecgl.dof.composite)",inputs:{original:"source",blurred:"dof_far_blur",nearfield:"dof_near_blur",coc:"coc",nearcoc:"dof_coc_blur"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}}},{name:"composite",shader:"#source(clay.compositor.hdr.composite)",inputs:{texture:"source",bloom:"bloom_composite"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},defines:{}},{name:"FXAA",shader:"#source(clay.compositor.fxaa)",inputs:{texture:"composite"}}]},Ene="@export ecgl.dof.coc\n\nuniform sampler2D depth;\n\nuniform float zNear: 0.1;\nuniform float zFar: 2000;\n\nuniform float focalDistance: 3;\nuniform float focalRange: 1;\nuniform float focalLength: 30;\nuniform float fstop: 2.8;\n\nvarying vec2 v_Texcoord;\n\n@import clay.util.encode_float\n\nvoid main()\n{\n float z = texture2D(depth, v_Texcoord).r * 2.0 - 1.0;\n\n float dist = 2.0 * zNear * zFar / (zFar + zNear - z * (zFar - zNear));\n\n float aperture = focalLength / fstop;\n\n float coc;\n\n float uppper = focalDistance + focalRange;\n float lower = focalDistance - focalRange;\n if (dist <= uppper && dist >= lower) {\n coc = 0.5;\n }\n else {\n float focalAdjusted = dist > uppper ? uppper : lower;\n\n coc = abs(aperture * (focalLength * (dist - focalAdjusted)) / (dist * (focalAdjusted - focalLength)));\n coc = clamp(coc, 0.0, 2.0) / 2.00001;\n\n if (dist < lower) {\n coc = -coc;\n }\n coc = coc * 0.5 + 0.5;\n }\n\n gl_FragColor = encodeFloat(coc);\n}\n@end\n\n\n@export ecgl.dof.composite\n\n#define DEBUG 0\n\nuniform sampler2D original;\nuniform sampler2D blurred;\nuniform sampler2D nearfield;\nuniform sampler2D coc;\nuniform sampler2D nearcoc;\nvarying vec2 v_Texcoord;\n\n@import clay.util.rgbm\n@import clay.util.float\n\nvoid main()\n{\n vec4 blurredColor = texture2D(blurred, v_Texcoord);\n vec4 originalColor = texture2D(original, v_Texcoord);\n\n float fCoc = decodeFloat(texture2D(coc, v_Texcoord));\n\n fCoc = abs(fCoc * 2.0 - 1.0);\n\n float weight = smoothstep(0.0, 1.0, fCoc);\n \n#ifdef NEARFIELD_ENABLED\n vec4 nearfieldColor = texture2D(nearfield, v_Texcoord);\n float fNearCoc = decodeFloat(texture2D(nearcoc, v_Texcoord));\n fNearCoc = abs(fNearCoc * 2.0 - 1.0);\n\n gl_FragColor = encodeHDR(\n mix(\n nearfieldColor, mix(originalColor, blurredColor, weight),\n pow(1.0 - fNearCoc, 4.0)\n )\n );\n#else\n gl_FragColor = encodeHDR(mix(originalColor, blurredColor, weight));\n#endif\n\n}\n\n@end\n\n\n\n@export ecgl.dof.diskBlur\n\n#define POISSON_KERNEL_SIZE 16;\n\nuniform sampler2D texture;\nuniform sampler2D coc;\nvarying vec2 v_Texcoord;\n\nuniform float blurRadius : 10.0;\nuniform vec2 textureSize : [512.0, 512.0];\n\nuniform vec2 poissonKernel[POISSON_KERNEL_SIZE];\n\nuniform float percent;\n\nfloat nrand(const in vec2 n) {\n return fract(sin(dot(n.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\n@import clay.util.rgbm\n@import clay.util.float\n\n\nvoid main()\n{\n vec2 offset = blurRadius / textureSize;\n\n float rnd = 6.28318 * nrand(v_Texcoord + 0.07 * percent );\n float cosa = cos(rnd);\n float sina = sin(rnd);\n vec4 basis = vec4(cosa, -sina, sina, cosa);\n\n#if !defined(BLUR_NEARFIELD) && !defined(BLUR_COC)\n offset *= abs(decodeFloat(texture2D(coc, v_Texcoord)) * 2.0 - 1.0);\n#endif\n\n#ifdef BLUR_COC\n float cocSum = 0.0;\n#else\n vec4 color = vec4(0.0);\n#endif\n\n\n float weightSum = 0.0;\n\n for (int i = 0; i < POISSON_KERNEL_SIZE; i++) {\n vec2 ofs = poissonKernel[i];\n\n ofs = vec2(dot(ofs, basis.xy), dot(ofs, basis.zw));\n\n vec2 uv = v_Texcoord + ofs * offset;\n vec4 texel = texture2D(texture, uv);\n\n float w = 1.0;\n#ifdef BLUR_COC\n float fCoc = decodeFloat(texel) * 2.0 - 1.0;\n cocSum += clamp(fCoc, -1.0, 0.0) * w;\n#else\n texel = texel;\n #if !defined(BLUR_NEARFIELD)\n float fCoc = decodeFloat(texture2D(coc, uv)) * 2.0 - 1.0;\n w *= abs(fCoc);\n #endif\n texel.rgb *= texel.a;\n color += texel * w;\n#endif\n\n weightSum += w;\n }\n\n#ifdef BLUR_COC\n gl_FragColor = encodeFloat(clamp(cocSum / weightSum, -1.0, 0.0) * 0.5 + 0.5);\n#else\n color /= weightSum;\n color.rgb /= (color.a + 0.0001);\n gl_FragColor = color;\n#endif\n}\n\n@end",Pne="@export ecgl.edge\n\nuniform sampler2D texture;\n\nuniform sampler2D normalTexture;\nuniform sampler2D depthTexture;\n\nuniform mat4 projectionInv;\n\nuniform vec2 textureSize;\n\nuniform vec4 edgeColor: [0,0,0,0.8];\n\nvarying vec2 v_Texcoord;\n\nvec3 packColor(vec2 coord) {\n float z = texture2D(depthTexture, coord).r * 2.0 - 1.0;\n vec4 p = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0);\n vec4 p4 = projectionInv * p;\n\n return vec3(\n texture2D(normalTexture, coord).rg,\n -p4.z / p4.w / 5.0\n );\n}\n\nvoid main() {\n vec2 cc = v_Texcoord;\n vec3 center = packColor(cc);\n\n float size = clamp(1.0 - (center.z - 10.0) / 100.0, 0.0, 1.0) * 0.5;\n float dx = size / textureSize.x;\n float dy = size / textureSize.y;\n\n vec2 coord;\n vec3 topLeft = packColor(cc+vec2(-dx, -dy));\n vec3 top = packColor(cc+vec2(0.0, -dy));\n vec3 topRight = packColor(cc+vec2(dx, -dy));\n vec3 left = packColor(cc+vec2(-dx, 0.0));\n vec3 right = packColor(cc+vec2(dx, 0.0));\n vec3 bottomLeft = packColor(cc+vec2(-dx, dy));\n vec3 bottom = packColor(cc+vec2(0.0, dy));\n vec3 bottomRight = packColor(cc+vec2(dx, dy));\n\n vec3 v = -topLeft-2.0*top-topRight+bottomLeft+2.0*bottom+bottomRight;\n vec3 h = -bottomLeft-2.0*left-topLeft+bottomRight+2.0*right+topRight;\n\n float edge = sqrt(dot(h, h) + dot(v, v));\n\n edge = smoothstep(0.8, 1.0, edge);\n\n gl_FragColor = mix(texture2D(texture, v_Texcoord), vec4(edgeColor.rgb, 1.0), edgeColor.a * edge);\n}\n@end";function Nne(e,t){return{color:{parameters:{width:e,height:t}}}}I5["import"](Bte),I5["import"](Gte),I5["import"](Ute),I5["import"](Xte),I5["import"](Zte),I5["import"](qte),I5["import"]($te),I5["import"](Kte),I5["import"](Qte),I5["import"](Ene),I5["import"](Pne);var Rne=["composite","FXAA"];function Yne(){this._width,this._height,this._dpr,this._sourceTexture=new W9({type:R9.HALF_FLOAT}),this._depthTexture=new W9({format:R9.DEPTH_COMPONENT,type:R9.UNSIGNED_INT}),this._framebuffer=new J8,this._framebuffer.attach(this._sourceTexture),this._framebuffer.attach(this._depthTexture,J8.DEPTH_ATTACHMENT),this._normalPass=new One,this._compositor=dne(Cne);var e=this._compositor.getNodeByName("source");e.texture=this._sourceTexture;var t=this._compositor.getNodeByName("coc");this._sourceNode=e,this._cocNode=t,this._compositeNode=this._compositor.getNodeByName("composite"),this._fxaaNode=this._compositor.getNodeByName("FXAA"),this._dofBlurNodes=["dof_far_blur","dof_near_blur","dof_coc_blur"].map((function(e){return this._compositor.getNodeByName(e)}),this),this._dofBlurKernel=0,this._dofBlurKernelSize=new Float32Array(0),this._finalNodesChain=Rne.map((function(e){return this._compositor.getNodeByName(e)}),this);var n={normalTexture:this._normalPass.getNormalTexture(),depthTexture:this._normalPass.getDepthTexture()};this._ssaoPass=new xne(n),this._ssrPass=new Mne(n),this._edgePass=new Ine(n)}Yne.prototype.resize=function(e,t,n){n=n||1;e*=n,t*=n;var i=this._sourceTexture,r=this._depthTexture;i.width=e,i.height=t,r.width=e,r.height=t;var a={getWidth:function(){return e},getHeight:function(){return t},getDevicePixelRatio:function(){return n}};function o(e,t){if("function"===typeof e[t]){var n=e[t].__original||e[t];e[t]=function(e){return n.call(this,a)},e[t].__original=n}}this._compositor.nodes.forEach((function(e){for(var t in e.outputs){var n=e.outputs[t].parameters;n&&(o(n,"width"),o(n,"height"))}for(var i in e.parameters)o(e.parameters,i)})),this._width=e,this._height=t,this._dpr=n},Yne.prototype.getWidth=function(){return this._width},Yne.prototype.getHeight=function(){return this._height},Yne.prototype._ifRenderNormalPass=function(){return this._enableSSAO||this._enableEdge||this._enableSSR},Yne.prototype._getPrevNode=function(e){var t=Rne.indexOf(e.name)-1,n=this._finalNodesChain[t];while(n&&!this._compositor.getNodeByName(n.name))t-=1,n=this._finalNodesChain[t];return n},Yne.prototype._getNextNode=function(e){var t=Rne.indexOf(e.name)+1,n=this._finalNodesChain[t];while(n&&!this._compositor.getNodeByName(n.name))t+=1,n=this._finalNodesChain[t];return n},Yne.prototype._addChainNode=function(e){var t=this._getPrevNode(e),n=this._getNextNode(e);t&&(e.inputs.texture=t.name,n?(e.outputs=Nne(this.getWidth.bind(this),this.getHeight.bind(this)),n.inputs.texture=e.name):e.outputs=null,this._compositor.addNode(e))},Yne.prototype._removeChainNode=function(e){var t=this._getPrevNode(e),n=this._getNextNode(e);t&&(n?(t.outputs=Nne(this.getWidth.bind(this),this.getHeight.bind(this)),n.inputs.texture=t.name):t.outputs=null,this._compositor.removeNode(e))},Yne.prototype.updateNormal=function(e,t,n,i){this._ifRenderNormalPass()&&this._normalPass.update(e,t,n)},Yne.prototype.updateSSAO=function(e,t,n,i){this._ssaoPass.update(e,n,i)},Yne.prototype.enableSSAO=function(){this._enableSSAO=!0},Yne.prototype.disableSSAO=function(){this._enableSSAO=!1},Yne.prototype.enableSSR=function(){this._enableSSR=!0},Yne.prototype.disableSSR=function(){this._enableSSR=!1},Yne.prototype.getSSAOTexture=function(){return this._ssaoPass.getTargetTexture()},Yne.prototype.getSourceFrameBuffer=function(){return this._framebuffer},Yne.prototype.getSourceTexture=function(){return this._sourceTexture},Yne.prototype.disableFXAA=function(){this._removeChainNode(this._fxaaNode)},Yne.prototype.enableFXAA=function(){this._addChainNode(this._fxaaNode)},Yne.prototype.enableBloom=function(){this._compositeNode.inputs.bloom="bloom_composite",this._compositor.dirty()},Yne.prototype.disableBloom=function(){this._compositeNode.inputs.bloom=null,this._compositor.dirty()},Yne.prototype.enableDOF=function(){this._compositeNode.inputs.texture="dof_composite",this._compositor.dirty()},Yne.prototype.disableDOF=function(){this._compositeNode.inputs.texture="source",this._compositor.dirty()},Yne.prototype.enableColorCorrection=function(){this._compositeNode.define("COLOR_CORRECTION"),this._enableColorCorrection=!0},Yne.prototype.disableColorCorrection=function(){this._compositeNode.undefine("COLOR_CORRECTION"),this._enableColorCorrection=!1},Yne.prototype.enableEdge=function(){this._enableEdge=!0},Yne.prototype.disableEdge=function(){this._enableEdge=!1},Yne.prototype.setBloomIntensity=function(e){this._compositeNode.setParameter("bloomIntensity",e)},Yne.prototype.setSSAOParameter=function(e,t){switch(e){case"quality":var n={low:6,medium:12,high:32,ultra:62}[t]||12;this._ssaoPass.setParameter("kernelSize",n);break;case"radius":this._ssaoPass.setParameter(e,t),this._ssaoPass.setParameter("bias",t/200);break;case"intensity":this._ssaoPass.setParameter(e,t);break;default:0}},Yne.prototype.setDOFParameter=function(e,t){switch(e){case"focalDistance":case"focalRange":case"fstop":this._cocNode.setParameter(e,t);break;case"blurRadius":for(var n=0;n<this._dofBlurNodes.length;n++)this._dofBlurNodes[n].setParameter("blurRadius",t);break;case"quality":var i={low:4,medium:8,high:16,ultra:32}[t]||8;this._dofBlurKernelSize=i;for(n=0;n<this._dofBlurNodes.length;n++)this._dofBlurNodes[n].pass.material.define("POISSON_KERNEL_SIZE",i);this._dofBlurKernel=new Float32Array(2*i);break;default:0}},Yne.prototype.setSSRParameter=function(e,t){if(null!=t)switch(e){case"quality":var n={low:10,medium:15,high:30,ultra:80}[t]||20,i={low:32,medium:16,high:8,ultra:4}[t]||16;this._ssrPass.setParameter("maxIteration",n),this._ssrPass.setParameter("pixelStride",i);break;case"maxRoughness":this._ssrPass.setParameter("minGlossiness",Math.max(Math.min(1-t,1),0));break;case"physical":this.setPhysicallyCorrectSSR(t);break;default:console.warn("Unkown SSR parameter "+e)}},Yne.prototype.setPhysicallyCorrectSSR=function(e){this._ssrPass.setPhysicallyCorrect(e)},Yne.prototype.setEdgeColor=function(e){var t=see.parseColor(e);this._edgePass.setParameter("edgeColor",t)},Yne.prototype.setExposure=function(e){this._compositeNode.setParameter("exposure",Math.pow(2,e))},Yne.prototype.setColorLookupTexture=function(e,t){this._compositeNode.pass.material.setTextureImage("lut",this._enableColorCorrection?e:"none",t,{minFilter:see.Texture.NEAREST,magFilter:see.Texture.NEAREST,flipY:!1})},Yne.prototype.setColorCorrection=function(e,t){this._compositeNode.setParameter(e,t)},Yne.prototype.isSSREnabled=function(){return this._enableSSR},Yne.prototype.composite=function(e,t,n,i,r){var a=this._sourceTexture,o=a;this._enableEdge&&(this._edgePass.update(e,n,a,r),a=o=this._edgePass.getTargetTexture()),this._enableSSR&&(this._ssrPass.update(e,n,a,r),o=this._ssrPass.getTargetTexture(),this._ssrPass.setSSAOTexture(this._enableSSAO?this._ssaoPass.getTargetTexture():null)),this._sourceNode.texture=o,this._cocNode.setParameter("depth",this._depthTexture);for(var s=this._dofBlurKernel,l=this._dofBlurKernelSize,u=Math.floor(Sne.length/2/l),c=r%u,h=0;h<2*l;h++)s[h]=Sne[h+c*l*2];for(h=0;h<this._dofBlurNodes.length;h++)this._dofBlurNodes[h].setParameter("percent",r/30),this._dofBlurNodes[h].setParameter("poissonKernel",s);this._cocNode.setParameter("zNear",n.near),this._cocNode.setParameter("zFar",n.far),this._compositor.render(e,i)},Yne.prototype.dispose=function(e){this._sourceTexture.dispose(e),this._depthTexture.dispose(e),this._framebuffer.dispose(e),this._compositor.dispose(e),this._normalPass.dispose(e),this._ssaoPass.dispose(e)};var zne=Yne;function Hne(e){for(var t=[],n=0;n<30;n++)t.push([pne(n,2),pne(n,3)]);this._haltonSequence=t,this._frame=0,this._sourceTex=new W9,this._sourceFb=new J8,this._sourceFb.attach(this._sourceTex),this._prevFrameTex=new W9,this._outputTex=new W9;var i=this._blendPass=new e7({fragment:I5.source("clay.compositor.blend")});i.material.disableTexturesAll(),i.material.enableTexture(["texture1","texture2"]),this._blendFb=new J8({depthBuffer:!1}),this._outputPass=new e7({fragment:I5.source("clay.compositor.output"),blendWithPrevious:!0}),this._outputPass.material.define("fragment","OUTPUT_ALPHA"),this._outputPass.material.blend=function(e){e.blendEquationSeparate(e.FUNC_ADD,e.FUNC_ADD),e.blendFuncSeparate(e.ONE,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA)}}Hne.prototype={constructor:Hne,jitterProjection:function(e,t){var n=e.viewport,i=n.devicePixelRatio||e.getDevicePixelRatio(),r=n.width*i,a=n.height*i,o=this._haltonSequence[this._frame%this._haltonSequence.length],s=new g9;s.array[12]=(2*o[0]-1)/r,s.array[13]=(2*o[1]-1)/a,g9.mul(t.projectionMatrix,s,t.projectionMatrix),g9.invert(t.invProjectionMatrix,t.projectionMatrix)},resetFrame:function(){this._frame=0},getFrame:function(){return this._frame},getSourceFrameBuffer:function(){return this._sourceFb},getOutputTexture:function(){return this._outputTex},resize:function(e,t){this._prevFrameTex.width=e,this._prevFrameTex.height=t,this._outputTex.width=e,this._outputTex.height=t,this._sourceTex.width=e,this._sourceTex.height=t,this._prevFrameTex.dirty(),this._outputTex.dirty(),this._sourceTex.dirty()},isFinished:function(){return this._frame>=this._haltonSequence.length},render:function(e,t,n){var i=this._blendPass;0===this._frame?(i.setUniform("weight1",0),i.setUniform("weight2",1)):(i.setUniform("weight1",.9),i.setUniform("weight2",.1)),i.setUniform("texture1",this._prevFrameTex),i.setUniform("texture2",t||this._sourceTex),this._blendFb.attach(this._outputTex),this._blendFb.bind(e),i.render(e),this._blendFb.unbind(e),n||(this._outputPass.setUniform("texture",this._outputTex),this._outputPass.render(e));var r=this._prevFrameTex;this._prevFrameTex=this._outputTex,this._outputTex=r,this._frame++},dispose:function(e){this._sourceFb.dispose(e),this._blendFb.dispose(e),this._prevFrameTex.dispose(e),this._outputTex.dispose(e),this._sourceTex.dispose(e),this._outputPass.dispose(e),this._blendPass.dispose(e)}};var jne=Hne;function Fne(e){e=e||"perspective",this.layer=null,this.scene=new C8,this.rootNode=this.scene,this.viewport={x:0,y:0,width:0,height:0},this.setProjection(e),this._compositor=new zne,this._temporalSS=new jne,this._shadowMapPass=new Ate;for(var t=[],n=0,i=0;i<30;i++){for(var r=[],a=0;a<6;a++)r.push(4*pne(n,2)-2),r.push(4*pne(n,3)-2),n++;t.push(r)}this._pcfKernels=t,this.scene.on("beforerender",(function(e,t,n){this.needsTemporalSS()&&this._temporalSS.jitterProjection(e,n)}),this)}Fne.prototype.setProjection=function(e){var t=this.camera;t&&t.update(),"perspective"===e?this.camera instanceof H8||(this.camera=new H8,t&&this.camera.setLocalTransform(t.localTransform)):this.camera instanceof Z6||(this.camera=new Z6,t&&this.camera.setLocalTransform(t.localTransform)),this.camera.near=.1,this.camera.far=2e3},Fne.prototype.setViewport=function(e,t,n,i,r){this.camera instanceof H8&&(this.camera.aspect=n/i),r=r||1,this.viewport.x=e,this.viewport.y=t,this.viewport.width=n,this.viewport.height=i,this.viewport.devicePixelRatio=r,this._compositor.resize(n*r,i*r),this._temporalSS.resize(n*r,i*r)},Fne.prototype.containPoint=function(e,t){var n=this.viewport,i=this.layer.renderer.getHeight();return t=i-t,e>=n.x&&t>=n.y&&e<=n.x+n.width&&t<=n.y+n.height};var Bne=new q4;Fne.prototype.castRay=function(e,t,n){var i=this.layer.renderer,r=i.viewport;return i.viewport=this.viewport,i.screenToNDC(e,t,Bne),this.camera.castRay(Bne,n),i.viewport=r,n},Fne.prototype.prepareRender=function(){this.scene.update(),this.camera.update(),this.scene.updateLights();var e=this.scene.updateRenderList(this.camera);this._needsSortProgressively=!1;for(var t=0;t<e.transparent.length;t++){var n=e.transparent[t],i=n.geometry;i.needsSortVerticesProgressively&&i.needsSortVerticesProgressively()&&(this._needsSortProgressively=!0),i.needsSortTrianglesProgressively&&i.needsSortTrianglesProgressively()&&(this._needsSortProgressively=!0)}this._frame=0,this._temporalSS.resetFrame()},Fne.prototype.render=function(e,t){this._doRender(e,t,this._frame),this._frame++},Fne.prototype.needsAccumulate=function(){return this.needsTemporalSS()||this._needsSortProgressively},Fne.prototype.needsTemporalSS=function(){var e=this._enableTemporalSS;return"auto"===e&&(e=this._enablePostEffect),e},Fne.prototype.hasDOF=function(){return this._enableDOF},Fne.prototype.isAccumulateFinished=function(){return this.needsTemporalSS()?this._temporalSS.isFinished():this._frame>30},Fne.prototype._doRender=function(e,t,n){var i=this.scene,r=this.camera;n=n||0,this._updateTransparent(e,i,r,n),t||(this._shadowMapPass.kernelPCF=this._pcfKernels[0],this._shadowMapPass.render(e,i,r,!0)),this._updateShadowPCFKernel(n);var a=e.clearColor;if(e.gl.clearColor(a[0],a[1],a[2],a[3]),this._enablePostEffect&&(this.needsTemporalSS()&&this._temporalSS.jitterProjection(e,r),this._compositor.updateNormal(e,i,r,this._temporalSS.getFrame())),this._updateSSAO(e,i,r,this._temporalSS.getFrame()),this._enablePostEffect){var o=this._compositor.getSourceFrameBuffer();o.bind(e),e.gl.clear(e.gl.DEPTH_BUFFER_BIT|e.gl.COLOR_BUFFER_BIT),e.render(i,r,!0,!0),o.unbind(e),this.needsTemporalSS()&&t?(this._compositor.composite(e,i,r,this._temporalSS.getSourceFrameBuffer(),this._temporalSS.getFrame()),e.setViewport(this.viewport),this._temporalSS.render(e)):(e.setViewport(this.viewport),this._compositor.composite(e,i,r,null,0))}else if(this.needsTemporalSS()&&t){o=this._temporalSS.getSourceFrameBuffer();o.bind(e),e.saveClear(),e.clearBit=e.gl.DEPTH_BUFFER_BIT|e.gl.COLOR_BUFFER_BIT,e.render(i,r,!0,!0),e.restoreClear(),o.unbind(e),e.setViewport(this.viewport),this._temporalSS.render(e)}else e.setViewport(this.viewport),e.render(i,r,!0,!0)},Fne.prototype._updateTransparent=function(e,t,n,i){for(var r=new i9,a=new g9,o=n.getWorldPosition(),s=t.getRenderList(n).transparent,l=0;l<s.length;l++){var u=s[l],c=u.geometry;g9.invert(a,u.worldTransform),i9.transformMat4(r,o,a),c.needsSortTriangles&&c.needsSortTriangles()&&c.doSortTriangles(r,i),c.needsSortVertices&&c.needsSortVertices()&&c.doSortVertices(r,i)}},Fne.prototype._updateSSAO=function(e,t,n){var i=this._enableSSAO&&this._enablePostEffect;i&&this._compositor.updateSSAO(e,t,n,this._temporalSS.getFrame());for(var r=t.getRenderList(n),a=0;a<r.opaque.length;a++){var o=r.opaque[a];o.renderNormal&&o.material[i?"enableTexture":"disableTexture"]("ssaoMap"),i&&o.material.set("ssaoMap",this._compositor.getSSAOTexture())}},Fne.prototype._updateShadowPCFKernel=function(e){for(var t=this._pcfKernels[e%this._pcfKernels.length],n=this.scene.getRenderList(this.camera),i=n.opaque,r=0;r<i.length;r++)i[r].receiveShadow&&(i[r].material.set("pcfKernel",t),i[r].material.define("fragment","PCF_KERNEL_SIZE",t.length/2))},Fne.prototype.dispose=function(e){this._compositor.dispose(e.gl),this._temporalSS.dispose(e.gl),this._shadowMapPass.dispose(e)},Fne.prototype.setPostEffect=function(e,t){var n=this._compositor;this._enablePostEffect=e.get("enable");var i=e.getModel("bloom"),r=e.getModel("edge"),a=e.getModel("DOF",e.getModel("depthOfField")),o=e.getModel("SSAO",e.getModel("screenSpaceAmbientOcclusion")),s=e.getModel("SSR",e.getModel("screenSpaceReflection")),l=e.getModel("FXAA"),u=e.getModel("colorCorrection");i.get("enable")?n.enableBloom():n.disableBloom(),a.get("enable")?n.enableDOF():n.disableDOF(),s.get("enable")?n.enableSSR():n.disableSSR(),u.get("enable")?n.enableColorCorrection():n.disableColorCorrection(),r.get("enable")?n.enableEdge():n.disableEdge(),l.get("enable")?n.enableFXAA():n.disableFXAA(),this._enableDOF=a.get("enable"),this._enableSSAO=o.get("enable"),this._enableSSAO?n.enableSSAO():n.disableSSAO(),n.setBloomIntensity(i.get("intensity")),n.setEdgeColor(r.get("color")),n.setColorLookupTexture(u.get("lookupTexture"),t),n.setExposure(u.get("exposure")),["radius","quality","intensity"].forEach((function(e){n.setSSAOParameter(e,o.get(e))})),["quality","maxRoughness","physical"].forEach((function(e){n.setSSRParameter(e,s.get(e))})),["quality","focalDistance","focalRange","blurRadius","fstop"].forEach((function(e){n.setDOFParameter(e,a.get(e))})),["brightness","contrast","saturation"].forEach((function(e){n.setColorCorrection(e,u.get(e))}))},Fne.prototype.setDOFFocusOnPoint=function(e){if(this._enablePostEffect){if(e>this.camera.far||e<this.camera.near)return;return this._compositor.setDOFParameter("focalDistance",e),!0}},Fne.prototype.setTemporalSuperSampling=function(e){this._enableTemporalSS=e.get("enable")},Fne.prototype.isLinearSpace=function(){return this._enablePostEffect},Fne.prototype.setRootNode=function(e){if(this.rootNode!==e){for(var t=this.rootNode.children(),n=0;n<t.length;n++)e.add(t[n]);e!==this.scene&&this.scene.add(e),this.rootNode=e}},Fne.prototype.add=function(e){this.rootNode.add(e)},Fne.prototype.remove=function(e){this.rootNode.remove(e)},Fne.prototype.removeAll=function(e){this.rootNode.removeAll(e)},Object.assign(Fne.prototype,t4);var Vne=Fne;function Gne(e,t){var n=e.getBoxLayoutParams(),i=ah(n,{width:t.getWidth(),height:t.getHeight()});i.y=t.getHeight()-i.y-i.height,this.viewGL.setViewport(i.x,i.y,i.width,i.height,t.getDevicePixelRatio());var r=e.get("boxWidth"),a=e.get("boxHeight"),o=e.get("boxDepth");this.getAxis("x").setExtent(-r/2,r/2),this.getAxis("y").setExtent(o/2,-o/2),this.getAxis("z").setExtent(-a/2,a/2),this.size=[r,a,o]}function Wne(e,t){var n={};function i(e,t){n[e]=n[e]||[1/0,-1/0],n[e][0]=Math.min(t[0],n[e][0]),n[e][1]=Math.max(t[1],n[e][1])}e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();["x","y","z"].forEach((function(e){t.mapDimensionsAll(e,!0).forEach((function(n){i(e,t.getDataExtent(n,!0))}))}))}}),this),["xAxis3D","yAxis3D","zAxis3D"].forEach((function(t){e.eachComponent(t,(function(e){var i=t.charAt(0),r=e.getReferringComponents("grid3D").models[0],a=r.coordinateSystem;if(a===this){var s=a.getAxis(i);if(!s){var l=o.createScale(n[i]||[1/0,-1/0],e);s=new mte(i,l),s.type=e.get("type");var u="category"===s.type;s.onBand=u&&e.get("boundaryGap"),s.inverse=e.get("inverse"),e.axis=s,s.model=e,s.getLabelModel=function(){return e.getModel("axisLabel",r.getModel("axisLabel"))},s.getTickModel=function(){return e.getModel("axisTick",r.getModel("axisTick"))},a.addAxis(s)}}}),this)}),this),this.resize(this.model,t)}var Une={dimensions:fte.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("grid3D",(function(e){e.__viewGL=e.__viewGL||new Vne;var t=new fte;t.model=e,t.viewGL=e.__viewGL,e.coordinateSystem=t,n.push(t),t.resize=Gne,t.update=Wne}));var i=["xAxis3D","yAxis3D","zAxis3D"];function r(e,t){return i.map((function(n){var i=e.getReferringComponents(n).models[0];return null==i&&(i=t.getComponent(n)),i}))}return e.eachSeries((function(t){if("cartesian3D"===t.get("coordinateSystem")){var n=t.getReferringComponents("grid3D").models[0];if(null==n){var i=r(t,e);n=i[0].getCoordSysModel();i.forEach((function(e){e.getCoordSysModel()}))}var a=n.coordinateSystem;t.coordinateSystem=a}})),n}},Xne=Une,Zne=mh.extend({type:"cartesian3DAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid3D",index:this.option.gridIndex,id:this.option.gridId})[0]}});o.mixinAxisModelCommonMethods(Zne);var qne=Zne,$ne={show:!0,grid3DIndex:0,inverse:!1,name:"",nameLocation:"middle",nameTextStyle:{fontSize:16},nameGap:20,axisPointer:{},axisLine:{},axisTick:{},axisLabel:{},splitArea:{}},Jne=c.merge({boundaryGap:!0,axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"},axisPointer:{label:{show:!1}}},$ne),Kne=c.merge({boundaryGap:[0,0],splitNumber:5,axisPointer:{label:{}}},$ne),Qne=c.defaults({scale:!0,min:"dataMin",max:"dataMax"},Kne),eie=c.defaults({logBase:10},Kne);eie.scale=!0;var tie={categoryAxis3D:Jne,valueAxis3D:Kne,timeAxis3D:Qne,logAxis3D:eie},nie=["value","category","time","log"],iie=function(e,t,n,i,r){nie.forEach((function(a){var o=n.extend({type:t+"Axis3D."+a,__ordinalMeta:null,mergeDefaultAndTheme:function(e,n){var r=n.getTheme();c.merge(e,r.get(a+"Axis3D")),c.merge(e,this.getDefaultOption()),e.type=i(t,e)},optionUpdated:function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=rw.createByAxisModel(this))},getCategories:function(){if("category"===this.option.type)return this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:c.merge(c.clone(tie[a+"Axis3D"]),r||{},!0)});e.registerComponentModel(o)})),e.registerSubTypeDefaulter(t+"Axis3D",c.curry(i,t))};function rie(e,t){return t.type||(t.data?"category":"value")}function aie(e){e.registerComponentModel(Lee),e.registerComponentView(hte),e.registerCoordinateSystem("grid3D",Xne),["x","y","z"].forEach((function(t){iie(e,t,qne,rie,{name:t.toUpperCase()});const n=e.ComponentView.extend({type:t+"Axis3D"});e.registerComponentView(n)})),e.registerAction({type:"grid3DChangeCamera",event:"grid3dcamerachanged",update:"series:updateCamera"},(function(e,t){t.eachComponent({mainType:"grid3D",query:e},(function(t){t.setView(e)}))})),e.registerAction({type:"grid3DShowAxisPointer",event:"grid3dshowaxispointer",update:"grid3D:showAxisPointer"},(function(e,t){})),e.registerAction({type:"grid3DHideAxisPointer",event:"grid3dhideaxispointer",update:"grid3D:hideAxisPointer"},(function(e,t){}))}IM(aie);var oie={defaultOption:{shading:null,realisticMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},lambertMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},colorMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},hatchingMaterial:{textureTiling:1,textureOffset:0,paperColor:"#fff"}}},sie={getFilledRegions:function(e,t){var n,i=(e||[]).slice();if("string"===typeof t?(t=Kx(t),n=t&&t.geoJson):t&&t.features&&(n=t),!n)return[];for(var r={},a=n.features,o=0;o<i.length;o++)r[i[o].name]=i[o];for(o=0;o<a.length;o++){var s=a[o].properties.name;r[s]||i.push({name:s})}return i},defaultOption:{show:!0,zlevel:-10,map:"",left:0,top:0,width:"100%",height:"100%",boxWidth:100,boxHeight:10,boxDepth:"auto",regionHeight:3,environment:"auto",groundPlane:{show:!1,color:"#aaa"},shading:"lambert",light:{main:{alpha:40,beta:30}},viewControl:{alpha:40,beta:0,distance:100,orthographicSize:60,minAlpha:5,minBeta:-80,maxBeta:80},label:{show:!1,distance:2,textStyle:{fontSize:20,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:4}},itemStyle:{color:"#fff",borderWidth:0,borderColor:"#333"},emphasis:{itemStyle:{color:"#639fc0"},label:{show:!0}}}},lie=mh.extend({type:"geo3D",layoutMode:"box",coordinateSystem:null,optionUpdated:function(){var e=this.option;e.regions=this.getFilledRegions(e.regions,e.map);var t=o.createDimensions(e.data||[],{coordDimensions:["value"],encodeDefine:this.get("encode"),dimensionsDefine:this.get("dimensions")}),n=new Eb(t,this);n.initData(e.regions);var i={};n.each((function(e){var t=n.getName(e),r=n.getItemModel(e);i[t]=r})),this._regionModelMap=i,this._data=n},getData:function(){return this._data},getRegionModel:function(e){var t=this.getData().getName(e);return this._regionModelMap[t]||new Gu(null,this)},getRegionPolygonCoords:function(e){var t=this.getData().getName(e),n=this.coordinateSystem.getRegion(t);return n?n.geometries:[]},getFormattedLabel:function(e,t){var n=this._data.getName(e),i=this.getRegionModel(e),r=i.get("normal"===t?["label","formatter"]:["emphasis","label","formatter"]);null==r&&(r=i.get(["label","formatter"]));var a={name:n};if("function"===typeof r)return a.status=t,r(a);if("string"===typeof r){var o=a.seriesName;return r.replace("{a}",null!=o?o:"")}return n},defaultOption:{regions:[]}});c.merge(lie.prototype,sie),c.merge(lie.prototype,wee),c.merge(lie.prototype,Mee),c.merge(lie.prototype,See),c.merge(lie.prototype,oie);var uie=lie,cie=hie;function hie(e,t,n){n=n||2;var i,r,a,o,s,l,u,c=t&&t.length,h=c?t[0]*n:e.length,d=die(e,0,h,n,!0),f=[];if(!d)return f;if(c&&(d=_ie(e,t,d,n)),e.length>80*n){i=a=e[0],r=o=e[1];for(var p=n;p<h;p+=n)s=e[p],l=e[p+1],s<i&&(i=s),l<r&&(r=l),s>a&&(a=s),l>o&&(o=l);u=Math.max(a-i,o-r)}return pie(d,f,n,i,r,u),f}function die(e,t,n,i,r){var a,o;if(r===Hie(e,t,n,i)>0)for(a=t;a<n;a+=i)o=Rie(a,e[a],e[a+1],o);else for(a=n-i;a>=t;a-=i)o=Rie(a,e[a],e[a+1],o);return o&&kie(o,o.next)&&(Yie(o),o=o.next),o}function fie(e,t){if(!e)return e;t||(t=e);var n,i=e;do{if(n=!1,i.steiner||!kie(i,i.next)&&0!==Oie(i.prev,i,i.next))i=i.next;else{if(Yie(i),i=t=i.prev,i===i.next)return null;n=!0}}while(n||i!==t);return t}function pie(e,t,n,i,r,a,o){if(e){!o&&a&&Mie(e,i,r,a);var s,l,u=e;while(e.prev!==e.next)if(s=e.prev,l=e.next,a?gie(e,i,r,a):mie(e))t.push(s.i/n),t.push(e.i/n),t.push(l.i/n),Yie(e),e=l.next,u=l.next;else if(e=l,e===u){o?1===o?(e=yie(e,t,n),pie(e,t,n,i,r,a,2)):2===o&&vie(e,t,n,i,r,a):pie(fie(e),t,n,i,r,a,1);break}}}function mie(e){var t=e.prev,n=e,i=e.next;if(Oie(t,n,i)>=0)return!1;var r=e.next.next;while(r!==e.prev){if(Die(t.x,t.y,n.x,n.y,i.x,i.y,r.x,r.y)&&Oie(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function gie(e,t,n,i){var r=e.prev,a=e,o=e.next;if(Oie(r,a,o)>=0)return!1;var s=r.x<a.x?r.x<o.x?r.x:o.x:a.x<o.x?a.x:o.x,l=r.y<a.y?r.y<o.y?r.y:o.y:a.y<o.y?a.y:o.y,u=r.x>a.x?r.x>o.x?r.x:o.x:a.x>o.x?a.x:o.x,c=r.y>a.y?r.y>o.y?r.y:o.y:a.y>o.y?a.y:o.y,h=Tie(s,l,t,n,i),d=Tie(u,c,t,n,i),f=e.nextZ;while(f&&f.z<=d){if(f!==e.prev&&f!==e.next&&Die(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&Oie(f.prev,f,f.next)>=0)return!1;f=f.nextZ}f=e.prevZ;while(f&&f.z>=h){if(f!==e.prev&&f!==e.next&&Die(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&Oie(f.prev,f,f.next)>=0)return!1;f=f.prevZ}return!0}function yie(e,t,n){var i=e;do{var r=i.prev,a=i.next.next;!kie(r,a)&&Iie(r,i,i.next,a)&&Eie(r,a)&&Eie(a,r)&&(t.push(r.i/n),t.push(i.i/n),t.push(a.i/n),Yie(i),Yie(i.next),i=e=a),i=i.next}while(i!==e);return i}function vie(e,t,n,i,r,a){var o=e;do{var s=o.next.next;while(s!==o.prev){if(o.i!==s.i&&Aie(o,s)){var l=Nie(o,s);return o=fie(o,o.next),l=fie(l,l.next),pie(o,t,n,i,r,a),void pie(l,t,n,i,r,a)}s=s.next}o=o.next}while(o!==e)}function _ie(e,t,n,i){var r,a,o,s,l,u=[];for(r=0,a=t.length;r<a;r++)o=t[r]*i,s=r<a-1?t[r+1]*i:e.length,l=die(e,o,s,i,!1),l===l.next&&(l.steiner=!0),u.push(Lie(l));for(u.sort(xie),r=0;r<u.length;r++)bie(u[r],n),n=fie(n,n.next);return n}function xie(e,t){return e.x-t.x}function bie(e,t){if(t=wie(e,t),t){var n=Nie(t,e);fie(n,n.next)}}function wie(e,t){var n,i=t,r=e.x,a=e.y,o=-1/0;do{if(a<=i.y&&a>=i.next.y&&i.next.y!==i.y){var s=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>o){if(o=s,s===r){if(a===i.y)return i;if(a===i.next.y)return i.next}n=i.x<i.next.x?i:i.next}}i=i.next}while(i!==t);if(!n)return null;if(r===o)return n.prev;var l,u=n,c=n.x,h=n.y,d=1/0;i=n.next;while(i!==u)r>=i.x&&i.x>=c&&r!==i.x&&Die(a<h?r:o,a,c,h,a<h?o:r,a,i.x,i.y)&&(l=Math.abs(a-i.y)/(r-i.x),(l<d||l===d&&i.x>n.x)&&Eie(i,e)&&(n=i,d=l)),i=i.next;return n}function Mie(e,t,n,i){var r=e;do{null===r.z&&(r.z=Tie(r.x,r.y,t,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==e);r.prevZ.nextZ=null,r.prevZ=null,Sie(r)}function Sie(e){var t,n,i,r,a,o,s,l,u=1;do{n=e,e=null,a=null,o=0;while(n){for(o++,i=n,s=0,t=0;t<u;t++)if(s++,i=i.nextZ,!i)break;l=u;while(s>0||l>0&&i)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:e=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(o>1);return e}function Tie(e,t,n,i,r){return e=32767*(e-n)/r,t=32767*(t-i)/r,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e|t<<1}function Lie(e){var t=e,n=e;do{t.x<n.x&&(n=t),t=t.next}while(t!==e);return n}function Die(e,t,n,i,r,a,o,s){return(r-o)*(t-s)-(e-o)*(a-s)>=0&&(e-o)*(i-s)-(n-o)*(t-s)>=0&&(n-o)*(a-s)-(r-o)*(i-s)>=0}function Aie(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!Cie(e,t)&&Eie(e,t)&&Eie(t,e)&&Pie(e,t)}function Oie(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function kie(e,t){return e.x===t.x&&e.y===t.y}function Iie(e,t,n,i){return!!(kie(e,t)&&kie(n,i)||kie(e,i)&&kie(n,t))||Oie(e,t,n)>0!==Oie(e,t,i)>0&&Oie(n,i,e)>0!==Oie(n,i,t)>0}function Cie(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&Iie(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}function Eie(e,t){return Oie(e.prev,e,e.next)<0?Oie(e,t,e.next)>=0&&Oie(e,e.prev,t)>=0:Oie(e,t,e.prev)<0||Oie(e,e.next,t)<0}function Pie(e,t){var n=e,i=!1,r=(e.x+t.x)/2,a=(e.y+t.y)/2;do{n.y>a!==n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==e);return i}function Nie(e,t){var n=new zie(e.i,e.x,e.y),i=new zie(t.i,t.x,t.y),r=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function Rie(e,t,n,i){var r=new zie(e,t,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Yie(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function zie(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function Hie(e,t,n,i){for(var r=0,a=t,o=n-i;a<n;a+=i)r+=(e[o]-e[a])*(e[a+1]+e[o+1]),o=a;return r}function jie(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function Fie(e,t,n,i,r){var a=n,o=e[t];jie(e,t,i);for(var s=n;s<i;s++)r(e[s],o)<0&&(jie(e,s,a),a++);return jie(e,i,a),a}function Bie(e,t,n,i){if(n<i){var r=Math.floor((n+i)/2),a=Fie(e,r,n,i,t);Bie(e,t,n,a-1),Bie(e,t,a+1,i)}}function Vie(){this._parts=[]}hie.deviation=function(e,t,n,i){var r=t&&t.length,a=r?t[0]*n:e.length,o=Math.abs(Hie(e,0,a,n));if(r)for(var s=0,l=t.length;s<l;s++){var u=t[s]*n,c=s<l-1?t[s+1]*n:e.length;o-=Math.abs(Hie(e,u,c,n))}var h=0;for(s=0;s<i.length;s+=3){var d=i[s]*n,f=i[s+1]*n,p=i[s+2]*n;h+=Math.abs((e[d]-e[p])*(e[f+1]-e[d+1])-(e[d]-e[f])*(e[p+1]-e[d+1]))}return 0===o&&0===h?0:Math.abs((h-o)/o)},Vie.prototype.step=function(e,t,n){var i=e.length;if(0===n){this._parts=[],this._sorted=!1;var r=Math.floor(i/2);this._parts.push({pivot:r,left:0,right:i-1}),this._currentSortPartIdx=0}if(!this._sorted){var a=this._parts;if(0===a.length)return this._sorted=!0,!0;if(a.length<512){for(var o=0;o<a.length;o++)a[o].pivot=Fie(e,a[o].pivot,a[o].left,a[o].right,t);var s=[];for(o=0;o<a.length;o++){var l=a[o].left,u=a[o].pivot-1;u>l&&s.push({pivot:Math.floor((u+l)/2),left:l,right:u});l=a[o].pivot+1,u=a[o].right;u>l&&s.push({pivot:Math.floor((u+l)/2),left:l,right:u})}a=this._parts=s}else for(o=0;o<Math.floor(a.length/10);o++){var c=a.length-1-this._currentSortPartIdx;if(Bie(e,t,a[c].left,a[c].right),this._currentSortPartIdx++,this._currentSortPartIdx===a.length)return this._sorted=!0,!0}return!1}},Vie.sort=Bie;var Gie=Vie,Wie=Pee.vec3,Uie=Wie.create(),Xie=Wie.create(),Zie=Wie.create(),qie={needsSortTriangles:function(){return this.indices&&this.sortTriangles},needsSortTrianglesProgressively:function(){return this.needsSortTriangles()&&this.triangleCount>=2e4},doSortTriangles:function(e,t){var n=this.indices;if(0===t){var i=this.attributes.position;e=e.array;this._triangleZList&&this._triangleZList.length===this.triangleCount||(this._triangleZList=new Float32Array(this.triangleCount),this._sortedTriangleIndices=new Uint32Array(this.triangleCount),this._indicesTmp=new n.constructor(n.length),this._triangleZListTmp=new Float32Array(this.triangleCount));for(var r,a=0,o=0;o<n.length;){i.get(n[o++],Uie),i.get(n[o++],Xie),i.get(n[o++],Zie);var s=Wie.sqrDist(Uie,e),l=Wie.sqrDist(Xie,e),u=Wie.sqrDist(Zie,e),c=Math.min(s,l);c=Math.min(c,u),3===o?(r=c,c=0):c-=r,this._triangleZList[a++]=c}}var h=this._sortedTriangleIndices;for(o=0;o<h.length;o++)h[o]=o;if(this.triangleCount<2e4)0===t&&this._simpleSort(!0);else for(o=0;o<3;o++)this._progressiveQuickSort(3*t+o);var d=this._indicesTmp,f=this._triangleZListTmp,p=this._triangleZList;for(o=0;o<this.triangleCount;o++){var m=3*h[o],g=3*o;d[g++]=n[m++],d[g++]=n[m++],d[g]=n[m],f[o]=p[h[o]]}var y=this._indicesTmp;this._indicesTmp=this.indices,this.indices=y;y=this._triangleZListTmp;this._triangleZListTmp=this._triangleZList,this._triangleZList=y,this.dirtyIndices()},_simpleSort:function(e){var t=this._triangleZList,n=this._sortedTriangleIndices;function i(e,n){return t[n]-t[e]}e?Array.prototype.sort.call(n,i):Gie.sort(n,i,0,n.length-1)},_progressiveQuickSort:function(e){var t=this._triangleZList,n=this._sortedTriangleIndices;this._quickSort=this._quickSort||new Gie,this._quickSort.step(n,(function(e,n){return t[n]-t[e]}),e)}};function $ie(e){const t=e.getVisual("style");if(t){const n=e.getVisual("drawType");return t[n]}}function Jie(e){const t=e.getVisual("style");return t.opacity}function Kie(e,t){const n=e.getItemVisual(t,"style");if(n){const t=e.getVisual("drawType");return n[t]}}function Qie(e,t){const n=e.getItemVisual(t,"style");return n&&n.opacity}var ere=1,tre=2;function nre(e,t,n){this._labelsMesh=new nte,this._labelTextureSurface=new Fee({width:512,height:512,devicePixelRatio:n.getDevicePixelRatio(),onupdate:function(){n.getZr().refresh()}}),this._api=n,this._labelsMesh.material.set("textureAtlas",this._labelTextureSurface.getTexture())}nre.prototype.getLabelPosition=function(e,t,n){return[0,0,0]},nre.prototype.getLabelDistance=function(e,t,n){return 0},nre.prototype.getMesh=function(){return this._labelsMesh},nre.prototype.updateData=function(e,t,n){null==t&&(t=0),null==n&&(n=e.count()),this._labelsVisibilitiesBits&&this._labelsVisibilitiesBits.length===n-t||(this._labelsVisibilitiesBits=new Uint8Array(n-t));for(var i=["label","show"],r=["emphasis","label","show"],a=t;a<n;a++){var o=e.getItemModel(a),s=o.get(i),l=o.get(r);null==l&&(l=s);var u=(s?ere:0)|(l?tre:0);this._labelsVisibilitiesBits[a-t]=u}this._start=t,this._end=n,this._data=e},nre.prototype.updateLabels=function(e){if(this._data){e=e||[];for(var t=e.length>0,n={},i=0;i<e.length;i++)n[e[i]]=!0;this._labelsMesh.geometry.convertToDynamicArray(!0),this._labelTextureSurface.clear();for(var r=["label"],a=["emphasis","label"],o=this._data.hostModel,s=this._data,u=o.getModel(r),c=o.getModel(a,u),h={left:"right",right:"left",top:"center",bottom:"center"},d={left:"middle",right:"middle",top:"bottom",bottom:"top"},f=this._start;f<this._end;f++){var p=!1;t&&n[f]&&(p=!0);var m=this._labelsVisibilitiesBits[f-this._start]&(p?tre:ere);if(m){var g=s.getItemModel(f),y=g.getModel(p?a:r,p?c:u),v=y.get("distance")||0,_=y.get("position"),x=this._api.getDevicePixelRatio(),b=o.getFormattedLabel(f,p?"emphasis":"normal");if(null==b||""===b)return;var w=new l.Text({style:xu(y,{text:b,fill:y.get("color")||Kie(s,f)||"#000",align:"left",verticalAlign:"top",opacity:y7.firstNotNull(y.get("opacity"),Qie(s,f),1)})}),M=w.getBoundingRect(),S=1.2;M.height*=S;var T=this._labelTextureSurface.add(w),L=h[_]||"center",D=d[_]||"bottom";this._labelsMesh.geometry.addSprite(this.getLabelPosition(f,_,v),[M.width*x,M.height*x],T,L,D,this.getLabelDistance(f,_,v)*x)}}this._labelsMesh.material.set("uvScale",this._labelTextureSurface.getCoordsScale()),this._labelTextureSurface.getZr().refreshImmediately(),this._labelsMesh.geometry.convertToTypedArray(),this._labelsMesh.geometry.dirty()}},nre.prototype.dispose=function(){this._labelTextureSurface.dispose()};var ire=nre,rre=Pee.vec3;function are(e){this.rootNode=new see.Node,this._triangulationResults={},this._shadersMap=see.COMMON_SHADERS.filter((function(e){return"shadow"!==e})).reduce((function(e,t){return e[t]=see.createShader("ecgl."+t),e}),{}),this._linesShader=see.createShader("ecgl.meshLines3D");var t={};see.COMMON_SHADERS.forEach((function(e){t[e]=new see.Material({shader:see.createShader("ecgl."+e)})})),this._groundMaterials=t,this._groundMesh=new see.Mesh({geometry:new see.PlaneGeometry({dynamic:!0}),castShadow:!1,renderNormal:!0,$ignorePicking:!0}),this._groundMesh.rotation.rotateX(-Math.PI/2),this._labelsBuilder=new ire(512,512,e),this._labelsBuilder.getMesh().renderOrder=100,this._labelsBuilder.getMesh().material.depthTest=!1,this.rootNode.add(this._labelsBuilder.getMesh()),this._initMeshes(),this._api=e}see.Shader.import(lte),are.prototype={constructor:are,extrudeY:!0,update:function(e,t,n,i,r){var a=e.getData();null==i&&(i=0),null==r&&(r=a.count()),this._startIndex=i,this._endIndex=r-1,this._triangulation(e,i,r);var o=this._getShader(e.get("shading"));this._prepareMesh(e,o,n,i,r),this.rootNode.updateWorldTransform(),this._updateRegionMesh(e,n,i,r);var s=e.coordinateSystem;"geo3D"===s.type&&this._updateGroundPlane(e,s,n);var l=this;this._labelsBuilder.updateData(a,i,r),this._labelsBuilder.getLabelPosition=function(e,t,n){var i=a.getName(e),r=n;if("geo3D"===s.type){var o=s.getRegion(i);if(!o)return[NaN,NaN,NaN];h=o.getCenter();var u=s.dataToPoint([h[0],h[1],r]);return u}var c=l._triangulationResults[e-l._startIndex],h=l.extrudeY?[(c.max[0]+c.min[0])/2,c.max[1]+r,(c.max[2]+c.min[2])/2]:[(c.max[0]+c.min[0])/2,(c.max[1]+c.min[1])/2,c.max[2]+r]},this._data=a,this._labelsBuilder.updateLabels(),this._updateDebugWireframe(e),this._lastHoverDataIndex=0},_initMeshes:function(){var e=this;function t(){var t=new see.Mesh({name:"Polygon",material:new see.Material({shader:e._shadersMap.lambert}),geometry:new see.Geometry({sortTriangles:!0,dynamic:!0}),culling:!1,ignorePicking:!0,renderNormal:!0});return Object.assign(t.geometry,qie),t}var n=t(),i=new see.Mesh({material:new see.Material({shader:this._linesShader}),castShadow:!1,ignorePicking:!0,$ignorePicking:!0,geometry:new zee({useNativeLine:!1})});this.rootNode.add(n),this.rootNode.add(i),n.material.define("both","VERTEX_COLOR"),n.material.define("fragment","DOUBLE_SIDED"),this._polygonMesh=n,this._linesMesh=i,this.rootNode.add(this._groundMesh)},_getShader:function(e){var t=this._shadersMap[e];return t||(t=this._shadersMap.lambert),t.__shading=e,t},_prepareMesh:function(e,t,n,i,r){for(var a=0,o=0,s=0,l=0,u=i;u<r;u++){var c=this._getRegionPolygonInfo(u),h=this._getRegionLinesInfo(u,e,this._linesMesh.geometry);a+=c.vertexCount,o+=c.triangleCount,s+=h.vertexCount,l+=h.triangleCount}var d=this._polygonMesh,f=d.geometry;["position","normal","texcoord0","color"].forEach((function(e){f.attributes[e].init(a)})),f.indices=a>65535?new Uint32Array(3*o):new Uint16Array(3*o),d.material.shader!==t&&d.material.attachShader(t,!0),see.setMaterialFromModel(t.__shading,d.material,e,n),s>0&&(this._linesMesh.geometry.resetOffset(),this._linesMesh.geometry.setVertexCount(s),this._linesMesh.geometry.setTriangleCount(l)),this._dataIndexOfVertex=new Uint32Array(a),this._vertexRangeOfDataIndex=new Uint32Array(2*(r-i))},_updateRegionMesh:function(e,t,n,i){for(var r=e.getData(),a=0,o=0,s=!1,l=this._polygonMesh,u=this._linesMesh,c=n;c<i;c++){var h=e.getRegionModel(c),d=h.getModel("itemStyle"),f=y7.firstNotNull(Kie(r,c),d.get("color"),"#fff"),p=y7.firstNotNull(Qie(r,c),1),m=see.parseColor(f),g=see.parseColor(d.get("borderColor"));m[3]*=p,g[3]*=p;var y=m[3]<.99;l.material.set("color",[1,1,1,1]),s=s||y;for(var v=y7.firstNotNull(h.get("height",!0),e.get("regionHeight")),_=this._updatePolygonGeometry(e,l.geometry,c,v,a,o,m),x=a;x<_.vertexOffset;x++)this._dataIndexOfVertex[x]=c;this._vertexRangeOfDataIndex[2*(c-n)]=a,this._vertexRangeOfDataIndex[2*(c-n)+1]=_.vertexOffset,a=_.vertexOffset,o=_.triangleOffset;var b=d.get("borderWidth"),w=b>0;w&&(b*=t.getDevicePixelRatio(),this._updateLinesGeometry(u.geometry,e,c,v,b,e.coordinateSystem.transform)),u.invisible=!w,u.material.set({color:g})}l=this._polygonMesh;l.material.transparent=s,l.material.depthMask=!s,l.geometry.updateBoundingBox(),l.frontFace=this.extrudeY?see.Mesh.CCW:see.Mesh.CW,l.material.get("normalMap")&&l.geometry.generateTangents(),l.seriesIndex=e.seriesIndex,l.on("mousemove",this._onmousemove,this),l.on("mouseout",this._onmouseout,this)},_updateDebugWireframe:function(e){var t=e.getModel("debug.wireframe");if(t.get("show")){var n=see.parseColor(t.get("lineStyle.color")||"rgba(0,0,0,0.5)"),i=y7.firstNotNull(t.get("lineStyle.width"),1),r=this._polygonMesh;r.geometry.generateBarycentric(),r.material.define("both","WIREFRAME_TRIANGLE"),r.material.set("wireframeLineColor",n),r.material.set("wireframeLineWidth",i)}},_onmousemove:function(e){var t=this._dataIndexOfVertex[e.triangle[0]];null==t&&(t=-1),t!==this._lastHoverDataIndex&&(this.downplay(this._lastHoverDataIndex),this.highlight(t),this._labelsBuilder.updateLabels([t])),this._lastHoverDataIndex=t,this._polygonMesh.dataIndex=t},_onmouseout:function(e){e.target&&(this.downplay(this._lastHoverDataIndex),this._lastHoverDataIndex=-1,this._polygonMesh.dataIndex=-1),this._labelsBuilder.updateLabels([])},_updateGroundPlane:function(e,t,n){var i=e.getModel("groundPlane",e);if(this._groundMesh.invisible=!i.get("show",!0),!this._groundMesh.invisible){var r=e.get("shading"),a=this._groundMaterials[r];a||(a=this._groundMaterials.lambert),see.setMaterialFromModel(r,a,i,n),a.get("normalMap")&&this._groundMesh.geometry.generateTangents(),this._groundMesh.material=a,this._groundMesh.material.set("color",see.parseColor(i.get("color"))),this._groundMesh.scale.set(t.size[0],t.size[2],1)}},_triangulation:function(e,t,n){this._triangulationResults=[];for(var i=[1/0,1/0,1/0],r=[-1/0,-1/0,-1/0],a=e.coordinateSystem,o=t;o<n;o++){for(var s=[],l=e.getRegionPolygonCoords(o),u=0;u<l.length;u++){var c=l[u].exterior,h=l[u].interiors,d=[],f=[];if(!(c.length<3)){for(var p=0,m=0;m<c.length;m++){var g=c[m];d[p++]=g[0],d[p++]=g[1]}for(m=0;m<h.length;m++)if(!(h[m].length<3)){for(var y=d.length/2,v=0;v<h[m].length;v++){g=h[m][v];d.push(g[0]),d.push(g[1])}f.push(y)}var _=cie(d,f),x=new Float64Array(d.length/2*3),b=[],w=[1/0,1/0,1/0],M=[-1/0,-1/0,-1/0],S=0;for(m=0;m<d.length;)rre.set(b,d[m++],0,d[m++]),a&&a.transform&&rre.transformMat4(b,b,a.transform),rre.min(w,w,b),rre.max(M,M,b),x[S++]=b[0],x[S++]=b[1],x[S++]=b[2];rre.min(i,i,w),rre.max(r,r,M),s.push({points:x,indices:_,min:w,max:M})}}this._triangulationResults.push(s)}this._geoBoundingBox=[i,r]},_getRegionPolygonInfo:function(e){for(var t=this._triangulationResults[e-this._startIndex],n=0,i=0,r=0;r<t.length;r++)n+=t[r].points.length/3,i+=t[r].indices.length/3;var a=2*n+4*n,o=2*i+2*n;return{vertexCount:a,triangleCount:o}},_updatePolygonGeometry:function(e,t,n,i,r,a,o){var s=e.get("projectUVOnGround"),l=t.attributes.position,u=t.attributes.normal,c=t.attributes.texcoord0,h=t.attributes.color,d=this._triangulationResults[n-this._startIndex],f=h.value&&o,p=t.indices,m=this.extrudeY?1:2,g=this.extrudeY?2:1,y=[this.rootNode.worldTransform.x.len(),this.rootNode.worldTransform.y.len(),this.rootNode.worldTransform.z.len()],v=rre.mul([],this._geoBoundingBox[0],y),_=rre.mul([],this._geoBoundingBox[1],y),x=Math.max(_[0]-v[0],_[2]-v[2]);function b(e,t,n){for(var i=e.points,a=i.length,s=[],u=[],d=0;d<a;d+=3)s[0]=i[d],s[m]=t,s[g]=i[d+2],u[0]=(i[d]*y[0]-v[0])/x,u[1]=(i[d+2]*y[g]-v[2])/x,l.set(r,s),f&&h.set(r,o),c.set(r++,u)}function w(e,t,n){var i=r;b(e,t,n);for(var o=e.indices.length,s=0;s<o;s++)p[3*a+s]=e.indices[s]+i;a+=e.indices.length/3}for(var M=this.extrudeY?[0,1,0]:[0,0,1],S=rre.negate([],M),T=0;T<d.length;T++){var L=r,D=d[T];w(D,0,0),w(D,i,0);for(var A=D.points.length/3,O=0;O<A;O++)u.set(L+O,S),u.set(L+O+A,M);var k=[0,3,1,1,3,2],I=[[],[],[],[]],C=[],E=[],P=[],N=[],R=0;for(O=0;O<A;O++){for(var Y=(O+1)%A,z=(D.points[3*Y]-D.points[3*O])*y[0],H=(D.points[3*Y+2]-D.points[3*O+2])*y[g],j=Math.sqrt(z*z+H*H),F=0;F<4;F++){var B=0===F||3===F,V=3*(B?O:Y);I[F][0]=D.points[V],I[F][m]=F>1?i:0,I[F][g]=D.points[V+2],l.set(r+F,I[F]),s?(N[0]=(D.points[V]*y[0]-v[0])/x,N[1]=(D.points[V+2]*y[g]-v[g])/x):(N[0]=(B?R:R+j)/x,N[1]=(I[F][m]*y[m]-v[m])/x),c.set(r+F,N)}rre.sub(C,I[1],I[0]),rre.sub(E,I[3],I[0]),rre.cross(P,C,E),rre.normalize(P,P);for(F=0;F<4;F++)u.set(r+F,P),f&&h.set(r+F,o);for(F=0;F<6;F++)p[3*a+F]=k[F]+r;r+=4,a+=2,R+=j}}return t.dirty(),{vertexOffset:r,triangleOffset:a}},_getRegionLinesInfo:function(e,t,n){var i=0,r=0,a=t.getRegionModel(e),o=a.getModel("itemStyle"),s=o.get("borderWidth");if(s>0){var l=t.getRegionPolygonCoords(e);l.forEach((function(e){var t=e.exterior,a=e.interiors;i+=n.getPolylineVertexCount(t),r+=n.getPolylineTriangleCount(t);for(var o=0;o<a.length;o++)i+=n.getPolylineVertexCount(a[o]),r+=n.getPolylineTriangleCount(a[o])}),this)}return{vertexCount:i,triangleCount:r}},_updateLinesGeometry:function(e,t,n,i,r,a){function o(e){for(var t=new Float64Array(3*e.length),n=0,r=[],o=0;o<e.length;o++)r[0]=e[o][0],r[1]=i+.1,r[2]=e[o][1],a&&rre.transformMat4(r,r,a),t[n++]=r[0],t[n++]=r[1],t[n++]=r[2];return t}var s=[1,1,1,1],l=t.getRegionPolygonCoords(n);l.forEach((function(t){var n=t.exterior,i=t.interiors;e.addPolyline(o(n),s,r);for(var a=0;a<i.length;a++)e.addPolyline(o(i[a]),s,r)}))},highlight:function(e){var t=this._data;if(t){var n=t.getItemModel(e),i=n.getModel(["emphasis","itemStyle"]),r=i.get("color"),a=y7.firstNotNull(i.get("opacity"),Qie(t,e),1);if(null==r){var o=Kie(t,e);r=$t.lift(o,-.4)}null==a&&(a=Qie(t,e));var s=see.parseColor(r);s[3]*=a,this._setColorOfDataIndex(t,e,s)}},downplay:function(e){var t=this._data;if(t){var n=y7.firstNotNull(Kie(t,e),t.getItemModel(e).get(["itemStyle","color"]),"#fff"),i=y7.firstNotNull(Qie(t,e),1),r=see.parseColor(n);r[3]*=i,this._setColorOfDataIndex(t,e,r)}},dispose:function(){this._labelsBuilder.dispose()},_setColorOfDataIndex:function(e,t,n){if(!(t<this._startIndex&&t>this._endIndex)){t-=this._startIndex;for(var i=this._vertexRangeOfDataIndex[2*t];i<this._vertexRangeOfDataIndex[2*t+1];i++)this._polygonMesh.geometry.attributes.color.set(i,n);this._polygonMesh.geometry.dirty(),this._api.getZr().refresh()}}};var ore=are,sre=Wp.extend({type:"geo3D",__ecgl__:!0,init:function(e,t){this._geo3DBuilder=new ore(t),this.groupGL=new see.Node,this._lightRoot=new see.Node,this._sceneHelper=new Vee(this._lightRoot),this._sceneHelper.initLight(this._lightRoot),this._control=new Iee({zr:t.getZr()}),this._control.init()},render:function(e,t,n){this.groupGL.add(this._geo3DBuilder.rootNode);var i=e.coordinateSystem;if(i&&i.viewGL){i.viewGL.add(this._lightRoot),e.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL);var r=this._control;r.setViewGL(i.viewGL);var a=e.getModel("viewControl");r.setFromViewControlModel(a,0),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(e),i.viewGL.setPostEffect(e.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling")),this._geo3DBuilder.update(e,t,n,0,e.getData().count());var o=i.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse((function(e){e.material&&e.material[o]("fragment","SRGB_DECODE")})),r.off("update"),r.on("update",(function(){n.dispatchAction({type:"geo3DChangeCamera",alpha:r.getAlpha(),beta:r.getBeta(),distance:r.getDistance(),center:r.getCenter(),from:this.uid,geo3DId:e.id})})),r.update()}},afterRender:function(e,t,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,e,n),this._sceneHelper.updateSkybox(r,e,n)},dispose:function(){this._control.dispose(),this._geo3DBuilder.dispose()}}),lre={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function ure(e,t){if("world"===e){var n=lre[t.name];if(n){var i=[n[0],n[1]];t.setCenter(i)}}}var cre=Pee.vec3,hre=Pee.mat4,dre=[rC,ure];function fre(e,t,n,i,r){this.name=e,this.map=t,this.regionHeight=0,this.regions=[],this._nameCoordMap={},this.loadGeoJson(n,i,r),this.transform=hre.identity(new Float64Array(16)),this.invTransform=hre.identity(new Float64Array(16)),this.extrudeY=!0,this.altitudeAxis}fre.prototype={constructor:fre,type:"geo3D",dimensions:["lng","lat","alt"],containPoint:function(){},loadGeoJson:function(e,t,n){var i=XM||XM;try{this.regions=e?i(e):[]}catch(u){throw"Invalid geoJson format\n"+u}t=t||{},n=n||{};for(var r=this.regions,a={},o=0;o<r.length;o++){var s=r[o].name;s=n[s]||s,r[o].name=s,a[s]=r[o],this.addGeoCoord(s,r[o].getCenter());var l=t[s];l&&r[o].transformTo(l.left,l.top,l.width,l.height)}this._regionsMap=a,this._geoRect=null,dre.forEach((function(e){e(this)}),this)},getGeoBoundingRect:function(){if(this._geoRect)return this._geoRect;for(var e,t=this.regions,n=0;n<t.length;n++){var i=t[n].getBoundingRect();e=e||i.clone(),e.union(i)}return this._geoRect=e||new l.BoundingRect(0,0,0,0)},addGeoCoord:function(e,t){this._nameCoordMap[e]=t},getRegion:function(e){return this._regionsMap[e]},getRegionByCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return t[n]},setSize:function(e,t,n){this.size=[e,t,n];var i=this.getGeoBoundingRect(),r=e/i.width,a=-n/i.height,o=-e/2-i.x*r,s=n/2-i.y*a,l=this.extrudeY?[o,0,s]:[o,s,0],u=this.extrudeY?[r,1,a]:[r,a,1],c=this.transform;hre.identity(c),hre.translate(c,c,l),hre.scale(c,c,u),hre.invert(this.invTransform,c)},dataToPoint:function(e,t){t=t||[];var n=this.extrudeY?1:2,i=this.extrudeY?2:1,r=e[2];return isNaN(r)&&(r=0),t[0]=e[0],t[i]=e[1],this.altitudeAxis?t[n]=this.altitudeAxis.dataToCoord(r):t[n]=0,t[n]+=this.regionHeight,cre.transformMat4(t,t,this.transform),t},pointToData:function(e,t){}};var pre=fre;function mre(e,t){var n=e.getBoxLayoutParams(),i=ah(n,{width:t.getWidth(),height:t.getHeight()});i.y=t.getHeight()-i.y-i.height,this.viewGL.setViewport(i.x,i.y,i.width,i.height,t.getDevicePixelRatio());var r=this.getGeoBoundingRect(),a=r.width/r.height*(e.get("aspectScale")||.75),o=e.get("boxWidth"),s=e.get("boxDepth"),l=e.get("boxHeight");null==l&&(l=5),isNaN(o)&&isNaN(s)&&(o=100),isNaN(s)?s=o/a:isNaN(o)&&(o=s/a),this.setSize(o,l,s),this.regionHeight=e.get("regionHeight"),this.altitudeAxis&&this.altitudeAxis.setExtent(0,Math.max(l-this.regionHeight,0))}function gre(e,t){var n=[1/0,-1/0];if(e.eachSeries((function(e){if(e.coordinateSystem===this&&"series.map3D"!==e.type){var t=e.getData(),i=e.coordDimToDataDim("alt"),r=i&&i[0];if(r){var a=t.getDataExtent(r,!0);n[0]=Math.min(n[0],a[0]),n[1]=Math.max(n[1],a[1])}}}),this),n&&isFinite(n[1]-n[0])){var i=o.createScale(n,{type:"value",min:"dataMin",max:"dataMax"});this.altitudeAxis=new mS("altitude",i),this.resize(this.model,t)}}var yre=0,vre={dimensions:pre.prototype.dimensions,create:function(e,t){var n=[];if(!Kx)throw new Error("geo3D component depends on geo component");function i(e,i){var r=vre.createGeo3D(e);e.__viewGL=e.__viewGL||new Vne,r.viewGL=e.__viewGL,e.coordinateSystem=r,r.model=e,n.push(r),r.resize=mre,r.resize(e,t),r.update=gre}return e.eachComponent("geo3D",(function(e,t){i(e,t)})),e.eachSeriesByType("map3D",(function(e,t){var n=e.get("coordinateSystem");null==n&&(n="geo3D"),"geo3D"===n&&i(e,t)})),e.eachSeries((function(t){if("geo3D"===t.get("coordinateSystem")){if("series.map3D"===t.type)return;var n=t.getReferringComponents("geo3D").models[0];if(n||(n=e.getComponent("geo3D")),!n)throw new Error('geo "'+y7.firstNotNull(t.get("geo3DIndex"),t.get("geo3DId"),0)+'" not found');t.coordinateSystem=n.coordinateSystem}})),n},createGeo3D:function(e){var t,n=e.get("map");return"string"===typeof n?(t=n,n=Kx(n)):n&&n.features&&(n={geoJson:n}),null==t&&(t="GEO_ANONYMOUS_"+yre++),new pre(t+yre++,t,n&&n.geoJson,n&&n.specialAreas,e.get("nameMap"))}},_re=vre;function xre(e){e.registerComponentModel(uie),e.registerComponentView(sre),e.registerAction({type:"geo3DChangeCamera",event:"geo3dcamerachanged",update:"series:updateCamera"},(function(e,t){t.eachComponent({mainType:"geo3D",query:e},(function(t){t.setView(e)}))})),e.registerCoordinateSystem("geo3D",_re)}function bre(e,t){e.id=e.id||e.name||t+""}IM(xre);var wre=mh.extend({type:"globe",layoutMode:"box",coordinateSystem:null,init:function(){wre.superApply(this,"init",arguments),c.each(this.option.layers,(function(e,t){c.merge(e,this.defaultLayerOption),bre(e,t)}),this)},mergeOption:function(e){var t=this.option.layers;function n(e){return c.reduce(e,(function(e,t,n){return bre(t,n),e[t.id]=t,e}),{})}if(this.option.layers=null,wre.superApply(this,"mergeOption",arguments),t&&t.length){var i=n(e.layers),r=n(t);for(var a in i)r[a]?c.merge(r[a],i[a],!0):t.push(e.layers[a]);this.option.layers=t}c.each(this.option.layers,(function(e){c.merge(e,this.defaultLayerOption)}),this)},optionUpdated:function(){this.updateDisplacementHash()},defaultLayerOption:{show:!0,type:"overlay"},defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",baseColor:"#fff",baseTexture:"",heightTexture:"",displacementTexture:"",displacementScale:0,displacementQuality:"medium",globeRadius:100,globeOuterRadius:150,shading:"lambert",light:{main:{time:""}},atmosphere:{show:!1,offset:5,color:"#ffffff",glowPower:6,innerGlowPower:2},viewControl:{autoRotate:!0,panSensitivity:0,targetCoord:null},layers:[]},setDisplacementData:function(e,t,n){this.displacementData=e,this.displacementWidth=t,this.displacementHeight=n},getDisplacementTexture:function(){return this.get("displacementTexture")||this.get("heightTexture")},getDisplacemenScale:function(){var e=this.getDisplacementTexture(),t=this.get("displacementScale");return e&&"none"!==e||(t=0),t},hasDisplacement:function(){return this.getDisplacemenScale()>0},_displacementChanged:!0,_displacementScale:0,updateDisplacementHash:function(){var e=this.getDisplacementTexture(),t=this.getDisplacemenScale();this._displacementChanged=this._displacementTexture!==e||this._displacementScale!==t,this._displacementTexture=e,this._displacementScale=t},isDisplacementChanged:function(){return this._displacementChanged}});c.merge(wre.prototype,wee),c.merge(wre.prototype,Mee),c.merge(wre.prototype,See),c.merge(wre.prototype,oie);var Mre=wre,Sre=Math.PI,Tre=Math.sin,Lre=Math.cos,Dre=Math.tan,Are=Math.asin,Ore=Math.atan2,kre=Sre/180,Ire=864e5,Cre=2440588,Ere=2451545;function Pre(e){return e.valueOf()/Ire-.5+Cre}function Nre(e){return Pre(e)-Ere}var Rre=23.4397*kre;function Yre(e,t){return Ore(Tre(e)*Lre(Rre)-Dre(t)*Tre(Rre),Lre(e))}function zre(e,t){return Are(Tre(t)*Lre(Rre)+Lre(t)*Tre(Rre)*Tre(e))}function Hre(e,t,n){return Ore(Tre(e),Lre(e)*Tre(t)-Dre(n)*Lre(t))}function jre(e,t,n){return Are(Tre(t)*Tre(n)+Lre(t)*Lre(n)*Lre(e))}function Fre(e,t){return kre*(280.16+360.9856235*e)-t}function Bre(e){return kre*(357.5291+.98560028*e)}function Vre(e){var t=kre*(1.9148*Tre(e)+.02*Tre(2*e)+3e-4*Tre(3*e)),n=102.9372*kre;return e+t+n+Sre}function Gre(e){var t=Bre(e),n=Vre(t);return{dec:zre(n,0),ra:Yre(n,0)}}var Wre={getPosition:function(e,t,n){var i=kre*-n,r=kre*t,a=Nre(e),o=Gre(a),s=Fre(a,i)-o.ra;return{azimuth:Hre(s,r,o.dec),altitude:jre(s,r,o.dec)}}},Ure=Wre,Xre="@export ecgl.atmosphere.vertex\nattribute vec3 position: POSITION;\nattribute vec3 normal : NORMAL;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform mat4 normalMatrix : WORLDINVERSETRANSPOSE;\n\nvarying vec3 v_Normal;\n\nvoid main() {\n v_Normal = normalize((normalMatrix * vec4(normal, 0.0)).xyz);\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n@end\n\n\n@export ecgl.atmosphere.fragment\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform float glowPower;\nuniform vec3 glowColor;\n\nvarying vec3 v_Normal;\n\nvoid main() {\n float intensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor = vec4(glowColor, intensity * intensity);\n}\n@end";see.Shader["import"](G7),see.Shader["import"](Xre);var Zre=Wp.extend({type:"globe",__ecgl__:!0,_displacementScale:0,init:function(e,t){this.groupGL=new see.Node,this._sphereGeometry=new see.SphereGeometry({widthSegments:200,heightSegments:100,dynamic:!0}),this._overlayGeometry=new see.SphereGeometry({widthSegments:80,heightSegments:40}),this._planeGeometry=new see.PlaneGeometry,this._earthMesh=new see.Mesh({renderNormal:!0}),this._atmosphereMesh=new see.Mesh,this._atmosphereGeometry=new see.SphereGeometry({widthSegments:80,heightSegments:40}),this._atmosphereMaterial=new see.Material({shader:new see.Shader(see.Shader.source("ecgl.atmosphere.vertex"),see.Shader.source("ecgl.atmosphere.fragment")),transparent:!0}),this._atmosphereMesh.geometry=this._atmosphereGeometry,this._atmosphereMesh.material=this._atmosphereMaterial,this._atmosphereMesh.frontFace=see.Mesh.CW,this._lightRoot=new see.Node,this._sceneHelper=new Vee,this._sceneHelper.initLight(this._lightRoot),this.groupGL.add(this._atmosphereMesh),this.groupGL.add(this._earthMesh),this._control=new Iee({zr:t.getZr()}),this._control.init(),this._layerMeshes={}},render:function(e,t,n){var i=e.coordinateSystem,r=e.get("shading");i.viewGL.add(this._lightRoot),e.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL),this._sceneHelper.setScene(i.viewGL.scene),i.viewGL.setPostEffect(e.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling"));var a=this._earthMesh;a.geometry=this._sphereGeometry;var o="ecgl."+r;a.material&&a.material.shader.name===o||(a.material=see.createMaterial(o)),see.setMaterialFromModel(r,a.material,e,n),["roughnessMap","metalnessMap","detailMap","normalMap"].forEach((function(e){var t=a.material.get(e);t&&(t.flipY=!1)})),a.material.set("color",see.parseColor(e.get("baseColor")));var s=.99*i.radius;if(a.scale.set(s,s,s),e.get("atmosphere.show")){a.material.define("both","ATMOSPHERE_ENABLED"),this._atmosphereMesh.invisible=!1,this._atmosphereMaterial.setUniforms({glowPower:e.get("atmosphere.glowPower")||6,glowColor:e.get("atmosphere.color")||"#ffffff"}),a.material.setUniforms({glowPower:e.get("atmosphere.innerGlowPower")||2,glowColor:e.get("atmosphere.color")||"#ffffff"});var l=e.get("atmosphere.offset")||5;this._atmosphereMesh.scale.set(s+l,s+l,s+l)}else a.material.undefine("both","ATMOSPHERE_ENABLED"),this._atmosphereMesh.invisible=!0;var u=a.material.setTextureImage("diffuseMap",e.get("baseTexture"),n,{flipY:!1,anisotropic:8});u&&u.surface&&u.surface.attachToMesh(a);var c=a.material.setTextureImage("bumpMap",e.get("heightTexture"),n,{flipY:!1,anisotropic:8});c&&c.surface&&c.surface.attachToMesh(a),a.material[e.get("postEffect.enable")?"define":"undefine"]("fragment","SRGB_DECODE"),this._updateLight(e,n),this._displaceVertices(e,n),this._updateViewControl(e,n),this._updateLayers(e,n)},afterRender:function(e,t,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,e,n),this._sceneHelper.updateSkybox(r,e,n)},_updateLayers:function(e,t){var n=e.coordinateSystem,i=e.get("layers"),r=n.radius,a=[],o=[],s=[],l=[];c.each(i,(function(e){var i=new Gu(e),u=i.get("type"),c=see.loadTexture(i.get("texture"),t,{flipY:!1,anisotropic:8});if(c.surface&&c.surface.attachToMesh(this._earthMesh),"blend"===u){var h=i.get("blendTo"),d=y7.firstNotNull(i.get("intensity"),1);"emission"===h?(s.push(c),l.push(d)):(a.push(c),o.push(d))}else{var f=i.get("id"),p=this._layerMeshes[f];p||(p=this._layerMeshes[f]=new see.Mesh({geometry:this._overlayGeometry,castShadow:!1,ignorePicking:!0}));var m=i.get("shading");"lambert"===m?(p.material=p.__lambertMaterial||new see.Material({autoUpdateTextureStatus:!1,shader:see.createShader("ecgl.lambert"),transparent:!0,depthMask:!1}),p.__lambertMaterial=p.material):(p.material=p.__colorMaterial||new see.Material({autoUpdateTextureStatus:!1,shader:see.createShader("ecgl.color"),transparent:!0,depthMask:!1}),p.__colorMaterial=p.material),p.material.enableTexture("diffuseMap");var g=i.get("distance"),y=r+(null==g?n.radius/100:g);p.scale.set(y,y,y),r=y;var v=this._blankTexture||(this._blankTexture=see.createBlankTexture("rgba(255, 255, 255, 0)"));p.material.set("diffuseMap",v),see.loadTexture(i.get("texture"),t,{flipY:!1,anisotropic:8},(function(e){e.surface&&e.surface.attachToMesh(p),p.material.set("diffuseMap",e),t.getZr().refresh()})),i.get("show")?this.groupGL.add(p):this.groupGL.remove(p)}}),this);var u=this._earthMesh.material;u.define("fragment","LAYER_DIFFUSEMAP_COUNT",a.length),u.define("fragment","LAYER_EMISSIVEMAP_COUNT",s.length),u.set("layerDiffuseMap",a),u.set("layerDiffuseIntensity",o),u.set("layerEmissiveMap",s),u.set("layerEmissionIntensity",l);var h=e.getModel("debug.wireframe");if(h.get("show")){u.define("both","WIREFRAME_TRIANGLE");var d=see.parseColor(h.get("lineStyle.color")||"rgba(0,0,0,0.5)"),f=y7.firstNotNull(h.get("lineStyle.width"),1);u.set("wireframeLineWidth",f),u.set("wireframeLineColor",d)}else u.undefine("both","WIREFRAME_TRIANGLE")},_updateViewControl:function(e,t){var n=e.coordinateSystem,i=e.getModel("viewControl"),r=(n.viewGL.camera,this);function a(){return{type:"globeChangeCamera",alpha:o.getAlpha(),beta:o.getBeta(),distance:o.getDistance()-n.radius,center:o.getCenter(),from:r.uid,globeId:e.id}}var o=this._control;o.setViewGL(n.viewGL);var s,l,u=i.get("targetCoord");null!=u&&(l=u[0]+90,s=u[1]),o.setFromViewControlModel(i,{baseDistance:n.radius,alpha:s,beta:l}),o.off("update"),o.on("update",(function(){t.dispatchAction(a())}))},_displaceVertices:function(e,t){var n=e.get("displacementQuality"),i=e.get("debug.wireframe.show"),r=e.coordinateSystem;if(e.isDisplacementChanged()||n!==this._displacementQuality||i!==this._showDebugWireframe){this._displacementQuality=n,this._showDebugWireframe=i;var a=this._sphereGeometry,o={low:100,medium:200,high:400,ultra:800}[n]||200,s=o/2;(a.widthSegments!==o||i)&&(a.widthSegments=o,a.heightSegments=s,a.build()),this._doDisplaceVertices(a,r),i&&a.generateBarycentric()}},_doDisplaceVertices:function(e,t){var n=e.attributes.position.value,i=e.attributes.texcoord0.value,r=e.__originalPosition;r&&r.length===n.length||(r=new Float32Array(n.length),r.set(n),e.__originalPosition=r);for(var a=t.displacementWidth,o=t.displacementHeight,s=t.displacementData,l=0;l<e.vertexCount;l++){var u=3*l,c=2*l,h=r[u+1],d=r[u+2],f=r[u+3],p=i[c++],m=i[c++],g=Math.round(p*(a-1)),y=Math.round(m*(o-1)),v=y*a+g,_=s?s[v]:0;n[u+1]=h+h*_,n[u+2]=d+d*_,n[u+3]=f+f*_}e.generateVertexNormals(),e.dirty(),e.updateBoundingBox()},_updateLight:function(e,t){var n=this._earthMesh;this._sceneHelper.updateLight(e);var i=this._sceneHelper.mainLight,r=e.get("light.main.time")||new Date,a=Ure.getPosition(s.parseDate(r),0,0),o=Math.cos(a.altitude);i.position.y=-o*Math.cos(a.azimuth),i.position.x=Math.sin(a.altitude),i.position.z=o*Math.sin(a.azimuth),i.lookAt(n.getWorldPosition())},dispose:function(e,t){this.groupGL.removeAll(),this._control.dispose()}}),qre=Pee.vec3;function $re(e){this.radius=e,this.viewGL=null,this.altitudeAxis,this.displacementData=null,this.displacementWidth,this.displacementHeight}$re.prototype={constructor:$re,dimensions:["lng","lat","alt"],type:"globe",containPoint:function(){},setDisplacementData:function(e,t,n){this.displacementData=e,this.displacementWidth=t,this.displacementHeight=n},_getDisplacementScale:function(e,t){var n=(e+180)/360*(this.displacementWidth-1),i=(90-t)/180*(this.displacementHeight-1),r=Math.round(n)+Math.round(i)*this.displacementWidth;return this.displacementData[r]},dataToPoint:function(e,t){var n=e[0],i=e[1],r=e[2]||0,a=this.radius;this.displacementData&&(a*=1+this._getDisplacementScale(n,i)),this.altitudeAxis&&(a+=this.altitudeAxis.dataToCoord(r)),n=n*Math.PI/180,i=i*Math.PI/180;var o=Math.cos(i)*a;return t=t||[],t[0]=-o*Math.cos(n+Math.PI),t[1]=Math.sin(i)*a,t[2]=o*Math.sin(n+Math.PI),t},pointToData:function(e,t){var n=e[0],i=e[1],r=e[2],a=qre.len(e);n/=a,i/=a,r/=a;var o=Math.asin(i),s=Math.atan2(r,-n);s<0&&(s=2*Math.PI+s);var l=180*o/Math.PI,u=180*s/Math.PI-180;return t=t||[],t[0]=u,t[1]=l,t[2]=a-this.radius,this.altitudeAxis&&(t[2]=this.altitudeAxis.coordToData(t[2])),t}};var Jre=$re;function Kre(e,t){var n=document.createElement("canvas"),i=n.getContext("2d"),r=e.width,a=e.height;n.width=r,n.height=a,i.drawImage(e,0,0,r,a);for(var o=i.getImageData(0,0,r,a).data,s=new Float32Array(o.length/4),l=0;l<o.length/4;l++){var u=o[4*l];s[l]=u/255*t}return{data:s,width:r,height:a}}function Qre(e,t){var n=e.getBoxLayoutParams(),i=ah(n,{width:t.getWidth(),height:t.getHeight()});i.y=t.getHeight()-i.y-i.height,this.viewGL.setViewport(i.x,i.y,i.width,i.height,t.getDevicePixelRatio()),this.radius=e.get("globeRadius");var r=e.get("globeOuterRadius");this.altitudeAxis&&this.altitudeAxis.setExtent(0,r-this.radius)}function eae(e,t){var n=[1/0,-1/0];if(e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData(),i=e.coordDimToDataDim("alt"),r=i&&i[0];if(r){var a=t.getDataExtent(r,!0);n[0]=Math.min(n[0],a[0]),n[1]=Math.max(n[1],a[1])}}}),this),n&&isFinite(n[1]-n[0])){var i=o.createScale(n,{type:"value",min:"dataMin",max:"dataMax"});this.altitudeAxis=new mS("altitude",i),this.resize(this.model,t)}}var tae={dimensions:Jre.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("globe",(function(e){e.__viewGL=e.__viewGL||new Vne;var i=new Jre;i.viewGL=e.__viewGL,e.coordinateSystem=i,i.model=e,n.push(i),i.resize=Qre,i.resize(e,t),i.update=eae})),e.eachSeries((function(t){if("globe"===t.get("coordinateSystem")){var n=t.getReferringComponents("globe").models[0];if(n||(n=e.getComponent("globe")),!n)throw new Error('globe "'+y7.firstNotNull(t.get("globe3DIndex"),t.get("globe3DId"),0)+'" not found');var i=n.coordinateSystem;t.coordinateSystem=i}})),e.eachComponent("globe",(function(e,n){var i=e.coordinateSystem,r=e.getDisplacementTexture(),a=e.getDisplacemenScale();if(e.isDisplacementChanged()){if(e.hasDisplacement()){var o=!0;see.loadTexture(r,t,(function(n){var i=n.image,r=Kre(i,a);e.setDisplacementData(r.data,r.width,r.height),o||t.dispatchAction({type:"globeUpdateDisplacment"})})),o=!1}else i.setDisplacementData(null,0,0);i.setDisplacementData(e.displacementData,e.displacementWidth,e.displacementHeight)}})),n}},nae=tae;function iae(e){e.registerComponentModel(Mre),e.registerComponentView(Zre),e.registerCoordinateSystem("globe",nae),e.registerAction({type:"globeChangeCamera",event:"globecamerachanged",update:"series:updateCamera"},(function(e,t){t.eachComponent({mainType:"globe",query:e},(function(t){t.setView(e)}))})),e.registerAction({type:"globeUpdateDisplacment",event:"globedisplacementupdated",update:"update"},(function(e,t){}))}IM(iae);var rae=["zoom","center","pitch","bearing"],aae=mh.extend({type:"mapbox3D",layoutMode:"box",coordinateSystem:null,defaultOption:{zlevel:-10,style:"mapbox://styles/mapbox/light-v9",center:[0,0],zoom:0,pitch:0,bearing:0,light:{main:{alpha:20,beta:30}},altitudeScale:1,boxHeight:"auto"},getMapboxCameraOption:function(){var e=this;return rae.reduce((function(t,n){return t[n]=e.get(n),t}),{})},setMapboxCameraOption:function(e){null!=e&&rae.forEach((function(t){null!=e[t]&&(this.option[t]=e[t])}),this)},getMapbox:function(){return this._mapbox},setMapbox:function(e){this._mapbox=e}});c.merge(aae.prototype,Mee),c.merge(aae.prototype,See);var oae=aae;function sae(e,t){if(this.id=e,this.zr=t,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute;left:0;right:0;top:0;bottom:0;",!mapboxgl)throw new Error("Mapbox GL library must be included. See https://www.mapbox.com/mapbox-gl-js/api/");this._mapbox=new mapboxgl.Map({container:this.dom}),this._initEvents()}sae.prototype.setUnpainted=function(){},sae.prototype.resize=function(){this._mapbox.resize()},sae.prototype.getMapbox=function(){return this._mapbox},sae.prototype.clear=function(){},sae.prototype.refresh=function(){this._mapbox.resize()};var lae=["mousedown","mouseup","click","dblclick","mousemove","mousewheel","wheel","touchstart","touchend","touchmove","touchcancel"];sae.prototype._initEvents=function(){var e=this._mapbox.getCanvasContainer();this._handlers=this._handlers||{contextmenu:function(e){return e.preventDefault(),!1}},lae.forEach((function(t){this._handlers[t]=function(t){var n={};for(var i in t)n[i]=t[i];n.bubbles=!1;var r=new t.constructor(t.type,n);e.dispatchEvent(r)},this.zr.dom.addEventListener(t,this._handlers[t])}),this),this.zr.dom.addEventListener("contextmenu",this._handlers.contextmenu)},sae.prototype.dispose=function(){lae.forEach((function(e){this.zr.dom.removeEventListener(e,this._handlers[e])}),this)};var uae=sae,cae="\n@export ecgl.displayShadow.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\nvarying vec3 v_WorldPosition;\n\nvarying vec3 v_Normal;\n\nvoid main()\n{\n @import ecgl.common.uv.main\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n\n v_WorldPosition = (world * vec4(position, 1.0)).xyz;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n\n@end\n\n\n@export ecgl.displayShadow.fragment\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform float roughness: 0.2;\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n@import ecgl.common.ssaoMap.header\n\n@import clay.plugin.compute_shadow_map\n\nvoid main()\n{\n float shadow = 1.0;\n\n @import ecgl.common.ssaoMap.main\n\n#if defined(DIRECTIONAL_LIGHT_COUNT) && defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n for (int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) {\n shadow = min(shadow, shadowContribsDir[i] * 0.5 + 0.5);\n }\n#endif\n\n shadow *= 0.5 + ao * 0.5;\n shadow = clamp(shadow, 0.0, 1.0);\n\n gl_FragColor = vec4(vec3(0.0), 1.0 - shadow);\n}\n\n@end";see.Shader.import(cae);var hae=Wp.extend({type:"mapbox3D",__ecgl__:!0,init:function(e,t){var n=t.getZr();this._zrLayer=new uae("mapbox3D",n),n.painter.insertLayer(-1e3,this._zrLayer),this._lightRoot=new see.Node,this._sceneHelper=new Vee(this._lightRoot),this._sceneHelper.initLight(this._lightRoot);var i=this._zrLayer.getMapbox(),r=this._dispatchInteractAction.bind(this,t,i);["zoom","rotate","drag","pitch","rotate","move"].forEach((function(e){i.on(e,r)})),this._groundMesh=new see.Mesh({geometry:new see.PlaneGeometry,material:new see.Material({shader:new see.Shader({vertex:see.Shader.source("ecgl.displayShadow.vertex"),fragment:see.Shader.source("ecgl.displayShadow.fragment")}),depthMask:!1}),renderOrder:-100,culling:!1,castShadow:!1,$ignorePicking:!0,renderNormal:!0})},render:function(e,t,n){var i=this._zrLayer.getMapbox(),r=e.get("style"),a=JSON.stringify(r);a!==this._oldStyleStr&&r&&i.setStyle(r),this._oldStyleStr=a,i.setCenter(e.get("center")),i.setZoom(e.get("zoom")),i.setPitch(e.get("pitch")),i.setBearing(e.get("bearing")),e.setMapbox(i);var o=e.coordinateSystem;o.viewGL.scene.add(this._lightRoot),o.viewGL.add(this._groundMesh),this._updateGroundMesh(),this._sceneHelper.setScene(o.viewGL.scene),this._sceneHelper.updateLight(e),o.viewGL.setPostEffect(e.getModel("postEffect"),n),o.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling")),this._mapbox3DModel=e},afterRender:function(e,t,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,e,n),this._sceneHelper.updateSkybox(r,e,n),e.coordinateSystem.viewGL.scene.traverse((function(e){e.material&&(e.material.define("fragment","NORMAL_UP_AXIS",2),e.material.define("fragment","NORMAL_FRONT_AXIS",1))}))},updateCamera:function(e,t,n,i){e.coordinateSystem.setCameraOption(i),this._updateGroundMesh(),n.getZr().refresh()},_dispatchInteractAction:function(e,t,n){e.dispatchAction({type:"mapbox3DChangeCamera",pitch:t.getPitch(),zoom:t.getZoom(),center:t.getCenter().toArray(),bearing:t.getBearing(),mapbox3DId:this._mapbox3DModel&&this._mapbox3DModel.id})},_updateGroundMesh:function(){if(this._mapbox3DModel){var e=this._mapbox3DModel.coordinateSystem,t=e.dataToPoint(e.center);this._groundMesh.position.set(t[0],t[1],-.001);var n=new see.Plane(new see.Vector3(0,0,1),0),i=e.viewGL.camera.castRay(new see.Vector2(-1,-1)),r=e.viewGL.camera.castRay(new see.Vector2(1,1)),a=i.intersectPlane(n),o=r.intersectPlane(n),s=a.dist(o)/e.viewGL.rootNode.scale.x;this._groundMesh.scale.set(s,s,1)}},dispose:function(e,t){this._zrLayer&&this._zrLayer.dispose(),t.getZr().painter.delLayer(-1e3)}}),dae=Pee.mat4,fae=512,pae=.6435011087932844,mae=Math.PI,gae=.1;function yae(){this.width=0,this.height=0,this.altitudeScale=1,this.boxHeight="auto",this.altitudeExtent,this.bearing=0,this.pitch=0,this.center=[0,0],this._origin,this.zoom=0,this._initialZoom,this.maxPitch=60,this.zoomOffset=0}yae.prototype={constructor:yae,dimensions:["lng","lat","alt"],containPoint:function(){},setCameraOption:function(e){this.bearing=e.bearing,this.pitch=e.pitch,this.center=e.center,this.zoom=e.zoom,this._origin||(this._origin=this.projectOnTileWithScale(this.center,fae)),null==this._initialZoom&&(this._initialZoom=this.zoom),this.updateTransform()},updateTransform:function(){if(this.height){var e=.5/Math.tan(pae/2)*this.height*gae,t=Math.max(Math.min(this.pitch,this.maxPitch),0)/180*Math.PI,n=pae/2,i=Math.PI/2+t,r=Math.sin(n)*e/Math.sin(Math.PI-i-n),a=Math.cos(Math.PI/2-t)*r+e,o=1.1*a;this.pitch>50&&(o=1e3);var s=[];dae.perspective(s,pae,this.width/this.height,1,o),this.viewGL.camera.projectionMatrix.setArray(s),this.viewGL.camera.decomposeProjectionMatrix();s=dae.identity([]);var l=this.dataToPoint(this.center);dae.scale(s,s,[1,-1,1]),dae.translate(s,s,[0,0,-e]),dae.rotateX(s,s,t),dae.rotateZ(s,s,-this.bearing/180*Math.PI),dae.translate(s,s,[-l[0]*this.getScale()*gae,-l[1]*this.getScale()*gae,0]),this.viewGL.camera.viewMatrix.array=s;var u=[];dae.invert(u,s),this.viewGL.camera.worldTransform.array=u,this.viewGL.camera.decomposeWorldTransform();var c,h=fae*this.getScale();if(this.altitudeExtent&&!isNaN(this.boxHeight)){var d=this.altitudeExtent[1]-this.altitudeExtent[0];c=this.boxHeight/d*this.getScale()/Math.pow(2,this._initialZoom-this.zoomOffset)}else c=h/(2*Math.PI*6378e3*Math.abs(Math.cos(this.center[1]*(Math.PI/180))))*this.altitudeScale*gae;this.viewGL.rootNode.scale.set(this.getScale()*gae,this.getScale()*gae,c)}},getScale:function(){return Math.pow(2,this.zoom-this.zoomOffset)},projectOnTile:function(e,t){return this.projectOnTileWithScale(e,this.getScale()*fae,t)},projectOnTileWithScale:function(e,t,n){var i=e[0],r=e[1],a=i*mae/180,o=r*mae/180,s=t*(a+mae)/(2*mae),l=t*(mae-Math.log(Math.tan(mae/4+.5*o)))/(2*mae);return n=n||[],n[0]=s,n[1]=l,n},unprojectFromTile:function(e,t){return this.unprojectOnTileWithScale(e,this.getScale()*fae,t)},unprojectOnTileWithScale:function(e,t,n){var i=e[0],r=e[1],a=i/t*(2*mae)-mae,o=2*(Math.atan(Math.exp(mae-r/t*(2*mae)))-mae/4);return n=n||[],n[0]=180*a/mae,n[1]=180*o/mae,n},dataToPoint:function(e,t){return t=this.projectOnTileWithScale(e,fae,t),t[0]-=this._origin[0],t[1]-=this._origin[1],t[2]=isNaN(e[2])?0:e[2],isNaN(e[2])||(t[2]=e[2],this.altitudeExtent&&(t[2]-=this.altitudeExtent[0])),t}};var vae=yae;function _ae(){vae.apply(this,arguments)}_ae.prototype=new vae,_ae.prototype.constructor=_ae,_ae.prototype.type="mapbox3D";var xae=_ae,bae=function(e,t,n){function i(e,t){var n=t.getWidth(),i=t.getHeight(),r=t.getDevicePixelRatio();this.viewGL.setViewport(0,0,n,i,r),this.width=n,this.height=i,this.altitudeScale=e.get("altitudeScale"),this.boxHeight=e.get("boxHeight")}function r(e,t){if("auto"!==this.model.get("boxHeight")){var n=[1/0,-1/0];e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData(),i=e.coordDimToDataDim("alt")[0];if(i){var r=t.getDataExtent(i,!0);n[0]=Math.min(n[0],r[0]),n[1]=Math.max(n[1],r[1])}}}),this),n&&isFinite(n[1]-n[0])&&(this.altitudeExtent=n)}}return{dimensions:t.prototype.dimensions,create:function(a,o){var s=[];return a.eachComponent(e,(function(e){var n=e.__viewGL;n||(n=e.__viewGL=new Vne,n.setRootNode(new see.Node));var a=new t;a.viewGL=e.__viewGL,a.resize=i,a.resize(e,o),s.push(a),e.coordinateSystem=a,a.model=e,a.update=r})),a.eachSeries((function(t){if(t.get("coordinateSystem")===e){var n=t.getReferringComponents(e).models[0];if(n||(n=a.getComponent(e)),!n)throw new Error(e+' "'+y7.firstNotNull(t.get(e+"Index"),t.get(e+"Id"),0)+'" not found');t.coordinateSystem=n.coordinateSystem}})),n&&n(s,a,o),s}}},wae=bae("mapbox3D",xae,(function(e){e.forEach((function(e){e.setCameraOption(e.model.getMapboxCameraOption())}))})),Mae=wae;function Sae(e){e.registerComponentModel(oae),e.registerComponentView(hae),e.registerCoordinateSystem("mapbox3D",Mae),e.registerAction({type:"mapbox3DChangeCamera",event:"mapbox3dcamerachanged",update:"mapbox3D:updateCamera"},(function(e,t){t.eachComponent({mainType:"mapbox3D",query:e},(function(t){t.setMapboxCameraOption(e)}))}))}IM(Sae);var Tae=["zoom","center","pitch","bearing"],Lae=mh.extend({type:"maptalks3D",layoutMode:"box",coordinateSystem:null,defaultOption:{zlevel:-10,urlTemplate:"http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png",attribution:'&copy; <a href="http://osm.org">OpenStreetMap</a> contributors, &copy; <a href="https://carto.com/">CARTO</a>',center:[0,0],zoom:0,pitch:0,bearing:0,light:{main:{alpha:20,beta:30}},altitudeScale:1,boxHeight:"auto"},getMaptalksCameraOption:function(){var e=this;return Tae.reduce((function(t,n){return t[n]=e.get(n),t}),{})},setMaptalksCameraOption:function(e){null!=e&&Tae.forEach((function(t){null!=e[t]&&(this.option[t]=e[t])}),this)},getMaptalks:function(){return this._maptalks},setMaptalks:function(e){this._maptalks=e}});c.merge(Lae.prototype,Mee),c.merge(Lae.prototype,See);var Dae=Lae;function Aae(e,t,n,i){if(this.id=e,this.zr=t,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute;left:0;right:0;top:0;bottom:0;",!maptalks)throw new Error("Maptalks library must be included. See https://maptalks.org");this._maptalks=new maptalks.Map(this.dom,{center:n,zoom:i,doubleClickZoom:!1,fog:!1}),this._initEvents()}Aae.prototype.setUnpainted=function(){},Aae.prototype.resize=function(){this._maptalks.checkSize()},Aae.prototype.getMaptalks=function(){return this._maptalks},Aae.prototype.clear=function(){},Aae.prototype.refresh=function(){this._maptalks.checkSize()};var Oae=["mousedown","mouseup","click","dblclick","mousemove","mousewheel","DOMMouseScroll","touchstart","touchend","touchmove","touchcancel"];Aae.prototype._initEvents=function(){var e=this.dom;this._handlers=this._handlers||{contextmenu:function(e){return e.preventDefault(),!1}},Oae.forEach((function(t){this._handlers[t]=function(n){var i={};for(var r in n)i[r]=n[r];i.bubbles=!1;var a=new n.constructor(n.type,i);"mousewheel"===t||"DOMMouseScroll"===t?e.dispatchEvent(a):e.firstElementChild.dispatchEvent(a)},this.zr.dom.addEventListener(t,this._handlers[t])}),this),this.zr.dom.addEventListener("contextmenu",this._handlers.contextmenu)},Aae.prototype.dispose=function(){Oae.forEach((function(e){this.zr.dom.removeEventListener(e,this._handlers[e])}),this),this._maptalks.remove()};var kae=Aae;see.Shader.import(cae);var Iae=Wp.extend({type:"maptalks3D",__ecgl__:!0,init:function(e,t){this._groundMesh=new see.Mesh({geometry:new see.PlaneGeometry,material:new see.Material({shader:new see.Shader({vertex:see.Shader.source("ecgl.displayShadow.vertex"),fragment:see.Shader.source("ecgl.displayShadow.fragment")}),depthMask:!1}),renderOrder:-100,culling:!1,castShadow:!1,$ignorePicking:!0,renderNormal:!0})},_initMaptalksLayer:function(e,t){var n=t.getZr();this._zrLayer=new kae("maptalks3D",n,e.get("center"),e.get("zoom")),n.painter.insertLayer(-1e3,this._zrLayer),this._lightRoot=new see.Node,this._sceneHelper=new Vee(this._lightRoot),this._sceneHelper.initLight(this._lightRoot);var i=this._zrLayer.getMaptalks(),r=this._dispatchInteractAction.bind(this,t,i);["zoomend","zooming","zoomstart","dragrotating","pitch","pitchend","movestart","moving","moveend","resize","touchstart","touchmove","touchend","animating"].forEach((function(e){i.on(e,r)}))},render:function(e,t,n){this._zrLayer||this._initMaptalksLayer(e,n);var i=this._zrLayer.getMaptalks(),r=e.get("urlTemplate"),a=i.getBaseLayer();r!==this._oldUrlTemplate&&(a?a.setOptions({urlTemplate:r,attribution:e.get("attribution")}):(a=new maptalks.TileLayer("maptalks-echarts-gl-baselayer",{urlTemplate:r,subdomains:["a","b","c"],attribution:e.get("attribution")}),i.setBaseLayer(a))),this._oldUrlTemplate=r,i.setCenter(e.get("center")),i.setZoom(e.get("zoom"),{animation:!1}),i.setPitch(e.get("pitch")),i.setBearing(e.get("bearing")),e.setMaptalks(i);var o=e.coordinateSystem;o.viewGL.scene.add(this._lightRoot),o.viewGL.add(this._groundMesh),this._updateGroundMesh(),this._sceneHelper.setScene(o.viewGL.scene),this._sceneHelper.updateLight(e),o.viewGL.setPostEffect(e.getModel("postEffect"),n),o.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling")),this._maptalks3DModel=e},afterRender:function(e,t,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,e,n),this._sceneHelper.updateSkybox(r,e,n),e.coordinateSystem.viewGL.scene.traverse((function(e){e.material&&(e.material.define("fragment","NORMAL_UP_AXIS",2),e.material.define("fragment","NORMAL_FRONT_AXIS",1))}))},updateCamera:function(e,t,n,i){e.coordinateSystem.setCameraOption(i),this._updateGroundMesh(),n.getZr().refresh()},_dispatchInteractAction:function(e,t,n){e.dispatchAction({type:"maptalks3DChangeCamera",pitch:t.getPitch(),zoom:Eae(t.getResolution())+1,center:t.getCenter().toArray(),bearing:t.getBearing(),maptalks3DId:this._maptalks3DModel&&this._maptalks3DModel.id})},_updateGroundMesh:function(){if(this._maptalks3DModel){var e=this._maptalks3DModel.coordinateSystem,t=e.dataToPoint(e.center);this._groundMesh.position.set(t[0],t[1],-.001);var n=new see.Plane(new see.Vector3(0,0,1),0),i=e.viewGL.camera.castRay(new see.Vector2(-1,-1)),r=e.viewGL.camera.castRay(new see.Vector2(1,1)),a=i.intersectPlane(n),o=r.intersectPlane(n),s=a.dist(o)/e.viewGL.rootNode.scale.x;this._groundMesh.scale.set(s,s,1)}},dispose:function(e,t){this._zrLayer&&this._zrLayer.dispose(),t.getZr().painter.delLayer(-1e3)}});const Cae=12756274*Math.PI/(256*Math.pow(2,20));function Eae(e){return 19-Math.log(e/Cae)/Math.LN2}function Pae(){vae.apply(this,arguments),this.maxPitch=85,this.zoomOffset=1}Pae.prototype=new vae,Pae.prototype.constructor=Pae,Pae.prototype.type="maptalks3D";var Nae=Pae,Rae=bae("maptalks3D",Nae,(function(e){e.forEach((function(e){e.setCameraOption(e.model.getMaptalksCameraOption())}))})),Yae=Rae;function zae(e){e.registerComponentModel(Dae),e.registerComponentView(Iae),e.registerCoordinateSystem("maptalks3D",Yae),e.registerAction({type:"maptalks3DChangeCamera",event:"maptalks3dcamerachanged",update:"maptalks3D:updateCamera"},(function(e,t){t.eachComponent({mainType:"maptalks3D",query:e},(function(t){t.setMaptalksCameraOption(e)}))}))}IM(zae);var Hae=Pee.vec3,jae=o.dataStack.isDimensionStacked;function Fae(e){var t=e[0],n=e[1];return!(t>0&&n>0||t<0&&n<0)}function Bae(e,t){var n=e.getData(),i=e.get("barSize");if(null==i){var r,a,o=t.size,s=t.getAxis("x"),l=t.getAxis("y");r="category"===s.type?.7*s.getBandWidth():.6*Math.round(o[0]/Math.sqrt(n.count())),a="category"===l.type?.7*l.getBandWidth():.6*Math.round(o[1]/Math.sqrt(n.count())),i=[r,a]}else c.isArray(i)||(i=[i,i]);var u=t.getAxis("z").scale.getExtent(),h=Fae(u),d=["x","y","z"].map((function(t){return e.coordDimToDataDim(t)[0]})),f=jae(n,d[2]),p=f?n.getCalculationInfo("stackResultDimension"):d[2];n.each(d,(function(e,r,a,o){var s=n.get(p,o),l=f?s-a:h?0:u[0],c=t.dataToPoint([e,r,l]),d=t.dataToPoint([e,r,s]),m=Hae.dist(c,d),g=[0,d[1]<c[1]?-1:1,0];0===Math.abs(m)&&(m=.1);var y=[i[0],m,i[1]];n.setItemLayout(o,[c,g,y])})),n.setLayout("orient",[1,0,0])}var Vae=Bae,Gae=function(e,t,n){for(var i=e.getDataExtent(t),r=e.getDataExtent(n),a=i[1]-i[0]||i[0],o=r[1]-r[0]||r[0],s=50,l=new Uint8Array(s*s),u=0;u<e.count();u++){var c=e.get(t,u),h=e.get(n,u),d=Math.floor((c-i[0])/a*(s-1)),f=Math.floor((h-r[0])/o*(s-1)),p=f*s+d;l[p]=l[p]||1}var m=0;for(u=0;u<l.length;u++)l[u]&&m++;return m/l.length},Wae=Pee.vec3,Uae=o.dataStack.isDimensionStacked;function Xae(e,t){var n=e.getData(),i=e.get("minHeight")||0,r=e.get("barSize"),a=["lng","lat","alt"].map((function(t){return e.coordDimToDataDim(t)[0]}));if(null==r){var o=t.radius*Math.PI,s=Gae(n,a[0],a[1]);r=[o/Math.sqrt(n.count()/s),o/Math.sqrt(n.count()/s)]}else c.isArray(r)||(r=[r,r]);var l=$ae(n,a);n.each(a,(function(e,a,o,s){var u=n.get(l.dimension,s),c=l.isStacked?u-o:t.altitudeAxis.scale.getExtent()[0],h=Math.max(t.altitudeAxis.dataToCoord(o),i),d=t.dataToPoint([e,a,c]),f=t.dataToPoint([e,a,u]),p=Wae.sub([],f,d);Wae.normalize(p,p);var m=[r[0],h,r[1]];n.setItemLayout(s,[d,p,m])})),n.setLayout("orient",i9.UP.array)}function Zae(e,t){var n=e.getData(),i=e.get("barSize"),r=e.get("minHeight")||0,a=["lng","lat","alt"].map((function(t){return e.coordDimToDataDim(t)[0]}));if(null==i){var o=Math.min(t.size[0],t.size[2]),s=Gae(n,a[0],a[1]);i=[o/Math.sqrt(n.count()/s),o/Math.sqrt(n.count()/s)]}else c.isArray(i)||(i=[i,i]);var l=[0,1,0],u=$ae(n,a);n.each(a,(function(e,a,o,s){var c=n.get(u.dimension,s),h=u.isStacked?c-o:t.altitudeAxis.scale.getExtent()[0],d=Math.max(t.altitudeAxis.dataToCoord(o),r),f=t.dataToPoint([e,a,h]),p=[i[0],d,i[1]];n.setItemLayout(s,[f,l,p])})),n.setLayout("orient",[1,0,0])}function qae(e,t){var n=e.getData(),i=e.coordDimToDataDim("lng")[0],r=e.coordDimToDataDim("lat")[0],a=e.coordDimToDataDim("alt")[0],o=e.get("barSize"),s=e.get("minHeight")||0;if(null==o){var l=n.getDataExtent(i),u=n.getDataExtent(r),h=t.dataToPoint([l[0],u[0]]),d=t.dataToPoint([l[1],u[1]]),f=Math.min(Math.abs(h[0]-d[0]),Math.abs(h[1]-d[1]))||1,p=Gae(n,i,r);o=[f/Math.sqrt(n.count()/p),f/Math.sqrt(n.count()/p)]}else c.isArray(o)||(o=[o,o]),o[0]/=t.getScale()/16,o[1]/=t.getScale()/16;var m=[0,0,1],g=[i,r,a],y=$ae(n,g);n.each(g,(function(e,i,r,a){var l=n.get(y.dimension,a),u=y.isStacked?l-r:0,c=t.dataToPoint([e,i,u]),h=t.dataToPoint([e,i,l]),d=Math.max(h[2]-c[2],s),f=[o[0],d,o[1]];n.setItemLayout(a,[c,m,f])})),n.setLayout("orient",[1,0,0])}function $ae(e,t){var n=Uae(e,t[2]);return{dimension:n?e.getCalculationInfo("stackResultDimension"):t[2],isStacked:n}}function Jae(e){e.registerLayout((function(e,t){e.eachSeriesByType("bar3D",(function(e){var t=e.coordinateSystem,n=t&&t.type;"globe"===n?Xae(e,t):"cartesian3D"===n?Vae(e,t):"geo3D"===n?Zae(e,t):("mapbox3D"===n||"maptalks3D"===n)&&qae(e,t)}))}))}var Kae={getFormattedLabel:function(e,t,n,i,r){n=n||"normal";var a=e.getData(i),o=a.getItemModel(t),s=e.getDataParams(t,i);null!=r&&s.value instanceof Array&&(s.value=s.value[r]);var l,c=o.get("normal"===n?["label","formatter"]:["emphasis","label","formatter"]);return null==c&&(c=o.get(["label","formatter"])),"function"===typeof c?(s.status=n,l=c(s)):"string"===typeof c&&(l=u.formatTpl(c,s)),l},normalizeToArray:function(e){return e instanceof Array?e:null==e?[]:[e]}},Qae=Kae;function eoe(e,t){var n=[];return c.each(e.dimensions,(function(i){var r=e.getDimensionInfo(i),a=r.otherDims,o=a[t];null!=o&&!1!==o&&(n[o]=r.name)})),n}var toe=function(e,t,n){function i(e){var i=!0,a=[],o=eoe(r,"tooltip");function s(e,t){var o=r.getDimensionInfo(t);if(o&&!1!==o.otherDims.tooltip){var s=o.type,l=(i?"- "+(o.tooltipName||o.name)+": ":"")+("ordinal"===s?e+"":"time"===s?n?"":u.formatTime("yyyy/MM/dd hh:mm:ss",e):u.addCommas(e));l&&a.push(u.encodeHTML(l))}}return o.length?c.each(o,(function(e){s(r.get(e,t),e)})):c.each(e,s),(i?"<br/>":"")+a.join(i?"<br/>":", ")}var r=e.getData(),a=e.getRawValue(t),o=c.isArray(a)?i(a):u.encodeHTML(u.addCommas(a)),s=r.getName(t),l=Kie(r,t);c.isObject(l)&&l.colorStops&&(l=(l.colorStops[0]||{}).color),l=l||"transparent";var h=u.getTooltipMarker(l),d=e.name;return"\0-"===d&&(d=""),d=d?u.encodeHTML(d)+(n?": ":"<br/>"):"",n?h+d+o:d+h+(s?u.encodeHTML(s)+": "+o:o)},noe=function(e,t,n){n=n||e.getSource();var i=t||Wx(e.get("coordinateSystem"))||["x","y","z"],r=o.createDimensions(n,{dimensionsDefine:n.dimensionsDefine||e.get("dimensions"),encodeDefine:n.encodeDefine||e.get("encode"),coordDimensions:i.map((function(t){var n=e.getReferringComponents(t+"Axis3D").models[0];return{type:n&&"category"===n.get("type")?"ordinal":"float",name:t}}))});"cartesian3D"===e.get("coordinateSystem")&&r.forEach((function(t){if(i.indexOf(t.coordDim)>=0){var n=e.getReferringComponents(t.coordDim+"Axis3D").models[0];n&&"category"===n.get("type")&&(t.ordinalMeta=n.getOrdinalMeta())}}));var a=o.dataStack.enableDataStack(e,r,{byIndex:!0,stackedCoordDimension:"z"}),s=new Eb(r,e);return s.setCalculationInfo(a),s.initData(n),s},ioe=Vp.extend({type:"series.bar3D",dependencies:["globe"],visualStyleAccessPathvisu:"itemStyle",getInitialData:function(e,t){return noe(this)},getFormattedLabel:function(e,t,n,i){var r=Qae.getFormattedLabel(this,e,t,n,i);return null==r&&(r=this.getData().get("z",e)),r},formatTooltip:function(e){return toe(this,e)},defaultOption:{coordinateSystem:"cartesian3D",globeIndex:0,grid3DIndex:0,zlevel:-10,bevelSize:0,bevelSmoothness:2,onGridPlane:"xy",shading:"color",minHeight:0,itemStyle:{opacity:1},label:{show:!1,distance:2,textStyle:{fontSize:14,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:3}},emphasis:{label:{show:!0}},animationDurationUpdate:500}});c.merge(ioe.prototype,oie);var roe=ioe,aoe=Pee.vec3,ooe=Pee.mat3,soe=r8.extend((function(){return{attributes:{position:new r8.Attribute("position","float",3,"POSITION"),normal:new r8.Attribute("normal","float",3,"NORMAL"),color:new r8.Attribute("color","float",4,"COLOR"),prevPosition:new r8.Attribute("prevPosition","float",3),prevNormal:new r8.Attribute("prevNormal","float",3)},dynamic:!0,enableNormal:!1,bevelSize:1,bevelSegments:0,_dataIndices:null,_vertexOffset:0,_triangleOffset:0}}),{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0},setBarCount:function(e){var t=this.enableNormal,n=this.getBarVertexCount()*e,i=this.getBarTriangleCount()*e;this.vertexCount!==n&&(this.attributes.position.init(n),t?this.attributes.normal.init(n):this.attributes.normal.value=null,this.attributes.color.init(n)),this.triangleCount!==i&&(this.indices=n>65535?new Uint32Array(3*i):new Uint16Array(3*i),this._dataIndices=new Uint32Array(n))},getBarVertexCount:function(){var e=this.bevelSize>0?this.bevelSegments:0;return e>0?this._getBevelBarVertexCount(e):this.enableNormal?24:8},getBarTriangleCount:function(){var e=this.bevelSize>0?this.bevelSegments:0;return e>0?this._getBevelBarTriangleCount(e):12},_getBevelBarVertexCount:function(e){return 4*(e+1)*(e+1)*2},_getBevelBarTriangleCount:function(e){var t=4*e+3,n=2*e+1;return(t+1)*n*2+4},setColor:function(e,t){for(var n=this.getBarVertexCount(),i=n*e,r=n*(e+1),a=i;a<r;a++)this.attributes.color.set(a,t);this.dirtyAttribute("color")},getDataIndexOfVertex:function(e){return this._dataIndices?this._dataIndices[e]:null},addBar:function(){for(var e=aoe.create,t=aoe.scaleAndAdd,n=e(),i=e(),r=e(),a=e(),o=e(),s=e(),l=e(),u=[],c=[],h=0;h<8;h++)u[h]=e();var d=[[0,1,5,4],[2,3,7,6],[4,5,6,7],[3,2,1,0],[0,4,7,3],[1,2,6,5]],f=[0,1,2,0,2,3],p=[];for(h=0;h<d.length;h++)for(var m=d[h],g=0;g<2;g++){for(var y=[],v=0;v<3;v++)y.push(m[f[3*g+v]]);p.push(y)}return function(e,h,m,g,y,v){var _=this._vertexOffset;if(this.bevelSize>0&&this.bevelSegments>0)this._addBevelBar(e,h,m,g,this.bevelSize,this.bevelSegments,y);else{aoe.copy(r,h),aoe.normalize(r,r),aoe.cross(a,m,r),aoe.normalize(a,a),aoe.cross(i,r,a),aoe.normalize(a,a),aoe.negate(o,i),aoe.negate(s,r),aoe.negate(l,a),t(u[0],e,i,g[0]/2),t(u[0],u[0],a,g[2]/2),t(u[1],e,i,g[0]/2),t(u[1],u[1],l,g[2]/2),t(u[2],e,o,g[0]/2),t(u[2],u[2],l,g[2]/2),t(u[3],e,o,g[0]/2),t(u[3],u[3],a,g[2]/2),t(n,e,r,g[1]),t(u[4],n,i,g[0]/2),t(u[4],u[4],a,g[2]/2),t(u[5],n,i,g[0]/2),t(u[5],u[5],l,g[2]/2),t(u[6],n,o,g[0]/2),t(u[6],u[6],l,g[2]/2),t(u[7],n,o,g[0]/2),t(u[7],u[7],a,g[2]/2);var x=this.attributes;if(this.enableNormal){c[0]=i,c[1]=o,c[2]=r,c[3]=s,c[4]=a,c[5]=l;for(var b=this._vertexOffset,w=0;w<d.length;w++){for(var M=3*this._triangleOffset,S=0;S<6;S++)this.indices[M++]=b+f[S];b+=4,this._triangleOffset+=2}for(w=0;w<d.length;w++){var T=c[w];for(S=0;S<4;S++){var L=d[w][S];x.position.set(this._vertexOffset,u[L]),x.normal.set(this._vertexOffset,T),x.color.set(this._vertexOffset++,y)}}}else{for(w=0;w<p.length;w++){for(M=3*this._triangleOffset,S=0;S<3;S++)this.indices[M+S]=p[w][S]+this._vertexOffset;this._triangleOffset++}for(w=0;w<u.length;w++)x.position.set(this._vertexOffset,u[w]),x.color.set(this._vertexOffset++,y)}}var D=this._vertexOffset;for(w=_;w<D;w++)this._dataIndices[w]=v}}(),_addBevelBar:function(){var e=aoe.create(),t=aoe.create(),n=aoe.create(),i=ooe.create(),r=[],a=[1,-1,-1,1],o=[1,1,-1,-1],s=[2,0];return function(l,u,c,h,d,f,p){aoe.copy(t,u),aoe.normalize(t,t),aoe.cross(n,c,t),aoe.normalize(n,n),aoe.cross(e,t,n),aoe.normalize(n,n),i[0]=e[0],i[1]=e[1],i[2]=e[2],i[3]=t[0],i[4]=t[1],i[5]=t[2],i[6]=n[0],i[7]=n[1],i[8]=n[2],d=Math.min(h[0],h[2])/2*d;for(var m=0;m<3;m++)r[m]=Math.max(h[m]-2*d,0);var g=(h[0]-r[0])/2,y=(h[1]-r[1])/2,v=(h[2]-r[2])/2,_=[],x=[],b=this._vertexOffset,w=[];for(m=0;m<2;m++){w[m]=w[m]=[];for(var M=0;M<=f;M++)for(var S=0;S<4;S++){(0===M&&0===m||1===m&&M===f)&&w[m].push(b);for(var T=0;T<=f;T++){var L=T/f*Math.PI/2+Math.PI/2*S,D=M/f*Math.PI/2+Math.PI/2*m;x[0]=g*Math.cos(L)*Math.sin(D),x[1]=y*Math.cos(D),x[2]=v*Math.sin(L)*Math.sin(D),_[0]=x[0]+a[S]*r[0]/2,_[1]=x[1]+y+s[m]*r[1]/2,_[2]=x[2]+o[S]*r[2]/2,Math.abs(g-y)<1e-6&&Math.abs(y-v)<1e-6||(x[0]/=g*g,x[1]/=y*y,x[2]/=v*v),aoe.normalize(x,x),aoe.transformMat3(_,_,i),aoe.transformMat3(x,x,i),aoe.add(_,_,l),this.attributes.position.set(b,_),this.enableNormal&&this.attributes.normal.set(b,x),this.attributes.color.set(b,p),b++}}}var A=4*f+3,O=2*f+1,k=A+1;for(S=0;S<O;S++)for(m=0;m<=A;m++){var I=S*k+m+this._vertexOffset,C=S*k+(m+1)%k+this._vertexOffset,E=(S+1)*k+(m+1)%k+this._vertexOffset,P=(S+1)*k+m+this._vertexOffset;this.setTriangleIndices(this._triangleOffset++,[E,I,C]),this.setTriangleIndices(this._triangleOffset++,[E,P,I])}this.setTriangleIndices(this._triangleOffset++,[w[0][0],w[0][2],w[0][1]]),this.setTriangleIndices(this._triangleOffset++,[w[0][0],w[0][3],w[0][2]]),this.setTriangleIndices(this._triangleOffset++,[w[1][0],w[1][1],w[1][2]]),this.setTriangleIndices(this._triangleOffset++,[w[1][0],w[1][2],w[1][3]]),this._vertexOffset=b}}()});c.defaults(soe.prototype,Cee),c.defaults(soe.prototype,qie);var loe=soe,uoe=Pee.vec3,coe=dy.extend({type:"bar3D",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this._api=t,this._labelsBuilder=new ire(256,256,t);var n=this;this._labelsBuilder.getLabelPosition=function(e,t,i){if(n._data){var r=n._data.getItemLayout(e),a=r[0],o=r[1],s=r[2][1];return uoe.scaleAndAdd([],a,o,i+s)}return[0,0]},this._labelsBuilder.getMesh().renderOrder=100},render:function(e,t,n){var i=this._prevBarMesh;this._prevBarMesh=this._barMesh,this._barMesh=i,this._barMesh||(this._barMesh=new see.Mesh({geometry:new loe,shadowDepthMaterial:new see.Material({shader:new see.Shader(see.Shader.source("ecgl.sm.depth.vertex"),see.Shader.source("ecgl.sm.depth.fragment"))}),culling:"cartesian3D"===e.coordinateSystem.type,renderOrder:10,renderNormal:!0})),this.groupGL.remove(this._prevBarMesh),this.groupGL.add(this._barMesh),this.groupGL.add(this._labelsBuilder.getMesh());var r=e.coordinateSystem;if(this._doRender(e,n),r&&r.viewGL){r.viewGL.add(this.groupGL);var a=r.viewGL.isLinearSpace()?"define":"undefine";this._barMesh.material[a]("fragment","SRGB_DECODE")}this._data=e.getData(),this._labelsBuilder.updateData(this._data),this._labelsBuilder.updateLabels(),this._updateAnimation(e)},_updateAnimation:function(e){see.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevBarMesh,this._barMesh,e)},_doRender:function(e,t){var n=e.getData(),i=e.get("shading"),r="color"!==i,a=this,o=this._barMesh,s="ecgl."+i;o.material&&o.material.shader.name===s||(o.material=see.createMaterial(s,["VERTEX_COLOR"])),see.setMaterialFromModel(i,o.material,e,t),o.geometry.enableNormal=r,o.geometry.resetOffset();var l=e.get("bevelSize"),u=e.get("bevelSmoothness");o.geometry.bevelSegments=u,o.geometry.bevelSize=l;var c=[],h=new Float32Array(4*n.count()),d=0,f=0,p=!1;n.each((function(e){if(n.hasValue(e)){var t=Kie(n,e),i=Qie(n,e);null==i&&(i=1),see.parseColor(t,c),c[3]*=i,h[d++]=c[0],h[d++]=c[1],h[d++]=c[2],h[d++]=c[3],c[3]>0&&(f++,c[3]<.99&&(p=!0))}})),o.geometry.setBarCount(f);var m=n.getLayout("orient"),g=this._barIndexOfData=new Int32Array(n.count());f=0;n.each((function(e){if(n.hasValue(e)){var t=n.getItemLayout(e),i=t[0],r=t[1],o=t[2],s=4*e;c[0]=h[s++],c[1]=h[s++],c[2]=h[s++],c[3]=h[s++],c[3]>0&&(a._barMesh.geometry.addBar(i,r,m,o,c,e),g[e]=f++)}else g[e]=-1})),o.geometry.dirty(),o.geometry.updateBoundingBox();var y=o.material;y.transparent=p,y.depthMask=!p,o.geometry.sortTriangles=p,this._initHandler(e,t)},_initHandler:function(e,t){var n=e.getData(),i=this._barMesh,r="cartesian3D"===e.coordinateSystem.type;i.seriesIndex=e.seriesIndex;var a=-1;i.off("mousemove"),i.off("mouseout"),i.on("mousemove",(function(e){var o=i.geometry.getDataIndexOfVertex(e.triangle[0]);o!==a&&(this._downplay(a),this._highlight(o),this._labelsBuilder.updateLabels([o]),r&&t.dispatchAction({type:"grid3DShowAxisPointer",value:[n.get("x",o),n.get("y",o),n.get("z",o,!0)]})),a=o,i.dataIndex=o}),this),i.on("mouseout",(function(e){this._downplay(a),this._labelsBuilder.updateLabels(),a=-1,i.dataIndex=-1,r&&t.dispatchAction({type:"grid3DHideAxisPointer"})}),this)},_highlight:function(e){var t=this._data;if(t){var n=this._barIndexOfData[e];if(!(n<0)){var i=t.getItemModel(e),r=i.getModel("emphasis.itemStyle"),a=r.get("color"),o=r.get("opacity");if(null==a){var s=Kie(t,e);a=$t.lift(s,-.4)}null==o&&(o=Qie(t,e));var l=see.parseColor(a);l[3]*=o,this._barMesh.geometry.setColor(n,l),this._api.getZr().refresh()}}},_downplay:function(e){var t=this._data;if(t){var n=this._barIndexOfData[e];if(!(n<0)){var i=Kie(t,e),r=Qie(t,e),a=see.parseColor(i);a[3]*=r,this._barMesh.geometry.setColor(n,a),this._api.getZr().refresh()}}},highlight:function(e,t,n,i){this._toggleStatus("highlight",e,t,n,i)},downplay:function(e,t,n,i){this._toggleStatus("downplay",e,t,n,i)},_toggleStatus:function(e,t,n,i,r){var a=t.getData(),o=y7.queryDataIndex(a,r),s=this;null!=o?c.each(Qae.normalizeToArray(o),(function(t){"highlight"===e?this._highlight(t):this._downplay(t)}),this):a.each((function(t){"highlight"===e?s._highlight(t):s._downplay(t)}))},remove:function(){this.groupGL.removeAll()},dispose:function(){this._labelsBuilder.dispose(),this.groupGL.removeAll()}});function hoe(e){e.registerChartView(coe),e.registerSeriesModel(roe),Jae(e),e.registerProcessor((function(e,t){e.eachSeriesByType("bar3d",(function(e){var t=e.getData();t.filterSelf((function(e){return t.hasValue(e)}))}))}))}IM(hoe);var doe=Vp.extend({type:"series.line3D",dependencies:["grid3D"],visualStyleAccessPath:"lineStyle",visualDrawType:"stroke",getInitialData:function(e,t){return noe(this)},formatTooltip:function(e){return toe(this,e)},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,grid3DIndex:0,lineStyle:{width:2},animationDurationUpdate:500}}),foe=doe,poe=Pee.vec3;see.Shader.import(lte);var moe=dy.extend({type:"line3D",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this._api=t},render:function(e,t,n){var i=this._prevLine3DMesh;this._prevLine3DMesh=this._line3DMesh,this._line3DMesh=i,this._line3DMesh||(this._line3DMesh=new see.Mesh({geometry:new zee({useNativeLine:!1,sortTriangles:!0}),material:new see.Material({shader:see.createShader("ecgl.meshLines3D")}),renderOrder:10}),this._line3DMesh.geometry.pick=this._pick.bind(this)),this.groupGL.remove(this._prevLine3DMesh),this.groupGL.add(this._line3DMesh);var r=e.coordinateSystem;if(r&&r.viewGL){r.viewGL.add(this.groupGL);var a=r.viewGL.isLinearSpace()?"define":"undefine";this._line3DMesh.material[a]("fragment","SRGB_DECODE")}this._doRender(e,n),this._data=e.getData(),this._camera=r.viewGL.camera,this.updateCamera(),this._updateAnimation(e)},updateCamera:function(){this._updateNDCPosition()},_doRender:function(e,t){var n=e.getData(),i=this._line3DMesh;i.geometry.resetOffset();var r=n.getLayout("points"),a=[],o=new Float32Array(r.length/3*4),s=0,l=!1;n.each((function(e){var t=Kie(n,e),i=Qie(n,e);null==i&&(i=1),see.parseColor(t,a),a[3]*=i,o[s++]=a[0],o[s++]=a[1],o[s++]=a[2],o[s++]=a[3],a[3]<.99&&(l=!0)})),i.geometry.setVertexCount(i.geometry.getPolylineVertexCount(r)),i.geometry.setTriangleCount(i.geometry.getPolylineTriangleCount(r)),i.geometry.addPolyline(r,o,y7.firstNotNull(e.get("lineStyle.width"),1)),i.geometry.dirty(),i.geometry.updateBoundingBox();var u=i.material;u.transparent=l,u.depthMask=!l;var c=e.getModel("debug.wireframe");c.get("show")?(i.geometry.createAttribute("barycentric","float",3),i.geometry.generateBarycentric(),i.material.set("both","WIREFRAME_TRIANGLE"),i.material.set("wireframeLineColor",see.parseColor(c.get("lineStyle.color")||"rgba(0,0,0,0.5)")),i.material.set("wireframeLineWidth",y7.firstNotNull(c.get("lineStyle.width"),1))):i.material.set("both","WIREFRAME_TRIANGLE"),this._points=r,this._initHandler(e,t)},_updateAnimation:function(e){see.updateVertexAnimation([["prevPosition","position"],["prevPositionPrev","positionPrev"],["prevPositionNext","positionNext"]],this._prevLine3DMesh,this._line3DMesh,e)},_initHandler:function(e,t){var n=e.getData(),i=e.coordinateSystem,r=this._line3DMesh,a=-1;r.seriesIndex=e.seriesIndex,r.off("mousemove"),r.off("mouseout"),r.on("mousemove",(function(e){var o=i.pointToData(e.point.array),s=n.indicesOfNearest("x",o[0])[0];s!==a&&(t.dispatchAction({type:"grid3DShowAxisPointer",value:[n.get("x",s),n.get("y",s),n.get("z",s)]}),r.dataIndex=s),a=s}),this),r.on("mouseout",(function(e){a=-1,r.dataIndex=-1,t.dispatchAction({type:"grid3DHideAxisPointer"})}),this)},_updateNDCPosition:function(){var e=new g9,t=this._camera;g9.multiply(e,t.projectionMatrix,t.viewMatrix);var n=this._positionNDC,i=this._points,r=i.length/3;n&&n.length/2===r||(n=this._positionNDC=new Float32Array(2*r));for(var a=[],o=0;o<r;o++){var s=3*o,l=2*o;a[0]=i[s],a[1]=i[s+1],a[2]=i[s+2],a[3]=1,poe.transformMat4(a,a,e.array),n[l]=a[0]/a[3],n[l+1]=a[1]/a[3]}},_pick:function(e,t,n,i,r,a){var o=this._positionNDC,s=this._data.hostModel,l=s.get("lineStyle.width"),u=-1,c=n.viewport.width,h=n.viewport.height,d=.5*c,f=.5*h;e=(e+1)*d,t=(t+1)*f;for(var p=1;p<o.length/2;p++){var m=(o[2*(p-1)]+1)*d,g=(o[2*(p-1)+1]+1)*f,y=(o[2*p]+1)*d,v=(o[2*p+1]+1)*f;if(Yo(m,g,y,v,l,e,t)){var _=(m-e)*(m-e)+(g-t)*(g-t),x=(y-e)*(y-e)+(v-t)*(v-t);u=_<x?p-1:p}}if(u>=0){var b=3*u,w=new i9(this._points[b],this._points[b+1],this._points[b+2]);a.push({dataIndex:u,point:w,pointWorld:w.clone(),target:this._line3DMesh,distance:this._camera.getWorldPosition().dist(w)})}},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}});function goe(e){e.registerChartView(moe),e.registerSeriesModel(foe),e.registerLayout((function(e,t){e.eachSeriesByType("line3D",(function(e){var t=e.getData(),n=e.coordinateSystem;if(n){if("cartesian3D"!==n.type)return void 0;var i=new Float32Array(3*t.count()),r=[],a=[],o=n.dimensions,s=o.map((function(t){return e.coordDimToDataDim(t)[0]}));n&&t.each(s,(function(e,t,o,s){r[0]=e,r[1]=t,r[2]=o,n.dataToPoint(r,a),i[3*s]=a[0],i[3*s+1]=a[1],i[3*s+2]=a[2]})),t.setLayout("points",i)}}))}))}IM(goe);var yoe=Vp.extend({type:"series.scatter3D",dependencies:["globe","grid3D","geo3D"],visualStyleAccessPath:"itemStyle",hasSymbolVisual:!0,getInitialData:function(e,t){return noe(this)},getFormattedLabel:function(e,t,n,i){var r=Qae.getFormattedLabel(this,e,t,n,i);if(null==r){var a=this.getData(),o=a.dimensions[a.dimensions.length-1];r=a.get(o,e)}return r},formatTooltip:function(e){return toe(this,e)},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,progressive:1e5,progressiveThreshold:1e5,grid3DIndex:0,globeIndex:0,symbol:"circle",symbolSize:10,blendMode:"source-over",label:{show:!1,position:"right",distance:5,textStyle:{fontSize:14,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:3}},itemStyle:{opacity:.8},emphasis:{label:{show:!0}},animationDurationUpdate:500}});function voe(e,t,n){t=t||document.createElement("canvas");t.width=e,t.height=e;var i=t.getContext("2d");return n&&n(i),t}function _oe(e,t,n,i){c.isArray(t)||(t=[t,t]);var r=boe.getMarginByStyle(n,i),a=t[0]+r.left+r.right,s=t[1]+r.top+r.bottom,l=o.createSymbol(e,0,0,t[0],t[1]),u=Math.max(a,s);l.x=r.left,l.y=r.top,a>s?l.y+=(u-s)/2:l.x+=(u-a)/2;var h=l.getBoundingRect();return l.x-=h.x,l.y-=h.y,l.setStyle(n),l.update(),l.__size=u,l}function xoe(e,t,n){var i=t.width,r=t.height,a=e.canvas.width,o=e.canvas.height,s=i/a,l=r/o;function u(e){return e<128?1:-1}function c(e,a){var o=1/0;e=Math.floor(e*s),a=Math.floor(a*l);for(var c=a*i+e,h=t.data[4*c],d=u(h),f=Math.max(a-n,0);f<Math.min(a+n,r);f++)for(var p=Math.max(e-n,0);p<Math.min(e+n,i);p++){c=f*i+p;var m=t.data[4*c],g=u(m),y=p-e,v=f-a;if(d!==g){var _=y*y+v*v;_<o&&(o=_)}}return d*Math.sqrt(o)}for(var h=e.createImageData(a,o),d=0;d<o;d++)for(var f=0;f<a;f++){var p=c(f,d),m=p/n*.5+.5,g=4*(d*a+f);h.data[g++]=255*(1-m),h.data[g++]=255*(1-m),h.data[g++]=255*(1-m),h.data[g++]=255}return h}var boe={getMarginByStyle:function(e){var t=e.minMargin||0,n=0;e.stroke&&"none"!==e.stroke&&(n=null==e.lineWidth?1:e.lineWidth);var i=e.shadowBlur||0,r=e.shadowOffsetX||0,a=e.shadowOffsetY||0,o={};return o.left=Math.max(n/2,-r+i,t),o.right=Math.max(n/2,r+i,t),o.top=Math.max(n/2,-a+i,t),o.bottom=Math.max(n/2,a+i,t),o},createSymbolSprite:function(e,t,n,i){var r=_oe(e,t,n),a=boe.getMarginByStyle(n);return{image:voe(r.__size,i,(function(e){l_(e,r)})),margin:a}},createSDFFromCanvas:function(e,t,n,i){return voe(t,i,(function(t){var i=e.getContext("2d"),r=i.getImageData(0,0,e.width,e.height);t.putImageData(xoe(t,r,n),0,0)}))},createSimpleSprite:function(e,t){return voe(e,t,(function(t){var n=e/2;t.beginPath(),t.arc(n,n,60,0,2*Math.PI,!1),t.closePath();var i=t.createRadialGradient(n,n,0,n,n,n);i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)"),t.fillStyle=i,t.fill()}))}},woe=boe,Moe=Pee.vec3,Soe={needsSortVertices:function(){return this.sortVertices},needsSortVerticesProgressively:function(){return this.needsSortVertices()&&this.vertexCount>=2e4},doSortVertices:function(e,t){var n=this.indices,i=Moe.create();if(!n){n=this.indices=this.vertexCount>65535?new Uint32Array(this.vertexCount):new Uint16Array(this.vertexCount);for(var r=0;r<n.length;r++)n[r]=r}if(0===t){var a,o=this.attributes.position,s=(e=e.array,0);this._zList&&this._zList.length===this.vertexCount||(this._zList=new Float32Array(this.vertexCount));for(r=0;r<this.vertexCount;r++){o.get(r,i);var l=Moe.sqrDist(i,e);isNaN(l)&&(l=1e7,s++),0===r?(a=l,l=0):l-=a,this._zList[r]=l}this._noneCount=s}if(this.vertexCount<2e4)0===t&&this._simpleSort(this._noneCount/this.vertexCount>.05);else for(r=0;r<3;r++)this._progressiveQuickSort(3*t+r);this.dirtyIndices()},_simpleSort:function(e){var t=this._zList,n=this.indices;function i(e,n){return t[n]-t[e]}e?Array.prototype.sort.call(n,i):Gie.sort(n,i,0,n.length-1)},_progressiveQuickSort:function(e){var t=this._zList,n=this.indices;this._quickSort=this._quickSort||new Gie,this._quickSort.step(n,(function(e,n){return t[n]-t[e]}),e)}},Toe="@export ecgl.sdfSprite.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform float elapsedTime : 0;\n\nattribute vec3 position : POSITION;\n\n#ifdef VERTEX_SIZE\nattribute float size;\n#else\nuniform float u_Size;\n#endif\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_FillColor: COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute float prevSize;\nuniform float percent : 1.0;\n#endif\n\n\n#ifdef POSITIONTEXTURE_ENABLED\nuniform sampler2D positionTexture;\n#endif\n\nvarying float v_Size;\n\nvoid main()\n{\n\n#ifdef POSITIONTEXTURE_ENABLED\n gl_Position = worldViewProjection * vec4(texture2D(positionTexture, position.xy).xy, -10.0, 1.0);\n#else\n\n #ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n #else\n vec3 pos = position;\n #endif\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n#endif\n\n#ifdef VERTEX_SIZE\n#ifdef VERTEX_ANIMATION\n v_Size = mix(prevSize, size, percent);\n#else\n v_Size = size;\n#endif\n#else\n v_Size = u_Size;\n#endif\n\n#ifdef VERTEX_COLOR\n v_Color = a_FillColor;\n #endif\n\n gl_PointSize = v_Size;\n}\n\n@end\n\n@export ecgl.sdfSprite.fragment\n\nuniform vec4 color: [1, 1, 1, 1];\nuniform vec4 strokeColor: [1, 1, 1, 1];\nuniform float smoothing: 0.07;\n\nuniform float lineWidth: 0.0;\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\nvarying float v_Size;\n\nuniform sampler2D sprite;\n\n@import clay.util.srgb\n\nvoid main()\n{\n gl_FragColor = color;\n\n vec4 _strokeColor = strokeColor;\n\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n #endif\n\n#ifdef SPRITE_ENABLED\n float d = texture2D(sprite, gl_PointCoord).r;\n gl_FragColor.a *= smoothstep(0.5 - smoothing, 0.5 + smoothing, d);\n\n if (lineWidth > 0.0) {\n float sLineWidth = lineWidth / 2.0;\n\n float outlineMaxValue0 = 0.5 + sLineWidth;\n float outlineMaxValue1 = 0.5 + sLineWidth + smoothing;\n float outlineMinValue0 = 0.5 - sLineWidth - smoothing;\n float outlineMinValue1 = 0.5 - sLineWidth;\n\n if (d <= outlineMaxValue1 && d >= outlineMinValue0) {\n float a = _strokeColor.a;\n if (d <= outlineMinValue1) {\n a = a * smoothstep(outlineMinValue0, outlineMinValue1, d);\n }\n else {\n a = a * smoothstep(outlineMaxValue1, outlineMaxValue0, d);\n }\n gl_FragColor.rgb = mix(gl_FragColor.rgb * gl_FragColor.a, _strokeColor.rgb, a);\n gl_FragColor.a = gl_FragColor.a * (1.0 - a) + a;\n }\n }\n#endif\n\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(gl_FragColor);\n#endif\n}\n@end",Loe=Pee.vec4;see.Shader.import(Toe);var Doe=see.Mesh.extend((function(){var e=new see.Geometry({dynamic:!0,attributes:{color:new see.Geometry.Attribute("color","float",4,"COLOR"),position:new see.Geometry.Attribute("position","float",3,"POSITION"),size:new see.Geometry.Attribute("size","float",1),prevPosition:new see.Geometry.Attribute("prevPosition","float",3),prevSize:new see.Geometry.Attribute("prevSize","float",1)}});Object.assign(e,Soe);var t=new see.Material({shader:see.createShader("ecgl.sdfSprite"),transparent:!0,depthMask:!1});t.enableTexture("sprite"),t.define("both","VERTEX_COLOR"),t.define("both","VERTEX_SIZE");var n=new see.Texture2D({image:document.createElement("canvas"),flipY:!1});return t.set("sprite",n),e.pick=this._pick.bind(this),{geometry:e,material:t,mode:see.Mesh.POINTS,sizeScale:1}}),{_pick:function(e,t,n,i,r,a){var o=this._positionNDC;if(o)for(var s=n.viewport,l=2/s.width,u=2/s.height,c=this.geometry.vertexCount-1;c>=0;c--){var h;h=this.geometry.indices?this.geometry.indices[c]:c;var d=o[2*h],f=o[2*h+1],p=this.geometry.attributes.size.get(h)/this.sizeScale,m=p/2;if(e>d-m*l&&e<d+m*l&&t>f-m*u&&t<f+m*u){var g=new see.Vector3,y=new see.Vector3;this.geometry.attributes.position.get(h,g.array),see.Vector3.transformMat4(y,g,this.worldTransform),a.push({vertexIndex:h,point:g,pointWorld:y,target:this,distance:y.distance(i.getWorldPosition())})}}},updateNDCPosition:function(e,t,n){var i=this._positionNDC,r=this.geometry;i&&i.length/2===r.vertexCount||(i=this._positionNDC=new Float32Array(2*r.vertexCount));for(var a=Loe.create(),o=0;o<r.vertexCount;o++)r.attributes.position.get(o,a),a[3]=1,Loe.transformMat4(a,a,e.array),Loe.scale(a,a,1/a[3]),i[2*o]=a[0],i[2*o+1]=a[1]}}),Aoe=Doe,Ooe=20,koe=-10;function Ioe(e,t){return e&&t&&e[0]===t[0]&&e[1]===t[1]}function Coe(e,t){this.rootNode=new see.Node,this.is2D=e,this._labelsBuilder=new ire(256,256,t),this._labelsBuilder.getMesh().renderOrder=100,this.rootNode.add(this._labelsBuilder.getMesh()),this._api=t,this._spriteImageCanvas=document.createElement("canvas"),this._startDataIndex=0,this._endDataIndex=0,this._sizeScale=1}Coe.prototype={constructor:Coe,highlightOnMouseover:!0,update:function(e,t,n,i,r){var a=this._prevMesh;this._prevMesh=this._mesh,this._mesh=a;var o=e.getData();if(null==i&&(i=0),null==r&&(r=o.count()),this._startDataIndex=i,this._endDataIndex=r-1,!this._mesh){var s=this._prevMesh&&this._prevMesh.material;this._mesh=new Aoe({renderOrder:10,frustumCulling:!1}),s&&(this._mesh.material=s)}s=this._mesh.material;var l=this._mesh.geometry,u=l.attributes;this.rootNode.remove(this._prevMesh),this.rootNode.add(this._mesh),this._setPositionTextureToMesh(this._mesh,this._positionTexture);var c=this._getSymbolInfo(e,i,r),h=n.getDevicePixelRatio(),d=e.getModel("itemStyle").getItemStyle(),f=e.get("large"),p=1;c.maxSize>2?(p=this._updateSymbolSprite(e,d,c,h),s.enableTexture("sprite")):s.disableTexture("sprite"),u.position.init(r-i);var m=[];if(f){s.undefine("VERTEX_SIZE"),s.undefine("VERTEX_COLOR");var g=$ie(o),y=Jie(o);see.parseColor(g,m),m[3]*=y,s.set({color:m,u_Size:c.maxSize*this._sizeScale})}else s.set({color:[1,1,1,1]}),s.define("VERTEX_SIZE"),s.define("VERTEX_COLOR"),u.size.init(r-i),u.color.init(r-i),this._originalOpacity=new Float32Array(r-i);for(var v=o.getLayout("points"),_=u.position.value,x=0;x<r-i;x++){var b=3*x,w=2*x;if(this.is2D?(_[b]=v[w],_[b+1]=v[w+1],_[b+2]=koe):(_[b]=v[b],_[b+1]=v[b+1],_[b+2]=v[b+2]),!f){g=Kie(o,x),y=Qie(o,x);see.parseColor(g,m),m[3]*=y,u.color.set(x,m),m[3]<.99&&!0;var M=o.getItemVisual(x,"symbolSize");M=M instanceof Array?Math.max(M[0],M[1]):M,isNaN(M)&&(M=0),u.size.value[x]=M*p*this._sizeScale,this._originalOpacity[x]=m[3]}}this._mesh.sizeScale=p,l.updateBoundingBox(),l.dirty(),this._updateMaterial(e,d);var S=e.coordinateSystem;if(S&&S.viewGL){var T=S.viewGL.isLinearSpace()?"define":"undefine";s[T]("fragment","SRGB_DECODE")}f||this._updateLabelBuilder(e,i,r),this._updateHandler(e,t,n),this._updateAnimation(e),this._api=n},getPointsMesh:function(){return this._mesh},updateLabels:function(e){this._labelsBuilder.updateLabels(e)},hideLabels:function(){this.rootNode.remove(this._labelsBuilder.getMesh())},showLabels:function(){this.rootNode.add(this._labelsBuilder.getMesh())},dispose:function(){this._labelsBuilder.dispose()},_updateSymbolSprite:function(e,t,n,i){n.maxSize=Math.min(2*n.maxSize,200);var r=[];return n.aspect>1?(r[0]=n.maxSize,r[1]=n.maxSize/n.aspect):(r[1]=n.maxSize,r[0]=n.maxSize*n.aspect),r[0]=r[0]||1,r[1]=r[1]||1,this._symbolType===n.type&&Ioe(this._symbolSize,r)&&this._lineWidth===t.lineWidth||(woe.createSymbolSprite(n.type,r,{fill:"#fff",lineWidth:t.lineWidth,stroke:"transparent",shadowColor:"transparent",minMargin:Math.min(r[0]/2,10)},this._spriteImageCanvas),woe.createSDFFromCanvas(this._spriteImageCanvas,Math.min(this._spriteImageCanvas.width,32),Ooe,this._mesh.material.get("sprite").image),this._symbolType=n.type,this._symbolSize=r,this._lineWidth=t.lineWidth),this._spriteImageCanvas.width/n.maxSize*i},_updateMaterial:function(e,t){var n="lighter"===e.get("blendMode")?see.additiveBlend:null,i=this._mesh.material;i.blend=n,i.set("lineWidth",t.lineWidth/Ooe);var r=see.parseColor(t.stroke);i.set("strokeColor",r),i.transparent=!0,i.depthMask=!1,i.depthTest=!this.is2D,i.sortVertices=!this.is2D},_updateLabelBuilder:function(e,t,n){var i=e.getData(),r=this._mesh.geometry,a=r.attributes.position.value,o=(t=this._startDataIndex,this._mesh.sizeScale);this._labelsBuilder.updateData(i,t,n),this._labelsBuilder.getLabelPosition=function(e,n,i){var r=3*(e-t);return[a[r],a[r+1],a[r+2]]},this._labelsBuilder.getLabelDistance=function(e,n,i){var a=r.attributes.size.get(e-t)/o;return a/2+i},this._labelsBuilder.updateLabels()},_updateAnimation:function(e){see.updateVertexAnimation([["prevPosition","position"],["prevSize","size"]],this._prevMesh,this._mesh,e)},_updateHandler:function(e,t,n){var i,r=e.getData(),a=this._mesh,o=this,s=-1,l=e.coordinateSystem&&"cartesian3D"===e.coordinateSystem.type;l&&(i=e.coordinateSystem.model),a.seriesIndex=e.seriesIndex,a.off("mousemove"),a.off("mouseout"),a.on("mousemove",(function(t){var u=t.vertexIndex+o._startDataIndex;u!==s&&(this.highlightOnMouseover&&(this.downplay(r,s),this.highlight(r,u),this._labelsBuilder.updateLabels([u])),l&&n.dispatchAction({type:"grid3DShowAxisPointer",value:[r.get(e.coordDimToDataDim("x")[0],u),r.get(e.coordDimToDataDim("y")[0],u),r.get(e.coordDimToDataDim("z")[0],u)],grid3DIndex:i.componentIndex})),a.dataIndex=u,s=u}),this),a.on("mouseout",(function(e){var t=e.vertexIndex+o._startDataIndex;this.highlightOnMouseover&&(this.downplay(r,t),this._labelsBuilder.updateLabels()),s=-1,a.dataIndex=-1,l&&n.dispatchAction({type:"grid3DHideAxisPointer",grid3DIndex:i.componentIndex})}),this)},updateLayout:function(e,t,n){var i=e.getData();if(this._mesh){var r=this._mesh.geometry.attributes.position.value,a=i.getLayout("points");if(this.is2D)for(var o=0;o<a.length/2;o++){var s=3*o,l=2*o;r[s]=a[l],r[s+1]=a[l+1],r[s+2]=koe}else for(o=0;o<a.length;o++)r[o]=a[o];this._mesh.geometry.dirty(),n.getZr().refresh()}},updateView:function(e){if(this._mesh){var t=new g9;g9.mul(t,e.viewMatrix,this._mesh.worldTransform),g9.mul(t,e.projectionMatrix,t),this._mesh.updateNDCPosition(t,this.is2D,this._api)}},highlight:function(e,t){if(!(t>this._endDataIndex||t<this._startDataIndex)){var n=e.getItemModel(t),i=n.getModel("emphasis.itemStyle"),r=i.get("color"),a=i.get("opacity");if(null==r){var o=Kie(e,t);r=$t.lift(o,-.4)}null==a&&(a=Qie(e,t));var s=see.parseColor(r);s[3]*=a,this._mesh.geometry.attributes.color.set(t-this._startDataIndex,s),this._mesh.geometry.dirtyAttribute("color"),this._api.getZr().refresh()}},downplay:function(e,t){if(!(t>this._endDataIndex||t<this._startDataIndex)){var n=Kie(e,t),i=Qie(e,t),r=see.parseColor(n);r[3]*=i,this._mesh.geometry.attributes.color.set(t-this._startDataIndex,r),this._mesh.geometry.dirtyAttribute("color"),this._api.getZr().refresh()}},fadeOutAll:function(e){if(this._originalOpacity){for(var t=this._mesh.geometry,n=0;n<t.vertexCount;n++){var i=this._originalOpacity[n]*e;t.attributes.color.value[4*n+3]=i}t.dirtyAttribute("color"),this._api.getZr().refresh()}},fadeInAll:function(){this.fadeOutAll(1)},setPositionTexture:function(e){this._mesh&&this._setPositionTextureToMesh(this._mesh,e),this._positionTexture=e},removePositionTexture:function(){this._positionTexture=null,this._mesh&&this._setPositionTextureToMesh(this._mesh,null)},setSizeScale:function(e){if(e!==this._sizeScale){if(this._mesh){var t=this._mesh.material.get("u_Size");this._mesh.material.set("u_Size",t/this._sizeScale*e);var n=this._mesh.geometry.attributes;if(n.size.value)for(var i=0;i<n.size.value.length;i++)n.size.value[i]=n.size.value[i]/this._sizeScale*e}this._sizeScale=e}},_setPositionTextureToMesh:function(e,t){t&&e.material.set("positionTexture",t),e.material[t?"enableTexture":"disableTexture"]("positionTexture")},_getSymbolInfo:function(e,t,n){if(e.get("large")){var i=y7.firstNotNull(e.get("symbolSize"),1);return i instanceof Array?(s=Math.max(i[0],i[1]),r=i[0]/i[1]):(s=i,r=1),{maxSize:i,type:e.get("symbol"),aspect:r}}for(var r,a=e.getData(),o=a.getItemVisual(0,"symbol")||"circle",s=0,l=t;l<n;l++){i=a.getItemVisual(l,"symbolSize");var u,c=a.getItemVisual(l,"symbol");if(i instanceof Array)u=i[0]/i[1],s=Math.max(Math.max(i[0],i[1]),s);else{if(isNaN(i))continue;u=1,s=Math.max(i,s)}0,o=c,r=u}return{maxSize:s,type:o,aspect:r}}};var Eoe=Coe,Poe=dy.extend({type:"scatter3D",hasSymbolVisual:!0,__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this._pointsBuilderList=[],this._currentStep=0},render:function(e,t,n){if(this.groupGL.removeAll(),e.getData().count()){var i=e.coordinateSystem;if(i&&i.viewGL){i.viewGL.add(this.groupGL),this._camera=i.viewGL.camera;var r=this._pointsBuilderList[0];r||(r=this._pointsBuilderList[0]=new Eoe(!1,n)),this._pointsBuilderList.length=1,this.groupGL.add(r.rootNode),r.update(e,t,n),r.updateView(i.viewGL.camera)}else 0}},incrementalPrepareRender:function(e,t,n){var i=e.coordinateSystem;i&&i.viewGL&&(i.viewGL.add(this.groupGL),this._camera=i.viewGL.camera),this.groupGL.removeAll(),this._currentStep=0},incrementalRender:function(e,t,n,i){if(!(e.end<=e.start)){var r=this._pointsBuilderList[this._currentStep];r||(r=new Eoe(!1,i),this._pointsBuilderList[this._currentStep]=r),this.groupGL.add(r.rootNode),r.update(t,n,i,e.start,e.end),r.updateView(t.coordinateSystem.viewGL.camera),this._currentStep++}},updateCamera:function(){this._pointsBuilderList.forEach((function(e){e.updateView(this._camera)}),this)},highlight:function(e,t,n,i){this._toggleStatus("highlight",e,t,n,i)},downplay:function(e,t,n,i){this._toggleStatus("downplay",e,t,n,i)},_toggleStatus:function(e,t,n,i,r){var a=t.getData(),o=y7.queryDataIndex(a,r),s="highlight"===e;null!=o?c.each(Qae.normalizeToArray(o),(function(e){for(var t=0;t<this._pointsBuilderList.length;t++){var n=this._pointsBuilderList[t];s?n.highlight(a,e):n.downplay(a,e)}}),this):a.each((function(e){for(var t=0;t<this._pointsBuilderList.length;t++){var n=this._pointsBuilderList[t];s?n.highlight(a,e):n.downplay(a,e)}}))},dispose:function(){this._pointsBuilderList.forEach((function(e){e.dispose()})),this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}});function Noe(e){e.registerChartView(Poe),e.registerSeriesModel(yoe),e.registerLayout({seriesType:"scatter3D",reset:function(e){var t=e.coordinateSystem;if(t){var n=t.dimensions;if(n.length<3)return void 0;var i=n.map((function(t){return e.coordDimToDataDim(t)[0]})),r=[],a=[];return{progress:function(e,n){for(var o=new Float32Array(3*(e.end-e.start)),s=e.start;s<e.end;s++){var l=3*(s-e.start);r[0]=n.get(i[0],s),r[1]=n.get(i[1],s),r[2]=n.get(i[2],s),t.dataToPoint(r,a),o[l]=a[0],o[l+1]=a[1],o[l+2]=a[2]}n.setLayout("points",o)}}}}})}IM(Noe);var Roe=Pee.vec3,Yoe=Pee.vec2,zoe=Roe.normalize,Hoe=Roe.cross,joe=Roe.sub,Foe=Roe.add,Boe=Roe.create,Voe=Boe(),Goe=Boe(),Woe=Boe(),Uoe=Boe(),Xoe=[],Zoe=[];function qoe(e,t){Yoe.copy(Xoe,e[0]),Yoe.copy(Zoe,e[1]);var n=[],i=n[0]=Boe(),r=n[1]=Boe(),a=n[2]=Boe(),o=n[3]=Boe();t.dataToPoint(Xoe,i),t.dataToPoint(Zoe,o),zoe(Voe,i),joe(Goe,o,i),zoe(Goe,Goe),Hoe(Woe,Goe,Voe),zoe(Woe,Woe),Hoe(Goe,Voe,Woe),Foe(r,Voe,Goe),zoe(r,r),zoe(Voe,o),joe(Goe,i,o),zoe(Goe,Goe),Hoe(Woe,Goe,Voe),zoe(Woe,Woe),Hoe(Goe,Voe,Woe),Foe(a,Voe,Goe),zoe(a,a),Foe(Uoe,i,o),zoe(Uoe,Uoe);var s=Roe.dot(i,Uoe),l=Roe.dot(Uoe,r),u=(Math.max(Roe.len(i),Roe.len(o))-s)/l*2;return Roe.scaleAndAdd(r,i,r,u),Roe.scaleAndAdd(a,o,a,u),n}function $oe(e,t,n){var i=[],r=i[0]=Roe.create(),a=i[1]=Roe.create(),o=i[2]=Roe.create(),s=i[3]=Roe.create();t.dataToPoint(e[0],r),t.dataToPoint(e[1],s);var l=Roe.dist(r,s);return Roe.lerp(a,r,s,.3),Roe.lerp(o,r,s,.3),Roe.scaleAndAdd(a,a,n,Math.min(.1*l,10)),Roe.scaleAndAdd(o,o,n,Math.min(.1*l,10)),i}function Joe(e,t){for(var n=new Float32Array(3*e.length),i=0,r=[],a=0;a<e.length;a++)t.dataToPoint(e[a],r),n[i++]=r[0],n[i++]=r[1],n[i++]=r[2];return n}function Koe(e){var t=[];return e.each((function(n){var i=e.getItemModel(n),r=i.option instanceof Array?i.option:i.getShallow("coords",!0);t.push(r)})),{coordsList:t}}function Qoe(e,t){var n=e.getData(),i=e.get("polyline");n.setLayout("lineType",i?"polyline":"cubicBezier");var r=Koe(n);n.each((function(e){var a=r.coordsList[e],o=i?Joe:qoe;n.setItemLayout(e,o(a,t))}))}function ese(e,t,n){var i=e.getData(),r=e.get("polyline"),a=Koe(i);i.setLayout("lineType",r?"polyline":"cubicBezier"),i.each((function(e){var o=a.coordsList[e],s=r?Joe(o,t):$oe(o,t,n);i.setItemLayout(e,s)}))}function tse(e,t){e.eachSeriesByType("lines3D",(function(e){var t=e.coordinateSystem;"globe"===t.type?Qoe(e,t):"geo3D"===t.type?ese(e,t,[0,1,0]):"mapbox3D"!==t.type&&"maptalks3D"!==t.type||ese(e,t,[0,0,1])}))}var nse=Vp.extend({type:"series.lines3D",dependencies:["globe"],visualStyleAccessPath:"lineStyle",visualDrawType:"stroke",getInitialData:function(e,t){var n=new Eb(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,i,r){if(e instanceof Array)return NaN;n.hasItemOption=!0;var a=e.value;return null!=a?a instanceof Array?a[r]:a:void 0})),n},defaultOption:{coordinateSystem:"globe",globeIndex:0,geo3DIndex:0,zlevel:-10,polyline:!1,effect:{show:!1,period:4,trailWidth:4,trailLength:.2,spotIntensity:6},silent:!0,blendMode:"source-over",lineStyle:{width:1,opacity:.5}}}),ise="@export ecgl.trail2.vertex\nattribute vec3 position: POSITION;\nattribute vec3 positionPrev;\nattribute vec3 positionNext;\nattribute float offset;\nattribute float dist;\nattribute float distAll;\nattribute float start;\n\nattribute vec4 a_Color : COLOR;\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\nuniform float near : NEAR;\n\nuniform float speed : 0;\nuniform float trailLength: 0.3;\nuniform float time;\nuniform float period: 1000;\n\nuniform float spotSize: 1;\n\nvarying vec4 v_Color;\nvarying float v_Percent;\nvarying float v_SpotPercent;\n\n@import ecgl.common.wireframe.vertexHeader\n\n@import ecgl.lines3D.clipNear\n\nvoid main()\n{\n @import ecgl.lines3D.expandLine\n\n gl_Position = currProj;\n\n v_Color = a_Color;\n\n @import ecgl.common.wireframe.vertexMain\n\n#ifdef CONSTANT_SPEED\n float t = mod((speed * time + start) / distAll, 1. + trailLength) - trailLength;\n#else\n float t = mod((time + start) / period, 1. + trailLength) - trailLength;\n#endif\n\n float trailLen = distAll * trailLength;\n\n v_Percent = (dist - t * distAll) / trailLen;\n\n v_SpotPercent = spotSize / distAll;\n\n }\n@end\n\n\n@export ecgl.trail2.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform float spotIntensity: 5;\n\nvarying vec4 v_Color;\nvarying float v_Percent;\nvarying float v_SpotPercent;\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n if (v_Percent > 1.0 || v_Percent < 0.0) {\n discard;\n }\n\n float fade = v_Percent;\n\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n\n @import ecgl.common.wireframe.fragmentMain\n\n if (v_Percent > (1.0 - v_SpotPercent)) {\n gl_FragColor.rgb *= spotIntensity;\n }\n\n gl_FragColor.a *= fade;\n}\n\n@end",rse=Pee.vec3;function ase(e){return e>0?1:-1}see.Shader.import(ise);var ose=see.Mesh.extend((function(){var e=new see.Material({shader:new see.Shader(see.Shader.source("ecgl.trail2.vertex"),see.Shader.source("ecgl.trail2.fragment")),transparent:!0,depthMask:!1}),t=new zee({dynamic:!0});return t.createAttribute("dist","float",1),t.createAttribute("distAll","float",1),t.createAttribute("start","float",1),{geometry:t,material:e,culling:!1,$ignorePicking:!0}}),{updateData:function(e,t,n){var i=e.hostModel,r=this.geometry,a=i.getModel("effect"),o=a.get("trailWidth")*t.getDevicePixelRatio(),s=a.get("trailLength"),l=i.get("effect.constantSpeed"),u=1e3*i.get("effect.period"),c=null!=l;c?this.material.set("speed",l/1e3):this.material.set("period",u),this.material[c?"define":"undefine"]("vertex","CONSTANT_SPEED");var h=i.get("polyline");r.trailLength=s,this.material.set("trailLength",s),r.resetOffset(),["position","positionPrev","positionNext"].forEach((function(e){r.attributes[e].value=n.attributes[e].value}));var d=["dist","distAll","start","offset","color"];d.forEach((function(e){r.attributes[e].init(r.vertexCount)})),r.indices=n.indices;var f=[],p=a.get("trailColor"),m=a.get("trailOpacity"),g=null!=p,y=null!=m;this.updateWorldTransform();var v=this.worldTransform.x.len(),_=this.worldTransform.y.len(),x=this.worldTransform.z.len(),b=0,w=0;e.each((function(t){var i=e.getItemLayout(t),a=y?m:Qie(e,t),s=Kie(e,t);null==a&&(a=1),f=see.parseColor(g?p:s,f),f[3]*=a;for(var l=h?n.getPolylineVertexCount(i):n.getCubicCurveVertexCount(i[0],i[1],i[2],i[3]),d=0,M=[],S=[],T=b;T<b+l;T++)r.attributes.position.get(T,M),M[0]*=v,M[1]*=_,M[2]*=x,T>b&&(d+=rse.dist(M,S)),r.attributes.dist.set(T,d),rse.copy(S,M);w=Math.max(w,d);var L=Math.random()*(c?d:u);for(T=b;T<b+l;T++)r.attributes.distAll.set(T,d),r.attributes.start.set(T,L),r.attributes.offset.set(T,ase(n.attributes.offset.get(T))*o/2),r.attributes.color.set(T,f);b+=l})),this.material.set("spotSize",.1*w*s),this.material.set("spotIntensity",a.get("spotIntensity")),r.dirty()},setAnimationTime:function(e){this.material.set("time",e)}});function sse(e){return null!=e.radius?e.radius:null!=e.size?Math.max(e.size[0],e.size[1],e.size[2]):100}see.Shader.import(lte);var lse=dy.extend({type:"lines3D",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this._meshLinesMaterial=new see.Material({shader:see.createShader("ecgl.meshLines3D"),transparent:!0,depthMask:!1}),this._linesMesh=new see.Mesh({geometry:new zee,material:this._meshLinesMaterial,$ignorePicking:!0}),this._trailMesh=new ose},render:function(e,t,n){this.groupGL.add(this._linesMesh);var i=e.coordinateSystem,r=e.getData();if(i&&i.viewGL){var a=i.viewGL;a.add(this.groupGL),this._updateLines(e,t,n);var o=i.viewGL.isLinearSpace()?"define":"undefine";this._linesMesh.material[o]("fragment","SRGB_DECODE"),this._trailMesh.material[o]("fragment","SRGB_DECODE")}var s=this._trailMesh;if(s.stopAnimation(),e.get("effect.show")){this.groupGL.add(s),s.updateData(r,n,this._linesMesh.geometry),s.__time=s.__time||0;var l=36e5;this._curveEffectsAnimator=s.animate("",{loop:!0}).when(l,{__time:l}).during((function(){s.setAnimationTime(s.__time)})).start()}else this.groupGL.remove(s),this._curveEffectsAnimator=null;this._linesMesh.material.blend=this._trailMesh.material.blend="lighter"===e.get("blendMode")?see.additiveBlend:null},pauseEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.pause()},resumeEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.resume()},toggleEffect:function(){var e=this._curveEffectsAnimator;e&&(e.isPaused()?e.resume():e.pause())},_updateLines:function(e,t,n){var i=e.getData(),r=e.coordinateSystem,a=this._linesMesh.geometry,o=e.get("polyline");a.expandLine=!0;var s=sse(r);a.segmentScale=s/20;var l="lineStyle.width".split("."),u=n.getDevicePixelRatio(),c=0;i.each((function(e){var t=i.getItemModel(e),n=t.get(l);null==n&&(n=1),i.setItemVisual(e,"lineWidth",n),c=Math.max(n,c)})),a.useNativeLine=!1;var h=0,d=0;i.each((function(e){var t=i.getItemLayout(e);o?(h+=a.getPolylineVertexCount(t),d+=a.getPolylineTriangleCount(t)):(h+=a.getCubicCurveVertexCount(t[0],t[1],t[2],t[3]),d+=a.getCubicCurveTriangleCount(t[0],t[1],t[2],t[3]))})),a.setVertexCount(h),a.setTriangleCount(d),a.resetOffset();var f=[];i.each((function(e){var t=i.getItemLayout(e),n=Kie(i,e),r=Qie(i,e),s=i.getItemVisual(e,"lineWidth")*u;null==r&&(r=1),f=see.parseColor(n,f),f[3]*=r,o?a.addPolyline(t,f,s):a.addCubicCurve(t[0],t[1],t[2],t[3],f,s)})),a.dirty()},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}});function use(e){e.registerChartView(lse),e.registerSeriesModel(nse),e.registerLayout(tse),e.registerAction({type:"lines3DPauseEffect",event:"lines3deffectpaused",update:"series.lines3D:pauseEffect"},(function(){})),e.registerAction({type:"lines3DResumeEffect",event:"lines3deffectresumed",update:"series.lines3D:resumeEffect"},(function(){})),e.registerAction({type:"lines3DToggleEffect",event:"lines3deffectchanged",update:"series.lines3D:toggleEffect"},(function(){}))}function cse(e,t){for(var n=[],i=0;i<t.length;i++)n.push(e.dataToPoint(t[i]));return n}IM(use);var hse=Vp.extend({type:"series.polygons3D",getRegionModel:function(e){return this.getData().getItemModel(e)},getRegionPolygonCoords:function(e){var t=this.coordinateSystem,n=this.getData().getItemModel(e),i=n.option instanceof Array?n.option:n.getShallow("coords");n.get("multiPolygon")||(i=[i]);for(var r=[],a=0;a<i.length;a++){for(var o=[],s=1;s<i[a].length;s++)o.push(cse(t,i[a][s]));r.push({exterior:cse(t,i[a][0]),interiors:o})}return r},getInitialData:function(e){var t=new Eb(["value"],this);return t.hasItemOption=!1,t.initData(e.data,[],(function(e,n,i,r){if(e instanceof Array)return NaN;t.hasItemOption=!0;var a=e.value;return null!=a?a instanceof Array?a[r]:a:void 0})),t},defaultOption:{show:!0,data:null,multiPolygon:!1,progressiveThreshold:1e3,progressive:1e3,zlevel:-10,label:{show:!1,distance:2,textStyle:{fontSize:20,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:4}},itemStyle:{color:"#fff",borderWidth:0,borderColor:"#333"},emphasis:{itemStyle:{color:"#639fc0"},label:{show:!0}}}});c.merge(hse.prototype,oie);var dse=hse,fse=dy.extend({type:"polygons3D",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this._geo3DBuilderList=[],this._currentStep=0},render:function(e,t,n){this.groupGL.removeAll();var i=e.coordinateSystem;i&&i.viewGL&&i.viewGL.add(this.groupGL);var r=this._geo3DBuilderList[0];r||(r=new ore(n),r.extrudeY="mapbox3D"!==i.type&&"maptalks3D"!==i.type,this._geo3DBuilderList[0]=r),this._updateShaderDefines(i,r),r.update(e,t,n),this._geo3DBuilderList.length=1,this.groupGL.add(r.rootNode)},incrementalPrepareRender:function(e,t,n){this.groupGL.removeAll();var i=e.coordinateSystem;i&&i.viewGL&&i.viewGL.add(this.groupGL),this._currentStep=0},incrementalRender:function(e,t,n,i){var r=this._geo3DBuilderList[this._currentStep],a=t.coordinateSystem;r||(r=new ore(i),r.extrudeY="mapbox3D"!==a.type&&"maptalks3D"!==a.type,this._geo3DBuilderList[this._currentStep]=r),r.update(t,n,i,e.start,e.end),this.groupGL.add(r.rootNode),this._updateShaderDefines(a,r),this._currentStep++},_updateShaderDefines:function(e,t){var n=e.viewGL.isLinearSpace()?"define":"undefine";t.rootNode.traverse((function(t){t.material&&(t.material[n]("fragment","SRGB_DECODE"),"mapbox3D"!==e.type&&"maptalks3D"!==e.type||(t.material.define("fragment","NORMAL_UP_AXIS",2),t.material.define("fragment","NORMAL_FRONT_AXIS",1)))}))},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll(),this._geo3DBuilderList.forEach((function(e){e.dispose()}))}});function pse(e){e.registerChartView(fse),e.registerSeriesModel(dse)}IM(pse);var mse=Vp.extend({type:"series.surface",dependencies:["globe","grid3D","geo3D"],visualStyleAccessPath:"itemStyle",formatTooltip:function(e){return toe(this,e)},getInitialData:function(e,t){var n=e.data;function i(e){return!(isNaN(e.min)||isNaN(e.max)||isNaN(e.step))}function r(e){var t=s.getPrecisionSafe;return Math.max(t(e.min),t(e.max),t(e.step))+1}if(!n)if(e.parametric){var a=e.parametricEquation||{},o=a.u||{},l=a.v||{};["u","v"].forEach((function(e){i(a[e])})),["x","y","z"].forEach((function(e){a[e]}));var u=Math.floor((o.max+o.step-o.min)/o.step),c=Math.floor((l.max+l.step-l.min)/l.step);n=new Float32Array(u*c*5);var h=r(o),d=r(l);for(S=0,T=0;T<c;T++)for(L=0;L<u;L++){var f=L*o.step+o.min,p=T*l.step+l.min,m=s.round(Math.min(f,o.max),h),g=s.round(Math.min(p,l.max),d);D=a.x(m,g),A=a.y(m,g),I=a.z(m,g);n[S++]=D,n[S++]=A,n[S++]=I,n[S++]=m,n[S++]=g}}else{var y=e.equation||{},v=y.x||{},_=y.y||{};if(["x","y"].forEach((function(e){i(y[e])})),"function"!==typeof y.z)return void 0;var x=Math.floor((v.max+v.step-v.min)/v.step),b=Math.floor((_.max+_.step-_.min)/_.step);n=new Float32Array(x*b*3);for(var w=r(v),M=r(_),S=0,T=0;T<b;T++)for(var L=0;L<x;L++){var D=L*v.step+v.min,A=T*_.step+_.min,O=s.round(Math.min(D,v.max),w),k=s.round(Math.min(A,_.max),M),I=y.z(O,k);n[S++]=O,n[S++]=k,n[S++]=I}}var C=["x","y","z"];e.parametric&&C.push("u","v");var E=noe(this,C,n);return E},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,grid3DIndex:0,shading:"lambert",parametric:!1,wireframe:{show:!0,lineStyle:{color:"rgba(0,0,0,0.5)",width:1}},equation:{x:{min:-1,max:1,step:.1},y:{min:-1,max:1,step:.1},z:null},parametricEquation:{u:{min:-1,max:1,step:.1},v:{min:-1,max:1,step:.1},x:null,y:null,z:null},dataShape:null,itemStyle:{},animationDurationUpdate:500}});c.merge(mse.prototype,oie);var gse=mse,yse=Pee.vec3;function vse(e){return isNaN(e[0])||isNaN(e[1])||isNaN(e[2])}var _se=dy.extend({type:"surface",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node},render:function(e,t,n){var i=this._prevSurfaceMesh;this._prevSurfaceMesh=this._surfaceMesh,this._surfaceMesh=i,this._surfaceMesh||(this._surfaceMesh=this._createSurfaceMesh()),this.groupGL.remove(this._prevSurfaceMesh),this.groupGL.add(this._surfaceMesh);var r=e.coordinateSystem,a=e.get("shading"),o=e.getData(),s="ecgl."+a;if(this._surfaceMesh.material&&this._surfaceMesh.material.shader.name===s||(this._surfaceMesh.material=see.createMaterial(s,["VERTEX_COLOR","DOUBLE_SIDED"])),see.setMaterialFromModel(a,this._surfaceMesh.material,e,n),r&&r.viewGL){r.viewGL.add(this.groupGL);var l=r.viewGL.isLinearSpace()?"define":"undefine";this._surfaceMesh.material[l]("fragment","SRGB_DECODE")}var u=e.get("parametric"),c=e.get("dataShape");c||(c=this._getDataShape(o,u));var h=e.getModel("wireframe"),d=h.get("lineStyle.width"),f=h.get("show")&&d>0;this._updateSurfaceMesh(this._surfaceMesh,e,c,f);var p=this._surfaceMesh.material;f?(p.define("WIREFRAME_QUAD"),p.set("wireframeLineWidth",d),p.set("wireframeLineColor",see.parseColor(h.get("lineStyle.color")))):p.undefine("WIREFRAME_QUAD"),this._initHandler(e,n),this._updateAnimation(e)},_updateAnimation:function(e){see.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevSurfaceMesh,this._surfaceMesh,e)},_createSurfaceMesh:function(){var e=new see.Mesh({geometry:new see.Geometry({dynamic:!0,sortTriangles:!0}),shadowDepthMaterial:new see.Material({shader:new see.Shader(see.Shader.source("ecgl.sm.depth.vertex"),see.Shader.source("ecgl.sm.depth.fragment"))}),culling:!1,renderOrder:10,renderNormal:!0});return e.geometry.createAttribute("barycentric","float",4),e.geometry.createAttribute("prevPosition","float",3),e.geometry.createAttribute("prevNormal","float",3),Object.assign(e.geometry,qie),e},_initHandler:function(e,t){var n=e.getData(),i=this._surfaceMesh,r=e.coordinateSystem;function a(e,t){for(var n=1/0,r=-1,a=[],o=0;o<e.length;o++){i.geometry.attributes.position.get(e[o],a);var s=yse.dist(t.array,a);s<n&&(n=s,r=e[o])}return r}i.seriesIndex=e.seriesIndex;var o=-1;i.off("mousemove"),i.off("mouseout"),i.on("mousemove",(function(e){var s=a(e.triangle,e.point);if(s>=0){var l=[];i.geometry.attributes.position.get(s,l);for(var u=r.pointToData(l),c=1/0,h=-1,d=[],f=0;f<n.count();f++){d[0]=n.get("x",f),d[1]=n.get("y",f),d[2]=n.get("z",f);var p=yse.squaredDistance(d,u);p<c&&(h=f,c=p)}h!==o&&t.dispatchAction({type:"grid3DShowAxisPointer",value:u}),o=h,i.dataIndex=h}else i.dataIndex=-1}),this),i.on("mouseout",(function(e){o=-1,i.dataIndex=-1,t.dispatchAction({type:"grid3DHideAxisPointer"})}),this)},_updateSurfaceMesh:function(e,t,n,i){var r=e.geometry,a=t.getData(),o=a.getLayout("points"),s=0;a.each((function(e){a.hasValue(e)||s++}));var l=s||i,u=r.attributes.position,c=r.attributes.normal,h=r.attributes.texcoord0,d=r.attributes.barycentric,f=r.attributes.color,p=n[0],m=n[1],g=t.get("shading"),y="color"!==g;if(l){var v=(p-1)*(m-1)*4;u.init(v),i&&d.init(v)}else u.value=new Float32Array(o);f.init(r.vertexCount),h.init(r.vertexCount);var _=[0,3,1,1,3,2],x=[[1,1,0,0],[0,1,0,1],[1,0,0,1],[1,0,1,0]],b=r.indices=new(r.vertexCount>65535?Uint32Array:Uint16Array)((p-1)*(m-1)*6),w=function(e,t,n){n[1]=e*m+t,n[0]=e*m+t+1,n[3]=(e+1)*m+t+1,n[2]=(e+1)*m+t},M=!1;if(l){var S=[],T=[],L=0;y?c.init(r.vertexCount):c.value=null;for(var D=[[],[],[]],A=[],O=[],k=yse.create(),I=function(e,t,n){var i=3*t;return n[0]=e[i],n[1]=e[i+1],n[2]=e[i+2],n},C=new Float32Array(o.length),E=new Float32Array(o.length/3*4),P=0;P<a.count();P++)if(a.hasValue(P)){var N=see.parseColor(Kie(a,P)),R=Qie(a,P);null!=R&&(N[3]*=R),N[3]<.99&&(M=!0);for(var Y=0;Y<4;Y++)E[4*P+Y]=N[Y]}var z=[1e7,1e7,1e7];for(P=0;P<p-1;P++)for(var H=0;H<m-1;H++){var j=P*(m-1)+H,F=4*j;w(P,H,S);var B=!1;for(Y=0;Y<4;Y++)I(o,S[Y],T),vse(T)&&(B=!0);for(Y=0;Y<4;Y++)B?u.set(F+Y,z):(I(o,S[Y],T),u.set(F+Y,T)),i&&d.set(F+Y,x[Y]);for(Y=0;Y<6;Y++)b[L++]=_[Y]+F;if(y&&!B)for(Y=0;Y<2;Y++){for(var V=3*Y,G=0;G<3;G++){var W=S[_[V]+G];I(o,W,D[G])}yse.sub(A,D[0],D[1]),yse.sub(O,D[1],D[2]),yse.cross(k,A,O);for(G=0;G<3;G++){var U=3*S[_[V]+G];C[U]=C[U]+k[0],C[U+1]=C[U+1]+k[1],C[U+2]=C[U+2]+k[2]}}}if(y)for(P=0;P<C.length/3;P++)I(C,P,k),yse.normalize(k,k),C[3*P]=k[0],C[3*P+1]=k[1],C[3*P+2]=k[2];N=[];var X=[];for(P=0;P<p-1;P++)for(H=0;H<m-1;H++){j=P*(m-1)+H,F=4*j;w(P,H,S);for(Y=0;Y<4;Y++){for(G=0;G<4;G++)N[G]=E[4*S[Y]+G];f.set(F+Y,N),y&&(I(C,S[Y],k),c.set(F+Y,k));W=S[Y];X[0]=W%m/(m-1),X[1]=Math.floor(W/m)/(p-1),h.set(F+Y,X)}j++}}else{for(X=[],P=0;P<a.count();P++){X[0]=P%m/(m-1),X[1]=Math.floor(P/m)/(p-1);N=see.parseColor(Kie(a,P)),R=Qie(a,P);null!=R&&(N[3]*=R),N[3]<.99&&(M=!0),f.set(P,N),h.set(P,X)}S=[];var Z=0;for(P=0;P<p-1;P++)for(H=0;H<m-1;H++){w(P,H,S);for(Y=0;Y<6;Y++)b[Z++]=S[_[Y]]}y?r.generateVertexNormals():c.value=null}e.material.get("normalMap")&&r.generateTangents(),r.updateBoundingBox(),r.dirty(),e.material.transparent=M,e.material.depthMask=!M},_getDataShape:function(e,t){for(var n=-1/0,i=0,r=0,a=!1,o=t?"u":"x",s=e.count(),l=0;l<s;l++){var u=e.get(o,l);u<n&&(r,r=0,i++),n=u,r++}if(i&&1!==r||(a=!0),!a)return[i+1,r];var c=Math.floor(Math.sqrt(s));while(c>0){if(Math.floor(s/c)===s/c)return[c,s/c];c--}return c=Math.floor(Math.sqrt(s)),[c,c]},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}});function xse(e){e.registerChartView(_se),e.registerSeriesModel(gse),e.registerLayout((function(e,t){e.eachSeriesByType("surface",(function(e){var t=e.coordinateSystem;t&&t.type;var n=e.getData(),i=new Float32Array(3*n.count()),r=[NaN,NaN,NaN];if(t&&"cartesian3D"===t.type){var a=t.dimensions,o=a.map((function(t){return e.coordDimToDataDim(t)[0]}));n.each(o,(function(e,a,o,s){var l;l=n.hasValue(s)?t.dataToPoint([e,a,o]):r,i[3*s]=l[0],i[3*s+1]=l[1],i[3*s+2]=l[2]}))}n.setLayout("points",i)}))}))}function bse(e,t){for(var n=[],i=0;i<t.length;i++)n.push(e.dataToPoint(t[i]));return n}IM(xse);var wse=Vp.extend({type:"series.map3D",layoutMode:"box",coordinateSystem:null,visualStyleAccessPath:"itemStyle",optionUpdated:function(e){e=e||{};var t=this.get("coordinateSystem");null!=t&&"geo3D"!==t&&(this.get("groundPlane.show")&&(this.option.groundPlane.show=!1),this._geo=null)},getInitialData:function(e){e.data=this.getFilledRegions(e.data,e.map);var t=o.createDimensions(e.data,{coordDimensions:["value"]}),n=new Eb(t,this);n.initData(e.data);var i={};return n.each((function(e){var t=n.getName(e),r=n.getItemModel(e);i[t]=r})),this._regionModelMap=i,n},formatTooltip:function(e){return toe(this,e)},getRegionModel:function(e){var t=this.getData().getName(e);return this._regionModelMap[t]||new Gu(null,this)},getRegionPolygonCoords:function(e){var t=this.coordinateSystem,n=this.getData().getName(e);if(t.transform){var i=t.getRegion(n);return i?i.geometries:[]}this._geo||(this._geo=_re.createGeo3D(this));i=this._geo.getRegion(n);for(var r=[],a=0;a<i.geometries.length;a++){var o=i.geometries[a],s=[],l=bse(t,o.exterior);if(s&&s.length)for(var u=0;u<o.interiors.length;u++)s.push(bse(t,s[u]));r.push({interiors:s,exterior:l})}return r},getFormattedLabel:function(e,t){var n=Qae.getFormattedLabel(this,e,t);return null==n&&(n=this.getData().getName(e)),n},defaultOption:{coordinateSystem:"geo3D",data:null}});c.merge(wse.prototype,sie),c.merge(wse.prototype,wee),c.merge(wse.prototype,Mee),c.merge(wse.prototype,See),c.merge(wse.prototype,oie);var Mse=wse,Sse=dy.extend({type:"map3D",__ecgl__:!0,init:function(e,t){this._geo3DBuilder=new ore(t),this.groupGL=new see.Node},render:function(e,t,n){var i=e.coordinateSystem;if(i&&i.viewGL){if(this.groupGL.add(this._geo3DBuilder.rootNode),i.viewGL.add(this.groupGL),"geo3D"===i.type){i,this._sceneHelper||(this._sceneHelper=new Vee,this._sceneHelper.initLight(this.groupGL)),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(e),i.viewGL.setPostEffect(e.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling"));var r=this._control;r||(r=this._control=new Iee({zr:n.getZr()}),this._control.init());var a=e.getModel("viewControl");r.setViewGL(i.viewGL),r.setFromViewControlModel(a,0),r.off("update"),r.on("update",(function(){n.dispatchAction({type:"map3DChangeCamera",alpha:r.getAlpha(),beta:r.getBeta(),distance:r.getDistance(),from:this.uid,map3DId:e.id})})),this._geo3DBuilder.extrudeY=!0}else this._control&&(this._control.dispose(),this._control=null),this._sceneHelper&&(this._sceneHelper.dispose(),this._sceneHelper=null),e.getData().getLayout("geo3D"),this._geo3DBuilder.extrudeY=!1;this._geo3DBuilder.update(e,t,n,0,e.getData().count());var o=i.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse((function(e){e.material&&e.material[o]("fragment","SRGB_DECODE")}))}},afterRender:function(e,t,n,i){var r=i.renderer,a=e.coordinateSystem;a&&"geo3D"===a.type&&(this._sceneHelper.updateAmbientCubemap(r,e,n),this._sceneHelper.updateSkybox(r,e,n))},dispose:function(){this.groupGL.removeAll(),this._control.dispose(),this._geo3DBuilder.dispose()}});function Tse(e){xre(e),e.registerChartView(Sse),e.registerSeriesModel(Mse),e.registerAction({type:"map3DChangeCamera",event:"map3dcamerachanged",update:"series:updateCamera"},(function(e,t){t.eachComponent({mainType:"series",subType:"map3D",query:e},(function(t){t.setView(e)}))}))}IM(Tse);var Lse=Vp.extend({type:"series.scatterGL",dependencies:["grid","polar","geo","singleAxis"],visualStyleAccessPath:"itemStyle",hasSymbolVisual:!0,getInitialData:function(){return o.createList(this)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,progressive:1e5,progressiveThreshold:1e5,large:!1,symbol:"circle",symbolSize:10,zoomScale:0,blendMode:"source-over",itemStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}});function Dse(e){this.viewGL=e}Dse.prototype.reset=function(e,t){this._updateCamera(t.getWidth(),t.getHeight(),t.getDevicePixelRatio()),this._viewTransform=xe(),this.updateTransform(e,t)},Dse.prototype.updateTransform=function(e,t){var n=e.coordinateSystem;n.getRoamTransform&&(De(this._viewTransform,n.getRoamTransform()),this._setCameraTransform(this._viewTransform),t.getZr().refresh())},Dse.prototype.dataToPoint=function(e,t,n){n=e.dataToPoint(t,null,n);var i=this._viewTransform;i&&Y(n,n,i)},Dse.prototype.removeTransformInPoint=function(e){return this._viewTransform&&Y(e,e,this._viewTransform),e},Dse.prototype.getZoom=function(){if(this._viewTransform){var e=this._viewTransform;return 1/Math.max(Math.sqrt(e[0]*e[0]+e[1]*e[1]),Math.sqrt(e[2]*e[2]+e[3]*e[3]))}return 1},Dse.prototype._setCameraTransform=function(e){var t=this.viewGL.camera;t.position.set(e[4],e[5],0),t.scale.set(Math.sqrt(e[0]*e[0]+e[1]*e[1]),Math.sqrt(e[2]*e[2]+e[3]*e[3]),1)},Dse.prototype._updateCamera=function(e,t,n){this.viewGL.setViewport(0,0,e,t,n);var i=this.viewGL.camera;i.left=i.top=0,i.bottom=t,i.right=e,i.near=0,i.far=100};var Ase=Dse,Ose=dy.extend({type:"scatterGL",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this.viewGL=new Vne("orthographic"),this.viewGL.add(this.groupGL),this._pointsBuilderList=[],this._currentStep=0,this._sizeScale=1,this._glViewHelper=new Ase(this.viewGL)},render:function(e,t,n){if(this.groupGL.removeAll(),this._glViewHelper.reset(e,n),e.getData().count()){var i=this._pointsBuilderList[0];i||(i=this._pointsBuilderList[0]=new Eoe(!0,n)),this._pointsBuilderList.length=1,this.groupGL.add(i.rootNode),this._removeTransformInPoints(e.getData().getLayout("points")),i.update(e,t,n),this.viewGL.setPostEffect(e.getModel("postEffect"),n)}},incrementalPrepareRender:function(e,t,n){this.groupGL.removeAll(),this._glViewHelper.reset(e,n),this._currentStep=0,this.viewGL.setPostEffect(e.getModel("postEffect"),n)},incrementalRender:function(e,t,n,i){if(!(e.end<=e.start)){var r=this._pointsBuilderList[this._currentStep];r||(r=new Eoe(!0,i),this._pointsBuilderList[this._currentStep]=r),this.groupGL.add(r.rootNode),this._removeTransformInPoints(t.getData().getLayout("points")),r.setSizeScale(this._sizeScale),r.update(t,n,i,e.start,e.end),i.getZr().refresh(),this._currentStep++}},updateTransform:function(e,t,n){if(e.coordinateSystem.getRoamTransform){this._glViewHelper.updateTransform(e,n);var i=this._glViewHelper.getZoom(),r=Math.max((e.get("zoomScale")||0)*(i-1)+1,0);this._sizeScale=r,this._pointsBuilderList.forEach((function(e){e.setSizeScale(r)}))}},_removeTransformInPoints:function(e){if(e)for(var t=[],n=0;n<e.length;n+=2)t[0]=e[n],t[1]=e[n+1],this._glViewHelper.removeTransformInPoint(t),e[n]=t[0],e[n+1]=t[1]},dispose:function(){this.groupGL.removeAll(),this._pointsBuilderList.forEach((function(e){e.dispose()}))},remove:function(){this.groupGL.removeAll()}});function kse(e){e.registerChartView(Ose),e.registerSeriesModel(Lse),e.registerLayout({seriesType:"scatterGL",reset:function(e){var t,n=e.coordinateSystem,i=e.getData();if(n){var r=n.dimensions.map((function(e){return i.mapDimension(e)})).slice(0,2),a=[];1===r.length?t=function(e){for(var t=new Float32Array(2*(e.end-e.start)),a=e.start;a<e.end;a++){var o=2*(a-e.start),s=i.get(r[0],a),l=n.dataToPoint(s);t[o]=l[0],t[o+1]=l[1]}i.setLayout("points",t)}:2===r.length&&(t=function(e){for(var t=new Float32Array(2*(e.end-e.start)),o=e.start;o<e.end;o++){var s=2*(o-e.start),l=i.get(r[0],o),u=i.get(r[1],o);a[0]=l,a[1]=u,a=n.dataToPoint(a),t[s]=a[0],t[s+1]=a[1]}i.setLayout("points",t)})}return{progress:t}}})}IM(kse);var Ise=zE,Cse=function(e,t,n,i,r){for(var a=new VR(i),s=0;s<e.length;s++)a.addNode(y7.firstNotNull(e[s].id,e[s].name,s),s);var l,u=[],c=[],h=0;for(s=0;s<t.length;s++){var d=t[s],f=d.source,p=d.target;a.addEdge(f,p,h)&&(c.push(d),u.push(y7.firstNotNull(d.id,f+" > "+p)),h++)}var m=o.createDimensions(e,{coordDimensions:["value"]});l=new Eb(m,n),l.initData(e);var g=new Eb(["value"],n);return g.initData(c,u),r&&r(l,g),Ise({mainData:l,struct:a,structAttr:"graph",datas:{node:l,edge:g},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a},Ese=Vp.extend({type:"series.graphGL",visualStyleAccessPath:"itemStyle",hasSymbolVisual:!0,init:function(e){Ese.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this._updateCategoriesData()},mergeOption:function(e){Ese.superApply(this,"mergeOption",arguments),this._updateCategoriesData()},getFormattedLabel:function(e,t,n,i){var r=Qae.getFormattedLabel(this,e,t,n,i);if(null==r){var a=this.getData(),o=a.dimensions[a.dimensions.length-1];r=a.get(o,e)}return r},getInitialData:function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],r=this;if(i&&n)return Cse(i,n,this,!0,a).data;function a(e,n){e.wrapMethod("getItemModel",(function(e){const t=r._categoriesModels,n=e.getShallow("category"),i=t[n];return i&&(i.parentModel=e.parentModel,e.parentModel=i),e}));const i=t.getModel([]).getModel;function a(e,t){const n=i.call(this,e,t);return n.resolveParentPath=o,n}function o(e){if(e&&("label"===e[0]||"label"===e[1])){const t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}n.wrapMethod("getItemModel",(function(e){return e.resolveParentPath=o,e.getModel=a,e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(e,n),a=i.graph.getEdgeByIndex(e),o=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),l=u.encodeHTML(l.join(" > ")),r.value&&(l+=" : "+u.encodeHTML(r.value)),l}return Ese.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=(this.option.categories||[]).map((function(e){return null!=e.value?e:Object.assign({value:0},e)})),t=new Eb(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setView:function(e){null!=e.zoom&&(this.option.zoom=e.zoom),null!=e.offset&&(this.option.offset=e.offset)},setNodePosition:function(e){for(var t=0;t<e.length/2;t++){var n=e[2*t],i=e[2*t+1],r=this.getData().getRawDataItem(t);r.x=n,r.y=i}},isAnimationEnabled:function(){return Ese.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:10,z:2,legendHoverLink:!0,layout:"forceAtlas2",forceAtlas2:{initLayout:null,GPU:!0,steps:1,maxSteps:1e3,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,edgeWeightInfluence:1,edgeWeight:[1,4],nodeWeight:[1,4],preventOverlap:!1,gravityCenter:null},focusNodeAdjacency:!0,focusNodeAdjacencyOn:"mouseover",left:"center",top:"center",symbol:"circle",symbolSize:5,roam:!1,center:null,zoom:1,label:{show:!1,formatter:"{b}",position:"right",distance:5,textStyle:{fontSize:14}},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}},animation:!1}}),Pse=Ese,Nse=Pee.vec2,Rse=[[0,0],[1,1]],Yse=r8.extend((function(){return{segmentScale:4,dynamic:!0,useNativeLine:!0,attributes:{position:new r8.Attribute("position","float",2,"POSITION"),normal:new r8.Attribute("normal","float",2),offset:new r8.Attribute("offset","float",1),color:new r8.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0,this._itemVertexOffsets=[]},setVertexCount:function(e){var t=this.attributes;this.vertexCount!==e&&(t.position.init(e),t.color.init(e),this.useNativeLine||(t.offset.init(e),t.normal.init(e)),e>65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(e){this.triangleCount!==e&&(this.indices=0===e?null:this.vertexCount>65535?new Uint32Array(3*e):new Uint16Array(3*e))},_getCubicCurveApproxStep:function(e,t,n,i){var r=Nse.dist(e,t)+Nse.dist(n,t)+Nse.dist(i,n),a=1/(r+1)*this.segmentScale;return a},getCubicCurveVertexCount:function(e,t,n,i){var r=this._getCubicCurveApproxStep(e,t,n,i),a=Math.ceil(1/r);return this.useNativeLine?2*a:2*a+2},getCubicCurveTriangleCount:function(e,t,n,i){var r=this._getCubicCurveApproxStep(e,t,n,i),a=Math.ceil(1/r);return this.useNativeLine?0:2*a},getLineVertexCount:function(){return this.getPolylineVertexCount(Rse)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(Rse)},getPolylineVertexCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/2}return this.useNativeLine?2*(t-1):2*(t-1)+2},getPolylineTriangleCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/2}return this.useNativeLine?0:2*(t-1)},addCubicCurve:function(e,t,n,i,r,a){null==a&&(a=1);var o=e[0],s=e[1],l=t[0],u=t[1],c=n[0],h=n[1],d=i[0],f=i[1],p=this._getCubicCurveApproxStep(e,t,n,i),m=p*p,g=m*p,y=3*p,v=3*m,_=6*m,x=6*g,b=o-2*l+c,w=s-2*u+h,M=3*(l-c)-o+d,S=3*(u-h)-s+f,T=o,L=s,D=(l-o)*y+b*v+M*g,A=(u-s)*y+w*v+S*g,O=b*_+M*x,k=w*_+S*x,I=M*x,C=S*x,E=0,P=0,N=Math.ceil(1/p),R=new Float32Array(3*(N+1)),Y=(R=[],0);for(P=0;P<N+1;P++)R[Y++]=T,R[Y++]=L,T+=D,L+=A,D+=O,A+=k,O+=I,k+=C,E+=p,E>1&&(T=D>0?Math.min(T,d):Math.max(T,d),L=A>0?Math.min(L,f):Math.max(L,f));this.addPolyline(R,r,a)},addLine:function(e,t,n,i){this.addPolyline([e,t],n,i)},addPolyline:function(){var e=Nse.create(),t=Nse.create(),n=Nse.create(),i=Nse.create(),r=[],a=[],o=[];return function(s,l,u,c,h){if(s.length){var d="number"!==typeof s[0];if(null==h&&(h=d?s.length:s.length/2),!(h<2)){null==c&&(c=0),null==u&&(u=1),this._itemVertexOffsets.push(this._vertexOffset);for(var f,p=d?"number"!==typeof l[0]:l.length/4===h,m=this.attributes.position,g=this.attributes.color,y=this.attributes.offset,v=this.attributes.normal,_=this.indices,x=this._vertexOffset,b=0;b<h;b++){if(d)r=s[b+c],f=p?l[b+c]:l;else{var w=2*b+c;if(r=r||[],r[0]=s[w],r[1]=s[w+1],p){var M=4*b+c;f=f||[],f[0]=l[M],f[1]=l[M+1],f[2]=l[M+2],f[3]=l[M+3]}else f=l}if(this.useNativeLine)b>1&&(m.copy(x,x-1),g.copy(x,x-1),x++);else{var S;if(b<h-1){if(d)Nse.copy(a,s[b+1]);else{w=2*(b+1)+c;a=a||[],a[0]=s[w],a[1]=s[w+1]}if(b>0){Nse.sub(e,r,o),Nse.sub(t,a,r),Nse.normalize(e,e),Nse.normalize(t,t),Nse.add(i,e,t),Nse.normalize(i,i);var T=u/2*Math.min(1/Nse.dot(e,i),2);n[0]=-i[1],n[1]=i[0],S=T}else Nse.sub(e,a,r),Nse.normalize(e,e),n[0]=-e[1],n[1]=e[0],S=u/2}else Nse.sub(e,r,o),Nse.normalize(e,e),n[0]=-e[1],n[1]=e[0],S=u/2;v.set(x,n),v.set(x+1,n),y.set(x,S),y.set(x+1,-S),Nse.copy(o,r),m.set(x,r),m.set(x+1,r),g.set(x,f),g.set(x+1,f),x+=2}if(this.useNativeLine)g.set(x,f),m.set(x,r),x++;else if(b>0){var L=3*this._faceOffset;_=this.indices;_[L]=x-4,_[L+1]=x-3,_[L+2]=x-2,_[L+3]=x-3,_[L+4]=x-1,_[L+5]=x-2,this._faceOffset+=2}}this._vertexOffset=x}}}}(),setItemColor:function(e,t){for(var n=this._itemVertexOffsets[e],i=e<this._itemVertexOffsets.length-1?this._itemVertexOffsets[e+1]:this._vertexOffset,r=n;r<i;r++)this.attributes.color.set(r,t);this.dirty("color")}});c.defaults(Yse.prototype,Cee);var zse=Yse,Hse="@export ecgl.forceAtlas2.updateNodeRepulsion\n\n#define NODE_COUNT 0\n\nuniform sampler2D positionTex;\n\nuniform vec2 textureSize;\nuniform float gravity;\nuniform float scaling;\nuniform vec2 gravityCenter;\n\nuniform bool strongGravityMode;\nuniform bool preventOverlap;\n\nvarying vec2 v_Texcoord;\n\nvoid main() {\n\n vec4 n0 = texture2D(positionTex, v_Texcoord);\n\n vec2 force = vec2(0.0);\n for (int i = 0; i < NODE_COUNT; i++) {\n vec2 uv = vec2(\n mod(float(i), textureSize.x) / (textureSize.x - 1.0),\n floor(float(i) / textureSize.x) / (textureSize.y - 1.0)\n );\n vec4 n1 = texture2D(positionTex, uv);\n\n vec2 dir = n0.xy - n1.xy;\n float d2 = dot(dir, dir);\n\n if (d2 > 0.0) {\n float factor = 0.0;\n if (preventOverlap) {\n float d = sqrt(d2);\n d = d - n0.w - n1.w;\n if (d > 0.0) {\n factor = scaling * n0.z * n1.z / (d * d);\n }\n else if (d < 0.0) {\n factor = scaling * 100.0 * n0.z * n1.z;\n }\n }\n else {\n factor = scaling * n0.z * n1.z / d2;\n }\n force += dir * factor;\n }\n }\n\n vec2 dir = gravityCenter - n0.xy;\n float d = 1.0;\n if (!strongGravityMode) {\n d = length(dir);\n }\n\n force += dir * n0.z * gravity / (d + 1.0);\n\n gl_FragColor = vec4(force, 0.0, 1.0);\n}\n@end\n\n@export ecgl.forceAtlas2.updateEdgeAttraction.vertex\n\nattribute vec2 node1;\nattribute vec2 node2;\nattribute float weight;\n\nuniform sampler2D positionTex;\nuniform float edgeWeightInfluence;\nuniform bool preventOverlap;\nuniform bool linLogMode;\n\nuniform vec2 windowSize: WINDOW_SIZE;\n\nvarying vec2 v_Force;\n\nvoid main() {\n\n vec4 n0 = texture2D(positionTex, node1);\n vec4 n1 = texture2D(positionTex, node2);\n\n vec2 dir = n1.xy - n0.xy;\n float d = length(dir);\n float w;\n if (edgeWeightInfluence == 0.0) {\n w = 1.0;\n }\n else if (edgeWeightInfluence == 1.0) {\n w = weight;\n }\n else {\n w = pow(weight, edgeWeightInfluence);\n }\n vec2 offset = vec2(1.0 / windowSize.x, 1.0 / windowSize.y);\n vec2 scale = vec2((windowSize.x - 1.0) / windowSize.x, (windowSize.y - 1.0) / windowSize.y);\n vec2 pos = node1 * scale * 2.0 - 1.0;\n gl_Position = vec4(pos + offset, 0.0, 1.0);\n gl_PointSize = 1.0;\n\n float factor;\n if (preventOverlap) {\n d = d - n1.w - n0.w;\n }\n if (d <= 0.0) {\n v_Force = vec2(0.0);\n return;\n }\n\n if (linLogMode) {\n factor = w * log(d) / d;\n }\n else {\n factor = w;\n }\n v_Force = dir * factor;\n}\n@end\n\n@export ecgl.forceAtlas2.updateEdgeAttraction.fragment\n\nvarying vec2 v_Force;\n\nvoid main() {\n gl_FragColor = vec4(v_Force, 0.0, 0.0);\n}\n@end\n\n@export ecgl.forceAtlas2.calcWeightedSum.vertex\n\nattribute vec2 node;\n\nvarying vec2 v_NodeUv;\n\nvoid main() {\n\n v_NodeUv = node;\n gl_Position = vec4(0.0, 0.0, 0.0, 1.0);\n gl_PointSize = 1.0;\n}\n@end\n\n@export ecgl.forceAtlas2.calcWeightedSum.fragment\n\nvarying vec2 v_NodeUv;\n\nuniform sampler2D positionTex;\nuniform sampler2D forceTex;\nuniform sampler2D forcePrevTex;\n\nvoid main() {\n vec2 force = texture2D(forceTex, v_NodeUv).rg;\n vec2 forcePrev = texture2D(forcePrevTex, v_NodeUv).rg;\n\n float mass = texture2D(positionTex, v_NodeUv).z;\n float swing = length(force - forcePrev) * mass;\n float traction = length(force + forcePrev) * 0.5 * mass;\n\n gl_FragColor = vec4(swing, traction, 0.0, 0.0);\n}\n@end\n\n@export ecgl.forceAtlas2.calcGlobalSpeed\n\nuniform sampler2D globalSpeedPrevTex;\nuniform sampler2D weightedSumTex;\nuniform float jitterTolerence;\n\nvoid main() {\n vec2 weightedSum = texture2D(weightedSumTex, vec2(0.5)).xy;\n float prevGlobalSpeed = texture2D(globalSpeedPrevTex, vec2(0.5)).x;\n float globalSpeed = jitterTolerence * jitterTolerence\n * weightedSum.y / weightedSum.x;\n if (prevGlobalSpeed > 0.0) {\n globalSpeed = min(globalSpeed / prevGlobalSpeed, 1.5) * prevGlobalSpeed;\n }\n gl_FragColor = vec4(globalSpeed, 0.0, 0.0, 1.0);\n}\n@end\n\n@export ecgl.forceAtlas2.updatePosition\n\nuniform sampler2D forceTex;\nuniform sampler2D forcePrevTex;\nuniform sampler2D positionTex;\nuniform sampler2D globalSpeedTex;\n\nvarying vec2 v_Texcoord;\n\nvoid main() {\n vec2 force = texture2D(forceTex, v_Texcoord).xy;\n vec2 forcePrev = texture2D(forcePrevTex, v_Texcoord).xy;\n vec4 node = texture2D(positionTex, v_Texcoord);\n\n float globalSpeed = texture2D(globalSpeedTex, vec2(0.5)).r;\n float swing = length(force - forcePrev);\n float speed = 0.1 * globalSpeed / (0.1 + globalSpeed * sqrt(swing));\n\n float df = length(force);\n if (df > 0.0) {\n speed = min(df * speed, 10.0) / df;\n\n gl_FragColor = vec4(node.xy + speed * force, node.zw);\n }\n else {\n gl_FragColor = node;\n }\n}\n@end\n\n@export ecgl.forceAtlas2.edges.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec2 node;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\nuniform sampler2D positionTex;\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(\n texture2D(positionTex, node).xy, -10.0, 1.0\n );\n v_Color = a_Color;\n}\n@end\n\n@export ecgl.forceAtlas2.edges.fragment\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nvarying vec4 v_Color;\nvoid main() {\n gl_FragColor = color * v_Color;\n}\n@end";see.Shader.import(Hse);var jse={repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null};function Fse(e){var t={type:see.Texture.FLOAT,minFilter:see.Texture.NEAREST,magFilter:see.Texture.NEAREST};this._positionSourceTex=new see.Texture2D(t),this._positionSourceTex.flipY=!1,this._positionTex=new see.Texture2D(t),this._positionPrevTex=new see.Texture2D(t),this._forceTex=new see.Texture2D(t),this._forcePrevTex=new see.Texture2D(t),this._weightedSumTex=new see.Texture2D(t),this._weightedSumTex.width=this._weightedSumTex.height=1,this._globalSpeedTex=new see.Texture2D(t),this._globalSpeedPrevTex=new see.Texture2D(t),this._globalSpeedTex.width=this._globalSpeedTex.height=1,this._globalSpeedPrevTex.width=this._globalSpeedPrevTex.height=1,this._nodeRepulsionPass=new e7({fragment:see.Shader.source("ecgl.forceAtlas2.updateNodeRepulsion")}),this._positionPass=new e7({fragment:see.Shader.source("ecgl.forceAtlas2.updatePosition")}),this._globalSpeedPass=new e7({fragment:see.Shader.source("ecgl.forceAtlas2.calcGlobalSpeed")}),this._copyPass=new e7({fragment:see.Shader.source("clay.compositor.output")});var n=function(e){e.blendEquation(e.FUNC_ADD),e.blendFunc(e.ONE,e.ONE)};this._edgeForceMesh=new see.Mesh({geometry:new see.Geometry({attributes:{node1:new see.Geometry.Attribute("node1","float",2),node2:new see.Geometry.Attribute("node2","float",2),weight:new see.Geometry.Attribute("weight","float",1)},dynamic:!0,mainAttribute:"node1"}),material:new see.Material({transparent:!0,shader:see.createShader("ecgl.forceAtlas2.updateEdgeAttraction"),blend:n,depthMask:!1,depthText:!1}),mode:see.Mesh.POINTS}),this._weightedSumMesh=new see.Mesh({geometry:new see.Geometry({attributes:{node:new see.Geometry.Attribute("node","float",2)},dynamic:!0,mainAttribute:"node"}),material:new see.Material({transparent:!0,shader:see.createShader("ecgl.forceAtlas2.calcWeightedSum"),blend:n,depthMask:!1,depthText:!1}),mode:see.Mesh.POINTS}),this._framebuffer=new J8({depthBuffer:!1}),this._dummyCamera=new see.OrthographicCamera({left:-1,right:1,top:1,bottom:-1,near:0,far:100}),this._globalSpeed=0}Fse.prototype.updateOption=function(e){for(var t in jse)this[t]=jse[t];var n=this._nodes.length;if(this.jitterTolerence=n>5e4?10:n>5e3?1:.1,this.scaling=n>100?2:10,e)for(var t in jse)null!=e[t]&&(this[t]=e[t]);if(this.repulsionByDegree)for(var i=this._positionSourceTex.pixels,r=0;r<this._nodes.length;r++)i[4*r+2]=(this._nodes[r].degree||0)+1},Fse.prototype._updateGravityCenter=function(e){var t=this._nodes,n=this._edges;if(this.gravityCenter)this._gravityCenter=this.gravityCenter;else{for(var i=[1/0,1/0],r=[-1/0,-1/0],a=0;a<t.length;a++)i[0]=Math.min(t[a].x,i[0]),i[1]=Math.min(t[a].y,i[1]),r[0]=Math.max(t[a].x,r[0]),r[1]=Math.max(t[a].y,r[1]);this._gravityCenter=[.5*(i[0]+r[0]),.5*(i[1]+r[1])]}for(a=0;a<n.length;a++){var o=n[a].node1,s=n[a].node2;t[o].degree=(t[o].degree||0)+1,t[s].degree=(t[s].degree||0)+1}},Fse.prototype.initData=function(e,t){this._nodes=e,this._edges=t,this._updateGravityCenter();var n=Math.ceil(Math.sqrt(e.length)),i=n,r=new Float32Array(n*i*4);this._resize(n,i);for(var a=0,o=0;o<e.length;o++){var s=e[o];r[a++]=s.x||0,r[a++]=s.y||0,r[a++]=s.mass||1,r[a++]=s.size||1}this._positionSourceTex.pixels=r;var l=this._edgeForceMesh.geometry,u=t.length;l.attributes.node1.init(2*u),l.attributes.node2.init(2*u),l.attributes.weight.init(2*u);var c=[];for(o=0;o<t.length;o++){var h=l.attributes,d=t[o].weight;null==d&&(d=1),h.node1.set(o,this.getNodeUV(t[o].node1,c)),h.node2.set(o,this.getNodeUV(t[o].node2,c)),h.weight.set(o,d),h.node1.set(o+u,this.getNodeUV(t[o].node2,c)),h.node2.set(o+u,this.getNodeUV(t[o].node1,c)),h.weight.set(o+u,d)}var f=this._weightedSumMesh.geometry;f.attributes.node.init(e.length);for(o=0;o<e.length;o++)f.attributes.node.set(o,this.getNodeUV(o,c));l.dirty(),f.dirty(),this._nodeRepulsionPass.material.define("fragment","NODE_COUNT",e.length),this._nodeRepulsionPass.material.setUniform("textureSize",[n,i]),this._inited=!1,this._frame=0},Fse.prototype.getNodes=function(){return this._nodes},Fse.prototype.getEdges=function(){return this._edges},Fse.prototype.step=function(e){this._inited||(this._initFromSource(e),this._inited=!0),this._frame++,this._framebuffer.attach(this._forceTex),this._framebuffer.bind(e);var t=this._nodeRepulsionPass;t.setUniform("strongGravityMode",this.strongGravityMode),t.setUniform("gravity",this.gravity),t.setUniform("gravityCenter",this._gravityCenter),t.setUniform("scaling",this.scaling),t.setUniform("preventOverlap",this.preventOverlap),t.setUniform("positionTex",this._positionPrevTex),t.render(e);var n=this._edgeForceMesh;n.material.set("linLogMode",this.linLogMode),n.material.set("edgeWeightInfluence",this.edgeWeightInfluence),n.material.set("preventOverlap",this.preventOverlap),n.material.set("positionTex",this._positionPrevTex),e.gl.enable(e.gl.BLEND),e.renderPass([n],this._dummyCamera),this._framebuffer.attach(this._weightedSumTex),e.gl.clearColor(0,0,0,0),e.gl.clear(e.gl.COLOR_BUFFER_BIT),e.gl.enable(e.gl.BLEND);var i=this._weightedSumMesh;i.material.set("positionTex",this._positionPrevTex),i.material.set("forceTex",this._forceTex),i.material.set("forcePrevTex",this._forcePrevTex),e.renderPass([i],this._dummyCamera),this._framebuffer.attach(this._globalSpeedTex);var r=this._globalSpeedPass;r.setUniform("globalSpeedPrevTex",this._globalSpeedPrevTex),r.setUniform("weightedSumTex",this._weightedSumTex),r.setUniform("jitterTolerence",this.jitterTolerence),e.gl.disable(e.gl.BLEND),r.render(e);var a=this._positionPass;this._framebuffer.attach(this._positionTex),a.setUniform("globalSpeedTex",this._globalSpeedTex),a.setUniform("positionTex",this._positionPrevTex),a.setUniform("forceTex",this._forceTex),a.setUniform("forcePrevTex",this._forcePrevTex),a.render(e),this._framebuffer.unbind(e),this._swapTexture()},Fse.prototype.update=function(e,t,n){null==t&&(t=1),t=Math.max(t,1);for(var i=0;i<t;i++)this.step(e);n&&n()},Fse.prototype.getNodePositionTexture=function(){return this._inited?this._positionPrevTex:this._positionSourceTex},Fse.prototype.getNodeUV=function(e,t){t=t||[];var n=this._positionTex.width,i=this._positionTex.height;return t[0]=e%n/(n-1),t[1]=Math.floor(e/n)/(i-1)||0,t},Fse.prototype.getNodePosition=function(e,t){var n=this._positionArr,i=this._positionTex.width,r=this._positionTex.height,a=i*r;n&&n.length===4*a||(n=this._positionArr=new Float32Array(4*a)),this._framebuffer.bind(e),this._framebuffer.attach(this._positionPrevTex),e.gl.readPixels(0,0,i,r,e.gl.RGBA,e.gl.FLOAT,n),this._framebuffer.unbind(e),t||(t=new Float32Array(2*this._nodes.length));for(var o=0;o<this._nodes.length;o++)t[2*o]=n[4*o],t[2*o+1]=n[4*o+1];return t},Fse.prototype.getTextureData=function(e,t){var n=this["_"+t+"Tex"],i=n.width,r=n.height;this._framebuffer.bind(e),this._framebuffer.attach(n);var a=new Float32Array(i*r*4);return e.gl.readPixels(0,0,i,r,e.gl.RGBA,e.gl.FLOAT,a),this._framebuffer.unbind(e),a},Fse.prototype.getTextureSize=function(){return{width:this._positionTex.width,height:this._positionTex.height}},Fse.prototype.isFinished=function(e){return this._frame>e},Fse.prototype._swapTexture=function(){var e=this._positionPrevTex;this._positionPrevTex=this._positionTex,this._positionTex=e;e=this._forcePrevTex;this._forcePrevTex=this._forceTex,this._forceTex=e;e=this._globalSpeedPrevTex;this._globalSpeedPrevTex=this._globalSpeedTex,this._globalSpeedTex=e},Fse.prototype._initFromSource=function(e){this._framebuffer.attach(this._positionPrevTex),this._framebuffer.bind(e),this._copyPass.setUniform("texture",this._positionSourceTex),this._copyPass.render(e),e.gl.clearColor(0,0,0,0),this._framebuffer.attach(this._forcePrevTex),e.gl.clear(e.gl.COLOR_BUFFER_BIT),this._framebuffer.attach(this._globalSpeedPrevTex),e.gl.clear(e.gl.COLOR_BUFFER_BIT),this._framebuffer.unbind(e)},Fse.prototype._resize=function(e,t){["_positionSourceTex","_positionTex","_positionPrevTex","_forceTex","_forcePrevTex"].forEach((function(n){this[n].width=e,this[n].height=t,this[n].dirty()}),this)},Fse.prototype.dispose=function(e){this._framebuffer.dispose(e),this._copyPass.dispose(e),this._nodeRepulsionPass.dispose(e),this._positionPass.dispose(e),this._globalSpeedPass.dispose(e),this._edgeForceMesh.geometry.dispose(e),this._weightedSumMesh.geometry.dispose(e),this._positionSourceTex.dispose(e),this._positionTex.dispose(e),this._positionPrevTex.dispose(e),this._forceTex.dispose(e),this._forcePrevTex.dispose(e),this._weightedSumTex.dispose(e),this._globalSpeedTex.dispose(e),this._globalSpeedPrevTex.dispose(e)};var Bse=Fse;function Vse(){var e={create:function(){return new Float32Array(2)},dist:function(e,t){var n=t[0]-e[0],i=t[1]-e[1];return Math.sqrt(n*n+i*i)},len:function(e){var t=e[0],n=e[1];return Math.sqrt(t*t+n*n)},scaleAndAdd:function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e},scale:function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},sub:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e},normalize:function(e,t){var n=t[0],i=t[1],r=n*n+i*i;return r>0&&(r=1/Math.sqrt(r),e[0]=t[0]*r,e[1]=t[1]*r),e},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},set:function(e,t,n){return e[0]=t,e[1]=n,e}};function t(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new Float32Array(4),this.size=0}var n=t.prototype;function i(){this.position=new Float32Array(2),this.force=e.create(),this.forcePrev=e.create(),this.mass=1,this.inDegree=0,this.outDegree=0}function r(e,t){this.source=e,this.target=t,this.weight=1}function a(){this.autoSettings=!0,this.barnesHutOptimize=!0,this.barnesHutTheta=1.5,this.repulsionByDegree=!0,this.linLogMode=!1,this.strongGravityMode=!1,this.gravity=1,this.scaling=1,this.edgeWeightInfluence=1,this.jitterTolerence=.1,this.preventOverlap=!1,this.dissuadeHubs=!1,this.rootRegion=new t,this.rootRegion.centerOfMass=e.create(),this.nodes=[],this.edges=[],this.bbox=new Float32Array(4),this.gravityCenter=null,this._massArr=null,this._swingingArr=null,this._sizeArr=null,this._globalSpeed=0}n.beforeUpdate=function(){for(var e=0;e<this.nSubRegions;e++)this.subRegions[e].beforeUpdate();this.mass=0,this.centerOfMass&&(this.centerOfMass[0]=0,this.centerOfMass[1]=0),this.nSubRegions=0,this.node=null},n.afterUpdate=function(){this.subRegions.length=this.nSubRegions;for(var e=0;e<this.nSubRegions;e++)this.subRegions[e].afterUpdate()},n.addNode=function(e){if(0===this.nSubRegions){if(null==this.node)return void(this.node=e);this._addNodeToSubRegion(this.node),this.node=null}this._addNodeToSubRegion(e),this._updateCenterOfMass(e)},n.findSubRegion=function(e,t){for(var n=0;n<this.nSubRegions;n++){var i=this.subRegions[n];if(i.contain(e,t))return i}},n.contain=function(e,t){return this.bbox[0]<=e&&this.bbox[2]>=e&&this.bbox[1]<=t&&this.bbox[3]>=t},n.setBBox=function(e,t,n,i){this.bbox[0]=e,this.bbox[1]=t,this.bbox[2]=n,this.bbox[3]=i,this.size=(n-e+i-t)/2},n._newSubRegion=function(){var e=this.subRegions[this.nSubRegions];return e||(e=new t,this.subRegions[this.nSubRegions]=e),this.nSubRegions++,e},n._addNodeToSubRegion=function(e){var t=this.findSubRegion(e.position[0],e.position[1]),n=this.bbox;if(!t){var i=(n[0]+n[2])/2,r=(n[1]+n[3])/2,a=(n[2]-n[0])/2,o=(n[3]-n[1])/2,s=e.position[0]>=i?1:0,l=e.position[1]>=r?1:0;t=this._newSubRegion();t.setBBox(s*a+n[0],l*o+n[1],(s+1)*a+n[0],(l+1)*o+n[1])}t.addNode(e)},n._updateCenterOfMass=function(e){null==this.centerOfMass&&(this.centerOfMass=new Float32Array(2));var t=this.centerOfMass[0]*this.mass,n=this.centerOfMass[1]*this.mass;t+=e.position[0]*e.mass,n+=e.position[1]*e.mass,this.mass+=e.mass,this.centerOfMass[0]=t/this.mass,this.centerOfMass[1]=n/this.mass};var o=a.prototype;o.initNodes=function(e,t,n){var r=t.length;this.nodes.length=0;for(var a="undefined"!=typeof n,o=0;o<r;o++){var s=new i;s.position[0]=e[2*o],s.position[1]=e[2*o+1],s.mass=t[o],a&&(s.size=n[o]),this.nodes.push(s)}this._massArr=t,this._swingingArr=new Float32Array(r),a&&(this._sizeArr=n)},o.initEdges=function(e,t){var n=e.length/2;this.edges.length=0;for(var i=0;i<n;i++){var a=e[2*i],o=e[2*i+1],s=this.nodes[a],l=this.nodes[o];if(!s||!l)return void console.error("Node not exists, try initNodes before initEdges");s.outDegree++,l.inDegree++;var u=new r(s,l);t&&(u.weight=t[i]),this.edges.push(u)}},o.updateSettings=function(){if(this.repulsionByDegree)for(var e=0;e<this.nodes.length;e++){var t=this.nodes[e];t.mass=t.inDegree+t.outDegree+1}else for(e=0;e<this.nodes.length;e++){t=this.nodes[e];t.mass=this._massArr[e]}},o.update=function(){var t=this.nodes.length;if(this.updateSettings(),this.updateBBox(),this.barnesHutOptimize){this.rootRegion.setBBox(this.bbox[0],this.bbox[1],this.bbox[2],this.bbox[3]),this.rootRegion.beforeUpdate();for(var n=0;n<t;n++)this.rootRegion.addNode(this.nodes[n]);this.rootRegion.afterUpdate()}for(n=0;n<t;n++){var i=this.nodes[n];e.copy(i.forcePrev,i.force),e.set(i.force,0,0)}for(n=0;n<t;n++){var r=this.nodes[n];if(this.barnesHutOptimize)this.applyRegionToNodeRepulsion(this.rootRegion,r);else for(var a=n+1;a<t;a++){var o=this.nodes[a];this.applyNodeToNodeRepulsion(r,o,!1)}this.gravity>0&&(this.strongGravityMode?this.applyNodeStrongGravity(r):this.applyNodeGravity(r))}for(n=0;n<this.edges.length;n++)this.applyEdgeAttraction(this.edges[n]);var s=0,l=0,u=e.create();for(n=0;n<t;n++){i=this.nodes[n];var c=e.dist(i.force,i.forcePrev);s+=c*i.mass,e.add(u,i.force,i.forcePrev);var h=.5*e.len(u);l+=h*i.mass,this._swingingArr[n]=c}var d=this.jitterTolerence*this.jitterTolerence*l/s;this._globalSpeed>0&&(d=Math.min(d/this._globalSpeed,1.5)*this._globalSpeed),this._globalSpeed=d;for(n=0;n<t;n++){i=this.nodes[n],c=this._swingingArr[n];var f=.1*d/(1+d*Math.sqrt(c)),p=e.len(i.force);p>0&&(f=Math.min(p*f,10)/p,e.scaleAndAdd(i.position,i.position,i.force,f))}},o.applyRegionToNodeRepulsion=function(){var t=e.create();return function(n,i){if(n.node)this.applyNodeToNodeRepulsion(n.node,i,!0);else{e.sub(t,i.position,n.centerOfMass);var r=t[0]*t[0]+t[1]*t[1];if(r>this.barnesHutTheta*n.size*n.size){var a=this.scaling*i.mass*n.mass/r;e.scaleAndAdd(i.force,i.force,t,a)}else for(var o=0;o<n.nSubRegions;o++)this.applyRegionToNodeRepulsion(n.subRegions[o],i)}}}(),o.applyNodeToNodeRepulsion=function(){var t=e.create();return function(n,i,r){if(n!=i){e.sub(t,n.position,i.position);var a=t[0]*t[0]+t[1]*t[1];if(0!==a){var o;if(this.preventOverlap){var s=Math.sqrt(a);if(s=s-n.size-i.size,s>0)o=this.scaling*n.mass*i.mass/(s*s);else{if(!(s<0))return;o=100*this.scaling*n.mass*i.mass}}else o=this.scaling*n.mass*i.mass/a;e.scaleAndAdd(n.force,n.force,t,o),e.scaleAndAdd(i.force,i.force,t,-o)}}}}(),o.applyEdgeAttraction=function(){var t=e.create();return function(n){var i=n.source,r=n.target;e.sub(t,i.position,r.position);var a,o,s=e.len(t);a=0===this.edgeWeightInfluence?1:1===this.edgeWeightInfluence?n.weight:Math.pow(n.weight,this.edgeWeightInfluence),this.preventOverlap&&(s=s-i.size-r.size,s<=0)||(o=this.linLogMode?-a*Math.log(s+1)/(s+1):-a,e.scaleAndAdd(i.force,i.force,t,o),e.scaleAndAdd(r.force,r.force,t,-o))}}(),o.applyNodeGravity=function(){var t=e.create();return function(n){e.sub(t,this.gravityCenter,n.position);var i=e.len(t);e.scaleAndAdd(n.force,n.force,t,this.gravity*n.mass/(i+1))}}(),o.applyNodeStrongGravity=function(){var t=e.create();return function(n){e.sub(t,this.gravityCenter,n.position),e.scaleAndAdd(n.force,n.force,t,this.gravity*n.mass)}}(),o.updateBBox=function(){for(var e=1/0,t=1/0,n=-1/0,i=-1/0,r=0;r<this.nodes.length;r++){var a=this.nodes[r].position;e=Math.min(e,a[0]),t=Math.min(t,a[1]),n=Math.max(n,a[0]),i=Math.max(i,a[1])}this.bbox[0]=e,this.bbox[1]=t,this.bbox[2]=n,this.bbox[3]=i},o.getGlobalSpeed=function(){return this._globalSpeed};var s=null;self.onmessage=function(e){switch(e.data.cmd){case"init":s=new a,s.initNodes(e.data.nodesPosition,e.data.nodesMass,e.data.nodesSize),s.initEdges(e.data.edges,e.data.edgesWeight);break;case"updateConfig":if(s)for(var t in e.data.config)s[t]=e.data.config[t];break;case"update":var n=e.data.steps;if(s){for(var i=0;i<n;i++)s.update();var r=s.nodes.length,o=new Float32Array(2*r);for(i=0;i<r;i++){var l=s.nodes[i];o[2*i]=l.position[0],o[2*i+1]=l.position[1]}self.postMessage({buffer:o.buffer,globalSpeed:s.getGlobalSpeed()},[o.buffer])}else{var u=new Float32Array;self.postMessage({buffer:u.buffer,globalSpeed:s.getGlobalSpeed()},[u.buffer])}break}}}var Gse=Vse,Wse=Gse.toString();Wse=Wse.slice(Wse.indexOf("{")+1,Wse.lastIndexOf("}"));var Use={barnesHutOptimize:!0,barnesHutTheta:1.5,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null},Xse=function(e){for(var t in Use)this[t]=Use[t];if(e)for(var t in e)this[t]=e[t];this._nodes=[],this._edges=[],this._disposed=!1,this._positionTex=new W9({type:R9.FLOAT,flipY:!1,minFilter:R9.NEAREST,magFilter:R9.NEAREST})};Xse.prototype.initData=function(e,t){var n=new Blob([Wse]),i=window.URL.createObjectURL(n);this._worker=new Worker(i),this._worker.onmessage=this._$onupdate.bind(this),this._nodes=e,this._edges=t,this._frame=0;for(var r=e.length,a=t.length,o=new Float32Array(2*r),s=new Float32Array(r),l=new Float32Array(r),u=new Float32Array(2*a),c=new Float32Array(a),h=0;h<e.length;h++){var d=e[h];o[2*h]=d.x,o[2*h+1]=d.y,s[h]=null==d.mass?1:d.mass,l[h]=null==d.size?1:d.size}for(h=0;h<t.length;h++){var f=t[h],p=f.node1,m=f.node2;u[2*h]=p,u[2*h+1]=m,c[h]=null==f.weight?1:f.weight}var g=Math.ceil(Math.sqrt(e.length)),y=g,v=new Float32Array(g*y*4),_=this._positionTex;_.width=g,_.height=y,_.pixels=v,this._worker.postMessage({cmd:"init",nodesPosition:o,nodesMass:s,nodesSize:l,edges:u,edgesWeight:c}),this._globalSpeed=1/0},Xse.prototype.updateOption=function(e){var t={};for(var n in Use)t[n]=Use[n];var i=this._nodes,r=this._edges,a=i.length;if(t.jitterTolerence=a>5e4?10:a>5e3?1:.1,t.scaling=a>100?2:10,t.barnesHutOptimize=a>1e3,e)for(var n in Use)null!=e[n]&&(t[n]=e[n]);if(!t.gravityCenter){for(var o=[1/0,1/0],s=[-1/0,-1/0],l=0;l<i.length;l++)o[0]=Math.min(i[l].x,o[0]),o[1]=Math.min(i[l].y,o[1]),s[0]=Math.max(i[l].x,s[0]),s[1]=Math.max(i[l].y,s[1]);t.gravityCenter=[.5*(o[0]+s[0]),.5*(o[1]+s[1])]}for(l=0;l<r.length;l++){var u=r[l].node1,c=r[l].node2;i[u].degree=(i[u].degree||0)+1,i[c].degree=(i[c].degree||0)+1}this._worker&&this._worker.postMessage({cmd:"updateConfig",config:t})},Xse.prototype.update=function(e,t,n){null==t&&(t=1),t=Math.max(t,1),this._frame+=t,this._onupdate=n,this._worker&&this._worker.postMessage({cmd:"update",steps:Math.round(t)})},Xse.prototype._$onupdate=function(e){if(!this._disposed){var t=new Float32Array(e.data.buffer);this._globalSpeed=e.data.globalSpeed,this._positionArr=t,this._updateTexture(t),this._onupdate&&this._onupdate()}},Xse.prototype.getNodePositionTexture=function(){return this._positionTex},Xse.prototype.getNodeUV=function(e,t){t=t||[];var n=this._positionTex.width,i=this._positionTex.height;return t[0]=e%n/(n-1),t[1]=Math.floor(e/n)/(i-1),t},Xse.prototype.getNodes=function(){return this._nodes},Xse.prototype.getEdges=function(){return this._edges},Xse.prototype.isFinished=function(e){return this._frame>e},Xse.prototype.getNodePosition=function(e,t){if(t||(t=new Float32Array(2*this._nodes.length)),this._positionArr)for(var n=0;n<this._positionArr.length;n++)t[n]=this._positionArr[n];return t},Xse.prototype._updateTexture=function(e){for(var t=this._positionTex.pixels,n=0,i=0;i<e.length;)t[n++]=e[i++],t[n++]=e[i++],t[n++]=1,t[n++]=1;this._positionTex.dirty()},Xse.prototype.dispose=function(e){this._disposed=!0,this._worker=null};var Zse=Xse,qse=l4.extend((function(){return{zr:null,viewGL:null,minZoom:.2,maxZoom:5,_needsUpdate:!1,_dx:0,_dy:0,_zoom:1}}),(function(){this._mouseDownHandler=this._mouseDownHandler.bind(this),this._mouseWheelHandler=this._mouseWheelHandler.bind(this),this._mouseMoveHandler=this._mouseMoveHandler.bind(this),this._mouseUpHandler=this._mouseUpHandler.bind(this),this._update=this._update.bind(this)}),{init:function(){var e=this.zr;e.on("mousedown",this._mouseDownHandler),e.on("mousewheel",this._mouseWheelHandler),e.on("globalout",this._mouseUpHandler),e.animation.on("frame",this._update)},setTarget:function(e){this._target=e},setZoom:function(e){this._zoom=Math.max(Math.min(e,this.maxZoom),this.minZoom),this._needsUpdate=!0},setOffset:function(e){this._dx=e[0],this._dy=e[1],this._needsUpdate=!0},getZoom:function(){return this._zoom},getOffset:function(){return[this._dx,this._dy]},_update:function(){if(this._target&&this._needsUpdate){var e=this._target,t=this._zoom;e.position.x=this._dx,e.position.y=this._dy,e.scale.set(t,t,t),this.zr.refresh(),this._needsUpdate=!1,this.trigger("update")}},_mouseDownHandler:function(e){if(!e.target){var t=e.offsetX,n=e.offsetY;if(!this.viewGL||this.viewGL.containPoint(t,n)){this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler);var i=this._convertPos(t,n);this._x=i.x,this._y=i.y}}},_convertPos:function(e,t){var n=this.viewGL.camera,i=this.viewGL.viewport;return{x:(e-i.x)/i.width*(n.right-n.left)+n.left,y:(t-i.y)/i.height*(n.bottom-n.top)+n.top}},_mouseMoveHandler:function(e){var t=this._convertPos(e.offsetX,e.offsetY);this._dx+=t.x-this._x,this._dy+=t.y-this._y,this._x=t.x,this._y=t.y,this._needsUpdate=!0},_mouseUpHandler:function(e){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_mouseWheelHandler:function(e){e=e.event;var t=e.wheelDelta||-e.detail;if(0!==t){var n=e.offsetX,i=e.offsetY;if(!this.viewGL||this.viewGL.containPoint(n,i)){var r=t>0?1.1:.9,a=Math.max(Math.min(this._zoom*r,this.maxZoom),this.minZoom);r=a/this._zoom;var o=this._convertPos(n,i),s=(o.x-this._dx)*(r-1),l=(o.y-this._dy)*(r-1);this._dx-=s,this._dy-=l,this._zoom=a,this._needsUpdate=!0}}},dispose:function(){var e=this.zr;e.off("mousedown",this._mouseDownHandler),e.off("mousemove",this._mouseMoveHandler),e.off("mouseup",this._mouseUpHandler),e.off("mousewheel",this._mouseWheelHandler),e.off("globalout",this._mouseUpHandler),e.animation.off("frame",this._update)}}),$se=qse,Jse="@export ecgl.lines2D.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec2 position: POSITION;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\n#ifdef POSITIONTEXTURE_ENABLED\nuniform sampler2D positionTexture;\n#endif\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(position, -10.0, 1.0);\n\n v_Color = a_Color;\n}\n\n@end\n\n@export ecgl.lines2D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\nvoid main()\n{\n gl_FragColor = color * v_Color;\n}\n@end\n\n\n@export ecgl.meshLines2D.vertex\n\nattribute vec2 position: POSITION;\nattribute vec2 normal;\nattribute float offset;\nattribute vec4 a_Color : COLOR;\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\n\nvarying vec4 v_Color;\nvarying float v_Miter;\n\nvoid main()\n{\n vec4 p2 = worldViewProjection * vec4(position + normal, -10.0, 1.0);\n gl_Position = worldViewProjection * vec4(position, -10.0, 1.0);\n\n p2.xy /= p2.w;\n gl_Position.xy /= gl_Position.w;\n\n vec2 N = normalize(p2.xy - gl_Position.xy);\n gl_Position.xy += N * offset / viewport.zw * 2.0;\n\n gl_Position.xy *= gl_Position.w;\n\n v_Color = a_Color;\n}\n@end\n\n\n@export ecgl.meshLines2D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\nvarying float v_Miter;\n\nvoid main()\n{\n gl_FragColor = color * v_Color;\n}\n\n@end",Kse=Pee.vec2;see.Shader.import(Jse);var Qse=1,ele=dy.extend({type:"graphGL",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this.viewGL=new Vne("orthographic"),this.viewGL.camera.left=this.viewGL.camera.right=0,this.viewGL.add(this.groupGL),this._pointsBuilder=new Eoe(!0,t),this._forceEdgesMesh=new see.Mesh({material:new see.Material({shader:see.createShader("ecgl.forceAtlas2.edges"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new see.Geometry({attributes:{node:new see.Geometry.Attribute("node","float",2),color:new see.Geometry.Attribute("color","float",4,"COLOR")},dynamic:!0,mainAttribute:"node"}),renderOrder:-1,mode:see.Mesh.LINES}),this._edgesMesh=new see.Mesh({material:new see.Material({shader:see.createShader("ecgl.meshLines2D"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new zse({useNativeLine:!1,dynamic:!0}),renderOrder:-1,culling:!1}),this._layoutId=0,this._control=new $se({zr:t.getZr(),viewGL:this.viewGL}),this._control.setTarget(this.groupGL),this._control.init(),this._clickHandler=this._clickHandler.bind(this)},render:function(e,t,n){this.groupGL.add(this._pointsBuilder.rootNode),this._model=e,this._api=n,this._initLayout(e,t,n),this._pointsBuilder.update(e,t,n),this._forceLayoutInstance instanceof Bse||this.groupGL.remove(this._forceEdgesMesh),this._updateCamera(e,n),this._control.off("update"),this._control.on("update",(function(){n.dispatchAction({type:"graphGLRoam",seriesId:e.id,zoom:this._control.getZoom(),offset:this._control.getOffset()}),this._pointsBuilder.updateView(this.viewGL.camera)}),this),this._control.setZoom(y7.firstNotNull(e.get("zoom"),1)),this._control.setOffset(e.get("offset")||[0,0]);var i=this._pointsBuilder.getPointsMesh();if(i.off("mousemove",this._mousemoveHandler),i.off("mouseout",this._mouseOutHandler,this),n.getZr().off("click",this._clickHandler),this._pointsBuilder.highlightOnMouseover=!0,e.get("focusNodeAdjacency")){var r=e.get("focusNodeAdjacencyOn");"click"===r?n.getZr().on("click",this._clickHandler):"mouseover"===r&&(i.on("mousemove",this._mousemoveHandler,this),i.on("mouseout",this._mouseOutHandler,this),this._pointsBuilder.highlightOnMouseover=!1)}this._lastMouseOverDataIndex=-1},_clickHandler:function(e){if(!this._layouting){var t=this._pointsBuilder.getPointsMesh().dataIndex;t>=0?this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:t}):this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id})}},_mousemoveHandler:function(e){if(!this._layouting){var t=this._pointsBuilder.getPointsMesh().dataIndex;t>=0?t!==this._lastMouseOverDataIndex&&this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:t}):this._mouseOutHandler(e),this._lastMouseOverDataIndex=t}},_mouseOutHandler:function(e){this._layouting||(this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id}),this._lastMouseOverDataIndex=-1)},_updateForceEdgesGeometry:function(e,t){var n=this._forceEdgesMesh.geometry,i=t.getEdgeData(),r=0,a=this._forceLayoutInstance,o=2*i.count();n.attributes.node.init(o),n.attributes.color.init(o),i.each((function(t){var o=e[t];n.attributes.node.set(r,a.getNodeUV(o.node1)),n.attributes.node.set(r+1,a.getNodeUV(o.node2));var s=Kie(i,o.dataIndex),l=see.parseColor(s);l[3]*=y7.firstNotNull(Qie(i,o.dataIndex),1),n.attributes.color.set(r,l),n.attributes.color.set(r+1,l),r+=2})),n.dirty()},_updateMeshLinesGeometry:function(){var e=this._model.getEdgeData(),t=this._edgesMesh.geometry,n=(e=this._model.getEdgeData(),this._model.getData().getLayout("points"));t.resetOffset(),t.setVertexCount(e.count()*t.getLineVertexCount()),t.setTriangleCount(e.count()*t.getLineTriangleCount());var i=[],r=[],a=["lineStyle","width"];this._originalEdgeColors=new Float32Array(4*e.count()),this._edgeIndicesMap=new Float32Array(e.count()),e.each((function(o){var s=e.graph.getEdgeByIndex(o),l=2*s.node1.dataIndex,u=2*s.node2.dataIndex;i[0]=n[l],i[1]=n[l+1],r[0]=n[u],r[1]=n[u+1];var c=Kie(e,s.dataIndex),h=see.parseColor(c);h[3]*=y7.firstNotNull(Qie(e,s.dataIndex),1);var d=e.getItemModel(s.dataIndex),f=y7.firstNotNull(d.get(a),1)*this._api.getDevicePixelRatio();t.addLine(i,r,h,f);for(var p=0;p<4;p++)this._originalEdgeColors[4*s.dataIndex+p]=h[p];this._edgeIndicesMap[s.dataIndex]=o}),this),t.dirty()},_updateForceNodesGeometry:function(e){for(var t=this._pointsBuilder.getPointsMesh(),n=[],i=0;i<e.count();i++)this._forceLayoutInstance.getNodeUV(i,n),t.geometry.attributes.position.set(i,n);t.geometry.dirty("position")},_initLayout:function(e,t,n){var i=e.get("layout"),r=e.getGraph(),a=e.getBoxLayoutParams(),o=ah(a,{width:n.getWidth(),height:n.getHeight()});"force"===i&&(i="forceAtlas2"),this.stopLayout(e,t,n,{beforeLayout:!0});var l=e.getData(),u=e.getData();if("forceAtlas2"===i){var c=e.getModel("forceAtlas2"),h=this._forceLayoutInstance,d=[],f=[],p=l.getDataExtent("value"),m=u.getDataExtent("value"),g=y7.firstNotNull(c.get("edgeWeight"),1),y=y7.firstNotNull(c.get("nodeWeight"),1);"number"===typeof g&&(g=[g,g]),"number"===typeof y&&(y=[y,y]);var v=0,_={},x=new Float32Array(2*l.count());if(r.eachNode((function(e){var t,n,i=e.dataIndex,r=l.get("value",i);if(l.hasItemOption){var a=l.getItemModel(i);t=a.get("x"),n=a.get("y")}null==t&&(t=o.x+Math.random()*o.width,n=o.y+Math.random()*o.height),x[2*v]=t,x[2*v+1]=n,_[e.id]=v++;var u=s.linearMap(r,p,y);isNaN(u)&&(u=isNaN(y[0])?1:y[0]),d.push({x:t,y:n,mass:u,size:l.getItemVisual(i,"symbolSize")})})),l.setLayout("points",x),r.eachEdge((function(e){var t=e.dataIndex,n=l.get("value",t),i=s.linearMap(n,m,g);isNaN(i)&&(i=isNaN(g[0])?1:g[0]),f.push({node1:_[e.node1.id],node2:_[e.node2.id],weight:i,dataIndex:t})})),!h){var b=c.get("GPU");this._forceLayoutInstance&&((!b||this._forceLayoutInstance instanceof Bse)&&(b||this._forceLayoutInstance instanceof Zse)||(this._forceLayoutInstanceToDispose=this._forceLayoutInstance)),h=this._forceLayoutInstance=b?new Bse:new Zse}h.initData(d,f),h.updateOption(c.option),this._updateForceEdgesGeometry(h.getEdges(),e),this._updatePositionTexture(),n.dispatchAction({type:"graphGLStartLayout",from:this.uid})}else{x=new Float32Array(2*l.count()),v=0;r.eachNode((function(e){var t,n,i=e.dataIndex;if(l.hasItemOption){var r=l.getItemModel(i);t=r.get("x"),n=r.get("y")}x[v++]=t,x[v++]=n})),l.setLayout("points",x),this._updateAfterLayout(e,t,n)}},_updatePositionTexture:function(){var e=this._forceLayoutInstance.getNodePositionTexture();this._pointsBuilder.setPositionTexture(e),this._forceEdgesMesh.material.set("positionTex",e)},startLayout:function(e,t,n,i){if(!i||null==i.from||i.from===this.uid){var r=this.viewGL,a=(n=this._api,this._forceLayoutInstance),o=this._model.getData(),s=this._model.getModel("forceAtlas2");if(a&&(this.groupGL.remove(this._edgesMesh),this.groupGL.add(this._forceEdgesMesh),this._forceLayoutInstance)){this._updateForceNodesGeometry(e.getData()),this._pointsBuilder.hideLabels();var l=this,u=this._layoutId=Qse++,c=s.getShallow("maxSteps"),h=s.getShallow("steps"),d=0,f=Math.max(2*h,20),p=function(t){if(t===l._layoutId)return a.isFinished(c)?(n.dispatchAction({type:"graphGLStopLayout",from:l.uid}),void n.dispatchAction({type:"graphGLFinishLayout",points:o.getLayout("points"),from:l.uid})):void a.update(r.layer.renderer,h,(function(){l._updatePositionTexture(),d+=h,d>=f&&(l._syncNodePosition(e),d=0),n.getZr().refresh(),vt((function(){p(t)}))}))};vt((function(){l._forceLayoutInstanceToDispose&&(l._forceLayoutInstanceToDispose.dispose(r.layer.renderer),l._forceLayoutInstanceToDispose=null),p(u)})),this._layouting=!0}}},stopLayout:function(e,t,n,i){i&&null!=i.from&&i.from!==this.uid||(this._layoutId=0,this.groupGL.remove(this._forceEdgesMesh),this.groupGL.add(this._edgesMesh),this._forceLayoutInstance&&this.viewGL.layer&&(i&&i.beforeLayout||(this._syncNodePosition(e),this._updateAfterLayout(e,t,n)),this._api.getZr().refresh(),this._layouting=!1))},_syncNodePosition:function(e){var t=this._forceLayoutInstance.getNodePosition(this.viewGL.layer.renderer);e.getData().setLayout("points",t),e.setNodePosition(t)},_updateAfterLayout:function(e,t,n){this._updateMeshLinesGeometry(),this._pointsBuilder.removePositionTexture(),this._pointsBuilder.updateLayout(e,t,n),this._pointsBuilder.updateView(this.viewGL.camera),this._pointsBuilder.updateLabels(),this._pointsBuilder.showLabels()},focusNodeAdjacency:function(e,t,n,i){var r=this._model.getData();this._downplayAll();var a=i.dataIndex,o=r.graph,s=[],l=o.getNodeByIndex(a);s.push(l),l.edges.forEach((function(e){e.dataIndex<0||(e.node1!==l&&s.push(e.node1),e.node2!==l&&s.push(e.node2))}),this),this._pointsBuilder.fadeOutAll(.05),this._fadeOutEdgesAll(.05),s.forEach((function(e){this._pointsBuilder.highlight(r,e.dataIndex)}),this),this._pointsBuilder.updateLabels(s.map((function(e){return e.dataIndex})));var u=[];l.edges.forEach((function(e){e.dataIndex>=0&&(this._highlightEdge(e.dataIndex),u.push(e))}),this),this._focusNodes=s,this._focusEdges=u},unfocusNodeAdjacency:function(e,t,n,i){this._downplayAll(),this._pointsBuilder.fadeInAll(),this._fadeInEdgesAll(),this._pointsBuilder.updateLabels()},_highlightEdge:function(e){var t=this._model.getEdgeData().getItemModel(e),n=see.parseColor(t.get("emphasis.lineStyle.color")||t.get("lineStyle.color")),i=y7.firstNotNull(t.get("emphasis.lineStyle.opacity"),t.get("lineStyle.opacity"),1);n[3]*=i,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[e],n)},_downplayAll:function(){this._focusNodes&&this._focusNodes.forEach((function(e){this._pointsBuilder.downplay(this._model.getData(),e.dataIndex)}),this),this._focusEdges&&this._focusEdges.forEach((function(e){this._downplayEdge(e.dataIndex)}),this)},_downplayEdge:function(e){var t=this._getColor(e,[]);this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[e],t)},_setEdgeFade:function(){var e=[];return function(t,n){this._getColor(t,e),e[3]*=n,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[t],e)}}(),_getColor:function(e,t){for(var n=0;n<4;n++)t[n]=this._originalEdgeColors[4*e+n];return t},_fadeOutEdgesAll:function(e){var t=this._model.getData().graph;t.eachEdge((function(t){this._setEdgeFade(t.dataIndex,e)}),this)},_fadeInEdgesAll:function(){this._fadeOutEdgesAll(1)},_updateCamera:function(e,t){this.viewGL.setViewport(0,0,t.getWidth(),t.getHeight(),t.getDevicePixelRatio());for(var n=this.viewGL.camera,i=e.getData(),r=i.getLayout("points"),a=Kse.create(1/0,1/0),o=Kse.create(-1/0,-1/0),s=[],l=0;l<r.length;)s[0]=r[l++],s[1]=r[l++],Kse.min(a,a,s),Kse.max(o,o,s);var u=(o[1]+a[1])/2,c=(o[0]+a[0])/2;if(!(c>n.left&&c<n.right&&u<n.bottom&&u>n.top)){var h=Math.max(o[0]-a[0],10),d=h/t.getWidth()*t.getHeight();h*=1.4,d*=1.4,a[0]-=.2*h,n.left=a[0],n.top=u-d/2,n.bottom=u+d/2,n.right=h+a[0],n.near=0,n.far=100}},dispose:function(){var e=this.viewGL.layer.renderer;this._forceLayoutInstance&&this._forceLayoutInstance.dispose(e),this.groupGL.removeAll(),this._layoutId=-1,this._pointsBuilder.dispose()},remove:function(){this.groupGL.removeAll(),this._control.dispose()}});function tle(e){return e instanceof Array||(e=[e,e]),e}function nle(e){function t(){}e.registerChartView(ele),e.registerSeriesModel(Pse),e.registerVisual((function(e){const t={};e.eachSeriesByType("graphGL",(function(e){var n=e.getCategoriesData(),i=e.getData(),r={};n.each((function(i){var a=n.getName(i);r["ec-"+a]=i;var o=n.getItemModel(i),s=o.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(a,t)),n.setItemVisual(i,"style",s);var l=["symbol","symbolSize","symbolKeepAspect"];for(let e=0;e<l.length;e++){var u=o.getShallow(l[e],!0);null!=u&&n.setItemVisual(i,l[e],u)}})),n.count()&&i.each((function(e){var t=i.getItemModel(e);let a=t.getShallow("category");if(null!=a){"string"===typeof a&&(a=r["ec-"+a]);var o=n.getItemVisual(a,"style"),s=i.ensureUniqueItemVisual(e,"style");c.extend(s,o);var l=["symbol","symbolSize","symbolKeepAspect"];for(let t=0;t<l.length;t++)i.setItemVisual(e,l[t],n.getItemVisual(a,l[t]))}}))}))})),e.registerVisual((function(e){e.eachSeriesByType("graphGL",(function(e){var t=e.getGraph(),n=e.getEdgeData(),i=tle(e.get("edgeSymbol")),r=tle(e.get("edgeSymbolSize"));n.setVisual("drawType","stroke"),n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each((function(e){var i=n.getItemModel(e),r=t.getEdgeByIndex(e),a=tle(i.getShallow("symbol",!0)),o=tle(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(e,"style");switch(c.extend(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill;break}a[0]&&r.setVisual("fromSymbol",a[0]),a[1]&&r.setVisual("toSymbol",a[1]),o[0]&&r.setVisual("fromSymbolSize",o[0]),o[1]&&r.setVisual("toSymbolSize",o[1])}))}))})),e.registerAction({type:"graphGLRoam",event:"graphglroam",update:"series.graphGL:roam"},(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){t.setView(e)}))})),e.registerAction({type:"graphGLStartLayout",event:"graphgllayoutstarted",update:"series.graphGL:startLayout"},t),e.registerAction({type:"graphGLStopLayout",event:"graphgllayoutstopped",update:"series.graphGL:stopLayout"},t),e.registerAction({type:"graphGLFocusNodeAdjacency",event:"graphGLFocusNodeAdjacency",update:"series.graphGL:focusNodeAdjacency"},t),e.registerAction({type:"graphGLUnfocusNodeAdjacency",event:"graphGLUnfocusNodeAdjacency",update:"series.graphGL:unfocusNodeAdjacency"},t)}IM(nle);var ile=Vp.extend({type:"series.flowGL",dependencies:["geo","grid","bmap"],visualStyleAccessPath:"itemStyle",getInitialData:function(e,t){var n=this.get("coordinateSystem"),i="geo"===n?["lng","lat"]:Wx(n)||["x","y"];i.push("vx","vy");var r=o.createDimensions(this.getSource(),{coordDimensions:i,encodeDefine:this.get("encode"),dimensionsDefine:this.get("dimensions")}),a=new Eb(r,this);return a.initData(this.getSource()),a},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,supersampling:1,particleType:"point",particleDensity:128,particleSize:1,particleSpeed:1,particleTrail:2,colorTexture:null,gridWidth:"auto",gridHeight:"auto",itemStyle:{color:"#fff",opacity:.8}}}),rle=r8.extend((function(){return{dynamic:!0,attributes:{position:new r8.Attribute("position","float",3,"POSITION")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setLineCount:function(e){var t=this.attributes,n=4*e,i=2*e;this.vertexCount!==n&&t.position.init(n),this.triangleCount!==i&&(this.indices=0===i?null:this.vertexCount>65535?new Uint32Array(3*i):new Uint16Array(3*i))},addLine:function(e){var t=this._vertexOffset;this.attributes.position.set(t,[e[0],e[1],1]),this.attributes.position.set(t+1,[e[0],e[1],-1]),this.attributes.position.set(t+2,[e[0],e[1],2]),this.attributes.position.set(t+3,[e[0],e[1],-2]),this.setTriangleIndices(this._faceOffset++,[t,t+1,t+2]),this.setTriangleIndices(this._faceOffset++,[t+1,t+2,t+3]),this._vertexOffset+=4}}),ale=rle,ole="@export ecgl.vfParticle.particle.fragment\n\nuniform sampler2D particleTexture;\nuniform sampler2D spawnTexture;\nuniform sampler2D velocityTexture;\n\nuniform float deltaTime;\nuniform float elapsedTime;\n\nuniform float speedScaling : 1.0;\n\nuniform vec2 textureSize;\nuniform vec4 region : [0, 0, 1, 1];\nuniform float firstFrameTime;\n\nvarying vec2 v_Texcoord;\n\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, v_Texcoord);\n bool spawn = false;\n if (p.w <= 0.0) {\n p = texture2D(spawnTexture, fract(v_Texcoord + elapsedTime / 10.0));\n p.w -= firstFrameTime;\n spawn = true;\n }\n vec2 v = texture2D(velocityTexture, fract(p.xy * region.zw + region.xy)).xy;\n v = (v - 0.5) * 2.0;\n p.z = length(v);\n p.xy += v * deltaTime / 10.0 * speedScaling;\n p.w -= deltaTime;\n\n if (spawn || p.xy != fract(p.xy)) {\n p.z = 0.0;\n }\n p.xy = fract(p.xy);\n\n gl_FragColor = p;\n}\n@end\n\n@export ecgl.vfParticle.renderPoints.vertex\n\n#define PI 3.1415926\n\nattribute vec2 texcoord : TEXCOORD_0;\n\nuniform sampler2D particleTexture;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nuniform float size : 1.0;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, texcoord);\n\n if (p.w > 0.0 && p.z > 1e-5) {\n gl_Position = worldViewProjection * vec4(p.xy * 2.0 - 1.0, 0.0, 1.0);\n }\n else {\n gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0);\n }\n\n v_Mag = p.z;\n v_Uv = p.xy;\n\n gl_PointSize = size;\n}\n\n@end\n\n@export ecgl.vfParticle.renderPoints.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform sampler2D gradientTexture;\nuniform sampler2D colorTexture;\nuniform sampler2D spriteTexture;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n gl_FragColor = color;\n#ifdef SPRITETEXTURE_ENABLED\n gl_FragColor *= texture2D(spriteTexture, gl_PointCoord);\n if (color.a == 0.0) {\n discard;\n }\n#endif\n#ifdef GRADIENTTEXTURE_ENABLED\n gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5));\n#endif\n#ifdef COLORTEXTURE_ENABLED\n gl_FragColor *= texture2D(colorTexture, v_Uv);\n#endif\n}\n\n@end\n\n@export ecgl.vfParticle.renderLines.vertex\n\n#define PI 3.1415926\n\nattribute vec3 position : POSITION;\n\nuniform sampler2D particleTexture;\nuniform sampler2D prevParticleTexture;\n\nuniform float size : 1.0;\nuniform vec4 vp: VIEWPORT;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\n@import clay.util.rand\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, position.xy);\n vec4 p2 = texture2D(prevParticleTexture, position.xy);\n\n p.xy = p.xy * 2.0 - 1.0;\n p2.xy = p2.xy * 2.0 - 1.0;\n\n if (p.w > 0.0 && p.z > 1e-5) {\n vec2 dir = normalize(p.xy - p2.xy);\n vec2 norm = vec2(dir.y / vp.z, -dir.x / vp.w) * sign(position.z) * size;\n if (abs(position.z) == 2.0) {\n gl_Position = vec4(p.xy + norm, 0.0, 1.0);\n v_Uv = p.xy;\n v_Mag = p.z;\n }\n else {\n gl_Position = vec4(p2.xy + norm, 0.0, 1.0);\n v_Mag = p2.z;\n v_Uv = p2.xy;\n }\n gl_Position = worldViewProjection * gl_Position;\n }\n else {\n gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0);\n }\n}\n\n@end\n\n@export ecgl.vfParticle.renderLines.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform sampler2D gradientTexture;\nuniform sampler2D colorTexture;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n gl_FragColor = color;\n #ifdef GRADIENTTEXTURE_ENABLED\n gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5));\n#endif\n#ifdef COLORTEXTURE_ENABLED\n gl_FragColor *= texture2D(colorTexture, v_Uv);\n#endif\n}\n\n@end\n";function sle(e){var t=document.createElement("canvas");t.width=t.height=e;var n=t.getContext("2d");return n.fillStyle="#fff",n.arc(e/2,e/2,e/2,0,2*Math.PI),n.fill(),t}I5["import"](ole);var lle=function(){this.motionBlurFactor=.99,this.vectorFieldTexture=new W9({type:R9.FLOAT,flipY:!1}),this.particleLife=[5,20],this._particleType="point",this._particleSize=1,this.particleColor=[1,1,1,1],this.particleSpeedScaling=1,this._thisFrameTexture=null,this._particlePass=null,this._spawnTexture=null,this._particleTexture0=null,this._particleTexture1=null,this._particlePointsMesh=null,this._surfaceFrameBuffer=null,this._elapsedTime=0,this._scene=null,this._camera=null,this._lastFrameTexture=null,this._supersampling=1,this._downsampleTextures=[],this._width=512,this._height=512,this.init()};lle.prototype={constructor:lle,init:function(){var e={type:R9.FLOAT,minFilter:R9.NEAREST,magFilter:R9.NEAREST,useMipmap:!1};this._spawnTexture=new W9(e),this._particleTexture0=new W9(e),this._particleTexture1=new W9(e),this._frameBuffer=new J8({depthBuffer:!1}),this._particlePass=new e7({fragment:I5.source("ecgl.vfParticle.particle.fragment")}),this._particlePass.setUniform("velocityTexture",this.vectorFieldTexture),this._particlePass.setUniform("spawnTexture",this._spawnTexture),this._downsamplePass=new e7({fragment:I5.source("clay.compositor.downsample")});var t=new z9({renderOrder:10,material:new F4({shader:new I5(I5.source("ecgl.vfParticle.renderPoints.vertex"),I5.source("ecgl.vfParticle.renderPoints.fragment"))}),mode:z9.POINTS,geometry:new r8({dynamic:!0,mainAttribute:"texcoord0"})}),n=new z9({renderOrder:10,material:new F4({shader:new I5(I5.source("ecgl.vfParticle.renderLines.vertex"),I5.source("ecgl.vfParticle.renderLines.fragment"))}),geometry:new ale,culling:!1}),i=new z9({material:new F4({shader:new I5(I5.source("ecgl.color.vertex"),I5.source("ecgl.color.fragment"))}),geometry:new n6});i.material.enableTexture("diffuseMap"),this._particlePointsMesh=t,this._particleLinesMesh=n,this._lastFrameFullQuadMesh=i,this._camera=new Z6,this._thisFrameTexture=new W9,this._lastFrameTexture=new W9},setParticleDensity:function(e,t){for(var n=e*t,i=new Float32Array(4*n),r=0,a=this.particleLife,o=0;o<e;o++)for(var s=0;s<t;s++,r++){i[4*r]=Math.random(),i[4*r+1]=Math.random(),i[4*r+2]=Math.random();var l=(a[1]-a[0])*Math.random()+a[0];i[4*r+3]=l}"line"===this._particleType?this._setLineGeometry(e,t):this._setPointsGeometry(e,t),this._spawnTexture.width=e,this._spawnTexture.height=t,this._spawnTexture.pixels=i,this._particleTexture0.width=this._particleTexture1.width=e,this._particleTexture0.height=this._particleTexture1.height=t,this._particlePass.setUniform("textureSize",[e,t])},_setPointsGeometry:function(e,t){var n=e*t,i=this._particlePointsMesh.geometry,r=i.attributes;r.texcoord0.init(n);for(var a=0,o=0;o<e;o++)for(var s=0;s<t;s++,a++)r.texcoord0.value[2*a]=o/e,r.texcoord0.value[2*a+1]=s/t;i.dirty()},_setLineGeometry:function(e,t){var n=e*t,i=this._getParticleMesh().geometry;i.setLineCount(n),i.resetOffset();for(var r=0;r<e;r++)for(var a=0;a<t;a++)i.addLine([r/e,a/t]);i.dirty()},_getParticleMesh:function(){return"line"===this._particleType?this._particleLinesMesh:this._particlePointsMesh},update:function(e,t,n,i){var r=this._getParticleMesh(),a=this._frameBuffer,o=this._particlePass;i&&this._updateDownsampleTextures(e,t),r.material.set("size",this._particleSize*this._supersampling),r.material.set("color",this.particleColor),o.setUniform("speedScaling",this.particleSpeedScaling),a.attach(this._particleTexture1),o.setUniform("firstFrameTime",i?(this.particleLife[1]+this.particleLife[0])/2:0),o.setUniform("particleTexture",this._particleTexture0),o.setUniform("deltaTime",n),o.setUniform("elapsedTime",this._elapsedTime),o.render(e,a),r.material.set("particleTexture",this._particleTexture1),r.material.set("prevParticleTexture",this._particleTexture0),a.attach(this._thisFrameTexture),a.bind(e),e.gl.clear(e.gl.DEPTH_BUFFER_BIT|e.gl.COLOR_BUFFER_BIT);var s=this._lastFrameFullQuadMesh;s.material.set("diffuseMap",this._lastFrameTexture),s.material.set("color",[1,1,1,this.motionBlurFactor]),this._camera.update(!0),e.renderPass([s,r],this._camera),a.unbind(e),this._downsample(e),this._swapTexture(),this._elapsedTime+=n},_downsample:function(e){var t=this._downsampleTextures;if(0!==t.length){var n=0,i=this._thisFrameTexture,r=t[n];while(r)this._frameBuffer.attach(r),this._downsamplePass.setUniform("texture",i),this._downsamplePass.setUniform("textureSize",[i.width,i.height]),this._downsamplePass.render(e,this._frameBuffer),i=r,r=t[++n]}},getSurfaceTexture:function(){var e=this._downsampleTextures;return e.length>0?e[e.length-1]:this._lastFrameTexture},setRegion:function(e){this._particlePass.setUniform("region",e)},resize:function(e,t){this._lastFrameTexture.width=e*this._supersampling,this._lastFrameTexture.height=t*this._supersampling,this._thisFrameTexture.width=e*this._supersampling,this._thisFrameTexture.height=t*this._supersampling,this._width=e,this._height=t},setParticleSize:function(e){var t=this._getParticleMesh();if(e<=2)return t.material.disableTexture("spriteTexture"),void(t.material.transparent=!1);this._spriteTexture||(this._spriteTexture=new W9),this._spriteTexture.image&&this._spriteTexture.image.width===e||(this._spriteTexture.image=sle(e),this._spriteTexture.dirty()),t.material.transparent=!0,t.material.enableTexture("spriteTexture"),t.material.set("spriteTexture",this._spriteTexture),this._particleSize=e},setGradientTexture:function(e){var t=this._getParticleMesh().material;t[e?"enableTexture":"disableTexture"]("gradientTexture"),t.setUniform("gradientTexture",e)},setColorTextureImage:function(e,t){var n=this._getParticleMesh().material;n.setTextureImage("colorTexture",e,t,{flipY:!0})},setParticleType:function(e){this._particleType=e},clearFrame:function(e){var t=this._frameBuffer;t.attach(this._lastFrameTexture),t.bind(e),e.gl.clear(e.gl.DEPTH_BUFFER_BIT|e.gl.COLOR_BUFFER_BIT),t.unbind(e)},setSupersampling:function(e){this._supersampling=e,this.resize(this._width,this._height)},_updateDownsampleTextures:function(e,t){for(var n=this._downsampleTextures,i=Math.max(Math.floor(Math.log(this._supersampling/t.getDevicePixelRatio())/Math.log(2)),0),r=2,a=this._width*this._supersampling,o=this._height*this._supersampling,s=0;s<i;s++)n[s]=n[s]||new W9,n[s].width=a/r,n[s].height=o/r,r*=2;for(;s<n.length;s++)n[s].dispose(e);n.length=i},_swapTexture:function(){var e=this._particleTexture0;this._particleTexture0=this._particleTexture1,this._particleTexture1=e;e=this._thisFrameTexture;this._thisFrameTexture=this._lastFrameTexture,this._lastFrameTexture=e},dispose:function(e){e.disposeFrameBuffer(this._frameBuffer),e.disposeTexture(this.vectorFieldTexture),e.disposeTexture(this._spawnTexture),e.disposeTexture(this._particleTexture0),e.disposeTexture(this._particleTexture1),e.disposeTexture(this._thisFrameTexture),e.disposeTexture(this._lastFrameTexture),e.disposeGeometry(this._particleLinesMesh.geometry),e.disposeGeometry(this._particlePointsMesh.geometry),e.disposeGeometry(this._lastFrameFullQuadMesh.geometry),this._spriteTexture&&e.disposeTexture(this._spriteTexture),this._particlePass.dispose(e),this._downsamplePass.dispose(e),this._downsampleTextures.forEach((function(t){t.dispose(e)}))}};var ule=lle,cle=dy.extend({type:"flowGL",__ecgl__:!0,init:function(e,t){this.viewGL=new Vne("orthographic"),this.groupGL=new see.Node,this.viewGL.add(this.groupGL),this._particleSurface=new ule;var n=new see.Mesh({geometry:new see.PlaneGeometry,material:new see.Material({shader:new see.Shader({vertex:see.Shader.source("ecgl.color.vertex"),fragment:see.Shader.source("ecgl.color.fragment")}),transparent:!0})});n.material.enableTexture("diffuseMap"),this.groupGL.add(n),this._planeMesh=n},render:function(e,t,n){var i=this._particleSurface;i.setParticleType(e.get("particleType")),i.setSupersampling(e.get("supersampling")),this._updateData(e,n),this._updateCamera(n.getWidth(),n.getHeight(),n.getDevicePixelRatio());var r=y7.firstNotNull(e.get("particleDensity"),128);i.setParticleDensity(r,r);var a=this._planeMesh,o=+new Date,s=this,l=!0;a.__percent=0,a.stopAnimation(),a.animate("",{loop:!0}).when(1e5,{__percent:1}).during((function(){var e=+new Date,t=Math.min(e-o,20);o+=t,s._renderer&&(i.update(s._renderer,n,t/1e3,l),a.material.set("diffuseMap",i.getSurfaceTexture())),l=!1})).start();var u=e.getModel("itemStyle"),c=see.parseColor(u.get("color"));c[3]*=y7.firstNotNull(u.get("opacity"),1),a.material.set("color",c),i.setColorTextureImage(e.get("colorTexture"),n),i.setParticleSize(e.get("particleSize")),i.particleSpeedScaling=e.get("particleSpeed"),i.motionBlurFactor=1-Math.pow(.1,e.get("particleTrail"))},updateTransform:function(e,t,n){this._updateData(e,n)},afterRender:function(e,t,n,i){var r=i.renderer;this._renderer=r},_updateData:function(e,t){var n=e.coordinateSystem,i=n.dimensions.map((function(t){return e.coordDimToDataDim(t)[0]})),r=e.getData(),a=r.getDataExtent(i[0]),o=r.getDataExtent(i[1]),s=e.get("gridWidth"),l=e.get("gridHeight");if(null==s||"auto"===s){var u=(a[1]-a[0])/(o[1]-o[0]);s=Math.round(Math.sqrt(u*r.count()))}null!=l&&"auto"!==l||(l=Math.ceil(r.count()/s));var c=this._particleSurface.vectorFieldTexture,h=c.pixels;if(h&&h.length===l*s*4)for(var d=0;d<h.length;d++)h[d]=0;else h=c.pixels=new Float32Array(s*l*4);var f=0,p=1/0,m=new Float32Array(2*r.count()),g=0,y=[[1/0,1/0],[-1/0,-1/0]];r.each([i[0],i[1],"vx","vy"],(function(e,t,i,r){var a=n.dataToPoint([e,t]);m[g++]=a[0],m[g++]=a[1],y[0][0]=Math.min(a[0],y[0][0]),y[0][1]=Math.min(a[1],y[0][1]),y[1][0]=Math.max(a[0],y[1][0]),y[1][1]=Math.max(a[1],y[1][1]);var o=Math.sqrt(i*i+r*r);f=Math.max(f,o),p=Math.min(p,o)})),r.each(["vx","vy"],(function(e,t,n){var i=Math.round((m[2*n]-y[0][0])/(y[1][0]-y[0][0])*(s-1)),r=l-1-Math.round((m[2*n+1]-y[0][1])/(y[1][1]-y[0][1])*(l-1)),a=4*(r*s+i);h[a]=e/f*.5+.5,h[a+1]=t/f*.5+.5,h[a+3]=1})),c.width=s,c.height=l,"bmap"===e.get("coordinateSystem")&&this._fillEmptyPixels(c),c.dirty(),this._updatePlanePosition(y[0],y[1],e,t),this._updateGradientTexture(r.getVisual("visualMeta"),[p,f])},_fillEmptyPixels:function(e){var t=e.pixels,n=e.width,i=e.height;function r(e,r,a){e=Math.max(Math.min(e,n-1),0),r=Math.max(Math.min(r,i-1),0);var o=4*(r*(n-1)+e);return 0!==t[o+3]&&(a[0]=t[o],a[1]=t[o+1],!0)}function a(e,t,n){n[0]=e[0]+t[0],n[1]=e[1]+t[1]}for(var o=[],s=[],l=[],u=[],c=[],h=0,d=0;d<i;d++)for(var f=0;f<n;f++){var p=4*(d*(n-1)+f);0===t[p+3]&&(h=o[0]=o[1]=0,r(f-1,d,s)&&(h++,a(s,o,o)),r(f+1,d,l)&&(h++,a(l,o,o)),r(f,d-1,u)&&(h++,a(u,o,o)),r(f,d+1,c)&&(h++,a(c,o,o)),o[0]/=h,o[1]/=h,t[p]=o[0],t[p+1]=o[1]),t[p+3]=1}},_updateGradientTexture:function(e,t){if(e&&e.length){this._gradientTexture=this._gradientTexture||new see.Texture2D({image:document.createElement("canvas")});var n=this._gradientTexture,i=n.image;i.width=200,i.height=1;var r=i.getContext("2d"),a=r.createLinearGradient(0,.5,i.width,.5);e[0].stops.forEach((function(e){var n;t[1]===t[0]?n=0:(n=e.value/t[1],n=Math.min(Math.max(n,0),1)),a.addColorStop(n,e.color)})),r.fillStyle=a,r.fillRect(0,0,i.width,i.height),n.dirty(),this._particleSurface.setGradientTexture(this._gradientTexture)}else this._particleSurface.setGradientTexture(null)},_updatePlanePosition:function(e,t,n,i){var r=this._limitInViewportAndFullFill(e,t,n,i);e=r.leftTop,t=r.rightBottom,this._particleSurface.setRegion(r.region),this._planeMesh.position.set((e[0]+t[0])/2,i.getHeight()-(e[1]+t[1])/2,0);var a=t[0]-e[0],o=t[1]-e[1];this._planeMesh.scale.set(a/2,o/2,1),this._particleSurface.resize(Math.max(Math.min(a,2048),1),Math.max(Math.min(o,2048),1)),this._renderer&&this._particleSurface.clearFrame(this._renderer)},_limitInViewportAndFullFill:function(e,t,n,i){var r=[Math.max(e[0],0),Math.max(e[1],0)],a=[Math.min(t[0],i.getWidth()),Math.min(t[1],i.getHeight())];if("bmap"===n.get("coordinateSystem")){var o=n.getData().getDataExtent(n.coordDimToDataDim("lng")[0]),s=Math.floor(o[1]-o[0])>=359;s&&(r[0]>0&&(r[0]=0),a[0]<i.getWidth()&&(a[0]=i.getWidth()))}var l=t[0]-e[0],u=t[1]-e[1],c=a[0]-r[0],h=a[1]-r[1],d=[(r[0]-e[0])/l,1-h/u-(r[1]-e[1])/u,c/l,h/u];return{leftTop:r,rightBottom:a,region:d}},_updateCamera:function(e,t,n){this.viewGL.setViewport(0,0,e,t,n);var i=this.viewGL.camera;i.left=i.bottom=0,i.top=t,i.right=e,i.near=0,i.far=100,i.position.z=10},remove:function(){this._planeMesh.stopAnimation(),this.groupGL.removeAll()},dispose:function(){this._renderer&&this._particleSurface.dispose(this._renderer),this.groupGL.removeAll()}});function hle(e){e.registerChartView(cle),e.registerSeriesModel(ile)}IM(hle);var dle=Vp.extend({type:"series.linesGL",dependencies:["grid","geo"],visualStyleAccessPath:"lineStyle",visualDrawType:"stroke",streamEnabled:!0,init:function(e){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),dle.superApply(this,"init",arguments)},mergeOption:function(e){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),dle.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Object(x["e"])(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Object(x["e"])(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],i=this._flatCoordsOffset[2*e+1],r=0;r<i;r++)t[r]=t[r]||[],t[r][0]=this._flatCoords[n+2*r],t[r][1]=this._flatCoords[n+2*r+1];return i}var a=this._getCoordsFromItemModel(e);for(r=0;r<a.length;r++)t[r]=t[r]||[],t[r][0]=a[r][0],t[r][1]=a[r][1];return a.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"===typeof e[0]){for(var n=e.length,i=new Uint32Array(n),r=new Float64Array(n),a=0,o=0,s=0,l=0;l<n;){s++;var u=e[l++];i[o++]=a+t,i[o++]=u;for(var c=0;c<u;c++){var h=e[l++],d=e[l++];r[a++]=h,r[a++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,o),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new Eb(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,i,r){if(e instanceof Array)return NaN;n.hasItemOption=!0;var a=e.value;return null!=a?a instanceof Array?a[r]:a:void 0})),n},defaultOption:{coordinateSystem:"geo",zlevel:10,progressive:1e4,progressiveThreshold:5e4,blendMode:"source-over",lineStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}}),fle=dle,ple=dy.extend({type:"linesGL",__ecgl__:!0,init:function(e,t){this.groupGL=new see.Node,this.viewGL=new Vne("orthographic"),this.viewGL.add(this.groupGL),this._glViewHelper=new Ase(this.viewGL),this._nativeLinesShader=see.createShader("ecgl.lines3D"),this._meshLinesShader=see.createShader("ecgl.meshLines3D"),this._linesMeshes=[],this._currentStep=0},render:function(e,t,n){this.groupGL.removeAll(),this._glViewHelper.reset(e,n);var i=this._linesMeshes[0];i||(i=this._linesMeshes[0]=this._createLinesMesh(e)),this._linesMeshes.length=1,this.groupGL.add(i),this._updateLinesMesh(e,i,0,e.getData().count()),this.viewGL.setPostEffect(e.getModel("postEffect"),n)},incrementalPrepareRender:function(e,t,n){this.groupGL.removeAll(),this._glViewHelper.reset(e,n),this._currentStep=0,this.viewGL.setPostEffect(e.getModel("postEffect"),n)},incrementalRender:function(e,t,n,i){var r=this._linesMeshes[this._currentStep];r||(r=this._createLinesMesh(t),this._linesMeshes[this._currentStep]=r),this._updateLinesMesh(t,r,e.start,e.end),this.groupGL.add(r),i.getZr().refresh(),this._currentStep++},updateTransform:function(e,t,n){e.coordinateSystem.getRoamTransform&&this._glViewHelper.updateTransform(e,n)},_createLinesMesh:function(e){var t=new see.Mesh({$ignorePicking:!0,material:new see.Material({shader:see.createShader("ecgl.lines3D"),transparent:!0,depthMask:!1,depthTest:!1}),geometry:new zse({segmentScale:10,useNativeLine:!0,dynamic:!1}),mode:see.Mesh.LINES,culling:!1});return t},_updateLinesMesh:function(e,t,n,i){var r=e.getData();t.material.blend="lighter"===e.get("blendMode")?see.additiveBlend:null;var a=e.get("lineStyle.curveness")||0,o=e.get("polyline"),s=t.geometry,l=e.coordinateSystem,u=y7.firstNotNull(e.get("lineStyle.width"),1);u>1?(t.material.shader!==this._meshLinesShader&&t.material.attachShader(this._meshLinesShader),t.mode=see.Mesh.TRIANGLES):(t.material.shader!==this._nativeLinesShader&&t.material.attachShader(this._nativeLinesShader),t.mode=see.Mesh.LINES),n=n||0,i=i||r.count(),s.resetOffset();var c=0,h=0,d=[],f=[],p=[],m=[],g=[],y=.3,v=.7;function _(){f[0]=d[0]*v+m[0]*y-(d[1]-m[1])*a,f[1]=d[1]*v+m[1]*y-(m[0]-d[0])*a,p[0]=d[0]*y+m[0]*v-(d[1]-m[1])*a,p[1]=d[1]*y+m[1]*v-(m[0]-d[0])*a}if(o||0!==a)for(var x=n;x<i;x++)if(o){var b=e.getLineCoordsCount(x);c+=s.getPolylineVertexCount(b),h+=s.getPolylineTriangleCount(b)}else e.getLineCoords(x,g),this._glViewHelper.dataToPoint(l,g[0],d),this._glViewHelper.dataToPoint(l,g[1],m),_(),c+=s.getCubicCurveVertexCount(d,f,p,m),h+=s.getCubicCurveTriangleCount(d,f,p,m);else{var w=i-n;c+=w*s.getLineVertexCount(),h+=w*s.getLineVertexCount()}s.setVertexCount(c),s.setTriangleCount(h);var M=n,S=[];for(x=n;x<i;x++){see.parseColor(Kie(r,M),S);var T=y7.firstNotNull(Qie(r,M),1);S[3]*=T;b=e.getLineCoords(x,g);for(var L=0;L<b;L++)this._glViewHelper.dataToPoint(l,g[L],g[L]);o?s.addPolyline(g,S,u,0,b):0!==a?(d=g[0],m=g[1],_(),s.addCubicCurve(d,f,p,m,S,u)):s.addPolyline(g,S,u,0,2),M++}},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}});function mle(e){e.registerChartView(ple),e.registerSeriesModel(fle)}IM(mle);var gle={name:"DtBar3D",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,require:!0,default:function(){return[]}},colors:{type:Array},xAxisType:{type:String,default:"value",validator:function(e){return["value","category"].includes(e)}},yAxisType:{type:String,default:"value",validator:function(e){return["value","category"].includes(e)}},zAxisType:{type:String,default:"value",validator:function(e){return["value","category"].includes(e)}},autoRotate:{type:Boolean,default:!1},distance:{type:Number,default:200},xAxisName:{type:String,default:"X"},yAxisName:{type:String,default:"Y"},zAxisName:{type:String,default:"Z"}},data:function(){return{chartInstance:null}},watch:{data:function(e){var t=this.chartInstance.getOption();t.series[0].data=e,this.chartInstance.setOption(t,!0)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption())},methods:{chartOption:function(){var e;return{visualMap:{show:!1,max:(null===(e=this.colros)||void 0===e?void 0:e.length)||this.colorDefault.length,inRange:{color:this.colors||this.colorDefault}},xAxis3D:{name:this.xAxisName,type:this.xAxisType,nameGap:30,nameTextStyle:{color:this.colorTheme.text,fontWeight:"bold"}},yAxis3D:{name:this.yAxisName,type:this.yAxisType,nameGap:30,nameTextStyle:{color:this.colorTheme.text,fontWeight:"bold"}},zAxis3D:{name:this.zAxisName,type:this.zAxisType,nameGap:30,nameTextStyle:{color:this.colorTheme.text,fontWeight:"bold"}},grid3D:{axisPointer:{type:"line",lineStyle:{color:this.colorTheme.blue},label:{margin:15,testStyle:{color:this.colorTheme.blue}}},axisLabel:{margin:15,color:this.colorTheme.text},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{lineStyle:{color:this.colorTheme.axisLine}},viewControl:{autoRotate:this.autoRotate,distance:this.distance},light:{main:{shadow:!0,quality:"ultra",intensity:1.5}}},series:[{type:"bar3D",data:this.data,shading:"lambert",emphasis:{label:{fontSize:12,color:this.colorTheme.text},itemStyle:{color:this.colorTheme.text}},label:{distance:5,fontWeight:"bold",color:this.colorTheme.text,formatter:function(e){return e.value[2].toFixed(2)}}}]}}}},yle=gle,vle=w0(yle,X3,Z3,!1,null,null,null),_le=vle.exports;_le.install=function(e){e.component(_le.name,_le)};var xle=_le,ble=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},wle=[],Mle={name:"DtScatter3D",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,require:!0,default:function(){return[]}},colors:{type:Array},xAxisType:{type:String,default:"value",validator:function(e){return["value","category"].includes(e)}},yAxisType:{type:String,default:"value",validator:function(e){return["value","category"].includes(e)}},zAxisType:{type:String,default:"value",validator:function(e){return["value","category"].includes(e)}},autoRotate:{type:Boolean,default:!1},distance:{type:Number,default:200},xAxisName:{type:String,default:"X"},yAxisName:{type:String,default:"Y"},zAxisName:{type:String,default:"Z"},symbolSize:{type:Array,default:function(){return[10,10]}},colorAlpha:{type:Array,default:function(){return[1,1]}}},data:function(){return{chartInstance:null}},watch:{data:function(e){var t=this.chartInstance.getOption();t.series[0].data=e,this.chartInstance.setOption(t,!0)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption())},methods:{chartOption:function(){var e;return{visualMap:{show:!1,max:(null===(e=this.colros)||void 0===e?void 0:e.length)||this.colorDefault.length,inRange:{symbolSize:this.symbolSize,color:this.colors||this.colorDefault,colorAlpha:this.colorAlpha}},xAxis3D:{name:this.xAxisName,type:this.xAxisType,nameGap:30,nameTextStyle:{color:this.colorTheme.text,fontWeight:"bold"}},yAxis3D:{name:this.yAxisName,type:this.yAxisType,nameGap:30,nameTextStyle:{color:this.colorTheme.text,fontWeight:"bold"}},zAxis3D:{name:this.zAxisName,type:this.zAxisType,nameGap:30,nameTextStyle:{color:this.colorTheme.text,fontWeight:"bold"}},grid3D:{axisPointer:{type:"line",lineStyle:{color:this.colorTheme.blue},label:{margin:15,testStyle:{color:this.colorTheme.blue}}},axisLabel:{margin:15,color:this.colorTheme.text},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{lineStyle:{color:this.colorTheme.axisLine}},viewControl:{autoRotate:this.autoRotate,distance:this.distance},light:{main:{shadow:!0,quality:"ultra",intensity:1.5}}},series:[{type:"scatter3D",data:this.data,shading:"lambert",emphasis:{label:{fontSize:12,color:this.colorTheme.text},itemStyle:{color:this.colorTheme.text}},label:{distance:5,fontWeight:"bold",color:this.colorTheme.text,formatter:function(e){return e.value[2].toFixed(2)}}}]}}}},Sle=Mle,Tle=w0(Sle,ble,wle,!1,null,null,null),Lle=Tle.exports;Lle.install=function(e){e.component(Lle.name,Lle)};var Dle=Lle,Ale=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Ole=[],kle={name:"DtPie3D",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object},distance:{type:Number,default:200},diameterRatio:{type:Number,default:.8},legend:{type:Boolean,default:!0},boxHeight:{type:Number,default:30},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendType:{type:String,default:"plain",validator:function(e){return["plain","scroll"].includes(e)}},gridTop:{type:String|Number,default:0},gridLeft:{type:String|Number,default:0},opacity:{type:Number,default:1},legendOrigin:{type:Object,default:function(){return{}}}},data:function(){return{chartInstance:null,option:{}}},watch:{data:function(e){this.chartInstance.setOption(this.chartOption(e),!0),this.option=this.chartInstance.getOption()}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption(this.data)),this.bindListen()},methods:{chartOption:function(e){var t=this,n=e.slice(0),i=[],r=0,a=0,o=0,s=[],l=[],u=1-this.diameterRatio;n.sort((function(e,t){return t.value-e.value}));for(var c=0;c<n.length;c++){r+=n[c].value;var h={name:n[c].name,type:"surface",parametric:!0,wireframe:{show:!1},pieData:n[c],pieStatus:{selected:!1,hovered:!1,k:u},center:["10%","50%"],itemStyle:{borderColor:this.borderColor||this.colorTheme.black,borderWidth:this.borderWidth,opacity:this.opacity,color:function(e){var i;if(t.colors)i=t.colors[e.seriesName];else{var r=n.findIndex((function(t){return t.name===e.seriesName}));i=t.colorDefault[r]}return i}}};i.push(h)}s=[],l=[];for(var d=function(e){o=a+i[e].pieData.value,i[e].pieData.startRatio=a/r,i[e].pieData.endRatio=o/r,i[e].parametricEquation=t.getParametricEquation(i[e].pieData.startRatio,i[e].pieData.endRatio,!1,!1,u,i[e].pieData.value),a=o;var c=n[e].value,h=void 0;if(t.colors)h=t.colors[i[e].name];else{var d=n.findIndex((function(t){return t.name===i[e].name}));h=t.colorDefault[d]}s.push({name:i[e].name,value:c,itemStyle:{color:h}}),l.push({name:i[e].name,value:c})},f=0;f<i.length;f++)d(f);var p=this.getHeight3D(i,this.boxHeight),m={data:s,type:this.legendType,orient:"horizontal",left:"center",bottom:20,itemGap:20,icon:this.legendIcon,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:12,height:12,rich:{a:{verticalAlign:"bottom"}}},show:this.legend,formatter:function(e){var t=l.filter((function(t){return t.name==e}))[0],n=t.value;return"".concat(t.name," ").concat(n)}};console.log("传入的值",this.legendOrigin);var g={legend:Z0(m,this.legendOrigin),tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},formatter:function(e){if("mouseoutSeries"!==e.seriesName&&"pie2d"!==e.seriesName)return"".concat(e.seriesName,"<br/>")+'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'.concat(e.color,';"></span>')+"".concat(g.series[e.seriesIndex].pieData.value)}},xAxis3D:{min:-1,max:1},yAxis3D:{min:-1,max:1},zAxis3D:{min:-1,max:1},grid3D:{show:!1,boxHeight:p,top:this.gridTop,left:this.gridLeft,viewControl:{alpha:30,distance:this.distance,rotateSensitivity:0,zoomSensitivity:0,panSensitivity:0,autoRotate:!1}},series:i};return g},getHeight3D:function(e,t){return e.sort((function(e,t){return t.pieData.value-e.pieData.value})),25*t/e[0].pieData.value},getParametricEquation:function(e,t,n,i,r,a){var o=(e+t)/2,s=e*Math.PI*2,l=t*Math.PI*2,u=o*Math.PI*2;0===e&&1===t&&(n=!1),r="undefined"!==typeof r?r:1/3;var c=n?.1*Math.cos(u):0,h=n?.1*Math.sin(u):0,d=i?1.05:1;return{u:{min:-Math.PI,max:3*Math.PI,step:Math.PI/32},v:{min:0,max:2*Math.PI,step:Math.PI/20},x:function(e,t){return e<s?c+Math.cos(s)*(1+Math.cos(t)*r)*d:e>l?c+Math.cos(l)*(1+Math.cos(t)*r)*d:c+Math.cos(e)*(1+Math.cos(t)*r)*d},y:function(e,t){return e<s?h+Math.sin(s)*(1+Math.cos(t)*r)*d:e>l?h+Math.sin(l)*(1+Math.cos(t)*r)*d:h+Math.sin(e)*(1+Math.cos(t)*r)*d},z:function(e,t){return e<.5*-Math.PI?Math.sin(e):e>2.5*Math.PI?Math.sin(e)*a*.1:Math.sin(t)>0?1*a*.1:-1}}},fomatFloat:function(e,t){var n=parseFloat(e);if(isNaN(n))return!1;n=Math.round(e*Math.pow(10,t))/Math.pow(10,t);var i=n.toString(),r=i.indexOf(".");r<0&&(r=i.length,i+=".");while(i.length<=r+t)i+="0";return i},bindListen:function(){var e=this;this.option=this.chartInstance.getOption();var t="";this.chartInstance.on("mouseover",(function(n){var i,r,a,o,s;t!==n.seriesIndex&&(""!==t&&(i=e.option.series[t].pieStatus.selected,r=!1,a=e.option.series[t].pieData.startRatio,o=e.option.series[t].pieData.endRatio,s=e.option.series[t].pieStatus.k,e.option.series[t].parametricEquation=e.getParametricEquation(a,o,i,r,s,e.option.series[t].pieData.value),e.option.series[t].pieStatus.hovered=r,t=""),"mouseoutSeries"!==n.seriesName&&"pie2d"!==n.seriesName&&(i=e.option.series[n.seriesIndex].pieStatus.selected,r=!0,a=e.option.series[n.seriesIndex].pieData.startRatio,o=e.option.series[n.seriesIndex].pieData.endRatio,s=e.option.series[n.seriesIndex].pieStatus.k,e.option.series[n.seriesIndex].parametricEquation=e.getParametricEquation(a,o,i,r,s,e.option.series[n.seriesIndex].pieData.value+5),e.option.series[n.seriesIndex].pieStatus.hovered=r,t=n.seriesIndex),e.chartInstance.setOption(e.option))})),this.chartInstance.on("globalout",(function(){var n,i,r,a,o;""!==t&&(n=e.option.series[t].pieStatus.selected,i=!1,o=e.option.series[t].pieStatus.k,r=e.option.series[t].pieData.startRatio,a=e.option.series[t].pieData.endRatio,e.option.series[t].parametricEquation=e.getParametricEquation(r,a,n,i,o,e.option.series[t].pieData.value),e.option.series[t].pieStatus.hovered=i,t=""),e.chartInstance.setOption(e.option)}))}}},Ile=kle,Cle=w0(Ile,Ale,Ole,!1,null,null,null),Ele=Cle.exports;Ele.install=function(e){e.component(Ele.name,Ele)};var Ple=Ele,Nle=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Rle=[],Yle={name:"DtRiskMonitorLine",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},smooth:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},dataZoomDisabled:{type:Boolean,default:!1},effect:{type:Boolean,default:!1},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},grid:{type:Array,default:function(){return[60,100,60,90]}},maxLevel:{type:Number,default:5},minLevel:{type:Number,default:0},splitAreaColors:{type:Array,default:function(){return["rgba(0, 119, 255, .1)","rgba(0, 255, 17, .1)","rgba(255, 211, 0, .1)","rgba(255, 82, 0, .12)","rgba(255, 0, 0, .12)"]}},yAxisLabelOffset:{type:Number,default:0},minTime:{type:String},maxTime:{type:String},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendSelected:{type:Object,default:function(){}},showSeries:String,timelineColor:{type:String,default:"#fff"},tooltipColor:{type:Array,default:function(){return["#28ff00","#2684ff","#ffd200","#ffa800","#ff001d"]}},markLineTime:{type:String|Date}},data:function(){return{chartInstance:null,maxX:"",minX:"",markLineValue:""}},watch:{data:function(e){var t=this,n=this.chartInstance.getOption();n.series.forEach((function(n){var i=e.find((function(e){return e.name===n.name}));if(t.timeAxis){if("line"===n.type)if("标线"===n.name){if(e[0].data.length>0||e[1].data.length>0){var r=e[0].data.length>e[1].data.length?e[0].data:e[1].data;n.markLine.data[0].xAxis=r[r.length-1][0]}}else"黑夜"!==n.name&&"location"!==n.name&&(n.data=(null===i||void 0===i?void 0:i.data)||[]);else if("lines"===n.type&&"黑夜"!==n.name){var a=[];null===i||void 0===i||i.data.forEach((function(e,t){var n;a.push({coords:[null===i||void 0===i?void 0:i.data[t],(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n[t+1])||[void 0,void 0]]})})),n.data=a}}else if("line"===n.type&&"黑夜"!==n.name)n.data=(null===i||void 0===i?void 0:i.data)||[];else if("lines"===n.type){var o=[];null===i||void 0===i||i.data.forEach((function(e,t){o.push({coords:[[t,e],[t+1,null===i||void 0===i?void 0:i.data[t+1]]]})})),n.data=o}if("黑夜"===n.name){var s=[];if(e[0].data.length>0||e[1].data.length>0){var l=[];l=e[0].data.length>0&&e[1].data.length>0?e[0].data.length>e[1].data.length?e[0].data:e[1].data:e[0].data.length>0?e[0].data:e[1].data;var u=l[0][0],c=(l[l.length-1][0],l[l.length-1][0]);c=g0()(c).valueOf()+216e5,c=g0()(c).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",s=V0(u,c,t.maxLevel);for(var h=[],d=[],f=0;f<s.length;f+=2)d.push([s[f],0],[s[f+1],0]),h.push([{xAxis:s[f],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}},{xAxis:s[f+1],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}}]);n.data=d,n.markArea.data=h}}if("location"===n.name&&(e[0].data.length>0||e[1].data.length>0)){var p=[];p=e[0].data.length>0&&e[1].data.length>0?e[0].data.length>e[1].data.length?e[0].data:e[1].data:e[0].data.length>0?e[0].data:e[1].data;var m=p[p.length-1][0],g=g0()(m).valueOf()+216e5;g=g0()(g).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z";var y=[[m,0],[g,0]];n.data=y}})),this.chartInstance.setOption(n,!0)},showSeries:function(e){var t=this.chartInstance.getOption();t.series.forEach((function(t){t.name===e?(t.lineStyle.width=2,t.symbol="circle",t.tooltip={show:!0}):"location"===t.name&&"黑夜"===t.name||(t.lineStyle.width=0,t.symbol="none",t.tooltip={show:!1})})),t.legend[0].data=[e],this.chartInstance.setOption(t,!0)},markLineTime:function(e){this.markLineValue=e},markLineValue:function(e){var t=this.chartInstance.getOption();t.series.forEach((function(t){"标线"===t.name&&(t.markLine.data[0].xAxis=e)})),this.chartInstance.setOption(t,!1)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),this.addClickEvent(),this.addResize()},methods:{clearClickTimeMark:function(){var e=this.chartInstance.getOption(),t=e.series.find((function(e){return"标线"===e.name})).markLine;t.data[1].xAxis=[],this.chartInstance.setOption(e,!0)},addClickEvent:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0],r=e.chartInstance.getOption(),a=r.series[4].markLine;a.data[1].xAxis=i,e.chartInstance.setOption(r,!0),e.$emit("click",i)}}))},echartsResize:function(){this.chartInstance&&this.chartInstance.resize()},addResize:function(){window.addEventListener("resize",this.echartsResize)},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;this.timeAxis?this.effect?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r];var o=[];i.data.forEach((function(e,t){var n;o.push({coords:[i.data[t],(null===(n=i.data)||void 0===n?void 0:n[t+1])||[void 0,void 0]]})})),t.push(e.lineSeries(i.name,e.smooth,a,i.data),e.pathSeries(i.name,a,o,r+1))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],t.push(e.lineSeries(i.name,e.smooth,a,i.data))})):this.effect?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r];var o=[];i.data.forEach((function(e,t){o.push({coords:[[t,e],[t+1,i.data[t+1]]]})})),t.push(e.lineSeries(i.name,e.smooth,a,i.data),e.pathSeries(i.name,a,o,r+1))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],t.push(e.lineSeries(i.name,e.smooth,a,i.data))}));var i=[],r="";if(this.data[0].length>0&&this.data[0].data.length>0){var a=[];a=this.data[0].data.length>0&&this.data[1].data.length>0?this.data[0].data.length>this.data[1].data.length?this.data[0].data:this.data[1].data:this.data[0].data.length>0?this.data[0].data:this.data[1].data;var o=a[0][0],s=a[a.length-1][0],l=a[a.length-1][0];l=g0()(l).valueOf()+216e5,l=g0()(l).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",i=V0(o,l,this.maxLevel),r=s,t.push(this.lineLocation(s))}else if(this.minTime){var u=g0()(this.minTime).valueOf()-2592e5,c=g0()(this.minTime).valueOf()+216e5;u=g0()(u).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",c=g0()(c).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",i=V0(u,c,this.maxLevel),r=this.minTime,t.push(this.lineLocation(this.minTime))}else{var h=g0()().valueOf()-2592e5,d=g0()().valueOf()+216e5;h=g0()(h).format("YYYY-MM-DDTHH:mm:ss"),d=g0()(d).format("YYYY-MM-DDTHH:mm:ss"),i=V0(h,d,this.maxLevel),r=g0()().format("YYYY-MM-DDTHH:mm:ss"),t.push(this.lineLocation(r))}if(this.minTime&&this.maxTime)i=V0(this.minTime,this.maxTime,this.maxLevel),r=this.maxTime;else if(this.data[0].length>0&&this.data[0].data.length>0){var f=this.data[0].data[0][0],p=this.data[0].data[this.data[0].data.length-1][0];i=V0(f,p,this.maxLevel),r=p}if(i.length>0){console.log("黑色数据",i);for(var m=[],g=[],y=0;y<i.length;y+=2)g.push([i[y],0],[i[y+1],0]),m.push([{xAxis:i[y],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}},{xAxis:i[y+1],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}}]);t.push({name:"黑夜",type:"line",symbol:"none",areaStyle:{opacity:0},itemStyle:{opacity:0},z:0,tooltip:{show:!1},lineStyle:{width:0,opacity:0},label:{show:!1},markArea:{label:{show:!0,position:"top",color:"#fff"},data:m},data:g})}else t.push({name:"黑夜",type:"line",symbol:"none",areaStyle:{opacity:0},itemStyle:{opacity:0},z:0,tooltip:{show:!1},lineStyle:{width:0,opacity:0},label:{show:!1},markArea:{label:{show:!0,position:"top",color:"#fff"},data:[]},data:[]});return t.push({name:"标线",type:"line",markLine:{animation:!1,symbol:"",data:[{xAxis:r,label:{show:!1},lineStyle:{width:1,type:"solid",color:this.timelineColor}},{xAxis:[],label:{show:!0,color:this.colorTheme.white,backgroundColor:this.colorTheme.blue,borderRadius:5,padding:[5,5,2,5],formatter:function(e){return g0()(e.value).format("YYYY-MM-DD HH:mm:ss")}},lineStyle:{width:1,type:"dashed",color:this.colorTheme.cyan}}]}}),t},pathSeries:function(e,t,n,i){return{name:e,type:"lines",coordinateSystem:"cartesian2d",zlevel:i,effect:{show:!0,period:2,symbolSize:3,trailLength:.3},lineStyle:{type:"solid",color:t,width:0,opacity:0,curveness:0},data:n}},lineSeries:function(e,t,n,i){return{name:e,type:"line",smooth:t,symbol:"circle",symbolSize:0,lineStyle:{width:1},itemStyle:{color:n},data:i}},lineLocation:function(e){var t=g0()(e).valueOf()+216e5,n=g0()(t).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",i=[[e,0],[n,0]];return{name:"location",tooltip:{show:!1},type:"line",smooth:!0,symbolSize:0,itemStyle:{color:_0},data:i}},getRiskColor:function(e){var t=Math.ceil(e)-1;return t>4&&(t=4),this.tooltipColor[t]},chartOption:function(){var e=this,t=this,n=this.processSeries();return{animation:!1,tooltip:{trigger:"axis",confine:!0,backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},axisPointer:{lineStyle:{color:this.colorTheme.blue}},formatter:function(e){var n="";if(Array.isArray(e)&&e[0]){n='<div style="display: flex; flex-direction: column;">\n <span style="display: block">'.concat(g0()(e[0].value[0]).format("YYYY-MM-DD HH:mm:ss"),"</span>");var i=t.getRiskColor(e[0].value[1]);"line"===e[0].seriesType&&(n+='\n <span style="display: block">\n <span>风险等级:'.concat(Math.ceil(e[0].value[1]),'</span>\n <span style="background-color: ').concat(i,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n </span>\n '))}return n+="</div>",n}},legend:p({type:"scroll",show:!1,data:this.data.map((function(e){return e.name})),top:2,left:"center",icon:this.legendIcon,itemWidth:10,itemHeight:10,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:13,lineHeight:22,height:18,rich:{a:{}}}},"data",[]),grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{name:this.xAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},type:this.timeAxis?"time":"category",minInterval:1,splitNumber:10,axisLabel:{color:this.colorTheme.text,margin:15,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},axisTick:{show:!0},data:this.categorys},yAxis:{name:this.yAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},min:this.minLevel,max:this.maxLevel,axisLabel:{margin:15,verticalAlign:"top",padding:[this.yAxisLabelOffset,0,0,0],color:this.colorTheme.text,formatter:function(t){if(t!==e.minLevel)return"{a|".concat(t,"级}")},rich:{a:{fontSize:12},b:{fontSize:10}}},axisLine:{show:!1,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},splitArea:{show:!0,areaStyle:{color:this.splitAreaColors}}},dataZoom:[{type:"inside",disabled:this.dataZoomDisabled,start:this.dataZoom[0],end:this.dataZoom[1],filterMode:"none"}],series:n}}},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)}},zle=Yle,Hle=w0(zle,Nle,Rle,!1,null,null,null),jle=Hle.exports;jle.install=function(e){e.component(jle.name,jle)};var Fle=jle,Ble=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Vle=[],Gle={name:"DtRiskMonitorLineMultiple",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},scatterData:{type:Array,required:!0,default:function(){return[]}},futureData:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},smooth:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},dataZoomDisabled:{type:Boolean,default:!1},effect:{type:Boolean,default:!1},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},grid:{type:Array,default:function(){return[60,100,60,90]}},maxLevel:{type:Number,default:5},minLevel:{type:Number,default:0},splitAreaColors:{type:Array,default:function(){return["rgba(40, 255, 0, .1)","rgba(38, 132, 255, .1)","rgba(255, 210, 0, .1)","rgba(255, 168, 0, .12)","rgba(255, 0, 29, .12)"]}},yAxisLabelOffset:{type:Number,default:0},minTime:{type:String},maxTime:{type:String},futureTime:{type:Number,default:6},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}},legendSelected:{type:Object,default:function(){}},showSeries:String,currentTime:{type:String},tooltipColor:{type:Array,default:function(){return["#28ff00","#2684ff","#ffd200","#ffa800","#ff001d"]}},timelineColor:{type:String,default:"#fff"},scatterSize:{type:Number,default:16},scatterSymbol:{type:String,default:"circle"},scatterColor:{type:String,default:"blue"},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,maxX:"",minX:""}},watch:{data:function(e){var t=this,n=this.chartInstance.getOption();console.log("所有系列",n.series),n.series.forEach((function(n){var i=e.find((function(e){return e.name===n.name}));if(i&&(n.data=(null===i||void 0===i?void 0:i.data)||[]),"标线"===n.name&&(e[0].data.length>0||e[1].data.length>0)){var r=e[0].data.length>e[1].data.length?e[0].data:e[1].data;n.markLine.data[0].xAxis=r[r.length-1][0]}if("黑夜"===n.name){var a=[];if(e[0].data.length>0||e[1].data.length>0){var o=e[0].data.length>e[1].data.length?e[0].data:e[1].data,s=o[0][0],l=(o[o.length-1][0],o[o.length-1][0]);l=g0()(l).valueOf()+60*t.futureTime*60*1e3,t.futureData[0]&&t.futureData[0].data.length>0&&(l=t.futureData[0].data[t.futureData[0].data.length-1][0]),l=g0()(l).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",a=V0(s,l,t.maxLevel);for(var u=[],c=[],h=0;h<a.length;h+=2)c.push([a[h],0],[a[h+1],0]),u.push([{xAxis:a[h],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}},{xAxis:a[h+1],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}}]);n.data=c,n.markArea.data=u}}if("location"===n.name&&(e[0].data.length>0||e[1].data.length>0)){var d=e[0].data.length>e[1].data.length?e[0].data:e[1].data,f=d[d.length-1][0],p=g0()(f).valueOf()+60*t.futureTime*60*1e3;p=g0()(p).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z";var m=[[f,0],[p,0]];n.data=m}})),this.chartInstance.setOption(n,!0)},scatterData:function(e){var t=this.chartInstance.getOption();t.series.forEach((function(t){var n=e.find((function(e){return e.name===t.name}));n&&(t.data=(null===n||void 0===n?void 0:n.data)||[])})),this.chartInstance.setOption(t,!0)},futureData:function(e){var t=this.chartInstance.getOption();t.series.forEach((function(t){var n=e.find((function(e){return e.name===t.name}));n&&(t.data=(null===n||void 0===n?void 0:n.data)||[])})),this.chartInstance.setOption(t,!0)},showSeries:function(e){var t=this.chartInstance.getOption();this.chartInstance&&t.series.length>0&&(t.series.forEach((function(t){t.name===e?(t.lineStyle.width=2,t.symbol="circle",t.tooltip={show:!0}):"预测数据"!==t.name&&"黑夜"!==t.name&&"line"===t.type&&(t.lineStyle.width=0,t.symbol="none",t.tooltip={show:!1})})),t.legend[0].data=[e],this.chartInstance.setOption(t,!0))}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),this.addClickEvent(),this.addResize(),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent()},methods:{clearClickTimeMark:function(){var e=this.chartInstance.getOption(),t=e.series[5].markLine;t.data[1].xAxis=[],this.chartInstance.setOption(e,!0)},addClickEvent:function(){var e=this,t=this;this.chartInstance.getZr().on("click",(function(n){if(!n.target||!n.target.style||n.target.style.fill!==e.scatterColor||.93!==n.target.style.opacity){var i=[n.offsetX,n.offsetY];if(e.chartInstance.containPixel("grid",i)){var r=e.chartInstance.convertFromPixel({seriesIndex:0},i)[0];if(r+5<(new Date).valueOf())if(e.currentTime){if(r+5<new Date(t.currentTime).valueOf()){var a=e.chartInstance.getOption(),o=a.series[5].markLine;o.data[1].xAxis=r,e.chartInstance.setOption(a,!0),e.$emit("click",r)}}else{var s=e.chartInstance.getOption(),l=s.series[5].markLine;l.data[1].xAxis=r,e.chartInstance.setOption(s,!0),e.$emit("click",r)}}}}))},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},echartsResize:function(){this.chartInstance&&this.chartInstance.resize()},addResize:function(){window.addEventListener("resize",this.echartsResize)},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],t.push(e.lineSeries(i.name,e.smooth,a,i.data))})),this.futureData.forEach((function(n){t.push(e.futureLineSeries(n.name,n.data))}));var i=[],r="";if(this.data[0].data.length>0||this.data[1].data.length>0){var a=[];a=this.data[0].data.length>this.data[1].data.length?this.data[0].data:this.data[1].data;var o=a[0][0],s=a[a.length-1][0],l=a[a.length-1][0];l=g0()(l).valueOf()+60*this.futureTime*60*1e3,this.futureData[0]&&this.futureData[0].data.length>0&&(l=this.futureData[0].data[this.futureData[0].data.length-1][0]),l=g0()(l).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",i=V0(o,l,this.maxLevel),r=s,t.push(this.lineLocation(s))}else{var u=g0()().valueOf()-2592e5,c=g0()().valueOf()+60*this.futureTime*60*1e3;u=g0()(u).format("YYYY-MM-DDTHH:mm:ss"),c=g0()(c).format("YYYY-MM-DDTHH:mm:ss"),i=V0(u,c,this.maxLevel),r=g0()().format("YYYY-MM-DDTHH:mm:ss"),t.push(this.lineLocation(r))}for(var h=[],d=[],f=0;f<i.length;f+=2)d.push([i[f],0],[i[f+1],0]),h.push([{xAxis:i[f],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}},{xAxis:i[f+1],name:"黑夜",itemStyle:{color:"rgba(0,0,0,.5)"}}]);return t.push({name:"黑夜",type:"line",symbol:"none",areaStyle:{opacity:0},itemStyle:{opacity:0},z:0,tooltip:{show:!1},lineStyle:{width:0,opacity:0},label:{show:!1},markArea:{silent:!0,label:{show:!0,position:"top",color:"#fff"},data:h},data:d}),t.push({name:"标线",type:"line",markLine:{animation:!1,symbol:"",data:[{xAxis:r,label:{show:!1},lineStyle:{width:1,type:"solid",color:this.timelineColor}},{xAxis:[],label:{show:!0,color:this.colorTheme.white,backgroundColor:this.colorTheme.blue,borderRadius:5,padding:[5,5,2,5],formatter:function(e){return g0()(e.value).format("YYYY-MM-DD HH:mm:ss")}},lineStyle:{width:1,type:"dashed",color:this.colorTheme.blue}}]}}),t},processScatterSeries:function(){var e=this,t=[];return this.scatterData.forEach((function(n){t.push(e.scatterSeries(n.name,n.data))})),t},scatterSeries:function(e,t){return{name:e,type:"scatter",symbol:this.scatterSymbol,symbolSize:this.scatterSize,tooltip:{trigger:"item"},itemStyle:{color:this.scatterColor,opacity:.93},data:t}},lineSeries:function(e,t,n,i){return{name:e,type:"line",smooth:t,symbol:"circle",symbolSize:3,lineStyle:{width:1},itemStyle:{color:n},data:i}},futureLineSeries:function(e,t){return{name:e,type:"line",smooth:!0,symbol:"circle",symbolSize:3,lineStyle:{width:1,type:"dashed",color:"#fff"},itemStyle:{color:"#fff"},data:t}},lineLocation:function(e){var t=g0()(e).valueOf()+60*this.futureTime*60*1e3,n=g0()(t).utc().format("YYYY-MM-DDTHH:mm:ss")+"Z",i=[[e,0],[n,0]];return{name:"location",tooltip:{show:!1},type:"line",smooth:!0,symbolSize:0,itemStyle:{color:_0},data:i}},getRiskColor:function(e){var t=Math.ceil(e)-1;return t>4&&(t=4),this.tooltipColor[t]},chartOption:function(){var e=this,t=this,n=this.processSeries(),i=this.processScatterSeries(),r=n.concat(i),a=this.splitAreaColors.concat(["rgba(0, 0, 0, 0)"]);return{animation:!1,tooltip:{trigger:"axis",confine:!0,backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},axisPointer:{lineStyle:{color:this.colorTheme.blue}},formatter:function(e){var n="";if(Array.isArray(e)&&e[0]){n='<div style="display: flex; flex-direction: column;">\n <span style="display: block">'.concat(g0()(e[0].value[0]).format("YYYY-MM-DD HH:mm:ss"),"</span>");var i=t.getRiskColor(e[0].value[1]);"line"===e[0].seriesType&&(n+='\n <span style="display: block">\n <span>风险等级:'.concat(Math.ceil(e[0].value[1]),'</span>\n <span style="background-color: ').concat(i,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n </span>\n '))}if(e.seriesType&&"scatter"===e.seriesType){if(n="<span>".concat(e.data[3],"</span>"),n+='<div style="display: flex; flex-direction: column;">\n <span style="display: block">'.concat(g0()(e.value[0]).format("YYYY-MM-DD HH:mm:ss"),"</span>"),"number"===typeof e.value[4]){var r=t.getRiskColor(e.value[4]);n+='\n <span style="display: block">\n <span>风险等级:'.concat(Math.ceil(e.value[4]),'</span>\n <span style="background-color: ').concat(r,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n </span>\n ')}n+="<span>故障描述:".concat(e.data[2],"</span>")}return n+="</div>",n}},legend:{type:"scroll",show:!1,top:2,left:"center",icon:this.legendIcon,itemWidth:10,itemHeight:10,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:13,lineHeight:22,height:18,rich:{a:{}}},data:[]},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{name:this.xAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},type:this.timeAxis?"time":"category",minInterval:1,splitNumber:10,axisLabel:{color:this.colorTheme.text,margin:15,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},axisTick:{show:!0}},yAxis:{name:this.yAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},min:this.minLevel,max:this.maxLevel+1,axisLabel:{margin:15,verticalAlign:"top",padding:[this.yAxisLabelOffset,0,0,0],color:this.colorTheme.text,formatter:function(t){if(t!==e.minLevel)return t===e.maxLevel+1?"故障点":"{a|".concat(t,"级}")},rich:{a:{fontSize:12},b:{fontSize:10}}},axisLine:{show:!1,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},splitArea:{show:!0,areaStyle:{color:a}}},dataZoom:[{type:"inside",disabled:this.dataZoomDisabled,start:this.dataZoom[0],end:this.dataZoom[1],filterMode:"none"}],series:r}}},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)}},Wle=Gle,Ule=w0(Wle,Ble,Vle,!1,null,null,null),Xle=Ule.exports;Xle.install=function(e){e.component(Xle.name,Xle)};var Zle,qle=Xle,$le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{width:"100%",height:"100%",position:"relative"}},[n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showColor,expression:"showColor"}],staticClass:"dt-chart-color"},[n("div",{staticClass:"point-header"},[n("div",[e._v("颜色选择")]),n("span",{staticClass:"close-button",on:{click:function(t){return t.stopPropagation(),e.closeColor.apply(null,arguments)}}},[n("i",{staticClass:"el-icon-close"})])]),n("div",{staticClass:"color-container"},e._l(e.colorData,(function(t,i){return n("div",{key:i,staticClass:"color-box",on:{click:function(n){return e.handleColor(t)}}},[n("div",{staticClass:"color-box__inner",style:"background:"+t})])})),0)]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showDetail,expression:"showDetail"}],staticClass:"dt-chart-detail"},[n("div",{staticClass:"point-header"},[n("div",[e._v("故障详情")]),n("span",{staticClass:"close-button",on:{click:function(t){return t.stopPropagation(),e.closeDetail.apply(null,arguments)}}},[n("i",{staticClass:"el-icon-close"})])]),n("div",{staticClass:"detail-container"},[n("el-scrollbar",{staticStyle:{height:"100%"}},[n("ul",[n("li",[n("span",[e._v("卫星名称:")]),n("span",[e._v(e._s(e.detailData.satName||"-"))])]),n("li",[n("span",[e._v("故障时间:")]),n("span",[e._v(e._s(e.changeTime(e.detailData.fixedLat)))])]),n("li",[n("span",[e._v("故障设备:")]),n("span",[e._v(e._s(e.detailData.equipment||"-"))])]),n("li",[n("span",[e._v("故障描述:")]),n("span",[e._v(e._s(e.detailData.abnormalDesc||"-"))])]),n("li",[n("span",[e._v("故障经度:")]),n("span",[e._v(e._s(e.changeValue(e.detailData.fixedLat)))])]),n("li",[n("span",[e._v("故障纬度:")]),n("span",[e._v(e._s(e.changeValue(e.detailData.fixedLon)))])])])])],1)])])},Jle=[],Kle={name:"DtMalfunctionAnalysisLine",mixins:[_0],props:(Zle={width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},simpleTime:{type:Boolean,default:!1},smooth:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},effect:{type:Boolean,default:!1},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},yAxisNameRight:{type:String,default:""},grid:{type:Array,default:function(){return[20,80,40,80]}},showArea:{type:Boolean,default:!0},legendTop:{type:String,default:"top"},legendLeft:{type:String,default:"center"},yMin:{type:Number,default:0},yMax:{type:Number},yInterval:{type:Number,default:-1},yLabelFormatter:{type:Function},showYAxisLine:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},showXsplitLine:{type:Boolean,default:!0},xSplitLineType:{type:String,default:"dashed"},showYsplitLine:{type:Boolean,default:!0},ySplitLineType:{type:String,default:"dashed"},xAxisNameLocation:{type:String,default:"start"},yAxisNameLocation:{type:String,default:"center"},xAxisNameGap:{type:Number,default:40},yAxisNameGap:{type:Number,default:56},backgroundColor:{type:String,default:"transparent"},hasScatter:{type:Boolean,default:!0},scatterData:{type:Array,default:function(){return[]}},scatterDetailData:{type:Array,default:function(){return[]}},symbol:{type:String,default:"circle"},symbolSize:{type:Number,default:10}},p(Zle,"smooth",{type:Boolean|Number,default:!0}),p(Zle,"symbolScale",{type:Number}),p(Zle,"scatterColors",{type:Object,default:function(){return{}}}),p(Zle,"useExponent",{type:Boolean,default:!0}),p(Zle,"yAxisType",{type:String,default:"log"}),p(Zle,"scatterYIndex",{type:Number,default:0}),p(Zle,"activeZoomEvent",{type:Boolean,default:!0}),p(Zle,"legendIcon",{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}}),p(Zle,"legendSelected",{type:Object,default:function(){}}),Zle),data:function(){return{chartInstance:null,currentColor:{componentSubType:"",data:[],dataIndex:0},showColor:!1,colorData:["rgba(255, 0, 0, 1)","rgba(255, 78, 0, 1)","rgba(255, 210, 0, 1)","rgba(54, 255, 0, 1)","rgba(78, 9, 173, 1)","rgba(222, 0, 255, 1)","rgba(251, 56, 116, 1)","rgba(0, 162, 255, 1)"],showDetail:!1,detailData:{satName:"",satId:"",time:"",fixedLat:"",fixedLon:"",abnormalDesc:"",equipment:""},timer:null,dataRange:{start:0,end:100}}},watch:{data:function(e){var t=this,n=this.chartInstance.getOption();n.series.forEach((function(n){var i=e.find((function(e){return e.name===n.name}));if(t.timeAxis){if("line"===n.type)n.data=(null===i||void 0===i?void 0:i.data)||[];else if("lines"===n.type){var r=[];null===i||void 0===i||i.data.forEach((function(e,t){var n;r.push({coords:[null===i||void 0===i?void 0:i.data[t],(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n[t+1])||[void 0,void 0]]})})),n.data=r}}else if("line"===n.type)n.data=(null===i||void 0===i?void 0:i.data)||[];else if("lines"===n.type){var a=[];null===i||void 0===i||i.data.forEach((function(e,t){a.push({coords:[[t,e],[t+1,null===i||void 0===i?void 0:i.data[t+1]]]})})),n.data=a}})),this.chartInstance.setOption(n,!0)},scatterData:function(e){this.showColor=!1,this.showDetail=!1;var t=this.chartInstance.getOption();t.series.forEach((function(t,n){var i=e.find((function(e){return e.name===t.name}));i&&(t.data=null===i||void 0===i?void 0:i.data)})),this.chartInstance.setOption(t,!0)},colors:function(e){this.chartInstance.setOption(this.chartOption())},scatterColors:function(e){this.chartInstance.setOption(this.chartOption())},yAxisName:function(e){var t=this.chartInstance.getOption();t.yAxis[0].name=e,this.chartInstance.setOption(t)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),this.addLeftEvent(),this.addRightEvent(),this.activeZoomEvent&&this.addDataZoomEvent(),this.addResize()},methods:{echartsResize:function(){this.chartInstance&&this.chartInstance.resize()},addResize:function(){window.addEventListener("resize",this.echartsResize)},addDataZoomEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("dataZoom",(function(t){e.dataRange={start:t.batch[0].start,end:t.batch[0].end},this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){e.$emit("datazoom",e.dataRange)}),500)}))},addLeftEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){if("scatter"===t.componentSubType){e.showColor=!1,e.currentColor={componentSubType:t.componentSubType,data:t.data,dataIndex:t.dataIndex};var n=document.getElementsByClassName("dt-chart-color")[0],i=t.event.offsetX;t.event.offsetX>278&&(i-=193),n.style.left=i+"px",n.style.top=t.event.offsetY+"px",e.showColor=!0}}))},handleColor:function(e){var t=this;this.showColor=!1;var n=this.currentColor,i=this.chartInstance.getOption();i.series.forEach((function(i,r){var a=t.scatterData[0];a.name===i.name&&i.data.map((function(t,r){t.value[0]===n.data.value[0]&&t.value[1]===n.data.value[1]&&(i.data[r]={value:t.value,itemStyle:{color:e}})}))})),this.chartInstance.setOption(i,!0);var r={index:n.dataIndex,color:e};this.$emit("click",r)},closeColor:function(){this.showColor=!1},addRightEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if("scatter"===t.componentSubType){e.showDetail=!1,e.detailData=e.scatterDetailData[t.dataIndex];var n=document.getElementsByClassName("dt-chart-detail")[0],i=n.parentElement.offsetWidth,r=t.event.offsetX;i-r<353&&(r-=293),n.style.left=r+"px",n.style.top=t.event.offsetY+"px",e.showDetail=!0}}))},closeDetail:function(){this.showDetail=!1},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;this.timeAxis?this.effect?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r];var o=[];i.data.forEach((function(e,t){var n;o.push({coords:[i.data[t],(null===(n=i.data)||void 0===n?void 0:n[t+1])||[void 0,void 0]]})})),t.push(e.lineSeries(i.name,e.smooth,a,i.data),e.pathSeries(i.name,a,o,r+1))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],t.push(e.lineSeries(i.name,e.smooth,a,i.data))})):this.effect?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r];var o=[];i.data.forEach((function(e,t){o.push({coords:[[t,e],[t+1,i.data[t+1]]]})})),t.push(e.lineSeries(i.name,e.smooth,a,i.data),e.pathSeries(i.name,a,o,r+1))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r],t.push(e.lineSeries(i.name,e.smooth,a,i.data))}));var i=Object.keys(this.scatterColors).length>0;return this.hasScatter&&(this.timeAxis,this.scatterData.forEach((function(n,r){var a;a=i&&e.scatterColors[n.name]||e.colorDefault[r],t.push(e.scatterSeries(n.name,a,n.data))}))),t},pathSeries:function(e,t,n,i){return{name:e,type:"lines",coordinateSystem:"cartesian2d",zlevel:i,effect:{show:!0,period:2,symbolSize:5,trailLength:.3},lineStyle:{type:"solid",color:t,width:0,opacity:0,curveness:0},data:n}},lineSeries:function(e,t,n,i){var r=0;e.includes("质子")&&(r=1);var a={color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:n},{offset:1,color:B0(n,.1)}],global:!1},shadowColor:"rgba(0, 0, 0, 0.1)",shadowBlur:10};return{name:e,yAxisIndex:r,type:"line",smooth:t,symbol:this.symbol,symbolSize:3,areaStyle:this.showArea?a:null,sampling:"lttb",itemStyle:{color:n},lineStyle:{width:1},data:i}},scatterSeries:function(e,t,n){var i=this;return{name:e,type:"scatter",yAxisIndex:this.scatterYIndex,tooltip:{show:!1},symbolSize:function(e){return i.symbolScale?i.timeAxis?e[1]:e/i.symbolScale:i.symbolSize},itemStyle:{color:t},data:n}},chartOption:function(){var e=this,t=this.processSeries(),n=(t.length,null);n=this.simpleTime?function(e){var t=g0()(e),n=t.hour(),i=t.minute(),r=t.seconds();return 0===n&&0===i&&0===r?"".concat(t.format("YYYY-MM-DD"),"\n").concat(t.format("HH:mm:ss")):t.format("HH:mm:ss")}:this.timeFormatter;var i={trigger:"axis",backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},axisPointer:{lineStyle:{color:this.colorTheme.blue}}},r=this.data.map((function(e){return e.name}));this.hasScatter&&(r=r.concat(this.scatterData.map((function(e){return e.name}))));var a={type:"scroll",data:this.data.map((function(e){return e.name})),top:2,left:"center",icon:this.legendIcon,itemWidth:10,itemHeight:10,inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},format:["{a|{name}}"].join("\n"),textStyle:{color:this.colorTheme.text,fontSize:13,lineHeight:22,height:18,rich:{a:{}}},selected:this.legendSelected},o={name:this.xAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},nameGap:this.xAxisNameGap,nameLocation:this.xAxisNameLocation,type:this.timeAxis?"time":"category",splitNumber:5,axisLabel:{color:this.xAxisLabelColor?this.xAxisLabelColor:this.colorTheme.text,margin:15,formatter:this.timeAxis?n:null},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:this.showXsplitLine,lineStyle:{width:1,type:this.xSplitLineType,color:this.colorTheme.axisLine}},data:this.categorys},s=[{name:this.yAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},nameGap:this.yAxisNameGap,type:this.yAxisType,nameLocation:this.yAxisNameLocation,axisLabel:{margin:15,formatter:function(t){if(e.useExponent){if(0===t)return t;for(var n=t.toString(),i=0,r=0,a=0,o=1,s=0;s<n.length;s++)"."===n[s]&&(o=0),o?a++:0;if(Math.abs(t)<1){r++;for(var l=2;l<n.length;l++){if("0"!==n[l])break;r++}var u=parseFloat(t);return u*=Math.pow(10,r),u=u.toFixed(0),u.toString()+"E-"+r}i=a-1;var c=parseFloat(t);return c/=Math.pow(10,i),c=c.toFixed(0),c.toString()+"E+"+i}return t},color:this.yAxisLabelColor?this.yAxisLabelColor:this.colorTheme.text},axisLine:{show:this.showYAxisLine,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:this.showYsplitLine,lineStyle:{width:1,type:this.ySplitLineType,color:this.colorTheme.axisLine}},position:"left"},{name:this.yAxisNameRight,nameTextStyle:{color:this.colorTheme.text,fontSize:12},nameGap:this.yAxisNameGap,type:this.yAxisType,nameLocation:this.yAxisNameLocation,axisLabel:{margin:15,formatter:function(t){if(e.useExponent){if(0===t)return t;for(var n=t.toString(),i=0,r=0,a=0,o=1,s=0;s<n.length;s++)"."===n[s]&&(o=0),o?a++:0;if(Math.abs(t)<1){r++;for(var l=2;l<n.length;l++){if("0"!==n[l])break;r++}var u=parseFloat(t);return u*=Math.pow(10,r),u=u.toFixed(0),u.toString()+"E-"+r}i=a-1;var c=parseFloat(t);return c/=Math.pow(10,i),c=c.toFixed(0),c.toString()+"E+"+i}return t},color:this.yAxisLabelColor?this.yAxisLabelColor:this.colorTheme.text},axisLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,type:this.ySplitLineType,color:this.colorTheme.axisLine}},position:"right"}];return-1!==this.yInterval&&(s.interval=this.yInterval),{backgroundColor:this.backgroundColor,tooltip:i,legend:a,grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:o,yAxis:s,dataZoom:[{type:"inside",filterMode:"none",start:this.dataZoom[0],end:this.dataZoom[1]}],series:t}},changeValue:function(e){return e?e.toFixed(2):"-"},changeTime:function(e){var t="-";if(e){var n=g0()(e),i=n.format("YYYY-MM-DD"),r=n.format("HH:mm:ss");t="".concat(i," ").concat(r)}return t}},beforeDestroy:function(){this.timer&&(clearTimeout(this.timer),this.timer=null),window.removeEventListener("resize",this.echartsResize)}},Qle=Kle,eue=(n("3bd1"),w0(Qle,$le,Jle,!1,null,"14a6f4ae",null)),tue=eue.exports;tue.install=function(e){e.component(tue.name,tue)};var nue=tue,iue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},rue=[],aue={name:"DtScatterSort",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},showLegend:{type:Boolean,default:!0},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},symbolSize:{type:Number,default:5},symbolScale:{type:Number},layout:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},xAxisName:{type:String,default:""},yAxisName:{type:String,default:""},grid:{type:Array,default:function(){return[60,100,60,90]}},legendIcon:{type:String,default:"rect",validator:function(e){return["circle","rect","roundRect","triangle","diamond","pin","arrow","none"].includes(e)}}},data:function(){return{chartInstance:null}},watch:{data:function(e){console.log("更新图表",e);var t=this.chartInstance.getOption();this.processSeries(t,e),this.chartInstance.setOption(t,!0)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.getOption())},methods:{getOption:function(){var e={xAxis:{name:this.xAxisName,splitLine:{show:!1},axisLabel:{textStyle:{color:"#23E0F1"}},nameTextStyle:{color:"#23E0F1"}},yAxis:{type:"category",data:["高分","资源","吉林","高景","天绘","珠海"],splitLine:{show:!0,lineStyle:{color:"#012123"}},axisLine:{lineStyle:{color:"#012123"}},axisLabel:{textStyle:{color:"#23E0F1"}}},tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text}},series:[{symbolSize:5,data:[[1,0],[2,1],[3,2],[4,3],[5,4],[6,5]],type:"scatter",itemStyle:{color:function(e){return"#860023"}}}],grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]}};return e=this.processSeries(e,this.data),e},processSeries:function(e,t){var n=t.map((function(e){return e.label})),i=[];t.map((function(e,t){var n=[];e.data.map((function(e){n.push([e,t])})),i=i.concat(n)}));var r=void 0,a=t.map((function(e){return e.color}));return r=function(e){var t=e.value[1];return a[t]},e.yAxis.data=n,e.series={symbolSize:5,data:i,type:"scatter",itemStyle:{color:r}},e}}},oue=aue,sue=w0(oue,iue,rue,!1,null,null,null),lue=sue.exports;lue.install=function(e){e.component(lue.name,lue)};var uue=lue,cue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},hue=[],due={name:"DtBarDoubleAxis",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,require:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},categorys:{type:Array,default:function(){return[]}},timeAxis:{type:Boolean,default:!1},dataZoom:{type:Array,default:function(){return[0,100]}},barWidth:{type:Number,default:20},barGap:{type:String,default:"30%"},layout:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},borderRadius:{type:Array,default:function(){return[0,0,0,0]}},xAxisName:{type:String,default:""},yAxisNameOne:{type:String,default:""},yAxisNameTwo:{type:String,default:""},grid:{type:Array,default:function(){return[60,100,60,90]}},showLegend:{type:Boolean,default:!0},maxYValue:{type:Number,default:null},isDifferColor:{type:Boolean,default:!1},differColor:{type:Array,default:function(){return["#7fffd4","ffe4c4","8a2be2","ff7f50","dc143c","006400","ffd700"]}},isStack:{type:Boolean,default:!1},isLinear:{type:Boolean,default:!0},showLabel:{type:Boolean,default:!1},labelColor:{type:String,default:"#fff"},labelPosition:{type:String,default:"top"},labelUnit:{type:String,default:""},legendData:{type:Array,default:function(){return[]}},isXLabelDifferColor:{type:Boolean,default:!1},xLabelColor:{type:Array,default:function(){return["#ff0000","#ffb400","#30ff00","#00c6ff","#0066ff","#8a00ff"]}},xLabelType:{type:String,default:"month"},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},axisLocation:{type:String,default:"53%"},xNamePadding:{type:Array,default:function(){return[0,0,0,0]}},useExponent:{type:Boolean,default:!0},labelArr:{type:Array,default:function(){return[]}},borderColor:{type:String,default:"transparent"},sortTooltip:{type:Boolean,default:!1},showTooltipMarker:{type:Boolean,default:!0},showTotalLabel:{type:Boolean,default:!0},isLabelVertical:{type:Boolean,default:!1},labelWidth:{type:Number,default:15},isLabelPercent:{type:Boolean,default:!1},labelPercent:{type:Array,default:function(){return[]}},labelSample:{type:Boolean,default:!1},singleColor:{type:Array,default:function(){return[]}},borderColorArray:{type:Array,default:function(){return[]}},labelPoitionArray:{type:Array,default:function(){return["top","bottom"]}}},data:function(){return{chartInstance:null,resizeTimer:null}},watch:{data:function(e){var t=this,n=this.chartInstance.getOption();n.series.forEach((function(t,n){var i=e.find((function(e){var n="top"===e.axisIndex?0:2;if(e.name===t.name&&n===t.xAxisIndex)return t}));i&&(t.data=null===i||void 0===i?void 0:i.data)})),e.forEach((function(e,i){for(var r=!1,a="top"===e.axisIndex?0:2,o=0;o<n.series.length;o++)if(e.name===n.series[o].name&&a===n.series[o].xAxisIndex){r=!0;break}if(!r){var s,l=Object.keys(t.colors).length>0;s=l&&t.colors[e.name]||t.colorDefault[i];var u="top"===e.axisIndex?0:2;n.series.push(t.barSeries(e.name,s,e.data,u))}})),this.chartInstance.setOption(n,!0)},yAxisNameOne:function(e){var t=this.chartInstance.getOption();t.yAxis[0].name=e,this.chartInstance.setOption(t,!0)},yAxisNameTwo:function(e){var t=this.chartInstance.getOption();t.yAxis[2].name=e,this.chartInstance.setOption(t,!0)}},mounted:function(){this.itemLength=this.data.length,this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption());this.processSeries();(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processSeries:function(){var e=this,t=[],n=Object.keys(this.colors).length>0;return this.timeAxis?this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r];var o="top"===i.axisIndex?0:2;t.push(e.barSeries(i.name,a,i.data,o))})):this.data.forEach((function(i,r){var a;a=n&&e.colors[i.name]||e.colorDefault[r];var o="top"===i.axisIndex?0:2;t.push(e.barSeries(i.name,a,i.data,o))})),t},barSeries:function(e,t,n,i){var r=this,a=t;2===this.singleColor.length&&(a=0===i?this.singleColor[0]:this.singleColor[1]);var o=this.showLabel;this.isStack&&(this.showTotalLabel&&(o="total"===e),"total"===e&&(a="transparent"));var s=0===i?this.labelPoitionArray[0]:this.labelPoitionArray[1],l={show:o,fontSize:12,color:this.labelColor,position:s,formatter:function(e){var t=Array.isArray(e.value)?e.value[1]:e.value;if(0!==e.value){var n=r.isLabelPercent?r.getPercentForLable(e.seriesIndex,t):t;return r.labelSample?n+r.labelUnit:e.seriesName+n+r.labelUnit}return""}},u=this.borderColor;2===this.borderColorArray.length&&(u=0===i?this.borderColorArray[0]:this.borderColorArray[1]);var c={name:e,type:"bar",barWidth:this.barWidth,xAxisIndex:i,yAxisIndex:i,barGap:this.isStack&&"total"===e?" -100%":this.barGap,itemStyle:{color:a,borderColor:u,borderRadius:this.borderRadius},emphasis:{itemStyle:{color:a,borderColor:u,borderRadius:this.borderRadius}},label:l,data:n};return this.isStack&&"total"!==e&&(c.stack="total"+i),this.isStack&&"total"===e&&(c.tooltip={show:!1}),c},chartOption:function(){var e,t=this.processSeries(),n=this,i=function(e){var t=g0()(e),i=t.year(),r=t.month(),a=t.hour(),o=t.minute(),s=t.seconds(),l="";switch(n.xLabelType){case"full":l=0===a&&0===o&&0===s?"".concat(t.format("YYYY-MM-DD"),"\n").concat(t.format("HH:mm:ss")):t.format("HH:mm:ss");break;case"ymd":l=t.format("YYYY-MM-DD");break;case"month":l=0===r?i+"年1月":r+1+"月";break;default:break}return l},r=p({trigger:"axis",backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},confine:!0,axisPointer:{lineStyle:{color:this.colorTheme.blue}},appendToBody:!0},"confine",!0);return this.sortTooltip&&(r.formatter=function(e){var t=[],i=[];t=E0(e),t.sort((function(e,t){return Array.isArray(e.value)?t.value[1]-e.value[1]:t.value-e.value}));var r=0;return t.forEach((function(e){r=e.seriesName.length>r?e.seriesName.length:r})),r+=3,t.forEach((function(e){var t=new Array(r-e.seriesName.length).fill("&nbsp").join(""),a="",o=Array.isArray(e.value)?e.value[1]:e.value;a=n.showTooltipMarker?e.marker+" "+e.seriesName+":"+t+o+"<br/>":e.seriesName+":"+t+o+"<br/>",e.seriesName,i.push(a)})),i.join("")}),{tooltip:r,legend:p({type:"scroll",show:this.showLegend,data:this.data.forEach((function(e){return e.name})),top:5,right:20,width:"80%",inactiveBorderColor:this.colorTheme.black,inactiveBorderWidth:0,pageIconColor:this.colorTheme.blue,pageIconInactiveColor:this.colorTheme.axisLine,pageIconSize:12,pageTextStyle:{color:this.colorTheme.text},textStyle:{color:this.colorTheme.text}},"data",this.legendData.length>0?this.legendData:void 0),grid:[{show:!1,top:this.grid[0],right:this.grid[1],left:this.grid[3],bottom:this.axisLocation,containLabel:!1},{show:!1,top:"48%",bottom:"48%",right:this.grid[1],left:this.grid[3],width:"100%",containLabel:!0},{show:!1,right:this.grid[1],bottom:this.grid[2],left:this.grid[3],top:this.axisLocation,containLabel:!1}],xAxis:[{name:this.xAxisName,position:"bottom",nameTextStyle:{color:this.colorTheme.text,fontSize:12,padding:this.xNamePadding,verticalAlign:"top"},nameGap:10,type:this.timeAxis?"time":"category",gridIndex:0,axisLabel:{show:!0,color:this.colorTheme.text,margin:15,fontSize:12,formatter:this.timeAxis?i:null},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},data:this.categorys},{gridIndex:1,position:"top",name:"2",type:this.timeAxis?"time":"category",nameTextStyle:{color:this.colorTheme.text,fontSize:14},axisLabel:{color:this.colorTheme.text,margin:15,fontSize:12,formatter:this.timeAxis?i:null},axisLine:{show:!1,lineStyle:{color:this.colorTheme.axisLine}},data:this.categorys},{name:"",gridIndex:2,position:"top",type:this.timeAxis?"time":"category",axisLabel:{show:!1,color:this.colorTheme.text,margin:15,fontSize:12,formatter:this.timeAxis?i:null},axisTick:{show:!0},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},data:this.categorys}],yAxis:[{gridIndex:0,name:this.yAxisNameOne,max:function(e){return n.maxYValue?n.maxYValue:Math.floor(1.1*e.max*10)/10},nameTextStyle:{color:this.colorTheme.text,fontSize:12,align:"left"},axisLabel:{margin:20,align:"center",fontSize:12,color:this.colorTheme.text,formatter:function(e){if(n.useExponent){if(0===e)return e;for(var t=e.toString(),i=0,r=0,a=0,o=1,s=0;s<t.length;s++)"."===t[s]&&(o=0),o?a++:0;if(Math.abs(e)<1){r++;for(var l=2;l<t.length;l++){if("0"!==t[l])break;r++}var u=parseFloat(e);return u*=Math.pow(10,r),u=u.toFixed(0),u.toString()+"E-"+r}i=a-1;var c=parseFloat(e);return c/=Math.pow(10,i),c=c.toFixed(0),c.toString()+"E+"+i}return e}},axisLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}}},{gridIndex:1,show:!1},{name:this.yAxisNameTwo,gridIndex:2,inverse:!0,max:function(e){return n.maxYValue?n.maxYValue:Math.floor(1.1*e.max*10)/10},nameTextStyle:{color:this.colorTheme.text,fontSize:12,align:"left"},axisLabel:(e={margin:20,align:"center"},p(e,"margin",20),p(e,"color",this.colorTheme.text),p(e,"formatter",(function(e){if(n.useExponent){if(0===e)return e;for(var t=e.toString(),i=0,r=0,a=0,o=1,s=0;s<t.length;s++)"."===t[s]&&(o=0),o?a++:0;if(Math.abs(e)<1){r++;for(var l=2;l<t.length;l++){if("0"!==t[l])break;r++}var u=parseFloat(e);return u*=Math.pow(10,r),u=u.toFixed(0),u.toString()+"E-"+r}i=a-1;var c=parseFloat(e);return c/=Math.pow(10,i),c=c.toFixed(0),c.toString()+"E+"+i}return e})),e),axisLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},axisTick:{show:!0},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}}}],series:t}}}},fue=due,pue=w0(fue,cue,hue,!1,null,null,null),mue=pue.exports;mue.install=function(e){e.component(mue.name,mue)};var gue=mue,yue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},vue=[],_ue={name:"DtSynergiaGantt",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},singleTypeColor:{type:Boolean,default:!1},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},yAxisMaxMultiple:{type:Number,default:3},dataZoom:{type:Array,default:function(){return[0,100]}},dataZoomDisabled:Boolean,xAxisName:String,yAxisName:String,grid:{type:Array,default:function(){return[10,10,16,60]}},minTime:String,maxTime:String,enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showMarkline:{type:Boolean,default:!0},autoMarkline:{type:Boolean,default:!1},markLineTime:{type:String},tooltipFormatter:{type:Function},xLabelType:{type:String,default:"full"},xSplitNumber:{type:Number,default:5},enableZoom:{type:Boolean,default:!0},labelColor:{type:String,default:"rgba(3, 189, 207, 1)"},axisColor:{type:String,default:"rgba(3, 189, 207, 0.4)"}},data:function(){return{chartInstance:null,markLineValue:"",interval:null,maxXTime:void 0,categoriesOne:[],categoriesTwo:[]}},watch:{data:function(e){var t=this.chartInstance.getOption(),n=this.processData(e),i=n.data,r=n.categories;t.yAxis[0].data=r,t.series[0].data=i,this.chartInstance.setOption(t,!0)},minTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].min=e,this.chartInstance.setOption(t,!0)},maxTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].max=e,this.chartInstance.setOption(t,!0)},markLineTime:function(e){this.markLineValue=e},markLineValue:function(e){if(this.showMarkline){var t=this.chartInstance.getOption();t.series.forEach((function(t){"标线"===t.name&&(t.markLine.data[0].xAxis=e)})),this.chartInstance.setOption(t,!1)}}},mounted:function(){var e=this;this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent();var t=this;if(this.showMarkline&&this.autoMarkline){var n=setInterval((function(){var n=t.maxTime?t.maxTime:t.maxXTime;if(g0()(e.markLineValue).isBefore(g0()(n))){var i=g0()(e.markLineValue).add(1,"seconds");e.markLineValue=i.format("YYYY-MM-DD HH:mm:ss")}}),1e3);this.$once("hook:beforeDestroy",(function(){window.clearInterval(n)}))}this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processData:function(e){var t=this,n=Object.keys(this.colors).length>0,i=[],r=[],a=[];e.map((function(e,o){if(i.push(e.name),e.data){var s=e.data.map((function(i,r){var s;t.maxXTime?t.maxXTime=g0()(i.value[1]).isAfter(g0()(t.maxXTime))?g0()(i.value[1]).format("YYYY-MM-DD HH:mm:ss"):t.maxXTime:t.maxXTime=g0()(i.value[1]).format("YYYY-MM-DD HH:mm:ss"),a.includes(i.name)||a.push(i.name);var l=a.findIndex((function(e){return i.name===e}))%7;return s=t.colorDefault[l],n&&(s=t.singleTypeColor?t.colors[i.name]:t.colors[e.name]),"rectangle"===e.type?{name:i.name,value:[o,new Date(i.value[0]).getTime(),new Date(i.value[1]).getTime(),"".concat(i.value[0]," ~ ").concat(i.value[1]),e.fill,"rectangle"],itemStyle:{color:s}}:"point"===e.type?{name:i.name,value:[o,new Date(i.value).getTime(),i.value,"point"],itemStyle:{color:i.color?i.color:s}}:void 0}));r=r.concat(s)}}));var o=this.yAxisMaxMultiple-e.length;if(o>0)for(var s=0;s<o;s++)i.push("");return{categories:i,data:r}},chartOption:function(){var e,t,n=this.processData(this.data);e=n.data,t=n.categories;var i=[{type:"custom",renderItem:function(e,t){var n=t.value(0),i=t.coord([t.value(1),n]),r=t.coord([t.value(2),n]),a=t.size([0,1])[1],o=.5*a,s=.5*a,u=l.clipRectByRect({x:i[0],y:i[1]-o/2,width:r[0]-i[0],height:s},{x:e.coordSys.x,y:e.coordSys.y,width:e.coordSys.width,height:e.coordSys.height}),c={lineWidth:2,stroke:t.visual("color")};if(t.value(4)){var h=B0(t.visual("color"),.4);c.fill=h}else c.fill="rgba(0, 0, 0, 0)";var d=u&&{type:"rect",shape:u,style:c,textContent:{},styleEmphasis:{}},f={type:"circle",shape:{cx:i[0],cy:i[1],r:5},style:{fill:t.visual("color")},textContent:{},styleEmphasis:{}};return t.value(5)?d:f},encode:{x:[1,2],y:0},data:e}];if(this.markLineValue=this.markLineTime?this.markLineTime:g0()().format("YYYY-MM-DD HH:mm:ss"),this.showMarkline){var r=this.markLineValue;i.push({name:"标线",type:"line",tooltip:{show:!1},markLine:{animation:!1,symbol:"",tooltip:{show:!0,formatter:function(e){return'<div style="display: flex;">\n <span>'.concat("当前时间: ",'<i style="width: 10px; display: inline-block;"></i>',g0()(e.value).format("YYYY-MM-DD HH:mm:ss"),"\n </span>\n </div>")}},data:[{xAxis:r,label:{show:!1},lineStyle:{width:1,type:"solid",color:this.colorTheme.cyan}}]}})}var a=this,o=function(e){return"rectangle"===a.type?'<div style="display: flex;">\n <span>\n <span style="background-color: '.concat(e.color,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n <span>').concat(e.name,'<i style="width: 10px; display: inline-block;"></i>').concat(g0()(e.value[1]).format("YYYY-MM-DD HH:mm:ss")," ~ ").concat(g0()(e.value[2]).format("YYYY-MM-DD HH:mm:ss"),"</span>\n </span>\n </div>"):"point"===a.type?'<div style="display: flex;">\n <span>\n <span style="background-color: '.concat(e.color,'; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n <span>').concat(e.name,'<i style="width: 10px; display: inline-block;"></i>').concat(e.value[2],"</span>\n </span>\n </div>"):void 0},s=[];return this.enableZoom&&(s=[{type:"inside",show:!this.dataZoomDisabled,xAxisIndex:[0],start:this.dataZoom[0],end:this.dataZoom[1],disabled:this.dataZoomDisabled,filterMode:"none"}]),{tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},confine:!0,formatter:this.tooltipFormatter?this.tooltipFormatter:o},legend:{show:!1},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{type:"time",name:this.xAxisName,min:this.minTime,max:this.maxTime,nameLocation:"start",splitNumber:this.xSplitNumber,nameTextStyle:{color:this.labelColor,fontSize:12},axisLabel:{color:this.labelColor,margin:5,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}},axisLine:{lineStyle:{color:this.axisColor}},splitLine:{show:!1},axisTick:{show:!0}},yAxis:{name:this.yAxisName,nameTextStyle:{color:this.labelColor,fontSize:12},nameLocation:"start",inverse:!0,data:t,axisLabel:{interval:0,margin:15,color:this.labelColor},axisLine:{lineStyle:{width:1,color:this.axisColor}},splitLine:{show:!0,lineStyle:{width:1,color:this.axisColor}}},dataZoom:s,series:i}}}},xue=_ue,bue=w0(xue,yue,vue,!1,null,null,null),wue=bue.exports;wue.install=function(e){e.component(wue.name,wue)};var Mue=wue,Sue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dt-chart",style:{width:e.width,height:e.height}},[n("div",{ref:"chart",staticStyle:{width:"100%",height:"100%"}})])},Tue=[],Lue=(n("5319"),{name:"DtDataAnalysis",mixins:[_0],mounted:function(){var e=this;this.$nextTick((function(){e.drawChart(),e.addClickEvent(),window.dataAnalysisChartClick=e.dataAnalysisChartClick,e.addResize()}))},props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},startTime:{type:String,default:"2018-1-1"},endTime:{type:String,default:"2022-1-1"},chartName:{type:Object,default:function(){return{first:"xxxxx",second:"xxxxx",three:"xxxxx",four:"xxxxx"}}},dataZoomStart:{type:Number,default:null},dataZoomEnd:{type:Number,default:null},firstRedData:{type:Array,default:function(){return[]}},firstBlueData:{type:Array,default:function(){return[]}},electronicData:{type:Array,default:function(){return[]}},protonMore10:{type:Array,default:function(){return[]}},protonMore30:{type:Array,default:function(){return[]}},threeData:{type:Array,default:function(){return[]}},fourData:{type:Array,default:function(){return[]}},initViewData:{type:Object},eventDataOne:{type:Array,default:function(){return[]}},eventDataTwo:{type:Array,default:function(){return[]}},eventDataThree:{type:Array,default:function(){return[]}},eventDataFour:{type:Array,default:function(){return[]}}},data:function(){return{myEchart:null,chartOption:null,lastTime:"",eventInfo:{}}},watch:{firstRedData:{handler:function(e,t){var n=e.length;n>0&&this.changeLastTime(e[n-1][0]),this.chartOption.series[0].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},firstBlueData:{handler:function(e,t){var n=e.length;n>0&&this.changeLastTime(e[n-1][0]),this.chartOption.series[1].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},electronicData:{handler:function(e,t){var n=e.length;n>0&&this.changeLastTime(e[n-1][0]),this.chartOption.series[2].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},protonMore10:{handler:function(e,t){var n=e.length;n>0&&this.changeLastTime(e[n-1][0]),this.chartOption.series[3].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},protonMore30:{handler:function(e,t){var n=e.length;n>0&&this.changeLastTime(e[n-1][0]),this.chartOption.series[4].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},threeData:{handler:function(e,t){var n=e.length;n>0&&this.changeLastTime(e[n-1][0]),this.chartOption.series[5].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},fourData:{handler:function(e,t){var n=e.length;n>0&&this.changeLastTime(e[n-1][0]),this.chartOption.series[6].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},eventDataOne:{handler:function(e,t){this.chartOption.series[8].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})}},eventDataTwo:{handler:function(e,t){this.chartOption.series[9].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})}},eventDataThree:{handler:function(e,t){this.chartOption.series[10].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})}},eventDataFour:{handler:function(e,t){this.chartOption.series[11].data=e,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})}},startTime:{handler:function(e,t){this.chartOption.xAxis.forEach((function(t){t.min=e})),this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},endTime:{handler:function(e,t){this.chartOption.xAxis.forEach((function(t){t.max=e})),this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},dataZoomStart:{handler:function(e,t){this.chartOption.dataZoom.forEach((function(t){t.start=e})),this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},dataZoomEnd:{handler:function(e,t){this.chartOption.dataZoom.forEach((function(t){t.end=e})),this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})},deep:!0},initViewData:{handler:function(e){this.myEchart&&this.initViewZoom(e)},deep:!0},lastTime:{handler:function(e){e&&(this.chartOption.series[7].markLine.data[0].xAxis=e)},immediate:!0}},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.myEchart&&e.myEchart.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addClickEvent:function(){var e=this;this.myEchart&&this.myEchart.on("click",(function(t){"scatter"===t.seriesType&&e.$emit("mark-click",t.data)})),this.myEchart.getZr().on("click",(function(t){console.log("点击事件",t);var n=[t.offsetX,t.offsetY];if(e.myEchart.containPixel({gridIndex:0},n)){var i=e.myEchart.convertFromPixel({seriesIndex:0},n)[0];e.eventInfo={index:0,time:g0()(i).format("YYYY-MM-DD HH:mm:ss")}}if(e.myEchart.containPixel({gridIndex:1},n)){var r=e.myEchart.convertFromPixel({seriesIndex:2},n)[0];e.eventInfo={index:1,time:g0()(r).format("YYYY-MM-DD HH:mm:ss")}}if(e.myEchart.containPixel({gridIndex:2},n)){var a=e.myEchart.convertFromPixel({seriesIndex:5},n)[0];e.eventInfo={index:2,time:g0()(a).format("YYYY-MM-DD HH:mm:ss")}}if(e.myEchart.containPixel({gridIndex:3},n)){var o=e.myEchart.convertFromPixel({seriesIndex:6},n)[0];e.eventInfo={index:3,time:g0()(o).format("YYYY-MM-DD HH:mm:ss")}}}))},dataAnalysisChartClick:function(){console.log("添加事件",this.eventInfo),this.$emit("event-add",this.eventInfo)},changeLastTime:function(e){this.lastTime?g0()(e).isAfter(g0()(this.lastTime))&&(this.lastTime=e):this.lastTime=e},initViewZoom:function(e){this.myEchart.dispatchAction({type:"dataZoom",start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})},commaToNewline:function(e){return e.split("").join().replace(/[\,]/g,"\n")},changeSatellite:function(e){this.$emit("editSatellite",e)},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},drawChart:function(){var e=this;this.myEchart=Nx(this.$refs.chart),this.chartOption={title:[{top:"6%",left:"2%",text:this.commaToNewline(this.chartName.first),textStyle:{color:this.colorTheme.text}},{top:"32%",left:"2%",text:this.commaToNewline(this.chartName.second),textStyle:{color:this.colorTheme.text}},{top:"58%",left:"2%",text:this.commaToNewline(this.chartName.three),textStyle:{color:this.colorTheme.text}},{top:"80%",left:"2%",text:this.commaToNewline(this.chartName.four),textStyle:{color:this.colorTheme.text}}],grid:[{left:"100px",right:"40px",top:"4%",height:"18%"},{left:"100px",right:"40px",top:"28.5%",height:"18%"},{left:"100px",right:"40px",top:"53%",height:"18%"},{left:"100px",right:"40px",top:"78%",height:"18%"},{left:"100px",right:"40px",top:"6%",bottom:"4%",height:"90%",zlevel:-1}],tooltip:{trigger:"axis",triggerOn:"click",enterable:!0,formatter:function(e){console.log("数据",e);var t='<div style="width:100%; height: 25px; line-height: 25px; color: #000; text-align: center; box-sizing: border-box; margin-bottom: 5px; padding-left: 30px; padding-right: 30px;"> '.concat(g0()(e[0].data[0]).format("YYYY-MM-DD HH:mm:ss"),"</div>");t+='<i class="el-icon-circle-plus-outline" style="position: absolute; right: 10px;top: 12px;font-size: 18px;cursor: pointer; color: #000;" onclick="dataAnalysisChartClick()"></i>';for(var n=0;n<e.length;n++){var i="";switch(e[n].seriesName){case"太阳活动":i="(Watts · m ²)";break;case"GEO>2MeV电子":i="(Particles · cm⁻² · s⁻¹ · sr⁻¹)";break;case"GEO>10MeV质子":i="(Particles · cm⁻² · s⁻¹ · sr⁻¹)";break;case"GEO>30MeV质子":i="(Particles · cm⁻² · s⁻¹ · sr⁻¹)";break;case"地磁":i="(Kp index)";break;case"环境风险":i="(级)";break;default:i=""}if(i){var r="太阳活动"===e[n].seriesName?e[n].value[e[n].encode.y[0]]:e[n].value[e[n].encode.y[0]]?e[n].value[e[n].encode.y[0]].toFixed(2):0;"环境风险"===e[n].seriesName&&(r=e[n].value[e[n].encode.y[0]]?Math.ceil(e[n].value[e[n].encode.y[0]]):0),t+='<div style="color:#000; font-size: 14px; padding:0 12px; line-height: 25px;">\n <span style="display: inline-block; margin-right: 5px; border-radius: 50%; width: 10px; height: 10px; background-color: '.concat(e[n].color,'"></span> ').concat(e[n].seriesName.includes("series")?"":e[n].seriesName," ").concat(r," ").concat(i,"\n </div>")}}return t}},axisPointer:{link:{xAxisIndex:"all"}},legend:[{data:["",""],x:"center",y:"0%"},{data:[{name:"GEO>2MeV电子",textStyle:{color:this.colorTheme.text}},{name:"GEO>10MeV质子",textStyle:{color:this.colorTheme.text}},{name:"GEO>30MeV质子",textStyle:{color:this.colorTheme.text}}],x:"center",y:"26%"},{data:["",""],x:"center",y:"0%"},{data:["",""],x:"center",y:"0%"}],xAxis:[{gridIndex:0,boundaryGap:!1,type:"time",splitNumber:8,min:new Date(this.startTime),max:new Date(this.endTime),axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{color:this.colorTheme.text,interale:0,rotate:0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},{gridIndex:1,boundaryGap:!1,type:"time",splitNumber:8,min:new Date(this.startTime),max:new Date(this.endTime),axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{color:this.colorTheme.text,interale:0,rotate:0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},{gridIndex:2,boundaryGap:!1,type:"time",splitNumber:8,min:new Date(this.startTime),max:new Date(this.endTime),axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{color:this.colorTheme.text,interale:0,rotate:0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},{gridIndex:3,boundaryGap:!1,type:"time",splitNumber:8,min:new Date(this.startTime),max:new Date(this.endTime),axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{color:this.colorTheme.text,interale:0,rotate:0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},{gridIndex:4,boundaryGap:!1,type:"time",min:new Date(this.startTime),max:new Date(this.endTime),axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}}],yAxis:[{gridIndex:0,type:"log",name:"(Watts · m ²)",position:"left",nameTextStyle:{color:this.colorTheme.text},min:Math.pow(10,-7),max:Math.pow(10,-2),splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{fontSize:12,color:this.colorTheme.text,formatter:function(e,t){var n="";switch(e){case Math.pow(10,-7):n="⁻⁷";break;case Math.pow(10,-6):n="⁻⁶";break;case 1e-5:n="⁻⁵";break;case 1e-4:n="⁻⁴";break;case Math.pow(10,-3):n="⁻³";break;case Math.pow(10,-2):n="⁻²";break}return"10"==="10".concat(n)?"":"10".concat(n)}}},{gridIndex:0,type:"log",name:"",position:"right",nameTextStyle:{color:this.colorTheme.text},min:Math.pow(10,-7),max:Math.pow(10,-2),splitNumber:10,splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{padding:[10,0,0,0],verticalAlign:"cneter",color:this.colorTheme.text,formatter:function(e,t){var n="";switch(e){case Math.pow(10,-7):n="";break;case Math.pow(10,-6):n="B";break;case 1e-5:n="C";break;case 1e-4:n="M";break;case Math.pow(10,-3):n="X";break;case Math.pow(10,-2):n="";break}return"".concat(n)}}},{gridIndex:1,type:"log",name:"(Particles · cm⁻² · s⁻¹ · sr⁻¹)",nameTextStyle:{color:this.colorTheme.text},min:Math.pow(10,-2),max:Math.pow(10,7),splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{fontSize:12,color:this.colorTheme.text,formatter:function(e,t){var n="";switch(e){case Math.pow(10,7):n=" ⁷";break;case Math.pow(10,6):n=" ⁶";break;case Math.pow(10,5):n=" ⁵";break;case Math.pow(10,4):n=" ⁴";break;case Math.pow(10,3):n=" ³";break;case Math.pow(10,2):n=" ²";break;case Math.pow(10,1):n=" ¹";break;case Math.pow(10,0):n=" ⁰";break;case Math.pow(10,-1):n="⁻¹";break;case Math.pow(10,-2):n="";break}return"10"==="10".concat(n)?"":"10".concat(n)}}},{gridIndex:2,type:"value",name:"(Kp index)",nameTextStyle:{color:this.colorTheme.text},min:0,max:9,splitNumber:9,splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{fontSize:12,color:this.colorTheme.text}},{gridIndex:3,type:"value",min:0,max:5,splitNumber:5,splitLine:{show:!0,lineStyle:{type:"solid",color:this.colorTheme.axisLine}},axisLabel:{verticalAlign:"top",padding:[10,0,0,0],fontSize:12,color:this.colorTheme.text,formatter:function(e){if(0!==e)return e+"级"}}},{gridIndex:4,type:"value",splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}}],dataZoom:[{type:"inside",start:90,end:100,xAxisIndex:[0,1,2,3,4],yAxisIndex:"none",minValueSpan:36e5,filterMode:"empty"}],series:[{xAxisIndex:0,yAxisIndex:0,name:"太阳活动",type:"line",symbol:"circle",symbolSize:3,data:this.firstRedData,itemStyle:{normal:{color:this.colorTheme.orange,lineStyle:{color:this.colorTheme.orange}}}},{xAxisIndex:0,yAxisIndex:1,name:"太阳活动",type:"line",symbol:"circle",symbolSize:3,itemStyle:{normal:{color:this.colorTheme.cyan,lineStyle:{color:this.colorTheme.cyan}}},data:this.firstBlueData},{xAxisIndex:1,yAxisIndex:2,name:"GEO>2MeV电子",type:"line",symbol:"circle",symbolSize:3,itemStyle:{normal:{color:this.colorTheme.green,lineStyle:{color:this.colorTheme.green}}},data:this.electronicData,markLine:{data:[{name:"电子警戒线1000",yAxis:1e3}]}},{xAxisIndex:1,yAxisIndex:2,name:"GEO>10MeV质子",itemStyle:{normal:{color:this.colorTheme.blue,lineStyle:{color:this.colorTheme.blue}}},type:"line",symbol:"circle",symbolSize:3,data:this.protonMore10,markLine:{data:[{name:"质子警戒线10",yAxis:10}]}},{xAxisIndex:1,yAxisIndex:2,name:"GEO>30MeV质子",type:"line",symbol:"circle",symbolSize:3,itemStyle:{normal:{color:this.colorTheme.red,lineStyle:{color:this.colorTheme.red}}},data:this.protonMore30,markLine:{data:[{name:"质子警戒线10",yAxis:10}]}},{xAxisIndex:2,yAxisIndex:3,name:"地磁",type:"bar",barMaxWidth:20,barMinWidth:5,itemStyle:{normal:{color:function(t){var n=t.value[1];return n>0&&n<=4?e.colorTheme.green:n>4&&n<=7?e.colorTheme.yellow:e.colorTheme.red}}},data:this.threeData},{xAxisIndex:3,yAxisIndex:4,symbol:"none",smooth:!0,name:"环境风险",type:"line",itemStyle:{normal:{color:this.colorTheme.red,lineStyle:{color:this.colorTheme.red}}},areaStyle:{color:new l.LinearGradient(0,0,0,1,[{offset:0,color:this.colorTheme.red},{offset:1,color:this.colorTheme.b}])},data:this.fourData},{name:"标线",type:"line",xAxisIndex:4,yAxisIndex:5,markLine:{animation:!1,symbol:"",data:[{xAxis:this.lastTime,label:{show:!0,distance:-10,position:"end",color:this.colorTheme.white,backgroundColor:this.colorTheme.blue,borderRadius:5,padding:[5,5,2,5],formatter:function(e){return g0()(e.value).format("YYYY-MM-DD HH:mm:ss")}},lineStyle:{width:1,type:"solid",color:this.timelineColor}}]}},{xAxisIndex:0,yAxisIndex:0,name:"",tooltip:{show:!1},type:"scatter",symbol:"circle",symbolSize:10,data:this.eventDataOne,itemStyle:{color:"red"}},{xAxisIndex:1,yAxisIndex:2,name:"",tooltip:{show:!1},type:"scatter",symbol:"circle",symbolSize:10,data:this.eventDataTwo,itemStyle:{color:"red"}},{xAxisIndex:2,yAxisIndex:3,name:"",tooltip:{show:!1},type:"scatter",symbol:"circle",symbolSize:10,data:this.eventDataThree,itemStyle:{color:"red"}},{xAxisIndex:3,yAxisIndex:4,name:"",tooltip:{show:!1},type:"scatter",symbol:"circle",symbolSize:10,data:this.eventDataFour,itemStyle:{color:"red"}}]},this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1}),this.myEchart.on("datazoom",this.shake((function(t){var n=e.myEchart.getOption().dataZoom[0].startValue,i=e.myEchart.getOption().dataZoom[0].endValue;e.chartOption.animation=!1,e.$emit("chartScroll",t,n,i)}),500))}}}),Due=Lue,Aue=w0(Due,Sue,Tue,!1,null,"33752a48",null),Oue=Aue.exports;Oue.install=function(e){e.component(Oue.name,Oue)};var kue=Oue,Iue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Cue=[],Eue={name:"DtMultipleAnalysis",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},xAxis:{type:Array,default:function(){return[{}]}},yAxis:{type:Array,default:function(){return[{}]}},dataZoom:{type:Array,default:function(){return[{}]}},infiniteAxis:{type:Object,default:function(){return{}}},currentTime:{type:String,default:""},dataConfig:{type:Object,default:function(){return{}}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,markLineValue:"",maxXTime:void 0,defaultTitle:{show:!0,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!0,orient:"horizontal",icon:"rect"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60},defaultXAxis:{show:!0,gridIndex:0,position:"bottom",type:"time",name:"x轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultYAxis:{show:!0,gridIndex:0,position:"left",type:"value",name:"y轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"dashed",opacity:.4}}},defaultTooltip:{show:!0,trigger:"axis",axisPointer:{type:"line"},triggerOn:"mousemove"},defaultDataZoom:{inside:{type:"inside",disabled:!1,filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1},slider:{type:"slider",disabled:!0,backgroundColor:"rgba(47,69,84,0)",filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1}},defaultLine:{xAxisIndex:0,yAxisIndex:0,type:"line",symbol:"circle",symbolSize:4,lineStyle:{color:"#fff",width:2,type:"solid"},smooth:!0},defaultBar:{type:"bar",xAxisIndex:0,yAxisIndex:0},defaultScatter:{type:"scatter",xAxisIndex:0,yAxisIndex:0,symbol:"circle",symbolSize:8,emphasis:{scale:!0}},zoomAxis:[],userXAxis:[],userYAxis:[]}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),this.addDataZoomlistener(),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processData:function(e,t){var n=this.dataConfig[t];if(n){var i,r,a=g0()().format("YYYY-MM-DD HH:mm:ss"),o=n.standardTime?n.standardTime:this.currentTime?this.currentTime:a;if(n.start&&"number"===typeof n.start.value){var s=n.start.unit?n.start.unit:"d";i=g0()(o).subtract(n.start.value,s)}if(n.end&&"number"===typeof n.end.value){var l=n.end.unit?n.end.unit:"d";r=g0()(o).add(n.end.value,l)}var u=[];return e.forEach((function(e){var t=g0()(e[0]),n=!0,a=!0;i&&(n=t.isSameOrAfter(i)),r&&(a=t.isSameOrBefore(r)),n&&a&&u.push(e)})),u}},processLine:function(e){var t=Z0(this.defaultLine,e);return t},processBar:function(e){var t=Z0(this.defaultBar,e);return t},processScatter:function(e){var t=Z0(this.defaultScatter,e);return t},chartOption:function(){var e=this,t=[],n={},i=[];this.data.forEach((function(e){i.push(Z0({},e))})),i.forEach((function(i){e.dataConfig[i.name]&&(i.data=e.processData(i.data,i.name));var r=i.xAxisIndex?i.xAxisIndex:0;i.data&&Array.isArray(i.data[0])&&(n[r]?(n[r].min=Math.min(n[r].min,i.data[0][0]),n[r].max=Math.max(n[r].max,i.data[i.data.length-1][0])):n[r]={min:i.data[0][0],max:i.data[i.data.length-1][0]});var a=i.type.slice(0,1).toUpperCase()+i.type.slice(1),o=e["process"+a](i);t.push(o)}));var r=this.title.map((function(t){return Z0(e.defaultTitle,t)})),a=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),o=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),s=Z0(this.defaultTooltip,this.tooltip),l={link:{xAxisIndex:"all"}},u=this.xAxis.map((function(t,i){var r,a=Z0(e.defaultXAxis,t);return"time"===a.type&&e.infiniteAxis[i]&&e.infiniteAxis[i].start&&(r=Math.ceil(1e-5*g0()(n[i].max).diff(g0()(n[i].min))/1e3),a.min=g0()(n[i].min).subtract(r,"seconds").format("YYYY-MM-DD HH:mm:ss")),"time"===a.type&&e.infiniteAxis[i]&&e.infiniteAxis[i].end&&(r=Math.ceil(1e-5*g0()(n[i].max).diff(g0()(n[i].min))/1e3),a.max=g0()(n[i].max).add(r,"seconds").format("YYYY-MM-DD HH:mm:ss")),a}));this.userXAxis=u;var c=this.yAxis.map((function(t){return Z0(e.defaultYAxis,t)}));this.userYAxis=u;var h=this.dataZoom.map((function(t){var n=t.type?t.type:"inside",i=Z0(e.defaultDataZoom[n],t),r=i.xAxisIndex,a=!1,o=!1;return r.forEach((function(t){e.infiniteAxis[t]&&e.infiniteAxis[t].start&&(a=!0),e.infiniteAxis[t]&&e.infiniteAxis[t].end&&(o=!0)})),a&&(i.start=1e-5),o&&(i.end=99.99999),i})),d={title:r,grid:a,legend:o,tooltip:s,axisPointer:l,xAxis:u,yAxis:c,dataZoom:h,series:t};return d},addDataZoomlistener:function(){var e=this,t=this;this.chartInstance.on("datazoom",this.shake((function(n){if(0===n.batch[0].start&&100===n.batch[0].end&&Object.keys(t.infiniteAxis).length>0){var i=t.chartInstance.getOption();t.currentTime?g0()(t.currentTime):g0()();i.xAxis=i.xAxis.map((function(e,n){if("time"===e.type&&t.infiniteAxis[n]){var i=t.chartInstance.getModel().getComponent("xAxis",n).axis.grid._axesList,r=i[0].scale._extent,a=parseInt(.05*(r[1]-r[0])),o=g0()(r[0]-a),s=g0()(r[1]+a);t.infiniteAxis[n].start&&(e.min=o.format("YYYY-MM-DD HH:mm:ss")),t.infiniteAxis[n].end&&(e.max=s.format("YYYY-MM-DD HH:mm:ss"))}return e})),i.dataZoom=i.dataZoom.map((function(e,n){return t.infiniteAxis[n].start&&(e.start=.001),t.infiniteAxis[n].end&&(e.end=99.999),e})),e.chartInstance.setOption(i)}e.$emit("scroll",n)}),200))},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=this.chartInstance.getOption();i.series.forEach((function(e){var i=n.find((function(t){return t.name===e.name})),r=i.data;t.dataConfig[e.name]&&(r=t.processData(r,e.name)),e.data=r}));var r=[];n.forEach((function(e){var n=i.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);r.push(a)}})),r.length&&(i.series=i.series.concat(r)),this.chartInstance.setOption(i,!0)},appendSeries:function(e){var t=this,n=[];e.forEach((function(e){t.dataConfig[e.name]&&(e.data=t.processData(e.data,e.name));var i=e.type.slice(0,1).toUpperCase()+e.type.slice(1),r=t["process"+i](e);n.push(r)}));var i=this.chartInstance.getOption();i.series=i.series.concat(n),this.chartInstance.setOption(i,!0)},deleteSeries:function(e){var t=this.chartInstance.getOption();t.series=t.series.filter((function(t){return-1===e.indexOf(t.name)})),this.chartInstance.setOption(t,!0)}}},Pue=Eue,Nue=w0(Pue,Iue,Cue,!1,null,null,null),Rue=Nue.exports;Rue.install=function(e){e.component(Rue.name,Rue)};var Yue=Rue,zue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Hue=[],jue={name:"DtImageGantt",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},singleTypeColor:{type:Boolean,default:!0},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},yAxisMaxMultiple:{type:Number,default:5},dataZoom:{type:Array,default:function(){return[0,100]}},dataZoomDisabled:Boolean,xAxisName:String,yAxisName:String,grid:{type:Array,default:function(){return[60,100,60,90]}},minTime:String,maxTime:String,enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},showMarkline:{type:Boolean,default:!1},autoMarkline:{type:Boolean,default:!0},markLineTime:{type:String},tooltipFormatter:{type:Function},autoTimeLevel:{type:Boolean,default:!1},autoTypeLevel:{type:Boolean,default:!1},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},xSplitNumber:{type:Number,default:5},xAxisPosition:{type:String,default:"top"},splitAreaColors:{type:Array,default:function(){return["rgba(0, 119, 255, .1)","rgba(0, 255, 17, .1)","rgba(255, 211, 0, .1)","rgba(255, 82, 0, .12)","rgba(255, 0, 0, .12)"]}}},data:function(){return{chartInstance:null,_splitAreaColors:[],markLineValue:"",interval:null,maxXTime:void 0}},watch:{data:function(e){var t=this.chartInstance.getOption(),n=this.processData(e),i=n.data,r=n.categories;t.yAxis[0].data=r,t.series[0].data=i,this.chartInstance.setOption(t,!0)},minTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].min=e,this.chartInstance.setOption(t,!0)},maxTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].max=e,this.chartInstance.setOption(t,!0)},markLineTime:function(e){this.markLineValue=e},markLineValue:function(e){if(this.showMarkline){var t=this.chartInstance.getOption();t.series.forEach((function(t){"标线"===t.name&&(t.markLine.data[0].xAxis=e)})),this.chartInstance.setOption(t,!1)}}},mounted:function(){this._splitAreaColors=this.splitAreaColors,this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},calculateTimeLevel:function(e){for(var t=0;t<e.length;t++){var n=1;e[t].data[0].level=1;for(var i=[[e[t].data[0].value]],r=1;r<e[t].data.length;r++){for(var a=!1,o=0;o<i.length;o++){for(var s=!0,l=0;l<i[o].length;l++){var u=g0()(i[o][l][0]),c=g0()(i[o][l][1]),h=g0()(e[t].data[r].value[0]),d=g0()(e[t].data[r].value[1]),f=h.isBetween(u,c),p=d.isBetween(u,c),m=u.isBetween(h,d),g=c.isBetween(h,d);if(f||p||m||g){s=!1;break}}if(s){e[t].data[r].level=o+1,i[o].push(e[t].data[r].value),a=!0;break}}a||(n+=1,e[t].data[r].level=n,i.push([e[t].data[r].value]))}e[t].total=n}return e},calculateTypeLevel:function(e){for(var t=0;t<e.length;t++){var n=1;e[t].data[0].level=1;for(var i=[e[t].data[0].name],r=1;r<e[t].data.length;r++){var a=i.indexOf(e[t].data[r].name);-1!==a?e[t].data[r].level=a+1:(n+=1,e[t].data[r].level=n,i.push(e[t].data[r].name))}e[t].total=n}return e},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processData:function(e){var t=this;this.autoTimeLevel&&(e=this.calculateTimeLevel(e)),this.autoTypeLevel&&(e=this.calculateTypeLevel(e));var n=Object.keys(this.colors).length>0,i=[],r=[],a=[];e.map((function(e,o){if(i.push(e.name),e.data){var s=e.data.map((function(i,r){if(t.maxXTime?t.maxXTime=g0()(i.value[1]).isAfter(g0()(t.maxXTime))?g0()(i.value[1]).local().format("YYYY-MM-DD HH:mm:ss"):t.maxXTime:t.maxXTime=g0()(i.value[1]).local().format("YYYY-MM-DD HH:mm:ss"),n)t.singleTypeColor?t.colors[i.name]:t.colors[e.name];else{a.includes(i.name)||a.push(i.name);var s=a.findIndex((function(e){return i.name===e}))%7;t.colorDefault[s]}return{name:i.name,value:[o,new Date(i.value).getTime(),i.value,i.image,i.width,i.height,i.text],rawItem:i}}));r=r.concat(s)}}));var o=this.yAxisMaxMultiple-e.length;if(o>0)for(var s=0;s<o;s++)i.push(""),this._splitAreaColors.push("transparent");return{categories:i,data:r}},chartOption:function(){var e,t,n=this.processData(this.data);e=n.data,t=n.categories;var i=[{type:"custom",renderItem:function(e,t){var n=t.value(0),i=t.coord([t.value(1),n]),r=t.value(3),a=t.value(4),o=t.value(5),s={type:"image",x:i[0],y:i[1]-o/2,style:{image:r,width:a,height:o},textContent:{},styleEmphasis:{}};return s},encode:{x:[1,2],y:0},data:e}];if(this.markLineValue=this.markLineTime?this.markLineTime:g0()().local().format("YYYY-MM-DD HH:mm:ss"),this.showMarkline){var r=this.markLineValue;i.push({name:"标线",type:"line",tooltip:{show:!1},markLine:{animation:!1,symbol:"",tooltip:{show:!0,formatter:function(e){return'<div style="display: flex;">\n <span>'.concat("当前时间: ",'<i style="width: 10px; display: inline-block;"></i>',g0()(e.value).format("YYYY-MM-DD HH:mm:ss"),"\n </span>\n </div>")}},data:[{xAxis:r,label:{show:!1},lineStyle:{width:1,type:"solid",color:this.colorTheme.cyan}}]}})}var a=function(e){return'<div style="display: flex;">\n <span>\n <span style="background-color: #1d8ffa; width: 10px; height: 10px; border-radius: 5px; display: inline-block; margin: 0 5px;"></span>\n <span>'.concat(e.value[6],"</span>\n </span>\n </div>")};return{tooltip:{backgroundColor:this.colorTheme.black1,borderColor:this.colorTheme.black,textStyle:{color:this.colorTheme.text},confine:!0,formatter:this.tooltipFormatter?this.tooltipFormatter:a},legend:{show:!1},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{type:"time",boundaryGap:["0.01%","0.01%"],name:this.xAxisName,min:this.minTime,max:this.maxTime,splitNumber:this.xSplitNumber,minInterval:60,position:this.xAxisPosition,nameTextStyle:{color:this.colorTheme.text,fontSize:12},axisLabel:{color:this.colorTheme.text,margin:15,formatter:this.timeFormatter,showMinLabel:!0,showMaxLabel:!0},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{show:!1},axisTick:{show:!0}},yAxis:{name:this.yAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:12},nameLocation:"start",inverse:!0,data:t,axisLabel:{interval:0,margin:15,color:this.colorTheme.text},axisLine:{lineStyle:{width:1,color:this.colorTheme.axisLine}},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}},splitArea:{show:!0,areaStyle:{color:this._splitAreaColors}}},dataZoom:[{type:"inside",show:!this.dataZoomDisabled,xAxisIndex:[0],start:this.dataZoom[0],end:this.dataZoom[1],disabled:this.dataZoomDisabled},{type:"slider",show:!this.dataZoomDisabled,yAxisIndex:[0],startValue:0,endValue:this.yAxisMaxMultiple-1,width:10,backgroundColor:this.colorTheme.background,borderColor:"transparent",fillerColor:this.colorTheme.axisLine,handleSize:0,moveHandleSize:0,textStyle:{color:"transparent"},zoomLock:!0,disabled:this.dataZoomDisabled,rangeMode:["value","value"],brushSelect:!1}],series:i}}}},Fue=jue,Bue=w0(Fue,zue,Hue,!1,null,null,null),Vue=Bue.exports;Vue.install=function(e){e.component(Vue.name,Vue)};var Gue=Vue,Wue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Uue=[],Xue=(n("7ed3"),{name:"DtPointGantt",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},singleTypeColor:{type:Boolean,default:!1},data:{type:Array,required:!0,default:function(){return[]}},colors:{type:Object,default:function(){return{}}},yAxisMaxMultiple:{type:Number,default:5},dataZoom:{type:Array,default:function(){return[0,100]}},dataZoomDisabled:Boolean,xAxisName:String,yAxisName:String,grid:{type:Array,default:function(){return[40,40,20,90]}},minTime:String,maxTime:String,enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},tooltipFormatter:{type:Function},autoTimeLevel:{type:Boolean,default:!1},autoTypeLevel:{type:Boolean,default:!1},timeFormatter:{type:[String,Object],default:function(){return{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}}},xSplitNumber:{type:Number,default:5},xAxisPosition:{type:String,default:"top"},pointColor:{type:String,default:"rgb(255,255,255)"},pointFill:{type:Boolean,default:!1},borderColor:{type:String,default:"#6DDFA8"},splitAreaColors:{type:Array,default:function(){return["rgba(0, 119, 255, .1)","rgba(0, 255, 17, .1)","rgba(255, 211, 0, .1)","rgba(255, 82, 0, .12)","rgba(255, 0, 0, .12)"]}}},data:function(){return{chartInstance:null,_splitAreaColors:[],markLineValue:"",interval:null,maxXTime:void 0}},watch:{data:function(e){this.chartInstance.setOption(this.chartOption())},minTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].min=e,this.chartInstance.setOption(t,!0)},maxTime:function(e){var t=this.chartInstance.getOption();t.xAxis[0].max=e,this.chartInstance.setOption(t,!0)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},calculateTimeLevel:function(e){for(var t=[],n=function(n){var i=JSON.parse(JSON.stringify(e[n]));i.data=[];var r={};e[n].data.forEach((function(e){r[e.value]?r[e.value]=r[e.value]+1:Reflect.set(r,e.value,1)}));var a={};e[n].data.forEach((function(e){a[e.value]?a[e.value]=a[e.value]+1:Reflect.set(a,e.value,1),e.total=r[e.value],e.level=a[e.value],e.total<5?i.data.push(e):e.level<5&&i.data.push(g(g({},e),{},{total:4}))})),t.push(JSON.parse(JSON.stringify(i)))},i=0;i<e.length;i++)n(i);return t},calculateTypeLevel:function(e){for(var t=0;t<e.length;t++){var n=1;e[t].data[0].level=1;for(var i=[e[t].data[0].name],r=1;r<e[t].data.length;r++){var a=i.indexOf(e[t].data[r].name);-1!==a?e[t].data[r].level=a+1:(n+=1,e[t].data[r].level=n,i.push(e[t].data[r].name))}e[t].total=n}return e},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processData:function(e){var t=this;e=this.calculateTimeLevel(e);Object.keys(this.colors).length;var n=[],i=[];e.map((function(e,r){if(n.push(e.name),e.data){var a=e.data.map((function(e,n){return{name:e.name,value:[r,new Date(e.value).getTime(),e.value,e.level,e.total],itemStyle:{color:t.pointColor},rawItem:e}}));i=i.concat(a)}}));var r=this.yAxisMaxMultiple-e.length;if(r>0)for(var a=0;a<r;a++)n.push("");return console.log("最后",n),{categories:n,data:i}},chartOption:function(){var e,t,n=this,i=this.processData(this.data);e=i.data,t=i.categories;var r=[{type:"custom",renderItem:function(e,t){var i,r=t.value(0),a=t.coord([t.value(1),r]),o=t.value(3),s=t.value(4),l=6,u=2,c=a[1];i=s%2===0?c-u*(s/2+.5-o)-l*(2*(s/2+.5-o)):c-((s+1)/2-o)*(2*l+u);var h={type:"circle",shape:{cx:a[0],cy:i,r:l},style:{fill:n.pointFill?t.visual("color"):"transparent",stroke:n.borderColor,borderColor:n.borderColor,lineWidth:1},textContent:{},styleEmphasis:{}};return h},encode:{x:[1,2],y:0},data:e}],a=function(e){return'<div>\n <div style="color: #26262E;">'.concat(e.name,'</div>\n <div style="color: #26262E;">降交点时间:').concat(g0()(e.value[2]).format("HH:mm:ss"),"</div>\n </div>")};return console.log("犀利",t),{tooltip:{backgroundColor:"#fff",borderColor:"#fff",textStyle:{color:this.colorTheme.text},confine:!0,formatter:this.tooltipFormatter?this.tooltipFormatter:a},legend:{show:!1},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:{type:"time",boundaryGap:["0.01%","0.01%"],name:this.xAxisName,min:this.minTime,max:this.maxTime,splitNumber:this.xSplitNumber,minInterval:60,position:this.xAxisPosition,nameTextStyle:{color:this.colorTheme.text,fontSize:12},axisLabel:{color:this.colorTheme.text,margin:15,fontSize:14,formatter:this.timeFormatter,showMinLabel:!0,showMaxLabel:!0},axisLine:{lineStyle:{color:this.colorTheme.axisLine}},splitLine:{show:!1},axisTick:{show:!0}},yAxis:{name:this.yAxisName,nameTextStyle:{color:this.colorTheme.text,fontSize:14},nameLocation:"start",inverse:!0,data:t,axisLabel:{interval:0,margin:15,fontSize:14,width:120,color:this.colorTheme.text,overflow:"truncate"},axisLine:{lineStyle:{width:1,color:this.colorTheme.axisLine}},splitLine:{show:!0,lineStyle:{width:1,color:this.colorTheme.axisLine}}},dataZoom:[{type:"inside",show:!this.dataZoomDisabled,xAxisIndex:[0],start:this.dataZoom[0],end:this.dataZoom[1],disabled:this.dataZoomDisabled},{type:"slider",show:!this.dataZoomDisabled&&this.data.length>this.yAxisMaxMultiple,yAxisIndex:[0],startValue:0,endValue:this.yAxisMaxMultiple-1,width:10,backgroundColor:this.colorTheme.background,borderColor:"transparent",fillerColor:this.colorTheme.axisLine,handleSize:0,moveHandleSize:0,textStyle:{color:"transparent"},zoomLock:!0,disabled:this.dataZoomDisabled,rangeMode:["value","value"],brushSelect:!1}],series:r}}}}),Zue=Xue,que=w0(Zue,Wue,Uue,!1,null,null,null),$ue=que.exports;$ue.install=function(e){e.component($ue.name,$ue)};var Jue=$ue,Kue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:"100%",height:"95%"}})},Que=[];function ece(e){if(Array.isArray(e))return e}function tce(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(i=n.next()).done);o=!0)if(a.push(i.value),t&&a.length===t)break}catch(l){s=!0,r=l}finally{try{o||null==n["return"]||n["return"]()}finally{if(s)throw r}}return a}}function nce(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ice(e,t){return ece(e)||tce(e,t)||I0(e,t)||nce()}n("cca6");var rce=v0.a,ace={timeRange:["2022-01-01 00:00:00","2022-06-01 00:00:00"]},oce={HOUR_DURATION:36e5,DAY_DURATION:864e5,WEEK_DURATION:6048e5,MONTH_DURATION:18144e6,YEAR_DURATION:220752e6};function sce(e){var t=[],n=e.filter((function(e){return!!e.grid}));if(n.length===e.length)t=e.map((function(e){return e.grid}));else{console.info("图表用户自定义布局grid不全, 使用默认布局");for(var i=e.length,r=100-4*(i+1),a=(r/i).toFixed(2),o=0;o<i;o++){var s=o*a+4*(o+1);t[o]={left:"100px",right:"100px",top:s+"%",height:a+"%"}}}return t}function lce(e,t,n){for(var i=[],r=e.length,a=0;a<r;a++)i[a]={gridIndex:a,boundaryGap:!1,type:"time",splitNumber:8,min:t,max:n,axisLine:{lineStyle:{color:rce.axisLine}},splitLine:{show:!0,lineStyle:{type:"solid",color:rce.axisLine}},axisLabel:{color:rce.text,interale:0,rotate:0,formatter:function(e){var t=g0()(e).format("YYYY-MM-DD"),n=g0()(e).format("HH:mm");return"".concat(n,"\n").concat("00:00"==n?t:"")}}};return i}function uce(e){for(var t=[],n=e.length,i=0;i<n;i++)t[i]={gridIndex:i,type:"log",name:"(Watts · m ²)",nameTextStyle:{color:rce.text},min:Math.pow(10,-7),max:Math.pow(10,-2),splitNumber:10,splitLine:{show:!0,lineStyle:{type:"solid",color:rce.axisLine}},axisLabel:{fontSize:12,color:rce.text,formatter:function(e,t){var n="";switch(e){case Math.pow(10,-7):n="⁻⁷";break;case Math.pow(10,-6):n="⁻⁶";break;case 1e-5:n="⁻⁵";break;case 1e-4:n="⁻⁴";break;case Math.pow(10,-3):n="⁻³";break;case Math.pow(10,-2):n="⁻²";break}return"10".concat(n)}}};return t}function cce(e){for(var t=[],n=e.length,i=function(n){var i=e[n].series,r={name:"",type:"line",symbol:"circle",symbolSize:3,itemStyle:{normal:{color:rce.cyan,lineStyle:{color:rce.cyan}}}};i.forEach((function(e){var i=JSON.parse(JSON.stringify(r));Object.assign(i,e),Object.assign(i,{xAxisIndex:n,yAxisIndex:n}),t.push(i)}))},r=0;r<n;r++)i(r);return t}function hce(e){for(var t=[],n=e.length,i=0;i<n;i++)t[i]={type:"inside",start:5,end:100,xAxisIndex:[0,i],yAxisIndex:"none",filterMode:"empty"};return t}var dce={name:"DtDataAnalysisChart",mounted:function(){var e=this;this.$nextTick((function(){e.drawChart()}))},props:{firstBlueData:{type:Array,default:function(){return[]}},option:{type:Object,default:ace}},data:function(){return{myEchart:null,chartOption:null,mode:1}},watch:{},methods:{update:function(e){if(1===this.mode){var t=this.chartOption.series.findIndex((function(t){return t.name===e.serieName}));this.chartOption.series[t].data=e.data,this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})}this.mode},drawChart:function(){var e=this.option,t=(e.mode,e.timeRange),n=e.dataZoomEnable,i=e.allData;this.mode=1,this.myEchart=Nx(this.$refs.chart);var r=ice(t,2),a=r[0],o=r[1],s=new Date(a),l=new Date(o),u=sce(i),c=lce(i,s,l),h=uce(i),d=cce(i),f=hce(i);this.chartOption={grid:u,xAxis:c,yAxis:h,series:d,dataZoom:f},this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1}),n&&this.drawChartOnDataRoom()},drawChartOnDataRoom:function(){var e=this;this.myEchart.on("datazoom",$0((function(t){e.chartOption.animation=!1;var n=e.myEchart.getOption().dataZoom,i=null===n||void 0===n?void 0:n[0],r=i.startValue,a=i.endValue,o=g0.a.utc(r).format("YYYY-MM-DDTHH:mm:ss")+"Z",s=g0.a.utc(a).format("YYYY-MM-DDTHH:mm:ss")+"Z",l=t.batch[0],u=l.start,c=l.end;if(0===u&&100===c){var h=0,d=a-r;d<oce.DAY_DURATION?h=oce.HOUR_DURATION:d>=oce.DAY_DURATION&&d<oce.WEEK_DURATION?h=oce.DAY_DURATION:d>=oce.WEEK_DURATION&&d<oce.MONTH_DURATION?h=oce.WEEK_DURATION:d>=oce.MONTH_DURATION&&d<oce.YEAR_DURATION?h=oce.MONTH_DURATION:d>=oce.YEAR_DURATION&&(h=oce.YEAR_DURATION),o=g0.a.utc(r-h).format("YYYY-MM-DDTHH:mm:ss")+"Z",s=g0.a.utc(a+h).format("YYYY-MM-DDTHH:mm:ss")+"Z",e.modfiyMinAndMaxTime(o,s)}e.$emit("timeChange",o,s)}),500))},modfiyMinAndMaxTime:function(e,t){var n=new Date(this.chartOption.xAxis[0].min).getTime(),i=new Date(this.chartOption.xAxis[0].max).getTime(),r=new Date(e).getTime(),a=new Date(t).getTime();this.chartOption.xAxis.forEach((function(n){n.min=e,n.max=t})),this.chartOption.dataZoom.forEach((function(e){e.start=100*((n-r)/(a-r)).toFixed(4),e.end=100*((i-r)/(a-r)).toFixed(4)})),this.myEchart.setOption(this.chartOption,{notMerge:!1,lazyUpdate:!0,silent:!1})}}},fce=dce,pce=w0(fce,Kue,Que,!1,null,"4a6aa554",null),mce=pce.exports;mce.install=function(e){e.component(mce.name,mce)};var gce=mce,yce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},vce=[],_ce={name:"DtLiquidFill",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},grid:{type:Array,default:function(){return[{}]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,markLineValue:"",maxXTime:void 0,defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60,borderWidth:0},defaultLiquidFill:{type:"liquidFill",shape:"circle",radius:"80%",center:["50%","50%"]}}},watch:{},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processLiquidFill:function(e){var t=Z0(this.defaultLiquidFill,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processLiquidFill(n);t.push(i)}));var i=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),r={grid:i,series:t};return r},updateData:function(e){var t=[];e.forEach((function(e){t.push(Z0({},e))}));var n=this.chartInstance.getOption();n.series.forEach((function(e){var n=t.find((function(t){return t.name===e.name})),i=n.data;e.data=i})),this.chartInstance.setOption(n,!0)},appendSeries:function(e){var t=this,n=[];e.forEach((function(e){var i=t.processLiquidFill(e);n.push(i)}));var i=this.chartInstance.getOption();i.series=i.series.concat(n),this.chartInstance.setOption(i,!0)},deleteSeries:function(e){var t=this.chartInstance.getOption();t.series=t.series.filter((function(t){return-1===e.indexOf(t.name)})),this.chartInstance.setOption(t,!0)}}},xce=_ce,bce=w0(xce,yce,vce,!1,null,null,null),wce=bce.exports;wce.install=function(e){e.component(wce.name,wce)};var Mce=wce,Sce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Tce=[],Lce={name:"DtSankeyBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,defaultTitle:{show:!1,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!1,orient:"horizontal",icon:"rect"},defaultTooltip:{show:!0,trigger:"item",triggerOn:"mousemove"},defaultSankey:{type:"sankey",emphasis:{focus:"adjacency"},name:"",orient:"horizontal",draggable:!1}}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processSankey:function(e){var t=Z0(this.defaultSankey,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processSankey(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=(this.legend.map((function(t){return Z0(e.defaultLegend,t)})),Z0(this.defaultTooltip,this.tooltip)),a={title:i,tooltip:r,series:t};return a},addDataZoomlistener:function(){var e=this,t=this;this.chartInstance.on("datazoom",this.shake((function(n){if(0===n.batch[0].start&&100===n.batch[0].end&&Object.keys(t.infiniteAxis).length>0){var i=t.chartInstance.getOption();t.currentTime?g0()(t.currentTime):g0()();i.xAxis=i.xAxis.map((function(e,n){if("time"===e.type&&t.infiniteAxis[n]){var i=t.chartInstance.getModel().getComponent("xAxis",n).axis.grid._axesList,r=i[0].scale._extent,a=parseInt(.05*(r[1]-r[0])),o=g0()(r[0]-a),s=g0()(r[1]+a);t.infiniteAxis[n].start&&(e.min=o.format("YYYY-MM-DD HH:mm:ss")),t.infiniteAxis[n].end&&(e.max=s.format("YYYY-MM-DD HH:mm:ss"))}return e})),i.dataZoom=i.dataZoom.map((function(e,n){return t.infiniteAxis[n].start&&(e.start=.001),t.infiniteAxis[n].end&&(e.end=99.999),e})),e.chartInstance.setOption(i)}e.$emit("scroll",n)}),200))},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=this.chartInstance.getOption();i.series.forEach((function(e){var t=n.find((function(t){return t.name===e.name})),i=t.data;e.data=i}));var r=[];n.forEach((function(e){var n=i.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);r.push(a)}})),r.length&&(i.series=i.series.concat(r)),this.chartInstance.setOption(i,!0)}}},Dce=Lce,Ace=w0(Dce,Sce,Tce,!1,null,null,null),Oce=Ace.exports;Oce.install=function(e){e.component(Oce.name,Oce)};var kce=Oce,Ice=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Cce=[],Ece={name:"DtSurfaceBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid3D:{type:Object,default:function(){return{}}},xAxis3D:{type:Object,default:function(){return{}}},yAxis3D:{type:Object,default:function(){return{}}},zAxis3D:{type:Object,default:function(){return{}}},legend:{type:Object,default:function(){return{}}},tooltip:{type:Object,default:function(){return{}}},visualMap:{type:Object,default:function(){return{}}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,defaultX3D:{show:!0,grid3DIndex:0,type:"value",name:"x轴",min:"dataMin",max:"dataMax",axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultY3D:{show:!0,grid3DIndex:0,type:"value",name:"y轴",min:"dataMin",max:"dataMax",axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultZ3D:{show:!0,grid3DIndex:0,type:"value",name:"z轴",min:"dataMin",max:"dataMax",axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultTitle:{show:!1,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!1,orient:"horizontal",icon:"rect"},defaultTooltip:{show:!0,trigger:"item",triggerOn:"mousemove"},defaultGrid:{show:!0,boxWidth:60,boxHeight:60,boxDepth:60,light:{main:{intensity:.7}},viewControl:{rotateSensitivity:15,zoomSensitivity:2}},defaultVisualMap:{show:!1,type:"continuous",orient:"horizontal",top:"auto",left:"center",bottom:5,right:"center",seriesIndex:0,min:0,max:1,inRange:{color:["#13B285FF","#3DB213FF","#94B213FF","#a68915","#A66014FF","#A74013FF","#AA2507FF","#8107AAFF"]},calculable:!0,realtime:!1},defaultSurface:{type:"surface",name:"",coordinateSystem:"cartesian3D",shading:"color",wireframe:{show:!0}}}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processData:function(e){var t=Z0(this.defaultSurface,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processData(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=Z0(this.defaultGrid,this.grid3D),a=Z0(this.defaultTooltip,this.tooltip),o=Z0(this.defaultX3D,this.xAxis3D),s=Z0(this.defaultY3D,this.yAxis3D),l=Z0(this.defaultZ3D,this.zAxis3D),u=Z0(this.defaultVisualMap,this.visualMap),c={title:i,grid3D:r,tooltip:a,xAxis3D:o,yAxis3D:s,zAxis3D:l,visualMap:u,series:t};return c},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=this.chartInstance.getOption();i.series.forEach((function(e){var t=n.find((function(t){return t.name===e.name})),i=t.data;e.data=i}));var r=[];n.forEach((function(e){var n=i.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);r.push(a)}})),r.length&&(i.series=i.series.concat(r)),this.chartInstance.setOption(i,!0)}}},Pce=Ece,Nce=w0(Pce,Ice,Cce,!1,null,null,null),Rce=Nce.exports;Rce.install=function(e){e.component(Rce.name,Rce)};var Yce=Rce,zce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Hce=[],jce={name:"DtBoxplotBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},xAxis:{type:Array,default:function(){return[{}]}},yAxis:{type:Array,default:function(){return[{}]}},dataZoom:{type:Array,default:function(){return[{}]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,defaultTitle:{show:!0,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!0,right:"5%",orient:"horizontal",icon:"rect"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60},defaultXAxis:{show:!0,gridIndex:0,position:"bottom",type:"category",name:"x轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultYAxis:{show:!0,gridIndex:0,position:"left",type:"value",name:"y轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"dashed",opacity:.4}}},defaultTooltip:{show:!0,trigger:"axis",axisPointer:{type:"line"},triggerOn:"mousemove"},defaultDataZoom:{inside:{type:"inside",disabled:!0,filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1},slider:{type:"slider",disabled:!0,backgroundColor:"rgba(47,69,84,0)",filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1}},defaultBoxplot:{xAxisIndex:0,yAxisIndex:0,type:"boxplot"}}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processData:function(e,t){var n=Z0(this.defaultBoxplot,e);return n},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processData(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),a=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),o=Z0(this.defaultTooltip,this.tooltip),s=this.xAxis.map((function(t,n){var i=Z0(e.defaultXAxis,t);return i})),l=this.yAxis.map((function(t){return Z0(e.defaultYAxis,t)})),u=this.dataZoom.map((function(t){var n=t.type?t.type:"inside",i=Z0(e.defaultDataZoom[n],t);return i})),c={title:i,grid:r,legend:a,tooltip:o,xAxis:s,yAxis:l,dataZoom:u,series:t};return c},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=this.chartInstance.getOption(),r=[];i.series.forEach((function(e){var t=n.find((function(t){return t.name===e.name}));if(t){var i=t.data;e.data=i}})),n.forEach((function(e){var n=i.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);r.push(a)}})),r.length&&(i.series=i.series.concat(r)),this.chartInstance.setOption(i,!0)},appendSeries:function(e){var t=this,n=[];e.forEach((function(e){t.dataConfig[e.name]&&(e.data=t.processData(e.data,e.name));var i=e.type.slice(0,1).toUpperCase()+e.type.slice(1),r=t["process"+i](e);n.push(r)}));var i=this.chartInstance.getOption();i.series=i.series.concat(n),this.chartInstance.setOption(i,!0)},deleteSeries:function(e){var t=this.chartInstance.getOption();t.series=t.series.filter((function(t){return-1===e.indexOf(t.name)})),this.chartInstance.setOption(t,!0)}}},Fce=jce,Bce=w0(Fce,zce,Hce,!1,null,null,null),Vce=Bce.exports;Vce.install=function(e){e.component(Vce.name,Vce)};var Gce=Vce,Wce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Uce=[],Xce={name:"DtCandlestickBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},xAxis:{type:Array,default:function(){return[{}]}},yAxis:{type:Array,default:function(){return[{}]}},dataZoom:{type:Array,default:function(){return[{}]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,timer:null,resizeTimer:null,defaultTitle:{show:!0,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!0,right:"5%",orient:"horizontal",icon:"rect"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60},defaultXAxis:{show:!0,gridIndex:0,position:"bottom",type:"time",name:"x轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultYAxis:{show:!0,gridIndex:0,position:"left",type:"value",name:"y轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"dashed",opacity:.4}}},defaultTooltip:{show:!0,trigger:"axis",axisPointer:{type:"line"},triggerOn:"mousemove"},defaultDataZoom:{inside:{type:"inside",disabled:!0,filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1},slider:{type:"slider",disabled:!0,backgroundColor:"rgba(47,69,84,0)",filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1}},defaultCandlestick:{xAxisIndex:0,yAxisIndex:0,type:"candlestick"}}},watch:{data:function(e){this.updateData(e)}},mounted:function(){this.chartInstance=Nx(this.$refs.chart,null,{locale:"ZH"}),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},addGlobalClick:function(){var e=this;this.chartInstance.getZr().on("click",(function(t){var n=[t.offsetX,t.offsetY];if(e.chartInstance.containPixel("grid",n)){var i=e.chartInstance.convertFromPixel({seriesIndex:0},n)[0];e.$emit("global-click",i)}}))},shake:function(e,t){var n;return function(){var i=arguments,r=this;n&&clearTimeout(n),n=setTimeout((function(){e.call.apply(e,[r].concat(E0(i)))}),t)}},processData:function(e,t){var n=Z0(this.defaultCandlestick,e);return n},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processData(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),a=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),o=Z0(this.defaultTooltip,this.tooltip),s=this.xAxis.map((function(t,n){var i=Z0(e.defaultXAxis,t);return i})),l=this.yAxis.map((function(t){return Z0(e.defaultYAxis,t)})),u=this.dataZoom.map((function(t){var n=t.type?t.type:"inside",i=Z0(e.defaultDataZoom[n],t);return i})),c={title:i,grid:r,legend:a,tooltip:o,xAxis:s,yAxis:l,dataZoom:u,series:t};return c},updateData:function(e){var t=this,n=[];e.forEach((function(e){n.push(Z0({},e))}));var i=this.chartInstance.getOption(),r=[];i.series.forEach((function(e){var t=n.find((function(t){return t.name===e.name}));if(t){var i=t.data;e.data=i}})),n.forEach((function(e){var n=i.series.findIndex((function(t){return t.name===e.name}));if(-1===n){var a=t.processData(e);r.push(a)}})),r.length&&(i.series=i.series.concat(r)),this.chartInstance.setOption(i,!0)},appendSeries:function(e){var t=this,n=[];e.forEach((function(e){t.dataConfig[e.name]&&(e.data=t.processData(e.data,e.name));var i=e.type.slice(0,1).toUpperCase()+e.type.slice(1),r=t["process"+i](e);n.push(r)}));var i=this.chartInstance.getOption();i.series=i.series.concat(n),this.chartInstance.setOption(i,!0)},deleteSeries:function(e){var t=this.chartInstance.getOption();t.series=t.series.filter((function(t){return-1===e.indexOf(t.name)})),this.chartInstance.setOption(t,!0)}}},Zce=Xce,qce=w0(Zce,Wce,Uce,!1,null,null,null),$ce=qce.exports;$ce.install=function(e){e.component($ce.name,$ce)};var Jce=$ce,Kce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Qce=[],ehe={name:"DtPolarScatter",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,default:function(){return[]}},scatterData:{type:Array,default:function(){return[]}},scatterDataTwo:{type:Array,default:function(){return[]}},maskData:{type:Array,default:function(){return[]}},regionData:{type:Array,default:function(){return[]}},center:{type:Array,default:function(){return["50%","90%"]}},yAxisLabel:{type:Array,default:function(){return["","","","","","","","","民用","","军事","","政府","","","","商用","","",""]}},yAxisLabelRotate:{type:Number,default:65},yAxisLabelFont:{type:Number,default:20},yAxisLabelColor:{type:String,default:"#333333"},yAxisLabelMargin:{type:Number,default:30},radius:{type:String,default:"150%"},radiusPie:{type:Array,default:function(){return["134%","170%"]}},symbolSize:{type:Number,default:8},tipRotate:{type:Number,default:-25},tipPosition:{type:Array,default:function(){return[17.5,143]}},tipText:{type:String,default:"包含星链卫星6349"},tipTextColor:{type:String,default:"#666666"},tipFontSize:{type:Number,default:18},maskColor:{type:String,default:"#F2F2F2"},symbolColor:{type:String,default:"#2F8D79"},symbolColorTwo:{type:String,default:"#22ba9c"},regionColor:{type:String,default:"#2F8D79"},regionOpacity:{type:Number,default:.1},colors:{type:Object,default:function(){return{}}},grid:{type:Array,default:function(){return[10,10,16,60]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableZoom:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,markLineValue:"",interval:null,maxXTime:void 0,categoriesOne:[],categoriesTwo:[]}},watch:{data:function(e){}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processData:function(e){var t=this,n=Object.keys(this.colors).length>0,i=[],r=[],a=[];e.map((function(e,o){if(i.push(e.name),e.data){var s=e.data.map((function(i,r){var s;t.maxXTime?t.maxXTime=g0()(i.value[1]).isAfter(g0()(t.maxXTime))?g0()(i.value[1]).format("YYYY-MM-DD HH:mm:ss"):t.maxXTime:t.maxXTime=g0()(i.value[1]).format("YYYY-MM-DD HH:mm:ss"),a.includes(i.name)||a.push(i.name);var l=a.findIndex((function(e){return i.name===e}))%7;return s=t.colorDefault[l],n&&(s=t.singleTypeColor?t.colors[i.name]:t.colors[e.name]),"rectangle"===e.type?{name:i.name,value:[o,new Date(i.value[0]).getTime(),new Date(i.value[1]).getTime(),"".concat(i.value[0]," ~ ").concat(i.value[1]),e.fill,"rectangle"],itemStyle:{color:s}}:"point"===e.type?{name:i.name,value:[o,new Date(i.value).getTime(),i.value,"point"],itemStyle:{color:i.color?i.color:s}}:void 0}));r=r.concat(s)}}));var o=this.yAxisMaxMultiple-e.length;if(o>0)for(var s=0;s<o;s++)i.push("");return{categories:i,data:r}},chartOption:function(){for(var e=[],t=1;t<22;t++)e.push(t.toString());for(var n=[],i=4;i<21;i+=4)n.push(i.toString());var r=[{name:"a",coordinateSystem:"polar",type:"scatter",showSymbol:!0,symbolSize:this.symbolSize,polarIndex:0,itemStyle:{color:this.symbolColor},z:-1,silent:!0,data:this.scatterData},{name:"b",coordinateSystem:"polar",type:"scatter",showSymbol:!0,symbolSize:this.symbolSize,polarIndex:0,itemStyle:{color:this.symbolColorTwo},z:-1,silent:!0,data:this.scatterDataTwo},{name:"1",coordinateSystem:"polar",type:"bar",polarIndex:1,z:2,itemStyle:{color:this.maskColor,opacity:1},animation:!1,barWidth:"100%",silent:!0,data:this.maskData},{name:"2",type:"pie",radius:this.radiusPie,center:this.center,z:2,startAngle:143,endAngle:37,itemStyle:{color:this.regionColor,opacity:this.regionOpacity},label:{show:!1},labelLine:{show:!1},animation:!1,barWidth:"100%",silent:!0,data:[100]},{name:"",coordinateSystem:"polar",type:"scatter",showSymbol:!0,symbolSize:1,polarIndex:0,itemStyle:{color:this.symbolColor},z:11,silent:!0,data:[],markPoint:{symbol:"circle",symbolSize:0,label:{color:this.tipTextColor,position:"bottom",show:!0,fontSize:this.tipFontSize,rotate:this.tipRotate,formatter:this.tipText},data:[{name:"4444444",coord:this.tipPosition}]}}];return{polar:[{center:this.center,radius:this.radius},{center:this.center,radius:this.radius},{center:this.center,radius:this.radius},{center:this.center,radius:this.radius}],tooltip:{},legend:{show:!1},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},angleAxis:[{type:"value",startAngle:143,endAngle:37,min:37,max:143,interval:5,clockwise:!0,z:1,polarIndex:0,axisLine:{show:!1,lineStyle:{width:3}},axisTick:{show:!1,inside:!0,length:6,lineStyle:{width:3}},splitLine:{show:!1,lineStyle:{width:1,color:"green"}},axisLabel:{show:!1,fontSize:this.labelFontSize,margin:12},axisPointer:{show:!1,lineStyle:{width:1}}},{type:"value",polarIndex:1,startAngle:37,endAngle:143,min:37,max:143,startValue:37,interval:5,clockwise:!1,z:2,axisLine:{show:!1,lineStyle:{width:3}},axisTick:{show:!1,inside:!0,length:6,lineStyle:{width:3}},splitLine:{show:!1,lineStyle:{width:1,color:"green"}},axisLabel:{show:!1,fontSize:this.labelFontSize,margin:12},axisPointer:{show:!1,lineStyle:{width:1}}},{type:"value",polarIndex:2,startAngle:37,endAngle:143,min:37,max:143,startValue:37,interval:5,clockwise:!1,z:2,axisLine:{show:!1,lineStyle:{width:3}},axisTick:{show:!1,inside:!0,length:6,lineStyle:{width:3}},splitLine:{show:!1,lineStyle:{width:1,color:"green"}},axisLabel:{show:!1,fontSize:this.labelFontSize,margin:12},axisPointer:{show:!1,lineStyle:{width:1}}},{type:"value",polarIndex:3,startAngle:143,endAngle:37,min:37,max:143,interval:5,clockwise:!0,z:2,axisLine:{show:!1,lineStyle:{width:3}},axisTick:{show:!1,inside:!0,length:6,lineStyle:{width:3}},splitLine:{show:!1,lineStyle:{width:1,color:"green"}},axisLabel:{show:!1,fontSize:this.labelFontSize,margin:12},axisPointer:{show:!1,lineStyle:{width:1}}}],radiusAxis:[{min:0,max:21,polarIndex:0,inverse:!1,interval:1,z:1,axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1,lineStyle:{width:1}},axisLabel:{show:!1,margin:0},axisPointer:{show:!1,lineStyle:{width:1}}},{polarIndex:1,type:"category",data:e,inverse:!1,z:2,axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1,lineStyle:{width:1}},axisLabel:{show:!1,margin:0},axisPointer:{show:!1,lineStyle:{width:1}}},{polarIndex:2,type:"category",data:e,inverse:!1,z:2,axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1,lineStyle:{width:1}},axisLabel:{show:!1,margin:0},axisPointer:{show:!1,lineStyle:{width:1}}},{type:"category",polarIndex:3,inverse:!1,data:this.yAxisLabel,z:1,axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1,lineStyle:{width:1}},axisLabel:{show:!0,color:this.yAxisLabelColor,fontSize:this.yAxisLabelFont,rotate:this.yAxisLabelRotate,margin:this.yAxisLabelMargin},axisPointer:{show:!1,lineStyle:{width:1}}}],series:r}}}},the=ehe,nhe=w0(the,Kce,Qce,!1,null,null,null),ihe=nhe.exports;ihe.install=function(e){e.component(ihe.name,ihe)};var rhe=ihe,ahe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},ohe=[],she={name:"DtDistributionScatter",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,default:function(){return[]}},scatterData:{type:Array,default:function(){return[]}},scatterDataTwo:{type:Array,default:function(){return[]}},maskData:{type:Array,default:function(){return[]}},regionData:{type:Array,default:function(){return[]}},center:{type:Array,default:function(){return["50%","90%"]}},yAxisLabel:{type:Array,default:function(){return["其他","气象","新兴业务","导航","科学","技术实验","","地球观测","","","通信中继","",""]}},yAxisLabelRotate:{type:Number,default:65},yAxisLabelFont:{type:Number,default:20},yAxisLabelColor:{type:String,default:"#333"},yAxisLabelColorTwo:{type:String,default:"#333"},yAxisLabelValue:{type:Array,default:function(){return["17","39","102","113","173","496","1023","7690"]}},yAxisMargin:{type:Number,default:150},yAxisNumberMargin:{type:Number,default:0},yAxisLabelMargin:{type:Number,default:30},radius:{type:String,default:"150%"},symbolSize:{type:Number,default:8},tipRotate:{type:Number,default:0},tipPosition:{type:Array,default:function(){return[37,18]}},maskAreaData:{type:Array,default:function(){return[]}},tipText:{type:String,default:"包含星链卫星6349"},tipTextColor:{type:String,default:"#F2F2F2"},tipFontSize:{type:Number,default:18},maskColor:{type:String,default:"#F2F2F2"},symbolColor:{type:String,default:"#2F8D79"},symbolColorTwo:{type:String,default:"#22ba9c"},regionColor:{type:String,default:"#2F8D79"},regionOpacity:{type:Number,default:.1},colors:{type:Object,default:function(){return{}}},grid:{type:Array,default:function(){return[10,10,16,60]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableZoom:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,markLineValue:"",interval:null,maxXTime:void 0,categoriesOne:[],categoriesTwo:[]}},watch:{data:function(e){}},mounted:function(){this.chartInstance=Nx(this.$refs.chart),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processData:function(e){var t=this,n=Object.keys(this.colors).length>0,i=[],r=[],a=[];e.map((function(e,o){if(i.push(e.name),e.data){var s=e.data.map((function(i,r){var s;t.maxXTime?t.maxXTime=g0()(i.value[1]).isAfter(g0()(t.maxXTime))?g0()(i.value[1]).format("YYYY-MM-DD HH:mm:ss"):t.maxXTime:t.maxXTime=g0()(i.value[1]).format("YYYY-MM-DD HH:mm:ss"),a.includes(i.name)||a.push(i.name);var l=a.findIndex((function(e){return i.name===e}))%7;return s=t.colorDefault[l],n&&(s=t.singleTypeColor?t.colors[i.name]:t.colors[e.name]),"rectangle"===e.type?{name:i.name,value:[o,new Date(i.value[0]).getTime(),new Date(i.value[1]).getTime(),"".concat(i.value[0]," ~ ").concat(i.value[1]),e.fill,"rectangle"],itemStyle:{color:s}}:"point"===e.type?{name:i.name,value:[o,new Date(i.value).getTime(),i.value,"point"],itemStyle:{color:i.color?i.color:s}}:void 0}));r=r.concat(s)}}));var o=this.yAxisMaxMultiple-e.length;if(o>0)for(var s=0;s<o;s++)i.push("");return{categories:i,data:r}},chartOption:function(){for(var e=this,t=[],n=1;n<26;n++)t.push(n.toString());for(var i=[],r=6;r<25;r+=6)i.push(r.toString());var a=[{name:"a",type:"scatter",showSymbol:!0,symbolSize:this.symbolSize,xAxisIndex:0,yAxisIndex:0,itemStyle:{color:this.symbolColor},z:-1,silent:!0,data:this.scatterData},{name:"b",type:"scatter",showSymbol:!0,symbolSize:this.symbolSize,xAxisIndex:0,yAxisIndex:0,itemStyle:{color:this.symbolColorTwo},z:-1,silent:!0,data:this.scatterDataTwo},{name:"1",type:"bar",z:1,xAxisIndex:1,yAxisIndex:1,itemStyle:{color:this.maskColor,opacity:1},animation:!1,barWidth:"100%",silent:!0,data:this.maskData},{name:"2",xAxisIndex:0,yAxisIndex:0,z:2,type:"custom",renderItem:function(t,n){var i=n.coord([n.value(0),n.value(1)]),r=n.coord([n.value(2),n.value(3)]),a=n.size([0,1])[1],o=n.size([1,0])[0],s=a*(n.value(3)-n.value(1)),u=o*(n.value(2)-n.value(0)),c=l.clipRectByRect({x:i[0],y:r[1],width:u,height:s},{x:t.coordSys.x,y:t.coordSys.y,width:t.coordSys.width,height:t.coordSys.height}),h=c&&{type:"rect",shape:c,style:{fill:e.regionColor,opacity:e.regionOpacity},textContent:{},styleEmphasis:{}};return h},encode:{x:[0,2],y:[1,3]},data:this.regionData},{name:"",type:"scatter",xAxisIndex:0,yAxisIndex:0,showSymbol:!0,symbolSize:1,itemStyle:{color:this.symbolColor},z:4,silent:!0,data:[],markPoint:{symbol:"circle",symbolSize:0,label:{color:this.tipTextColor,position:"bottom",show:!0,fontSize:this.tipFontSize,rotate:this.tipRotate,formatter:this.tipText},data:[{name:"4444444",coord:this.tipPosition}]}}],o=this;return{tooltip:{},legend:{show:!1},grid:{top:this.grid[0],right:this.grid[1],bottom:this.grid[2],left:this.grid[3]},xAxis:[{min:0,max:38,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},axisPointer:{show:!1}},{min:0,max:38,inverse:!0,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},axisPointer:{show:!1}}],yAxis:[{min:0,max:25,interval:1,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},axisPointer:{show:!1}},{type:"category",axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},position:"right",data:t,axisPointer:{show:!1}},{type:"category",axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},position:"right",data:t,axisPointer:{show:!1}},{type:"value",axisLine:{show:!1},axisTick:{show:!1},min:0,max:24,interval:.5,splitLine:{show:!1},axisLabel:{show:!0,align:"right",width:"320px",fontSize:this.yAxisLabelFont,color:this.yAxisLabelColor,margin:this.yAxisMargin,formatter:function(e){return 2.5===e?"其他:":4.5===e?"气象:":6.5===e?"新兴业务:":8.5===e?"导航:":10.5===e?"科学:":12.5===e?"技术实验:":14.5===e?"地球观测:":21.5===e?"通信中继:":void 0}},position:"left",axisPointer:{show:!1}},{type:"value",axisLine:{show:!1},axisTick:{show:!1},min:0,max:24,interval:.5,splitLine:{show:!1},axisLabel:{show:!0,align:"left",fontSize:this.yAxisLabelFont,color:this.yAxisLabelColorTwo,margin:this.yAxisNumberMargin,formatter:function(e){return 2.5===e?o.yAxisLabelValue[0]:4.5===e?o.yAxisLabelValue[1]:6.5===e?o.yAxisLabelValue[2]:8.5===e?o.yAxisLabelValue[3]:10.5===e?o.yAxisLabelValue[4]:12.5===e?o.yAxisLabelValue[5]:14.5===e?o.yAxisLabelValue[6]:21.5===e?o.yAxisLabelValue[7]:void 0}},position:"left",axisPointer:{show:!1}}],series:a}}}},lhe=she,uhe=w0(lhe,ahe,ohe,!1,null,null,null),che=uhe.exports;che.install=function(e){e.component(che.name,che)};var hhe=che,dhe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},fhe=[],phe={name:"DtPieBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},color:{type:Array,default:function(){return["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,resizeTimer:null,defaultTitle:{show:!0,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!0,orient:"horizontal",icon:"rect"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60,borderWidth:0},defaultTooltip:{show:!0,trigger:"axis",axisPointer:{type:"line"},triggerOn:"mousemove"},defaultPie:{type:"pie",center:["50%","50%"],radius:["45%","65%"],itemStyle:{borderWidth:0}}}},watch:{data:function(e){this.updateData(e)}},mounted:function(){var e=this;this.chartInstance=Nx(this.$refs.chart),this.chartInstance.on("finished",(function(){e.$emit("finish",!0)})),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(window.clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processSeries:function(e){var t=Z0(this.defaultPie,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processSeries(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),a=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),o=Z0(this.defaultTooltip,this.tooltip),s={title:i,grid:r,legend:a,tooltip:o,series:t,color:this.color};return s}}},mhe=phe,ghe=w0(mhe,dhe,fhe,!1,null,null,null),yhe=ghe.exports;yhe.install=function(e){e.component(yhe.name,yhe)};var vhe=yhe,_he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},xhe=[],bhe={name:"DtLineBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},xAxis:{type:Array,default:function(){return[{}]}},yAxis:{type:Array,default:function(){return[{}]}},dataZoom:{type:Array,default:function(){return[{}]}},color:{type:Array,default:function(){return["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,resizeTimer:null,defaultTitle:{show:!0,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!0,orient:"horizontal",icon:"rect"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60,borderWidth:0},defaultXAxis:{show:!0,gridIndex:0,position:"bottom",type:"time",name:"x轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultYAxis:{show:!0,gridIndex:0,position:"left",type:"value",name:"y轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"dashed",opacity:.4}}},defaultTooltip:{show:!0,trigger:"axis",axisPointer:{type:"line"},triggerOn:"mousemove"},defaultDataZoom:{inside:{type:"inside",disabled:!1,filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1},slider:{type:"slider",disabled:!0,backgroundColor:"rgba(47,69,84,0)",filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1}},defaultLine:{type:"line"}}},watch:{data:function(e){this.updateData(e)}},mounted:function(){var e=this;this.chartInstance=Nx(this.$refs.chart),this.chartInstance.on("finished",(function(){e.$emit("finish",!0)})),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(window.clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processSeries:function(e){var t=Z0(this.defaultLine,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processSeries(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),a=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),o=Z0(this.defaultTooltip,this.tooltip),s=this.xAxis.map((function(t,n){var i=Z0(e.defaultXAxis,t);return i})),l=this.yAxis.map((function(t){return Z0(e.defaultYAxis,t)})),u=this.dataZoom.map((function(t){var n=t.type?t.type:"inside",i=Z0(e.defaultDataZoom[n],t);return i})),c={title:i,grid:r,legend:a,tooltip:o,xAxis:s,yAxis:l,dataZoom:u,series:t,color:this.color};return c}}},whe=bhe,Mhe=w0(whe,_he,xhe,!1,null,null,null),She=Mhe.exports;She.install=function(e){e.component(She.name,She)};var The=She,Lhe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart",staticClass:"dt-chart",style:{width:e.width,height:e.height}})},Dhe=[],Ahe={name:"DtBarBase",mixins:[_0],props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},data:{type:Array,required:!0,default:function(){return[]}},title:{type:Array,default:function(){return[{}]}},grid:{type:Array,default:function(){return[{}]}},legend:{type:Array,default:function(){return[{}]}},tooltip:{type:Object,default:function(){return{}}},xAxis:{type:Array,default:function(){return[{}]}},yAxis:{type:Array,default:function(){return[{}]}},dataZoom:{type:Array,default:function(){return[{}]}},color:{type:Array,default:function(){return["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}},enableLeftEvent:{type:Boolean,default:!1},enableRightEvent:{type:Boolean,default:!1},enableDoubleEvent:{type:Boolean,default:!1},enableGlobalLeftEvent:{type:Boolean,default:!1}},data:function(){return{chartInstance:null,resizeTimer:null,defaultTitle:{show:!0,text:"标题示例",textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:18,lineHeight:56}},defaultLegend:{type:"plain",show:!0,orient:"horizontal",icon:"rect"},defaultGrid:{show:!0,left:60,top:60,right:50,bottom:60,borderWidth:0},defaultXAxis:{show:!0,gridIndex:0,position:"bottom",type:"time",name:"x轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0,formatter:{year:"{yyyy}",month:"{MM}-{dd}",day:"{MM}-{dd}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}"}},splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid",opacity:1}}},defaultYAxis:{show:!0,gridIndex:0,position:"left",type:"value",name:"y轴",nameLocation:"end",nameTextStyle:{fontSize:12,nameGap:15},nameRotate:0,inverse:!1,splitNumber:6,axisLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"solid",opacity:.7}},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!0,lineStyle:{color:"#fff",width:1,type:"dashed",opacity:.4}}},defaultTooltip:{show:!0,trigger:"axis",axisPointer:{type:"line"},triggerOn:"mousemove"},defaultDataZoom:{inside:{type:"inside",disabled:!1,filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1},slider:{type:"slider",disabled:!0,backgroundColor:"rgba(47,69,84,0)",filterMode:"filter",start:0,end:100,xAxisIndex:[0],zoomLock:!1}},defaultBar:{type:"bar"},defaultColor:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}},watch:{data:function(e){this.updateData(e)}},mounted:function(){var e=this;this.chartInstance=Nx(this.$refs.chart),this.chartInstance.on("finished",(function(){e.$emit("finish",!0)})),this.chartInstance.setOption(this.chartOption()),(this.enableLeftEvent||this.enableDoubleEvent)&&this.addLeftClickEvent(),this.enableRightEvent&&this.addRightClickEvent(),this.addResize(),this.enableGlobalLeftEvent&&this.addGlobalClick()},beforeDestroy:function(){window.removeEventListener("resize",this.echartsResize)},methods:{echartsResize:function(){var e=this;this.resizeTimer&&(window.clearTimeout(this.resizeTimer),this.resizeTimer=null),this.resizeTimer=setTimeout((function(){e.chartInstance&&e.chartInstance.resize()}),100)},addResize:function(){window.addEventListener("resize",this.echartsResize)},addLeftClickEvent:function(){var e=this;this.chartInstance&&this.chartInstance.on("click",(function(t){if(e.timer)return clearTimeout(e.timer),e.timer=null,void(e.enableDoubleEvent?e.$emit("double-click",t):e.$emit("left-click",t));e.timer=setTimeout((function(){e.timer=null,e.$emit("left-click",t)}),200)}))},addRightClickEvent:function(){var e=this,t=this.$refs.chart;t.oncontextmenu=function(){return!1},this.chartInstance&&this.chartInstance.on("contextmenu",(function(t){e.$emit("right-click",t)}))},processSeries:function(e){var t=Z0(this.defaultBar,e);return t},chartOption:function(){var e=this,t=[],n=[];this.data.forEach((function(e){n.push(Z0({},e))})),n.forEach((function(n){var i=e.processSeries(n);t.push(i)}));var i=this.title.map((function(t){return Z0(e.defaultTitle,t)})),r=this.grid.map((function(t){return Z0(e.defaultGrid,t)})),a=this.legend.map((function(t){return Z0(e.defaultLegend,t)})),o=Z0(this.defaultTooltip,this.tooltip),s=this.xAxis.map((function(t,n){var i=Z0(e.defaultXAxis,t);return i})),l=this.yAxis.map((function(t){return Z0(e.defaultYAxis,t)})),u={title:i,grid:r,legend:a,tooltip:o,xAxis:s,yAxis:l,series:t,color:this.color};return u}}},Ohe=Ahe,khe=w0(Ohe,Lhe,Dhe,!1,null,null,null),Ihe=khe.exports;Ihe.install=function(e){e.component(Ihe.name,Ihe)};var Che=Ihe,Ehe=[T0,z0,t2,u2,g2,M2,k2,Y2,J2,r3,h3,v3,T3,C3,H3,U3,xle,Dle,Ple,Fle,qle,nue,uue,gue,Mue,kue,gce,kue,Yue,Gue,Jue,Mce,kce,Yce,Gce,Jce,G2,rhe,hhe,vhe,The,Che],Phe=function e(t){e.installed||Ehe.forEach((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&Phe(window.Vue);var Nhe=g({install:Phe},Ehe);t["default"]=Nhe},fb6a:function(e,t,n){"use strict";var i=n("23e7"),r=n("e8b5"),a=n("68ee"),o=n("861d"),s=n("23cb"),l=n("07fa"),u=n("fc6a"),c=n("8418"),h=n("b622"),d=n("1dde"),f=d("slice"),p=h("species"),m=[].slice,g=Math.max;i({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,i,h,d=u(this),f=l(d),y=s(e,f),v=s(void 0===t?f:t,f);if(r(d)&&(n=d.constructor,a(n)&&(n===Array||r(n.prototype))?n=void 0:o(n)&&(n=n[p],null===n&&(n=void 0)),n===Array||void 0===n))return m.call(d,y,v);for(i=new(void 0===n?Array:n)(g(v-y,0)),h=0;y<v;y++,h++)y in d&&c(i,h,d[y]);return i.length=h,i}})},fc6a:function(e,t,n){var i=n("44ad"),r=n("1d80");e.exports=function(e){return i(r(e))}},fce3:function(e,t,n){var i=n("d039"),r=n("da84"),a=r.RegExp;e.exports=i((function(){var e=a(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},fd7e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var i=n("4930");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
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}))}})}));
//# sourceMappingURL=dt-chart.umd.min.js.map