ecinc-cloud-moabase 9.5.2 → 9.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,7 +168,7 @@ var e=t.defineLocale("bg",{months:"януари_февруари_март_апр
168
168
  //! moment.js locale configuration
169
169
  var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},i=t.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(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return i}))},8840:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
170
170
  //! moment.js locale configuration
171
- var e=t.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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},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 e}))},8875:function(t,e,n){var i,r,a;(function(n,o){r=[],i=o,a="function"===typeof i?i.apply(e,r):i,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,i,r,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(p.stack)||o.exec(p.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,d=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");l===d&&(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 h=0;h<c.length;h++){if("interactive"===c[h].readyState)return c[h];if(c[h].src===l)return c[h];if(l===d&&c[h].innerHTML&&c[h].innerHTML.trim()===r)return c[h]}return null}}return t}))},"898b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
171
+ var e=t.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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},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 e}))},8875:function(t,e,n){var i,r,a;(function(n,o){r=[],i=o,a="function"===typeof i?i.apply(e,r):i,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,i,r,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(p.stack)||o.exec(p.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,d=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");l===d&&(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 h=0;h<c.length;h++){if("interactive"===c[h].readyState)return c[h];if(c[h].src===l)return c[h];if(l===d&&c[h].innerHTML&&c[h].innerHTML.trim()===r)return c[h]}return null}}return t}))},"891b":function(t,e,n){var i=n("ac4c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("0bae8846",i,!0,{sourceMap:!1,shadowMode:!1})},"898b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
172
172
  //! moment.js locale configuration
173
173
  var e="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=t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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}))},"89eb":function(t,e,n){var i=n("7f38");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("506bfa4a",i,!0,{sourceMap:!1,shadowMode:!1})},"8d47":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
174
174
  //! moment.js locale configuration
@@ -196,7 +196,7 @@ var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0
196
196
  //! moment.js locale configuration
197
197
  function e(t,e,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},r=" ";return(t%100>=20||t>=100&&t%100===0)&&(r=" de "),t+r+i[n]}var n=t.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:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return n}))},9797:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
198
198
  //! moment.js locale configuration
199
- var e=t.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(t){var e=t,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}});return e}))},"9b37":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".App-nav-bar[data-v-e0c906b2]{position:fixed;top:0;left:0;right:0;z-index:9999}.App-nav-bar .App-center[data-v-e0c906b2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:auto}.App-nav-bar .App-center[data-v-e0c906b2]::-webkit-scrollbar{display:none}.App-nav-bar .App-center-img[data-v-e0c906b2],.App-nav-bar .App-left-img[data-v-e0c906b2]{width:24px;margin-right:2px}.App-nav-bar .App-center-chat-status[data-v-e0c906b2]{font-size:11px;color:#666;text-align:center;line-height:normal}.App-nav-bar .App-center-chat-status .status-icon[data-v-e0c906b2]{display:inline-block;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,#dfdfdf,#8a8a8a);margin-right:5px}.App-nav-bar .App-center-chat-status .status-icon.on-line[data-v-e0c906b2]{background:radial-gradient(circle,#26d189,#0ea04d)}.App-nav-bar[data-v-e0c906b2] .van-nav-bar__title{font-weight:600;font-size:16px}.App-nav-bar__noBottomLine[data-v-e0c906b2]:after{border-bottom-width:0}",""]),t.exports=e},"9c9f":function(t,e,n){var i=n("e907");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("c1a480f0",i,!0,{sourceMap:!1,shadowMode:!1})},"9d1f":function(t,e,n){"use strict";n("db0b")},"9e6f":function(t,e,n){"use strict";n("4153")},"9f26":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
199
+ var e=t.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(t){var e=t,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}});return e}))},"9c9f":function(t,e,n){var i=n("e907");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("c1a480f0",i,!0,{sourceMap:!1,shadowMode:!1})},"9d1f":function(t,e,n){"use strict";n("db0b")},"9e6f":function(t,e,n){"use strict";n("4153")},"9f26":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
200
200
  //! moment.js locale configuration
201
201
  var e=/^(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=t.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:e,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:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return a}))},a356:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
202
202
  //! moment.js locale configuration
@@ -204,7 +204,7 @@ var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11
204
204
  //! moment.js locale configuration
205
205
  var e=t.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 e}))},aaf2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
206
206
  //! moment.js locale configuration
207
- function e(t,e,n,i){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return i?r[n][0]:r[n][1]}var n=t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}});return n}))},ac7b:function(t,e,n){var i=n("9b37");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("ed839c2c",i,!0,{sourceMap:!1,shadowMode:!1})},ada2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
207
+ function e(t,e,n,i){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return i?r[n][0]:r[n][1]}var n=t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}});return n}))},ac4c:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".App-nav-bar[data-v-3771b8dc]{position:fixed;top:0;left:0;right:0;z-index:9999}.App-nav-bar .App-center[data-v-3771b8dc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:auto}.App-nav-bar .App-center[data-v-3771b8dc]::-webkit-scrollbar{display:none}.App-nav-bar .App-center-img[data-v-3771b8dc],.App-nav-bar .App-left-img[data-v-3771b8dc]{width:24px;margin-right:2px}.App-nav-bar .App-center-chat-status[data-v-3771b8dc]{text-align:center;display:inline-block;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,#dfdfdf,#8a8a8a);margin-left:5px}.App-nav-bar .App-center-chat-status.on-line[data-v-3771b8dc]{background:radial-gradient(circle,#26d189,#0ea04d)}.App-nav-bar[data-v-3771b8dc] .van-nav-bar__title{font-weight:600;font-size:16px}.App-nav-bar__noBottomLine[data-v-3771b8dc]:after{border-bottom-width:0}",""]),t.exports=e},ada2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
208
208
  //! moment.js locale configuration
209
209
  function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===i?n?"хвилина":"хвилину":"h"===i?n?"година":"годину":t+" "+e(r[i],+t)}function i(t,e){var n,i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?i["nominative"].slice(1,7).concat(i["nominative"].slice(0,1)):t?(n=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative",i[n][t.day()]):i["nominative"]}function r(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=t.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(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}});return a}))},b29d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
210
210
  //! moment.js locale configuration
@@ -225,7 +225,7 @@ var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n
225
225
  * @author Feross Aboukhadijeh <http://feross.org>
226
226
  * @license MIT
227
227
  */
228
- var i=n("1fb5"),r=n("9152"),a=n("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return d(this,t,e,n)}function d(t,e,n,i){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?g(t,e,n,i):"string"===typeof e?f(t,e,n):y(t,e)}function c(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e,n,i){return c(e),e<=0?l(t,e):void 0!==n?"string"===typeof i?l(t,e).fill(n,i):l(t,e).fill(n):l(t,e)}function p(t,e){if(c(e),t=l(t,e<0?0:0|_(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|b(e,n);t=l(t,i);var r=t.write(e,n);return r!==i&&(t=t.slice(0,r)),t}function m(t,e){var n=e.length<0?0:0|_(e.length);t=l(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function g(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=m(t,e),t}function y(t,e){if(u.isBuffer(e)){var n=0|_(e.length);return t=l(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?l(t,0):m(t,e);if("Buffer"===e.type&&a(e.data))return m(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function _(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),u.alloc(+t)}function b(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(i)return J(t).length;e=(""+e).toLowerCase(),i=!0}}function x(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return E(this,e,n);case"utf8":case"utf-8":return I(this,e,n);case"ascii":return P(this,e,n);case"latin1":case"binary":return H(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function M(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function w(t,e,n,i,r){if(0===t.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:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=u.from(e,i)),u.isBuffer(e))return 0===e.length?-1:S(t,e,n,i,r);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):S(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function S(t,e,n,i,r){var a,o=1,s=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var d=-1;for(a=n;a<s;a++)if(u(t,a)===u(e,-1===d?0:a-d)){if(-1===d&&(d=a),a-d+1===l)return d*o}else-1!==d&&(a-=a-d),d=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var c=!0,h=0;h<l;h++)if(u(t,a+h)!==u(e,h)){c=!1;break}if(c)return a}return-1}function L(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;var a=e.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(e.substr(2*o,2),16);if(isNaN(s))return o;t[n+o]=s}return o}function k(t,e,n,i){return tt(J(e,t.length-n),t,n,i)}function D(t,e,n,i){return tt($(e),t,n,i)}function T(t,e,n,i){return D(t,e,n,i)}function O(t,e,n,i){return tt(Q(e),t,n,i)}function Y(t,e,n,i){return tt(K(e,t.length-n),t,n,i)}function C(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function I(t,e,n){n=Math.min(t.length,n);var i=[],r=e;while(r<n){var a,o,s,l,u=t[r],d=null,c=u>239?4:u>223?3:u>191?2:1;if(r+c<=n)switch(c){case 1:u<128&&(d=u);break;case 2:a=t[r+1],128===(192&a)&&(l=(31&u)<<6|63&a,l>127&&(d=l));break;case 3:a=t[r+1],o=t[r+2],128===(192&a)&&128===(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o,l>2047&&(l<55296||l>57343)&&(d=l));break;case 4:a=t[r+1],o=t[r+2],s=t[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&&(d=l))}null===d?(d=65533,c=1):d>65535&&(d-=65536,i.push(d>>>10&1023|55296),d=56320|1023&d),i.push(d),r+=c}return j(i)}e.Buffer=u,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return d(null,t,e,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(t,e,n){return h(null,t,e,n)},u.allocUnsafe=function(t){return p(null,t)},u.allocUnsafeSlow=function(t){return p(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r<a;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},u.isEncoding=function(t){switch(String(t).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(t,e){if(!a(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=u.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var o=t[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=b,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)M(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)M(this,e,e+3),M(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)M(this,e,e+7),M(this,e+1,e+6),M(this,e+2,e+5),M(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?I(this,0,t):x.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,i,r){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var a=r-i,o=n-e,s=Math.min(a,o),l=this.slice(i,r),d=t.slice(e,n),c=0;c<s;++c)if(l[c]!==d[c]){a=l[c],o=d[c];break}return a<o?-1:o<a?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},u.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return L(this,t,e,n);case"utf8":case"utf-8":return k(this,t,e,n);case"ascii":return D(this,t,e,n);case"latin1":case"binary":return T(this,t,e,n);case"base64":return O(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,t,e,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 A=4096;function j(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var n="",i=0;while(i<e)n+=String.fromCharCode.apply(String,t.slice(i,i+=A));return n}function P(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function H(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function E(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",a=e;a<n;++a)r+=Z(t[a]);return r}function N(t,e,n){for(var i=t.slice(e,n),r="",a=0;a<i.length;a+=2)r+=String.fromCharCode(i[a]+256*i[a+1]);return r}function R(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,n,i,r,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<a)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function F(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r<a;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function B(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r<a;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function W(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,i,a){return a||W(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,i,23,4),n+4}function G(t,e,n,i,a){return a||W(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,i,52,8),n+8}u.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=u.prototype;else{var r=e-t;n=new u(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=this[t],r=1,a=0;while(++a<e&&(r*=256))i+=this[t+a]*r;return i},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=this[t+--e],r=1;while(e>0&&(r*=256))i+=this[t+--e]*r;return i},u.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=this[t],r=1,a=0;while(++a<e&&(r*=256))i+=this[t+a]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*e)),i},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=e,r=1,a=this[t+--i];while(i>0&&(r*=256))a+=this[t+--i]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),r.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),r.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),r.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),r.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var a=1,o=0;this[e]=255&t;while(++o<n&&(a*=256))this[e+o]=t/a&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var a=n-1,o=1;this[e+a]=255&t;while(--a>=0&&(o*=256))this[e+a]=t/o&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):B(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;this[e]=255&t;while(++a<n&&(o*=256))t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;this[e+a]=255&t;while(--a>=0&&(o*=256))t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):B(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return G(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return G(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<i-n&&(i=t.length-e+n);var r,a=i-n;if(this===t&&n<e&&e<i)for(r=a-1;r>=0;--r)t[r+e]=this[r+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},u.prototype.fill=function(t,e,n,i){if("string"===typeof t){if("string"===typeof e?(i=e,e=0,n=this.length):"string"===typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=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 t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var a;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(a=e;a<n;++a)this[a]=t;else{var o=u.isBuffer(t)?t:J(new u(t,i).toString()),s=o.length;for(a=0;a<n-e;++a)this[a+e]=o[a%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function q(t){if(t=X(t).replace(U,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function X(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Z(t){return t<16?"0"+t.toString(16):t.toString(16)}function J(t,e){var n;e=e||1/0;for(var i=t.length,r=null,a=[],o=0;o<i;++o){if(n=t.charCodeAt(o),n>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=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((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function $(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function K(t,e){for(var n,i,r,a=[],o=0;o<t.length;++o){if((e-=2)<0)break;n=t.charCodeAt(o),i=n>>8,r=n%256,a.push(r),a.push(i)}return a}function Q(t){return i.toByteArray(q(t))}function tt(t,e,n,i){for(var r=0;r<i;++r){if(r+n>=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},b6ff:function(t,e,n){"use strict";n("ac7b")},b7e9:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
228
+ var i=n("1fb5"),r=n("9152"),a=n("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return d(this,t,e,n)}function d(t,e,n,i){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?g(t,e,n,i):"string"===typeof e?f(t,e,n):y(t,e)}function c(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e,n,i){return c(e),e<=0?l(t,e):void 0!==n?"string"===typeof i?l(t,e).fill(n,i):l(t,e).fill(n):l(t,e)}function p(t,e){if(c(e),t=l(t,e<0?0:0|_(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|b(e,n);t=l(t,i);var r=t.write(e,n);return r!==i&&(t=t.slice(0,r)),t}function m(t,e){var n=e.length<0?0:0|_(e.length);t=l(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function g(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=m(t,e),t}function y(t,e){if(u.isBuffer(e)){var n=0|_(e.length);return t=l(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?l(t,0):m(t,e);if("Buffer"===e.type&&a(e.data))return m(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function _(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),u.alloc(+t)}function b(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(i)return J(t).length;e=(""+e).toLowerCase(),i=!0}}function x(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return E(this,e,n);case"utf8":case"utf-8":return I(this,e,n);case"ascii":return P(this,e,n);case"latin1":case"binary":return H(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function M(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function w(t,e,n,i,r){if(0===t.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:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=u.from(e,i)),u.isBuffer(e))return 0===e.length?-1:S(t,e,n,i,r);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):S(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function S(t,e,n,i,r){var a,o=1,s=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var d=-1;for(a=n;a<s;a++)if(u(t,a)===u(e,-1===d?0:a-d)){if(-1===d&&(d=a),a-d+1===l)return d*o}else-1!==d&&(a-=a-d),d=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var c=!0,h=0;h<l;h++)if(u(t,a+h)!==u(e,h)){c=!1;break}if(c)return a}return-1}function L(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;var a=e.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(e.substr(2*o,2),16);if(isNaN(s))return o;t[n+o]=s}return o}function k(t,e,n,i){return tt(J(e,t.length-n),t,n,i)}function D(t,e,n,i){return tt($(e),t,n,i)}function T(t,e,n,i){return D(t,e,n,i)}function O(t,e,n,i){return tt(Q(e),t,n,i)}function Y(t,e,n,i){return tt(K(e,t.length-n),t,n,i)}function C(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function I(t,e,n){n=Math.min(t.length,n);var i=[],r=e;while(r<n){var a,o,s,l,u=t[r],d=null,c=u>239?4:u>223?3:u>191?2:1;if(r+c<=n)switch(c){case 1:u<128&&(d=u);break;case 2:a=t[r+1],128===(192&a)&&(l=(31&u)<<6|63&a,l>127&&(d=l));break;case 3:a=t[r+1],o=t[r+2],128===(192&a)&&128===(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o,l>2047&&(l<55296||l>57343)&&(d=l));break;case 4:a=t[r+1],o=t[r+2],s=t[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&&(d=l))}null===d?(d=65533,c=1):d>65535&&(d-=65536,i.push(d>>>10&1023|55296),d=56320|1023&d),i.push(d),r+=c}return j(i)}e.Buffer=u,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return d(null,t,e,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(t,e,n){return h(null,t,e,n)},u.allocUnsafe=function(t){return p(null,t)},u.allocUnsafeSlow=function(t){return p(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r<a;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},u.isEncoding=function(t){switch(String(t).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(t,e){if(!a(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=u.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var o=t[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=b,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)M(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)M(this,e,e+3),M(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)M(this,e,e+7),M(this,e+1,e+6),M(this,e+2,e+5),M(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?I(this,0,t):x.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,i,r){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var a=r-i,o=n-e,s=Math.min(a,o),l=this.slice(i,r),d=t.slice(e,n),c=0;c<s;++c)if(l[c]!==d[c]){a=l[c],o=d[c];break}return a<o?-1:o<a?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},u.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return L(this,t,e,n);case"utf8":case"utf-8":return k(this,t,e,n);case"ascii":return D(this,t,e,n);case"latin1":case"binary":return T(this,t,e,n);case"base64":return O(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,t,e,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 A=4096;function j(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var n="",i=0;while(i<e)n+=String.fromCharCode.apply(String,t.slice(i,i+=A));return n}function P(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function H(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function E(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",a=e;a<n;++a)r+=Z(t[a]);return r}function N(t,e,n){for(var i=t.slice(e,n),r="",a=0;a<i.length;a+=2)r+=String.fromCharCode(i[a]+256*i[a+1]);return r}function R(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,n,i,r,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<a)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function F(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r<a;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function B(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r<a;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function W(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,i,a){return a||W(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,i,23,4),n+4}function G(t,e,n,i,a){return a||W(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,i,52,8),n+8}u.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=u.prototype;else{var r=e-t;n=new u(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=this[t],r=1,a=0;while(++a<e&&(r*=256))i+=this[t+a]*r;return i},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=this[t+--e],r=1;while(e>0&&(r*=256))i+=this[t+--e]*r;return i},u.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=this[t],r=1,a=0;while(++a<e&&(r*=256))i+=this[t+a]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*e)),i},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);var i=e,r=1,a=this[t+--i];while(i>0&&(r*=256))a+=this[t+--i]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),r.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),r.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),r.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),r.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var a=1,o=0;this[e]=255&t;while(++o<n&&(a*=256))this[e+o]=t/a&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var a=n-1,o=1;this[e+a]=255&t;while(--a>=0&&(o*=256))this[e+a]=t/o&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):B(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;this[e]=255&t;while(++a<n&&(o*=256))t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;this[e+a]=255&t;while(--a>=0&&(o*=256))t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):B(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return G(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return G(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<i-n&&(i=t.length-e+n);var r,a=i-n;if(this===t&&n<e&&e<i)for(r=a-1;r>=0;--r)t[r+e]=this[r+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},u.prototype.fill=function(t,e,n,i){if("string"===typeof t){if("string"===typeof e?(i=e,e=0,n=this.length):"string"===typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=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 t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var a;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(a=e;a<n;++a)this[a]=t;else{var o=u.isBuffer(t)?t:J(new u(t,i).toString()),s=o.length;for(a=0;a<n-e;++a)this[a+e]=o[a%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function q(t){if(t=X(t).replace(U,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function X(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Z(t){return t<16?"0"+t.toString(16):t.toString(16)}function J(t,e){var n;e=e||1/0;for(var i=t.length,r=null,a=[],o=0;o<i;++o){if(n=t.charCodeAt(o),n>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=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((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function $(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function K(t,e){for(var n,i,r,a=[],o=0;o<t.length;++o){if((e-=2)<0)break;n=t.charCodeAt(o),i=n>>8,r=n%256,a.push(r),a.push(i)}return a}function Q(t){return i.toByteArray(q(t))}function tt(t,e,n,i){for(var r=0;r<i;++r){if(r+n>=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},b7e9:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
229
229
  //! moment.js locale configuration
230
230
  var e=t.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(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},b84c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
231
231
  //! moment.js locale configuration
@@ -233,7 +233,7 @@ var e=t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_augus
233
233
  //! moment.js locale configuration
234
234
  var e={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(t,e,n){return n?e%10===1&&e%100!==11?t[2]:t[3]:e%10===1&&e%100!==11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}function a(t,e){return e?"dažas sekundes":"dažām sekundēm"}var o=t.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(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
235
235
  //! moment.js locale configuration
236
- function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},bd1a:function(t,e,n){var i=n("b5b1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("40ae55b2",i,!0,{sourceMap:!1,shadowMode:!1})},bee9:function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.r(e),n.d(e,"parseTime",(function(){return a})),n.d(e,"formatTime",(function(){return o})),n.d(e,"getQueryObject",(function(){return s})),n.d(e,"byteLength",(function(){return l})),n.d(e,"cleanArray",(function(){return u})),n.d(e,"param",(function(){return d})),n.d(e,"param2Obj",(function(){return c})),n.d(e,"html2Text",(function(){return h})),n.d(e,"objectMerge",(function(){return p})),n.d(e,"toggleClass",(function(){return f})),n.d(e,"getTime",(function(){return m})),n.d(e,"debounce",(function(){return g})),n.d(e,"deepClone",(function(){return y})),n.d(e,"uniqueArr",(function(){return _})),n.d(e,"createUniqueString",(function(){return v})),n.d(e,"hasClass",(function(){return b})),n.d(e,"addClass",(function(){return x})),n.d(e,"removeClass",(function(){return M})),n.d(e,"formatFileSize",(function(){return w})),n.d(e,"isExternal",(function(){return S})),n.d(e,"formItemValidate",(function(){return L})),n.d(e,"getExplore",(function(){return k})),n.d(e,"sortByKey",(function(){return D})),n.d(e,"uuid",(function(){return T})),n.d(e,"aesEncrypt",(function(){return O})),n.d(e,"aesDecrypt",(function(){return Y})),n.d(e,"determineOS",(function(){return C}));var r=n("c1df");function a(t){return 0===arguments.length?null:("object"===i(t)?e=t:("string"===typeof t&&(t=/^[0-9]+$/.test(t)?parseInt(t):t.replace(/-/g,"/")),"number"===typeof t&&10===t.toString().length&&(t*=1e3),e=new Date(t)),e);var e}function o(t,e){var n=a(t);null===t&&(n=Date().now());var i=Date.now(),o=(i-n)/1e3;return void 0===e?o<30?"刚刚":o<3600?Math.floor(o/60)+"分钟前":o<86400?Math.floor(o/3600)+"小时前":o<172800?"1天前":n.getFullYear()<a(i).getFullYear()?n.getFullYear()+"/"+(n.getMonth()+1)+"/"+n.getDate():n.getMonth()+1+"/"+n.getDate():(e=e.replace("yyyy","YYYY").replace("dd","DD"),r(n).format(e))}function s(t){t=null==t?window.location.href:t;var e=t.substring(t.lastIndexOf("?")+1),n={},i=/([^?&=]+)=([^?&=]*)/g;return e.replace(i,(function(t,e,i){var r=decodeURIComponent(e),a=decodeURIComponent(i);return a=String(a),n[r]=a,t})),n}function l(t){for(var e=t.length,n=t.length-1;n>=0;n--){var i=t.charCodeAt(n);i>127&&i<=2047?e++:i>2047&&i<=65535&&(e+=1),i>=56320&&i<=57343&&n--}return e}function u(t){for(var e=[],n=0;n<t.length;n++)t[n]&&e.push(t[n]);return e}function d(t){return t?u(Object.keys(t).map((function(e){return void 0===t[e]?"":encodeURIComponent(e)+"="+encodeURIComponent(t[e])}))).join("&"):""}function c(t){var e=t.split("?")[1];return e?JSON.parse('{"'+decodeURIComponent(e).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"').replace(/\+/g," ")+'"}'):{}}function h(t){var e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText}function p(t,e){return"object"!==i(t)&&(t={}),Array.isArray(e)?e.slice():(Object.keys(e).forEach((function(n){var r=e[n];"object"===i(r)?t[n]=p(t[n],r):t[n]=r})),t)}function f(t,e){if(t&&e){var n=t.className,i=n.indexOf(e);-1===i?n+=""+e:n=n.substr(0,i)+n.substr(i+e.length),t.className=n}}function m(t){return"start"===t?(new Date).getTime()-7776e6:new Date((new Date).toDateString())}function g(t,e,n){var i,r,a,o,s,l=function l(){var u=+new Date-o;u<e&&u>0?i=setTimeout(l,e-u):(i=null,n||(s=t.apply(a,r),i||(a=r=null)))};return function(){a=this,r=arguments,o=+new Date;var u=n&&!i;return i||(i=setTimeout(l,e)),u&&(s=t.apply(a,r),a=r=null),s}}function y(t){if(!t&&"object"!==i(t))throw new Error("error arguments","deepClone");var e=t.constructor===Array?[]:{};return Object.keys(t).forEach((function(n){t[n]&&"object"===i(t[n])?e[n]=y(t[n]):e[n]=t[n]})),e}function _(t){return Array.from(new Set(t))}function v(){var t=+new Date+"",e=parseInt(65536*(1+Math.random()))+"";return(+(e+t)).toString(32)}function b(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function x(t,e){b(t,e)||(t.className+=" "+e)}function M(t,e){if(b(t,e)){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ")}}function w(t){if(t<1024)return t+"B";if(t<1048576){var e=t/1024;return e=e.toFixed(2),e+"KB"}if(t<1073741824){var n=t/1048576;return n=n.toFixed(2),n+"MB"}var i=t/1073741824;return i=i.toFixed(2),i+"GB"}function S(t){return/^(https?:|mailto:|tel:)/.test(t)}function L(t){t.$children&&t.$children.forEach((function(t){t.validate&&void 0!==t.rules?null===t.$el.querySelector(".is-checked")&&t.validate().then((function(e){var n=t.$children[0];if(void 0!==n)if(b(n.$el,"el-tooltip"))e.valid?(n.disabled=!0,M(n.$el,"invalid-field")):(n.disabled=!1,n.content=e.errors[0],n.$el.errorContent=e.errors[0],x(n.$el,"invalid-field"));else if(b(n.$el,"van-field")){var i=n.$el.querySelector(".van-field__control");e.valid?(n.error=!1,null!==i&&i.removeAttribute("error-content")):(n.error=!0,null!==i&&i.setAttribute("error-content",e.errors[0]))}})):t.$children.length>0&&L(t)}))}function k(){var t={},e=navigator.userAgent.toLowerCase();return e.match(/rv:([\d.]+)\) like gecko/)?t.ie=e.match(/rv:([\d.]+)\) like gecko/)[1]:e.match(/msie ([\d\.]+)/)?t.ie=e.match(/msie ([\d\.]+)/)[1]:e.match(/edge\/([\d\.]+)/)?t.edge=e.match(/edge\/([\d\.]+)/)[1]:e.match(/firefox\/([\d\.]+)/)?t.firefox=e.match(/firefox\/([\d\.]+)/)[1]:e.match(/(?:opera|opr).([\d\.]+)/)?t.opera=e.match(/(?:opera|opr).([\d\.]+)/)[1]:e.match(/chrome\/([\d\.]+)/)?t.chrome=e.match(/chrome\/([\d\.]+)/)[1]:e.match(/version\/([\d\.]+).*safari/)&&(t.safari=e.match(/version\/([\d\.]+).*safari/)[1]),t.ie?"IE: "+t.ie:t.edge?"EDGE: "+t.edge:t.firefox?"Firefox: "+t.firefox:t.chrome?"Chrome: "+t.chrome:t.opera?"Opera: "+t.opera:t.safari?"Safari: "+t.safari:"Unkonwn"}function D(t,e,n){return t.sort((function(t,i){var r=t[e],a=i[e];return"desc"===n?r>a?-1:r<a?1:0:r<a?-1:r>a?1:0}))}function T(){for(var t=[],e="0123456789abcdef",n=0;n<36;n++)t[n]=e.substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="",t.join("")}function O(t){var e=window.CryptoJS.enc.Utf8.parse("abcdefgabcdefg12"),n=window.CryptoJS.enc.Utf8.parse(t),i=window.CryptoJS.AES.encrypt(n,e,{mode:window.CryptoJS.mode.ECB,padding:window.CryptoJS.pad.Pkcs7});return i.toString()}function Y(t){var e=window.CryptoJS.enc.Utf8.parse("abcdefgabcdefg12"),n=window.CryptoJS.AES.decrypt(t,e,{mode:window.CryptoJS.mode.ECB,padding:window.CryptoJS.pad.Pkcs7});return window.CryptoJS.enc.Utf8.stringify(n).toString()}function C(){var t=window.navigator.userAgent;return/windows|win32/i.test(t)?"Windows":/linux/i.test(t)?"Linux":"其他操作系统"}},c109:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
236
+ function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},bbfe:function(t,e,n){"use strict";n("891b")},bd1a:function(t,e,n){var i=n("b5b1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("40ae55b2",i,!0,{sourceMap:!1,shadowMode:!1})},bee9:function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.r(e),n.d(e,"parseTime",(function(){return a})),n.d(e,"formatTime",(function(){return o})),n.d(e,"getQueryObject",(function(){return s})),n.d(e,"byteLength",(function(){return l})),n.d(e,"cleanArray",(function(){return u})),n.d(e,"param",(function(){return d})),n.d(e,"param2Obj",(function(){return c})),n.d(e,"html2Text",(function(){return h})),n.d(e,"objectMerge",(function(){return p})),n.d(e,"toggleClass",(function(){return f})),n.d(e,"getTime",(function(){return m})),n.d(e,"debounce",(function(){return g})),n.d(e,"deepClone",(function(){return y})),n.d(e,"uniqueArr",(function(){return _})),n.d(e,"createUniqueString",(function(){return v})),n.d(e,"hasClass",(function(){return b})),n.d(e,"addClass",(function(){return x})),n.d(e,"removeClass",(function(){return M})),n.d(e,"formatFileSize",(function(){return w})),n.d(e,"attachIconUrl",(function(){return S})),n.d(e,"isExternal",(function(){return L})),n.d(e,"formItemValidate",(function(){return k})),n.d(e,"getExplore",(function(){return D})),n.d(e,"sortByKey",(function(){return T})),n.d(e,"uuid",(function(){return O})),n.d(e,"aesEncrypt",(function(){return Y})),n.d(e,"aesDecrypt",(function(){return C})),n.d(e,"determineOS",(function(){return I}));var r=n("c1df");function a(t){return 0===arguments.length?null:("object"===i(t)?e=t:("string"===typeof t&&(t=/^[0-9]+$/.test(t)?parseInt(t):t.replace(/-/g,"/")),"number"===typeof t&&10===t.toString().length&&(t*=1e3),e=new Date(t)),e);var e}function o(t,e){var n=a(t);null===t&&(n=Date().now());var i=Date.now(),o=(i-n)/1e3;return void 0===e?o<30?"刚刚":o<3600?Math.floor(o/60)+"分钟前":o<86400?Math.floor(o/3600)+"小时前":o<172800?"1天前":n.getFullYear()<a(i).getFullYear()?n.getFullYear()+"/"+(n.getMonth()+1)+"/"+n.getDate():n.getMonth()+1+"/"+n.getDate():(e=e.replace("yyyy","YYYY").replace("dd","DD"),r(n).format(e))}function s(t){t=null==t?window.location.href:t;var e=t.substring(t.lastIndexOf("?")+1),n={},i=/([^?&=]+)=([^?&=]*)/g;return e.replace(i,(function(t,e,i){var r=decodeURIComponent(e),a=decodeURIComponent(i);return a=String(a),n[r]=a,t})),n}function l(t){for(var e=t.length,n=t.length-1;n>=0;n--){var i=t.charCodeAt(n);i>127&&i<=2047?e++:i>2047&&i<=65535&&(e+=1),i>=56320&&i<=57343&&n--}return e}function u(t){for(var e=[],n=0;n<t.length;n++)t[n]&&e.push(t[n]);return e}function d(t){return t?u(Object.keys(t).map((function(e){return void 0===t[e]?"":encodeURIComponent(e)+"="+encodeURIComponent(t[e])}))).join("&"):""}function c(t){var e=t.split("?")[1];return e?JSON.parse('{"'+decodeURIComponent(e).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"').replace(/\+/g," ")+'"}'):{}}function h(t){var e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText}function p(t,e){return"object"!==i(t)&&(t={}),Array.isArray(e)?e.slice():(Object.keys(e).forEach((function(n){var r=e[n];"object"===i(r)?t[n]=p(t[n],r):t[n]=r})),t)}function f(t,e){if(t&&e){var n=t.className,i=n.indexOf(e);-1===i?n+=""+e:n=n.substr(0,i)+n.substr(i+e.length),t.className=n}}function m(t){return"start"===t?(new Date).getTime()-7776e6:new Date((new Date).toDateString())}function g(t,e,n){var i,r,a,o,s,l=function l(){var u=+new Date-o;u<e&&u>0?i=setTimeout(l,e-u):(i=null,n||(s=t.apply(a,r),i||(a=r=null)))};return function(){a=this,r=arguments,o=+new Date;var u=n&&!i;return i||(i=setTimeout(l,e)),u&&(s=t.apply(a,r),a=r=null),s}}function y(t){if(!t&&"object"!==i(t))throw new Error("error arguments","deepClone");var e=t.constructor===Array?[]:{};return Object.keys(t).forEach((function(n){t[n]&&"object"===i(t[n])?e[n]=y(t[n]):e[n]=t[n]})),e}function _(t){return Array.from(new Set(t))}function v(){var t=+new Date+"",e=parseInt(65536*(1+Math.random()))+"";return(+(e+t)).toString(32)}function b(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function x(t,e){b(t,e)||(t.className+=" "+e)}function M(t,e){if(b(t,e)){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ")}}function w(t){if(t<1024)return t+"B";if(t<1048576){var e=t/1024;return e=e.toFixed(2),e+"KB"}if(t<1073741824){var n=t/1048576;return n=n.toFixed(2),n+"MB"}var i=t/1073741824;return i=i.toFixed(2),i+"GB"}function S(t){var e=t.oriangialName||t.fileName;return e=e.substring(e.lastIndexOf(".")),".doc"===e||".docx"===e?"images/w-imgs/email/word.png":".ppt"===e||".pptx"===e?"images/w-imgs/email/ppt.png":".xls"===e||".xlsx"===e?"images/w-imgs/email/excel.png":".pdf"===e?"images/w-imgs/email/pdf.png":".txt"===e?"images/w-imgs/email/txt.png":".audio"===e||".amr"===e||".mp3"===e||".wav"===e?"images/w-imgs/email/audio.png":".video"===e||".mp4"===e||".mov"===e?"images/w-imgs/email/video.png":".zip"===e||".rar"===e?"images/w-imgs/email/zip.png":".image"===e||".mp4"===e||".jpg"===e||".jpeg"===e||".png"===e||".gif"===e||".bmp"===e||".svg"===e?"images/w-imgs/email/picture.png":" "===e?"images/w-imgs/email/none.png":"images/w-imgs/email/other.png"}function L(t){return/^(https?:|mailto:|tel:)/.test(t)}function k(t){t.$children&&t.$children.forEach((function(t){t.validate&&void 0!==t.rules?null===t.$el.querySelector(".is-checked")&&t.validate().then((function(e){var n=t.$children[0];if(void 0!==n)if(b(n.$el,"el-tooltip"))e.valid?(n.disabled=!0,M(n.$el,"invalid-field")):(n.disabled=!1,n.content=e.errors[0],n.$el.errorContent=e.errors[0],x(n.$el,"invalid-field"));else if(b(n.$el,"van-field")){var i=n.$el.querySelector(".van-field__control");e.valid?(n.error=!1,null!==i&&i.removeAttribute("error-content")):(n.error=!0,null!==i&&i.setAttribute("error-content",e.errors[0]))}})):t.$children.length>0&&k(t)}))}function D(){var t={},e=navigator.userAgent.toLowerCase();return e.match(/rv:([\d.]+)\) like gecko/)?t.ie=e.match(/rv:([\d.]+)\) like gecko/)[1]:e.match(/msie ([\d\.]+)/)?t.ie=e.match(/msie ([\d\.]+)/)[1]:e.match(/edge\/([\d\.]+)/)?t.edge=e.match(/edge\/([\d\.]+)/)[1]:e.match(/firefox\/([\d\.]+)/)?t.firefox=e.match(/firefox\/([\d\.]+)/)[1]:e.match(/(?:opera|opr).([\d\.]+)/)?t.opera=e.match(/(?:opera|opr).([\d\.]+)/)[1]:e.match(/chrome\/([\d\.]+)/)?t.chrome=e.match(/chrome\/([\d\.]+)/)[1]:e.match(/version\/([\d\.]+).*safari/)&&(t.safari=e.match(/version\/([\d\.]+).*safari/)[1]),t.ie?"IE: "+t.ie:t.edge?"EDGE: "+t.edge:t.firefox?"Firefox: "+t.firefox:t.chrome?"Chrome: "+t.chrome:t.opera?"Opera: "+t.opera:t.safari?"Safari: "+t.safari:"Unkonwn"}function T(t,e,n){return t.sort((function(t,i){var r=t[e],a=i[e];return"desc"===n?r>a?-1:r<a?1:0:r<a?-1:r>a?1:0}))}function O(){for(var t=[],e="0123456789abcdef",n=0;n<36;n++)t[n]=e.substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="",t.join("")}function Y(t){var e=window.CryptoJS.enc.Utf8.parse("abcdefgabcdefg12"),n=window.CryptoJS.enc.Utf8.parse(t),i=window.CryptoJS.AES.encrypt(n,e,{mode:window.CryptoJS.mode.ECB,padding:window.CryptoJS.pad.Pkcs7});return i.toString()}function C(t){var e=window.CryptoJS.enc.Utf8.parse("abcdefgabcdefg12"),n=window.CryptoJS.AES.decrypt(t,e,{mode:window.CryptoJS.mode.ECB,padding:window.CryptoJS.pad.Pkcs7});return window.CryptoJS.enc.Utf8.stringify(n).toString()}function I(){var t=window.navigator.userAgent;return/windows|win32/i.test(t)?"Windows":/linux/i.test(t)?"Linux":"其他操作系统"}},c109:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
237
237
  //! moment.js locale configuration
238
238
  var e=t.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 e}))},c1df:function(t,e,n){(function(t){var e;//! moment.js
239
239
  //! version : 2.30.1
@@ -290,7 +290,7 @@ var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0
290
290
  //! moment.js locale configuration
291
291
  var e=["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=t.defineLocale("gd",{months:e,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(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return o}))},f8e3:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".lucky-excel[data-v-acbb44e2]{position:relative;overflow:hidden;width:100%;height:100%}.lucky-excel #excelHtml[data-v-acbb44e2]{height:calc(100% - 50px)}[data-v-acbb44e2] .van-nav-bar .van-icon,[data-v-acbb44e2] .van-nav-bar__text,[data-v-acbb44e2] .van-nav-bar__title{color:#fff!important}",""]),t.exports=e},facd:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
292
292
  //! moment.js locale configuration
293
- var e="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=t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},fb15:function(t,e,n){"use strict";n.r(e);var i={};n.r(i),n.d(i,"updateProps",(function(){return wd})),n.d(i,"initProps",(function(){return Sd})),n.d(i,"removeElement",(function(){return kd})),n.d(i,"removeElementWithFadeOut",(function(){return Td})),n.d(i,"isElementRemoved",(function(){return Ld})),n.d(i,"extendShape",(function(){return Wy})),n.d(i,"extendPath",(function(){return Gy})),n.d(i,"registerShape",(function(){return Uy})),n.d(i,"getShapeClass",(function(){return qy})),n.d(i,"makePath",(function(){return Xy})),n.d(i,"makeImage",(function(){return Zy})),n.d(i,"mergePath",(function(){return $y})),n.d(i,"resizePath",(function(){return Ky})),n.d(i,"subPixelOptimizeLine",(function(){return Qy})),n.d(i,"subPixelOptimizeRect",(function(){return t_})),n.d(i,"subPixelOptimize",(function(){return e_})),n.d(i,"getTransform",(function(){return n_})),n.d(i,"applyTransform",(function(){return i_})),n.d(i,"transformDirection",(function(){return r_})),n.d(i,"groupTransition",(function(){return s_})),n.d(i,"clipPointsByRect",(function(){return l_})),n.d(i,"clipRectByRect",(function(){return u_})),n.d(i,"createIcon",(function(){return d_})),n.d(i,"linePolygonIntersect",(function(){return c_})),n.d(i,"lineLineIntersect",(function(){return h_})),n.d(i,"setTooltipConfig",(function(){return m_})),n.d(i,"traverseElements",(function(){return y_})),n.d(i,"Group",(function(){return na})),n.d(i,"Image",(function(){return Il})),n.d(i,"Text",(function(){return au})),n.d(i,"Circle",(function(){return Ig})),n.d(i,"Ellipse",(function(){return Pg})),n.d(i,"Sector",(function(){return Qg})),n.d(i,"Ring",(function(){return ny})),n.d(i,"Polygon",(function(){return sy})),n.d(i,"Polyline",(function(){return dy})),n.d(i,"Rect",(function(){return Fl})),n.d(i,"Line",(function(){return fy})),n.d(i,"BezierCurve",(function(){return vy})),n.d(i,"Arc",(function(){return My})),n.d(i,"IncrementalDisplayable",(function(){return Ry})),n.d(i,"CompoundPath",(function(){return Sy})),n.d(i,"LinearGradient",(function(){return Ty})),n.d(i,"RadialGradient",(function(){return Yy})),n.d(i,"BoundingRect",(function(){return ln})),n.d(i,"OrientedBoundingRect",(function(){return Hy})),n.d(i,"Point",(function(){return $e})),n.d(i,"Path",(function(){return Sl}));var r={};if(n.r(r),n.d(r,"extendShape",(function(){return Wy})),n.d(r,"extendPath",(function(){return Gy})),n.d(r,"makePath",(function(){return Xy})),n.d(r,"makeImage",(function(){return Zy})),n.d(r,"mergePath",(function(){return $y})),n.d(r,"resizePath",(function(){return Ky})),n.d(r,"createIcon",(function(){return d_})),n.d(r,"updateProps",(function(){return wd})),n.d(r,"initProps",(function(){return Sd})),n.d(r,"getTransform",(function(){return n_})),n.d(r,"clipPointsByRect",(function(){return l_})),n.d(r,"clipRectByRect",(function(){return u_})),n.d(r,"registerShape",(function(){return Uy})),n.d(r,"getShapeClass",(function(){return qy})),n.d(r,"Group",(function(){return na})),n.d(r,"Image",(function(){return Il})),n.d(r,"Text",(function(){return au})),n.d(r,"Circle",(function(){return Ig})),n.d(r,"Ellipse",(function(){return Pg})),n.d(r,"Sector",(function(){return Qg})),n.d(r,"Ring",(function(){return ny})),n.d(r,"Polygon",(function(){return sy})),n.d(r,"Polyline",(function(){return dy})),n.d(r,"Rect",(function(){return Fl})),n.d(r,"Line",(function(){return fy})),n.d(r,"BezierCurve",(function(){return vy})),n.d(r,"Arc",(function(){return My})),n.d(r,"IncrementalDisplayable",(function(){return Ry})),n.d(r,"CompoundPath",(function(){return Sy})),n.d(r,"LinearGradient",(function(){return Ty})),n.d(r,"RadialGradient",(function(){return Yy})),n.d(r,"BoundingRect",(function(){return ln})),"undefined"!==typeof window){var a=window.document.currentScript,o=n("8875");a=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var s=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(n.p=s[1])}var l=function(){var t=this,e=t._self._c;return e("van-cell",{staticClass:"AppCell",class:{AppCell_titleOnly:t.data.titleOnly,AppCell_hasLabel:t.data.label},attrs:{center:"","is-link":t.data.isLink||t.data.routeTo,clickable:t.data.routeTo||t.data.clickable,label:t.data.label,value:t.data.value,border:void 0===t.data.border||t.data.border},on:{click:t.cellClick},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.data.title)}})]},proxy:!0},{key:"icon",fn:function(){return[t.data.icon?e("img",{staticClass:"AppCell_icon",attrs:{src:t.data.icon}}):t._t("icon")]},proxy:!0}])},[t._t("value")],2)},u=[],d={props:{data:{type:Object,require:!0,default:function(){}}},methods:{cellClick:function(){this.data.routeTo&&this.$router.push({path:this.data.routeTo}),this.$emit("click")}}},c=d;n("71f1");function h(t,e,n,i,r,a,o,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._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 d=u.render;u.render=function(t,e){return l.call(e),d(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}var p=h(c,l,u,!1,null,"94ce3648",null),f=p.exports,m=function(){var t=this,e=t._self._c;return e("van-field",{staticClass:"AppFieldCell",class:!t.data.title&&"AppFieldCell_valueOnly",attrs:{label:t.data.title,type:t.data.type,"input-align":t.data.title?"right":"left",placeholder:t.data.placeholder},on:{input:t.valueChange},scopedSlots:t._u([t._l(t.$slots,(function(e,n){return{key:n,fn:function(){return[t._t(n)]},proxy:!0}}))],null,!0),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})},g=[],y={props:{data:{type:Object,require:!0,default:function(){}},value:{type:[String,Number],require:!0,default:""}},methods:{valueChange:function(t){this.$emit("update:value",t),this.$emit("change",t)}}},_=y,v=(n("0ac2"),h(_,m,g,!1,null,"72924d7c",null)),b=v.exports;function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function S(t,e,n){return(e=L(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){var e=k(t,"string");return"symbol"==x(e)?e:e+""}function k(t,e){if("object"!=x(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=x(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var D=function(){var t=this,e=t._self._c;return t.isLoaded&&t.isShow?e("van-nav-bar",{staticClass:"App-nav-bar",class:{"App-nav-bar__fixed":t.isEditPage,"App-nav-bar__noBottomLine":!t.showBottomLine},style:{paddingTop:t.appPadding+"px"},attrs:{title:t.title},on:{"click-left":t.clickLeftFunc,"click-right":t.rightConfig.onClick},scopedSlots:t._u([{key:"left",fn:function(){return[t.leftConfig.bool&&t.leftConfig.imgUrl?e("img",{staticClass:"App-left-img",attrs:{src:t.leftConfig.imgUrl}}):t.showBackBtn?e("van-icon",{attrs:{name:"arrow-left",color:"#323233",size:"16"}}):t._e(),t.leftTextConfig.bool?[e("div",{style:w({color:t.leftTextConfig.color},t.leftTextConfig.style)},[t._v(t._s(t.leftTextConfig.text))])]:t._e()]},proxy:!0},t.titleConfig.bool?{key:"title",fn:function(){return[e("div",{staticClass:"App-center",style:{color:t.titleConfig.color},on:{click:t.titleConfig.onClick}},[t.titleConfig.imgUrl?e("img",{staticClass:"App-center-img",attrs:{src:t.titleConfig.imgUrl}}):t._e(),t._v(" "+t._s(t.titleConfig.text)+" ")]),void 0!==t.titleConfig.chatStatus&&null!==t.titleConfig.chatStatus?e("div",{staticClass:"App-center-chat-status"},[e("span",{staticClass:"status-icon",class:{"on-line":1===t.titleConfig.chatStatus}}),e("span",{staticClass:"status-text"},[t._v(t._s(1===t.titleConfig.chatStatus?"在线":"离线"))])]):t._e()]},proxy:!0}:null,t.rightConfig.bool?{key:"right",fn:function(){return[t.rightConfig.bool&&t.rightConfig.imgUrl?e("img",{staticClass:"App-left-img",attrs:{src:t.rightConfig.imgUrl}}):t._e(),e("div",{style:{color:t.rightConfig.color}},[t._v(t._s(t.rightConfig.text))])]},proxy:!0}:null],null,!0)}):t._e()},T=[];function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function Y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Y=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var a=e&&e.prototype instanceof y?e:y,o=Object.create(a.prototype),s=new I(i||[]);return r(o,"_invoke",{value:k(t,n,s)}),o}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var h="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function y(){}function _(){}function v(){}var b={};u(b,o,(function(){return this}));var x=Object.getPrototypeOf,M=x&&x(x(A([])));M&&M!==n&&i.call(M,o)&&(b=M);var w=v.prototype=y.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(r,a,o,s){var l=c(t[r],t,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==O(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,o,s)}),(function(t){n("throw",t,o,s)})):e.resolve(d).then((function(t){u.value=t,o(u)}),(function(t){return n("throw",t,o,s)}))}s(l.arg)}var a;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return a=a?a.then(r,r):r()}})}function k(e,n,i){var r=h;return function(a,o){if(r===f)throw Error("Generator is already running");if(r===m){if("throw"===a)throw o;return{value:t,done:!0}}for(i.method=a,i.arg=o;;){var s=i.delegate;if(s){var l=D(s,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=f;var u=c(e,n,i);if("normal"===u.type){if(r=i.done?m:p,u.arg===g)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(r=m,i.method="throw",i.arg=u.arg)}}}function D(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,D(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var a=c(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(O(e)+" is not iterable")}return _.prototype=v,r(w,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:_,configurable:!0}),_.displayName=u(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},S(L.prototype),u(L.prototype,s,(function(){return this})),e.AsyncIterator=L,e.async=function(t,n,i,r,a){void 0===a&&(a=Promise);var o=new L(d(t,n,i,r),a);return e.isGeneratorFunction(n)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},S(w),u(w,l,"Generator"),u(w,o,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;C(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:A(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},e}function C(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function I(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){C(a,i,r,o,s,"next",t)}function s(t){C(a,i,r,o,s,"throw",t)}o(void 0)}))}}var A={data:function(){return{appPadding:0,isLoaded:!1,isEditPage:!1,isCustomHeader:!1,isCustomBackButton:!1,showBackBtn:!0,showBottomLine:!0,title:"",titleConfig:{},leftConfig:{},leftTextConfig:{},rightConfig:{},headerStyleHtml:null}},computed:{isShow:function(){var t=!1;return("H5"===window.layout||window.flutter_inappwebview)&&(t=!0,this.$route.meta.disabledNavBar&&(t=!1,void 0!==this.$route.query.canEdit&&(t=!0))),this.$route.query.isFullScreen&&(t=!1),t?(document.body.style.setProperty("--headerHeight",46+this.appPadding-1+"px"),document.body.style.setProperty("--headerStatusHeight",this.appPadding+"px"),window.headerHeight=46+this.appPadding-1,window.headerStatusHeight=this.appPadding):(document.body.style.setProperty("--headerHeight","0px"),document.body.style.setProperty("--headerStatusHeight",this.appPadding+"px"),window.headerHeight=0,window.headerStatusHeight=this.appPadding),t},clickLeftFunc:function(){return this.showBackBtn?this.leftConfig.onClick?this.leftConfig.onClick:this.onClickLeft:function(){}}},watch:{$route:function(){var t=I(Y().mark((function t(e,n){var i=this;return Y().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.isLoaded=!0,"H5"!==window.layout&&!window.flutter_inappwebview||0!==this.appPadding&&24!==this.appPadding){t.next=8;break}return t.next=4,this.$wv.getSystemStatusBarHeight();case 4:if(t.t0=t.sent,t.t0){t.next=7;break}t.t0=24;case 7:this.appPadding=t.t0;case 8:this.handleBtnConfig(e),this.handleHeaderConfig(e),this.$nextTick((function(){return i.handleHeaderLineConfig(e)}));case 11:case"end":return t.stop()}}),t,this)})));function e(e,n){return t.apply(this,arguments)}return e}(),isCustomHeader:function(t){var e=this;!0===t&&setTimeout((function(){e.isCustomHeader=!1}),50)}},created:function(){var t=this;return I(Y().mark((function e(){return Y().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("H5"!==window.layout&&!window.flutter_inappwebview||0!==t.appPadding&&24!==t.appPadding){e.next=7;break}return e.next=3,t.$wv.getSystemStatusBarHeight();case 3:if(e.t0=e.sent,e.t0){e.next=6;break}e.t0=24;case 6:t.appPadding=e.t0;case 7:t.$bus.on("setTitle",t.handleSetTitle),t.$bus.on("setCenterImage",t.handleSetCenterImage),t.$bus.on("setLeftText",t.handleSetLeftText),t.$bus.on("setLeftImage",t.handleSetLeftImage),t.$bus.on("setRightText",t.handleSetRightText),t.$bus.on("setRightImage",t.handleSetRightImage),t.$bus.on("showBack",t.handleShowBack);case 14:case"end":return e.stop()}}),e)})))()},beforeDestroy:function(){this.$bus.off("setTitle",this.handleSetTitle),this.$bus.off("setCenterImage",this.handleSetCenterImage),this.$bus.off("setLeftText",this.handleSetLeftText),this.$bus.off("setLeftImage",this.handleSetLeftImage),this.$bus.off("setRightText",this.handleSetRightText),this.$bus.off("setRightImage",this.handleSetRightImage),this.$bus.off("showBack",this.handleShowBack)},methods:{onClickLeft:function(){history.back()},handleBtnConfig:function(t){this.isCustomBackButton?this.isCustomBackButton=!1:t.query.hasOwnProperty("canEdit")?this.showBackBtn=!0:void 0!==t.meta.disabledBack?this.showBackBtn=!1:this.isCustomBackButton||(this.showBackBtn=!0)},handleHeaderConfig:function(t){var e=this;this.isCustomHeader?this.isCustomHeader=!1:(this.titleConfig.hasOwnProperty("bool")&&(this.titleConfig={}),this.leftConfig.hasOwnProperty("bool")&&(this.leftConfig={}),this.leftTextConfig.hasOwnProperty("bool")&&(this.leftConfig={}),this.rightConfig.hasOwnProperty("bool")&&(this.rightConfig={})),t.meta.appName?this.title=t.meta.appName:this.$nextTick((function(){e.title=document.title}))},handleHeaderLineConfig:function(){var t=document.querySelector(".table-search"),e=document.querySelector(".van-tabs"),n=null;if(e?n=e:t&&(n=t),n){var i=n.getBoundingClientRect();i.top-10<window.headerHeight<i.top+10?this.showBottomLine=!1:this.showBottomLine=!0}else this.showBottomLine=!0},handleSetTitle:function(t,e){var n=this;e||(e=function(){}),this.isCustomHeader=!0,this.titleConfig=t,this.titleConfig.onClick=e,this.showBottomLine=!1,setTimeout((function(){n.handleHeaderLineConfig()}),500)},handleSetCenterImage:function(t,e){e||(e=function(){}),this.isCustomHeader=!0,this.titleConfig=t,this.titleConfig.onClick=e},handleSetLeftText:function(t,e){this.isCustomHeader=!0,this.leftTextConfig=t,this.leftTextConfig.onClick=e},handleSetLeftImage:function(t,e){this.isCustomHeader=!0,this.leftConfig=t,this.leftConfig.onClick=e},handleSetRightText:function(t,e){e||(e=function(){}),this.isCustomHeader=!0,this.rightConfig=t,this.rightConfig.onClick=e},handleSetRightImage:function(t,e){e||(e=function(){}),this.isCustomHeader=!0,this.rightConfig=t,this.rightConfig.onClick=e},handleShowBack:function(t){this.isCustomBackButton=!0,this.showBackBtn=!!t}}},j=A,P=(n("b6ff"),h(j,D,T,!1,null,"e0c906b2",null)),H=P.exports,E=function(){var t=this,e=t._self._c;return e("van-popup",{style:{height:"100%",width:"100%"},attrs:{id:"AppListPage",position:"right"},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}},[e("div",{staticClass:"AppListPage-container"},[e("van-search",{staticClass:"p-search iconfont-search",attrs:{placeholder:" 搜索","input-align":"left"},on:{search:t.handleFilterSearch},model:{value:t.filterText,callback:function(e){t.filterText=e},expression:"filterText"}},[e("span",{attrs:{slot:"left-icon"},slot:"left-icon"})]),e("div",{staticClass:"AppListPage-list-content"},[t._l(t.showingDataList,(function(n,i){return[t.$slots.cell?[t._t("cell")]:e("AppCell",{key:i,attrs:{data:{title:n[t.titleProp],value:n[t.valueProp],clickable:!0}},on:{click:function(e){return t.cellClick(n)}}})]}))],2)],1)])},N=[],R=n("bee9"),z=R.deepClone,F={name:"AppListPage",props:{titleProp:{type:String,default:"name"},valueProp:{type:String,default:"value"},cellClick:{type:Function,default:function(){}}},data:function(){return{isVisible:!1,pageId:"",title:"AppListPage",filterText:"",dataList:[],filterDataList:[]}},computed:{showingDataList:function(){return this.filterText?this.filterDataList:this.dataList}},watch:{$route:function(t,e){if(t.query.STACK){var n=t.query.STACK.split("-");n[n.length-1]===this.pageId&&this.$wv.setTitle({bool:!0,text:this.title}),n.includes(this.pageId)||(this.isVisible=!1)}else this.isVisible=!1},isVisible:function(t){!1===t&&(this.pageId="",this.title="AppListPage",this.filterText="",this.dataList=[],this.filterDataList=[])}},methods:{openNewPage:function(t){this.pageId=t.id||"",this.title=t.title,this.dataList=t.dataList,this.isVisible=!0,this.pageId?this.$route.query.STACK?this.$router.push({path:this.$route.path,query:{STACK:this.$route.query.STACK+"-"+this.pageId,canEdit:0}}):this.$router.push({path:this.$route.path,query:{STACK:this.pageId,canEdit:0}}):this.$router.replace({path:this.$route.path,query:{STACK:"SINGLE_COMPONENTS",canEdit:0}}),this.$wv.setTitle({bool:!0,text:this.title})},handleFilterSearch:function(t){if(""!==t){var e='<span style="color:#53A8FF;">'+t+"</span>";this.filterDataList=this.dataList.reduce((function(n,i){var r=z(i);return-1!==i.name.indexOf(t)&&(r.name=r.name.replaceAll(t,e),n.push(r)),n}),[])}else this.filterDataList=[]}}},B=F,W=(n("1498"),h(B,E,N,!1,null,"643001df",null)),V=W.exports,G=function(){var t=this,e=t._self._c;return t.show?e("div",{staticClass:"water",attrs:{id:"allWater"}},[e("div",{staticClass:"waterList"},t._l(t.countY,(function(n){return e("div",{key:n},t._l(t.countX,(function(i){return e("div",{key:i,staticClass:"Watermark",style:{transform:"rotate(".concat(t.content.mbAngle,"deg)"),top:t.content.mbYSpace*(n-1)+80+"px",left:t.content.mbXSpace*(i-1)+30+"px",opacity:t.content.pellucidity,"font-size":t.content.mbShowSize+"pt"}},[t._v(t._s(t.content.showContent))])})),0)})),0)]):t._e()},U=[],q=n("2f62");function X(t){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X(t)}function Z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(n),!0).forEach((function(e){$(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $(t,e,n){return(e=K(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t){var e=Q(t,"string");return"symbol"==X(e)?e:e+""}function Q(t,e){if("object"!=X(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=X(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var tt={components:{},props:{},data:function(){return{content:{},countX:12,countY:12,isOne:!0,show:!1,waterTimer:""}},computed:J({},Object(q["a"])(["loginUser"])),watch:{$route:function(t){this.loginUser?!this.show&&this.loginUser.orgCode&&this.isOne&&(this.isOne=!1,this.getWaterMarkConfig()):this.show=!1}},created:function(){"/login"!=this.$route.path&&this.loginUser&&this.loginUser.orgCode&&this.getWaterMarkConfig(),this.$bus.on("getWaterMarkConfig",this.getWaterMarkConfig)},beforeDestroy:function(){this.$bus.off("getWaterMarkConfig",this.getWaterMarkConfig),window.removeEventListener("resize",this.getMoreWater)},mounted:function(){window.addEventListener("resize",this.getMoreWater)},methods:{getMoreWater:function(){var t=this;clearTimeout(this.waterTimer),this.waterTimer=setTimeout((function(){t.countX=Math.ceil(Number(document.getElementById("mapp").clientWidth)/(t.content.mbXSpace||t.content.xSpace)),t.countY=Math.ceil(Number(document.getElementById("mapp").clientHeight)/(t.content.mbYSpace||t.content.ySpace))}),500)},getWaterMarkConfig:function(){var t=this;this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",url:"/base/watermarkConfig/getWaterMarkConfig"}).then((function(e){if(e.body.vo){var n=e.body.vo;n.pellucidity=Number(n.pellucidity)/100,n.space=Number(n.space),t.countX=Math.ceil(Number(document.getElementById("mapp").clientWidth)/(n.mbXSpace||n.xSpace)),t.countY=Math.ceil(Number(document.getElementById("mapp").clientHeight)/(n.mbYSpace||n.ySpace)),t.content=n,t.loginUser&&t.loginUser.orgCode?t.show=!0:t.show=!1}else t.show=!1}))}}},et=tt,nt=(n("00d7"),h(et,G,U,!1,null,"2723b165",null)),it=nt.exports,rt=function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"wh_container"},[e("div",{staticClass:"wh_content_all"},[t.isSwitchover?t._e():e("div",{staticClass:"wh_top_title"},[t.showTopRight?[e("div",{staticStyle:{width:"40%","padding-left":"10px !important"},on:{click:function(e){return t.selectMonthClick(t.nowYear,t.nowMonth)}}},[t._v(t._s(t.dateTop))]),e("div",{staticStyle:{width:"60%","text-align":"right"}},[t._t("right")],2)]:[e("div",{staticStyle:{width:"100%","text-align":"center"},on:{click:function(e){return t.selectMonthClick(t.nowYear,t.nowMonth)}}},[t._v(t._s(t.dateTop))])]],2),t.isSwitchover?e("div",{staticClass:"wh_top_changge"},[e("li",{on:{click:function(e){return t.PreMonth(t.myDate,!1)}}},[e("div",{staticClass:"wh_jiantou1"})]),e("li",{staticClass:"wh_content_li",on:{click:function(e){return t.selectMonthClick(t.nowYear,t.nowMonth)}}},[t._v(t._s(t.dateTop))]),e("li",{on:{click:function(e){return t.NextMonth(t.myDate,!1)}}},[e("div",{staticClass:"wh_jiantou2"})])]):t._e(),e("div",{staticClass:"wh_content"},t._l(t.textTop,(function(n,i){return e("div",{key:i,staticClass:"wh_content_item"},[e("div",{staticClass:"wh_top_tag"},[t._v(t._s(n))])])})),0),"month"===t.userType?e("div",{staticClass:"clendar_inner",on:{touchstart:t.gotouchstart,touchend:t.gotouchend,touchmove:t.gotouchmove}},[e("div",{staticClass:"wh_content"},t._l(t.list.nowMonth,(function(n,i){return e("div",{key:i,staticClass:"wh_content_item",class:t.errorDay[n.id]&&t.errorDay[n.id].month===n.date?0===t.errorDay[n.id].flag?"succFlag":"errorFlag":"",on:{click:function(e){return t.clickDay(n,i)}}},[e("div",{staticClass:"wh_item_date",class:[{wh_isMark:n.isMark},{wh_other_dayhide:"nowMonth"!==n.otherMonth},{wh_want_dayhide:n.dayHide},{wh_isToday:n.isToday&&!t.choseOtherDay},{wh_choseOtherDay:n.isToday&&t.choseOtherDay},{wh_chose_day:n.chooseDay},t.setClass(n)]},[t._v(t._s(n.id))])])})),0),e("div",{staticClass:"up-arrow",on:{click:t.swipeup}},[e("div",[e("van-icon",{attrs:{name:"arrow-up"}})],1)])]):t._e(),"week"===t.userType?e("div",{staticClass:"clendar_inner",on:{touchstart:t.gotouchstart,touchend:t.gotouchend,touchmove:t.gotouchmove}},[e("div",{staticClass:"wh_content"},t._l(t.list.nowWeek,(function(n,i){return e("div",{key:i,staticClass:"wh_content_item",class:t.errorDay[n.id]&&t.errorDay[n.id].month===n.date?0===t.errorDay[n.id].flag?"succFlag":"errorFlag":"",on:{click:function(e){return t.clickDay(n,i)}}},[e("div",{staticClass:"wh_item_date",class:[{wh_isMark:n.isMark},{wh_want_dayhide:n.dayHide},{wh_isToday:n.isToday&&!t.choseOtherDay},{wh_choseOtherDay:n.isToday&&t.choseOtherDay},{wh_chose_day:n.chooseDay},t.setClass(n)]},[t._v(t._s(n.id))])])})),0),e("div",{staticClass:"up-arrow",on:{click:t.swipedown}},[e("div",[e("van-icon",{attrs:{name:"arrow-down"}})],1)])]):t._e(),t.dialogVisible?e("van-dialog",{attrs:{"close-on-click-overlay":!0,"lock-scroll":!0,"close-on-popstate":!0,"show-confirm-button":!1,"show-cancel-button":!1},model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}},[e("div",{staticClass:"van_col_title",on:{click:function(e){return t.selectYearClick(t.selectYear)}}},[t._v(t._s(t.dialogTitle))]),e("div",{staticStyle:{padding:"10px"},on:{touchstart:t.gotouchstart,touchend:t.gotouchend,touchmove:t.gotouchmove}},[e("van-row",{attrs:{align:"center"}},[t._l(t.options,(function(n,i){return[e("van-col",{key:i,staticClass:"van_col",attrs:{span:"8"},on:{click:function(e){return t.choose(i,n)}}},[e("span",{staticStyle:{"line-height":"20px"},style:{color:"month"===t.selectType&&(t.nowYear===t.selectYear||t.currerYear===t.selectYear)&&t.selectMonth===i+1||t.selectYear===n?"#1989fa":""}},[t._v(t._s(n))])])]}))],2)],1)]):t._e()],1)])])},at=[];function ot(t){return dt(t)||ut(t)||lt(t)||st()}function st(){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 lt(t,e){if(t){if("string"==typeof t)return ct(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ct(t,e):void 0}}function ut(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function dt(t){if(Array.isArray(t))return ct(t)}function ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var ht={getDaysInOneMonth:function(t){var e=t.getFullYear(),n=t.getMonth()+1,i=new Date(e,n,0);return i.getDate()},getMonthweek:function(t){var e=t.getFullYear(),n=t.getMonth()+1,i=new Date(e+"/"+n+"/1");return this.sundayStart?0===i.getDay()?7:i.getDay():0===i.getDay()?6:i.getDay()-1},getOtherMonth:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nextMonth",i=this.dateFormat(t).split("/"),r=i[0],a=i[1],o=i[2],s=r;"nextMonth"===n?(e=parseInt(a)+1,13===e&&(s=parseInt(s)+1,e=1)):(e=parseInt(a)-1,0===e&&(s=parseInt(s)-1,e=12));var l=o,u=new Date(s,e,0).getDate();l>u&&(l=u),e<10&&(e="0"+e),l<10&&(l="0"+l);var d=s+"/"+e+"/"+l;return new Date(d)},getOtherWeek:function(t,e){var n=new Date(t);return"preWeek"===e?new Date(new Date(n).getTime()-6048e5):new Date(new Date(n).getTime()+6048e5)},getLeftArr:function(t){for(var e=[],n=this.getMonthweek(t),i=this.getDaysInOneMonth(this.getOtherMonth(t,"preMonth"))-n+1,r=this.getOtherMonth(t,"preMonth"),a=0;a<n;a++){var o=r.getFullYear()+"/"+(r.getMonth()+1)+"/"+(i+a);e.push({id:i+a,date:o,isToday:!1,otherMonth:"preMonth"})}return e},getRightArr:function(t){for(var e=[],n=this.getOtherMonth(t,"nextMonth"),i=this.getDaysInOneMonth(t)+this.getMonthweek(t),r=7-i%7,a=0;a<r;a++){var o=n.getFullYear()+"/"+(n.getMonth()+1)+"/"+(a+1);e.push({id:a+1,date:o,isToday:!1,otherMonth:"nextMonth"})}return e},dateFormat:function(t){return t="string"===typeof t?new Date(t.replace(/\-/g,"/")):t,t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate()},getMonthListNoOther:function(t){for(var e=[],n=this.getDaysInOneMonth(t),i=t.getFullYear(),r=t.getMonth()+1,a=this.dateFormat(new Date),o=0;o<n;o++){var s=i+"/"+r+"/"+(o+1);e.push({id:o+1,date:s,isToday:a===s,otherMonth:"nowMonth"})}return e},getMonthList:function(t){var e=new Date(t.getFullYear(),t.getMonth()-1),n=new Date(t.getFullYear(),t.getMonth()+1),i={};return i.lastMonth=[].concat(ot(this.getLeftArr(e)),ot(this.getMonthListNoOther(e)),ot(this.getRightArr(e))),i.nowMonth=[].concat(ot(this.getLeftArr(t)),ot(this.getMonthListNoOther(t)),ot(this.getRightArr(t))),i.nextMonth=[].concat(ot(this.getLeftArr(n)),ot(this.getMonthListNoOther(n)),ot(this.getRightArr(n))),i},createClendar:function(t,e,i){for(var r=new Date(e),a=n("c1df"),o=new Date,s=[],l=0;l<7;l++){var u=new Date(t.getTime()+24*l*60*60*1e3),d=null;d=u.getFullYear()===r.getFullYear()?u.getMonth()===r.getMonth()?"nowMonth":u.getMonth()<r.getMonth()?"preMonth":"nextMonth":u.getFullYear()<r.getFullYear()?"preMonth":"nextMonth",s.push({id:u.getDate(),date:a(u).format(i?"YYYY/MM/DD":"YYYY/M/D"),isToday:a(u).format(i?"YYYY/MM/DD":"YYYY/M/D")===a(o).format(i?"YYYY/MM/DD":"YYYY/M/D"),otherMonth:d})}return s},getNowWeek:function(t,e){var n=t.getDay(),i=null,r=null,a=null;return this.sundayStart?(i=new Date(new Date(t).getTime()-24*n*60*60*1e3),r=new Date(new Date(i).getTime()-6048e5),a=new Date(new Date(i).getTime()+6048e5)):(i=new Date(new Date(t).getTime()-24*(0===n?6:n-1)*60*60*1e3),r=new Date(new Date(i).getTime()-6048e5),a=new Date(new Date(i).getTime()+6048e5)),{lastWeek:this.createClendar(r,t,e),nowWeek:this.createClendar(i,t,e),nextWeek:this.createClendar(a,t,e)}},getYearlist:function(t){for(var e=[],n=Number(t.toString().substr(0,3)+0),i=0;i<10;i++)e.push(n++);return e},getLeftAfteryear:function(t){for(var e=[],n=t-20;n<=t;n++)e.push(n);return e},getWeeklist:function(t,e){for(var n=new Date(t,e-1),i=n.getDay(),r=n.getTime()-24*(0===i?6:i-1)*60*60*1e3,a=r+5184e5,o=new Date(new Date(t,e).setDate(0)).getDate(),s=n.getTime()+24*(o-1)*60*60*1e3,l=new Date(s).getDay(),u=s+24*(7-(0===l?7:l))*60*60*1e3,d=(u-r+864e5)/1e3/60/60/24/7,c=[],h=0;h<d;h++)0!==h&&(r+=6048e5,a+=6048e5),c.push({start:new Date(r),end:new Date(a),num:h+1,month:e});return c},sundayStart:!1};function pt(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=gt(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function ft(t,e){return vt(t)||_t(t,e)||gt(t,e)||mt()}function mt(){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 gt(t,e){if(t){if("string"==typeof t)return yt(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yt(t,e):void 0}}function yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function _t(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw r}}return s}}function vt(t){if(Array.isArray(t))return t}var bt={props:{markDate:{type:Array,default:function(){return[]}},markDateMore:{type:Array,default:function(){return[]}},textTop:{type:Array,default:function(){return["一","二","三","四","五","六","日"]}},sundayStart:{type:Boolean,default:!1},showTopRight:{type:Boolean,default:!0},agoDayHide:{type:String,default:"0"},futureDayHide:{type:String,default:"2554387200"},getDayDetails:{type:Function,default:function(){return null}},errorDay:{type:Array,default:function(){return[]}},changeDate:{type:Function,default:function(){return null}},isSwitchover:{type:Boolean,default:!1},defaultType:{type:String,default:"month"}},data:function(){return{myDate:[],list:{},historyChose:[],dateTop:"",choseOtherDay:!1,dialogVisible:!1,vueMoves:!1,vueLeave:!1,longTouch:!1,vueTouches:{},updateDate:!1,dialogTitle:"",allMonth:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],options:[],selectMonth:"",selectYear:"",selectType:"month",userType:""}},watch:{userType:{handler:function(t,e){this.$emit("userTypeFn",t)},deep:!0},markDate:{handler:function(t,e){this.getList(this.myDate)},deep:!0},markDateMore:{handler:function(t,e){this.getList(this.myDate)},deep:!0},agoDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},futureDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},sundayStart:{handler:function(t,e){this.intStart(),this.getList(this.myDate)},deep:!0}},created:function(){var t=new Date;this.myDate=t,this.nowMonth=t.getMonth()+1,this.nowYear=t.getFullYear(),this.currerYear=t.getFullYear(),this.intStart()},mounted:function(){this.userType=this.defaultType,this.getList(this.myDate)},methods:{intStart:function(){ht.sundayStart=this.sundayStart},setClass:function(t){var e={};return e[t.markClassName]=t.markClassName,e},gotouchstart:function(t){this.vueMoves=!0,this.vueLeave=!0,this.longTouch=!0,this.vueTouches={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}},gotouchend:function(t){var e=t.changedTouches[0].pageX-this.vueTouches.x,n=t.changedTouches[0].pageY-this.vueTouches.y;(Math.abs(e)>10||Math.abs(n)>100)&&(Math.abs(e)>Math.abs(n)?(e>10&&this.swiperight(),e<-10&&this.swipeleft()):(n>10&&this.swipedown(),n<-10&&this.swipeup()))},gotouchmove:function(t){this.vueMoves=!1},swipeup:function(){this.dialogVisible||(this.userType="week",this.getList(this.myDate),this.$emit("swipeChange","week"))},swipedown:function(){this.dialogVisible||(this.userType="month",this.getList(this.myDate),this.$emit("swipeChange","month"))},swipeleft:function(){this.dialogVisible?this.preSelectDialog("next"):(this.updateDate=!1,this.NextMonth(this.myDate))},swiperight:function(){this.dialogVisible?this.preSelectDialog("pre"):(this.updateDate=!1,this.PreMonth(this.myDate))},clickDay:function(t,e){if(this.myDate=new Date(t.date),null!==this.getDayDetails&&this.getDayDetails(t,e),this.$emit("getDayDetails",t,e),"month"===this.userType)"nowMonth"!==t.otherMonth||t.dayHide||this.getList(this.myDate,t.date,!1,this.userType),"nowMonth"!==t.otherMonth&&("preMonth"===t.otherMonth?this.PreMonth(t.date,!0):this.NextMonth(t.date,!0));else{var n=new Date(t.date);this.getList(n,t.date,!0,this.userType)}},selectMonthClick:function(t,e){this.dialogTitle=t+"年",this.options=this.allMonth,this.selectMonth=e,this.selectYear=t,this.dialogVisible=!0},selectYearClick:function(t){this.selectType="year",this.options=ht.getYearlist(t),this.dialogTitle=this.options[0]+"年 - "+this.options[9]+"年"},choose:function(t,e){"month"===this.selectType?(this.selectMonth=t+1,this.myDate=new Date(this.selectYear,t,1),this.nowMonth=this.selectMonth,this.nowYear=this.selectYear,this.getList(this.myDate),this.dialogVisible=!1,this.$emit("changeDate",ht.dateFormat(this.myDate))):"year"===this.selectType&&(this.selectYear=e,e===(new Date).getFullYear()&&(this.selectMonth=(new Date).getMonth()+1),this.dialogTitle=e+"年",this.selectType="month",this.options=this.allMonth)},preSelectDialog:function(t){if("pre"===t){if("month"===this.selectType){if(1970===this.selectYear)return;this.selectYear-=1,this.dialogTitle=this.selectYear+"年"}else if("year"===this.selectType){if(1970===this.options[0])return;this.selectYearClick(this.options[0]-10)}}else if("month"===this.selectType){if(2049===this.selectYear)return;if(this.selectYear===(new Date).getFullYear()+19)return;this.selectYear+=1,this.dialogTitle=this.selectYear+"年"}else if("year"===this.selectType){if(2049===this.options[9])return;if(this.options[0]===(new Date).getFullYear()+10)return;this.selectYearClick(this.options[0]+10)}},PreMonth:function(t,e){"string"===typeof t&&(t=new Date(t)),1970===t.getFullYear()&&t.getMonth()+1===1||(t=ht.dateFormat(t),e||(this.myDate="month"===this.userType?ht.getOtherMonth(this.myDate,"preMonth"):ht.getOtherWeek(this.myDate,"preWeek")),this.nowMonth=this.myDate.getMonth()+1,this.nowYear=this.myDate.getFullYear(),this.$emit("changeDate",ht.dateFormat(this.myDate)),null!==this.changeDate&&this.changeDate(ht.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate))},NextMonth:function(t,e){"string"===typeof t&&(t=new Date(t)),2049===t.getFullYear()&&t.getMonth()+1===12||t.getFullYear()===(new Date).getFullYear()+19&&t.getMonth()+1===12||(t=ht.dateFormat(t),e||(this.myDate="month"===this.userType?ht.getOtherMonth(this.myDate,"nextMonth"):ht.getOtherWeek(this.myDate,"nextWeek")),this.nowMonth=this.myDate.getMonth()+1,this.nowYear=this.myDate.getFullYear(),this.$emit("changeDate",ht.dateFormat(this.myDate)),null!==this.changeDate&&this.changeDate(ht.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate))},forMatArgs:function(){var t=this.markDate,e=this.markDateMore;return t=t.map((function(t){return ht.dateFormat(t)})),e=e.map((function(t){return t.date=ht.dateFormat(t.date),t})),[t,e]},getList:function(t,e){var n=this,i=this.forMatArgs(),r=ft(i,2),a=r[0],o=r[1];this.dateTop="".concat(t.getFullYear(),"年").concat(t.getMonth()+1,"月");var s=null;for(var l in s="month"===this.userType?ht.getMonthList(this.myDate):ht.getNowWeek(this.myDate,!1),s)for(var u=s[l],d=0;d<u.length;d++){var c="",h=u[d];h.chooseDay=!1;var p,f=h.date,m=new Date(f).getTime()/1e3,g=pt(o);try{for(g.s();!(p=g.n()).done;){var y=p.value;y.date===f&&(c=y.className||"")}}catch(v){g.e(v)}finally{g.f()}h.markClassName=c,h.isMark=a.indexOf(f)>-1,h.dayHide=m<this.agoDayHide||m>this.futureDayHide,h.isToday&&this.$emit("isToday",f);var _=!h.dayHide&&"nowMonth"===h.otherMonth||"week"===this.userType;e&&e===f&&_?(this.$emit("choseDay",f),this.historyChose.push(f),h.chooseDay=!0,h.isToday?this.choseOtherDay=!1:this.choseOtherDay=!0):this.historyChose[this.historyChose.length-1]===f&&!e&&_&&(h.chooseDay=!0,h.isToday?this.choseOtherDay=!1:this.choseOtherDay=!0)}this.list=s,this.$nextTick((function(){n.updateDate=!0}))}}},xt=bt,Mt=(n("e552"),n("a7f8"),h(xt,rt,at,!1,null,"30267264",null)),wt=Mt.exports,St=function(){var t=this,e=t._self._c;return e("div",{staticClass:"board"},[e("div",{staticClass:"homePage",attrs:{id:"homePage"},on:{scroll:t.scrollTop}},t._l(t.layoutData,(function(t,n){return e("div",{key:n,staticClass:"drag-item",staticStyle:{width:"calc(100% - 20px)",padding:"0 10px","margin-bottom":"10px"},attrs:{id:t.pppId}},[e("applet",{attrs:{"applet-data":t}})],1)})),0)])},Lt=[],kt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"applet-wrap el-table"},[e(t.applet,{tag:"components",attrs:{"applet-data":t.appletData}})],1)},Dt=[],Tt={name:"Applet",components:{},props:{appletData:{type:Object,required:!0,default:function(){return{}}},allcomps:{type:Object,required:!0,default:function(){return{}}}},data:function(){return{applet:null}},computed:{},watch:{},created:function(){this.initPortalApplet()},mounted:function(){},methods:{initPortalApplet:function(){if(this.appletData.url&&0===this.appletData.url.indexOf("@/")){var t=this.appletData.url,e=t.lastIndexOf("/?"),n=null;if(-1!==e){var i=t.substring(e+1,t.length),r=i.indexOf("&");this.searchType=-1===r?t.substring(e+1,t.length).replace("?type=",""):this.getQueryVariable(i.replace("?",""),"type"),n=t.substring(0,e)}else n=t;this.applet=this.$loadComponent(n)}else this.applet=this.allcomps[this.appletData.code]},getQueryVariable:function(t,e){for(var n=t.split("&"),i=0;i<n.length;i++){var r=n[i].split("=");if(r[0]===e)return r[1]}return!1}}},Ot=Tt,Yt=(n("4f14"),h(Ot,kt,Dt,!1,null,"9bb86398",null)),Ct=Yt.exports,It={components:{applet:Ct},props:{layoutData:{type:Object,default:function(){return[]}},layoutWidth:{type:Number,default:function(){return"100%"}},rowHeight:{type:Number,default:function(){return 5}},layoutHeight:{type:Number,default:function(){return 200}},margin:{type:Object,default:function(){return[0,0]}},padding:{type:Object,default:function(){return[0,10]}}},data:function(){return{startScroll:123}},computed:{},watch:{},created:function(){this.$bus.on("scrollToPosition",this.scrollToPosition)},mounted:function(){localStorage.scrollPosition&&setTimeout((function(){document.getElementById("homePage").scrollTo(0,Number(localStorage.scrollPosition))}),300)},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){this.$bus.off("scrollToPosition",this.scrollToPosition)},destroyed:function(){},activated:function(){},methods:{scrollToPosition:function(){document.getElementById("homePage")&&(document.getElementById("homePage").scrollTop=this.scrollPosition)},scrollTop:function(t){this.scrollPosition=0,t.target.scrollTop>this.scrollPosition?(this.$bus.emit("reduceHeadHeight",t.target.scrollTop,"bottom"),t.target.scrollTop>30&&t.target.scrollTop<200&&this.$bus.emit("closeTop",!1)):(this.$bus.emit("reduceHeadHeight",t.target.scrollTop,"top"),t.target.scrollTop<=160&&this.$bus.emit("closeTop",!0)),this.scrollPosition=t.target.scrollTop,localStorage.setItem("scrollPosition",this.scrollPosition)}}},At=It,jt=(n("9e6f"),h(At,St,Lt,!1,null,"cd089ff2",null)),Pt=jt.exports,Ht=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:t.chartId}})},Et=[],Nt=function(t,e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Nt(t,e)};function Rt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var zt=n("22d1"),Ft=n("6d8b");function Bt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function Wt(t,e){return t[0]=e[0],t[1]=e[1],t}function Vt(t){return[t[0],t[1]]}function Gt(t,e,n){return t[0]=e,t[1]=n,t}function Ut(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function qt(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function Xt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function Zt(t){return Math.sqrt(Jt(t))}function Jt(t){return t[0]*t[0]+t[1]*t[1]}function $t(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Kt(t,e){var n=Zt(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Qt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var te=Qt;function ee(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var ne=ee;function ie(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function re(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function ae(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function oe(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var se=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),le=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new se(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(r,a,t),this.handler.dispatchToElement(new se(e,t),"drag",t.event);var o=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.handler.dispatchToElement(new se(s,t),"dragleave",t.event),o&&o!==s&&this.handler.dispatchToElement(new se(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new se(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new se(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),ue=le,de=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var a=this._$eventProcessor;null!=e&&a&&a.normalizeQuery&&(e=a.normalizeQuery(e)),r[t]||(r[t]=[]);for(var o=0;o<r[t].length;o++)if(r[t][o].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,a=n[t].length;r<a;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var a=e.length,o=i.length,s=0;s<o;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var a=e.length,o=e[a-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,e[0]);break;case 2:u.h.call(o,e[0],e[1]);break;default:u.h.apply(o,e.slice(1,a-1));break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),ce=de,he=Math.log(2);function pe(t,e,n,i,r,a){var o=i+"-"+r,s=t.length;if(a.hasOwnProperty(o))return a[o];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/he);return t[n][l]}var u=i|1<<n,d=n+1;while(i&1<<d)d++;for(var c=0,h=0,p=0;h<s;h++){var f=1<<h;f&r||(c+=(p%2?-1:1)*t[n][h]*pe(t,e-1,d,u,r|f,a),p++)}return a[o]=c,c}function fe(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=pe(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)*pe(n,7,0===o?1:0,1<<o,1<<s,i)/r*e[o];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var me="___zrEVENTSAVED",ge=[];function ye(t,e,n,i,r){return _e(ge,e,i,r,!0)&&_e(t,n,ge[0],ge[1])}function _e(t,e,n,i,r){if(e.getBoundingClientRect&&zt["a"].domSupported&&!xe(e)){var a=e[me]||(e[me]={}),o=ve(e,a),s=be(o,a,r);if(s)return s(t,n,i),!0}return!1}function ve(t,e){var n=e.markers;if(n)return n;n=e.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;"),t.appendChild(o),n.push(o)}return n}function be(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],a=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var d=t[u].getBoundingClientRect(),c=2*u,h=d.left,p=d.top;o.push(h,p),l=l&&a&&h===a[c]&&p===a[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=o,e[i]=n?fe(s,o):fe(o,s))}function xe(t){return"CANVAS"===t.nodeName.toUpperCase()}var Me=/([&<>"'])/g,we={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Se(t){return null==t?"":(t+"").replace(Me,(function(t,e){return we[e]}))}var Le=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ke=[],De=zt["a"].browser.firefox&&+zt["a"].browser.version.split(".")[0]<39;function Te(t,e,n,i){return n=n||{},i?Oe(t,e,n):De&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Oe(t,e,n),n}function Oe(t,e,n){if(zt["a"].domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(xe(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(_e(ke,t,i,r))return n.zrX=ke[0],void(n.zrY=ke[1])}n.zrX=n.zrY=0}function Ye(t){return t||window.event}function Ce(t,e,n){if(e=Ye(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];a&&Te(t,a,e,n)}else{Te(t,e,e,n);var o=Ie(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&Le.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function Ie(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;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 Ae(t,e,n,i){t.addEventListener(e,n,i)}function je(t,e,n,i){t.removeEventListener(e,n,i)}var Pe=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function He(t){return 2===t.which||3===t.which}var Ee=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},a=0,o=i.length;a<o;a++){var s=i[a],l=Te(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ze)if(ze.hasOwnProperty(e)){var n=ze[e](this._track,t);if(n)return n}},t}();function Ne(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function Re(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var ze={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var a=Ne(i)/Ne(r);!isFinite(a)&&(a=1),e.pinchScale=a;var o=Re(i);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}};function Fe(){return[1,0,0,1,0,0]}function Be(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function We(t,e){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}function Ve(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t}function Ge(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function Ue(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],a=e[2],o=e[4],s=e[1],l=e[3],u=e[5],d=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*d,t[1]=-r*d+s*c,t[2]=a*c+l*d,t[3]=-a*d+c*l,t[4]=c*(o-i[0])+d*(u-i[1])+i[0],t[5]=c*(u-i[1])-d*(o-i[0])+i[1],t}function qe(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Xe(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t):null}function Ze(t){var e=Fe();return We(e,t),e}var Je=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),$e=Je,Ke=Math.min,Qe=Math.max,tn=new $e,en=new $e,nn=new $e,rn=new $e,an=new $e,on=new $e,sn=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ke(t.x,this.x),n=Ke(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Qe(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Qe(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=Fe();return Ge(r,r,[-e.x,-e.y]),qe(r,r,[n,i]),Ge(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,a=i.x+i.width,o=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,d=e.y,c=e.y+e.height,h=!(a<l||u<r||s<d||c<o);if(n){var p=1/0,f=0,m=Math.abs(a-l),g=Math.abs(u-r),y=Math.abs(s-d),_=Math.abs(c-o),v=Math.min(m,g),b=Math.min(y,_);a<l||u<r?v>f&&(f=v,m<g?$e.set(on,-m,0):$e.set(on,g,0)):v<p&&(p=v,m<g?$e.set(an,m,0):$e.set(an,-g,0)),s<d||c<o?b>f&&(f=b,y<_?$e.set(on,0,-y):$e.set(on,0,_)):v<p&&(p=v,y<_?$e.set(an,0,y):$e.set(an,0,-_))}return n&&$e.copy(n,h?an:on),h},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,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 e.x=n.x*r+o,e.y=n.y*a+s,e.width=n.width*r,e.height=n.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}tn.x=nn.x=n.x,tn.y=rn.y=n.y,en.x=rn.x=n.x+n.width,en.y=nn.y=n.y+n.height,tn.transform(i),rn.transform(i),en.transform(i),nn.transform(i),e.x=Ke(tn.x,en.x,nn.x,rn.x),e.y=Ke(tn.y,en.y,nn.y,rn.y);var l=Qe(tn.x,en.x,nn.x,rn.x),u=Qe(tn.y,en.y,nn.y,rn.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),ln=sn,un="silent";function dn(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.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:cn}}function cn(){Pe(this.event)}var hn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Rt(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(ce),pn=function(){function t(t,e){this.x=t,this.y=e}return t}(),fn=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],mn=new ln(0,0,0,0),gn=function(t){function e(e,n,i,r,a){var o=t.call(this)||this;return o._hovered=new pn(0,0),o.storage=e,o.painter=n,o.painterRoot=r,o._pointerSize=a,i=i||new hn,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new ue(o),o}return Rt(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(Ft["k"](fn,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=vn(this,e,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 pn(e,n):this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new pn(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,a=dn(e,t,n);while(i)if(i[r]&&(a.cancelBubble=!!i[r].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new pn(t,e);if(_n(i,r,t,e,n),this._pointerSize&&!r.target){for(var a=[],o=this._pointerSize,s=o/2,l=new ln(t-s,e-s,o,o),u=i.length-1;u>=0;u--){var d=i[u];d===n||d.ignore||d.ignoreCoarsePointer||d.parent&&d.parent.ignoreCoarsePointer||(mn.copy(d.getBoundingRect()),d.transform&&mn.applyTransform(d.transform),mn.intersect(l)&&a.push(d))}if(a.length)for(var c=4,h=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=c)for(var m=0;m<p;m+=h){var g=t+f*Math.cos(m),y=e+f*Math.sin(m);if(_n(a,r,g,y,n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new Ee);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var a=new pn;a.target=i.target,this.dispatchToElement(a,r,i.event)}},e}(ce);function yn(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i=t,r=void 0,a=!1;while(i){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||un}return!1}function _n(t,e,n,i,r){for(var a=t.length-1;a>=0;a--){var o=t[a],s=void 0;if(o!==r&&!o.ignore&&(s=yn(o,n,i))&&(!e.topTarget&&(e.topTarget=o),s!==un)){e.target=o;break}}}function vn(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}Ft["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){gn.prototype[t]=function(e){var n,i,r=e.zrX,a=e.zrY,o=vn(this,r,a);if("mouseup"===t&&o||(n=this.findHover(r,a),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||te(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var bn=gn,xn=32,Mn=7;function wn(t){var e=0;while(t>=xn)e|=1&t,t>>=1;return t+e}function Sn(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;Ln(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function Ln(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function kn(t,e,n,i,r){for(i===e&&i++;i<n;i++){var a,o=t[i],s=e,l=i;while(s<l)a=s+l>>>1,r(o,t[a])<0?l=a:s=a+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=o}}function Dn(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){s=i-r;while(l<s&&a(t,e[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(t,e[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 d=o+(l-o>>>1);a(t,e[n+d])>0?o=d+1:l=d}return l}function Tn(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){s=r+1;while(l<s&&a(t,e[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(t,e[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 d=o+(l-o>>>1);a(t,e[n+d])<0?l=d:o=d+1}return l}function On(t,e){var n,i,r=Mn,a=0,o=[];function s(t,e){n[a]=t,i[a]=e,a+=1}function l(){while(a>1){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;d(t)}}function u(){while(a>1){var t=a-2;t>0&&i[t-1]<i[t+1]&&t--,d(t)}}function d(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 d=Tn(t[l],t,o,s,0,e);o+=d,s-=d,0!==s&&(u=Dn(t[o+s-1],t,l,u,u-1,e),0!==u&&(s<=u?c(o,s,l,u):h(o,s,l,u)))}function c(n,i,a,s){var l=0;for(l=0;l<i;l++)o[l]=t[n+l];var u=0,d=a,c=n;if(t[c++]=t[d++],0!==--s)if(1!==i){var h,p,f,m=r;while(1){h=0,p=0,f=!1;do{if(e(t[d],o[u])<0){if(t[c++]=t[d++],p++,h=0,0===--s){f=!0;break}}else if(t[c++]=o[u++],h++,p=0,1===--i){f=!0;break}}while((h|p)<m);if(f)break;do{if(h=Tn(t[d],o,u,i,0,e),0!==h){for(l=0;l<h;l++)t[c+l]=o[u+l];if(c+=h,u+=h,i-=h,i<=1){f=!0;break}}if(t[c++]=t[d++],0===--s){f=!0;break}if(p=Dn(o[u],t,d,s,0,e),0!==p){for(l=0;l<p;l++)t[c+l]=t[d+l];if(c+=p,d+=p,s-=p,0===s){f=!0;break}}if(t[c++]=o[u++],1===--i){f=!0;break}m--}while(h>=Mn||p>=Mn);if(f)break;m<0&&(m=0),m+=2}if(r=m,r<1&&(r=1),1===i){for(l=0;l<s;l++)t[c+l]=t[d+l];t[c+s]=o[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[c+l]=o[u+l]}}else{for(l=0;l<s;l++)t[c+l]=t[d+l];t[c+s]=o[u]}else for(l=0;l<i;l++)t[c+l]=o[u+l]}function h(n,i,a,s){var l=0;for(l=0;l<s;l++)o[l]=t[a+l];var u=n+i-1,d=s-1,c=a+s-1,h=0,p=0;if(t[c--]=t[u--],0!==--i)if(1!==s){var f=r;while(1){var m=0,g=0,y=!1;do{if(e(o[d],t[u])<0){if(t[c--]=t[u--],m++,g=0,0===--i){y=!0;break}}else if(t[c--]=o[d--],g++,m=0,1===--s){y=!0;break}}while((m|g)<f);if(y)break;do{if(m=i-Tn(o[d],t,n,i,i-1,e),0!==m){for(c-=m,u-=m,i-=m,p=c+1,h=u+1,l=m-1;l>=0;l--)t[p+l]=t[h+l];if(0===i){y=!0;break}}if(t[c--]=o[d--],1===--s){y=!0;break}if(g=s-Dn(t[u],o,0,s,s-1,e),0!==g){for(c-=g,d-=g,s-=g,p=c+1,h=d+1,l=0;l<g;l++)t[p+l]=o[h+l];if(s<=1){y=!0;break}}if(t[c--]=t[u--],0===--i){y=!0;break}f--}while(m>=Mn||g>=Mn);if(y)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===s){for(c-=i,u-=i,p=c+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[c]=o[d]}else{if(0===s)throw new Error;for(h=c-(s-1),l=0;l<s;l++)t[h+l]=o[l]}}else{for(c-=i,u-=i,p=c+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[c]=o[d]}else for(h=c-(s-1),l=0;l<s;l++)t[h+l]=o[l]}return n=[],i=[],{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function Yn(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var a=0;if(r<xn)return a=Sn(t,n,i,e),void kn(t,n,i,n+a,e);var o=On(t,e),s=wn(r);do{if(a=Sn(t,n,i,e),a<s){var l=r;l>s&&(l=s),kn(t,n,n+l,n+a,e),a=l}o.pushRun(n,a),o.mergeRuns(),r-=a,n+=a}while(0!==r);o.forceMergeRuns()}}var Cn=1,In=2,An=4,jn=!1;function Pn(){jn||(jn=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Hn(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var En,Nn=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Hn}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Yn(n,Hn)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];var r=i,a=t;while(r)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty|=Cn),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(Pn(),u.z=0),isNaN(u.z2)&&(Pn(),u.z2=0),isNaN(u.zlevel)&&(Pn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=Ft["r"](this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Rn=Nn;En=zt["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var zn=En,Fn={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Fn.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Fn.bounceIn(2*t):.5*Fn.bounceOut(2*t-1)+.5}},Bn=Fn,Wn=Math.pow,Vn=Math.sqrt,Gn=1e-8,Un=1e-4,qn=Vn(3),Xn=1/3,Zn=Bt(),Jn=Bt(),$n=Bt();function Kn(t){return t>-Gn&&t<Gn}function Qn(t){return t>Gn||t<-Gn}function ti(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function ei(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function ni(t,e,n,i,r,a){var o=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,d=s*s-3*o*l,c=s*l-9*o*u,h=l*l-3*s*u,p=0;if(Kn(d)&&Kn(c))if(Kn(s))a[0]=0;else{var f=-l/s;f>=0&&f<=1&&(a[p++]=f)}else{var m=c*c-4*d*h;if(Kn(m)){var g=c/d,y=(f=-s/o+g,-g/2);f>=0&&f<=1&&(a[p++]=f),y>=0&&y<=1&&(a[p++]=y)}else if(m>0){var _=Vn(m),v=d*s+1.5*o*(-c+_),b=d*s+1.5*o*(-c-_);v=v<0?-Wn(-v,Xn):Wn(v,Xn),b=b<0?-Wn(-b,Xn):Wn(b,Xn);f=(-s-(v+b))/(3*o);f>=0&&f<=1&&(a[p++]=f)}else{var x=(2*d*s-3*o*c)/(2*Vn(d*d*d)),M=Math.acos(x)/3,w=Vn(d),S=Math.cos(M),L=(f=(-s-2*w*S)/(3*o),y=(-s+w*(S+qn*Math.sin(M)))/(3*o),(-s+w*(S-qn*Math.sin(M)))/(3*o));f>=0&&f<=1&&(a[p++]=f),y>=0&&y<=1&&(a[p++]=y),L>=0&&L<=1&&(a[p++]=L)}}return p}function ii(t,e,n,i,r){var a=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Kn(o)){if(Qn(a)){var u=-s/a;u>=0&&u<=1&&(r[l++]=u)}}else{var d=a*a-4*o*s;if(Kn(d))r[0]=-a/(2*o);else if(d>0){var c=Vn(d),h=(u=(-a+c)/(2*o),(-a-c)/(2*o));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function ri(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-o)*r+o,d=(l-s)*r+s,c=(d-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=d,a[6]=l,a[7]=i}function ai(t,e,n,i,r,a,o,s,l,u,d){var c,h,p,f,m,g=.005,y=1/0;Zn[0]=l,Zn[1]=u;for(var _=0;_<1;_+=.05)Jn[0]=ti(t,n,r,o,_),Jn[1]=ti(e,i,a,s,_),f=ne(Zn,Jn),f<y&&(c=_,y=f);y=1/0;for(var v=0;v<32;v++){if(g<Un)break;h=c-g,p=c+g,Jn[0]=ti(t,n,r,o,h),Jn[1]=ti(e,i,a,s,h),f=ne(Jn,Zn),h>=0&&f<y?(c=h,y=f):($n[0]=ti(t,n,r,o,p),$n[1]=ti(e,i,a,s,p),m=ne($n,Zn),p<=1&&m<y?(c=p,y=m):g*=.5)}return d&&(d[0]=ti(t,n,r,o,c),d[1]=ti(e,i,a,s,c)),Vn(y)}function oi(t,e,n,i,r,a,o,s,l){for(var u=t,d=e,c=0,h=1/l,p=1;p<=l;p++){var f=p*h,m=ti(t,n,r,o,f),g=ti(e,i,a,s,f),y=m-u,_=g-d;c+=Math.sqrt(y*y+_*_),u=m,d=g}return c}function si(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function li(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function ui(t,e,n,i,r){var a=t-2*e+n,o=2*(e-t),s=t-i,l=0;if(Kn(a)){if(Qn(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var d=o*o-4*a*s;if(Kn(d)){u=-o/(2*a);u>=0&&u<=1&&(r[l++]=u)}else if(d>0){var c=Vn(d),h=(u=(-o+c)/(2*a),(-o-c)/(2*a));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function di(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function ci(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function hi(t,e,n,i,r,a,o,s,l){var u,d=.005,c=1/0;Zn[0]=o,Zn[1]=s;for(var h=0;h<1;h+=.05){Jn[0]=si(t,n,r,h),Jn[1]=si(e,i,a,h);var p=ne(Zn,Jn);p<c&&(u=h,c=p)}c=1/0;for(var f=0;f<32;f++){if(d<Un)break;var m=u-d,g=u+d;Jn[0]=si(t,n,r,m),Jn[1]=si(e,i,a,m);p=ne(Jn,Zn);if(m>=0&&p<c)u=m,c=p;else{$n[0]=si(t,n,r,g),$n[1]=si(e,i,a,g);var y=ne($n,Zn);g<=1&&y<c?(u=g,c=y):d*=.5}}return l&&(l[0]=si(t,n,r,u),l[1]=si(e,i,a,u)),Vn(c)}function pi(t,e,n,i,r,a,o){for(var s=t,l=e,u=0,d=1/o,c=1;c<=o;c++){var h=c*d,p=si(t,n,r,h),f=si(e,i,a,h),m=p-s,g=f-l;u+=Math.sqrt(m*m+g*g),s=p,l=f}return u}var fi=/cubic-bezier\(([0-9,\.e ]+)\)/;function mi(t){var e=t&&fi.exec(t);if(e){var n=e[1].split(","),i=+Object(Ft["T"])(n[0]),r=+Object(Ft["T"])(n[1]),a=+Object(Ft["T"])(n[2]),o=+Object(Ft["T"])(n[3]);if(isNaN(i+r+a+o))return;var s=[];return function(t){return t<=0?0:t>=1?1:ni(0,i,a,1,t,s)&&ti(0,r,o,1,s[0])}}}var gi=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ft["L"],this.ondestroy=t.ondestroy||Ft["L"],this.onrestart=t.onrestart||Ft["L"],t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-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=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(Ft["w"])(t)?t:Bn[t]||mi(t)},t}(),yi=gi,_i=n("41ef"),vi=n("7a29"),bi=Array.prototype.slice;function xi(t,e,n){return(e-t)*n+t}function Mi(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=xi(e[a],n[a],i);return t}function wi(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=xi(e[o][s],n[o][s],i)}return t}function Si(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=e[a]+n[a]*i;return t}function Li(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=e[o][s]+n[o][s]*i}return t}function ki(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,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 Di(t,e,n){var i=t,r=e;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]:bi.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 d=0;d<u;d++)isNaN(i[l][d])&&(i[l][d]=r[l][d])}}function Ti(t){if(Object(Ft["u"])(t)){var e=t.length;if(Object(Ft["u"])(t[0])){for(var n=[],i=0;i<e;i++)n.push(bi.call(t[i]));return n}return bi.call(t)}return t}function Oi(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function Yi(t){return Object(Ft["u"])(t&&t[0])?2:1}var Ci=0,Ii=1,Ai=2,ji=3,Pi=4,Hi=5,Ei=6;function Ni(t){return t===Pi||t===Hi}function Ri(t){return t===Ii||t===Ai}var zi=[0,0,0,0],Fi=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,a=!1,o=Ei,s=e;if(Object(Ft["u"])(e)){var l=Yi(e);o=l,(1===l&&!Object(Ft["z"])(e[0])||2===l&&!Object(Ft["z"])(e[0][0]))&&(a=!0)}else if(Object(Ft["z"])(e)&&!Object(Ft["l"])(e))o=Ci;else if(Object(Ft["C"])(e))if(isNaN(+e)){var u=_i["h"](e);u&&(s=u,o=ji)}else o=Ci;else if(Object(Ft["x"])(e)){var d=Object(Ft["m"])({},s);d.colorStops=Object(Ft["H"])(e.colorStops,(function(t){return{offset:t.offset,color:_i["h"](t.color)}})),Object(vi["m"])(e)?o=Pi:Object(vi["o"])(e)&&(o=Hi),s=d}0===r?this.valType=o:o===this.valType&&o!==Ei||(a=!0),this.discrete=this.discrete||a;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=Object(Ft["w"])(n)?n:Bn[n]||mi(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,a=n[r-1],o=this.discrete,s=Ri(i),l=Ni(i),u=0;u<r;u++){var d=n[u],c=d.value,h=a.value;d.percent=d.time/t,o||(s&&u!==r-1?Di(c,h,i):l&&ki(c.colorStops,h.colorStops))}if(!o&&i!==Hi&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)i===Ci?n[u].additiveValue=n[u].value-p:i===ji?n[u].additiveValue=Si([],n[u].value,p,-1):Ri(i)&&(n[u].additiveValue=i===Ii?Si([],n[u].value,p,-1):Li([],n[u].value,p,-1))}},t.prototype.step=function(t,e){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,d=this.propName,c=s===ji,h=this._lastFr,p=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){var f=p(h+1,u-1);for(n=f;n>=0;n--)if(l[n].percent<=e)break;n=p(n,u-2)}else{for(n=h;n<u;n++)if(l[n].percent>e)break;n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var m=r.percent-i.percent,g=0===m?1:p((e-i.percent)/m,1);r.easingFunc&&(g=r.easingFunc(g));var y=a?this._additiveValue:c?zi:t[d];if(!Ri(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[d]=g<1?i.rawValue:r.rawValue;else if(Ri(s))s===Ii?Mi(y,i[o],r[o],g):wi(y,i[o],r[o],g);else if(Ni(s)){var _=i[o],v=r[o],b=s===Pi;t[d]={type:b?"linear":"radial",x:xi(_.x,v.x,g),y:xi(_.y,v.y,g),colorStops:Object(Ft["H"])(_.colorStops,(function(t,e){var n=v.colorStops[e];return{offset:xi(t.offset,n.offset,g),color:Oi(Mi([],t.color,n.color,g))}})),global:v.global},b?(t[d].x2=xi(_.x2,v.x2,g),t[d].y2=xi(_.y2,v.y2,g)):t[d].r=xi(_.r,v.r,g)}else if(c)Mi(y,i[o],r[o],g),a||(t[d]=Oi(y));else{var x=xi(i[o],r[o],g);a?this._additiveValue=x:t[d]=x}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===Ci?t[n]=t[n]+i:e===ji?(_i["h"](t[n],zi),Si(zi,zi,i,1),t[n]=Oi(zi)):e===Ii?Si(t[n],t[n],i,1):e===Ai&&Li(t[n],t[n],i,1)},t}(),Bi=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Object(Ft["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Object(Ft["F"])(e),n)},t.prototype.whenWithKeys=function(t,e,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 Fi(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var d=u.keyframes,c=d[d.length-1];l=c&&c.value,u.valType===ji&&l&&(l=Oi(l))}else l=this._target[o];if(null==l)continue;t>0&&s.addKeyframe(0,Ti(l),i),this._trackKeys.push(o)}s.addKeyframe(t,Ti(e[o]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=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 d=l[u-1];d&&(e._target[o.propName]=d.rawValue),o.setFinished()}else n.push(o)}if(n.length||this._force){var c=new yi({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,a=0;a<i.length;a++)if(i[a]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(a=0;a<n.length;a++)n[a].step(e._target,t);var o=e._onframeCbs;if(o)for(a=0;a<o.length;a++)o[a](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&c.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return Object(Ft["H"])(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var a=n[t[r]];a&&!a.isFinished()&&(e?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},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],a=this._tracks[r];if(a&&!a.isFinished()){var o=a.keyframes,s=o[n?0:o.length-1];s&&(t[r]=Ti(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(Ft["F"])(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var o=a.pop();r.addKeyframe(o.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),Wi=Bi;function Vi(){return(new Date).getTime()}var Gi=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return Rt(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=Vi()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,a=i.step(e,n);a?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(zn(e),!t._paused&&t.update())}this._running=!0,zn(e)},e.prototype.start=function(){this._running||(this._time=Vi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Vi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Vi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Wi(t,e.loop);return this.addAnimator(n),n},e}(ce),Ui=Gi,qi=300,Xi=zt["a"].domSupported,Zi=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=Ft["H"](t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),Ji={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},$i=!1;function Ki(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Qi(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function tr(t){t&&(t.zrByTouch=!0)}function er(t,e){return Ce(t.dom,new ir(t,e),!0)}function nr(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var ir=function(){function t(t,e){this.stopPropagation=Ft["L"],this.stopImmediatePropagation=Ft["L"],this.preventDefault=Ft["L"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),rr={mousedown:function(t){t=Ce(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Ce(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Ce(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Ce(this.dom,t);var e=t.toElement||t.relatedTarget;nr(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){$i=!0,t=Ce(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){$i||(t=Ce(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Ce(this.dom,t),tr(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),rr.mousemove.call(this,t),rr.mousedown.call(this,t)},touchmove:function(t){t=Ce(this.dom,t),tr(t),this.handler.processGesture(t,"change"),rr.mousemove.call(this,t)},touchend:function(t){t=Ce(this.dom,t),tr(t),this.handler.processGesture(t,"end"),rr.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<qi&&rr.click.call(this,t)},pointerdown:function(t){rr.mousedown.call(this,t)},pointermove:function(t){Ki(t)||rr.mousemove.call(this,t)},pointerup:function(t){rr.mouseup.call(this,t)},pointerout:function(t){Ki(t)||rr.mouseout.call(this,t)}};Ft["k"](["click","dblclick","contextmenu"],(function(t){rr[t]=function(e){e=Ce(this.dom,e),this.trigger(t,e)}}));var ar={pointermove:function(t){Ki(t)||ar.mousemove.call(this,t)},pointerup:function(t){ar.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function or(t,e){var n=e.domHandlers;zt["a"].pointerEventsSupported?Ft["k"](Zi.pointer,(function(i){lr(e,i,(function(e){n[i].call(t,e)}))})):(zt["a"].touchEventsSupported&&Ft["k"](Zi.touch,(function(i){lr(e,i,(function(r){n[i].call(t,r),Qi(e)}))})),Ft["k"](Zi.mouse,(function(i){lr(e,i,(function(r){r=Ye(r),e.touching||n[i].call(t,r)}))})))}function sr(t,e){function n(n){function i(i){i=Ye(i),nr(t,i.target)||(i=er(t,i),e.domHandlers[n].call(t,i))}lr(e,n,i,{capture:!0})}zt["a"].pointerEventsSupported?Ft["k"](Ji.pointer,n):zt["a"].touchEventsSupported||Ft["k"](Ji.mouse,n)}function lr(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,Ae(t.domTarget,e,n,i)}function ur(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&je(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var dr=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),cr=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new dr(e,rr),Xi&&(i._globalHandlerScope=new dr(document,ar)),or(i,i._localHandlerScope),i}return Rt(e,t),e.prototype.dispose=function(){ur(this._localHandlerScope),Xi&&ur(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Xi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?sr(this,e):ur(e)}},e}(ce),hr=cr,pr=1;zt["a"].hasGlobalWindow&&(pr=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var fr=pr,mr=.4,gr="#333",yr="#ccc",_r="#eee",vr=Be,br=5e-5;function xr(t){return t>br||t<-br}var Mr=[],wr=[],Sr=Fe(),Lr=Math.abs,kr=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return xr(this.rotation)||xr(this.x)||xr(this.y)||xr(this.scaleX-1)||xr(this.scaleY-1)||xr(this.skewX)||xr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||Fe(),e?this.getLocalTransform(n):vr(n),t&&(e?Ve(n,t,n):We(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(vr(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Mr);var n=Mr[0]<0?-1:1,i=Mr[1]<0?-1:1,r=((Mr[0]-n)*e+n)/Mr[0]||0,a=((Mr[1]-i)*e+i)/Mr[1]||0;t[0]*=r,t[1]*=r,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||Fe(),Xe(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Fe(),Ve(wr,t.invTransform,e),e=wr);var n=this.originX,i=this.originY;(n||i)&&(Sr[4]=n,Sr[5]=i,Ve(wr,e,Sr),wr[4]-=n,wr[5]-=i,e=wr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&re(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&re(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Lr(t[0]-1)>1e-10&&Lr(t[3]-1)>1e-10?Math.sqrt(Lr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Tr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,a=t.scaleY,o=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,d=t.y,c=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||i||o||s){var p=n+o,f=i+s;e[4]=-p*r-c*f*a,e[5]=-f*a-h*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=a,e[1]=h*r,e[2]=c*a,l&&Ue(e,e,l),e[4]+=n+u,e[5]+=i+d,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),Dr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Tr(t,e){for(var n=0;n<Dr.length;n++){var i=Dr[n];t[i]=e[i]}}var Or=kr,Yr=n("d51b"),Cr=n("726e"),Ir={};function Ar(t,e){e=e||Cr["a"];var n=Ir[e];n||(n=Ir[e]=new Yr["a"](500));var i=n.get(t);return null==i&&(i=Cr["d"].measureText(t,e).width,n.put(t,i)),i}function jr(t,e,n,i){var r=Ar(t,e),a=Nr(e),o=Hr(0,r,n),s=Er(0,a,i),l=new ln(o,s,r,a);return l}function Pr(t,e,n,i){var r=((t||"")+"").split("\n"),a=r.length;if(1===a)return jr(r[0],e,n,i);for(var o=new ln(0,0,0,0),s=0;s<r.length;s++){var l=jr(r[s],e,n,i);0===s?o.copy(l):o.union(l)}return o}function Hr(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Er(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Nr(t){return Ar("国",t)}function Rr(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function zr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,u=n.y,d="left",c="top";if(i instanceof Array)l+=Rr(i[0],n.width),u+=Rr(i[1],n.height),d=null,c=null;else switch(i){case"left":l-=r,u+=s,d="right",c="middle";break;case"right":l+=r+o,u+=s,c="middle";break;case"top":l+=o/2,u-=r,d="center",c="bottom";break;case"bottom":l+=o/2,u+=a+r,d="center";break;case"inside":l+=o/2,u+=s,d="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=o-r,u+=s,d="right",c="middle";break;case"insideTop":l+=o/2,u+=r,d="center";break;case"insideBottom":l+=o/2,u+=a-r,d="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=o-r,u+=r,d="right";break;case"insideBottomLeft":l+=r,u+=a-r,c="bottom";break;case"insideBottomRight":l+=o-r,u+=a-r,d="right",c="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=d,t.verticalAlign=c,t}var Fr="__zr_normal__",Br=Dr.concat(["ignore"]),Wr=Object(Ft["N"])(Dr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Vr={},Gr=new ln(0,0,0,0),Ur=function(){function t(t){this.id=Object(Ft["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,a=void 0,o=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Gr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Vr,n,u):zr(Vr,n,u),r.x=Vr.x,r.y=Vr.y,a=Vr.align,o=Vr.verticalAlign;var d=n.origin;if(d&&null!=n.rotation){var c=void 0,h=void 0;"center"===d?(c=.5*u.width,h=.5*u.height):(c=Rr(d[0],u.width),h=Rr(d[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+h+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=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,_=void 0;f&&this.canBeInsideText()?(g=n.insideFill,y=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(g),_=!0)):(g=n.outsideFill,y=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(g),_=!0)),g=g||"#000",g===m.fill&&y===m.stroke&&_===m.autoStroke&&a===m.align&&o===m.verticalAlign||(s=!0,m.fill=g,m.stroke=y,m.autoStroke=_,m.align=a,m.verticalAlign=o,e.setDefaultTextStyle(m)),e.__dirty|=Cn,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?yr:gr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Object(_i["h"])(e);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(_i["i"])(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Object(Ft["m"])(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(Object(Ft["A"])(t))for(var n=t,i=Object(Ft["F"])(n),r=0;r<i.length;r++){var a=i[r];this.attrKV(a,t[a])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==Fr)){var a=i.targetName,o=a?e[a]:e;i.saveTo(o)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Br)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Fr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Fr,a=this.hasState();if(a||!r){var o=this.currentStates,s=this.stateTransition;if(!(Object(Ft["r"])(o,t)>=0)||!e&&1!==o.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||r){r||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,c=this._textGuide;return d&&d.useState(t,e,n,u),c&&c.useState(t,e,n,u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Cn),l}Object(Ft["G"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,a=t.length,o=a===r.length;if(o)for(var s=0;s<a;s++)if(t[s]!==r[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var d=i[a-1],c=!!(d&&d.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,m=this._textGuide;f&&f.useStates(t,e,c),m&&m.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Cn)}else this.clearStates()},t.prototype.isSilent=function(){var t=this.silent,e=this.parent;while(!t&&e){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Object(Ft["r"])(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=Object(Ft["r"])(i,t),a=Object(Ft["r"])(i,e)>=0;r>=0?a?i.splice(r,1):i[r]=e:n&&!a&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];Object(Ft["m"])(n,r),r.textConfig&&(e=e||{},Object(Ft["m"])(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,a){var o=!(e&&i);e&&e.textConfig?(this.textConfig=Object(Ft["m"])({},i?this.textConfig:n.textConfig),Object(Ft["m"])(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<Br.length;u++){var d=Br[u],c=r&&Wr[d];e&&null!=e[d]?c?(l=!0,s[d]=e[d]):this[d]=e[d]:o&&null!=n[d]&&(c?(l=!0,s[d]=n[d]):this[d]=n[d])}if(!r)for(u=0;u<this.animators.length;u++){var h=this.animators[u],p=h.targetName;h.getLoop()||h.__changeFinalValue(p?(e||n)[p]:e||n)}l&&this._transitionState(t,s,a)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Or,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(Ft["m"])(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=Cn;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var r=new Wi(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=Object(Ft["r"])(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],a=0;a<i;a++){var o=n[a];t&&t!==o.scope?r.push(o):o.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){qr(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){qr(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=qr(this,e,n,i),a=0;a<r.length;a++)r[a].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Cn;function n(t,n,i,r){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[n]){var t=this[n]=[];a(this,t)}return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,a(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function qr(t,e,n,i,r){n=n||{};var a=[];Qr(t,"",t,e,n,i,a,r);var o=a.length,s=!1,l=n.done,u=n.aborted,d=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},c=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&n.during&&a[0].during((function(t,e){n.during(e)}));for(var h=0;h<a.length;h++){var p=a[h];d&&p.done(d),c&&p.aborted(c),n.force&&p.duration(n.duration),p.start(n.easing)}return a}function Xr(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Zr(t){return Object(Ft["u"])(t[0])}function Jr(t,e,n){if(Object(Ft["u"])(e[n]))if(Object(Ft["u"])(t[n])||(t[n]=[]),Object(Ft["E"])(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),Xr(t[n],e[n],i))}else{var r=e[n],a=t[n],o=r.length;if(Zr(r))for(var s=r[0].length,l=0;l<o;l++)a[l]?Xr(a[l],r[l],s):a[l]=Array.prototype.slice.call(r[l]);else Xr(a,r,o);a.length=r.length}else t[n]=e[n]}function $r(t,e){return t===e||Object(Ft["u"])(t)&&Object(Ft["u"])(e)&&Kr(t,e)}function Kr(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function Qr(t,e,n,i,r,a,o,s){for(var l=Object(Ft["F"])(i),u=r.duration,d=r.delay,c=r.additive,h=r.setToFinal,p=!Object(Ft["A"])(a),f=t.animators,m=[],g=0;g<l.length;g++){var y=l[g],_=i[y];if(null!=_&&null!=n[y]&&(p||a[y]))if(!Object(Ft["A"])(_)||Object(Ft["u"])(_)||Object(Ft["x"])(_))m.push(y);else{if(e){s||(n[y]=_,t.updateDuringAnimation(e));continue}Qr(t,y,n[y],_,r,a&&a[y],o,s)}else s||(n[y]=_,t.updateDuringAnimation(e),m.push(y))}var v=m.length;if(!c&&v)for(var b=0;b<f.length;b++){var x=f[b];if(x.targetName===e){var M=x.stopTracks(m);if(M){var w=Object(Ft["r"])(f,x);f.splice(w,1)}}}if(r.force||(m=Object(Ft["n"])(m,(function(t){return!$r(i[t],n[t])})),v=m.length),v>0||r.force&&!o.length){var S=void 0,L=void 0,k=void 0;if(s){L={},h&&(S={});for(b=0;b<v;b++){y=m[b];L[y]=n[y],h?S[y]=i[y]:n[y]=i[y]}}else if(h){k={};for(b=0;b<v;b++){y=m[b];k[y]=Ti(n[y]),Jr(n,i,y)}}x=new Wi(n,!1,!1,c?Object(Ft["n"])(f,(function(t){return t.targetName===e})):null);x.targetName=e,r.scope&&(x.scope=r.scope),h&&S&&x.whenWithKeys(0,S,m),k&&x.whenWithKeys(0,k,m),x.whenWithKeys(null==u?500:u,s?L:i,m).delay(d||0),t.addAnimator(x,e),o.push(x)}}Object(Ft["K"])(Ur,ce),Object(Ft["K"])(Ur,Or);var ta=Ur,ea=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return Rt(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=Ft["r"](this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=Ft["r"](n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new ln(0,0,0,0),n=t||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?(ln.applyTransform(e,s,l),r=r||e.clone(),r.union(e)):(r=r||s.clone(),r.union(s))}}return r||e},e}(ta);ea.prototype.type="group";var na=ea,ia={},ra={};
293
+ var e="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=t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},fb15:function(t,e,n){"use strict";n.r(e);var i={};n.r(i),n.d(i,"updateProps",(function(){return wd})),n.d(i,"initProps",(function(){return Sd})),n.d(i,"removeElement",(function(){return kd})),n.d(i,"removeElementWithFadeOut",(function(){return Td})),n.d(i,"isElementRemoved",(function(){return Ld})),n.d(i,"extendShape",(function(){return Wy})),n.d(i,"extendPath",(function(){return Gy})),n.d(i,"registerShape",(function(){return Uy})),n.d(i,"getShapeClass",(function(){return qy})),n.d(i,"makePath",(function(){return Xy})),n.d(i,"makeImage",(function(){return Zy})),n.d(i,"mergePath",(function(){return $y})),n.d(i,"resizePath",(function(){return Ky})),n.d(i,"subPixelOptimizeLine",(function(){return Qy})),n.d(i,"subPixelOptimizeRect",(function(){return t_})),n.d(i,"subPixelOptimize",(function(){return e_})),n.d(i,"getTransform",(function(){return n_})),n.d(i,"applyTransform",(function(){return i_})),n.d(i,"transformDirection",(function(){return r_})),n.d(i,"groupTransition",(function(){return s_})),n.d(i,"clipPointsByRect",(function(){return l_})),n.d(i,"clipRectByRect",(function(){return u_})),n.d(i,"createIcon",(function(){return d_})),n.d(i,"linePolygonIntersect",(function(){return c_})),n.d(i,"lineLineIntersect",(function(){return h_})),n.d(i,"setTooltipConfig",(function(){return m_})),n.d(i,"traverseElements",(function(){return y_})),n.d(i,"Group",(function(){return na})),n.d(i,"Image",(function(){return Il})),n.d(i,"Text",(function(){return au})),n.d(i,"Circle",(function(){return Ig})),n.d(i,"Ellipse",(function(){return Pg})),n.d(i,"Sector",(function(){return Qg})),n.d(i,"Ring",(function(){return ny})),n.d(i,"Polygon",(function(){return sy})),n.d(i,"Polyline",(function(){return dy})),n.d(i,"Rect",(function(){return Fl})),n.d(i,"Line",(function(){return fy})),n.d(i,"BezierCurve",(function(){return vy})),n.d(i,"Arc",(function(){return My})),n.d(i,"IncrementalDisplayable",(function(){return Ry})),n.d(i,"CompoundPath",(function(){return Sy})),n.d(i,"LinearGradient",(function(){return Ty})),n.d(i,"RadialGradient",(function(){return Yy})),n.d(i,"BoundingRect",(function(){return ln})),n.d(i,"OrientedBoundingRect",(function(){return Hy})),n.d(i,"Point",(function(){return $e})),n.d(i,"Path",(function(){return Sl}));var r={};if(n.r(r),n.d(r,"extendShape",(function(){return Wy})),n.d(r,"extendPath",(function(){return Gy})),n.d(r,"makePath",(function(){return Xy})),n.d(r,"makeImage",(function(){return Zy})),n.d(r,"mergePath",(function(){return $y})),n.d(r,"resizePath",(function(){return Ky})),n.d(r,"createIcon",(function(){return d_})),n.d(r,"updateProps",(function(){return wd})),n.d(r,"initProps",(function(){return Sd})),n.d(r,"getTransform",(function(){return n_})),n.d(r,"clipPointsByRect",(function(){return l_})),n.d(r,"clipRectByRect",(function(){return u_})),n.d(r,"registerShape",(function(){return Uy})),n.d(r,"getShapeClass",(function(){return qy})),n.d(r,"Group",(function(){return na})),n.d(r,"Image",(function(){return Il})),n.d(r,"Text",(function(){return au})),n.d(r,"Circle",(function(){return Ig})),n.d(r,"Ellipse",(function(){return Pg})),n.d(r,"Sector",(function(){return Qg})),n.d(r,"Ring",(function(){return ny})),n.d(r,"Polygon",(function(){return sy})),n.d(r,"Polyline",(function(){return dy})),n.d(r,"Rect",(function(){return Fl})),n.d(r,"Line",(function(){return fy})),n.d(r,"BezierCurve",(function(){return vy})),n.d(r,"Arc",(function(){return My})),n.d(r,"IncrementalDisplayable",(function(){return Ry})),n.d(r,"CompoundPath",(function(){return Sy})),n.d(r,"LinearGradient",(function(){return Ty})),n.d(r,"RadialGradient",(function(){return Yy})),n.d(r,"BoundingRect",(function(){return ln})),"undefined"!==typeof window){var a=window.document.currentScript,o=n("8875");a=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var s=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(n.p=s[1])}var l=function(){var t=this,e=t._self._c;return e("van-cell",{staticClass:"AppCell",class:{AppCell_titleOnly:t.data.titleOnly,AppCell_hasLabel:t.data.label},attrs:{center:"","is-link":t.data.isLink||t.data.routeTo,clickable:t.data.routeTo||t.data.clickable,label:t.data.label,value:t.data.value,border:void 0===t.data.border||t.data.border},on:{click:t.cellClick},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.data.title)}})]},proxy:!0},{key:"icon",fn:function(){return[t.data.icon?e("img",{staticClass:"AppCell_icon",attrs:{src:t.data.icon}}):t._t("icon")]},proxy:!0}])},[t._t("value")],2)},u=[],d={props:{data:{type:Object,require:!0,default:function(){}}},methods:{cellClick:function(){this.data.routeTo&&this.$router.push({path:this.data.routeTo}),this.$emit("click")}}},c=d;n("71f1");function h(t,e,n,i,r,a,o,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._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 d=u.render;u.render=function(t,e){return l.call(e),d(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}var p=h(c,l,u,!1,null,"94ce3648",null),f=p.exports,m=function(){var t=this,e=t._self._c;return e("van-field",{staticClass:"AppFieldCell",class:!t.data.title&&"AppFieldCell_valueOnly",attrs:{label:t.data.title,type:t.data.type,"input-align":t.data.title?"right":"left",placeholder:t.data.placeholder},on:{input:t.valueChange},scopedSlots:t._u([t._l(t.$slots,(function(e,n){return{key:n,fn:function(){return[t._t(n)]},proxy:!0}}))],null,!0),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})},g=[],y={props:{data:{type:Object,require:!0,default:function(){}},value:{type:[String,Number],require:!0,default:""}},methods:{valueChange:function(t){this.$emit("update:value",t),this.$emit("change",t)}}},_=y,v=(n("0ac2"),h(_,m,g,!1,null,"72924d7c",null)),b=v.exports;function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function S(t,e,n){return(e=L(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){var e=k(t,"string");return"symbol"==x(e)?e:e+""}function k(t,e){if("object"!=x(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=x(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var D=function(){var t=this,e=t._self._c;return t.isLoaded&&t.isShow?e("van-nav-bar",{staticClass:"App-nav-bar",class:{"App-nav-bar__fixed":t.isEditPage,"App-nav-bar__noBottomLine":!t.showBottomLine},style:{paddingTop:t.appPadding+"px"},attrs:{title:t.title},on:{"click-left":t.clickLeftFunc,"click-right":t.rightConfig.onClick},scopedSlots:t._u([{key:"left",fn:function(){return[t.leftConfig.bool&&t.leftConfig.imgUrl?e("img",{staticClass:"App-left-img",attrs:{src:t.leftConfig.imgUrl}}):t.showBackBtn?e("van-icon",{attrs:{name:"arrow-left",color:"#323233",size:"16"}}):t._e(),t.leftTextConfig.bool?[e("div",{style:w({color:t.leftTextConfig.color},t.leftTextConfig.style),on:{click:function(e){return e.stopPropagation(),t.leftTextConfig.onClick.apply(null,arguments)}}},[t._v(t._s(t.leftTextConfig.text))])]:t._e()]},proxy:!0},t.titleConfig.bool?{key:"title",fn:function(){return[e("div",{staticClass:"App-center",style:{color:t.titleConfig.color},on:{click:t.titleConfig.onClick}},[t.titleConfig.imgUrl?e("img",{staticClass:"App-center-img",attrs:{src:t.titleConfig.imgUrl}}):t._e(),t._v(" "+t._s(t.titleConfig.text)+" "),void 0!==t.titleConfig.chatStatus&&null!==t.titleConfig.chatStatus?e("span",{staticClass:"App-center-chat-status",class:{"on-line":1===t.titleConfig.chatStatus}}):t._e()]),e("div")]},proxy:!0}:null,t.rightConfig.bool?{key:"right",fn:function(){return[t.rightConfig.imgUrl?e("img",{staticClass:"App-left-img",style:t.rightConfig.style,attrs:{src:t.rightConfig.imgUrl}}):t._e(),t.rightConfig.text?e("div",{style:{color:t.rightConfig.color}},[t._v(t._s(t.rightConfig.text))]):t._e()]},proxy:!0}:null],null,!0)}):t._e()},T=[];function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function Y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Y=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var a=e&&e.prototype instanceof y?e:y,o=Object.create(a.prototype),s=new I(i||[]);return r(o,"_invoke",{value:k(t,n,s)}),o}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var h="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function y(){}function _(){}function v(){}var b={};u(b,o,(function(){return this}));var x=Object.getPrototypeOf,M=x&&x(x(A([])));M&&M!==n&&i.call(M,o)&&(b=M);var w=v.prototype=y.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(r,a,o,s){var l=c(t[r],t,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==O(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,o,s)}),(function(t){n("throw",t,o,s)})):e.resolve(d).then((function(t){u.value=t,o(u)}),(function(t){return n("throw",t,o,s)}))}s(l.arg)}var a;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return a=a?a.then(r,r):r()}})}function k(e,n,i){var r=h;return function(a,o){if(r===f)throw Error("Generator is already running");if(r===m){if("throw"===a)throw o;return{value:t,done:!0}}for(i.method=a,i.arg=o;;){var s=i.delegate;if(s){var l=D(s,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=f;var u=c(e,n,i);if("normal"===u.type){if(r=i.done?m:p,u.arg===g)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(r=m,i.method="throw",i.arg=u.arg)}}}function D(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,D(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var a=c(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(O(e)+" is not iterable")}return _.prototype=v,r(w,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:_,configurable:!0}),_.displayName=u(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},S(L.prototype),u(L.prototype,s,(function(){return this})),e.AsyncIterator=L,e.async=function(t,n,i,r,a){void 0===a&&(a=Promise);var o=new L(d(t,n,i,r),a);return e.isGeneratorFunction(n)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},S(w),u(w,l,"Generator"),u(w,o,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;C(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:A(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},e}function C(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function I(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){C(a,i,r,o,s,"next",t)}function s(t){C(a,i,r,o,s,"throw",t)}o(void 0)}))}}var A={data:function(){return{appPadding:0,isLoaded:!1,isEditPage:!1,isCustomHeader:!1,isCustomBackButton:!1,showBackBtn:!0,showBottomLine:!0,title:"",titleConfig:{},leftConfig:{},leftTextConfig:{},rightConfig:{},headerStyleHtml:null}},computed:{isShow:function(){var t=!1;return("H5"===window.layout||window.flutter_inappwebview)&&(t=!0,this.$route.meta.disabledNavBar&&(t=!1,void 0!==this.$route.query.canEdit&&(t=!0))),this.$route.query.isFullScreen&&(t=!1),t?(document.body.style.setProperty("--headerHeight",46+this.appPadding-1+"px"),document.body.style.setProperty("--headerStatusHeight",this.appPadding+"px"),window.headerHeight=46+this.appPadding-1,window.headerStatusHeight=this.appPadding):(document.body.style.setProperty("--headerHeight","0px"),document.body.style.setProperty("--headerStatusHeight",this.appPadding+"px"),window.headerHeight=0,window.headerStatusHeight=this.appPadding),t},clickLeftFunc:function(){return this.showBackBtn?this.leftConfig.onClick?this.leftConfig.onClick:this.onClickLeft:function(){}}},watch:{$route:function(){var t=I(Y().mark((function t(e,n){var i=this;return Y().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.isLoaded=!0,"H5"!==window.layout&&!window.flutter_inappwebview||0!==this.appPadding&&24!==this.appPadding){t.next=8;break}return t.next=4,this.$wv.getSystemStatusBarHeight();case 4:if(t.t0=t.sent,t.t0){t.next=7;break}t.t0=24;case 7:this.appPadding=t.t0;case 8:this.handleBtnConfig(e),this.handleHeaderConfig(e),this.$nextTick((function(){return i.handleHeaderLineConfig(e)}));case 11:case"end":return t.stop()}}),t,this)})));function e(e,n){return t.apply(this,arguments)}return e}(),isCustomHeader:function(t){var e=this;!0===t&&setTimeout((function(){e.isCustomHeader=!1}),50)}},created:function(){var t=this;return I(Y().mark((function e(){return Y().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("H5"!==window.layout&&!window.flutter_inappwebview||0!==t.appPadding&&24!==t.appPadding){e.next=7;break}return e.next=3,t.$wv.getSystemStatusBarHeight();case 3:if(e.t0=e.sent,e.t0){e.next=6;break}e.t0=24;case 6:t.appPadding=e.t0;case 7:t.$bus.on("setTitle",t.handleSetTitle),t.$bus.on("setCenterImage",t.handleSetCenterImage),t.$bus.on("setLeftText",t.handleSetLeftText),t.$bus.on("setLeftImage",t.handleSetLeftImage),t.$bus.on("setRightText",t.handleSetRightText),t.$bus.on("setRightImage",t.handleSetRightImage),t.$bus.on("showBack",t.handleShowBack);case 14:case"end":return e.stop()}}),e)})))()},beforeDestroy:function(){this.$bus.off("setTitle",this.handleSetTitle),this.$bus.off("setCenterImage",this.handleSetCenterImage),this.$bus.off("setLeftText",this.handleSetLeftText),this.$bus.off("setLeftImage",this.handleSetLeftImage),this.$bus.off("setRightText",this.handleSetRightText),this.$bus.off("setRightImage",this.handleSetRightImage),this.$bus.off("showBack",this.handleShowBack)},methods:{onClickLeft:function(){history.back()},handleBtnConfig:function(t){this.isCustomBackButton?this.isCustomBackButton=!1:t.query.hasOwnProperty("canEdit")?this.showBackBtn=!0:void 0!==t.meta.disabledBack?this.showBackBtn=!1:this.isCustomBackButton||(this.showBackBtn=!0)},handleHeaderConfig:function(t){var e=this;this.isCustomHeader?this.isCustomHeader=!1:(this.titleConfig.hasOwnProperty("bool")&&(this.titleConfig={}),this.leftConfig.hasOwnProperty("bool")&&(this.leftConfig={}),this.leftTextConfig.hasOwnProperty("bool")&&(this.leftConfig={}),this.rightConfig.hasOwnProperty("bool")&&(this.rightConfig={})),t.meta.appName?this.title=t.meta.appName:this.$nextTick((function(){e.title=document.title}))},handleHeaderLineConfig:function(){var t=document.querySelector(".table-search"),e=document.querySelector(".van-tabs"),n=null;if(e?n=e:t&&(n=t),n){var i=n.getBoundingClientRect();i.top-10<window.headerHeight<i.top+10?this.showBottomLine=!1:this.showBottomLine=!0}else this.showBottomLine=!0},handleSetTitle:function(t,e){var n=this;e||(e=function(){}),this.isCustomHeader=!0,this.titleConfig=t,this.titleConfig.onClick=e,this.showBottomLine=!1,setTimeout((function(){n.handleHeaderLineConfig()}),500)},handleSetCenterImage:function(t,e){e||(e=function(){}),this.isCustomHeader=!0,this.titleConfig=t,this.titleConfig.onClick=e},handleSetLeftText:function(t,e){this.isCustomHeader=!0,this.leftTextConfig=t,this.leftTextConfig.onClick=e},handleSetLeftImage:function(t,e){this.isCustomHeader=!0,this.leftConfig=t,this.leftConfig.onClick=e},handleSetRightText:function(t,e){e||(e=function(){}),this.isCustomHeader=!0,this.rightConfig=t,this.rightConfig.onClick=e},handleSetRightImage:function(t,e){e||(e=function(){}),this.isCustomHeader=!0,this.rightConfig=t,this.rightConfig.onClick=e},handleShowBack:function(t){this.isCustomBackButton=!0,this.showBackBtn=!!t}}},j=A,P=(n("bbfe"),h(j,D,T,!1,null,"3771b8dc",null)),H=P.exports,E=function(){var t=this,e=t._self._c;return e("van-popup",{style:{height:"100%",width:"100%"},attrs:{id:"AppListPage",position:"right"},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}},[e("div",{staticClass:"AppListPage-container"},[e("van-search",{staticClass:"p-search iconfont-search",attrs:{placeholder:" 搜索","input-align":"left"},on:{search:t.handleFilterSearch},model:{value:t.filterText,callback:function(e){t.filterText=e},expression:"filterText"}},[e("span",{attrs:{slot:"left-icon"},slot:"left-icon"})]),e("div",{staticClass:"AppListPage-list-content"},[t._l(t.showingDataList,(function(n,i){return[t.$slots.cell?[t._t("cell")]:e("AppCell",{key:i,attrs:{data:{title:n[t.titleProp],value:n[t.valueProp],clickable:!0}},on:{click:function(e){return t.cellClick(n)}}})]}))],2)],1)])},N=[],R=n("bee9"),z=R.deepClone,F={name:"AppListPage",props:{titleProp:{type:String,default:"name"},valueProp:{type:String,default:"value"},cellClick:{type:Function,default:function(){}}},data:function(){return{isVisible:!1,pageId:"",title:"AppListPage",filterText:"",dataList:[],filterDataList:[]}},computed:{showingDataList:function(){return this.filterText?this.filterDataList:this.dataList}},watch:{$route:function(t,e){if(t.query.STACK){var n=t.query.STACK.split("-");n[n.length-1]===this.pageId&&this.$wv.setTitle({bool:!0,text:this.title}),n.includes(this.pageId)||(this.isVisible=!1)}else this.isVisible=!1},isVisible:function(t){!1===t&&(this.pageId="",this.title="AppListPage",this.filterText="",this.dataList=[],this.filterDataList=[])}},methods:{openNewPage:function(t){this.pageId=t.id||"",this.title=t.title,this.dataList=t.dataList,this.isVisible=!0,this.pageId?this.$route.query.STACK?this.$router.push({path:this.$route.path,query:{STACK:this.$route.query.STACK+"-"+this.pageId,canEdit:0}}):this.$router.push({path:this.$route.path,query:{STACK:this.pageId,canEdit:0}}):this.$router.replace({path:this.$route.path,query:{STACK:"SINGLE_COMPONENTS",canEdit:0}}),this.$wv.setTitle({bool:!0,text:this.title})},handleFilterSearch:function(t){if(""!==t){var e='<span style="color:#53A8FF;">'+t+"</span>";this.filterDataList=this.dataList.reduce((function(n,i){var r=z(i);return-1!==i.name.indexOf(t)&&(r.name=r.name.replaceAll(t,e),n.push(r)),n}),[])}else this.filterDataList=[]}}},B=F,W=(n("1498"),h(B,E,N,!1,null,"643001df",null)),V=W.exports,G=function(){var t=this,e=t._self._c;return t.show?e("div",{staticClass:"water",attrs:{id:"allWater"}},[e("div",{staticClass:"waterList"},t._l(t.countY,(function(n){return e("div",{key:n},t._l(t.countX,(function(i){return e("div",{key:i,staticClass:"Watermark",style:{transform:"rotate(".concat(t.content.mbAngle,"deg)"),top:t.content.mbYSpace*(n-1)+80+"px",left:t.content.mbXSpace*(i-1)+30+"px",opacity:t.content.pellucidity,"font-size":t.content.mbShowSize+"pt"}},[t._v(t._s(t.content.showContent))])})),0)})),0)]):t._e()},U=[],q=n("2f62");function X(t){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X(t)}function Z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(n),!0).forEach((function(e){$(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $(t,e,n){return(e=K(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t){var e=Q(t,"string");return"symbol"==X(e)?e:e+""}function Q(t,e){if("object"!=X(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=X(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var tt={components:{},props:{},data:function(){return{content:{},countX:12,countY:12,isOne:!0,show:!1,waterTimer:""}},computed:J({},Object(q["a"])(["loginUser"])),watch:{$route:function(t){this.loginUser?!this.show&&this.loginUser.orgCode&&this.isOne&&(this.isOne=!1,this.getWaterMarkConfig()):this.show=!1}},created:function(){"/login"!=this.$route.path&&this.loginUser&&this.loginUser.orgCode&&this.getWaterMarkConfig(),this.$bus.on("getWaterMarkConfig",this.getWaterMarkConfig)},beforeDestroy:function(){this.$bus.off("getWaterMarkConfig",this.getWaterMarkConfig),window.removeEventListener("resize",this.getMoreWater)},mounted:function(){window.addEventListener("resize",this.getMoreWater)},methods:{getMoreWater:function(){var t=this;clearTimeout(this.waterTimer),this.waterTimer=setTimeout((function(){t.countX=Math.ceil(Number(document.getElementById("mapp").clientWidth)/(t.content.mbXSpace||t.content.xSpace)),t.countY=Math.ceil(Number(document.getElementById("mapp").clientHeight)/(t.content.mbYSpace||t.content.ySpace))}),500)},getWaterMarkConfig:function(){var t=this;this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",url:"/base/watermarkConfig/getWaterMarkConfig"}).then((function(e){if(e.body.vo){var n=e.body.vo;n.pellucidity=Number(n.pellucidity)/100,n.space=Number(n.space),t.countX=Math.ceil(Number(document.getElementById("mapp").clientWidth)/(n.mbXSpace||n.xSpace)),t.countY=Math.ceil(Number(document.getElementById("mapp").clientHeight)/(n.mbYSpace||n.ySpace)),t.content=n,t.loginUser&&t.loginUser.orgCode?t.show=!0:t.show=!1}else t.show=!1}))}}},et=tt,nt=(n("00d7"),h(et,G,U,!1,null,"2723b165",null)),it=nt.exports,rt=function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"wh_container"},[e("div",{staticClass:"wh_content_all"},[t.isSwitchover?t._e():e("div",{staticClass:"wh_top_title"},[t.showTopRight?[e("div",{staticStyle:{width:"40%","padding-left":"10px !important"},on:{click:function(e){return t.selectMonthClick(t.nowYear,t.nowMonth)}}},[t._v(t._s(t.dateTop))]),e("div",{staticStyle:{width:"60%","text-align":"right"}},[t._t("right")],2)]:[e("div",{staticStyle:{width:"100%","text-align":"center"},on:{click:function(e){return t.selectMonthClick(t.nowYear,t.nowMonth)}}},[t._v(t._s(t.dateTop))])]],2),t.isSwitchover?e("div",{staticClass:"wh_top_changge"},[e("li",{on:{click:function(e){return t.PreMonth(t.myDate,!1)}}},[e("div",{staticClass:"wh_jiantou1"})]),e("li",{staticClass:"wh_content_li",on:{click:function(e){return t.selectMonthClick(t.nowYear,t.nowMonth)}}},[t._v(t._s(t.dateTop))]),e("li",{on:{click:function(e){return t.NextMonth(t.myDate,!1)}}},[e("div",{staticClass:"wh_jiantou2"})])]):t._e(),e("div",{staticClass:"wh_content"},t._l(t.textTop,(function(n,i){return e("div",{key:i,staticClass:"wh_content_item"},[e("div",{staticClass:"wh_top_tag"},[t._v(t._s(n))])])})),0),"month"===t.userType?e("div",{staticClass:"clendar_inner",on:{touchstart:t.gotouchstart,touchend:t.gotouchend,touchmove:t.gotouchmove}},[e("div",{staticClass:"wh_content"},t._l(t.list.nowMonth,(function(n,i){return e("div",{key:i,staticClass:"wh_content_item",class:t.errorDay[n.id]&&t.errorDay[n.id].month===n.date?0===t.errorDay[n.id].flag?"succFlag":"errorFlag":"",on:{click:function(e){return t.clickDay(n,i)}}},[e("div",{staticClass:"wh_item_date",class:[{wh_isMark:n.isMark},{wh_other_dayhide:"nowMonth"!==n.otherMonth},{wh_want_dayhide:n.dayHide},{wh_isToday:n.isToday&&!t.choseOtherDay},{wh_choseOtherDay:n.isToday&&t.choseOtherDay},{wh_chose_day:n.chooseDay},t.setClass(n)]},[t._v(t._s(n.id))])])})),0),e("div",{staticClass:"up-arrow",on:{click:t.swipeup}},[e("div",[e("van-icon",{attrs:{name:"arrow-up"}})],1)])]):t._e(),"week"===t.userType?e("div",{staticClass:"clendar_inner",on:{touchstart:t.gotouchstart,touchend:t.gotouchend,touchmove:t.gotouchmove}},[e("div",{staticClass:"wh_content"},t._l(t.list.nowWeek,(function(n,i){return e("div",{key:i,staticClass:"wh_content_item",class:t.errorDay[n.id]&&t.errorDay[n.id].month===n.date?0===t.errorDay[n.id].flag?"succFlag":"errorFlag":"",on:{click:function(e){return t.clickDay(n,i)}}},[e("div",{staticClass:"wh_item_date",class:[{wh_isMark:n.isMark},{wh_want_dayhide:n.dayHide},{wh_isToday:n.isToday&&!t.choseOtherDay},{wh_choseOtherDay:n.isToday&&t.choseOtherDay},{wh_chose_day:n.chooseDay},t.setClass(n)]},[t._v(t._s(n.id))])])})),0),e("div",{staticClass:"up-arrow",on:{click:t.swipedown}},[e("div",[e("van-icon",{attrs:{name:"arrow-down"}})],1)])]):t._e(),t.dialogVisible?e("van-dialog",{attrs:{"close-on-click-overlay":!0,"lock-scroll":!0,"close-on-popstate":!0,"show-confirm-button":!1,"show-cancel-button":!1},model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}},[e("div",{staticClass:"van_col_title",on:{click:function(e){return t.selectYearClick(t.selectYear)}}},[t._v(t._s(t.dialogTitle))]),e("div",{staticStyle:{padding:"10px"},on:{touchstart:t.gotouchstart,touchend:t.gotouchend,touchmove:t.gotouchmove}},[e("van-row",{attrs:{align:"center"}},[t._l(t.options,(function(n,i){return[e("van-col",{key:i,staticClass:"van_col",attrs:{span:"8"},on:{click:function(e){return t.choose(i,n)}}},[e("span",{staticStyle:{"line-height":"20px"},style:{color:"month"===t.selectType&&(t.nowYear===t.selectYear||t.currerYear===t.selectYear)&&t.selectMonth===i+1||t.selectYear===n?"#1989fa":""}},[t._v(t._s(n))])])]}))],2)],1)]):t._e()],1)])])},at=[];function ot(t){return dt(t)||ut(t)||lt(t)||st()}function st(){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 lt(t,e){if(t){if("string"==typeof t)return ct(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ct(t,e):void 0}}function ut(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function dt(t){if(Array.isArray(t))return ct(t)}function ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var ht={getDaysInOneMonth:function(t){var e=t.getFullYear(),n=t.getMonth()+1,i=new Date(e,n,0);return i.getDate()},getMonthweek:function(t){var e=t.getFullYear(),n=t.getMonth()+1,i=new Date(e+"/"+n+"/1");return this.sundayStart?0===i.getDay()?7:i.getDay():0===i.getDay()?6:i.getDay()-1},getOtherMonth:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nextMonth",i=this.dateFormat(t).split("/"),r=i[0],a=i[1],o=i[2],s=r;"nextMonth"===n?(e=parseInt(a)+1,13===e&&(s=parseInt(s)+1,e=1)):(e=parseInt(a)-1,0===e&&(s=parseInt(s)-1,e=12));var l=o,u=new Date(s,e,0).getDate();l>u&&(l=u),e<10&&(e="0"+e),l<10&&(l="0"+l);var d=s+"/"+e+"/"+l;return new Date(d)},getOtherWeek:function(t,e){var n=new Date(t);return"preWeek"===e?new Date(new Date(n).getTime()-6048e5):new Date(new Date(n).getTime()+6048e5)},getLeftArr:function(t){for(var e=[],n=this.getMonthweek(t),i=this.getDaysInOneMonth(this.getOtherMonth(t,"preMonth"))-n+1,r=this.getOtherMonth(t,"preMonth"),a=0;a<n;a++){var o=r.getFullYear()+"/"+(r.getMonth()+1)+"/"+(i+a);e.push({id:i+a,date:o,isToday:!1,otherMonth:"preMonth"})}return e},getRightArr:function(t){for(var e=[],n=this.getOtherMonth(t,"nextMonth"),i=this.getDaysInOneMonth(t)+this.getMonthweek(t),r=7-i%7,a=0;a<r;a++){var o=n.getFullYear()+"/"+(n.getMonth()+1)+"/"+(a+1);e.push({id:a+1,date:o,isToday:!1,otherMonth:"nextMonth"})}return e},dateFormat:function(t){return t="string"===typeof t?new Date(t.replace(/\-/g,"/")):t,t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate()},getMonthListNoOther:function(t){for(var e=[],n=this.getDaysInOneMonth(t),i=t.getFullYear(),r=t.getMonth()+1,a=this.dateFormat(new Date),o=0;o<n;o++){var s=i+"/"+r+"/"+(o+1);e.push({id:o+1,date:s,isToday:a===s,otherMonth:"nowMonth"})}return e},getMonthList:function(t){var e=new Date(t.getFullYear(),t.getMonth()-1),n=new Date(t.getFullYear(),t.getMonth()+1),i={};return i.lastMonth=[].concat(ot(this.getLeftArr(e)),ot(this.getMonthListNoOther(e)),ot(this.getRightArr(e))),i.nowMonth=[].concat(ot(this.getLeftArr(t)),ot(this.getMonthListNoOther(t)),ot(this.getRightArr(t))),i.nextMonth=[].concat(ot(this.getLeftArr(n)),ot(this.getMonthListNoOther(n)),ot(this.getRightArr(n))),i},createClendar:function(t,e,i){for(var r=new Date(e),a=n("c1df"),o=new Date,s=[],l=0;l<7;l++){var u=new Date(t.getTime()+24*l*60*60*1e3),d=null;d=u.getFullYear()===r.getFullYear()?u.getMonth()===r.getMonth()?"nowMonth":u.getMonth()<r.getMonth()?"preMonth":"nextMonth":u.getFullYear()<r.getFullYear()?"preMonth":"nextMonth",s.push({id:u.getDate(),date:a(u).format(i?"YYYY/MM/DD":"YYYY/M/D"),isToday:a(u).format(i?"YYYY/MM/DD":"YYYY/M/D")===a(o).format(i?"YYYY/MM/DD":"YYYY/M/D"),otherMonth:d})}return s},getNowWeek:function(t,e){var n=t.getDay(),i=null,r=null,a=null;return this.sundayStart?(i=new Date(new Date(t).getTime()-24*n*60*60*1e3),r=new Date(new Date(i).getTime()-6048e5),a=new Date(new Date(i).getTime()+6048e5)):(i=new Date(new Date(t).getTime()-24*(0===n?6:n-1)*60*60*1e3),r=new Date(new Date(i).getTime()-6048e5),a=new Date(new Date(i).getTime()+6048e5)),{lastWeek:this.createClendar(r,t,e),nowWeek:this.createClendar(i,t,e),nextWeek:this.createClendar(a,t,e)}},getYearlist:function(t){for(var e=[],n=Number(t.toString().substr(0,3)+0),i=0;i<10;i++)e.push(n++);return e},getLeftAfteryear:function(t){for(var e=[],n=t-20;n<=t;n++)e.push(n);return e},getWeeklist:function(t,e){for(var n=new Date(t,e-1),i=n.getDay(),r=n.getTime()-24*(0===i?6:i-1)*60*60*1e3,a=r+5184e5,o=new Date(new Date(t,e).setDate(0)).getDate(),s=n.getTime()+24*(o-1)*60*60*1e3,l=new Date(s).getDay(),u=s+24*(7-(0===l?7:l))*60*60*1e3,d=(u-r+864e5)/1e3/60/60/24/7,c=[],h=0;h<d;h++)0!==h&&(r+=6048e5,a+=6048e5),c.push({start:new Date(r),end:new Date(a),num:h+1,month:e});return c},sundayStart:!1};function pt(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=gt(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function ft(t,e){return vt(t)||_t(t,e)||gt(t,e)||mt()}function mt(){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 gt(t,e){if(t){if("string"==typeof t)return yt(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yt(t,e):void 0}}function yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function _t(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw r}}return s}}function vt(t){if(Array.isArray(t))return t}var bt={props:{markDate:{type:Array,default:function(){return[]}},markDateMore:{type:Array,default:function(){return[]}},textTop:{type:Array,default:function(){return["一","二","三","四","五","六","日"]}},sundayStart:{type:Boolean,default:!1},showTopRight:{type:Boolean,default:!0},agoDayHide:{type:String,default:"0"},futureDayHide:{type:String,default:"2554387200"},getDayDetails:{type:Function,default:function(){return null}},errorDay:{type:Array,default:function(){return[]}},changeDate:{type:Function,default:function(){return null}},isSwitchover:{type:Boolean,default:!1},defaultType:{type:String,default:"month"}},data:function(){return{myDate:[],list:{},historyChose:[],dateTop:"",choseOtherDay:!1,dialogVisible:!1,vueMoves:!1,vueLeave:!1,longTouch:!1,vueTouches:{},updateDate:!1,dialogTitle:"",allMonth:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],options:[],selectMonth:"",selectYear:"",selectType:"month",userType:""}},watch:{userType:{handler:function(t,e){this.$emit("userTypeFn",t)},deep:!0},markDate:{handler:function(t,e){this.getList(this.myDate)},deep:!0},markDateMore:{handler:function(t,e){this.getList(this.myDate)},deep:!0},agoDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},futureDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},sundayStart:{handler:function(t,e){this.intStart(),this.getList(this.myDate)},deep:!0}},created:function(){var t=new Date;this.myDate=t,this.nowMonth=t.getMonth()+1,this.nowYear=t.getFullYear(),this.currerYear=t.getFullYear(),this.intStart()},mounted:function(){this.userType=this.defaultType,this.getList(this.myDate)},methods:{intStart:function(){ht.sundayStart=this.sundayStart},setClass:function(t){var e={};return e[t.markClassName]=t.markClassName,e},gotouchstart:function(t){this.vueMoves=!0,this.vueLeave=!0,this.longTouch=!0,this.vueTouches={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}},gotouchend:function(t){var e=t.changedTouches[0].pageX-this.vueTouches.x,n=t.changedTouches[0].pageY-this.vueTouches.y;(Math.abs(e)>10||Math.abs(n)>100)&&(Math.abs(e)>Math.abs(n)?(e>10&&this.swiperight(),e<-10&&this.swipeleft()):(n>10&&this.swipedown(),n<-10&&this.swipeup()))},gotouchmove:function(t){this.vueMoves=!1},swipeup:function(){this.dialogVisible||(this.userType="week",this.getList(this.myDate),this.$emit("swipeChange","week"))},swipedown:function(){this.dialogVisible||(this.userType="month",this.getList(this.myDate),this.$emit("swipeChange","month"))},swipeleft:function(){this.dialogVisible?this.preSelectDialog("next"):(this.updateDate=!1,this.NextMonth(this.myDate))},swiperight:function(){this.dialogVisible?this.preSelectDialog("pre"):(this.updateDate=!1,this.PreMonth(this.myDate))},clickDay:function(t,e){if(this.myDate=new Date(t.date),null!==this.getDayDetails&&this.getDayDetails(t,e),this.$emit("getDayDetails",t,e),"month"===this.userType)"nowMonth"!==t.otherMonth||t.dayHide||this.getList(this.myDate,t.date,!1,this.userType),"nowMonth"!==t.otherMonth&&("preMonth"===t.otherMonth?this.PreMonth(t.date,!0):this.NextMonth(t.date,!0));else{var n=new Date(t.date);this.getList(n,t.date,!0,this.userType)}},selectMonthClick:function(t,e){this.dialogTitle=t+"年",this.options=this.allMonth,this.selectMonth=e,this.selectYear=t,this.dialogVisible=!0},selectYearClick:function(t){this.selectType="year",this.options=ht.getYearlist(t),this.dialogTitle=this.options[0]+"年 - "+this.options[9]+"年"},choose:function(t,e){"month"===this.selectType?(this.selectMonth=t+1,this.myDate=new Date(this.selectYear,t,1),this.nowMonth=this.selectMonth,this.nowYear=this.selectYear,this.getList(this.myDate),this.dialogVisible=!1,this.$emit("changeDate",ht.dateFormat(this.myDate))):"year"===this.selectType&&(this.selectYear=e,e===(new Date).getFullYear()&&(this.selectMonth=(new Date).getMonth()+1),this.dialogTitle=e+"年",this.selectType="month",this.options=this.allMonth)},preSelectDialog:function(t){if("pre"===t){if("month"===this.selectType){if(1970===this.selectYear)return;this.selectYear-=1,this.dialogTitle=this.selectYear+"年"}else if("year"===this.selectType){if(1970===this.options[0])return;this.selectYearClick(this.options[0]-10)}}else if("month"===this.selectType){if(2049===this.selectYear)return;if(this.selectYear===(new Date).getFullYear()+19)return;this.selectYear+=1,this.dialogTitle=this.selectYear+"年"}else if("year"===this.selectType){if(2049===this.options[9])return;if(this.options[0]===(new Date).getFullYear()+10)return;this.selectYearClick(this.options[0]+10)}},PreMonth:function(t,e){"string"===typeof t&&(t=new Date(t)),1970===t.getFullYear()&&t.getMonth()+1===1||(t=ht.dateFormat(t),e||(this.myDate="month"===this.userType?ht.getOtherMonth(this.myDate,"preMonth"):ht.getOtherWeek(this.myDate,"preWeek")),this.nowMonth=this.myDate.getMonth()+1,this.nowYear=this.myDate.getFullYear(),this.$emit("changeDate",ht.dateFormat(this.myDate)),null!==this.changeDate&&this.changeDate(ht.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate))},NextMonth:function(t,e){"string"===typeof t&&(t=new Date(t)),2049===t.getFullYear()&&t.getMonth()+1===12||t.getFullYear()===(new Date).getFullYear()+19&&t.getMonth()+1===12||(t=ht.dateFormat(t),e||(this.myDate="month"===this.userType?ht.getOtherMonth(this.myDate,"nextMonth"):ht.getOtherWeek(this.myDate,"nextWeek")),this.nowMonth=this.myDate.getMonth()+1,this.nowYear=this.myDate.getFullYear(),this.$emit("changeDate",ht.dateFormat(this.myDate)),null!==this.changeDate&&this.changeDate(ht.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate))},forMatArgs:function(){var t=this.markDate,e=this.markDateMore;return t=t.map((function(t){return ht.dateFormat(t)})),e=e.map((function(t){return t.date=ht.dateFormat(t.date),t})),[t,e]},getList:function(t,e){var n=this,i=this.forMatArgs(),r=ft(i,2),a=r[0],o=r[1];this.dateTop="".concat(t.getFullYear(),"年").concat(t.getMonth()+1,"月");var s=null;for(var l in s="month"===this.userType?ht.getMonthList(this.myDate):ht.getNowWeek(this.myDate,!1),s)for(var u=s[l],d=0;d<u.length;d++){var c="",h=u[d];h.chooseDay=!1;var p,f=h.date,m=new Date(f).getTime()/1e3,g=pt(o);try{for(g.s();!(p=g.n()).done;){var y=p.value;y.date===f&&(c=y.className||"")}}catch(v){g.e(v)}finally{g.f()}h.markClassName=c,h.isMark=a.indexOf(f)>-1,h.dayHide=m<this.agoDayHide||m>this.futureDayHide,h.isToday&&this.$emit("isToday",f);var _=!h.dayHide&&"nowMonth"===h.otherMonth||"week"===this.userType;e&&e===f&&_?(this.$emit("choseDay",f),this.historyChose.push(f),h.chooseDay=!0,h.isToday?this.choseOtherDay=!1:this.choseOtherDay=!0):this.historyChose[this.historyChose.length-1]===f&&!e&&_&&(h.chooseDay=!0,h.isToday?this.choseOtherDay=!1:this.choseOtherDay=!0)}this.list=s,this.$nextTick((function(){n.updateDate=!0}))}}},xt=bt,Mt=(n("e552"),n("a7f8"),h(xt,rt,at,!1,null,"30267264",null)),wt=Mt.exports,St=function(){var t=this,e=t._self._c;return e("div",{staticClass:"board"},[e("div",{staticClass:"homePage",attrs:{id:"homePage"},on:{scroll:t.scrollTop}},t._l(t.layoutData,(function(t,n){return e("div",{key:n,staticClass:"drag-item",staticStyle:{width:"calc(100% - 20px)",padding:"0 10px","margin-bottom":"10px"},attrs:{id:t.pppId}},[e("applet",{attrs:{"applet-data":t}})],1)})),0)])},Lt=[],kt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"applet-wrap el-table"},[e(t.applet,{tag:"components",attrs:{"applet-data":t.appletData}})],1)},Dt=[],Tt={name:"Applet",components:{},props:{appletData:{type:Object,required:!0,default:function(){return{}}},allcomps:{type:Object,required:!0,default:function(){return{}}}},data:function(){return{applet:null}},computed:{},watch:{},created:function(){this.initPortalApplet()},mounted:function(){},methods:{initPortalApplet:function(){if(this.appletData.url&&0===this.appletData.url.indexOf("@/")){var t=this.appletData.url,e=t.lastIndexOf("/?"),n=null;if(-1!==e){var i=t.substring(e+1,t.length),r=i.indexOf("&");this.searchType=-1===r?t.substring(e+1,t.length).replace("?type=",""):this.getQueryVariable(i.replace("?",""),"type"),n=t.substring(0,e)}else n=t;this.applet=this.$loadComponent(n)}else this.applet=this.allcomps[this.appletData.code]},getQueryVariable:function(t,e){for(var n=t.split("&"),i=0;i<n.length;i++){var r=n[i].split("=");if(r[0]===e)return r[1]}return!1}}},Ot=Tt,Yt=(n("4f14"),h(Ot,kt,Dt,!1,null,"9bb86398",null)),Ct=Yt.exports,It={components:{applet:Ct},props:{layoutData:{type:Object,default:function(){return[]}},layoutWidth:{type:Number,default:function(){return"100%"}},rowHeight:{type:Number,default:function(){return 5}},layoutHeight:{type:Number,default:function(){return 200}},margin:{type:Object,default:function(){return[0,0]}},padding:{type:Object,default:function(){return[0,10]}}},data:function(){return{startScroll:123}},computed:{},watch:{},created:function(){this.$bus.on("scrollToPosition",this.scrollToPosition)},mounted:function(){localStorage.scrollPosition&&setTimeout((function(){document.getElementById("homePage").scrollTo(0,Number(localStorage.scrollPosition))}),300)},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){this.$bus.off("scrollToPosition",this.scrollToPosition)},destroyed:function(){},activated:function(){},methods:{scrollToPosition:function(){document.getElementById("homePage")&&(document.getElementById("homePage").scrollTop=this.scrollPosition)},scrollTop:function(t){this.scrollPosition=0,t.target.scrollTop>this.scrollPosition?(this.$bus.emit("reduceHeadHeight",t.target.scrollTop,"bottom"),t.target.scrollTop>30&&t.target.scrollTop<200&&this.$bus.emit("closeTop",!1)):(this.$bus.emit("reduceHeadHeight",t.target.scrollTop,"top"),t.target.scrollTop<=160&&this.$bus.emit("closeTop",!0)),this.scrollPosition=t.target.scrollTop,localStorage.setItem("scrollPosition",this.scrollPosition)}}},At=It,jt=(n("9e6f"),h(At,St,Lt,!1,null,"cd089ff2",null)),Pt=jt.exports,Ht=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:t.chartId}})},Et=[],Nt=function(t,e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Nt(t,e)};function Rt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var zt=n("22d1"),Ft=n("6d8b");function Bt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function Wt(t,e){return t[0]=e[0],t[1]=e[1],t}function Vt(t){return[t[0],t[1]]}function Gt(t,e,n){return t[0]=e,t[1]=n,t}function Ut(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function qt(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function Xt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function Zt(t){return Math.sqrt(Jt(t))}function Jt(t){return t[0]*t[0]+t[1]*t[1]}function $t(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Kt(t,e){var n=Zt(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Qt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var te=Qt;function ee(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var ne=ee;function ie(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function re(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function ae(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function oe(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var se=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),le=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new se(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(r,a,t),this.handler.dispatchToElement(new se(e,t),"drag",t.event);var o=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.handler.dispatchToElement(new se(s,t),"dragleave",t.event),o&&o!==s&&this.handler.dispatchToElement(new se(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new se(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new se(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),ue=le,de=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var a=this._$eventProcessor;null!=e&&a&&a.normalizeQuery&&(e=a.normalizeQuery(e)),r[t]||(r[t]=[]);for(var o=0;o<r[t].length;o++)if(r[t][o].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,a=n[t].length;r<a;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var a=e.length,o=i.length,s=0;s<o;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var a=e.length,o=e[a-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,e[0]);break;case 2:u.h.call(o,e[0],e[1]);break;default:u.h.apply(o,e.slice(1,a-1));break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),ce=de,he=Math.log(2);function pe(t,e,n,i,r,a){var o=i+"-"+r,s=t.length;if(a.hasOwnProperty(o))return a[o];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/he);return t[n][l]}var u=i|1<<n,d=n+1;while(i&1<<d)d++;for(var c=0,h=0,p=0;h<s;h++){var f=1<<h;f&r||(c+=(p%2?-1:1)*t[n][h]*pe(t,e-1,d,u,r|f,a),p++)}return a[o]=c,c}function fe(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=pe(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)*pe(n,7,0===o?1:0,1<<o,1<<s,i)/r*e[o];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var me="___zrEVENTSAVED",ge=[];function ye(t,e,n,i,r){return _e(ge,e,i,r,!0)&&_e(t,n,ge[0],ge[1])}function _e(t,e,n,i,r){if(e.getBoundingClientRect&&zt["a"].domSupported&&!xe(e)){var a=e[me]||(e[me]={}),o=ve(e,a),s=be(o,a,r);if(s)return s(t,n,i),!0}return!1}function ve(t,e){var n=e.markers;if(n)return n;n=e.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;"),t.appendChild(o),n.push(o)}return n}function be(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],a=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var d=t[u].getBoundingClientRect(),c=2*u,h=d.left,p=d.top;o.push(h,p),l=l&&a&&h===a[c]&&p===a[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=o,e[i]=n?fe(s,o):fe(o,s))}function xe(t){return"CANVAS"===t.nodeName.toUpperCase()}var Me=/([&<>"'])/g,we={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Se(t){return null==t?"":(t+"").replace(Me,(function(t,e){return we[e]}))}var Le=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ke=[],De=zt["a"].browser.firefox&&+zt["a"].browser.version.split(".")[0]<39;function Te(t,e,n,i){return n=n||{},i?Oe(t,e,n):De&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Oe(t,e,n),n}function Oe(t,e,n){if(zt["a"].domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(xe(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(_e(ke,t,i,r))return n.zrX=ke[0],void(n.zrY=ke[1])}n.zrX=n.zrY=0}function Ye(t){return t||window.event}function Ce(t,e,n){if(e=Ye(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];a&&Te(t,a,e,n)}else{Te(t,e,e,n);var o=Ie(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&Le.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function Ie(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;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 Ae(t,e,n,i){t.addEventListener(e,n,i)}function je(t,e,n,i){t.removeEventListener(e,n,i)}var Pe=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function He(t){return 2===t.which||3===t.which}var Ee=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},a=0,o=i.length;a<o;a++){var s=i[a],l=Te(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ze)if(ze.hasOwnProperty(e)){var n=ze[e](this._track,t);if(n)return n}},t}();function Ne(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function Re(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var ze={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var a=Ne(i)/Ne(r);!isFinite(a)&&(a=1),e.pinchScale=a;var o=Re(i);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}};function Fe(){return[1,0,0,1,0,0]}function Be(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function We(t,e){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}function Ve(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t}function Ge(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function Ue(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],a=e[2],o=e[4],s=e[1],l=e[3],u=e[5],d=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*d,t[1]=-r*d+s*c,t[2]=a*c+l*d,t[3]=-a*d+c*l,t[4]=c*(o-i[0])+d*(u-i[1])+i[0],t[5]=c*(u-i[1])-d*(o-i[0])+i[1],t}function qe(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Xe(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t):null}function Ze(t){var e=Fe();return We(e,t),e}var Je=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),$e=Je,Ke=Math.min,Qe=Math.max,tn=new $e,en=new $e,nn=new $e,rn=new $e,an=new $e,on=new $e,sn=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ke(t.x,this.x),n=Ke(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Qe(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Qe(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=Fe();return Ge(r,r,[-e.x,-e.y]),qe(r,r,[n,i]),Ge(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,a=i.x+i.width,o=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,d=e.y,c=e.y+e.height,h=!(a<l||u<r||s<d||c<o);if(n){var p=1/0,f=0,m=Math.abs(a-l),g=Math.abs(u-r),y=Math.abs(s-d),_=Math.abs(c-o),v=Math.min(m,g),b=Math.min(y,_);a<l||u<r?v>f&&(f=v,m<g?$e.set(on,-m,0):$e.set(on,g,0)):v<p&&(p=v,m<g?$e.set(an,m,0):$e.set(an,-g,0)),s<d||c<o?b>f&&(f=b,y<_?$e.set(on,0,-y):$e.set(on,0,_)):v<p&&(p=v,y<_?$e.set(an,0,y):$e.set(an,0,-_))}return n&&$e.copy(n,h?an:on),h},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,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 e.x=n.x*r+o,e.y=n.y*a+s,e.width=n.width*r,e.height=n.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}tn.x=nn.x=n.x,tn.y=rn.y=n.y,en.x=rn.x=n.x+n.width,en.y=nn.y=n.y+n.height,tn.transform(i),rn.transform(i),en.transform(i),nn.transform(i),e.x=Ke(tn.x,en.x,nn.x,rn.x),e.y=Ke(tn.y,en.y,nn.y,rn.y);var l=Qe(tn.x,en.x,nn.x,rn.x),u=Qe(tn.y,en.y,nn.y,rn.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),ln=sn,un="silent";function dn(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.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:cn}}function cn(){Pe(this.event)}var hn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Rt(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(ce),pn=function(){function t(t,e){this.x=t,this.y=e}return t}(),fn=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],mn=new ln(0,0,0,0),gn=function(t){function e(e,n,i,r,a){var o=t.call(this)||this;return o._hovered=new pn(0,0),o.storage=e,o.painter=n,o.painterRoot=r,o._pointerSize=a,i=i||new hn,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new ue(o),o}return Rt(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(Ft["k"](fn,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=vn(this,e,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 pn(e,n):this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new pn(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,a=dn(e,t,n);while(i)if(i[r]&&(a.cancelBubble=!!i[r].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new pn(t,e);if(_n(i,r,t,e,n),this._pointerSize&&!r.target){for(var a=[],o=this._pointerSize,s=o/2,l=new ln(t-s,e-s,o,o),u=i.length-1;u>=0;u--){var d=i[u];d===n||d.ignore||d.ignoreCoarsePointer||d.parent&&d.parent.ignoreCoarsePointer||(mn.copy(d.getBoundingRect()),d.transform&&mn.applyTransform(d.transform),mn.intersect(l)&&a.push(d))}if(a.length)for(var c=4,h=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=c)for(var m=0;m<p;m+=h){var g=t+f*Math.cos(m),y=e+f*Math.sin(m);if(_n(a,r,g,y,n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new Ee);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var a=new pn;a.target=i.target,this.dispatchToElement(a,r,i.event)}},e}(ce);function yn(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i=t,r=void 0,a=!1;while(i){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||un}return!1}function _n(t,e,n,i,r){for(var a=t.length-1;a>=0;a--){var o=t[a],s=void 0;if(o!==r&&!o.ignore&&(s=yn(o,n,i))&&(!e.topTarget&&(e.topTarget=o),s!==un)){e.target=o;break}}}function vn(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}Ft["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){gn.prototype[t]=function(e){var n,i,r=e.zrX,a=e.zrY,o=vn(this,r,a);if("mouseup"===t&&o||(n=this.findHover(r,a),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||te(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var bn=gn,xn=32,Mn=7;function wn(t){var e=0;while(t>=xn)e|=1&t,t>>=1;return t+e}function Sn(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;Ln(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function Ln(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function kn(t,e,n,i,r){for(i===e&&i++;i<n;i++){var a,o=t[i],s=e,l=i;while(s<l)a=s+l>>>1,r(o,t[a])<0?l=a:s=a+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=o}}function Dn(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){s=i-r;while(l<s&&a(t,e[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(t,e[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 d=o+(l-o>>>1);a(t,e[n+d])>0?o=d+1:l=d}return l}function Tn(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){s=r+1;while(l<s&&a(t,e[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(t,e[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 d=o+(l-o>>>1);a(t,e[n+d])<0?l=d:o=d+1}return l}function On(t,e){var n,i,r=Mn,a=0,o=[];function s(t,e){n[a]=t,i[a]=e,a+=1}function l(){while(a>1){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;d(t)}}function u(){while(a>1){var t=a-2;t>0&&i[t-1]<i[t+1]&&t--,d(t)}}function d(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 d=Tn(t[l],t,o,s,0,e);o+=d,s-=d,0!==s&&(u=Dn(t[o+s-1],t,l,u,u-1,e),0!==u&&(s<=u?c(o,s,l,u):h(o,s,l,u)))}function c(n,i,a,s){var l=0;for(l=0;l<i;l++)o[l]=t[n+l];var u=0,d=a,c=n;if(t[c++]=t[d++],0!==--s)if(1!==i){var h,p,f,m=r;while(1){h=0,p=0,f=!1;do{if(e(t[d],o[u])<0){if(t[c++]=t[d++],p++,h=0,0===--s){f=!0;break}}else if(t[c++]=o[u++],h++,p=0,1===--i){f=!0;break}}while((h|p)<m);if(f)break;do{if(h=Tn(t[d],o,u,i,0,e),0!==h){for(l=0;l<h;l++)t[c+l]=o[u+l];if(c+=h,u+=h,i-=h,i<=1){f=!0;break}}if(t[c++]=t[d++],0===--s){f=!0;break}if(p=Dn(o[u],t,d,s,0,e),0!==p){for(l=0;l<p;l++)t[c+l]=t[d+l];if(c+=p,d+=p,s-=p,0===s){f=!0;break}}if(t[c++]=o[u++],1===--i){f=!0;break}m--}while(h>=Mn||p>=Mn);if(f)break;m<0&&(m=0),m+=2}if(r=m,r<1&&(r=1),1===i){for(l=0;l<s;l++)t[c+l]=t[d+l];t[c+s]=o[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[c+l]=o[u+l]}}else{for(l=0;l<s;l++)t[c+l]=t[d+l];t[c+s]=o[u]}else for(l=0;l<i;l++)t[c+l]=o[u+l]}function h(n,i,a,s){var l=0;for(l=0;l<s;l++)o[l]=t[a+l];var u=n+i-1,d=s-1,c=a+s-1,h=0,p=0;if(t[c--]=t[u--],0!==--i)if(1!==s){var f=r;while(1){var m=0,g=0,y=!1;do{if(e(o[d],t[u])<0){if(t[c--]=t[u--],m++,g=0,0===--i){y=!0;break}}else if(t[c--]=o[d--],g++,m=0,1===--s){y=!0;break}}while((m|g)<f);if(y)break;do{if(m=i-Tn(o[d],t,n,i,i-1,e),0!==m){for(c-=m,u-=m,i-=m,p=c+1,h=u+1,l=m-1;l>=0;l--)t[p+l]=t[h+l];if(0===i){y=!0;break}}if(t[c--]=o[d--],1===--s){y=!0;break}if(g=s-Dn(t[u],o,0,s,s-1,e),0!==g){for(c-=g,d-=g,s-=g,p=c+1,h=d+1,l=0;l<g;l++)t[p+l]=o[h+l];if(s<=1){y=!0;break}}if(t[c--]=t[u--],0===--i){y=!0;break}f--}while(m>=Mn||g>=Mn);if(y)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===s){for(c-=i,u-=i,p=c+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[c]=o[d]}else{if(0===s)throw new Error;for(h=c-(s-1),l=0;l<s;l++)t[h+l]=o[l]}}else{for(c-=i,u-=i,p=c+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[c]=o[d]}else for(h=c-(s-1),l=0;l<s;l++)t[h+l]=o[l]}return n=[],i=[],{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function Yn(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var a=0;if(r<xn)return a=Sn(t,n,i,e),void kn(t,n,i,n+a,e);var o=On(t,e),s=wn(r);do{if(a=Sn(t,n,i,e),a<s){var l=r;l>s&&(l=s),kn(t,n,n+l,n+a,e),a=l}o.pushRun(n,a),o.mergeRuns(),r-=a,n+=a}while(0!==r);o.forceMergeRuns()}}var Cn=1,In=2,An=4,jn=!1;function Pn(){jn||(jn=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Hn(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var En,Nn=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Hn}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Yn(n,Hn)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];var r=i,a=t;while(r)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty|=Cn),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(Pn(),u.z=0),isNaN(u.z2)&&(Pn(),u.z2=0),isNaN(u.zlevel)&&(Pn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=Ft["r"](this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Rn=Nn;En=zt["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var zn=En,Fn={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Fn.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Fn.bounceIn(2*t):.5*Fn.bounceOut(2*t-1)+.5}},Bn=Fn,Wn=Math.pow,Vn=Math.sqrt,Gn=1e-8,Un=1e-4,qn=Vn(3),Xn=1/3,Zn=Bt(),Jn=Bt(),$n=Bt();function Kn(t){return t>-Gn&&t<Gn}function Qn(t){return t>Gn||t<-Gn}function ti(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function ei(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function ni(t,e,n,i,r,a){var o=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,d=s*s-3*o*l,c=s*l-9*o*u,h=l*l-3*s*u,p=0;if(Kn(d)&&Kn(c))if(Kn(s))a[0]=0;else{var f=-l/s;f>=0&&f<=1&&(a[p++]=f)}else{var m=c*c-4*d*h;if(Kn(m)){var g=c/d,y=(f=-s/o+g,-g/2);f>=0&&f<=1&&(a[p++]=f),y>=0&&y<=1&&(a[p++]=y)}else if(m>0){var _=Vn(m),v=d*s+1.5*o*(-c+_),b=d*s+1.5*o*(-c-_);v=v<0?-Wn(-v,Xn):Wn(v,Xn),b=b<0?-Wn(-b,Xn):Wn(b,Xn);f=(-s-(v+b))/(3*o);f>=0&&f<=1&&(a[p++]=f)}else{var x=(2*d*s-3*o*c)/(2*Vn(d*d*d)),M=Math.acos(x)/3,w=Vn(d),S=Math.cos(M),L=(f=(-s-2*w*S)/(3*o),y=(-s+w*(S+qn*Math.sin(M)))/(3*o),(-s+w*(S-qn*Math.sin(M)))/(3*o));f>=0&&f<=1&&(a[p++]=f),y>=0&&y<=1&&(a[p++]=y),L>=0&&L<=1&&(a[p++]=L)}}return p}function ii(t,e,n,i,r){var a=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Kn(o)){if(Qn(a)){var u=-s/a;u>=0&&u<=1&&(r[l++]=u)}}else{var d=a*a-4*o*s;if(Kn(d))r[0]=-a/(2*o);else if(d>0){var c=Vn(d),h=(u=(-a+c)/(2*o),(-a-c)/(2*o));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function ri(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-o)*r+o,d=(l-s)*r+s,c=(d-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=d,a[6]=l,a[7]=i}function ai(t,e,n,i,r,a,o,s,l,u,d){var c,h,p,f,m,g=.005,y=1/0;Zn[0]=l,Zn[1]=u;for(var _=0;_<1;_+=.05)Jn[0]=ti(t,n,r,o,_),Jn[1]=ti(e,i,a,s,_),f=ne(Zn,Jn),f<y&&(c=_,y=f);y=1/0;for(var v=0;v<32;v++){if(g<Un)break;h=c-g,p=c+g,Jn[0]=ti(t,n,r,o,h),Jn[1]=ti(e,i,a,s,h),f=ne(Jn,Zn),h>=0&&f<y?(c=h,y=f):($n[0]=ti(t,n,r,o,p),$n[1]=ti(e,i,a,s,p),m=ne($n,Zn),p<=1&&m<y?(c=p,y=m):g*=.5)}return d&&(d[0]=ti(t,n,r,o,c),d[1]=ti(e,i,a,s,c)),Vn(y)}function oi(t,e,n,i,r,a,o,s,l){for(var u=t,d=e,c=0,h=1/l,p=1;p<=l;p++){var f=p*h,m=ti(t,n,r,o,f),g=ti(e,i,a,s,f),y=m-u,_=g-d;c+=Math.sqrt(y*y+_*_),u=m,d=g}return c}function si(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function li(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function ui(t,e,n,i,r){var a=t-2*e+n,o=2*(e-t),s=t-i,l=0;if(Kn(a)){if(Qn(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var d=o*o-4*a*s;if(Kn(d)){u=-o/(2*a);u>=0&&u<=1&&(r[l++]=u)}else if(d>0){var c=Vn(d),h=(u=(-o+c)/(2*a),(-o-c)/(2*a));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function di(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function ci(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function hi(t,e,n,i,r,a,o,s,l){var u,d=.005,c=1/0;Zn[0]=o,Zn[1]=s;for(var h=0;h<1;h+=.05){Jn[0]=si(t,n,r,h),Jn[1]=si(e,i,a,h);var p=ne(Zn,Jn);p<c&&(u=h,c=p)}c=1/0;for(var f=0;f<32;f++){if(d<Un)break;var m=u-d,g=u+d;Jn[0]=si(t,n,r,m),Jn[1]=si(e,i,a,m);p=ne(Jn,Zn);if(m>=0&&p<c)u=m,c=p;else{$n[0]=si(t,n,r,g),$n[1]=si(e,i,a,g);var y=ne($n,Zn);g<=1&&y<c?(u=g,c=y):d*=.5}}return l&&(l[0]=si(t,n,r,u),l[1]=si(e,i,a,u)),Vn(c)}function pi(t,e,n,i,r,a,o){for(var s=t,l=e,u=0,d=1/o,c=1;c<=o;c++){var h=c*d,p=si(t,n,r,h),f=si(e,i,a,h),m=p-s,g=f-l;u+=Math.sqrt(m*m+g*g),s=p,l=f}return u}var fi=/cubic-bezier\(([0-9,\.e ]+)\)/;function mi(t){var e=t&&fi.exec(t);if(e){var n=e[1].split(","),i=+Object(Ft["T"])(n[0]),r=+Object(Ft["T"])(n[1]),a=+Object(Ft["T"])(n[2]),o=+Object(Ft["T"])(n[3]);if(isNaN(i+r+a+o))return;var s=[];return function(t){return t<=0?0:t>=1?1:ni(0,i,a,1,t,s)&&ti(0,r,o,1,s[0])}}}var gi=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ft["L"],this.ondestroy=t.ondestroy||Ft["L"],this.onrestart=t.onrestart||Ft["L"],t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-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=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(Ft["w"])(t)?t:Bn[t]||mi(t)},t}(),yi=gi,_i=n("41ef"),vi=n("7a29"),bi=Array.prototype.slice;function xi(t,e,n){return(e-t)*n+t}function Mi(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=xi(e[a],n[a],i);return t}function wi(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=xi(e[o][s],n[o][s],i)}return t}function Si(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=e[a]+n[a]*i;return t}function Li(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=e[o][s]+n[o][s]*i}return t}function ki(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,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 Di(t,e,n){var i=t,r=e;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]:bi.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 d=0;d<u;d++)isNaN(i[l][d])&&(i[l][d]=r[l][d])}}function Ti(t){if(Object(Ft["u"])(t)){var e=t.length;if(Object(Ft["u"])(t[0])){for(var n=[],i=0;i<e;i++)n.push(bi.call(t[i]));return n}return bi.call(t)}return t}function Oi(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function Yi(t){return Object(Ft["u"])(t&&t[0])?2:1}var Ci=0,Ii=1,Ai=2,ji=3,Pi=4,Hi=5,Ei=6;function Ni(t){return t===Pi||t===Hi}function Ri(t){return t===Ii||t===Ai}var zi=[0,0,0,0],Fi=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,a=!1,o=Ei,s=e;if(Object(Ft["u"])(e)){var l=Yi(e);o=l,(1===l&&!Object(Ft["z"])(e[0])||2===l&&!Object(Ft["z"])(e[0][0]))&&(a=!0)}else if(Object(Ft["z"])(e)&&!Object(Ft["l"])(e))o=Ci;else if(Object(Ft["C"])(e))if(isNaN(+e)){var u=_i["h"](e);u&&(s=u,o=ji)}else o=Ci;else if(Object(Ft["x"])(e)){var d=Object(Ft["m"])({},s);d.colorStops=Object(Ft["H"])(e.colorStops,(function(t){return{offset:t.offset,color:_i["h"](t.color)}})),Object(vi["m"])(e)?o=Pi:Object(vi["o"])(e)&&(o=Hi),s=d}0===r?this.valType=o:o===this.valType&&o!==Ei||(a=!0),this.discrete=this.discrete||a;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=Object(Ft["w"])(n)?n:Bn[n]||mi(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,a=n[r-1],o=this.discrete,s=Ri(i),l=Ni(i),u=0;u<r;u++){var d=n[u],c=d.value,h=a.value;d.percent=d.time/t,o||(s&&u!==r-1?Di(c,h,i):l&&ki(c.colorStops,h.colorStops))}if(!o&&i!==Hi&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)i===Ci?n[u].additiveValue=n[u].value-p:i===ji?n[u].additiveValue=Si([],n[u].value,p,-1):Ri(i)&&(n[u].additiveValue=i===Ii?Si([],n[u].value,p,-1):Li([],n[u].value,p,-1))}},t.prototype.step=function(t,e){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,d=this.propName,c=s===ji,h=this._lastFr,p=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){var f=p(h+1,u-1);for(n=f;n>=0;n--)if(l[n].percent<=e)break;n=p(n,u-2)}else{for(n=h;n<u;n++)if(l[n].percent>e)break;n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var m=r.percent-i.percent,g=0===m?1:p((e-i.percent)/m,1);r.easingFunc&&(g=r.easingFunc(g));var y=a?this._additiveValue:c?zi:t[d];if(!Ri(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[d]=g<1?i.rawValue:r.rawValue;else if(Ri(s))s===Ii?Mi(y,i[o],r[o],g):wi(y,i[o],r[o],g);else if(Ni(s)){var _=i[o],v=r[o],b=s===Pi;t[d]={type:b?"linear":"radial",x:xi(_.x,v.x,g),y:xi(_.y,v.y,g),colorStops:Object(Ft["H"])(_.colorStops,(function(t,e){var n=v.colorStops[e];return{offset:xi(t.offset,n.offset,g),color:Oi(Mi([],t.color,n.color,g))}})),global:v.global},b?(t[d].x2=xi(_.x2,v.x2,g),t[d].y2=xi(_.y2,v.y2,g)):t[d].r=xi(_.r,v.r,g)}else if(c)Mi(y,i[o],r[o],g),a||(t[d]=Oi(y));else{var x=xi(i[o],r[o],g);a?this._additiveValue=x:t[d]=x}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===Ci?t[n]=t[n]+i:e===ji?(_i["h"](t[n],zi),Si(zi,zi,i,1),t[n]=Oi(zi)):e===Ii?Si(t[n],t[n],i,1):e===Ai&&Li(t[n],t[n],i,1)},t}(),Bi=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Object(Ft["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Object(Ft["F"])(e),n)},t.prototype.whenWithKeys=function(t,e,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 Fi(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var d=u.keyframes,c=d[d.length-1];l=c&&c.value,u.valType===ji&&l&&(l=Oi(l))}else l=this._target[o];if(null==l)continue;t>0&&s.addKeyframe(0,Ti(l),i),this._trackKeys.push(o)}s.addKeyframe(t,Ti(e[o]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=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 d=l[u-1];d&&(e._target[o.propName]=d.rawValue),o.setFinished()}else n.push(o)}if(n.length||this._force){var c=new yi({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,a=0;a<i.length;a++)if(i[a]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(a=0;a<n.length;a++)n[a].step(e._target,t);var o=e._onframeCbs;if(o)for(a=0;a<o.length;a++)o[a](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&c.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return Object(Ft["H"])(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var a=n[t[r]];a&&!a.isFinished()&&(e?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},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],a=this._tracks[r];if(a&&!a.isFinished()){var o=a.keyframes,s=o[n?0:o.length-1];s&&(t[r]=Ti(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(Ft["F"])(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var o=a.pop();r.addKeyframe(o.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),Wi=Bi;function Vi(){return(new Date).getTime()}var Gi=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return Rt(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=Vi()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,a=i.step(e,n);a?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(zn(e),!t._paused&&t.update())}this._running=!0,zn(e)},e.prototype.start=function(){this._running||(this._time=Vi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Vi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Vi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Wi(t,e.loop);return this.addAnimator(n),n},e}(ce),Ui=Gi,qi=300,Xi=zt["a"].domSupported,Zi=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=Ft["H"](t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),Ji={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},$i=!1;function Ki(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Qi(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function tr(t){t&&(t.zrByTouch=!0)}function er(t,e){return Ce(t.dom,new ir(t,e),!0)}function nr(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var ir=function(){function t(t,e){this.stopPropagation=Ft["L"],this.stopImmediatePropagation=Ft["L"],this.preventDefault=Ft["L"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),rr={mousedown:function(t){t=Ce(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Ce(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Ce(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Ce(this.dom,t);var e=t.toElement||t.relatedTarget;nr(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){$i=!0,t=Ce(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){$i||(t=Ce(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Ce(this.dom,t),tr(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),rr.mousemove.call(this,t),rr.mousedown.call(this,t)},touchmove:function(t){t=Ce(this.dom,t),tr(t),this.handler.processGesture(t,"change"),rr.mousemove.call(this,t)},touchend:function(t){t=Ce(this.dom,t),tr(t),this.handler.processGesture(t,"end"),rr.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<qi&&rr.click.call(this,t)},pointerdown:function(t){rr.mousedown.call(this,t)},pointermove:function(t){Ki(t)||rr.mousemove.call(this,t)},pointerup:function(t){rr.mouseup.call(this,t)},pointerout:function(t){Ki(t)||rr.mouseout.call(this,t)}};Ft["k"](["click","dblclick","contextmenu"],(function(t){rr[t]=function(e){e=Ce(this.dom,e),this.trigger(t,e)}}));var ar={pointermove:function(t){Ki(t)||ar.mousemove.call(this,t)},pointerup:function(t){ar.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function or(t,e){var n=e.domHandlers;zt["a"].pointerEventsSupported?Ft["k"](Zi.pointer,(function(i){lr(e,i,(function(e){n[i].call(t,e)}))})):(zt["a"].touchEventsSupported&&Ft["k"](Zi.touch,(function(i){lr(e,i,(function(r){n[i].call(t,r),Qi(e)}))})),Ft["k"](Zi.mouse,(function(i){lr(e,i,(function(r){r=Ye(r),e.touching||n[i].call(t,r)}))})))}function sr(t,e){function n(n){function i(i){i=Ye(i),nr(t,i.target)||(i=er(t,i),e.domHandlers[n].call(t,i))}lr(e,n,i,{capture:!0})}zt["a"].pointerEventsSupported?Ft["k"](Ji.pointer,n):zt["a"].touchEventsSupported||Ft["k"](Ji.mouse,n)}function lr(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,Ae(t.domTarget,e,n,i)}function ur(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&je(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var dr=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),cr=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new dr(e,rr),Xi&&(i._globalHandlerScope=new dr(document,ar)),or(i,i._localHandlerScope),i}return Rt(e,t),e.prototype.dispose=function(){ur(this._localHandlerScope),Xi&&ur(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Xi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?sr(this,e):ur(e)}},e}(ce),hr=cr,pr=1;zt["a"].hasGlobalWindow&&(pr=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var fr=pr,mr=.4,gr="#333",yr="#ccc",_r="#eee",vr=Be,br=5e-5;function xr(t){return t>br||t<-br}var Mr=[],wr=[],Sr=Fe(),Lr=Math.abs,kr=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return xr(this.rotation)||xr(this.x)||xr(this.y)||xr(this.scaleX-1)||xr(this.scaleY-1)||xr(this.skewX)||xr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||Fe(),e?this.getLocalTransform(n):vr(n),t&&(e?Ve(n,t,n):We(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(vr(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Mr);var n=Mr[0]<0?-1:1,i=Mr[1]<0?-1:1,r=((Mr[0]-n)*e+n)/Mr[0]||0,a=((Mr[1]-i)*e+i)/Mr[1]||0;t[0]*=r,t[1]*=r,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||Fe(),Xe(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Fe(),Ve(wr,t.invTransform,e),e=wr);var n=this.originX,i=this.originY;(n||i)&&(Sr[4]=n,Sr[5]=i,Ve(wr,e,Sr),wr[4]-=n,wr[5]-=i,e=wr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&re(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&re(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Lr(t[0]-1)>1e-10&&Lr(t[3]-1)>1e-10?Math.sqrt(Lr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Tr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,a=t.scaleY,o=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,d=t.y,c=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||i||o||s){var p=n+o,f=i+s;e[4]=-p*r-c*f*a,e[5]=-f*a-h*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=a,e[1]=h*r,e[2]=c*a,l&&Ue(e,e,l),e[4]+=n+u,e[5]+=i+d,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),Dr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Tr(t,e){for(var n=0;n<Dr.length;n++){var i=Dr[n];t[i]=e[i]}}var Or=kr,Yr=n("d51b"),Cr=n("726e"),Ir={};function Ar(t,e){e=e||Cr["a"];var n=Ir[e];n||(n=Ir[e]=new Yr["a"](500));var i=n.get(t);return null==i&&(i=Cr["d"].measureText(t,e).width,n.put(t,i)),i}function jr(t,e,n,i){var r=Ar(t,e),a=Nr(e),o=Hr(0,r,n),s=Er(0,a,i),l=new ln(o,s,r,a);return l}function Pr(t,e,n,i){var r=((t||"")+"").split("\n"),a=r.length;if(1===a)return jr(r[0],e,n,i);for(var o=new ln(0,0,0,0),s=0;s<r.length;s++){var l=jr(r[s],e,n,i);0===s?o.copy(l):o.union(l)}return o}function Hr(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Er(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Nr(t){return Ar("国",t)}function Rr(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function zr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,u=n.y,d="left",c="top";if(i instanceof Array)l+=Rr(i[0],n.width),u+=Rr(i[1],n.height),d=null,c=null;else switch(i){case"left":l-=r,u+=s,d="right",c="middle";break;case"right":l+=r+o,u+=s,c="middle";break;case"top":l+=o/2,u-=r,d="center",c="bottom";break;case"bottom":l+=o/2,u+=a+r,d="center";break;case"inside":l+=o/2,u+=s,d="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=o-r,u+=s,d="right",c="middle";break;case"insideTop":l+=o/2,u+=r,d="center";break;case"insideBottom":l+=o/2,u+=a-r,d="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=o-r,u+=r,d="right";break;case"insideBottomLeft":l+=r,u+=a-r,c="bottom";break;case"insideBottomRight":l+=o-r,u+=a-r,d="right",c="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=d,t.verticalAlign=c,t}var Fr="__zr_normal__",Br=Dr.concat(["ignore"]),Wr=Object(Ft["N"])(Dr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Vr={},Gr=new ln(0,0,0,0),Ur=function(){function t(t){this.id=Object(Ft["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,a=void 0,o=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Gr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Vr,n,u):zr(Vr,n,u),r.x=Vr.x,r.y=Vr.y,a=Vr.align,o=Vr.verticalAlign;var d=n.origin;if(d&&null!=n.rotation){var c=void 0,h=void 0;"center"===d?(c=.5*u.width,h=.5*u.height):(c=Rr(d[0],u.width),h=Rr(d[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+h+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=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,_=void 0;f&&this.canBeInsideText()?(g=n.insideFill,y=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(g),_=!0)):(g=n.outsideFill,y=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(g),_=!0)),g=g||"#000",g===m.fill&&y===m.stroke&&_===m.autoStroke&&a===m.align&&o===m.verticalAlign||(s=!0,m.fill=g,m.stroke=y,m.autoStroke=_,m.align=a,m.verticalAlign=o,e.setDefaultTextStyle(m)),e.__dirty|=Cn,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?yr:gr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Object(_i["h"])(e);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(_i["i"])(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Object(Ft["m"])(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(Object(Ft["A"])(t))for(var n=t,i=Object(Ft["F"])(n),r=0;r<i.length;r++){var a=i[r];this.attrKV(a,t[a])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==Fr)){var a=i.targetName,o=a?e[a]:e;i.saveTo(o)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Br)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Fr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Fr,a=this.hasState();if(a||!r){var o=this.currentStates,s=this.stateTransition;if(!(Object(Ft["r"])(o,t)>=0)||!e&&1!==o.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||r){r||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,c=this._textGuide;return d&&d.useState(t,e,n,u),c&&c.useState(t,e,n,u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Cn),l}Object(Ft["G"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,a=t.length,o=a===r.length;if(o)for(var s=0;s<a;s++)if(t[s]!==r[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var d=i[a-1],c=!!(d&&d.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,m=this._textGuide;f&&f.useStates(t,e,c),m&&m.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Cn)}else this.clearStates()},t.prototype.isSilent=function(){var t=this.silent,e=this.parent;while(!t&&e){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Object(Ft["r"])(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=Object(Ft["r"])(i,t),a=Object(Ft["r"])(i,e)>=0;r>=0?a?i.splice(r,1):i[r]=e:n&&!a&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];Object(Ft["m"])(n,r),r.textConfig&&(e=e||{},Object(Ft["m"])(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,a){var o=!(e&&i);e&&e.textConfig?(this.textConfig=Object(Ft["m"])({},i?this.textConfig:n.textConfig),Object(Ft["m"])(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<Br.length;u++){var d=Br[u],c=r&&Wr[d];e&&null!=e[d]?c?(l=!0,s[d]=e[d]):this[d]=e[d]:o&&null!=n[d]&&(c?(l=!0,s[d]=n[d]):this[d]=n[d])}if(!r)for(u=0;u<this.animators.length;u++){var h=this.animators[u],p=h.targetName;h.getLoop()||h.__changeFinalValue(p?(e||n)[p]:e||n)}l&&this._transitionState(t,s,a)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Or,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(Ft["m"])(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=Cn;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var r=new Wi(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=Object(Ft["r"])(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],a=0;a<i;a++){var o=n[a];t&&t!==o.scope?r.push(o):o.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){qr(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){qr(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=qr(this,e,n,i),a=0;a<r.length;a++)r[a].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Cn;function n(t,n,i,r){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[n]){var t=this[n]=[];a(this,t)}return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,a(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function qr(t,e,n,i,r){n=n||{};var a=[];Qr(t,"",t,e,n,i,a,r);var o=a.length,s=!1,l=n.done,u=n.aborted,d=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},c=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&n.during&&a[0].during((function(t,e){n.during(e)}));for(var h=0;h<a.length;h++){var p=a[h];d&&p.done(d),c&&p.aborted(c),n.force&&p.duration(n.duration),p.start(n.easing)}return a}function Xr(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Zr(t){return Object(Ft["u"])(t[0])}function Jr(t,e,n){if(Object(Ft["u"])(e[n]))if(Object(Ft["u"])(t[n])||(t[n]=[]),Object(Ft["E"])(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),Xr(t[n],e[n],i))}else{var r=e[n],a=t[n],o=r.length;if(Zr(r))for(var s=r[0].length,l=0;l<o;l++)a[l]?Xr(a[l],r[l],s):a[l]=Array.prototype.slice.call(r[l]);else Xr(a,r,o);a.length=r.length}else t[n]=e[n]}function $r(t,e){return t===e||Object(Ft["u"])(t)&&Object(Ft["u"])(e)&&Kr(t,e)}function Kr(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function Qr(t,e,n,i,r,a,o,s){for(var l=Object(Ft["F"])(i),u=r.duration,d=r.delay,c=r.additive,h=r.setToFinal,p=!Object(Ft["A"])(a),f=t.animators,m=[],g=0;g<l.length;g++){var y=l[g],_=i[y];if(null!=_&&null!=n[y]&&(p||a[y]))if(!Object(Ft["A"])(_)||Object(Ft["u"])(_)||Object(Ft["x"])(_))m.push(y);else{if(e){s||(n[y]=_,t.updateDuringAnimation(e));continue}Qr(t,y,n[y],_,r,a&&a[y],o,s)}else s||(n[y]=_,t.updateDuringAnimation(e),m.push(y))}var v=m.length;if(!c&&v)for(var b=0;b<f.length;b++){var x=f[b];if(x.targetName===e){var M=x.stopTracks(m);if(M){var w=Object(Ft["r"])(f,x);f.splice(w,1)}}}if(r.force||(m=Object(Ft["n"])(m,(function(t){return!$r(i[t],n[t])})),v=m.length),v>0||r.force&&!o.length){var S=void 0,L=void 0,k=void 0;if(s){L={},h&&(S={});for(b=0;b<v;b++){y=m[b];L[y]=n[y],h?S[y]=i[y]:n[y]=i[y]}}else if(h){k={};for(b=0;b<v;b++){y=m[b];k[y]=Ti(n[y]),Jr(n,i,y)}}x=new Wi(n,!1,!1,c?Object(Ft["n"])(f,(function(t){return t.targetName===e})):null);x.targetName=e,r.scope&&(x.scope=r.scope),h&&S&&x.whenWithKeys(0,S,m),k&&x.whenWithKeys(0,k,m),x.whenWithKeys(null==u?500:u,s?L:i,m).delay(d||0),t.addAnimator(x,e),o.push(x)}}Object(Ft["K"])(Ur,ce),Object(Ft["K"])(Ur,Or);var ta=Ur,ea=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return Rt(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=Ft["r"](this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=Ft["r"](n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new ln(0,0,0,0),n=t||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?(ln.applyTransform(e,s,l),r=r||e.clone(),r.union(e)):(r=r||s.clone(),r.union(s))}}return r||e},e}(ta);ea.prototype.type="group";var na=ea,ia={},ra={};
294
294
  /*!
295
295
  * ZRender, a high performance 2d drawing library.
296
296
  *