123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{0:function(e,t){},"0004":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("66fd")),r=a(n("26cb"));function a(e){return e&&e.__esModule?e:{default:e}}o.default.use(r.default);var s=new r.default.Store({state:{statusBarHeight:null,topbarOffsetHeight:null,tabbarHeight:null,hasSafeArea:null,platform:null,isUpdateUserInfo:!1,appId:"wxc351e5dcc35e5b30",version:null,service:null,latitude:null,longitude:null,userInfo:null,imageCdn:null,videoCdn:null,IMloadSig:null},mutations:{setStatusBarHeight:function(e,t){e.statusBarHeight=t},setTopbarOffsetHeight:function(e,t){e.topbarOffsetHeight=t},setTabBarHeight:function(e,t){e.tabbarHeight=t},setHasSafeArea:function(e,t){e.hasSafeArea=t},setPlatform:function(e,t){e.platform=t},setIsUpdateUserInfo:function(e,t){e.isUpdateUserInfo=t},setVersion:function(e,t){e.version=t},setService:function(e,t){e.service=t},setLatitude:function(e,t){e.latitude=t},setLongitude:function(e,t){e.longitude=t},setUserInfo:function(e,t){e.userInfo=t},setImageCdn:function(e,t){e.imageCdn=t},setVideoCdn:function(e,t){e.videoCdn=t},setImLoadSig:function(e,t){e.IMloadSig=t}},modules:{}});t.default=s},"01b0":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t}))},"023f":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"04ca":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,r=this._iv,a=this._keystream;r&&(a=this._keystream=r.slice(0),this._iv=void 0),n.encryptBlock(a,0);for(var s=0;s<o;s++)e[t+s]^=a[s]}});return t.Decryptor=n,t}(),e.mode.OFB}))},"054d":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(e,t,n,o){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return o||t?r[n][0]:r[n][1]}return t}))},"06a7":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:o?r[n][0]:r[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},"0957":function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(t){var n=e,o=n.lib,r=o.Base,a=o.WordArray,s=n.x64={};s.Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=r.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],o=0;o<t;o++){var r=e[o];n.push(r.high),n.push(r.low)}return a.create(n,this.sigBytes)},clone:function(){for(var e=r.clone.call(this),t=e.words=this.words.slice(0),n=t.length,o=0;o<n;o++)t[o]=t[o].clone();return e}})}(),e}))},"0a3b":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),o=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,o){return e?/-MMM-/.test(o)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},"0ca2":function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.WordArray,r=t.enc;r.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,o=this._map;e.clamp();for(var r=[],a=0;a<n;a+=3)for(var s=t[a>>>2]>>>24-a%4*8&255,i=t[a+1>>>2]>>>24-(a+1)%4*8&255,u=t[a+2>>>2]>>>24-(a+2)%4*8&255,c=s<<16|i<<8|u,d=0;d<4&&a+.75*d<n;d++)r.push(o.charAt(c>>>6*(3-d)&63));var l=o.charAt(64);if(l)while(r.length%4)r.push(l);return r.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var r=0;r<n.length;r++)o[n.charCodeAt(r)]=r}var s=n.charAt(64);if(s){var i=e.indexOf(s);-1!==i&&(t=i)}return a(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function a(e,t,n){for(var r=[],a=0,s=0;s<t;s++)if(s%4){var i=n[e.charCodeAt(s-1)]<<s%4*2,u=n[e.charCodeAt(s)]>>>6-s%4*2,c=i|u;r[a>>>2]|=c<<24-a%4*8,a++}return o.create(r,a)}}(),e.enc.Base64}))},"0d7a":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t}))},"0dfe":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(o,r,a,s){var i=t(o),u=n[e][t(o)];return 2===i&&(u=u[r?0:1]),u.replace(/%d/i,o)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return a}))},"0f14":function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.WordArray,r=t.enc;r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],r=0;r<n;r+=2){var a=t[r>>>2]>>>16-r%4*8&65535;o.push(String.fromCharCode(a))}return o.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>1]|=e.charCodeAt(r)<<16-r%2*16;return o.create(n,2*t)}};function a(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],r=0;r<n;r+=2){var s=a(t[r>>>2]>>>16-r%4*8&65535);o.push(String.fromCharCode(s))}return o.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>1]|=a(e.charCodeAt(r)<<16-r%2*16);return o.create(n,2*t)}}}(),e.enc.Utf16}))},"0f41":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,a,s){var i=n(t),u=o[e][n(t)];return 2===i&&(u=u[r?0:1]),u.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},"0f52":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,o){var r=t.words[o];return 1===o.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},n=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"0ff9":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});return t}))},"10da":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"12ce":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return function(t){var n=e,o=n.lib,r=o.CipherParams,a=n.enc,s=a.Hex,i=n.format;i.Hex={stringify:function(e){return e.ciphertext.toString(s)},parse:function(e){var t=s.parse(e);return r.create({ciphertext:t})}}}(),e.format.Hex}))},"13e8":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},1583:function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.WordArray,r=n.Hasher,a=t.algo,s=[],i=a.SHA1=r.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],r=n[1],a=n[2],i=n[3],u=n[4],c=0;c<80;c++){if(c<16)s[c]=0|e[t+c];else{var d=s[c-3]^s[c-8]^s[c-14]^s[c-16];s[c]=d<<1|d>>>31}var l=(o<<5|o>>>27)+u+s[c];l+=c<20?1518500249+(r&a|~r&i):c<40?1859775393+(r^a^i):c<60?(r&a|r&i|a&i)-1894007588:(r^a^i)-899497514,u=i,i=a,a=r<<30|r>>>2,r=o,o=l}n[0]=n[0]+o|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+i|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(o+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=r._createHelper(i),t.HmacSHA1=r._createHmacHelper(i)}(),e.SHA1}))},1687:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=n("7f74");function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={login:{call4VeriCode:function(e){return(0,r.request)("/unified/call4VeriCode","POST",e)},login:function(e){return(0,r.request)("/unified/login","POST",e)},wxLogin:function(e){return(0,r.request)("/unified/login","POST",e)},saveSex:function(e){return(0,r.request)("/saveData1","POST",e)},saveFigure:function(e){return(0,r.request)("/saveData2","POST",e)},saveDatum:function(e){return(0,r.request)("/saveData3","POST",e)},saveCity:function(e){return(0,r.request)("/saveData4","POST",e)},saveWechat:function(e){return(0,r.request)("/saveData5","POST",e)},popularCities:function(e){return(0,r.request)("/popularCities","POST",e)},upload:function(e){return(0,r.request)("/faceImage/upload","POST",e)},randNick:function(e){return(0,r.request)("/rdk","POST",e)},editPersonal:function(e){return(0,r.request)("/editPersonal","POST",e)},labelsConfig:function(e){return(0,r.request)("/txmqgetUserWantedLabels","POST",e)},editHead:function(e){return(0,r.request)("/editHeadIcon","POST",e)}},public:{aliossToken:function(e){return(0,r.request)("/alioss/token","POST",e)},aliossCdn:function(e){return(0,r.request)("/cdnConfig","POST",e)},videoProcess:function(e){return(0,r.request)("/txmqpersonalPageHomeVideoProcessing","POST",e)},config:function(e){return(0,r.request)("/lcds","POST",e)},ranking:function(e){return(0,r.request)("/txmqhotRanking","POST",e)},friends:function(e){return(0,r.request)("/loadFriendsListByIndex","POST",e)},mine:function(e){return(0,r.request)("/lmtf","POST",e)},album:function(e){return(0,r.request)("/auls","POST",e)},albumSort:function(e){return(0,r.request)("/resetMediaSeqs","POST",e)},albumDelete:function(e){return(0,r.request)("/rmvMedia","POST",e)},albumAdd:function(e){return(0,r.request)("/addMediaBatch","POST",e)},cover:function(e){return(0,r.request)("/tpvp","POST",e)},mineDetail:function(e){return(0,r.request)("/loadUserDetailSelf","POST",e)},userDetail:function(e){return(0,r.request)("/loadUserDetailOther","POST",e)},isLike:function(e){return(0,r.request)("/juur","POST",e)},userData:function(e){return(0,r.request)("/txmqloadUsersByType","POST",e)},guestor:function(e){return(0,r.request)("/loadUsersByType","POST",e)},priceBySceneConfigs:function(e){return(0,r.request)("/loadPriceBySceneConfigs","POST",e)},vipPromotions:function(e){return(0,r.request)("/listPromotionsPay","POST",e)},heartBeat:function(e){return(0,r.request)("/heartbeat","POST",e)},seeMaleDetail:function(e){return(0,r.request)("/vfdmo","POST",e)},seeFamaleDetail:function(e){return(0,r.request)("/vmdfo","POST",e)},notifyActive:function(e){return(0,r.request)("/activeNotifyOverview","POST",e)},loadSystemMsgs:function(e){return(0,r.request)("/loadSystemMsgs","POST",e)},search:function(e){return(0,r.request)("/loadUsersByIndex","POST",e)},friendsNoAuth:function(e){return(0,r.request)("/loadUsersByIndexFirstNoAuth","POST",e)}},pay:{creatWxOrder:function(e){return(0,r.request)("/createWxpayOrderByMiniProgram","POST",e)}},IM:{loadSig:function(e){return(0,r.request)("/loadSig","POST",e)}},bag:(o={loadMyWithdrawalInfo:function(e){return(0,r.request)("/bag/loadMyWithdrawalInfo","POST",e)},my:function(e){return(0,r.request)("/bag/my","POST",e)},incomeList:function(e){return(0,r.request)("/bag/incomeList",e)},loadMyWithdrawRecords:function(e){return(0,r.request)("/bag/loadMyWithdrawRecords","POST","POST",e)},coinList:function(e){return(0,r.request)("/bag/coinList","POST",e)},editAlipay:function(e){return(0,r.request)("/bag/editAlipay","POST",e)},createWithdrawalOrder:function(e){return(0,r.request)("/bag/createWithdrawalOrder","POST",e)},isEffectiveWithdrawalOrder:function(e){return(0,r.request)("/bag/isEffectiveWithdrawalOrder","POST",e)},submitWithdrawalOrder:function(e){return(0,r.request)("/bag/submitWithdrawalOrder","POST",e)},createIncomeOrder:function(e){return(0,r.request)("/bag/createIncomeOrder","POST",e)},submitIncomeOrder:function(e){return(0,r.request)("/bag/submitIncomeOrder","POST",e)}},a(o,"editAlipay",(function(e){return(0,r.request)("/bag/editAlipay","POST",e)})),a(o,"loadMyWithdrawDetail",(function(e){return(0,r.request)("/bag/loadMyWithdrawDetail","POST",e)})),o)},i=s;t.default=i},1757:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},1772:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,o){return e?/-MMM-/.test(o)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return a}))},"1def":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,o){var r={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===o?n?"хвилина":"хвилину":"h"===o?n?"година":"годину":e+" "+t(r[o],+e)}function o(e,t){var n,o={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?o["nominative"].slice(1,7).concat(o["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",o[n][e.day()]):o["nominative"]}function r(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:o,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return a}))},"1f3e":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"1f61":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,n,a,s){var i=o(t),u=r[e][o(t)];return 2===i&&(u=u[n?0:1]),u.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],i=e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},"1fb5":function(e,t,n){"use strict";t.byteLength=d,t.toByteArray=_,t.fromByteArray=m;for(var o=[],r=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,u=s.length;i<u;++i)o[i]=s[i],r[s.charCodeAt(i)]=i;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var o=n===t?0:4-n%4;return[n,o]}function d(e){var t=c(e),n=t[0],o=t[1];return 3*(n+o)/4-o}function l(e,t,n){return 3*(t+n)/4-n}function _(e){var t,n,o=c(e),s=o[0],i=o[1],u=new a(l(e,s,i)),d=0,_=i>0?s-4:s;for(n=0;n<_;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[d++]=t>>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===i&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[d++]=255&t),1===i&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u}function p(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function h(e,t,n){for(var o,r=[],a=t;a<n;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),r.push(p(o));return r.join("")}function m(e){for(var t,n=e.length,r=n%3,a=[],s=16383,i=0,u=n-r;i<u;i+=s)a.push(h(e,i,i+s>u?u:i+s));return 1===r?(t=e[n-1],a.push(o[t>>2]+o[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],a.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"=")),a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"1fc5":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"203b":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},2244:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var o=this._calendarEl[e],r=n&&n.hours();return t(o)&&(o=o.apply(n)),o.replace("{}",r%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n}))},"23b7":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,o){var r=e;switch(n){case"s":return o||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(o||t)?" másodperc":" másodperce";case"m":return"egy"+(o||t?" perc":" perce");case"mm":return r+(o||t?" perc":" perce");case"h":return"egy"+(o||t?" óra":" órája");case"hh":return r+(o||t?" óra":" órája");case"d":return"egy"+(o||t?" nap":" napja");case"dd":return r+(o||t?" nap":" napja");case"M":return"egy"+(o||t?" hónap":" hónapja");case"MM":return r+(o||t?" hónap":" hónapja");case"y":return"egy"+(o||t?" év":" éve");case"yy":return r+(o||t?" év":" éve")}return""}function o(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var r=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return o.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return o.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},"23bd":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n){var o=e+" ";switch(n){case"ss":return o+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",o;case"m":return t?"jedna minuta":"jedne minute";case"mm":return o+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",o;case"h":return t?"jedan sat":"jednog sata";case"hh":return o+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",o;case"dd":return o+=1===e?"dan":"dana",o;case"MM":return o+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",o;case"yy":return o+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",o}}var n=e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"23c1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emojiName=t.emojiMap=t.emojiUrl=void 0;var o="https://web.sdk.qcloud.com/im/assets/emoji/";t.emojiUrl=o;var r={"[NO]":"emoji_0@2x.png","[OK]":"emoji_1@2x.png","[下雨]":"emoji_2@2x.png","[么么哒]":"emoji_3@2x.png","[乒乓]":"emoji_4@2x.png","[便便]":"emoji_5@2x.png","[信封]":"emoji_6@2x.png","[偷笑]":"emoji_7@2x.png","[傲慢]":"emoji_8@2x.png","[再见]":"emoji_9@2x.png","[冷汗]":"emoji_10@2x.png","[凋谢]":"emoji_11@2x.png","[刀]":"emoji_12@2x.png","[删除]":"emoji_13@2x.png","[勾引]":"emoji_14@2x.png","[发呆]":"emoji_15@2x.png","[发抖]":"emoji_16@2x.png","[可怜]":"emoji_17@2x.png","[可爱]":"emoji_18@2x.png","[右哼哼]":"emoji_19@2x.png","[右太极]":"emoji_20@2x.png","[右车头]":"emoji_21@2x.png","[吐]":"emoji_22@2x.png","[吓]":"emoji_23@2x.png","[咒骂]":"emoji_24@2x.png","[咖啡]":"emoji_25@2x.png","[啤酒]":"emoji_26@2x.png","[嘘]":"emoji_27@2x.png","[回头]":"emoji_28@2x.png","[困]":"emoji_29@2x.png","[坏笑]":"emoji_30@2x.png","[多云]":"emoji_31@2x.png","[大兵]":"emoji_32@2x.png","[大哭]":"emoji_33@2x.png","[太阳]":"emoji_34@2x.png","[奋斗]":"emoji_35@2x.png","[奶瓶]":"emoji_36@2x.png","[委屈]":"emoji_37@2x.png","[害羞]":"emoji_38@2x.png","[尴尬]":"emoji_39@2x.png","[左哼哼]":"emoji_40@2x.png","[左太极]":"emoji_41@2x.png","[左车头]":"emoji_42@2x.png","[差劲]":"emoji_43@2x.png","[弱]":"emoji_44@2x.png","[强]":"emoji_45@2x.png","[彩带]":"emoji_46@2x.png","[彩球]":"emoji_47@2x.png","[得意]":"emoji_48@2x.png","[微笑]":"emoji_49@2x.png","[心碎了]":"emoji_50@2x.png","[快哭了]":"emoji_51@2x.png","[怄火]":"emoji_52@2x.png","[怒]":"emoji_53@2x.png","[惊恐]":"emoji_54@2x.png","[惊讶]":"emoji_55@2x.png","[憨笑]":"emoji_56@2x.png","[手枪]":"emoji_57@2x.png","[打哈欠]":"emoji_58@2x.png","[抓狂]":"emoji_59@2x.png","[折磨]":"emoji_60@2x.png","[抠鼻]":"emoji_61@2x.png","[抱抱]":"emoji_62@2x.png","[抱拳]":"emoji_63@2x.png","[拳头]":"emoji_64@2x.png","[挥手]":"emoji_65@2x.png","[握手]":"emoji_66@2x.png","[撇嘴]":"emoji_67@2x.png","[擦汗]":"emoji_68@2x.png","[敲打]":"emoji_69@2x.png","[晕]":"emoji_70@2x.png","[月亮]":"emoji_71@2x.png","[棒棒糖]":"emoji_72@2x.png","[汽车]":"emoji_73@2x.png","[沙发]":"emoji_74@2x.png","[流汗]":"emoji_75@2x.png","[流泪]":"emoji_76@2x.png","[激动]":"emoji_77@2x.png","[灯泡]":"emoji_78@2x.png","[炸弹]":"emoji_79@2x.png","[熊猫]":"emoji_80@2x.png","[爆筋]":"emoji_81@2x.png","[爱你]":"emoji_82@2x.png","[爱心]":"emoji_83@2x.png","[爱情]":"emoji_84@2x.png","[猪头]":"emoji_85@2x.png","[猫咪]":"emoji_86@2x.png","[献吻]":"emoji_87@2x.png","[玫瑰]":"emoji_88@2x.png","[瓢虫]":"emoji_89@2x.png","[疑问]":"emoji_90@2x.png","[白眼]":"emoji_91@2x.png","[皮球]":"emoji_92@2x.png","[睡觉]":"emoji_93@2x.png","[磕头]":"emoji_94@2x.png","[示爱]":"emoji_95@2x.png","[礼品袋]":"emoji_96@2x.png","[礼物]":"emoji_97@2x.png","[篮球]":"emoji_98@2x.png","[米饭]":"emoji_99@2x.png","[糗大了]":"emoji_100@2x.png","[红双喜]":"emoji_101@2x.png","[红灯笼]":"emoji_102@2x.png","[纸巾]":"emoji_103@2x.png","[胜利]":"emoji_104@2x.png","[色]":"emoji_105@2x.png","[药]":"emoji_106@2x.png","[菜刀]":"emoji_107@2x.png","[蛋糕]":"emoji_108@2x.png","[蜡烛]":"emoji_109@2x.png","[街舞]":"emoji_110@2x.png","[衰]":"emoji_111@2x.png","[西瓜]":"emoji_112@2x.png","[调皮]":"emoji_113@2x.png","[象棋]":"emoji_114@2x.png","[跳绳]":"emoji_115@2x.png","[跳跳]":"emoji_116@2x.png","[车厢]":"emoji_117@2x.png","[转圈]":"emoji_118@2x.png","[鄙视]":"emoji_119@2x.png","[酷]":"emoji_120@2x.png","[钞票]":"emoji_121@2x.png","[钻戒]":"emoji_122@2x.png","[闪电]":"emoji_123@2x.png","[闭嘴]":"emoji_124@2x.png","[闹钟]":"emoji_125@2x.png","[阴险]":"emoji_126@2x.png","[难过]":"emoji_127@2x.png","[雨伞]":"emoji_128@2x.png","[青蛙]":"emoji_129@2x.png","[面条]":"emoji_130@2x.png","[鞭炮]":"emoji_131@2x.png","[风车]":"emoji_132@2x.png","[飞吻]":"emoji_133@2x.png","[飞机]":"emoji_134@2x.png","[饥饿]":"emoji_135@2x.png","[香蕉]":"emoji_136@2x.png","[骷髅]":"emoji_137@2x.png","[麦克风]":"emoji_138@2x.png","[麻将]":"emoji_139@2x.png","[鼓掌]":"emoji_140@2x.png","[龇牙]":"emoji_141@2x.png"};t.emojiMap=r;var a=["[龇牙]","[调皮]","[流汗]","[偷笑]","[再见]","[敲打]","[擦汗]","[猪头]","[玫瑰]","[流泪]","[大哭]","[嘘]","[酷]","[抓狂]","[委屈]","[便便]","[炸弹]","[菜刀]","[可爱]","[色]","[害羞]","[得意]","[吐]","[微笑]","[怒]","[尴尬]","[惊恐]","[冷汗]","[爱心]","[示爱]","[白眼]","[傲慢]","[难过]","[惊讶]","[疑问]","[困]","[么么哒]","[憨笑]","[爱情]","[衰]","[撇嘴]","[阴险]","[奋斗]","[发呆]","[右哼哼]","[抱抱]","[坏笑]","[飞吻]","[鄙视]","[晕]","[大兵]","[可怜]","[强]","[弱]","[握手]","[胜利]","[抱拳]","[凋谢]","[米饭]","[蛋糕]","[西瓜]","[啤酒]","[瓢虫]","[勾引]","[OK]","[爱你]","[咖啡]","[月亮]","[刀]","[发抖]","[差劲]","[拳头]","[心碎了]","[太阳]","[礼物]","[皮球]","[骷髅]","[挥手]","[闪电]","[饥饿]","[困]","[咒骂]","[折磨]","[抠鼻]","[鼓掌]","[糗大了]","[左哼哼]","[打哈欠]","[快哭了]","[吓]","[篮球]","[乒乓]","[NO]","[跳跳]","[怄火]","[转圈]","[磕头]","[回头]","[跳绳]","[激动]","[街舞]","[献吻]","[左太极]","[右太极]","[闭嘴]","[猫咪]","[红双喜]","[鞭炮]","[红灯笼]","[麻将]","[麦克风]","[礼品袋]","[信封]","[象棋]","[彩带]","[蜡烛]","[爆筋]","[棒棒糖]","[奶瓶]","[面条]","[香蕉]","[飞机]","[左车头]","[车厢]","[右车头]","[多云]","[下雨]","[钞票]","[熊猫]","[灯泡]","[风车]","[闹钟]","[雨伞]","[彩球]","[钻戒]","[沙发]","[纸巾]","[手枪]","[青蛙]"];t.emojiName=a},2432:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},"26cb":function(e,t,n){"use strict";(function(t){
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function n(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:o});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[o].concat(e.init):o,n.call(this,e)}}function o(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var o="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},r=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function i(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var o=Array.isArray(e)?[]:{};return t.push({original:e,copy:o}),Object.keys(e).forEach((function(n){o[n]=i(e[n],t)})),o}function u(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function l(e,t){return function(){return e(t)}}var _=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},_.prototype.addChild=function(e,t){this._children[e]=t},_.prototype.removeChild=function(e){delete this._children[e]},_.prototype.getChild=function(e){return this._children[e]},_.prototype.hasChild=function(e){return e in this._children},_.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},_.prototype.forEachChild=function(e){u(this._children,e)},_.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},_.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},_.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(_.prototype,p);var h=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return void 0;m(e.concat(o),t.getChild(o),n.modules[o])}}h.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},h.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},h.prototype.update=function(e){m([],this.root,e)},h.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var r=new _(t,n);if(0===e.length)this.root=r;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],r)}t.modules&&u(t.modules,(function(t,r){o.register(e.concat(r),t,n)}))},h.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},h.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var f;var g=function(e){var t=this;void 0===e&&(e={}),!f&&"undefined"!==typeof window&&window.Vue&&b(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new f,this._makeLocalGettersCache=Object.create(null);var r=this,s=this,i=s.dispatch,u=s.commit;this.dispatch=function(e,t){return i.call(r,e,t)},this.commit=function(e,t,n){return u.call(r,e,t,n)},this.strict=o;var c=this._modules.root.state;T(this,c,[],this._modules.root),L(this,c),n.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:f.config.devtools;d&&a(this)},M={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function v(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;T(e,n,[],e._modules.root,!0),L(e,n,t)}function L(e,t,n){var o=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,a={};u(r,(function(t,n){a[n]=l(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=f.config.silent;f.config.silent=!0,e._vm=new f({data:{$$state:t},computed:a}),f.config.silent=s,e.strict&&C(e),o&&(n&&e._withCommit((function(){o._data.$$state=null})),f.nextTick((function(){return o.$destroy()})))}function T(e,t,n,o,r){var a=!n.length,s=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=o),!a&&!r){var i=A(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){f.set(i,u,o.state)}))}var c=o.context=D(e,s,n);o.forEachMutation((function(t,n){var o=s+n;I(e,o,t,c)})),o.forEachAction((function(t,n){var o=t.root?n:s+n,r=t.handler||t;S(e,o,r,c)})),o.forEachGetter((function(t,n){var o=s+n;E(e,o,t,c)})),o.forEachChild((function(o,a){T(e,t,n.concat(a),o,r)}))}function D(e,t,n){var o=""===t,r={dispatch:o?e.dispatch:function(n,o,r){var a=O(n,o,r),s=a.payload,i=a.options,u=a.type;return i&&i.root||(u=t+u),e.dispatch(u,s)},commit:o?e.commit:function(n,o,r){var a=O(n,o,r),s=a.payload,i=a.options,u=a.type;i&&i.root||(u=t+u),e.commit(u,s,i)}};return Object.defineProperties(r,{getters:{get:o?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return A(e.state,n)}}}),r}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,o)===t){var a=r.slice(o);Object.defineProperty(n,a,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function I(e,t,n,o){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,o.state,t)}))}function S(e,t,n,o){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return d(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function E(e,t,n,o){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)})}function C(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function b(e){f&&e===f||(f=e,n(f))}M.state.get=function(){return this._vm._data.$$state},M.state.set=function(e){0},g.prototype.commit=function(e,t,n){var o=this,r=O(e,t,n),a=r.type,s=r.payload,i=(r.options,{type:a,payload:s}),u=this._mutations[a];u&&(this._withCommit((function(){u.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(i,o.state)})))},g.prototype.dispatch=function(e,t){var n=this,o=O(e,t),r=o.type,a=o.payload,s={type:r,payload:a},i=this._actions[r];if(i){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(c){0}var u=i.length>1?Promise.all(i.map((function(e){return e(a)}))):i[0](a);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(c){0}t(e)}))}))}},g.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},g.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},g.prototype.watch=function(e,t,n){var o=this;return this._watcherVM.$watch((function(){return e(o.state,o.getters)}),t,n)},g.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},g.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),T(this,this.state,e,this._modules.get(e),n.preserveState),L(this,this.state)},g.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=A(t.state,e.slice(0,-1));f.delete(n,e[e.length-1])})),v(this)},g.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},g.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),v(this,!0)},g.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(g.prototype,M);var w=F((function(e,t){var n={};return G(t).forEach((function(t){var o=t.key,r=t.val;n[o]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var o=x(this.$store,"mapState",e);if(!o)return;t=o.context.state,n=o.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[o].vuex=!0})),n})),N=F((function(e,t){var n={};return G(t).forEach((function(t){var o=t.key,r=t.val;n[o]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var o=this.$store.commit;if(e){var a=x(this.$store,"mapMutations",e);if(!a)return;o=a.context.commit}return"function"===typeof r?r.apply(this,[o].concat(t)):o.apply(this.$store,[r].concat(t))}})),n})),R=F((function(e,t){var n={};return G(t).forEach((function(t){var o=t.key,r=t.val;r=e+r,n[o]=function(){if(!e||x(this.$store,"mapGetters",e))return this.$store.getters[r]},n[o].vuex=!0})),n})),P=F((function(e,t){var n={};return G(t).forEach((function(t){var o=t.key,r=t.val;n[o]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var o=this.$store.dispatch;if(e){var a=x(this.$store,"mapActions",e);if(!a)return;o=a.context.dispatch}return"function"===typeof r?r.apply(this,[o].concat(t)):o.apply(this.$store,[r].concat(t))}})),n})),Y=function(e){return{mapState:w.bind(null,e),mapGetters:R.bind(null,e),mapMutations:N.bind(null,e),mapActions:P.bind(null,e)}};function G(e){return U(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function U(e){return Array.isArray(e)||c(e)}function F(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function x(e,t,n){var o=e._modulesNamespaceMap[n];return o}function H(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var o=e.transformer;void 0===o&&(o=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var u=e.logMutations;void 0===u&&(u=!0);var c=e.logActions;void 0===c&&(c=!0);var d=e.logger;return void 0===d&&(d=console),function(e){var l=i(e.state);"undefined"!==typeof d&&(u&&e.subscribe((function(e,a){var s=i(a);if(n(e,l,s)){var u=B(),c=r(e),_="mutation "+e.type+u;j(d,_,t),d.log("%c prev state","color: #9E9E9E; font-weight: bold",o(l)),d.log("%c mutation","color: #03A9F4; font-weight: bold",c),d.log("%c next state","color: #4CAF50; font-weight: bold",o(s)),q(d)}l=s})),c&&e.subscribeAction((function(e,n){if(a(e,n)){var o=B(),r=s(e),i="action "+e.type+o;j(d,i,t),d.log("%c action","color: #03A9F4; font-weight: bold",r),q(d)}})))}}function j(e,t,n){var o=n?e.groupCollapsed:e.group;try{o.call(e,t)}catch(r){e.log(t)}}function q(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function B(){var e=new Date;return" @ "+W(e.getHours(),2)+":"+W(e.getMinutes(),2)+":"+W(e.getSeconds(),2)+"."+W(e.getMilliseconds(),3)}function V(e,t){return new Array(t+1).join(e)}function W(e,t){return V("0",t-e.toString().length)+e}var K={Store:g,install:b,version:"3.6.2",mapState:w,mapMutations:N,mapGetters:R,mapActions:P,createNamespacedHelpers:Y,createLogger:H};e.exports=K}).call(this,n("c8ba"))},"29b3":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("611e"))})(0,(function(e){e.lib.Cipher||function(t){var n=e,o=n.lib,r=o.Base,a=o.WordArray,s=o.BufferedBlockAlgorithm,i=n.enc,u=(i.Utf8,i.Base64),c=n.algo,d=c.EvpKDF,l=o.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?D:v}return function(t){return{encrypt:function(n,o,r){return e(o).encrypt(t,n,o,r)},decrypt:function(n,o,r){return e(o).decrypt(t,n,o,r)}}}}()}),_=(o.StreamCipher=l.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),p=o.BlockCipherMode=r.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=_.CBC=function(){var e=p.extend();function n(e,n,o){var r,a=this._iv;a?(r=a,this._iv=t):r=this._prevBlock;for(var s=0;s<o;s++)e[n+s]^=r[s]}return e.Encryptor=e.extend({processBlock:function(e,t){var o=this._cipher,r=o.blockSize;n.call(this,e,t,r),o.encryptBlock(e,t),this._prevBlock=e.slice(t,t+r)}}),e.Decryptor=e.extend({processBlock:function(e,t){var o=this._cipher,r=o.blockSize,a=e.slice(t,t+r);o.decryptBlock(e,t),n.call(this,e,t,r),this._prevBlock=a}}),e}(),m=n.pad={},f=m.Pkcs7={pad:function(e,t){for(var n=4*t,o=n-e.sigBytes%n,r=o<<24|o<<16|o<<8|o,s=[],i=0;i<o;i+=4)s.push(r);var u=a.create(s,o);e.concat(u)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},g=(o.BlockCipher=l.extend({cfg:l.cfg.extend({mode:h,padding:f}),reset:function(){var e;l.reset.call(this);var t=this.cfg,n=t.iv,o=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=o.createEncryptor:(e=o.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(o,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),o.CipherParams=r.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),M=n.format={},y=M.OpenSSL={stringify:function(e){var t,n=e.ciphertext,o=e.salt;return t=o?a.create([1398893684,1701076831]).concat(o).concat(n):n,t.toString(u)},parse:function(e){var t,n=u.parse(e),o=n.words;return 1398893684==o[0]&&1701076831==o[1]&&(t=a.create(o.slice(2,4)),o.splice(0,4),n.sigBytes-=16),g.create({ciphertext:n,salt:t})}},v=o.SerializableCipher=r.extend({cfg:r.extend({format:y}),encrypt:function(e,t,n,o){o=this.cfg.extend(o);var r=e.createEncryptor(n,o),a=r.finalize(t),s=r.cfg;return g.create({ciphertext:a,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:o.format})},decrypt:function(e,t,n,o){o=this.cfg.extend(o),t=this._parse(t,o.format);var r=e.createDecryptor(n,o).finalize(t.ciphertext);return r},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),L=n.kdf={},T=L.OpenSSL={execute:function(e,t,n,o){o||(o=a.random(8));var r=d.create({keySize:t+n}).compute(e,o),s=a.create(r.words.slice(t),4*n);return r.sigBytes=4*t,g.create({key:r,iv:s,salt:o})}},D=o.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:T}),encrypt:function(e,t,n,o){o=this.cfg.extend(o);var r=o.kdf.execute(n,e.keySize,e.ivSize);o.iv=r.iv;var a=v.encrypt.call(this,e,t,r.key,o);return a.mixIn(r),a},decrypt:function(e,t,n,o){o=this.cfg.extend(o),t=this._parse(t,o.format);var r=o.kdf.execute(n,e.keySize,e.ivSize,t.salt);o.iv=r.iv;var a=v.decrypt.call(this,e,t,r.key,o);return a}})}()}))},"29be":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1200?"上午":1200===o?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"2f55":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},o=e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return o}))},"300e":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},3138:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),o=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function s(e,t,n,o){var r=e+" ";switch(n){case"s":return t||o?"pár sekund":"pár sekundami";case"ss":return t||o?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":o?"minutu":"minutou";case"mm":return t||o?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||o?"den":"dnem";case"dd":return t||o?r+(a(e)?"dny":"dní"):r+"dny";case"M":return t||o?"měsíc":"měsícem";case"MM":return t||o?r+(a(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||o?"rok":"rokem";case"yy":return t||o?r+(a(e)?"roky":"let"):r+"lety"}}var i=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},3171:function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(t){var n=e,o=n.lib,r=o.WordArray,a=o.Hasher,s=n.algo,i=[],u=[];(function(){function e(e){for(var n=t.sqrt(e),o=2;o<=n;o++)if(!(e%o))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var o=2,r=0;while(r<64)e(o)&&(r<8&&(i[r]=n(t.pow(o,.5))),u[r]=n(t.pow(o,1/3)),r++),o++})();var c=[],d=s.SHA256=a.extend({_doReset:function(){this._hash=new r.init(i.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],r=n[1],a=n[2],s=n[3],i=n[4],d=n[5],l=n[6],_=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var h=c[p-15],m=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,f=c[p-2],g=(f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10;c[p]=m+c[p-7]+g+c[p-16]}var M=i&d^~i&l,y=o&r^o&a^r&a,v=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),L=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),T=_+L+M+u[p]+c[p],D=v+y;_=l,l=d,d=i,i=s+T|0,s=a,a=r,r=o,o=T+D|0}n[0]=n[0]+o|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+i|0,n[5]=n[5]+d|0,n[6]=n[6]+l|0,n[7]=n[7]+_|0},_doFinalize:function(){var e=this._data,n=e.words,o=8*this._nDataBytes,r=8*e.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=t.floor(o/4294967296),n[15+(r+64>>>9<<4)]=o,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=a._createHelper(d),n.HmacSHA256=a._createHmacHelper(d)}(Math),e.SHA256}))},"336d":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t}))},"365a":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},"36e7":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function o(e,o,r){return e+" "+n(t[r],e,o)}function r(e,o,r){return n(t[r],e,o)}function a(e,t){return t?"dažas sekundes":"dažām sekundēm"}var s=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:a,ss:o,m:r,mm:o,h:r,hh:o,d:r,dd:o,M:r,MM:o,y:r,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"378e":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0957"),n("e99f"))})(0,(function(e){return function(){var t=e,n=t.x64,o=n.Word,r=n.WordArray,a=t.algo,s=a.SHA512,i=a.SHA384=s.extend({_doReset:function(){this._hash=new r.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(i),t.HmacSHA384=s._createHmacHelper(i)}(),e.SHA384}))},"37dc":function(e,t,n){"use strict";(function(e,n){function o(e,t){return u(e)||i(e,t)||a(e,t)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function i(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,r=!1,a=void 0;try{for(var s,i=e[Symbol.iterator]();!(o=(s=i.next()).done);o=!0)if(n.push(s.value),t&&n.length===t)break}catch(u){r=!0,a=u}finally{try{o||null==i["return"]||i["return"]()}finally{if(r)throw a}}return n}}function u(e){if(Array.isArray(e))return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.compileI18nJsonStr=F,t.hasI18nJson=G,t.initVueI18n=R,t.isI18nStr=x,t.normalizeLocale=O,t.parseI18nJson=U,t.resolveLocale=V,t.isString=t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0;var _=Array.isArray,p=function(e){return null!==e&&"object"===typeof e},h=["{","}"],m=function(){function e(){c(this,e),this._caches=Object.create(null)}return l(e,[{key:"interpolate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;if(!t)return[e];var o=this._caches[e];return o||(o=M(e,n),this._caches[e]=o),y(o,t)}}]),e}();t.Formatter=m;var f=/^(?:\d)+/,g=/^(?:\w)+/;function M(e,t){var n=o(t,2),r=n[0],a=n[1],s=[],i=0,u="";while(i<e.length){var c=e[i++];if(c===r){u&&s.push({type:"text",value:u}),u="";var d="";c=e[i++];while(void 0!==c&&c!==a)d+=c,c=e[i++];var l=c===a,_=f.test(d)?"list":l&&g.test(d)?"named":"unknown";s.push({value:d,type:_})}else u+=c}return u&&s.push({type:"text",value:u}),s}function y(e,t){var n=[],o=0,r=_(t)?"list":p(t)?"named":"unknown";if("unknown"===r)return n;while(o<e.length){var a=e[o];switch(a.type){case"text":n.push(a.value);break;case"list":n.push(t[parseInt(a.value,10)]);break;case"named":"named"===r&&n.push(t[a.value]);break;case"unknown":0;break}o++}return n}var v="zh-Hans";t.LOCALE_ZH_HANS=v;var L="zh-Hant";t.LOCALE_ZH_HANT=L;var T="en";t.LOCALE_EN=T;var D="fr";t.LOCALE_FR=D;var k="es";t.LOCALE_ES=k;var I=Object.prototype.hasOwnProperty,S=function(e,t){return I.call(e,t)},E=new m;function C(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}function A(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}function O(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),0===e.indexOf("zh"))return e.indexOf("-hans")>-1?v:e.indexOf("-hant")>-1||C(e,["-tw","-hk","-mo","-cht"])?L:v;var n=A(e,[T,D,k]);return n||void 0}}var b=function(){function e(t){var n=t.locale,o=t.fallbackLocale,r=t.messages,a=t.watcher,s=t.formater;c(this,e),this.locale=T,this.fallbackLocale=T,this.message={},this.messages={},this.watchers=[],o&&(this.fallbackLocale=o),this.formater=s||E,this.messages=r||{},this.setLocale(n||T),a&&this.watchLocale(a)}return l(e,[{key:"setLocale",value:function(e){var t=this,n=this.locale;this.locale=O(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(e){e(t.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,n=this.watchers.push(e)-1;return function(){t.watchers.splice(n,1)}}},{key:"add",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((function(e){S(o,e)||(o[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,n){return this.formater.interpolate(e,t,n).join("")}},{key:"t",value:function(e,t,n){var o=this.message;return"string"===typeof t?(t=O(t,this.messages),t&&(o=this.messages[t])):n=t,S(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function w(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function N(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof n&&n.getLocale?n.getLocale():T}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var r=[t,e];e=r[0],t=r[1]}"string"!==typeof e&&(e=N()),"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||T);var a=new b({locale:e,fallbackLocale:n,messages:t,watcher:o}),s=function(e,t){if("function"!==typeof getApp)s=function(e,t){return a.t(e,t)};else{var n=!1;s=function(e,t){var o=getApp().$vm;return o&&(o.$locale,n||(n=!0,w(o,a))),a.t(e,t)}}return s(e,t)};return{i18n:a,f:function(e,t,n){return a.f(e,t,n)},t:function(e,t){return s(e,t)},add:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a.add(e,t,n)},watch:function(e){return a.watchLocale(e)},getLocale:function(){return a.getLocale()},setLocale:function(e){return a.setLocale(e)}}}t.I18n=b;var P,Y=function(e){return"string"===typeof e};function G(e,t){return P||(P=new m),B(e,(function(e,n){var o=e[n];return Y(o)?!!x(o,t)||void 0:G(o,t)}))}function U(e,t,n){return P||(P=new m),B(e,(function(e,o){var r=e[o];Y(r)?x(r,n)&&(e[o]=H(r,t,n)):U(r,t,n)})),e}function F(e,t){var n=t.locale,o=t.locales,r=t.delimiters;if(!x(e,r))return e;P||(P=new m);var a=[];Object.keys(o).forEach((function(e){e!==n&&a.push({locale:e,values:o[e]})})),a.unshift({locale:n,values:o[n]});try{return JSON.stringify(q(JSON.parse(e),a,r),null,2)}catch(s){}return e}function x(e,t){return e.indexOf(t[0])>-1}function H(e,t,n){return P.interpolate(e,t,n).join("")}function j(e,t,n,o){var r=e[t];if(Y(r)){if(x(r,o)&&(e[t]=H(r,n[0].values,o),n.length>1)){var a=e[t+"Locales"]={};n.forEach((function(e){a[e.locale]=H(r,e.values,o)}))}}else q(r,n,o)}function q(e,t,n){return B(e,(function(e,o){j(e,o,t,n)})),e}function B(e,t){if(_(e)){for(var n=0;n<e.length;n++)if(t(e,n))return!0}else if(p(e))for(var o in e)if(t(e,o))return!0;return!1}function V(e){return function(t){return t?(t=O(t)||t,W(t).find((function(t){return e.indexOf(t)>-1}))):t}}function W(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}t.isString=Y}).call(this,n("543d")["default"],n("c8ba"))},3828:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],o=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return o}))},"38b3":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},3945:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t}))},"39a3":function(e,t){},"39e5":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,o){return e?/-MMM-/.test(o)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return a}))},"3b0b":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"3b33":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t}))},"3d29":function(e,t,n){var o={"./af":"fd9c","./af.js":"fd9c","./ar":"1f61","./ar-dz":"0dfe","./ar-dz.js":"0dfe","./ar-kw":"01b0","./ar-kw.js":"01b0","./ar-ly":"0f41","./ar-ly.js":"0f41","./ar-ma":"f7b8","./ar-ma.js":"f7b8","./ar-sa":"d143","./ar-sa.js":"d143","./ar-tn":"8eaf","./ar-tn.js":"8eaf","./ar.js":"1f61","./az":"5f9a","./az.js":"5f9a","./be":"ffe4","./be.js":"ffe4","./bg":"f408","./bg.js":"f408","./bm":"8626","./bm.js":"8626","./bn":"5b55","./bn-bd":"ada4","./bn-bd.js":"ada4","./bn.js":"5b55","./bo":"7e14","./bo.js":"7e14","./br":"87f7","./br.js":"87f7","./bs":"d2f6","./bs.js":"d2f6","./ca":"481e","./ca.js":"481e","./cs":"3138","./cs.js":"3138","./cv":"ab45","./cv.js":"ab45","./cy":"93d6","./cy.js":"93d6","./da":"adae","./da.js":"adae","./de":"592a","./de-at":"c8b2","./de-at.js":"c8b2","./de-ch":"57f8","./de-ch.js":"57f8","./de.js":"592a","./dv":"aa27","./dv.js":"aa27","./el":"2244","./el.js":"2244","./en-au":"336d","./en-au.js":"336d","./en-ca":"6c74","./en-ca.js":"6c74","./en-gb":"10da","./en-gb.js":"10da","./en-ie":"dfac","./en-ie.js":"dfac","./en-il":"300e","./en-il.js":"300e","./en-in":"49fb","./en-in.js":"49fb","./en-nz":"a7c9","./en-nz.js":"a7c9","./en-sg":"eb91","./en-sg.js":"eb91","./eo":"d5cd","./eo.js":"d5cd","./es":"d2a7","./es-do":"39e5","./es-do.js":"39e5","./es-mx":"4102","./es-mx.js":"4102","./es-us":"1772","./es-us.js":"1772","./es.js":"d2a7","./et":"06a7","./et.js":"06a7","./eu":"ed6a","./eu.js":"ed6a","./fa":"b431","./fa.js":"b431","./fi":"c40e","./fi.js":"c40e","./fil":"df16","./fil.js":"df16","./fo":"1757","./fo.js":"1757","./fr":"8a36","./fr-ca":"365a","./fr-ca.js":"365a","./fr-ch":"2432","./fr-ch.js":"2432","./fr.js":"8a36","./fy":"650d","./fy.js":"650d","./ga":"b1d7","./ga.js":"b1d7","./gd":"f3e8","./gd.js":"f3e8","./gl":"7197","./gl.js":"7197","./gom-deva":"9d2c","./gom-deva.js":"9d2c","./gom-latn":"7f78","./gom-latn.js":"7f78","./gu":"2f55","./gu.js":"2f55","./he":"5c8c","./he.js":"5c8c","./hi":"cee4","./hi.js":"cee4","./hr":"23bd","./hr.js":"23bd","./hu":"23b7","./hu.js":"23b7","./hy-am":"6404","./hy-am.js":"6404","./id":"6510","./id.js":"6510","./is":"a0b4","./is.js":"a0b4","./it":"1fc5","./it-ch":"023f","./it-ch.js":"023f","./it.js":"1fc5","./ja":"3945","./ja.js":"3945","./jv":"b6f7","./jv.js":"b6f7","./ka":"0d7a","./ka.js":"0d7a","./kk":"abda","./kk.js":"abda","./km":"f33b","./km.js":"f33b","./kn":"c49c","./kn.js":"c49c","./ko":"0ff9","./ko.js":"0ff9","./ku":"dad7","./ku.js":"dad7","./ky":"700f","./ky.js":"700f","./lb":"7ba0","./lb.js":"7ba0","./lo":"d6e6","./lo.js":"d6e6","./lt":"f07e","./lt.js":"f07e","./lv":"36e7","./lv.js":"36e7","./me":"0f52","./me.js":"0f52","./mi":"4d5c","./mi.js":"4d5c","./mk":"83e18","./mk.js":"83e18","./ml":"203b","./ml.js":"203b","./mn":"9318","./mn.js":"9318","./mr":"7a78","./mr.js":"7a78","./ms":"77e5","./ms-my":"7344","./ms-my.js":"7344","./ms.js":"77e5","./mt":"c31e","./mt.js":"c31e","./my":"6cae","./my.js":"6cae","./nb":"9c96","./nb.js":"9c96","./ne":"6973","./ne.js":"6973","./nl":"5bbc","./nl-be":"0a3b","./nl-be.js":"0a3b","./nl.js":"5bbc","./nn":"6549","./nn.js":"6549","./oc-lnc":"13e8","./oc-lnc.js":"13e8","./pa-in":"d6c9","./pa-in.js":"d6c9","./pl":"814b","./pl.js":"814b","./pt":"3f36","./pt-br":"4355","./pt-br.js":"4355","./pt.js":"3f36","./ro":"ac02","./ro.js":"ac02","./ru":"6725","./ru.js":"6725","./sd":"3828","./sd.js":"3828","./se":"a0c4","./se.js":"a0c4","./si":"f53e","./si.js":"f53e","./sk":"6bdc","./sk.js":"6bdc","./sl":"8d86","./sl.js":"8d86","./sq":"6062","./sq.js":"6062","./sr":"feec","./sr-cyrl":"c002","./sr-cyrl.js":"c002","./sr.js":"feec","./ss":"6013","./ss.js":"6013","./sv":"bf59","./sv.js":"bf59","./sw":"4c47","./sw.js":"4c47","./ta":"7bb8","./ta.js":"7bb8","./te":"38b3","./te.js":"38b3","./tet":"d019","./tet.js":"d019","./tg":"65ca","./tg.js":"65ca","./th":"71e3","./th.js":"71e3","./tk":"b977","./tk.js":"b977","./tl-ph":"1f3e","./tl-ph.js":"1f3e","./tlh":"5f4e","./tlh.js":"5f4e","./tr":"40be","./tr.js":"40be","./tzl":"054d","./tzl.js":"054d","./tzm":"3fcd","./tzm-latn":"5f94","./tzm-latn.js":"5f94","./tzm.js":"3fcd","./ug-cn":"f285","./ug-cn.js":"f285","./uk":"1def","./uk.js":"1def","./ur":"94b8","./ur.js":"94b8","./uz":"56bd","./uz-latn":"4b88","./uz-latn.js":"4b88","./uz.js":"56bd","./vi":"3b0b","./vi.js":"3b0b","./x-pseudo":"b8d0","./x-pseudo.js":"b8d0","./yo":"574a","./yo.js":"574a","./zh-cn":"3b33","./zh-cn.js":"3b33","./zh-hk":"29be","./zh-hk.js":"29be","./zh-mo":"d7c0","./zh-mo.js":"d7c0","./zh-tw":"c861","./zh-tw.js":"c861"};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=a,e.exports=r,r.id="3d29"},"3f36":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"3fcd":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t}))},"40be":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var o=e%10,r=e%100-o,a=e>=100?100:null;return e+(t[o]||t[r]||t[a])}},week:{dow:1,doy:7}});return n}))},"40f1":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0ca2"),n("8ff9"),n("611e"),n("29b3"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.WordArray,r=n.BlockCipher,a=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],i=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=a.DES=r.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],o=0;o<56;o++){var r=s[o]-1;n[o]=t[r>>>5]>>>31-r%32&1}for(var a=this._subKeys=[],c=0;c<16;c++){var d=a[c]=[],l=u[c];for(o=0;o<24;o++)d[o/6|0]|=n[(i[o]-1+l)%28]<<31-o%6,d[4+(o/6|0)]|=n[28+(i[o+24]-1+l)%28]<<31-o%6;d[0]=d[0]<<1|d[0]>>>31;for(o=1;o<7;o++)d[o]=d[o]>>>4*(o-1)+3;d[7]=d[7]<<5|d[7]>>>27}var _=this._invSubKeys=[];for(o=0;o<16;o++)_[o]=a[15-o]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],_.call(this,4,252645135),_.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),_.call(this,1,1431655765);for(var o=0;o<16;o++){for(var r=n[o],a=this._lBlock,s=this._rBlock,i=0,u=0;u<8;u++)i|=c[u][((s^r[u])&d[u])>>>0];this._lBlock=s,this._rBlock=a^i}var l=this._lBlock;this._lBlock=this._rBlock,this._rBlock=l,_.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function _(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function p(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=r._createHelper(l);var h=a.TripleDES=r.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=t.slice(0,2),r=t.length<4?t.slice(0,2):t.slice(2,4),a=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=l.createEncryptor(o.create(n)),this._des2=l.createEncryptor(o.create(r)),this._des3=l.createEncryptor(o.create(a))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=r._createHelper(h)}(),e.TripleDES}))},4102:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,o){return e?/-MMM-/.test(o)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return a}))},4355:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},"481e":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},"49fb":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},"4b88":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"4c47":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t}))},"4d5c":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"4df2":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("3171"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.WordArray,r=t.algo,a=r.SHA256,s=r.SHA224=a.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=a._createHelper(s),t.HmacSHA224=a._createHmacHelper(s)}(),e.SHA224}))},"543d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=Zt,t.createComponent=ln,t.createPage=dn,t.createPlugin=pn,t.createSubpackageApp=_n,t.default=void 0;var o,r=s(n("66fd")),a=n("37dc");function s(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){return _(e)||l(e,t)||f(e,t)||d()}function d(){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 l(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,r=!1,a=void 0;try{for(var s,i=e[Symbol.iterator]();!(o=(s=i.next()).done);o=!0)if(n.push(s.value),t&&n.length===t)break}catch(u){r=!0,a=u}finally{try{o||null==i["return"]||i["return"]()}finally{if(r)throw a}}return n}}function _(e){if(Array.isArray(e))return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){return M(e)||g(e)||f(e)||m()}function m(){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 f(e,t){if(e){if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function g(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function M(e){if(Array.isArray(e))return y(e)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",L=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function T(e){return decodeURIComponent(o(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function D(){var e,t=wx.getStorageSync("uni_id_token")||"",n=t.split(".");if(!t||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse(T(n[1]))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}function k(e){e.prototype.uniIDHasRole=function(e){var t=D(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=D(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=D(),t=e.tokenExpired;return t>Date.now()}}o="function"!==typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!L.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,o,r="",a=0;a<e.length;)t=v.indexOf(e.charAt(a++))<<18|v.indexOf(e.charAt(a++))<<12|(n=v.indexOf(e.charAt(a++)))<<6|(o=v.indexOf(e.charAt(a++))),r+=64===n?String.fromCharCode(t>>16&255):64===o?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;var I=Object.prototype.toString,S=Object.prototype.hasOwnProperty;function E(e){return"function"===typeof e}function C(e){return"string"===typeof e}function A(e){return"[object Object]"===I.call(e)}function O(e,t){return S.call(e,t)}function b(){}function w(e){var t=Object.create(null);return function(n){var o=t[n];return o||(t[n]=e(n))}}var N=/-(\w)/g,R=w((function(e){return e.replace(N,(function(e,t){return t?t.toUpperCase():""}))})),P=["invoke","success","fail","complete","returnValue"],Y={},G={};function U(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?F(n):n}function F(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function x(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}function H(e,t){Object.keys(t).forEach((function(n){-1!==P.indexOf(n)&&E(t[n])&&(e[n]=U(e[n],t[n]))}))}function j(e,t){e&&t&&Object.keys(t).forEach((function(n){-1!==P.indexOf(n)&&E(t[n])&&x(e[n],t[n])}))}function q(e,t){"string"===typeof e&&A(t)?H(G[e]||(G[e]={}),t):A(e)&&H(Y,e)}function B(e,t){"string"===typeof e?A(t)?j(G[e],t):delete G[e]:A(e)&&j(Y,e)}function V(e){return function(t){return e(t)||t}}function W(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}function K(e,t){for(var n=!1,o=0;o<e.length;o++){var r=e[o];if(n)n=Promise.resolve(V(r));else{var a=r(t);if(W(a)&&(n=Promise.resolve(a)),!1===a)return{then:function(){}}}}return n||{then:function(e){return e(t)}}}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var o=t[n];t[n]=function(t){K(e[n],t).then((function(e){return E(o)&&o(e)||e}))}}})),t}function z(e,t){var n=[];Array.isArray(Y.returnValue)&&n.push.apply(n,h(Y.returnValue));var o=G[e];return o&&Array.isArray(o.returnValue)&&n.push.apply(n,h(o.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function J(e){var t=Object.create(null);Object.keys(Y).forEach((function(e){"returnValue"!==e&&(t[e]=Y[e].slice())}));var n=G[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function X(e,t,n){for(var o=arguments.length,r=new Array(o>3?o-3:0),a=3;a<o;a++)r[a-3]=arguments[a];var s=J(e);if(s&&Object.keys(s).length){if(Array.isArray(s.invoke)){var i=K(s.invoke,n);return i.then((function(e){return t.apply(void 0,[$(s,e)].concat(r))}))}return t.apply(void 0,[$(s,n)].concat(r))}return t.apply(void 0,[n].concat(r))}var Z={returnValue:function(e){return W(e)?new Promise((function(t,n){e.then((function(e){e[0]?n(e[0]):t(e[1])}))})):e}},Q=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale/,ee=/^create|Manager$/,te=["createBLEConnection"],ne=["createBLEConnection"],oe=/^on|^off/;function re(e){return ee.test(e)&&-1===te.indexOf(e)}function ae(e){return Q.test(e)&&-1===ne.indexOf(e)}function se(e){return oe.test(e)&&"onPush"!==e}function ie(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function ue(e){return!(re(e)||ae(e)||se(e))}function ce(e,t){return ue(e)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return E(n.success)||E(n.fail)||E(n.complete)?z(e,X.apply(void 0,[e,t,n].concat(r))):z(e,ie(new Promise((function(o,a){X.apply(void 0,[e,t,Object.assign({},n,{success:o,fail:a})].concat(r))}))))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))});var de=1e-4,le=750,_e=!1,pe=0,he=0;function me(){var e=wx.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,o=e.windowWidth;pe=o,he=n,_e="ios"===t}function fe(e,t){if(0===pe&&me(),e=Number(e),0===e)return 0;var n=e/le*(t||pe);return n<0&&(n=-n),n=Math.floor(n+de),0===n&&(n=1!==he&&_e?.5:1),e<0?-n:n}function ge(){var e=getApp({allowDefault:!0});return e&&e.$vm?e.$vm.$locale:wx.getSystemInfoSync().language||"zh-Hans"}function Me(e){var t=getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,ye.forEach((function(t){return t({locale:e})})),!0)}var ye=[];function ve(e){-1===ye.indexOf(e)&&ye.push(e)}"undefined"!==typeof e&&(e.getLocale=ge);var Le={promiseInterceptor:Z},Te=Object.freeze({__proto__:null,upx2px:fe,getLocale:ge,setLocale:Me,onLocaleChange:ve,addInterceptor:q,removeInterceptor:B,interceptors:Le});function De(e){var t=getCurrentPages(),n=t.length;while(n--){var o=t[n];if(o.$page&&o.$page.fullPath===e)return n}return-1}var ke,Ie={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=De(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},Se={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var n=e.urls;if(Array.isArray(n)){var o=n.length;if(o)return t<0?t=0:t>=o&&(t=o-1),t>0?(e.current=n[t],e.urls=n.filter((function(e,o){return!(o<t)||e!==n[t]}))):e.current=n[0],{indicator:!1,loop:!1}}}}},Ee="__DC_STAT_UUID";function Ce(e){ke=ke||wx.getStorageSync(Ee),ke||(ke=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:Ee,data:ke})),e.deviceId=ke}function Ae(e){if(e.safeArea){var t=e.safeArea;e.safeAreaInsets={top:t.top,left:t.left,right:e.windowWidth-t.right,bottom:e.windowHeight-t.bottom}}}var Oe={returnValue:function(e){Ce(e),Ae(e)}},be={args:function(e){"object"===typeof e&&(e.alertText=e.title)}},we={redirectTo:Ie,previewImage:Se,getSystemInfo:Oe,getSystemInfoSync:Oe,showActionSheet:be},Ne=["vibrate","preloadPage","unPreloadPage","loadSubPackage"],Re=[],Pe=["success","fail","cancel","complete"];function Ye(e,t,n){return function(o){return t(Ue(e,o,n))}}function Ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(A(t)){var a=!0===r?t:{};for(var s in E(n)&&(n=n(t,a)||{}),t)if(O(n,s)){var i=n[s];E(i)&&(i=i(t[s],t,a)),i?C(i)?a[i]=t[s]:A(i)&&(a[i.name?i.name:s]=i.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(s,"'"))}else-1!==Pe.indexOf(s)?E(t[s])&&(a[s]=Ye(e,t[s],o)):r||(a[s]=t[s]);return a}return E(t)&&(t=Ye(e,t,o)),t}function Ue(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return E(we.returnValue)&&(t=we.returnValue(e,t)),Ge(e,t,n,{},o)}function Fe(e,t){if(O(we,e)){var n=we[e];return n?function(t,o){var r=n;E(n)&&(r=n(t)),t=Ge(e,t,r.args,r.returnValue);var a=[t];"undefined"!==typeof o&&a.push(o),E(r.name)?e=r.name(t):C(r.name)&&(e=r.name);var s=wx[e].apply(wx,a);return ae(e)?Ue(e,s,r.returnValue,re(e)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(e,"'."))}}return t}var xe=Object.create(null),He=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function je(e){return function(t){var n=t.fail,o=t.complete,r={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};E(n)&&n(r),E(o)&&o(r)}}He.forEach((function(e){xe[e]=je(e)}));var qe={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function Be(e){var t=e.service,n=e.success,o=e.fail,r=e.complete,a=!1;qe[t]?(a={errMsg:"getProvider:ok",service:t,provider:qe[t]},E(n)&&n(a)):(a={errMsg:"getProvider:fail service not found"},E(o)&&o(a)),E(r)&&r(a)}var Ve=Object.freeze({__proto__:null,getProvider:Be}),We=function(){var e;return function(){return e||(e=new r.default),e}}();function Ke(e,t,n){return e[t].apply(e,n)}function $e(){return Ke(We(),"$on",Array.prototype.slice.call(arguments))}function ze(){return Ke(We(),"$off",Array.prototype.slice.call(arguments))}function Je(){return Ke(We(),"$once",Array.prototype.slice.call(arguments))}function Xe(){return Ke(We(),"$emit",Array.prototype.slice.call(arguments))}var Ze=Object.freeze({__proto__:null,$on:$e,$off:ze,$once:Je,$emit:Xe}),Qe=Object.freeze({__proto__:null}),et=Page,tt=Component,nt=/:/g,ot=w((function(e){return R(e.replace(nt,"-"))}));function rt(e){var t=e.triggerEvent,n=function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return t.apply(e,[ot(n)].concat(r))};try{e.triggerEvent=n}catch(o){e._triggerEvent=n}}function at(e,t,n){var o=t[e];t[e]=o?function(){rt(this);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.apply(this,t)}:function(){rt(this)}}et.__$wrappered||(et.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return at("onLoad",e),et(e)},Page.after=et.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return at("created",e),tt(e)});var st=["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function it(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){O(n,t)&&(e[t]=n[t])}))}function ut(e,t){if(!t)return!0;if(r.default.options&&Array.isArray(r.default.options[e]))return!0;if(t=t.default||t,E(t))return!!E(t.extendOptions[e])||!!(t.super&&t.super.options&&Array.isArray(t.super.options[e]));if(E(t[e]))return!0;var n=t.mixins;return Array.isArray(n)?!!n.find((function(t){return ut(e,t)})):void 0}function ct(e,t,n){t.forEach((function(t){ut(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function dt(e,t){var n;return t=t.default||t,n=E(t)?t:e.extend(t),t=n.options,[n,t]}function lt(e,t){if(Array.isArray(t)&&t.length){var n=Object.create(null);t.forEach((function(e){n[e]=!0})),e.$scopedSlots=e.$slots=n}}function _t(e,t){e=(e||"").split(",");var n=e.length;1===n?t._$vueId=e[0]:2===n&&(t._$vueId=e[0],t._$vuePid=e[1])}function pt(e,t){var n=e.data||{},o=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(r){Object({VUE_APP_NAME:"sugarpark-mini-program",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(r){}return A(n)||(n={}),Object.keys(o).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||O(n,e)||(n[e]=o[e])})),n}var ht=[String,Number,Boolean,Object,Array,null];function mt(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function ft(e,t){var n=e.behaviors,o=e.extends,r=e.mixins,a=e.props;a||(e.props=a=[]);var s=[];return Array.isArray(n)&&n.forEach((function(e){s.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(a)?(a.push("name"),a.push("value")):(a.name={type:String,default:""},a.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),A(o)&&o.props&&s.push(t({properties:Mt(o.props,!0)})),Array.isArray(r)&&r.forEach((function(e){A(e)&&e.props&&s.push(t({properties:Mt(e.props,!0)}))})),s}function gt(e,t,n,o){return Array.isArray(t)&&1===t.length?t[0]:t}function Mt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};return t||(n.vueId={type:String,value:""},n.generic={type:Object,value:null},n.scopedSlotsCompiler={type:String,value:""},n.vueSlots={type:null,value:[],observer:function(e,t){var n=Object.create(null);e.forEach((function(e){n[e]=!0})),this.setData({$slots:n})}}),Array.isArray(e)?e.forEach((function(e){n[e]={type:null,observer:mt(e)}})):A(e)&&Object.keys(e).forEach((function(t){var o=e[t];if(A(o)){var r=o.default;E(r)&&(r=r()),o.type=gt(t,o.type),n[t]={type:-1!==ht.indexOf(o.type)?o.type:null,value:r,observer:mt(t)}}else{var a=gt(t,o);n[t]={type:-1!==ht.indexOf(a)?a:null,observer:mt(t)}}})),n}function yt(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=b,e.preventDefault=b,e.target=e.target||{},O(e,"detail")||(e.detail={}),O(e,"markerId")&&(e.detail="object"===typeof e.detail?e.detail:{},e.detail.markerId=e.markerId),A(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}function vt(e,t){var n=e;return t.forEach((function(t){var o=t[0],r=t[2];if(o||"undefined"!==typeof r){var a,s=t[1],i=t[3];Number.isInteger(o)?a=o:o?"string"===typeof o&&o&&(a=0===o.indexOf("#s#")?o.substr(3):e.__get_value(o,n)):a=n,Number.isInteger(a)?n=r:s?Array.isArray(a)?n=a.find((function(t){return e.__get_value(s,t)===r})):A(a)?n=Object.keys(a).find((function(t){return e.__get_value(s,a[t])===r})):console.error("v-for 暂不支持循环数据:",a):n=a[r],i&&(n=e.__get_value(i,n))}})),n}function Lt(e,t,n){var o={};return Array.isArray(t)&&t.length&&t.forEach((function(t,r){"string"===typeof t?t?"$event"===t?o["$"+r]=n:"arguments"===t?n.detail&&n.detail.__args__?o["$"+r]=n.detail.__args__:o["$"+r]=[n]:0===t.indexOf("$event.")?o["$"+r]=e.__get_value(t.replace("$event.",""),n):o["$"+r]=e.__get_value(t):o["$"+r]=e:o["$"+r]=vt(e,t)})),o}function Tt(e){for(var t={},n=1;n<e.length;n++){var o=e[n];t[o[0]]=o[1]}return t}function Dt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,s=!1;if(r&&(s=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return s?[t]:t.detail.__args__||t.detail;var i=Lt(e,o,t),u=[];return n.forEach((function(e){"$event"===e?"__set_model"!==a||r?r&&!s?u.push(t.detail.__args__[0]):u.push(t):u.push(t.target.value):Array.isArray(e)&&"o"===e[0]?u.push(Tt(e)):"string"===typeof e&&O(i,e)?u.push(i[e]):u.push(e)})),u}var kt="~",It="^";function St(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}function Et(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}function Ct(e){var t=this;e=yt(e);var n=(e.currentTarget||e.target).dataset;if(!n)return console.warn("事件信息不存在");var o=n.eventOpts||n["event-opts"];if(!o)return console.warn("事件信息不存在");var r=e.type,a=[];return o.forEach((function(n){var o=n[0],s=n[1],i=o.charAt(0)===It;o=i?o.slice(1):o;var u=o.charAt(0)===kt;o=u?o.slice(1):o,s&&St(r,o)&&s.forEach((function(n){var o=n[0];if(o){var r=t.$vm;if(r.$options.generic&&(r=Et(r)||r),"$emit"===o)return void r.$emit.apply(r,Dt(t.$vm,e,n[1],n[2],i,o));var s=r[o];if(!E(s))throw new Error(" _vm.".concat(o," is not a function"));if(u){if(s.once)return;s.once=!0}var c=Dt(t.$vm,e,n[1],n[2],i,o);c=Array.isArray(c)?c:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(s.toString())&&(c=c.concat([,,,,,,,,,,e])),a.push(s.apply(r,c))}}))})),"input"===r&&1===a.length&&"undefined"!==typeof a[0]?a[0]:void 0}var At,Ot={};function bt(){if(Pt()){var e=Object.keys(__uniConfig.locales);e.length&&e.forEach((function(e){var t=Ot[e],n=__uniConfig.locales[e];t?Object.assign(t,n):Ot[e]=n}))}}At=wx.getSystemInfoSync().language,bt();var wt=(0,a.initVueI18n)(At,{}),Nt=wt.t;wt.mixin={beforeCreate:function(){var e=this,t=wt.i18n.watchLocale((function(){e.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){t()}))},methods:{$$t:function(e,t){return Nt(e,t)}}},wt.setLocale,wt.getLocale;function Rt(e,t,n){var o=e.observable({locale:n||wt.getLocale()}),r=[];t.$watchLocale=function(e){r.push(e)},Object.defineProperty(t,"$locale",{get:function(){return o.locale},set:function(e){o.locale=e,r.forEach((function(t){return t(e)}))}})}function Pt(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}var Yt={},Gt=[];function Ut(e){if(e){var t=Yt[e];return delete Yt[e],t}return Gt.shift()}var Ft=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function xt(){r.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=r.default.prototype.__call_hook;r.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=Ut(n.__id__),delete n.__id__),e.call(this,t,n)}}function Ht(){var e={},t={};r.default.prototype.$hasScopedSlotsParams=function(n){var o=e[n];return o||(t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))),o},r.default.prototype.$getScopedSlotsParams=function(n,o,r){var a=e[n];if(a){var s=a[o]||{};return r?s[r]:s}t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))},r.default.prototype.$setScopedSlotsParams=function(n,o){var r=this.$options.propsData.vueId;if(r){var a=r.split(",")[0],s=e[a]=e[a]||{};s[n]=o,t[a]&&t[a].$forceUpdate()}},r.default.mixin({destroyed:function(){var n=this.$options.propsData,o=n&&n.vueId;o&&(delete e[o],delete t[o])}})}function jt(e,t){var n=t.mocks,o=t.initRefs;xt(),Ht(),e.$options.store&&(r.default.prototype.$store=e.$options.store),k(r.default),r.default.prototype.mpHost="mp-weixin",r.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=p({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(o(this),it(this,n))}}});var a={onLaunch:function(t){this.$vm||(wx.canIUse&&!wx.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=e,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",t),this.$vm.__call_hook("onLaunch",t))}};a.globalData=e.$options.globalData||{};var s=e.$options.methods;return s&&Object.keys(s).forEach((function(e){a[e]=s[e]})),Rt(r.default,e,wx.getSystemInfoSync().language||"zh-Hans"),ct(a,Ft),a}var qt=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Bt(e,t){for(var n,o=e.$children,r=o.length-1;r>=0;r--){var a=o[r];if(a.$scope._$vueId===t)return a}for(var s=o.length-1;s>=0;s--)if(n=Bt(o[s],t),n)return n}function Vt(e){return Behavior(e)}function Wt(){return!!this.route}function Kt(e){this.triggerEvent("__l",e)}function $t(e,t,n){var o=e.selectAllComponents(t);o.forEach((function(e){var o=e.dataset.ref;n[o]=e.$vm||e,"scoped"===e.dataset.vueGeneric&&e.selectAllComponents(".scoped-ref").forEach((function(e){$t(e,t,n)}))}))}function zt(e){var t=e.$scope;Object.defineProperty(e,"$refs",{get:function(){var e={};$t(t,".vue-ref",e);var n=t.selectAllComponents(".vue-ref-in-for");return n.forEach((function(t){var n=t.dataset.ref;e[n]||(e[n]=[]),e[n].push(t.$vm||t)})),e}})}function Jt(e){var t,n=e.detail||e.value,o=n.vuePid,r=n.vueOptions;o&&(t=Bt(this.$vm,o)),t||(t=this.$vm),r.parent=t}function Xt(e){return jt(e,{mocks:qt,initRefs:zt})}function Zt(e){return App(Xt(e)),e}var Qt=/[!'()*]/g,en=function(e){return"%"+e.charCodeAt(0).toString(16)},tn=/%2C/g,nn=function(e){return encodeURIComponent(e).replace(Qt,en).replace(tn,",")};function on(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nn,n=e?Object.keys(e).map((function(n){var o=e[n];if(void 0===o)return"";if(null===o)return t(n);if(Array.isArray(o)){var r=[];return o.forEach((function(e){void 0!==e&&(null===e?r.push(t(n)):r.push(t(n)+"="+t(e)))})),r.join("&")}return t(n)+"="+t(o)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function rn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,o=t.initRelation,a=dt(r.default,e),s=c(a,2),i=s[0],d=s[1],l=u({multipleSlots:!0,addGlobalClass:!0},d.options||{});d["mp-weixin"]&&d["mp-weixin"].options&&Object.assign(l,d["mp-weixin"].options);var _={options:l,data:pt(d,r.default.prototype),behaviors:ft(d,Vt),properties:Mt(d.props,!1,d.__file),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};_t(e.vueId,this),o.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new i(t),lt(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:Jt,__e:Ct}};return d.externalClasses&&(_.externalClasses=d.externalClasses),Array.isArray(d.wxsCallMethods)&&d.wxsCallMethods.forEach((function(e){_.methods[e]=function(t){return this.$vm[e](t)}})),n?_:[_,i]}function an(e){return rn(e,{isPage:Wt,initRelation:Kt})}var sn=["onShow","onHide","onUnload"];function un(e,t){t.isPage,t.initRelation;var n=an(e);return ct(n.methods,sn,e),n.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+on(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},n}function cn(e){return un(e,{isPage:Wt,initRelation:Kt})}function dn(e){return Component(cn(e))}function ln(e){return Component(an(e))}function _n(e){var t=Xt(e),n=getApp({allowDefault:!0});e.$scope=n;var o=n.globalData;if(o&&Object.keys(t.globalData).forEach((function(e){O(o,e)||(o[e]=t.globalData[e])})),Object.keys(t).forEach((function(e){O(n,e)||(n[e]=t[e])})),E(t.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];e.__call_hook("onShow",n)})),E(t.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];e.__call_hook("onHide",n)})),E(t.onLaunch)){var r=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.__call_hook("onLaunch",r)}return e}function pn(e){var t=Xt(e);if(E(t.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];e.__call_hook("onShow",n)})),E(t.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];e.__call_hook("onHide",n)})),E(t.onLaunch)){var n=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.__call_hook("onLaunch",n)}return e}sn.push.apply(sn,st),Ne.forEach((function(e){we[e]=!1})),Re.forEach((function(e){var t=we[e]&&we[e].name?we[e].name:e;wx.canIUse(t)||(we[e]=!1)}));var hn={};"undefined"!==typeof Proxy?hn=new Proxy({},{get:function(e,t){return O(e,t)?e[t]:Te[t]?Te[t]:Qe[t]?ce(t,Qe[t]):Ve[t]?ce(t,Ve[t]):xe[t]?ce(t,xe[t]):Ze[t]?Ze[t]:O(wx,t)||O(we,t)?ce(t,Fe(t,wx[t])):void 0},set:function(e,t,n){return e[t]=n,!0}}):(Object.keys(Te).forEach((function(e){hn[e]=Te[e]})),Object.keys(xe).forEach((function(e){hn[e]=ce(e,xe[e])})),Object.keys(Ve).forEach((function(e){hn[e]=ce(e,xe[e])})),Object.keys(Ze).forEach((function(e){hn[e]=Ze[e]})),Object.keys(Qe).forEach((function(e){hn[e]=ce(e,Qe[e])})),Object.keys(wx).forEach((function(e){(O(wx,e)||O(we,e))&&(hn[e]=ce(e,Fe(e,wx[e])))}))),wx.createApp=Zt,wx.createPage=dn,wx.createComponent=ln,wx.createSubpackageApp=_n,wx.createPlugin=pn;var mn=hn,fn=mn;t.default=fn}).call(this,n("c8ba"))},5502:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}))},"56bd":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t}))},"574a":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t}))},"57f8":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},5845:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,o){var r,a=this._iv;a?(r=a.slice(0),this._iv=void 0):r=this._prevBlock,o.encryptBlock(r,0);for(var s=0;s<n;s++)e[t+s]^=r[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var o=this._cipher,r=o.blockSize;n.call(this,e,t,r,o),this._prevBlock=e.slice(t,t+r)}}),t.Decryptor=t.extend({processBlock:function(e,t){var o=this._cipher,r=o.blockSize,a=e.slice(t,t+r);n.call(this,e,t,r,o),this._prevBlock=a}}),t}(),e.mode.CFB}))},"592a":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},"59ac":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB}))},"5b55":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},o=e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return o}))},"5bbc":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),o=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,o){return e?/-MMM-/.test(o)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},"5c8c":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},"5f4e":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function o(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function r(e,t,n,o){var r=a(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function a(e){var n=Math.floor(e%1e3/100),o=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),o>0&&(a+=(""!==a?" ":"")+t[o]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}var s=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:o,s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"5f94":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return t}))},"5f9a":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,o=e%100-n,r=e>=100?100:null;return e+(t[n]||t[o]||t[r])},week:{dow:1,doy:7}});return n}))},6013:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},6062:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"610e":function(e,t,n){"use strict";(function(e){function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=_;var u=function(){function t(n,o){a(this,t),this.options=n,this.animation=e.createAnimation(n),this.currentStepAnimates={},this.next=0,this.$=o}return i(t,[{key:"_nvuePushAnimates",value:function(e,t){var n=this.currentStepAnimates[this.next],o={};if(o=n||{styles:{},config:{}},c.includes(e)){o.styles.transform||(o.styles.transform="");var r="";"rotate"===e&&(r="deg"),o.styles.transform+="".concat(e,"(").concat(t+r,") ")}else o.styles[e]="".concat(t);this.currentStepAnimates[this.next]=o}},{key:"_animateRun",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$.$refs["ani"].ref;if(n)return new Promise((function(r,a){nvueAnimation.transition(n,o({styles:e},t),(function(e){r()}))}))}},{key:"_nvueNextAnimate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0,r=e[n];if(r){var a=r.styles,s=r.config;this._animateRun(a,s).then((function(){n+=1,t._nvueNextAnimate(e,n,o)}))}else this.currentStepAnimates={},"function"===typeof o&&o(),this.isEnd=!0}},{key:"step",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(e),this}},{key:"run",value:function(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof e&&e()}),this.$.durationTime)}}]),t}(),c=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"],d=["opacity","backgroundColor"],l=["width","height","left","right","top","bottom"];function _(e,t){if(t)return clearTimeout(t.timer),new u(e,t)}c.concat(d,l).forEach((function(e){u.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n("543d")["default"])},"611e":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("1583"),n("da0b"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.Base,r=n.WordArray,a=t.algo,s=a.MD5,i=a.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n,o=this.cfg,a=o.hasher.create(),s=r.create(),i=s.words,u=o.keySize,c=o.iterations;while(i.length<u){n&&a.update(n),n=a.update(e).finalize(t),a.reset();for(var d=1;d<c;d++)n=a.finalize(n),a.reset();s.concat(n)}return s.sigBytes=4*u,s}});t.EvpKDF=function(e,t,n){return i.create(n).compute(e,t)}}(),e.EvpKDF}))},6216:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseText=u,t.parseGroupSystemNotice=c,t.parseGroupTip=d,t.parseImage=l,t.parseVideo=_,t.parseAudio=p;var o=n("23c1");function r(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},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 s,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,s=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw s}}}}function a(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var i={MEMBER_JOIN:1,MEMBER_QUIT:2,MEMBER_KICKED_OUT:3,MEMBER_SET_ADMIN:4,MEMBER_CANCELED_ADMIN:5,GROUP_INFO_MODIFIED:6,MEMBER_INFO_MODIFIED:7};function u(e){var t=[],n=e.payload.text,r=-1,a=-1;while(""!==n)switch(r=n.indexOf("["),a=n.indexOf("]"),r){case 0:if(-1===a)t.push({name:"span",text:n}),n="";else{var s=n.slice(0,a+1);o.emojiMap[s]?(t.push({name:"img",src:o.emojiUrl+o.emojiMap[s]}),n=n.substring(a+1)):(t.push({name:"span",text:"["}),n=n.slice(1))}break;case-1:t.push({name:"span",text:n}),n="";break;default:t.push({name:"span",text:n.slice(0,r)}),n=n.substring(r);break}return t}function c(e){var t,n=e.payload,o=n.groupProfile.name||n.groupProfile.groupID,r=n.groupProfile.groupID;switch(n.operationType){case 1:t="".concat(n.operatorID," 申请加入群组:").concat(o,"(群ID:").concat(r,")");break;case 2:t="成功加入群组:".concat(o," (群ID:").concat(r,")");break;case 3:t="申请加入群组:".concat(o," (群ID:").concat(r,")被拒绝");break;case 4:t="被管理员".concat(n.operatorID,"踢出群组:").concat(o,"(群ID:").concat(r,")");break;case 5:t="群:".concat(o," (群ID:").concat(r,")已被").concat(n.operatorID,"解散");break;case 6:t="我(用户ID:".concat(n.operatorID,")成功创建群聊:").concat(o,"(群ID:").concat(r,")");break;case 7:t="用户ID:".concat(n.operatorID,"邀请你加群:").concat(o,"(群ID:").concat(r,")");break;case 8:t="你退出群组:".concat(o,"(群ID:").concat(r,")");break;case 9:t="你被".concat(n.operatorID,"设置为群:").concat(o,"(群ID:").concat(r,")的管理员");break;case 10:t="你被".concat(n.operatorID,"撤销群:").concat(o," (群ID:").concat(r,")的管理员身份");break;case 255:t="自定义群系统通知: ".concat(n.userDefinedField);break}return t}function d(e){var t,n,o=e.payload,a=e.nick||o.userIDList.join(",");switch(o.operationType){case i.MEMBER_JOIN:t="".concat(a," 加入群聊");break;case i.MEMBER_QUIT:t="群成员退群:".concat(a);break;case i.MEMBER_KICKED_OUT:t="群成员被踢:".concat(a);break;case i.MEMBER_SET_ADMIN:t="".concat(o.operatorID,"将 ").concat(a,"设置为管理员");break;case i.MEMBER_CANCELED_ADMIN:t="".concat(o.operatorID,"将 ").concat(a,"取消作为管理员");break;case i.GROUP_INFO_MODIFIED:t="群资料修改";break;case i.MEMBER_INFO_MODIFIED:var s,u=r(o.memberList);try{for(u.s();!(s=u.n()).done;){var c=s.value;t=c.muteTime>0?"群成员:".concat(c.userID,"被禁言").concat(c.muteTime,"秒"):"群成员:".concat(c.userID,"被取消禁言")}}catch(d){u.e(d)}finally{u.f()}break;case 256:n=e.nick||e.from,"无应答"===o.text&&(n=o.userIDList.join(",")),t="结束群聊"===o.text?"结束群聊":'"'.concat(n,'" ').concat(o.text);break}return[{name:"groupTip",text:t}]}function l(e){var t=[{name:"image",src:e.payload.imageInfoArray[0].url}];return t}function _(e){var t={name:"video",src:e.payload.videoUrl};return t}function p(e){var t={name:"audio",src:e.payload.url,second:0===e.payload.second?1:e.payload.second};return t}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6404:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},"650d":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),o=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,o){return e?/-MMM-/.test(o)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},6510:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return t}))},6549:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"65ca":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,o=e>=100?100:null;return e+(t[e]||t[n]||t[o])},week:{dow:1,doy:7}});return n}))},"66fd":function(e,t,n){"use strict";n.r(t),function(e){
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2022 Evan You
- * Released under the MIT License.
- */
- var n=Object.freeze({});function o(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function a(e){return!0===e}function s(e){return!1===e}function i(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function d(e){return"[object Object]"===c.call(e)}function l(e){return"[object RegExp]"===c.call(e)}function _(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),o=e.split(","),r=0;r<o.length;r++)n[o[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}f("slot,component",!0);var g=f("key,ref,slot,slot-scope,is");function M(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function v(e,t){return y.call(e,t)}function L(e){var t=Object.create(null);return function(n){var o=t[n];return o||(t[n]=e(n))}}var T=/-(\w)/g,D=L((function(e){return e.replace(T,(function(e,t){return t?t.toUpperCase():""}))})),k=L((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),I=/\B([A-Z])/g,S=L((function(e){return e.replace(I,"-$1").toLowerCase()}));function E(e,t){function n(n){var o=arguments.length;return o?o>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function C(e,t){return e.bind(t)}var A=Function.prototype.bind?C:E;function O(e,t){t=t||0;var n=e.length-t,o=new Array(n);while(n--)o[n]=e[n+t];return o}function b(e,t){for(var n in t)e[n]=t[n];return e}function w(e){for(var t={},n=0;n<e.length;n++)e[n]&&b(t,e[n]);return t}function N(e,t,n){}var R=function(e,t,n){return!1},P=function(e){return e};function Y(e,t){if(e===t)return!0;var n=u(e),o=u(t);if(!n||!o)return!n&&!o&&String(e)===String(t);try{var r=Array.isArray(e),a=Array.isArray(t);if(r&&a)return e.length===t.length&&e.every((function(e,n){return Y(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||a)return!1;var s=Object.keys(e),i=Object.keys(t);return s.length===i.length&&s.every((function(n){return Y(e[n],t[n])}))}catch(c){return!1}}function G(e,t){for(var n=0;n<e.length;n++)if(Y(e[n],t))return n;return-1}function U(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F=["component","directive","filter"],x=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:R,isReservedAttr:R,isUnknownElement:R,getTagNamespace:N,parsePlatformTagName:P,mustUseProp:R,async:!0,_lifecycleHooks:x},j=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function q(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function B(e,t,n,o){Object.defineProperty(e,t,{value:n,enumerable:!!o,writable:!0,configurable:!0})}var V=new RegExp("[^"+j.source+".$_\\d]");function W(e){if(!V.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var K,$="__proto__"in{},z="undefined"!==typeof window,J="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,X=J&&WXEnvironment.platform.toLowerCase(),Z=z&&window.navigator.userAgent.toLowerCase(),Q=Z&&/msie|trident/.test(Z),ee=(Z&&Z.indexOf("msie 9.0"),Z&&Z.indexOf("edge/")>0),te=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===X),ne=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/),{}.watch);if(z)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){}}),window.addEventListener("test-passive",null,oe)}catch(or){}var re=function(){return void 0===K&&(K=!z&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},ae=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"===typeof e&&/native code/.test(e.toString())}var ie,ue="undefined"!==typeof Symbol&&se(Symbol)&&"undefined"!==typeof Reflect&&se(Reflect.ownKeys);ie="undefined"!==typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=N,de=0,le=function(){this.id=de++,this.subs=[]};function _e(e){le.SharedObject.targetStack.push(e),le.SharedObject.target=e,le.target=e}function pe(){le.SharedObject.targetStack.pop(),le.SharedObject.target=le.SharedObject.targetStack[le.SharedObject.targetStack.length-1],le.target=le.SharedObject.target}le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){M(this.subs,e)},le.prototype.depend=function(){le.SharedObject.target&&le.SharedObject.target.addDep(this)},le.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},le.SharedObject={},le.SharedObject.target=null,le.SharedObject.targetStack=[];var he=function(e,t,n,o,r,a,s,i){this.tag=e,this.data=t,this.children=n,this.text=o,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=i,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},me={child:{configurable:!0}};me.child.get=function(){return this.componentInstance},Object.defineProperties(he.prototype,me);var fe=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function ge(e){return new he(void 0,void 0,void 0,String(e))}function Me(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ye=Array.prototype,ve=Object.create(ye),Le=["push","pop","shift","unshift","splice","sort","reverse"];Le.forEach((function(e){var t=ye[e];B(ve,e,(function(){var n=[],o=arguments.length;while(o--)n[o]=arguments[o];var r,a=t.apply(this,n),s=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&s.observeArray(r),s.dep.notify(),a}))}));var Te=Object.getOwnPropertyNames(ve),De=!0;function ke(e){De=e}var Ie=function(e){this.value=e,this.dep=new le,this.vmCount=0,B(e,"__ob__",this),Array.isArray(e)?($?e.push!==e.__proto__.push?Ee(e,ve,Te):Se(e,ve):Ee(e,ve,Te),this.observeArray(e)):this.walk(e)};function Se(e,t){e.__proto__=t}function Ee(e,t,n){for(var o=0,r=n.length;o<r;o++){var a=n[o];B(e,a,t[a])}}function Ce(e,t){var n;if(u(e)&&!(e instanceof he))return v(e,"__ob__")&&e.__ob__ instanceof Ie?n=e.__ob__:De&&!re()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ie(e)),t&&n&&n.vmCount++,n}function Ae(e,t,n,o,r){var a=new le,s=Object.getOwnPropertyDescriptor(e,t);if(!s||!1!==s.configurable){var i=s&&s.get,u=s&&s.set;i&&!u||2!==arguments.length||(n=e[t]);var c=!r&&Ce(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;return le.SharedObject.target&&(a.depend(),c&&(c.dep.depend(),Array.isArray(t)&&we(t))),t},set:function(t){var o=i?i.call(e):n;t===o||t!==t&&o!==o||i&&!u||(u?u.call(e,t):n=t,c=!r&&Ce(t),a.notify())}})}}function Oe(e,t,n){if(Array.isArray(e)&&_(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var o=e.__ob__;return e._isVue||o&&o.vmCount?n:o?(Ae(o.value,t,n),o.dep.notify(),n):(e[t]=n,n)}function be(e,t){if(Array.isArray(e)&&_(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||v(e,t)&&(delete e[t],n&&n.dep.notify())}}function we(e){for(var t=void 0,n=0,o=e.length;n<o;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&we(t)}Ie.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ae(e,t[n])},Ie.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ce(e[t])};var Ne=H.optionMergeStrategies;function Re(e,t){if(!t)return e;for(var n,o,r,a=ue?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)n=a[s],"__ob__"!==n&&(o=e[n],r=t[n],v(e,n)?o!==r&&d(o)&&d(r)&&Re(o,r):Oe(e,n,r));return e}function Pe(e,t,n){return n?function(){var o="function"===typeof t?t.call(n,n):t,r="function"===typeof e?e.call(n,n):e;return o?Re(o,r):r}:t?e?function(){return Re("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Ye(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?Ge(n):n}function Ge(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function Ue(e,t,n,o){var r=Object.create(e||null);return t?b(r,t):r}Ne.data=function(e,t,n){return n?Pe(e,t,n):t&&"function"!==typeof t?e:Pe(e,t)},x.forEach((function(e){Ne[e]=Ye})),F.forEach((function(e){Ne[e+"s"]=Ue})),Ne.watch=function(e,t,n,o){if(e===ne&&(e=void 0),t===ne&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var a in b(r,e),t){var s=r[a],i=t[a];s&&!Array.isArray(s)&&(s=[s]),r[a]=s?s.concat(i):Array.isArray(i)?i:[i]}return r},Ne.props=Ne.methods=Ne.inject=Ne.computed=function(e,t,n,o){if(!e)return t;var r=Object.create(null);return b(r,e),t&&b(r,t),r},Ne.provide=Pe;var Fe=function(e,t){return void 0===t?e:t};function xe(e,t){var n=e.props;if(n){var o,r,a,s={};if(Array.isArray(n)){o=n.length;while(o--)r=n[o],"string"===typeof r&&(a=D(r),s[a]={type:null})}else if(d(n))for(var i in n)r=n[i],a=D(i),s[a]=d(r)?r:{type:r};else 0;e.props=s}}function He(e,t){var n=e.inject;if(n){var o=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)o[n[r]]={from:n[r]};else if(d(n))for(var a in n){var s=n[a];o[a]=d(s)?b({from:a},s):{from:s}}else 0}}function je(e){var t=e.directives;if(t)for(var n in t){var o=t[n];"function"===typeof o&&(t[n]={bind:o,update:o})}}function qe(e,t,n){if("function"===typeof t&&(t=t.options),xe(t,n),He(t,n),je(t),!t._base&&(t.extends&&(e=qe(e,t.extends,n)),t.mixins))for(var o=0,r=t.mixins.length;o<r;o++)e=qe(e,t.mixins[o],n);var a,s={};for(a in e)i(a);for(a in t)v(e,a)||i(a);function i(o){var r=Ne[o]||Fe;s[o]=r(e[o],t[o],n,o)}return s}function Be(e,t,n,o){if("string"===typeof n){var r=e[t];if(v(r,n))return r[n];var a=D(n);if(v(r,a))return r[a];var s=k(a);if(v(r,s))return r[s];var i=r[n]||r[a]||r[s];return i}}function Ve(e,t,n,o){var r=t[e],a=!v(n,e),s=n[e],i=ze(Boolean,r.type);if(i>-1)if(a&&!v(r,"default"))s=!1;else if(""===s||s===S(e)){var u=ze(String,r.type);(u<0||i<u)&&(s=!0)}if(void 0===s){s=We(o,r,e);var c=De;ke(!0),Ce(s),ke(c)}return s}function We(e,t,n){if(v(t,"default")){var o=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"===typeof o&&"Function"!==Ke(t.type)?o.call(e):o}}function Ke(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function $e(e,t){return Ke(e)===Ke(t)}function ze(e,t){if(!Array.isArray(t))return $e(t,e)?0:-1;for(var n=0,o=t.length;n<o;n++)if($e(t[n],e))return n;return-1}function Je(e,t,n){_e();try{if(t){var o=t;while(o=o.$parent){var r=o.$options.errorCaptured;if(r)for(var a=0;a<r.length;a++)try{var s=!1===r[a].call(o,e,t,n);if(s)return}catch(or){Ze(or,o,"errorCaptured hook")}}}Ze(e,t,n)}finally{pe()}}function Xe(e,t,n,o,r){var a;try{a=n?e.apply(t,n):e.call(t),a&&!a._isVue&&p(a)&&!a._handled&&(a.catch((function(e){return Je(e,o,r+" (Promise/async)")})),a._handled=!0)}catch(or){Je(or,o,r)}return a}function Ze(e,t,n){if(H.errorHandler)try{return H.errorHandler.call(null,e,t,n)}catch(or){or!==e&&Qe(or,null,"config.errorHandler")}Qe(e,t,n)}function Qe(e,t,n){if(!z&&!J||"undefined"===typeof console)throw e;console.error(e)}var et,tt=[],nt=!1;function ot(){nt=!1;var e=tt.slice(0);tt.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&se(Promise)){var rt=Promise.resolve();et=function(){rt.then(ot),te&&setTimeout(N)}}else if(Q||"undefined"===typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())et="undefined"!==typeof setImmediate&&se(setImmediate)?function(){setImmediate(ot)}:function(){setTimeout(ot,0)};else{var at=1,st=new MutationObserver(ot),it=document.createTextNode(String(at));st.observe(it,{characterData:!0}),et=function(){at=(at+1)%2,it.data=String(at)}}function ut(e,t){var n;if(tt.push((function(){if(e)try{e.call(t)}catch(or){Je(or,t,"nextTick")}else n&&n(t)})),nt||(nt=!0,et()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var ct=new ie;function dt(e){lt(e,ct),ct.clear()}function lt(e,t){var n,o,r=Array.isArray(e);if(!(!r&&!u(e)||Object.isFrozen(e)||e instanceof he)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(r){n=e.length;while(n--)lt(e[n],t)}else{o=Object.keys(e),n=o.length;while(n--)lt(e[o[n]],t)}}}var _t=L((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var o="!"===e.charAt(0);return e=o?e.slice(1):e,{name:e,once:n,capture:o,passive:t}}));function pt(e,t){function n(){var e=arguments,o=n.fns;if(!Array.isArray(o))return Xe(o,null,arguments,t,"v-on handler");for(var r=o.slice(),a=0;a<r.length;a++)Xe(r[a],null,e,t,"v-on handler")}return n.fns=e,n}function ht(e,t,n,r,s,i){var u,c,d,l;for(u in e)c=e[u],d=t[u],l=_t(u),o(c)||(o(d)?(o(c.fns)&&(c=e[u]=pt(c,i)),a(l.once)&&(c=e[u]=s(l.name,c,l.capture)),n(l.name,c,l.capture,l.passive,l.params)):c!==d&&(d.fns=c,e[u]=d));for(u in t)o(e[u])&&(l=_t(u),r(l.name,t[u],l.capture))}function mt(e,t,n,a){var s=t.options.mpOptions&&t.options.mpOptions.properties;if(o(s))return n;var i=t.options.mpOptions.externalClasses||[],u=e.attrs,c=e.props;if(r(u)||r(c))for(var d in s){var l=S(d),_=gt(n,c,d,l,!0)||gt(n,u,d,l,!1);_&&n[d]&&-1!==i.indexOf(l)&&a[D(n[d])]&&(n[d]=a[D(n[d])])}return n}function ft(e,t,n,a){var s=t.options.props;if(o(s))return mt(e,t,{},a);var i={},u=e.attrs,c=e.props;if(r(u)||r(c))for(var d in s){var l=S(d);gt(i,c,d,l,!0)||gt(i,u,d,l,!1)}return mt(e,t,i,a)}function gt(e,t,n,o,a){if(r(t)){if(v(t,n))return e[n]=t[n],a||delete t[n],!0;if(v(t,o))return e[n]=t[o],a||delete t[o],!0}return!1}function Mt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function yt(e){return i(e)?[ge(e)]:Array.isArray(e)?Lt(e):void 0}function vt(e){return r(e)&&r(e.text)&&s(e.isComment)}function Lt(e,t){var n,s,u,c,d=[];for(n=0;n<e.length;n++)s=e[n],o(s)||"boolean"===typeof s||(u=d.length-1,c=d[u],Array.isArray(s)?s.length>0&&(s=Lt(s,(t||"")+"_"+n),vt(s[0])&&vt(c)&&(d[u]=ge(c.text+s[0].text),s.shift()),d.push.apply(d,s)):i(s)?vt(c)?d[u]=ge(c.text+s):""!==s&&d.push(ge(s)):vt(s)&&vt(c)?d[u]=ge(c.text+s.text):(a(e._isVList)&&r(s.tag)&&o(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+n+"__"),d.push(s)));return d}function Tt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Dt(e){var t=kt(e.$options.inject,e);t&&(ke(!1),Object.keys(t).forEach((function(n){Ae(e,n,t[n])})),ke(!0))}function kt(e,t){if(e){for(var n=Object.create(null),o=ue?Reflect.ownKeys(e):Object.keys(e),r=0;r<o.length;r++){var a=o[r];if("__ob__"!==a){var s=e[a].from,i=t;while(i){if(i._provided&&v(i._provided,s)){n[a]=i._provided[s];break}i=i.$parent}if(!i)if("default"in e[a]){var u=e[a].default;n[a]="function"===typeof u?u.call(t):u}else 0}}return n}}function It(e,t){if(!e||!e.length)return{};for(var n={},o=0,r=e.length;o<r;o++){var a=e[o],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,a.context!==t&&a.fnContext!==t||!s||null==s.slot)a.asyncMeta&&a.asyncMeta.data&&"page"===a.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(a):(n.default||(n.default=[])).push(a);else{var i=s.slot,u=n[i]||(n[i]=[]);"template"===a.tag?u.push.apply(u,a.children||[]):u.push(a)}}for(var c in n)n[c].every(St)&&delete n[c];return n}function St(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Et(e,t,o){var r,a=Object.keys(t).length>0,s=e?!!e.$stable:!a,i=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==n&&i===o.$key&&!a&&!o.$hasNormal)return o;for(var u in r={},e)e[u]&&"$"!==u[0]&&(r[u]=Ct(t,u,e[u]))}else r={};for(var c in t)c in r||(r[c]=At(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),B(r,"$stable",s),B(r,"$key",i),B(r,"$hasNormal",a),r}function Ct(e,t,n){var o=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:yt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:o,enumerable:!0,configurable:!0}),o}function At(e,t){return function(){return e[t]}}function Ot(e,t){var n,o,a,s,i;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),o=0,a=e.length;o<a;o++)n[o]=t(e[o],o,o,o);else if("number"===typeof e)for(n=new Array(e),o=0;o<e;o++)n[o]=t(o+1,o,o,o);else if(u(e))if(ue&&e[Symbol.iterator]){n=[];var c=e[Symbol.iterator](),d=c.next();while(!d.done)n.push(t(d.value,n.length,o,o++)),d=c.next()}else for(s=Object.keys(e),n=new Array(s.length),o=0,a=s.length;o<a;o++)i=s[o],n[o]=t(e[i],i,o,o);return r(n)||(n=[]),n._isVList=!0,n}function bt(e,t,n,o){var r,a=this.$scopedSlots[e];a?(n=n||{},o&&(n=b(b({},o),n)),r=a(n,this,n._i)||t):r=this.$slots[e]||t;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},r):r}function wt(e){return Be(this.$options,"filters",e,!0)||P}function Nt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Rt(e,t,n,o,r){var a=H.keyCodes[t]||n;return r&&o&&!H.keyCodes[t]?Nt(r,o):a?Nt(a,e):o?S(o)!==t:void 0}function Pt(e,t,n,o,r){if(n)if(u(n)){var a;Array.isArray(n)&&(n=w(n));var s=function(s){if("class"===s||"style"===s||g(s))a=e;else{var i=e.attrs&&e.attrs.type;a=o||H.mustUseProp(t,i,s)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var u=D(s),c=S(s);if(!(u in a)&&!(c in a)&&(a[s]=n[s],r)){var d=e.on||(e.on={});d["update:"+s]=function(e){n[s]=e}}};for(var i in n)s(i)}else;return e}function Yt(e,t){var n=this._staticTrees||(this._staticTrees=[]),o=n[e];return o&&!t||(o=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),Ut(o,"__static__"+e,!1)),o}function Gt(e,t,n){return Ut(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ut(e,t,n){if(Array.isArray(e))for(var o=0;o<e.length;o++)e[o]&&"string"!==typeof e[o]&&Ft(e[o],t+"_"+o,n);else Ft(e,t,n)}function Ft(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function xt(e,t){if(t)if(d(t)){var n=e.on=e.on?b({},e.on):{};for(var o in t){var r=n[o],a=t[o];n[o]=r?[].concat(r,a):a}}else;return e}function Ht(e,t,n,o){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var a=e[r];Array.isArray(a)?Ht(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return o&&(t.$key=o),t}function jt(e,t){for(var n=0;n<t.length;n+=2){var o=t[n];"string"===typeof o&&o&&(e[t[n]]=t[n+1])}return e}function qt(e,t){return"string"===typeof e?t+e:e}function Bt(e){e._o=Gt,e._n=m,e._s=h,e._l=Ot,e._t=bt,e._q=Y,e._i=G,e._m=Yt,e._f=wt,e._k=Rt,e._b=Pt,e._v=ge,e._e=fe,e._u=Ht,e._g=xt,e._d=jt,e._p=qt}function Vt(e,t,o,r,s){var i,u=this,c=s.options;v(r,"_uid")?(i=Object.create(r),i._original=r):(i=r,r=r._original);var d=a(c._compiled),l=!d;this.data=e,this.props=t,this.children=o,this.parent=r,this.listeners=e.on||n,this.injections=kt(c.inject,r),this.slots=function(){return u.$slots||Et(e.scopedSlots,u.$slots=It(o,r)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Et(e.scopedSlots,this.slots())}}),d&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Et(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,o){var a=rn(i,e,t,n,o,l);return a&&!Array.isArray(a)&&(a.fnScopeId=c._scopeId,a.fnContext=r),a}:this._c=function(e,t,n,o){return rn(i,e,t,n,o,l)}}function Wt(e,t,o,a,s){var i=e.options,u={},c=i.props;if(r(c))for(var d in c)u[d]=Ve(d,c,t||n);else r(o.attrs)&&$t(u,o.attrs),r(o.props)&&$t(u,o.props);var l=new Vt(o,u,s,a,e),_=i.render.call(null,l._c,l);if(_ instanceof he)return Kt(_,o,l.parent,i,l);if(Array.isArray(_)){for(var p=yt(_)||[],h=new Array(p.length),m=0;m<p.length;m++)h[m]=Kt(p[m],o,l.parent,i,l);return h}}function Kt(e,t,n,o,r){var a=Me(e);return a.fnContext=n,a.fnOptions=o,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function $t(e,t){for(var n in t)e[D(n)]=t[n]}Bt(Vt.prototype);var zt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;zt.prepatch(n,n)}else{var o=e.componentInstance=Zt(e,kn);o.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,o=t.componentInstance=e.componentInstance;Cn(o,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(wn(n,"onServiceCreated"),wn(n,"onServiceAttached"),n._isMounted=!0,wn(n,"mounted")),e.data.keepAlive&&(t._isMounted?Bn(n):On(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?bn(t,!0):t.$destroy())}},Jt=Object.keys(zt);function Xt(e,t,n,s,i){if(!o(e)){var c=n.$options._base;if(u(e)&&(e=c.extend(e)),"function"===typeof e){var d;if(o(e.cid)&&(d=e,e=mn(d,c),void 0===e))return hn(d,t,n,s,i);t=t||{},ho(e),r(t.model)&&tn(e.options,t);var l=ft(t,e,i,n);if(a(e.options.functional))return Wt(e,l,t,n,s);var _=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}Qt(t);var h=e.options.name||i,m=new he("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:l,listeners:_,tag:i,children:s},d);return m}}}function Zt(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},o=e.data.inlineTemplate;return r(o)&&(n.render=o.render,n.staticRenderFns=o.staticRenderFns),new e.componentOptions.Ctor(n)}function Qt(e){for(var t=e.hook||(e.hook={}),n=0;n<Jt.length;n++){var o=Jt[n],r=t[o],a=zt[o];r===a||r&&r._merged||(t[o]=r?en(a,r):a)}}function en(e,t){var n=function(n,o){e(n,o),t(n,o)};return n._merged=!0,n}function tn(e,t){var n=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var a=t.on||(t.on={}),s=a[o],i=t.model.callback;r(s)?(Array.isArray(s)?-1===s.indexOf(i):s!==i)&&(a[o]=[i].concat(s)):a[o]=i}var nn=1,on=2;function rn(e,t,n,o,r,s){return(Array.isArray(n)||i(n))&&(r=o,o=n,n=void 0),a(s)&&(r=on),an(e,t,n,o,r)}function an(e,t,n,o,a){if(r(n)&&r(n.__ob__))return fe();if(r(n)&&r(n.is)&&(t=n.is),!t)return fe();var s,i,u;(Array.isArray(o)&&"function"===typeof o[0]&&(n=n||{},n.scopedSlots={default:o[0]},o.length=0),a===on?o=yt(o):a===nn&&(o=Mt(o)),"string"===typeof t)?(i=e.$vnode&&e.$vnode.ns||H.getTagNamespace(t),s=H.isReservedTag(t)?new he(H.parsePlatformTagName(t),n,o,void 0,void 0,e):n&&n.pre||!r(u=Be(e.$options,"components",t))?new he(t,n,o,void 0,void 0,e):Xt(u,n,e,o,t)):s=Xt(t,n,e,o);return Array.isArray(s)?s:r(s)?(r(i)&&sn(s,i),r(n)&&un(n),s):fe()}function sn(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),r(e.children))for(var s=0,i=e.children.length;s<i;s++){var u=e.children[s];r(u.tag)&&(o(u.ns)||a(n)&&"svg"!==u.tag)&&sn(u,t,n)}}function un(e){u(e.style)&&dt(e.style),u(e.class)&&dt(e.class)}function cn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,o=e.$vnode=t._parentVnode,r=o&&o.context;e.$slots=It(t._renderChildren,r),e.$scopedSlots=n,e._c=function(t,n,o,r){return rn(e,t,n,o,r,!1)},e.$createElement=function(t,n,o,r){return rn(e,t,n,o,r,!0)};var a=o&&o.data;Ae(e,"$attrs",a&&a.attrs||n,null,!0),Ae(e,"$listeners",t._parentListeners||n,null,!0)}var dn,ln=null;function _n(e){Bt(e.prototype),e.prototype.$nextTick=function(e){return ut(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,o=n.render,r=n._parentVnode;r&&(t.$scopedSlots=Et(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{ln=t,e=o.call(t._renderProxy,t.$createElement)}catch(or){Je(or,t,"render"),e=t._vnode}finally{ln=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof he||(e=fe()),e.parent=r,e}}function pn(e,t){return(e.__esModule||ue&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function hn(e,t,n,o,r){var a=fe();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:o,tag:r},a}function mn(e,t){if(a(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;var n=ln;if(n&&r(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&r(e.loadingComp))return e.loadingComp;if(n&&!r(e.owners)){var s=e.owners=[n],i=!0,c=null,d=null;n.$on("hook:destroyed",(function(){return M(s,n)}));var l=function(e){for(var t=0,n=s.length;t<n;t++)s[t].$forceUpdate();e&&(s.length=0,null!==c&&(clearTimeout(c),c=null),null!==d&&(clearTimeout(d),d=null))},_=U((function(n){e.resolved=pn(n,t),i?s.length=0:l(!0)})),h=U((function(t){r(e.errorComp)&&(e.error=!0,l(!0))})),m=e(_,h);return u(m)&&(p(m)?o(e.resolved)&&m.then(_,h):p(m.component)&&(m.component.then(_,h),r(m.error)&&(e.errorComp=pn(m.error,t)),r(m.loading)&&(e.loadingComp=pn(m.loading,t),0===m.delay?e.loading=!0:c=setTimeout((function(){c=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,l(!1))}),m.delay||200)),r(m.timeout)&&(d=setTimeout((function(){d=null,o(e.resolved)&&h(null)}),m.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}function fn(e){return e.isComment&&e.asyncFactory}function gn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||fn(n)))return n}}function Mn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Tn(e,t)}function yn(e,t){dn.$on(e,t)}function vn(e,t){dn.$off(e,t)}function Ln(e,t){var n=dn;return function o(){var r=t.apply(null,arguments);null!==r&&n.$off(e,o)}}function Tn(e,t,n){dn=e,ht(t,n||{},yn,vn,Ln,e),dn=void 0}function Dn(e){var t=/^hook:/;e.prototype.$on=function(e,n){var o=this;if(Array.isArray(e))for(var r=0,a=e.length;r<a;r++)o.$on(e[r],n);else(o._events[e]||(o._events[e]=[])).push(n),t.test(e)&&(o._hasHookEvent=!0);return o},e.prototype.$once=function(e,t){var n=this;function o(){n.$off(e,o),t.apply(n,arguments)}return o.fn=t,n.$on(e,o),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var o=0,r=e.length;o<r;o++)n.$off(e[o],t);return n}var a,s=n._events[e];if(!s)return n;if(!t)return n._events[e]=null,n;var i=s.length;while(i--)if(a=s[i],a===t||a.fn===t){s.splice(i,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?O(n):n;for(var o=O(arguments,1),r='event handler for "'+e+'"',a=0,s=n.length;a<s;a++)Xe(n[a],t,o,t,r)}return t}}var kn=null;function In(e){var t=kn;return kn=e,function(){kn=t}}function Sn(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function En(e){e.prototype._update=function(e,t){var n=this,o=n.$el,r=n._vnode,a=In(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),a(),o&&(o.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){wn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||M(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),wn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Cn(e,t,o,r,a){var s=r.data.scopedSlots,i=e.$scopedSlots,u=!!(s&&!s.$stable||i!==n&&!i.$stable||s&&e.$scopedSlots.$key!==s.$key),c=!!(a||e.$options._renderChildren||u);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=a,e.$attrs=r.data.attrs||n,e.$listeners=o||n,t&&e.$options.props){ke(!1);for(var d=e._props,l=e.$options._propKeys||[],_=0;_<l.length;_++){var p=l[_],h=e.$options.props;d[p]=Ve(p,h,t,e)}ke(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),o=o||n;var m=e.$options._parentListeners;e.$options._parentListeners=o,Tn(e,o,m),c&&(e.$slots=It(a,r.context),e.$forceUpdate())}function An(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function On(e,t){if(t){if(e._directInactive=!1,An(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)On(e.$children[n]);wn(e,"activated")}}function bn(e,t){if((!t||(e._directInactive=!0,!An(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)bn(e.$children[n]);wn(e,"deactivated")}}function wn(e,t){_e();var n=e.$options[t],o=t+" hook";if(n)for(var r=0,a=n.length;r<a;r++)Xe(n[r],e,null,e,o);e._hasHookEvent&&e.$emit("hook:"+t),pe()}var Nn=[],Rn=[],Pn={},Yn=!1,Gn=!1,Un=0;function Fn(){Un=Nn.length=Rn.length=0,Pn={},Yn=Gn=!1}var xn=Date.now;if(z&&!Q){var Hn=window.performance;Hn&&"function"===typeof Hn.now&&xn()>document.createEvent("Event").timeStamp&&(xn=function(){return Hn.now()})}function jn(){var e,t;for(xn(),Gn=!0,Nn.sort((function(e,t){return e.id-t.id})),Un=0;Un<Nn.length;Un++)e=Nn[Un],e.before&&e.before(),t=e.id,Pn[t]=null,e.run();var n=Rn.slice(),o=Nn.slice();Fn(),Vn(n),qn(o),ae&&H.devtools&&ae.emit("flush")}function qn(e){var t=e.length;while(t--){var n=e[t],o=n.vm;o._watcher===n&&o._isMounted&&!o._isDestroyed&&wn(o,"updated")}}function Bn(e){e._inactive=!1,Rn.push(e)}function Vn(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,On(e[t],!0)}function Wn(e){var t=e.id;if(null==Pn[t]){if(Pn[t]=!0,Gn){var n=Nn.length-1;while(n>Un&&Nn[n].id>e.id)n--;Nn.splice(n+1,0,e)}else Nn.push(e);Yn||(Yn=!0,ut(jn))}}var Kn=0,$n=function(e,t,n,o,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Kn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ie,this.newDepIds=new ie,this.expression="","function"===typeof t?this.getter=t:(this.getter=W(t),this.getter||(this.getter=N)),this.value=this.lazy?void 0:this.get()};$n.prototype.get=function(){var e;_e(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(or){if(!this.user)throw or;Je(or,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&dt(e),pe(),this.cleanupDeps()}return e},$n.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},$n.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},$n.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Wn(this)},$n.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(or){Je(or,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},$n.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},$n.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},$n.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||M(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var zn={enumerable:!0,configurable:!0,get:N,set:N};function Jn(e,t,n){zn.get=function(){return this[t][n]},zn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,zn)}function Xn(e){e._watchers=[];var t=e.$options;t.props&&Zn(e,t.props),t.methods&&so(e,t.methods),t.data?Qn(e):Ce(e._data={},!0),t.computed&&no(e,t.computed),t.watch&&t.watch!==ne&&io(e,t.watch)}function Zn(e,t){var n=e.$options.propsData||{},o=e._props={},r=e.$options._propKeys=[],a=!e.$parent;a||ke(!1);var s=function(a){r.push(a);var s=Ve(a,t,n,e);Ae(o,a,s),a in e||Jn(e,"_props",a)};for(var i in t)s(i);ke(!0)}function Qn(e){var t=e.$options.data;t=e._data="function"===typeof t?eo(t,e):t||{},d(t)||(t={});var n=Object.keys(t),o=e.$options.props,r=(e.$options.methods,n.length);while(r--){var a=n[r];0,o&&v(o,a)||q(a)||Jn(e,"_data",a)}Ce(t,!0)}function eo(e,t){_e();try{return e.call(t,t)}catch(or){return Je(or,t,"data()"),{}}finally{pe()}}var to={lazy:!0};function no(e,t){var n=e._computedWatchers=Object.create(null),o=re();for(var r in t){var a=t[r],s="function"===typeof a?a:a.get;0,o||(n[r]=new $n(e,s||N,N,to)),r in e||oo(e,r,a)}}function oo(e,t,n){var o=!re();"function"===typeof n?(zn.get=o?ro(t):ao(n),zn.set=N):(zn.get=n.get?o&&!1!==n.cache?ro(t):ao(n.get):N,zn.set=n.set||N),Object.defineProperty(e,t,zn)}function ro(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),le.SharedObject.target&&t.depend(),t.value}}function ao(e){return function(){return e.call(this,this)}}function so(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?N:A(t[n],e)}function io(e,t){for(var n in t){var o=t[n];if(Array.isArray(o))for(var r=0;r<o.length;r++)uo(e,n,o[r]);else uo(e,n,o)}}function uo(e,t,n,o){return d(n)&&(o=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,o)}function co(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Oe,e.prototype.$delete=be,e.prototype.$watch=function(e,t,n){var o=this;if(d(t))return uo(o,e,t,n);n=n||{},n.user=!0;var r=new $n(o,e,t,n);if(n.immediate)try{t.call(o,r.value)}catch(a){Je(a,o,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}var lo=0;function _o(e){e.prototype._init=function(e){var t=this;t._uid=lo++,t._isVue=!0,e&&e._isComponent?po(t,e):t.$options=qe(ho(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Sn(t),Mn(t),cn(t),wn(t,"beforeCreate"),!t._$fallback&&Dt(t),Xn(t),!t._$fallback&&Tt(t),!t._$fallback&&wn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function po(e,t){var n=e.$options=Object.create(e.constructor.options),o=t._parentVnode;n.parent=t.parent,n._parentVnode=o;var r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function ho(e){var t=e.options;if(e.super){var n=ho(e.super),o=e.superOptions;if(n!==o){e.superOptions=n;var r=mo(e);r&&b(e.extendOptions,r),t=e.options=qe(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function mo(e){var t,n=e.options,o=e.sealedOptions;for(var r in n)n[r]!==o[r]&&(t||(t={}),t[r]=n[r]);return t}function fo(e){this._init(e)}function go(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Mo(e){e.mixin=function(e){return this.options=qe(this.options,e),this}}function yo(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,o=n.cid,r=e._Ctor||(e._Ctor={});if(r[o])return r[o];var a=e.name||n.options.name;var s=function(e){this._init(e)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=t++,s.options=qe(n.options,e),s["super"]=n,s.options.props&&vo(s),s.options.computed&&Lo(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,F.forEach((function(e){s[e]=n[e]})),a&&(s.options.components[a]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=b({},s.options),r[o]=s,s}}function vo(e){var t=e.options.props;for(var n in t)Jn(e.prototype,"_props",n)}function Lo(e){var t=e.options.computed;for(var n in t)oo(e.prototype,n,t[n])}function To(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Do(e){return e&&(e.Ctor.options.name||e.tag)}function ko(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!l(e)&&e.test(t)}function Io(e,t){var n=e.cache,o=e.keys,r=e._vnode;for(var a in n){var s=n[a];if(s){var i=Do(s.componentOptions);i&&!t(i)&&So(n,a,o,r)}}}function So(e,t,n,o){var r=e[t];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),e[t]=null,M(n,t)}_o(fo),co(fo),Dn(fo),En(fo),_n(fo);var Eo=[String,RegExp,Array],Co={name:"keep-alive",abstract:!0,props:{include:Eo,exclude:Eo,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)So(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Io(e,(function(e){return ko(t,e)}))})),this.$watch("exclude",(function(t){Io(e,(function(e){return!ko(t,e)}))}))},render:function(){var e=this.$slots.default,t=gn(e),n=t&&t.componentOptions;if(n){var o=Do(n),r=this,a=r.include,s=r.exclude;if(a&&(!o||!ko(a,o))||s&&o&&ko(s,o))return t;var i=this,u=i.cache,c=i.keys,d=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;u[d]?(t.componentInstance=u[d].componentInstance,M(c,d),c.push(d)):(u[d]=t,c.push(d),this.max&&c.length>parseInt(this.max)&&So(u,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Ao={KeepAlive:Co};function Oo(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:b,mergeOptions:qe,defineReactive:Ae},e.set=Oe,e.delete=be,e.nextTick=ut,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,b(e.options.components,Ao),go(e),Mo(e),yo(e),To(e)}Oo(fo),Object.defineProperty(fo.prototype,"$isServer",{get:re}),Object.defineProperty(fo.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(fo,"FunctionalRenderContext",{value:Vt}),fo.version="2.6.11";var bo="[object Array]",wo="[object Object]";function No(e,t){var n={};return Ro(e,t),Po(e,t,"",n),n}function Ro(e,t){if(e!==t){var n=Go(e),o=Go(t);if(n==wo&&o==wo){if(Object.keys(e).length>=Object.keys(t).length)for(var r in t){var a=e[r];void 0===a?e[r]=null:Ro(a,t[r])}}else n==bo&&o==bo&&e.length>=t.length&&t.forEach((function(t,n){Ro(e[n],t)}))}}function Po(e,t,n,o){if(e!==t){var r=Go(e),a=Go(t);if(r==wo)if(a!=wo||Object.keys(e).length<Object.keys(t).length)Yo(o,n,e);else{var s=function(r){var a=e[r],s=t[r],i=Go(a),u=Go(s);if(i!=bo&&i!=wo)a!==t[r]&&Yo(o,(""==n?"":n+".")+r,a);else if(i==bo)u!=bo||a.length<s.length?Yo(o,(""==n?"":n+".")+r,a):a.forEach((function(e,t){Po(e,s[t],(""==n?"":n+".")+r+"["+t+"]",o)}));else if(i==wo)if(u!=wo||Object.keys(a).length<Object.keys(s).length)Yo(o,(""==n?"":n+".")+r,a);else for(var c in a)Po(a[c],s[c],(""==n?"":n+".")+r+"."+c,o)};for(var i in e)s(i)}else r==bo?a!=bo||e.length<t.length?Yo(o,n,e):e.forEach((function(e,r){Po(e,t[r],n+"["+r+"]",o)})):Yo(o,n,e)}}function Yo(e,t,n){e[t]=n}function Go(e){return Object.prototype.toString.call(e)}function Uo(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({VUE_APP_NAME:"sugarpark-mini-program",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var t=e.$scope;console.log("["+ +new Date+"]["+(t.is||t.route)+"]["+e._uid+"]:flushCallbacks["+e.__next_tick_callbacks.length+"]")}var n=e.__next_tick_callbacks.slice(0);e.__next_tick_callbacks.length=0;for(var o=0;o<n.length;o++)n[o]()}}function Fo(e){return Nn.find((function(t){return e._watcher===t}))}function xo(e,t){if(!e.__next_tick_pending&&!Fo(e)){if(Object({VUE_APP_NAME:"sugarpark-mini-program",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var n=e.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+e._uid+"]:nextVueTick")}return ut(t,e)}if(Object({VUE_APP_NAME:"sugarpark-mini-program",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var o=e.$scope;console.log("["+ +new Date+"]["+(o.is||o.route)+"]["+e._uid+"]:nextMPTick")}var r;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(or){Je(or,e,"nextTick")}else r&&r(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){r=e}))}function Ho(e){var t=Object.create(null),n=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));n.reduce((function(t,n){return t[n]=e[n],t}),t);var o=e.__composition_api_state__||e.__secret_vfa_state__,r=o&&o.rawBindings;return r&&Object.keys(r).forEach((function(n){t[n]=e[n]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t))}var jo=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var o=this.$scope,r=Object.create(null);try{r=Ho(this)}catch(i){console.error(i)}r.__webviewId__=o.data.__webviewId__;var a=Object.create(null);Object.keys(r).forEach((function(e){a[e]=o.data[e]}));var s=!1===this.$shouldDiffData?r:No(r,a);Object.keys(s).length?(Object({VUE_APP_NAME:"sugarpark-mini-program",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(o.is||o.route)+"]["+this._uid+"]差量更新",JSON.stringify(s)),this.__next_tick_pending=!0,o.setData(s,(function(){n.__next_tick_pending=!1,Uo(n)}))):Uo(this)}};function qo(){}function Bo(e,t,n){if(!e.mpType)return e;"app"===e.mpType&&(e.$options.render=qo),e.$options.render||(e.$options.render=qo),!e._$fallback&&wn(e,"beforeMount");var o=function(){e._update(e._render(),n)};return new $n(e,o,N,{before:function(){e._isMounted&&!e._isDestroyed&&wn(e,"beforeUpdate")}},!0),n=!1,e}function Vo(e,t){return r(e)||r(t)?Wo(e,Ko(t)):""}function Wo(e,t){return e?t?e+" "+t:e:t||""}function Ko(e){return Array.isArray(e)?$o(e):u(e)?zo(e):"string"===typeof e?e:""}function $o(e){for(var t,n="",o=0,a=e.length;o<a;o++)r(t=Ko(e[o]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function zo(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var Jo=L((function(e){var t={},n=/;(?![^(]*\))/g,o=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Xo(e){return Array.isArray(e)?w(e):"string"===typeof e?Jo(e):e}var Zo=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Qo(e,t){var n=t.split("."),o=n[0];return 0===o.indexOf("__$n")&&(o=parseInt(o.replace("__$n",""))),1===n.length?e[o]:Qo(e[o],n.slice(1).join("."))}function er(e){e.config.errorHandler=function(t,n,o){e.util.warn("Error in "+o+': "'+t.toString()+'"',n),console.error(t);var r="function"===typeof getApp&&getApp();r&&r.onError&&r.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){return this.$scope&&e&&(this.$scope["_triggerEvent"]||this.$scope["triggerEvent"]).call(this.$scope,e,{__args__:O(arguments,1)}),t.apply(this,arguments)},e.prototype.$nextTick=function(e){return xo(this,e)},Zo.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=Tt,e.prototype.__init_injections=Dt,e.prototype.__call_hook=function(e,t){var n=this;_e();var o,r=n.$options[e],a=e+" hook";if(r)for(var s=0,i=r.length;s<i;s++)o=Xe(r[s],n,t?[t]:null,n,a);return n._hasHookEvent&&n.$emit("hook:"+e,t),pe(),o},e.prototype.__set_model=function(t,n,o,r){Array.isArray(r)&&(-1!==r.indexOf("trim")&&(o=o.trim()),-1!==r.indexOf("number")&&(o=this._n(o))),t||(t=this),e.set(t,n,o)},e.prototype.__set_sync=function(t,n,o){t||(t=this),e.set(t,n,o)},e.prototype.__get_orig=function(e){return d(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return Qo(t||this,e)},e.prototype.__get_class=function(e,t){return Vo(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var n=Xo(e),o=t?b(t,n):n;return Object.keys(o).map((function(e){return S(e)+":"+o[e]})).join(";")},e.prototype.__map=function(e,t){var n,o,r,a,s;if(Array.isArray(e)){for(n=new Array(e.length),o=0,r=e.length;o<r;o++)n[o]=t(e[o],o);return n}if(u(e)){for(a=Object.keys(e),n=Object.create(null),o=0,r=a.length;o<r;o++)s=a[o],n[s]=t(e[s],s,o);return n}if("number"===typeof e){for(n=new Array(e),o=0,r=e;o<r;o++)n[o]=t(o,o);return n}return[]}}var tr=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onPageShow","onPageHide","onPageResize"];function nr(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==tr.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,o=n.created;tr.forEach((function(e){n[e]=o})),e.prototype.__lifecycle_hooks__=tr}fo.prototype.__patch__=jo,fo.prototype.$mount=function(e,t){return Bo(this,e,t)},nr(fo),er(fo),t["default"]=fo}.call(this,n("c8ba"))},6725:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,o){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===o?n?"минута":"минуту":e+" "+t(r[o],+e)}var o=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],r=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:o,longMonthsParse:o,shortMonthsParse:o,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return r}))},6973:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},o=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return o}))},"6bdc":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function o(e){return e>1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?a+(o(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?a+(o(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(o(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?a+(o(e)?"dni":"dní"):a+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(o(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(o(e)?"roky":"rokov"):a+"rokmi"}}var a=e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"6c74":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},"6cae":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},o=e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return o}))},"700f":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,o=e>=100?100:null;return e+(t[e]||t[n]||t[o])},week:{dow:1,doy:7}});return n}))},7197:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"71e3":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},7344:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},"77b5":function(e,t,n){(function(t){(function(t,n){e.exports=n()})(0,(function(){var e=e||function(e,o){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof t&&t.crypto&&(r=t.crypto),!r)try{r=n(0)}catch(g){}var a=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},u=i.lib={},c=u.Base=function(){return{extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=u.WordArray=c.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=o?t:4*e.length},toString:function(e){return(e||_).stringify(this)},concat:function(e){var t=this.words,n=e.words,o=this.sigBytes,r=e.sigBytes;if(this.clamp(),o%4)for(var a=0;a<r;a++){var s=n[a>>>2]>>>24-a%4*8&255;t[o+a>>>2]|=s<<24-(o+a)%4*8}else for(var i=0;i<r;i+=4)t[o+i>>>2]=n[i>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(a());return new d.init(t,e)}}),l=i.enc={},_=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],r=0;r<n;r++){var a=t[r>>>2]>>>24-r%4*8&255;o.push((a>>>4).toString(16)),o.push((15&a).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o+=2)n[o>>>3]|=parseInt(e.substr(o,2),16)<<24-o%8*4;return new d.init(n,t/2)}},p=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],r=0;r<n;r++){var a=t[r>>>2]>>>24-r%4*8&255;o.push(String.fromCharCode(a))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new d.init(n,t)}},h=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},m=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,o=this._data,r=o.words,a=o.sigBytes,s=this.blockSize,i=4*s,u=a/i;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var c=u*s,l=e.min(4*c,a);if(c){for(var _=0;_<c;_+=s)this._doProcessBlock(r,_);n=r.splice(0,c),o.sigBytes-=l}return new d.init(n,l)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(u.Hasher=m.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new f.HMAC.init(e,n).finalize(t)}}}),i.algo={});return i}(Math);return e}))}).call(this,n("c8ba"))},"77e5":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},"7a78":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function o(e,t,n,o){var r="";if(t)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे";break}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां";break}return r.replace(/%d/i,e)}var r=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return r}))},"7ba0":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"a "+e:"an "+e}function o(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"viru "+e:"virun "+e}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return r(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return r(e)}return e/=1e3,r(e)}var a=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:o,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"7bb8":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},o=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return o}))},"7e14":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},o=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return o}))},"7f74":function(e,t,n){"use strict";(function(t){o(n("f05b"));function o(e){return e&&e.__esModule?e:{default:e}}var r="https://zhenyanapp-gen.oss-cn-qingdao.aliyuncs.com/wechat-mini-pro/",a=1400293452,s="https://mini.sugarpark.cn",i={behaviorStandar:"https://h5.sugarpark.cn/agreement/behavior-standard.html",userAgreement:"https://h5.sugarpark.cn/agreement/user-agreement.html",privacy:"https://h5.sugarpark.cn/agreement/privacy.html",addedService:"https://h5.sugarpark.cn/agreement/added-service.html"},u=function(e){t.showToast({title:e,icon:"none",mask:!0})},c=function(){var e=t.getSystemInfoSync(),n=e.screenWidth*e.pixelRatio,o=e.screenHeight*e.pixelRatio;return-1!=e.model.indexOf("iPhone")&&(1125==n&&2436==o||(828==n&&1792==o||(1170==n&&2532==o||(1242==n&&2688==o||1284==n&&2778==o))))},d=function(e,t){var n=t-e,o=Math.floor(n/864e5),r=n%864e5,a=Math.floor(r/36e5),s=r%36e5,i=Math.floor(s/6e4),u=s%6e4,c=Math.round(u/1e3),d=o+"天"+a+"小时"+i+"分钟"+c+"秒";return d},l=function(e){var t=/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;return"120"===e.substr(0,3)&&11===e.length||!!t.test(e)},_=function(e){return/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(e)},p=function(e){return/^[\u4e00-\u9fa5]+$/.test(e)},h=function(e){return function(t,n){var o=t[e],r=n[e];return o-r}},m=function(e,n,o){return new Promise((function(r,a){void 0===n&&(n="GET");t.getAccountInfoSync();var i=t.getSystemInfoSync(),u=t.getStorageSync("LL_Ukn")||"szxe/TwE/wNJxcF+51069Dw3KHJQmbEuE2tEVHG4ETQ1TEnZ6loF7MQdmCFePTWTS9NE8zhDBrvPplTUYNnlPa10jJ1GycLQjpe2CkO+UvflA8adpe/uD5z2C8Bp1Pg9cThzHmqxeAe1Oq9G1eo3PKfGGYLALGx+dgFPYMn06M/Y+lVio4WpXbNW8KMNkWyxnFZnpZEXzzyDUCT13TMF9tevVJ9/Sb3yBgLiLYnydplax+zjkFqwGSiDrQWR/E8s",c=t.getStorageSync("LL_Csi")||{av:"2.6.0",brand:"Apple",currTime:1654149186191,deviceCode:i.deviceId,iOS:{idfa:"00000000-0000-0000-0000-000000000000"},lang:"zh",model:"iPhone12,5",ov:"15.3.1",pkgCate:"JyPark",platform:"WechatMP",resolution:{h:2688,s:3,w:1242},appId:15,android:{market:"Unknown"}},d=t.getStorageSync("token")||"88b99b11d3fc4cc3a71959b824678ce8";t.request({url:"".concat(s).concat(e),method:n,data:o,header:{"Content-Type":"application/json",token:"userLogin/login"===e?"":d,LL_Ukn:u,LL_Csi:JSON.stringify(c)},success:function(e){"Unauthorized"===e.data.status?t.setStorageSync("token",""):"FrozenUser"===e.data.status?(t.showToast({icon:"none",title:"用户已被冻结"}),setTimeout((function(){t.reLaunch({url:"/pages/login/login"})}),2e3)):"Fail"===e.data.status?(t.showToast({icon:"none",title:e.data.msg}),setTimeout((function(){t.reLaunch({url:"/pages/login/login"})}),2e3)):"Exception"===e.data.status?t.showToast({icon:"none",title:e.data.msg}):"Succ"===e.data.status||0===e.data.code?r(e.data):a(e.data)},fail:function(e){return a(e.data)},complete:function(e){}})}))};e.exports={assetsUrl:r,request:m,showMsg:u,hasSafeArea:c,checkPhone:l,checkIdNo:_,checkChinese:p,compare:h,timeFn:d,protocal:i,IMSDKCode:a}}).call(this,n("543d")["default"])},"7f78":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return o?r[n][0]:r[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},"814b":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),o=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function a(e,t,n){var o=e+" ";switch(n){case"ss":return o+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return o+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return o+(r(e)?"godziny":"godzin");case"ww":return o+(r(e)?"tygodnie":"tygodni");case"MM":return o+(r(e)?"miesiące":"miesięcy");case"yy":return o+(r(e)?"lata":"lat")}}var s=e.defineLocale("pl",{months:function(e,o){return e?/D MMMM/.test(o)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"83e18":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},8626:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return t}))},"87f7":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n){var o={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+r(o[n],e)}function n(e){switch(o(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function o(e){return e>9?o(e%10):e}function r(e,t){return 2===t?a(e):e}function a(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var s=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,c=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,d=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],l=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],_=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],p=e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:_,fullWeekdaysParse:d,shortWeekdaysParse:l,minWeekdaysParse:_,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:u,monthsShortStrictRegex:c,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}});return p}))},"8a36":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,o=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],a=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return a}))},"8d86":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r=e+" ";switch(n){case"s":return t||o?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===e?t?"sekundo":"sekundi":2===e?t||o?"sekundi":"sekundah":e<5?t||o?"sekunde":"sekundah":"sekund",r;case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||o?"minuti":"minutama":e<5?t||o?"minute":"minutami":t||o?"minut":"minutami",r;case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||o?"uri":"urama":e<5?t||o?"ure":"urami":t||o?"ur":"urami",r;case"d":return t||o?"en dan":"enim dnem";case"dd":return r+=1===e?t||o?"dan":"dnem":2===e?t||o?"dni":"dnevoma":t||o?"dni":"dnevi",r;case"M":return t||o?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||o?"mesec":"mesecem":2===e?t||o?"meseca":"mesecema":e<5?t||o?"mesece":"meseci":t||o?"mesecev":"meseci",r;case"y":return t||o?"eno leto":"enim letom";case"yy":return r+=1===e?t||o?"leto":"letom":2===e?t||o?"leti":"letoma":e<5?t||o?"leta":"leti":t||o?"let":"leti",r}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"8eaf":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"8ff9":function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(t){var n=e,o=n.lib,r=o.WordArray,a=o.Hasher,s=n.algo,i=[];(function(){for(var e=0;e<64;e++)i[e]=4294967296*t.abs(t.sin(e+1))|0})();var u=s.MD5=a.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,r=e[o];e[o]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var a=this._hash.words,s=e[t+0],u=e[t+1],p=e[t+2],h=e[t+3],m=e[t+4],f=e[t+5],g=e[t+6],M=e[t+7],y=e[t+8],v=e[t+9],L=e[t+10],T=e[t+11],D=e[t+12],k=e[t+13],I=e[t+14],S=e[t+15],E=a[0],C=a[1],A=a[2],O=a[3];E=c(E,C,A,O,s,7,i[0]),O=c(O,E,C,A,u,12,i[1]),A=c(A,O,E,C,p,17,i[2]),C=c(C,A,O,E,h,22,i[3]),E=c(E,C,A,O,m,7,i[4]),O=c(O,E,C,A,f,12,i[5]),A=c(A,O,E,C,g,17,i[6]),C=c(C,A,O,E,M,22,i[7]),E=c(E,C,A,O,y,7,i[8]),O=c(O,E,C,A,v,12,i[9]),A=c(A,O,E,C,L,17,i[10]),C=c(C,A,O,E,T,22,i[11]),E=c(E,C,A,O,D,7,i[12]),O=c(O,E,C,A,k,12,i[13]),A=c(A,O,E,C,I,17,i[14]),C=c(C,A,O,E,S,22,i[15]),E=d(E,C,A,O,u,5,i[16]),O=d(O,E,C,A,g,9,i[17]),A=d(A,O,E,C,T,14,i[18]),C=d(C,A,O,E,s,20,i[19]),E=d(E,C,A,O,f,5,i[20]),O=d(O,E,C,A,L,9,i[21]),A=d(A,O,E,C,S,14,i[22]),C=d(C,A,O,E,m,20,i[23]),E=d(E,C,A,O,v,5,i[24]),O=d(O,E,C,A,I,9,i[25]),A=d(A,O,E,C,h,14,i[26]),C=d(C,A,O,E,y,20,i[27]),E=d(E,C,A,O,k,5,i[28]),O=d(O,E,C,A,p,9,i[29]),A=d(A,O,E,C,M,14,i[30]),C=d(C,A,O,E,D,20,i[31]),E=l(E,C,A,O,f,4,i[32]),O=l(O,E,C,A,y,11,i[33]),A=l(A,O,E,C,T,16,i[34]),C=l(C,A,O,E,I,23,i[35]),E=l(E,C,A,O,u,4,i[36]),O=l(O,E,C,A,m,11,i[37]),A=l(A,O,E,C,M,16,i[38]),C=l(C,A,O,E,L,23,i[39]),E=l(E,C,A,O,k,4,i[40]),O=l(O,E,C,A,s,11,i[41]),A=l(A,O,E,C,h,16,i[42]),C=l(C,A,O,E,g,23,i[43]),E=l(E,C,A,O,v,4,i[44]),O=l(O,E,C,A,D,11,i[45]),A=l(A,O,E,C,S,16,i[46]),C=l(C,A,O,E,p,23,i[47]),E=_(E,C,A,O,s,6,i[48]),O=_(O,E,C,A,M,10,i[49]),A=_(A,O,E,C,I,15,i[50]),C=_(C,A,O,E,f,21,i[51]),E=_(E,C,A,O,D,6,i[52]),O=_(O,E,C,A,h,10,i[53]),A=_(A,O,E,C,L,15,i[54]),C=_(C,A,O,E,u,21,i[55]),E=_(E,C,A,O,y,6,i[56]),O=_(O,E,C,A,S,10,i[57]),A=_(A,O,E,C,g,15,i[58]),C=_(C,A,O,E,k,21,i[59]),E=_(E,C,A,O,m,6,i[60]),O=_(O,E,C,A,T,10,i[61]),A=_(A,O,E,C,p,15,i[62]),C=_(C,A,O,E,v,21,i[63]),a[0]=a[0]+E|0,a[1]=a[1]+C|0,a[2]=a[2]+A|0,a[3]=a[3]+O|0},_doFinalize:function(){var e=this._data,n=e.words,o=8*this._nDataBytes,r=8*e.sigBytes;n[r>>>5]|=128<<24-r%32;var a=t.floor(o/4294967296),s=o;n[15+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(n.length+1),this._process();for(var i=this._hash,u=i.words,c=0;c<4;c++){var d=u[c];u[c]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return i},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,o,r,a,s){var i=e+(t&n|~t&o)+r+s;return(i<<a|i>>>32-a)+t}function d(e,t,n,o,r,a,s){var i=e+(t&o|n&~o)+r+s;return(i<<a|i>>>32-a)+t}function l(e,t,n,o,r,a,s){var i=e+(t^n^o)+r+s;return(i<<a|i>>>32-a)+t}function _(e,t,n,o,r,a,s){var i=e+(n^(t|~o))+r+s;return(i<<a|i>>>32-a)+t}n.MD5=a._createHelper(u),n.HmacMD5=a._createHmacHelper(u)}(Math),e.MD5}))},9013:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){
- /** @preserve
- * Counter block mode compatible with Dr Brian Gladman fileenc.c
- * derived from CryptoJS.mode.CTR
- * Jan Hruby jhruby.web@gmail.com
- */
- return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255===(e>>24&255)){var t=e>>16&255,n=e>>8&255,o=255&e;255===t?(t=0,255===n?(n=0,255===o?o=0:++o):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=o}else e+=1<<24;return e}function o(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var r=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,s=this._counter;a&&(s=this._counter=a.slice(0),this._iv=void 0),o(s);var i=s.slice(0);n.encryptBlock(i,0);for(var u=0;u<r;u++)e[t+u]^=i[u]}});return t.Decryptor=r,t}(),e.mode.CTRGladman}))},9152:function(e,t){t.read=function(e,t,n,o,r){var a,s,i=8*r-o-1,u=(1<<i)-1,c=u>>1,d=-7,l=n?r-1:0,_=n?-1:1,p=e[t+l];for(l+=_,a=p&(1<<-d)-1,p>>=-d,d+=i;d>0;a=256*a+e[t+l],l+=_,d-=8);for(s=a&(1<<-d)-1,a>>=-d,d+=o;d>0;s=256*s+e[t+l],l+=_,d-=8);if(0===a)a=1-c;else{if(a===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,o),a-=c}return(p?-1:1)*s*Math.pow(2,a-o)},t.write=function(e,t,n,o,r,a){var s,i,u,c=8*a-r-1,d=(1<<c)-1,l=d>>1,_=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=o?0:a-1,h=o?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+l>=1?_/u:_*Math.pow(2,1-l),t*u>=2&&(s++,u/=2),s+l>=d?(i=0,s=d):s+l>=1?(i=(t*u-1)*Math.pow(2,r),s+=l):(i=t*Math.pow(2,l-1)*Math.pow(2,r),s=0));r>=8;e[n+p]=255&i,p+=h,i/=256,r-=8);for(s=s<<r|i,c+=r;c>0;e[n+p]=255&s,p+=h,s/=256,c-=8);e[n+p-h]|=128*m}},9318:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var n=e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return n}))},"93d6":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",o=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=o[t]),e+n},week:{dow:1,doy:4}});return t}))},"94b8":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],o=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return o}))},"96cf":function(e,t){!function(t){"use strict";var n,o=Object.prototype,r=o.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",c="object"===typeof e,d=t.regeneratorRuntime;if(d)c&&(e.exports=d);else{d=t.regeneratorRuntime=c?e.exports:{},d.wrap=v;var l="suspendedStart",_="suspendedYield",p="executing",h="completed",m={},f={};f[s]=function(){return this};var g=Object.getPrototypeOf,M=g&&g(g(w([])));M&&M!==o&&r.call(M,s)&&(f=M);var y=k.prototype=T.prototype=Object.create(f);D.prototype=y.constructor=k,k.constructor=D,k[u]=D.displayName="GeneratorFunction",d.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},d.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(y),e},d.awrap=function(e){return{__await:e}},I(S.prototype),S.prototype[i]=function(){return this},d.AsyncIterator=S,d.async=function(e,t,n,o){var r=new S(v(e,t,n,o));return d.isGeneratorFunction(t)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},I(y),y[u]="Generator",y[s]=function(){return this},y.toString=function(){return"[object Generator]"},d.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},d.values=w,b.prototype={constructor:b,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return i.type="throw",i.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a],i=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(u&&c){if(this.prev<s.catchLoc)return o(s.catchLoc,!0);if(this.prev<s.finallyLoc)return o(s.finallyLoc)}else if(u){if(this.prev<s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=e,s.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:w(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),m}}}function v(e,t,n,o){var r=t&&t.prototype instanceof T?t:T,a=Object.create(r.prototype),s=new b(o||[]);return a._invoke=E(e,n,s),a}function L(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(o){return{type:"throw",arg:o}}}function T(){}function D(){}function k(){}function I(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function S(e){function t(n,o,a,s){var i=L(e[n],e,o);if("throw"!==i.type){var u=i.arg,c=u.value;return c&&"object"===typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then((function(e){t("next",e,a,s)}),(function(e){t("throw",e,a,s)})):Promise.resolve(c).then((function(e){u.value=e,a(u)}),(function(e){return t("throw",e,a,s)}))}s(i.arg)}var n;function o(e,o){function r(){return new Promise((function(n,r){t(e,o,n,r)}))}return n=n?n.then(r,r):r()}this._invoke=o}function E(e,t,n){var o=l;return function(r,a){if(o===p)throw new Error("Generator is already running");if(o===h){if("throw"===r)throw a;return N()}n.method=r,n.arg=a;while(1){var s=n.delegate;if(s){var i=C(s,n);if(i){if(i===m)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===l)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var u=L(e,t,n);if("normal"===u.type){if(o=n.done?h:_,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=h,n.method="throw",n.arg=u.arg)}}}function C(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,C(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=L(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,m;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function b(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function w(e){if(e){var t=e[s];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){while(++o<e.length)if(r.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return a.next=a}}return{next:N}}function N(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},9935:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0ca2"),n("8ff9"),n("611e"),n("29b3"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.StreamCipher,r=t.algo,a=r.RC4=o.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,o=this._S=[],r=0;r<256;r++)o[r]=r;r=0;for(var a=0;r<256;r++){var s=r%n,i=t[s>>>2]>>>24-s%4*8&255;a=(a+o[r]+i)%256;var u=o[r];o[r]=o[a],o[a]=u}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var e=this._S,t=this._i,n=this._j,o=0,r=0;r<4;r++){t=(t+1)%256,n=(n+e[t])%256;var a=e[t];e[t]=e[n],e[n]=a,o|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,o}t.RC4=o._createHelper(a);var i=r.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)s.call(this)}});t.RC4Drop=o._createHelper(i)}(),e.RC4}))},"9acd":function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,o=4*t,r=o-n%o,a=n+r-1;e.clamp(),e.words[a>>>2]|=r<<24-a%4*8,e.sigBytes+=r},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923}))},"9c8d":function(e,t,n){"use strict";(function(t,n){!function(t,n){e.exports=n()}(0,(function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function o(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){u(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function p(e,t,n){return(p=_()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return n&&l(r,n.prototype),r}).apply(null,arguments)}function h(e){var t="function"==typeof Map?new Map:void 0;return(h=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,o)}function o(){return p(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)})(e)}function m(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function M(e){var t=_();return function(){var n,o=d(e);if(t){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function y(e,t){return L(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a=[],s=!0,i=!1;try{for(n=n.call(e);!(s=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);s=!0);}catch(d){i=!0,r=d}finally{try{s||null==n.return||n.return()}finally{if(i)throw r}}return a}}(e,t)||D(e,t)||I()}function v(e){return function(e){if(Array.isArray(e))return k(e)}(e)||T(e)||D(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e){if(Array.isArray(e))return e}function T(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function D(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function I(){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 S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=D(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},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,s=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){i=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(i)throw a}}}}var E={SDK_READY:"sdkStateReady",SDK_NOT_READY:"sdkStateNotReady",SDK_DESTROY:"sdkDestroy",MESSAGE_RECEIVED:"onMessageReceived",MESSAGE_MODIFIED:"onMessageModified",MESSAGE_REVOKED:"onMessageRevoked",MESSAGE_READ_BY_PEER:"onMessageReadByPeer",MESSAGE_READ_RECEIPT_RECEIVED:"onMessageReadReceiptReceived",CONVERSATION_LIST_UPDATED:"onConversationListUpdated",CONVERSATION_GROUP_LIST_UPDATED:"onConversationGroupListUpdated",CONVERSATION_IN_GROUP_UPDATED:"onConversationInGroupUpdated",GROUP_LIST_UPDATED:"onGroupListUpdated",GROUP_SYSTEM_NOTICE_RECEIVED:"receiveGroupSystemNotice",GROUP_ATTRIBUTES_UPDATED:"groupAttributesUpdated",TOPIC_CREATED:"onTopicCreated",TOPIC_DELETED:"onTopicDeleted",TOPIC_UPDATED:"onTopicUpdated",PROFILE_UPDATED:"onProfileUpdated",USER_STATUS_UPDATED:"onUserStatusUpdated",BLACKLIST_UPDATED:"blacklistUpdated",FRIEND_LIST_UPDATED:"onFriendListUpdated",FRIEND_GROUP_LIST_UPDATED:"onFriendGroupListUpdated",FRIEND_APPLICATION_LIST_UPDATED:"onFriendApplicationListUpdated",KICKED_OUT:"kickedOut",ERROR:"error",NET_STATE_CHANGE:"netStateChange",SDK_RELOAD:"sdkReload"},C={MSG_TEXT:"TIMTextElem",MSG_IMAGE:"TIMImageElem",MSG_SOUND:"TIMSoundElem",MSG_AUDIO:"TIMSoundElem",MSG_FILE:"TIMFileElem",MSG_FACE:"TIMFaceElem",MSG_VIDEO:"TIMVideoFileElem",MSG_GEO:"TIMLocationElem",MSG_LOCATION:"TIMLocationElem",MSG_GRP_TIP:"TIMGroupTipElem",MSG_GRP_SYS_NOTICE:"TIMGroupSystemNoticeElem",MSG_CUSTOM:"TIMCustomElem",MSG_MERGER:"TIMRelayElem",MSG_PRIORITY_HIGH:"High",MSG_PRIORITY_NORMAL:"Normal",MSG_PRIORITY_LOW:"Low",MSG_PRIORITY_LOWEST:"Lowest",CONV_C2C:"C2C",CONV_GROUP:"GROUP",CONV_TOPIC:"TOPIC",CONV_SYSTEM:"@TIM#SYSTEM",CONV_AT_ME:1,CONV_AT_ALL:2,CONV_AT_ALL_AT_ME:3,CONV_MARK_TYPE_STAR:1,CONV_MARK_TYPE_UNREAD:2,CONV_MARK_TYPE_FOLD:4,CONV_MARK_TYPE_HIDE:8,GRP_PRIVATE:"Private",GRP_WORK:"Private",GRP_PUBLIC:"Public",GRP_CHATROOM:"ChatRoom",GRP_MEETING:"ChatRoom",GRP_AVCHATROOM:"AVChatRoom",GRP_COMMUNITY:"Community",GRP_MBR_ROLE_OWNER:"Owner",GRP_MBR_ROLE_ADMIN:"Admin",GRP_MBR_ROLE_MEMBER:"Member",GRP_MBR_ROLE_CUSTOM:"Custom",GRP_TIP_MBR_JOIN:1,GRP_TIP_MBR_QUIT:2,GRP_TIP_MBR_KICKED_OUT:3,GRP_TIP_MBR_SET_ADMIN:4,GRP_TIP_MBR_CANCELED_ADMIN:5,GRP_TIP_GRP_PROFILE_UPDATED:6,GRP_TIP_MBR_PROFILE_UPDATED:7,GRP_TIP_BAN_AVCHATROOM_MEMBER:10,GRP_TIP_UNBAN_AVCHATROOM_MEMBER:11,MSG_REMIND_ACPT_AND_NOTE:"AcceptAndNotify",MSG_REMIND_ACPT_NOT_NOTE:"AcceptNotNotify",MSG_REMIND_DISCARD:"Discard",GENDER_UNKNOWN:"Gender_Type_Unknown",GENDER_FEMALE:"Gender_Type_Female",GENDER_MALE:"Gender_Type_Male",KICKED_OUT_MULT_ACCOUNT:"multipleAccount",KICKED_OUT_MULT_DEVICE:"multipleDevice",KICKED_OUT_USERSIG_EXPIRED:"userSigExpired",KICKED_OUT_REST_API:"REST_API_Kick",ALLOW_TYPE_ALLOW_ANY:"AllowType_Type_AllowAny",ALLOW_TYPE_NEED_CONFIRM:"AllowType_Type_NeedConfirm",ALLOW_TYPE_DENY_ANY:"AllowType_Type_DenyAny",FORBID_TYPE_NONE:"AdminForbid_Type_None",FORBID_TYPE_SEND_OUT:"AdminForbid_Type_SendOut",JOIN_OPTIONS_FREE_ACCESS:"FreeAccess",JOIN_OPTIONS_NEED_PERMISSION:"NeedPermission",JOIN_OPTIONS_DISABLE_APPLY:"DisableApply",JOIN_STATUS_SUCCESS:"JoinedSuccess",JOIN_STATUS_ALREADY_IN_GROUP:"AlreadyInGroup",JOIN_STATUS_WAIT_APPROVAL:"WaitAdminApproval",GRP_PROFILE_OWNER_ID:"ownerID",GRP_PROFILE_CREATE_TIME:"createTime",GRP_PROFILE_LAST_INFO_TIME:"lastInfoTime",GRP_PROFILE_MEMBER_NUM:"memberNum",GRP_PROFILE_MAX_MEMBER_NUM:"maxMemberNum",GRP_PROFILE_JOIN_OPTION:"joinOption",GRP_PROFILE_INTRODUCTION:"introduction",GRP_PROFILE_NOTIFICATION:"notification",GRP_PROFILE_MUTE_ALL_MBRS:"muteAllMembers",SNS_ADD_TYPE_SINGLE:"Add_Type_Single",SNS_ADD_TYPE_BOTH:"Add_Type_Both",SNS_DELETE_TYPE_SINGLE:"Delete_Type_Single",SNS_DELETE_TYPE_BOTH:"Delete_Type_Both",SNS_APPLICATION_TYPE_BOTH:"Pendency_Type_Both",SNS_APPLICATION_SENT_TO_ME:"Pendency_Type_ComeIn",SNS_APPLICATION_SENT_BY_ME:"Pendency_Type_SendOut",SNS_APPLICATION_AGREE:"Response_Action_Agree",SNS_APPLICATION_AGREE_AND_ADD:"Response_Action_AgreeAndAdd",SNS_CHECK_TYPE_BOTH:"CheckResult_Type_Both",SNS_CHECK_TYPE_SINGLE:"CheckResult_Type_Single",SNS_TYPE_NO_RELATION:"CheckResult_Type_NoRelation",SNS_TYPE_A_WITH_B:"CheckResult_Type_AWithB",SNS_TYPE_B_WITH_A:"CheckResult_Type_BWithA",SNS_TYPE_BOTH_WAY:"CheckResult_Type_BothWay",NET_STATE_CONNECTED:"connected",NET_STATE_CONNECTING:"connecting",NET_STATE_DISCONNECTED:"disconnected",MSG_AT_ALL:"__kImSDK_MesssageAtALL__",READ_ALL_C2C_MSG:"readAllC2CMessage",READ_ALL_GROUP_MSG:"readAllGroupMessage",READ_ALL_MSG:"readAllMessage",USER_STATUS_UNKNOWN:0,USER_STATUS_ONLINE:1,USER_STATUS_OFFLINE:2,USER_STATUS_UNLOGINED:3},A=function(){function e(){a(this,e),this.cache=[],this.options=null}return i(e,[{key:"use",value:function(e){if("function"!=typeof e)throw"middleware must be a function";return this.cache.push(e),this}},{key:"next",value:function(e){if(this.middlewares&&this.middlewares.length>0)return this.middlewares.shift().call(this,this.options,this.next.bind(this))}},{key:"run",value:function(e){return this.middlewares=this.cache.map((function(e){return e})),this.options=e,this.next()}}]),e}(),O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function b(e,t){return e(t={exports:{}},t.exports),t.exports}var w=b((function(e,t){var n,o,r,a,s,i,u,c,d,l,_,p,h,m,f,g,M,y;e.exports=(n="function"==typeof Promise,o="object"==typeof self?self:O,r="undefined"!=typeof Symbol,a="undefined"!=typeof Map,s="undefined"!=typeof Set,i="undefined"!=typeof WeakMap,u="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,d=r&&void 0!==Symbol.iterator,l=r&&void 0!==Symbol.toStringTag,_=s&&"function"==typeof Set.prototype.entries,p=a&&"function"==typeof Map.prototype.entries,h=_&&Object.getPrototypeOf((new Set).entries()),m=p&&Object.getPrototypeOf((new Map).entries()),f=d&&"function"==typeof Array.prototype[Symbol.iterator],g=f&&Object.getPrototypeOf([][Symbol.iterator]()),M=d&&"function"==typeof String.prototype[Symbol.iterator],y=M&&Object.getPrototypeOf(""[Symbol.iterator]()),function(e){var t=typeof e;if("object"!==t)return t;if(null===e)return"null";if(e===o)return"global";if(Array.isArray(e)&&(!1===l||!(Symbol.toStringTag in e)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&e===window.location)return"Location";if("object"==typeof window.document&&e===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&e===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&e===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&e instanceof window.HTMLElement){if("BLOCKQUOTE"===e.tagName)return"HTMLQuoteElement";if("TD"===e.tagName)return"HTMLTableDataCellElement";if("TH"===e.tagName)return"HTMLTableHeaderCellElement"}}var r=l&&e[Symbol.toStringTag];if("string"==typeof r)return r;var d=Object.getPrototypeOf(e);return d===RegExp.prototype?"RegExp":d===Date.prototype?"Date":n&&d===Promise.prototype?"Promise":s&&d===Set.prototype?"Set":a&&d===Map.prototype?"Map":u&&d===WeakSet.prototype?"WeakSet":i&&d===WeakMap.prototype?"WeakMap":c&&d===DataView.prototype?"DataView":a&&d===m?"Map Iterator":s&&d===h?"Set Iterator":f&&d===g?"Array Iterator":M&&d===y?"String Iterator":null===d?"Object":Object.prototype.toString.call(e).slice(8,-1)})})),N=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;a(this,e),this.high=t,this.low=n}return i(e,[{key:"equal",value:function(e){return null!==e&&this.low===e.low&&this.high===e.high}},{key:"toString",value:function(){var e=Number(this.high).toString(16),t=Number(this.low).toString(16);if(t.length<8)for(var n=8-t.length;n;)t="0"+t,n--;return e+t}}]),e}(),R={TEST:{CHINA:{DEFAULT:"wss://wss-dev.tim.qq.com"},OVERSEA:{DEFAULT:"wss://wss-dev.tim.qq.com"},SINGAPORE:{DEFAULT:"wss://wsssgp-dev.im.qcloud.com"},KOREA:{DEFAULT:"wss://wsskr-dev.im.qcloud.com"},GERMANY:{DEFAULT:"wss://wssger-dev.im.qcloud.com"},IND:{DEFAULT:"wss://wssind-dev.im.qcloud.com"}},PRODUCTION:{CHINA:{DEFAULT:"wss://wss.im.qcloud.com",BACKUP:"wss://wss.tim.qq.com",STAT:"https://api.im.qcloud.com"},OVERSEA:{DEFAULT:"wss://wss.im.qcloud.com",BACKUP:"wss://wss.my-imcloud.com",STAT:"https://api.my-imcloud.com"},SINGAPORE:{DEFAULT:"wss://wsssgp.im.qcloud.com",BACKUP:"wss://wsssgp.my-imcloud.com",STAT:"https://apisgp.my-imcloud.com"},KOREA:{DEFAULT:"wss://wsskr.im.qcloud.com",BACKUP:"wss://wsskr.my-imcloud.com",STAT:"https://apikr.my-imcloud.com"},GERMANY:{DEFAULT:"wss://wssger.im.qcloud.com",BACKUP:"wss://wssger.my-imcloud.com",STAT:"https://apiger.my-imcloud.com"},IND:{DEFAULT:"wss://wssind.im.qcloud.com",BACKUP:"wss://wssind.my-imcloud.com",STAT:"https://apiind.my-imcloud.com"}}},P={ANDROID:2,IOS:3,MAC:4,WEB:7,WX_MP:8,QQ_MP:9,TT_MP:10,BAIDU_MP:11,ALI_MP:12,IPAD:13,UNI_NATIVE_APP:15},Y="1.7.3",G=537048168,U="CHINA",F="OVERSEA",x="SINGAPORE",H="KOREA",j="GERMANY",q="IND",B={HOST:{CURRENT:{DEFAULT:"wss://wss.im.qcloud.com",STAT:"https://api.im.qcloud.com"},setCurrent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U;this.CURRENT=R.PRODUCTION[e]}},NAME:{OPEN_IM:"openim",GROUP:"group_open_http_svc",GROUP_AVCHATROOM:"group_open_avchatroom_http_svc",GROUP_COMMUNITY:"million_group_open_http_svc",GROUP_ATTR:"group_open_attr_http_svc",FRIEND:"sns",PROFILE:"profile",RECENT_CONTACT:"recentcontact",PIC:"openpic",BIG_GROUP_NO_AUTH:"group_open_http_noauth_svc",BIG_GROUP_LONG_POLLING:"group_open_long_polling_http_svc",BIG_GROUP_LONG_POLLING_NO_AUTH:"group_open_long_polling_http_noauth_svc",IM_OPEN_STAT:"imopenstat",WEB_IM:"webim",IM_COS_SIGN:"im_cos_sign_svr",CUSTOM_UPLOAD:"im_cos_msg",HEARTBEAT:"heartbeat",IM_OPEN_PUSH:"im_open_push",IM_OPEN_STATUS:"im_open_status",IM_LONG_MESSAGE:"im_long_msg",IM_CONFIG_MANAGER:"im_sdk_config_mgr",STAT_SERVICE:"StatSvc",OVERLOAD_PUSH:"OverLoadPush"},CMD:{LOGIN:"wslogin",LOGOUT_LONG_POLL:"longpollinglogout",LOGOUT:"wslogout",HELLO:"wshello",STAT_BACKGROUND:"ws_stat_background",STAT_FOREGROUND:"ws_stat_foreground",SET_TOKEN:"ws_stat_settoken",PORTRAIT_GET:"portrait_get_all",PORTRAIT_SET:"portrait_set",GET_LONG_POLL_ID:"getlongpollingid",LONG_POLL:"longpolling",AVCHATROOM_LONG_POLL:"get_msg",ADD_FRIEND:"friend_add",UPDATE_FRIEND:"friend_update",GET_FRIEND_LIST:"friend_get",GET_FRIEND_PROFILE:"friend_get_list",DELETE_FRIEND:"friend_delete",CHECK_FRIEND:"friend_check",GET_FRIEND_GROUP_LIST:"group_get",RESPOND_FRIEND_APPLICATION:"friend_response",GET_FRIEND_APPLICATION_LIST:"pendency_get",DELETE_FRIEND_APPLICATION:"pendency_delete",REPORT_FRIEND_APPLICATION:"pendency_report",GET_GROUP_APPLICATION:"get_pendency",CREATE_FRIEND_GROUP:"group_add",DELETE_FRIEND_GROUP:"group_delete",UPDATE_FRIEND_GROUP:"group_update",GET_BLACKLIST:"black_list_get",ADD_BLACKLIST:"black_list_add",DELETE_BLACKLIST:"black_list_delete",CREATE_GROUP:"create_group",GET_JOINED_GROUPS:"get_joined_group_list",SET_GROUP_ATTRIBUTES:"set_group_attr",MODIFY_GROUP_ATTRIBUTES:"modify_group_attr",DELETE_GROUP_ATTRIBUTES:"delete_group_attr",CLEAR_GROUP_ATTRIBUTES:"clear_group_attr",GET_GROUP_ATTRIBUTES:"get_group_attr",SEND_MESSAGE:"sendmsg",REVOKE_C2C_MESSAGE:"msgwithdraw",DELETE_C2C_MESSAGE:"delete_c2c_msg_ramble",MODIFY_C2C_MESSAGE:"modify_c2c_msg",SEND_GROUP_MESSAGE:"send_group_msg",REVOKE_GROUP_MESSAGE:"group_msg_recall",DELETE_GROUP_MESSAGE:"delete_group_ramble_msg_by_seq",MODIFY_GROUP_MESSAGE:"modify_group_msg",GET_GROUP_INFO:"get_group_self_member_info",GET_GROUP_MEMBER_INFO:"get_specified_group_member_info",GET_GROUP_MEMBER_LIST:"get_group_member_info",GET_AVCHATROOM_MEMBER_LIST:"get_members",QUIT_GROUP:"quit_group",CHANGE_GROUP_OWNER:"change_group_owner",DESTROY_GROUP:"destroy_group",ADD_GROUP_MEMBER:"add_group_member",DELETE_GROUP_MEMBER:"delete_group_member",BAN_AVCHATROOM_MEMBER:"ban_group_member",SEARCH_GROUP_BY_ID:"get_group_public_info",APPLY_JOIN_GROUP:"apply_join_group",HANDLE_APPLY_JOIN_GROUP:"handle_apply_join_group",HANDLE_GROUP_INVITATION:"handle_invite_join_group",MODIFY_GROUP_INFO:"modify_group_base_info",MODIFY_GROUP_MEMBER_INFO:"modify_group_member_info",DELETE_GROUP_SYSTEM_MESSAGE:"deletemsg",DELETE_GROUP_AT_TIPS:"deletemsg",GET_CONVERSATION_LIST:"get",PAGING_GET_CONVERSATION_LIST:"page_get",DELETE_CONVERSATION:"delete",PIN_CONVERSATION:"top",SET_CONVERSATION_CUSTOM_DATA:"mark_contact",MARK_CONVERSATION:"mark_contact",CREATE_CONVERSATION_GROUP:"create_contact_group",DELETE_CONVERSATION_GROUP:"del_contact_group",UPDATE_CONVERSATION_GROUP:"update_contact_group",GET_CONVERSATION_GROUP_LIST:"get_contact_group",GET_MESSAGES:"getmsg",GET_C2C_ROAM_MESSAGES:"getroammsg",SET_C2C_PEER_MUTE_NOTIFICATIONS:"set_c2c_peer_mute_notifications",GET_C2C_PEER_MUTE_NOTIFICATIONS:"get_c2c_peer_mute_notifications",GET_GROUP_ROAM_MESSAGES:"group_msg_get",GET_READ_RECEIPT:"get_group_msg_receipt",GET_READ_RECEIPT_DETAIL:"get_group_msg_receipt_detail",SEND_READ_RECEIPT:"group_msg_receipt",SEND_C2C_READ_RECEIPT:"c2c_msg_read_receipt",SET_C2C_MESSAGE_READ:"msgreaded",GET_PEER_READ_TIME:"get_peer_read_time",SET_GROUP_MESSAGE_READ:"msg_read_report",FILE_READ_AND_WRITE_AUTHKEY:"authkey",FILE_UPLOAD:"pic_up",COS_SIGN:"cos",COS_PRE_SIG:"pre_sig",VIDEO_COVER:"video_cover",TIM_WEB_REPORT_V2:"tim_web_report_v2",BIG_DATA_HALLWAY_AUTH_KEY:"authkey",GET_ONLINE_MEMBER_NUM:"get_online_member_num",ALIVE:"alive",MESSAGE_PUSH:"msg_push",MULTI_MESSAGE_PUSH:"multi_msg_push_ws",MESSAGE_PUSH_ACK:"ws_msg_push_ack",STATUS_FORCE_OFFLINE:"stat_forceoffline",DOWNLOAD_MERGER_MESSAGE:"get_relay_json_msg",UPLOAD_MERGER_MESSAGE:"save_relay_json_msg",FETCH_CLOUD_CONTROL_CONFIG:"fetch_config",PUSHED_CLOUD_CONTROL_CONFIG:"push_configv2",FETCH_COMMERCIAL_CONFIG:"fetch_imsdk_purchase_bitsv2",PUSHED_COMMERCIAL_CONFIG:"push_imsdk_purchase_bitsv2",KICK_OTHER:"KickOther",OVERLOAD_NOTIFY:"notify2",SET_ALL_MESSAGE_READ:"read_all_unread_msg",CREATE_TOPIC:"create_topic",DELETE_TOPIC:"destroy_topic",UPDATE_TOPIC_PROFILE:"modify_topic",GET_TOPIC_LIST:"get_topic",SET_SELF_STATUS:"ws_set_custom_status",GET_USER_STATUS:"ws_get_user_status",SUBSCRIBE_USER_STATUS:"ws_status_subscribe",UNSUBSCRIBE_USER_STATUS:"ws_status_unsubscribe"},CHANNEL:{SOCKET:1,XHR:2,AUTO:0},NAME_VERSION:{openim:"v4",group_open_http_svc:"v4",sns:"v4",profile:"v4",recentcontact:"v4",openpic:"v4",group_open_http_noauth_svc:"v4",group_open_long_polling_http_svc:"v4",group_open_long_polling_http_noauth_svc:"v4",imopenstat:"v4",im_cos_sign_svr:"v4",im_cos_msg:"v4",webim:"v4",im_open_push:"v4",im_open_status:"v4"}},V={SEARCH_MSG:new N(0,Math.pow(2,0)).toString(),SEARCH_GRP_SNS:new N(0,Math.pow(2,1)).toString(),AVCHATROOM_HISTORY_MSG:new N(0,Math.pow(2,2)).toString(),GRP_COMMUNITY:new N(0,Math.pow(2,3)).toString(),MSG_TO_SPECIFIED_GRP_MBR:new N(0,Math.pow(2,4)).toString(),AVCHATROOM_MBR_LIST:new N(0,Math.pow(2,6)).toString(),USER_STATUS:new N(0,Math.pow(2,7)).toString(),CONV_MARK:new N(0,Math.pow(2,9)).toString(),CONV_GROUP:new N(0,Math.pow(2,10)).toString(),AVCHATROOM_BAN_MBR:new N(0,Math.pow(2,11)).toString()};B.HOST.setCurrent(U);var W,K,$,z,J="undefined"!=typeof wx&&"function"==typeof wx.getSystemInfoSync&&Boolean(wx.getSystemInfoSync().fontSizeSetting),X="undefined"!=typeof qq&&"function"==typeof qq.getSystemInfoSync&&Boolean(qq.getSystemInfoSync().fontSizeSetting),Z="undefined"!=typeof tt&&"function"==typeof tt.getSystemInfoSync&&Boolean(tt.getSystemInfoSync().fontSizeSetting),Q="undefined"!=typeof swan&&"function"==typeof swan.getSystemInfoSync&&Boolean(swan.getSystemInfoSync().fontSizeSetting),ee="undefined"!=typeof my&&"function"==typeof my.getSystemInfoSync&&Boolean(my.getSystemInfoSync().fontSizeSetting),te="undefined"!=typeof n&&"undefined"==typeof window,ne="undefined"!=typeof n,oe=J||X||Z||Q||ee||te,re=("undefined"!=typeof n||"undefined"!=typeof window)&&!oe,ae=X?qq:Z?tt:Q?swan:ee?my:J?wx:te?n:{},se=(W="WEB",ve?W="WEB":X?W="QQ_MP":Z?W="TT_MP":Q?W="BAIDU_MP":ee?W="ALI_MP":J?W="WX_MP":te&&(W="UNI_NATIVE_APP"),P[W]),ie=re&&window&&window.navigator&&window.navigator.userAgent||"",ue=/AppleWebKit\/([\d.]+)/i.exec(ie),ce=(ue&&parseFloat(ue.pop()),/iPad/i.test(ie)),de=/iPhone/i.test(ie)&&!ce,le=/iPod/i.test(ie),_e=de||ce||le,pe=(K=ie.match(/OS (\d+)_/i))&&K[1]?K[1]:null,he=/Android/i.test(ie),me=function(){var e=ie.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),fe=(he&&/webkit/i.test(ie),/Firefox/i.test(ie),/Edge/i.test(ie)),ge=(!fe&&/Chrome/i.test(ie),function(){var e=ie.match(/Chrome\/(\d+)/);e&&e[1]&&parseFloat(e[1])}(),/MSIE/.test(ie)||ie.indexOf("Trident")>-1&&ie.indexOf("rv:11.0")>-1),Me=(/MSIE\s8\.0/.test(ie),function(){var e=/MSIE\s(\d+)\.\d/.exec(ie),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(ie)&&/rv:11.0/.test(ie)&&(t=11),t}()),ye=(/Safari/i.test(ie),/TBS\/\d+/i.test(ie)),ve=(function(){var e=ie.match(/TBS\/(\d+)/i);e&&e[1]&&e[1]}(),!ye&&/MQQBrowser\/\d+/i.test(ie),!ye&&/ QQBrowser\/\d+/i.test(ie),/(micromessenger|webbrowser)/i.test(ie)),Le=/Windows/i.test(ie),Te=/MAC OS X/i.test(ie),De=(/MicroMessenger/i.test(ie),re&&"undefined"!=typeof Worker&&!ge),ke=he||_e,Ie="undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};$="undefined"!=typeof console?console:void 0!==Ie&&Ie.console?Ie.console:"undefined"!=typeof window&&window.console?window.console:{};for(var Se=function(){},Ee=["assert","clear","count","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],Ce=Ee.length;Ce--;)z=Ee[Ce],console[z]||($[z]=Se);var Ae=$,Oe=0,be=function(){return(new Date).getTime()+Oe},we=function(){Oe=0},Ne=function(){return Math.floor(be()/1e3)},Re=0,Pe=new Map;function Ye(){var e,t=((e=new Date).setTime(be()),e);return"TIM "+t.toLocaleTimeString("en-US",{hour12:!1})+"."+function(e){var t;switch(e.toString().length){case 1:t="00"+e;break;case 2:t="0"+e;break;default:t=e}return t}(t.getMilliseconds())+":"}var Ge={arguments2String:function(e){var t;if(1===e.length)t=Ye()+e[0];else{t=Ye();for(var n=0,o=e.length;n<o;n++)nt(e[n])?rt(e[n])?t+=dt(e[n]):t+=JSON.stringify(e[n]):t+=e[n],t+=" "}return t},debug:function(){if(Re<=-1){var e=this.arguments2String(arguments);Ae.debug(e)}},log:function(){if(Re<=0){var e=this.arguments2String(arguments);Ae.log(e)}},info:function(){if(Re<=1){var e=this.arguments2String(arguments);Ae.info(e)}},warn:function(){if(Re<=2){var e=this.arguments2String(arguments);Ae.warn(e)}},error:function(){if(Re<=3){var e=this.arguments2String(arguments);Ae.error(e)}},time:function(e){Pe.set(e,ut.now())},timeEnd:function(e){if(Pe.has(e)){var t=ut.now()-Pe.get(e);return Pe.delete(e),t}return Ae.warn("未找到对应label: ".concat(e,", 请在调用 logger.timeEnd 前,调用 logger.time")),0},setLevel:function(e){e<4&&Ae.log(Ye()+"set level from "+Re+" to "+e),Re=e},getLevel:function(){return Re}},Ue={JPG:1,JPEG:1,GIF:2,PNG:3,BMP:4,UNKNOWN:255},Fe={NICK:"Tag_Profile_IM_Nick",GENDER:"Tag_Profile_IM_Gender",BIRTHDAY:"Tag_Profile_IM_BirthDay",LOCATION:"Tag_Profile_IM_Location",SELFSIGNATURE:"Tag_Profile_IM_SelfSignature",ALLOWTYPE:"Tag_Profile_IM_AllowType",LANGUAGE:"Tag_Profile_IM_Language",AVATAR:"Tag_Profile_IM_Image",MESSAGESETTINGS:"Tag_Profile_IM_MsgSettings",ADMINFORBIDTYPE:"Tag_Profile_IM_AdminForbidType",LEVEL:"Tag_Profile_IM_Level",ROLE:"Tag_Profile_IM_Role"},xe={UNKNOWN:"Gender_Type_Unknown",FEMALE:"Gender_Type_Female",MALE:"Gender_Type_Male"},He={NONE:"AdminForbid_Type_None",SEND_OUT:"AdminForbid_Type_SendOut"},je={NEED_CONFIRM:"AllowType_Type_NeedConfirm",ALLOW_ANY:"AllowType_Type_AllowAny",DENY_ANY:"AllowType_Type_DenyAny"},qe="JoinedSuccess",Be="WaitAdminApproval",Ve="@TGS#_",We="@TOPIC#_",Ke=["url"],$e=function(e){return"file"===at(e)},ze=function(e){return null!==e&&("number"==typeof e&&!isNaN(e-0)||"object"===r(e)&&e.constructor===Number)},Je=function(e){return"string"==typeof e},Xe=function(e){return null!==e&&"object"===r(e)},Ze=function(e){if("object"!==r(e)||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n},Qe=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"array"===at(e)},et=function(e){return void 0===e},nt=function(e){return Qe(e)||Xe(e)},ot=function(e){return"function"==typeof e},rt=function(e){return e instanceof Error},at=function(e){return Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase()},st=function(e){if("string"!=typeof e)return!1;var t=e[0];return!/[^a-zA-Z0-9]/.test(t)},it=0;Date.now||(Date.now=function(){return(new Date).getTime()});var ut={now:function(){0===it&&(it=Date.now()-1);var e=Date.now()-it;return e>4294967295?(it+=4294967295,Date.now()-it):e},utc:function(){return Math.round(Date.now()/1e3)}},ct=function e(t,n,o,r){if(!nt(t)||!nt(n))return 0;for(var a,s=0,i=Object.keys(n),u=0,c=i.length;u<c;u++)if(a=i[u],!(et(n[a])||o&&o.includes(a)))if(nt(t[a])&&nt(n[a]))s+=e(t[a],n[a],o,r);else{if(r&&r.includes(n[a]))continue;t[a]!==n[a]&&(t[a]=n[a],s+=1)}return s},dt=function(e){return JSON.stringify(e,["message","code"])},lt=function(e){if(0===e.length)return 0;for(var t=0,n=0,o="undefined"!=typeof document&&void 0!==document.characterSet?document.characterSet:"UTF-8";void 0!==e[t];)n+=e[t++].charCodeAt[t]<=255?1:!1===o?3:2;return n},_t=function(e){var t=e||99999999;return Math.round(Math.random()*t)},pt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",ht=pt.length,mt=function(e,t){for(var n in e)if(e[n]===t)return!0;return!1},ft={},gt=function(e){return-1===e.indexOf("http://")||-1===e.indexOf("https://")?"https://"+e:e.replace(/https|http/,"https")},Mt=function e(t){if(0===Object.getOwnPropertyNames(t).length)return Object.create(null);var n=Array.isArray(t)?[]:Object.create(null),o="";for(var a in t)null!==t[a]?void 0!==t[a]?(o=r(t[a]),["string","number","function","boolean"].indexOf(o)>=0?n[a]=t[a]:n[a]=e(t[a])):n[a]=void 0:n[a]=null;return n};function yt(e,t){Qe(e)&&Qe(t)?t.forEach((function(t){var n=t.key,o=t.value,r=e.find((function(e){return e.key===n}));r?r.value=o:e.push({key:n,value:o})})):Ge.warn("updateCustomField target 或 source 不是数组,忽略此次更新。")}var vt=function(e){return e===C.GRP_PUBLIC},Lt=function(e){return e===C.GRP_AVCHATROOM},Tt=function(e){var t=e.type,n=e.groupID;return t===C.GRP_COMMUNITY||"".concat(n).startsWith(Ve)&&!"".concat(n).includes(We)},Dt=function(e){return"".concat(e).startsWith(Ve)&&"".concat(e).includes(We)},kt=function(e){return Je(e)&&e.slice(0,3)===C.CONV_C2C},It=function(e){return Je(e)&&e.slice(0,5)===C.CONV_GROUP},St=function(e){return Je(e)&&e===C.CONV_SYSTEM};function Et(e,t){var n={};return Object.keys(e).forEach((function(o){n[o]=t(e[o],o)})),n}function Ct(e){return oe?new Promise((function(t,n){ae.getImageInfo({src:e,success:function(e){t({width:e.width,height:e.height})},fail:function(){t({width:0,height:0})}})})):ge&&9===Me?Promise.resolve({width:0,height:0}):new Promise((function(t,n){var o=new Image;o.onload=function(){t({width:this.width,height:this.height}),o=null},o.onerror=function(){t({width:0,height:0}),o=null},o.src=e}))}function At(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return"".concat(e()+e()).concat(e()).concat(e()).concat(e()).concat(e()).concat(e()).concat(e())}function Ot(){var e="unknown";if(Te&&(e="mac"),Le&&(e="windows"),_e&&(e="ios"),he&&(e="android"),oe)try{var t=ae.getSystemInfoSync().platform;void 0!==t&&(e=t)}catch(r){}return e}function bt(e,t){e=e.split("."),t=t.split(".");for(var n=Math.max(e.length,t.length);e.length<n;)e.push("0");for(;t.length<n;)t.push("0");for(var o=0;o<n;o++){var r=parseInt(e[o]),a=parseInt(t[o]);if(r>a)return 1;if(r<a)return-1}return 0}function wt(e){var t=e.originUrl,n=void 0===t?void 0:t,o=e.originWidth,r=e.originHeight,a=e.min,s=void 0===a?198:a,i=parseInt(o),u=parseInt(r),c={url:void 0,width:0,height:0};if((i<=u?i:u)<=s)c.url=n,c.width=i,c.height=u;else{u<=i?(c.width=Math.ceil(i*s/u),c.height=s):(c.width=s,c.height=Math.ceil(u*s/i));var d=n&&n.indexOf("?")>-1?"".concat(n,"&"):"".concat(n,"?");c.url="".concat(d,198===s?"imageView2/3/w/198/h/198":"imageView2/3/w/720/h/720")}return et(n)?m(c,Ke):c}function Nt(e){var t=e[2];e[2]=e[1],e[1]=t;for(var n=0;n<e.length;n++)e[n].setType(n)}function Rt(e){var t=e.servcmd;return t.slice(t.indexOf(".")+1)}function Pt(e,t){return Math.round(Number(e)*Math.pow(10,t))/Math.pow(10,t)}function Yt(e,t){return e.includes(t)}function Gt(e,t){return e.includes(t)}function Ut(e){return e.split(We)[0]}var Ft=function(e,t){if(et(t))return"";switch(e){case C.MSG_TEXT:return t.text;case C.MSG_IMAGE:return"[图片]";case C.MSG_LOCATION:return"[位置]";case C.MSG_AUDIO:return"[语音]";case C.MSG_VIDEO:return"[视频]";case C.MSG_FILE:return"[文件]";case C.MSG_CUSTOM:return"[自定义消息]";case C.MSG_GRP_TIP:return"[群提示消息]";case C.MSG_GRP_SYS_NOTICE:return"[群系统通知]";case C.MSG_FACE:return"[动画表情]";case C.MSG_MERGER:return"[聊天记录]";default:return""}};function xt(e){return e===C.MSG_TEXT||e===C.MSG_CUSTOM||e===C.MSG_LOCATION||e===C.MSG_FACE}function Ht(e){var t=[];if(!Je(e))return t;var n=e.length;if(0===n)return t;for(var o=n-1;o>=0;o--)"1"===e[o]&&t.push(Math.pow(2,n-o-1));return t}var jt=Object.prototype.hasOwnProperty;function qt(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return 0===e;if("string"==typeof e)return 0===e.length;if("function"==typeof e)return 0===e.length;if(Array.isArray(e))return 0===e.length;if(e instanceof Error)return""===e.message;if(Ze(e)){for(var t in e)if(jt.call(e,t))return!1;return!0}return!("map"!==at(e)&&!function(e){return"set"===at(e)}(e)&&!$e(e))&&0===e.size}function Bt(e,t,n){if(void 0===t)return!0;var o=!0;if("object"===w(t).toLowerCase())Object.keys(t).forEach((function(r){var a=1===e.length?e[0][r]:void 0;o=!!Vt(a,t[r],n,r)&&o}));else if("array"===w(t).toLowerCase())for(var r=0;r<t.length;r++)o=!!Vt(e[r],t[r],n,t[r].name)&&o;if(o)return o;throw new Error("Params validate failed.")}function Vt(e,t,n,o){if(void 0===t)return!0;var r=!0;return t.required&&qt(e)&&(Ae.error("TIM [".concat(n,'] Missing required params: "').concat(o,'".')),r=!1),qt(e)||w(e).toLowerCase()===t.type.toLowerCase()||(Ae.error("TIM [".concat(n,'] Invalid params: type check failed for "').concat(o,'".Expected ').concat(t.type,".")),r=!1),t.validator&&!t.validator(e)&&(Ae.error("TIM [".concat(n,"] Invalid params: custom validator check failed for params.")),r=!1),r}var Wt,Kt={UNSEND:"unSend",SUCCESS:"success",FAIL:"fail"},$t={NOT_START:"notStart",PENDING:"pengding",RESOLVED:"resolved",REJECTED:"rejected"},zt=function(e){return!!e&&(!!(kt(e)||It(e)||St(e))||(console.warn("非法的会话 ID:".concat(e,"。会话 ID 组成方式:C2C + userID(单聊)GROUP + groupID(群聊)@TIM#SYSTEM(系统通知会话)")),!1))},Jt="请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#",Xt=function(e){return e.param?"".concat(e.api," ").concat(e.param," ").concat(e.desc,"。").concat(Jt).concat(e.api):"".concat(e.api," ").concat(e.desc,"。").concat(Jt).concat(e.api)},Zt={type:"String",required:!0},Qt={type:"Array",required:!0},en={type:"Object",required:!0},tn={type:"Boolean",required:!0},nn={login:{userID:Zt,userSig:Zt},addToBlacklist:{userIDList:Qt},on:[{name:"eventName",type:"String",validator:function(e){return"string"==typeof e&&0!==e.length||(console.warn(Xt({api:"on",param:"eventName",desc:"类型必须为 String,且不能为空"})),!1)}},{name:"handler",type:"Function",validator:function(e){return"function"!=typeof e?(console.warn(Xt({api:"on",param:"handler",desc:"参数必须为 Function"})),!1):(""===e.name&&console.warn("on 接口的 handler 参数推荐使用具名函数。具名函数可以使用 off 接口取消订阅,匿名函数无法取消订阅。"),!0)}}],once:[{name:"eventName",type:"String",validator:function(e){return"string"==typeof e&&0!==e.length||(console.warn(Xt({api:"once",param:"eventName",desc:"类型必须为 String,且不能为空"})),!1)}},{name:"handler",type:"Function",validator:function(e){return"function"!=typeof e?(console.warn(Xt({api:"once",param:"handler",desc:"参数必须为 Function"})),!1):(""===e.name&&console.warn("once 接口的 handler 参数推荐使用具名函数。"),!0)}}],off:[{name:"eventName",type:"String",validator:function(e){return"string"==typeof e&&0!==e.length||(console.warn(Xt({api:"off",param:"eventName",desc:"类型必须为 String,且不能为空"})),!1)}},{name:"handler",type:"Function",validator:function(e){return"function"!=typeof e?(console.warn(Xt({api:"off",param:"handler",desc:"参数必须为 Function"})),!1):(""===e.name&&console.warn("off 接口无法为匿名函数取消监听事件。"),!0)}}],sendMessage:[o({name:"message"},en)],getMessageList:{conversationID:o(o({},Zt),{},{validator:function(e){return zt(e)}}),nextReqMessageID:{type:"String"},count:{type:"Number",validator:function(e){return!(!et(e)&&!/^[1-9][0-9]*$/.test(e))||(console.warn(Xt({api:"getMessageList",param:"count",desc:"必须为正整数"})),!1)}}},getMessageListHopping:{conversationID:o(o({},Zt),{},{validator:function(e){return zt(e)}}),sequence:{type:"Number"},time:{type:"Number"},direction:{type:"Number",validator:function(e){return!(!et(e)&&0!==e&&1!==e)||(console.warn(Xt({api:"getMessageListHopping",param:"direction",desc:"必须传 0 或 1"})),!1)}},count:{type:"Number",validator:function(e){return!(!et(e)&&!/^[1-9][0-9]*$/.test(e))||(console.warn(Xt({api:"getMessageListHopping",param:"count",desc:"必须为正整数"})),!1)}}},setMessageRead:{conversationID:o(o({},Zt),{},{validator:function(e){return zt(e)}})},setAllMessageRead:{scope:{type:"String",required:!1,validator:function(e){return!e||-1!==[C.READ_ALL_C2C_MSG,C.READ_ALL_GROUP_MSG,C.READ_ALL_MSG].indexOf(e)||(console.warn(Xt({api:"setAllMessageRead",param:"scope",desc:"取值必须为 TIM.TYPES.READ_ALL_C2C_MSG, TIM.TYPES.READ_ALL_GROUP_MSG 或 TIM.TYPES.READ_ALL_MSG"})),!1)}}},getConversationProfile:[o(o({name:"conversationID"},Zt),{},{validator:function(e){return zt(e)}})],deleteConversation:[o(o({name:"conversationID"},Zt),{},{validator:function(e){return zt(e)}})],pinConversation:{conversationID:o(o({},Zt),{},{validator:function(e){return zt(e)}}),isPinned:o({},tn)},setConversationCustomData:{conversationIDList:o({},Qt),customData:{type:"String",validator:function(e){return Je(e)?!(e.length>256)||(console.warn(Xt({api:"setConversationCustomData",param:"customData",desc:"长度不得超过256字节"})),!1):(console.warn(Xt({api:"setConversationCustomData",param:"customData",desc:"类型必须为 String"})),!1)}}},markConversation:{conversationIDList:o({},Qt),markType:{type:"number",validator:function(e){return ze(e)?e<=0?(console.warn(Xt({api:"markConversation",param:"markType",desc:"不能小于等于0"})),!1):!(e>=Math.pow(2,64))||(console.warn(Xt({api:"markConversation",param:"markType",desc:"必须小于 Math.pow(2,64)"})),!1):(console.warn(Xt({api:"markConversation",param:"markType",desc:"类型必须为 Number"})),!1)}},enableMark:o({},tn)},createConversationGroup:{conversationIDList:o({},Qt),groupName:o(o({},Zt),{},{validator:function(e){return!!e&&(!(e.length>32)||(console.warn(Xt({api:"createConversationGroup",param:"groupName",desc:"长度不得超过32字节"})),!1))}})},deleteConversationGroup:[o({name:"groupName"},Zt)],renameConversationGroup:{oldName:o({},Zt),newName:o(o({},Zt),{},{validator:function(e){return!!e&&(!(e.length>32)||(console.warn(Xt({api:"renameConversationGroup",param:"newName",desc:"长度不得超过32字节"})),!1))}})},addConversationsToGroup:{conversationIDList:o({},Qt),groupName:o({},Zt)},deleteConversationsFromGroup:{conversationIDList:o({},Qt),groupName:o({},Zt)},getGroupList:{groupProfileFilter:{type:"Array"}},getGroupProfile:{groupID:Zt,groupCustomFieldFilter:{type:"Array"},memberCustomFieldFilter:{type:"Array"}},getGroupProfileAdvance:{groupIDList:Qt},createGroup:{name:Zt},joinGroup:{groupID:Zt,type:{type:"String"},applyMessage:{type:"String"}},quitGroup:[o({name:"groupID"},Zt)],handleApplication:{message:en,handleAction:Zt,handleMessage:{type:"String"}},changeGroupOwner:{groupID:Zt,newOwnerID:Zt},updateGroupProfile:{groupID:Zt,muteAllMembers:{type:"Boolean"}},dismissGroup:[o({name:"groupID"},Zt)],searchGroupByID:[o({name:"groupID"},Zt)],initGroupAttributes:{groupID:Zt,groupAttributes:o(o({},en),{},{validator:function(e){var t=!0;return Object.keys(e).forEach((function(n){if(!Je(e[n]))return console.warn(Xt({api:"initGroupAttributes",desc:"群属性 value 必须是字符串"})),t=!1})),t}})},setGroupAttributes:{groupID:Zt,groupAttributes:o(o({},en),{},{validator:function(e){var t=!0;return Object.keys(e).forEach((function(n){if(!Je(e[n]))return console.warn(Xt({api:"setGroupAttributes",desc:"群属性 value 必须是字符串"})),t=!1})),t}})},deleteGroupAttributes:{groupID:Zt,keyList:{type:"Array",validator:function(e){if(et(e))return console.warn(Xt({api:"deleteGroupAttributes",desc:"缺少必填参数:keyList"})),!1;if(!Qe(e))return!1;if(!qt(e)){var t=!0;return e.forEach((function(e){if(!Je(e))return console.warn(Xt({api:"deleteGroupAttributes",desc:"群属性 key 必须是字符串"})),t=!1})),t}return!0}}},getGroupAttributes:{groupID:Zt,keyList:{type:"Array",validator:function(e){if(et(e))return console.warn(Xt({api:"getGroupAttributes",desc:"缺少必填参数:keyList"})),!1;if(!Qe(e))return!1;if(!qt(e)){var t=!0;return e.forEach((function(e){if(!Je(e))return console.warn(Xt({api:"getGroupAttributes",desc:"群属性 key 必须是字符串"})),t=!1})),t}return!0}}},getGroupMemberList:{groupID:Zt,count:{type:"Number"}},getGroupMemberProfile:{groupID:Zt,userIDList:Qt,memberCustomFieldFilter:{type:"Array"}},addGroupMember:{groupID:Zt,userIDList:Qt},setGroupMemberRole:{groupID:Zt,userID:Zt,role:Zt},setGroupMemberMuteTime:{groupID:Zt,userID:Zt,muteTime:{type:"Number",validator:function(e){return e>=0}}},setGroupMemberNameCard:{groupID:Zt,userID:{type:"String"},nameCard:{type:"String",validator:function(e){return Je(e)?(e.length,!0):(console.warn(Xt({api:"setGroupMemberNameCard",param:"nameCard",desc:"类型必须为 String"})),!1)}}},setGroupMemberCustomField:{groupID:Zt,userID:{type:"String"},memberCustomField:Qt},deleteGroupMember:{groupID:Zt},createTextMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){return Ze(e)?Je(e.text)?0!==e.text.length||(console.warn(Xt({api:"createTextMessage",desc:"消息内容不能为空"})),!1):(console.warn(Xt({api:"createTextMessage",param:"payload.text",desc:"类型必须为 String"})),!1):(console.warn(Xt({api:"createTextMessage",param:"payload",desc:"类型必须为 plain object"})),!1)}})},createTextAtMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){return Ze(e)?Je(e.text)?0===e.text.length?(console.warn(Xt({api:"createTextAtMessage",desc:"消息内容不能为空"})),!1):!(e.atUserList&&!Qe(e.atUserList))||(console.warn(Xt({api:"createTextAtMessage",desc:"payload.atUserList 类型必须为数组"})),!1):(console.warn(Xt({api:"createTextAtMessage",param:"payload.text",desc:"类型必须为 String"})),!1):(console.warn(Xt({api:"createTextAtMessage",param:"payload",desc:"类型必须为 plain object"})),!1)}})},createCustomMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){return Ze(e)?e.data&&!Je(e.data)?(console.warn(Xt({api:"createCustomMessage",param:"payload.data",desc:"类型必须为 String"})),!1):e.description&&!Je(e.description)?(console.warn(Xt({api:"createCustomMessage",param:"payload.description",desc:"类型必须为 String"})),!1):!(e.extension&&!Je(e.extension))||(console.warn(Xt({api:"createCustomMessage",param:"payload.extension",desc:"类型必须为 String"})),!1):(console.warn(Xt({api:"createCustomMessage",param:"payload",desc:"类型必须为 plain object"})),!1)}})},createImageMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){if(!Ze(e))return console.warn(Xt({api:"createImageMessage",param:"payload",desc:"类型必须为 plain object"})),!1;if(et(e.file))return console.warn(Xt({api:"createImageMessage",param:"payload.file",desc:"不能为 undefined"})),!1;if(re){if(!(e.file instanceof HTMLInputElement||$e(e.file)))return Ze(e.file)&&"undefined"!=typeof n?0!==e.file.tempFilePaths.length&&0!==e.file.tempFiles.length||(console.warn(Xt({api:"createImageMessage",param:"payload.file",desc:"您没有选择文件,无法发送"})),!1):(console.warn(Xt({api:"createImageMessage",param:"payload.file",desc:"类型必须是 HTMLInputElement 或 File"})),!1);if(e.file instanceof HTMLInputElement&&0===e.file.files.length)return console.warn(Xt({api:"createImageMessage",param:"payload.file",desc:"您没有选择文件,无法发送"})),!1}return!0},onProgress:{type:"Function",required:!1,validator:function(e){return et(e)&&console.warn(Xt({api:"createImageMessage",desc:"没有 onProgress 回调,您将无法获取上传进度"})),!0}}})},createAudioMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){return!!Ze(e)||(console.warn(Xt({api:"createAudioMessage",param:"payload",desc:"类型必须为 plain object"})),!1)}}),onProgress:{type:"Function",required:!1,validator:function(e){return et(e)&&console.warn(Xt({api:"createAudioMessage",desc:"没有 onProgress 回调,您将无法获取上传进度"})),!0}}},createVideoMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){if(!Ze(e))return console.warn(Xt({api:"createVideoMessage",param:"payload",desc:"类型必须为 plain object"})),!1;if(et(e.file))return console.warn(Xt({api:"createVideoMessage",param:"payload.file",desc:"不能为 undefined"})),!1;if(re){if(!(e.file instanceof HTMLInputElement||$e(e.file)))return Ze(e.file)&&"undefined"!=typeof n?!!$e(e.file.tempFile)||(console.warn(Xt({api:"createVideoMessage",param:"payload.file",desc:"您没有选择文件,无法发送"})),!1):(console.warn(Xt({api:"createVideoMessage",param:"payload.file",desc:"类型必须是 HTMLInputElement 或 File"})),!1);if(e.file instanceof HTMLInputElement&&0===e.file.files.length)return console.warn(Xt({api:"createVideoMessage",param:"payload.file",desc:"您没有选择文件,无法发送"})),!1}return!0}}),onProgress:{type:"Function",required:!1,validator:function(e){return et(e)&&console.warn(Xt({api:"createVideoMessage",desc:"没有 onProgress 回调,您将无法获取上传进度"})),!0}}},createFaceMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){return Ze(e)?ze(e.index)?!!Je(e.data)||(console.warn(Xt({api:"createFaceMessage",param:"payload.data",desc:"类型必须为 String"})),!1):(console.warn(Xt({api:"createFaceMessage",param:"payload.index",desc:"类型必须为 Number"})),!1):(console.warn(Xt({api:"createFaceMessage",param:"payload",desc:"类型必须为 plain object"})),!1)}})},createFileMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){if(!Ze(e))return console.warn(Xt({api:"createFileMessage",param:"payload",desc:"类型必须为 plain object"})),!1;if(et(e.file))return console.warn(Xt({api:"createFileMessage",param:"payload.file",desc:"不能为 undefined"})),!1;if(re){if(!(e.file instanceof HTMLInputElement||$e(e.file)))return Ze(e.file)&&"undefined"!=typeof n?0!==e.file.tempFilePaths.length&&0!==e.file.tempFiles.length||(console.warn(Xt({api:"createFileMessage",param:"payload.file",desc:"您没有选择文件,无法发送"})),!1):(console.warn(Xt({api:"createFileMessage",param:"payload.file",desc:"类型必须是 HTMLInputElement 或 File"})),!1);if(e.file instanceof HTMLInputElement&&0===e.file.files.length)return console.warn(Xt({api:"createFileMessage",desc:"您没有选择文件,无法发送"})),!1}return!0}}),onProgress:{type:"Function",required:!1,validator:function(e){return et(e)&&console.warn(Xt({api:"createFileMessage",desc:"没有 onProgress 回调,您将无法获取上传进度"})),!0}}},createLocationMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){return Ze(e)?Je(e.description)?ze(e.longitude)?!!ze(e.latitude)||(console.warn(Xt({api:"createLocationMessage",param:"payload.latitude",desc:"类型必须为 Number"})),!1):(console.warn(Xt({api:"createLocationMessage",param:"payload.longitude",desc:"类型必须为 Number"})),!1):(console.warn(Xt({api:"createLocationMessage",param:"payload.description",desc:"类型必须为 String"})),!1):(console.warn(Xt({api:"createLocationMessage",param:"payload",desc:"类型必须为 plain object"})),!1)}})},createMergerMessage:{to:Zt,conversationType:Zt,payload:o(o({},en),{},{validator:function(e){if(qt(e.messageList))return console.warn(Xt({api:"createMergerMessage",desc:"不能为空数组"})),!1;if(qt(e.compatibleText))return console.warn(Xt({api:"createMergerMessage",desc:"类型必须为 String,且不能为空"})),!1;var t=!1;return e.messageList.forEach((function(e){e.status===Kt.FAIL&&(t=!0)})),!t||(console.warn(Xt({api:"createMergerMessage",desc:"不支持合并已发送失败的消息"})),!1)}})},revokeMessage:[o(o({name:"message"},en),{},{validator:function(e){return qt(e)?(console.warn(Xt({api:"revokeMessage",desc:"请传入消息(Message)实例"})),!1):e.conversationType===C.CONV_SYSTEM?(console.warn(Xt({api:"revokeMessage",desc:"不能撤回系统会话消息,只能撤回单聊消息或群消息"})),!1):!0!==e.isRevoked||(console.warn(Xt({api:"revokeMessage",desc:"消息已经被撤回,请勿重复操作"})),!1)}})],deleteMessage:[o(o({name:"messageList"},Qt),{},{validator:function(e){return!qt(e)||(console.warn(Xt({api:"deleteMessage",param:"messageList",desc:"不能为空数组"})),!1)}})],modifyMessage:[o(o({name:"message"},en),{},{validator:function(e){return qt(e)?(console.warn(Xt({api:"modifyMessage",desc:"请传入消息(Message)实例"})),!1):e.conversationType===C.CONV_SYSTEM?(console.warn(Xt({api:"modifyMessage",desc:"不支持修改系统会话消息,只能修改单聊消息或群消息"})),!1):!0!==e._onlineOnlyFlag||(console.warn(Xt({api:"modifyMessage",desc:"不支持修改在线消息"})),!1)}})],getUserProfile:{userIDList:{type:"Array",validator:function(e){return Qe(e)?(0===e.length&&console.warn(Xt({api:"getUserProfile",param:"userIDList",desc:"不能为空数组"})),!0):(console.warn(Xt({api:"getUserProfile",param:"userIDList",desc:"必须为数组"})),!1)}}},updateMyProfile:{profileCustomField:{type:"Array",validator:function(e){return!!et(e)||!!Qe(e)||(console.warn(Xt({api:"updateMyProfile",param:"profileCustomField",desc:"必须为数组"})),!1)}}},setSelfStatus:{customStatus:{type:"String",validator:function(e){return!!Je(e)||(console.warn(Xt({api:"setSelfStatus",param:"customStatus",desc:Zt})),!1)}}},getUserStatus:{userIDList:{type:"Array",validator:function(e){return Qe(e)?0!==e.length||(console.warn(Xt({api:"getUserStatus",param:"userIDList",desc:"不能为空数组"})),!1):(console.warn(Xt({api:"getUserStatus",param:"userIDList",desc:"必须为数组"})),!1)}}},subscribeUserStatus:{userIDList:{type:"Array",validator:function(e){return Qe(e)?0!==e.length||(console.warn(Xt({api:"subscribeUserStatus",param:"userIDList",desc:"不能为空数组"})),!1):(console.warn(Xt({api:"subscribeUserStatus",param:"userIDList",desc:"必须为数组"})),!1)}}},unsubscribeUserStatus:{userIDList:{type:"Array",validator:function(e){return!e||!!Qe(e)||(console.warn(Xt({api:"subscribeUserStatus",param:"userIDList",desc:"必须为数组"})),!1)}}},addFriend:{to:Zt,source:{type:"String",required:!0,validator:function(e){return!!e&&(e.startsWith("AddSource_Type_")?!(e.replace("AddSource_Type_","").length>8)||(console.warn(Xt({api:"addFriend",desc:"加好友来源字段的关键字长度不得超过8字节"})),!1):(console.warn(Xt({api:"addFriend",desc:"加好友来源字段的前缀必须是:AddSource_Type_"})),!1))}},remark:{type:"String",required:!1,validator:function(e){return!(Je(e)&&e.length>96)||(console.warn(Xt({api:"updateFriend",desc:" 备注长度最长不得超过 96 个字节"})),!1)}}},deleteFriend:{userIDList:Qt},checkFriend:{userIDList:Qt},getFriendProfile:{userIDList:Qt},updateFriend:{userID:Zt,remark:{type:"String",required:!1,validator:function(e){return!(Je(e)&&e.length>96)||(console.warn(Xt({api:"updateFriend",desc:" 备注长度最长不得超过 96 个字节"})),!1)}},friendCustomField:{type:"Array",required:!1,validator:function(e){if(e){if(!Qe(e))return console.warn(Xt({api:"updateFriend",param:"friendCustomField",desc:"必须为数组"})),!1;var t=!0;return e.forEach((function(e){return Je(e.key)&&-1!==e.key.indexOf("Tag_SNS_Custom")?Je(e.value)?e.value.length>8?(console.warn(Xt({api:"updateFriend",desc:"好友自定义字段的关键字长度不得超过8字节"})),t=!1):void 0:(console.warn(Xt({api:"updateFriend",desc:"类型必须为 String"})),t=!1):(console.warn(Xt({api:"updateFriend",desc:"好友自定义字段的前缀必须是 Tag_SNS_Custom"})),t=!1)})),t}return!0}}},acceptFriendApplication:{userID:Zt},refuseFriendApplication:{userID:Zt},deleteFriendApplication:{userID:Zt},createFriendGroup:{name:Zt},deleteFriendGroup:{name:Zt},addToFriendGroup:{name:Zt,userIDList:Qt},removeFromFriendGroup:{name:Zt,userIDList:Qt},renameFriendGroup:{oldName:Zt,newName:Zt},sendMessageReadReceipt:[{name:"messageList",type:"Array",validator:function(e){return Qe(e)?0!==e.length||(console.warn(Xt({api:"sendMessageReadReceipt",param:"messageList",desc:"不能为空数组"})),!1):(console.warn(Xt({api:"sendMessageReadReceipt",param:"messageList",desc:"必须为数组"})),!1)}}],getMessageReadReceiptList:[{name:"messageList",type:"Array",validator:function(e){return Qe(e)?0!==e.length||(console.warn(Xt({api:"getMessageReadReceiptList",param:"messageList",desc:"不能为空数组"})),!1):(console.warn(Xt({api:"getMessageReadReceiptList",param:"messageList",desc:"必须为数组"})),!1)}}],createTopicInCommunity:{groupID:Zt,topicName:Zt},deleteTopicFromCommunity:{groupID:Zt,topicIDList:{type:"Array",validator:function(e){return!e||!!Qe(e)||(console.warn(Xt({api:"deleteTopicFromCommunity",param:"topicIDList",desc:"必须为数组"})),!1)}}},updateTopicProfile:{groupID:Zt,topicID:Zt},getTopicList:{groupID:Zt,topicIDList:{type:"Array",validator:function(e){return!e||!!Qe(e)||(console.warn(Xt({api:"getTopicList",param:"topicIDList",desc:"必须为数组"})),!1)}}}},on={login:"login",logout:"logout",on:"on",once:"once",off:"off",setLogLevel:"setLogLevel",registerPlugin:"registerPlugin",destroy:"destroy",createTextMessage:"createTextMessage",createTextAtMessage:"createTextAtMessage",createImageMessage:"createImageMessage",createAudioMessage:"createAudioMessage",createVideoMessage:"createVideoMessage",createCustomMessage:"createCustomMessage",createFaceMessage:"createFaceMessage",createFileMessage:"createFileMessage",createLocationMessage:"createLocationMessage",createMergerMessage:"createMergerMessage",downloadMergerMessage:"downloadMergerMessage",createForwardMessage:"createForwardMessage",sendMessage:"sendMessage",resendMessage:"resendMessage",revokeMessage:"revokeMessage",deleteMessage:"deleteMessage",modifyMessage:"modifyMessage",sendMessageReadReceipt:"sendMessageReadReceipt",getGroupMessageReadMemberList:"getGroupMessageReadMemberList",getMessageReadReceiptList:"getMessageReadReceiptList",getMessageList:"getMessageList",findMessage:"findMessage",getMessageListHopping:"getMessageListHopping",setMessageRead:"setMessageRead",setAllMessageRead:"setAllMessageRead",getConversationList:"getConversationList",getConversationProfile:"getConversationProfile",deleteConversation:"deleteConversation",pinConversation:"pinConversation",setConversationCustomData:"setConversationCustomData",markConversation:"markConversation",createConversationGroup:"createConversationGroup",getConversationGroupList:"getConversationGroupList",deleteConversationGroup:"deleteConversationGroup",renameConversationGroup:"renameConversationGroup",addConversationsToGroup:"addConversationsToGroup",deleteConversationsFromGroup:"deleteConversationsFromGroup",getGroupList:"getGroupList",getGroupProfile:"getGroupProfile",createGroup:"createGroup",joinGroup:"joinGroup",updateGroupProfile:"updateGroupProfile",quitGroup:"quitGroup",dismissGroup:"dismissGroup",changeGroupOwner:"changeGroupOwner",searchGroupByID:"searchGroupByID",setMessageRemindType:"setMessageRemindType",handleGroupApplication:"handleGroupApplication",initGroupAttributes:"initGroupAttributes",setGroupAttributes:"setGroupAttributes",deleteGroupAttributes:"deleteGroupAttributes",getGroupAttributes:"getGroupAttributes",getJoinedCommunityList:"getJoinedCommunityList",createTopicInCommunity:"createTopicInCommunity",deleteTopicFromCommunity:"deleteTopicFromCommunity",updateTopicProfile:"updateTopicProfile",getTopicList:"getTopicList",getGroupMemberProfile:"getGroupMemberProfile",getGroupMemberList:"getGroupMemberList",addGroupMember:"addGroupMember",deleteGroupMember:"deleteGroupMember",setGroupMemberNameCard:"setGroupMemberNameCard",setGroupMemberMuteTime:"setGroupMemberMuteTime",setGroupMemberRole:"setGroupMemberRole",setGroupMemberCustomField:"setGroupMemberCustomField",getGroupOnlineMemberCount:"getGroupOnlineMemberCount",getMyProfile:"getMyProfile",getUserProfile:"getUserProfile",updateMyProfile:"updateMyProfile",setSelfStatus:"setSelfStatus",getUserStatus:"getUserStatus",subscribeUserStatus:"subscribeUserStatus",unsubscribeUserStatus:"unsubscribeUserStatus",getBlacklist:"getBlacklist",addToBlacklist:"addToBlacklist",removeFromBlacklist:"removeFromBlacklist",getFriendList:"getFriendList",addFriend:"addFriend",deleteFriend:"deleteFriend",checkFriend:"checkFriend",updateFriend:"updateFriend",getFriendProfile:"getFriendProfile",getFriendApplicationList:"getFriendApplicationList",refuseFriendApplication:"refuseFriendApplication",deleteFriendApplication:"deleteFriendApplication",acceptFriendApplication:"acceptFriendApplication",setFriendApplicationRead:"setFriendApplicationRead",getFriendGroupList:"getFriendGroupList",createFriendGroup:"createFriendGroup",renameFriendGroup:"renameFriendGroup",deleteFriendGroup:"deleteFriendGroup",addToFriendGroup:"addToFriendGroup",removeFromFriendGroup:"removeFromFriendGroup",callExperimentalAPI:"callExperimentalAPI"},rn="sign",an="message",sn="user",un="c2c",cn="group",dn="sns",ln="groupMember",_n="Topic",pn="conversation",hn="context",mn="storage",fn="eventStat",gn="netMonitor",Mn="bigDataChannel",yn="upload",vn="plugin",Ln="syncUnreadMessage",Tn="session",Dn="channel",kn="message_loss_detection",In="cloudControl",Sn="workerTimer",En="pullGroupMessage",Cn="qualityStat",An="commercialConfig",On="offlinePush",bn=function(){function e(t){a(this,e),this._moduleManager=t,this._className=""}return i(e,[{key:"isLoggedIn",value:function(){return this._moduleManager.getModule(hn).isLoggedIn()}},{key:"isOversea",value:function(){return this._moduleManager.getModule(hn).isOversea()}},{key:"isPrivateNetWork",value:function(){return this._moduleManager.getModule(hn).isPrivateNetWork()}},{key:"getMyUserID",value:function(){return this._moduleManager.getModule(hn).getUserID()}},{key:"getMyTinyID",value:function(){return this._moduleManager.getModule(hn).getTinyID()}},{key:"getModule",value:function(e){return this._moduleManager.getModule(e)}},{key:"getPlatform",value:function(){return se}},{key:"getNetworkType",value:function(){return this._moduleManager.getModule(gn).getNetworkType()}},{key:"probeNetwork",value:function(e){return this._moduleManager.getModule(gn).probe(e)}},{key:"getCloudConfig",value:function(e){return this._moduleManager.getModule(In).getCloudConfig(e)}},{key:"emitOuterEvent",value:function(e,t){this._moduleManager.getOuterEmitterInstance().emit(e,t)}},{key:"emitInnerEvent",value:function(e,t){this._moduleManager.getInnerEmitterInstance().emit(e,t)}},{key:"getInnerEmitterInstance",value:function(){return this._moduleManager.getInnerEmitterInstance()}},{key:"generateTjgID",value:function(e){return this._moduleManager.getModule(hn).getTinyID()+"-"+e.random}},{key:"filterModifiedMessage",value:function(e){if(!qt(e)){var t=e.filter((function(e){return!0===e.isModified}));t.length>0&&this.emitOuterEvent(E.MESSAGE_MODIFIED,t)}}},{key:"filterUnmodifiedMessage",value:function(e){return qt(e)?[]:e.filter((function(e){return!1===e.isModified}))}},{key:"request",value:function(e){return this._moduleManager.getModule(Tn).request(e)}},{key:"canIUse",value:function(e){return this._moduleManager.getModule(An).canIUse(e)}}]),e}(),wn="wslogin",Nn="wslogout",Rn="wshello",Pn="KickOther",Yn="getmsg",Gn="authkey",Un="sendmsg",Fn="send_group_msg",xn="portrait_get_all",Hn="portrait_set",jn="black_list_get",qn="black_list_add",Bn="black_list_delete",Vn="msgwithdraw",Wn="msgreaded",Kn="set_c2c_peer_mute_notifications",$n="get_c2c_peer_mute_notifications",zn="getroammsg",Jn="get_peer_read_time",Xn="delete_c2c_msg_ramble",Zn="modify_c2c_msg",Qn="page_get",eo="get",to="delete",no="top",oo="deletemsg",ro="set_conv_custom_data",ao="mark_contact",so="create_contact_group",io="del_contact_group",uo="update_contact_group",co="add_conv_to_group",lo="del_conv_from_group",_o="get_contact_group",po="get_joined_group_list",ho="get_group_self_member_info",mo="create_group",fo="destroy_group",go="modify_group_base_info",Mo="apply_join_group",yo="apply_join_group_noauth",vo="quit_group",Lo="get_group_public_info",To="change_group_owner",Do="handle_apply_join_group",ko="handle_invite_join_group",Io="group_msg_recall",So="msg_read_report",Eo="read_all_unread_msg",Co="group_msg_get",Ao="get_group_msg_receipt",Oo="group_msg_receipt",bo="c2c_msg_read_receipt",wo="get_group_msg_receipt_detail",No="get_pendency",Ro="deletemsg",Po="get_msg",Yo="get_msg_noauth",Go="get_online_member_num",Uo="delete_group_ramble_msg_by_seq",Fo="modify_group_msg",xo="set_group_attr",Ho="modify_group_attr",jo="delete_group_attr",qo="clear_group_attr",Bo="get_group_attr",Vo="get_group_member_info",Wo="get_members",Ko="get_specified_group_member_info",$o="add_group_member",zo="delete_group_member",Jo="ban_group_member",Xo="modify_group_member_info",Zo="cos",Qo="pre_sig",er="video_cover",tr="tim_web_report_v2",nr="alive",or="msg_push",rr="multi_msg_push_ws",ar="ws_msg_push_ack",sr="stat_forceoffline",ir="save_relay_json_msg",ur="get_relay_json_msg",cr="fetch_config",dr="push_configv2",lr="fetch_imsdk_purchase_bitsv2",_r="push_imsdk_purchase_bitsv2",pr="notify2",hr="create_topic",mr="destroy_topic",fr="modify_topic",gr="get_topic",Mr="ws_set_custom_status",yr="ws_get_user_status",vr="ws_status_subscribe",Lr="ws_status_unsubscribe",Tr="ws_stat_background",Dr="ws_stat_foreground",kr="ws_stat_settoken",Ir={NO_SDKAPPID:2e3,NO_ACCOUNT_TYPE:2001,NO_IDENTIFIER:2002,NO_USERSIG:2003,NO_TINYID:2022,NO_A2KEY:2023,USER_NOT_LOGGED_IN:2024,REPEAT_LOGIN:2025,COS_UNDETECTED:2040,COS_GET_SIG_FAIL:2041,MESSAGE_SEND_FAIL:2100,MESSAGE_LIST_CONSTRUCTOR_NEED_OPTIONS:2103,MESSAGE_SEND_NEED_MESSAGE_INSTANCE:2105,MESSAGE_SEND_INVALID_CONVERSATION_TYPE:2106,MESSAGE_FILE_IS_EMPTY:2108,MESSAGE_ONPROGRESS_FUNCTION_ERROR:2109,MESSAGE_REVOKE_FAIL:2110,MESSAGE_DELETE_FAIL:2111,MESSAGE_UNREAD_ALL_FAIL:2112,MESSAGE_CONTROL_INFO_FAIL:2113,READ_RECEIPT_MESSAGE_LIST_EMPTY:2114,MESSAGE_SEND_GROUP_WITH_TOPIC_FAIL:2115,CANNOT_DELETE_GROUP_SYSTEM_NOTICE:2116,MESSAGE_IMAGE_SELECT_FILE_FIRST:2251,MESSAGE_IMAGE_TYPES_LIMIT:2252,MESSAGE_IMAGE_SIZE_LIMIT:2253,MESSAGE_AUDIO_UPLOAD_FAIL:2300,MESSAGE_AUDIO_SIZE_LIMIT:2301,MESSAGE_VIDEO_UPLOAD_FAIL:2350,MESSAGE_VIDEO_SIZE_LIMIT:2351,MESSAGE_VIDEO_TYPES_LIMIT:2352,MESSAGE_FILE_UPLOAD_FAIL:2400,MESSAGE_FILE_SELECT_FILE_FIRST:2401,MESSAGE_FILE_SIZE_LIMIT:2402,MESSAGE_FILE_URL_IS_EMPTY:2403,MESSAGE_MERGER_TYPE_INVALID:2450,MESSAGE_MERGER_KEY_INVALID:2451,MESSAGE_MERGER_DOWNLOAD_FAIL:2452,MESSAGE_FORWARD_TYPE_INVALID:2453,MESSAGE_MODIFY_CONFLICT:2480,MESSAGE_MODIFY_DISABLED_IN_AVCHATROOM:2481,CONVERSATION_NOT_FOUND:2500,USER_OR_GROUP_NOT_FOUND:2501,CONVERSATION_UN_RECORDED_TYPE:2502,INVALID_CONVERSATION_ID:2503,ILLEGAL_GROUP_TYPE:2600,CANNOT_JOIN_WORK:2601,ILLEGAL_GROUP_ID:2602,CANNOT_FIND_GROUP:2603,CANNOT_CHANGE_OWNER_IN_AVCHATROOM:2620,CANNOT_CHANGE_OWNER_TO_SELF:2621,CANNOT_DISMISS_Work:2622,MEMBER_NOT_IN_GROUP:2623,CANNOT_USE_GRP_ATTR_NOT_AVCHATROOM:2641,CANNOT_USE_GRP_ATTR_AVCHATROOM_UNJOIN:2642,JOIN_GROUP_FAIL:2660,CANNOT_ADD_MEMBER_IN_AVCHATROOM:2661,CANNOT_JOIN_NON_AVCHATROOM_WITHOUT_LOGIN:2662,CANNOT_KICK_MEMBER_IN_AVCHATROOM:2680,NOT_OWNER:2681,CANNOT_SET_MEMBER_ROLE_IN_WORK_AND_AVCHATROOM:2682,INVALID_MEMBER_ROLE:2683,CANNOT_SET_SELF_MEMBER_ROLE:2684,CANNOT_MUTE_SELF:2685,BAN_DURATION_INVALID:2686,NOT_MY_FRIEND:2700,ALREADY_MY_FRIEND:2701,FRIEND_GROUP_EXISTED:2710,FRIEND_GROUP_NOT_EXIST:2711,FRIEND_APPLICATION_NOT_EXIST:2716,UPDATE_PROFILE_INVALID_PARAM:2721,UPDATE_PROFILE_NO_KEY:2722,ADD_BLACKLIST_INVALID_PARAM:2740,DEL_BLACKLIST_INVALID_PARAM:2741,CANNOT_ADD_SELF_TO_BLACKLIST:2742,ADD_FRIEND_INVALID_PARAM:2760,NETWORK_ERROR:2800,NETWORK_TIMEOUT:2801,NETWORK_BASE_OPTIONS_NO_URL:2802,NETWORK_UNDEFINED_SERVER_NAME:2803,NETWORK_PACKAGE_UNDEFINED:2804,NO_NETWORK:2805,CONVERTOR_IRREGULAR_PARAMS:2900,NOTICE_RUNLOOP_UNEXPECTED_CONDITION:2901,NOTICE_RUNLOOP_OFFSET_LOST:2902,UNCAUGHT_ERROR:2903,GET_LONGPOLL_ID_FAILED:2904,INVALID_OPERATION:2905,OVER_FREQUENCY_LIMIT:2996,CANNOT_FIND_PROTOCOL:2997,CANNOT_FIND_MODULE:2998,SDK_IS_NOT_READY:2999,LOGGING_IN:3e3,LOGIN_FAILED:3001,KICKED_OUT_MULT_DEVICE:3002,KICKED_OUT_MULT_ACCOUNT:3003,KICKED_OUT_USERSIG_EXPIRED:3004,LOGGED_OUT:3005,KICKED_OUT_REST_API:3006,ILLEGAL_TOPIC_ID:3021,CANNOT_USE_COMMERCIAL_ABILITY:3122,LONG_POLL_KICK_OUT:91101,MESSAGE_A2KEY_EXPIRED:20002,ACCOUNT_A2KEY_EXPIRED:70001,LONG_POLL_API_PARAM_ERROR:90001,HELLO_ANSWER_KICKED_OUT:1002,OPEN_SERVICE_OVERLOAD_ERROR:60022},Sr={NO_SDKAPPID:"无 SDKAppID",NO_ACCOUNT_TYPE:"无 accountType",NO_IDENTIFIER:"无 userID",NO_USERSIG:"无 userSig",NO_TINYID:"无 tinyID",NO_A2KEY:"无 a2key",USER_NOT_LOGGED_IN:"用户未登录",REPEAT_LOGIN:"重复登录",COS_UNDETECTED:"未检测到 COS 上传插件",COS_GET_SIG_FAIL:"获取 COS 预签名 URL 失败",MESSAGE_SEND_FAIL:"消息发送失败",MESSAGE_LIST_CONSTRUCTOR_NEED_OPTIONS:"MessageController.constructor() 需要参数 options",MESSAGE_SEND_NEED_MESSAGE_INSTANCE:"需要 Message 的实例",MESSAGE_SEND_INVALID_CONVERSATION_TYPE:'Message.conversationType 只能为 "C2C" 或 "GROUP"',MESSAGE_FILE_IS_EMPTY:"无法发送空文件",MESSAGE_ONPROGRESS_FUNCTION_ERROR:"回调函数运行时遇到错误,请检查接入侧代码",MESSAGE_REVOKE_FAIL:"消息撤回失败",MESSAGE_DELETE_FAIL:"消息删除失败",MESSAGE_UNREAD_ALL_FAIL:"设置所有未读消息为已读处理失败",MESSAGE_CONTROL_INFO_FAIL:"社群不支持消息发送控制选项",READ_RECEIPT_MESSAGE_LIST_EMPTY:"消息列表中没有需要发送已读回执的消息",MESSAGE_SEND_GROUP_WITH_TOPIC_FAIL:"不能在支持话题的群组中发消息,请检查群组 isSupportTopic 属性",CANNOT_DELETE_GROUP_SYSTEM_NOTICE:"不支持删除群系统通知",MESSAGE_IMAGE_SELECT_FILE_FIRST:"请先选择一个图片",MESSAGE_IMAGE_TYPES_LIMIT:"只允许上传 jpg png jpeg gif bmp image webp 格式的图片",MESSAGE_IMAGE_SIZE_LIMIT:"图片大小超过20M,无法发送",MESSAGE_AUDIO_UPLOAD_FAIL:"语音上传失败",MESSAGE_AUDIO_SIZE_LIMIT:"语音大小大于20M,无法发送",MESSAGE_VIDEO_UPLOAD_FAIL:"视频上传失败",MESSAGE_VIDEO_SIZE_LIMIT:"视频大小超过100M,无法发送",MESSAGE_VIDEO_TYPES_LIMIT:"只允许上传 mp4 格式的视频",MESSAGE_FILE_UPLOAD_FAIL:"文件上传失败",MESSAGE_FILE_SELECT_FILE_FIRST:"请先选择一个文件",MESSAGE_FILE_SIZE_LIMIT:"文件大小超过100M,无法发送 ",MESSAGE_FILE_URL_IS_EMPTY:"缺少必要的参数文件 URL",MESSAGE_MERGER_TYPE_INVALID:"非合并消息",MESSAGE_MERGER_KEY_INVALID:"合并消息的 messageKey 无效",MESSAGE_MERGER_DOWNLOAD_FAIL:"下载合并消息失败",MESSAGE_FORWARD_TYPE_INVALID:"选择的消息类型(如群提示消息)不可以转发",MESSAGE_MODIFY_CONFLICT:"修改消息时发生冲突",MESSAGE_MODIFY_DISABLED_IN_AVCHATROOM:"直播群不支持修改消息",CONVERSATION_NOT_FOUND:"没有找到相应的会话,请检查传入参数",USER_OR_GROUP_NOT_FOUND:"没有找到相应的用户或群组,请检查传入参数",CONVERSATION_UN_RECORDED_TYPE:"未记录的会话类型",INVALID_CONVERSATION_ID:"无效的会话 ID",ILLEGAL_GROUP_TYPE:"非法的群类型,请检查传入参数",CANNOT_JOIN_WORK:"不能加入 Work 类型的群组",ILLEGAL_GROUP_ID:"群组 ID 非法,非 Community 类型群组不能以 @TGS#_ 为前缀,Community 类型群组必须以 @TGS#_ 为前缀且不能包含 @TOPIC#_ 字符串",CANNOT_FIND_GROUP:"找不到指定 ID 的群组",CANNOT_CHANGE_OWNER_IN_AVCHATROOM:"AVChatRoom 类型的群组不能转让群主",CANNOT_CHANGE_OWNER_TO_SELF:"不能把群主转让给自己",CANNOT_DISMISS_WORK:"不能解散 Work 类型的群组",MEMBER_NOT_IN_GROUP:"用户不在该群组内",JOIN_GROUP_FAIL:"加群失败,请检查传入参数或重试",CANNOT_ADD_MEMBER_IN_AVCHATROOM:"AVChatRoom 类型的群不支持邀请群成员",CANNOT_JOIN_NON_AVCHATROOM_WITHOUT_LOGIN:"非 AVChatRoom 类型的群组不允许匿名加群,请先登录后再加群",CANNOT_KICK_MEMBER_IN_AVCHATROOM:"不能在 AVChatRoom 类型的群组踢人",NOT_OWNER:"你不是群主,只有群主才有权限操作",CANNOT_SET_MEMBER_ROLE_IN_WORK_AND_AVCHATROOM:"不能在 Work / AVChatRoom 类型的群中设置群成员身份",INVALID_MEMBER_ROLE:"不合法的群成员身份,请检查传入参数",CANNOT_SET_SELF_MEMBER_ROLE:"不能设置自己的群成员身份,请检查传入参数",CANNOT_MUTE_SELF:"不能将自己禁言,请检查传入参数",BAN_DURATION_INVALID:"封禁时长无效,必须传入 duration 参数且要大于 0",NOT_MY_FRIEND:"非好友关系",ALREADY_MY_FRIEND:"已经是好友关系",FRIEND_GROUP_EXISTED:"好友分组已存在",FRIEND_GROUP_NOT_EXIST:"好友分组不存在",FRIEND_APPLICATION_NOT_EXIST:"好友申请不存在",UPDATE_PROFILE_INVALID_PARAM:"传入 updateMyProfile 接口的参数无效",UPDATE_PROFILE_NO_KEY:"updateMyProfile 无标配资料字段或自定义资料字段",ADD_BLACKLIST_INVALID_PARAM:"传入 addToBlacklist 接口的参数无效",DEL_BLACKLIST_INVALID_PARAM:"传入 removeFromBlacklist 接口的参数无效",CANNOT_ADD_SELF_TO_BLACKLIST:"不能拉黑自己",ADD_FRIEND_INVALID_PARAM:"传入 addFriend 接口的参数无效",NETWORK_ERROR:"网络错误",NETWORK_TIMEOUT:"请求超时",NETWORK_BASE_OPTIONS_NO_URL:"网络层初始化错误,缺少 URL 参数",NETWORK_UNDEFINED_SERVER_NAME:"打包错误,未定义的 serverName",NETWORK_PACKAGE_UNDEFINED:"未定义的 packageConfig",NO_NETWORK:"未连接到网络",CONVERTOR_IRREGULAR_PARAMS:"不规范的参数名称",NOTICE_RUNLOOP_UNEXPECTED_CONDITION:"意料外的通知条件",NOTICE_RUNLOOP_OFFSET_LOST:"_syncOffset 丢失",GET_LONGPOLL_ID_FAILED:"获取 longpolling id 失败",UNCAUGHT_ERROR:"未经明确定义的错误",INVALID_OPERATION:"无效操作,如调用了未定义或者未实现的方法等",CANNOT_FIND_PROTOCOL:"无法找到协议",CANNOT_FIND_MODULE:"无法找到模块,请参考:https://web.sdk.qcloud.com/im/doc/zh-cn/tutorial-03-sns.html",SDK_IS_NOT_READY:"接口需要 SDK 处于 ready 状态后才能调用",LOGGING_IN:"用户正在登录中",LOGIN_FAILED:"用户登录失败",KICKED_OUT_MULT_DEVICE:"用户多终端登录被踢出",KICKED_OUT_MULT_ACCOUNT:"用户多实例登录被踢出",KICKED_OUT_USERSIG_EXPIRED:"用户 userSig 过期被踢出",LOGGED_OUT:"用户已登出",KICKED_OUT_REST_API:"用户被 REST API - kick 接口: https://cloud.tencent.com/document/product/269/3853 踢出",OVER_FREQUENCY_LIMIT:"超出 SDK 频率控制",LONG_POLL_KICK_OUT:"检测到多个 web 实例登录,消息通道下线",OPEN_SERVICE_OVERLOAD_ERROR:"后台服务正忙,请稍后再试",MESSAGE_A2KEY_EXPIRED:"消息错误码:UserSig 或 A2 失效。",ACCOUNT_A2KEY_EXPIRED:"帐号错误码:UserSig 已过期,请重新生成。建议 UserSig 有效期设置不小于24小时。",LONG_POLL_API_PARAM_ERROR:"longPoll API parameters error",ILLEGAL_TOPIC_ID:"topicID 非法",CANNOT_USE_COMMERCIAL_ABILITY:"套餐包不支持该接口的使用,请升级到旗舰版套餐"},Er="networkRTT",Cr="messageE2EDelay",Ar="sendMessageC2C",Or="sendMessageGroup",br="sendMessageGroupAV",wr="sendMessageRichMedia",Nr="cosUpload",Rr="messageReceivedGroup",Pr="messageReceivedGroupAVPush",Yr="messageReceivedGroupAVPull",Gr=(u(Wt={},Er,2),u(Wt,Cr,3),u(Wt,Ar,4),u(Wt,Or,5),u(Wt,br,6),u(Wt,wr,7),u(Wt,Rr,8),u(Wt,Pr,9),u(Wt,Yr,10),u(Wt,Nr,11),Wt),Ur={info:4,warning:5,error:6},Fr={wifi:1,"2g":2,"3g":3,"4g":4,"5g":5,unknown:6,none:7,online:8},xr={login:4},Hr=function(){function e(t){a(this,e),this.eventType=xr[t]||0,this.timestamp=0,this.networkType=8,this.code=0,this.message="",this.moreMessage="",this.extension=t,this.costTime=0,this.duplicate=!1,this.level=4,this.uiPlatform=void 0,this._sentFlag=!1,this._startts=be()}return i(e,[{key:"updateTimeStamp",value:function(){this.timestamp=be()}},{key:"start",value:function(e){return this._startts=e,this}},{key:"end",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this._sentFlag){var n=be();0===this.costTime&&(this.costTime=n-this._startts),this.setMoreMessage("startts:".concat(this._startts," endts:").concat(n)),t?(this._sentFlag=!0,this._eventStatModule&&this._eventStatModule.pushIn(this)):setTimeout((function(){e._sentFlag=!0,e._eventStatModule&&e._eventStatModule.pushIn(e)}),0)}}},{key:"setError",value:function(e,t,n){return e instanceof Error?(this._sentFlag||(this.setNetworkType(n),t?(e.code&&this.setCode(e.code),e.message&&this.setMoreMessage(e.message)):(this.setCode(Ir.NO_NETWORK),this.setMoreMessage(Sr.NO_NETWORK)),this.setLevel("error")),this):(Ge.warn("SSOLogData.setError value not instanceof Error, please check!"),this)}},{key:"setCode",value:function(e){return et(e)||this._sentFlag||("ECONNABORTED"===e&&(this.code=103),ze(e)?this.code=e:Ge.warn("SSOLogData.setCode value not a number, please check!",e,r(e))),this}},{key:"setMessage",value:function(e){return et(e)||this._sentFlag||(ze(e)&&(this.message=e.toString()),Je(e)&&(this.message=e)),this}},{key:"setCostTime",value:function(e){return this.costTime=e,this}},{key:"setLevel",value:function(e){return et(e)||this._sentFlag||(this.level=Ur[e]),this}},{key:"setMoreMessage",value:function(e){return qt(this.moreMessage)?this.moreMessage="".concat(e):this.moreMessage+=" ".concat(e),this}},{key:"setNetworkType",value:function(e){if(et(e))Ge.warn("SSOLogData.setNetworkType value is undefined, please check!");else{var t=Fr[e.toLowerCase()];et(t)||(this.networkType=t)}return this}},{key:"getStartTs",value:function(){return this._startts}},{key:"setUIPlatform",value:function(e){this.uiPlatform=e}}],[{key:"bindEventStatModule",value:function(t){e.prototype._eventStatModule=t}}]),e}(),jr={SDK_CONSTRUCT:"sdkConstruct",SDK_READY:"sdkReady",LOGIN:"login",LOGOUT:"logout",KICKED_OUT:"kickedOut",REGISTER_PLUGIN:"registerPlugin",KICK_OTHER:"kickOther",WS_CONNECT:"wsConnect",WS_ON_OPEN:"wsOnOpen",WS_ON_CLOSE:"wsOnClose",WS_ON_ERROR:"wsOnError",NETWORK_CHANGE:"networkChange",GET_COS_AUTH_KEY:"getCosAuthKey",GET_COS_PRE_SIG_URL:"getCosPreSigUrl",GET_SNAPSHOT_INFO:"getSnapshotInfo",UPLOAD:"upload",SEND_MESSAGE:"sendMessage",SEND_MESSAGE_WITH_RECEIPT:"sendMessageWithReceipt",SEND_COMBO_MESSAGE:"sendComboMessage",GET_C2C_ROAMING_MESSAGES:"getC2CRoamingMessages",GET_GROUP_ROAMING_MESSAGES:"getGroupRoamingMessages",GET_C2C_ROAMING_MESSAGES_HOPPING:"getC2CRoamingMessagesHopping",GET_GROUP_ROAMING_MESSAGES_HOPPING:"getGroupRoamingMessagesHopping",GET_READ_RECEIPT:"getReadReceipt",GET_READ_RECEIPT_DETAIL:"getReadReceiptDetail",SEND_READ_RECEIPT:"sendReadReceipt",SEND_C2C_READ_RECEIPT:"sendC2CReadReceipt",REVOKE_MESSAGE:"revokeMessage",DELETE_MESSAGE:"deleteMessage",EDIT_MESSAGE:"modifyMessage",SET_C2C_MESSAGE_READ:"setC2CMessageRead",SET_GROUP_MESSAGE_READ:"setGroupMessageRead",EMPTY_MESSAGE_BODY:"emptyMessageBody",GET_PEER_READ_TIME:"getPeerReadTime",UPLOAD_MERGER_MESSAGE:"uploadMergerMessage",DOWNLOAD_MERGER_MESSAGE:"downloadMergerMessage",JSON_PARSE_ERROR:"jsonParseError",MESSAGE_E2E_DELAY_EXCEPTION:"messageE2EDelayException",GET_CONVERSATION_LIST:"getConversationList",GET_CONVERSATION_PROFILE:"getConversationProfile",DELETE_CONVERSATION:"deleteConversation",PIN_CONVERSATION:"pinConversation",GET_CONVERSATION_LIST_IN_STORAGE:"getConversationListInStorage",SYNC_CONVERSATION_LIST:"syncConversationList",SET_ALL_MESSAGE_READ:"setAllMessageRead",SET_CONV_CUSTOM_DATA:"setConvCustomData",MARK_CONVERSATION:"markConversation",GET_REMOTE_CONV_GROUP_LIST:"getRemoteConvGroupList",CREATE_CONV_GROUP:"createConvGroup",DELETE_CONV_GROUP:"deleteConvGroup",RENAME_CONV_GROUP:"renameConvGroup",ADD_CONVS_TO_GROUP:"addConvsToGroup",DELETE_CONVS_FROM_GROUP:"deleteConvsFromGroup",CREATE_GROUP:"createGroup",APPLY_JOIN_GROUP:"applyJoinGroup",QUIT_GROUP:"quitGroup",SEARCH_GROUP_BY_ID:"searchGroupByID",CHANGE_GROUP_OWNER:"changeGroupOwner",HANDLE_GROUP_APPLICATION:"handleGroupApplication",HANDLE_GROUP_INVITATION:"handleGroupInvitation",SET_MESSAGE_REMIND_TYPE:"setMessageRemindType",DISMISS_GROUP:"dismissGroup",UPDATE_GROUP_PROFILE:"updateGroupProfile",GET_GROUP_LIST:"getGroupList",GET_GROUP_PROFILE:"getGroupProfile",GET_GROUP_LIST_IN_STORAGE:"getGroupListInStorage",GET_GROUP_LAST_SEQUENCE:"getGroupLastSequence",GET_GROUP_MISSING_MESSAGE:"getGroupMissingMessage",PAGING_GET_GROUP_LIST:"pagingGetGroupList",PAGING_GET_GROUP_LIST_WITH_TOPIC:"pagingGetGroupListWithTopic",GET_GROUP_SIMPLIFIED_INFO:"getGroupSimplifiedInfo",JOIN_WITHOUT_AUTH:"joinWithoutAuth",INIT_GROUP_ATTRIBUTES:"initGroupAttributes",SET_GROUP_ATTRIBUTES:"setGroupAttributes",DELETE_GROUP_ATTRIBUTES:"deleteGroupAttributes",GET_GROUP_ATTRIBUTES:"getGroupAttributes",GET_GROUP_MEMBER_LIST:"getGroupMemberList",GET_AVCHATROOM_MEMBER_LIST:"getAVChatRoomMemberList",GET_GROUP_MEMBER_PROFILE:"getGroupMemberProfile",ADD_GROUP_MEMBER:"addGroupMember",DELETE_GROUP_MEMBER:"deleteGroupMember",BAN_AVCHATROOM_MEMBER:"banAVChatRoomMember",SET_GROUP_MEMBER_MUTE_TIME:"setGroupMemberMuteTime",SET_GROUP_MEMBER_NAME_CARD:"setGroupMemberNameCard",SET_GROUP_MEMBER_ROLE:"setGroupMemberRole",SET_GROUP_MEMBER_CUSTOM_FIELD:"setGroupMemberCustomField",GET_GROUP_ONLINE_MEMBER_COUNT:"getGroupOnlineMemberCount",SYNC_MESSAGE:"syncMessage",LONG_POLLING_AV_ERROR:"longPollingAVError",MESSAGE_LOSS:"messageLoss",MESSAGE_STACKED:"messageStacked",GET_USER_PROFILE:"getUserProfile",UPDATE_MY_PROFILE:"updateMyProfile",GET_BLACKLIST:"getBlacklist",ADD_TO_BLACKLIST:"addToBlacklist",REMOVE_FROM_BLACKLIST:"removeFromBlacklist",SET_SELF_STATUS:"ws_set_custom_status",GET_USER_STATUS:"ws_get_user_status",SUBSCRIBE_USER_STATUS:"ws_status_subscribe",UNSUBSCRIBE_USER_STATUS:"ws_status_unsubscribe",ADD_FRIEND:"addFriend",CHECK_FRIEND:"checkFriend",DELETE_FRIEND:"removeFromFriendList",GET_FRIEND_PROFILE:"getFriendProfile",GET_FRIEND_LIST:"getFriendList",UPDATE_FRIEND:"updateFriend",GET_FRIEND_APPLICATION_LIST:"getFriendApplicationList",DELETE_FRIEND_APPLICATION:"deleteFriendApplication",ACCEPT_FRIEND_APPLICATION:"acceptFriendApplication",REFUSE_FRIEND_APPLICATION:"refuseFriendApplication",SET_FRIEND_APPLICATION_READ:"setFriendApplicationRead",CREATE_FRIEND_GROUP:"createFriendGroup",DELETE_FRIEND_GROUP:"deleteFriendGroup",RENAME_FRIEND_GROUP:"renameFriendGroup",ADD_TO_FRIEND_GROUP:"addToFriendGroup",REMOVE_FROM_FRIEND_GROUP:"removeFromFriendGroup",GET_FRIEND_GROUP_LIST:"getFriendGroupList",CREATE_TOPIC:"createTopic",DELETE_TOPIC:"deleteTopic",UPDATE_TOPIC_PROFILE:"updateTopicProfile",GET_TOPIC_LIST:"getTopicList",RELAY_GET_TOPIC_LIST:"relayGetTopicList",GET_TOPIC_LAST_SEQUENCE:"getTopicLastSequence",GET_DEVICE_TOKEN:"getDeviceToken",OFFLINE_PUSH_SET_TOKEN:"offlinePushSetToken",MP_HIDE_TO_SHOW:"mpHideToShow",CALLBACK_FUNCTION_ERROR:"callbackFunctionError",FETCH_CLOUD_CONTROL_CONFIG:"fetchCloudControlConfig",PUSHED_CLOUD_CONTROL_CONFIG:"pushedCloudControlConfig",FETCH_COMMERCIAL_CONFIG:"fetchCommercialConfig",PUSHED_COMMERCIAL_CONFIG:"pushedCommercialConfig",ERROR:"error",LAST_MESSAGE_NOT_EXIST:"lastMessageNotExist"},qr=function(){function e(t){a(this,e),this.type=C.MSG_TEXT,this.content={text:t.text||""}}return i(e,[{key:"setText",value:function(e){this.content.text=e}},{key:"sendable",value:function(){return 0!==this.content.text.length}}]),e}(),Br=function(){function e(t){a(this,e),this._imageMemoryURL="",oe?this.createImageDataASURLInWXMiniApp(t.file):this.createImageDataASURLInWeb(t.file),this._initImageInfoModel(),this.type=C.MSG_IMAGE,this._percent=0,this.content={imageFormat:t.imageFormat||Ue.UNKNOWN,uuid:t.uuid,imageInfoArray:[]},this.initImageInfoArray(t.imageInfoArray),this._defaultImage="http://imgcache.qq.com/open/qcloud/video/act/webim-images/default.jpg",this._autoFixUrl()}return i(e,[{key:"_initImageInfoModel",value:function(){var e=this;this._ImageInfoModel=function(t){this.instanceID=_t(9999999),this.sizeType=t.type||0,this.type=0,this.size=t.size||0,this.width=t.width||0,this.height=t.height||0,this.imageUrl=t.url||"",this.url=t.url||e._imageMemoryURL||e._defaultImage},this._ImageInfoModel.prototype={setSizeType:function(e){this.sizeType=e},setType:function(e){this.type=e},setImageUrl:function(e){e&&(this.imageUrl=e)},getImageUrl:function(){return this.imageUrl}}}},{key:"initImageInfoArray",value:function(e){for(var t=0,n=null,o=null;t<=2;)o=et(e)||et(e[t])?{type:0,size:0,width:0,height:0,url:""}:e[t],(n=new this._ImageInfoModel(o)).setSizeType(t+1),n.setType(t),this.addImageInfo(n),t++;this.updateAccessSideImageInfoArray()}},{key:"updateImageInfoArray",value:function(e){for(var t,n=this.content.imageInfoArray.length,o=0;o<n;o++)t=this.content.imageInfoArray[o],e[o].size&&(t.size=e[o].size),e[o].url&&t.setImageUrl(e[o].url),e[o].width&&(t.width=e[o].width),e[o].height&&(t.height=e[o].height)}},{key:"_autoFixUrl",value:function(){for(var e=this.content.imageInfoArray.length,t="",n="",o=["http","https"],r=null,a=0;a<e;a++)this.content.imageInfoArray[a].url&&""!==(r=this.content.imageInfoArray[a]).imageUrl&&(n=r.imageUrl.slice(0,r.imageUrl.indexOf("://")+1),t=r.imageUrl.slice(r.imageUrl.indexOf("://")+1),o.indexOf(n)<0&&(n="https:"),this.content.imageInfoArray[a].setImageUrl([n,t].join("")))}},{key:"updatePercent",value:function(e){this._percent=e,this._percent>1&&(this._percent=1)}},{key:"updateImageFormat",value:function(e){this.content.imageFormat=Ue[e.toUpperCase()]||Ue.UNKNOWN}},{key:"createImageDataASURLInWeb",value:function(e){void 0!==e&&e.files.length>0&&(this._imageMemoryURL=window.URL.createObjectURL(e.files[0]))}},{key:"createImageDataASURLInWXMiniApp",value:function(e){e&&e.url&&(this._imageMemoryURL=e.url)}},{key:"replaceImageInfo",value:function(e,t){this.content.imageInfoArray[t]instanceof this._ImageInfoModel||(this.content.imageInfoArray[t]=e)}},{key:"addImageInfo",value:function(e){this.content.imageInfoArray.length>=3||this.content.imageInfoArray.push(e)}},{key:"updateAccessSideImageInfoArray",value:function(){var e=this.content.imageInfoArray,t=e[0],n=t.width,o=void 0===n?0:n,r=t.height,a=void 0===r?0:r;0!==o&&0!==a&&(Nt(e),Object.assign(e[2],wt({originWidth:o,originHeight:a,min:720})))}},{key:"sendable",value:function(){return 0!==this.content.imageInfoArray.length&&""!==this.content.imageInfoArray[0].imageUrl&&0!==this.content.imageInfoArray[0].size}}]),e}(),Vr=function(){function e(t){a(this,e),this.type=C.MSG_FACE,this.content=t||null}return i(e,[{key:"sendable",value:function(){return null!==this.content}}]),e}(),Wr=function(){function e(t){a(this,e),this.type=C.MSG_AUDIO,this._percent=0,this.content={downloadFlag:2,second:t.second,size:t.size,url:t.url,remoteAudioUrl:t.url||"",uuid:t.uuid}}return i(e,[{key:"updatePercent",value:function(e){this._percent=e,this._percent>1&&(this._percent=1)}},{key:"updateAudioUrl",value:function(e){this.content.remoteAudioUrl=e}},{key:"sendable",value:function(){return""!==this.content.remoteAudioUrl}}]),e}(),Kr={from:!0,groupID:!0,groupName:!0,to:!0},$r=function(){function e(t){a(this,e),this.type=C.MSG_GRP_TIP,this.content={},this._initContent(t)}return i(e,[{key:"_initContent",value:function(e){var t=this;Object.keys(e).forEach((function(n){switch(n){case"remarkInfo":break;case"groupProfile":t.content.groupProfile={},t._initGroupProfile(e[n]);break;case"operatorInfo":break;case"memberInfoList":case"msgMemberInfo":t._updateMemberList(e[n]);break;case"memberExtraInfo":case"onlineMemberInfo":break;case"memberNum":t.content[n]=e[n],t.content.memberCount=e[n];break;case"newGroupProfile":t.content.newGroupProfile={},t._initNewGroupProfile(e[n]);break;default:t.content[n]=e[n]}})),this.content.userIDList||(this.content.userIDList=[this.content.operatorID])}},{key:"_initGroupProfile",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var o=t[n];Kr[o]&&(this.content.groupProfile[o]=e[o])}}},{key:"_updateMemberList",value:function(e){qt(this.content.memberList)?this.content.memberList=e:this.content.memberList.forEach((function(t){e.forEach((function(e){t.userID===e.userID&&Object.assign(t,e)}))}))}},{key:"_initNewGroupProfile",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var o=t[n];this.content.newGroupProfile[o]="muteAllMembers"!==o?e[o]:1===e[o]}}}]),e}(),zr={from:!0,groupID:!0,groupName:!0,to:!0},Jr=function(){function e(t){a(this,e),this.type=C.MSG_GRP_SYS_NOTICE,this.content={},this._initContent(t)}return i(e,[{key:"_initContent",value:function(e){var t=this;Object.keys(e).forEach((function(n){switch(n){case"memberInfoList":break;case"remarkInfo":t.content.handleMessage=e[n];break;case"groupProfile":t.content.groupProfile={},t._initGroupProfile(e[n]);break;default:t.content[n]=e[n]}}))}},{key:"_initGroupProfile",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var o=t[n];zr[o]&&("groupName"===o?this.content.groupProfile.name=e[o]:this.content.groupProfile[o]=e[o])}}}]),e}(),Xr=function(){function e(t){a(this,e),this.type=C.MSG_FILE,this._percent=0;var n=this._getFileInfo(t);this.content={downloadFlag:2,fileUrl:t.url||"",uuid:t.uuid,fileName:n.name||"",fileSize:n.size||0}}return i(e,[{key:"_getFileInfo",value:function(e){if(!et(e.fileName)&&!et(e.fileSize))return{size:e.fileSize,name:e.fileName};var t=e.file.files[0];if(te){if(t.path&&-1!==t.path.indexOf(".")){var n=t.path.slice(t.path.lastIndexOf(".")+1).toLowerCase();t.type=n,t.name||(t.name="".concat(_t(999999),".").concat(n))}t.name||(t.type="",t.name=t.path.slice(t.path.lastIndexOf("/")+1).toLowerCase()),t.suffix&&(t.type=t.suffix),t.url||(t.url=t.path)}return{size:t.size,name:t.name}}},{key:"updatePercent",value:function(e){this._percent=e,this._percent>1&&(this._percent=1)}},{key:"updateFileUrl",value:function(e){this.content.fileUrl=e}},{key:"sendable",value:function(){return""!==this.content.fileUrl&&""!==this.content.fileName&&0!==this.content.fileSize}}]),e}(),Zr=function(){function e(t){a(this,e),this.type=C.MSG_CUSTOM,this.content={data:t.data||"",description:t.description||"",extension:t.extension||""}}return i(e,[{key:"setData",value:function(e){return this.content.data=e,this}},{key:"setDescription",value:function(e){return this.content.description=e,this}},{key:"setExtension",value:function(e){return this.content.extension=e,this}},{key:"sendable",value:function(){return 0!==this.content.data.length||0!==this.content.description.length||0!==this.content.extension.length}}]),e}(),Qr=function(){function e(t){a(this,e),this.type=C.MSG_VIDEO,this._percent=0,this.content={remoteVideoUrl:t.remoteVideoUrl||t.videoUrl||"",videoFormat:t.videoFormat,videoSecond:parseInt(t.videoSecond,10),videoSize:t.videoSize,videoUrl:t.videoUrl,videoDownloadFlag:2,videoUUID:t.videoUUID,thumbUUID:t.thumbUUID,thumbFormat:t.thumbFormat,thumbWidth:t.thumbWidth,snapshotWidth:t.thumbWidth,thumbHeight:t.thumbHeight,snapshotHeight:t.thumbHeight,thumbSize:t.thumbSize,snapshotSize:t.thumbSize,thumbDownloadFlag:2,thumbUrl:t.thumbUrl,snapshotUrl:t.thumbUrl}}return i(e,[{key:"updatePercent",value:function(e){this._percent=e,this._percent>1&&(this._percent=1)}},{key:"updateVideoUrl",value:function(e){e&&(this.content.remoteVideoUrl=e)}},{key:"updateSnapshotInfo",value:function(e){var t=e.snapshotUrl,n=e.snapshotWidth,o=e.snapshotHeight;qt(t)||(this.content.thumbUrl=this.content.snapshotUrl=t),qt(n)||(this.content.thumbWidth=this.content.snapshotWidth=Number(n)),qt(o)||(this.content.thumbHeight=this.content.snapshotHeight=Number(o))}},{key:"sendable",value:function(){return""!==this.content.remoteVideoUrl}}]),e}(),ea=function(){function e(t){a(this,e),this.type=C.MSG_LOCATION;var n=t.description,o=t.longitude,r=t.latitude;this.content={description:n,longitude:o,latitude:r}}return i(e,[{key:"sendable",value:function(){return!0}}]),e}(),ta=function(){function e(t){if(a(this,e),this.from=t.from,this.messageSender=t.from,this.time=t.time,this.messageSequence=t.sequence,this.clientSequence=t.clientSequence||t.sequence,this.messageRandom=t.random,this.cloudCustomData=t.cloudCustomData||"",this.clientTime=t.clientTime||void 0,t.ID)this.ID=t.ID||"",this.nick=t.nick||"",this.avatar=t.avatar||"",this.messageBody=[{type:t.type,payload:t.payload}],t.conversationType.startsWith(C.CONV_C2C)?this.receiverUserID=t.to:t.conversationType.startsWith(C.CONV_GROUP)&&(this.receiverGroupID=t.to),this.messageReceiver=t.to;else{this.nick=t.nick||"",this.avatar=t.avatar||"",this.messageBody=[];var n=t.elements[0].type,o=t.elements[0].content;this._patchRichMediaPayload(n,o),n===C.MSG_MERGER?this.messageBody.push({type:n,payload:new na(o).content}):this.messageBody.push({type:n,payload:o}),t.groupID&&(this.receiverGroupID=t.groupID,this.messageReceiver=t.groupID),t.to&&(this.receiverUserID=t.to,this.messageReceiver=t.to),this.ID="".concat(t.tinyID,"-").concat(t.clientTime,"-").concat(t.random)}}return i(e,[{key:"_patchRichMediaPayload",value:function(e,t){e===C.MSG_IMAGE?t.imageInfoArray.forEach((function(e){!e.imageUrl&&e.url&&(e.imageUrl=e.url,e.sizeType=e.type,1===e.type?e.type=0:3===e.type&&(e.type=1))})):e===C.MSG_VIDEO?!t.remoteVideoUrl&&t.videoUrl&&(t.remoteVideoUrl=t.videoUrl):e===C.MSG_AUDIO?!t.remoteAudioUrl&&t.url&&(t.remoteAudioUrl=t.url):e===C.MSG_FILE&&!t.fileUrl&&t.url&&(t.fileUrl=t.url,t.url=void 0)}}]),e}(),na=function(){function e(t){if(a(this,e),this.type=C.MSG_MERGER,this.content={downloadKey:"",pbDownloadKey:"",messageList:[],title:"",abstractList:[],compatibleText:"",version:0,layersOverLimit:!1},t.downloadKey){var n=t.downloadKey,o=t.pbDownloadKey,r=t.title,s=t.abstractList,i=t.compatibleText,u=t.version;this.content.downloadKey=n,this.content.pbDownloadKey=o,this.content.title=r,this.content.abstractList=s,this.content.compatibleText=i,this.content.version=u||0}else if(qt(t.messageList))1===t.layersOverLimit&&(this.content.layersOverLimit=!0);else{var c=t.messageList,d=t.title,l=t.abstractList,_=t.compatibleText,p=t.version,h=[];c.forEach((function(e){if(!qt(e)){var t=new ta(e);h.push(t)}})),this.content.messageList=h,this.content.title=d,this.content.abstractList=l,this.content.compatibleText=_,this.content.version=p||0}Ge.debug("MergerElement.content:",this.content)}return i(e,[{key:"sendable",value:function(){return!qt(this.content.messageList)||!qt(this.content.downloadKey)}}]),e}(),oa={1:C.MSG_PRIORITY_HIGH,2:C.MSG_PRIORITY_NORMAL,3:C.MSG_PRIORITY_LOW,4:C.MSG_PRIORITY_LOWEST},ra=function(){function e(t){a(this,e),this.ID="",this.conversationID=t.conversationID||null,this.conversationType=t.conversationType||C.CONV_C2C,this.conversationSubType=t.conversationSubType,this.time=t.time||Math.ceil(Date.now()/1e3),this.sequence=t.sequence||0,this.clientSequence=t.clientSequence||t.sequence||0,this.random=t.random||0===t.random?t.random:_t(),this.priority=this._computePriority(t.priority),this.nick=t.nick||"",this.avatar=t.avatar||"",this.isPeerRead=1===t.isPeerRead||!1,this.nameCard="",this._elements=[],this.isPlaceMessage=t.isPlaceMessage||0,this.isRevoked=2===t.isPlaceMessage||8===t.msgFlagBits,this.from=t.from||null,this.to=t.to||null,this.flow="",this.isSystemMessage=t.isSystemMessage||!1,this.protocol=t.protocol||"JSON",this.isResend=!1,this.isRead=!1,this.status=t.status||Kt.SUCCESS,this._onlineOnlyFlag=!1,this._groupAtInfoList=[],this._relayFlag=!1,this.atUserList=[],this.cloudCustomData=t.cloudCustomData||"",this.isDeleted=!1,this.isModified=!1,this._isExcludedFromUnreadCount=!(!t.messageControlInfo||1!==t.messageControlInfo.excludedFromUnreadCount),this._isExcludedFromLastMessage=!(!t.messageControlInfo||1!==t.messageControlInfo.excludedFromLastMessage),this.clientTime=t.clientTime||Ne()||0,this.senderTinyID=t.senderTinyID||t.tinyID||"",this.readReceiptInfo=t.readReceiptInfo||{readCount:void 0,unreadCount:void 0},this.needReadReceipt=!0===t.needReadReceipt||1===t.needReadReceipt,this.version=t.messageVersion||0,this.isBroadcastMessage=t.isBroadcastMessage||!1,this.reInitialize(t.currentUser),this.extractGroupInfo(t.groupProfile||null),this.handleGroupAtInfo(t)}return i(e,[{key:"elements",get:function(){return Ge.warn("!!!Message 实例的 elements 属性即将废弃,请尽快修改。使用 type 和 payload 属性处理单条消息,兼容组合消息使用 _elements 属性!!!"),this._elements}},{key:"getElements",value:function(){return this._elements}},{key:"extractGroupInfo",value:function(e){if(null!==e){Je(e.nick)&&(this.nick=e.nick),Je(e.avatar)&&(this.avatar=e.avatar);var t=e.messageFromAccountExtraInformation;Ze(t)&&Je(t.nameCard)&&(this.nameCard=t.nameCard)}}},{key:"handleGroupAtInfo",value:function(e){var t=this;e.payload&&e.payload.atUserList&&e.payload.atUserList.forEach((function(e){e!==C.MSG_AT_ALL?(t._groupAtInfoList.push({groupAtAllFlag:0,groupAtUserID:e}),t.atUserList.push(e)):(t._groupAtInfoList.push({groupAtAllFlag:1}),t.atUserList.push(C.MSG_AT_ALL))})),Qe(e.groupAtInfo)&&e.groupAtInfo.forEach((function(e){0===e.groupAtAllFlag?t.atUserList.push(e.groupAtUserID):1===e.groupAtAllFlag&&t.atUserList.push(C.MSG_AT_ALL)}))}},{key:"getGroupAtInfoList",value:function(){return this._groupAtInfoList}},{key:"_initProxy",value:function(){this._elements[0]&&(this.payload=this._elements[0].content,this.type=this._elements[0].type)}},{key:"reInitialize",value:function(e){e&&(this.status=this.from?Kt.SUCCESS:Kt.UNSEND,!this.from&&(this.from=e)),this._initFlow(e),this._initSequence(e),this._concatConversationID(e),this.generateMessageID()}},{key:"isSendable",value:function(){return 0!==this._elements.length&&("function"!=typeof this._elements[0].sendable?(Ge.warn("".concat(this._elements[0].type,' need "boolean : sendable()" method')),!1):this._elements[0].sendable())}},{key:"_initTo",value:function(e){this.conversationType===C.CONV_GROUP&&(this.to=e.groupID)}},{key:"_initSequence",value:function(e){0===this.clientSequence&&e&&(this.clientSequence=function(e){if(!e)return Ge.error("autoIncrementIndex(string: key) need key parameter"),!1;if(void 0===ft[e]){var t=new Date,n="3".concat(t.getHours()).slice(-2),o="0".concat(t.getMinutes()).slice(-2),r="0".concat(t.getSeconds()).slice(-2);ft[e]=parseInt([n,o,r,"0001"].join("")),n=null,o=null,r=null,Ge.log("autoIncrementIndex start index:".concat(ft[e]))}return ft[e]++}(e)),0===this.sequence&&this.conversationType===C.CONV_C2C&&(this.sequence=this.clientSequence)}},{key:"generateMessageID",value:function(){this.from===C.CONV_SYSTEM&&(this.senderTinyID="144115198244471703"),this.ID="".concat(this.senderTinyID,"-").concat(this.clientTime,"-").concat(this.random)}},{key:"_initFlow",value:function(e){""!==e&&(e===this.from?(this.flow="out",this.isRead=!0):this.flow="in")}},{key:"_concatConversationID",value:function(e){var t=this.to,n="",o=this.conversationType;o!==C.CONV_SYSTEM?(n=o===C.CONV_C2C?e===this.from?t:this.from:this.to,this.conversationID="".concat(o).concat(n)):this.conversationID=C.CONV_SYSTEM}},{key:"isElement",value:function(e){return e instanceof qr||e instanceof Br||e instanceof Vr||e instanceof Wr||e instanceof Xr||e instanceof Qr||e instanceof $r||e instanceof Jr||e instanceof Zr||e instanceof ea||e instanceof na}},{key:"setElement",value:function(e){var t=this;if(this.isElement(e))return this._elements=[e],void this._initProxy();var n=function(e){if(e.type&&e.content)switch(e.type){case C.MSG_TEXT:t.setTextElement(e.content);break;case C.MSG_IMAGE:t.setImageElement(e.content);break;case C.MSG_AUDIO:t.setAudioElement(e.content);break;case C.MSG_FILE:t.setFileElement(e.content);break;case C.MSG_VIDEO:t.setVideoElement(e.content);break;case C.MSG_CUSTOM:t.setCustomElement(e.content);break;case C.MSG_LOCATION:t.setLocationElement(e.content);break;case C.MSG_GRP_TIP:t.setGroupTipElement(e.content);break;case C.MSG_GRP_SYS_NOTICE:t.setGroupSystemNoticeElement(e.content);break;case C.MSG_FACE:t.setFaceElement(e.content);break;case C.MSG_MERGER:t.setMergerElement(e.content);break;default:Ge.warn(e.type,e.content,"no operation......")}};if(Qe(e))for(var o=0;o<e.length;o++)n(e[o]);else n(e);this._initProxy()}},{key:"clearElement",value:function(){this._elements.length=0}},{key:"setTextElement",value:function(e){var t="string"==typeof e?e:e.text,n=new qr({text:t});this._elements.push(n)}},{key:"setImageElement",value:function(e){var t=new Br(e);this._elements.push(t)}},{key:"setAudioElement",value:function(e){var t=new Wr(e);this._elements.push(t)}},{key:"setFileElement",value:function(e){var t=new Xr(e);this._elements.push(t)}},{key:"setVideoElement",value:function(e){var t=new Qr(e);this._elements.push(t)}},{key:"setLocationElement",value:function(e){var t=new ea(e);this._elements.push(t)}},{key:"setCustomElement",value:function(e){var t=new Zr(e);this._elements.push(t)}},{key:"setGroupTipElement",value:function(e){var t={},n=e.operationType;if(qt(e.memberInfoList)?e.operatorInfo&&(t=e.operatorInfo):n!==C.GRP_TIP_MBR_JOIN&&n!==C.GRP_TIP_MBR_KICKED_OUT&&n!==C.GRP_TIP_MBR_SET_ADMIN&&n!==C.GRP_TIP_MBR_CANCELED_ADMIN||(t=e.memberInfoList[0]),!qt(e.memberExtraInfo)){var o=e.memberExtraInfo.reason;e.msgMemberInfo.forEach((function(e){e.reason=o}))}var r=t,a=r.nick,s=r.avatar;Je(a)&&(this.nick=a),Je(s)&&(this.avatar=s);var i=new $r(e);this._elements.push(i)}},{key:"setGroupSystemNoticeElement",value:function(e){var t=new Jr(e);this._elements.push(t)}},{key:"setFaceElement",value:function(e){var t=new Vr(e);this._elements.push(t)}},{key:"setMergerElement",value:function(e){var t=new na(e);this._elements.push(t)}},{key:"setIsRead",value:function(e){this.isRead=e}},{key:"setRelayFlag",value:function(e){this._relayFlag=e}},{key:"getRelayFlag",value:function(){return this._relayFlag}},{key:"_computePriority",value:function(e){if(et(e))return C.MSG_PRIORITY_NORMAL;if(Je(e)&&-1!==Object.values(oa).indexOf(e))return e;if(ze(e)){var t=""+e;if(-1!==Object.keys(oa).indexOf(t))return oa[t]}return C.MSG_PRIORITY_NORMAL}},{key:"setNickAndAvatar",value:function(e){var t=e.nick,n=e.avatar;Je(t)&&(this.nick=t),Je(n)&&(this.avatar=n)}},{key:"setNameCard",value:function(e){Je(e)&&(this.nameCard=e)}}]),e}(),aa=function(e){return{code:0,data:e||{}}},sa="https://cloud.tencent.com/document/product/",ia="您可以在即时通信 IM 控制台的【开发辅助工具(https://console.cloud.tencent.com/im-detail/tool-usersig)】 页面校验 UserSig。",ua="UserSig 非法,请使用官网提供的 API 重新生成 UserSig(".concat(sa,"269/32688)。"),ca="#.E6.B6.88.E6.81.AF.E5.85.83.E7.B4.A0-timmsgelement",da={70001:"UserSig 已过期,请重新生成。建议 UserSig 有效期设置不小于24小时。",70002:"UserSig 长度为0,请检查传入的 UserSig 是否正确。",70003:ua,70005:ua,70009:"UserSig 验证失败,可能因为生成 UserSig 时混用了其他 SDKAppID 的私钥或密钥导致,请使用对应 SDKAppID 下的私钥或密钥重新生成 UserSig(".concat(sa,"269/32688)。"),70013:"请求中的 UserID 与生成 UserSig 时使用的 UserID 不匹配。".concat(ia),70014:"请求中的 SDKAppID 与生成 UserSig 时使用的 SDKAppID 不匹配。".concat(ia),70016:"密钥不存在,UserSig 验证失败,请在即时通信 IM 控制台获取密钥(".concat(sa,"269/32578#.E8.8E.B7.E5.8F.96.E5.AF.86.E9.92.A5)。"),70020:"SDKAppID 未找到,请在即时通信 IM 控制台确认应用信息。",70050:"UserSig 验证次数过于频繁。请检查 UserSig 是否正确,并于1分钟后重新验证。".concat(ia),70051:"帐号被拉入黑名单。",70052:"UserSig 已经失效,请重新生成,再次尝试。",70107:"因安全原因被限制登录,请不要频繁登录。",70169:"请求的用户帐号不存在。",70114:"".concat("服务端内部超时,请稍后重试。"),70202:"".concat("服务端内部超时,请稍后重试。"),70206:"请求中批量数量不合法。",70402:"参数非法,请检查必填字段是否填充,或者字段的填充是否满足协议要求。",70403:"请求失败,需要 App 管理员权限。",70398:"帐号数超限。如需创建多于100个帐号,请将应用升级为专业版,具体操作指引请参见购买指引(".concat(sa,"269/32458)。"),70500:"".concat("服务端内部错误,请重试。"),71e3:"删除帐号失败。仅支持删除体验版帐号,您当前应用为专业版,暂不支持帐号删除。",20001:"请求包非法。",20002:"UserSig 或 A2 失效。",20003:"消息发送方或接收方 UserID 无效或不存在,请检查 UserID 是否已导入即时通信 IM。",20004:"网络异常,请重试。",20005:"".concat("服务端内部错误,请重试。"),20006:"触发发送".concat("单聊消息","之前回调,App 后台返回禁止下发该消息。"),20007:"发送".concat("单聊消息",",被对方拉黑,禁止发送。消息发送状态默认展示为失败,您可以登录控制台修改该场景下的消息发送状态展示结果,具体操作请参见消息保留设置(").concat(sa,"269/38656)。"),20009:"消息发送双方互相不是好友,禁止发送(配置".concat("单聊消息","校验好友关系才会出现)。"),20010:"发送".concat("单聊消息",",自己不是对方的好友(单向关系),禁止发送。"),20011:"发送".concat("单聊消息",",对方不是自己的好友(单向关系),禁止发送。"),20012:"发送方被禁言,该条消息被禁止发送。",20016:"消息撤回超过了时间限制(默认2分钟)。",20018:"删除漫游内部错误。",90001:"JSON 格式解析失败,请检查请求包是否符合 JSON 规范。",90002:"".concat("JSON 格式请求包体","中 MsgBody 不符合消息格式描述,或者 MsgBody 不是 Array 类型,请参考 TIMMsgElement 对象的定义(").concat(sa,"269/2720").concat(ca,")。"),90003:"".concat("JSON 格式请求包体","中缺少 To_Account 字段或者 To_Account 帐号不存在。"),90005:"".concat("JSON 格式请求包体","中缺少 MsgRandom 字段或者 MsgRandom 字段不是 Integer 类型。"),90006:"".concat("JSON 格式请求包体","中缺少 MsgTimeStamp 字段或者 MsgTimeStamp 字段不是 Integer 类型。"),90007:"".concat("JSON 格式请求包体","中 MsgBody 类型不是 Array 类型,请将其修改为 Array 类型。"),90008:"".concat("JSON 格式请求包体","中缺少 From_Account 字段或者 From_Account 帐号不存在。"),90009:"请求需要 App 管理员权限。",90010:"".concat("JSON 格式请求包体","不符合消息格式描述,请参考 TIMMsgElement 对象的定义(").concat(sa,"269/2720").concat(ca,")。"),90011:"批量发消息目标帐号超过500,请减少 To_Account 中目标帐号数量。",90012:"To_Account 没有注册或不存在,请确认 To_Account 是否导入即时通信 IM 或者是否拼写错误。",90026:"消息离线存储时间错误(最多不能超过7天)。",90031:"".concat("JSON 格式请求包体","中 SyncOtherMachine 字段不是 Integer 类型。"),90044:"".concat("JSON 格式请求包体","中 MsgLifeTime 字段不是 Integer 类型。"),90048:"请求的用户帐号不存在。",90054:"撤回请求中的 MsgKey 不合法。",90994:"".concat("服务端内部错误,请重试。"),90995:"".concat("服务端内部错误,请重试。"),91e3:"".concat("服务端内部错误,请重试。"),90992:"".concat("服务端内部错误,请重试。","如果所有请求都返回该错误码,且 App 配置了第三方回调,请检查 App 服务端是否正常向即时通信 IM 后台服务端返回回调结果。"),93e3:"JSON 数据包超长,消息包体请不要超过8k。",91101:"Web 端长轮询被踢(Web 端同时在线实例个数超出限制)。",10002:"".concat("服务端内部错误,请重试。"),10003:"请求中的接口名称错误,请核对接口名称并重试。",10004:"参数非法,请根据错误描述检查请求是否正确。",10005:"请求包体中携带的帐号数量过多。",10006:"操作频率限制,请尝试降低调用的频率。",10007:"操作权限不足,例如 Work ".concat("群组","中普通成员尝试执行踢人操作,但只有 App 管理员才有权限。"),10008:"请求非法,可能是请求中携带的签名信息验证不正确,请再次尝试。",10009:"该群不允许群主主动退出。",10010:"".concat("群组","不存在,或者曾经存在过,但是目前已经被解散。"),10011:"解析 JSON 包体失败,请检查包体的格式是否符合 JSON 格式。",10012:"发起操作的 UserID 非法,请检查发起操作的用户 UserID 是否填写正确。",10013:"被邀请加入的用户已经是群成员。",10014:"群已满员,无法将请求中的用户加入".concat("群组",",如果是批量加人,可以尝试减少加入用户的数量。"),10015:"找不到指定 ID 的".concat("群组","。"),10016:"App 后台通过第三方回调拒绝本次操作。",10017:"因被禁言而不能发送消息,请检查发送者是否被设置禁言。",10018:"应答包长度超过最大包长(1MB),请求的内容过多,请尝试减少单次请求的数据量。",10019:"请求的用户帐号不存在。",10021:"".concat("群组"," ID 已被使用,请选择其他的").concat("群组"," ID。"),10023:"发消息的频率超限,请延长两次发消息时间的间隔。",10024:"此邀请或者申请请求已经被处理。",10025:"".concat("群组"," ID 已被使用,并且操作者为群主,可以直接使用。"),10026:"该 SDKAppID 请求的命令字已被禁用。",10030:"请求撤回的消息不存在。",10031:"消息撤回超过了时间限制(默认2分钟)。",10032:"请求撤回的消息不支持撤回操作。",10033:"".concat("群组","类型不支持消息撤回操作。"),10034:"该消息类型不支持删除操作。",10035:"直播群和在线成员广播大群不支持删除消息。",10036:"直播群创建数量超过了限制,请参考价格说明(".concat(sa,"269/11673)购买预付费套餐“IM直播群”。"),10037:"单个用户可创建和加入的".concat("群组","数量超过了限制,请参考价格说明(").concat(sa,"269/11673)购买或升级预付费套餐“单人可创建与加入").concat("群组","数”。"),10038:"群成员数量超过限制,请参考价格说明(".concat(sa,"269/11673)购买或升级预付费套餐“扩展群人数上限”。"),10041:"该应用(SDKAppID)已配置不支持群消息撤回。",10050:"群属性 key 不存在",10056:"请在写入群属性前先使用 getGroupAttributes 接口更新本地群属性,避免冲突。",10059:"非旗舰版",10060:"群人数超过已读回执人数上限",10061:"在线消息不支持已读回执",10062:"找不到群消息的已读回执信息",20026:"消息不存在",20029:"该群类型不支持修改消息。",30001:"请求参数错误,请根据错误描述检查请求参数",30002:"SDKAppID 不匹配",30003:"请求的用户帐号不存在",30004:"请求需要 App 管理员权限",30005:"关系链字段中包含敏感词",30006:"".concat("服务端内部错误,请重试。"),30007:"".concat("网络超时,请稍后重试. "),30008:"并发写导致写冲突,建议使用批量方式",30009:"后台禁止该用户发起加好友请求",30010:"自己的好友数已达系统上限",30011:"分组已达系统上限",30012:"未决数已达系统上限",30014:"对方的好友数已达系统上限",30515:"请求添加好友时,对方在自己的黑名单中,不允许加好友",30516:"请求添加好友时,对方的加好友验证方式是不允许任何人添加自己为好友",30525:"请求添加好友时,自己在对方的黑名单中,不允许加好友",30539:"等待对方同意",30540:"添加好友请求被安全策略打击,请勿频繁发起添加好友请求",31704:"与请求删除的帐号之间不存在好友关系",31707:"删除好友请求被安全策略打击,请勿频繁发起删除好友请求",50001:"解包失败",50002:"请求参数错误,请根据错误描述检查请求是否正确",50004:"会话分组不存在",51006:"会话标记每次调整的会话数为空或者超过了100个上限",51007:"GroupID 换 GroupCode 失败,内部错误或 Group 已经解散",51008:"会话分组的总的会话数超过了1000",51009:"删除会话分组时分组不存在",51010:"会话分组数超过了上限(默认20个)",51011:"分组名超过了32个字节"},la=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this)).code=e.code,o.message=da[e.code]||e.message,o.data=e.data||{},o}return i(n)}(h(Error)),_a=null,pa=function(e){_a=e},ha=function(e){return Promise.resolve(aa(e))},ma=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e instanceof la)return t&&null!==_a&&_a.emit(E.ERROR,e),Promise.reject(e);if(e instanceof Error){var n=new la({code:Ir.UNCAUGHT_ERROR,message:e.message});return t&&null!==_a&&_a.emit(E.ERROR,n),Promise.reject(n)}if(et(e)||et(e.code)||et(e.message))Ge.error("IMPromise.reject 必须指定code(错误码)和message(错误信息)!!!");else{if(ze(e.code)&&Je(e.message)){var o=new la(e);return t&&null!==_a&&_a.emit(E.ERROR,o),Promise.reject(o)}Ge.error("IMPromise.reject code(错误码)必须为数字,message(错误信息)必须为字符串!!!")}},fa=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="C2CModule",o._messageFromUnreadDBMap=new Map,o}return i(n,[{key:"onNewC2CMessage",value:function(e){var t=e.dataList,n=e.isInstantMessage,o=e.C2CRemainingUnreadList,r=e.C2CPairUnreadList;Ge.debug("".concat(this._className,".onNewC2CMessage count:").concat(t.length," isInstantMessage:").concat(n));var a=this._newC2CMessageStoredAndSummary({dataList:t,C2CRemainingUnreadList:o,C2CPairUnreadList:r,isInstantMessage:n}),s=a.conversationOptionsList,i=a.messageList,u=a.isUnreadC2CMessage;this.filterModifiedMessage(i),s.length>0&&this.getModule(pn).onNewMessage({conversationOptionsList:s,isInstantMessage:n,isUnreadC2CMessage:u});var c=this.filterUnmodifiedMessage(i);n&&c.length>0&&this.emitOuterEvent(E.MESSAGE_RECEIVED,c),i.length=0}},{key:"_newC2CMessageStoredAndSummary",value:function(e){for(var t=e.dataList,n=e.C2CRemainingUnreadList,o=e.C2CPairUnreadList,r=e.isInstantMessage,a=null,s=[],i=[],u={},c=this.getModule(Mn),d=this.getModule(Cn),l=!1,_=this.getModule(pn),p=0,h=t.length;p<h;p++){var m=t[p];m.currentUser=this.getMyUserID(),m.conversationType=C.CONV_C2C,m.isSystemMessage=!!m.isSystemMessage,(et(m.nick)||et(m.avatar))&&(l=!0,Ge.debug("".concat(this._className,"._newC2CMessageStoredAndSummary nick or avatar missing!"))),a=new ra(m),m.elements=c.parseElements(m.elements,m.from),a.setElement(m.elements),a.setNickAndAvatar({nick:m.nick,avatar:m.avatar});var f=a.conversationID;if(r){if(1===this._messageFromUnreadDBMap.get(a.ID))continue;var g=!1;if(a.from!==this.getMyUserID()){var M=_.getLatestMessageSentByPeer(f);if(M){var y=M.nick,v=M.avatar;l?a.setNickAndAvatar({nick:y,avatar:v}):y===a.nick&&v===a.avatar||(g=!0)}}else{var L=_.getLatestMessageSentByMe(f);if(L){var T=L.nick,D=L.avatar;T===a.nick&&D===a.avatar||_.modifyMessageSentByMe({conversationID:f,latestNick:a.nick,latestAvatar:a.avatar})}}var k=1===t[p].isModified;if(_.isMessageSentByCurrentInstance(a)?a.isModified=k:k=!1,0===m.msgLifeTime)a._onlineOnlyFlag=!0,_.isMessageSentByCurrentInstance(a)||i.push(a);else{if(!_.pushIntoMessageList(i,a,k))continue;g&&(_.modifyMessageSentByPeer({conversationID:f,latestNick:a.nick,latestAvatar:a.avatar}),_.updateUserProfileSpecifiedKey({conversationID:f,nick:a.nick,avatar:a.avatar}))}r&&a.clientTime>0&&d.addMessageDelay(a.clientTime)}else this._messageFromUnreadDBMap.set(a.ID,1);if(0!==m.msgLifeTime){if(!1===a._onlineOnlyFlag){var I=_.getLastMessageTime(f);if(ze(I)&&a.time<I)continue;if(et(u[f])){var S=0;"in"===a.flow&&(a._isExcludedFromUnreadCount||(S=1)),u[f]=s.push({conversationID:f,unreadCount:S,type:a.conversationType,subType:a.conversationSubType,lastMessage:a._isExcludedFromLastMessage?"":a})-1}else{var E=u[f];s[E].type=a.conversationType,s[E].subType=a.conversationSubType,s[E].lastMessage=a._isExcludedFromLastMessage?"":a,"in"===a.flow&&(a._isExcludedFromUnreadCount||s[E].unreadCount++)}}}else a._onlineOnlyFlag=!0}var A=!1;if(Qe(o))for(var O=function(e,t){if(o[e].unreadCount>0){A=!0;var n=s.find((function(t){return t.conversationID==="C2C".concat(o[e].from)}));n?n.unreadCount=o[e].unreadCount:s.push({conversationID:"C2C".concat(o[e].from),unreadCount:o[e].unreadCount,type:C.CONV_C2C})}},b=0,w=o.length;b<w;b++)O(b);if(Qe(n))for(var N=function(e,t){s.find((function(t){return t.conversationID==="C2C".concat(n[e].from)}))||s.push({conversationID:"C2C".concat(n[e].from),type:C.CONV_C2C,lastMsgTime:n[e].lastMsgTime})},R=0,P=n.length;R<P;R++)N(R);return{conversationOptionsList:s,messageList:i,isUnreadC2CMessage:A}}},{key:"onC2CMessageRevoked",value:function(e){var t=this;Ge.debug("".concat(this._className,".onC2CMessageRevoked count:").concat(e.dataList.length));var n=this.getModule(pn),o=[],r=null;e.dataList.forEach((function(e){if(e.c2cMessageRevokedNotify){var a=e.c2cMessageRevokedNotify.revokedInfos;et(a)||a.forEach((function(e){var a=t.getMyUserID()===e.from?"".concat(C.CONV_C2C).concat(e.to):"".concat(C.CONV_C2C).concat(e.from);(r=n.revoke(a,e.sequence,e.random))&&o.push(r)}))}})),0!==o.length&&(n.onMessageRevoked(o),this.emitOuterEvent(E.MESSAGE_REVOKED,o))}},{key:"onC2CMessageReadReceipt",value:function(e){var t=this;e.dataList.forEach((function(e){if(!qt(e.c2cMessageReadReceipt)){var n=e.c2cMessageReadReceipt.to;e.c2cMessageReadReceipt.uinPairReadArray.forEach((function(e){var o=e.peerReadTime;Ge.debug("".concat(t._className,"._onC2CMessageReadReceipt to:").concat(n," peerReadTime:").concat(o));var r="".concat(C.CONV_C2C).concat(n),a=t.getModule(pn);a.recordPeerReadTime(r,o),a.updateMessageIsPeerReadProperty(r,o)}))}}))}},{key:"onC2CMessageReadNotice",value:function(e){var t=this;e.dataList.forEach((function(e){if(!qt(e.c2cMessageReadNotice)){var n=t.getModule(pn);e.c2cMessageReadNotice.uinPairReadArray.forEach((function(e){var o=e.from,r=e.peerReadTime;Ge.debug("".concat(t._className,".onC2CMessageReadNotice from:").concat(o," lastReadTime:").concat(r));var a="".concat(C.CONV_C2C).concat(o);n.updateIsReadAfterReadReport({conversationID:a,lastMessageTime:r}),n.updateUnreadCount(a)}))}}))}},{key:"onC2CMessageModified",value:function(e){Ge.debug("".concat(this._className,".onC2CMessageModified options:"),JSON.stringify(e));var t=this.getModule(pn);e.dataList.forEach((function(e){t.onMessageModified(o(o({},e),{},{conversationType:C.CONV_C2C}))}))}},{key:"onReadReceiptList",value:function(e){Ge.debug("".concat(this._className,".onReadReceiptList options:"),JSON.stringify(e));var t=e.dataList,n=t.userID,o=t.readReceiptList;this.getModule(pn).updateReadReceiptInfo({userID:n,readReceiptList:o})}},{key:"sendMessage",value:function(e,t){var n=this._createC2CMessagePack(e,t);return this.request(n)}},{key:"_createC2CMessagePack",value:function(e,t){var n=null;t&&(t.offlinePushInfo&&(n=t.offlinePushInfo),!0===t.onlineUserOnly&&(n?n.disablePush=!0:n={disablePush:!0}));var o="";Je(e.cloudCustomData)&&e.cloudCustomData.length>0&&(o=e.cloudCustomData);var r=[];if(Ze(t)&&Ze(t.messageControlInfo)){var a=t.messageControlInfo,s=a.excludedFromUnreadCount,i=a.excludedFromLastMessage;!0===s&&r.push("NoUnread"),!0===i&&r.push("NoLastMsg")}return{protocolName:Un,tjgID:this.generateTjgID(e),requestData:{fromAccount:this.getMyUserID(),toAccount:e.to,msgBody:e.getElements(),cloudCustomData:o,msgSeq:e.sequence,msgRandom:e.random,msgLifeTime:this.isOnlineMessage(e,t)?0:void 0,nick:e.nick,avatar:e.avatar,offlinePushInfo:n?{pushFlag:!0===n.disablePush?1:0,title:n.title||"",desc:n.description||"",ext:n.extension||"",apnsInfo:{badgeMode:!0===n.ignoreIOSBadge?1:0},androidInfo:{OPPOChannelID:n.androidOPPOChannelID||""}}:void 0,messageControlInfo:r,clientTime:e.clientTime,needReadReceipt:!0===e.needReadReceipt?1:0}}}},{key:"isOnlineMessage",value:function(e,t){return!(!t||!0!==t.onlineUserOnly)}},{key:"revokeMessage",value:function(e){return this.request({protocolName:Vn,requestData:{msgInfo:{fromAccount:e.from,toAccount:e.to,msgSeq:e.sequence,msgRandom:e.random,msgTimeStamp:e.time}}})}},{key:"deleteMessage",value:function(e){var t=e.to,n=e.keyList;return Ge.log("".concat(this._className,".deleteMessage toAccount:").concat(t," count:").concat(n.length)),this.request({protocolName:Xn,requestData:{fromAccount:this.getMyUserID(),to:t,keyList:n}})}},{key:"modifyRemoteMessage",value:function(e){var t=e.from,n=e.to,o=e.version,r=void 0===o?0:o,a=e.sequence,s=e.random,i=e.time,u=e.payload,c=e.type,d=e.cloudCustomData,l=void 0;return xt(c)&&(l=[]).push({type:c,content:u}),this.request({protocolName:Zn,requestData:{from:t,to:n,version:r,sequence:a,random:s,time:i,elements:l,cloudCustomData:d}})}},{key:"setMessageRead",value:function(e){var t=this,n=e.conversationID,o=e.lastMessageTime,r="".concat(this._className,".setMessageRead");Ge.log("".concat(r," conversationID:").concat(n," lastMessageTime:").concat(o)),ze(o)||Ge.warn("".concat(r," 请勿修改 Conversation.lastMessage.lastTime,否则可能会导致已读上报结果不准确"));var a=new Hr(jr.SET_C2C_MESSAGE_READ);return a.setMessage("conversationID:".concat(n," lastMessageTime:").concat(o)),this.request({protocolName:Wn,requestData:{C2CMsgReaded:{cookie:"",C2CMsgReadedItem:[{toAccount:n.replace("C2C",""),lastMessageTime:o,receipt:1}]}}}).then((function(){a.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(r," ok"));var e=t.getModule(pn);return e.updateIsReadAfterReadReport({conversationID:n,lastMessageTime:o}),e.updateUnreadCount(n),aa()})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.log("".concat(r," failed. error:"),e),ma(e)}))}},{key:"getRoamingMessage",value:function(e){var t=this,n="".concat(this._className,".getRoamingMessage"),o=e.peerAccount,r=e.conversationID,a=e.count,s=e.lastMessageTime,i=e.messageKey,u="peerAccount:".concat(o," count:").concat(a||15," lastMessageTime:").concat(s||0," messageKey:").concat(i);Ge.log("".concat(n," ").concat(u));var c=new Hr(jr.GET_C2C_ROAMING_MESSAGES);return this.request({protocolName:zn,requestData:{peerAccount:o,count:a||15,lastMessageTime:s||0,messageKey:i}}).then((function(e){var o=e.data,a=o.complete,s=o.messageList,i=o.messageKey,d=o.lastMessageTime;et(s)?Ge.log("".concat(n," ok. complete:").concat(a," but messageList is undefined!")):Ge.log("".concat(n," ok. complete:").concat(a," count:").concat(s.length)),c.setNetworkType(t.getNetworkType()).setMessage("".concat(u," complete:").concat(a," length:").concat(s.length)).end();var l=t.getModule(pn);1===a&&l.setCompleted(r);var _=l.onRoamingMessage(s,r);l.modifyMessageList(r),l.updateIsRead(r),l.updateRoamingMessageKeyAndTime(r,i,d);var p=l.getPeerReadTime(r);if(Ge.log("".concat(n," update isPeerRead property. conversationID:").concat(r," peerReadTime:").concat(p)),p)l.updateMessageIsPeerReadProperty(r,p);else{var h=r.replace(C.CONV_C2C,"");t.getRemotePeerReadTime([h]).then((function(){l.updateMessageIsPeerReadProperty(r,l.getPeerReadTime(r))}))}var m="";if(_.length>0)m=_[0].ID;else{var f=l.getLocalOldestMessage(r);f&&(m=f.ID)}return Ge.log("".concat(n," nextReqID:").concat(m," stored message count:").concat(_.length)),{nextReqID:m,storedMessageList:_}})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];c.setMessage(u).setError(e,o,r).end()})),Ge.warn("".concat(n," failed. error:"),e),ma(e)}))}},{key:"getRoamingMessagesHopping",value:function(e){var t=this,n="".concat(this._className,".getRoamingMessagesHopping"),o=e.peerAccount,r=e.time,a=void 0===r?0:r,s=e.count,i=e.direction,u="".concat(C.CONV_C2C).concat(o),c="peerAccount:".concat(o," count:").concat(s," time:").concat(a," direction:").concat(i);Ge.log("".concat(n," ").concat(c));var d=new Hr(jr.GET_C2C_ROAMING_MESSAGES_HOPPING);return this.request({protocolName:zn,requestData:{peerAccount:o,count:s+1,lastMessageTime:a,direction:i}}).then((function(e){var o=e.data,r=o.complete,a=o.messageList,s=void 0===a?[]:a,l=o.lastMessageTime;Ge.log("".concat(n," ok. complete:").concat(r," count:").concat(s.length)),d.setNetworkType(t.getNetworkType()).setMessage("".concat(c," complete:").concat(r," length:").concat(s.length)).end(),1!==r&&(1===i?s.pop():s.shift());var _=t.getModule(pn).onRoamingMessage(s,u,!1);t._modifyMessageList(u,_);var p=t._computeResult({complete:r,lastMessageTime:l,resultList:_});return aa(p)})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];d.setMessage(c).setError(e,o,r).end()})),Ge.warn("".concat(n," failed. error:"),e),ma(e)}))}},{key:"_computeResult",value:function(e){var t=e.complete,n=void 0===t?0:t,o=e.lastMessageTime,r=e.resultList,a={messageList:v(void 0===r?[]:r),isCompleted:!1,nextMessageTime:""};return 1===n?(a.isCompleted=!0,a):(a.nextMessageTime=o,a)}},{key:"_modifyMessageList",value:function(e,t){var n=this.getModule(pn).getLocalConversation(e);if(n)for(var o=n.userProfile.nick,r=n.userProfile.avatar,a=this.getModule(sn).getNickAndAvatarByUserID(this.getMyUserID()),s=a.nick,i=a.avatar,u=t.length-1;u>=0;u--){var c=t[u];"in"===c.flow&&(c.nick!==o&&c.setNickAndAvatar({nick:o}),c.avatar!==r&&c.setNickAndAvatar({avatar:r})),"out"===c.flow&&(c.nick!==s&&c.setNickAndAvatar({nick:s}),c.avatar!==i&&c.setNickAndAvatar({avatar:i}))}}},{key:"getRemotePeerReadTime",value:function(e){var t=this,n="".concat(this._className,".getRemotePeerReadTime");if(qt(e))return Ge.warn("".concat(n," userIDList is empty!")),Promise.resolve();var o=new Hr(jr.GET_PEER_READ_TIME);return Ge.log("".concat(n," userIDList:").concat(e)),this.request({protocolName:Jn,requestData:{userIDList:e}}).then((function(r){var a=r.data.peerReadTimeList;Ge.log("".concat(n," ok. peerReadTimeList:").concat(a));for(var s="",i=t.getModule(pn),u=0;u<e.length;u++)s+="".concat(e[u],"-").concat(a[u]," "),a[u]>0&&i.recordPeerReadTime("C2C".concat(e[u]),a[u]);o.setNetworkType(t.getNetworkType()).setMessage(s).end()})).catch((function(e){t.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.warn("".concat(n," failed. error:"),e)}))}},{key:"sendReadReceipt",value:function(e){var t=this,n=e[0].conversationID.replace(C.CONV_C2C,""),o=new Hr(jr.SEND_C2C_READ_RECEIPT);o.setMessage("peerAccount:".concat(n));var r=this.getMyUserID(),a=e.filter((function(e){return e.from!==r&&!0===e.needReadReceipt})).map((function(e){return{fromAccount:e.from,toAccount:e.to,sequence:e.sequence,random:e.random,time:e.time,clientTime:e.clientTime}}));if(0===a.length)return ma({code:Ir.READ_RECEIPT_MESSAGE_LIST_EMPTY,message:Sr.READ_RECEIPT_MESSAGE_LIST_EMPTY});var s="".concat(this._className,".sendReadReceipt");return Ge.log("".concat(s,". peerAccount:").concat(n," messageInfoList length:").concat(a.length)),this.request({protocolName:bo,requestData:{peerAccount:n,messageInfoList:a}}).then((function(e){return o.end(),Ge.log("".concat(s," ok")),aa()})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.warn("".concat(s," failed. error:"),e),ma(e)}))}},{key:"getReadReceiptList",value:function(e){var t="".concat(this._className,".getReadReceiptList"),n=this.getMyUserID(),o=e.filter((function(e){return e.from===n&&!0===e.needReadReceipt}));return Ge.log("".concat(t," userID:").concat(n," messageList length:").concat(o.length)),ha({messageList:o})}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._messageFromUnreadDBMap.clear()}}]),n}(bn),ga=function(){function e(){a(this,e),this.list=new Map,this._className="MessageListHandler",this._latestMessageSentByPeerMap=new Map,this._latestMessageSentByMeMap=new Map,this._groupLocalLastMessageSequenceMap=new Map}return i(e,[{key:"getLocalOldestMessageByConversationID",value:function(e){if(!e)return null;if(!this.list.has(e))return null;var t=this.list.get(e).values();return t?t.next().value:null}},{key:"pushIn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.conversationID,o=!0;this.list.has(n)||this.list.set(n,new Map);var r=this._getUniqueIDOfMessage(e),a=this.list.get(n).has(r);if(a){var s=this.list.get(n).get(r);if(!t||!0===s.isModified)return!1}return this.list.get(n).set(r,e),this._setLatestMessageSentByPeer(n,e),this._setLatestMessageSentByMe(n,e),this._setGroupLocalLastMessageSequence(n,e),o}},{key:"unshift",value:function(e,t){var n;if(Qe(e)){if(e.length>0){n=e[0].conversationID;var o=e.length;this._unshiftMultipleMessages(e,t),this._setGroupLocalLastMessageSequence(n,e[o-1])}}else n=e.conversationID,this._unshiftSingleMessage(e,t),this._setGroupLocalLastMessageSequence(n,e);if(n&&n.startsWith(C.CONV_C2C)){var r=Array.from(this.list.get(n).values()),a=r.length;if(0===a)return;for(var s=a-1;s>=0;s--)if("out"===r[s].flow){this._setLatestMessageSentByMe(n,r[s]);break}for(var i=a-1;i>=0;i--)if("in"===r[i].flow){this._setLatestMessageSentByPeer(n,r[i]);break}}}},{key:"_unshiftSingleMessage",value:function(e,t){var n=e.conversationID,o=this._getUniqueIDOfMessage(e);if(!this.list.has(n))return this.list.set(n,new Map),this.list.get(n).set(o,e),void t.push(e);var r=this.list.get(n),a=Array.from(r);r.has(o)||(a.unshift([o,e]),this.list.set(n,new Map(a)),t.push(e))}},{key:"_unshiftMultipleMessages",value:function(e,t){for(var n=e.length,o=[],r=e[0].conversationID,a=this.list.get(r),s=this.list.has(r)?Array.from(a):[],i=0;i<n;i++){var u=this._getUniqueIDOfMessage(e[i]);a&&a.has(u)||(o.push([u,e[i]]),t.push(e[i]))}this.list.set(r,new Map(o.concat(s)))}},{key:"remove",value:function(e){var t=e.conversationID,n=this._getUniqueIDOfMessage(e);this.list.has(t)&&this.list.get(t).delete(n)}},{key:"revoke",value:function(e,t,n){if(Ge.debug("revoke message",e,t,n),this.list.has(e)){var o,r=S(this.list.get(e));try{for(r.s();!(o=r.n()).done;){var a=y(o.value,2)[1];if(a.sequence===t&&!a.isRevoked&&(et(n)||a.random===n))return a.isRevoked=!0,a}}catch(u){r.e(u)}finally{r.f()}}return null}},{key:"removeByConversationID",value:function(e){this.list.has(e)&&(this.list.delete(e),this._latestMessageSentByPeerMap.delete(e),this._latestMessageSentByMeMap.delete(e))}},{key:"findMessage",value:function(e){var t,n=null,o=S(this.list);try{for(o.s();!(t=o.n()).done;)for(var r=v(y(t.value,2)[1].values()),a=r.length,s=0;s<a;s++)if(r[s].ID===e){n=r[s];break}}catch(c){o.e(c)}finally{o.f()}return n}},{key:"updateMessageIsPeerReadProperty",value:function(e,t){var n=[];if(this.list.has(e)){var o,r=S(this.list.get(e));try{for(r.s();!(o=r.n()).done;){var a=y(o.value,2)[1];a.time<=t&&!a.isPeerRead&&"out"===a.flow&&(a.isPeerRead=!0,n.push(a))}}catch(u){r.e(u)}finally{r.f()}Ge.log("".concat(this._className,".updateMessageIsPeerReadProperty conversationID:").concat(e," peerReadTime:").concat(t," count:").concat(n.length))}return n}},{key:"updateMessageIsModifiedProperty",value:function(e){var t=e.conversationID;if(this.list.has(t)){var n=this._getUniqueIDOfMessage(e),o=this.list.get(t).get(n);o&&(o.isModified=!0)}}},{key:"hasLocalMessageList",value:function(e){return this.list.has(e)}},{key:"getLocalMessageList",value:function(e){return this.hasLocalMessageList(e)?v(this.list.get(e).values()):[]}},{key:"hasLocalMessage",value:function(e,t){for(var n=!1,o=this.getLocalMessageList(e),r=o.length,a=0;a<r;a++)o[a].ID===t&&(n=!0);return n}},{key:"getLocalMessage",value:function(e,t){for(var n=null,o=this.getLocalMessageList(e),r=o.length,a=0;a<r;a++)if(o[a].ID===t){n=o[a];break}return n}},{key:"getLocalLastMessage",value:function(e){var t=this.getLocalMessageList(e);return t[t.length-1]}},{key:"getLocalOldestMessage",value:function(e){return this.getLocalMessageList(e)[0]}},{key:"_setLatestMessageSentByPeer",value:function(e,t){e.startsWith(C.CONV_C2C)&&"in"===t.flow&&this._latestMessageSentByPeerMap.set(e,t)}},{key:"_setLatestMessageSentByMe",value:function(e,t){e.startsWith(C.CONV_C2C)&&"out"===t.flow&&this._latestMessageSentByMeMap.set(e,t)}},{key:"_setGroupLocalLastMessageSequence",value:function(e,t){e.startsWith(C.CONV_GROUP)&&this._groupLocalLastMessageSequenceMap.set(e,t.sequence)}},{key:"getLatestMessageSentByPeer",value:function(e){return this._latestMessageSentByPeerMap.get(e)}},{key:"getLatestMessageSentByMe",value:function(e){return this._latestMessageSentByMeMap.get(e)}},{key:"getGroupLocalLastMessageSequence",value:function(e){return this._groupLocalLastMessageSequenceMap.get(e)||0}},{key:"modifyMessageSentByPeer",value:function(e){var t=e.conversationID,n=e.latestNick,o=e.latestAvatar,r=this.list.get(t);if(!qt(r)){var a=Array.from(r.values()),s=a.length;if(0!==s){for(var i=null,u=0,c=!1,d=s-1;d>=0;d--)"in"===a[d].flow&&((i=a[d]).nick!==n&&(i.setNickAndAvatar({nick:n}),c=!0),i.avatar!==o&&(i.setNickAndAvatar({avatar:o}),c=!0),c&&(u+=1));Ge.log("".concat(this._className,".modifyMessageSentByPeer conversationID:").concat(t," count:").concat(u))}}}},{key:"modifyMessageSentByMe",value:function(e){var t=e.conversationID,n=e.latestNick,o=e.latestAvatar,r=this.list.get(t);if(!qt(r)){var a=Array.from(r.values()),s=a.length;if(0!==s){for(var i=null,u=0,c=!1,d=s-1;d>=0;d--)"out"===a[d].flow&&((i=a[d]).nick!==n&&(i.setNickAndAvatar({nick:n}),c=!0),i.avatar!==o&&(i.setNickAndAvatar({avatar:o}),c=!0),c&&(u+=1));Ge.log("".concat(this._className,".modifyMessageSentByMe conversationID:").concat(t," count:").concat(u))}}}},{key:"getTopicConversationIDList",value:function(e){return v(this.list.keys()).filter((function(t){return t.startsWith("".concat(C.CONV_GROUP).concat(e))}))}},{key:"traversal",value:function(){if(0!==this.list.size&&-1===Ge.getLevel()){console.group("conversationID-messageCount");var e,t=S(this.list);try{for(t.s();!(e=t.n()).done;){var n=y(e.value,2),o=n[0],r=n[1];console.log("".concat(o,"-").concat(r.size))}}catch(i){t.e(i)}finally{t.f()}console.groupEnd()}}},{key:"onMessageModified",value:function(e,t){if(!this.list.has(e))return{isUpdated:!1,message:null};var n=this._getUniqueIDOfMessage(t),o=this.list.get(e).has(n);if(Ge.debug("".concat(this._className,".onMessageModified conversationID:").concat(e," uniqueID:").concat(n," has:").concat(o)),o){var r=this.list.get(e).get(n),a=t.messageVersion,s=t.elements,i=t.cloudCustomData;return r.version<a?(r.version=a,r._elements=JSON.parse(JSON.stringify(s)),r.payload=JSON.parse(JSON.stringify(s[0].content)),r.type=s[0].type,r.cloudCustomData=i,r.isModified=!0,{isUpdated:!0,message:r}):{isUpdated:!1,message:r}}return{isUpdated:!1,message:null}}},{key:"_getUniqueIDOfMessage",value:function(e){var t=e.from,n=e.to,o=e.random,r=e.sequence,a=e.time;return"".concat(t,"-").concat(n,"-").concat(o,"-").concat(r,"-").concat(a)}},{key:"reset",value:function(){this.list.clear(),this._latestMessageSentByPeerMap.clear(),this._latestMessageSentByMeMap.clear(),this._groupLocalLastMessageSequenceMap.clear()}}]),e}(),Ma="_a2KeyAndTinyIDUpdated",ya="_cloudConfigUpdated",va="_profileUpdated";function La(e){this.mixin(e)}La.mixin=function(e){var t=e.prototype||e;t._isReady=!1,t.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this._isReady?void(t?e.call(this):setTimeout(e,1)):(this._readyQueue=this._readyQueue||[],void this._readyQueue.push(e))},t.triggerReady=function(){var e=this;this._isReady=!0,setTimeout((function(){var t=e._readyQueue;e._readyQueue=[],t&&t.length>0&&t.forEach((function(e){e.call(this)}),e)}),1)},t.resetReady=function(){this._isReady=!1,this._readyQueue=[]},t.isReady=function(){return this._isReady}};var Ta=["jpg","jpeg","gif","png","bmp","image","webp"],Da=["mp4"],ka=1,Ia=2,Sa=3,Ea=255,Ca=function(){function e(t){var n=this;a(this,e),qt(t)||(this.userID=t.userID||"",this.nick=t.nick||"",this.gender=t.gender||"",this.birthday=t.birthday||0,this.location=t.location||"",this.selfSignature=t.selfSignature||"",this.allowType=t.allowType||C.ALLOW_TYPE_ALLOW_ANY,this.language=t.language||0,this.avatar=t.avatar||"",this.messageSettings=t.messageSettings||0,this.adminForbidType=t.adminForbidType||C.FORBID_TYPE_NONE,this.level=t.level||0,this.role=t.role||0,this.lastUpdatedTime=0,this.profileCustomField=[],qt(t.profileCustomField)||t.profileCustomField.forEach((function(e){n.profileCustomField.push({key:e.key,value:e.value})})))}return i(e,[{key:"validate",value:function(e){var t=!0,n="";if(qt(e))return{valid:!1,tips:"empty options"};if(e.profileCustomField)for(var o=e.profileCustomField.length,r=null,a=0;a<o;a++){if(r=e.profileCustomField[a],!Je(r.key)||-1===r.key.indexOf("Tag_Profile_Custom"))return{valid:!1,tips:"自定义资料字段的前缀必须是 Tag_Profile_Custom"};if(!Je(r.value))return{valid:!1,tips:"自定义资料字段的 value 必须是字符串"}}for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){if("profileCustomField"===s)continue;if(qt(e[s])&&!Je(e[s])&&!ze(e[s])){n="key:"+s+", invalid value:"+e[s],t=!1;continue}switch(s){case"nick":Je(e[s])||(n="nick should be a string",t=!1),lt(e[s])>500&&(n="nick name limited: must less than or equal to ".concat(500," bytes, current size: ").concat(lt(e[s])," bytes"),t=!1);break;case"gender":mt(xe,e.gender)||(n="key:gender, invalid value:"+e.gender,t=!1);break;case"birthday":ze(e.birthday)||(n="birthday should be a number",t=!1);break;case"location":Je(e.location)||(n="location should be a string",t=!1);break;case"selfSignature":Je(e.selfSignature)||(n="selfSignature should be a string",t=!1);break;case"allowType":mt(je,e.allowType)||(n="key:allowType, invalid value:"+e.allowType,t=!1);break;case"language":ze(e.language)||(n="language should be a number",t=!1);break;case"avatar":Je(e.avatar)||(n="avatar should be a string",t=!1);break;case"messageSettings":0!==e.messageSettings&&1!==e.messageSettings&&(n="messageSettings should be 0 or 1",t=!1);break;case"adminForbidType":mt(He,e.adminForbidType)||(n="key:adminForbidType, invalid value:"+e.adminForbidType,t=!1);break;case"level":ze(e.level)||(n="level should be a number",t=!1);break;case"role":ze(e.role)||(n="role should be a number",t=!1);break;default:n="unknown key:"+s+" "+e[s],t=!1}}return{valid:t,tips:n}}}]),e}(),Aa=i((function e(t){a(this,e),this.value=t,this.next=null})),Oa=function(){function e(t){a(this,e),this.MAX_LENGTH=t,this.pTail=null,this.pNodeToDel=null,this.map=new Map,Ge.debug("SinglyLinkedList init MAX_LENGTH:".concat(this.MAX_LENGTH))}return i(e,[{key:"set",value:function(e){var t=new Aa(e);if(this.map.size<this.MAX_LENGTH)null===this.pTail?(this.pTail=t,this.pNodeToDel=t):(this.pTail.next=t,this.pTail=t),this.map.set(e,1);else{var n=this.pNodeToDel;this.pNodeToDel=this.pNodeToDel.next,this.map.delete(n.value),n.next=null,n=null,this.pTail.next=t,this.pTail=t,this.map.set(e,1)}}},{key:"has",value:function(e){return this.map.has(e)}},{key:"delete",value:function(e){this.has(e)&&this.map.delete(e)}},{key:"tail",value:function(){return this.pTail}},{key:"size",value:function(){return this.map.size}},{key:"data",value:function(){return Array.from(this.map.keys())}},{key:"reset",value:function(){for(var e;null!==this.pNodeToDel;)e=this.pNodeToDel,this.pNodeToDel=this.pNodeToDel.next,e.next=null,e=null;this.pTail=null,this.map.clear()}}]),e}(),ba=["groupID","name","avatar","type","introduction","notification","ownerID","selfInfo","createTime","infoSequence","lastInfoTime","lastMessage","nextMessageSeq","memberNum","maxMemberNum","memberList","joinOption","groupCustomField","muteAllMembers","isSupportTopic"],wa=function(){function e(t){a(this,e),this.groupID="",this.name="",this.avatar="",this.type="",this.introduction="",this.notification="",this.ownerID="",this.createTime="",this.infoSequence="",this.lastInfoTime="",this.selfInfo={messageRemindType:"",joinTime:"",nameCard:"",role:"",userID:"",memberCustomField:void 0,readedSequence:0,excludedUnreadSequenceList:void 0},this.lastMessage={lastTime:"",lastSequence:"",fromAccount:"",messageForShow:""},this.nextMessageSeq="",this.memberNum="",this.memberCount="",this.maxMemberNum="",this.maxMemberCount="",this.joinOption="",this.groupCustomField=[],this.muteAllMembers=!1,this.isSupportTopic=!1,this._initGroup(t)}return i(e,[{key:"memberNum",get:function(){return Ge.warn("!!!v2.8.0起弃用memberNum,请使用 memberCount"),this.memberCount},set:function(e){}},{key:"maxMemberNum",get:function(){return Ge.warn("!!!v2.8.0起弃用maxMemberNum,请使用 maxMemberCount"),this.maxMemberCount},set:function(e){}},{key:"_initGroup",value:function(e){for(var t in e)ba.indexOf(t)<0||("selfInfo"!==t?("memberNum"===t&&(this.memberCount=e[t]),"maxMemberNum"===t&&(this.maxMemberCount=e[t]),"isSupportTopic"!==t?this[t]=e[t]:this.isSupportTopic=1===e[t]):this.updateSelfInfo(e[t]))}},{key:"updateGroup",value:function(e){var t=this,n=JSON.parse(JSON.stringify(e));n.lastMsgTime&&(this.lastMessage.lastTime=n.lastMsgTime),et(n.muteAllMembers)||("On"===n.muteAllMembers?n.muteAllMembers=!0:n.muteAllMembers=!1),n.groupCustomField&&yt(this.groupCustomField,n.groupCustomField),et(n.memberNum)||(this.memberCount=n.memberNum),et(n.maxMemberNum)||(this.maxMemberCount=n.maxMemberNum),et(n.isSupportTopic)||(this.isSupportTopic=ze(n.isSupportTopic)?1===n.isSupportTopic:n.isSupportTopic),ct(this,n,["members","errorCode","lastMsgTime","groupCustomField","memberNum","maxMemberNum","isSupportTopic"]),Qe(n.members)&&n.members.length>0&&n.members.forEach((function(e){e.userID===t.selfInfo.userID&&ct(t.selfInfo,e,["sequence"])}))}},{key:"updateSelfInfo",value:function(e){var t={nameCard:e.nameCard,joinTime:e.joinTime,role:e.role,messageRemindType:e.messageRemindType,readedSequence:e.readedSequence,excludedUnreadSequenceList:e.excludedUnreadSequenceList};ct(this.selfInfo,o({},t),[],["",null,void 0,0,NaN])}},{key:"setSelfNameCard",value:function(e){this.selfInfo.nameCard=e}}]),e}(),Na=function(e){return et(e)?{lastTime:0,lastSequence:0,fromAccount:0,messageForShow:"",payload:null,type:"",isRevoked:!1,cloudCustomData:"",onlineOnlyFlag:!1,nick:"",nameCard:"",version:0,isPeerRead:!1}:e instanceof ra?{lastTime:e.time||0,lastSequence:e.sequence||0,fromAccount:e.from||"",messageForShow:Ft(e.type,e.payload),payload:e.payload||null,type:e.type||null,isRevoked:e.isRevoked||!1,cloudCustomData:e.cloudCustomData||"",onlineOnlyFlag:e._onlineOnlyFlag||!1,nick:e.nick||"",nameCard:e.nameCard||"",version:e.version||0,isPeerRead:e.isPeerRead||!1}:o(o({},e),{},{messageForShow:Ft(e.type,e.payload)})},Ra=function(){function e(t){a(this,e),this.conversationID=t.conversationID||"",this.unreadCount=t.unreadCount||0,this.type=t.type||"",this.lastMessage=Na(t.lastMessage),t.lastMsgTime&&(this.lastMessage.lastTime=t.lastMsgTime),this._isInfoCompleted=!1,this.peerReadTime=t.peerReadTime||0,this.groupAtInfoList=[],this.remark="",this.isPinned=t.isPinned||!1,this.messageRemindType="",this.markList=[],this.customData="",this.conversationGroupList=t.conversationGroupList||[],this._initProfile(t)}return i(e,[{key:"toAccount",get:function(){return this.conversationID.startsWith(C.CONV_C2C)?this.conversationID.replace(C.CONV_C2C,""):this.conversationID.startsWith(C.CONV_GROUP)?this.conversationID.replace(C.CONV_GROUP,""):""}},{key:"subType",get:function(){return this.groupProfile?this.groupProfile.type:""}},{key:"_initProfile",value:function(e){var t=this;Object.keys(e).forEach((function(n){switch(n){case"userProfile":t.userProfile=e.userProfile;break;case"groupProfile":t.groupProfile=e.groupProfile}})),et(this.userProfile)&&this.type===C.CONV_C2C?this.userProfile=new Ca({userID:e.conversationID.replace("C2C","")}):et(this.groupProfile)&&this.type===C.CONV_GROUP&&(this.groupProfile=new wa({groupID:e.conversationID.replace("GROUP","")}))}},{key:"updateUnreadCount",value:function(e){var t=e.nextUnreadCount,n=e.isFromGetConversations,o=e.isUnreadC2CMessage;et(t)||(Lt(this.subType)?this.unreadCount=0:n&&this.type===C.CONV_GROUP||n&&this.type===C.CONV_TOPIC||o&&this.type===C.CONV_C2C?this.unreadCount=t:this.unreadCount=this.unreadCount+t)}},{key:"updateLastMessage",value:function(e){this.lastMessage=Na(e)}},{key:"updateGroupAtInfoList",value:function(e){if(!this._isNeedMergeGroupAtInfo(e)){var t,n=(L(t=e.groupAtType)||T(t)||D(t)||I()).slice(0);-1!==n.indexOf(C.CONV_AT_ME)&&-1!==n.indexOf(C.CONV_AT_ALL)&&(n=[C.CONV_AT_ALL_AT_ME]);var o={from:e.from,groupID:e.groupID,topicID:e.topicID,messageSequence:e.sequence,atTypeArray:n,__random:e.__random,__sequence:e.__sequence};this.groupAtInfoList.push(o),Ge.debug("Conversation.updateGroupAtInfoList conversationID:".concat(this.conversationID),this.groupAtInfoList)}}},{key:"_isNeedMergeGroupAtInfo",value:function(e){var t=e.groupID,n=e.sequence;if(!Tt({groupID:t}))return!1;var o=!1;return this.groupAtInfoList.forEach((function(t){t.messageSequence===n&&(t.atTypeArray.indexOf(C.CONV_AT_ME)>-1&&e.groupAtType.indexOf(C.CONV_AT_ALL)>-1&&(t.atTypeArray=[C.CONV_AT_ALL_AT_ME]),t.atTypeArray.indexOf(C.CONV_AT_ALL)>-1&&e.groupAtType.indexOf(C.CONV_AT_ME)>-1&&(t.atTypeArray=[C.CONV_AT_ALL_AT_ME],t.__random=e.__random,t.__sequence=e.__sequence),o=!0)})),o}},{key:"clearGroupAtInfoList",value:function(){this.groupAtInfoList.length=0}},{key:"reduceUnreadCount",value:function(){return this.unreadCount>=1&&(this.unreadCount-=1,!0)}},{key:"isLastMessageRevoked",value:function(e){var t=e.sequence,n=e.time;return this.type===C.CONV_C2C&&t===this.lastMessage.lastSequence&&n===this.lastMessage.lastTime||this.type===C.CONV_GROUP&&t===this.lastMessage.lastSequence}},{key:"setLastMessageRevoked",value:function(e){this.lastMessage.isRevoked=e}}]),e}(),Pa=function(){function e(t){a(this,e),this._conversationModule=t,this._className="MessageRemindHandler",this._updateSequence=0}return i(e,[{key:"getC2CMessageRemindType",value:function(){var e=this,t="".concat(this._className,".getC2CMessageRemindType");return this._conversationModule.request({protocolName:$n,updateSequence:this._updateSequence}).then((function(n){Ge.log("".concat(t," ok"));var o=n.data,r=o.updateSequence,a=o.muteFlagList;e._updateSequence=r,e._patchC2CMessageRemindType(a)})).catch((function(e){Ge.error("".concat(t," failed. error:"),e)}))}},{key:"_patchC2CMessageRemindType",value:function(e){var t=this,n=0,o="";Qe(e)&&e.length>0&&e.forEach((function(e){var r=e.userID,a=e.muteFlag;0===a?o=C.MSG_REMIND_ACPT_AND_NOTE:1===a?o=C.MSG_REMIND_DISCARD:2===a&&(o=C.MSG_REMIND_ACPT_NOT_NOTE),!0===t._conversationModule.patchMessageRemindType({ID:r,isC2CConversation:!0,messageRemindType:o})&&(n+=1)})),Ge.log("".concat(this._className,"._patchC2CMessageRemindType count:").concat(n))}},{key:"set",value:function(e){return e.groupID?this._setGroupMessageRemindType(e):Qe(e.userIDList)?this._setC2CMessageRemindType(e):void 0}},{key:"_setGroupMessageRemindType",value:function(e){var t=this,n="".concat(this._className,"._setGroupMessageRemindType"),o=e.groupID,r=e.messageRemindType,a="groupID:".concat(o," messageRemindType:").concat(r),s=new Hr(jr.SET_MESSAGE_REMIND_TYPE);return s.setMessage(a),this._getModule(ln).modifyGroupMemberInfo({groupID:o,messageRemindType:r,userID:this._conversationModule.getMyUserID()}).then((function(){s.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(n," ok. ").concat(a));var o=t.onGroupMessageRemindTypeUpdated(e);return aa(o)})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"onGroupMessageRemindTypeUpdated",value:function(e){var t=e.groupID,n=e.messageRemindType,o=this._getModule(cn).getLocalGroupProfile(t);if(o&&(o.selfInfo.messageRemindType=n),Dt(t)){var r=t,a=Ut(r),s=this._getModule(_n).getLocalTopic(a,r);return s&&(s.updateSelfInfo({messageRemindType:n}),this._conversationModule.emitOuterEvent(E.TOPIC_UPDATED,{groupID:a,topic:s})),{topic:s}}return this._conversationModule.patchMessageRemindType({ID:t,isC2CConversation:!1,messageRemindType:n})&&this._emitConversationUpdate(),{group:o}}},{key:"_setC2CMessageRemindType",value:function(e){var t=this,n="".concat(this._className,"._setC2CMessageRemindType"),o=e.userIDList,r=e.messageRemindType,a=o.slice(0,30),s=0;r===C.MSG_REMIND_DISCARD?s=1:r===C.MSG_REMIND_ACPT_NOT_NOTE&&(s=2);var i="userIDList:".concat(a," messageRemindType:").concat(r),u=new Hr(jr.SET_MESSAGE_REMIND_TYPE);return u.setMessage(i),this._conversationModule.request({protocolName:Kn,requestData:{userIDList:a,muteFlag:s}}).then((function(e){u.setNetworkType(t._conversationModule.getNetworkType()).end();var o=e.data,s=o.updateSequence,i=o.errorList;t._updateSequence=s;var c=[],d=[];Qe(i)&&i.forEach((function(e){c.push(e.userID),d.push({userID:e.userID,code:e.errorCode})}));var l=a.filter((function(e){return-1===c.indexOf(e)}));Ge.log("".concat(n," ok. successUserIDList:").concat(l," failureUserIDList:").concat(JSON.stringify(d)));var _=0;return l.forEach((function(e){t._conversationModule.patchMessageRemindType({ID:e,isC2CConversation:!0,messageRemindType:r})&&(_+=1)})),_>=1&&t._emitConversationUpdate(),a.length=c.length=0,ha({successUserIDList:l.map((function(e){return{userID:e}})),failureUserIDList:d})})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];u.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"_getModule",value:function(e){return this._conversationModule.getModule(e)}},{key:"_emitConversationUpdate",value:function(){this._conversationModule.emitConversationUpdate(!0,!1)}},{key:"setUpdateSequence",value:function(e){this._updateSequence=e}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._updateSequence=0}}]),e}(),Ya=function(){function e(t){a(this,e),this._conversationModule=t,this._className="ConvGroupHandler",this._convGroupMap=new Map,this._startIndex=0,this._pagingStatus=$t.NOT_START}return i(e,[{key:"setConvCustomData",value:function(e){var t=this,n="".concat(this._className,".setConvCustomData"),o=e.conversationIDList,r=e.customData;Ge.log("".concat(n," options:"),e);var a=new Hr(jr.SET_CONV_CUSTOM_DATA);a.setMessage(JSON.stringify(e));var s={fromAccount:this._getMyUserID(),itemList:[]},i=[],u=[];return o.forEach((function(e){if(!t._hasLocalConversation(e))return t._onConversationNotFound(u,e),!0;if(!kt(e)&&!It(e))return t._onConversationIDInvalid(u,e),!0;var n={operationType:2,contactItem:void 0,customMark:r};kt(e)?n.contactItem={type:1,toAccount:e.replace(C.CONV_C2C,"")}:It(e)&&(n.contactItem={type:2,groupID:e.replace(C.CONV_GROUP,"")}),s.itemList.push(n)})),u.length===o.length?ha({successConversationIDList:i,failureConversationIDList:u}):this._conversationModule.request({protocolName:ro,requestData:s}).then((function(e){a.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(n," ok"));var o=e.data.resultItem;if(Qe(o)){var s,c,d=!1;o.forEach((function(e){s=t._concatConversationID(e.contactItem),0===e.resultCode?(i.push(s),(c=t._getLocalConversation(s))&&c.customData!==r&&(c.customData=r,d=!0)):u.push({conversationID:s,code:e.resultCode,message:e.resultInfo})})),!0===d&&t._emitConversationUpdate()}return aa({successConversationIDList:i,failureConversationIDList:u})})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"markConversation",value:function(e){var t=this;if(!this._conversationModule.canIUse(V.CONV_MARK))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n="".concat(this._className,".markConversation"),o=e.conversationIDList,r=e.markType,a=e.enableMark;Ge.log("".concat(n," options:"),e);var s=new Hr(jr.MARK_CONVERSATION);s.setMessage(JSON.stringify(e));var i=void 0,u=void 0,c=this._getFlagBit(r);!0===a?u=[c]:i=[c];var d={fromAccount:this._getMyUserID(),itemList:[]},l=[],_=[];return o.forEach((function(e){if(!t._hasLocalConversation(e))return t._onConversationNotFound(_,e),!0;if(!kt(e)&&!It(e))return t._onConversationIDInvalid(_,e),!0;var n={operationType:1,contactItem:void 0,clearMark:i,setMark:u};kt(e)?n.contactItem={type:1,toAccount:e.replace(C.CONV_C2C,"")}:It(e)&&(n.contactItem={type:2,groupID:e.replace(C.CONV_GROUP,"")}),d.itemList.push(n)})),_.length===o.length?ha({successConversationIDList:l,failureConversationIDList:_}):this._conversationModule.request({protocolName:ao,requestData:d}).then((function(e){s.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(n," ok"));var o=e.data.resultItem;if(Qe(o)){var i,u,c=!1;o.forEach((function(e){if(i=t._concatConversationID(e.contactItem),0===e.resultCode){if(l.push(i),u=t._getLocalConversation(i)){var n=u.markList.indexOf(r);!0===a?-1===n&&(u.markList.push(r),c=!0):-1!==n&&(u.markList.splice(n,1),c=!0)}}else _.push({conversationID:i,code:e.resultCode,message:e.resultInfo})})),!0===c&&t._emitConversationUpdate()}return aa({successConversationIDList:l,failureConversationIDList:_})})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"getLocalConvGroupList",value:function(){var e=this;return Ge.log("".concat(this._className,".getLocalConvGroupList pagingStatus:").concat(this._pagingStatus)),this._pagingStatus===$t.REJECTED?this.getRemoteConvGroupList().then((function(){return aa(v(e._convGroupMap.values()))})):ha(v(this._convGroupMap.values()))}},{key:"getRemoteConvGroupList",value:function(){var e=this,t="".concat(this._className,".getRemoteConvGroupList");return this._pagingStatus=$t.PENDING,this._conversationModule.request({protocolName:_o,requestData:{fromAccount:this._getMyUserID(),startIndex:this._startIndex}}).then((function(n){var o,r,a=n.data,s=a.completeFlag,i=a.contactItem,u=a.nextStartIndex,c=void 0===u?0:u,d=a.groupItem;if(e._startIndex=c,Ge.log("".concat(t," completeFlag:").concat(s," nextStartIndex:").concat(c)),Qe(d)&&d.forEach((function(t){var n=t.convGroupID,o=t.groupName;e._convGroupMap.set(n,o)})),Qe(i)&&i.forEach((function(t){var n=t.standardMark,a=t.customData,s=t.convGroupIDList;if(o=e._concatConversationID(t),(r=e._getLocalConversation(o))&&(r.markList=Ht(n),r.customData=a||"",Qe(s))){var i=[];s.forEach((function(t){e._convGroupMap.has(t)&&i.push(e._convGroupMap.get(t))})),r.conversationGroupList=[].concat(i),i.length=0}})),0===s)return e.getRemoteConvGroupList();1===s&&(e._pagingStatus=$t.RESOLVED,e._emitConversationUpdate(),e._emitConvGroupListUpdate())})).catch((function(n){e._pagingStatus=$t.REJECTED,Ge.warn("".concat(t," failed. error:"),n)}))}},{key:"createConvGroup",value:function(e){var t=this;if(!this._conversationModule.canIUse(V.CONV_GROUP))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n=new Hr(jr.CREATE_CONV_GROUP);n.setMessage(JSON.stringify(e));var o="".concat(this._className,".createConvGroup");Ge.log("".concat(o," options:"),e);var r=e.groupName,a=e.conversationIDList,s={fromAccount:this._getMyUserID(),itemList:[{groupName:r,contactItem:[]}]},i=[],u=[];return a.forEach((function(e){return t._hasLocalConversation(e)?kt(e)||It(e)?void(kt(e)?s.itemList[0].contactItem.push({type:1,toAccount:e.replace(C.CONV_C2C,"")}):It(e)&&s.itemList[0].contactItem.push({type:2,groupID:e.replace(C.CONV_GROUP,"")})):(t._onConversationIDInvalid(u,e),!0):(t._onConversationNotFound(u,e),!0)})),u.length===a.length?ha({successConversationIDList:i,failureConversationIDList:u}):this._conversationModule.request({protocolName:so,requestData:s}).then((function(e){n.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(o," ok"));var a=e.data.groupResultItem[0],s=a.groupItem,c=a.resultItem;if(Ze(s)&&(t._convGroupMap.set(s.convGroupID,s.groupName),t._emitConvGroupListUpdate()),Qe(c)){var d,l,_=!1;c.forEach((function(e){d=t._concatConversationID(e.contactItem),0===e.resultCode?(i.push(d),(l=t._getLocalConversation(d))&&-1===l.conversationGroupList.indexOf(r)&&(l.conversationGroupList.push(r),_=!0)):u.push({conversationID:d,code:e.resultCode,message:e.resultInfo})})),!0===_&&(t._emitConversationUpdate(),t._emitConvGroupListUpdate())}return aa({successConversationIDList:i,failureConversationIDList:u})})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var o=y(t,2),r=o[0],a=o[1];n.setError(e,r,a).end()})),Ge.error("".concat(o," failed. error:"),e),ma(e)}))}},{key:"deleteConvGroup",value:function(e){var t=this;if(!this._conversationModule.canIUse(V.CONV_GROUP))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n=new Hr(jr.DELETE_CONV_GROUP);n.setMessage(e);var o="".concat(this._className,".deleteConvGroup");return Ge.log("".concat(o," groupName:").concat(e)),this._conversationModule.request({protocolName:io,requestData:{fromAccount:this._getMyUserID(),groupName:[e]}}).then((function(r){n.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(o," ok"));var a=r.data.groupItem;if(Qe(a)){var s=!1;a.forEach((function(e){t._convGroupMap.has(e.convGroupID)&&(t._convGroupMap.delete(e.convGroupID),s=!0)})),!0===s&&t._emitConvGroupListUpdate()}t._eraseFromConversationGroupList([e])})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var o=y(t,2),r=o[0],a=o[1];n.setError(e,r,a).end()})),Ge.error("".concat(o," failed. error:"),e),ma(e)}))}},{key:"renameConvGroup",value:function(e){var t=this;if(!this._conversationModule.canIUse(V.CONV_GROUP))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n=new Hr(jr.RENAME_CONV_GROUP);n.setMessage(JSON.stringify(e));var o="".concat(this._className,".renameConvGroup");Ge.log("".concat(o," options:"),e);var r=e.oldName,a=e.newName;return this._conversationModule.request({protocolName:uo,requestData:{fromAccount:this._getMyUserID(),updateType:1,updateGroup:{updateGroupType:1,oldName:r,newName:a}}}).then((function(e){n.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(o," ok"));var s=e.data.updateGroupResult.convGroupID;t._convGroupMap.set(s,a),t._emitConvGroupListUpdate();var i,u,c=t._conversationModule.getLocalConversationList(),d=!1;c.forEach((function(e){i=e.conversationGroupList,-1!==(u=i.indexOf(r))&&(i.splice(u,1,a),d=!0)})),!0===d&&t._emitConversationUpdate()})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var o=y(t,2),r=o[0],a=o[1];n.setError(e,r,a).end()})),Ge.error("".concat(o," failed. error:"),e),ma(e)}))}},{key:"addConvsToGroup",value:function(e){var t=this;if(!this._conversationModule.canIUse(V.CONV_GROUP))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n=new Hr(jr.ADD_CONVS_TO_GROUP);n.setMessage(JSON.stringify(e));var o="".concat(this._className,".addConvsToGroup");Ge.log("".concat(o," options:"),e);var r=e.conversationIDList,a=e.groupName,s={fromAccount:this._getMyUserID(),updateType:1,updateGroup:{updateGroupType:2,groupName:a,updateItem:[]}},i=[],u=[];return r.forEach((function(e){return t._hasLocalConversation(e)?kt(e)||It(e)?void(kt(e)?s.updateGroup.updateItem.push({operationType:1,contactItem:{type:1,toAccount:e.replace(C.CONV_C2C,"")}}):It(e)&&s.updateGroup.updateItem.push({operationType:1,contactItem:{type:2,groupID:e.replace(C.CONV_GROUP,"")}})):(t._onConversationIDInvalid(u,e),!0):(t._onConversationNotFound(u,e),!0)})),u.length===r.length?ha({successConversationIDList:i,failureConversationIDList:u}):this._conversationModule.request({protocolName:co,requestData:s}).then((function(e){n.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(o," ok"));var r=e.data.updateGroupResult.contactResultItem;if(Qe(r)){var s,c,d=!1;r.forEach((function(e){0===e.resultCode&&(s=t._concatConversationID(e.contactItem),(c=t._getLocalConversation(s))?-1===c.conversationGroupList.indexOf(a)&&(c.conversationGroupList.push(a),i.push(s),d=!0):u.push({conversationID:s,code:e.resultCode,message:e.resultInfo}))})),!0===d&&(t._emitConversationUpdate(),t._emitConvInGroupUpdate(a))}return aa({successConversationIDList:i,failureConversationIDList:u})})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var o=y(t,2),r=o[0],a=o[1];n.setError(e,r,a).end()})),Ge.error("".concat(o," failed. error:"),e),ma(e)}))}},{key:"deleteConvsFromGroup",value:function(e){var t=this;if(!this._conversationModule.canIUse(V.CONV_GROUP))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n=new Hr(jr.DELETE_CONVS_FROM_GROUP);n.setMessage(JSON.stringify(e));var o="".concat(this._className,".deleteConvsFromGroup");Ge.log("".concat(o," options:"),e);var r=e.conversationIDList,a=e.groupName,s={fromAccount:this._getMyUserID(),updateType:1,updateGroup:{updateGroupType:2,groupName:a,updateItem:[]}},i=[],u=[];return r.forEach((function(e){return t._hasLocalConversation(e)?kt(e)||It(e)?void(kt(e)?s.updateGroup.updateItem.push({operationType:2,contactItem:{type:1,toAccount:e.replace(C.CONV_C2C,"")}}):It(e)&&s.updateGroup.updateItem.push({operationType:2,contactItem:{type:2,groupID:e.replace(C.CONV_GROUP,"")}})):(t._onConversationIDInvalid(u,e),!0):(t._onConversationNotFound(u,e),!0)})),u.length===r.length?ha({successConversationIDList:i,failureConversationIDList:u}):this._conversationModule.request({protocolName:lo,requestData:s}).then((function(e){n.setNetworkType(t._conversationModule.getNetworkType()).end(),Ge.log("".concat(o," ok"));var r=e.data.updateGroupResult.contactResultItem;if(Qe(r)){var s,c,d=!1;r.forEach((function(e){if(0===e.resultCode)if(s=t._concatConversationID(e.contactItem),c=t._getLocalConversation(s)){var n=c.conversationGroupList.indexOf(a);-1!==n&&(c.conversationGroupList.splice(n,1),i.push(s),d=!0)}else u.push({conversationID:s,code:e.resultCode,message:e.resultInfo})})),!0===d&&(t._emitConversationUpdate(),t._emitConvInGroupUpdate())}return aa({successConversationIDList:i,failureConversationIDList:u})})).catch((function(e){return t._conversationModule.probeNetwork().then((function(t){var o=y(t,2),r=o[0],a=o[1];n.setError(e,r,a).end()})),Ge.error("".concat(o," failed. error:"),e),ma(e)}))}},{key:"onConvMarkUpdated",value:function(e){var t=this;if(!qt(e)){var n,o,r=!1;e.forEach((function(e){if(n=t._concatConversationID(e.recentContactItem),o=t._getLocalConversation(n))if(1===e.optType){var a=Ht(e.standardMark);!0!==function(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n++)if(e[n]!==t[n])return!1;return!0}(o.markList,a)&&(o.markList=a,r=!0)}else 2===e.optType&&o.customData!==e.customMark&&void 0!==e.customMark&&(o.customData=e.customMark,r=!0)})),!0===r&&this._emitConversationUpdate()}}},{key:"onConvGroupCreated",value:function(e){var t=this,n=!1,o=!1;Qe(e)&&(e.forEach((function(e){var r=e.msgGroupItem,a=r.groupID,s=r.groupName;t._convGroupMap.get(a)!==s&&(t._convGroupMap.set(a,s),o=!0);var i,u,c=e.msgRecentContactItem;Qe(c)&&c.forEach((function(e){i=t._concatConversationID(e),(u=t._getLocalConversation(i))&&-1===u.conversationGroupList.indexOf(s)&&(u.conversationGroupList.push(s),n=!0)}))})),!0===n&&this._emitConversationUpdate(),!0===o&&this._emitConvGroupListUpdate())}},{key:"onConvGroupDeleted",value:function(e){var t=this,n=[];if(Qe(e)){var o=!1;e.forEach((function(e){var r=e.groupID,a=e.groupName;t._convGroupMap.has(r)&&(t._convGroupMap.delete(r),o=!0,n.push(a))})),!0===o&&this._emitConvGroupListUpdate()}this._eraseFromConversationGroupList(n)}},{key:"_eraseFromConversationGroupList",value:function(e){qt(e)||(this._conversationModule.getLocalConversationList().forEach((function(t){t.conversationGroupList=t.conversationGroupList.filter((function(t){return!e.includes(t)}))})),this._emitConversationUpdate())}},{key:"onConvGroupNameUpdated",value:function(e){var t=e.groupID,n=e.groupName,o=e.oldGroupName;if(this._convGroupMap.get(t)!==n){this._convGroupMap.set(t,n),this._emitConvGroupListUpdate();var r,a,s=this._conversationModule.getLocalConversationList(),i=!1;s.forEach((function(e){r=e.conversationGroupList,-1!==(a=r.indexOf(o))&&(r.splice(a,1,n),i=!0)})),!0===i&&this._emitConversationUpdate()}}},{key:"onConvInGroupUpdated",value:function(e){var t=this,n=e.oldGroupName,o=e.recentContactUpdateGroupItem;if(Qe(o)){var r,a,s=!1;o.forEach((function(e){var o=e.contactOptType;if(r=t._concatConversationID(e.recentContactItem),a=t._getLocalConversation(r))if(1===o)-1===a.conversationGroupList.indexOf(n)&&(a.conversationGroupList.push(n),s=!0);else if(2===o){var i=a.conversationGroupList.indexOf(n);-1!==i&&(a.conversationGroupList.splice(i,1),s=!0)}})),!0===s&&(this._emitConversationUpdate(),this._emitConvInGroupUpdate(n))}}},{key:"onConvGroupListSynced",value:function(e){var t=this;Qe(e)&&0!==e.length&&(Ge.log("".concat(this._className,".onConvGroupListSynced count:").concat(e.length)),e.forEach((function(e){t._convGroupMap.set(e.convGroupID,e.groupName)})))}},{key:"getConvGroupListByID",value:function(e){var t=this;if(!qt(e)){var n=[];return e.forEach((function(e){t._convGroupMap.has(e)&&n.push(t._convGroupMap.get(e))})),n}}},{key:"_onConversationNotFound",value:function(e,t){e.push({conversationID:t,code:Ir.CONVERSATION_NOT_FOUND,message:Sr.CONVERSATION_NOT_FOUND})}},{key:"_onConversationIDInvalid",value:function(e,t){e.push({conversationID:t,code:Ir.INVALID_CONVERSATION_ID,message:Sr.INVALID_CONVERSATION_ID})}},{key:"_getFlagBit",value:function(e){for(var t=e.toString(2),n=t.length,o=n-1;o>=0;o--)if("1"===t[o])return n-o-1}},{key:"_concatConversationID",value:function(e){var t,n=e.type,o=e.to,r=e.groupID,a=e.userID;return 1===n?et(a)?et(o)||(t="".concat(C.CONV_C2C).concat(o)):t="".concat(C.CONV_C2C).concat(a):2===n&&(t="".concat(C.CONV_GROUP).concat(r)),t}},{key:"_getMyUserID",value:function(){return this._conversationModule.getMyUserID()}},{key:"_insertConversationGroup",value:function(e,t){var n=this._getLocalConversation(e);if(n){var o=n.conversationGroupList;-1===o.indexOf(t)&&o.push(t)}}},{key:"_getLocalConversation",value:function(e){return this._conversationModule.getLocalConversation(e)}},{key:"_hasLocalConversation",value:function(e){return this._conversationModule.hasLocalConversation(e)}},{key:"_emitConversationUpdate",value:function(){this._conversationModule.emitConversationUpdate(!0,!1)}},{key:"_emitConvGroupListUpdate",value:function(){this._conversationModule.emitOuterEvent(E.CONVERSATION_GROUP_LIST_UPDATED,v(this._convGroupMap.values()))}},{key:"_emitConvInGroupUpdate",value:function(e){var t={groupName:e,conversationList:[]},n=this._conversationModule.getLocalConversationList();t.conversationList=n.filter((function(t){return t.conversationGroupList.includes(e)})),this._conversationModule.emitOuterEvent(E.CONVERSATION_IN_GROUP_UPDATED,t)}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._convGroupMap.clear(),this._startIndex=0,this._pagingStatus=$t.NOT_START}}]),e}(),Ga=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="ConversationModule",La.mixin(f(o)),o._messageListHandler=new ga,o._messageRemindHandler=new Pa(f(o)),o._convGroupHandler=new Ya(f(o)),o.singlyLinkedList=new Oa(100),o._pagingStatus=$t.NOT_START,o._pagingTimeStamp=0,o._pagingStartIndex=0,o._pagingPinnedTimeStamp=0,o._pagingPinnedStartIndex=0,o._conversationMap=new Map,o._tmpGroupList=[],o._tmpGroupAtTipsList=[],o._peerReadTimeMap=new Map,o._completedMap=new Map,o._roamingMessageKeyAndTimeMap=new Map,o._roamingMessageSequenceMap=new Map,o._remoteGroupReadSequenceMap=new Map,o._initListeners(),o}return i(n,[{key:"_initListeners",value:function(){var e=this.getInnerEmitterInstance();e.on(Ma,this._initLocalConversationList,this),e.on(va,this._onProfileUpdated,this)}},{key:"onCheckTimer",value:function(e){e%60==0&&this._messageListHandler.traversal()}},{key:"_initLocalConversationList",value:function(){var e=this,t=new Hr(jr.GET_CONVERSATION_LIST_IN_STORAGE);Ge.log("".concat(this._className,"._initLocalConversationList."));var n="",o=this._getStorageConversationList();if(o){for(var r=o.length,a=0;a<r;a++){var s=o[a];if(s){if(s.conversationID==="".concat(C.CONV_C2C,"@TLS#ERROR")||s.conversationID==="".concat(C.CONV_C2C,"@TLS#NOT_FOUND"))continue;if(s.groupProfile){var i=s.groupProfile.type;if(Lt(i))continue}}this._conversationMap.set(o[a].conversationID,new Ra(o[a]))}this.emitConversationUpdate(!0,!1),n="count:".concat(r)}else n="count:0";t.setNetworkType(this.getNetworkType()).setMessage(n).end(),this.getModule(un)||this.triggerReady(),this.ready((function(){e._tmpGroupList.length>0&&(e.updateConversationGroupProfile(e._tmpGroupList),e._tmpGroupList.length=0)})),this.syncConversationList()}},{key:"onMessageSent",value:function(e){this._onSendOrReceiveMessage({conversationOptionsList:e.conversationOptionsList,isInstantMessage:!0})}},{key:"onNewMessage",value:function(e){this._onSendOrReceiveMessage(e)}},{key:"_onSendOrReceiveMessage",value:function(e){var t=this,n=e.conversationOptionsList,o=e.isInstantMessage,r=void 0===o||o,a=e.isUnreadC2CMessage,s=void 0!==a&&a;this._isReady?0!==n.length&&(this._getC2CPeerReadTime(n),this._updateLocalConversationList({conversationOptionsList:n,isInstantMessage:r,isUnreadC2CMessage:s,isFromGetConversations:!1}),this._setStorageConversationList(),n.filter((function(e){return e.type===C.CONV_TOPIC})).length>0||this.emitConversationUpdate()):this.ready((function(){t._onSendOrReceiveMessage(e)}))}},{key:"updateConversationGroupProfile",value:function(e){var t=this;if(!Qe(e)||0!==e.length)if(0!==this._conversationMap.size){var n=!1;e.forEach((function(e){var o="GROUP".concat(e.groupID);if(t._conversationMap.has(o)){n=!0;var r=t._conversationMap.get(o);r.groupProfile=JSON.parse(JSON.stringify(e)),r.lastMessage.lastSequence<e.nextMessageSeq&&(r.lastMessage.lastSequence=e.nextMessageSeq-1),r.subType||(r.subType=e.type)}})),n&&this.emitConversationUpdate(!0,!1)}else this._tmpGroupList=e}},{key:"_updateConversationUserProfile",value:function(e){var t=this;e.data.forEach((function(e){var n="C2C".concat(e.userID);t._conversationMap.has(n)&&(t._conversationMap.get(n).userProfile=e)})),this.emitConversationUpdate(!0,!1)}},{key:"onMessageRevoked",value:function(e){var t=this;if(0!==e.length){var n=null,o=!1,r=[];e.forEach((function(e){(n=t._conversationMap.get(e.conversationID))&&(n.type===C.CONV_TOPIC?r.push(e):(n.reduceUnreadCount()&&(o=!0),n.isLastMessageRevoked(e)&&(n.setLastMessageRevoked(!0),o=!0)))})),this.getModule(_n).onMessageRevoked(r),o&&this.emitConversationUpdate(!0,!1)}}},{key:"onMessageDeleted",value:function(e){var t=this;if(0!==e.length){var n=null;e.forEach((function(e){(n=t._messageListHandler.getLocalMessage(e.conversationID,e.ID))&&(n.isDeleted=!0),e!==n&&(e.isDeleted=!0)}));for(var o=e[0].conversationID,r=this._messageListHandler.getLocalMessageList(o),a={},s=r.length-1;s>=0;s--)if(!r[s].isDeleted){a=r[s];break}var i=this._conversationMap.get(o);if(i){var u=!1;i.lastMessage.lastSequence===a.sequence&&i.lastMessage.lastTime===a.time||(qt(a)&&(a=void 0),i.updateLastMessage(a),i.type!==C.CONV_TOPIC&&(u=!0),Ge.log("".concat(this._className,".onMessageDeleted. update conversationID:").concat(o," with lastMessage:"),i.lastMessage)),o.startsWith(C.CONV_C2C)&&this.updateUnreadCount(o),u&&this.emitConversationUpdate(!0,!1)}}}},{key:"onMessageModified",value:function(e){var t=e.conversationType,n=e.from,o=e.to,r=e.time,a=e.sequence,s=e.elements,i=e.cloudCustomData,u=e.messageVersion,c=this.getMyUserID(),d="".concat(t).concat(o);o===c&&t===C.CONV_C2C&&(d="".concat(t).concat(n));var l=this._messageListHandler.onMessageModified(d,e),_=l.isUpdated,p=l.message;!0===_&&this.emitOuterEvent(E.MESSAGE_MODIFIED,[p]);var h=this._isTopicConversation(d);if(Ge.log("".concat(this._className,".onMessageModified isUpdated:").concat(_," isTopicMessage:").concat(h," from:").concat(n," to:").concat(o)),h)this.getModule(_n).onMessageModified(e);else{var m=this._conversationMap.get(d);if(m){var f=m.lastMessage;Ge.debug("".concat(this._className.onMessageModified," lastMessage:"),JSON.stringify(f),"options:",JSON.stringify(e)),f&&f.lastTime===r&&f.lastSequence===a&&f.version!==u&&(f.type=s[0].type,f.payload=s[0].content,f.messageForShow=Ft(f.type,f.payload),f.cloudCustomData=i,f.version=u,this.emitConversationUpdate(!0,!1))}}return p}},{key:"onNewGroupAtTips",value:function(e){var t=this,n=e.dataList,r=null;n.forEach((function(e){e.groupAtTips?r=e.groupAtTips:e.elements?r=o(o({},e.elements),{},{sync:!0}):e.groupAtType&&(r=o(o({},e),{},{sync:!0})),r.__random=e.random,r.__sequence=e.clientSequence,t._tmpGroupAtTipsList.push(r)})),Ge.debug("".concat(this._className,".onNewGroupAtTips isReady:").concat(this._isReady),this._tmpGroupAtTipsList),this._isReady&&this._handleGroupAtTipsList()}},{key:"_handleGroupAtTipsList",value:function(){var e=this;if(0!==this._tmpGroupAtTipsList.length){var t=!1;this._tmpGroupAtTipsList.forEach((function(n){var o=n.groupID,r=n.from,a=n.topicID,s=void 0===a?void 0:a,i=n.sync,u=void 0!==i&&i;if(r!==e.getMyUserID())if(et(s)){var c=e._conversationMap.get("".concat(C.CONV_GROUP).concat(o));c&&(c.updateGroupAtInfoList(n),t=!0)}else{var d=e._conversationMap.get("".concat(C.CONV_GROUP).concat(s));if(d){d.updateGroupAtInfoList(n);var l=e.getModule(_n),_=d.groupAtInfoList;l.onConversationProxy({topicID:s,groupAtInfoList:_})}qt(d)&&u&&(e.updateTopicConversation([{conversationID:"".concat(C.CONV_GROUP).concat(s),type:C.CONV_TOPIC}]),e._conversationMap.get("".concat(C.CONV_GROUP).concat(s)).updateGroupAtInfoList(n))}})),t&&this.emitConversationUpdate(!0,!1),this._tmpGroupAtTipsList.length=0}}},{key:"_getC2CPeerReadTime",value:function(e){var t=this,n=[];if(e.forEach((function(e){t._conversationMap.has(e.conversationID)||e.type!==C.CONV_C2C||n.push(e.conversationID.replace(C.CONV_C2C,""))})),n.length>0){Ge.debug("".concat(this._className,"._getC2CPeerReadTime userIDList:").concat(n));var o=this.getModule(un);o&&o.getRemotePeerReadTime(n)}}},{key:"_getStorageConversationList",value:function(){return this.getModule(mn).getItem("conversationMap")}},{key:"_setStorageConversationList",value:function(){var e=this.getLocalConversationList().slice(0,20).map((function(e){return{conversationID:e.conversationID,type:e.type,subType:e.subType,lastMessage:e.lastMessage,groupProfile:e.groupProfile,userProfile:e.userProfile}}));this.getModule(mn).setItem("conversationMap",e)}},{key:"emitConversationUpdate",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.getLocalConversationList();if(t){var o=this.getModule(cn);o&&o.updateGroupLastMessage(n)}e&&this.emitOuterEvent(E.CONVERSATION_LIST_UPDATED)}},{key:"getLocalConversationList",value:function(){return v(this._conversationMap.values()).filter((function(e){return e.type!==C.CONV_TOPIC}))}},{key:"getLocalConversation",value:function(e){return this._conversationMap.get(e)}},{key:"hasLocalConversation",value:function(e){return this._conversationMap.has(e)}},{key:"getLocalOldestMessage",value:function(e){return this._messageListHandler.getLocalOldestMessage(e)}},{key:"syncConversationList",value:function(){var e=this,t=new Hr(jr.SYNC_CONVERSATION_LIST);return this._pagingStatus===$t.NOT_START&&this._conversationMap.clear(),this._pagingGetConversationList().then((function(n){return e._pagingStatus=$t.RESOLVED,e._setStorageConversationList(),e._handleC2CPeerReadTime(),e._patchConversationProperties(),t.setMessage(e._conversationMap.size).setNetworkType(e.getNetworkType()).end(),n})).catch((function(n){return e._pagingStatus=$t.REJECTED,t.setMessage(e._pagingTimeStamp),e.probeNetwork().then((function(e){var o=y(e,2),r=o[0],a=o[1];t.setError(n,r,a).end()})),ma(n)}))}},{key:"_patchConversationProperties",value:function(){var e=this,t=Date.now(),n=this.checkAndPatchRemark(),o=this._messageRemindHandler.getC2CMessageRemindType(),r=this.getModule(cn).getGroupList();Promise.all([n,o,r]).then((function(){var n=Date.now()-t;Ge.log("".concat(e._className,"._patchConversationProperties ok. cost ").concat(n," ms")),e.emitConversationUpdate(!0,!1)}))}},{key:"_pagingGetConversationList",value:function(){var e=this,t="".concat(this._className,"._pagingGetConversationList");return Ge.log("".concat(t," timeStamp:").concat(this._pagingTimeStamp," startIndex:").concat(this._pagingStartIndex)+" pinnedTimeStamp:".concat(this._pagingPinnedTimeStamp," pinnedStartIndex:").concat(this._pagingPinnedStartIndex)),this._pagingStatus=$t.PENDING,this.request({protocolName:Qn,requestData:{fromAccount:this.getMyUserID(),timeStamp:this._pagingTimeStamp,startIndex:this._pagingStartIndex,pinnedTimeStamp:this._pagingPinnedTimeStamp,pinnedStartIndex:this._pagingStartIndex,orderType:1}}).then((function(n){var o=n.data,r=o.completeFlag,a=o.conversations,s=void 0===a?[]:a,i=o.timeStamp,u=o.startIndex,c=o.pinnedTimeStamp,d=o.pinnedStartIndex,l=o.groupItem;if(Ge.log("".concat(t," ok. completeFlag:").concat(r," count:").concat(s.length," isReady:").concat(e._isReady)),e._convGroupHandler.onConvGroupListSynced(l),s.length>0){var _=e._getConversationOptions(s);e._updateLocalConversationList({conversationOptionsList:_,isFromGetConversations:!0}),e.isLoggedIn()&&e.emitConversationUpdate()}if(!e._isReady){if(!e.isLoggedIn())return ha();e.triggerReady()}return e._pagingTimeStamp=i,e._pagingStartIndex=u,e._pagingPinnedTimeStamp=c,e._pagingPinnedStartIndex=d,1!==r?e._pagingGetConversationList():(e._handleGroupAtTipsList(),e._convGroupHandler.getRemoteConvGroupList(),ha())})).catch((function(n){throw e.isLoggedIn()&&(e._isReady||(Ge.warn("".concat(t," failed. error:"),n),e.triggerReady())),n}))}},{key:"_updateLocalConversationList",value:function(e){var t,n=e.isFromGetConversations,o=Date.now();t=this._getTmpConversationListMapping(e),this._conversationMap=new Map(this._sortConversationList([].concat(v(t.toBeUpdatedConversationList),v(this._conversationMap)))),n||this._updateUserOrGroupProfile(t.newConversationList),Ge.debug("".concat(this._className,"._updateLocalConversationList cost ").concat(Date.now()-o," ms"))}},{key:"_getTmpConversationListMapping",value:function(e){for(var t=e.conversationOptionsList,n=e.isFromGetConversations,o=e.isInstantMessage,r=e.isUnreadC2CMessage,a=void 0!==r&&r,s=[],i=[],u=this.getModule(cn),c=this.getModule(dn),d=0,l=t.length;d<l;d++){var _=new Ra(t[d]),p=_.conversationID;if(p!=="".concat(C.CONV_C2C,"@TLS#ERROR")&&p!=="".concat(C.CONV_C2C,"@TLS#NOT_FOUND"))if(this._conversationMap.has(p)){var h=this._conversationMap.get(p),m=["unreadCount","allowType","adminForbidType","payload","isPinned"];!1===o&&m.push("lastMessage");var f=t[d].lastMessage,g=!et(f);g||t[d].type===C.CONV_TOPIC||this._onLastMessageNotExist(t[d]),et(o)&&g&&null===h.lastMessage.payload&&(h.lastMessage.payload=f.payload),ct(h,_,m,[null,void 0,"",0,NaN]),h.updateUnreadCount({nextUnreadCount:_.unreadCount,isFromGetConversations:n,isUnreadC2CMessage:a}),o&&g&&(f.payload&&(h.lastMessage.payload=f.payload),h.type===C.CONV_GROUP&&(h.lastMessage.nameCard=f.nameCard,h.lastMessage.nick=f.nick)),g&&h.lastMessage.cloudCustomData!==f.cloudCustomData&&(h.lastMessage.cloudCustomData=f.cloudCustomData||""),this._conversationMap.delete(p),s.push([p,h])}else{if(_.type===C.CONV_GROUP&&u){var M=_.groupProfile.groupID,y=u.getLocalGroupProfile(M);y&&(_.groupProfile=y,_.updateUnreadCount({nextUnreadCount:0}))}else if(_.type===C.CONV_C2C){var v=p.replace(C.CONV_C2C,"");c&&c.isMyFriend(v)&&(_.remark=c.getFriendRemark(v))}i.push(_),s.push([p,_])}}var L=this.getModule(_n);return s.forEach((function(e){if(e[1].type===C.CONV_TOPIC){var t=e[1],n=t.conversationID,o=t.unreadCount,r=t.groupAtInfoList;L.onConversationProxy({topicID:n.replace(C.CONV_GROUP,""),unreadCount:o,groupAtInfoList:qt(r)?void 0:r})}})),{toBeUpdatedConversationList:s,newConversationList:i}}},{key:"_onLastMessageNotExist",value:function(e){new Hr(jr.LAST_MESSAGE_NOT_EXIST).setMessage("".concat(JSON.stringify(e))).setNetworkType(this.getNetworkType()).end()}},{key:"_sortConversationList",value:function(e){var t=[],n=[];return e.forEach((function(e){!0===e[1].isPinned?t.push(e):n.push(e)})),t.sort((function(e,t){return t[1].lastMessage.lastTime-e[1].lastMessage.lastTime})).concat(n.sort((function(e,t){return t[1].lastMessage.lastTime-e[1].lastMessage.lastTime})))}},{key:"_sortConversationListAndEmitEvent",value:function(){this._conversationMap=new Map(this._sortConversationList(v(this._conversationMap))),this.emitConversationUpdate(!0,!1)}},{key:"_updateUserOrGroupProfile",value:function(e){var t=this;if(0!==e.length){var n=[],o=[],r=this.getModule(sn),a=this.getModule(cn);e.forEach((function(e){if(e.type===C.CONV_C2C)n.push(e.toAccount);else if(e.type===C.CONV_GROUP){var t=e.toAccount;a.hasLocalGroup(t)?e.groupProfile=a.getLocalGroupProfile(t):o.push(t)}})),Ge.log("".concat(this._className,"._updateUserOrGroupProfile c2cUserIDList:").concat(n," groupIDList:").concat(o)),n.length>0&&r.getUserProfile({userIDList:n}).then((function(e){var n=e.data;Qe(n)?n.forEach((function(e){t._conversationMap.get("C2C".concat(e.userID)).userProfile=e})):t._conversationMap.get("C2C".concat(n.userID)).userProfile=n})),o.length>0&&a.getGroupProfileAdvance({groupIDList:o,responseFilter:{groupBaseInfoFilter:["Type","Name","FaceUrl"]}}).then((function(e){e.data.successGroupList.forEach((function(e){var n="GROUP".concat(e.groupID);if(t._conversationMap.has(n)){var o=t._conversationMap.get(n);ct(o.groupProfile,e,[],[null,void 0,"",0,NaN]),!o.subType&&e.type&&(o.subType=e.type)}}))}))}}},{key:"_getConversationOptions",value:function(e){var t=this,n=[],r=e.filter((function(e){var t=e.lastMsg;return Ze(t)})).filter((function(e){var t=e.type,n=e.userID;return 1===t&&"@TLS#NOT_FOUND"!==n&&"@TLS#ERROR"!==n||2===t})),a=this.getMyUserID(),s=r.map((function(e){if(1===e.type){var r={userID:e.userID,nick:e.peerNick,avatar:e.peerAvatar};return n.push(r),{conversationID:"C2C".concat(e.userID),type:"C2C",lastMessage:{lastTime:e.time,lastSequence:e.sequence,fromAccount:e.lastC2CMsgFromAccount,messageForShow:e.messageShow,type:e.lastMsg.elements[0]?e.lastMsg.elements[0].type:null,payload:e.lastMsg.elements[0]?e.lastMsg.elements[0].content:null,cloudCustomData:e.lastMsg.cloudCustomData||"",isRevoked:8===e.lastMessageFlag,onlineOnlyFlag:!1,nick:"",nameCard:"",version:0,isPeerRead:e.lastC2CMsgFromAccount===a&&e.time<=e.c2cPeerReadTime},userProfile:new Ca(r),peerReadTime:e.c2cPeerReadTime,isPinned:1===e.isPinned,messageRemindType:"",customData:e.customMark||"",markList:Ht(e.standardMark),conversationGroupList:t._convGroupHandler.getConvGroupListByID(e.contactGroupId)}}return{conversationID:"GROUP".concat(e.groupID),type:"GROUP",lastMessage:o(o({lastTime:e.time,lastSequence:e.messageReadSeq+e.unreadCount,fromAccount:e.msgGroupFromAccount,messageForShow:e.messageShow},t._patchTypeAndPayload(e)),{},{cloudCustomData:e.lastMsg.cloudCustomData||"",isRevoked:2===e.lastMessageFlag,onlineOnlyFlag:!1,nick:e.senderNick||"",nameCard:e.senderNameCard||""}),groupProfile:new wa({groupID:e.groupID,name:e.groupNick,avatar:e.groupImage}),unreadCount:e.unreadCount,peerReadTime:0,isPinned:1===e.isPinned,messageRemindType:"",version:0,customData:e.customMark||"",markList:Ht(e.standardMark),conversationGroupList:t._convGroupHandler.getConvGroupListByID(e.contactGroupId)}}));return n.length>0&&this.getModule(sn).onConversationsProfileUpdated(n),s}},{key:"_patchTypeAndPayload",value:function(e){var t=e.lastMsg,n=t.event,r=void 0===n?void 0:n,a=t.elements,s=void 0===a?[]:a,i=t.groupTips,u=void 0===i?{}:i;if(!et(r)&&!qt(u)){var c=new ra(u);c.setElement({type:C.MSG_GRP_TIP,content:o(o({},u.elements),{},{groupProfile:u.groupProfile})});var d=JSON.parse(JSON.stringify(c.payload));return c=null,{type:C.MSG_GRP_TIP,payload:d}}return{type:s[0]?s[0].type:null,payload:s[0]?s[0].content:null}}},{key:"getLocalMessageList",value:function(e){return this._messageListHandler.getLocalMessageList(e)}},{key:"deleteLocalMessage",value:function(e){e instanceof ra&&this._messageListHandler.remove(e)}},{key:"onConversationDeleted",value:function(e){var t=this;Ge.log("".concat(this._className,".onConversationDeleted")),Qe(e)&&e.forEach((function(e){var n=e.type,o=e.userID,r=e.groupID,a="";1===n?a="".concat(C.CONV_C2C).concat(o):2===n&&(a="".concat(C.CONV_GROUP).concat(r)),t.deleteLocalConversation(a)}))}},{key:"onConversationPinned",value:function(e){var t=this;if(Qe(e)){var n=!1;e.forEach((function(e){var o,r=e.type,a=e.userID,s=e.groupID;1===r?o=t.getLocalConversation("".concat(C.CONV_C2C).concat(a)):2===r&&(o=t.getLocalConversation("".concat(C.CONV_GROUP).concat(s))),o&&(Ge.log("".concat(t._className,".onConversationPinned conversationID:").concat(o.conversationID," isPinned:").concat(o.isPinned)),o.isPinned||(o.isPinned=!0,n=!0))})),n&&this._sortConversationListAndEmitEvent()}}},{key:"onConversationUnpinned",value:function(e){var t=this;if(Qe(e)){var n=!1;e.forEach((function(e){var o,r=e.type,a=e.userID,s=e.groupID;1===r?o=t.getLocalConversation("".concat(C.CONV_C2C).concat(a)):2===r&&(o=t.getLocalConversation("".concat(C.CONV_GROUP).concat(s))),o&&(Ge.log("".concat(t._className,".onConversationUnpinned conversationID:").concat(o.conversationID," isPinned:").concat(o.isPinned)),o.isPinned&&(o.isPinned=!1,n=!0))})),n&&this._sortConversationListAndEmitEvent()}}},{key:"getMessageList",value:function(e){var t=this,n=e.conversationID,o=e.nextReqMessageID,r=e.count,a="".concat(this._className,".getMessageList"),s=this.getLocalConversation(n),i="";if(s&&s.groupProfile&&(i=s.groupProfile.type),Lt(i))return Ge.log("".concat(a," not available in avchatroom. conversationID:").concat(n)),ha({messageList:[],nextReqMessageID:"",isCompleted:!0});(et(r)||r>15)&&(r=15),!o&&this._isNotInCommunity(n)&&(this._messageListHandler.removeByConversationID(n),this._completedMap.delete(n),this._roamingMessageSequenceMap.delete(n));var u=this._computeRemainingCount({conversationID:n,nextReqMessageID:o}),c=this._completedMap.has(n);if(Ge.log("".concat(a," conversationID:").concat(n," nextReqMessageID:").concat(o)+" remainingCount:".concat(u," count:").concat(r," isCompleted:").concat(c)),this._needGetHistory({conversationID:n,remainingCount:u,count:r}))return this.getHistoryMessages({conversationID:n,nextReqMessageID:o,count:20}).then((function(e){var o=e.nextReqID,r=e.storedMessageList,s=t._completedMap.has(n),i=r;u>0&&(i=t._messageListHandler.getLocalMessageList(n).slice(0,r.length+u));var c={nextReqMessageID:s?"":o,messageList:i,isCompleted:s};return Ge.log("".concat(a," ret.nextReqMessageID:").concat(c.nextReqMessageID," ret.isCompleted:").concat(c.isCompleted," ret.length:").concat(i.length)),aa(c)}));this.modifyMessageList(n);var d=this._getMessageListFromMemory({conversationID:n,nextReqMessageID:o,count:r});return ha(d)}},{key:"_getMessageListFromMemory",value:function(e){var t=e.conversationID,n=e.nextReqMessageID,o=e.count,r="".concat(this._className,"._getMessageListFromMemory"),a=this._messageListHandler.getLocalMessageList(t),s=a.length,i=0,u={isCompleted:!1,nextReqMessageID:"",messageList:[]};return n?(i=a.findIndex((function(e){return e.ID===n})))>o?(u.messageList=a.slice(i-o,i),u.nextReqMessageID=a[i-o].ID):(u.messageList=a.slice(0,i),u.isCompleted=!0):s>o?(i=s-o,u.messageList=a.slice(i,s),u.nextReqMessageID=a[i].ID):(u.messageList=a.slice(0,s),u.isCompleted=!0),Ge.log("".concat(r," conversationID:").concat(t)+" ret.nextReqMessageID:".concat(u.nextReqMessageID," ret.isCompleted:").concat(u.isCompleted," ret.length:").concat(u.messageList.length)),u}},{key:"getMessageListHopping",value:function(e){var t=e.conversationID,n=e.sequence,o=e.time,r=e.count,a=e.direction,s=void 0===a?0:a;if((et(r)||r>15)&&(r=15),t.startsWith(C.CONV_C2C)){var i=this.getModule(un),u=t.replace(C.CONV_C2C,"");return i.getRoamingMessagesHopping({peerAccount:u,time:o,count:r,direction:s})}if(t.startsWith(C.CONV_GROUP)){var c=this.getModule(cn),d=t.replace(C.CONV_GROUP,"");return c.getRoamingMessagesHopping({groupID:d,sequence:n,count:r,direction:s})}}},{key:"_computeRemainingCount",value:function(e){var t=e.conversationID,n=e.nextReqMessageID,o=this._messageListHandler.getLocalMessageList(t),r=o.length;if(!n)return r;var a=0;return kt(t)?a=o.findIndex((function(e){return e.ID===n})):It(t)&&(a=-1!==n.indexOf("-")?o.findIndex((function(e){return e.ID===n})):o.findIndex((function(e){return e.sequence===n}))),-1===a&&(a=0),a}},{key:"_getMessageListSize",value:function(e){return this._messageListHandler.getLocalMessageList(e).length}},{key:"_needGetHistory",value:function(e){var t=e.conversationID,n=e.remainingCount,o=e.count,r=this.getLocalConversation(t),a="";return r&&r.groupProfile&&(a=r.groupProfile.type),!St(t)&&!Lt(a)&&!(It(t)&&this._isPagingGetGroupListCompleted()&&!this._hasLocalGroup(t)&&!this._isTopicConversation(t))&&n<=o&&!this._completedMap.has(t)}},{key:"_isTopicConversation",value:function(e){var t=e.replace(C.CONV_GROUP,"");return Dt(t)}},{key:"getHistoryMessages",value:function(e){var t=e.conversationID,n=e.count;if(t===C.CONV_SYSTEM)return ha();var o=15;n>20&&(o=20);var r=null;if(kt(t)){var a=this._roamingMessageKeyAndTimeMap.has(t);return(r=this.getModule(un))?r.getRoamingMessage({conversationID:t,peerAccount:t.replace(C.CONV_C2C,""),count:o,lastMessageTime:a?this._roamingMessageKeyAndTimeMap.get(t).lastMessageTime:0,messageKey:a?this._roamingMessageKeyAndTimeMap.get(t).messageKey:""}):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}if(It(t)){if(!(r=this.getModule(cn)))return ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE});var s=null;this._conversationMap.has(t)&&(s=this._conversationMap.get(t).lastMessage);var i=0;s&&(i=s.lastSequence);var u=this._roamingMessageSequenceMap.get(t);return r.getRoamingMessage({conversationID:t,groupID:t.replace(C.CONV_GROUP,""),count:o,sequence:u||i})}return ha()}},{key:"patchConversationLastMessage",value:function(e){var t=this.getLocalConversation(e);if(t){var n=t.lastMessage,o=n.messageForShow,r=n.payload;if(qt(o)||qt(r)){var a=this._messageListHandler.getLocalMessageList(e);if(0===a.length)return;var s=a[a.length-1];Ge.log("".concat(this._className,".patchConversationLastMessage conversationID:").concat(e," payload:"),s.payload),t.updateLastMessage(s)}}}},{key:"onRoamingMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t.startsWith(C.CONV_C2C)?C.CONV_C2C:C.CONV_GROUP,a=null,s=[],i=[],u=0,c=e.length,d=null,l=r===C.CONV_GROUP,_=this.getModule(Mn),p=function(){u=l?e.length-1:0,c=l?0:e.length},h=function(){l?--u:++u},m=function(){return l?u>=c:u<c};for(p();m();h())if(l&&1===e[u].sequence&&n&&this.setCompleted(t),1!==e[u].isPlaceMessage)if((a=new ra(e[u])).to=e[u].to,r!==C.CONV_GROUP||et(e[u].topicID)||(a.to=e[u].topicID),a.isSystemMessage=!!e[u].isSystemMessage,a.conversationType=r,4===e[u].event?d={type:C.MSG_GRP_TIP,content:o(o({},e[u].elements),{},{groupProfile:e[u].groupProfile})}:(e[u].elements=_.parseElements(e[u].elements,e[u].from),d=e[u].elements),l||a.setNickAndAvatar({nick:e[u].nick,avatar:e[u].avatar}),qt(d)){var f=new Hr(jr.EMPTY_MESSAGE_BODY);f.setMessage("from:".concat(a.from," to:").concat(a.to," sequence:").concat(a.sequence," event:").concat(e[u].event)),f.setNetworkType(this.getNetworkType()).setLevel("warning").end()}else a.setElement(d),a.reInitialize(this.getMyUserID()),s.push(a);return p=h=m=null,n?(this._messageListHandler.unshift(s,i),s=null,i):(i=null,s)}},{key:"findMessage",value:function(e){return this._messageListHandler.findMessage(e)}},{key:"_isNotInCommunity",value:function(e){var t=!1;if(e.startsWith(C.CONV_GROUP)&&this._isTopicConversation(e)){var n=Ut(e.replace(C.CONV_GROUP,""));this.getModule(cn).hasLocalGroup(n)||(t=!0)}return t}},{key:"deleteTopicRoamingMessageInfo",value:function(e){var t=this;Tt({groupID:e})&&this._messageListHandler.getTopicConversationIDList(e).forEach((function(e){t._messageListHandler.removeByConversationID(e),t._completedMap.delete(e),t._roamingMessageSequenceMap.delete(e)}))}},{key:"deleteGroupRomaingMessageInfo",value:function(e){var t="".concat(C.CONV_GROUP).concat(e);this._messageListHandler.removeByConversationID(t),this._completedMap.delete(t),this._roamingMessageSequenceMap.delete(t)}},{key:"setMessageRead",value:function(e){var t=e.conversationID,n=this.getLocalConversation(t);if(Ge.log("".concat(this._className,".setMessageRead conversationID:").concat(t," unreadCount:").concat(n?n.unreadCount:0)),!n)return ha();if(n.type!==C.CONV_GROUP&&n.type!==C.CONV_TOPIC||qt(n.groupAtInfoList)||this.deleteGroupAtTips(t),0===n.unreadCount)return ha();if(n.type===C.CONV_GROUP&&!this._hasLocalGroup(t))return 0!==n.unreadCount&&(n.unreadCount=0,this.emitConversationUpdate(!0,!1)),ha();var o=this._messageListHandler.getLocalLastMessage(t),r=n.lastMessage.lastTime;o&&r<o.time&&(r=o.time);var a=n.lastMessage.lastSequence;if(o&&a<o.sequence&&(a=o.sequence),n.type===C.CONV_TOPIC&&et(o)){var s=this.getModule(_n),i=t.replace(C.CONV_GROUP,""),u=Ut(i),c=s.getLocalTopic(u,i);c&&(a=c.nextMessageSeq-1)}var d=null;switch(n.type){case C.CONV_C2C:return(d=this.getModule(un))?d.setMessageRead({conversationID:t,lastMessageTime:r}):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE});case C.CONV_GROUP:case C.CONV_TOPIC:return(d=this.getModule(cn))?d.setMessageRead({conversationID:t,lastMessageSeq:a}):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE});case C.CONV_SYSTEM:return n.unreadCount=0,this.emitConversationUpdate(!0,!1),ha();default:return ha()}}},{key:"setAllMessageRead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n="".concat(this._className,".setAllMessageRead");t.scope||(t.scope=C.READ_ALL_MSG),Ge.log("".concat(n," options:"),t);var o=this._createSetAllMessageReadPack(t);if(0===o.readAllC2CMessage&&0===o.groupMessageReadInfoList.length)return ha();var r=new Hr(jr.SET_ALL_MESSAGE_READ);return this.request({protocolName:Eo,requestData:o}).then((function(n){var o=n.data,a=e._handleAllMessageRead(o);return r.setMessage("scope:".concat(t.scope," failureGroups:").concat(JSON.stringify(a))).setNetworkType(e.getNetworkType()).end(),ha()})).catch((function(t){return e.probeNetwork().then((function(e){var n=y(e,2),o=n[0],a=n[1];r.setError(t,o,a).end()})),Ge.warn("".concat(n," failed. error:"),t),ma({code:t&&t.code?t.code:Ir.MESSAGE_UNREAD_ALL_FAIL,message:t&&t.message?t.message:Sr.MESSAGE_UNREAD_ALL_FAIL})}))}},{key:"setConversationCustomData",value:function(e){return this._convGroupHandler.setConvCustomData(e)}},{key:"markConversation",value:function(e){return this._convGroupHandler.markConversation(e)}},{key:"getConversationGroupList",value:function(){return this._convGroupHandler.getLocalConvGroupList()}},{key:"createConversationGroup",value:function(e){return this._convGroupHandler.createConvGroup(e)}},{key:"deleteConversationGroup",value:function(e){return this._convGroupHandler.deleteConvGroup(e)}},{key:"renameConversationGroup",value:function(e){return this._convGroupHandler.renameConvGroup(e)}},{key:"addConversationsToGroup",value:function(e){return this._convGroupHandler.addConvsToGroup(e)}},{key:"deleteConversationsFromGroup",value:function(e){return this._convGroupHandler.deleteConvsFromGroup(e)}},{key:"onConversationMarkUpdated",value:function(e){this._convGroupHandler.onConvMarkUpdated(e)}},{key:"onConversationGroupCreated",value:function(e){this._convGroupHandler.onConvGroupCreated(e)}},{key:"onConversationGroupDeleted",value:function(e){this._convGroupHandler.onConvGroupDeleted(e)}},{key:"onConversationGroupNameUpdated",value:function(e){this._convGroupHandler.onConvGroupNameUpdated(e)}},{key:"onConversationInGroupUpdated",value:function(e){this._convGroupHandler.onConvInGroupUpdated(e)}},{key:"_getConversationLastMessageSequence",value:function(e){var t=this._messageListHandler.getLocalLastMessage(e.conversationID),n=e.lastMessage.lastSequence;return t&&n<t.sequence&&(n=t.sequence),n}},{key:"_getConversationLastMessageTime",value:function(e){var t=this._messageListHandler.getLocalLastMessage(e.conversationID),n=e.lastMessage.lastTime;return t&&n<t.time&&(n=t.time),n}},{key:"_createSetAllMessageReadPack",value:function(e){var t,n={readAllC2CMessage:0,groupMessageReadInfoList:[]},o=e.scope,r=S(this._conversationMap);try{for(r.s();!(t=r.n()).done;){var a=y(t.value,2)[1];if(a.unreadCount>0)if(a.type===C.CONV_C2C&&0===n.readAllC2CMessage){if(o===C.READ_ALL_MSG)n.readAllC2CMessage=1;else if(o===C.READ_ALL_C2C_MSG){n.readAllC2CMessage=1;break}}else if(a.type===C.CONV_GROUP&&(o===C.READ_ALL_GROUP_MSG||o===C.READ_ALL_MSG)){var s=this._getConversationLastMessageSequence(a);n.groupMessageReadInfoList.push({groupID:a.groupProfile.groupID,messageSequence:s})}}}catch(c){r.e(c)}finally{r.f()}return n}},{key:"onPushedAllMessageRead",value:function(e){this._handleAllMessageRead(e)}},{key:"_handleAllMessageRead",value:function(e){var t=e.groupMessageReadInfoList,n=e.readAllC2CMessage,o=this._parseGroupReadInfo(t);return this._updateAllConversationUnreadCount({readAllC2CMessage:n})>=1&&this.emitConversationUpdate(!0,!1),o}},{key:"_parseGroupReadInfo",value:function(e){var t=[];if(e&&e.length)for(var n=0,o=e.length;n<o;n++){var r=e[n],a=r.groupID,s=r.sequence,i=r.retCode,u=r.lastMessageSeq;et(i)?this._remoteGroupReadSequenceMap.set(a,u):(this._remoteGroupReadSequenceMap.set(a,s),0!==i&&t.push("".concat(a,"-").concat(s,"-").concat(i)))}return t}},{key:"_updateAllConversationUnreadCount",value:function(e){var t,n=e.readAllC2CMessage,o=0,r=S(this._conversationMap);try{for(r.s();!(t=r.n()).done;){var a=y(t.value,2),s=a[0],i=a[1];if(i.unreadCount>=1){if(1===n&&i.type===C.CONV_C2C){var u=this._getConversationLastMessageTime(i);this.updateIsReadAfterReadReport({conversationID:s,lastMessageTime:u})}else if(i.type===C.CONV_GROUP){var c=s.replace(C.CONV_GROUP,"");if(this._remoteGroupReadSequenceMap.has(c)){var d=this._remoteGroupReadSequenceMap.get(c),l=this._getConversationLastMessageSequence(i);this.updateIsReadAfterReadReport({conversationID:s,remoteReadSequence:d}),l>=d&&this._remoteGroupReadSequenceMap.delete(c)}}this.updateUnreadCount(s,!1)&&(o+=1)}}}catch(h){r.e(h)}finally{r.f()}return o}},{key:"isRemoteRead",value:function(e){var t=e.conversationID,n=e.sequence,o=t.replace(C.CONV_GROUP,""),r=!1;if(this._remoteGroupReadSequenceMap.has(o)){var a=this._remoteGroupReadSequenceMap.get(o);n<=a&&(r=!0,Ge.log("".concat(this._className,".isRemoteRead conversationID:").concat(t," messageSequence:").concat(n," remoteReadSequence:").concat(a))),n>=a+10&&this._remoteGroupReadSequenceMap.delete(o)}return r}},{key:"updateIsReadAfterReadReport",value:function(e){var t=e.conversationID,n=e.lastMessageSeq,o=e.lastMessageTime,r=this._messageListHandler.getLocalMessageList(t);if(0!==r.length)for(var a,s=r.length-1;s>=0;s--)if(a=r[s],!(o&&a.time>o||n&&a.sequence>n)){if("in"===a.flow&&a.isRead)break;a.setIsRead(!0)}}},{key:"updateUnreadCount",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!1,o=this.getLocalConversation(e),r=this._messageListHandler.getLocalMessageList(e);if(o){var a=o.unreadCount,s=r.filter((function(e){return!e.isRead&&!e._onlineOnlyFlag&&!e.isDeleted})).length;if(a!==s&&(o.unreadCount=s,n=!0,Ge.log("".concat(this._className,".updateUnreadCount from ").concat(a," to ").concat(s,", conversationID:").concat(e)),!0===t&&this.emitConversationUpdate(!0,!1)),n&&o.type===C.CONV_TOPIC){var i=o.unreadCount,u=this.getModule(_n),c=e.replace(C.CONV_GROUP,"");u.onConversationProxy({topicID:c,unreadCount:i})}return n}}},{key:"clearGroupAtInfoList",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.getLocalConversation(e);if(n&&n.groupAtInfoList.length>0){if(n.clearGroupAtInfoList(),Ge.log("".concat(this._className,".clearGroupAtInfoList conversationID:").concat(e)),n.type===C.CONV_TOPIC){var o=n.groupAtInfoList,r=this.getModule(_n),a=e.replace(C.CONV_GROUP,"");r.onConversationProxy({topicID:a,groupAtInfoList:o})}!0===t&&this.emitConversationUpdate(!0,!1)}}},{key:"updateReadReceiptInfo",value:function(e){var t=this,n=e.userID,o=void 0===n?void 0:n,r=e.groupID,a=void 0===r?void 0:r,s=e.readReceiptList;if(!qt(s)){var i=[];if(et(o)){if(!et(a)){var u="".concat(C.CONV_GROUP).concat(a);s.forEach((function(e){var n=e.tinyID,o=e.clientTime,r=e.random,s=e.readCount,c=e.unreadCount,d="".concat(n,"-").concat(o,"-").concat(r),l=t._messageListHandler.getLocalMessage(u,d),_={groupID:a,messageID:d,readCount:0,unreadCount:0};l&&(ze(s)&&(l.readReceiptInfo.readCount=s,_.readCount=s),ze(c)&&(l.readReceiptInfo.unreadCount=c,_.unreadCount=c),i.push(_))}))}}else{var c="".concat(C.CONV_C2C).concat(o);s.forEach((function(e){var n=e.tinyID,r=e.clientTime,a=e.random,s="".concat(n,"-").concat(r,"-").concat(a),u=t._messageListHandler.getLocalMessage(c,s);if(u&&!u.isPeerRead){u.isPeerRead=!0;var d={userID:o,messageID:s,isPeerRead:!0};i.push(d)}}))}i.length>0&&this.emitOuterEvent(E.MESSAGE_READ_RECEIPT_RECEIVED,i)}}},{key:"recomputeGroupUnreadCount",value:function(e){var t=e.conversationID,n=e.count,o=this.getLocalConversation(t);if(o){var r=o.unreadCount,a=r-n;a<0&&(a=0),o.unreadCount=a,Ge.log("".concat(this._className,".recomputeGroupUnreadCount from ").concat(r," to ").concat(a,", conversationID:").concat(t))}}},{key:"updateIsRead",value:function(e){var t=this.getLocalConversation(e),n=this.getLocalMessageList(e);if(t&&0!==n.length&&!St(t.type)){for(var o=[],r=0,a=n.length;r<a;r++)"in"!==n[r].flow?"out"!==n[r].flow||n[r].isRead||n[r].setIsRead(!0):o.push(n[r]);var s=0;if(t.type===C.CONV_C2C){var i=o.slice(-t.unreadCount).filter((function(e){return e.isRevoked})).length;s=o.length-t.unreadCount-i}else s=o.length-t.unreadCount;for(var u=0;u<s&&!o[u].isRead;u++)o[u].setIsRead(!0)}}},{key:"deleteGroupAtTips",value:function(e){var t=this,n="".concat(this._className,".deleteGroupAtTips");Ge.log("".concat(n));var o=this._conversationMap.get(e);if(!o)return Promise.resolve();var r=o.groupAtInfoList;if(0===r.length)return Promise.resolve();var a=void 0;e.startsWith(C.CONV_GROUP)&&(a=e.replace(C.CONV_GROUP,""));var s=v(r);if((Tt({groupID:a})||Dt(a))&&0===(s=r.filter((function(e){return!e.atTypeArray.includes(C.CONV_AT_ALL)}))).length)return this.clearGroupAtInfoList(e,!1),Promise.resolve();var i=this.getMyUserID();return this.request({protocolName:oo,requestData:{messageListToDelete:s.map((function(e){return{from:e.from,to:i,messageSeq:e.__sequence,messageRandom:e.__random,groupID:et(e.topicID)?e.groupID:e.topicID}}))}}).then((function(){return Ge.log("".concat(n," ok. count:").concat(r.length)),t.clearGroupAtInfoList(e,!1),Promise.resolve()})).catch((function(e){return Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"appendToMessageList",value:function(e){this._messageListHandler.pushIn(e)}},{key:"setMessageRandom",value:function(e){this.singlyLinkedList.set(e.random)}},{key:"deleteMessageRandom",value:function(e){this.singlyLinkedList.delete(e.random)}},{key:"pushIntoMessageList",value:function(e,t,n){return!(!this._messageListHandler.pushIn(t,n)||this._isMessageFromCurrentInstance(t)&&!n)&&(e.push(t),!0)}},{key:"_isMessageFromCurrentInstance",value:function(e){return this.singlyLinkedList.has(e.random)}},{key:"revoke",value:function(e,t,n){return this._messageListHandler.revoke(e,t,n)}},{key:"getPeerReadTime",value:function(e){return this._peerReadTimeMap.get(e)}},{key:"recordPeerReadTime",value:function(e,t){this._peerReadTimeMap.has(e)?this._peerReadTimeMap.get(e)<t&&this._peerReadTimeMap.set(e,t):this._peerReadTimeMap.set(e,t)}},{key:"updateMessageIsPeerReadProperty",value:function(e,t){if(e.startsWith(C.CONV_C2C)&&t>0){var n=this._messageListHandler.updateMessageIsPeerReadProperty(e,t);if(n.length>0&&this.emitOuterEvent(E.MESSAGE_READ_BY_PEER,n),this._conversationMap.has(e)){var o=this._conversationMap.get(e).lastMessage;qt(o)||o.fromAccount===this.getMyUserID()&&o.lastTime<=t&&!o.isPeerRead&&(o.isPeerRead=!0,this.emitConversationUpdate(!0,!1))}}}},{key:"updateMessageIsModifiedProperty",value:function(e){this._messageListHandler.updateMessageIsModifiedProperty(e)}},{key:"setCompleted",value:function(e){Ge.log("".concat(this._className,".setCompleted. conversationID:").concat(e)),this._completedMap.set(e,!0)}},{key:"updateRoamingMessageKeyAndTime",value:function(e,t,n){this._roamingMessageKeyAndTimeMap.set(e,{messageKey:t,lastMessageTime:n})}},{key:"updateRoamingMessageSequence",value:function(e,t){this._roamingMessageSequenceMap.set(e,t)}},{key:"getConversationList",value:function(e){var t=this,n="".concat(this._className,".getConversationList"),o="pagingStatus:".concat(this._pagingStatus,", local conversation count:").concat(this._conversationMap.size,", options:").concat(e);if(Ge.log("".concat(n,". ").concat(o)),this._pagingStatus===$t.REJECTED){var r=new Hr(jr.GET_CONVERSATION_LIST);return r.setMessage(o),this.syncConversationList().then((function(){r.setNetworkType(t.getNetworkType()).end();var n=t._getConversationList(e);return aa({conversationList:n})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];r.setError(e,o,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}if(0===this._conversationMap.size){var a=new Hr(jr.GET_CONVERSATION_LIST);return a.setMessage(o),this.syncConversationList().then((function(){a.setNetworkType(t.getNetworkType()).end();var n=t._getConversationList(e);return aa({conversationList:n})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}var s=this._getConversationList(e);return Ge.log("".concat(n,". returned conversation count:").concat(s.length)),ha({conversationList:s})}},{key:"_getConversationList",value:function(e){if(et(e))return this.getLocalConversationList();if(Qe(e))return 0===e.length?[]:this.getLocalConversationList().filter((function(t){return e.includes(t.conversationID)}));if(Ze(e)){var t=e.type,n=e.markType,o=e.groupName;return this.getLocalConversationList().filter((function(e){return(t!==C.CONV_C2C&&t!==C.CONV_GROUP||e.type===t)&&(!Je(o)||e.conversationGroupList.includes(o))&&(!ze(n)||e.markList.includes(n))}))}return[]}},{key:"_handleC2CPeerReadTime",value:function(){var e,t=S(this._conversationMap);try{for(t.s();!(e=t.n()).done;){var n=y(e.value,2),o=n[0],r=n[1];r.type===C.CONV_C2C&&(Ge.debug("".concat(this._className,"._handleC2CPeerReadTime conversationID:").concat(o," peerReadTime:").concat(r.peerReadTime)),this.recordPeerReadTime(o,r.peerReadTime))}}catch(i){t.e(i)}finally{t.f()}}},{key:"_isPagingGetGroupListCompleted",value:function(){return this.getModule(cn).isPagingGetCompleted()}},{key:"_hasLocalGroup",value:function(e){return this.getModule(cn).hasLocalGroup(e.replace(C.CONV_GROUP,""))}},{key:"getConversationProfile",value:function(e){var t,n=this;if((t=this._conversationMap.has(e)?this._conversationMap.get(e):new Ra({conversationID:e,type:e.slice(0,3)===C.CONV_C2C?C.CONV_C2C:C.CONV_GROUP}))._isInfoCompleted||t.type===C.CONV_SYSTEM)return ha({conversation:t});if(It(e)&&!this._hasLocalGroup(e))return ha({conversation:t});var o=new Hr(jr.GET_CONVERSATION_PROFILE),r="".concat(this._className,".getConversationProfile");return Ge.log("".concat(r,". conversationID:").concat(e," remark:").concat(t.remark," lastMessage:"),t.lastMessage),this._updateUserOrGroupProfileCompletely(t).then((function(a){o.setNetworkType(n.getNetworkType()).setMessage("conversationID:".concat(e," unreadCount:").concat(a.data.conversation.unreadCount)).end();var s=n.getModule(dn);if(s&&t.type===C.CONV_C2C){var i=e.replace(C.CONV_C2C,"");if(s.isMyFriend(i)){var u=s.getFriendRemark(i);t.remark!==u&&(t.remark=u,Ge.log("".concat(r,". conversationID:").concat(e," patch remark:").concat(t.remark)))}}return Ge.log("".concat(r," ok. conversationID:").concat(e)),a})).catch((function(t){return n.probeNetwork().then((function(n){var r=y(n,2),a=r[0],s=r[1];o.setError(t,a,s).setMessage("conversationID:".concat(e)).end()})),Ge.error("".concat(r," failed. error:"),t),ma(t)}))}},{key:"_updateUserOrGroupProfileCompletely",value:function(e){var t=this;return e.type===C.CONV_C2C?this.getModule(sn).getUserProfile({userIDList:[e.toAccount]}).then((function(n){var o=n.data;return 0===o.length?ma(new la({code:Ir.USER_OR_GROUP_NOT_FOUND,message:Sr.USER_OR_GROUP_NOT_FOUND})):(e.userProfile=o[0],e._isInfoCompleted=!0,t._unshiftConversation(e),ha({conversation:e}))})):this.getModule(cn).getGroupProfile({groupID:e.toAccount}).then((function(n){return e.groupProfile=n.data.group,e._isInfoCompleted=!0,t._unshiftConversation(e),ha({conversation:e})}))}},{key:"_unshiftConversation",value:function(e){e instanceof Ra&&!this._conversationMap.has(e.conversationID)&&(this._conversationMap=new Map([[e.conversationID,e]].concat(v(this._conversationMap))),this._setStorageConversationList(),this.emitConversationUpdate(!0,!1))}},{key:"_onProfileUpdated",value:function(e){var t=this;e.data.forEach((function(e){var n=e.userID;if(n===t.getMyUserID())t._onMyProfileModified({latestNick:e.nick,latestAvatar:e.avatar});else{var o=t._conversationMap.get("".concat(C.CONV_C2C).concat(n));o&&(o.userProfile=e)}}))}},{key:"deleteConversation",value:function(e){var t=this,n={fromAccount:this.getMyUserID(),toAccount:void 0,type:void 0,toGroupID:void 0};if(!this._conversationMap.has(e)){var o=new la({code:Ir.CONVERSATION_NOT_FOUND,message:Sr.CONVERSATION_NOT_FOUND});return ma(o)}var r=this._conversationMap.get(e).type;if(r===C.CONV_C2C)n.type=1,n.toAccount=e.replace(C.CONV_C2C,"");else{if(r!==C.CONV_GROUP){if(r===C.CONV_SYSTEM)return this.getModule(cn).deleteGroupSystemNotice({messageList:this._messageListHandler.getLocalMessageList(e)}),this.deleteLocalConversation(e),ha({conversationID:e});var a=new la({code:Ir.CONVERSATION_UN_RECORDED_TYPE,message:Sr.CONVERSATION_UN_RECORDED_TYPE});return ma(a)}if(!this._hasLocalGroup(e))return this.deleteLocalConversation(e),ha({conversationID:e});n.type=2,n.toGroupID=e.replace(C.CONV_GROUP,"")}var s=new Hr(jr.DELETE_CONVERSATION);s.setMessage("conversationID:".concat(e));var i="".concat(this._className,".deleteConversation");return Ge.log("".concat(i,". conversationID:").concat(e)),this.setMessageRead({conversationID:e}).then((function(){return t.request({protocolName:to,requestData:n})})).then((function(){return s.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(i," ok")),t.deleteLocalConversation(e),ha({conversationID:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(i," failed. error:"),e),ma(e)}))}},{key:"pinConversation",value:function(e){var t=this,n=e.conversationID,o=e.isPinned;if(!this._conversationMap.has(n))return ma({code:Ir.CONVERSATION_NOT_FOUND,message:Sr.CONVERSATION_NOT_FOUND});var r=this.getLocalConversation(n);if(r.isPinned===o)return ha({conversationID:n});var a=new Hr(jr.PIN_CONVERSATION);a.setMessage("conversationID:".concat(n," isPinned:").concat(o));var s="".concat(this._className,".pinConversation");Ge.log("".concat(s,". conversationID:").concat(n," isPinned:").concat(o));var i=null;return kt(n)?i={type:1,toAccount:n.replace(C.CONV_C2C,"")}:It(n)&&(i={type:2,groupID:n.replace(C.CONV_GROUP,"")}),this.request({protocolName:no,requestData:{fromAccount:this.getMyUserID(),operationType:!0===o?1:2,itemList:[i]}}).then((function(){return a.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(s," ok")),r.isPinned!==o&&(r.isPinned=o,t._sortConversationListAndEmitEvent()),aa({conversationID:n})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.error("".concat(s," failed. error:"),e),ma(e)}))}},{key:"setMessageRemindType",value:function(e){return this._messageRemindHandler.set(e)}},{key:"patchMessageRemindType",value:function(e){var t=e.ID,n=e.isC2CConversation,o=e.messageRemindType,r=!1,a=this.getLocalConversation(n?"".concat(C.CONV_C2C).concat(t):"".concat(C.CONV_GROUP).concat(t));return a&&a.messageRemindType!==o&&(a.messageRemindType=o,r=!0),Ge.debug("".concat(this._className,".patchMessageRemindType options:"),e,"ret:".concat(r)),r}},{key:"onC2CMessageRemindTypeSynced",value:function(e){var t=this;Ge.debug("".concat(this._className,".onC2CMessageRemindTypeSynced options:"),e),e.dataList.forEach((function(e){if(!qt(e.muteNotificationsSync)){var n,o=e.muteNotificationsSync,r=o.to,a=o.updateSequence,s=o.muteFlag;t._messageRemindHandler.setUpdateSequence(a),0===s?n=C.MSG_REMIND_ACPT_AND_NOTE:1===s?n=C.MSG_REMIND_DISCARD:2===s&&(n=C.MSG_REMIND_ACPT_NOT_NOTE);var i=0;t.patchMessageRemindType({ID:r,isC2CConversation:!0,messageRemindType:n})&&(i+=1),Ge.log("".concat(t._className,".onC2CMessageRemindTypeSynced updateCount:").concat(i)),i>=1&&t.emitConversationUpdate(!0,!1)}}))}},{key:"onGroupMessageRemindTypeSynced",value:function(e){Ge.debug("".concat(this._className,".onGroupMessageRemindTypeSynced options:"),e),this._messageRemindHandler.onGroupMessageRemindTypeUpdated(e)}},{key:"deleteLocalConversation",value:function(e){var t=this._conversationMap.has(e);if(Ge.log("".concat(this._className,".deleteLocalConversation conversationID:").concat(e," has:").concat(t)),t){this._conversationMap.delete(e),this._roamingMessageKeyAndTimeMap.has(e)&&this._roamingMessageKeyAndTimeMap.delete(e),this._roamingMessageSequenceMap.has(e)&&this._roamingMessageSequenceMap.delete(e),this._setStorageConversationList(),this._messageListHandler.removeByConversationID(e),this._completedMap.delete(e);var n=!this._isTopicConversation(e);this.emitConversationUpdate(n,!1)}}},{key:"isMessageSentByCurrentInstance",value:function(e){return!(!this._messageListHandler.hasLocalMessage(e.conversationID,e.ID)&&!this.singlyLinkedList.has(e.random))}},{key:"modifyMessageList",value:function(e){if(e.startsWith(C.CONV_C2C)&&this._conversationMap.has(e)){var t=this._conversationMap.get(e),n=Date.now();this._messageListHandler.modifyMessageSentByPeer({conversationID:e,latestNick:t.userProfile.nick,latestAvatar:t.userProfile.avatar});var o=this.getModule(sn).getNickAndAvatarByUserID(this.getMyUserID());this._messageListHandler.modifyMessageSentByMe({conversationID:e,latestNick:o.nick,latestAvatar:o.avatar}),Ge.log("".concat(this._className,".modifyMessageList conversationID:").concat(e," cost ").concat(Date.now()-n," ms"))}}},{key:"updateUserProfileSpecifiedKey",value:function(e){Ge.log("".concat(this._className,".updateUserProfileSpecifiedKey options:"),e);var t=e.conversationID,n=e.nick,o=e.avatar;if(this._conversationMap.has(t)){var r=this._conversationMap.get(t).userProfile;Je(n)&&r.nick!==n&&(r.nick=n),Je(o)&&r.avatar!==o&&(r.avatar=o),this.emitConversationUpdate(!0,!1)}}},{key:"_onMyProfileModified",value:function(e){var t=this,n=this.getLocalConversationList(),r=Date.now();n.forEach((function(n){t.modifyMessageSentByMe(o({conversationID:n.conversationID},e))})),Ge.log("".concat(this._className,"._onMyProfileModified. modify all messages sent by me, cost ").concat(Date.now()-r," ms"))}},{key:"modifyMessageSentByMe",value:function(e){this._messageListHandler.modifyMessageSentByMe(e)}},{key:"getLatestMessageSentByMe",value:function(e){return this._messageListHandler.getLatestMessageSentByMe(e)}},{key:"modifyMessageSentByPeer",value:function(e){this._messageListHandler.modifyMessageSentByPeer(e)}},{key:"getLatestMessageSentByPeer",value:function(e){return this._messageListHandler.getLatestMessageSentByPeer(e)}},{key:"pushIntoNoticeResult",value:function(e,t){return!(!this._messageListHandler.pushIn(t)||this.singlyLinkedList.has(t.random))&&(e.push(t),!0)}},{key:"getGroupLocalLastMessageSequence",value:function(e){return this._messageListHandler.getGroupLocalLastMessageSequence(e)}},{key:"checkAndPatchRemark",value:function(){var e=Promise.resolve();if(0===this._conversationMap.size)return e;var t=this.getModule(dn);if(!t)return e;var n=v(this._conversationMap.values()).filter((function(e){return e.type===C.CONV_C2C}));if(0===n.length)return e;var o=0;return n.forEach((function(e){var n=e.conversationID.replace(C.CONV_C2C,"");if(t.isMyFriend(n)){var r=t.getFriendRemark(n);e.remark!==r&&(e.remark=r,o+=1)}})),Ge.log("".concat(this._className,".checkAndPatchRemark. c2c conversation count:").concat(n.length,", patched count:").concat(o)),e}},{key:"updateTopicConversation",value:function(e){this._updateLocalConversationList({conversationOptionsList:e,isFromGetConversations:!0})}},{key:"sendReadReceipt",value:function(e){var t=e[0],n=null;return t.conversationType===C.CONV_C2C?n=this._moduleManager.getModule(un):t.conversationType===C.CONV_GROUP&&(n=this._moduleManager.getModule(cn)),n?n.sendReadReceipt(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"getReadReceiptList",value:function(e){var t=e[0],n=null;return t.conversationType===C.CONV_C2C?n=this._moduleManager.getModule(un):t.conversationType===C.CONV_GROUP&&(n=this._moduleManager.getModule(cn)),n?n.getReadReceiptList(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"getLastMessageTime",value:function(e){var t=this.getLocalConversation(e);return t?t.lastMessage.lastTime:0}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._pagingStatus=$t.NOT_START,this._messageListHandler.reset(),this._messageRemindHandler.reset(),this._roamingMessageKeyAndTimeMap.clear(),this._roamingMessageSequenceMap.clear(),this.singlyLinkedList.reset(),this._peerReadTimeMap.clear(),this._completedMap.clear(),this._conversationMap.clear(),this._pagingTimeStamp=0,this._pagingStartIndex=0,this._pagingPinnedTimeStamp=0,this._pagingPinnedStartIndex=0,this._remoteGroupReadSequenceMap.clear(),this.resetReady()}}]),n}(bn),Ua=function(){function e(t){a(this,e),this._groupModule=t,this._className="GroupTipsHandler",this._cachedGroupTipsMap=new Map,this._checkCountMap=new Map,this.MAX_CHECK_COUNT=4,this._getTopicPendingMap=new Map}return i(e,[{key:"onCheckTimer",value:function(e){e%1==0&&this._cachedGroupTipsMap.size>0&&this._checkCachedGroupTips()}},{key:"_checkCachedGroupTips",value:function(){var e=this;this._cachedGroupTipsMap.forEach((function(t,n){var o=e._checkCountMap.get(n),r=e._groupModule.hasLocalGroup(n);Ge.log("".concat(e._className,"._checkCachedGroupTips groupID:").concat(n," hasLocalGroup:").concat(r," checkCount:").concat(o)),r?(e._notifyCachedGroupTips(n),e._checkCountMap.delete(n),e._groupModule.deleteUnjoinedAVChatRoom(n)):o>=e.MAX_CHECK_COUNT?(e._deleteCachedGroupTips(n),e._checkCountMap.delete(n)):(o++,e._checkCountMap.set(n,o))}))}},{key:"onNewGroupTips",value:function(e){Ge.debug("".concat(this._className,".onReceiveGroupTips count:").concat(e.dataList.length));var t=this.newGroupTipsStoredAndSummary(e),n=t.eventDataList,o=t.result,r=t.AVChatRoomMessageList;r.length>0&&this._groupModule.onAVChatRoomMessage(r),n.length>0&&(this._groupModule.updateNextMessageSeq(n),this._groupModule.getModule(pn).onNewMessage({conversationOptionsList:n,isInstantMessage:!0})),o.length>0&&(this._groupModule.emitOuterEvent(E.MESSAGE_RECEIVED,o),this.handleMessageList(o))}},{key:"newGroupTipsStoredAndSummary",value:function(e){for(var t=this,n=e.event,r=e.dataList,a=null,s=[],i=[],u={},c=[],d=function(e,d){var l=Mt(r[e]),_=l.groupProfile,p=_.groupID,h=_.communityType,m=void 0===h?0:h,f=_.topicID,g=void 0===f?void 0:f,M=void 0,y=2===m&&!qt(g);if(y){M=C.CONV_TOPIC,l.to=g;var v=t._groupModule.getModule(_n);v.hasLocalTopic(p,g)||t._getTopicPendingMap.has(g)||(t._getTopicPendingMap.set(g,1),v.getTopicList({groupID:p,topicIDList:[g]}).finally((function(){t._getTopicPendingMap.delete(g)})))}if(2===m&&qt(g))return"continue";var L=t._groupModule.hasLocalGroup(p);if(!L&&t._groupModule.isUnjoinedAVChatRoom(p))return"continue";if(!L&&!y)return t._cacheGroupTipsAndProbe({groupID:p,event:n,item:l}),"continue";if(t._groupModule.isMessageFromOrToAVChatroom(p))return l.event=n,c.push(l),"continue";l.currentUser=t._groupModule.getMyUserID(),l.conversationType=C.CONV_GROUP,(a=new ra(l)).setElement({type:C.MSG_GRP_TIP,content:o(o({},l.elements),{},{groupProfile:l.groupProfile})}),a.isSystemMessage=!1;var T=t._groupModule.getModule(pn),D=a,k=D.conversationID,I=D.sequence;if(6===n)a._onlineOnlyFlag=!0,i.push(a);else if(!T.pushIntoNoticeResult(i,a))return"continue";if(6===n&&T.getLocalConversation(k))return"continue";6!==n&&t._groupModule.getModule(Cn).addMessageSequence({key:Rr,message:a});var S=T.isRemoteRead({conversationID:k,sequence:I});if(et(u[k])){var E=0;"in"===a.flow&&(a._isExcludedFromUnreadCount||a._onlineOnlyFlag||S||(E=1)),u[k]=s.push({conversationID:k,unreadCount:E,type:et(M)?a.conversationType:M,subType:a.conversationSubType,lastMessage:a._isExcludedFromLastMessage?"":a})-1}else{var A=u[k];s[A].type=a.conversationType,s[A].subType=a.conversationSubType,s[A].lastMessage=a._isExcludedFromLastMessage?"":a,"in"===a.flow&&(a._isExcludedFromUnreadCount||a._onlineOnlyFlag||S||s[A].unreadCount++)}},l=0,_=r.length;l<_;l++)d(l);return{eventDataList:s,result:i,AVChatRoomMessageList:c}}},{key:"handleMessageList",value:function(e){var t=this;e.forEach((function(e){switch(e.payload.operationType){case 1:t._onNewMemberComeIn(e);break;case 2:t._onMemberQuit(e);break;case 3:t._onMemberKickedOut(e);break;case 4:t._onMemberSetAdmin(e);break;case 5:t._onMemberCancelledAdmin(e);break;case 6:t._onGroupProfileModified(e);break;case 7:t._onMemberInfoModified(e);break;case 8:t._onTopicProfileUpdated(e);break;default:Ge.warn("".concat(t._className,".handleMessageList unknown operationType:").concat(e.payload.operationType))}}))}},{key:"_onNewMemberComeIn",value:function(e){var t=e.payload,n=t.memberNum,o=t.groupProfile.groupID,r=this._groupModule.getLocalGroupProfile(o);r&&ze(n)&&r.memberCount!==n&&(r.memberCount=n,this._updateConversationGroupProfile(r))}},{key:"_onMemberQuit",value:function(e){var t=e.payload,n=t.memberNum,o=t.groupProfile.groupID,r=this._groupModule.getLocalGroupProfile(o);r&&ze(n)&&r.memberCount!==n&&(r.memberCount=n,this._updateConversationGroupProfile(r)),this._groupModule.getModule(ln).deleteLocalGroupMembers(o,e.payload.userIDList)}},{key:"_onMemberKickedOut",value:function(e){var t=e.payload,n=t.memberNum,o=t.groupProfile.groupID,r=this._groupModule.getLocalGroupProfile(o);r&&ze(n)&&r.memberCount!==n&&(r.memberCount=n,this._updateConversationGroupProfile(r)),this._groupModule.getModule(ln).deleteLocalGroupMembers(o,e.payload.userIDList)}},{key:"_updateConversationGroupProfile",value:function(e){this._groupModule.getModule(pn).updateConversationGroupProfile([e])}},{key:"_onMemberSetAdmin",value:function(e){var t=e.payload.groupProfile.groupID,n=e.payload.userIDList,o=this._groupModule.getModule(ln);n.forEach((function(e){var n=o.getLocalGroupMemberInfo(t,e);n&&n.updateRole(C.GRP_MBR_ROLE_ADMIN)}))}},{key:"_onMemberCancelledAdmin",value:function(e){var t=e.payload.groupProfile.groupID,n=e.payload.userIDList,o=this._groupModule.getModule(ln);n.forEach((function(e){var n=o.getLocalGroupMemberInfo(t,e);n&&n.updateRole(C.GRP_MBR_ROLE_MEMBER)}))}},{key:"_onGroupProfileModified",value:function(e){var t=this,n=e.payload,o=n.newGroupProfile,r=n.groupProfile.groupID,a=this._groupModule.getLocalGroupProfile(r);Object.keys(o).forEach((function(e){switch(e){case"ownerID":t._ownerChanged(a,o);break;case"muteAllMembers":a.muteAllMembers=o.muteAllMembers;break;case"joinOption":a.joinOption=o.joinOption;break;default:a[e]=o[e]}}));var s=!a.isSupportTopic;this._groupModule.emitGroupListUpdate(!0,s)}},{key:"_ownerChanged",value:function(e,t){var n=e.groupID,o=this._groupModule.getLocalGroupProfile(n),r=this._groupModule.getMyUserID();if(r===t.ownerID){o.updateGroup({selfInfo:{role:C.GRP_MBR_ROLE_OWNER}});var a=this._groupModule.getModule(ln),s=a.getLocalGroupMemberInfo(n,r),i=this._groupModule.getLocalGroupProfile(n).ownerID,u=a.getLocalGroupMemberInfo(n,i);s&&s.updateRole(C.GRP_MBR_ROLE_OWNER),u&&u.updateRole(C.GRP_MBR_ROLE_MEMBER)}}},{key:"_onMemberInfoModified",value:function(e){var t=e.to,n=e.payload,o=n.groupProfile,r=n.memberList,a=o.groupID;Dt(t)&&this._updateTopicMuteTime(e);var s=this._groupModule.getModule(ln);r.forEach((function(e){var t=s.getLocalGroupMemberInfo(a,e.userID);t&&ze(e.muteTime)&&t.updateMuteUntil(e.muteTime)}))}},{key:"_updateTopicMuteTime",value:function(e){var t=e.to,n=e.payload,o=n.groupProfile,r=n.memberList,a=void 0===r?[]:r,s=this._groupModule.getModule(_n),i=o.groupID,u=s.getLocalTopic(i,t);if(u){for(var c=!1,d=0;d<a.length;d++){var l=a[d];if(l.userID===this._groupModule.getMyUserID()&&l.muteTime>=0){u.updateSelfInfo({muteTime:l.muteTime}),c=!0;break}}c&&this._groupModule.emitOuterEvent(E.TOPIC_UPDATED,{groupID:i,topic:u})}}},{key:"_onTopicProfileUpdated",value:function(e){var t=e.payload,n=t.groupProfile.groupID,r=t.newTopicInfo;this._groupModule.getModule(_n).onTopicProfileUpdated(o({groupID:n,topicID:e.to},r))}},{key:"_cacheGroupTips",value:function(e,t){this._cachedGroupTipsMap.has(e)||this._cachedGroupTipsMap.set(e,[]),this._cachedGroupTipsMap.get(e).push(t)}},{key:"_deleteCachedGroupTips",value:function(e){this._cachedGroupTipsMap.has(e)&&this._cachedGroupTipsMap.delete(e)}},{key:"_notifyCachedGroupTips",value:function(e){var t=this,n=this._cachedGroupTipsMap.get(e)||[];n.forEach((function(e){t.onNewGroupTips(e)})),this._deleteCachedGroupTips(e),Ge.log("".concat(this._className,"._notifyCachedGroupTips groupID:").concat(e," count:").concat(n.length))}},{key:"_cacheGroupTipsAndProbe",value:function(e){var t=this,n=e.groupID,o=e.event,r=e.item;this._cacheGroupTips(n,{event:o,dataList:[r]}),this._groupModule.getGroupSimplifiedInfo(n).then((function(e){e.type===C.GRP_AVCHATROOM?t._groupModule.hasLocalGroup(n)?t._notifyCachedGroupTips(n):t._groupModule.setUnjoinedAVChatRoom(n):(t._groupModule.updateGroupMap([e]),t._notifyCachedGroupTips(n))})),this._checkCountMap.has(n)||this._checkCountMap.set(n,0),Ge.log("".concat(this._className,"._cacheGroupTipsAndProbe groupID:").concat(n))}},{key:"reset",value:function(){this._cachedGroupTipsMap.clear(),this._checkCountMap.clear(),this._getTopicPendingMap.clear()}}]),e}(),Fa=function(){function e(t){a(this,e),this._groupModule=t,this._className="CommonGroupHandler",this.tempConversationList=null,this._cachedGroupMessageMap=new Map,this._checkCountMap=new Map,this.MAX_CHECK_COUNT=4,this._getTopicPendingMap=new Map,this._isPagingGetCompleted=!1,t.getInnerEmitterInstance().once(Ma,this._initGroupList,this)}return i(e,[{key:"onCheckTimer",value:function(e){e%1==0&&this._cachedGroupMessageMap.size>0&&this._checkCachedGroupMessage()}},{key:"_checkCachedGroupMessage",value:function(){var e=this;this._cachedGroupMessageMap.forEach((function(t,n){var o=e._checkCountMap.get(n),r=e._groupModule.hasLocalGroup(n);Ge.log("".concat(e._className,"._checkCachedGroupMessage groupID:").concat(n," hasLocalGroup:").concat(r," checkCount:").concat(o)),r?(e._notifyCachedGroupMessage(n),e._checkCountMap.delete(n),e._groupModule.deleteUnjoinedAVChatRoom(n)):o>=e.MAX_CHECK_COUNT?(e._deleteCachedGroupMessage(n),e._checkCountMap.delete(n)):(o++,e._checkCountMap.set(n,o))}))}},{key:"_initGroupList",value:function(){var e=this;Ge.log("".concat(this._className,"._initGroupList"));var t=new Hr(jr.GET_GROUP_LIST_IN_STORAGE),n=this._groupModule.getStorageGroupList();if(Qe(n)&&n.length>0){n.forEach((function(t){e._groupModule.initGroupMap(t)})),this._groupModule.emitGroupListUpdate(!0,!1);var o=this._groupModule.getLocalGroupList().length;t.setNetworkType(this._groupModule.getNetworkType()).setMessage("group count:".concat(o)).end()}else t.setNetworkType(this._groupModule.getNetworkType()).setMessage("group count:0").end();Ge.log("".concat(this._className,"._initGroupList ok"))}},{key:"handleUpdateGroupLastMessage",value:function(e){var t="".concat(this._className,".handleUpdateGroupLastMessage");if(Ge.debug("".concat(t," conversation count:").concat(e.length,", local group count:").concat(this._groupModule.getLocalGroupList().length)),0!==this._groupModule.getGroupMap().size){for(var n,o,r,a=!1,s=0,i=e.length;s<i;s++)(n=e[s]).type===C.CONV_GROUP&&(o=n.conversationID.split(/^GROUP/)[1],(r=this._groupModule.getLocalGroupProfile(o))&&(r.lastMessage=n.lastMessage,a=!0));a&&(this._groupModule.sortLocalGroupList(),this._groupModule.emitGroupListUpdate(!0,!1))}else this.tempConversationList=e}},{key:"onNewGroupMessage",value:function(e){Ge.debug("".concat(this._className,".onNewGroupMessage count:").concat(e.dataList.length));var t=this._newGroupMessageStoredAndSummary(e),n=t.conversationOptionsList,o=t.messageList,r=t.AVChatRoomMessageList;r.length>0&&this._groupModule.onAVChatRoomMessage(r),this._groupModule.filterModifiedMessage(o),n.length>0&&(this._groupModule.updateNextMessageSeq(n),this._groupModule.getModule(pn).onNewMessage({conversationOptionsList:n,isInstantMessage:!0}));var a=this._groupModule.filterUnmodifiedMessage(o);a.length>0&&this._groupModule.emitOuterEvent(E.MESSAGE_RECEIVED,a),o.length=0}},{key:"_newGroupMessageStoredAndSummary",value:function(e){var t=this,n=e.dataList,o=e.event,r=e.isInstantMessage,a=null,s=[],i=[],u=[],c={},d=this._groupModule.getModule(Mn),l=this._groupModule.getModule(Cn),_=n.length;_>1&&n.sort((function(e,t){return e.sequence-t.sequence}));for(var p=function(e){var _=Mt(n[e]),p=_.groupProfile,h=p.groupID,m=p.communityType,f=void 0===m?0:m,g=p.topicID,M=void 0===g?void 0:g,y=void 0,v=2===f&&!qt(M);if(v){y=C.CONV_TOPIC,_.to=M;var L=t._groupModule.getModule(_n);L.hasLocalTopic(h,M)||t._getTopicPendingMap.has(M)||(t._getTopicPendingMap.set(M,1),L.getTopicList({groupID:h,topicIDList:[M]}).finally((function(){t._getTopicPendingMap.delete(M)})))}if(2===f&&qt(M))return"continue";var T=t._groupModule.hasLocalGroup(h);if(!T&&t._groupModule.isUnjoinedAVChatRoom(h))return"continue";if(!T&&!v)return t._cacheGroupMessageAndProbe({groupID:h,event:o,item:_}),"continue";if(t._groupModule.isMessageFromOrToAVChatroom(h))return _.event=o,u.push(_),"continue";_.currentUser=t._groupModule.getMyUserID(),_.conversationType=C.CONV_GROUP,_.isSystemMessage=!!_.isSystemMessage,a=new ra(_),_.elements=d.parseElements(_.elements,_.from),a.setElement(_.elements);var D=1===n[e].isModified,k=t._groupModule.getModule(pn);if(k.isMessageSentByCurrentInstance(a)?a.isModified=D:D=!1,1===_.onlineOnlyFlag)a._onlineOnlyFlag=!0,k.isMessageSentByCurrentInstance(a)||i.push(a);else{if(!k.pushIntoMessageList(i,a,D))return"continue";l.addMessageSequence({key:Rr,message:a}),r&&a.clientTime>0&&l.addMessageDelay(a.clientTime);var I=a,S=I.conversationID,E=I.sequence,A=k.isRemoteRead({conversationID:S,sequence:E});if(et(c[S])){var O=0;"in"===a.flow&&(a._isExcludedFromUnreadCount||A||(O=1)),c[S]=s.push({conversationID:S,unreadCount:O,type:et(y)?a.conversationType:y,subType:a.conversationSubType,lastMessage:a._isExcludedFromLastMessage?"":a})-1}else{var b=c[S];s[b].type=et(y)?a.conversationType:y,s[b].subType=a.conversationSubType,s[b].lastMessage=a._isExcludedFromLastMessage?"":a,"in"===a.flow&&(a._isExcludedFromUnreadCount||A||s[b].unreadCount++)}}},h=0;h<_;h++)p(h);return{conversationOptionsList:s,messageList:i,AVChatRoomMessageList:u}}},{key:"onGroupMessageRevoked",value:function(e){Ge.debug("".concat(this._className,".onGroupMessageRevoked nums:").concat(e.dataList.length));var t=this._groupModule.getModule(pn),n=[],o=null;e.dataList.forEach((function(e){var r=e.elements.revokedInfos;et(r)||r.forEach((function(e){var r=et(e.topicID)?"GROUP".concat(e.groupID):"GROUP".concat(e.topicID);(o=t.revoke(r,e.sequence,e.random))&&n.push(o)}))})),0!==n.length&&(t.onMessageRevoked(n),this._groupModule.emitOuterEvent(E.MESSAGE_REVOKED,n))}},{key:"_groupListTreeShaking",value:function(e){for(var t=new Map(v(this._groupModule.getGroupMap())),n=0,o=e.length;n<o;n++)t.delete(e[n].groupID);this._groupModule.hasJoinedAVChatRoom()&&this._groupModule.getJoinedAVChatRoom().forEach((function(e){t.delete(e)})),this._groupModule.getGroupMap().forEach((function(e,n){e.isSupportTopic&&t.delete(n)}));for(var r=v(t.keys()),a=0,s=r.length;a<s;a++)this._groupModule.deleteGroup(r[a])}},{key:"getGroupList",value:function(e){var t=this,n="".concat(this._className,".getGroupList"),o=new Hr(jr.GET_GROUP_LIST);Ge.log("".concat(n));var r={introduction:"Introduction",notification:"Notification",createTime:"CreateTime",ownerID:"Owner_Account",lastInfoTime:"LastInfoTime",memberNum:"MemberNum",maxMemberNum:"MaxMemberNum",joinOption:"ApplyJoinOption",muteAllMembers:"ShutUpAllMember"},a=["Type","Name","FaceUrl","NextMsgSeq","LastMsgTime","AtInfoList"],s=[];e&&e.groupProfileFilter&&e.groupProfileFilter.forEach((function(e){r[e]&&a.push(r[e])}));var i=(e||{}).isGroupWithTopicOnly,u=void 0!==i&&i;return this._pagingGetGroupList({limit:50,offset:0,groupBaseInfoFilter:a,groupList:s,isGroupWithTopicOnly:u}).then((function(){Ge.log("".concat(n," ok. count:").concat(s.length," isGroupWithTopicOnly:").concat(u)),u||t._groupListTreeShaking(s),t._groupModule.updateGroupMap(s);var e=t._groupModule.getLocalGroupList().length;o.setNetworkType(t._groupModule.getNetworkType()).setMessage("remote count:".concat(s.length,", after tree shaking, local count:").concat(e,", isGroupWithTopicOnly:").concat(u)).end(),t.tempConversationList&&(Ge.log("".concat(n," update last message with tempConversationList, count:").concat(t.tempConversationList.length)),t.handleUpdateGroupLastMessage({data:t.tempConversationList}),t.tempConversationList=null),t._groupModule.patchGroupMessageRemindType(),t._groupModule.recomputeUnreadCount(),t._groupModule.emitGroupListUpdate(!0,!u);var r=t._groupModule.getLocalGroupList();if(u){var a=r.filter((function(e){return!0===e.isSupportTopic}));return aa({groupList:a})}return t._isPagingGetCompleted=!0,aa({groupList:r})})).catch((function(e){return t._groupModule.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"isPagingGetCompleted",value:function(){return this._isPagingGetCompleted}},{key:"_pagingGetGroupList",value:function(e){var t=this,n="".concat(this._className,"._pagingGetGroupList"),o=e.isCommunityRelay,r=void 0!==o&&o,a=e.isGroupWithTopicOnly,s=void 0!==a&&a,i=e.limit,u=e.offset,c=e.groupBaseInfoFilter,d=e.groupList;if(s)return this._pagingGetGroupListWithTopic({limit:i,offset:u,groupBaseInfoFilter:c,groupList:d});var l=new Hr(jr.PAGING_GET_GROUP_LIST);return this._groupModule.request({protocolName:po,requestData:{type:r?C.GRP_COMMUNITY:void 0,memberAccount:this._groupModule.getMyUserID(),limit:i,offset:u,responseFilter:{groupBaseInfoFilter:c,selfInfoFilter:["Role","JoinTime","MsgFlag","MsgSeq"]}}}).then((function(e){var o=e.data,a=o.groups,s=void 0===a?[]:a,_=o.totalCount;d.push.apply(d,v(s)),t._handleGroupAtInfoWithoutTopic(r,s);var p=u+i,h=!(_>p),m="offset:".concat(u," totalCount:").concat(_," isCompleted:").concat(h," ")+"currentCount:".concat(d.length," isCommunityRelay:").concat(r);return l.setNetworkType(t._groupModule.getNetworkType()).setMessage("".concat(m)).end(),r||h?!r&&h?(Ge.log("".concat(n," start to get community list")),u=0,t._pagingGetGroupList({limit:i,offset:u,groupBaseInfoFilter:c,groupList:d,isCommunityRelay:!0})):r&&!h?(u=p,t._pagingGetGroupList({limit:i,offset:u,groupBaseInfoFilter:c,groupList:d,isCommunityRelay:!0})):(Ge.log("".concat(n," ok. totalCount:").concat(d.length)),aa({groupList:d})):(u=p,t._pagingGetGroupList({limit:i,offset:u,groupBaseInfoFilter:c,groupList:d}))})).catch((function(e){return 11e3!==e.code&&t._groupModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];l.setMessage("isCommunityRelay:".concat(r)).setError(e,o,a).end()})),r?(11e3===e.code&&(l=null,Ge.log("".concat(n," ok. community unavailable"))),ha({groupList:d})):ma(e)}))}},{key:"_pagingGetGroupListWithTopic",value:function(e){var t=this,n="".concat(this._className,"._pagingGetGroupListWithTopic"),o=e.limit,r=e.offset,a=e.groupBaseInfoFilter,s=e.groupList,i=new Hr(jr.PAGING_GET_GROUP_LIST_WITH_TOPIC);return this._groupModule.request({protocolName:po,requestData:{type:C.GRP_COMMUNITY,memberAccount:this._groupModule.getMyUserID(),limit:o,offset:r,responseFilter:{groupBaseInfoFilter:a,selfInfoFilter:["Role","JoinTime","MsgFlag","MsgSeq"]},isSupportTopic:1}}).then((function(e){var u=e.data,c=u.groups,d=void 0===c?[]:c,l=u.totalCount;s.push.apply(s,v(d));var _=r+o,p=!(l>_),h="offset:".concat(r," totalCount:").concat(l," isCompleted:").concat(p," ")+"currentCount:".concat(s.length);return i.setNetworkType(t._groupModule.getNetworkType()).setMessage("".concat(h)).end(),p?(Ge.log("".concat(n," ok. totalCount:").concat(s.length)),aa({groupList:s})):(r=_,t._pagingGetGroupListWithTopic({limit:o,offset:r,groupBaseInfoFilter:a,groupList:s}))})).catch((function(e){return t._groupModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];i.setError(e,o,r).end()})),ma(e)}))}},{key:"_cacheGroupMessage",value:function(e,t){this._cachedGroupMessageMap.has(e)||this._cachedGroupMessageMap.set(e,[]),this._cachedGroupMessageMap.get(e).push(t)}},{key:"_deleteCachedGroupMessage",value:function(e){this._cachedGroupMessageMap.has(e)&&this._cachedGroupMessageMap.delete(e)}},{key:"_notifyCachedGroupMessage",value:function(e){var t=this,n=this._cachedGroupMessageMap.get(e)||[];n.forEach((function(e){t.onNewGroupMessage(e)})),this._deleteCachedGroupMessage(e),Ge.log("".concat(this._className,"._notifyCachedGroupMessage groupID:").concat(e," count:").concat(n.length))}},{key:"_cacheGroupMessageAndProbe",value:function(e){var t=this,n=e.groupID,o=e.event,r=e.item;this._cacheGroupMessage(n,{event:o,dataList:[r]}),this._groupModule.getGroupSimplifiedInfo(n).then((function(e){e.type===C.GRP_AVCHATROOM?t._groupModule.hasLocalGroup(n)?t._notifyCachedGroupMessage(n):t._groupModule.setUnjoinedAVChatRoom(n):(t._groupModule.updateGroupMap([e]),t._notifyCachedGroupMessage(n))})),this._checkCountMap.has(n)||this._checkCountMap.set(n,0),Ge.log("".concat(this._className,"._cacheGroupMessageAndProbe groupID:").concat(n))}},{key:"_handleGroupAtInfoWithoutTopic",value:function(e,t){var n=this;e&&0!==t.length&&t.forEach((function(e){var t=e.groupID,r=e.groupAtInfoList,a=[];et(r)||(r.forEach((function(e){a.push(o(o({},e),{},{groupID:t}))})),n._groupModule.getModule(pn).onNewGroupAtTips({dataList:a}))}))}},{key:"reset",value:function(){this._cachedGroupMessageMap.clear(),this._checkCountMap.clear(),this._getTopicPendingMap.clear(),this._isPagingGetCompleted=!1,this._groupModule.getInnerEmitterInstance().once(Ma,this._initGroupList,this)}}]),e}(),xa={1:"init",2:"modify",3:"clear",4:"delete"},Ha=function(){function e(t){a(this,e),this._groupModule=t,this._className="GroupAttributesHandler",this._groupAttributesMap=new Map,this.CACHE_EXPIRE_TIME=3e4,this._groupModule.getInnerEmitterInstance().on(ya,this._onCloudConfigUpdated,this)}return i(e,[{key:"_onCloudConfigUpdated",value:function(){var e=this._groupModule.getCloudConfig("grp_attr_cache_time");et(e)||(this.CACHE_EXPIRE_TIME=Number(e))}},{key:"updateLocalMainSequenceOnReconnected",value:function(){this._groupAttributesMap.forEach((function(e){e.localMainSequence=0}))}},{key:"onGroupAttributesUpdated",value:function(e){var t=this,n=e.groupID,o=e.groupAttributeOption,r=o.mainSequence,a=o.hasChangedAttributeInfo,s=o.groupAttributeList,i=void 0===s?[]:s,u=o.operationType;if(Ge.log("".concat(this._className,".onGroupAttributesUpdated. groupID:").concat(n," hasChangedAttributeInfo:").concat(a," operationType:").concat(u)),!et(u)){if(1===a){if(4===u){var c=[];i.forEach((function(e){c.push(e.key)})),i=v(c),c=null}return this._refreshCachedGroupAttributes({groupID:n,remoteMainSequence:r,groupAttributeList:i,operationType:xa[u]}),void this._emitGroupAttributesUpdated(n)}if(this._groupAttributesMap.has(n)){var d=this._groupAttributesMap.get(n).avChatRoomKey;this._getGroupAttributes({groupID:n,avChatRoomKey:d}).then((function(){t._emitGroupAttributesUpdated(n)}))}}}},{key:"initGroupAttributesCache",value:function(e){var t=e.groupID,n=e.avChatRoomKey;this._groupAttributesMap.set(t,{lastUpdateTime:0,localMainSequence:0,remoteMainSequence:0,attributes:new Map,avChatRoomKey:n}),Ge.log("".concat(this._className,".initGroupAttributesCache groupID:").concat(t," avChatRoomKey:").concat(n))}},{key:"initGroupAttributes",value:function(e){var t=this,n=e.groupID,o=e.groupAttributes,r=this._checkCachedGroupAttributes({groupID:n,funcName:"initGroupAttributes"});if(!0!==r)return ma(r);var a=this._groupAttributesMap.get(n),s=a.remoteMainSequence,i=a.avChatRoomKey,u=new Hr(jr.INIT_GROUP_ATTRIBUTES);return u.setMessage("groupID:".concat(n," mainSequence:").concat(s," groupAttributes:").concat(JSON.stringify(o))),this._groupModule.request({protocolName:xo,requestData:{groupID:n,avChatRoomKey:i,mainSequence:s,groupAttributeList:this._transformGroupAttributes(o)}}).then((function(e){var r=e.data,a=r.mainSequence,s=v(r.groupAttributeList);return s.forEach((function(e){e.value=o[e.key]})),t._refreshCachedGroupAttributes({groupID:n,remoteMainSequence:a,groupAttributeList:s,operationType:"init"}),u.setNetworkType(t._groupModule.getNetworkType()).end(),Ge.log("".concat(t._className,".initGroupAttributes ok. groupID:").concat(n)),aa({groupAttributes:o})})).catch((function(e){return t._groupModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];u.setError(e,o,r).end()})),ma(e)}))}},{key:"setGroupAttributes",value:function(e){var t=this,n=e.groupID,o=e.groupAttributes,r=this._checkCachedGroupAttributes({groupID:n,funcName:"setGroupAttributes"});if(!0!==r)return ma(r);var a=this._groupAttributesMap.get(n),s=a.remoteMainSequence,i=a.avChatRoomKey,u=a.attributes,c=this._transformGroupAttributes(o);c.forEach((function(e){var t=e.key;e.sequence=0,u.has(t)&&(e.sequence=u.get(t).sequence)}));var d=new Hr(jr.SET_GROUP_ATTRIBUTES);return d.setMessage("groupID:".concat(n," mainSequence:").concat(s," groupAttributes:").concat(JSON.stringify(o))),this._groupModule.request({protocolName:Ho,requestData:{groupID:n,avChatRoomKey:i,mainSequence:s,groupAttributeList:c}}).then((function(e){var r=e.data,a=r.mainSequence,s=v(r.groupAttributeList);return s.forEach((function(e){e.value=o[e.key]})),t._refreshCachedGroupAttributes({groupID:n,remoteMainSequence:a,groupAttributeList:s,operationType:"modify"}),d.setNetworkType(t._groupModule.getNetworkType()).end(),Ge.log("".concat(t._className,".setGroupAttributes ok. groupID:").concat(n)),aa({groupAttributes:o})})).catch((function(e){return t._groupModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];d.setError(e,o,r).end()})),ma(e)}))}},{key:"deleteGroupAttributes",value:function(e){var t=this,n=e.groupID,o=e.keyList,r=void 0===o?[]:o,a=this._checkCachedGroupAttributes({groupID:n,funcName:"deleteGroupAttributes"});if(!0!==a)return ma(a);var s=this._groupAttributesMap.get(n),i=s.remoteMainSequence,u=s.avChatRoomKey,c=s.attributes,d=v(c.keys()),l=qo,_="clear",p={groupID:n,avChatRoomKey:u,mainSequence:i};if(r.length>0){var h=[];d=[],l=jo,_="delete",r.forEach((function(e){var t=0;c.has(e)&&(t=c.get(e).sequence,d.push(e)),h.push({key:e,sequence:t})})),p.groupAttributeList=h}var m=new Hr(jr.DELETE_GROUP_ATTRIBUTES);return m.setMessage("groupID:".concat(n," mainSequence:").concat(i," keyList:").concat(r," protocolName:").concat(l)),this._groupModule.request({protocolName:l,requestData:p}).then((function(e){var o=e.data.mainSequence;return t._refreshCachedGroupAttributes({groupID:n,remoteMainSequence:o,groupAttributeList:r,operationType:_}),m.setNetworkType(t._groupModule.getNetworkType()).end(),Ge.log("".concat(t._className,".deleteGroupAttributes ok. groupID:").concat(n)),aa({keyList:d})})).catch((function(e){return t._groupModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];m.setError(e,o,r).end()})),ma(e)}))}},{key:"getGroupAttributes",value:function(e){var t=this,n=e.groupID,o=this._checkCachedGroupAttributes({groupID:n,funcName:"getGroupAttributes"});if(!0!==o)return ma(o);var r=this._groupAttributesMap.get(n),a=r.avChatRoomKey,s=r.lastUpdateTime,i=r.localMainSequence,u=r.remoteMainSequence,c=new Hr(jr.GET_GROUP_ATTRIBUTES);if(c.setMessage("groupID:".concat(n," localMainSequence:").concat(i," remoteMainSequence:").concat(u," keyList:").concat(e.keyList)),Date.now()-s>=this.CACHE_EXPIRE_TIME||i<u)return this._getGroupAttributes({groupID:n,avChatRoomKey:a}).then((function(o){c.setMoreMessage("get attributes from remote. count:".concat(o.length)).setNetworkType(t._groupModule.getNetworkType()).end(),Ge.log("".concat(t._className,".getGroupAttributes from remote. groupID:").concat(n));var r=t._getLocalGroupAttributes(e);return aa({groupAttributes:r})})).catch((function(e){return t._groupModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];c.setError(e,o,r).end()})),ma(e)}));c.setMoreMessage("get attributes from cache").setNetworkType(this._groupModule.getNetworkType()).end(),Ge.log("".concat(this._className,".getGroupAttributes from cache. groupID:").concat(n));var d=this._getLocalGroupAttributes(e);return ha({groupAttributes:d})}},{key:"_getGroupAttributes",value:function(e){var t=this;return this._groupModule.request({protocolName:Bo,requestData:o({},e)}).then((function(n){var o=n.data,r=o.mainSequence,a=o.groupAttributeList,s=v(a);return et(r)||t._refreshCachedGroupAttributes({groupID:e.groupID,remoteMainSequence:r,groupAttributeList:s,operationType:"get"}),Ge.log("".concat(t._className,"._getGroupAttributes ok. groupID:").concat(e.groupID)),a})).catch((function(e){return ma(e)}))}},{key:"_getLocalGroupAttributes",value:function(e){var t=e.groupID,n=e.keyList,o=void 0===n?[]:n,r={};if(!this._groupAttributesMap.has(t))return r;var a=this._groupAttributesMap.get(t).attributes;if(o.length>0)o.forEach((function(e){a.has(e)&&(r[e]=a.get(e).value)}));else{var s,i=S(a.keys());try{for(i.s();!(s=i.n()).done;){var u=s.value;r[u]=a.get(u).value}}catch(l){i.e(l)}finally{i.f()}}return r}},{key:"_refreshCachedGroupAttributes",value:function(e){var t=e.groupID,n=e.remoteMainSequence,o=e.groupAttributeList,r=e.operationType;if(this._groupAttributesMap.has(t)){var a=this._groupAttributesMap.get(t),s=a.localMainSequence;if("get"===r||n-s==1)a.remoteMainSequence=n,a.localMainSequence=n,a.lastUpdateTime=Date.now(),this._updateCachedAttributes({groupAttributes:a,groupAttributeList:o,operationType:r});else{if(s===n)return;a.remoteMainSequence=n}this._groupAttributesMap.set(t,a);var i="operationType:".concat(r," localMainSequence:").concat(s," remoteMainSequence:").concat(n);Ge.log("".concat(this._className,"._refreshCachedGroupAttributes. ").concat(i))}}},{key:"_updateCachedAttributes",value:function(e){var t=e.groupAttributes,n=e.groupAttributeList,o=e.operationType;"clear"!==o?"delete"!==o?("init"===o&&t.attributes.clear(),n.forEach((function(e){var n=e.key,o=e.value,r=e.sequence;t.attributes.set(n,{value:o,sequence:r})}))):n.forEach((function(e){t.attributes.delete(e)})):t.attributes.clear()}},{key:"_checkCachedGroupAttributes",value:function(e){var t=e.groupID,n=e.funcName;if(this._groupModule.hasLocalGroup(t)&&this._groupModule.getLocalGroupProfile(t).type!==C.GRP_AVCHATROOM)return Ge.warn("".concat(this._className,"._checkCachedGroupAttributes. ").concat("非直播群不能使用群属性 API")),new la({code:Ir.CANNOT_USE_GRP_ATTR_NOT_AVCHATROOM,message:"非直播群不能使用群属性 API"});var o=this._groupAttributesMap.get(t);if(et(o)){var r="如果 groupID:".concat(t," 是直播群,使用 ").concat(n," 前先使用 joinGroup 接口申请加入群组,详细请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#joinGroup");return Ge.warn("".concat(this._className,"._checkCachedGroupAttributes. ").concat(r)),new la({code:Ir.CANNOT_USE_GRP_ATTR_AVCHATROOM_UNJOIN,message:r})}return!0}},{key:"_transformGroupAttributes",value:function(e){var t=[];return Object.keys(e).forEach((function(n){t.push({key:n,value:e[n]})})),t}},{key:"_emitGroupAttributesUpdated",value:function(e){var t=this._getLocalGroupAttributes({groupID:e});this._groupModule.emitOuterEvent(E.GROUP_ATTRIBUTES_UPDATED,{groupID:e,groupAttributes:t})}},{key:"reset",value:function(){this._groupAttributesMap.clear(),this.CACHE_EXPIRE_TIME=3e4}}]),e}(),ja=function(){function e(t){a(this,e);var n=t.manager,o=t.groupID,r=t.onInit,s=t.onSuccess,i=t.onFail;this._className="Polling",this._manager=n,this._groupModule=n._groupModule,this._onInit=r,this._onSuccess=s,this._onFail=i,this._groupID=o,this._timeoutID=-1,this._isRunning=!1,this._protocolName=Po}return i(e,[{key:"start",value:function(){var e=this._groupModule.isLoggedIn();e||(this._protocolName=Yo),Ge.log("".concat(this._className,".start pollingInterval:").concat(this._manager.getPollingInterval()," isLoggedIn:").concat(e)),this._isRunning=!0,this._request()}},{key:"isRunning",value:function(){return this._isRunning}},{key:"_request",value:function(){var e=this,t=this._onInit(this._groupID);this._groupModule.request({protocolName:this._protocolName,requestData:t}).then((function(t){e._onSuccess(e._groupID,t),e.isRunning()&&(clearTimeout(e._timeoutID),e._timeoutID=setTimeout(e._request.bind(e),e._manager.getPollingInterval()))})).catch((function(t){e._onFail(e._groupID,t),e.isRunning()&&(clearTimeout(e._timeoutID),e._timeoutID=setTimeout(e._request.bind(e),e._manager.MAX_POLLING_INTERVAL))}))}},{key:"stop",value:function(){Ge.log("".concat(this._className,".stop")),this._timeoutID>0&&(clearTimeout(this._timeoutID),this._timeoutID=-1),this._isRunning=!1}}]),e}(),qa={3:!0,4:!0,5:!0,6:!0,17:!0},Ba=function(){function e(t){a(this,e),this._groupModule=t,this._className="AVChatRoomHandler",this._joinedGroupMap=new Map,this._pollingRequestInfoMap=new Map,this._pollingInstanceMap=new Map,this.sequencesLinkedList=new Oa(200),this.messageIDLinkedList=new Oa(100),this.receivedMessageCount=0,this._reportMessageStackedCount=0,this._onlineMemberCountMap=new Map,this.DEFAULT_EXPIRE_TIME=60,this.DEFAULT_POLLING_INTERVAL=300,this.MAX_POLLING_INTERVAL=2e3,this._pollingInterval=this.DEFAULT_POLLING_INTERVAL,this.DEFAULT_POLLING_NO_MESSAGE_COUNT=20,this.DEFAULT_POLLING_INTERVAL_PLUS=2e3,this._pollingNoMessageCount=0,this._startBroadcastSeq=1,this._broadcastMessageIDMap=new Map}return i(e,[{key:"hasJoinedAVChatRoom",value:function(){return this._joinedGroupMap.size>0}},{key:"checkJoinedAVChatRoomByID",value:function(e){return this._joinedGroupMap.has(e)}},{key:"getJoinedAVChatRoom",value:function(){return this._joinedGroupMap.size>0?v(this._joinedGroupMap.keys()):null}},{key:"_updateRequestData",value:function(e){var t=this._pollingRequestInfoMap.get(e);return e===v(this._pollingInstanceMap.keys())[0]?o(o({},t),{},{startBroadcastSeq:this._startBroadcastSeq}):o({},t)}},{key:"_handleSuccess",value:function(e,t){var n=t.data,o=n.key,r=n.nextSeq,a=n.rspMsgList,s=n.errorCode,i=n.nextBroadcastSeq,u=n.broadcastMessageList;if(0!==s){var c=this._pollingRequestInfoMap.get(e),d=new Hr(jr.LONG_POLLING_AV_ERROR),l=c?"".concat(c.key,"-").concat(c.startSeq):"requestInfo is undefined";d.setMessage("".concat(e,"-").concat(l,"-").concat(t.errorInfo)).setCode(t.errorCode).setNetworkType(this._groupModule.getNetworkType()).end(!0)}else{if(!this.checkJoinedAVChatRoomByID(e))return;Je(o)&&ze(r)&&this._pollingRequestInfoMap.set(e,{key:o,startSeq:r}),ze(i)&&i>this._startBroadcastSeq&&(this._startBroadcastSeq=i),Qe(a)&&a.length>0?(a.forEach((function(e){e.to=e.groupID})),this.onMessage(a)):(this._pollingNoMessageCount+=1,this._pollingNoMessageCount===this.DEFAULT_POLLING_NO_MESSAGE_COUNT&&(this._pollingInterval=this.DEFAULT_POLLING_INTERVAL+this.DEFAULT_POLLING_INTERVAL_PLUS)),this._onBroadcastMessage(u)}}},{key:"_handleFailure",value:function(e,t){}},{key:"onMessage",value:function(e){if(Qe(e)&&0!==e.length){0!==this._pollingNoMessageCount&&(this._pollingNoMessageCount=0,this._pollingInterval=this.DEFAULT_POLLING_INTERVAL);var t=null,n=[],o=this._getModule(pn),r=this._getModule(Cn),a=e.length;a>1&&e.sort((function(e,t){return e.sequence-t.sequence}));for(var s=this._getModule(hn),i=0;i<a;i++)if(qa[e[i].event]){this.receivedMessageCount+=1,t=this.packMessage(e[i],e[i].event);var u=1===e[i].isModified,c=1===e[i].isHistoryMessage;if((s.isUnlimitedAVChatRoom()||!this.sequencesLinkedList.has(t.sequence))&&!this.messageIDLinkedList.has(t.ID)){var d=t.conversationID;if(this.receivedMessageCount%50==0?this._getModule(kn).detectFirstRound(d,this.sequencesLinkedList.data()):this.receivedMessageCount%80==0&&this._getModule(kn).detectSecondRound(d,this.sequencesLinkedList.data()),null!==this.sequencesLinkedList.tail()){var l=this.sequencesLinkedList.tail().value,_=t.sequence-l;_>1&&_<=20?this._getModule(kn).onMessageMaybeLost(d,l+1,_-1):_<-1&&_>=-20&&this._getModule(kn).onMessageMaybeLost(d,t.sequence+1,Math.abs(_)-1)}this.sequencesLinkedList.set(t.sequence),this.messageIDLinkedList.set(t.ID);var p=!1;if(this._isMessageSentByCurrentInstance(t)?u&&(p=!0,t.isModified=u,o.updateMessageIsModifiedProperty(t)):p=!0,p){if(t.conversationType===C.CONV_SYSTEM&&5===t.payload.operationType&&this._onGroupDismissed(t.payload.groupProfile.groupID),!c&&t.conversationType!==C.CONV_SYSTEM){var h=t.conversationID.replace(C.CONV_GROUP,"");this._pollingInstanceMap.has(h)?r.addMessageSequence({key:Yr,message:t}):(t.type!==C.MSG_GRP_TIP&&t.clientTime>0&&r.addMessageDelay(t.clientTime),r.addMessageSequence({key:Pr,message:t}))}n.push(t)}}}else Ge.warn("".concat(this._className,".onMessage 未处理的 event 类型: ").concat(e[i].event));if(0!==n.length){this._groupModule.filterModifiedMessage(n);var m=this.packConversationOption(n);m.length>0&&this._getModule(pn).onNewMessage({conversationOptionsList:m,isInstantMessage:!0}),Ge.debug("".concat(this._className,".onMessage count:").concat(n.length)),this._checkMessageStacked(n);var f=this._groupModule.filterUnmodifiedMessage(n);f.length>0&&this._groupModule.emitOuterEvent(E.MESSAGE_RECEIVED,f),n.length=0}}}},{key:"_onGroupDismissed",value:function(e){Ge.log("".concat(this._className,"._onGroupDismissed groupID:").concat(e)),this._groupModule.deleteLocalGroupAndConversation(e),this.reset(e)}},{key:"_checkMessageStacked",value:function(e){var t=e.length;t>=100&&(Ge.warn("".concat(this._className,"._checkMessageStacked 直播群消息堆积数:").concat(e.length,'!可能会导致微信小程序渲染时遇到 "Dom limit exceeded" 的错误,建议接入侧此时只渲染最近的10条消息')),this._reportMessageStackedCount<5&&(new Hr(jr.MESSAGE_STACKED).setNetworkType(this._groupModule.getNetworkType()).setMessage("count:".concat(t," groupID:").concat(v(this._joinedGroupMap.keys()))).setLevel("warning").end(),this._reportMessageStackedCount+=1))}},{key:"_isMessageSentByCurrentInstance",value:function(e){return!!this._getModule(pn).isMessageSentByCurrentInstance(e)}},{key:"packMessage",value:function(e,t){e.currentUser=this._groupModule.getMyUserID(),e.conversationType=5===t?C.CONV_SYSTEM:C.CONV_GROUP,e.isSystemMessage=!!e.isSystemMessage;var n=new ra(e),o=this.packElements(e,t);return n.setElement(o),n}},{key:"packElements",value:function(e,t){return 4===t||6===t?(this._updateMemberCountByGroupTips(e),this._onGroupAttributesUpdated(e),{type:C.MSG_GRP_TIP,content:o(o({},e.elements),{},{groupProfile:e.groupProfile})}):5===t?{type:C.MSG_GRP_SYS_NOTICE,content:o(o({},e.elements),{},{groupProfile:o(o({},e.groupProfile),{},{groupID:e.groupID})})}:this._getModule(Mn).parseElements(e.elements,e.from)}},{key:"packConversationOption",value:function(e){for(var t=new Map,n=0;n<e.length;n++){var o=e[n],r=o.conversationID;if(t.has(r)){var a=t.get(r);a.lastMessage=o,"in"===o.flow&&a.unreadCount++}else t.set(r,{conversationID:o.conversationID,unreadCount:"out"===o.flow?0:1,type:o.conversationType,subType:o.conversationSubType,lastMessage:o})}return v(t.values())}},{key:"_updateMemberCountByGroupTips",value:function(e){var t=e.groupProfile.groupID,n=e.elements.onlineMemberInfo,o=void 0===n?void 0:n;if(!qt(o)){var r=o.onlineMemberNum,a=void 0===r?0:r,s=o.expireTime,i=void 0===s?this.DEFAULT_EXPIRE_TIME:s,u=this._onlineMemberCountMap.get(t)||{},c=Date.now();qt(u)?Object.assign(u,{lastReqTime:0,lastSyncTime:0,latestUpdateTime:c,memberCount:a,expireTime:i}):(u.latestUpdateTime=c,u.memberCount=a),Ge.debug("".concat(this._className,"._updateMemberCountByGroupTips info:"),u),this._onlineMemberCountMap.set(t,u)}}},{key:"_onBroadcastMessage",value:function(e){if(!qt(e)){for(var t=[],n=e.length,o=null,r=0;r<n;r++)qa[e[r].event]?((o=this.packMessage(e[r],e[r].event)).isBroadcastMessage=!0,this._broadcastMessageIDMap.has(o.ID)||(t.push(o),this._broadcastMessageIDMap.set(o.ID,1))):Ge.warn("".concat(this._className,"._onBroadcastMessage 未处理的 event 类型: ").concat(e[r].event));t.length>0&&this._groupModule.emitOuterEvent(E.MESSAGE_RECEIVED,t)}}},{key:"start",value:function(e){if(this._pollingInstanceMap.has(e)){var t=this._pollingInstanceMap.get(e);t.isRunning()||t.start()}else{var n=new ja({manager:this,groupID:e,onInit:this._updateRequestData.bind(this),onSuccess:this._handleSuccess.bind(this),onFail:this._handleFailure.bind(this)});n.start(),this._pollingInstanceMap.set(e,n),Ge.log("".concat(this._className,".start groupID:").concat(e))}}},{key:"handleJoinResult",value:function(e){var t=this;return this._preCheck().then((function(){var n=e.longPollingKey,o=e.group,r=o.groupID;return t._joinedGroupMap.set(r,o),t._groupModule.updateGroupMap([o]),t._groupModule.deleteUnjoinedAVChatRoom(r),t._groupModule.emitGroupListUpdate(!0,!1),et(n)?ha({status:qe,group:o}):Promise.resolve()}))}},{key:"startRunLoop",value:function(e){var t=this;return this.handleJoinResult(e).then((function(){var n=e.longPollingKey,o=e.group,r=e.startSeq,a=void 0===r?0:r,s=o.groupID;return t._pollingRequestInfoMap.set(s,{key:n,startSeq:a}),t.start(s),t._groupModule.isLoggedIn()?ha({status:qe,group:o}):ha({status:qe})}))}},{key:"_preCheck",value:function(){if(this._getModule(hn).isUnlimitedAVChatRoom())return Promise.resolve();if(!this.hasJoinedAVChatRoom())return Promise.resolve();var e=y(this._joinedGroupMap.entries().next().value,2),t=e[0],n=e[1];if(this._groupModule.isLoggedIn()){if(n.selfInfo.role!==C.GRP_MBR_ROLE_OWNER&&n.ownerID!==this._groupModule.getMyUserID())return this._groupModule.quitGroup(t);this._groupModule.deleteLocalGroupAndConversation(t)}else this._groupModule.deleteLocalGroupAndConversation(t);return this.reset(t),Promise.resolve()}},{key:"joinWithoutAuth",value:function(e){var t=this,n=e.groupID,o="".concat(this._className,".joinWithoutAuth"),r=new Hr(jr.JOIN_WITHOUT_AUTH);return this._groupModule.request({protocolName:yo,requestData:e}).then((function(e){var a=e.data.longPollingKey;if(t._groupModule.probeNetwork().then((function(e){var t=y(e,2),o=(t[0],t[1]);r.setNetworkType(o).setMessage("groupID:".concat(n," longPollingKey:").concat(a)).end(!0)})),et(a))return ma(new la({code:Ir.CANNOT_JOIN_NON_AVCHATROOM_WITHOUT_LOGIN,message:Sr.CANNOT_JOIN_NON_AVCHATROOM_WITHOUT_LOGIN}));Ge.log("".concat(o," ok. groupID:").concat(n)),t._getModule(pn).setCompleted("".concat(C.CONV_GROUP).concat(n));var s=new wa({groupID:n});return t.startRunLoop({group:s,longPollingKey:a}),aa({status:qe})})).catch((function(e){return Ge.error("".concat(o," failed. groupID:").concat(n," error:"),e),t._groupModule.probeNetwork().then((function(t){var o=y(t,2),a=o[0],s=o[1];r.setError(e,a,s).setMessage("groupID:".concat(n)).end(!0)})),ma(e)})).finally((function(){t._groupModule.getModule(fn).reportAtOnce()}))}},{key:"getGroupOnlineMemberCount",value:function(e){var t=this._onlineMemberCountMap.get(e)||{},n=Date.now();return qt(t)||n-t.lastSyncTime>1e3*t.expireTime&&n-t.latestUpdateTime>1e4&&n-t.lastReqTime>3e3?(t.lastReqTime=n,this._onlineMemberCountMap.set(e,t),this._getGroupOnlineMemberCount(e).then((function(e){return aa({memberCount:e.memberCount})})).catch((function(e){return ma(e)}))):ha({memberCount:t.memberCount})}},{key:"_getGroupOnlineMemberCount",value:function(e){var t=this,n="".concat(this._className,"._getGroupOnlineMemberCount");return this._groupModule.request({protocolName:Go,requestData:{groupID:e}}).then((function(o){var r=t._onlineMemberCountMap.get(e)||{},a=o.data,s=a.onlineMemberNum,i=void 0===s?0:s,u=a.expireTime,c=void 0===u?t.DEFAULT_EXPIRE_TIME:u;Ge.log("".concat(n," ok. groupID:").concat(e," memberCount:").concat(i," expireTime:").concat(c));var d=Date.now();return qt(r)&&(r.lastReqTime=d),t._onlineMemberCountMap.set(e,Object.assign(r,{lastSyncTime:d,latestUpdateTime:d,memberCount:i,expireTime:c})),{memberCount:i}})).catch((function(o){return Ge.warn("".concat(n," failed. error:"),o),new Hr(jr.GET_GROUP_ONLINE_MEMBER_COUNT).setCode(o.code).setMessage("groupID:".concat(e," error:").concat(JSON.stringify(o))).setNetworkType(t._groupModule.getNetworkType()).end(),Promise.reject(o)}))}},{key:"_onGroupAttributesUpdated",value:function(e){var t=e.groupID,n=e.elements,o=n.operationType,r=n.newGroupProfile;if(6===o){var a=(void 0===r?void 0:r).groupAttributeOption;qt(a)||this._groupModule.onGroupAttributesUpdated({groupID:t,groupAttributeOption:a})}}},{key:"_getModule",value:function(e){return this._groupModule.getModule(e)}},{key:"setPollingInterval",value:function(e){et(e)||(ze(e)?this._pollingInterval=this.DEFAULT_POLLING_INTERVAL=e:this._pollingInterval=this.DEFAULT_POLLING_INTERVAL=parseInt(e,10))}},{key:"setPollingIntervalPlus",value:function(e){et(e)||(ze(e)?this.DEFAULT_POLLING_INTERVAL_PLUS=e:this.DEFAULT_POLLING_INTERVAL_PLUS=parseInt(e,10))}},{key:"setPollingNoMessageCount",value:function(e){et(e)||(ze(e)?this.DEFAULT_POLLING_NO_MESSAGE_COUNT=e:this.DEFAULT_POLLING_NO_MESSAGE_COUNT=parseInt(e,10))}},{key:"getPollingInterval",value:function(){return this._pollingInterval}},{key:"onAVChatRoomMemberBanned",value:function(e){var t=e.payload.groupProfile.groupID;Ge.log("".concat(this._className,".onAVChatRoomMemberBanned groupID:").concat(t)),this._groupModule.deleteLocalGroupAndConversation(t),this.reset(t)}},{key:"reset",value:function(e){if(e){Ge.log("".concat(this._className,".reset groupID:").concat(e));var t=this._pollingInstanceMap.get(e);t&&t.stop(),this._pollingInstanceMap.delete(e),this._joinedGroupMap.delete(e),this._pollingRequestInfoMap.delete(e),this._onlineMemberCountMap.delete(e)}else{Ge.log("".concat(this._className,".reset all"));var n,o=S(this._pollingInstanceMap.values());try{for(o.s();!(n=o.n()).done;)n.value.stop()}catch(s){o.e(s)}finally{o.f()}this._pollingInstanceMap.clear(),this._joinedGroupMap.clear(),this._pollingRequestInfoMap.clear(),this._onlineMemberCountMap.clear(),this._broadcastMessageIDMap.clear()}this.sequencesLinkedList.reset(),this.messageIDLinkedList.reset(),this.receivedMessageCount=0,this._reportMessageStackedCount=0,this._pollingInterval=this.DEFAULT_POLLING_INTERVAL=300,this.DEFAULT_POLLING_NO_MESSAGE_COUNT=20,this.DEFAULT_POLLING_INTERVAL_PLUS=2e3,this._pollingNoMessageCount=0}}]),e}(),Va=1,Wa=15,Ka=function(){function e(t){a(this,e),this._groupModule=t,this._className="GroupSystemNoticeHandler",this.pendencyMap=new Map}return i(e,[{key:"onNewGroupSystemNotice",value:function(e){var t=e.dataList,n=e.isSyncingEnded,o=e.isInstantMessage;Ge.debug("".concat(this._className,".onReceiveSystemNotice count:").concat(t.length));var r=this.newSystemNoticeStoredAndSummary({notifiesList:t,isInstantMessage:o}),a=r.eventDataList,s=r.result;a.length>0&&(this._groupModule.getModule(pn).onNewMessage({conversationOptionsList:a,isInstantMessage:o}),this._onReceivedGroupSystemNotice({result:s,isInstantMessage:o})),o?s.length>0&&this._groupModule.emitOuterEvent(E.MESSAGE_RECEIVED,s):!0===n&&this._clearGroupSystemNotice()}},{key:"newSystemNoticeStoredAndSummary",value:function(e){var t=e.notifiesList,n=e.isInstantMessage,r=null,a=t.length,s=0,i=[],u={conversationID:C.CONV_SYSTEM,unreadCount:0,type:C.CONV_SYSTEM,subType:null,lastMessage:null};for(s=0;s<a;s++){var c=t[s],d=c.groupProfile,l=d.communityType,_=void 0===l?0:l,p=d.topicID,h=void 0===p?void 0:p,m=c.elements,f=m.topicIDList,g=void 0===f?void 0:f,M=m.operationType;if(!(2!==_||qt(h)&&qt(g))){if([17,18,20].includes(M)){this._handleTopicSystemNotice(c);continue}qt(h)||(c.to=h)}c.elements.operationType!==Wa&&(c.currentUser=this._groupModule.getMyUserID(),c.conversationType=C.CONV_SYSTEM,c.conversationID=C.CONV_SYSTEM,(r=new ra(c)).setElement({type:C.MSG_GRP_SYS_NOTICE,content:o(o({},c.elements),{},{groupProfile:o({},c.groupProfile)})}),r.isSystemMessage=!0,(1===r.sequence&&1===r.random||2===r.sequence&&2===r.random)&&(r.sequence=_t(),r.random=_t(),r.generateMessageID(),Ge.log("".concat(this._className,".newSystemNoticeStoredAndSummary sequence and random maybe duplicated, regenerate. ID:").concat(r.ID))),this._groupModule.getModule(pn).pushIntoNoticeResult(i,r)&&(n?u.unreadCount++:r.setIsRead(!0),u.subType=r.conversationSubType))}return u.lastMessage=i[i.length-1],{eventDataList:i.length>0?[u]:[],result:i}}},{key:"_clearGroupSystemNotice",value:function(){var e=this;this.getPendencyList().then((function(t){t.forEach((function(t){e.pendencyMap.set("".concat(t.from,"_").concat(t.groupID,"_").concat(t.to),t)}));var n=e._groupModule.getModule(pn).getLocalMessageList(C.CONV_SYSTEM),o=[];n.forEach((function(t){var n=t.payload,r=n.operatorID,a=n.operationType,s=n.groupProfile;if(a===Va){var i="".concat(r,"_").concat(s.groupID,"_").concat(s.to),u=e.pendencyMap.get(i);u&&ze(u.handled)&&0!==u.handled&&o.push(t)}})),e.deleteGroupSystemNotice({messageList:o})}))}},{key:"deleteGroupSystemNotice",value:function(e){var t=this,n="".concat(this._className,".deleteGroupSystemNotice");return Qe(e.messageList)&&0!==e.messageList.length?(Ge.log("".concat(n," ")+e.messageList.map((function(e){return e.ID}))),this._groupModule.request({protocolName:Ro,requestData:{messageListToDelete:e.messageList.map((function(e){return{from:C.CONV_SYSTEM,messageSeq:e.clientSequence,messageRandom:e.random}}))}}).then((function(){Ge.log("".concat(n," ok"));var o=t._groupModule.getModule(pn);return e.messageList.forEach((function(e){o.deleteLocalMessage(e)})),aa()})).catch((function(e){return Ge.error("".concat(n," error:"),e),ma(e)}))):ha()}},{key:"getPendencyList",value:function(e){var t=this;return this._groupModule.request({protocolName:No,requestData:{startTime:e&&e.startTime?e.startTime:0,limit:e&&e.limit?e.limit:10,handleAccount:this._groupModule.getMyUserID()}}).then((function(e){var n=e.data.pendencyList;return 0!==e.data.nextStartTime?t.getPendencyList({startTime:e.data.nextStartTime}).then((function(e){return[].concat(v(n),v(e))})):n}))}},{key:"_onReceivedGroupSystemNotice",value:function(e){var t=this,n=e.result;e.isInstantMessage&&n.forEach((function(e){switch(e.payload.operationType){case 1:break;case 2:t._onApplyGroupRequestAgreed(e);break;case 3:break;case 4:t._onMemberKicked(e);break;case 5:t._onGroupDismissed(e);break;case 6:break;case 7:t._onInviteGroup(e);break;case 8:t._onQuitGroup(e);break;case 9:t._onSetManager(e);break;case 10:t._onDeleteManager(e);break;case 11:case 12:case 15:break;case 20:t._onMessageRemindTypeSynced(e);break;case 21:t._groupModule.onAVChatRoomMemberBanned(e)}}))}},{key:"_onApplyGroupRequestAgreed",value:function(e){var t=this,n=e.payload.groupProfile.groupID;this._groupModule.hasLocalGroup(n)||this._groupModule.getGroupProfile({groupID:n}).then((function(e){var n=e.data.group;if(n){t._groupModule.updateGroupMap([n]);var o=!n.isSupportTopic;t._groupModule.emitGroupListUpdate(!0,o)}}))}},{key:"_onMemberKicked",value:function(e){var t=e.payload.groupProfile.groupID;this._groupModule.hasLocalGroup(t)&&this._groupModule.deleteLocalGroupAndConversation(t)}},{key:"_onGroupDismissed",value:function(e){var t=e.payload.groupProfile.groupID;this._groupModule.hasLocalGroup(t)&&this._groupModule.deleteLocalGroupAndConversation(t);var n=this._groupModule._AVChatRoomHandler;n&&n.checkJoinedAVChatRoomByID(t)&&n.reset(t)}},{key:"_onInviteGroup",value:function(e){var t=this,n=e.payload.groupProfile.groupID;this._groupModule.hasLocalGroup(n)||this._groupModule.getGroupProfile({groupID:n}).then((function(e){var n=e.data.group;n&&(t._groupModule.updateGroupMap([n]),t._groupModule.emitGroupListUpdate())}))}},{key:"_onQuitGroup",value:function(e){var t=e.payload.groupProfile.groupID;this._groupModule.hasLocalGroup(t)&&this._groupModule.deleteLocalGroupAndConversation(t)}},{key:"_onSetManager",value:function(e){var t=e.payload.groupProfile,n=t.to,o=t.groupID,r=this._groupModule.getModule(ln).getLocalGroupMemberInfo(o,n);r&&r.updateRole(C.GRP_MBR_ROLE_ADMIN)}},{key:"_onDeleteManager",value:function(e){var t=e.payload.groupProfile,n=t.to,o=t.groupID,r=this._groupModule.getModule(ln).getLocalGroupMemberInfo(o,n);r&&r.updateRole(C.GRP_MBR_ROLE_MEMBER)}},{key:"_onMessageRemindTypeSynced",value:function(e){var t=e.payload.groupProfile.groupID,n=e.payload.messageRemindType;this._groupModule.getModule(pn).onGroupMessageRemindTypeSynced({groupID:t,messageRemindType:n})}},{key:"_handleTopicSystemNotice",value:function(e){var t=e.groupProfile,n=t.groupID,o=t.topicID,r=e.elements,a=r.operationType,s=r.topicIDList,i=r.messageRemindType,u=this._groupModule.getModule(_n);17===a?u.onTopicCreated({groupID:n,topicID:o}):18===a?u.onTopicDeleted({groupID:n,topicIDList:s}):20===a&&u.onTopicMessageRemindTypeUpdated({groupID:n,topicID:o,messageRemindType:i})}},{key:"reset",value:function(){this.pendencyMap.clear()}}]),e}(),$a=["relayFlag"],za=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="GroupModule",o._commonGroupHandler=null,o._AVChatRoomHandler=null,o._groupSystemNoticeHandler=null,o._commonGroupHandler=new Fa(f(o)),o._groupAttributesHandler=new Ha(f(o)),o._AVChatRoomHandler=new Ba(f(o)),o._groupTipsHandler=new Ua(f(o)),o._groupSystemNoticeHandler=new Ka(f(o)),o.groupMap=new Map,o._unjoinedAVChatRoomList=new Map,o._receiptDetailCompleteMap=new Map,o.getInnerEmitterInstance().on(ya,o._onCloudConfigUpdated,f(o)),o}return i(n,[{key:"_onCloudConfigUpdated",value:function(){var e=this.getCloudConfig("polling_interval"),t=this.getCloudConfig("polling_interval_plus"),n=this.getCloudConfig("polling_no_msg_count");this._AVChatRoomHandler&&(Ge.log("".concat(this._className,"._onCloudConfigUpdated pollingInterval:").concat(e)+" pollingIntervalPlus:".concat(t," pollingNoMessageCount:").concat(n)),this._AVChatRoomHandler.setPollingInterval(e),this._AVChatRoomHandler.setPollingIntervalPlus(t),this._AVChatRoomHandler.setPollingNoMessageCount(n))}},{key:"onCheckTimer",value:function(e){this.isLoggedIn()&&(this._commonGroupHandler.onCheckTimer(e),this._groupTipsHandler.onCheckTimer(e))}},{key:"guardForAVChatRoom",value:function(e){var t=this;if(e.conversationType===C.CONV_GROUP){var n=Dt(e.to)?Ut(e.to):e.to;return this.hasLocalGroup(n)?ha():this.getGroupProfile({groupID:n}).then((function(o){var r=o.data.group.type;if(Ge.log("".concat(t._className,".guardForAVChatRoom. groupID:").concat(n," type:").concat(r)),r===C.GRP_AVCHATROOM){var a="userId:".concat(e.from," 未加入群 groupID:").concat(n,"。发消息前先使用 joinGroup 接口申请加群,详细请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#joinGroup");return Ge.warn("".concat(t._className,".guardForAVChatRoom sendMessage not allowed. ").concat(a)),ma(new la({code:Ir.MESSAGE_SEND_FAIL,message:a,data:{message:e}}))}return ha()}))}return ha()}},{key:"checkJoinedAVChatRoomByID",value:function(e){return!!this._AVChatRoomHandler&&this._AVChatRoomHandler.checkJoinedAVChatRoomByID(e)}},{key:"onNewGroupMessage",value:function(e){this._commonGroupHandler&&this._commonGroupHandler.onNewGroupMessage(e)}},{key:"updateNextMessageSeq",value:function(e){var t=this;if(Qe(e)){var n=this.getModule(_n);e.forEach((function(e){var o=e.conversationID.replace(C.CONV_GROUP,"");if(Dt(o)){var r=o,a=e.lastMessage.sequence+1;o=Ut(r);var s=n.getLocalTopic(o,r);s&&(s.updateNextMessageSeq(a),s.updateLastMessage(e.lastMessage))}t.groupMap.has(o)&&(t.groupMap.get(o).nextMessageSeq=e.lastMessage.sequence+1)}))}}},{key:"onNewGroupTips",value:function(e){this._groupTipsHandler&&this._groupTipsHandler.onNewGroupTips(e)}},{key:"onGroupMessageRevoked",value:function(e){this._commonGroupHandler&&this._commonGroupHandler.onGroupMessageRevoked(e)}},{key:"onNewGroupSystemNotice",value:function(e){this._groupSystemNoticeHandler&&this._groupSystemNoticeHandler.onNewGroupSystemNotice(e)}},{key:"onGroupMessageReadNotice",value:function(e){var t=this;e.dataList.forEach((function(e){var n=e.elements.groupMessageReadNotice;if(!et(n)){var o=t.getModule(pn);n.forEach((function(e){var n=e.groupID,r=e.topicID,a=void 0===r?void 0:r,s=e.lastMessageSeq;Ge.debug("".concat(t._className,".onGroupMessageReadNotice groupID:").concat(n," lastMessageSeq:").concat(s));var i="".concat(C.CONV_GROUP).concat(n),u=!0;qt(a)||(i="".concat(C.CONV_GROUP).concat(a),u=!1),o.updateIsReadAfterReadReport({conversationID:i,lastMessageSeq:s}),o.updateUnreadCount(i,u),o.clearGroupAtInfoList(i,u)}))}}))}},{key:"onReadReceiptList",value:function(e){var t=this;Ge.debug("".concat(this._className,".onReadReceiptList options:"),JSON.stringify(e)),e.dataList.forEach((function(e){var n=e.groupProfile,o=e.elements,r=n.groupID,a=t.getModule(pn),s=o.readReceiptList;a.updateReadReceiptInfo({groupID:r,readReceiptList:s})}))}},{key:"onGroupMessageModified",value:function(e){Ge.debug("".concat(this._className,".onGroupMessageModified options:"),JSON.stringify(e));var t=this.getModule(pn);e.dataList.forEach((function(e){t.onMessageModified(o(o({},e),{},{conversationType:C.CONV_GROUP,to:e.topicID?e.topicID:e.groupID}))}))}},{key:"deleteGroupSystemNotice",value:function(e){this._groupSystemNoticeHandler&&this._groupSystemNoticeHandler.deleteGroupSystemNotice(e)}},{key:"initGroupMap",value:function(e){this.groupMap.set(e.groupID,new wa(e))}},{key:"deleteGroup",value:function(e){this.groupMap.delete(e)}},{key:"updateGroupMap",value:function(e){var t,n=this,o=this.getModule(pn);e.forEach((function(e){t=e.groupID,n.groupMap.has(t)?n.groupMap.get(t).updateGroup(e):(n.groupMap.set(t,new wa(e)),o.deleteGroupRomaingMessageInfo(t))}));var r,a=this.getMyUserID(),s=S(this.groupMap);try{for(s.s();!(r=s.n()).done;)y(r.value,2)[1].selfInfo.userID=a}catch(c){s.e(c)}finally{s.f()}this._setStorageGroupList()}},{key:"getStorageGroupList",value:function(){return this.getModule(mn).getItem("groupMap")}},{key:"_setStorageGroupList",value:function(){var e=this.getLocalGroupList().filter((function(e){var t=e.type;return!Lt(t)})).filter((function(e){return!e.isSupportTopic})).slice(0,20).map((function(e){return{groupID:e.groupID,name:e.name,avatar:e.avatar,type:e.type}}));this.getModule(mn).setItem("groupMap",e)}},{key:"getGroupMap",value:function(){return this.groupMap}},{key:"getLocalGroupList",value:function(){return v(this.groupMap.values())}},{key:"getLocalGroupProfile",value:function(e){return this.groupMap.get(e)}},{key:"sortLocalGroupList",value:function(){var e=v(this.groupMap).filter((function(e){var t=y(e,2);return t[0],!qt(t[1].lastMessage)}));e.sort((function(e,t){return t[1].lastMessage.lastTime-e[1].lastMessage.lastTime})),this.groupMap=new Map(v(e))}},{key:"updateGroupLastMessage",value:function(e){this._commonGroupHandler&&this._commonGroupHandler.handleUpdateGroupLastMessage(e)}},{key:"emitGroupListUpdate",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.getLocalGroupList();if(e&&this.emitOuterEvent(E.GROUP_LIST_UPDATED),t){var o=JSON.parse(JSON.stringify(n)),r=this.getModule(pn);r.updateConversationGroupProfile(o)}}},{key:"patchGroupMessageRemindType",value:function(){var e=this.getLocalGroupList(),t=this.getModule(pn),n=0;e.forEach((function(e){!0===t.patchMessageRemindType({ID:e.groupID,isC2CConversation:!1,messageRemindType:e.selfInfo.messageRemindType})&&(n+=1)})),Ge.log("".concat(this._className,".patchGroupMessageRemindType count:").concat(n))}},{key:"recomputeUnreadCount",value:function(){var e=this.getLocalGroupList(),t=this.getModule(pn);e.forEach((function(e){var n=e.groupID,o=e.selfInfo,r=o.excludedUnreadSequenceList,a=o.readedSequence;if(Qe(r)){var s=0;r.forEach((function(t){t>=a&&t<=e.nextMessageSeq-1&&(s+=1)})),s>=1&&t.recomputeGroupUnreadCount({conversationID:"".concat(C.CONV_GROUP).concat(n),count:s})}}))}},{key:"getMyNameCardByGroupID",value:function(e){var t=this.getLocalGroupProfile(e);return t?t.selfInfo.nameCard:""}},{key:"isPagingGetCompleted",value:function(){return!!this._commonGroupHandler&&this._commonGroupHandler.isPagingGetCompleted()}},{key:"getGroupList",value:function(e){return this._commonGroupHandler?this._commonGroupHandler.getGroupList(e):ha()}},{key:"getGroupProfile",value:function(e){var t=this,n=new Hr(jr.GET_GROUP_PROFILE),o="".concat(this._className,".getGroupProfile"),r=e.groupID,a=e.groupCustomFieldFilter;Ge.log("".concat(o," groupID:").concat(r));var s={groupIDList:[r],responseFilter:{groupBaseInfoFilter:["Type","Name","Introduction","Notification","FaceUrl","Owner_Account","CreateTime","InfoSeq","LastInfoTime","LastMsgTime","MemberNum","MaxMemberNum","ApplyJoinOption","NextMsgSeq","ShutUpAllMember"],groupCustomFieldFilter:a,memberInfoFilter:["Role","JoinTime","MsgSeq","MsgFlag","NameCard"]}};return this.getGroupProfileAdvance(s).then((function(e){var a,s=e.data,i=s.successGroupList,u=s.failureGroupList;return Ge.log("".concat(o," ok")),u.length>0?ma(u[0]):(Lt(i[0].type)&&!t.hasLocalGroup(r)?a=new wa(i[0]):(t.updateGroupMap(i),a=t.getLocalGroupProfile(r)),a.isSupportTopic||t.getModule(pn).updateConversationGroupProfile([a]),n.setNetworkType(t.getNetworkType()).setMessage("groupID:".concat(r," type:").concat(a.type," muteAllMembers:").concat(a.muteAllMembers," ownerID:").concat(a.ownerID)).end(),aa({group:a}))})).catch((function(r){return t.probeNetwork().then((function(t){var o=y(t,2),a=o[0],s=o[1];n.setError(r,a,s).setMessage("groupID:".concat(e.groupID)).end()})),Ge.error("".concat(o," failed. error:"),r),ma(r)}))}},{key:"getGroupProfileAdvance",value:function(e){var t=this,n="".concat(this._className,".getGroupProfileAdvance"),r=e.groupIDList;Qe(r)&&r.length>50&&(Ge.warn("".concat(n," 获取群资料的数量不能超过50个")),r.length=50);var a=[],s=[];r.forEach((function(e){Tt({groupID:e})?s.push(e):a.push(e)}));var i=[];if(a.length>0){var u=this._getGroupProfileAdvance(o(o({},e),{},{groupIDList:a}));i.push(u)}if(s.length>0){var c=this._getGroupProfileAdvance(o(o({},e),{},{groupIDList:s,relayFlag:a.length>0}));i.push(c)}return Promise.all(i).then((function(e){var t=[],n=[];return e.forEach((function(e){t.push.apply(t,v(e.successGroupList)),n.push.apply(n,v(e.failureGroupList))})),aa({successGroupList:t,failureGroupList:n})})).catch((function(e){return Ge.error("".concat(t._className,"._getGroupProfileAdvance failed. error:"),e),ma(e)}))}},{key:"_getGroupProfileAdvance",value:function(e){var t=this,n=e.relayFlag,o=void 0!==n&&n,r=m(e,$a);return this.request({protocolName:ho,requestData:r}).then((function(e){Ge.log("".concat(t._className,"._getGroupProfileAdvance ok."));var n=e.data.groups;return{successGroupList:n.filter((function(e){return et(e.errorCode)||0===e.errorCode})),failureGroupList:n.filter((function(e){return e.errorCode&&0!==e.errorCode})).map((function(e){return new la({code:e.errorCode,message:e.errorInfo,data:{groupID:e.groupID}})}))}})).catch((function(t){return o&&Tt({groupID:e.groupIDList[0]})?{successGroupList:[],failureGroupList:[]}:ma(t)}))}},{key:"createGroup",value:function(e){var t=this,n="".concat(this._className,".createGroup"),r=e.type,a=e.groupID;if(!["Public","Private","ChatRoom","AVChatRoom","Community"].includes(r))return ma({code:Ir.ILLEGAL_GROUP_TYPE,message:Sr.ILLEGAL_GROUP_TYPE});if(!Tt({type:r})){if(!qt(a)&&Tt({groupID:a}))return ma({code:Ir.ILLEGAL_GROUP_ID,message:Sr.ILLEGAL_GROUP_ID});e.isSupportTopic=void 0}if(Lt(r)&&!et(e.memberList)&&e.memberList.length>0&&(Ge.warn("".concat(n," 创建 AVChatRoom 时不能添加群成员,自动忽略该字段")),e.memberList=void 0),vt(r)||et(e.joinOption)||(Ge.warn("".concat(n," 创建 Work/Meeting/AVChatRoom/Community 群时不能设置字段 joinOption,自动忽略该字段")),e.joinOption=void 0),Tt({type:r})){if(!qt(a)&&!Tt({groupID:a}))return ma({code:Ir.ILLEGAL_GROUP_ID,message:Sr.ILLEGAL_GROUP_ID});e.isSupportTopic=!0===e.isSupportTopic?1:0}var s=new Hr(jr.CREATE_GROUP);Ge.log("".concat(n," options:"),e);var i=[];return this.request({protocolName:mo,requestData:o(o({},e),{},{ownerID:this.getMyUserID(),webPushFlag:1})}).then((function(r){var a=r.data,u=a.groupID,c=a.overLimitUserIDList,d=void 0===c?[]:c;if(i=d,s.setNetworkType(t.getNetworkType()).setMessage("groupType:".concat(e.type," groupID:").concat(u," overLimitUserIDList=").concat(d)).end(),Ge.log("".concat(n," ok groupID:").concat(u," overLimitUserIDList:"),d),e.type===C.GRP_AVCHATROOM)return t.getGroupProfile({groupID:u});if(e.type===C.GRP_COMMUNITY&&1===e.isSupportTopic)return t.getGroupProfile({groupID:u});qt(e.memberList)||qt(d)||(e.memberList=e.memberList.filter((function(e){return-1===d.indexOf(e.userID)}))),t.updateGroupMap([o(o({},e),{},{groupID:u})]);var l=t.getModule(an),_=l.createCustomMessage({to:u,conversationType:C.CONV_GROUP,payload:{data:"group_create",extension:"".concat(t.getMyUserID(),"创建群组")}});return l.sendMessageInstance(_),t.emitGroupListUpdate(),t.getGroupProfile({groupID:u})})).then((function(e){var t=e.data.group,n=t.selfInfo,o=n.nameCard,r=n.joinTime;return t.updateSelfInfo({nameCard:o,joinTime:r,messageRemindType:C.MSG_REMIND_ACPT_AND_NOTE,role:C.GRP_MBR_ROLE_OWNER}),aa({group:t,overLimitUserIDList:i})})).catch((function(o){return s.setMessage("groupType:".concat(e.type)),t.probeNetwork().then((function(e){var t=y(e,2),n=t[0],r=t[1];s.setError(o,n,r).end()})),Ge.error("".concat(n," failed. error:"),o),ma(o)}))}},{key:"dismissGroup",value:function(e){var t=this,n="".concat(this._className,".dismissGroup");if(this.hasLocalGroup(e)&&this.getLocalGroupProfile(e).type===C.GRP_WORK)return ma(new la({code:Ir.CANNOT_DISMISS_WORK,message:Sr.CANNOT_DISMISS_WORK}));var o=new Hr(jr.DISMISS_GROUP);return o.setMessage("groupID:".concat(e)),Ge.log("".concat(n," groupID:").concat(e)),this.request({protocolName:fo,requestData:{groupID:e}}).then((function(){return o.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t.deleteLocalGroupAndConversation(e),t.checkJoinedAVChatRoomByID(e)&&t._AVChatRoomHandler.reset(e),aa({groupID:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"updateGroupProfile",value:function(e){var t=this,n="".concat(this._className,".updateGroupProfile");!this.hasLocalGroup(e.groupID)||vt(this.getLocalGroupProfile(e.groupID).type)||et(e.joinOption)||(Ge.warn("".concat(n," Work/Meeting/AVChatRoom/Community 群不能设置字段 joinOption,自动忽略该字段")),e.joinOption=void 0),et(e.muteAllMembers)||(e.muteAllMembers?e.muteAllMembers="On":e.muteAllMembers="Off");var o=new Hr(jr.UPDATE_GROUP_PROFILE);return o.setMessage(JSON.stringify(e)),Ge.log("".concat(n," groupID:").concat(e.groupID)),this.request({protocolName:go,requestData:e}).then((function(){return o.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t.hasLocalGroup(e.groupID)&&(t.groupMap.get(e.groupID).updateGroup(e),t._setStorageGroupList()),aa({group:t.groupMap.get(e.groupID)})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.log("".concat(n," failed. error:"),e),ma(e)}))}},{key:"joinGroup",value:function(e){var t=this,n=e.groupID,o=e.type,r="".concat(this._className,".joinGroup");if(o===C.GRP_WORK){var a=new la({code:Ir.CANNOT_JOIN_WORK,message:Sr.CANNOT_JOIN_WORK});return ma(a)}if(this.deleteUnjoinedAVChatRoom(n),this.hasLocalGroup(n)){if(!this.isLoggedIn())return ha({status:C.JOIN_STATUS_ALREADY_IN_GROUP});var s=new Hr(jr.APPLY_JOIN_GROUP);return this.getGroupProfile({groupID:n}).then((function(){return s.setNetworkType(t.getNetworkType()).setMessage("groupID:".concat(n," joinedStatus:").concat(C.JOIN_STATUS_ALREADY_IN_GROUP)).end(),ha({status:C.JOIN_STATUS_ALREADY_IN_GROUP})})).catch((function(o){return s.setNetworkType(t.getNetworkType()).setMessage("groupID:".concat(n," unjoined")).end(),Ge.warn("".concat(r," ").concat(n," was unjoined, now join!")),t.groupMap.delete(n),t.applyJoinGroup(e)}))}return Ge.log("".concat(r," groupID:").concat(n)),this.isLoggedIn()?this.applyJoinGroup(e):this._AVChatRoomHandler.joinWithoutAuth(e)}},{key:"applyJoinGroup",value:function(e){var t=this,n="".concat(this._className,".applyJoinGroup"),r=e.groupID,a=new Hr(jr.APPLY_JOIN_GROUP),s=o({},e),i=this.canIUse(V.AVCHATROOM_HISTORY_MSG);return i&&(s.historyMessageFlag=1),this.getModule(pn).deleteTopicRoamingMessageInfo(r),this.request({protocolName:Mo,requestData:s}).then((function(e){var o=e.data,s=o.joinedStatus,u=o.longPollingKey,c=o.startSeq,d=o.avChatRoomFlag,l=o.avChatRoomKey,_=o.messageList,p="groupID:".concat(r," joinedStatus:").concat(s," longPollingKey:").concat(u," startSeq:").concat(c)+" avChatRoomFlag:".concat(d," canGetAVChatRoomHistoryMessage:").concat(i,",")+" history message count:".concat(qt(_)?0:_.length);switch(a.setNetworkType(t.getNetworkType()).setMessage("".concat(p)).end(),Ge.log("".concat(n," ok. ").concat(p)),s){case Be:return aa({status:Be});case qe:return t.getGroupProfile({groupID:r}).then((function(e){var n,o=e.data.group,a={status:qe,group:o};return 1===d?(t.getModule(pn).setCompleted("".concat(C.CONV_GROUP).concat(r)),t._groupAttributesHandler.initGroupAttributesCache({groupID:r,avChatRoomKey:l}),(n=et(u)?t._AVChatRoomHandler.handleJoinResult({group:o}):t._AVChatRoomHandler.startRunLoop({longPollingKey:u,group:o,startSeq:c})).then((function(){t._onAVChatRoomHistoryMessage(_)})),n):(t.emitGroupListUpdate(!0,!1),aa(a))}));default:var h=new la({code:Ir.JOIN_GROUP_FAIL,message:Sr.JOIN_GROUP_FAIL});return Ge.error("".concat(n," error:"),h),ma(h)}})).catch((function(o){return a.setMessage("groupID:".concat(e.groupID)),t.probeNetwork().then((function(e){var t=y(e,2),n=t[0],r=t[1];a.setError(o,n,r).end()})),Ge.error("".concat(n," error:"),o),ma(o)}))}},{key:"quitGroup",value:function(e){var t=this,n="".concat(this._className,".quitGroup");Ge.log("".concat(n," groupID:").concat(e));var o=this.checkJoinedAVChatRoomByID(e);if(!o&&!this.hasLocalGroup(e)){var r=new la({code:Ir.MEMBER_NOT_IN_GROUP,message:Sr.MEMBER_NOT_IN_GROUP});return ma(r)}if(o&&!this.isLoggedIn())return Ge.log("".concat(n," anonymously ok. groupID:").concat(e)),this.deleteLocalGroupAndConversation(e),this._AVChatRoomHandler.reset(e),ha({groupID:e});var a=new Hr(jr.QUIT_GROUP);return a.setMessage("groupID:".concat(e)),this.request({protocolName:vo,requestData:{groupID:e}}).then((function(){return a.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t.deleteLocalGroupAndConversation(e),o&&t._AVChatRoomHandler.reset(e),aa({groupID:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"searchGroupByID",value:function(e){var t=this,n="".concat(this._className,".searchGroupByID"),o={groupIDList:[e]},r=new Hr(jr.SEARCH_GROUP_BY_ID);return r.setMessage("groupID:".concat(e)),Ge.log("".concat(n," groupID:").concat(e)),this.request({protocolName:Lo,requestData:o}).then((function(e){var o=e.data.groupProfile;if(0!==o[0].errorCode)throw new la({code:o[0].errorCode,message:o[0].errorInfo});return r.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),aa({group:new wa(o[0])})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];r.setError(e,o,a).end()})),Ge.warn("".concat(n," failed. error:"),e),ma(e)}))}},{key:"changeGroupOwner",value:function(e){var t=this,n="".concat(this._className,".changeGroupOwner");if(this.hasLocalGroup(e.groupID)&&this.getLocalGroupProfile(e.groupID).type===C.GRP_AVCHATROOM)return ma(new la({code:Ir.CANNOT_CHANGE_OWNER_IN_AVCHATROOM,message:Sr.CANNOT_CHANGE_OWNER_IN_AVCHATROOM}));if(e.newOwnerID===this.getMyUserID())return ma(new la({code:Ir.CANNOT_CHANGE_OWNER_TO_SELF,message:Sr.CANNOT_CHANGE_OWNER_TO_SELF}));var o=new Hr(jr.CHANGE_GROUP_OWNER);return o.setMessage("groupID:".concat(e.groupID," newOwnerID:").concat(e.newOwnerID)),Ge.log("".concat(n," groupID:").concat(e.groupID)),this.request({protocolName:To,requestData:e}).then((function(){o.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok"));var r=e.groupID,a=e.newOwnerID;t.groupMap.get(r).ownerID=a;var s=t.getModule(ln).getLocalGroupMemberList(r);if(s instanceof Map){var i=s.get(t.getMyUserID());et(i)||(i.updateRole("Member"),t.groupMap.get(r).selfInfo.role="Member");var u=s.get(a);et(u)||u.updateRole("Owner")}return t.emitGroupListUpdate(!0,!1),aa({group:t.groupMap.get(r)})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"handleGroupApplication",value:function(e){var t=this,n="".concat(this._className,".handleGroupApplication"),r=e.message.payload,a=r.groupProfile.groupID,s=r.authentication,i=r.messageKey,u=r.operatorID,c=new Hr(jr.HANDLE_GROUP_APPLICATION);return c.setMessage("groupID:".concat(a)),Ge.log("".concat(n," groupID:").concat(a)),this.request({protocolName:Do,requestData:o(o({},e),{},{applicant:u,groupID:a,authentication:s,messageKey:i})}).then((function(){return c.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t._groupSystemNoticeHandler.deleteGroupSystemNotice({messageList:[e.message]}),aa({group:t.getLocalGroupProfile(a)})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];c.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error"),e),ma(e)}))}},{key:"handleGroupInvitation",value:function(e){var t=this,n="".concat(this._className,".handleGroupInvitation"),r=e.message.payload,a=r.groupProfile.groupID,s=r.authentication,i=r.messageKey,u=r.operatorID,c=e.handleAction,d=new Hr(jr.HANDLE_GROUP_INVITATION);return d.setMessage("groupID:".concat(a," inviter:").concat(u," handleAction:").concat(c)),Ge.log("".concat(n," groupID:").concat(a," inviter:").concat(u," handleAction:").concat(c)),this.request({protocolName:ko,requestData:o(o({},e),{},{inviter:u,groupID:a,authentication:s,messageKey:i})}).then((function(){return d.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t._groupSystemNoticeHandler.deleteGroupSystemNotice({messageList:[e.message]}),aa({group:t.getLocalGroupProfile(a)})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];d.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error"),e),ma(e)}))}},{key:"getGroupOnlineMemberCount",value:function(e){return this._AVChatRoomHandler?this._AVChatRoomHandler.checkJoinedAVChatRoomByID(e)?this._AVChatRoomHandler.getGroupOnlineMemberCount(e):ha({memberCount:0}):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"hasLocalGroup",value:function(e){return this.groupMap.has(e)}},{key:"deleteLocalGroupAndConversation",value:function(e){var t=this.checkJoinedAVChatRoomByID(e);if(Ge.log("".concat(this._className,".deleteLocalGroupAndConversation isJoinedAVChatRoom:").concat(t)),t&&this.getModule(pn).deleteLocalConversation("".concat(C.CONV_GROUP).concat(e)),Tt({groupID:e})){var n=this.getLocalGroupProfile(e);n&&!0===n.isSupportTopic&&this.getModule(_n).deleteTopicListInCommunity(e)}this._deleteLocalGroup(e),this.emitGroupListUpdate(!0,!1)}},{key:"_deleteLocalGroup",value:function(e){this.groupMap.delete(e),this.getModule(ln).deleteGroupMemberList(e),this._setStorageGroupList()}},{key:"sendMessage",value:function(e,t){var n=this.createGroupMessagePack(e,t);return this.request(n)}},{key:"createGroupMessagePack",value:function(e,t){var n=null;t&&t.offlinePushInfo&&(n=t.offlinePushInfo);var o="";Je(e.cloudCustomData)&&e.cloudCustomData.length>0&&(o=e.cloudCustomData);var r=[];if(Ze(t)&&Ze(t.messageControlInfo)){var a=t.messageControlInfo,s=a.excludedFromUnreadCount,i=a.excludedFromLastMessage;!0===s&&r.push("NoUnread"),!0===i&&r.push("NoLastMsg")}var u=e.getGroupAtInfoList(),c={fromAccount:this.getMyUserID(),groupID:e.to,msgBody:e.getElements(),cloudCustomData:o,random:e.random,priority:e.priority,clientSequence:e.clientSequence,groupAtInfo:e.type!==C.MSG_TEXT||qt(u)?void 0:u,onlineOnlyFlag:this.isOnlineMessage(e,t)?1:0,clientTime:e.clientTime,offlinePushInfo:n?{pushFlag:!0===n.disablePush?1:0,title:n.title||"",desc:n.description||"",ext:n.extension||"",apnsInfo:{badgeMode:!0===n.ignoreIOSBadge?1:0},androidInfo:{OPPOChannelID:n.androidOPPOChannelID||""}}:void 0,messageControlInfo:r,needReadReceipt:!0!==e.needReadReceipt||this.isMessageFromOrToAVChatroom(e.to)?0:1};return Dt(e.to)&&(c.groupID=Ut(e.to),c.topicID=e.to),{protocolName:Fn,tjgID:this.generateTjgID(e),requestData:c}}},{key:"revokeMessage",value:function(e){var t={groupID:e.to,msgSeqList:[{msgSeq:e.sequence}]};return Dt(e.to)&&(t.groupID=Ut(e.to),t.topicID=e.to),this.request({protocolName:Io,requestData:t})}},{key:"deleteMessage",value:function(e){var t=e.to,n=e.keyList;Ge.log("".concat(this._className,".deleteMessage groupID:").concat(t," count:").concat(n.length));var o={groupID:t,deleter:this.getMyUserID(),keyList:n};return Dt(t)&&(o.groupID=Ut(t),o.topicID=t),this.request({protocolName:Uo,requestData:o})}},{key:"modifyRemoteMessage",value:function(e){var t=e.to,n=e.sequence,o=e.payload,r=e.type,a=e.version,s=void 0===a?0:a,i=e.cloudCustomData,u=t,c=void 0;Dt(t)&&(u=Ut(t),c=t);var d=void 0;return xt(r)&&(d=[]).push({type:r,content:o}),this.request({protocolName:Fo,requestData:{groupID:u,topicID:c,sequence:n,version:s,elements:d,cloudCustomData:i}})}},{key:"getRoamingMessage",value:function(e){var t=this,n="".concat(this._className,".getRoamingMessage"),o=e.conversationID,r=e.groupID,a=e.sequence,s=new Hr(jr.GET_GROUP_ROAMING_MESSAGES),i=0,u=void 0;return Dt(r)&&(r=Ut(u=r)),this._computeLastSequence({groupID:r,topicID:u,sequence:a}).then((function(e){return i=e,Ge.log("".concat(n," groupID:").concat(r," startSequence:").concat(i)),t.request({protocolName:Co,requestData:{groupID:r,count:21,sequence:i,topicID:u}})})).then((function(e){var a=e.data,c=a.messageList,d=a.complete;et(c)?Ge.log("".concat(n," ok. complete:").concat(d," but messageList is undefined!")):Ge.log("".concat(n," ok. complete:").concat(d," count:").concat(c.length)),s.setNetworkType(t.getNetworkType()).setMessage("groupID:".concat(r," topicID:").concat(u," startSequence:").concat(i," complete:").concat(d," count:").concat(c?c.length:"undefined")).end();var l=t.getModule(pn);if(2===d||qt(c))return l.setCompleted(o),{nextReqID:"",storedMessageList:[]};var _=c[c.length-1].sequence-1;l.updateRoamingMessageSequence(o,_);var p=l.onRoamingMessage(c,o);return l.updateIsRead(o),l.patchConversationLastMessage(o),Ge.log("".concat(n," nextReqID:").concat(_," stored message count:").concat(p.length)),{nextReqID:_+"",storedMessageList:p}})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];s.setError(e,o,a).setMessage("groupID:".concat(r," topicID:").concat(u," startSequence:").concat(i)).end()})),Ge.warn("".concat(n," failed. error:"),e),ma(e)}))}},{key:"_getGroupIDOfMessage",value:function(e){return e.conversationID.replace(C.CONV_GROUP,"")}},{key:"getReadReceiptList",value:function(e){var t=this,n="".concat(this._className,".getReadReceiptList"),o=this._getGroupIDOfMessage(e[0]),r=this.getMyUserID(),a=e.filter((function(e){return e.from===r&&!0===e.needReadReceipt})).map((function(e){return{sequence:e.sequence}}));if(Ge.log("".concat(n," groupID:").concat(o," sequenceList:").concat(JSON.stringify(a))),0===a.length)return ha({messageList:e});var s=new Hr(jr.GET_READ_RECEIPT);return s.setMessage("groupID:".concat(o)),this.request({protocolName:Ao,requestData:{groupID:o,sequenceList:a}}).then((function(t){s.end(),Ge.log("".concat(n," ok"));var o=t.data.readReceiptList;return Qe(o)&&o.forEach((function(t){e.forEach((function(e){0===t.code&&t.sequence===e.sequence&&(e.readReceiptInfo.readCount=t.readCount,e.readReceiptInfo.unreadCount=t.unreadCount)}))})),aa({messageList:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.warn("".concat(n," failed. error:"),e),ma(e)}))}},{key:"sendReadReceipt",value:function(e){var t=this,n=this._getGroupIDOfMessage(e[0]),o=new Hr(jr.SEND_READ_RECEIPT);o.setMessage("groupID:".concat(n));var r=this.getMyUserID(),a=e.filter((function(e){return e.from!==r&&!0===e.needReadReceipt})).map((function(e){return{sequence:e.sequence}}));if(0===a.length)return ma({code:Ir.READ_RECEIPT_MESSAGE_LIST_EMPTY,message:Sr.READ_RECEIPT_MESSAGE_LIST_EMPTY});var s="".concat(this._className,".sendReadReceipt");return Ge.log("".concat(s,". sequenceList:").concat(JSON.stringify(a))),this.request({protocolName:Oo,requestData:{groupID:n,sequenceList:a}}).then((function(e){return o.end(),Ge.log("".concat(s," ok")),aa()})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.warn("".concat(s," failed. error:"),e),ma(e)}))}},{key:"getReadReceiptDetail",value:function(e){var t=this,n=e.message,o=e.filter,r=e.cursor,a=e.count,s=this._getGroupIDOfMessage(n),i=n.ID,u=n.sequence,c="".concat(this._className,".getReadReceiptDetail"),d=this._receiptDetailCompleteMap.get(i)||!1,l=0!==o&&1!==o?0:o,_=Je(r)?r:"",p=!ze(a)||a<=0||a>=100?100:a,h="groupID:".concat(s," sequence:").concat(u," cursor:").concat(_," filter:").concat(l," completeFlag:").concat(d);Ge.log("".concat(c," ").concat(h));var m={cursor:"",isCompleted:!1,messageID:i,unreadUserIDList:[],readUserIDList:[]},f=new Hr(jr.GET_READ_RECEIPT_DETAIL);return f.setMessage(h),this.request({protocolName:wo,requestData:{groupID:s,sequence:u,flag:l,cursor:_,count:p}}).then((function(e){f.end();var n=e.data,o=n.cursor,r=n.isCompleted,a=n.unreadUserIDList,s=n.readUserIDList;return m.cursor=o,1===r&&(m.isCompleted=!0,t._receiptDetailCompleteMap.set(i,!0)),0===l?m.readUserIDList=s.map((function(e){return e.userID})):1===l&&(m.unreadUserIDList=a.map((function(e){return e.userID}))),Ge.log("".concat(c," ok")),aa(m)})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];f.setError(e,o,r).end()})),Ge.warn("".concat(c," failed. error:"),e),ma(e)}))}},{key:"getRoamingMessagesHopping",value:function(e){var t=this,n="".concat(this._className,".getRoamingMessagesHopping"),o=new Hr(jr.GET_GROUP_ROAMING_MESSAGES_HOPPING),r=e.groupID,a=e.count,s=e.sequence,i=e.direction,u=s;1===i&&(u=s+a-1);var c=void 0;Dt(r)&&(r=Ut(c=r));var d="".concat(c?"topicID:".concat(c):"groupID:".concat(r)," sequence:").concat(s," direction:").concat(i);return Ge.log("".concat(n," ").concat(d)),this.request({protocolName:Co,requestData:{groupID:r,topicID:c,count:a,sequence:u}}).then((function(r){var a=r.data,u=a.messageList,l=a.complete;if(Ge.log("".concat(n," ok. complete:").concat(l," count:").concat(u?u.length:0)),o.setNetworkType(t.getNetworkType()).setMessage("".concat(d," complete:").concat(l," count:").concat(u?u.length:0)).end(),2===l||qt(u)){var _=t._computeResult();return aa(_)}var p="".concat(C.CONV_GROUP).concat(e.groupID),h=t.getModule(pn).onRoamingMessage(u,p,!1),m=t._computeResult({direction:i,sequence:s,topicID:c,messageList:u,resultList:h});return aa(m)})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),i=n[0],u=n[1];o.setError(e,i,u).setMessage("groupID:".concat(r," sequence:").concat(s," count:").concat(a)).end()})),Ge.warn("".concat(n," failed. error:"),e),ma(e)}))}},{key:"_computeResult",value:function(e){var t={messageList:[],isCompleted:!1,nextMessageSeq:""};if(et(e))return t.isCompleted=!0,t;var n=e.direction,o=e.sequence,r=e.topicID,a=e.messageList,s=void 0===a?[]:a,i=e.resultList,u=void 0===i?[]:i,c=s.length;if(1===n){if(t.nextMessageSeq=s[0].sequence+1,!et(r)){var d=u.findIndex((function(e){return e.sequence===o}));if(-1===d){var l=u.length;return 0===l?s[0].sequence<o&&(t.isCompleted=!0,t.nextMessageSeq=""):u[l-1].sequence<o?(t.isCompleted=!0,t.nextMessageSeq=""):t.messageList=v(u),t}return t.messageList=u.slice(d),t}return t.messageList=v(u),t}return t.nextMessageSeq=s[c-1].sequence-1,t.messageList=v(u),0===t.nextMessageSeq&&(t.isCompleted=!0,t.nextMessageSeq=""),t}},{key:"setMessageRead",value:function(e){var t=this,n=e.conversationID,o=e.lastMessageSeq,r="".concat(this._className,".setMessageRead");Ge.log("".concat(r," conversationID:").concat(n," lastMessageSeq:").concat(o)),ze(o)||Ge.warn("".concat(r," 请勿修改 Conversation.lastMessage.lastSequence,否则可能会导致已读上报结果不准确"));var a=new Hr(jr.SET_GROUP_MESSAGE_READ);a.setMessage("".concat(n,"-").concat(o));var s=n.replace(C.CONV_GROUP,""),i=void 0;return Dt(s)&&(s=Ut(i=s)),this.request({protocolName:So,requestData:{groupID:s,topicID:i,messageReadSeq:o}}).then((function(){a.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(r," ok."));var e=t.getModule(pn);e.updateIsReadAfterReadReport({conversationID:n,lastMessageSeq:o});var u=!0;if(!et(i)){u=!1;var c=t.getModule(_n).getLocalTopic(s,i);c&&c.updateSelfInfo({readedSequence:o})}return e.updateUnreadCount(n,u),aa()})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.log("".concat(r," failed. error:"),e),ma(e)}))}},{key:"_computeLastSequence",value:function(e){var t=e.groupID,n=e.topicID,o=void 0===n?void 0:n,r=e.sequence;return r>0?Promise.resolve(r):et(o)||this.hasLocalGroup(t)?et(o)?this.getGroupLastSequence(t):this.getTopicLastSequence({groupID:t,topicID:o}):Promise.resolve(0)}},{key:"getGroupLastSequence",value:function(e){var t=this,n="".concat(this._className,".getGroupLastSequence"),o=new Hr(jr.GET_GROUP_LAST_SEQUENCE),r=0,a="";if(this.hasLocalGroup(e)){var s=this.getLocalGroupProfile(e),i=s.lastMessage;if(i.lastSequence>0&&!1===i.onlineOnlyFlag)return r=i.lastSequence,a="got lastSequence:".concat(r," from local group profile[lastMessage.lastSequence]. groupID:").concat(e),Ge.log("".concat(n," ").concat(a)),o.setNetworkType(this.getNetworkType()).setMessage("".concat(a)).end(),Promise.resolve(r);if(s.nextMessageSeq>1)return r=s.nextMessageSeq-1,a="got lastSequence:".concat(r," from local group profile[nextMessageSeq]. groupID:").concat(e),Ge.log("".concat(n," ").concat(a)),o.setNetworkType(this.getNetworkType()).setMessage("".concat(a)).end(),Promise.resolve(r)}var u="GROUP".concat(e),c=this.getModule(pn).getLocalConversation(u);if(c&&c.lastMessage.lastSequence&&!1===c.lastMessage.onlineOnlyFlag)return r=c.lastMessage.lastSequence,a="got lastSequence:".concat(r," from local conversation profile[lastMessage.lastSequence]. groupID:").concat(e),Ge.log("".concat(n," ").concat(a)),o.setNetworkType(this.getNetworkType()).setMessage("".concat(a)).end(),Promise.resolve(r);var d={groupIDList:[e],responseFilter:{groupBaseInfoFilter:["NextMsgSeq"]}};return this.getGroupProfileAdvance(d).then((function(s){var i=s.data.successGroupList;return qt(i)?Ge.log("".concat(n," successGroupList is empty. groupID:").concat(e)):(r=i[0].nextMessageSeq-1,a="got lastSequence:".concat(r," from getGroupProfileAdvance. groupID:").concat(e),Ge.log("".concat(n," ").concat(a))),o.setNetworkType(t.getNetworkType()).setMessage("".concat(a)).end(),r})).catch((function(r){return t.probeNetwork().then((function(t){var n=y(t,2),a=n[0],s=n[1];o.setError(r,a,s).setMessage("get lastSequence failed from getGroupProfileAdvance. groupID:".concat(e)).end()})),Ge.warn("".concat(n," failed. error:"),r),ma(r)}))}},{key:"getTopicLastSequence",value:function(e){var t=this,n=e.groupID,o=e.topicID,r="".concat(this._className,".getTopicLastSequence"),a=new Hr(jr.GET_TOPIC_LAST_SEQUENCE),s=0,i="",u=this.getModule(_n);return u.hasLocalTopic(n,o)?(s=u.getLocalTopic(n,o).nextMessageSeq-1,i="get lastSequence:".concat(s," from local topic info[nextMessageSeq]. topicID:").concat(o),Ge.log("".concat(r," ").concat(i)),a.setNetworkType(this.getNetworkType()).setMessage("".concat(i)).end(),Promise.resolve(s)):u.getTopicList({groupID:n,topicIDList:[o]}).then((function(e){var n=e.data.successTopicList;return qt(n)?Ge.log("".concat(r," successTopicList is empty. topicID:").concat(o)):(s=n[0].nextMessageSeq-1,i="get lastSequence:".concat(s," from getTopicList. topicID:").concat(o),Ge.log("".concat(r," ").concat(i))),a.setNetworkType(t.getNetworkType()).setMessage("".concat(i)).end(),s})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),r=n[0],s=n[1];a.setError(e,r,s).setMessage("get lastSequence failed from getTopicList. topicID:".concat(o)).end()})),Ge.warn("".concat(r," failed. error:"),e),ma(e)}))}},{key:"isMessageFromOrToAVChatroom",value:function(e){return!!this._AVChatRoomHandler&&this._AVChatRoomHandler.checkJoinedAVChatRoomByID(e)}},{key:"hasJoinedAVChatRoom",value:function(){return this._AVChatRoomHandler?this._AVChatRoomHandler.hasJoinedAVChatRoom():0}},{key:"getJoinedAVChatRoom",value:function(){return this._AVChatRoomHandler?this._AVChatRoomHandler.getJoinedAVChatRoom():[]}},{key:"isOnlineMessage",value:function(e,t){return!(!this._canIUseOnlineOnlyFlag(e)||!t||!0!==t.onlineUserOnly)}},{key:"_canIUseOnlineOnlyFlag",value:function(e){var t=this.getJoinedAVChatRoom();return!t||!t.includes(e.to)||e.conversationType!==C.CONV_GROUP}},{key:"_onAVChatRoomHistoryMessage",value:function(e){if(!qt(e)){Ge.log("".concat(this._className,"._onAVChatRoomHistoryMessage count:").concat(e.length));var t=[];e.forEach((function(e){t.push(o(o({},e),{},{isHistoryMessage:1}))})),this.onAVChatRoomMessage(t)}}},{key:"onAVChatRoomMessage",value:function(e){this._AVChatRoomHandler&&this._AVChatRoomHandler.onMessage(e)}},{key:"onAVChatRoomMemberBanned",value:function(e){this._AVChatRoomHandler&&this._AVChatRoomHandler.onAVChatRoomMemberBanned(e)}},{key:"getGroupSimplifiedInfo",value:function(e){var t=this,n=new Hr(jr.GET_GROUP_SIMPLIFIED_INFO),o={groupIDList:[e],responseFilter:{groupBaseInfoFilter:["Type","Name"]}};return this.getGroupProfileAdvance(o).then((function(o){var r=o.data.successGroupList;return n.setNetworkType(t.getNetworkType()).setMessage("groupID:".concat(e," type:").concat(r[0].type)).end(),r[0]})).catch((function(o){t.probeNetwork().then((function(t){var r=y(t,2),a=r[0],s=r[1];n.setError(o,a,s).setMessage("groupID:".concat(e)).end()}))}))}},{key:"setUnjoinedAVChatRoom",value:function(e){this._unjoinedAVChatRoomList.set(e,1)}},{key:"deleteUnjoinedAVChatRoom",value:function(e){this._unjoinedAVChatRoomList.has(e)&&this._unjoinedAVChatRoomList.delete(e)}},{key:"isUnjoinedAVChatRoom",value:function(e){return this._unjoinedAVChatRoomList.has(e)}},{key:"onGroupAttributesUpdated",value:function(e){this._groupAttributesHandler&&this._groupAttributesHandler.onGroupAttributesUpdated(e)}},{key:"updateLocalMainSequenceOnReconnected",value:function(){this._groupAttributesHandler&&this._groupAttributesHandler.updateLocalMainSequenceOnReconnected()}},{key:"initGroupAttributes",value:function(e){return this._groupAttributesHandler.initGroupAttributes(e)}},{key:"setGroupAttributes",value:function(e){return this._groupAttributesHandler.setGroupAttributes(e)}},{key:"deleteGroupAttributes",value:function(e){return this._groupAttributesHandler.deleteGroupAttributes(e)}},{key:"getGroupAttributes",value:function(e){return this._groupAttributesHandler.getGroupAttributes(e)}},{key:"reset",value:function(){this.groupMap.clear(),this._unjoinedAVChatRoomList.clear(),this._receiptDetailCompleteMap.clear(),this._commonGroupHandler.reset(),this._groupSystemNoticeHandler.reset(),this._groupTipsHandler.reset(),this._AVChatRoomHandler&&this._AVChatRoomHandler.reset()}}]),n}(bn),Ja=function(){function e(t){a(this,e),this.userID="",this.avatar="",this.nick="",this.role="",this.joinTime="",this.lastSendMsgTime="",this.nameCard="",this.muteUntil=0,this.memberCustomField=[],this._initMember(t)}return i(e,[{key:"_initMember",value:function(e){this.updateMember(e)}},{key:"updateMember",value:function(e){var t=[null,void 0,"",0,NaN];e.memberCustomField&&yt(this.memberCustomField,e.memberCustomField),ct(this,e,["memberCustomField"],t)}},{key:"updateRole",value:function(e){["Owner","Admin","Member"].indexOf(e)<0||(this.role=e)}},{key:"updateMuteUntil",value:function(e){et(e)||(this.muteUntil=Math.floor((Date.now()+1e3*e)/1e3))}},{key:"updateNameCard",value:function(e){et(e)||(this.nameCard=e)}},{key:"updateMemberCustomField",value:function(e){e&&yt(this.memberCustomField,e)}}]),e}(),Xa=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="GroupMemberModule",o.groupMemberListMap=new Map,o.getInnerEmitterInstance().on(va,o._onProfileUpdated,f(o)),o}return i(n,[{key:"_onProfileUpdated",value:function(e){for(var t=this,n=e.data,o=function(e){var o=n[e];t.groupMemberListMap.forEach((function(e){e.has(o.userID)&&e.get(o.userID).updateMember({nick:o.nick,avatar:o.avatar})}))},r=0;r<n.length;r++)o(r)}},{key:"deleteGroupMemberList",value:function(e){this.groupMemberListMap.delete(e)}},{key:"getGroupMemberList",value:function(e){var t=this,n=e.groupID,o=e.offset,r=void 0===o?0:o,a=e.count,s=void 0===a?15:a,i="".concat(this._className,".getGroupMemberList"),u=this.getModule(cn),c=u.hasLocalGroup(n);if(Ge.log("".concat(i," groupID:").concat(n," offset:").concat(r," count:").concat(s," hasLocalGroup:").concat(c)),!c)return ha({memberList:[],offset:0});if(u.getLocalGroupProfile(n).type===C.GRP_AVCHATROOM){if(this.canIUse(V.AVCHATROOM_MBR_LIST))return this._getAVChatRoomMemberList({groupID:n,offset:r});Ge.warn("".concat(i," 从 v2.22.0 起,支持获取直播群在线成员列表,请升级旗舰版套餐且前往 [控制台](https://console.cloud.tencent.com/im) 开启开关。"))}var d=new Hr(jr.GET_GROUP_MEMBER_LIST),l=0,_={groupID:n,limit:s>100?100:s};Tt({groupID:n})?_.next="".concat(r):(_.offset=r,l=r+s);var p=[];return this.request({protocolName:Vo,requestData:_}).then((function(e){var o=e.data,r=o.members,a=o.memberNum,s=o.next,i=void 0===s?void 0:s;if(et(i)||(l=qt(i)?0:i),!Qe(r)||0===r.length)return l=0,Promise.resolve([]);var u=t.getModule(cn);return u.hasLocalGroup(n)&&(u.getLocalGroupProfile(n).memberNum=a),p=t._updateLocalGroupMemberMap(n,r),t.getModule(sn).getUserProfile({userIDList:r.map((function(e){return e.userID})),tagList:[Fe.NICK,Fe.AVATAR]})})).then((function(e){var o=e.data;if(!Qe(o)||0===o.length)return ha({memberList:[],offset:l});var a=o.map((function(e){return{userID:e.userID,nick:e.nick,avatar:e.avatar}}));return t._updateLocalGroupMemberMap(n,a),p.length<s&&(l=0),d.setNetworkType(t.getNetworkType()).setMessage("groupID:".concat(n," offset:").concat(r," count:").concat(s)).end(),Ge.log("".concat(i," ok.")),aa({memberList:p,offset:l})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];d.setError(e,o,r).end()})),Ge.error("".concat(i," failed. error:"),e),ma(e)}))}},{key:"_getAVChatRoomMemberList",value:function(e){var t=this,n=e.groupID,o=e.offset,r="".concat(this._className,"._getVChatRoomMemberList"),a=new Hr(jr.GET_AVCHATROOM_MEMBER_LIST);return a.setMessage("groupID:".concat(n," offset:").concat(o)),this.request({protocolName:Wo,requestData:{groupID:n,offset:o}}).then((function(e){var o=e.data,s=o.memberList,i=void 0===s?[]:s,u=o.offset,c=void 0===u?0:u;a.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(r," ok, member count:").concat(i.length,", next request timestamp:").concat(c,"."));var d=t._updateLocalGroupMemberMap(n,i);return aa({memberList:d,offset:c})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.error("".concat(r," failed. error:"),e),ma(e)}))}},{key:"getGroupMemberProfile",value:function(e){var t=this,n="".concat(this._className,".getGroupMemberProfile"),r=new Hr(jr.GET_GROUP_MEMBER_PROFILE);r.setMessage(e.userIDList.length>5?"userIDList.length:".concat(e.userIDList.length):"userIDList:".concat(e.userIDList)),Ge.log("".concat(n," groupID:").concat(e.groupID," userIDList:").concat(e.userIDList.join(","))),e.userIDList.length>50&&(e.userIDList=e.userIDList.slice(0,50));var a=e.groupID,s=e.userIDList;return this._getGroupMemberProfileAdvance(o(o({},e),{},{userIDList:s})).then((function(e){var n=e.data.members;return Qe(n)&&0!==n.length?(t._updateLocalGroupMemberMap(a,n),t.getModule(sn).getUserProfile({userIDList:n.map((function(e){return e.userID})),tagList:[Fe.NICK,Fe.AVATAR]})):ha([])})).then((function(e){var n=e.data.map((function(e){return{userID:e.userID,nick:e.nick,avatar:e.avatar}}));t._updateLocalGroupMemberMap(a,n);var o=s.filter((function(e){return t.hasLocalGroupMember(a,e)})).map((function(e){return t.getLocalGroupMemberInfo(a,e)}));return r.setNetworkType(t.getNetworkType()).end(),aa({memberList:o})}))}},{key:"addGroupMember",value:function(e){var t=this,n="".concat(this._className,".addGroupMember"),o=e.groupID,r=this.getModule(cn).getLocalGroupProfile(o),a=r.type,s=new Hr(jr.ADD_GROUP_MEMBER);if(s.setMessage("groupID:".concat(o," groupType:").concat(a)),Lt(a)){var i=new la({code:Ir.CANNOT_ADD_MEMBER_IN_AVCHATROOM,message:Sr.CANNOT_ADD_MEMBER_IN_AVCHATROOM});return s.setCode(Ir.CANNOT_ADD_MEMBER_IN_AVCHATROOM).setError(Sr.CANNOT_ADD_MEMBER_IN_AVCHATROOM).setNetworkType(this.getNetworkType()).end(),ma(i)}return e.userIDList=e.userIDList.map((function(e){return{userID:e}})),Ge.log("".concat(n," groupID:").concat(o)),this.request({protocolName:$o,requestData:e}).then((function(o){var a=o.data.members;Ge.log("".concat(n," ok"));var i=a.filter((function(e){return 1===e.result})).map((function(e){return e.userID})),u=a.filter((function(e){return 0===e.result})).map((function(e){return e.userID})),c=a.filter((function(e){return 2===e.result})).map((function(e){return e.userID})),d=a.filter((function(e){return 4===e.result})).map((function(e){return e.userID})),l="groupID:".concat(e.groupID,", ")+"successUserIDList:".concat(i,", ")+"failureUserIDList:".concat(u,", ")+"existedUserIDList:".concat(c,", ")+"overLimitUserIDList:".concat(d);return s.setNetworkType(t.getNetworkType()).setMoreMessage(l).end(),0===i.length?aa({successUserIDList:i,failureUserIDList:u,existedUserIDList:c,overLimitUserIDList:d}):(r.memberCount+=i.length,t._updateConversationGroupProfile(r),aa({successUserIDList:i,failureUserIDList:u,existedUserIDList:c,overLimitUserIDList:d,group:r}))})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"deleteGroupMember",value:function(e){var t=this,n="".concat(this._className,".deleteGroupMember"),o=e.groupID,r=e.userIDList,a=this.getModule(cn).getLocalGroupProfile(o);if(et(a))return ma({code:Ir.CANNOT_FIND_GROUP,message:Sr.CANNOT_FIND_GROUP});if(Lt(a.type))return this.canIUse(V.AVCHATROOM_BAN_MBR)?this._banAVChatRoomMember(e):ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var s=new Hr(jr.DELETE_GROUP_MEMBER),i="groupID:".concat(o," ").concat(r.length>5?"userIDList.length:".concat(r.length):"userIDList:".concat(r));return s.setMessage(i),Ge.log("".concat(n," groupID:").concat(o," userIDList:"),r),this.request({protocolName:zo,requestData:e}).then((function(){return s.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),a.memberCount-=1,t._updateConversationGroupProfile(a),t.deleteLocalGroupMembers(o,r),aa({group:a,userIDList:r})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"_updateConversationGroupProfile",value:function(e){this.getModule(pn).updateConversationGroupProfile([e])}},{key:"_banAVChatRoomMember",value:function(e){var t=this,n="".concat(this._className,"._banAVChatRoomMember"),o=e.groupID,r=e.userIDList,a="groupID:".concat(o," ").concat(r.length>5?"userIDList.length:".concat(r.length):"userIDList:".concat(r)),s=new Hr(jr.BAN_AVCHATROOM_MEMBER);s.setMessage(a),Ge.log("".concat(n," groupID:").concat(o," userIDList:"),r);var i=this.getModule(cn).getLocalGroupProfile(o);return et(e.duration)||0===e.duration?ma({code:Ir.BAN_DURATION_INVALID,message:Sr.BAN_DURATION_INVALID}):this.request({protocolName:Jo,requestData:e}).then((function(){return s.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t.deleteLocalGroupMembers(o,r),aa({group:i,userIDList:r})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"setGroupMemberMuteTime",value:function(e){var t=this,n=e.groupID,o=e.userID,r=e.muteTime,a="".concat(this._className,".setGroupMemberMuteTime");if(o===this.getMyUserID())return ma(new la({code:Ir.CANNOT_MUTE_SELF,message:Sr.CANNOT_MUTE_SELF}));Ge.log("".concat(a," groupID:").concat(n," userID:").concat(o));var s=new Hr(jr.SET_GROUP_MEMBER_MUTE_TIME);return s.setMessage("groupID:".concat(n," userID:").concat(o," muteTime:").concat(r)),this.modifyGroupMemberInfo({groupID:n,userID:o,muteTime:r}).then((function(e){s.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(a," ok"));var o=t.getModule(cn);return aa({group:o.getLocalGroupProfile(n),member:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(a," failed. error:"),e),ma(e)}))}},{key:"setGroupMemberRole",value:function(e){var t=this,n="".concat(this._className,".setGroupMemberRole"),o=e.groupID,r=e.userID,a=e.role,s=this.getModule(cn).getLocalGroupProfile(o);if(s.selfInfo.role!==C.GRP_MBR_ROLE_OWNER)return ma({code:Ir.NOT_OWNER,message:Sr.NOT_OWNER});if([C.GRP_WORK,C.GRP_AVCHATROOM].includes(s.type))return ma({code:Ir.CANNOT_SET_MEMBER_ROLE_IN_WORK_AND_AVCHATROOM,message:Sr.CANNOT_SET_MEMBER_ROLE_IN_WORK_AND_AVCHATROOM});var i=[C.GRP_MBR_ROLE_ADMIN,C.GRP_MBR_ROLE_MEMBER];if(Tt({groupID:o})&&i.push(C.GRP_MBR_ROLE_CUSTOM),i.indexOf(a)<0)return ma({code:Ir.INVALID_MEMBER_ROLE,message:Sr.INVALID_MEMBER_ROLE});if(r===this.getMyUserID())return ma({code:Ir.CANNOT_SET_SELF_MEMBER_ROLE,message:Sr.CANNOT_SET_SELF_MEMBER_ROLE});var u=new Hr(jr.SET_GROUP_MEMBER_ROLE);return u.setMessage("groupID:".concat(o," userID:").concat(r," role:").concat(a)),Ge.log("".concat(n," groupID:").concat(o," userID:").concat(r)),this.modifyGroupMemberInfo({groupID:o,userID:r,role:a}).then((function(e){return u.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),aa({group:s,member:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];u.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"setGroupMemberNameCard",value:function(e){var t=this,n="".concat(this._className,".setGroupMemberNameCard"),o=e.groupID,r=e.userID,a=void 0===r?this.getMyUserID():r,s=e.nameCard;Ge.log("".concat(n," groupID:").concat(o," userID:").concat(a));var i=new Hr(jr.SET_GROUP_MEMBER_NAME_CARD);return i.setMessage("groupID:".concat(o," userID:").concat(a," nameCard:").concat(s)),this.modifyGroupMemberInfo({groupID:o,userID:a,nameCard:s}).then((function(e){Ge.log("".concat(n," ok")),i.setNetworkType(t.getNetworkType()).end();var r=t.getModule(cn).getLocalGroupProfile(o);return a===t.getMyUserID()&&r&&r.setSelfNameCard(s),aa({group:r,member:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];i.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"setGroupMemberCustomField",value:function(e){var t=this,n="".concat(this._className,".setGroupMemberCustomField"),o=e.groupID,r=e.userID,a=void 0===r?this.getMyUserID():r,s=e.memberCustomField;Ge.log("".concat(n," groupID:").concat(o," userID:").concat(a));var i=new Hr(jr.SET_GROUP_MEMBER_CUSTOM_FIELD);return i.setMessage("groupID:".concat(o," userID:").concat(a," memberCustomField:").concat(JSON.stringify(s))),this.modifyGroupMemberInfo({groupID:o,userID:a,memberCustomField:s}).then((function(e){i.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok"));var r=t.getModule(cn).getLocalGroupProfile(o);return aa({group:r,member:e})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];i.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"modifyGroupMemberInfo",value:function(e){var t=this,n=e.groupID,r=e.userID,a=void 0;return Dt(n)&&(n=Ut(a=n)),this.request({protocolName:Xo,requestData:o(o({},e),{},{groupID:n,topicID:a})}).then((function(){if(t.hasLocalGroupMember(n,r)){var o=t.getLocalGroupMemberInfo(n,r);return et(e.muteTime)||o.updateMuteUntil(e.muteTime),et(e.role)||o.updateRole(e.role),et(e.nameCard)||o.updateNameCard(e.nameCard),et(e.memberCustomField)||o.updateMemberCustomField(e.memberCustomField),o}return t.getGroupMemberProfile({groupID:n,userIDList:[r]}).then((function(e){return y(e.data.memberList,1)[0]}))}))}},{key:"_getGroupMemberProfileAdvance",value:function(e){return this.request({protocolName:Ko,requestData:o(o({},e),{},{memberInfoFilter:e.memberInfoFilter?e.memberInfoFilter:["Role","JoinTime","NameCard","ShutUpUntil"]})})}},{key:"_updateLocalGroupMemberMap",value:function(e,t){var n=this;return Qe(t)&&0!==t.length?t.map((function(t){return n.hasLocalGroupMember(e,t.userID)?n.getLocalGroupMemberInfo(e,t.userID).updateMember(t):n.setLocalGroupMember(e,new Ja(t)),n.getLocalGroupMemberInfo(e,t.userID)})):[]}},{key:"deleteLocalGroupMembers",value:function(e,t){var n=this.groupMemberListMap.get(e);n&&t.forEach((function(e){n.delete(e)}))}},{key:"getLocalGroupMemberInfo",value:function(e,t){return this.groupMemberListMap.has(e)?this.groupMemberListMap.get(e).get(t):null}},{key:"setLocalGroupMember",value:function(e,t){if(this.groupMemberListMap.has(e))this.groupMemberListMap.get(e).set(t.userID,t);else{var n=(new Map).set(t.userID,t);this.groupMemberListMap.set(e,n)}}},{key:"getLocalGroupMemberList",value:function(e){return this.groupMemberListMap.get(e)}},{key:"hasLocalGroupMember",value:function(e,t){return this.groupMemberListMap.has(e)&&this.groupMemberListMap.get(e).has(t)}},{key:"hasLocalGroupMemberMap",value:function(e){return this.groupMemberListMap.has(e)}},{key:"reset",value:function(){this.groupMemberListMap.clear()}}]),n}(bn),Za=["topicID","topicName","avatar","introduction","notification","unreadCount","muteAllMembers","customData","groupAtInfoList","nextMessageSeq","selfInfo"],Qa=function(e){return qt(e)?{lastTime:0,lastSequence:0,fromAccount:"",payload:null,type:"",messageForShow:"",nick:"",version:0,cloudCustomData:"",isRevoked:!1}:{lastTime:e.time||0,lastSequence:e.sequence||0,fromAccount:e.from||"",payload:e.payload||null,type:e.type||"",messageForShow:Ft(e.type,e.payload),nick:e.nick||"",version:e.version||0,cloudCustomData:e.cloudCustomData||"",isRevoked:e.isRevoked||!1}},es=function(){function e(t){a(this,e),this.topicID="",this.topicName="",this.avatar="",this.introduction="",this.notification="",this.unreadCount=0,this.muteAllMembers=!1,this.customData="",this.groupAtInfoList=[],this.nextMessageSeq=0,this.lastMessage=Qa(t.lastMessage),this.selfInfo={muteTime:0,readedSequence:0,messageRemindType:""},this._initTopic(t)}return i(e,[{key:"_initTopic",value:function(e){for(var t in e)Za.indexOf(t)<0||("selfInfo"===t?this.updateSelfInfo(e[t]):this[t]="muteAllMembers"===t?1===e[t]:e[t])}},{key:"updateUnreadCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.unreadCount=e}},{key:"updateNextMessageSeq",value:function(e){this.nextMessageSeq=e}},{key:"updateLastMessage",value:function(e){this.lastMessage=Qa(e)}},{key:"updateGroupAtInfoList",value:function(e){this.groupAtInfoList=JSON.parse(JSON.stringify(e))}},{key:"updateTopic",value:function(e){et(e.selfInfo)||this.updateSelfInfo(e.selfInfo),et(e.muteAllMembers)||(this.muteAllMembers=1===e.muteAllMembers),ct(this,e,["groupID","lastMessageTime","selfInfo","muteAllMembers","lastMsg"])}},{key:"updateSelfInfo",value:function(e){return 0!==ct(this.selfInfo,e,[],[""])}},{key:"reduceUnreadCount",value:function(){return this.unreadCount>=1&&(this.unreadCount-=1,!0)}},{key:"isLastMessageRevoked",value:function(e){return e.sequence===this.lastMessage.lastSequence}},{key:"setLastMessageRevoked",value:function(e){this.lastMessage.isRevoked=e}}]),e}(),ts=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="TopicModule",o._topicMap=new Map,o._getTopicTimeMap=new Map,o.TOPIC_CACHE_TIME=300,o.TOPIC_LAST_ACTIVE_TIME=3600,o.getInnerEmitterInstance().on(ya,o._onCloudConfigUpdated,f(o)),o}return i(n,[{key:"_onCloudConfigUpdated",value:function(){var e=this.getCloudConfig("topic_cache_time"),t=this.getCloudConfig("topic_last_active_time");et(e)||(this.TOPIC_CACHE_TIME=Number(e)),et(t)||(this.TOPIC_LAST_ACTIVE_TIME=Number(t))}},{key:"onTopicCreated",value:function(e){var t=e.groupID;this.resetGetTopicTime(t),this.emitOuterEvent(E.TOPIC_CREATED,e)}},{key:"onTopicDeleted",value:function(e){var t=this,n=e.groupID,o=e.topicIDList;(void 0===o?[]:o).forEach((function(e){t._deleteLocalTopic(n,e)})),this.emitOuterEvent(E.TOPIC_DELETED,e)}},{key:"onTopicMessageRemindTypeUpdated",value:function(e){var t=e.groupID,n=e.topicID,o=e.messageRemindType,r=this.getLocalTopic(t,n);if(r){var a=r.updateSelfInfo({messageRemindType:o});a&&this.emitOuterEvent(E.TOPIC_UPDATED,{groupID:t,topic:r}),Ge.debug("".concat(this._className,".onTopicMessageRemindTypeUpdated topicID:").concat(n)+" messageRemindType:".concat(o," isTopicUpdated:").concat(a))}}},{key:"onTopicProfileUpdated",value:function(e){var t=e.groupID,n=e.topicID,o=this.getLocalTopic(t,n);o&&(o.updateTopic(e),this.emitOuterEvent(E.TOPIC_UPDATED,{groupID:t,topic:o}))}},{key:"onConversationProxy",value:function(e){var t=e.topicID,n=e.unreadCount,o=e.groupAtInfoList,r=Ut(t),a=this.getLocalTopic(r,t),s=!1;a&&(et(n)||a.unreadCount===n||(a.updateUnreadCount(n),s=!0),et(o)||(a.updateGroupAtInfoList(o),s=!0)),s&&this.emitOuterEvent(E.TOPIC_UPDATED,{groupID:r,topic:a})}},{key:"onMessageSent",value:function(e){var t=e.groupID,n=e.topicID,o=e.lastMessage,r=this.getLocalTopic(t,n);r&&(r.nextMessageSeq+=1,r.updateLastMessage(o),this.emitOuterEvent(E.TOPIC_UPDATED,{groupID:t,topic:r}))}},{key:"onMessageModified",value:function(e){var t=e.to,n=e.time,o=e.sequence,r=e.elements,a=e.cloudCustomData,s=e.messageVersion,i=Ut(t),u=this.getLocalTopic(i,t);if(u){var c=u.lastMessage;Ge.debug("".concat(this._className,".onMessageModified topicID:").concat(t," lastMessage:"),JSON.stringify(c),"options:",JSON.stringify(e)),c&&(null===c.payload||c.lastTime===n&&c.lastSequence===o&&c.version!==s)&&(c.type=r[0].type,c.payload=r[0].content,c.messageForShow=Ft(c.type,c.payload),c.cloudCustomData=a,c.version=s,c.lastSequence=o,c.lastTime=n,this.emitOuterEvent(E.TOPIC_UPDATED,{groupID:i,topic:u}))}}},{key:"onMessageRevoked",value:function(e){var t=this;if(0!==e.length){var n=null,o=null,r=!1;e.forEach((function(e){var a=e.to;o=Ut(a),(n=t.getLocalTopic(o,a))&&(n.reduceUnreadCount()&&(r=!0),n.isLastMessageRevoked(e)&&(n.setLastMessageRevoked(!0),r=!0))})),r&&this.emitOuterEvent(E.TOPIC_UPDATED,{groupID:o,topic:n})}}},{key:"getJoinedCommunityList",value:function(){return this.getModule(cn).getGroupList({isGroupWithTopicOnly:!0}).then((function(e){var t=e.data.groupList;return aa({groupList:void 0===t?[]:t})})).catch((function(e){return ma(e)}))}},{key:"createTopicInCommunity",value:function(e){var t=this,n="".concat(this._className,".createTopicInCommunity"),r=e.topicID;if(!et(r)&&!Dt(r))return ma({code:Ir.ILLEGAL_TOPIC_ID,message:Sr.ILLEGAL_TOPIC_ID});var a=new Hr(jr.CREATE_TOPIC);return this.request({protocolName:hr,requestData:o({},e)}).then((function(r){var s=r.data.topicID;return a.setMessage("topicID:".concat(s)).setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t._updateTopicMap([o(o({},e),{},{topicID:s})]),aa({topicID:s})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"deleteTopicFromCommunity",value:function(e){var t=this,n="".concat(this._className,".deleteTopicFromCommunity"),o=e.groupID,r=e.topicIDList,a=void 0===r?[]:r,s=new Hr(jr.DELETE_TOPIC);return s.setMessage("groupID:".concat(o," topicIDList:").concat(a)),this.request({protocolName:mr,requestData:{groupID:o,topicIDList:a}}).then((function(e){var n=e.data.resultList,r=[],a=[];(void 0===n?[]:n).forEach((function(e){var t=e.topicID,n=e.errorCode,o=e.errorInfo;0===n?r.push({topicID:t}):a.push({topicID:t,code:n,message:o})}));var i="success count:".concat(r.length,", fail count:").concat(a.length);return s.setMoreMessage("".concat(i)).setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(i)),r.forEach((function(e){t._deleteLocalTopic(o,e.topicID)})),aa({successTopicList:r,failureTopicList:a})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"updateTopicProfile",value:function(e){var t=this,n="".concat(this._className,".updateTopicProfile"),r=new Hr(jr.UPDATE_TOPIC_PROFILE);return r.setMessage("groupID:".concat(e.groupID," topicID:").concat(e.topicID)),Ge.log("".concat(n," options:"),e),et(e.muteAllMembers)||(e.muteAllMembers=!0===e.muteAllMembers?"On":"Off"),this.request({protocolName:fr,requestData:o({},e)}).then((function(){return r.setNetworkType(t.getNetworkType()).end(),Ge.log("".concat(n," ok")),t._updateTopicMap([e]),aa({topic:t.getLocalTopic(e.groupID,e.topicID)})})).catch((function(e){return t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];r.setError(e,o,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"getTopicList",value:function(e){var t=this,n="".concat(this._className,".getTopicList"),r=e.groupID,a=e.topicIDList,s=void 0===a?[]:a,i=0===s.length,u=new Hr(jr.GET_TOPIC_LIST);if(u.setMessage("groupID:".concat(r)),this._getTopicTimeMap.has(r)){var c=this._getTopicTimeMap.get(r),d=c.isGetAll,l=c.time;if((d||!d&&!i)&&Date.now()-l<1e3*this.TOPIC_CACHE_TIME){var _=this._getLocalTopicList(r,s);if(i||_.length===s.length)return u.setNetworkType(this.getNetworkType()).setMoreMessage("from cache, topic count:".concat(_.length)).end(),Ge.log("".concat(n," groupID:").concat(r," from cache, topic count:").concat(_.length)),ha({successTopicList:_,failureTopicList:[]})}}return this.request({protocolName:gr,requestData:{groupID:r,topicIDList:s}}).then((function(e){var a=e.data.topicInfoList,s=[],c=[],d=[];(void 0===a?[]:a).forEach((function(e){var t=e.topic,n=e.selfInfo,r=e.errorCode,a=e.errorInfo,i=t.topicID;0===r?(s.push(o(o({},t),{},{selfInfo:n})),c.push(i)):d.push({topicID:i,code:r,message:a})})),t._updateTopicMap(s),t._handleTopicAtInfo(s);var l="success count:".concat(c.length,", fail count:").concat(d.length);u.setNetworkType(t.getNetworkType()).setMoreMessage("".concat(l)).end(),Ge.log("".concat(n," groupID:").concat(r," from remote, ").concat(l));var _=[];return qt(c)||(t._getTopicTimeMap.set(r,{time:Date.now(),isGetAll:i}),_=t._getLocalTopicList(r,c)),aa({successTopicList:_,failureTopicList:d})})).catch((function(e){return t.probeNetwork(e).then((function(t){var n=y(t,2),o=n[0],r=n[1];u.setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"hasLocalTopic",value:function(e,t){return!!this._topicMap.has(e)&&this._topicMap.get(e).has(t)}},{key:"getLocalTopic",value:function(e,t){var n=null;return this._topicMap.has(e)&&(n=this._topicMap.get(e).get(t)),n}},{key:"_getLocalTopicList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this._topicMap.get(e),o=[];return n&&(o=v(n.values())),0===t.length?o:o.filter((function(e){return t.includes(e.topicID)}))}},{key:"_deleteLocalTopic",value:function(e,t){this._topicMap.has(e)&&(this._topicMap.get(e).delete(t),Ge.log("".concat(this._className,"._deleteLocalTopic groupID:").concat(e," topicID:").concat(t)))}},{key:"_updateTopicMap",value:function(e){var t=this,n=[];e.forEach((function(e){var o=e.groupID,r=e.topicID,a=null;t._topicMap.has(o)||t._topicMap.set(o,new Map),t._topicMap.get(o).has(r)?(a=t._topicMap.get(o).get(r)).updateTopic(e):(t._getTopicLastMessage(e),a=new es(e),t._topicMap.get(o).set(r,a));var s=a.nextMessageSeq-a.selfInfo.readedSequence-1,i=s>0?s:0;a.updateUnreadCount(i),n.push({conversationID:"".concat(C.CONV_GROUP).concat(r),type:C.CONV_TOPIC,unreadCount:i})})),n.length>0&&this.getModule(pn).updateTopicConversation(n)}},{key:"resetGetTopicTime",value:function(e){var t=this;et(e)?v(this._getTopicTimeMap.keys()).forEach((function(e){t._getTopicTimeMap.set(e,0)})):this._getTopicTimeMap.set(e,0)}},{key:"getTopicListOnReconnected",value:function(){var e=this,t=v(this._topicMap.keys()),n=[];t.forEach((function(t){var o=[];e._getLocalTopicList(t).forEach((function(t){var n=t.lastMessage.lastTime,r=void 0===n?0:n;Date.now()-1e3*r<1e3*e.TOPIC_LAST_ACTIVE_TIME&&o.push(t.topicID)})),o.length>0&&n.push({groupID:t,topicIDList:o})})),Ge.log("".concat(this._className,".getTopicListOnReconnected. active community count:").concat(n.length)),this._relayGetTopicList(n)}},{key:"_relayGetTopicList",value:function(e){var t=this;if(0!==e.length){var n=e.shift(),o=n.topicIDList.length>5?"topicIDList.length:".concat(n.topicIDList.length):"topicIDList:".concat(n.topicIDList),r=new Hr(jr.RELAY_GET_TOPIC_LIST);r.setMessage(o),Ge.log("".concat(this._className,"._relayGetTopicList. ").concat(o)),this.getTopicList(n).then((function(){r.setNetworkType(t.getNetworkType()).end(),t._relayGetTopicList(e)})).catch((function(n){t.probeNetwork().then((function(e){var t=y(e,2),o=t[0],a=t[1];r.setError(n,o,a).end()})),t._relayGetTopicList(e)}))}}},{key:"_handleTopicAtInfo",value:function(e){var t=this;0!==e.length&&e.forEach((function(e){var n=e.groupID,r=e.topicID,a=e.groupAtInfoList,s=[];et(a)||(a.forEach((function(e){s.push(o(o({},e),{},{groupID:n,topicID:r}))})),t.getModule(pn).onNewGroupAtTips({dataList:s}))}))}},{key:"_getTopicLastMessage",value:function(e){if(!et(e.lastMsg)){var t={time:e.lastMsg.time,sequence:e.lastMsg.sequence,from:e.lastMsg.from,payload:e.lastMsg.elements[0]?e.lastMsg.elements[0].content:null,type:e.lastMsg.elements[0]?e.lastMsg.elements[0].type:"",nick:e.lastMsg.nick,version:e.lastMsg.messageVersion,cloudCustomData:e.lastMsg.cloudCustomData};e.lastMessage=t}}},{key:"deleteTopicListInCommunity",value:function(e){var t=this,n=this._getLocalTopicList(e),o=this.getModule(pn);n.forEach((function(n){var r=n.topicID;t._deleteLocalTopic(e,r),t._getTopicTimeMap.delete(e),o.deleteLocalConversation("".concat(C.CONV_GROUP).concat(r))}))}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._topicMap.clear(),this._getTopicTimeMap.clear(),this.TOPIC_CACHE_TIME=300,this.TOPIC_LAST_ACTIVE_TIME=3600}}]),n}(bn),ns=function(){function e(t){a(this,e),this._userModule=t,this._className="ProfileHandler",this.TAG="profile",this.accountProfileMap=new Map,this.expirationTime=864e5}return i(e,[{key:"setExpirationTime",value:function(e){this.expirationTime=e}},{key:"getUserProfile",value:function(e){var t=this,n=e.userIDList;e.fromAccount=this._userModule.getMyAccount(),n.length>100&&(Ge.warn("".concat(this._className,".getUserProfile 获取用户资料人数不能超过100人")),n.length=100);for(var o,r=[],a=[],s=0,i=n.length;s<i;s++)o=n[s],this._userModule.isMyFriend(o)&&this._containsAccount(o)?a.push(this._getProfileFromMap(o)):r.push(o);if(0===r.length)return ha(a);e.toAccount=r;var u=e.bFromGetMyProfile||!1,c=[];e.toAccount.forEach((function(e){c.push({toAccount:e,standardSequence:0,customSequence:0})})),e.userItem=c;var d=new Hr(jr.GET_USER_PROFILE);return d.setMessage(n.length>5?"userIDList.length:".concat(n.length):"userIDList:".concat(n)),this._userModule.request({protocolName:xn,requestData:e}).then((function(e){d.setNetworkType(t._userModule.getNetworkType()).end(),Ge.info("".concat(t._className,".getUserProfile ok"));var n=t._handleResponse(e).concat(a);return aa(u?n[0]:n)})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];d.setError(e,o,r).end()})),Ge.error("".concat(t._className,".getUserProfile failed. error:"),e),ma(e)}))}},{key:"getMyProfile",value:function(){var e=this._userModule.getMyAccount();if(Ge.log("".concat(this._className,".getMyProfile myAccount:").concat(e)),this._fillMap(),this._containsAccount(e)){var t=this._getProfileFromMap(e);return Ge.debug("".concat(this._className,".getMyProfile from cache, myProfile:")+JSON.stringify(t)),ha(t)}return this.getUserProfile({fromAccount:e,userIDList:[e],bFromGetMyProfile:!0})}},{key:"_handleResponse",value:function(e){for(var t,n,o=ut.now(),r=e.data.userProfileItem,a=[],s=0,i=r.length;s<i;s++)"@TLS#NOT_FOUND"!==r[s].to&&""!==r[s].to&&(t=r[s].to,n=this._updateMap(t,this._getLatestProfileFromResponse(t,r[s].profileItem)),a.push(n));return Ge.log("".concat(this._className,"._handleResponse cost ").concat(ut.now()-o," ms")),a}},{key:"_getLatestProfileFromResponse",value:function(e,t){var n={};if(n.userID=e,n.profileCustomField=[],!qt(t))for(var o=0,r=t.length;o<r;o++)if(t[o].tag.indexOf("Tag_Profile_Custom")>-1)n.profileCustomField.push({key:t[o].tag,value:t[o].value});else switch(t[o].tag){case Fe.NICK:n.nick=t[o].value;break;case Fe.GENDER:n.gender=t[o].value;break;case Fe.BIRTHDAY:n.birthday=t[o].value;break;case Fe.LOCATION:n.location=t[o].value;break;case Fe.SELFSIGNATURE:n.selfSignature=t[o].value;break;case Fe.ALLOWTYPE:n.allowType=t[o].value;break;case Fe.LANGUAGE:n.language=t[o].value;break;case Fe.AVATAR:n.avatar=t[o].value;break;case Fe.MESSAGESETTINGS:n.messageSettings=t[o].value;break;case Fe.ADMINFORBIDTYPE:n.adminForbidType=t[o].value;break;case Fe.LEVEL:n.level=t[o].value;break;case Fe.ROLE:n.role=t[o].value;break;default:Ge.warn("".concat(this._className,"._handleResponse unknown tag:"),t[o].tag,t[o].value)}return n}},{key:"updateMyProfile",value:function(e){var t=this,n="".concat(this._className,".updateMyProfile"),o=new Hr(jr.UPDATE_MY_PROFILE);o.setMessage(JSON.stringify(e));var r=(new Ca).validate(e);if(!r.valid)return o.setCode(Ir.UPDATE_PROFILE_INVALID_PARAM).setMoreMessage("".concat(n," info:").concat(r.tips)).setNetworkType(this._userModule.getNetworkType()).end(),Ge.error("".concat(n," info:").concat(r.tips,",请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#updateMyProfile")),ma({code:Ir.UPDATE_PROFILE_INVALID_PARAM,message:Sr.UPDATE_PROFILE_INVALID_PARAM});var a=[];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&("profileCustomField"===s?e.profileCustomField.forEach((function(e){a.push({tag:e.key,value:e.value})})):a.push({tag:Fe[s.toUpperCase()],value:e[s]}));return 0===a.length?(o.setCode(Ir.UPDATE_PROFILE_NO_KEY).setMoreMessage(Sr.UPDATE_PROFILE_NO_KEY).setNetworkType(this._userModule.getNetworkType()).end(),Ge.error("".concat(n," info:").concat(Sr.UPDATE_PROFILE_NO_KEY,",请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#updateMyProfile")),ma({code:Ir.UPDATE_PROFILE_NO_KEY,message:Sr.UPDATE_PROFILE_NO_KEY})):this._userModule.request({protocolName:Hn,requestData:{fromAccount:this._userModule.getMyAccount(),profileItem:a}}).then((function(r){o.setNetworkType(t._userModule.getNetworkType()).end(),Ge.info("".concat(n," ok"));var a=t._updateMap(t._userModule.getMyAccount(),e);return t._userModule.emitOuterEvent(E.PROFILE_UPDATED,[a]),ha(a)})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"onProfileModified",value:function(e){var t=e.dataList;if(!qt(t)){var n,o,r=t.length;Ge.debug("".concat(this._className,".onProfileModified count:").concat(r," dataList:"),e.dataList);for(var a=[],s=0;s<r;s++)n=t[s].userID,o=this._updateMap(n,this._getLatestProfileFromResponse(n,t[s].profileList)),a.push(o);a.length>0&&(this._userModule.emitInnerEvent(va,a),this._userModule.emitOuterEvent(E.PROFILE_UPDATED,a))}}},{key:"_fillMap",value:function(){if(0===this.accountProfileMap.size){for(var e=this._getCachedProfiles(),t=Date.now(),n=0,o=e.length;n<o;n++)t-e[n].lastUpdatedTime<this.expirationTime&&this.accountProfileMap.set(e[n].userID,e[n]);Ge.log("".concat(this._className,"._fillMap from cache, map.size:").concat(this.accountProfileMap.size))}}},{key:"_updateMap",value:function(e,t){var n,o=Date.now();return this._containsAccount(e)?(n=this._getProfileFromMap(e),t.profileCustomField&&yt(n.profileCustomField,t.profileCustomField),ct(n,t,["profileCustomField"]),n.lastUpdatedTime=o):(n=new Ca(t),(this._userModule.isMyFriend(e)||e===this._userModule.getMyAccount())&&(n.lastUpdatedTime=o,this.accountProfileMap.set(e,n))),this._flushMap(e===this._userModule.getMyAccount()),n}},{key:"_flushMap",value:function(e){var t=v(this.accountProfileMap.values()),n=this._userModule.getStorageModule();Ge.debug("".concat(this._className,"._flushMap length:").concat(t.length," flushAtOnce:").concat(e)),n.setItem(this.TAG,t,e)}},{key:"_containsAccount",value:function(e){return this.accountProfileMap.has(e)}},{key:"_getProfileFromMap",value:function(e){return this.accountProfileMap.get(e)}},{key:"_getCachedProfiles",value:function(){var e=this._userModule.getStorageModule().getItem(this.TAG);return qt(e)?[]:e}},{key:"onConversationsProfileUpdated",value:function(e){for(var t,n,o,r=[],a=0,s=e.length;a<s;a++)n=(t=e[a]).userID,this._userModule.isMyFriend(n)||(this._containsAccount(n)?(o=this._getProfileFromMap(n),ct(o,t)>0&&r.push(n)):r.push(t.userID));0!==r.length&&(Ge.info("".concat(this._className,".onConversationsProfileUpdated toAccountList:").concat(r)),this.getUserProfile({userIDList:r}))}},{key:"getNickAndAvatarByUserID",value:function(e){if(this._containsAccount(e)){var t=this._getProfileFromMap(e);return{nick:t.nick,avatar:t.avatar}}return{nick:"",avatar:""}}},{key:"reset",value:function(){this._flushMap(!0),this.accountProfileMap.clear()}}]),e}(),os=i((function e(t){a(this,e),qt||(this.userID=t.userID||"",this.timeStamp=t.timeStamp||0)})),rs=function(){function e(t){a(this,e),this._userModule=t,this._className="BlacklistHandler",this._blacklistMap=new Map,this.startIndex=0,this.maxLimited=100,this.currentSequence=0}return i(e,[{key:"getLocalBlacklist",value:function(){return v(this._blacklistMap.keys())}},{key:"getBlacklist",value:function(){var e=this,t="".concat(this._className,".getBlacklist"),n={fromAccount:this._userModule.getMyAccount(),maxLimited:this.maxLimited,startIndex:0,lastSequence:this.currentSequence},o=new Hr(jr.GET_BLACKLIST);return this._userModule.request({protocolName:jn,requestData:n}).then((function(n){var r=n.data,a=r.blackListItem,s=r.currentSequence,i=qt(a)?0:a.length;o.setNetworkType(e._userModule.getNetworkType()).setMessage("blackList count:".concat(i)).end(),Ge.info("".concat(t," ok")),e.currentSequence=s,e._handleResponse(a,!0),e._userModule.emitOuterEvent(E.BLACKLIST_UPDATED,v(e._blacklistMap.keys()))})).catch((function(n){return e._userModule.probeNetwork().then((function(e){var t=y(e,2),r=t[0],a=t[1];o.setError(n,r,a).end()})),Ge.error("".concat(t," failed. error:"),n),ma(n)}))}},{key:"addBlacklist",value:function(e){var t=this,n="".concat(this._className,".addBlacklist"),o=new Hr(jr.ADD_TO_BLACKLIST);if(!Qe(e.userIDList))return o.setCode(Ir.ADD_BLACKLIST_INVALID_PARAM).setMessage(Sr.ADD_BLACKLIST_INVALID_PARAM).setNetworkType(this._userModule.getNetworkType()).end(),Ge.error("".concat(n," options.userIDList 必需是数组")),ma({code:Ir.ADD_BLACKLIST_INVALID_PARAM,message:Sr.ADD_BLACKLIST_INVALID_PARAM});var r=this._userModule.getMyAccount();return 1===e.userIDList.length&&e.userIDList[0]===r?(o.setCode(Ir.CANNOT_ADD_SELF_TO_BLACKLIST).setMessage(Sr.CANNOT_ADD_SELF_TO_BLACKLIST).setNetworkType(this._userModule.getNetworkType()).end(),Ge.error("".concat(n," 不能把自己拉黑")),ma({code:Ir.CANNOT_ADD_SELF_TO_BLACKLIST,message:Sr.CANNOT_ADD_SELF_TO_BLACKLIST})):(e.userIDList.includes(r)&&(e.userIDList=e.userIDList.filter((function(e){return e!==r})),Ge.warn("".concat(n," 不能把自己拉黑,已过滤"))),e.fromAccount=this._userModule.getMyAccount(),e.toAccount=e.userIDList,this._userModule.request({protocolName:qn,requestData:e}).then((function(r){return o.setNetworkType(t._userModule.getNetworkType()).setMessage(e.userIDList.length>5?"userIDList.length:".concat(e.userIDList.length):"userIDList:".concat(e.userIDList)).end(),Ge.info("".concat(n," ok")),t._handleResponse(r.resultItem,!0),aa(v(t._blacklistMap.keys()))})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)})))}},{key:"_handleResponse",value:function(e,t){if(!qt(e))for(var n,o,r,a=0,s=e.length;a<s;a++)o=e[a].to,r=e[a].resultCode,(et(r)||0===r)&&(t?((n=this._blacklistMap.has(o)?this._blacklistMap.get(o):new os).userID=o,!qt(e[a].addBlackTimeStamp)&&(n.timeStamp=e[a].addBlackTimeStamp),this._blacklistMap.set(o,n)):this._blacklistMap.has(o)&&(n=this._blacklistMap.get(o),this._blacklistMap.delete(o)));Ge.log("".concat(this._className,"._handleResponse total:").concat(this._blacklistMap.size," bAdd:").concat(t))}},{key:"deleteBlacklist",value:function(e){var t=this,n="".concat(this._className,".deleteBlacklist"),o=new Hr(jr.REMOVE_FROM_BLACKLIST);return Qe(e.userIDList)?(e.fromAccount=this._userModule.getMyAccount(),e.toAccount=e.userIDList,this._userModule.request({protocolName:Bn,requestData:e}).then((function(r){return o.setNetworkType(t._userModule.getNetworkType()).setMessage(e.userIDList.length>5?"userIDList.length:".concat(e.userIDList.length):"userIDList:".concat(e.userIDList)).end(),Ge.info("".concat(n," ok")),t._handleResponse(r.data.resultItem,!1),aa(v(t._blacklistMap.keys()))})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),r=n[0],a=n[1];o.setError(e,r,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))):(o.setCode(Ir.DEL_BLACKLIST_INVALID_PARAM).setMessage(Sr.DEL_BLACKLIST_INVALID_PARAM).setNetworkType(this._userModule.getNetworkType()).end(),Ge.error("".concat(n," options.userIDList 必需是数组")),ma({code:Ir.DEL_BLACKLIST_INVALID_PARAM,message:Sr.DEL_BLACKLIST_INVALID_PARAM}))}},{key:"onAccountDeleted",value:function(e){for(var t,n=[],o=0,r=e.length;o<r;o++)t=e[o],this._blacklistMap.has(t)&&(this._blacklistMap.delete(t),n.push(t));n.length>0&&(Ge.log("".concat(this._className,".onAccountDeleted count:").concat(n.length," userIDList:"),n),this._userModule.emitOuterEvent(E.BLACKLIST_UPDATED,v(this._blacklistMap.keys())))}},{key:"onAccountAdded",value:function(e){for(var t,n=[],o=0,r=e.length;o<r;o++)t=e[o],this._blacklistMap.has(t)||(this._blacklistMap.set(t,new os({userID:t})),n.push(t));n.length>0&&(Ge.log("".concat(this._className,".onAccountAdded count:").concat(n.length," userIDList:"),n),this._userModule.emitOuterEvent(E.BLACKLIST_UPDATED,v(this._blacklistMap.keys())))}},{key:"reset",value:function(){this._blacklistMap.clear(),this.startIndex=0,this.maxLimited=100,this.currentSequence=0}}]),e}(),as=function(e){var t=String(e).replace(/[=]+$/,""),n="";if(t.length%4==1)return Ge.warn("decodeBase64 failed: ".concat(e," to be decoded is not correctly encoded.")),"";for(var o,r,a=0,s=0;r=t.charAt(s++);~r&&(o=a%4?64*o+r:r,a++%4)?n+=String.fromCharCode(255&o>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);try{return decodeURIComponent(escape(n))}catch(c){return Ge.warn("decodeBase64 failed: ".concat(e," to be decoded is not correctly encoded.")),""}},ss=function(){function e(t){a(this,e),this._userModule=t,this._className="UserStatusHandler",this.MAX_QUERY_USER_COUNT=500,this.MAX_SUBSCRIBE_USER_COUNT=100,this.MAX_UNSUBSCRIBE_USER_COUNT=100,this._userModule.getInnerEmitterInstance().on(ya,this._onCloudConfigUpdated,this)}return i(e,[{key:"_onCloudConfigUpdated",value:function(){var e=this._userModule.getCloudConfig("status_query_count"),t=this._userModule.getCloudConfig("status_sub_count"),n=this._userModule.getCloudConfig("status_unsub_count");Ge.log("".concat(this._className,"._onCloudConfigUpdated statusQueryCount:").concat(e," statusSubscribeCount:").concat(t)+" statusUnsubscribeCount:".concat(n)),et(e)||(this.MAX_QUERY_USER_COUNT=parseInt(e,10)),et(e)||(this.MAX_SUBSCRIBE_USER_COUNT=parseInt(t,10)),et(e)||(this.MAX_UNSUBSCRIBE_USER_COUNT=parseInt(n,10))}},{key:"onUserStatusUpdated",value:function(e){var t=e.dataList,n=this._userModule.getMyUserID(),o=this._userModule.getModule(hn),r=t.map((function(e){var t=e.to,r=e.statusType,a=e.customStatus,s=as(a);return t===n&&o.setCustomStatus(s),{userID:t,statusType:r,customStatus:s}}));this._userModule.emitOuterEvent(E.USER_STATUS_UPDATED,r)}},{key:"setSelfStatus",value:function(e){var t=this,n="".concat(this._className,".setSelfStatus"),o=e.customStatus,r=new Hr(jr.SET_SELF_STATUS);return this._userModule.request({protocolName:Mr,requestData:{customStatus:o}}).then((function(e){return r.setNetworkType(t._userModule.getNetworkType()).setMessage("customStatus:".concat(o)).end(),Ge.log("".concat(n," ok. customStatus:").concat(o)),t._userModule.getModule(hn).setCustomStatus(o),aa({userID:t._userModule.getMyUserID(),statusType:1,customStatus:o})})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];r.setError(e,o,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"getUserStatus",value:function(e){var t=this,n="".concat(this._className,".getUserStatus"),o=e.userIDList,r=void 0===o?[]:o,a=this._userModule.getMyUserID(),s=v(r),i=void 0,u=s.indexOf(a);if(u>-1){s.splice(u,1);var c=this._userModule.getModule(hn).getCustomStatus();i={userID:a,statusType:1,customStatus:c}}if(0===s.length)return ha({successUserList:[i],failureUserList:[]});if(!this._userModule.canIUse(V.USER_STATUS))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});s.length>this.MAX_QUERY_USER_COUNT&&(Ge.warn("".concat(n," 查询用户状态单次请求不能超过").concat(this.MAX_QUERY_USER_COUNT,"个用户")),s=r.slice(0,this.MAX_QUERY_USER_COUNT));var d=new Hr(jr.GET_USER_STATUS);return this._userModule.request({protocolName:yr,requestData:{userIDList:s}}).then((function(e){var o=e.data,a=o.successUserList,s=void 0===a?[]:a,u=o.failureUserList,c=void 0===u?[]:u,l=s.map((function(e){var t=e.userID,n=e.statusType,o=e.customStatus;return{userID:t,statusType:n,customStatus:as(o)}})),_=c.map((function(e){var t=e.userID,n=e.invalidUserID,o=e.errorCode,r=e.errorInfo;return{userID:qt(n)?t:n,code:o,message:r}}));et(i)||l.unshift(i);var p="userID count:".concat(r.length,", success count:").concat(l.length,", fail count:").concat(_.length);return d.setNetworkType(t._userModule.getNetworkType()).setMessage("".concat(p)).end(),Ge.log("".concat(n," ok. ").concat(p,".")),aa({successUserList:l,failureUserList:_})})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];d.setMessage("userID count:".concat(r.length)).setError(e,o,a).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"subscribeUserStatus",value:function(e){var t=this;if(!this._userModule.canIUse(V.USER_STATUS))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n="".concat(this._className,".subscribeUserStatus"),o=e.userIDList,r=void 0===o?[]:o,a=v(r);a.length>this.MAX_SUBSCRIBE_USER_COUNT&&(Ge.warn("".concat(n," 订阅用户状态单次请求不能超过").concat(this.MAX_SUBSCRIBE_USER_COUNT,"个用户")),a=r.slice(0,this.MAX_SUBSCRIBE_USER_COUNT));var s=new Hr(jr.SUBSCRIBE_USER_STATUS),i="userID count:".concat(r.length);return Ge.log("".concat(n," ").concat(i)),this._userModule.request({protocolName:vr,requestData:{userIDList:a}}).then((function(e){var o=e.data.failureUserList,r=(void 0===o?[]:o).map((function(e){var t=e.userID,n=e.invalidUserID,o=e.errorCode,r=e.errorInfo;return{userID:qt(n)?t:n,code:o,message:r}}));return s.setNetworkType(t._userModule.getNetworkType()).setMessage("".concat(i," fail count:").concat(r.length)).end(),Ge.log("".concat(n," ok. fail count:").concat(r.length,".")),aa({failureUserList:r})})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setMessage("".concat(i)).setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"unsubscribeUserStatus",value:function(e){var t=this;if(!this._userModule.canIUse(V.USER_STATUS))return ma({code:Ir.CANNOT_USE_COMMERCIAL_ABILITY,message:Sr.CANNOT_USE_COMMERCIAL_ABILITY});var n="".concat(this._className,".unsubscribeUserStatus"),o=(e||{}).userIDList,r=void 0===o?[]:o,a=v(r);r.length>this.MAX_UNSUBSCRIBE_USER_COUNT&&(Ge.warn("".concat(n," 取消订阅用户状态单次请求不能超过").concat(this.MAX_UNSUBSCRIBE_USER_COUNT,"个用户")),a=r.slice(0,this.MAX_UNSUBSCRIBE_USER_COUNT));var s=new Hr(jr.UNSUBSCRIBE_USER_STATUS),i="userID count:".concat(r.length);Ge.log("".concat(n," ").concat(i));var u={userIDList:a};return 0===a.length&&(u.userIDList=void 0,u.unsubscribeAll=1),this._userModule.request({protocolName:Lr,requestData:u}).then((function(e){var o=e.data.failureUserList,r=(void 0===o?[]:o).map((function(e){var t=e.userID,n=e.invalidUserID,o=e.errorCode,r=e.errorInfo;return{userID:qt(n)?t:n,code:o,message:r}}));return s.setNetworkType(t._userModule.getNetworkType()).setMessage("".concat(i," fail count:").concat(r.length)).end(),Ge.log("".concat(n," ok. fail count:").concat(r.length,".")),aa({failureUserList:r})})).catch((function(e){return t._userModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];s.setMessage("".concat(i)).setError(e,o,r).end()})),Ge.error("".concat(n," failed. error:"),e),ma(e)}))}},{key:"reset",value:function(){this.MAX_QUERY_USER_COUNT=500,this.MAX_SUBSCRIBE_USER_COUNT=100,this.MAX_UNSUBSCRIBE_USER_COUNT=100}}]),e}(),is=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="UserModule",o._profileHandler=new ns(f(o)),o._blacklistHandler=new rs(f(o)),o._userStatusHandler=new ss(f(o)),o.getInnerEmitterInstance().on(Ma,o.onContextUpdated,f(o)),o}return i(n,[{key:"onContextUpdated",value:function(e){this._profileHandler.getMyProfile(),this._blacklistHandler.getBlacklist()}},{key:"onProfileModified",value:function(e){this._profileHandler.onProfileModified(e)}},{key:"onRelationChainModified",value:function(e){var t=e.dataList;if(!qt(t)){var n=[];t.forEach((function(e){e.blackListDelAccount&&n.push.apply(n,v(e.blackListDelAccount))})),n.length>0&&this._blacklistHandler.onAccountDeleted(n);var o=[];t.forEach((function(e){e.blackListAddAccount&&o.push.apply(o,v(e.blackListAddAccount))})),o.length>0&&this._blacklistHandler.onAccountAdded(o)}}},{key:"onConversationsProfileUpdated",value:function(e){this._profileHandler.onConversationsProfileUpdated(e)}},{key:"getMyAccount",value:function(){return this.getMyUserID()}},{key:"getMyProfile",value:function(){return this._profileHandler.getMyProfile()}},{key:"getStorageModule",value:function(){return this.getModule(mn)}},{key:"isMyFriend",value:function(e){var t=this.getModule(dn);return!!t&&t.isMyFriend(e)}},{key:"getUserProfile",value:function(e){return this._profileHandler.getUserProfile(e)}},{key:"updateMyProfile",value:function(e){return this._profileHandler.updateMyProfile(e)}},{key:"getNickAndAvatarByUserID",value:function(e){return this._profileHandler.getNickAndAvatarByUserID(e)}},{key:"getLocalBlacklist",value:function(){var e=this._blacklistHandler.getLocalBlacklist();return ha(e)}},{key:"addBlacklist",value:function(e){return this._blacklistHandler.addBlacklist(e)}},{key:"deleteBlacklist",value:function(e){return this._blacklistHandler.deleteBlacklist(e)}},{key:"onUserStatusUpdated",value:function(e){this._userStatusHandler.onUserStatusUpdated(e)}},{key:"setSelfStatus",value:function(e){return this._userStatusHandler.setSelfStatus(e)}},{key:"getUserStatus",value:function(e){return this._userStatusHandler.getUserStatus(e)}},{key:"subscribeUserStatus",value:function(e){return this._userStatusHandler.subscribeUserStatus(e)}},{key:"unsubscribeUserStatus",value:function(e){return this._userStatusHandler.unsubscribeUserStatus(e)}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._profileHandler.reset(),this._blacklistHandler.reset(),this._userStatusHandler.reset()}}]),n}(bn),us=function(){function e(t,n){a(this,e),this._moduleManager=t,this._isLoggedIn=!1,this._SDKAppID=n.SDKAppID,this._userID=n.userID||"",this._userSig=n.userSig||"",this._version="2.22.1",this._a2Key="",this._tinyID="",this._customStatus="",this._contentType="json",this._unlimitedAVChatRoom=n.unlimitedAVChatRoom,this._scene=n.scene||"",this._oversea=n.oversea,this._instanceID=n.instanceID,this._statusInstanceID=0,this._isDevMode=n.devMode,this._proxyServer=n.proxyServer}return i(e,[{key:"isLoggedIn",value:function(){return this._isLoggedIn}},{key:"isOversea",value:function(){return this._oversea}},{key:"isPrivateNetWork",value:function(){return this._proxyServer}},{key:"isDevMode",value:function(){return this._isDevMode}},{key:"isSingaporeSite",value:function(){return this._SDKAppID>=2e7&&this._SDKAppID<3e7}},{key:"isKoreaSite",value:function(){return this._SDKAppID>=3e7&&this._SDKAppID<4e7}},{key:"isGermanySite",value:function(){return this._SDKAppID>=4e7&&this._SDKAppID<5e7}},{key:"isIndiaSite",value:function(){return this._SDKAppID>=5e7&&this._SDKAppID<6e7}},{key:"isUnlimitedAVChatRoom",value:function(){return this._unlimitedAVChatRoom}},{key:"setUserID",value:function(e){this._userID=e}},{key:"getUserID",value:function(){return this._userID}},{key:"setUserSig",value:function(e){this._userSig=e}},{key:"getUserSig",value:function(){return this._userSig}},{key:"getSDKAppID",value:function(){return this._SDKAppID}},{key:"setTinyID",value:function(e){this._tinyID=e,this._isLoggedIn=!0}},{key:"getTinyID",value:function(){return this._tinyID}},{key:"setCustomStatus",value:function(e){this._customStatus=e}},{key:"getCustomStatus",value:function(){return this._customStatus}},{key:"getScene",value:function(){return this._isTUIKit()?"tuikit":this._scene}},{key:"getInstanceID",value:function(){return this._instanceID}},{key:"getStatusInstanceID",value:function(){return this._statusInstanceID}},{key:"setStatusInstanceID",value:function(e){this._statusInstanceID=e}},{key:"getVersion",value:function(){return this._version}},{key:"getA2Key",value:function(){return this._a2Key}},{key:"setA2Key",value:function(e){this._a2Key=e}},{key:"getContentType",value:function(){return this._contentType}},{key:"getProxyServer",value:function(){return this._proxyServer}},{key:"_isTUIKit",value:function(){var e=!1,t=!1,o=!1,r=!1,a=[];oe&&(a=Object.keys(ae)),re&&(a=ne?Object.keys(n):Object.keys(window));for(var s=0,i=a.length;s<i;s++)if(a[s].toLowerCase().includes("uikit")){e=!0;break}if(a=null,oe&&ot(getApp)){var u=getApp().globalData;Ze(u)&&!0===u.isTUIKit&&(t=!0)}!0===this._moduleManager.getModule(mn).getStorageSync("TIM_".concat(this._SDKAppID,"_isTUIKit"))&&(o=!0);var c=null;if(J&&!Z&&"undefined"==typeof n&&__wxConfig&&(c=__wxConfig.pages),X&&"undefined"==typeof n&&__qqConfig&&(c=__qqConfig.pages),Qe(c)&&c.length>0){for(var d=0,l=c.length;d<l;d++)if(c[d].toLowerCase().includes("tui")){r=!0;break}c=null}return e||t||o||r}},{key:"reset",value:function(){this._isLoggedIn=!1,this._userSig="",this._a2Key="",this._tinyID="",this._customStatus="",this._statusInstanceID=0}}]),e}(),cs=function(e){c(o,e);var t=M(o);function o(e){var n;return a(this,o),(n=t.call(this,e))._className="SignModule",n._helloInterval=120,n._lastLoginTs=0,n._lastWsHelloTs=0,n._isWebUniapp=0,La.mixin(f(n)),n}return i(o,[{key:"onCheckTimer",value:function(e){this.isLoggedIn()&&e%this._helloInterval==0&&this._hello()}},{key:"login",value:function(e){if(this.isLoggedIn()){var t="您已经登录帐号".concat(e.userID,"!如需切换帐号登录,请先调用 logout 接口登出,再调用 login 接口登录。");return Ge.warn(t),ha({actionStatus:"OK",errorCode:0,errorInfo:t,repeatLogin:!0})}if(Date.now()-this._lastLoginTs<=15e3)return Ge.warn("您正在尝试登录帐号".concat(e.userID,"!请勿重复登录。")),ma({code:Ir.REPEAT_LOGIN,message:Sr.REPEAT_LOGIN});Ge.log("".concat(this._className,".login userID:").concat(e.userID));var n=this._checkLoginInfo(e);if(0!==n.code)return ma(n);var o=this.getModule(hn),r=e.userID,a=e.userSig;return o.setUserID(r),o.setUserSig(a),this.getModule(Tn).updateProtocolConfig(),this._login()}},{key:"_login",value:function(){var e=this,t=this.getModule(hn),o=t.getScene(),r=0,a=new Hr(jr.LOGIN);a.setMessage("".concat(o)).setMoreMessage("identifier:".concat(this.getMyUserID())),ne?"tuikit"===o?a.setUIPlatform(4):a.setUIPlatform(3):oe?"tuikit"===o?a.setUIPlatform(12):a.setUIPlatform(11):re&&(ke?"tuikit"===o?a.setUIPlatform(17):a.setUIPlatform(16):"tuikit"===o?a.setUIPlatform(14):a.setUIPlatform(13));var s=this.getModule(On);if(s.canIUseOfflinePush()){this._isWebUniapp=s.getUniAppPlatform();var i=this._getStatusInstanceID();t.setStatusInstanceID(i),this.getModule(Tn).updateProtocolConfig(),r=s.getDeviceBrand()}return this._lastLoginTs=Date.now(),this.request({protocolName:wn,requestData:{deviceBrand:r,isWebUniapp:this._isWebUniapp}}).then((function(r){e._lastLoginTs=0;var s=Date.now(),i=null,u=r.data,c=u.a2Key,d=u.tinyID,l=u.helloInterval,_=u.instanceID,p=u.timeStamp,h=u.customStatus,m=void 0===h?"":h;Ge.log("".concat(e._className,".login ok. scene:").concat(o," helloInterval:").concat(l," instanceID:").concat(_," timeStamp:").concat(p));var f=1e3*p,g=s-a.getStartTs(),M=f+parseInt(g/2)-s,y=a.getStartTs()+M;if(a.start(y),function(e,t){Oe=t;var n=new Date;n.setTime(e),Ge.info("baseTime from server: ".concat(n," offset: ").concat(Oe))}(f,M),!d)throw i=new la({code:Ir.NO_TINYID,message:Sr.NO_TINYID}),a.setError(i,!0,e.getNetworkType()).end(),i;if(!c)throw i=new la({code:Ir.NO_A2KEY,message:Sr.NO_A2KEY}),a.setError(i,!0,e.getNetworkType()).end(),i;a.setNetworkType(e.getNetworkType()).setMoreMessage("helloInterval:".concat(l," instanceID:").concat(_," offset:").concat(M)).end(),t.setA2Key(c),t.setTinyID(d),t.setStatusInstanceID(_);var v=as(m);t.setCustomStatus(v),e.getModule(Tn).updateProtocolConfig(),e.emitInnerEvent(Ma),e._helloInterval=l,e.triggerReady();var L=e.getModule(On);return L.canIUseOfflinePush()&&(n.setStorageSync("timUniAppInstanceID",_),L.init()),e._fetchCloudControlConfig(),r})).catch((function(t){return e.probeNetwork().then((function(e){var n=y(e,2),o=n[0],r=n[1];a.setError(t,o,r).end(!0)})),e._moduleManager.setNotReadyReason(Ir.LOGIN_FAILED),Ge.error("".concat(e._className,".login failed. error:"),t),e._lastLoginTs=0,e._moduleManager.onLoginFailed(),ma(t)}))}},{key:"logout",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!this.isLoggedIn())return ma({code:Ir.USER_NOT_LOGGED_IN,message:Sr.USER_NOT_LOGGED_IN});var n=new Hr(jr.LOGOUT);return n.setNetworkType(this.getNetworkType()).setMessage("identifier:".concat(this.getMyUserID())).end(!0),Ge.info("".concat(this._className,".logout type:").concat(t)),0===t&&this._moduleManager.setNotReadyReason(Ir.LOGGED_OUT),this.request({protocolName:Nn,requestData:{type:t}}).then((function(){return e.resetReady(),ha({})})).catch((function(t){return Ge.error("".concat(e._className,"._logout error:"),t),e.resetReady(),ha({})}))}},{key:"_fetchCloudControlConfig",value:function(){this.getModule(In).fetchConfig()}},{key:"_getStatusInstanceID",value:function(){return n.getStorageSync("timUniAppInstanceID")}},{key:"_hello",value:function(){var e=this;this._lastWsHelloTs=Date.now(),this.request({protocolName:Rn,requestData:{isWebUniapp:this._isWebUniapp}}).catch((function(t){Ge.warn("".concat(e._className,"._hello error:"),t)}))}},{key:"getLastWsHelloTs",value:function(){return this._lastWsHelloTs}},{key:"_checkLoginInfo",value:function(e){var t=0,n="";return qt(this.getModule(hn).getSDKAppID())?(t=Ir.NO_SDKAPPID,n=Sr.NO_SDKAPPID):qt(e.userID)?(t=Ir.NO_IDENTIFIER,n=Sr.NO_IDENTIFIER):qt(e.userSig)&&(t=Ir.NO_USERSIG,n=Sr.NO_USERSIG),{code:t,message:n}}},{key:"onMultipleAccountKickedOut",value:function(e){var t=this;new Hr(jr.KICKED_OUT).setNetworkType(this.getNetworkType()).setMessage("type:".concat(C.KICKED_OUT_MULT_ACCOUNT," newInstanceInfo:").concat(JSON.stringify(e))).end(!0),Ge.warn("".concat(this._className,".onMultipleAccountKickedOut userID:").concat(this.getMyUserID()," newInstanceInfo:"),e),this.logout(1).then((function(){t.emitOuterEvent(E.KICKED_OUT,{type:C.KICKED_OUT_MULT_ACCOUNT}),t._moduleManager.setNotReadyReason(Ir.KICKED_OUT_MULT_ACCOUNT),t._moduleManager.reset()}))}},{key:"onMultipleDeviceKickedOut",value:function(e){var t=this;new Hr(jr.KICKED_OUT).setNetworkType(this.getNetworkType()).setMessage("type:".concat(C.KICKED_OUT_MULT_DEVICE," newInstanceInfo:").concat(JSON.stringify(e))).end(!0),Ge.warn("".concat(this._className,".onMultipleDeviceKickedOut userID:").concat(this.getMyUserID()," newInstanceInfo:"),e),this.logout(1).then((function(){t.emitOuterEvent(E.KICKED_OUT,{type:C.KICKED_OUT_MULT_DEVICE}),t._moduleManager.setNotReadyReason(Ir.KICKED_OUT_MULT_DEVICE),t._moduleManager.reset()}))}},{key:"onUserSigExpired",value:function(){new Hr(jr.KICKED_OUT).setNetworkType(this.getNetworkType()).setMessage(C.KICKED_OUT_USERSIG_EXPIRED).end(!0),Ge.warn("".concat(this._className,".onUserSigExpired: userSig 签名过期被踢下线")),0!==this.getModule(hn).getStatusInstanceID()&&(this.emitOuterEvent(E.KICKED_OUT,{type:C.KICKED_OUT_USERSIG_EXPIRED}),this._moduleManager.setNotReadyReason(Ir.KICKED_OUT_USERSIG_EXPIRED),this._moduleManager.reset())}},{key:"onRestApiKickedOut",value:function(e){new Hr(jr.KICKED_OUT).setNetworkType(this.getNetworkType()).setMessage("type:".concat(C.KICKED_OUT_REST_API," newInstanceInfo:").concat(JSON.stringify(e))).end(!0),Ge.warn("".concat(this._className,".onRestApiKickedOut userID:").concat(this.getMyUserID()," newInstanceInfo:"),e),0!==this.getModule(hn).getStatusInstanceID()&&(this.emitOuterEvent(E.KICKED_OUT,{type:C.KICKED_OUT_REST_API}),this._moduleManager.setNotReadyReason(Ir.KICKED_OUT_REST_API),this._moduleManager.reset(),this.getModule(Dn).onRestApiKickedOut())}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this.resetReady(),this._helloInterval=120,this._lastLoginTs=0,this._lastWsHelloTs=0,this._isWebUniapp=0}}]),o}(bn);function ds(){return null}var ls=function(){function e(t){a(this,e),this._moduleManager=t,this._className="StorageModule",this._storageQueue=new Map,this._errorTolerantHandle()}return i(e,[{key:"_errorTolerantHandle",value:function(){oe||!et(window)&&!et(window.localStorage)||(this.getItem=ds,this.setItem=ds,this.removeItem=ds,this.clear=ds)}},{key:"onCheckTimer",value:function(e){if(e%20==0){if(0===this._storageQueue.size)return;this._doFlush()}}},{key:"_doFlush",value:function(){try{var e,t=S(this._storageQueue);try{for(t.s();!(e=t.n()).done;){var n=y(e.value,2),o=n[0],r=n[1];this._setStorageSync(this._getKey(o),r)}}catch(i){t.e(i)}finally{t.f()}this._storageQueue.clear()}catch(u){Ge.warn("".concat(this._className,"._doFlush error:"),u)}}},{key:"_getPrefix",value:function(){var e=this._moduleManager.getModule(hn);return"TIM_".concat(e.getSDKAppID(),"_").concat(e.getUserID(),"_")}},{key:"_getKey",value:function(e){return"".concat(this._getPrefix()).concat(e)}},{key:"getItem",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];try{var n=t?this._getKey(e):e;return this.getStorageSync(n)}catch(a){return Ge.warn("".concat(this._className,".getItem error:"),a),{}}}},{key:"setItem",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(n){var r=o?this._getKey(e):e;this._setStorageSync(r,t)}else this._storageQueue.set(e,t)}},{key:"clear",value:function(){try{oe?ae.clearStorageSync():localStorage&&localStorage.clear()}catch(e){Ge.warn("".concat(this._className,".clear error:"),e)}}},{key:"removeItem",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];try{var n=t?this._getKey(e):e;this._removeStorageSync(n)}catch(a){Ge.warn("".concat(this._className,".removeItem error:"),a)}}},{key:"getSize",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"b";try{var o={size:0,limitSize:5242880,unit:n};if(Object.defineProperty(o,"leftSize",{enumerable:!0,get:function(){return o.limitSize-o.size}}),oe&&(o.limitSize=1024*ae.getStorageInfoSync().limitSize),e)o.size=JSON.stringify(this.getItem(e)).length+this._getKey(e).length;else if(oe){var r=ae.getStorageInfoSync(),a=r.keys;a.forEach((function(e){o.size+=JSON.stringify(t.getStorageSync(e)).length+t._getKey(e).length}))}else if(localStorage)for(var s in localStorage)localStorage.hasOwnProperty(s)&&(o.size+=localStorage.getItem(s).length+s.length);return this._convertUnit(o)}catch(c){Ge.warn("".concat(this._className," error:"),c)}}},{key:"_convertUnit",value:function(e){var t={},n=e.unit;for(var o in t.unit=n,e)"number"==typeof e[o]&&("kb"===n.toLowerCase()?t[o]=Math.round(e[o]/1024):"mb"===n.toLowerCase()?t[o]=Math.round(e[o]/1024/1024):t[o]=e[o]);return t}},{key:"_setStorageSync",value:function(e,t){oe?ee?my.setStorageSync({key:e,data:t}):ae.setStorageSync(e,t):localStorage&&localStorage.setItem(e,JSON.stringify(t))}},{key:"getStorageSync",value:function(e){return oe?ee?my.getStorageSync({key:e}).data:ae.getStorageSync(e):localStorage?JSON.parse(localStorage.getItem(e)):{}}},{key:"_removeStorageSync",value:function(e){oe?ee?my.removeStorageSync({key:e}):ae.removeStorageSync(e):localStorage&&localStorage.removeItem(e)}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._doFlush()}}]),e}(),_s=function(){function e(t){a(this,e),this._className="SSOLogBody",this._report=[]}return i(e,[{key:"pushIn",value:function(e){Ge.debug("".concat(this._className,".pushIn"),this._report.length,e),this._report.push(e)}},{key:"backfill",value:function(e){var t;Qe(e)&&0!==e.length&&(Ge.debug("".concat(this._className,".backfill"),this._report.length,e.length),(t=this._report).unshift.apply(t,v(e)))}},{key:"getLogsNumInMemory",value:function(){return this._report.length}},{key:"isEmpty",value:function(){return 0===this._report.length}},{key:"_reset",value:function(){this._report.length=0,this._report=[]}},{key:"getLogsInMemory",value:function(){var e=this._report.slice();return this._reset(),e}}]),e}(),ps=function(e){var t=e.getModule(hn);return{SDKType:10,SDKAppID:t.getSDKAppID(),SDKVersion:t.getVersion(),tinyID:Number(t.getTinyID()),userID:t.getUserID(),platform:e.getPlatform(),instanceID:t.getInstanceID(),traceID:be()}},hs=function(e){c(n,e);var t=M(n);function n(e){var o;a(this,n),(o=t.call(this,e))._className="EventStatModule",o.TAG="im-ssolog-event",o._reportBody=new _s,o.MIN_THRESHOLD=20,o.MAX_THRESHOLD=100,o.WAITING_TIME=6e4,o.REPORT_LEVEL=[4,5,6],o.REPORT_SDKAPPID_BLACKLIST=[],o.REPORT_TINYID_WHITELIST=[],o._lastReportTime=Date.now();var r=o.getInnerEmitterInstance();return r.on(Ma,o._onLoginSuccess,f(o)),r.on(ya,o._onCloudConfigUpdated,f(o)),o}return i(n,[{key:"reportAtOnce",value:function(){Ge.debug("".concat(this._className,".reportAtOnce")),this._report()}},{key:"_onLoginSuccess",value:function(){var e=this,t=this.getModule(mn),n=t.getItem(this.TAG,!1);!qt(n)&&ot(n.forEach)&&(Ge.log("".concat(this._className,"._onLoginSuccess get ssolog in storage, count:").concat(n.length)),n.forEach((function(t){e._reportBody.pushIn(t)})),t.removeItem(this.TAG,!1))}},{key:"_onCloudConfigUpdated",value:function(){var e=this.getCloudConfig("evt_rpt_threshold"),t=this.getCloudConfig("evt_rpt_waiting"),n=this.getCloudConfig("evt_rpt_level"),o=this.getCloudConfig("evt_rpt_sdkappid_bl"),r=this.getCloudConfig("evt_rpt_tinyid_wl");et(e)||(this.MIN_THRESHOLD=Number(e)),et(t)||(this.WAITING_TIME=Number(t)),et(n)||(this.REPORT_LEVEL=n.split(",").map((function(e){return Number(e)}))),et(o)||(this.REPORT_SDKAPPID_BLACKLIST=o.split(",").map((function(e){return Number(e)}))),et(r)||(this.REPORT_TINYID_WHITELIST=r.split(","))}},{key:"pushIn",value:function(e){e instanceof Hr&&(e.updateTimeStamp(),this._reportBody.pushIn(e),this._reportBody.getLogsNumInMemory()>=this.MIN_THRESHOLD&&this._report())}},{key:"onCheckTimer",value:function(){Date.now()<this._lastReportTime+this.WAITING_TIME||this._reportBody.isEmpty()||this._report()}},{key:"_filterLogs",value:function(e){var t=this,n=this.getModule(hn),o=n.getSDKAppID(),r=n.getTinyID();return Yt(this.REPORT_SDKAPPID_BLACKLIST,o)&&!Gt(this.REPORT_TINYID_WHITELIST,r)?[]:e.filter((function(e){return t.REPORT_LEVEL.includes(e.level)}))}},{key:"_report",value:function(){var e=this;if(!this._reportBody.isEmpty()){var t=this._reportBody.getLogsInMemory(),n=this._filterLogs(t);if(0!==n.length){var r={header:ps(this),event:n};this.request({protocolName:tr,requestData:o({},r)}).then((function(){e._lastReportTime=Date.now()})).catch((function(n){Ge.warn("".concat(e._className,".report failed. networkType:").concat(e.getNetworkType()," error:"),n),e._reportBody.backfill(t),e._reportBody.getLogsNumInMemory()>e.MAX_THRESHOLD&&e._flushAtOnce()}))}else this._lastReportTime=Date.now()}}},{key:"_flushAtOnce",value:function(){var e=this.getModule(mn),t=e.getItem(this.TAG,!1),n=this._reportBody.getLogsInMemory();if(qt(t))Ge.log("".concat(this._className,"._flushAtOnce count:").concat(n.length)),e.setItem(this.TAG,n,!0,!1);else{var o=n.concat(t);o.length>this.MAX_THRESHOLD&&(o=o.slice(0,this.MAX_THRESHOLD)),Ge.log("".concat(this._className,"._flushAtOnce count:").concat(o.length)),e.setItem(this.TAG,o,!0,!1)}}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._lastReportTime=0,this._report(),this.REPORT_SDKAPPID_BLACKLIST=[],this.REPORT_TINYID_WHITELIST=[]}}]),n}(bn),ms="none",fs="online",gs=[Ir.OVER_FREQUENCY_LIMIT,Ir.OPEN_SERVICE_OVERLOAD_ERROR],Ms=function(){function e(t){a(this,e),this._moduleManager=t,this._networkType="",this._className="NetMonitorModule",this.MAX_WAIT_TIME=3e3,this._mpNetworkStatusCallback=null,this._webOnlineCallback=null,this._webOfflineCallback=null}return i(e,[{key:"start",value:function(){var e=this;oe?(ae.getNetworkType({success:function(t){e._networkType=t.networkType,t.networkType===ms?Ge.warn("".concat(e._className,".start no network, please check!")):Ge.info("".concat(e._className,".start networkType:").concat(t.networkType))}}),this._mpNetworkStatusCallback=this._onNetworkStatusChange.bind(this),ae.onNetworkStatusChange(this._mpNetworkStatusCallback)):(this._networkType=fs,this._webOnlineCallback=this._onWebOnline.bind(this),this._webOfflineCallback=this._onWebOffline.bind(this),window&&(window.addEventListener("online",this._webOnlineCallback),window.addEventListener("offline",this._webOfflineCallback)))}},{key:"_onWebOnline",value:function(){this._onNetworkStatusChange({isConnected:!0,networkType:fs})}},{key:"_onWebOffline",value:function(){this._onNetworkStatusChange({isConnected:!1,networkType:ms})}},{key:"_onNetworkStatusChange",value:function(e){var t=e.isConnected,n=e.networkType,o=!1;t?(Ge.info("".concat(this._className,"._onNetworkStatusChange previousNetworkType:").concat(this._networkType," currentNetworkType:").concat(n)),this._networkType!==n&&(o=!0,this._moduleManager.getModule(Dn).reConnect(!0))):this._networkType!==n&&(o=!0,Ge.warn("".concat(this._className,"._onNetworkStatusChange no network, please check!")),this._moduleManager.getModule(Dn).offline()),o&&(new Hr(jr.NETWORK_CHANGE).setMessage("isConnected:".concat(t," previousNetworkType:").concat(this._networkType," networkType:").concat(n)).end(),this._networkType=n)}},{key:"probe",value:function(e){var t=this;return!et(e)&&gs.includes(e.code)?Promise.resolve([!0,this._networkType]):new Promise((function(e,n){oe?ae.getNetworkType({success:function(n){t._networkType=n.networkType,n.networkType===ms?(Ge.warn("".concat(t._className,".probe no network, please check!")),e([!1,n.networkType])):(Ge.info("".concat(t._className,".probe networkType:").concat(n.networkType)),e([!0,n.networkType]))}}):t._networkType===ms?e([!1,ms]):e([!0,fs])}))}},{key:"getNetworkType",value:function(){return this._networkType}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),oe?null!==this._mpNetworkStatusCallback&&(ae.offNetworkStatusChange&&(te||Z?ae.offNetworkStatusChange(this._mpNetworkStatusCallback):ae.offNetworkStatusChange()),this._mpNetworkStatusCallback=null):window&&(null!==this._webOnlineCallback&&(window.removeEventListener("online",this._webOnlineCallback),this._webOnlineCallback=null),null!==this._onWebOffline&&(window.removeEventListener("offline",this._webOfflineCallback),this._webOfflineCallback=null))}}]),e}(),ys=b((function(e){var t=Object.prototype.hasOwnProperty,n="~";function o(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,o,a,s){if("function"!=typeof o)throw new TypeError("The listener must be a function");var i=new r(o,a||e,s),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],i]:e._events[u].push(i):(e._events[u]=i,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function i(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),i.prototype.eventNames=function(){var e,o,r=[];if(0===this._eventsCount)return r;for(o in e=this._events)t.call(e,o)&&r.push(n?o.slice(1):o);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},i.prototype.listeners=function(e){var t=n?n+e:e,o=this._events[t];if(!o)return[];if(o.fn)return[o.fn];for(var r=0,a=o.length,s=new Array(a);r<a;r++)s[r]=o[r].fn;return s},i.prototype.listenerCount=function(e){var t=n?n+e:e,o=this._events[t];return o?o.fn?1:o.length:0},i.prototype.emit=function(e,t,o,r,a,s){var i=n?n+e:e;if(!this._events[i])return!1;var u,c,d=this._events[i],l=arguments.length;if(d.fn){switch(d.once&&this.removeListener(e,d.fn,void 0,!0),l){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,t),!0;case 3:return d.fn.call(d.context,t,o),!0;case 4:return d.fn.call(d.context,t,o,r),!0;case 5:return d.fn.call(d.context,t,o,r,a),!0;case 6:return d.fn.call(d.context,t,o,r,a,s),!0}for(c=1,u=new Array(l-1);c<l;c++)u[c-1]=arguments[c];d.fn.apply(d.context,u)}else{var _,p=d.length;for(c=0;c<p;c++)switch(d[c].once&&this.removeListener(e,d[c].fn,void 0,!0),l){case 1:d[c].fn.call(d[c].context);break;case 2:d[c].fn.call(d[c].context,t);break;case 3:d[c].fn.call(d[c].context,t,o);break;case 4:d[c].fn.call(d[c].context,t,o,r);break;default:if(!u)for(_=1,u=new Array(l-1);_<l;_++)u[_-1]=arguments[_];d[c].fn.apply(d[c].context,u)}}return!0},i.prototype.on=function(e,t,n){return a(this,e,t,n,!1)},i.prototype.once=function(e,t,n){return a(this,e,t,n,!0)},i.prototype.removeListener=function(e,t,o,r){var a=n?n+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var i=this._events[a];if(i.fn)i.fn!==t||r&&!i.once||o&&i.context!==o||s(this,a);else{for(var u=0,c=[],d=i.length;u<d;u++)(i[u].fn!==t||r&&!i[u].once||o&&i[u].context!==o)&&c.push(i[u]);c.length?this._events[a]=1===c.length?c[0]:c:s(this,a)}return this},i.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&s(this,t)):(this._events=new o,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prefixed=n,i.EventEmitter=i,e.exports=i})),vs=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="BigDataChannelModule",o.FILETYPE={SOUND:2106,FILE:2107,VIDEO:2113},o._bdh_download_server="grouptalk.c2c.qq.com",o._BDHBizID=10001,o._authKey="",o._expireTime=0,o.getInnerEmitterInstance().on(Ma,o._getAuthKey,f(o)),o}return i(n,[{key:"_getAuthKey",value:function(){var e=this;this.request({protocolName:Gn}).then((function(t){t.data.authKey&&(e._authKey=t.data.authKey,e._expireTime=parseInt(t.data.expireTime))}))}},{key:"_isFromOlderVersion",value:function(e){return!(!e.content||2===e.content.downloadFlag)}},{key:"parseElements",value:function(e,t){if(!Qe(e)||!t)return[];for(var n=[],o=null,r=0;r<e.length;r++)o=e[r],this._needParse(o)?n.push(this._parseElement(o,t)):n.push(e[r]);return n}},{key:"_needParse",value:function(e){return!e.cloudCustomData&&!(!this._isFromOlderVersion(e)||e.type!==C.MSG_AUDIO&&e.type!==C.MSG_FILE&&e.type!==C.MSG_VIDEO)}},{key:"_parseElement",value:function(e,t){switch(e.type){case C.MSG_AUDIO:return this._parseAudioElement(e,t);case C.MSG_FILE:return this._parseFileElement(e,t);case C.MSG_VIDEO:return this._parseVideoElement(e,t)}}},{key:"_parseAudioElement",value:function(e,t){return e.content.url=this._genAudioUrl(e.content.uuid,t),e}},{key:"_parseFileElement",value:function(e,t){return e.content.url=this._genFileUrl(e.content.uuid,t,e.content.fileName),e}},{key:"_parseVideoElement",value:function(e,t){return e.content.url=this._genVideoUrl(e.content.uuid,t),e}},{key:"_genAudioUrl",value:function(e,t){if(""===this._authKey)return Ge.warn("".concat(this._className,"._genAudioUrl no authKey!")),"";var n=this.getModule(hn).getSDKAppID();return"https://".concat(this._bdh_download_server,"/asn.com/stddownload_common_file?authkey=").concat(this._authKey,"&bid=").concat(this._BDHBizID,"&subbid=").concat(n,"&fileid=").concat(e,"&filetype=").concat(this.FILETYPE.SOUND,"&openid=").concat(t,"&ver=0")}},{key:"_genFileUrl",value:function(e,t,n){if(""===this._authKey)return Ge.warn("".concat(this._className,"._genFileUrl no authKey!")),"";n||(n="".concat(Math.floor(1e5*Math.random()),"-").concat(Date.now()));var o=this.getModule(hn).getSDKAppID();return"https://".concat(this._bdh_download_server,"/asn.com/stddownload_common_file?authkey=").concat(this._authKey,"&bid=").concat(this._BDHBizID,"&subbid=").concat(o,"&fileid=").concat(e,"&filetype=").concat(this.FILETYPE.FILE,"&openid=").concat(t,"&ver=0&filename=").concat(encodeURIComponent(n))}},{key:"_genVideoUrl",value:function(e,t){if(""===this._authKey)return Ge.warn("".concat(this._className,"._genVideoUrl no authKey!")),"";var n=this.getModule(hn).getSDKAppID();return"https://".concat(this._bdh_download_server,"/asn.com/stddownload_common_file?authkey=").concat(this._authKey,"&bid=").concat(this._BDHBizID,"&subbid=").concat(n,"&fileid=").concat(e,"&filetype=").concat(this.FILETYPE.VIDEO,"&openid=").concat(t,"&ver=0")}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._authKey="",this.expireTime=0}}]),n}(bn),Ls=["requestSnapshotUrl"],Ts=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="UploadModule",o.TIMUploadPlugin=null,o.timUploadPlugin=null,o.COSSDK=null,o._cosUploadMethod=null,o.expiredTimeLimit=600,o.appid=0,o.bucketName="",o.ciUrl="",o.directory="",o.downloadUrl="",o.uploadUrl="",o.region="ap-shanghai",o.cos=null,o.cosOptions={secretId:"",secretKey:"",sessionToken:"",expiredTime:0},o.uploadFileType="",o.duration=900,o.tryCount=0,o.getInnerEmitterInstance().on(Ma,o._init,f(o)),o}return i(n,[{key:"_init",value:function(){var e="".concat(this._className,"._init"),t=this.getModule(vn);if(this.TIMUploadPlugin=t.getPlugin("tim-upload-plugin"),this.TIMUploadPlugin)this._initUploaderMethod();else{var n=oe?"cos-wx-sdk":"cos-js-sdk";this.COSSDK=t.getPlugin(n),this.COSSDK?(this._getAuthorizationKey(),Ge.warn("".concat(e," v2.9.2起推荐使用 tim-upload-plugin 代替 ").concat(n,",上传更快更安全。详细请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#registerPlugin"))):Ge.warn("".concat(e," 没有检测到上传插件,将无法发送图片、音频、视频、文件等类型的消息。详细请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#registerPlugin"))}}},{key:"_getAuthorizationKey",value:function(){var e=this,t=new Hr(jr.GET_COS_AUTH_KEY),n=Math.ceil(Date.now()/1e3);this.request({protocolName:Zo,requestData:{duration:this.expiredTimeLimit}}).then((function(o){var r=o.data;Ge.log("".concat(e._className,"._getAuthorizationKey ok. data:"),r);var a=r.expiredTime-n;t.setMessage("requestId:".concat(r.requestId," requestTime:").concat(n," expiredTime:").concat(r.expiredTime," diff:").concat(a,"s")).setNetworkType(e.getNetworkType()).end(),!oe&&r.region&&(e.region=r.region),e.appid=r.appid,e.bucketName=r.bucketName,e.ciUrl=r.ciUrl,e.directory=r.directory,e.downloadUrl=r.downloadUrl,e.uploadUrl=r.uploadUrl,e.cosOptions={secretId:r.secretId,secretKey:r.secretKey,sessionToken:r.sessionToken,expiredTime:r.expiredTime},Ge.log("".concat(e._className,"._getAuthorizationKey ok. region:").concat(e.region," bucketName:").concat(e.bucketName)),e._initUploaderMethod()})).catch((function(n){e.probeNetwork().then((function(e){var o=y(e,2),r=o[0],a=o[1];t.setError(n,r,a).end()})),Ge.warn("".concat(e._className,"._getAuthorizationKey failed. error:"),n)}))}},{key:"_getCosPreSigUrl",value:function(e){var t=this,n="".concat(this._className,"._getCosPreSigUrl"),o=Math.ceil(Date.now()/1e3),r=new Hr(jr.GET_COS_PRE_SIG_URL);return this.request({protocolName:Qo,requestData:{fileType:e.fileType,fileName:e.fileName,uploadMethod:e.uploadMethod,duration:e.duration}}).then((function(e){t.tryCount=0;var a=e.data||{},s=a.expiredTime-o;return Ge.log("".concat(n," ok. data:"),a),r.setMessage("requestId:".concat(a.requestId," expiredTime:").concat(a.expiredTime," diff:").concat(s,"s")).setNetworkType(t.getNetworkType()).end(),a})).catch((function(o){return-1===o.code&&(o.code=Ir.COS_GET_SIG_FAIL),t.probeNetwork().then((function(e){var t=y(e,2),n=t[0],a=t[1];r.setError(o,n,a).end()})),Ge.warn("".concat(n," failed. error:"),o),t.tryCount<1?(t.tryCount++,t._getCosPreSigUrl(e)):(t.tryCount=0,ma({code:Ir.COS_GET_SIG_FAIL,message:Sr.COS_GET_SIG_FAIL}))}))}},{key:"_initUploaderMethod",value:function(){var e=this;if(this.TIMUploadPlugin)return this.timUploadPlugin=new this.TIMUploadPlugin,void(this._cosUploadMethod=function(t,n){e.timUploadPlugin.uploadFile(t,n)});this.appid&&(this.cos=oe?new this.COSSDK({ForcePathStyle:!0,getAuthorization:this._getAuthorization.bind(this)}):new this.COSSDK({getAuthorization:this._getAuthorization.bind(this)}),this._cosUploadMethod=oe?function(t,n){e.cos.postObject(t,n)}:function(t,n){e.cos.uploadFiles(t,n)})}},{key:"onCheckTimer",value:function(e){this.COSSDK&&(this.TIMUploadPlugin||this.isLoggedIn()&&e%60==0&&Math.ceil(Date.now()/1e3)>=this.cosOptions.expiredTime-120&&this._getAuthorizationKey())}},{key:"_getAuthorization",value:function(e,t){t({TmpSecretId:this.cosOptions.secretId,TmpSecretKey:this.cosOptions.secretKey,XCosSecurityToken:this.cosOptions.sessionToken,ExpiredTime:this.cosOptions.expiredTime})}},{key:"upload",value:function(e){if(!0===e.getRelayFlag())return Promise.resolve();var t=this.getModule(Cn);switch(e.type){case C.MSG_IMAGE:return t.addTotalCount(Nr),this._uploadImage(e);case C.MSG_FILE:return t.addTotalCount(Nr),this._uploadFile(e);case C.MSG_AUDIO:return t.addTotalCount(Nr),this._uploadAudio(e);case C.MSG_VIDEO:return t.addTotalCount(Nr),this._uploadVideo(e);default:return Promise.resolve()}}},{key:"_uploadImage",value:function(e){var t=this,n=this.getModule(an),r=e.getElements()[0],a=n.getMessageOption(e.clientSequence);return this.doUploadImage({file:a.payload.file,to:a.to,onProgress:function(e){if(r.updatePercent(e),ot(a.onProgress))try{a.onProgress(e)}catch(o){return ma({code:Ir.MESSAGE_ONPROGRESS_FUNCTION_ERROR,message:Sr.MESSAGE_ONPROGRESS_FUNCTION_ERROR})}}}).then((function(n){var a=n.location,s=n.fileType,i=n.fileSize,u=n.width,c=n.height,d=t.isPrivateNetWork()?a:gt(a);r.updateImageFormat(s);var l=wt({originUrl:d,originWidth:u,originHeight:c,min:198}),_=wt({originUrl:d,originWidth:u,originHeight:c,min:720});return r.updateImageInfoArray([{size:i,url:d,width:u,height:c},o({},_),o({},l)]),e}))}},{key:"_uploadFile",value:function(e){var t=this,n=this.getModule(an),o=e.getElements()[0],r=n.getMessageOption(e.clientSequence);return this.doUploadFile({file:r.payload.file,to:r.to,onProgress:function(e){if(o.updatePercent(e),ot(r.onProgress))try{r.onProgress(e)}catch(t){return ma({code:Ir.MESSAGE_ONPROGRESS_FUNCTION_ERROR,message:Sr.MESSAGE_ONPROGRESS_FUNCTION_ERROR})}}}).then((function(n){var r=n.location,a=t.isPrivateNetWork()?r:gt(r);return o.updateFileUrl(a),e}))}},{key:"_uploadAudio",value:function(e){var t=this,n=this.getModule(an),o=e.getElements()[0],r=n.getMessageOption(e.clientSequence);return this.doUploadAudio({file:r.payload.file,to:r.to,onProgress:function(e){if(o.updatePercent(e),ot(r.onProgress))try{r.onProgress(e)}catch(t){return ma({code:Ir.MESSAGE_ONPROGRESS_FUNCTION_ERROR,message:Sr.MESSAGE_ONPROGRESS_FUNCTION_ERROR})}}}).then((function(n){var r=n.location,a=t.isPrivateNetWork()?r:gt(r);return o.updateAudioUrl(a),e}))}},{key:"_uploadVideo",value:function(e){var t=this,n=this.getModule(an),o=e.getElements()[0],r=n.getMessageOption(e.clientSequence);return this.doUploadVideo({file:r.payload.file,to:r.to,onProgress:function(e){if(o.updatePercent(e),ot(r.onProgress))try{r.onProgress(e)}catch(t){return ma({code:Ir.MESSAGE_ONPROGRESS_FUNCTION_ERROR,message:Sr.MESSAGE_ONPROGRESS_FUNCTION_ERROR})}}}).then((function(n){var r=n.location,a=n.snapshotInfo,s=t.isPrivateNetWork()?r:gt(r);return o.updateVideoUrl(s),qt(a)||o.updateSnapshotInfo(a),e}))}},{key:"doUploadImage",value:function(e){var t=this;if(!e.file)return ma({code:Ir.MESSAGE_IMAGE_SELECT_FILE_FIRST,message:Sr.MESSAGE_IMAGE_SELECT_FILE_FIRST});var n=this._checkImageType(e.file);if(!0!==n)return n;var o=this._checkImageSize(e.file);if(!0!==o)return o;var r=null;return this._setUploadFileType(ka),this.uploadByCOS(e).then((function(e){return r=e,t.isPrivateNetWork()?Ct(e.location):Ct("https://".concat(e.location))})).then((function(e){return r.width=e.width,r.height=e.height,Promise.resolve(r)}))}},{key:"_checkImageType",value:function(e){var t="";return t=oe?e.url.slice(e.url.lastIndexOf(".")+1):e.files[0].name.slice(e.files[0].name.lastIndexOf(".")+1),Ta.indexOf(t.toLowerCase())>=0||ma({code:Ir.MESSAGE_IMAGE_TYPES_LIMIT,message:Sr.MESSAGE_IMAGE_TYPES_LIMIT})}},{key:"_checkImageSize",value:function(e){var t=0;return 0===(t=oe?e.size:e.files[0].size)?ma({code:Ir.MESSAGE_FILE_IS_EMPTY,message:"".concat(Sr.MESSAGE_FILE_IS_EMPTY)}):t<20971520||ma({code:Ir.MESSAGE_IMAGE_SIZE_LIMIT,message:"".concat(Sr.MESSAGE_IMAGE_SIZE_LIMIT)})}},{key:"doUploadFile",value:function(e){var t=null;return e.file?e.file.files[0].size>104857600?ma(t={code:Ir.MESSAGE_FILE_SIZE_LIMIT,message:Sr.MESSAGE_FILE_SIZE_LIMIT}):0===e.file.files[0].size?(t={code:Ir.MESSAGE_FILE_IS_EMPTY,message:"".concat(Sr.MESSAGE_FILE_IS_EMPTY)},ma(t)):(this._setUploadFileType(Ea),this.uploadByCOS(e)):ma(t={code:Ir.MESSAGE_FILE_SELECT_FILE_FIRST,message:Sr.MESSAGE_FILE_SELECT_FILE_FIRST})}},{key:"doUploadVideo",value:function(e){return e.file.videoFile.size>104857600?ma({code:Ir.MESSAGE_VIDEO_SIZE_LIMIT,message:"".concat(Sr.MESSAGE_VIDEO_SIZE_LIMIT)}):0===e.file.videoFile.size?ma({code:Ir.MESSAGE_FILE_IS_EMPTY,message:"".concat(Sr.MESSAGE_FILE_IS_EMPTY)}):-1===Da.indexOf(e.file.videoFile.type)?ma({code:Ir.MESSAGE_VIDEO_TYPES_LIMIT,message:"".concat(Sr.MESSAGE_VIDEO_TYPES_LIMIT)}):(this._setUploadFileType(Ia),oe?this.handleVideoUpload({file:e.file.videoFile,onProgress:e.onProgress}):re?this.handleVideoUpload(e):void 0)}},{key:"handleVideoUpload",value:function(e){var t=this;return new Promise((function(n,o){t.uploadByCOS(e).then((function(e){n(e)})).catch((function(){t.uploadByCOS(e).then((function(e){n(e)})).catch((function(){o(new la({code:Ir.MESSAGE_VIDEO_UPLOAD_FAIL,message:Sr.MESSAGE_VIDEO_UPLOAD_FAIL}))}))}))}))}},{key:"doUploadAudio",value:function(e){return e.file?e.file.size>20971520?ma(new la({code:Ir.MESSAGE_AUDIO_SIZE_LIMIT,message:"".concat(Sr.MESSAGE_AUDIO_SIZE_LIMIT)})):0===e.file.size?ma(new la({code:Ir.MESSAGE_FILE_IS_EMPTY,message:"".concat(Sr.MESSAGE_FILE_IS_EMPTY)})):(this._setUploadFileType(Sa),this.uploadByCOS(e)):ma(new la({code:Ir.MESSAGE_AUDIO_UPLOAD_FAIL,message:Sr.MESSAGE_AUDIO_UPLOAD_FAIL}))}},{key:"uploadByCOS",value:function(e){var t=this,n="".concat(this._className,".uploadByCOS");if(!ot(this._cosUploadMethod))return Ge.warn("".concat(n," 没有检测到上传插件,将无法发送图片、音频、视频、文件等类型的消息。详细请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#registerPlugin")),ma({code:Ir.COS_UNDETECTED,message:Sr.COS_UNDETECTED});if(this.timUploadPlugin)return this._uploadWithPreSigUrl(e);var o=new Hr(jr.UPLOAD),r=Date.now(),a=this._getFile(e);return new Promise((function(s,i){var u=oe?t._createCosOptionsWXMiniApp(e):t._createCosOptionsWeb(e),c=t;t._cosUploadMethod(u,(function(e,u){var d=Object.create(null);if(u){if(e||Qe(u.files)&&u.files[0].error){var l=new la({code:Ir.MESSAGE_FILE_UPLOAD_FAIL,message:Sr.MESSAGE_FILE_UPLOAD_FAIL});return o.setError(l,!0,t.getNetworkType()).end(),Ge.log("".concat(n," failed. error:"),u.files[0].error),403===u.files[0].error.statusCode&&(Ge.warn("".concat(n," failed. cos AccessKeyId was invalid, regain auth key!")),t._getAuthorizationKey()),void i(l)}d.fileName=a.name,d.fileSize=a.size,d.fileType=a.type.slice(a.type.indexOf("/")+1).toLowerCase(),d.location=oe?u.Location:u.files[0].data.Location;var _=Date.now()-r,p=c._formatFileSize(a.size),h=c._formatSpeed(1e3*a.size/_),m="size:".concat(p," time:").concat(_,"ms speed:").concat(h);Ge.log("".concat(n," success. name:").concat(a.name," ").concat(m)),s(d);var f=t.getModule(Cn);return f.addCost(Nr,_),f.addFileSize(Nr,a.size),void o.setNetworkType(t.getNetworkType()).setMessage(m).end()}var g=new la({code:Ir.MESSAGE_FILE_UPLOAD_FAIL,message:Sr.MESSAGE_FILE_UPLOAD_FAIL});o.setError(g,!0,c.getNetworkType()).end(),Ge.warn("".concat(n," failed. error:"),e),403===e.statusCode&&(Ge.warn("".concat(n," failed. cos AccessKeyId was invalid, regain auth key!")),t._getAuthorizationKey()),i(g)}))}))}},{key:"_uploadWithPreSigUrl",value:function(e){var t=this,n="".concat(this._className,"._uploadWithPreSigUrl"),o=this._getFile(e);return this._createCosOptionsPreSigUrl(e).then((function(e){return new Promise((function(r,a){var s=new Hr(jr.UPLOAD),i=e.requestSnapshotUrl,u=void 0===i?void 0:i,c=m(e,Ls),d=Date.now();t._cosUploadMethod(c,(function(e,i){var c=Object.create(null);if(e||403===i.statusCode)return s.setError(new la(e),!0,t.getNetworkType()).end(),Ge.log("".concat(n," failed, error:"),e),void a(new la({code:Ir.MESSAGE_FILE_UPLOAD_FAIL,message:Sr.MESSAGE_FILE_UPLOAD_FAIL}));var l=i.data.location||"";t.isPrivateNetWork()||0!==l.indexOf("https://")&&0!==l.indexOf("http://")||(l=l.split("//")[1]),c.fileName=o.name,c.fileSize=o.size,c.fileType=o.type.slice(o.type.indexOf("/")+1).toLowerCase(),c.location=l;var _=Date.now()-d,p=t._formatFileSize(o.size),h=t._formatSpeed(1e3*o.size/_),m="size:".concat(p,",time:").concat(_,"ms,speed:").concat(h," res:").concat(JSON.stringify(i.data));Ge.log("".concat(n," success name:").concat(o.name,",").concat(m)),s.setNetworkType(t.getNetworkType()).setMessage(m).end();var f=t.getModule(Cn);if(f.addCost(Nr,_),f.addFileSize(Nr,o.size),!qt(u))return t._getSnapshotInfoByUrl(u).then((function(e){c.snapshotInfo=e,r(c)}));r(c)}))}))}))}},{key:"_getFile",value:function(e){var t;return Qe(e.file.files)||(t=e.file.files,"filelist"===at(t))?e.file.files[0]:e.file}},{key:"_formatFileSize",value:function(e){return e<1024?e+"B":e<1048576?Math.floor(e/1024)+"KB":Math.floor(e/1048576)+"MB"}},{key:"_formatSpeed",value:function(e){return e<=1048576?Pt(e/1024,1)+"KB/s":Pt(e/1048576,1)+"MB/s"}},{key:"_createCosOptionsWeb",value:function(e){var t=this._getFile(e),n=t.name,o=n.slice(n.lastIndexOf(".")),r=this._genFileName("".concat(_t(999999)).concat(o));return{files:[{Bucket:"".concat(this.bucketName,"-").concat(this.appid),Region:this.region,Key:"".concat(this.directory,"/").concat(r),Body:t}],SliceSize:1048576,onProgress:function(t){if("function"==typeof e.onProgress)try{e.onProgress(t.percent)}catch(n){Ge.warn("onProgress callback error:",n)}},onFileFinish:function(e,t,n){}}}},{key:"_createCosOptionsWXMiniApp",value:function(e){var t=this._getFile(e),n=this._genFileName(t.name),o=t.url;return{Bucket:"".concat(this.bucketName,"-").concat(this.appid),Region:this.region,Key:"".concat(this.directory,"/").concat(n),FilePath:o,onProgress:function(t){if(Ge.log(JSON.stringify(t)),"function"==typeof e.onProgress)try{e.onProgress(t.percent)}catch(n){Ge.warn("onProgress callback error:",n)}}}}},{key:"_createCosOptionsPreSigUrl",value:function(e){var t=this,n="",o="",r=0,a=this._getFile(e);if(oe)n=this._genFileName(a.name),o=a.url,r=1;else{var s=a.name,i=s.slice(s.lastIndexOf("."));n=this._genFileName("".concat(_t(999999)).concat(i)),o=a,r=0}return this._getCosPreSigUrl({fileType:this.uploadFileType,fileName:n,uploadMethod:r,duration:this.duration}).then((function(r){var a=r.uploadUrl,s=r.downloadUrl,i=r.requestSnapshotUrl,u=void 0===i?void 0:i;return{url:a,fileType:t.uploadFileType,fileName:n,resources:o,downloadUrl:s,requestSnapshotUrl:u,onProgress:function(t){if("function"==typeof e.onProgress)try{e.onProgress(t.percent)}catch(n){Ge.warn("onProgress callback error:",n),Ge.error(n)}}}}))}},{key:"_genFileName",value:function(e){return"".concat(At(),"-").concat(e)}},{key:"_setUploadFileType",value:function(e){this.uploadFileType=e}},{key:"_getSnapshotInfoByUrl",value:function(e){var t=this,n=new Hr(jr.GET_SNAPSHOT_INFO);return this.request({protocolName:er,requestData:{platform:this.getPlatform(),coverName:this._genFileName(_t(99999)),requestSnapshotUrl:e}}).then((function(e){var t=(e.data||{}).snapshotUrl;return n.setMessage("snapshotUrl:".concat(t)).end(),qt(t)?{}:Ct(t).then((function(e){return{snapshotUrl:t,snapshotWidth:e.width,snapshotHeight:e.height}}))})).catch((function(e){return Ge.warn("".concat(t._className,"._getSnapshotInfoByUrl failed. error:"),e),n.setCode(e.errorCode).setMessage(e.errorInfo).end(),{}}))}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset"))}}]),n}(bn),Ds=["downloadKey","pbDownloadKey","messageList"],ks=function(){function e(t){a(this,e),this._className="MergerMessageHandler",this._messageModule=t}return i(e,[{key:"uploadMergerMessage",value:function(e,t){var n=this;Ge.debug("".concat(this._className,".uploadMergerMessage message:"),e,"messageBytes:".concat(t));var o=e.payload.messageList,r=o.length,a=new Hr(jr.UPLOAD_MERGER_MESSAGE);return this._messageModule.request({protocolName:ir,requestData:{messageList:o}}).then((function(e){Ge.debug("".concat(n._className,".uploadMergerMessage ok. response:"),e.data);var o=e.data,s=o.pbDownloadKey,i=o.downloadKey,u={pbDownloadKey:s,downloadKey:i,messageNumber:r};return a.setNetworkType(n._messageModule.getNetworkType()).setMessage("".concat(r,"-").concat(t,"-").concat(i)).end(),u})).catch((function(e){throw Ge.warn("".concat(n._className,".uploadMergerMessage failed. error:"),e),n._messageModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];a.setError(e,o,r).end()})),e}))}},{key:"downloadMergerMessage",value:function(e){var t=this;Ge.debug("".concat(this._className,".downloadMergerMessage message:"),e);var n=e.payload.downloadKey,r=new Hr(jr.DOWNLOAD_MERGER_MESSAGE);return r.setMessage("downloadKey:".concat(n)),this._messageModule.request({protocolName:ur,requestData:{downloadKey:n}}).then((function(n){if(Ge.debug("".concat(t._className,".downloadMergerMessage ok. response:"),n.data),ot(e.clearElement)){var a=e.payload,s=(a.downloadKey,a.pbDownloadKey,a.messageList,m(a,Ds));e.clearElement(),e.setElement({type:e.type,content:o({messageList:n.data.messageList},s)})}else{var i=[];n.data.messageList.forEach((function(e){if(!qt(e)){var t=new ta(e);i.push(t)}})),e.payload.messageList=i,e.payload.downloadKey="",e.payload.pbDownloadKey=""}return r.setNetworkType(t._messageModule.getNetworkType()).end(),e})).catch((function(e){throw Ge.warn("".concat(t._className,".downloadMergerMessage failed. key:").concat(n," error:"),e),t._messageModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0],a=n[1];r.setError(e,o,a).end()})),e}))}},{key:"createMergerMessagePack",value:function(e,t,n){return e.conversationType===C.CONV_C2C?this._createC2CMergerMessagePack(e,t,n):this._createGroupMergerMessagePack(e,t,n)}},{key:"_createC2CMergerMessagePack",value:function(e,t,n){var o=null;t&&(t.offlinePushInfo&&(o=t.offlinePushInfo),!0===t.onlineUserOnly&&(o?o.disablePush=!0:o={disablePush:!0}));var r="";Je(e.cloudCustomData)&&e.cloudCustomData.length>0&&(r=e.cloudCustomData);var a=n.pbDownloadKey,s=n.downloadKey,i=n.messageNumber,u=e.payload,c=u.title,d=u.abstractList,l=u.compatibleText,_=this._messageModule.getModule(un);return{protocolName:Un,tjgID:this._messageModule.generateTjgID(e),requestData:{fromAccount:this._messageModule.getMyUserID(),toAccount:e.to,msgBody:[{msgType:e.type,msgContent:{pbDownloadKey:a,downloadKey:s,title:c,abstractList:d,compatibleText:l,messageNumber:i}}],cloudCustomData:r,clientTime:e.clientTime,msgSeq:e.sequence,msgRandom:e.random,msgLifeTime:_&&_.isOnlineMessage(e,t)?0:void 0,offlinePushInfo:o?{pushFlag:!0===o.disablePush?1:0,title:o.title||"",desc:o.description||"",ext:o.extension||"",apnsInfo:{badgeMode:!0===o.ignoreIOSBadge?1:0},androidInfo:{OPPOChannelID:o.androidOPPOChannelID||""}}:void 0}}}},{key:"_createGroupMergerMessagePack",value:function(e,t,n){var o=null;t&&t.offlinePushInfo&&(o=t.offlinePushInfo);var r="";Je(e.cloudCustomData)&&e.cloudCustomData.length>0&&(r=e.cloudCustomData);var a=n.pbDownloadKey,s=n.downloadKey,i=n.messageNumber,u=e.payload,c=u.title,d=u.abstractList,l=u.compatibleText,_=this._messageModule.getModule(cn);return{protocolName:Fn,tjgID:this._messageModule.generateTjgID(e),requestData:{fromAccount:this._messageModule.getMyUserID(),groupID:e.to,msgBody:[{msgType:e.type,msgContent:{pbDownloadKey:a,downloadKey:s,title:c,abstractList:d,compatibleText:l,messageNumber:i}}],random:e.random,priority:e.priority,clientSequence:e.clientSequence,groupAtInfo:void 0,cloudCustomData:r,onlineOnlyFlag:_&&_.isOnlineMessage(e,t)?1:0,offlinePushInfo:o?{pushFlag:!0===o.disablePush?1:0,title:o.title||"",desc:o.description||"",ext:o.extension||"",apnsInfo:{badgeMode:!0===o.ignoreIOSBadge?1:0},androidInfo:{OPPOChannelID:o.androidOPPOChannelID||""}}:void 0,clientTime:e.clientTime,needReadReceipt:!0!==e.needReadReceipt||_.isMessageFromOrToAVChatroom(e.to)?0:1}}}}]),e}(),Is={ERR_SVR_COMM_SENSITIVE_TEXT:80001,ERR_SVR_COMM_BODY_SIZE_LIMIT:80002,OPEN_SERVICE_OVERLOAD_ERROR:60022,ERR_SVR_MSG_PKG_PARSE_FAILED:20001,ERR_SVR_MSG_INTERNAL_AUTH_FAILED:20002,ERR_SVR_MSG_INVALID_ID:20003,ERR_SVR_MSG_PUSH_DENY:20006,ERR_SVR_MSG_IN_PEER_BLACKLIST:20007,ERR_SVR_MSG_BOTH_NOT_FRIEND:20009,ERR_SVR_MSG_NOT_PEER_FRIEND:20010,ERR_SVR_MSG_NOT_SELF_FRIEND:20011,ERR_SVR_MSG_SHUTUP_DENY:20012,ERR_SVR_GROUP_INVALID_PARAMETERS:10004,ERR_SVR_GROUP_PERMISSION_DENY:10007,ERR_SVR_GROUP_NOT_FOUND:10010,ERR_SVR_GROUP_INVALID_GROUPID:10015,ERR_SVR_GROUP_REJECT_FROM_THIRDPARTY:10016,ERR_SVR_GROUP_SHUTUP_DENY:10017,MESSAGE_SEND_FAIL:2100,OVER_FREQUENCY_LIMIT:2996},Ss=[Ir.MESSAGE_ONPROGRESS_FUNCTION_ERROR,Ir.MESSAGE_IMAGE_SELECT_FILE_FIRST,Ir.MESSAGE_IMAGE_TYPES_LIMIT,Ir.MESSAGE_FILE_IS_EMPTY,Ir.MESSAGE_IMAGE_SIZE_LIMIT,Ir.MESSAGE_FILE_SELECT_FILE_FIRST,Ir.MESSAGE_FILE_SIZE_LIMIT,Ir.MESSAGE_VIDEO_SIZE_LIMIT,Ir.MESSAGE_VIDEO_TYPES_LIMIT,Ir.MESSAGE_AUDIO_UPLOAD_FAIL,Ir.MESSAGE_AUDIO_SIZE_LIMIT,Ir.COS_UNDETECTED],Es=function(e){c(r,e);var t=M(r);function r(e){var n;return a(this,r),(n=t.call(this,e))._className="MessageModule",n._messageOptionsMap=new Map,n._mergerMessageHandler=new ks(f(n)),n}return i(r,[{key:"createTextMessage",value:function(e){var t=this.getMyUserID();e.currentUser=t,e.senderTinyID=this.getMyTinyID();var n=new ra(e),o="string"==typeof e.payload?e.payload:e.payload.text,r=new qr({text:o}),a=this._getNickAndAvatarByUserID(t);return n.setElement(r),n.setNickAndAvatar(a),n.setNameCard(this._getNameCardByGroupID(n)),n}},{key:"createImageMessage",value:function(e){var t=this.getMyUserID();e.currentUser=t,e.senderTinyID=this.getMyTinyID();var o=new ra(e);if(oe){var r=e.payload.file;if($e(r))return void Ge.warn("小程序环境下调用 createImageMessage 接口时,payload.file 不支持传入 File 对象");var a=r.tempFilePaths[0],s={url:a,name:a.slice(a.lastIndexOf("/")+1),size:r.tempFiles&&r.tempFiles[0].size||1,type:a.slice(a.lastIndexOf(".")+1).toLowerCase()};e.payload.file=s}else if(re)if($e(e.payload.file)){var i=e.payload.file;e.payload.file={files:[i]}}else if(Ze(e.payload.file)&&"undefined"!=typeof n){var u=e.payload.file.tempFiles[0];e.payload.file={files:[u]}}var c=new Br({imageFormat:Ue.UNKNOWN,uuid:this._generateUUID(),file:e.payload.file}),d=this._getNickAndAvatarByUserID(t);return o.setElement(c),o.setNickAndAvatar(d),o.setNameCard(this._getNameCardByGroupID(o)),this._messageOptionsMap.set(o.clientSequence,e),o}},{key:"createAudioMessage",value:function(e){var t=e.payload.file;if(oe){var n={url:t.tempFilePath,name:t.tempFilePath.slice(t.tempFilePath.lastIndexOf("/")+1),size:t.fileSize,second:parseInt(t.duration)/1e3,type:t.tempFilePath.slice(t.tempFilePath.lastIndexOf(".")+1).toLowerCase()};e.payload.file=n}var o=this.getMyUserID();e.currentUser=o,e.senderTinyID=this.getMyTinyID();var r=new ra(e),a=new Wr({second:Math.floor(t.duration/1e3),size:t.fileSize||t.size,url:t.tempFilePath,uuid:this._generateUUID()}),s=this._getNickAndAvatarByUserID(o);return r.setElement(a),r.setNickAndAvatar(s),r.setNameCard(this._getNameCardByGroupID(r)),this._messageOptionsMap.set(r.clientSequence,e),r}},{key:"createVideoMessage",value:function(e){var t=this.getMyUserID();e.currentUser=t,e.senderTinyID=this.getMyTinyID(),e.payload.file.thumbUrl="https://web.sdk.qcloud.com/im/assets/images/transparent.png",e.payload.file.thumbSize=1668;var o={};if(oe){if(ee)return void Ge.warn("createVideoMessage 不支持在支付宝小程序环境下使用");if($e(e.payload.file))return void Ge.warn("小程序环境下调用 createVideoMessage 接口时,payload.file 不支持传入 File 对象");var r=e.payload.file;o.url=r.tempFilePath,o.name=r.tempFilePath.slice(r.tempFilePath.lastIndexOf("/")+1),o.size=r.size,o.second=r.duration,o.type=r.tempFilePath.slice(r.tempFilePath.lastIndexOf(".")+1).toLowerCase()}else if(re){if($e(e.payload.file)){var a=e.payload.file;e.payload.file.files=[a]}else if(Ze(e.payload.file)&&"undefined"!=typeof n){var s=e.payload.file.tempFile;e.payload.file.files=[s]}var i=e.payload.file;o.url=window.URL.createObjectURL(i.files[0]),o.name=i.files[0].name,o.size=i.files[0].size,o.second=i.files[0].duration||0,o.type=i.files[0].type.split("/")[1]}e.payload.file.videoFile=o;var u=new ra(e),c=new Qr({videoFormat:o.type,videoSecond:Pt(o.second,0),videoSize:o.size,remoteVideoUrl:"",videoUrl:o.url,videoUUID:this._generateUUID(),thumbUUID:this._generateUUID(),thumbWidth:e.payload.file.width||200,thumbHeight:e.payload.file.height||200,thumbUrl:e.payload.file.thumbUrl,thumbSize:e.payload.file.thumbSize,thumbFormat:e.payload.file.thumbUrl.slice(e.payload.file.thumbUrl.lastIndexOf(".")+1).toLowerCase()}),d=this._getNickAndAvatarByUserID(t);return u.setElement(c),u.setNickAndAvatar(d),u.setNameCard(this._getNameCardByGroupID(u)),this._messageOptionsMap.set(u.clientSequence,e),u}},{key:"createCustomMessage",value:function(e){var t=this.getMyUserID();e.currentUser=t,e.senderTinyID=this.getMyTinyID();var n=new ra(e),o=new Zr({data:e.payload.data,description:e.payload.description,extension:e.payload.extension}),r=this._getNickAndAvatarByUserID(t);return n.setElement(o),n.setNickAndAvatar(r),n.setNameCard(this._getNameCardByGroupID(n)),n}},{key:"createFaceMessage",value:function(e){var t=this.getMyUserID();e.currentUser=t,e.senderTinyID=this.getMyTinyID();var n=new ra(e),o=new Vr(e.payload),r=this._getNickAndAvatarByUserID(t);return n.setElement(o),n.setNickAndAvatar(r),n.setNameCard(this._getNameCardByGroupID(n)),n}},{key:"createMergerMessage",value:function(e){var t=this.getMyUserID();e.currentUser=t,e.senderTinyID=this.getMyTinyID();var n=this._getNickAndAvatarByUserID(t),o=new ra(e),r=new na(e.payload);return o.setElement(r),o.setNickAndAvatar(n),o.setNameCard(this._getNameCardByGroupID(o)),o.setRelayFlag(!0),o}},{key:"createForwardMessage",value:function(e){var t=e.to,n=e.conversationType,o=e.priority,r=e.payload,a=e.needReadReceipt,s=this.getMyUserID(),i=this._getNickAndAvatarByUserID(s);if(r.type===C.MSG_GRP_TIP)return ma(new la({code:Ir.MESSAGE_FORWARD_TYPE_INVALID,message:Sr.MESSAGE_FORWARD_TYPE_INVALID}));var u={to:t,conversationType:n,conversationID:"".concat(n).concat(t),priority:o,isPlaceMessage:0,status:Kt.UNSEND,currentUser:s,senderTinyID:this.getMyTinyID(),cloudCustomData:e.cloudCustomData||r.cloudCustomData||"",needReadReceipt:a},c=new ra(u);return c.setElement(r.getElements()[0]),c.setNickAndAvatar(i),c.setNameCard(this._getNameCardByGroupID(r)),c.setRelayFlag(!0),c}},{key:"downloadMergerMessage",value:function(e){return this._mergerMessageHandler.downloadMergerMessage(e)}},{key:"createFileMessage",value:function(e){if(oe){var t,r="createFileMessage 接口不可用!";if(!J&&!X&&!te)return void Ge.warn("小程序目前不支持选择文件,".concat(r));var a=ae.getSystemInfoSync().SDKVersion;if(J&&bt(a,t="2.5.0")<0)return void Ge.warn("wx.chooseMessageFile 需要基础库".concat(t,"或更高版本,").concat(r));if(X&&bt(a,t="1.18.0")<0)return void Ge.warn("qq.chooseMessageFile 需要基础库".concat(t,"或更高版本,").concat(r))}if(re||te){if($e(e.payload.file)){var s=e.payload.file;e.payload.file={files:[s]}}else if(Ze(e.payload.file)&&"undefined"!=typeof n){var i=e.payload.file,u=i.tempFiles,c=i.files,d=null;Qe(u)?d=u[0]:Qe(c)&&(d=c[0]),e.payload.file={files:[d]}}}else if(J||X){var l=e.payload.file.tempFiles,_=o(o({},l[0]),{},{url:l[0].path});e.payload.file={files:[_]}}var p=this.getMyUserID();e.currentUser=p,e.senderTinyID=this.getMyTinyID();var h=new ra(e),m=new Xr({uuid:this._generateUUID(),file:e.payload.file}),f=this._getNickAndAvatarByUserID(p);return h.setElement(m),h.setNickAndAvatar(f),h.setNameCard(this._getNameCardByGroupID(h)),this._messageOptionsMap.set(h.clientSequence,e),h}},{key:"createLocationMessage",value:function(e){var t=this.getMyUserID();e.currentUser=t,e.senderTinyID=this.getMyTinyID();var n=new ra(e),o=new ea(e.payload),r=this._getNickAndAvatarByUserID(t);return n.setElement(o),n.setNickAndAvatar(r),n.setNameCard(this._getNameCardByGroupID(n)),n}},{key:"_onCannotFindModule",value:function(){return ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"sendMessageInstance",value:function(e,t){var n,o=this,r=null;switch(e.conversationType){case C.CONV_C2C:if(!(r=this.getModule(un)))return this._onCannotFindModule();break;case C.CONV_GROUP:if(!(r=this.getModule(cn)))return this._onCannotFindModule();if(Tt({groupID:e.to})){var a=r.getLocalGroupProfile(e.to);if(a&&a.isSupportTopic)return ma({code:Ir.MESSAGE_SEND_GROUP_WITH_TOPIC_FAIL,message:Sr.MESSAGE_SEND_GROUP_WITH_TOPIC_FAIL});if(!et(t)&&!et(t.messageControlInfo))return ma({code:Ir.MESSAGE_CONTROL_INFO_FAIL,message:Sr.MESSAGE_CONTROL_INFO_FAIL})}break;default:return ma({code:Ir.MESSAGE_SEND_INVALID_CONVERSATION_TYPE,message:Sr.MESSAGE_SEND_INVALID_CONVERSATION_TYPE})}var s=this.getModule(yn),i=this.getModule(cn);return s.upload(e).then((function(){return o._getSendMessageSpecifiedKey(e)===wr&&o.getModule(Cn).addSuccessCount(Nr),i.guardForAVChatRoom(e).then((function(){if(!e.isSendable())return ma({code:Ir.MESSAGE_FILE_URL_IS_EMPTY,message:Sr.MESSAGE_FILE_URL_IS_EMPTY});o._addSendMessageTotalCount(e),n=Date.now();var a=function(e){var t="utf-8";re&&document&&(t=document.charset.toLowerCase());var n,o,r=0;if(o=e.length,"utf-8"===t||"utf8"===t)for(var a=0;a<o;a++)(n=e.codePointAt(a))<=127?r+=1:n<=2047?r+=2:n<=65535?r+=3:(r+=4,a++);else if("utf-16"===t||"utf16"===t)for(var s=0;s<o;s++)(n=e.codePointAt(s))<=65535?r+=2:(r+=4,s++);else r=e.replace(/[^\x00-\xff]/g,"aa").length;return r}(JSON.stringify(e));return e.type===C.MSG_MERGER&&a>7e3?o._mergerMessageHandler.uploadMergerMessage(e,a).then((function(n){var r=o._mergerMessageHandler.createMergerMessagePack(e,t,n);return o.request(r)})):(o.getModule(pn).setMessageRandom(e),e.conversationType===C.CONV_C2C||e.conversationType===C.CONV_GROUP?r.sendMessage(e,t):void 0)})).then((function(a){var s=a.data,i=s.time,u=s.sequence,c=s.readReceiptCode;ze(c)&&0!==c&&(new Hr(jr.SEND_MESSAGE_WITH_RECEIPT).setMessage("from:".concat(e.from," to:").concat(e.to," sequence:").concat(u," readReceiptCode:").concat(c)).end(),Ge.warn("".concat(o._className,".sendMessageInstance readReceiptCode:").concat(c," message:").concat(da[c]))),o._addSendMessageSuccessCount(e,n),o._messageOptionsMap.delete(e.clientSequence);var d=o.getModule(pn);e.status=Kt.SUCCESS,e.time=i;var l=!1;if(e.conversationType===C.CONV_GROUP)e.sequence=u;else if(e.conversationType===C.CONV_C2C){var _=d.getLatestMessageSentByMe(e.conversationID);if(_){var p=_.nick,h=_.avatar;p===e.nick&&h===e.avatar||(l=!0)}}if(l&&d.modifyMessageSentByMe({conversationID:e.conversationID,latestNick:e.nick,latestAvatar:e.avatar}),r.isOnlineMessage(e,t))e._onlineOnlyFlag=!0;else{d.appendToMessageList(e);var m=e;Ze(t)&&Ze(t.messageControlInfo)&&(!0===t.messageControlInfo.excludedFromLastMessage&&(e._isExcludedFromLastMessage=!0,m=""),!0===t.messageControlInfo.excludedFromUnreadCount&&(e._isExcludedFromUnreadCount=!0));var f=e.conversationType;Dt(e.to)&&(f=C.CONV_TOPIC,o.getModule(_n).onMessageSent({groupID:Ut(e.to),topicID:e.to,lastMessage:m})),d.onMessageSent({conversationOptionsList:[{conversationID:e.conversationID,unreadCount:0,type:f,subType:e.conversationSubType,lastMessage:m}]})}return e.getRelayFlag()||"TIMImageElem"!==e.type||Nt(e.payload.imageInfoArray),aa({message:e})}))})).catch((function(t){return o._onSendMessageFailed(e,t)}))}},{key:"_onSendMessageFailed",value:function(e,t){e.status=Kt.FAIL,this.getModule(pn).deleteMessageRandom(e),this._addSendMessageFailCountOnUser(e,t);var n=new Hr(jr.SEND_MESSAGE);return n.setMessage("tjg_id:".concat(this.generateTjgID(e)," type:").concat(e.type," from:").concat(e.from," to:").concat(e.to)),this.probeNetwork().then((function(e){var o=y(e,2),r=o[0],a=o[1];n.setError(t,r,a).end()})),Ge.error("".concat(this._className,"._onSendMessageFailed error:"),t),ma(new la({code:t&&t.code?t.code:Ir.MESSAGE_SEND_FAIL,message:t&&t.message?t.message:Sr.MESSAGE_SEND_FAIL,data:{message:e}}))}},{key:"_getSendMessageSpecifiedKey",value:function(e){if([C.MSG_IMAGE,C.MSG_AUDIO,C.MSG_VIDEO,C.MSG_FILE].includes(e.type))return wr;if(e.conversationType===C.CONV_C2C)return Ar;if(e.conversationType===C.CONV_GROUP){var t=this.getModule(cn).getLocalGroupProfile(e.to);if(!t)return;var n=t.type;return Lt(n)?br:Or}}},{key:"_addSendMessageTotalCount",value:function(e){var t=this._getSendMessageSpecifiedKey(e);t&&this.getModule(Cn).addTotalCount(t)}},{key:"_addSendMessageSuccessCount",value:function(e,t){var n=Math.abs(Date.now()-t),o=this._getSendMessageSpecifiedKey(e);if(o){var r=this.getModule(Cn);r.addSuccessCount(o),r.addCost(o,n)}}},{key:"_addSendMessageFailCountOnUser",value:function(e,t){var n,o,r=t.code,a=void 0===r?-1:r,s=this.getModule(Cn),i=this._getSendMessageSpecifiedKey(e);i===wr&&(n=a,o=!1,Ss.includes(n)&&(o=!0),o)?s.addFailedCountOfUserSide(Nr):function(e){var t=!1;return Object.values(Is).includes(e)&&(t=!0),(e>=120001&&e<=13e4||e>=10100&&e<=10200)&&(t=!0),t}(a)&&i&&s.addFailedCountOfUserSide(i)}},{key:"resendMessage",value:function(e){return e.isResend=!0,e.status=Kt.UNSEND,this.sendMessageInstance(e)}},{key:"revokeMessage",value:function(e){var t=this,n=null;if(e.conversationType===C.CONV_C2C){if(!(n=this.getModule(un)))return this._onCannotFindModule()}else if(e.conversationType===C.CONV_GROUP&&!(n=this.getModule(cn)))return this._onCannotFindModule();var o=new Hr(jr.REVOKE_MESSAGE);return o.setMessage("tjg_id:".concat(this.generateTjgID(e)," type:").concat(e.type," from:").concat(e.from," to:").concat(e.to)),n.revokeMessage(e).then((function(n){var r=n.data.recallRetList;if(!qt(r)&&0!==r[0].retCode){var a=new la({code:r[0].retCode,message:da[r[0].retCode]||Sr.MESSAGE_REVOKE_FAIL,data:{message:e}});return o.setCode(a.code).setMoreMessage(a.message).end(),ma(a)}return Ge.info("".concat(t._className,".revokeMessage ok. ID:").concat(e.ID)),e.isRevoked=!0,o.end(),t.getModule(pn).onMessageRevoked([e]),aa({message:e})})).catch((function(n){t.probeNetwork().then((function(e){var t=y(e,2),r=t[0],a=t[1];o.setError(n,r,a).end()}));var r=new la({code:n&&n.code?n.code:Ir.MESSAGE_REVOKE_FAIL,message:n&&n.message?n.message:Sr.MESSAGE_REVOKE_FAIL,data:{message:e}});return Ge.warn("".concat(t._className,".revokeMessage failed. error:"),n),ma(r)}))}},{key:"deleteMessage",value:function(e){var t=this,n=null,o=e[0],r=o.conversationID,a="",s=[],i=[];if(o.conversationType===C.CONV_C2C)n=this.getModule(un),a=r.replace(C.CONV_C2C,""),e.forEach((function(e){e&&e.status===Kt.SUCCESS&&e.conversationID===r&&(e._onlineOnlyFlag||s.push("".concat(e.sequence,"_").concat(e.random,"_").concat(e.time)),i.push(e))}));else if(o.conversationType===C.CONV_GROUP)n=this.getModule(cn),a=r.replace(C.CONV_GROUP,""),e.forEach((function(e){e&&e.status===Kt.SUCCESS&&e.conversationID===r&&(e._onlineOnlyFlag||s.push("".concat(e.sequence)),i.push(e))}));else if(o.conversationType===C.CONV_SYSTEM)return ma({code:Ir.CANNOT_DELETE_GROUP_SYSTEM_NOTICE,message:Sr.CANNOT_DELETE_GROUP_SYSTEM_NOTICE});if(!n)return this._onCannotFindModule();if(0===s.length)return this._onMessageDeleted(i);s.length>30&&(s=s.slice(0,30),i=i.slice(0,30));var u=new Hr(jr.DELETE_MESSAGE);return u.setMessage("to:".concat(a," count:").concat(s.length)),n.deleteMessage({to:a,keyList:s}).then((function(e){return u.end(),Ge.info("".concat(t._className,".deleteMessage ok")),t._onMessageDeleted(i)})).catch((function(e){t.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];u.setError(e,o,r).end()})),Ge.warn("".concat(t._className,".deleteMessage failed. error:"),e);var n=new la({code:e&&e.code?e.code:Ir.MESSAGE_DELETE_FAIL,message:e&&e.message?e.message:Sr.MESSAGE_DELETE_FAIL});return ma(n)}))}},{key:"_onMessageDeleted",value:function(e){return this.getModule(pn).onMessageDeleted(e),ha({messageList:e})}},{key:"modifyRemoteMessage",value:function(e){var t=this,n=null,o=e.conversationType,r=e.to;if(this.getModule(cn).isMessageFromOrToAVChatroom(r))return ma({code:Ir.MESSAGE_MODIFY_DISABLED_IN_AVCHATROOM,message:Sr.MESSAGE_MODIFY_DISABLED_IN_AVCHATROOM,data:{message:e}});o===C.CONV_C2C?n=this.getModule(un):o===C.CONV_GROUP&&(n=this.getModule(cn));var a=new Hr(jr.MODIFY_MESSAGE);return a.setMessage("to:".concat(r)),n.modifyRemoteMessage(e).then((function(n){a.end(),Ge.info("".concat(t._className,".modifyRemoteMessage ok"));var o=t._onModifyRemoteMessageResp(e,n.data);return aa({message:o})})).catch((function(n){if(a.setCode(n.code).setMoreMessage(n.message).end(),Ge.warn("".concat(t._className,".modifyRemoteMessage failed. error:"),n),20027===n.code){var o=t._onModifyRemoteMessageResp(e,n.data);return ma({code:Ir.MESSAGE_MODIFY_CONFLICT,message:Sr.MESSAGE_MODIFY_CONFLICT,data:{message:o}})}return ma({code:n.code,message:n.message,data:{message:e}})}))}},{key:"_onModifyRemoteMessageResp",value:function(e,t){Ge.debug("".concat(this._className,"._onModifyRemoteMessageResp options:"),t);var n=e.conversationType,o=e.from,r=e.to,a=e.random,s=e.sequence,i=e.time,u=t.elements,c=t.messageVersion,d=t.cloudCustomData,l=void 0===d?"":d;return this.getModule(pn).onMessageModified({conversationType:n,from:o,to:r,time:i,random:a,sequence:s,elements:u,cloudCustomData:l,messageVersion:c})}},{key:"_generateUUID",value:function(){var e=this.getModule(hn);return"".concat(e.getSDKAppID(),"-").concat(e.getUserID(),"-").concat(function(){for(var e="",t=32;t>0;--t)e+=pt[Math.floor(Math.random()*ht)];return e}())}},{key:"getMessageOption",value:function(e){return this._messageOptionsMap.get(e)}},{key:"_getNickAndAvatarByUserID",value:function(e){return this.getModule(sn).getNickAndAvatarByUserID(e)}},{key:"_getNameCardByGroupID",value:function(e){if(e.conversationType===C.CONV_GROUP){var t=this.getModule(cn);if(t)return t.getMyNameCardByGroupID(e.to)}return""}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._messageOptionsMap.clear()}}]),r}(bn),Cs=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="PluginModule",o.plugins={},o}return i(n,[{key:"registerPlugin",value:function(e){var t=this;Object.keys(e).forEach((function(n){t.plugins[n]=e[n]})),new Hr(jr.REGISTER_PLUGIN).setMessage("".concat(Object.keys(e))).end()}},{key:"getPlugin",value:function(e){return this.plugins[e]}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset"))}}]),n}(bn),As=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="SyncUnreadMessageModule",o._cookie="",o._onlineSyncFlag=!1,o.getInnerEmitterInstance().on(Ma,o._onLoginSuccess,f(o)),o}return i(n,[{key:"_onLoginSuccess",value:function(e){this._startSync({cookie:this._cookie,syncFlag:0,isOnlineSync:0})}},{key:"_startSync",value:function(e){var t=this,n=e.cookie,o=e.syncFlag,r=e.isOnlineSync;Ge.log("".concat(this._className,"._startSync cookie:").concat(n," syncFlag:").concat(o," isOnlineSync:").concat(r)),this.request({protocolName:Yn,requestData:{cookie:n,syncFlag:o,isOnlineSync:r}}).then((function(e){var n=e.data,o=n.cookie,r=n.syncFlag,a=n.eventArray,s=n.messageList,i=n.C2CRemainingUnreadList,u=n.C2CPairUnreadList;t._cookie=o,qt(o)||(0===r||1===r?(a&&t.getModule(Tn).onMessage({head:{},body:{eventArray:a,isInstantMessage:t._onlineSyncFlag,isSyncingEnded:!1}}),t.getModule(un).onNewC2CMessage({dataList:s,isInstantMessage:!1,C2CRemainingUnreadList:i,C2CPairUnreadList:u}),t._startSync({cookie:o,syncFlag:r,isOnlineSync:0})):2===r&&(a&&t.getModule(Tn).onMessage({head:{},body:{eventArray:a,isInstantMessage:t._onlineSyncFlag,isSyncingEnded:!0}}),t.getModule(un).onNewC2CMessage({dataList:s,isInstantMessage:t._onlineSyncFlag,C2CRemainingUnreadList:i,C2CPairUnreadList:u})))})).catch((function(e){Ge.error("".concat(t._className,"._startSync failed. error:"),e)}))}},{key:"startOnlineSync",value:function(){Ge.log("".concat(this._className,".startOnlineSync")),this._onlineSyncFlag=!0,this._startSync({cookie:this._cookie,syncFlag:0,isOnlineSync:1})}},{key:"startSyncOnReconnected",value:function(){Ge.log("".concat(this._className,".startSyncOnReconnected.")),this._onlineSyncFlag=!0,this._startSync({cookie:this._cookie,syncFlag:0,isOnlineSync:0})}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._onlineSyncFlag=!1,this._cookie=""}}]),n}(bn),Os={request:{toAccount:"To_Account",fromAccount:"From_Account",to:"To_Account",from:"From_Account",groupID:"GroupId",groupAtUserID:"GroupAt_Account",extension:"Ext",data:"Data",description:"Desc",elements:"MsgBody",sizeType:"Type",downloadFlag:"Download_Flag",thumbUUID:"ThumbUUID",videoUUID:"VideoUUID",remoteAudioUrl:"Url",remoteVideoUrl:"VideoUrl",videoUrl:"",imageUrl:"URL",fileUrl:"Url",uuid:"UUID",priority:"MsgPriority",receiverUserID:"To_Account",receiverGroupID:"GroupId",messageSender:"SenderId",messageReceiver:"ReceiverId",nick:"From_AccountNick",avatar:"From_AccountHeadurl",messageNumber:"MsgNum",pbDownloadKey:"PbMsgKey",downloadKey:"JsonMsgKey",applicationType:"PendencyType",userIDList:"To_Account",groupNameList:"GroupName",userID:"To_Account",groupAttributeList:"GroupAttr",mainSequence:"AttrMainSeq",avChatRoomKey:"BytesKey",attributeControl:"AttrControl",sequence:"seq",messageControlInfo:"SendMsgControl",updateSequence:"UpdateSeq",clientTime:"MsgClientTime",sequenceList:"MsgSeqList",topicID:"TopicId",customData:"CustomString",isSupportTopic:"SupportTopic",isWebUniapp:"is_web_uniapp"},response:{MsgPriority:"priority",ThumbUUID:"thumbUUID",VideoUUID:"videoUUID",Download_Flag:"downloadFlag",GroupId:"groupID",Member_Account:"userID",MsgList:"messageList",SyncFlag:"syncFlag",To_Account:"to",From_Account:"from",MsgSeq:"sequence",MsgRandom:"random",MsgTime:"time",MsgTimeStamp:"time",MsgContent:"content",MsgBody:"elements",From_AccountNick:"nick",From_AccountHeadurl:"avatar",GroupWithdrawInfoArray:"revokedInfos",GroupReadInfoArray:"groupMessageReadNotice",LastReadMsgSeq:"lastMessageSeq",WithdrawC2cMsgNotify:"c2cMessageRevokedNotify",C2cWithdrawInfoArray:"revokedInfos",C2cReadedReceipt:"c2cMessageReadReceipt",ReadC2cMsgNotify:"c2cMessageReadNotice",LastReadTime:"peerReadTime",MsgRand:"random",MsgType:"type",MsgShow:"messageShow",NextMsgSeq:"nextMessageSeq",FaceUrl:"avatar",ProfileDataMod:"profileModify",Profile_Account:"userID",ValueBytes:"value",ValueNum:"value",NoticeSeq:"noticeSequence",NotifySeq:"notifySequence",MsgFrom_AccountExtraInfo:"messageFromAccountExtraInformation",Operator_Account:"operatorID",OpType:"operationType",ReportType:"operationType",UserId:"userID",User_Account:"userID",List_Account:"userIDList",MsgOperatorMemberExtraInfo:"operatorInfo",MsgMemberExtraInfo:"memberInfoList",ImageUrl:"avatar",NickName:"nick",MsgGroupNewInfo:"newGroupProfile",MsgAppDefinedData:"groupCustomField",Owner_Account:"ownerID",GroupFaceUrl:"avatar",GroupIntroduction:"introduction",GroupNotification:"notification",GroupApplyJoinOption:"joinOption",MsgKey:"messageKey",GroupInfo:"groupProfile",ShutupTime:"muteTime",Desc:"description",Ext:"extension",GroupAt_Account:"groupAtUserID",MsgNum:"messageNumber",PbMsgKey:"pbDownloadKey",JsonMsgKey:"downloadKey",MsgModifiedFlag:"isModified",PendencyItem:"applicationItem",PendencyType:"applicationType",AddTime:"time",AddSource:"source",AddWording:"wording",ProfileImImage:"avatar",PendencyAdd:"friendApplicationAdded",FrienPencydDel_Account:"friendApplicationDeletedUserIDList",Peer_Account:"userID",GroupAttr:"groupAttributeList",GroupAttrAry:"groupAttributeList",AttrMainSeq:"mainSequence",seq:"sequence",GroupAttrOption:"groupAttributeOption",BytesChangedKeys:"changedKeyList",GroupAttrInfo:"groupAttributeList",GroupAttrSeq:"mainSequence",PushChangedAttrValFlag:"hasChangedAttributeInfo",SubKeySeq:"sequence",Val:"value",MsgGroupFromCardName:"senderNameCard",MsgGroupFromNickName:"senderNick",C2cNick:"peerNick",C2cImage:"peerAvatar",SendMsgControl:"messageControlInfo",NoLastMsg:"excludedFromLastMessage",NoUnread:"excludedFromUnreadCount",UpdateSeq:"updateSequence",MuteNotifications:"muteFlag",MsgClientTime:"clientTime",TinyId:"tinyID",GroupMsgReceiptList:"readReceiptList",ReadNum:"readCount",UnreadNum:"unreadCount",TopicId:"topicID",MillionGroupFlag:"communityType",SupportTopic:"isSupportTopic",MsgTopicNewInfo:"newTopicInfo",ShutupAll:"muteAllMembers",CustomString:"customData",TopicFaceUrl:"avatar",TopicIntroduction:"introduction",TopicNotification:"notification",TopicIdArray:"topicIDList",MsgVersion:"messageVersion",C2cMsgModNotifys:"c2cMessageModified",GroupMsgModNotifys:"groupMessageModified",ApplyJoinOption:"joinOption",MsgFlag:"messageRemindType",AtInfoList:"groupAtInfoList",AtFlagList:"groupAtType",AtMsgSeq:"sequence",BanDuration:"duration",BanDescription:"reason"},ignoreKeyWord:["C2C","ID","USP"]};function bs(e,t){if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");var n;return t=Object.assign({pascalCase:!1},t),0===(e=Array.isArray(e)?e.map((function(e){return e.trim()})).filter((function(e){return e.length})).join("-"):e.trim()).length?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=ws(e)),e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})).replace(/\d+(\w|$)/g,(function(e){return e.toUpperCase()})),n=e,t.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n)}var ws=function(e){for(var t=!1,n=!1,o=!1,r=0;r<e.length;r++){var a=e[r];t&&/[a-zA-Z]/.test(a)&&a.toUpperCase()===a?(e=e.slice(0,r)+"-"+e.slice(r),t=!1,o=n,n=!0,r++):n&&o&&/[a-zA-Z]/.test(a)&&a.toLowerCase()===a?(e=e.slice(0,r-1)+"-"+e.slice(r-1),o=n,n=!1,t=!0):(t=a.toLowerCase()===a&&a.toUpperCase()!==a,o=n,n=a.toUpperCase()===a&&a.toLowerCase()!==a)}return e};function Ns(e,t){var n=0;return function e(t,o){if(++n>100)return n--,t;if(Qe(t)){var r=t.map((function(t){return Xe(t)?e(t,o):t}));return n--,r}if(Xe(t)){var a=(s=t,i=function(e,t){if(!st(t))return!1;if((r=t)!==bs(r))for(var n=0;n<Os.ignoreKeyWord.length&&!t.includes(Os.ignoreKeyWord[n]);n++);var r;return et(o[t])?function(e){return"OPPOChannelID"===e?e:e[0].toUpperCase()+bs(e).slice(1)}(t):o[t]},u=Object.create(null),Object.keys(s).forEach((function(e){var t=i(s[e],e);t&&(u[t]=s[e])})),u);return a=Et(a,(function(t,n){return Qe(t)||Xe(t)?e(t,o):t})),n--,a}var s,i,u}(e,t)}function Rs(e,t){if(Qe(e))return e.map((function(e){return Xe(e)?Rs(e,t):e}));if(Xe(e)){var n=(o=e,r=function(e,n){return et(t[n])?bs(n):t[n]},a={},Object.keys(o).forEach((function(e){a[r(o[e],e)]=o[e]})),a);return Et(n,(function(e){return Qe(e)||Xe(e)?Rs(e,t):e}))}var o,r,a}var Ps=String.fromCharCode,Ys=function(e){var t=0|e.charCodeAt(0);if(55296<=t)if(t<56320){var n=0|e.charCodeAt(1);if(56320<=n&&n<=57343){if((t=(t<<10)+n-56613888|0)>65535)return Ps(240|t>>>18,128|t>>>12&63,128|t>>>6&63,128|63&t)}else t=65533}else t<=57343&&(t=65533);return t<=2047?Ps(192|t>>>6,128|63&t):Ps(224|t>>>12,128|t>>>6&63,128|63&t)},Gs=function(e){for(var t=void 0===e?"":(""+e).replace(/[\x80-\uD7ff\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]?/g,Ys),n=0|t.length,o=new Uint8Array(n),r=0;r<n;r=r+1|0)o[r]=0|t.charCodeAt(r);return o},Us=function(e){for(var t=new Uint8Array(e),n="",o=0,r=t.length;o<r;){var a=t[o],s=0,i=0;if(a<=127?(s=0,i=255&a):a<=223?(s=1,i=31&a):a<=239?(s=2,i=15&a):a<=244&&(s=3,i=7&a),r-o-s>0)for(var u=0;u<s;)i=i<<6|63&(a=t[o+u+1]),u+=1;else i=65533,s=r-o;n+=String.fromCodePoint(i),o+=s+1}return n},Fs=function(){function e(t){a(this,e),this._handler=t;var n=t.getURL();if(this._socket=null,this._workerSocket=null,this._id=_t(),this._handler.getIsWorkerEnabled()){var o=URL.createObjectURL(new Blob([';let _socket = null;onmessage = function(event) { if (event.data.cmd === "start") { const url = event.data.url; _socket = new WebSocket(url); _socket.binaryType = "arraybuffer"; _socket.onopen = function() { postMessage({ callback: "onOpen" }); }; _socket.onclose = function(e) { postMessage({ callback: "onOpen", e: { code: e.code, reason: e.reason } }); }; _socket.onmessage = function(e) { postMessage({ callback: "onMessage", data: e.data }); }; _socket.onerror = function(e) { postMessage({ callback: "onError", e: { isTrusted: "true" } }); }; } else if (event.data.cmd === "sendMessage") { if (_socket !== null) { _socket.send(event.data.data); } } else if (event.data.cmd === "stop") { if (_socket !== null) { _socket.close(event.data.code); _socket = null; } }};'],{type:"application/javascript; charset=utf-8"}));this._workerSocket=new Worker(o);var r=this;this._workerSocket.onmessage=function(e){var t=e.data,n=t.callback,o=t.e;"onOpen"===n?r._onOpen():"onClose"===n?r._onClose(o):"onError"===n?r._onError(o):"onMessage"===n&&r._onMessage(e.data)},this._workerSocket.postMessage({cmd:"start",id:this._id,url:n})}else oe?ee?(ae.connectSocket({url:n,header:{"content-type":"application/json"}}),ae.onSocketClose(this._onClose.bind(this)),ae.onSocketOpen(this._onOpen.bind(this)),ae.onSocketMessage(this._onMessage.bind(this)),ae.onSocketError(this._onError.bind(this))):(this._socket=ae.connectSocket({url:n,header:{"content-type":"application/json"},complete:function(){}}),this._socket.onClose(this._onClose.bind(this)),this._socket.onOpen(this._onOpen.bind(this)),this._socket.onMessage(this._onMessage.bind(this)),this._socket.onError(this._onError.bind(this))):re&&(this._socket=new WebSocket(n),this._socket.binaryType="arraybuffer",this._socket.onopen=this._onOpen.bind(this),this._socket.onmessage=this._onMessage.bind(this),this._socket.onclose=this._onClose.bind(this),this._socket.onerror=this._onError.bind(this));this._canIUseBinaryFrame=t.canIUseBinaryFrame()}return i(e,[{key:"getID",value:function(){return this._id}},{key:"_onOpen",value:function(){this._handler.onOpen({id:this._id})}},{key:"_onClose",value:function(e){this._handler.onClose({id:this._id,e:e})}},{key:"_onMessage",value:function(e){this._handler.onMessage({data:this._canIUseBinaryFrame?Us(e.data):e.data})}},{key:"_onError",value:function(e){this._handler.onError({id:this._id,e:e})}},{key:"setIsWorkerEnabled",value:function(e){this._isWorkerEnabled=!0}},{key:"close",value:function(e){if(this._workerSocket&&(this._workerSocket.postMessage({cmd:"stop",code:e}),this._workerSocket.terminate(),this._workerSocket=null),ee)return ae.offSocketClose(),ae.offSocketMessage(),ae.offSocketOpen(),ae.offSocketError(),void ae.closeSocket();this._socket&&(oe?(this._socket.onClose((function(){})),this._socket.onOpen((function(){})),this._socket.onMessage((function(){})),this._socket.onError((function(){}))):re&&(this._socket.onopen=null,this._socket.onmessage=null,this._socket.onclose=null,this._socket.onerror=null),Q?this._socket.close({code:e}):this._socket.close(e),this._socket=null)}},{key:"send",value:function(e){if(this._workerSocket)this._workerSocket.postMessage({cmd:"sendMessage",data:this._canIUseBinaryFrame?Gs(e.data).buffer:e.data});else{if(ee)return void ae.sendSocketMessage({data:e.data,fail:function(){e.fail&&e.requestID&&e.fail(e.requestID)}});this._socket&&(oe?this._socket.send({data:this._canIUseBinaryFrame?Gs(e.data).buffer:e.data,fail:function(){e.fail&&e.requestID&&e.fail(e.requestID)}}):re&&this._socket.send(this._canIUseBinaryFrame?Gs(e.data).buffer:e.data))}}}]),e}(),xs=4e3,Hs=4001,js=["keyMap"],qs=["keyMap"],Bs="connected",Vs="connecting",Ws="disconnected",Ks=function(){function e(t){a(this,e),this._channelModule=t,this._className="SocketHandler",this._promiseMap=new Map,this._readyState=Ws,this._simpleRequestMap=new Map,this.MAX_SIZE=100,this._startSequence=_t(),this._startTs=0,this._reConnectFlag=!1,this._nextPingTs=0,this._reConnectCount=0,this.MAX_RECONNECT_COUNT=3,this._socketID=-1,this._random=0,this._socket=null,this._url="",this._onOpenTs=0,this._canIUseBinaryFrame=!0,this._isWorkerEnabled=!0,this._setWebsocketHost(),this._initConnection()}return i(e,[{key:"_setWebsocketHost",value:function(){var e=this._channelModule.getModule(hn),t=U;this._channelModule.isOversea()&&(t=F),e.isSingaporeSite()?t=x:e.isKoreaSite()?t=H:e.isGermanySite()?t=j:e.isIndiaSite()&&(t=q),B.HOST.setCurrent(t)}},{key:"_initConnection",value:function(){et(B.HOST.CURRENT.BACKUP)||""===this._url?this._url=B.HOST.CURRENT.DEFAULT:this._url===B.HOST.CURRENT.DEFAULT?this._url=B.HOST.CURRENT.BACKUP:this._url===B.HOST.CURRENT.BACKUP&&(this._url=B.HOST.CURRENT.DEFAULT);var e=this._channelModule.getModule(hn).getProxyServer();qt(e)||(this._url=e),this._connect(),this._nextPingTs=0}},{key:"onCheckTimer",value:function(e){e%1==0&&this._checkPromiseMap()}},{key:"_checkPromiseMap",value:function(){var e=this;0!==this._promiseMap.size&&this._promiseMap.forEach((function(t,n){var o=t.reject,r=t.timestamp,a=15e3;-1!==n.indexOf(wn)&&(a=9e4),Date.now()-r>=a&&(Ge.log("".concat(e._className,"._checkPromiseMap request timeout, delete requestID:").concat(n)),e._promiseMap.delete(n),o(new la({code:Ir.NETWORK_TIMEOUT,message:Sr.NETWORK_TIMEOUT})),e._channelModule.onRequestTimeout(n))}))}},{key:"onOpen",value:function(e){if(""!==this._readyState){this._onOpenTs=Date.now();var t=e.id;this._socketID=t;var n=Date.now()-this._startTs;Ge.log("".concat(this._className,"._onOpen cost ").concat(n," ms. socketID:").concat(t)),new Hr(jr.WS_ON_OPEN).setMessage(n).setCostTime(n).setMoreMessage("socketID:".concat(t)).end(),e.id===this._socketID&&(this._readyState=Bs,this._reConnectCount=0,this._resend(),!0===this._reConnectFlag&&(this._channelModule.onReconnected(),this._reConnectFlag=!1),this._channelModule.onOpen())}}},{key:"onClose",value:function(e){var t=new Hr(jr.WS_ON_CLOSE),n=e.id,o=e.e,r="sourceSocketID:".concat(n," currentSocketID:").concat(this._socketID," code:").concat(o.code," reason:").concat(o.reason),a=0;0!==this._onOpenTs&&(a=Date.now()-this._onOpenTs),t.setMessage(a).setCostTime(a).setMoreMessage(r).setCode(o.code).end(),Ge.log("".concat(this._className,"._onClose ").concat(r," onlineTime:").concat(a)),n===this._socketID&&(this._readyState=Ws,a<1e3?this._channelModule.onReconnectFailed():this._channelModule.onClose())}},{key:"onError",value:function(e){var t=e.id,n=e.e,o="sourceSocketID:".concat(t," currentSocketID:").concat(this._socketID);new Hr(jr.WS_ON_ERROR).setMessage(n.errMsg||dt(n)).setMoreMessage(o).setLevel("error").end(),Ge.warn("".concat(this._className,"._onError"),n,o),t===this._socketID&&(this._readyState="",this._channelModule.onError())}},{key:"onMessage",value:function(e){var t;try{t=JSON.parse(e.data)}catch(l){new Hr(jr.JSON_PARSE_ERROR).setMessage(e.data).end()}if(t&&t.head){var n=this._getRequestIDFromHead(t.head),o=Rt(t.head),r=Rs(t.body,this._getResponseKeyMap(o));if(Ge.debug("".concat(this._className,".onMessage ret:").concat(JSON.stringify(r)," requestID:").concat(n," has:").concat(this._promiseMap.has(n))),this._setNextPingTs(),this._promiseMap.has(n)){var a=this._promiseMap.get(n),s=a.resolve,i=a.reject,u=a.timestamp;return this._promiseMap.delete(n),this._calcRTT(u),void(r.errorCode&&0!==r.errorCode?(this._channelModule.onErrorCodeNotZero(r),i(new la({code:r.errorCode,message:r.errorInfo||"",data:n.includes(Zn)||n.includes(Fo)?{elements:r.elements,messageVersion:r.messageVersion,cloudCustomData:r.cloudCustomData}:void 0}))):s(aa(r)))}this._channelModule.onMessage({head:t.head,body:r})}}},{key:"_calcRTT",value:function(e){var t=Date.now()-e;this._channelModule.getModule(Cn).addRTT(t)}},{key:"_connect",value:function(){this._startTs=Date.now(),this._onOpenTs=0,this._socket=new Fs(this),this._socketID=this._socket.getID(),this._readyState=Vs,Ge.log("".concat(this._className,"._connect isWorkerEnabled:").concat(this.getIsWorkerEnabled()," socketID:").concat(this._socketID," url:").concat(this.getURL())),new Hr(jr.WS_CONNECT).setMessage("socketID:".concat(this._socketID," url:").concat(this.getURL())).end()}},{key:"getURL",value:function(){var e=this._channelModule.getModule(hn);e.isDevMode()&&(this._canIUseBinaryFrame=!1);var t=Ot();(ee||J&&"windows"===t||te)&&(this._canIUseBinaryFrame=!1);var n=-1;"ios"===t?n=pe||-1:"android"===t&&(n=me||-1);var o=this._channelModule.getPlatform(),r=e.getSDKAppID(),a=e.getInstanceID();return this._canIUseBinaryFrame?"".concat(this._url,"/binfo?sdkappid=").concat(r,"&instanceid=").concat(a,"&random=").concat(this._getRandom(),"&platform=").concat(o,"&host=").concat(t,"&version=").concat(n):"".concat(this._url,"/info?sdkappid=").concat(r,"&instanceid=").concat(a,"&random=").concat(this._getRandom(),"&platform=").concat(o,"&host=").concat(t,"&version=").concat(n)}},{key:"_closeConnection",value:function(e){Ge.log("".concat(this._className,"._closeConnection socketID:").concat(this._socketID)),this._socket&&(this._socket.close(e),this._socketID=-1,this._socket=null,this._readyState=Ws)}},{key:"_resend",value:function(){var e=this;if(Ge.log("".concat(this._className,"._resend reConnectFlag:").concat(this._reConnectFlag),"promiseMap.size:".concat(this._promiseMap.size," simpleRequestMap.size:").concat(this._simpleRequestMap.size)),this._promiseMap.size>0&&this._promiseMap.forEach((function(t,n){var o=t.uplinkData,r=t.resolve,a=t.reject;e._promiseMap.set(n,{resolve:r,reject:a,timestamp:Date.now(),uplinkData:o}),e._execute(n,o)})),this._simpleRequestMap.size>0){var t,n=S(this._simpleRequestMap);try{for(n.s();!(t=n.n()).done;){var o=y(t.value,2),r=o[0],a=o[1];this._execute(r,a)}}catch(u){n.e(u)}finally{n.f()}this._simpleRequestMap.clear()}}},{key:"send",value:function(e){var t=this;e.head.seq=this._getSequence(),e.head.reqtime=Math.floor(Date.now()/1e3),e.keyMap;var n=m(e,js),o=this._getRequestIDFromHead(e.head),r=JSON.stringify(n);return new Promise((function(e,a){t._promiseMap.set(o,{resolve:e,reject:a,timestamp:Date.now(),uplinkData:r}),Ge.debug("".concat(t._className,".send uplinkData:").concat(JSON.stringify(n)," requestID:").concat(o," readyState:").concat(t._readyState)),t._readyState!==Bs?t._reConnect():(t._execute(o,r),t._channelModule.getModule(Cn).addRequestCount())}))}},{key:"simplySend",value:function(e){e.head.seq=this._getSequence(),e.head.reqtime=Math.floor(Date.now()/1e3),e.keyMap;var t=m(e,qs),n=this._getRequestIDFromHead(e.head),o=JSON.stringify(t);this._readyState!==Bs?(this._simpleRequestMap.size<this.MAX_SIZE?this._simpleRequestMap.set(n,o):Ge.log("".concat(this._className,".simplySend. simpleRequestMap is full, drop request!")),this._reConnect()):this._execute(n,o)}},{key:"_execute",value:function(e,t){this._socket.send({data:t,fail:oe?this._onSendFail.bind(this):void 0,requestID:e})}},{key:"_onSendFail",value:function(e){Ge.log("".concat(this._className,"._onSendFail requestID:").concat(e))}},{key:"_getSequence",value:function(){var e;if(this._startSequence<2415919103)return e=this._startSequence,this._startSequence+=1,2415919103===this._startSequence&&(this._startSequence=_t()),e}},{key:"_getRequestIDFromHead",value:function(e){return e.servcmd+e.seq}},{key:"_getResponseKeyMap",value:function(e){var t=this._channelModule.getKeyMap(e);return o(o({},Os.response),t.response)}},{key:"_reConnect",value:function(){this._readyState!==Bs&&this._readyState!==Vs&&this.forcedReconnect()}},{key:"forcedReconnect",value:function(){var e=this;Ge.log("".concat(this._className,".forcedReconnect count:").concat(this._reConnectCount," readyState:").concat(this._readyState)),this._reConnectFlag=!0,this._resetRandom(),this._reConnectCount<this.MAX_RECONNECT_COUNT?(this._reConnectCount+=1,this._closeConnection(Hs),this._initConnection()):(this._reConnectCount=0,this._channelModule.probeNetwork().then((function(t){var n=y(t,2),o=n[0];n[1],o?(Ge.warn("".concat(e._className,".forcedReconnect disconnected from wsserver but network is ok, continue...")),e._closeConnection(Hs),e._initConnection()):e._channelModule.onReconnectFailed()})))}},{key:"getReconnectFlag",value:function(){return this._reConnectFlag}},{key:"_setNextPingTs",value:function(){this._nextPingTs=Date.now()+1e4}},{key:"getNextPingTs",value:function(){return this._nextPingTs}},{key:"isConnected",value:function(){return this._readyState===Bs}},{key:"canIUseBinaryFrame",value:function(){return this._canIUseBinaryFrame}},{key:"setIsWorkerEnabled",value:function(e){Ge.log("".concat(this._className,".setIsWorkerEnabled flag:").concat(e)),this._isWorkerEnabled=e}},{key:"getIsWorkerEnabled",value:function(){return this._isWorkerEnabled&&De}},{key:"_getRandom",value:function(){return 0===this._random&&(this._random=Math.random()),this._random}},{key:"_resetRandom",value:function(){this._random=0}},{key:"close",value:function(){Ge.log("".concat(this._className,".close")),this._closeConnection(xs),this._promiseMap.clear(),this._startSequence=_t(),this._readyState=Ws,this._simpleRequestMap.clear(),this._reConnectFlag=!1,this._reConnectCount=0,this._onOpenTs=0,this._url="",this._random=0,this._canIUseBinaryFrame=!0,this._isWorkerEnabled=!0}}]),e}(),$s=function(e){c(n,e);var t=M(n);function n(e){var o;if(a(this,n),(o=t.call(this,e))._className="ChannelModule",o._socketHandler=new Ks(f(o)),o._probing=!1,o._isAppShowing=!0,o._previousState=C.NET_STATE_CONNECTED,oe&&"function"==typeof ae.onAppShow&&"function"==typeof ae.onAppHide){var r=o._onAppHide.bind(f(o)),s=o._onAppShow.bind(f(o));"function"==typeof ae.offAppHide&&ae.offAppHide(r),"function"==typeof ae.offAppShow&&ae.offAppShow(s),ae.onAppHide(r),ae.onAppShow(s)}return o._timerForNotLoggedIn=-1,o._timerForNotLoggedIn=setInterval(o.onCheckTimer.bind(f(o)),1e3),o._fatalErrorFlag=!1,o}return i(n,[{key:"onCheckTimer",value:function(e){this._socketHandler&&(this.isLoggedIn()?(this._timerForNotLoggedIn>0&&(clearInterval(this._timerForNotLoggedIn),this._timerForNotLoggedIn=-1),this._socketHandler.onCheckTimer(e)):this._socketHandler.onCheckTimer(1),this._checkNextPing())}},{key:"onErrorCodeNotZero",value:function(e){this.getModule(Tn).onErrorCodeNotZero(e)}},{key:"onMessage",value:function(e){this.getModule(Tn).onMessage(e)}},{key:"send",value:function(e){return this._socketHandler?this._previousState!==C.NET_STATE_CONNECTED&&e.head.servcmd.includes(tr)?(this.reConnect(),this._sendLogViaHTTP(e)):this._socketHandler.send(e):Promise.reject()}},{key:"_sendLogViaHTTP",value:function(e){var t=B.HOST.CURRENT.STAT;return new Promise((function(n,o){var r="".concat(t,"/v4/imopenstat/tim_web_report_v2?sdkappid=").concat(e.head.sdkappid,"&reqtime=").concat(Date.now()),a=JSON.stringify(e.body),s="application/x-www-form-urlencoded;charset=UTF-8";if(oe)ae.request({url:r,data:a,method:"POST",timeout:3e3,header:{"content-type":s},success:function(){n()},fail:function(){o(new la({code:Ir.NETWORK_ERROR,message:Sr.NETWORK_ERROR}))}});else{var i=new XMLHttpRequest,u=setTimeout((function(){i.abort(),o(new la({code:Ir.NETWORK_TIMEOUT,message:Sr.NETWORK_TIMEOUT}))}),3e3);i.onreadystatechange=function(){4===i.readyState&&(clearTimeout(u),200===i.status||304===i.status?n():o(new la({code:Ir.NETWORK_ERROR,message:Sr.NETWORK_ERROR})))},i.open("POST",r,!0),i.setRequestHeader("Content-type",s),i.send(a)}}))}},{key:"simplySend",value:function(e){return this._socketHandler?this._socketHandler.simplySend(e):Promise.reject()}},{key:"onOpen",value:function(){this._ping()}},{key:"onClose",value:function(){this._socketHandler&&this._socketHandler.getReconnectFlag()&&this._emitNetStateChangeEvent(C.NET_STATE_DISCONNECTED),this.reConnect()}},{key:"onError",value:function(){oe&&!te&&Ge.error("".concat(this._className,".onError 从v2.11.2起,SDK 支持了 WebSocket,如您未添加相关受信域名,请先添加!(如已添加请忽略),升级指引: https://web.sdk.qcloud.com/im/doc/zh-cn/tutorial-02-upgradeguideline.html")),this._emitNetStateChangeEvent(C.NET_STATE_DISCONNECTED)}},{key:"getKeyMap",value:function(e){return this.getModule(Tn).getKeyMap(e)}},{key:"_onAppHide",value:function(){this._isAppShowing=!1}},{key:"_onAppShow",value:function(){this._isAppShowing=!0}},{key:"onRequestTimeout",value:function(e){}},{key:"onReconnected",value:function(){Ge.log("".concat(this._className,".onReconnected")),this.getModule(Tn).onReconnected(),this._emitNetStateChangeEvent(C.NET_STATE_CONNECTED)}},{key:"onReconnectFailed",value:function(){Ge.log("".concat(this._className,".onReconnectFailed")),this._emitNetStateChangeEvent(C.NET_STATE_DISCONNECTED)}},{key:"setIsWorkerEnabled",value:function(e){this._socketHandler&&this._socketHandler.setIsWorkerEnabled(!1)}},{key:"offline",value:function(){this._emitNetStateChangeEvent(C.NET_STATE_DISCONNECTED)}},{key:"reConnect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!1;this._socketHandler&&(t=this._socketHandler.getReconnectFlag());var n="forcedFlag:".concat(e," fatalErrorFlag:").concat(this._fatalErrorFlag," previousState:").concat(this._previousState," reconnectFlag:").concat(t);if(Ge.log("".concat(this._className,".reConnect ").concat(n)),!this._fatalErrorFlag&&this._socketHandler){if(!0===e)this._socketHandler.forcedReconnect();else{if(this._previousState===C.NET_STATE_CONNECTING&&t)return;this._socketHandler.forcedReconnect()}this._emitNetStateChangeEvent(C.NET_STATE_CONNECTING)}}},{key:"_emitNetStateChangeEvent",value:function(e){this._previousState!==e&&(Ge.log("".concat(this._className,"._emitNetStateChangeEvent from ").concat(this._previousState," to ").concat(e)),this._previousState=e,this.emitOuterEvent(E.NET_STATE_CHANGE,{state:e}))}},{key:"_ping",value:function(){var e=this;if(!0!==this._probing){this._probing=!0;var t=this.getModule(Tn).getProtocolData({protocolName:nr});this.send(t).then((function(){e._probing=!1})).catch((function(t){if(Ge.warn("".concat(e._className,"._ping failed. error:"),t),e._probing=!1,t&&60002===t.code)return new Hr(jr.ERROR).setMessage("code:".concat(t.code," message:").concat(t.message)).setNetworkType(e.getModule(gn).getNetworkType()).end(),e._fatalErrorFlag=!0,void e._emitNetStateChangeEvent(C.NET_STATE_DISCONNECTED);e.probeNetwork().then((function(t){var n=y(t,2),o=n[0],r=n[1];Ge.log("".concat(e._className,"._ping failed. probe network, isAppShowing:").concat(e._isAppShowing," online:").concat(o," networkType:").concat(r)),o?e.reConnect():e._emitNetStateChangeEvent(C.NET_STATE_DISCONNECTED)}))}))}}},{key:"_checkNextPing",value:function(){this._socketHandler&&this._socketHandler.isConnected()&&Date.now()>=this._socketHandler.getNextPingTs()&&this._ping()}},{key:"dealloc",value:function(){this._socketHandler&&(this._socketHandler.close(),this._socketHandler=null),this._timerForNotLoggedIn>-1&&clearInterval(this._timerForNotLoggedIn)}},{key:"onRestApiKickedOut",value:function(){this._socketHandler&&(this._socketHandler.close(),this.reConnect(!0))}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._previousState=C.NET_STATE_CONNECTED,this._probing=!1,this._fatalErrorFlag=!1,this._timerForNotLoggedIn=setInterval(this.onCheckTimer.bind(this),1e3)}}]),n}(bn),zs=["a2","tinyid"],Js=["a2","tinyid"],Xs=function(){function e(t){a(this,e),this._className="ProtocolHandler",this._sessionModule=t,this._configMap=new Map,this._fillConfigMap()}return i(e,[{key:"_fillConfigMap",value:function(){this._configMap.clear();var e=this._sessionModule.genCommonHead(),t=this._sessionModule.genCosSpecifiedHead(),n=this._sessionModule.genSSOReportHead();this._configMap.set(wn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.LOGIN)}),body:{state:"Online",isWebUniapp:0,deviceBrand:0},keyMap:{request:{deviceBrand:"InstType"},response:{InstId:"instanceID",HelloInterval:"helloInterval"}}}}(e)),this._configMap.set(Nn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.LOGOUT)}),body:{type:0},keyMap:{request:{type:"wslogout_type"}}}}(e)),this._configMap.set(Rn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.HELLO)}),body:{isWebUniapp:0},keyMap:{response:{NewInstInfo:"newInstanceInfo"}}}}(e)),this._configMap.set(Pn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.STAT_SERVICE,".").concat(B.CMD.KICK_OTHER)}),body:{}}}(e)),this._configMap.set(Zo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_COS_SIGN,".").concat(B.CMD.COS_SIGN)}),body:{cmd:"open_im_cos_svc",subCmd:"get_cos_token",duration:300,version:2},keyMap:{request:{userSig:"usersig",subCmd:"sub_cmd",cmd:"cmd",duration:"duration",version:"version"},response:{expired_time:"expiredTime",bucket_name:"bucketName",session_token:"sessionToken",tmp_secret_id:"secretId",tmp_secret_key:"secretKey"}}}}(t)),this._configMap.set(Qo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.CUSTOM_UPLOAD,".").concat(B.CMD.COS_PRE_SIG)}),body:{fileType:void 0,fileName:void 0,uploadMethod:0,duration:900},keyMap:{request:{userSig:"usersig",fileType:"file_type",fileName:"file_name",uploadMethod:"upload_method"},response:{expired_time:"expiredTime",request_id:"requestId",head_url:"headUrl",upload_url:"uploadUrl",download_url:"downloadUrl",ci_url:"ciUrl",snapshot_url:"requestSnapshotUrl"}}}}(t)),this._configMap.set(er,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.CUSTOM_UPLOAD,".").concat(B.CMD.VIDEO_COVER)}),body:{version:1,platform:void 0,coverName:void 0,requestSnapshotUrl:void 0},keyMap:{request:{version:"version",platform:"platform",coverName:"cover_name",requestSnapshotUrl:"snapshot_url"},response:{error_code:"errorCode",error_msg:"errorInfo",download_url:"snapshotUrl"}}}}(t)),this._configMap.set(lr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_CONFIG_MANAGER,".").concat(B.CMD.FETCH_COMMERCIAL_CONFIG)}),body:{SDKAppID:0},keyMap:{request:{SDKAppID:"uint32_sdkappid"},response:{int32_error_code:"errorCode",str_error_message:"errorMessage",str_purchase_bits:"purchaseBits",uint32_expired_time:"expiredTime"}}}}(e)),this._configMap.set(_r,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_CONFIG_MANAGER,".").concat(B.CMD.PUSHED_COMMERCIAL_CONFIG)}),body:{},keyMap:{response:{int32_error_code:"errorCode",str_error_message:"errorMessage",str_purchase_bits:"purchaseBits",uint32_expired_time:"expiredTime"}}}}(e)),this._configMap.set(cr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_CONFIG_MANAGER,".").concat(B.CMD.FETCH_CLOUD_CONTROL_CONFIG)}),body:{SDKAppID:0,version:0},keyMap:{request:{SDKAppID:"uint32_sdkappid",version:"uint64_version"},response:{int32_error_code:"errorCode",str_error_message:"errorMessage",str_json_config:"cloudControlConfig",uint32_expired_time:"expiredTime",uint32_sdkappid:"SDKAppID",uint64_version:"version"}}}}(e)),this._configMap.set(dr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_CONFIG_MANAGER,".").concat(B.CMD.PUSHED_CLOUD_CONTROL_CONFIG)}),body:{},keyMap:{response:{int32_error_code:"errorCode",str_error_message:"errorMessage",str_json_config:"cloudControlConfig",uint32_expired_time:"expiredTime",uint32_sdkappid:"SDKAppID",uint64_version:"version"}}}}(e)),this._configMap.set(pr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OVERLOAD_PUSH,".").concat(B.CMD.OVERLOAD_NOTIFY)}),body:{},keyMap:{response:{OverLoadServCmd:"overloadCommand",DelaySecs:"waitingTime"}}}}(e)),this._configMap.set(Yn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.GET_MESSAGES)}),body:{cookie:"",syncFlag:0,needAbstract:1,isOnlineSync:0},keyMap:{request:{fromAccount:"From_Account",toAccount:"To_Account",from:"From_Account",to:"To_Account",time:"MsgTimeStamp",sequence:"MsgSeq",random:"MsgRandom",elements:"MsgBody"},response:{MsgList:"messageList",SyncFlag:"syncFlag",To_Account:"to",From_Account:"from",ClientSeq:"clientSequence",MsgSeq:"sequence",NoticeSeq:"noticeSequence",NotifySeq:"notifySequence",MsgRandom:"random",MsgTimeStamp:"time",MsgContent:"content",ToGroupId:"groupID",MsgKey:"messageKey",GroupTips:"groupTips",MsgBody:"elements",MsgType:"type",C2CRemainingUnreadCount:"C2CRemainingUnreadList",C2CPairUnreadCount:"C2CPairUnreadList"}}}}(e)),this._configMap.set(Gn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.BIG_DATA_HALLWAY_AUTH_KEY)}),body:{}}}(e)),this._configMap.set(Un,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.SEND_MESSAGE)}),body:{fromAccount:"",toAccount:"",msgSeq:0,msgRandom:0,msgBody:[],cloudCustomData:void 0,nick:"",avatar:"",msgLifeTime:void 0,offlinePushInfo:{pushFlag:0,title:"",desc:"",ext:"",apnsInfo:{badgeMode:0},androidInfo:{OPPOChannelID:""}},messageControlInfo:void 0,clientTime:void 0,needReadReceipt:0},keyMap:{request:{fromAccount:"From_Account",toAccount:"To_Account",msgTimeStamp:"MsgTimeStamp",msgSeq:"MsgSeq",msgRandom:"MsgRandom",msgBody:"MsgBody",count:"MaxCnt",lastMessageTime:"LastMsgTime",messageKey:"MsgKey",peerAccount:"Peer_Account",data:"Data",description:"Desc",extension:"Ext",type:"MsgType",content:"MsgContent",sizeType:"Type",uuid:"UUID",url:"",imageUrl:"URL",fileUrl:"Url",remoteAudioUrl:"Url",remoteVideoUrl:"VideoUrl",thumbUUID:"ThumbUUID",videoUUID:"VideoUUID",videoUrl:"",downloadFlag:"Download_Flag",nick:"From_AccountNick",avatar:"From_AccountHeadurl",from:"From_Account",time:"MsgTimeStamp",messageRandom:"MsgRandom",messageSequence:"MsgSeq",elements:"MsgBody",clientSequence:"ClientSeq",payload:"MsgContent",messageList:"MsgList",messageNumber:"MsgNum",abstractList:"AbstractList",messageBody:"MsgBody",needReadReceipt:"IsNeedReadReceipt"}}}}(e)),this._configMap.set(Fn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.SEND_GROUP_MESSAGE)}),body:{fromAccount:"",groupID:"",random:0,clientSequence:0,priority:"",msgBody:[],cloudCustomData:void 0,onlineOnlyFlag:0,offlinePushInfo:{pushFlag:0,title:"",desc:"",ext:"",apnsInfo:{badgeMode:0},androidInfo:{OPPOChannelID:""}},groupAtInfo:[],messageControlInfo:void 0,clientTime:void 0,needReadReceipt:0,topicID:void 0},keyMap:{request:{to:"GroupId",extension:"Ext",data:"Data",description:"Desc",random:"Random",sequence:"ReqMsgSeq",count:"ReqMsgNumber",type:"MsgType",priority:"MsgPriority",content:"MsgContent",elements:"MsgBody",sizeType:"Type",uuid:"UUID",url:"",imageUrl:"URL",fileUrl:"Url",remoteAudioUrl:"Url",remoteVideoUrl:"VideoUrl",thumbUUID:"ThumbUUID",videoUUID:"VideoUUID",videoUrl:"",downloadFlag:"Download_Flag",clientSequence:"ClientSeq",from:"From_Account",time:"MsgTimeStamp",messageRandom:"MsgRandom",messageSequence:"MsgSeq",payload:"MsgContent",messageList:"MsgList",messageNumber:"MsgNum",abstractList:"AbstractList",messageBody:"MsgBody",needReadReceipt:"NeedReadReceipt"},response:{MsgTime:"time",MsgSeq:"sequence"}}}}(e)),this._configMap.set(Vn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.REVOKE_C2C_MESSAGE)}),body:{msgInfo:{fromAccount:"",toAccount:"",msgTimeStamp:0,msgSeq:0,msgRandom:0}},keyMap:{request:{msgInfo:"MsgInfo",msgTimeStamp:"MsgTimeStamp",msgSeq:"MsgSeq",msgRandom:"MsgRandom"}}}}(e)),this._configMap.set(Io,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.REVOKE_GROUP_MESSAGE)}),body:{groupID:"",msgSeqList:void 0,topicID:""},keyMap:{request:{msgSeqList:"MsgSeqList",msgSeq:"MsgSeq"}}}}(e)),this._configMap.set(zn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.GET_C2C_ROAM_MESSAGES)}),body:{peerAccount:"",count:15,lastMessageTime:0,messageKey:"",withRecalledMessage:1,direction:0},keyMap:{request:{messageKey:"MsgKey",peerAccount:"Peer_Account",count:"MaxCnt",lastMessageTime:"LastMsgTime",withRecalledMessage:"WithRecalledMsg",direction:"GetDirection"},response:{LastMsgTime:"lastMessageTime",IsNeedReadReceipt:"needReadReceipt"}}}}(e)),this._configMap.set(Zn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.MODIFY_C2C_MESSAGE)}),body:{from:"",to:"",sequence:0,random:0,time:0,version:0,elements:void 0,cloudCustomData:void 0},keyMap:{request:{sequence:"MsgSeq",random:"MsgRandom",time:"MsgTime",version:"MsgVersion",type:"MsgType",content:"MsgContent"}}}}(e)),this._configMap.set(Co,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_GROUP_ROAM_MESSAGES)}),body:{withRecalledMsg:1,groupID:"",count:15,sequence:"",topicID:void 0},keyMap:{request:{sequence:"ReqMsgSeq",count:"ReqMsgNumber",withRecalledMessage:"WithRecalledMsg"},response:{Random:"random",MsgTime:"time",MsgSeq:"sequence",ReqMsgSeq:"sequence",RspMsgList:"messageList",IsPlaceMsg:"isPlaceMessage",IsSystemMsg:"isSystemMessage",ToGroupId:"to",EnumFrom_AccountType:"fromAccountType",EnumTo_AccountType:"toAccountType",GroupCode:"groupCode",MsgPriority:"priority",MsgBody:"elements",MsgType:"type",MsgContent:"content",IsFinished:"complete",Download_Flag:"downloadFlag",ClientSeq:"clientSequence",ThumbUUID:"thumbUUID",VideoUUID:"videoUUID",ToTopicId:"topicID"}}}}(e)),this._configMap.set(Wn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.SET_C2C_MESSAGE_READ)}),body:{C2CMsgReaded:void 0},keyMap:{request:{lastMessageTime:"LastedMsgTime"}}}}(e)),this._configMap.set(Kn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.SET_C2C_PEER_MUTE_NOTIFICATIONS)}),body:{userIDList:void 0,muteFlag:0},keyMap:{request:{userIDList:"Peer_Account",muteFlag:"Mute_Notifications"}}}}(e)),this._configMap.set($n,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.GET_C2C_PEER_MUTE_NOTIFICATIONS)}),body:{updateSequence:0},keyMap:{response:{MuteNotificationsList:"muteFlagList"}}}}(e)),this._configMap.set(So,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.SET_GROUP_MESSAGE_READ)}),body:{groupID:void 0,messageReadSeq:void 0,topicID:void 0},keyMap:{request:{messageReadSeq:"MsgReadedSeq"}}}}(e)),this._configMap.set(Eo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.SET_ALL_MESSAGE_READ)}),body:{readAllC2CMessage:0,groupMessageReadInfoList:[]},keyMap:{request:{readAllC2CMessage:"C2CReadAllMsg",groupMessageReadInfoList:"GroupReadInfo",messageSequence:"MsgSeq"},response:{C2CReadAllMsg:"readAllC2CMessage",GroupReadInfoArray:"groupMessageReadInfoList"}}}}(e)),this._configMap.set(Xn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.DELETE_C2C_MESSAGE)}),body:{fromAccount:"",to:"",keyList:void 0},keyMap:{request:{keyList:"MsgKeyList"}}}}(e)),this._configMap.set(Uo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.DELETE_GROUP_MESSAGE)}),body:{groupID:"",deleter:"",keyList:void 0,topicID:void 0},keyMap:{request:{deleter:"Deleter_Account",keyList:"Seqs"}}}}(e)),this._configMap.set(Fo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.MODIFY_GROUP_MESSAGE)}),body:{groupID:"",topicID:void 0,sequence:0,version:0,elements:void 0,cloudCustomData:void 0},keyMap:{request:{sequence:"MsgSeq",version:"MsgVersion",type:"MsgType",content:"MsgContent"}}}}(e)),this._configMap.set(Ao,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_READ_RECEIPT)}),body:{groupID:"",sequenceList:void 0},keyMap:{request:{sequence:"MsgSeq"}}}}(e)),this._configMap.set(bo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.SEND_C2C_READ_RECEIPT)}),body:{peerAccount:"",messageInfoList:void 0},keyMap:{request:{peerAccount:"Peer_Account",messageInfoList:"C2CMsgInfo",fromAccount:"From_Account",toAccount:"To_Account",sequence:"MsgSeq",random:"MsgRandom",time:"MsgTime",clientTime:"MsgClientTime"}}}}(e)),this._configMap.set(Oo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.SEND_READ_RECEIPT)}),body:{groupID:"",sequenceList:void 0},keyMap:{request:{sequenceList:"MsgSeqList",sequence:"MsgSeq"}}}}(e)),this._configMap.set(wo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_READ_RECEIPT_DETAIL)}),body:{groupID:"",sequence:void 0,flag:0,cursor:0,count:0},keyMap:{request:{sequence:"MsgSeq",count:"Num"},response:{ReadList:"readUserIDList",Read_Account:"userID",UnreadList:"unreadUserIDList",Unread_Account:"userID",IsFinish:"isCompleted"}}}}(e)),this._configMap.set(Jn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.GET_PEER_READ_TIME)}),body:{userIDList:void 0},keyMap:{request:{userIDList:"To_Account"},response:{ReadTime:"peerReadTimeList"}}}}(e)),this._configMap.set(eo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.GET_CONVERSATION_LIST)}),body:{fromAccount:void 0,count:0},keyMap:{request:{},response:{SessionItem:"conversations",ToAccount:"groupID",To_Account:"userID",UnreadMsgCount:"unreadCount",MsgGroupReadedSeq:"messageReadSeq",C2cPeerReadTime:"c2cPeerReadTime"}}}}(e)),this._configMap.set(Qn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.PAGING_GET_CONVERSATION_LIST)}),body:{fromAccount:void 0,timeStamp:void 0,startIndex:void 0,pinnedTimeStamp:void 0,pinnedStartIndex:void 0,orderType:void 0,messageAssistFlag:4,assistFlag:15},keyMap:{request:{messageAssistFlag:"MsgAssistFlags",assistFlag:"AssistFlags",pinnedTimeStamp:"TopTimeStamp",pinnedStartIndex:"TopStartIndex"},response:{SessionItem:"conversations",ToAccount:"groupID",To_Account:"userID",UnreadMsgCount:"unreadCount",MsgGroupReadedSeq:"messageReadSeq",C2cPeerReadTime:"c2cPeerReadTime",LastMsgFlags:"lastMessageFlag",TopFlags:"isPinned",TopTimeStamp:"pinnedTimeStamp",TopStartIndex:"pinnedStartIndex",GroupId:"convGroupID"}}}}(e)),this._configMap.set(to,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.DELETE_CONVERSATION)}),body:{fromAccount:"",toAccount:void 0,type:1,toGroupID:void 0,clearHistoryMessage:1},keyMap:{request:{toGroupID:"ToGroupid",clearHistoryMessage:"ClearRamble"}}}}(e)),this._configMap.set(no,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.PIN_CONVERSATION)}),body:{fromAccount:"",operationType:1,itemList:void 0},keyMap:{request:{itemList:"RecentContactItem"}}}}(e)),this._configMap.set(oo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.DELETE_GROUP_AT_TIPS)}),body:{messageListToDelete:void 0},keyMap:{request:{messageListToDelete:"DelMsgList",messageSeq:"MsgSeq",messageRandom:"MsgRandom"}}}}(e)),this._configMap.set(ro,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.MARK_CONVERSATION)}),body:{fromAccount:"",itemList:void 0},keyMap:{request:{itemList:"MarkItem",operationType:"OptType",groupID:"ToGroupId"},response:{ToGroupId:"groupID",OptType:"operationType"}}}}(e)),this._configMap.set(ao,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.MARK_CONVERSATION)}),body:{fromAccount:"",itemList:void 0},keyMap:{request:{itemList:"MarkItem",operationType:"OptType",groupID:"ToGroupId"},response:{ToGroupId:"groupID",OptType:"operationType"}}}}(e)),this._configMap.set(so,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.CREATE_CONVERSATION_GROUP)}),body:{fromAccount:"",itemList:void 0},keyMap:{request:{itemList:"GroupContactItem",groupID:"ToGroupId"},response:{GroupId:"convGroupID",ToGroupId:"groupID",OptType:"operationType"}}}}(e)),this._configMap.set(io,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.DELETE_CONVERSATION_GROUP)}),body:{fromAccount:"",groupName:void 0},keyMap:{request:{},response:{GroupId:"convGroupID"}}}}(e)),this._configMap.set(uo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.UPDATE_CONVERSATION_GROUP)}),body:{fromAccount:"",updateType:void 0,updateGroup:void 0},keyMap:{request:{oldName:"OldGroupName",newName:"NewGroupName",groupID:"ToGroupId",operationType:"ContactOptType",groupName:"OldGroupName",updateItem:"ContactUpdateItem"},response:{ContactOptType:"operationType",ToGroupId:"groupID",GroupId:"convGroupID"}}}}(e)),this._configMap.set(co,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.UPDATE_CONVERSATION_GROUP)}),body:{fromAccount:"",updateType:void 0,updateGroup:{groupName:void 0,updateGroupType:void 0,updateItem:void 0}},keyMap:{request:{},response:{}}}}(e)),this._configMap.set(lo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.UPDATE_CONVERSATION_GROUP)}),body:{fromAccount:"",updateType:void 0,updateGroup:void 0},keyMap:{request:{},response:{}}}}(e)),this._configMap.set(_o,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.RECENT_CONTACT,".").concat(B.CMD.GET_CONVERSATION_GROUP_LIST)}),body:{fromAccount:"",startTime:void 0,startIndex:void 0},keyMap:{request:{},response:{GroupId:"convGroupID",ToGroupId:"groupID",OptType:"operationType",CustomMark:"customData",ContactGroupId:"convGroupIDList"}}}}(e)),this._configMap.set(xn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.PROFILE,".").concat(B.CMD.PORTRAIT_GET)}),body:{fromAccount:"",userItem:[]},keyMap:{request:{toAccount:"To_Account",standardSequence:"StandardSequence",customSequence:"CustomSequence"}}}}(e)),this._configMap.set(Hn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.PROFILE,".").concat(B.CMD.PORTRAIT_SET)}),body:{fromAccount:"",profileItem:[{tag:Fe.NICK,value:""},{tag:Fe.GENDER,value:""},{tag:Fe.ALLOWTYPE,value:""},{tag:Fe.AVATAR,value:""}]},keyMap:{request:{toAccount:"To_Account",standardSequence:"StandardSequence",customSequence:"CustomSequence"}}}}(e)),this._configMap.set(jn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.FRIEND,".").concat(B.CMD.GET_BLACKLIST)}),body:{fromAccount:"",startIndex:0,maxLimited:30,lastSequence:0},keyMap:{response:{CurruentSequence:"currentSequence"}}}}(e)),this._configMap.set(qn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.FRIEND,".").concat(B.CMD.ADD_BLACKLIST)}),body:{fromAccount:"",toAccount:[]}}}(e)),this._configMap.set(Bn,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.FRIEND,".").concat(B.CMD.DELETE_BLACKLIST)}),body:{fromAccount:"",toAccount:[]}}}(e)),this._configMap.set(Mr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.SET_SELF_STATUS)}),body:{customStatus:""},keyMap:{}}}(e)),this._configMap.set(yr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.GET_USER_STATUS)}),body:{userIDList:void 0},keyMap:{response:{UserStatusList:"successUserList",ErrorList:"failureUserList",To_Account:"userID",Invalid_Account:"invalidUserID",Status:"statusType"}}}}(e)),this._configMap.set(vr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.SUBSCRIBE_USER_STATUS)}),body:{userIDList:void 0},keyMap:{response:{ErrorList:"failureUserList",To_Account:"userID",Invalid_Account:"invalidUserID"}}}}(e)),this._configMap.set(Lr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.UNSUBSCRIBE_USER_STATUS)}),body:{userIDList:void 0,unsubscribeAll:void 0},keyMap:{response:{ErrorList:"failureUserList",To_Account:"userID",Invalid_Account:"invalidUserID"}}}}(e)),this._configMap.set(po,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_JOINED_GROUPS)}),body:{memberAccount:"",limit:void 0,offset:void 0,groupType:void 0,responseFilter:{groupBaseInfoFilter:void 0,selfInfoFilter:void 0},isSupportTopic:0},keyMap:{request:{memberAccount:"Member_Account"},response:{GroupIdList:"groups",NoUnreadSeqList:"excludedUnreadSequenceList",MsgSeq:"readedSequence"}}}}(e)),this._configMap.set(ho,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_GROUP_INFO)}),body:{groupIDList:void 0,responseFilter:{groupBaseInfoFilter:["Type","Name","Introduction","Notification","FaceUrl","Owner_Account","CreateTime","InfoSeq","LastInfoTime","LastMsgTime","MemberNum","MaxMemberNum","ApplyJoinOption","NextMsgSeq","ShutUpAllMember"],groupCustomFieldFilter:void 0,memberInfoFilter:void 0,memberCustomFieldFilter:void 0}},keyMap:{request:{groupIDList:"GroupIdList",groupCustomField:"AppDefinedData",memberCustomField:"AppMemberDefinedData",groupCustomFieldFilter:"AppDefinedDataFilter_Group",memberCustomFieldFilter:"AppDefinedDataFilter_GroupMember"},response:{GroupIdList:"groups",AppDefinedData:"groupCustomField",AppMemberDefinedData:"memberCustomField",AppDefinedDataFilter_Group:"groupCustomFieldFilter",AppDefinedDataFilter_GroupMember:"memberCustomFieldFilter",InfoSeq:"infoSequence",MemberList:"members",GroupInfo:"groups",ShutUpUntil:"muteUntil",ShutUpAllMember:"muteAllMembers"}}}}(e)),this._configMap.set(mo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.CREATE_GROUP)}),body:{type:void 0,name:void 0,groupID:void 0,ownerID:void 0,introduction:void 0,notification:void 0,maxMemberNum:void 0,joinOption:void 0,memberList:void 0,groupCustomField:void 0,memberCustomField:void 0,webPushFlag:1,avatar:"",isSupportTopic:void 0},keyMap:{request:{ownerID:"Owner_Account",userID:"Member_Account",avatar:"FaceUrl",maxMemberNum:"MaxMemberCount",joinOption:"ApplyJoinOption",groupCustomField:"AppDefinedData",memberCustomField:"AppMemberDefinedData"},response:{HugeGroupFlag:"avChatRoomFlag",OverJoinedGroupLimit_Account:"overLimitUserIDList"}}}}(e)),this._configMap.set(fo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.DESTROY_GROUP)}),body:{groupID:void 0}}}(e)),this._configMap.set(go,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.MODIFY_GROUP_INFO)}),body:{groupID:void 0,name:void 0,introduction:void 0,notification:void 0,avatar:void 0,maxMemberNum:void 0,joinOption:void 0,groupCustomField:void 0,muteAllMembers:void 0},keyMap:{request:{maxMemberNum:"MaxMemberCount",groupCustomField:"AppDefinedData",muteAllMembers:"ShutUpAllMember",joinOption:"ApplyJoinOption",avatar:"FaceUrl"},response:{AppDefinedData:"groupCustomField",ShutUpAllMember:"muteAllMembers"}}}}(e)),this._configMap.set(Mo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.APPLY_JOIN_GROUP)}),body:{groupID:void 0,applyMessage:void 0,userDefinedField:void 0,webPushFlag:1,historyMessageFlag:void 0},keyMap:{request:{applyMessage:"ApplyMsg",historyMessageFlag:"HugeGroupHistoryMsgFlag"},response:{HugeGroupFlag:"avChatRoomFlag",AVChatRoomKey:"avChatRoomKey",RspMsgList:"messageList",ToGroupId:"to"}}}}(e)),this._configMap.set(yo,function(e){return e.a2,e.tinyid,{head:o(o({},m(e,zs)),{},{servcmd:"".concat(B.NAME.BIG_GROUP_NO_AUTH,".").concat(B.CMD.APPLY_JOIN_GROUP)}),body:{groupID:void 0,applyMessage:void 0,userDefinedField:void 0,webPushFlag:1},keyMap:{request:{applyMessage:"ApplyMsg"},response:{HugeGroupFlag:"avChatRoomFlag"}}}}(e)),this._configMap.set(vo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.QUIT_GROUP)}),body:{groupID:void 0}}}(e)),this._configMap.set(Lo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.SEARCH_GROUP_BY_ID)}),body:{groupIDList:void 0,responseFilter:{groupBasePublicInfoFilter:["Type","Name","Introduction","Notification","FaceUrl","CreateTime","Owner_Account","LastInfoTime","LastMsgTime","NextMsgSeq","MemberNum","MaxMemberNum","ApplyJoinOption"]}},keyMap:{response:{}}}}(e)),this._configMap.set(To,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.CHANGE_GROUP_OWNER)}),body:{groupID:void 0,newOwnerID:void 0},keyMap:{request:{newOwnerID:"NewOwner_Account"}}}}(e)),this._configMap.set(Do,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.HANDLE_APPLY_JOIN_GROUP)}),body:{groupID:void 0,applicant:void 0,handleAction:void 0,handleMessage:void 0,authentication:void 0,messageKey:void 0,userDefinedField:void 0},keyMap:{request:{applicant:"Applicant_Account",handleAction:"HandleMsg",handleMessage:"ApprovalMsg",messageKey:"MsgKey"}}}}(e)),this._configMap.set(ko,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.HANDLE_GROUP_INVITATION)}),body:{groupID:void 0,inviter:void 0,handleAction:void 0,handleMessage:void 0,authentication:void 0,messageKey:void 0,userDefinedField:void 0},keyMap:{request:{inviter:"Inviter_Account",handleAction:"HandleMsg",handleMessage:"ApprovalMsg",messageKey:"MsgKey"}}}}(e)),this._configMap.set(No,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_GROUP_APPLICATION)}),body:{startTime:void 0,limit:void 0,handleAccount:void 0},keyMap:{request:{handleAccount:"Handle_Account"}}}}(e)),this._configMap.set(Ro,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.DELETE_GROUP_SYSTEM_MESSAGE)}),body:{messageListToDelete:void 0},keyMap:{request:{messageListToDelete:"DelMsgList",messageSeq:"MsgSeq",messageRandom:"MsgRandom"}}}}(e)),this._configMap.set(Po,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.BIG_GROUP_LONG_POLLING,".").concat(B.CMD.AVCHATROOM_LONG_POLL)}),body:{USP:1,startSeq:1,startBroadcastSeq:void 0,holdTime:90,key:void 0},keyMap:{request:{USP:"USP"},response:{ToGroupId:"groupID",RspBroadcastMsgList:"broadcastMessageList",IsSystemMsg:"isSystemMessage"}}}}(e)),this._configMap.set(Yo,function(e){return e.a2,e.tinyid,{head:o(o({},m(e,Js)),{},{servcmd:"".concat(B.NAME.BIG_GROUP_LONG_POLLING_NO_AUTH,".").concat(B.CMD.AVCHATROOM_LONG_POLL)}),body:{USP:1,startSeq:1,holdTime:90,key:void 0},keyMap:{request:{USP:"USP"},response:{ToGroupId:"groupID"}}}}(e)),this._configMap.set(Go,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_ONLINE_MEMBER_NUM)}),body:{groupID:void 0}}}(e)),this._configMap.set(xo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.SET_GROUP_ATTRIBUTES)}),body:{groupID:void 0,groupAttributeList:void 0,mainSequence:void 0,avChatRoomKey:void 0,attributeControl:["RaceConflict"]},keyMap:{request:{key:"key",value:"value"}}}}(e)),this._configMap.set(Ho,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.MODIFY_GROUP_ATTRIBUTES)}),body:{groupID:void 0,groupAttributeList:void 0,mainSequence:void 0,avChatRoomKey:void 0,attributeControl:["RaceConflict"]},keyMap:{request:{key:"key",value:"value"}}}}(e)),this._configMap.set(jo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.DELETE_GROUP_ATTRIBUTES)}),body:{groupID:void 0,groupAttributeList:void 0,mainSequence:void 0,avChatRoomKey:void 0,attributeControl:["RaceConflict"]},keyMap:{request:{key:"key"}}}}(e)),this._configMap.set(qo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.CLEAR_GROUP_ATTRIBUTES)}),body:{groupID:void 0,mainSequence:void 0,avChatRoomKey:void 0,attributeControl:["RaceConflict"]}}}(e)),this._configMap.set(Bo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP_ATTR,".").concat(B.CMD.GET_GROUP_ATTRIBUTES)}),body:{groupID:void 0,avChatRoomKey:void 0,groupType:1},keyMap:{request:{avChatRoomKey:"Key",groupType:"GroupType"}}}}(e)),this._configMap.set(hr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP_COMMUNITY,".").concat(B.CMD.CREATE_TOPIC)}),body:{groupID:void 0,topicName:void 0,avatar:void 0,customData:void 0,topicID:void 0,notification:void 0,introduction:void 0},keyMap:{request:{avatar:"FaceUrl"}}}}(e)),this._configMap.set(mr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP_COMMUNITY,".").concat(B.CMD.DELETE_TOPIC)}),body:{groupID:void 0,topicIDList:void 0},keyMap:{request:{topicIDList:"TopicIdList"},response:{DestroyResultItem:"resultList"}}}}(e)),this._configMap.set(fr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP_COMMUNITY,".").concat(B.CMD.UPDATE_TOPIC_PROFILE)}),body:{groupID:void 0,topicID:void 0,avatar:void 0,customData:void 0,notification:void 0,introduction:void 0,muteAllMembers:void 0,topicName:void 0},keyMap:{request:{avatar:"FaceUrl",muteAllMembers:"ShutUpAllMember"}}}}(e)),this._configMap.set(gr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP_COMMUNITY,".").concat(B.CMD.GET_TOPIC_LIST)}),body:{groupID:void 0,topicIDList:void 0},keyMap:{request:{topicIDList:"TopicIdList"},response:{TopicAndSelfInfo:"topicInfoList",TopicInfo:"topic",GroupID:"groupID",ShutUpTime:"muteTime",ShutUpAllFlag:"muteAllMembers",LastMsgTime:"lastMessageTime",MsgSeq:"readedSequence",LastMsgSeq:"sequence"}}}}(e)),this._configMap.set(Vo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_GROUP_MEMBER_LIST)}),body:{groupID:void 0,limit:0,offset:void 0,next:void 0,memberRoleFilter:void 0,memberInfoFilter:["Role","NameCard","ShutUpUntil","JoinTime"],memberCustomFieldFilter:void 0},keyMap:{request:{memberCustomFieldFilter:"AppDefinedDataFilter_GroupMember"},response:{AppMemberDefinedData:"memberCustomField",AppDefinedDataFilter_GroupMember:"memberCustomFieldFilter",MemberList:"members",ShutUpUntil:"muteUntil"}}}}(e)),this._configMap.set(Wo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP_AVCHATROOM,".").concat(B.CMD.GET_AVCHATROOM_MEMBER_LIST)}),body:{groupID:void 0,offset:void 0},keyMap:{request:{offset:"Timestamp"},response:{NextTimestamp:"offset"}}}}(e)),this._configMap.set(Ko,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.GET_GROUP_MEMBER_INFO)}),body:{groupID:void 0,userIDList:void 0,memberInfoFilter:void 0,memberCustomFieldFilter:void 0},keyMap:{request:{userIDList:"Member_List_Account",memberCustomFieldFilter:"AppDefinedDataFilter_GroupMember"},response:{MemberList:"members",ShutUpUntil:"muteUntil",AppDefinedDataFilter_GroupMember:"memberCustomFieldFilter",AppMemberDefinedData:"memberCustomField"}}}}(e)),this._configMap.set($o,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.ADD_GROUP_MEMBER)}),body:{groupID:void 0,silence:void 0,userIDList:void 0},keyMap:{request:{userID:"Member_Account",userIDList:"MemberList"},response:{MemberList:"members"}}}}(e)),this._configMap.set(zo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.DELETE_GROUP_MEMBER)}),body:{groupID:void 0,userIDList:void 0,reason:void 0},keyMap:{request:{userIDList:"MemberToDel_Account"}}}}(e)),this._configMap.set(Jo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.BAN_AVCHATROOM_MEMBER)}),body:{groupID:void 0,userIDList:void 0,duration:void 0,reason:""},keyMap:{request:{userIDList:"Members_Account",duration:"Duration",reason:"Description"}}}}(e)),this._configMap.set(Xo,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.GROUP,".").concat(B.CMD.MODIFY_GROUP_MEMBER_INFO)}),body:{groupID:void 0,topicID:void 0,userID:void 0,messageRemindType:void 0,nameCard:void 0,role:void 0,memberCustomField:void 0,muteTime:void 0},keyMap:{request:{userID:"Member_Account",memberCustomField:"AppMemberDefinedData",muteTime:"ShutUpTime",messageRemindType:"MsgFlag"}}}}(e)),this._configMap.set(tr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STAT,".").concat(B.CMD.TIM_WEB_REPORT_V2)}),body:{header:{},event:[],quality:[]},keyMap:{request:{SDKType:"sdk_type",SDKVersion:"sdk_version",deviceType:"device_type",platform:"platform",instanceID:"instance_id",traceID:"trace_id",SDKAppID:"sdk_app_id",userID:"user_id",tinyID:"tiny_id",extension:"extension",timestamp:"timestamp",networkType:"network_type",eventType:"event_type",code:"error_code",message:"error_message",moreMessage:"more_message",duplicate:"duplicate",costTime:"cost_time",level:"level",qualityType:"quality_type",reportIndex:"report_index",wholePeriod:"whole_period",totalCount:"total_count",rttCount:"success_count_business",successRateOfRequest:"percent_business",countLessThan1Second:"success_count_business",percentOfCountLessThan1Second:"percent_business",countLessThan3Second:"success_count_platform",percentOfCountLessThan3Second:"percent_platform",successCountOfBusiness:"success_count_business",successRateOfBusiness:"percent_business",successCountOfPlatform:"success_count_platform",successRateOfPlatform:"percent_platform",successCountOfMessageReceived:"success_count_business",successRateOfMessageReceived:"percent_business",avgRTT:"average_value",avgDelay:"average_value",avgValue:"average_value",uiPlatform:"ui_platform"}}}}(n)),this._configMap.set(nr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.HEARTBEAT,".").concat(B.CMD.ALIVE)}),body:{}}}(e)),this._configMap.set(or,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_PUSH,".").concat(B.CMD.MESSAGE_PUSH)}),body:{},keyMap:{response:{C2cMsgArray:"C2CMessageArray",GroupMsgArray:"groupMessageArray",GroupTips:"groupTips",C2cNotifyMsgArray:"C2CNotifyMessageArray",C2cMsgInfo:"C2CReadReceiptArray",ClientSeq:"clientSequence",MsgPriority:"priority",NoticeSeq:"noticeSequence",MsgContent:"content",MsgType:"type",MsgBody:"elements",ToGroupId:"to",Desc:"description",Ext:"extension",IsSyncMsg:"isSyncMessage",Flag:"needSync",NeedAck:"needAck",PendencyAdd_Account:"userID",ProfileImNick:"nick",PendencyType:"applicationType",C2CReadAllMsg:"readAllC2CMessage",IsNeedReadReceipt:"needReadReceipt",Status:"statusType"}}}}(e)),this._configMap.set(rr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_PUSH,".").concat(B.CMD.MULTI_MESSAGE_PUSH)}),body:{},keyMap:{response:{GroupMsgArray:"groupMessageArray",GroupTips:"groupTips",ClientSeq:"clientSequence",MsgPriority:"priority",NoticeSeq:"noticeSequence",MsgContent:"content",MsgType:"type",MsgBody:"elements",ToGroupId:"to",Desc:"description",Ext:"extension",IsSyncMsg:"isSyncMessage",Flag:"needSync",NeedAck:"needAck",PendencyType:"applicationType"}}}}(e)),this._configMap.set(ar,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.OPEN_IM,".").concat(B.CMD.MESSAGE_PUSH_ACK)}),body:{sessionData:void 0},keyMap:{request:{sessionData:"SessionData"}}}}(e)),this._configMap.set(sr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.STATUS_FORCE_OFFLINE)}),body:{},keyMap:{response:{C2cNotifyMsgArray:"C2CNotifyMessageArray",NoticeSeq:"noticeSequence",KickoutMsgNotify:"kickoutMsgNotify",NewInstInfo:"newInstanceInfo"}}}}(e)),this._configMap.set(ur,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_LONG_MESSAGE,".").concat(B.CMD.DOWNLOAD_MERGER_MESSAGE)}),body:{downloadKey:""},keyMap:{response:{Data:"data",Desc:"description",Ext:"extension",Download_Flag:"downloadFlag",ThumbUUID:"thumbUUID",VideoUUID:"videoUUID"}}}}(e)),this._configMap.set(ir,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_LONG_MESSAGE,".").concat(B.CMD.UPLOAD_MERGER_MESSAGE)}),body:{messageList:[]},keyMap:{request:{fromAccount:"From_Account",toAccount:"To_Account",msgTimeStamp:"MsgTimeStamp",msgSeq:"MsgSeq",msgRandom:"MsgRandom",msgBody:"MsgBody",type:"MsgType",content:"MsgContent",data:"Data",description:"Desc",extension:"Ext",sizeType:"Type",uuid:"UUID",url:"",imageUrl:"URL",fileUrl:"Url",remoteAudioUrl:"Url",remoteVideoUrl:"VideoUrl",thumbUUID:"ThumbUUID",videoUUID:"VideoUUID",videoUrl:"",downloadFlag:"Download_Flag",from:"From_Account",time:"MsgTimeStamp",messageRandom:"MsgRandom",messageSequence:"MsgSeq",elements:"MsgBody",clientSequence:"ClientSeq",payload:"MsgContent",messageList:"MsgList",messageNumber:"MsgNum",abstractList:"AbstractList",messageBody:"MsgBody"}}}}(e)),this._configMap.set(kr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.SET_TOKEN)}),body:{tokenID:"",pushMsg:0,sdkAppID:0,businessID:"",deviceBrand:"",deviceToken:"",isTpns:0,isWebUniapp:0},keyMap:{request:{tokenID:"TokenID",pushMsg:"PushMsg",sdkAppID:"EnterVersion",businessID:"BusiID",deviceBrand:"InstType",deviceToken:"VarToken",isTpns:"IsTpns"}}}}(e)),this._configMap.set(Dr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.STAT_FOREGROUND)}),body:{isWebUniapp:0}}}(e)),this._configMap.set(Tr,function(e){return{head:o(o({},e),{},{servcmd:"".concat(B.NAME.IM_OPEN_STATUS,".").concat(B.CMD.STAT_BACKGROUND)}),body:{C2CUnread:0,GroupUnread:0,isWebUniapp:0},keyMap:{request:{c2cUnreadCount:"C2cUnread",groupUnreadCount:"GrpUnread"}}}}(e))}},{key:"has",value:function(e){return this._configMap.has(e)}},{key:"get",value:function(e){return this._configMap.get(e)}},{key:"update",value:function(){this._fillConfigMap()}},{key:"getKeyMap",value:function(e){return this.has(e)?this.get(e).keyMap||{}:(Ge.warn("".concat(this._className,".getKeyMap unknown protocolName:").concat(e)),{})}},{key:"getProtocolData",value:function(e){var t=e.protocolName,n=e.requestData,o=this.get(t),r=null;if(n){var a=this._simpleDeepCopy(o),s=this._updateService(n,a),i=s.body,u=Object.create(null);for(var c in i)if(Object.prototype.hasOwnProperty.call(i,c)){if(u[c]=i[c],void 0===n[c])continue;u[c]=n[c]}s.body=u,r=this._getUplinkData(s)}else r=this._getUplinkData(o);return r}},{key:"_getUplinkData",value:function(e){var t=this._requestDataCleaner(e),n=Rt(t.head),o=Ns(t.body,this._getRequestKeyMap(n));return t.body=o,t}},{key:"_updateService",value:function(e,t){var n=Rt(t.head);if(t.head.servcmd.includes(B.NAME.GROUP)){var o=e.type,r=e.groupID,a=void 0===r?void 0:r,s=e.groupIDList,i=void 0===s?[]:s;et(a)&&(a=i[0]||""),Tt({type:o,groupID:a})&&(t.head.servcmd="".concat(B.NAME.GROUP_COMMUNITY,".").concat(n))}return t}},{key:"_getRequestKeyMap",value:function(e){var t=this.getKeyMap(e);return o(o({},Os.request),t.request)}},{key:"_requestDataCleaner",value:function(e){var t=Array.isArray(e)?[]:Object.create(null);for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&st(n)&&null!==e[n]&&void 0!==e[n]&&("object"!==r(e[n])?t[n]=e[n]:t[n]=this._requestDataCleaner.bind(this)(e[n]));return t}},{key:"_simpleDeepCopy",value:function(e){for(var t,n=Object.keys(e),o={},r=0,a=n.length;r<a;r++)t=n[r],Qe(e[t])?o[t]=Array.from(e[t]):Xe(e[t])?o[t]=this._simpleDeepCopy(e[t]):o[t]=e[t];return o}}]),e}(),Zs=[ar],Qs=function(){function e(t){a(this,e),this._sessionModule=t,this._className="DownlinkHandler",this._eventHandlerMap=new Map,this._eventHandlerMap.set("C2CMessageArray",this._c2cMessageArrayHandler.bind(this)),this._eventHandlerMap.set("groupMessageArray",this._groupMessageArrayHandler.bind(this)),this._eventHandlerMap.set("groupTips",this._groupTipsHandler.bind(this)),this._eventHandlerMap.set("C2CNotifyMessageArray",this._C2CNotifyMessageArrayHandler.bind(this)),this._eventHandlerMap.set("C2CReadReceiptArray",this._C2CReadReceiptArrayHandler.bind(this)),this._eventHandlerMap.set("profileModify",this._profileHandler.bind(this)),this._eventHandlerMap.set("friendListMod",this._relationChainHandler.bind(this)),this._eventHandlerMap.set("recentContactMod",this._recentContactHandler.bind(this)),this._eventHandlerMap.set("readAllC2CMessage",this._allMessageReadHandler.bind(this)),this._eventHandlerMap.set("c2cMessageModified",this._c2cMessageModifiedHandler.bind(this)),this._eventHandlerMap.set("groupMessageModified",this._groupMessageModifiedHandler.bind(this)),this._eventHandlerMap.set("userStatusList",this._userStatusListHandler.bind(this)),this._keys=v(this._eventHandlerMap.keys())}return i(e,[{key:"_c2cMessageArrayHandler",value:function(e){var t=this._sessionModule.getModule(un);t&&(e.dataList.forEach((function(e){if(1===e.isSyncMessage){var t=e.from;e.from=e.to,e.to=t}})),1===e.needSync&&this._sessionModule.getModule(Ln).startOnlineSync(),t.onNewC2CMessage({dataList:e.dataList,isInstantMessage:!0}))}},{key:"_c2cMessageModifiedHandler",value:function(e){var t=this._sessionModule.getModule(un);t&&t.onC2CMessageModified(e)}},{key:"_groupMessageArrayHandler",value:function(e){var t=this._sessionModule.getModule(cn);t&&t.onNewGroupMessage({event:e.event,dataList:e.dataList,isInstantMessage:!0})}},{key:"_groupMessageModifiedHandler",value:function(e){var t=this._sessionModule.getModule(cn);t&&t.onGroupMessageModified(e)}},{key:"_groupTipsHandler",value:function(e){var t=this._sessionModule.getModule(cn);if(t){var n=e.event,o=e.dataList,r=e.isInstantMessage,a=void 0===r||r,s=e.isSyncingEnded;switch(n){case 4:case 6:t.onNewGroupTips({event:n,dataList:o});break;case 5:o.forEach((function(e){Qe(e.elements.revokedInfos)?t.onGroupMessageRevoked({dataList:o}):Qe(e.elements.groupMessageReadNotice)?t.onGroupMessageReadNotice({dataList:o}):Qe(e.elements.readReceiptList)?t.onReadReceiptList({dataList:o}):t.onNewGroupSystemNotice({dataList:o,isInstantMessage:a,isSyncingEnded:s})}));break;case 12:this._sessionModule.getModule(pn).onNewGroupAtTips({dataList:o});break;default:Ge.log("".concat(this._className,"._groupTipsHandler unknown event:").concat(n," dataList:"),o)}}}},{key:"_C2CNotifyMessageArrayHandler",value:function(e){var t=this,n=e.dataList;if(Qe(n)){var o=this._sessionModule.getModule(un);n.forEach((function(e){if(Ze(e))if(e.hasOwnProperty("kickoutMsgNotify")){var r=e.kickoutMsgNotify,a=r.kickType,s=r.newInstanceInfo,i=void 0===s?{}:s;1===a?t._sessionModule.onMultipleAccountKickedOut(i):2===a?t._sessionModule.onMultipleDeviceKickedOut(i):3===a&&t._sessionModule.onRestApiKickedOut(i)}else e.hasOwnProperty("c2cMessageRevokedNotify")?o&&o.onC2CMessageRevoked({dataList:n}):e.hasOwnProperty("c2cMessageReadReceipt")?o&&o.onC2CMessageReadReceipt({dataList:n}):e.hasOwnProperty("c2cMessageReadNotice")?o&&o.onC2CMessageReadNotice({dataList:n}):e.hasOwnProperty("muteNotificationsSync")&&t._sessionModule.getModule(pn).onC2CMessageRemindTypeSynced({dataList:n})}))}}},{key:"_C2CReadReceiptArrayHandler",value:function(e){this._sessionModule.getModule(un).onReadReceiptList(e)}},{key:"_profileHandler",value:function(e){this._sessionModule.getModule(sn).onProfileModified({dataList:e.dataList});var t=this._sessionModule.getModule(dn);t&&t.onFriendProfileModified({dataList:e.dataList})}},{key:"_relationChainHandler",value:function(e){this._sessionModule.getModule(sn).onRelationChainModified({dataList:e.dataList});var t=this._sessionModule.getModule(dn);t&&t.onRelationChainModified({dataList:e.dataList})}},{key:"_recentContactHandler",value:function(e){var t=e.dataList;if(Qe(t)){var n=this._sessionModule.getModule(pn);n&&t.forEach((function(e){var t=e.pushType;if(1===t){var o=e.recentContactDeleteItem;n.onConversationDeleted(o.recentContactList)}else if(2===t){var r=e.recentContactTopItem;n.onConversationPinned(r.recentContactList)}else if(3===t){var a=e.recentContactTopItem;n.onConversationUnpinned(a.recentContactList)}else if(4===t){var s=e.recentContactMarkContact;n.onConversationMarkUpdated(s.recentContactMarkContactItem)}else if(5===t){var i=e.recentContactCreateContactGroup;n.onConversationGroupCreated(i.msgContactGroupContactItem)}else if(6===t){var u=e.recentContactDelContactGroup;n.onConversationGroupDeleted(u.msgGroupItem)}else if(7===t){var c=e.recentContactUpdateContactGroup,d=c.msgUpdateGroup.updateGroupType;1===d?n.onConversationGroupNameUpdated(c.msgUpdateGroup):2===d&&n.onConversationInGroupUpdated(c.msgUpdateGroup)}}))}}},{key:"_allMessageReadHandler",value:function(e){var t=e.dataList,n=this._sessionModule.getModule(pn);n&&n.onPushedAllMessageRead(t)}},{key:"_userStatusListHandler",value:function(e){this._sessionModule.getModule(sn).onUserStatusUpdated(e)}},{key:"onMessage",value:function(e){var t=this,n=e.body;if(this._filterMessageFromIMOpenPush(e)){var o=n.eventArray,r=n.isInstantMessage,a=n.isSyncingEnded,s=n.needSync;if(Qe(o))for(var i=null,u=null,c=0,d=0,l=o.length;d<l;d++){c=(i=o[d]).event;var _=Object.keys(i).find((function(e){return-1!==t._keys.indexOf(e)}));_?(u=14===c?{readAllC2CMessage:i[_],groupMessageReadInfoList:i.groupMessageReadNotice||[]}:16===c?{userID:i.userID,readReceiptList:i[_]}:i[_],this._eventHandlerMap.get(_)({event:c,dataList:u,isInstantMessage:r,isSyncingEnded:a,needSync:s})):Ge.log("".concat(this._className,".onMessage unknown eventItem:").concat(i))}}}},{key:"_filterMessageFromIMOpenPush",value:function(e){var t=e.head,n=e.body,o=t.servcmd,r=!1;if(et(o)||(r=o.includes(B.NAME.IM_CONFIG_MANAGER)||o.includes(B.NAME.OVERLOAD_PUSH)||o.includes(B.NAME.STAT_SERVICE)),!r)return!0;if(o.includes(B.CMD.PUSHED_CLOUD_CONTROL_CONFIG))this._sessionModule.getModule(In).onPushedCloudControlConfig(n);else if(o.includes(B.CMD.PUSHED_COMMERCIAL_CONFIG))this._sessionModule.getModule(An).onPushedConfig(n);else if(o.includes(B.CMD.OVERLOAD_NOTIFY))this._sessionModule.onPushedServerOverload(n);else if(o.includes(B.CMD.KICK_OTHER)){var a=Date.now();this._sessionModule.reLoginOnKickOther();var s=new Hr(jr.KICK_OTHER),i=this._sessionModule.getModule(rn).getLastWsHelloTs(),u=a-i;s.setMessage("last wshello time:".concat(i," diff:").concat(u,"ms")).setNetworkType(this._sessionModule.getNetworkType()).end()}return!1}}]),e}(),ei=[{cmd:B.CMD.GET_GROUP_INFO,interval:1,count:20},{cmd:B.CMD.GET_AVCHATROOM_MEMBER_LIST,interval:3,count:1},{cmd:B.CMD.GET_TOPIC_LIST,interval:1,count:10},{cmd:B.CMD.SET_GROUP_ATTRIBUTES,interval:5,count:10},{cmd:B.CMD.MODIFY_GROUP_ATTRIBUTES,interval:5,count:10},{cmd:B.CMD.DELETE_GROUP_ATTRIBUTES,interval:5,count:10},{cmd:B.CMD.CLEAR_GROUP_ATTRIBUTES,interval:5,count:10},{cmd:B.CMD.GET_GROUP_ATTRIBUTES,interval:5,count:20},{cmd:B.CMD.SET_ALL_MESSAGE_READ,interval:1,count:1},{cmd:B.CMD.GET_USER_STATUS,interval:5,count:20},{cmd:B.CMD.SUBSCRIBE_USER_STATUS,interval:5,count:20},{cmd:B.CMD.UNSUBSCRIBE_USER_STATUS,interval:5,count:20}],ti=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="SessionModule",o._platform=o.getPlatform(),o._protocolHandler=new Xs(f(o)),o._messageDispatcher=new Qs(f(o)),o._commandFrequencyLimitMap=new Map,o._commandRequestInfoMap=new Map,o._serverOverloadInfoMap=new Map,o._init(),o.getInnerEmitterInstance().on(ya,o._onCloudConfigUpdated,f(o)),o}return i(n,[{key:"_init",value:function(){this._updateCommandFrequencyLimitMap(ei)}},{key:"_onCloudConfigUpdated",value:function(){var e=this.getCloudConfig("cmd_frequency_limit");et(e)||(e=JSON.parse(e),this._updateCommandFrequencyLimitMap(e))}},{key:"_updateCommandFrequencyLimitMap",value:function(e){var t=this;e.forEach((function(e){t._commandFrequencyLimitMap.set(e.cmd,{interval:e.interval,count:e.count})}))}},{key:"updateProtocolConfig",value:function(){this._protocolHandler.update()}},{key:"request",value:function(e){Ge.debug("".concat(this._className,".request options:"),e);var t=e.protocolName,n=e.tjgID;if(!this._protocolHandler.has(t))return Ge.warn("".concat(this._className,".request unknown protocol:").concat(t)),ma({code:Ir.CANNOT_FIND_PROTOCOL,message:Sr.CANNOT_FIND_PROTOCOL});var o=this.getProtocolData(e),r=o.head.servcmd;if(this._isFrequencyOverLimit(r))return ma({code:Ir.OVER_FREQUENCY_LIMIT,message:Sr.OVER_FREQUENCY_LIMIT});if(this._isServerOverload(r))return ma({code:Ir.OPEN_SERVICE_OVERLOAD_ERROR,message:Sr.OPEN_SERVICE_OVERLOAD_ERROR});qt(n)||(o.head.tjgID=n);var a=this.getModule(Dn);return Zs.includes(t)?a.simplySend(o):a.send(o)}},{key:"getKeyMap",value:function(e){return this._protocolHandler.getKeyMap(e)}},{key:"genCommonHead",value:function(){var e=this.getModule(hn);return{ver:"v4",platform:this._platform,websdkappid:G,websdkversion:Y,a2:e.getA2Key()||void 0,tinyid:e.getTinyID()||void 0,status_instid:e.getStatusInstanceID(),sdkappid:e.getSDKAppID(),contenttype:e.getContentType(),reqtime:0,identifier:e.getA2Key()?void 0:e.getUserID(),usersig:e.getA2Key()?void 0:e.getUserSig(),sdkability:11827,tjgID:""}}},{key:"genCosSpecifiedHead",value:function(){var e=this.getModule(hn);return{ver:"v4",platform:this._platform,websdkappid:G,websdkversion:Y,sdkappid:e.getSDKAppID(),contenttype:e.getContentType(),reqtime:0,identifier:e.getUserID(),usersig:e.getUserSig(),status_instid:e.getStatusInstanceID(),sdkability:11827}}},{key:"genSSOReportHead",value:function(){var e=this.getModule(hn);return{ver:"v4",platform:this._platform,websdkappid:G,websdkversion:Y,sdkappid:e.getSDKAppID(),contenttype:"",reqtime:0,identifier:"",usersig:"",status_instid:e.getStatusInstanceID(),sdkability:11827}}},{key:"getProtocolData",value:function(e){return this._protocolHandler.getProtocolData(e)}},{key:"onErrorCodeNotZero",value:function(e){var t=e.errorCode;if(t===Ir.HELLO_ANSWER_KICKED_OUT){var n=e.kickType,o=e.newInstanceInfo,r=void 0===o?{}:o;1===n?this.onMultipleAccountKickedOut(r):2===n?this.onMultipleDeviceKickedOut(r):3===n&&this.onRestApiKickedOut(r)}t!==Ir.MESSAGE_A2KEY_EXPIRED&&t!==Ir.ACCOUNT_A2KEY_EXPIRED||(this._onUserSigExpired(),this.getModule(Dn).reConnect())}},{key:"onMessage",value:function(e){var t=e.body,n=t.needAck,o=void 0===n?0:n,r=t.sessionData;1===o&&this._sendACK(r),this._messageDispatcher.onMessage(e)}},{key:"onReconnected",value:function(){this._reLoginOnReconnected()}},{key:"reLoginOnKickOther",value:function(){Ge.log("".concat(this._className,".reLoginOnKickOther")),this._reLogin()}},{key:"_reLoginOnReconnected",value:function(){Ge.log("".concat(this._className,"._reLoginOnReconnected")),this._reLogin()}},{key:"_reLogin",value:function(){var e=this;if(this.isLoggedIn()){var t=0,n=this.getModule(On);n.canIUseOfflinePush()&&(t=n.getUniAppPlatform()),this.request({protocolName:wn,requestData:{isWebUniapp:t}}).then((function(t){var n=t.data.instanceID;e.getModule(hn).setStatusInstanceID(n),Ge.log("".concat(e._className,"._reLogin ok. start to sync unread messages")),e.getModule(Ln).startSyncOnReconnected(),e.getModule(pn).syncConversationList(),e.getModule(En).startPull(),e.getModule(cn).updateLocalMainSequenceOnReconnected();var o=e.getModule(_n);o.resetGetTopicTime(),o.getTopicListOnReconnected()}))}}},{key:"onMultipleAccountKickedOut",value:function(e){this.getModule(rn).onMultipleAccountKickedOut(e)}},{key:"onMultipleDeviceKickedOut",value:function(e){this.getModule(rn).onMultipleDeviceKickedOut(e)}},{key:"_onUserSigExpired",value:function(){this.getModule(rn).onUserSigExpired()}},{key:"onRestApiKickedOut",value:function(e){this.getModule(rn).onRestApiKickedOut(e)}},{key:"_sendACK",value:function(e){this.request({protocolName:ar,requestData:{sessionData:e}})}},{key:"_isFrequencyOverLimit",value:function(e){var t=e.split(".")[1];if(!this._commandFrequencyLimitMap.has(t))return!1;if(!this._commandRequestInfoMap.has(t))return this._commandRequestInfoMap.set(t,{startTime:Date.now(),requestCount:1}),!1;var n=this._commandFrequencyLimitMap.get(t),o=n.count,r=n.interval,a=this._commandRequestInfoMap.get(t),s=a.startTime,i=a.requestCount;if(Date.now()-s>1e3*r)return this._commandRequestInfoMap.set(t,{startTime:Date.now(),requestCount:1}),!1;i+=1,this._commandRequestInfoMap.set(t,{startTime:s,requestCount:i});var u=!1;return i>o&&(u=!0),u}},{key:"_isServerOverload",value:function(e){if(!this._serverOverloadInfoMap.has(e))return!1;var t=this._serverOverloadInfoMap.get(e),n=t.overloadTime,o=t.waitingTime,r=!1;return Date.now()-n<=1e3*o?r=!0:(this._serverOverloadInfoMap.delete(e),r=!1),r}},{key:"onPushedServerOverload",value:function(e){var t=e.overloadCommand,n=e.waitingTime;this._serverOverloadInfoMap.set(t,{overloadTime:Date.now(),waitingTime:n}),Ge.warn("".concat(this._className,".onPushedServerOverload waitingTime:").concat(n,"s"))}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._updateCommandFrequencyLimitMap(ei),this._commandRequestInfoMap.clear(),this._serverOverloadInfoMap.clear()}}]),n}(bn),ni=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="MessageLossDetectionModule",o._maybeLostSequencesMap=new Map,o._firstRoundRet=[],o}return i(n,[{key:"onMessageMaybeLost",value:function(e,t,n){this._maybeLostSequencesMap.has(e)||this._maybeLostSequencesMap.set(e,[]);for(var o=this._maybeLostSequencesMap.get(e),r=0;r<n;r++)-1===o.indexOf(t+r)&&o.push(t+r)}},{key:"detectFirstRound",value:function(e,t){var n=this._maybeLostSequencesMap.get(e);if(!qt(n)&&!qt(t)){var o=n.filter((function(e){return-1===t.indexOf(e)}));0===o.length?Ge.info("".concat(this._className,".detectFirstRound no message loss. conversationID:").concat(e)):this._firstRoundRet=this._firstRoundRet.concat(o),n.length=0}}},{key:"detectSecondRound",value:function(e,t){if(!qt(this._firstRoundRet)&&!qt(t)){var n=this._firstRoundRet.filter((function(e){return-1===t.indexOf(e)}));this._firstRoundRet.length=0;var o,r=n.length;0!==r&&(r<=5?o=e+"-"+n.join("-"):(n.sort((function(e,t){return e-t})),o=e+" start:"+n[0]+" end:"+n[r-1]+" count:"+r),new Hr(jr.MESSAGE_LOSS).setMessage(o).setNetworkType(this.getNetworkType()).setLevel("warning").end(),Ge.info("".concat(this._className,".detectSecondRound message loss detected. conversationID:").concat(e," lostSequences:").concat(n)))}}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._maybeLostSequencesMap.clear(),this._firstRoundRet.length=0}}]),n}(bn),oi=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="CloudControlModule",o._cloudConfig=new Map,o._expiredTime=0,o._version=0,o._isFetching=!1,o}return i(n,[{key:"getCloudConfig",value:function(e){return et(e)?this._cloudConfig:this._cloudConfig.has(e)?this._cloudConfig.get(e):void 0}},{key:"_canFetchConfig",value:function(){return this.isLoggedIn()&&!this._isFetching&&Date.now()>=this._expiredTime}},{key:"fetchConfig",value:function(){var e=this,t=this._canFetchConfig();if(Ge.log("".concat(this._className,".fetchConfig canFetchConfig:").concat(t)),t){var n=new Hr(jr.FETCH_CLOUD_CONTROL_CONFIG),o=this.getModule(hn).getSDKAppID();this._isFetching=!0,this.request({protocolName:cr,requestData:{SDKAppID:o,version:this._version}}).then((function(t){e._isFetching=!1,n.setMessage("version:".concat(e._version," newVersion:").concat(t.data.version," config:").concat(t.data.cloudControlConfig)).setNetworkType(e.getNetworkType()).end(),Ge.log("".concat(e._className,".fetchConfig ok")),e._parseCloudControlConfig(t.data)})).catch((function(t){e._isFetching=!1,e.probeNetwork().then((function(e){var o=y(e,2),r=o[0],a=o[1];n.setError(t,r,a).end()})),Ge.log("".concat(e._className,".fetchConfig failed. error:"),t),e._setExpiredTimeOnResponseError(12e4)}))}}},{key:"onPushedCloudControlConfig",value:function(e){Ge.log("".concat(this._className,".onPushedCloudControlConfig")),new Hr(jr.PUSHED_CLOUD_CONTROL_CONFIG).setNetworkType(this.getNetworkType()).setMessage("newVersion:".concat(e.version," config:").concat(e.cloudControlConfig)).end(),this._parseCloudControlConfig(e)}},{key:"onCheckTimer",value:function(e){this._canFetchConfig()&&this.fetchConfig()}},{key:"_parseCloudControlConfig",value:function(e){var t=this,n="".concat(this._className,"._parseCloudControlConfig"),o=e.errorCode,r=e.errorMessage,a=e.cloudControlConfig,s=e.version,i=e.expiredTime;if(0===o){if(this._version!==s){var u=null;try{u=JSON.parse(a)}catch(l){Ge.error("".concat(n," JSON parse error:").concat(a))}u&&(this._cloudConfig.clear(),Object.keys(u).forEach((function(e){t._cloudConfig.set(e,u[e])})),this._version=s,this.emitInnerEvent(ya))}this._expiredTime=Date.now()+1e3*i}else et(o)?(Ge.log("".concat(n," failed. Invalid message format:"),e),this._setExpiredTimeOnResponseError(36e5)):(Ge.error("".concat(n," errorCode:").concat(o," errorMessage:").concat(r)),this._setExpiredTimeOnResponseError(12e4))}},{key:"_setExpiredTimeOnResponseError",value:function(e){this._expiredTime=Date.now()+e}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._cloudConfig.clear(),this._expiredTime=0,this._version=0,this._isFetching=!1}}]),n}(bn),ri=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="PullGroupMessageModule",o._remoteLastMessageSequenceMap=new Map,o.PULL_LIMIT_COUNT=15,o}return i(n,[{key:"startPull",value:function(){var e=this,t=this._getNeedPullConversationList();this._getRemoteLastMessageSequenceList().then((function(){var n=e.getModule(pn);t.forEach((function(t){var o=t.conversationID,r=o.replace(C.CONV_GROUP,""),a=n.getGroupLocalLastMessageSequence(o),s=e._remoteLastMessageSequenceMap.get(r)||0,i=s-a;Ge.log("".concat(e._className,".startPull groupID:").concat(r," localLastMessageSequence:").concat(a," ")+"remoteLastMessageSequence:".concat(s," diff:").concat(i)),a>0&&i>=1&&i<300&&e._pullMissingMessage({groupID:r,localLastMessageSequence:a,remoteLastMessageSequence:s,diff:i})}))}))}},{key:"_getNeedPullConversationList",value:function(){return this.getModule(pn).getLocalConversationList().filter((function(e){return e.type===C.CONV_GROUP&&e.groupProfile.type!==C.GRP_AVCHATROOM}))}},{key:"_getRemoteLastMessageSequenceList",value:function(){var e=this;return this.getModule(cn).getGroupList().then((function(t){for(var n=t.data.groupList,o=void 0===n?[]:n,r=0;r<o.length;r++){var a=o[r],s=a.groupID,i=a.nextMessageSeq;if(a.type!==C.GRP_AVCHATROOM){var u=i-1;e._remoteLastMessageSequenceMap.set(s,u)}}}))}},{key:"_pullMissingMessage",value:function(e){var t=this,n=e.localLastMessageSequence,o=e.remoteLastMessageSequence,r=e.diff;e.count=r>this.PULL_LIMIT_COUNT?this.PULL_LIMIT_COUNT:r,e.sequence=r>this.PULL_LIMIT_COUNT?n+this.PULL_LIMIT_COUNT:n+r,this._getGroupMissingMessage(e).then((function(a){a.length>0&&(a[0].sequence+1<=o&&(e.localLastMessageSequence=n+t.PULL_LIMIT_COUNT,e.diff=r-t.PULL_LIMIT_COUNT,t._pullMissingMessage(e)),t.getModule(cn).onNewGroupMessage({dataList:a,isInstantMessage:!1}))}))}},{key:"_getGroupMissingMessage",value:function(e){var t=this,n=new Hr(jr.GET_GROUP_MISSING_MESSAGE);return this.request({protocolName:Co,requestData:{groupID:e.groupID,count:e.count,sequence:e.sequence}}).then((function(o){var r=o.data.messageList,a=void 0===r?[]:r;return n.setNetworkType(t.getNetworkType()).setMessage("groupID:".concat(e.groupID," count:").concat(e.count," sequence:").concat(e.sequence," messageList length:").concat(a.length)).end(),a})).catch((function(e){t.probeNetwork().then((function(t){var o=y(t,2),r=o[0],a=o[1];n.setError(e,r,a).end()}))}))}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._remoteLastMessageSequenceMap.clear()}}]),n}(bn),ai=function(){function e(){a(this,e),this._className="AvgE2EDelay",this._e2eDelayArray=[]}return i(e,[{key:"addMessageDelay",value:function(e){var t=Ne()-e;t>=0&&this._e2eDelayArray.push(t)}},{key:"_calcAvg",value:function(e,t){if(0===t)return 0;var n=0;return e.forEach((function(e){n+=e})),Pt(n/t,1)}},{key:"_calcCountWithLimit",value:function(e){var t=e.e2eDelayArray,n=e.min,o=e.max;return t.filter((function(e){return n<=e&&e<o})).length}},{key:"_calcPercent",value:function(e,t){var n=Pt(e/t*100,2);return n>100&&(n=100),n}},{key:"_checkE2EDelayException",value:function(e,t){var n=e.filter((function(e){return e>t}));if(n.length>0){var o=n.length,r=Math.min.apply(Math,v(n)),a=Math.max.apply(Math,v(n)),s=this._calcAvg(n,o),i=Pt(o/e.length*100,2);i>50&&new Hr(jr.MESSAGE_E2E_DELAY_EXCEPTION).setMessage("message e2e delay exception. count:".concat(o," min:").concat(r," max:").concat(a," avg:").concat(s," percent:").concat(i)).setLevel("warning").end()}}},{key:"getStatResult",value:function(){var e=this._e2eDelayArray.length;if(0===e)return null;var t=v(this._e2eDelayArray),n=this._calcCountWithLimit({e2eDelayArray:t,min:0,max:1}),o=this._calcCountWithLimit({e2eDelayArray:t,min:1,max:3}),r=this._calcPercent(n,e),a=this._calcPercent(o,e),s=this._calcAvg(t,e);return this._checkE2EDelayException(t,3),t.length=0,this.reset(),{totalCount:e,countLessThan1Second:n,percentOfCountLessThan1Second:r,countLessThan3Second:o,percentOfCountLessThan3Second:a,avgDelay:s}}},{key:"reset",value:function(){this._e2eDelayArray.length=0}}]),e}(),si=function(){function e(){a(this,e),this._className="AvgRTT",this._requestCount=0,this._rttArray=[]}return i(e,[{key:"addRequestCount",value:function(){this._requestCount+=1}},{key:"addRTT",value:function(e){this._rttArray.push(e)}},{key:"_calcTotalCount",value:function(){return this._requestCount}},{key:"_calcRTTCount",value:function(e){return e.length}},{key:"_calcSuccessRateOfRequest",value:function(e,t){if(0===t)return 0;var n=Pt(e/t*100,2);return n>100&&(n=100),n}},{key:"_calcAvg",value:function(e,t){if(0===t)return 0;var n=0;return e.forEach((function(e){n+=e})),parseInt(n/t)}},{key:"_calcMax",value:function(){return Math.max.apply(Math,v(this._rttArray))}},{key:"_calcMin",value:function(){return Math.min.apply(Math,v(this._rttArray))}},{key:"getStatResult",value:function(){var e=this._calcTotalCount(),t=v(this._rttArray);if(0===e)return null;var n=this._calcRTTCount(t),o=this._calcSuccessRateOfRequest(n,e),r=this._calcAvg(t,n);return Ge.log("".concat(this._className,".getStatResult max:").concat(this._calcMax()," min:").concat(this._calcMin()," avg:").concat(r)),this.reset(),{totalCount:e,rttCount:n,successRateOfRequest:o,avgRTT:r}}},{key:"reset",value:function(){this._requestCount=0,this._rttArray.length=0}}]),e}(),ii=function(){function e(){a(this,e),this._map=new Map}return i(e,[{key:"initMap",value:function(e){var t=this;e.forEach((function(e){t._map.set(e,{totalCount:0,successCount:0,failedCountOfUserSide:0,costArray:[],fileSizeArray:[]})}))}},{key:"addTotalCount",value:function(e){return!(et(e)||!this._map.has(e))&&(this._map.get(e).totalCount+=1,!0)}},{key:"addSuccessCount",value:function(e){return!(et(e)||!this._map.has(e))&&(this._map.get(e).successCount+=1,!0)}},{key:"addFailedCountOfUserSide",value:function(e){return!(et(e)||!this._map.has(e))&&(this._map.get(e).failedCountOfUserSide+=1,!0)}},{key:"addCost",value:function(e,t){return!(et(e)||!this._map.has(e))&&(this._map.get(e).costArray.push(t),!0)}},{key:"addFileSize",value:function(e,t){return!(et(e)||!this._map.has(e))&&(this._map.get(e).fileSizeArray.push(t),!0)}},{key:"_calcSuccessRateOfBusiness",value:function(e){if(et(e)||!this._map.has(e))return-1;var t=this._map.get(e),n=Pt(t.successCount/t.totalCount*100,2);return n>100&&(n=100),n}},{key:"_calcSuccessRateOfPlatform",value:function(e){if(et(e)||!this._map.has(e))return-1;var t=this._map.get(e),n=this._calcSuccessCountOfPlatform(e)/t.totalCount*100;return(n=Pt(n,2))>100&&(n=100),n}},{key:"_calcTotalCount",value:function(e){return et(e)||!this._map.has(e)?-1:this._map.get(e).totalCount}},{key:"_calcSuccessCountOfBusiness",value:function(e){return et(e)||!this._map.has(e)?-1:this._map.get(e).successCount}},{key:"_calcSuccessCountOfPlatform",value:function(e){if(et(e)||!this._map.has(e))return-1;var t=this._map.get(e);return t.successCount+t.failedCountOfUserSide}},{key:"_calcAvg",value:function(e){return et(e)||!this._map.has(e)?-1:e===Nr?this._calcAvgSpeed(e):this._calcAvgCost(e)}},{key:"_calcAvgCost",value:function(e){var t=this._map.get(e).costArray.length;if(0===t)return 0;var n=0;return this._map.get(e).costArray.forEach((function(e){n+=e})),parseInt(n/t)}},{key:"_calcAvgSpeed",value:function(e){var t=0,n=0;return this._map.get(e).costArray.forEach((function(e){t+=e})),this._map.get(e).fileSizeArray.forEach((function(e){n+=e})),parseInt(1e3*n/t)}},{key:"getStatResult",value:function(e){var t=this._calcTotalCount(e);if(0===t)return null;var n=this._calcSuccessCountOfBusiness(e),o=this._calcSuccessRateOfBusiness(e),r=this._calcSuccessCountOfPlatform(e),a=this._calcSuccessRateOfPlatform(e),s=this._calcAvg(e);return this.reset(e),{totalCount:t,successCountOfBusiness:n,successRateOfBusiness:o,successCountOfPlatform:r,successRateOfPlatform:a,avgValue:s}}},{key:"reset",value:function(e){et(e)?this._map.clear():this._map.set(e,{totalCount:0,successCount:0,failedCountOfUserSide:0,costArray:[],fileSizeArray:[]})}}]),e}(),ui=function(){function e(){a(this,e),this._lastMap=new Map,this._currentMap=new Map}return i(e,[{key:"initMap",value:function(e){var t=this;e.forEach((function(e){t._lastMap.set(e,new Map),t._currentMap.set(e,new Map)}))}},{key:"addMessageSequence",value:function(e){var t=e.key,n=e.message;if(et(t)||!this._lastMap.has(t)||!this._currentMap.has(t))return!1;var o=n.conversationID,r=n.sequence,a=o.replace(C.CONV_GROUP,"");if(0===this._lastMap.get(t).size)this._addCurrentMap(e);else if(this._lastMap.get(t).has(a)){var s=this._lastMap.get(t).get(a),i=s.length-1;r>s[0]&&r<s[i]?(s.push(r),s.sort(),this._lastMap.get(t).set(a,s)):this._addCurrentMap(e)}else this._addCurrentMap(e);return!0}},{key:"_addCurrentMap",value:function(e){var t=e.key,n=e.message,o=n.conversationID,r=n.sequence,a=o.replace(C.CONV_GROUP,"");this._currentMap.get(t).has(a)||this._currentMap.get(t).set(a,[]),this._currentMap.get(t).get(a).push(r)}},{key:"_copyData",value:function(e){if(!et(e)){this._lastMap.set(e,new Map);var t,n=this._lastMap.get(e),o=S(this._currentMap.get(e));try{for(o.s();!(t=o.n()).done;){var r=y(t.value,2),a=r[0],s=r[1];n.set(a,s)}}catch(c){o.e(c)}finally{o.f()}n=null,this._currentMap.set(e,new Map)}}},{key:"getStatResult",value:function(e){if(et(this._currentMap.get(e))||et(this._lastMap.get(e)))return null;if(0===this._lastMap.get(e).size)return this._copyData(e),null;var t=0,n=0;if(this._lastMap.get(e).forEach((function(e,o){var r=v(e.values()),a=r.length,s=r[a-1]-r[0]+1;t+=s,n+=a})),0===t)return null;var o=Pt(n/t*100,2);return o>100&&(o=100),this._copyData(e),{totalCount:t,successCountOfMessageReceived:n,successRateOfMessageReceived:o}}},{key:"reset",value:function(){this._currentMap.clear(),this._lastMap.clear()}}]),e}(),ci=function(e){c(n,e);var t=M(n);function n(e){var o;a(this,n),(o=t.call(this,e))._className="QualityStatModule",o.TAG="im-ssolog-quality-stat",o.reportIndex=0,o.wholePeriod=!1,o._qualityItems=[Er,Cr,Ar,Or,br,wr,Nr,Rr,Pr,Yr],o._messageSentItems=[Ar,Or,br,wr,Nr],o._messageReceivedItems=[Rr,Pr,Yr],o.REPORT_INTERVAL=120,o.REPORT_SDKAPPID_BLACKLIST=[],o.REPORT_TINYID_WHITELIST=[],o._statInfoArr=[],o._avgRTT=new si,o._avgE2EDelay=new ai,o._rateMessageSent=new ii,o._rateMessageReceived=new ui;var r=o.getInnerEmitterInstance();return r.on(Ma,o._onLoginSuccess,f(o)),r.on(ya,o._onCloudConfigUpdated,f(o)),o}return i(n,[{key:"_onLoginSuccess",value:function(){var e=this;this._rateMessageSent.initMap(this._messageSentItems),this._rateMessageReceived.initMap(this._messageReceivedItems);var t=this.getModule(mn),n=t.getItem(this.TAG,!1);!qt(n)&&ot(n.forEach)&&(Ge.log("".concat(this._className,"._onLoginSuccess.get quality stat log in storage, nums=").concat(n.length)),n.forEach((function(t){e._statInfoArr.push(t)})),t.removeItem(this.TAG,!1))}},{key:"_onCloudConfigUpdated",value:function(){var e=this.getCloudConfig("q_rpt_interval"),t=this.getCloudConfig("q_rpt_sdkappid_bl"),n=this.getCloudConfig("q_rpt_tinyid_wl");et(e)||(this.REPORT_INTERVAL=Number(e)),et(t)||(this.REPORT_SDKAPPID_BLACKLIST=t.split(",").map((function(e){return Number(e)}))),et(n)||(this.REPORT_TINYID_WHITELIST=n.split(","))}},{key:"onCheckTimer",value:function(e){this.isLoggedIn()&&e%this.REPORT_INTERVAL==0&&(this.wholePeriod=!0,this._report())}},{key:"addRequestCount",value:function(){this._avgRTT.addRequestCount()}},{key:"addRTT",value:function(e){this._avgRTT.addRTT(e)}},{key:"addMessageDelay",value:function(e){this._avgE2EDelay.addMessageDelay(e)}},{key:"addTotalCount",value:function(e){this._rateMessageSent.addTotalCount(e)||Ge.warn("".concat(this._className,".addTotalCount invalid key:"),e)}},{key:"addSuccessCount",value:function(e){this._rateMessageSent.addSuccessCount(e)||Ge.warn("".concat(this._className,".addSuccessCount invalid key:"),e)}},{key:"addFailedCountOfUserSide",value:function(e){this._rateMessageSent.addFailedCountOfUserSide(e)||Ge.warn("".concat(this._className,".addFailedCountOfUserSide invalid key:"),e)}},{key:"addCost",value:function(e,t){this._rateMessageSent.addCost(e,t)||Ge.warn("".concat(this._className,".addCost invalid key or cost:"),e,t)}},{key:"addFileSize",value:function(e,t){this._rateMessageSent.addFileSize(e,t)||Ge.warn("".concat(this._className,".addFileSize invalid key or size:"),e,t)}},{key:"addMessageSequence",value:function(e){this._rateMessageReceived.addMessageSequence(e)||Ge.warn("".concat(this._className,".addMessageSequence invalid key:"),e.key)}},{key:"_getQualityItem",value:function(e){var t={},n=Fr[this.getNetworkType()];et(n)&&(n=8);var r={qualityType:Gr[e],timestamp:be(),networkType:n,extension:""};switch(e){case Er:t=this._avgRTT.getStatResult();break;case Cr:t=this._avgE2EDelay.getStatResult();break;case Ar:case Or:case br:case wr:case Nr:t=this._rateMessageSent.getStatResult(e);break;case Rr:case Pr:case Yr:t=this._rateMessageReceived.getStatResult(e)}return null===t?null:o(o({},r),t)}},{key:"_report",value:function(e){var t=this,n=[],o=null;et(e)?this._qualityItems.forEach((function(e){null!==(o=t._getQualityItem(e))&&(o.reportIndex=t.reportIndex,o.wholePeriod=t.wholePeriod,n.push(o))})):null!==(o=this._getQualityItem(e))&&(o.reportIndex=this.reportIndex,o.wholePeriod=this.wholePeriod,n.push(o)),Ge.debug("".concat(this._className,"._report"),n),this._statInfoArr.length>0&&(n=n.concat(this._statInfoArr),this._statInfoArr=[]);var r=this.getModule(hn),a=r.getSDKAppID(),s=r.getTinyID();Yt(this.REPORT_SDKAPPID_BLACKLIST,a)&&!Gt(this.REPORT_TINYID_WHITELIST,s)&&(n=[]),n.length>0&&this._doReport(n)}},{key:"_doReport",value:function(e){var t=this,n={header:ps(this),quality:e};this.request({protocolName:tr,requestData:o({},n)}).then((function(){t.reportIndex++,t.wholePeriod=!1})).catch((function(n){Ge.warn("".concat(t._className,"._doReport, online:").concat(t.getNetworkType()," error:"),n),t._statInfoArr=t._statInfoArr.concat(e),t._flushAtOnce()}))}},{key:"_flushAtOnce",value:function(){var e=this.getModule(mn),t=e.getItem(this.TAG,!1),n=this._statInfoArr;if(qt(t))Ge.log("".concat(this._className,"._flushAtOnce count:").concat(n.length)),e.setItem(this.TAG,n,!0,!1);else{var o=n.concat(t);o.length>10&&(o=o.slice(0,10)),Ge.log("".concat(this.className,"._flushAtOnce count:").concat(o.length)),e.setItem(this.TAG,o,!0,!1)}this._statInfoArr=[]}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._report(),this.reportIndex=0,this.wholePeriod=!1,this.REPORT_SDKAPPID_BLACKLIST=[],this.REPORT_TINYID_WHITELIST=[],this._avgRTT.reset(),this._avgE2EDelay.reset(),this._rateMessageSent.reset(),this._rateMessageReceived.reset()}}]),n}(bn),di=function(e){c(n,e);var t=M(n);function n(e){var o;return a(this,n),(o=t.call(this,e))._className="WorkerTimerModule",o._isWorkerEnabled=!0,o._workerTimer=null,o._init(),o.getInnerEmitterInstance().on(ya,o._onCloudConfigUpdated,f(o)),o}return i(n,[{key:"isWorkerEnabled",value:function(){return this._isWorkerEnabled&&De}},{key:"startWorkerTimer",value:function(){Ge.log("".concat(this._className,".startWorkerTimer")),this._workerTimer&&this._workerTimer.postMessage("start")}},{key:"stopWorkerTimer",value:function(){Ge.log("".concat(this._className,".stopWorkerTimer")),this._workerTimer&&this._workerTimer.postMessage("stop")}},{key:"_init",value:function(){if(De){var e=URL.createObjectURL(new Blob(['let interval = -1;onmessage = function(event) { if (event.data === "start") { if (interval > 0) { clearInterval(interval); } interval = setInterval(() => { postMessage(""); }, 1000) } else if (event.data === "stop") { clearInterval(interval); interval = -1; }};'],{type:"application/javascript; charset=utf-8"}));this._workerTimer=new Worker(e);var t=this;this._workerTimer.onmessage=function(){t._moduleManager.onCheckTimer()}}}},{key:"_onCloudConfigUpdated",value:function(){var e=this.getCloudConfig("enable_worker");Ge.log("".concat(this._className,"._onCloudConfigUpdated enableWorker:").concat(e)),et(e)||"1"===e?!this._isWorkerEnabled&&De&&(this._isWorkerEnabled=!0,this.startWorkerTimer(),this._moduleManager.onWorkerTimerEnabled()):this._isWorkerEnabled&&De&&(this._isWorkerEnabled=!1,this.stopWorkerTimer(),this._moduleManager.onWorkerTimerDisabled())}},{key:"terminate",value:function(){Ge.log("".concat(this._className,".terminate")),this._workerTimer&&(this._workerTimer.terminate(),this._workerTimer=null)}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset"))}}]),n}(bn),li=function(){function e(){a(this,e),this._className="PurchasedFeatureHandler",this._purchasedFeatureMap=new Map}return i(e,[{key:"isValidPurchaseBits",value:function(e){return e&&"string"==typeof e&&e.length>=1&&e.length<=64&&/[01]{1,64}/.test(e)}},{key:"parsePurchaseBits",value:function(e){var t="".concat(this._className,".parsePurchaseBits");if(this.isValidPurchaseBits(e)){this._purchasedFeatureMap.clear();for(var n=null,o=e.length-1,r=0;o>=0;o--,r++)n=r<32?new N(0,Math.pow(2,r)).toString():new N(Math.pow(2,r-32),0).toString(),"1"===e[o]?this._purchasedFeatureMap.set(n,!0):this._purchasedFeatureMap.set(n,!1)}else Ge.warn("".concat(t," invalid purchase bits:").concat(e))}},{key:"hasPurchasedFeature",value:function(e){return!!this._purchasedFeatureMap.get(e)}},{key:"isFeatureEnabled",value:function(e){for(var t=parseInt(e).toString(2),n=void 0,o=!0,r=t.length-1,a=0;r>=0;r--,a++)if("1"===t.charAt(r)&&(n=a<32?new N(0,Math.pow(2,a)).toString():new N(Math.pow(2,a-32),0).toString(),!this._purchasedFeatureMap.get(n))){o=!1;break}return Ge.log("".concat(this._className,".isFeatureEnabled decimalNumber:").concat(e," binaryString:").concat(t," ret:").concat(o)),ha({enabled:o})}},{key:"clear",value:function(){this._purchasedFeatureMap.clear()}}]),e}(),_i=function(){function e(t){a(this,e),this._moduleManager=t,this._className="CommercialConfigModule",this._expiredTime=0,this._isFetching=!1,this._purchasedFeatureHandler=new li}return i(e,[{key:"_canFetch",value:function(){return this._getModule(hn).isLoggedIn()?!this._isFetching&&Date.now()>=this._expiredTime:(this._expiredTime=Date.now()+2e3,!1)}},{key:"onCheckTimer",value:function(e){this._canFetch()&&this.fetchConfig()}},{key:"fetchConfig",value:function(){var e=this,t=this._canFetch(),n="".concat(this._className,".fetchConfig");if(Ge.log("".concat(n," canFetch:").concat(t)),t){var o=this._getModule(gn),r=new Hr(jr.FETCH_COMMERCIAL_CONFIG);r.setNetworkType(o.getNetworkType());var a=this._getModule(hn).getSDKAppID(),s=this._getModule(Tn);this._isFetching=!0,s.request({protocolName:lr,requestData:{SDKAppID:a}}).then((function(t){r.setMessage("purchaseBits:".concat(t.data.purchaseBits)).end(),Ge.log("".concat(n," ok.")),e._parseConfig(t.data),e._isFetching=!1})).catch((function(t){o.probe().then((function(e){var n=y(e,2),o=n[0],a=n[1];r.setError(t,o,a).end()})),e._isFetching=!1}))}}},{key:"onPushedConfig",value:function(e){var t="".concat(this._className,".onPushedConfig");Ge.log("".concat(t)),new Hr(jr.PUSHED_COMMERCIAL_CONFIG).setNetworkType(this._getModule(gn).getNetworkType()).setMessage("purchaseBits:".concat(e.purchaseBits)).end(),this._parseConfig(e)}},{key:"_parseConfig",value:function(e){var t="".concat(this._className,"._parseConfig"),n=e.errorCode,o=e.errorMessage,r=e.purchaseBits,a=e.expiredTime;0===n?(this._purchasedFeatureHandler.parsePurchaseBits(r),this._expiredTime=Date.now()+1e3*a):et(n)?(Ge.log("".concat(t," failed. Invalid message format:"),e),this._setExpiredTimeOnResponseError(36e5)):(Ge.error("".concat(t," errorCode:").concat(n," errorMessage:").concat(o)),this._setExpiredTimeOnResponseError(12e4))}},{key:"_setExpiredTimeOnResponseError",value:function(e){this._expiredTime=Date.now()+e}},{key:"canIUse",value:function(e){return this._purchasedFeatureHandler.hasPurchasedFeature(e)}},{key:"isFeatureEnabled",value:function(e){return this._purchasedFeatureHandler.isFeatureEnabled(e)}},{key:"_getModule",value:function(e){return this._moduleManager.getModule(e)}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),this._expiredTime=0,this._isFetching=!1,this._purchasedFeatureHandler.clear()}}]),e}(),pi=function(e){c(o,e);var t=M(o);function o(e){var n;return a(this,o),(n=t.call(this,e))._moduleManager=e,n._className="OfflinePushModule",n._offlinePushPlugin=void 0,n._androidPushConfig={huaweiPushBussinessId:"",xiaomiPushBussinessId:"",xiaomiPushAppId:"",xiaomiPushAppKey:"",meizuPushBussinessId:"",meizuPushAppId:"",meizuPushAppKey:"",vivoPushBussinessId:"",fcmPushBussinessId:"",oppoPushBussinessId:"",oppoPushAppKey:"",oppoPushAppSecret:""},n._deviceToken="",n._businessID=0,n._iosBusinessID=0,n._c2cUnreadCount=0,n._groupUnreadCount=0,n._isWebUniapp=0,n}return i(o,[{key:"registerPlugin",value:function(e){if(te){this._offlinePushPlugin=e["tim-offline-push-plugin"];var t=e.offlinePushConfig||{},n=t.huaweiBusinessID,o=t.xiaomiBusinessID,r=t.xiaomiAppID,a=t.xiaomiAppKey,s=t.meizuBusinessID,i=t.meizuAppID,u=t.meizuAppKey,c=t.vivoBusinessID,d=t.oppoBusinessID,l=t.oppoAppKey,_=t.oppoAppSecret,p=t.iosBusinessID;this._androidPushConfig.huaweiPushBussinessId=n,this._androidPushConfig.xiaomiPushBussinessId=o,this._androidPushConfig.xiaomiPushAppId=r,this._androidPushConfig.xiaomiPushAppKey=a,this._androidPushConfig.meizuPushBussinessId=s,this._androidPushConfig.meizuPushAppId=i,this._androidPushConfig.meizuPushAppKey=u,this._androidPushConfig.vivoPushBussinessId=c,this._androidPushConfig.oppoPushBussinessId=d,this._androidPushConfig.oppoPushAppKey=l,this._androidPushConfig.oppoPushAppSecret=_,new Hr(jr.REGISTER_PLUGIN).setMessage("tim-offline-push-plugin").end(),this._iosBusinessID=p,this._setDeviceState(),Ge.log("".concat(this._className,".registerPlugin offlinePushConfig:").concat(e.offlinePushConfig))}else Ge.warn("!!!离线推送插件仅支持在 uni-app 打包的 native app 环境使用")}},{key:"init",value:function(){this._isWebUniapp=this.getUniAppPlatform(),this._getDeviceToken()}},{key:"_getDeviceToken",value:function(){var e=this;Ge.log("".concat(this._className,"._getDeviceToken androidPushConfig:").concat(JSON.stringify(this._androidPushConfig),", iosBusinessID:").concat(this._iosBusinessID)),!et(this._offlinePushPlugin)&&ot(this._offlinePushPlugin.getDeviceToken)&&this._offlinePushPlugin.getDeviceToken(this._androidPushConfig,(function(t){var n=t.data,o=n.deviceToken,r=n.deviceBrand,a=n.deviceType,s=n.bussinessId;e._deviceToken=o,e._businessID=s||e._iosBusinessID,new Hr(jr.GET_DEVICE_TOKEN).setMessage("androidPushConfig:".concat(JSON.stringify(e._androidPushConfig),", deviceToken:").concat(o,", deviceBrand:").concat(r||a,", businessID:").concat(e._businessID)).end(),e._setToken()}))}},{key:"canIUseOfflinePush",value:function(){return te&&!et(this._offlinePushPlugin)}},{key:"_setDeviceState",value:function(){var e=this;!et(this._offlinePushPlugin)&&ot(this._offlinePushPlugin.setAppShowListener)&&this._offlinePushPlugin.setAppShowListener((function(t){var n=t.appShow;e._moduleManager.isReady()&&(0===n?(e._getConvUnreadCount(),e._onBackground()):1===n&&e._onForeground())}))}},{key:"getDeviceBrand",value:function(){if(!et(this._offlinePushPlugin)&&ot(this._offlinePushPlugin.getDeviceType))return(this._offlinePushPlugin.getDeviceType()||{}).deviceType}},{key:"_setToken",value:function(){var e=this,t=this.getModule(hn),n=1,o="",r="";qt(this._deviceToken)&&(n=0);var a=this.getUniAppPlatform(),s=this.getDeviceBrand();Ge.log("".concat(this._className,".setToken platform:").concat(a)),a===P.IOS||a===P.IPAD||a===P.MAC?r=this._deviceToken:a===P.ANDROID&&(o=this._deviceToken);var i=new Hr(jr.OFFLINE_PUSH_SET_TOKEN);return i.setMessage("deviceToken:".concat(r||o,", businessID:").concat(this._businessID,", deviceBrand:").concat(s,", isWebUniapp:").concat(this._isWebUniapp,", pushMsg:").concat(n)),this.request({protocolName:kr,requestData:{tokenID:o,pushMsg:n,sdkAppID:t.getSDKAppID(),businessID:parseInt(this._businessID),deviceBrand:s,deviceToken:r,isWebUniapp:this._isWebUniapp}}).then((function(t){return i.setNetworkType(e.getNetworkType()).end(),Ge.log("".concat(e._className,".setToken ok")),t})).catch((function(t){return e.probeNetwork().then((function(e){var n=y(e,2),o=n[0],r=n[1];i.setError(t,o,r).end()})),Ge.error("".concat(e._className,".setToken failed. error:"),t),ma(t)}))}},{key:"_getConvUnreadCount",value:function(){var e=this;this._c2cUnreadCount=0,this._groupUnreadCount=0,this.getModule(pn).getLocalConversationList().forEach((function(t){t.type===C.CONV_C2C&&(e._c2cUnreadCount+=t.unreadCount),t.type===C.CONV_GROUP&&(e._groupUnreadCount+=t.unreadCount)}))}},{key:"_onBackground",value:function(){var e=this;this.request({protocolName:Tr,requestData:{c2cUnreadCount:this._c2cUnreadCount,groupUnreadCount:this._groupUnreadCount,isWebUniapp:this._isWebUniapp}}).then((function(t){return Ge.log("".concat(e._className,"._onBackground ok")),t})).catch((function(t){Ge.warn("".concat(e._className,"._onBackground error:"),t)}))}},{key:"_onForeground",value:function(){var e=this;this.request({protocolName:Dr,requestData:{isWebUniapp:this._isWebUniapp}}).then((function(t){return Ge.log("".concat(e._className,"._onForeground ok")),t})).catch((function(t){Ge.warn("".concat(e._className,"._onForeground error:"),t)}))}},{key:"getUniAppPlatform",value:function(){var e=n.getSystemInfoSync().platform,t=this.getDeviceBrand();return"ios"===e?P.IOS:"android"===e?P.ANDROID:1002===t?P.IPAD:1001===t?P.MAC:void 0}},{key:"reset",value:function(){this._deviceToken="",this._businessID=0,this._c2cUnreadCount=0,this._groupUnreadCount=0,this._isWebUniapp=0,Ge.log("".concat(this._className,".reset"))}}]),o}(bn),hi=function(){function e(t){a(this,e);var n=new Hr(jr.SDK_CONSTRUCT);this._className="ModuleManager",this._isReady=!1,this._reason=Ir.USER_NOT_LOGGED_IN,this._startLoginTs=0,this._moduleMap=new Map,this._innerEmitter=null,this._outerEmitter=null,this._checkCount=0,this._checkTimer=-1,this._moduleMap.set(hn,new us(this,t)),this._moduleMap.set(An,new _i(this)),this._moduleMap.set(In,new oi(this)),this._moduleMap.set(Sn,new di(this)),this._moduleMap.set(Cn,new ci(this)),this._moduleMap.set(Dn,new $s(this)),this._moduleMap.set(Tn,new ti(this)),this._moduleMap.set(rn,new cs(this)),this._moduleMap.set(an,new Es(this)),this._moduleMap.set(sn,new is(this)),this._moduleMap.set(un,new fa(this)),this._moduleMap.set(pn,new Ga(this)),this._moduleMap.set(cn,new za(this)),this._moduleMap.set(ln,new Xa(this)),this._moduleMap.set(_n,new ts(this)),this._moduleMap.set(mn,new ls(this)),this._moduleMap.set(fn,new hs(this)),this._moduleMap.set(gn,new Ms(this)),this._moduleMap.set(Mn,new vs(this)),this._moduleMap.set(yn,new Ts(this)),this._moduleMap.set(vn,new Cs(this)),this._moduleMap.set(Ln,new As(this)),this._moduleMap.set(kn,new ni(this)),this._moduleMap.set(En,new ri(this)),this._moduleMap.set(On,new pi(this)),this._eventThrottleMap=new Map;var o=t.instanceID,r=t.oversea,s=t.SDKAppID,i="instanceID:".concat(o," SDKAppID:").concat(s," host:").concat(Ot()," oversea:").concat(r," inBrowser:").concat(re," inMiniApp:").concat(oe)+" workerAvailable:".concat(De," UserAgent:").concat(ie);Hr.bindEventStatModule(this._moduleMap.get(fn)),n.setMessage("".concat(i," ").concat(function(){var e="";if(oe)try{var t=ae.getSystemInfoSync(),n=t.model,o=t.version,r=t.system,a=t.platform,s=t.SDKVersion;e="model:".concat(n," version:").concat(o," system:").concat(r," platform:").concat(a," SDKVersion:").concat(s)}catch(i){e=""}return e}())).end(),Ge.info("SDK ".concat(i)),this._readyList=void 0,this._ssoLogForReady=null,this._initReadyList()}return i(e,[{key:"_startTimer",value:function(){var e=this._moduleMap.get(Sn),t=e.isWorkerEnabled();Ge.log("".concat(this._className,".startTimer isWorkerEnabled:").concat(t," seed:").concat(this._checkTimer)),t?e.startWorkerTimer():this._startMainThreadTimer()}},{key:"_startMainThreadTimer",value:function(){Ge.log("".concat(this._className,"._startMainThreadTimer")),this._checkTimer<0&&(this._checkTimer=setInterval(this.onCheckTimer.bind(this),1e3))}},{key:"stopTimer",value:function(){var e=this._moduleMap.get(Sn),t=e.isWorkerEnabled();Ge.log("".concat(this._className,".stopTimer isWorkerEnabled:").concat(t," seed:").concat(this._checkTimer)),t?e.stopWorkerTimer():this._stopMainThreadTimer()}},{key:"_stopMainThreadTimer",value:function(){Ge.log("".concat(this._className,"._stopMainThreadTimer")),this._checkTimer>0&&(clearInterval(this._checkTimer),this._checkTimer=-1,this._checkCount=0)}},{key:"_stopMainThreadSocket",value:function(){Ge.log("".concat(this._className,"._stopMainThreadSocket"));var e=this._moduleMap.get(Dn);e.setIsWorkerEnabled(!0),e.reConnect()}},{key:"_startMainThreadSocket",value:function(){Ge.log("".concat(this._className,"._startMainThreadSocket"));var e=this._moduleMap.get(Dn);e.setIsWorkerEnabled(!1),e.reConnect()}},{key:"onWorkerTimerEnabled",value:function(){Ge.log("".concat(this._className,".onWorkerTimerEnabled, disable main thread timer and socket")),this._stopMainThreadTimer(),this._stopMainThreadSocket()}},{key:"onWorkerTimerDisabled",value:function(){Ge.log("".concat(this._className,".onWorkerTimerDisabled, enable main thread timer and socket")),this._startMainThreadTimer(),this._startMainThreadSocket()}},{key:"onCheckTimer",value:function(){this._checkCount+=1;var e,t=S(this._moduleMap);try{for(t.s();!(e=t.n()).done;){var n=y(e.value,2)[1];n.onCheckTimer&&n.onCheckTimer(this._checkCount)}}catch(a){t.e(a)}finally{t.f()}}},{key:"_initReadyList",value:function(){var e=this;this._readyList=[this._moduleMap.get(rn),this._moduleMap.get(pn)],this._readyList.forEach((function(t){t.ready((function(){return e._onModuleReady()}))}))}},{key:"_onModuleReady",value:function(){var e=!0;if(this._readyList.forEach((function(t){t.isReady()||(e=!1)})),e&&!this._isReady){this._isReady=!0,this._outerEmitter.emit(E.SDK_READY);var t=Date.now()-this._startLoginTs;Ge.warn("SDK is ready. cost ".concat(t," ms")),this._startLoginTs=Date.now();var n=this._moduleMap.get(gn).getNetworkType(),o=this._ssoLogForReady.getStartTs()+Oe;this._ssoLogForReady.setNetworkType(n).setMessage(t).start(o).end()}}},{key:"login",value:function(){0===this._startLoginTs&&(we(),this._startLoginTs=Date.now(),this._startTimer(),this._moduleMap.get(gn).start(),this._ssoLogForReady=new Hr(jr.SDK_READY),this._reason=Ir.LOGGING_IN)}},{key:"onLoginFailed",value:function(){this._startLoginTs=0}},{key:"getOuterEmitterInstance",value:function(){return null===this._outerEmitter&&(this._outerEmitter=new ys,pa(this._outerEmitter),this._outerEmitter._emit=this._outerEmitter.emit,this._outerEmitter.emit=function(e,t){var n=this;if(e===E.CONVERSATION_LIST_UPDATED||e===E.FRIEND_LIST_UPDATED||e===E.GROUP_LIST_UPDATED)if(this._eventThrottleMap.has(e)){var o=Date.now(),r=this._eventThrottleMap.get(e);o-r.last<1e3?(r.timeoutID&&clearTimeout(r.timeoutID),r.timeoutID=setTimeout((function(){r.last=o,n._outerEmitter._emit.apply(n._outerEmitter,[e,{name:e,data:n._getEventData(e)}])}),500)):(r.last=o,this._outerEmitter._emit.apply(this._outerEmitter,[e,{name:e,data:this._getEventData(e)}]))}else this._eventThrottleMap.set(e,{last:Date.now(),timeoutID:-1}),this._outerEmitter._emit.apply(this._outerEmitter,[e,{name:e,data:this._getEventData(e)}]);else this._outerEmitter._emit.apply(this._outerEmitter,[e,{name:e,data:arguments[1]}])}.bind(this)),this._outerEmitter}},{key:"_getEventData",value:function(e){return e===E.CONVERSATION_LIST_UPDATED?this._moduleMap.get(pn).getLocalConversationList():e===E.FRIEND_LIST_UPDATED?this._moduleMap.get(dn).getLocalFriendList(!1):e===E.GROUP_LIST_UPDATED?this._moduleMap.get(cn).getLocalGroupList():void 0}},{key:"getInnerEmitterInstance",value:function(){return null===this._innerEmitter&&(this._innerEmitter=new ys,this._innerEmitter._emit=this._innerEmitter.emit,this._innerEmitter.emit=function(e,t){var n;Ze(arguments[1])&&arguments[1].data?(Ge.warn("inner eventData has data property, please check!"),n=[e,{name:arguments[0],data:arguments[1].data}]):n=[e,{name:arguments[0],data:arguments[1]}],this._innerEmitter._emit.apply(this._innerEmitter,n)}.bind(this)),this._innerEmitter}},{key:"hasModule",value:function(e){return this._moduleMap.has(e)}},{key:"getModule",value:function(e){return this._moduleMap.get(e)}},{key:"isReady",value:function(){return this._isReady}},{key:"getNotReadyReason",value:function(){return this._reason}},{key:"setNotReadyReason",value:function(e){this._reason=e}},{key:"onError",value:function(e){Ge.warn("Oops! code:".concat(e.code," message:").concat(e.message)),new Hr(jr.ERROR).setMessage("code:".concat(e.code," message:").concat(e.message)).setNetworkType(this.getModule(gn).getNetworkType()).setLevel("error").end(),this.getOuterEmitterInstance().emit(E.ERROR,e)}},{key:"reset",value:function(){Ge.log("".concat(this._className,".reset")),we();var e,t=S(this._moduleMap);try{for(t.s();!(e=t.n()).done;){var n=y(e.value,2)[1];n.reset&&n.reset()}}catch(u){t.e(u)}finally{t.f()}this._startLoginTs=0,this._initReadyList(),this._isReady=!1,this.stopTimer(),this._outerEmitter.emit(E.SDK_NOT_READY);var o,r=S(this._eventThrottleMap);try{for(r.s();!(o=r.n()).done;){var a=y(o.value,2)[1];a.timeoutID&&clearTimeout(a.timeoutID)}}catch(u){r.e(u)}finally{r.f()}this._eventThrottleMap.clear()}}]),e}(),mi=function(){function e(){a(this,e),this._funcMap=new Map}return i(e,[{key:"defense",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if("string"!=typeof e)return null;if(0===e.length)return null;if("function"!=typeof t)return null;if(this._funcMap.has(e)&&this._funcMap.get(e).has(t))return this._funcMap.get(e).get(t);this._funcMap.has(e)||this._funcMap.set(e,new Map);var o=null;return this._funcMap.get(e).has(t)?o=this._funcMap.get(e).get(t):(o=this._pack(e,t,n),this._funcMap.get(e).set(t,o)),o}},{key:"defenseOnce",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return"function"!=typeof t?null:this._pack(e,t,n)}},{key:"find",value:function(e,t){return"string"!=typeof e||0===e.length||"function"!=typeof t?null:this._funcMap.has(e)?this._funcMap.get(e).has(t)?this._funcMap.get(e).get(t):(Ge.log("SafetyCallback.find: 找不到 func —— ".concat(e,"/").concat(""!==t.name?t.name:"[anonymous]")),null):(Ge.log("SafetyCallback.find: 找不到 eventName-".concat(e," 对应的 func")),null)}},{key:"delete",value:function(e,t){return"function"==typeof t&&!!this._funcMap.has(e)&&!!this._funcMap.get(e).has(t)&&(this._funcMap.get(e).delete(t),0===this._funcMap.get(e).size&&this._funcMap.delete(e),!0)}},{key:"_pack",value:function(e,t,n){return function(){try{t.apply(n,Array.from(arguments))}catch(u){var o=Object.values(E).indexOf(e);if(-1!==o){var r=Object.keys(E)[o];Ge.warn("接入侧事件 TIM.EVENT.".concat(r," 对应的回调函数逻辑存在问题,请检查!"),u)}var a=new Hr(jr.CALLBACK_FUNCTION_ERROR);a.setMessage("eventName:".concat(e)).setMoreMessage(u.message).end()}}}}]),e}(),fi=function(){function e(t){a(this,e);var n={SDKAppID:t.SDKAppID,unlimitedAVChatRoom:t.unlimitedAVChatRoom||!1,scene:t.scene||"",oversea:t.oversea||!1,instanceID:At(),devMode:t.devMode||!1,proxyServer:t.proxyServer||void 0};this._moduleManager=new hi(n),this._safetyCallbackFactory=new mi}return i(e,[{key:"onError",value:function(e){this._moduleManager.onError(e)}},{key:"login",value:function(e){return this._moduleManager.login(),this._moduleManager.getModule(rn).login(e)}},{key:"logout",value:function(){var e=this;return this._moduleManager.getModule(rn).logout().then((function(t){return e._moduleManager.reset(),t}))}},{key:"isReady",value:function(){return this._moduleManager.isReady()}},{key:"getNotReadyReason",value:function(){return this._moduleManager.getNotReadyReason()}},{key:"destroy",value:function(){var e=this;return this.logout().finally((function(){e._moduleManager.stopTimer(),e._moduleManager.getModule(Sn).terminate(),e._moduleManager.getModule(Dn).dealloc();var t=e._moduleManager.getOuterEmitterInstance(),n=e._moduleManager.getModule(hn);t.emit(E.SDK_DESTROY,{SDKAppID:n.getSDKAppID()})}))}},{key:"on",value:function(e,t,n){e===E.GROUP_SYSTEM_NOTICE_RECEIVED&&Ge.warn("!!!TIM.EVENT.GROUP_SYSTEM_NOTICE_RECEIVED v2.6.0起弃用,为了更好的体验,请在 TIM.EVENT.MESSAGE_RECEIVED 事件回调内接收处理群系统通知,详细请参考:https://web.sdk.qcloud.com/im/doc/zh-cn/Message.html#.GroupSystemNoticePayload"),Ge.debug("on","eventName:".concat(e)),this._moduleManager.getOuterEmitterInstance().on(e,this._safetyCallbackFactory.defense(e,t,n),n)}},{key:"once",value:function(e,t,n){Ge.debug("once","eventName:".concat(e)),this._moduleManager.getOuterEmitterInstance().once(e,this._safetyCallbackFactory.defenseOnce(e,t,n),n||this)}},{key:"off",value:function(e,t,n,o){Ge.debug("off","eventName:".concat(e));var r=this._safetyCallbackFactory.find(e,t);null!==r&&(this._moduleManager.getOuterEmitterInstance().off(e,r,n,o),this._safetyCallbackFactory.delete(e,t))}},{key:"registerPlugin",value:function(e){et(e["tim-offline-push-plugin"])?this._moduleManager.getModule(vn).registerPlugin(e):this._moduleManager.getModule(On).registerPlugin(e)}},{key:"setLogLevel",value:function(e){e<=0&&(console.log([""," ________ ______ __ __ __ __ ________ _______","| \\| \\| \\ / \\| \\ _ | \\| \\| \\"," \\$$$$$$$$ \\$$$$$$| $$\\ / $$| $$ / \\ | $$| $$$$$$$$| $$$$$$$\\"," | $$ | $$ | $$$\\ / $$$| $$/ $\\| $$| $$__ | $$__/ $$"," | $$ | $$ | $$$$\\ $$$$| $$ $$$\\ $$| $$ \\ | $$ $$"," | $$ | $$ | $$\\$$ $$ $$| $$ $$\\$$\\$$| $$$$$ | $$$$$$$\\"," | $$ _| $$_ | $$ \\$$$| $$| $$$$ \\$$$$| $$_____ | $$__/ $$"," | $$ | $$ \\| $$ \\$ | $$| $$$ \\$$$| $$ \\| $$ $$"," \\$$ \\$$$$$$ \\$$ \\$$ \\$$ \\$$ \\$$$$$$$$ \\$$$$$$$","",""].join("\n")),console.log("%cIM 智能客服,随时随地解决您的问题 →_→ https://cloud.tencent.com/act/event/smarty-service?from=im-doc","color:#006eff"),console.log("%c从v2.11.2起,SDK 支持了 WebSocket,小程序需要添加受信域名!升级指引: https://web.sdk.qcloud.com/im/doc/zh-cn/tutorial-02-upgradeguideline.html","color:#ff0000"),console.log(["","参考以下文档,会更快解决问题哦!(#^.^#)\n","SDK 更新日志: https://cloud.tencent.com/document/product/269/38492\n","SDK 接口文档: https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html\n","常见问题: https://web.sdk.qcloud.com/im/doc/zh-cn/tutorial-01-faq.html\n","反馈问题?戳我提 issue: https://github.com/tencentyun/TIMSDK/issues\n","如果您需要在生产环境关闭上面的日志,请 tim.setLogLevel(1)\n"].join("\n"))),Ge.setLevel(e)}},{key:"createTextMessage",value:function(e){return this._moduleManager.getModule(an).createTextMessage(e)}},{key:"createTextAtMessage",value:function(e){return this._moduleManager.getModule(an).createTextMessage(e)}},{key:"createImageMessage",value:function(e){return this._moduleManager.getModule(an).createImageMessage(e)}},{key:"createAudioMessage",value:function(e){return this._moduleManager.getModule(an).createAudioMessage(e)}},{key:"createVideoMessage",value:function(e){return this._moduleManager.getModule(an).createVideoMessage(e)}},{key:"createCustomMessage",value:function(e){return this._moduleManager.getModule(an).createCustomMessage(e)}},{key:"createFaceMessage",value:function(e){return this._moduleManager.getModule(an).createFaceMessage(e)}},{key:"createFileMessage",value:function(e){return this._moduleManager.getModule(an).createFileMessage(e)}},{key:"createLocationMessage",value:function(e){return this._moduleManager.getModule(an).createLocationMessage(e)}},{key:"createMergerMessage",value:function(e){return this._moduleManager.getModule(an).createMergerMessage(e)}},{key:"downloadMergerMessage",value:function(e){return e.type!==C.MSG_MERGER?ma(new la({code:Ir.MESSAGE_MERGER_TYPE_INVALID,message:Sr.MESSAGE_MERGER_TYPE_INVALID})):qt(e.payload.downloadKey)?ma(new la({code:Ir.MESSAGE_MERGER_KEY_INVALID,message:Sr.MESSAGE_MERGER_KEY_INVALID})):this._moduleManager.getModule(an).downloadMergerMessage(e).catch((function(e){return ma(new la({code:Ir.MESSAGE_MERGER_DOWNLOAD_FAIL,message:Sr.MESSAGE_MERGER_DOWNLOAD_FAIL}))}))}},{key:"createForwardMessage",value:function(e){return this._moduleManager.getModule(an).createForwardMessage(e)}},{key:"sendMessage",value:function(e,t){return e instanceof ra?this._moduleManager.getModule(an).sendMessageInstance(e,t):ma(new la({code:Ir.MESSAGE_SEND_NEED_MESSAGE_INSTANCE,message:Sr.MESSAGE_SEND_NEED_MESSAGE_INSTANCE}))}},{key:"callExperimentalAPI",value:function(e,t){return"handleGroupInvitation"===e?this._moduleManager.getModule(cn).handleGroupInvitation(t):"isCommercialAbilityEnabled"===e?this._moduleManager.getModule(An).isFeatureEnabled(t):ma(new la({code:Ir.INVALID_OPERATION,message:Sr.INVALID_OPERATION}))}},{key:"revokeMessage",value:function(e){return this._moduleManager.getModule(an).revokeMessage(e)}},{key:"resendMessage",value:function(e){return this._moduleManager.getModule(an).resendMessage(e)}},{key:"deleteMessage",value:function(e){return this._moduleManager.getModule(an).deleteMessage(e)}},{key:"modifyMessage",value:function(e){return this._moduleManager.getModule(an).modifyRemoteMessage(e)}},{key:"getMessageList",value:function(e){return this._moduleManager.getModule(pn).getMessageList(e)}},{key:"getMessageListHopping",value:function(e){return this._moduleManager.getModule(pn).getMessageListHopping(e)}},{key:"sendMessageReadReceipt",value:function(e){return this._moduleManager.getModule(pn).sendReadReceipt(e)}},{key:"getMessageReadReceiptList",value:function(e){return this._moduleManager.getModule(pn).getReadReceiptList(e)}},{key:"getGroupMessageReadMemberList",value:function(e){return this._moduleManager.getModule(cn).getReadReceiptDetail(e)}},{key:"findMessage",value:function(e){return this._moduleManager.getModule(pn).findMessage(e)}},{key:"setMessageRead",value:function(e){return this._moduleManager.getModule(pn).setMessageRead(e)}},{key:"getConversationList",value:function(e){return this._moduleManager.getModule(pn).getConversationList(e)}},{key:"getConversationProfile",value:function(e){return this._moduleManager.getModule(pn).getConversationProfile(e)}},{key:"deleteConversation",value:function(e){return this._moduleManager.getModule(pn).deleteConversation(e)}},{key:"pinConversation",value:function(e){return this._moduleManager.getModule(pn).pinConversation(e)}},{key:"setAllMessageRead",value:function(e){return this._moduleManager.getModule(pn).setAllMessageRead(e)}},{key:"setMessageRemindType",value:function(e){return this._moduleManager.getModule(pn).setMessageRemindType(e)}},{key:"setConversationCustomData",value:function(e){return this._moduleManager.getModule(pn).setConversationCustomData(e)}},{key:"markConversation",value:function(e){return this._moduleManager.getModule(pn).markConversation(e)}},{key:"getConversationGroupList",value:function(){return this._moduleManager.getModule(pn).getConversationGroupList()}},{key:"createConversationGroup",value:function(e){return this._moduleManager.getModule(pn).createConversationGroup(e)}},{key:"deleteConversationGroup",value:function(e){return this._moduleManager.getModule(pn).deleteConversationGroup(e)}},{key:"renameConversationGroup",value:function(e){return this._moduleManager.getModule(pn).renameConversationGroup(e)}},{key:"addConversationsToGroup",value:function(e){return this._moduleManager.getModule(pn).addConversationsToGroup(e)}},{key:"deleteConversationsFromGroup",value:function(e){return this._moduleManager.getModule(pn).deleteConversationsFromGroup(e)}},{key:"getMyProfile",value:function(){return this._moduleManager.getModule(sn).getMyProfile()}},{key:"getUserProfile",value:function(e){return this._moduleManager.getModule(sn).getUserProfile(e)}},{key:"updateMyProfile",value:function(e){return this._moduleManager.getModule(sn).updateMyProfile(e)}},{key:"getBlacklist",value:function(){return this._moduleManager.getModule(sn).getLocalBlacklist()}},{key:"addToBlacklist",value:function(e){return this._moduleManager.getModule(sn).addBlacklist(e)}},{key:"removeFromBlacklist",value:function(e){return this._moduleManager.getModule(sn).deleteBlacklist(e)}},{key:"setSelfStatus",value:function(e){return this._moduleManager.getModule(sn).setSelfStatus(e)}},{key:"getUserStatus",value:function(e){return this._moduleManager.getModule(sn).getUserStatus(e)}},{key:"subscribeUserStatus",value:function(e){return this._moduleManager.getModule(sn).subscribeUserStatus(e)}},{key:"unsubscribeUserStatus",value:function(e){return this._moduleManager.getModule(sn).unsubscribeUserStatus(e)}},{key:"getFriendList",value:function(){var e=this._moduleManager.getModule(dn);return e?e.getLocalFriendList():ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"addFriend",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.addFriend(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"deleteFriend",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.deleteFriend(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"checkFriend",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.checkFriend(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"getFriendProfile",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.getFriendProfile(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"updateFriend",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.updateFriend(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"getFriendApplicationList",value:function(){var e=this._moduleManager.getModule(dn);return e?e.getLocalFriendApplicationList():ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"acceptFriendApplication",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.acceptFriendApplication(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"refuseFriendApplication",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.refuseFriendApplication(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"deleteFriendApplication",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.deleteFriendApplication(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"setFriendApplicationRead",value:function(){var e=this._moduleManager.getModule(dn);return e?e.setFriendApplicationRead():ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"getFriendGroupList",value:function(){var e=this._moduleManager.getModule(dn);return e?e.getLocalFriendGroupList():ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"createFriendGroup",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.createFriendGroup(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"deleteFriendGroup",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.deleteFriendGroup(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"addToFriendGroup",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.addToFriendGroup(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"removeFromFriendGroup",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.removeFromFriendGroup(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"renameFriendGroup",value:function(e){var t=this._moduleManager.getModule(dn);return t?t.renameFriendGroup(e):ma({code:Ir.CANNOT_FIND_MODULE,message:Sr.CANNOT_FIND_MODULE})}},{key:"getGroupList",value:function(e){return this._moduleManager.getModule(cn).getGroupList(e)}},{key:"getGroupProfile",value:function(e){return this._moduleManager.getModule(cn).getGroupProfile(e)}},{key:"createGroup",value:function(e){return this._moduleManager.getModule(cn).createGroup(e)}},{key:"dismissGroup",value:function(e){return this._moduleManager.getModule(cn).dismissGroup(e)}},{key:"updateGroupProfile",value:function(e){return this._moduleManager.getModule(cn).updateGroupProfile(e)}},{key:"joinGroup",value:function(e){return this._moduleManager.getModule(cn).joinGroup(e)}},{key:"quitGroup",value:function(e){return this._moduleManager.getModule(cn).quitGroup(e)}},{key:"searchGroupByID",value:function(e){return this._moduleManager.getModule(cn).searchGroupByID(e)}},{key:"getGroupOnlineMemberCount",value:function(e){return this._moduleManager.getModule(cn).getGroupOnlineMemberCount(e)}},{key:"changeGroupOwner",value:function(e){return this._moduleManager.getModule(cn).changeGroupOwner(e)}},{key:"handleGroupApplication",value:function(e){return this._moduleManager.getModule(cn).handleGroupApplication(e)}},{key:"initGroupAttributes",value:function(e){return this._moduleManager.getModule(cn).initGroupAttributes(e)}},{key:"setGroupAttributes",value:function(e){return this._moduleManager.getModule(cn).setGroupAttributes(e)}},{key:"deleteGroupAttributes",value:function(e){return this._moduleManager.getModule(cn).deleteGroupAttributes(e)}},{key:"getGroupAttributes",value:function(e){return this._moduleManager.getModule(cn).getGroupAttributes(e)}},{key:"getGroupMemberList",value:function(e){return this._moduleManager.getModule(ln).getGroupMemberList(e)}},{key:"getGroupMemberProfile",value:function(e){return this._moduleManager.getModule(ln).getGroupMemberProfile(e)}},{key:"addGroupMember",value:function(e){return this._moduleManager.getModule(ln).addGroupMember(e)}},{key:"deleteGroupMember",value:function(e){return this._moduleManager.getModule(ln).deleteGroupMember(e)}},{key:"setGroupMemberMuteTime",value:function(e){return this._moduleManager.getModule(ln).setGroupMemberMuteTime(e)}},{key:"setGroupMemberRole",value:function(e){return this._moduleManager.getModule(ln).setGroupMemberRole(e)}},{key:"setGroupMemberNameCard",value:function(e){return this._moduleManager.getModule(ln).setGroupMemberNameCard(e)}},{key:"setGroupMemberCustomField",value:function(e){return this._moduleManager.getModule(ln).setGroupMemberCustomField(e)}},{key:"getJoinedCommunityList",value:function(){return this._moduleManager.getModule(_n).getJoinedCommunityList()}},{key:"createTopicInCommunity",value:function(e){return this._moduleManager.getModule(_n).createTopicInCommunity(e)}},{key:"deleteTopicFromCommunity",value:function(e){return this._moduleManager.getModule(_n).deleteTopicFromCommunity(e)}},{key:"updateTopicProfile",value:function(e){return this._moduleManager.getModule(_n).updateTopicProfile(e)}},{key:"getTopicList",value:function(e){return this._moduleManager.getModule(_n).getTopicList(e)}}]),e}(),gi={login:"login",logout:"logout",destroy:"destroy",on:"on",off:"off",ready:"ready",setLogLevel:"setLogLevel",joinGroup:"joinGroup",quitGroup:"quitGroup",registerPlugin:"registerPlugin",getGroupOnlineMemberCount:"getGroupOnlineMemberCount"};function Mi(e,t){if(e.isReady()||void 0!==gi[t])return!0;var n=e.getNotReadyReason(),o="";Object.getOwnPropertyNames(Ir).forEach((function(e){Ir[e]===n&&(o=Sr[e])}));var r={code:n,message:"".concat(o,"导致 sdk not ready。").concat(t," ").concat(Sr.SDK_IS_NOT_READY,",请参考 https://web.sdk.qcloud.com/im/doc/zh-cn/module-EVENT.html#.SDK_READY")};return e.onError(r),r}var yi={},vi={create:function(e){var t=0;if(ze(e.SDKAppID))t=e.SDKAppID;else if(Ge.warn("TIM.create SDKAppID 的类型应该为 Number,请修改!"),t=parseInt(e.SDKAppID),isNaN(t))return Ge.error("TIM.create failed. 解析 SDKAppID 失败,请检查传参!"),null;if(t&&yi[t])return yi[t];Ge.log("TIM.create");var n=new fi(o(o({},e),{},{SDKAppID:t}));n.on(E.SDK_DESTROY,(function(e){yi[e.data.SDKAppID]=null,delete yi[e.data.SDKAppID]}));var r=function(e){var t=Object.create(null);return Object.keys(on).forEach((function(n){if(e[n]){var o=on[n],r=new A;t[o]=function(){var t=Array.from(arguments);return r.use((function(t,o){var r=Mi(e,n);return!0===r?o():ma(r)})).use((function(e,t){if(!0===Bt(e,nn[n],o))return t()})).use((function(t,o){return e[n].apply(e,t)})),r.run(t)}}})),t}(n);return yi[t]=r,Ge.log("TIM.create ok"),r}};return vi.TYPES=C,vi.EVENT=E,vi.VERSION="2.22.1",Ge.log("TIM.VERSION: ".concat(vi.VERSION)),vi}))}).call(this,n("c8ba"),n("543d")["default"])},"9c96":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"9d2c":function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return o?r[n][0]:r[n][1]}var n=e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return n}))},a0b4:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e){return e%100===11||e%10!==1}function n(e,n,o,r){var a=e+" ";switch(o){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?a+(n||r?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?a+(n||r?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(r?"daga":"dögum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(r?"mánuði":"mánuðum"):n?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return t(e)?a+(n||r?"ár":"árum"):a+(n||r?"ár":"ári")}}var o=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},a0c4:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},a34a:function(e,t,n){e.exports=n("bbdd")},a7c9:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},aa27:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],o=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return o}))},ab45:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t}))},abda:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,o=e>=100?100:null;return e+(t[e]||t[n]||t[o])},week:{dow:1,doy:7}});return n}))},ac02:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n){var o={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+o[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n}))},ada4:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},o=e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return o}))},adae:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},aeba:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0957"),n("d72e"),n("0f14"),n("0ca2"),n("ec26"),n("8ff9"),n("1583"),n("3171"),n("4df2"),n("e99f"),n("378e"),n("eef4"),n("ee0a"),n("da0b"),n("c1a9"),n("611e"),n("29b3"),n("5845"),n("d117"),n("9013"),n("04ca"),n("59ac"),n("9acd"),n("c3ee"),n("fddf"),n("c9b3"),n("5502"),n("12ce"),n("ec6e"),n("40f1"),n("9935"),n("ff99"),n("b58f"))})(0,(function(e){return e}))},b1d7:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],o=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],r=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],a=["Do","Lu","Má","Cé","Dé","A","Sa"],s=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:o,weekdaysShort:r,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return s}))},b431:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},o=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return o}))},b58f:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0ca2"),n("8ff9"),n("611e"),n("29b3"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.StreamCipher,r=t.algo,a=[],s=[],i=[],u=r.RabbitLegacy=o.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(t){var a=t.words,s=a[0],i=a[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),l=u>>>16|4294901760&d,_=d<<16|65535&u;o[0]^=u,o[1]^=l,o[2]^=d,o[3]^=_,o[4]^=u,o[5]^=l,o[6]^=d,o[7]^=_;for(r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)a[o]=16711935&(a[o]<<8|a[o]>>>24)|4278255360&(a[o]<<24|a[o]>>>8),e[t+o]^=a[o]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<s[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<s[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<s[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<s[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<s[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<s[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<s[6]>>>0?1:0)|0,this._b=t[7]>>>0<s[7]>>>0?1:0;for(n=0;n<8;n++){var o=e[n]+t[n],r=65535&o,a=o>>>16,u=((r*r>>>17)+r*a>>>15)+a*a,c=((4294901760&o)*o|0)+((65535&o)*o|0);i[n]=u^c}e[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,e[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,e[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,e[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,e[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,e[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,e[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,e[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}t.RabbitLegacy=o._createHelper(u)}(),e.RabbitLegacy}))},b639:function(e,t,n){"use strict";(function(e){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var o=n("1fb5"),r=n("9152"),a=n("e3db");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function i(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return d(this,e,t,n)}function d(e,t,n,o){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?f(e,t,n,o):"string"===typeof t?h(e,t,n):g(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function _(e,t,n,o){return l(t),t<=0?u(e,t):void 0!==n?"string"===typeof o?u(e,t).fill(n,o):u(e,t).fill(n):u(e,t)}function p(e,t){if(l(t),e=u(e,t<0?0:0|M(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function h(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=0|v(t,n);e=u(e,o);var r=e.write(t,n);return r!==o&&(e=e.slice(0,r)),e}function m(e,t){var n=t.length<0?0:0|M(t.length);e=u(e,n);for(var o=0;o<n;o+=1)e[o]=255&t[o];return e}function f(e,t,n,o){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(o||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===o?new Uint8Array(t):void 0===o?new Uint8Array(t,n):new Uint8Array(t,n,o),c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=m(e,t),e}function g(e,t){if(c.isBuffer(t)){var n=0|M(t.length);return e=u(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?u(e,0):m(e,t);if("Buffer"===t.type&&a(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function M(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),c.alloc(+e)}function v(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(o)return J(e).length;t=(""+t).toLowerCase(),o=!0}}function L(e,t,n){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return G(this,t,n);case"utf8":case"utf-8":return w(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return Y(this,t,n);case"base64":return b(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function T(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function D(e,t,n,o,r){if(0===e.length)return-1;if("string"===typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof t&&(t=c.from(t,o)),c.isBuffer(t))return 0===t.length?-1:k(e,t,n,o,r);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):k(e,[t],n,o,r);throw new TypeError("val must be string, number or Buffer")}function k(e,t,n,o,r){var a,s=1,i=e.length,u=t.length;if(void 0!==o&&(o=String(o).toLowerCase(),"ucs2"===o||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;s=2,i/=2,u/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var d=-1;for(a=n;a<i;a++)if(c(e,a)===c(t,-1===d?0:a-d)){if(-1===d&&(d=a),a-d+1===u)return d*s}else-1!==d&&(a-=a-d),d=-1}else for(n+u>i&&(n=i-u),a=n;a>=0;a--){for(var l=!0,_=0;_<u;_++)if(c(e,a+_)!==c(t,_)){l=!1;break}if(l)return a}return-1}function I(e,t,n,o){n=Number(n)||0;var r=e.length-n;o?(o=Number(o),o>r&&(o=r)):o=r;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");o>a/2&&(o=a/2);for(var s=0;s<o;++s){var i=parseInt(t.substr(2*s,2),16);if(isNaN(i))return s;e[n+s]=i}return s}function S(e,t,n,o){return ee(J(t,e.length-n),e,n,o)}function E(e,t,n,o){return ee(X(t),e,n,o)}function C(e,t,n,o){return E(e,t,n,o)}function A(e,t,n,o){return ee(Q(t),e,n,o)}function O(e,t,n,o){return ee(Z(t,e.length-n),e,n,o)}function b(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function w(e,t,n){n=Math.min(e.length,n);var o=[],r=t;while(r<n){var a,s,i,u,c=e[r],d=null,l=c>239?4:c>223?3:c>191?2:1;if(r+l<=n)switch(l){case 1:c<128&&(d=c);break;case 2:a=e[r+1],128===(192&a)&&(u=(31&c)<<6|63&a,u>127&&(d=u));break;case 3:a=e[r+1],s=e[r+2],128===(192&a)&&128===(192&s)&&(u=(15&c)<<12|(63&a)<<6|63&s,u>2047&&(u<55296||u>57343)&&(d=u));break;case 4:a=e[r+1],s=e[r+2],i=e[r+3],128===(192&a)&&128===(192&s)&&128===(192&i)&&(u=(15&c)<<18|(63&a)<<12|(63&s)<<6|63&i,u>65535&&u<1114112&&(d=u))}null===d?(d=65533,l=1):d>65535&&(d-=65536,o.push(d>>>10&1023|55296),d=56320|1023&d),o.push(d),r+=l}return R(o)}t.Buffer=c,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:s(),t.kMaxLength=i(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return d(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return _(null,e,t,n)},c.allocUnsafe=function(e){return p(null,e)},c.allocUnsafeSlow=function(e){return p(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,o=t.length,r=0,a=Math.min(n,o);r<a;++r)if(e[r]!==t[r]){n=e[r],o=t[r];break}return n<o?-1:o<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var o=c.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var s=e[n];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(o,r),r+=s.length}return o},c.byteLength=v,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)T(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)T(this,t,t+3),T(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)T(this,t,t+7),T(this,t+1,t+6),T(this,t+2,t+5),T(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?w(this,0,e):L.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,o,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),t<0||n>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&t>=n)return 0;if(o>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,o>>>=0,r>>>=0,this===e)return 0;for(var a=r-o,s=n-t,i=Math.min(a,s),u=this.slice(o,r),d=e.slice(t,n),l=0;l<i;++l)if(u[l]!==d[l]){a=u[l],s=d[l];break}return a<s?-1:s<a?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return D(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return D(this,e,t,n,!1)},c.prototype.write=function(e,t,n,o){if(void 0===t)o="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)o=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var a=!1;;)switch(o){case"hex":return I(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var N=4096;function R(e){var t=e.length;if(t<=N)return String.fromCharCode.apply(String,e);var n="",o=0;while(o<t)n+=String.fromCharCode.apply(String,e.slice(o,o+=N));return n}function P(e,t,n){var o="";n=Math.min(e.length,n);for(var r=t;r<n;++r)o+=String.fromCharCode(127&e[r]);return o}function Y(e,t,n){var o="";n=Math.min(e.length,n);for(var r=t;r<n;++r)o+=String.fromCharCode(e[r]);return o}function G(e,t,n){var o=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>o)&&(n=o);for(var r="",a=t;a<n;++a)r+=z(e[a]);return r}function U(e,t,n){for(var o=e.slice(t,n),r="",a=0;a<o.length;a+=2)r+=String.fromCharCode(o[a]+256*o[a+1]);return r}function F(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function x(e,t,n,o,r,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<a)throw new RangeError('"value" argument is out of bounds');if(n+o>e.length)throw new RangeError("Index out of range")}function H(e,t,n,o){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r<a;++r)e[n+r]=(t&255<<8*(o?r:1-r))>>>8*(o?r:1-r)}function j(e,t,n,o){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r<a;++r)e[n+r]=t>>>8*(o?r:3-r)&255}function q(e,t,n,o,r,a){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,o,a){return a||q(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,o,23,4),n+4}function V(e,t,n,o,a){return a||q(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,o,52,8),n+8}c.prototype.slice=function(e,t){var n,o=this.length;if(e=~~e,t=void 0===t?o:~~t,e<0?(e+=o,e<0&&(e=0)):e>o&&(e=o),t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=c.prototype;else{var r=t-e;n=new c(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var o=this[e],r=1,a=0;while(++a<t&&(r*=256))o+=this[e+a]*r;return o},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var o=this[e+--t],r=1;while(t>0&&(r*=256))o+=this[e+--t]*r;return o},c.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var o=this[e],r=1,a=0;while(++a<t&&(r*=256))o+=this[e+a]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var o=t,r=1,a=this[e+--o];while(o>0&&(r*=256))a+=this[e+--o]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),r.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,o){if(e=+e,t|=0,n|=0,!o){var r=Math.pow(2,8*n)-1;x(this,e,t,n,r,0)}var a=1,s=0;this[t]=255&e;while(++s<n&&(a*=256))this[t+s]=e/a&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,o){if(e=+e,t|=0,n|=0,!o){var r=Math.pow(2,8*n)-1;x(this,e,t,n,r,0)}var a=n-1,s=1;this[t+a]=255&e;while(--a>=0&&(s*=256))this[t+a]=e/s&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);x(this,e,t,n,r-1,-r)}var a=0,s=1,i=0;this[t]=255&e;while(++a<n&&(s*=256))e<0&&0===i&&0!==this[t+a-1]&&(i=1),this[t+a]=(e/s>>0)-i&255;return t+n},c.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);x(this,e,t,n,r-1,-r)}var a=n-1,s=1,i=0;this[t+a]=255&e;while(--a>=0&&(s*=256))e<0&&0===i&&0!==this[t+a+1]&&(i=1),this[t+a]=(e/s>>0)-i&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return V(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return V(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<n&&(o=n),o===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-n&&(o=e.length-t+n);var r,a=o-n;if(this===e&&n<t&&t<o)for(r=a-1;r>=0;--r)e[r+t]=this[r+n];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},c.prototype.fill=function(e,t,n,o){if("string"===typeof e){if("string"===typeof t?(o=t,t=0,n=this.length):"string"===typeof n&&(o=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==o&&"string"!==typeof o)throw new TypeError("encoding must be a string");if("string"===typeof o&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=c.isBuffer(e)?e:J(new c(e,o).toString()),i=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%i]}return this};var W=/[^+\/0-9A-Za-z-_]/g;function K(e){if(e=$(e).replace(W,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function $(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function J(e,t){var n;t=t||1/0;for(var o=e.length,r=null,a=[],s=0;s<o;++s){if(n=e.charCodeAt(s),n>55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(s+1===o){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function X(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function Z(e,t){for(var n,o,r,a=[],s=0;s<e.length;++s){if((t-=2)<0)break;n=e.charCodeAt(s),o=n>>8,r=n%256,a.push(r),a.push(o)}return a}function Q(e){return o.toByteArray(K(e))}function ee(e,t,n,o){for(var r=0;r<o;++r){if(r+n>=t.length||r>=e.length)break;t[r+n]=e[r]}return r}function te(e){return e!==e}}).call(this,n("c8ba"))},b6f7:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},b8d0:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},b977:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var o=e%10,r=e%100-o,a=e>=100?100:null;return e+(t[o]||t[r]||t[a])}},week:{dow:1,doy:7}});return n}))},bbdd:function(e,t,n){var o=function(){return this||"object"===typeof self&&self}()||Function("return this")(),r=o.regeneratorRuntime&&Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime")>=0,a=r&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=n("96cf"),r)o.regeneratorRuntime=a;else try{delete o.regeneratorRuntime}catch(s){o.regeneratorRuntime=void 0}},bed3:function(e,t,n){(function(t){var n;n=function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function n(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){i(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c="undefined"!=typeof wx&&"function"==typeof wx.getSystemInfoSync&&Boolean(wx.getSystemInfoSync().fontSizeSetting),d="undefined"!=typeof qq&&"function"==typeof qq.getSystemInfoSync&&Boolean(qq.getSystemInfoSync().fontSizeSetting),l="undefined"!=typeof tt&&"function"==typeof tt.getSystemInfoSync&&Boolean(tt.getSystemInfoSync().fontSizeSetting),_="undefined"!=typeof swan&&"function"==typeof swan.getSystemInfoSync&&Boolean(swan.getSystemInfoSync().fontSizeSetting),p="undefined"!=typeof my&&"function"==typeof my.getSystemInfoSync&&Boolean(my.getSystemInfoSync().fontSizeSetting),h="undefined"!=typeof t&&"undefined"==typeof window,m=c||d||l||_||p||h,f=d?qq:l?tt:_?swan:p?my:c?wx:h?t:{},g=function(e){if("object"!==o(e)||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n};function M(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return 0===e;if("string"==typeof e)return 0===e.length;if("function"==typeof e)return 0===e.length;if(Array.isArray(e))return 0===e.length;if(e instanceof Error)return""===e.message;if(g(e)){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}return!1}var y=function(){function e(){r(this,e)}return s(e,[{key:"request",value:function(e,t){var n=this,o=e.downloadUrl||"",r=(e.method||"PUT").toUpperCase(),a=e.url;if(e.qs){var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"=";return M(e)?"":g(e)?Object.keys(e).map((function(o){var r=encodeURIComponent(o)+n;return Array.isArray(e[o])?e[o].map((function(e){return r+encodeURIComponent(e)})).join(t):r+encodeURIComponent(e[o])})).filter(Boolean).join(t):void 0}(e.qs);s&&(a+="".concat(-1===a.indexOf("?")?"?":"&").concat(s))}var i=new XMLHttpRequest;i.open(r,a,!0),i.responseType=e.dataType||"text";var u=e.headers||{};if(!M(u))for(var c in u)u.hasOwnProperty(c)&&"content-length"!==c.toLowerCase()&&"user-agent"!==c.toLowerCase()&&"origin"!==c.toLowerCase()&&"host"!==c.toLowerCase()&&i.setRequestHeader(c,u[c]);return i.onload=function(){if(200===i.status)t(null,n._xhrRes(i,n._xhrBody(i,o)));else{var e={code:i.status,message:JSON.stringify(i.responseText)};t(e,n._xhrRes(i,n._xhrBody(i)))}},i.onerror=function(e){var o=n._xhrBody(i),r={code:i.status,message:JSON.stringify(i.responseText)};o||i.statusText||0!==i.status||(e.message="CORS blocked or network error"),t(r,n._xhrRes(i,o)),r=null},e.onProgress&&i.upload&&(i.upload.onprogress=function(t){var n=t.total,o=t.loaded,r=Math.floor(100*o/n);e.onProgress({total:n,loaded:o,percent:(r>=100?100:r)/100})}),i.send(e.resources),i}},{key:"_xhrRes",value:function(e,t){var n={};return e.getAllResponseHeaders().trim().split("\n").forEach((function(e){if(e){var t=e.indexOf(":"),o=e.substr(0,t).trim().toLowerCase(),r=e.substr(t+1).trim();n[o]=r}})),{statusCode:e.status,statusMessage:e.statusText,headers:n,data:t}}},{key:"_xhrBody",value:function(e,t){return 200===e.status&&t?{location:t}:{response:e.responseText}}}]),e}(),v=["unknown","image","video","audio","log"],L=["name"],T=function(){function e(){r(this,e)}return s(e,[{key:"request",value:function(e,t){var o=this,r=e.resources,a=void 0===r?"":r,s=e.headers,i=void 0===s?{}:s,c=e.url,d=e.downloadUrl,l=void 0===d?"":d,_=null,h="",m=l.match(/^(https?:\/\/[^/]+\/)([^/]*\/?)(.*)$/),g={url:c,header:i,name:"file",filePath:a,formData:{key:h=(h=decodeURIComponent(m[3])).indexOf("?")>-1?h.split("?")[0]:h,success_action_status:200,"Content-Type":""},timeout:e.timeout||3e5};if(p){var M=g;M.name,g=n(n({},u(M,L)),{},{fileName:"file",fileType:v[e.fileType]})}return(_=f.uploadFile(n(n({},g),{},{success:function(e){o._handleResponse({response:e,downloadUrl:l,callback:t})},fail:function(e){o._handleResponse({response:e,downloadUrl:l,callback:t})}}))).onProgressUpdate((function(t){e.onProgress&&e.onProgress({total:t.totalBytesExpectedToSend,loaded:t.totalBytesSent,percent:Math.floor(t.progress)/100})})),_}},{key:"_handleResponse",value:function(e){var t=e.downloadUrl,o=e.response,r=e.callback,a=o.header,s={};if(a)for(var i in a)a.hasOwnProperty(i)&&(s[i.toLowerCase()]=a[i]);var u=+o.statusCode;200===u?r(null,{statusCode:u,headers:s,data:n(n({},o.data),{},{location:t})}):r({code:u,message:JSON.stringify(o.data)},{statusCode:u,headers:s,data:void 0})}}]),e}();return function(){function e(){r(this,e),console.log("TIMUploadPlugin.VERSION: ".concat("1.0.5")),this.retry=1,this.tryCount=0,this.systemClockOffset=0,this.httpRequest=m?new T:new y}return s(e,[{key:"uploadFile",value:function(e,t){var n=this;return this.httpRequest.request(e,(function(o,r){o&&n.tryCount<n.retry&&n.allowRetry(o)?(n.tryCount++,n.uploadFile(e,t)):(n.tryCount=0,t(o,r))}))}},{key:"allowRetry",value:function(e){var t=!1,n=!1;if(e){var o=e.headers&&(e.headers.date||e.headers.Date)||e.error&&e.error.ServerTime;try{var r=e.error&&e.error.Code,a=e.error&&e.error.Message;("RequestTimeTooSkewed"===r||"AccessDenied"===r&&"Request has expired"===a)&&(n=!0)}catch(c){}if(n&&o){var s=Date.now(),i=Date.parse(o);Math.abs(s+this.systemClockOffset-i)>=3e4&&(this.systemClockOffset=i-s,t=!0)}else 5===Math.floor(e.statusCode/100)&&(t=!0)}return t}}]),e}()},e.exports=n()}).call(this,n("543d")["default"])},bf59:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+n},week:{dow:1,doy:4}});return t}))},c002:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,o,r){var a,s=t.words[o];return 1===o.length?"y"===o&&n?"једна година":r||n?s[0]:s[1]:(a=t.correctGrammaticalCase(e,s),"yy"===o&&n&&"годину"===a?e+" година":e+" "+a)}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},c1a9:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("1583"),n("da0b"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.Base,r=n.WordArray,a=t.algo,s=a.SHA1,i=a.HMAC,u=a.PBKDF2=o.extend({cfg:o.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,o=i.create(n.hasher,e),a=r.create(),s=r.create([1]),u=a.words,c=s.words,d=n.keySize,l=n.iterations;while(u.length<d){var _=o.update(t).finalize(s);o.reset();for(var p=_.words,h=p.length,m=_,f=1;f<l;f++){m=o.finalize(m),o.reset();for(var g=m.words,M=0;M<h;M++)p[M]^=g[M]}a.concat(_),c[0]++}return a.sigBytes=4*d,a}});t.PBKDF2=function(e,t,n){return u.create(n).compute(e,t)}}(),e.PBKDF2}))},c31e:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},c3ee:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.pad.Iso10126={pad:function(t,n){var o=4*n,r=o-t.sigBytes%o;t.concat(e.lib.WordArray.random(r-1)).concat(e.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126}))},c40e:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function o(e,t,n,o){var a="";switch(n){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":a=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":a=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta";break}return a=r(e,o)+" "+a,a}function r(e,o){return e<10?o?n[e]:t[e]:e}var a=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},c49c:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},o=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return o}))},c861:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},c8b2:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n,o){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===typeof window&&(n=window)}e.exports=n},c9b3:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},c9e4:function(e,t,n){"use strict";function o(e){var t=6e4,n=60*t,o=24*n,r=7*o,a=(new Date).getTime(),s=a-e,i="";if(!(s<0)){var u=s/t,c=s/n,d=s/o,l=s/r;if(l>=1&&l<=4)i=" ".concat(parseInt(l,10),"周前");else if(d>=1&&d<=6)i=" ".concat(parseInt(d,10),"天前");else if(c>=1&&c<=23)i=" ".concat(parseInt(c,10),"小时前");else if(u>=1&&u<=59)i=" ".concat(parseInt(u,10),"分钟前");else if(s>=0&&s<=t)i="刚刚";else{var _=new Date;_.setTime(e);var p=_.getFullYear(),h=_.getMonth()+1<10?"0".concat(_.getMonth()+1):_.getMonth()+1,m=_.getDate()<10?"0".concat(_.getDate()):_.getDate();i="".concat(p,"-").concat(h,"-").concat(m)}return i}}function r(e){var t,n,o,r,a=e;return a>=3600?(n=parseInt(a/3600)<10?"0".concat(parseInt(a/3600)):parseInt(a/3600),o=parseInt(a%60/60)<10?"0".concat(parseInt(a%60/60)):parseInt(a%60/60),r=a%3600<10?"0".concat(a%3600):a%3600,r>60&&(o=parseInt(r/60)<10?"0".concat(parseInt(r/60)):parseInt(r/60),r=r%60<10?"0".concat(r%60):r%60),t="".concat(n,":").concat(o,":").concat(r)):a>=60&&a<3600?(o=parseInt(a/60)<10?"0".concat(parseInt(a/60)):parseInt(a/60),r=a%60<10?"0".concat(a%60):a%60,t="00:".concat(o,":").concat(r)):a<60&&(r=a<10?"0".concat(a):a,t="00:00:".concat(r)),t}Object.defineProperty(t,"__esModule",{value:!0}),t.caculateTimeago=o,t.formateTime=r},cee4:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},o=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],r=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],a=e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:o,longMonthsParse:o,shortMonthsParse:r,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return a}))},d019:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},d117:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,r=this._iv,a=this._counter;r&&(a=this._counter=r.slice(0),this._iv=void 0);var s=a.slice(0);n.encryptBlock(s,0),a[o-1]=a[o-1]+1|0;for(var i=0;i<o;i++)e[t+i]^=s[i]}});return t.Decryptor=n,t}(),e.mode.CTR}))},d143:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return o}))},d2a7:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,o){return e?/-MMM-/.test(o)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,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}))},d2f6:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t,n){var o=e+" ";switch(n){case"ss":return o+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",o;case"m":return t?"jedna minuta":"jedne minute";case"mm":return o+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",o;case"h":return t?"jedan sat":"jednog sata";case"hh":return o+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",o;case"dd":return o+=1===e?"dan":"dana",o;case"MM":return o+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",o;case"yy":return o+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",o}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},d5cd:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},d6c9:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},o=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return o}))},d6e6:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t}))},d72e:function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,o=n.WordArray,r=o.init,a=o.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],o=0;o<t;o++)n[o>>>2]|=e[o]<<24-o%4*8;r.call(this,n,t)}else r.apply(this,arguments)};a.prototype=o}}(),e.lib.WordArray}))},d7c0:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},da0b:function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){(function(){var t=e,n=t.lib,o=n.Base,r=t.enc,a=r.Utf8,s=t.algo;s.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),s=this._iKey=t.clone(),i=r.words,u=s.words,c=0;c<n;c++)i[c]^=1549556828,u[c]^=909522486;r.sigBytes=s.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);t.reset();var o=t.finalize(this._oKey.clone().concat(n));return o}})})()}))},dad7:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],r=e.defineLocale("ku",{months:o,monthsShort:o,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,n){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return r}))},dbb0:function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var a={KEY_ERR:311,KEY_ERR_MSG:"key格式错误",PARAM_ERR:310,PARAM_ERR_MSG:"请求参数信息有误",SYSTEM_ERR:600,SYSTEM_ERR_MSG:"系统错误",WX_ERR_CODE:1e3,WX_OK_CODE:200},s="https://apis.map.qq.com/ws/",i=s+"place/v1/search",u=s+"place/v1/suggestion",c=s+"geocoder/v1/",d=s+"district/v1/list",l=s+"district/v1/getchildren",_=s+"distance/v1/",p=s+"direction/v1/",h={driving:"driving",transit:"transit"},m=6378136.49,f={safeAdd:function(e,t){var n=(65535&e)+(65535&t),o=(e>>16)+(t>>16)+(n>>16);return o<<16|65535&n},bitRotateLeft:function(e,t){return e<<t|e>>>32-t},md5cmn:function(e,t,n,o,r,a){return this.safeAdd(this.bitRotateLeft(this.safeAdd(this.safeAdd(t,e),this.safeAdd(o,a)),r),n)},md5ff:function(e,t,n,o,r,a,s){return this.md5cmn(t&n|~t&o,e,t,r,a,s)},md5gg:function(e,t,n,o,r,a,s){return this.md5cmn(t&o|n&~o,e,t,r,a,s)},md5hh:function(e,t,n,o,r,a,s){return this.md5cmn(t^n^o,e,t,r,a,s)},md5ii:function(e,t,n,o,r,a,s){return this.md5cmn(n^(t|~o),e,t,r,a,s)},binlMD5:function(e,t){var n,o,r,a,s;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var i=1732584193,u=-271733879,c=-1732584194,d=271733878;for(n=0;n<e.length;n+=16)o=i,r=u,a=c,s=d,i=this.md5ff(i,u,c,d,e[n],7,-680876936),d=this.md5ff(d,i,u,c,e[n+1],12,-389564586),c=this.md5ff(c,d,i,u,e[n+2],17,606105819),u=this.md5ff(u,c,d,i,e[n+3],22,-1044525330),i=this.md5ff(i,u,c,d,e[n+4],7,-176418897),d=this.md5ff(d,i,u,c,e[n+5],12,1200080426),c=this.md5ff(c,d,i,u,e[n+6],17,-1473231341),u=this.md5ff(u,c,d,i,e[n+7],22,-45705983),i=this.md5ff(i,u,c,d,e[n+8],7,1770035416),d=this.md5ff(d,i,u,c,e[n+9],12,-1958414417),c=this.md5ff(c,d,i,u,e[n+10],17,-42063),u=this.md5ff(u,c,d,i,e[n+11],22,-1990404162),i=this.md5ff(i,u,c,d,e[n+12],7,1804603682),d=this.md5ff(d,i,u,c,e[n+13],12,-40341101),c=this.md5ff(c,d,i,u,e[n+14],17,-1502002290),u=this.md5ff(u,c,d,i,e[n+15],22,1236535329),i=this.md5gg(i,u,c,d,e[n+1],5,-165796510),d=this.md5gg(d,i,u,c,e[n+6],9,-1069501632),c=this.md5gg(c,d,i,u,e[n+11],14,643717713),u=this.md5gg(u,c,d,i,e[n],20,-373897302),i=this.md5gg(i,u,c,d,e[n+5],5,-701558691),d=this.md5gg(d,i,u,c,e[n+10],9,38016083),c=this.md5gg(c,d,i,u,e[n+15],14,-660478335),u=this.md5gg(u,c,d,i,e[n+4],20,-405537848),i=this.md5gg(i,u,c,d,e[n+9],5,568446438),d=this.md5gg(d,i,u,c,e[n+14],9,-1019803690),c=this.md5gg(c,d,i,u,e[n+3],14,-187363961),u=this.md5gg(u,c,d,i,e[n+8],20,1163531501),i=this.md5gg(i,u,c,d,e[n+13],5,-1444681467),d=this.md5gg(d,i,u,c,e[n+2],9,-51403784),c=this.md5gg(c,d,i,u,e[n+7],14,1735328473),u=this.md5gg(u,c,d,i,e[n+12],20,-1926607734),i=this.md5hh(i,u,c,d,e[n+5],4,-378558),d=this.md5hh(d,i,u,c,e[n+8],11,-2022574463),c=this.md5hh(c,d,i,u,e[n+11],16,1839030562),u=this.md5hh(u,c,d,i,e[n+14],23,-35309556),i=this.md5hh(i,u,c,d,e[n+1],4,-1530992060),d=this.md5hh(d,i,u,c,e[n+4],11,1272893353),c=this.md5hh(c,d,i,u,e[n+7],16,-155497632),u=this.md5hh(u,c,d,i,e[n+10],23,-1094730640),i=this.md5hh(i,u,c,d,e[n+13],4,681279174),d=this.md5hh(d,i,u,c,e[n],11,-358537222),c=this.md5hh(c,d,i,u,e[n+3],16,-722521979),u=this.md5hh(u,c,d,i,e[n+6],23,76029189),i=this.md5hh(i,u,c,d,e[n+9],4,-640364487),d=this.md5hh(d,i,u,c,e[n+12],11,-421815835),c=this.md5hh(c,d,i,u,e[n+15],16,530742520),u=this.md5hh(u,c,d,i,e[n+2],23,-995338651),i=this.md5ii(i,u,c,d,e[n],6,-198630844),d=this.md5ii(d,i,u,c,e[n+7],10,1126891415),c=this.md5ii(c,d,i,u,e[n+14],15,-1416354905),u=this.md5ii(u,c,d,i,e[n+5],21,-57434055),i=this.md5ii(i,u,c,d,e[n+12],6,1700485571),d=this.md5ii(d,i,u,c,e[n+3],10,-1894986606),c=this.md5ii(c,d,i,u,e[n+10],15,-1051523),u=this.md5ii(u,c,d,i,e[n+1],21,-2054922799),i=this.md5ii(i,u,c,d,e[n+8],6,1873313359),d=this.md5ii(d,i,u,c,e[n+15],10,-30611744),c=this.md5ii(c,d,i,u,e[n+6],15,-1560198380),u=this.md5ii(u,c,d,i,e[n+13],21,1309151649),i=this.md5ii(i,u,c,d,e[n+4],6,-145523070),d=this.md5ii(d,i,u,c,e[n+11],10,-1120210379),c=this.md5ii(c,d,i,u,e[n+2],15,718787259),u=this.md5ii(u,c,d,i,e[n+9],21,-343485551),i=this.safeAdd(i,o),u=this.safeAdd(u,r),c=this.safeAdd(c,a),d=this.safeAdd(d,s);return[i,u,c,d]},binl2rstr:function(e){var t,n="",o=32*e.length;for(t=0;t<o;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n},rstr2binl:function(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var o=8*e.length;for(t=0;t<o;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n},rstrMD5:function(e){return this.binl2rstr(this.binlMD5(this.rstr2binl(e),8*e.length))},rstrHMACMD5:function(e,t){var n,o,r=this.rstr2binl(e),a=[],s=[];for(a[15]=s[15]=void 0,r.length>16&&(r=this.binlMD5(r,8*e.length)),n=0;n<16;n+=1)a[n]=909522486^r[n],s[n]=1549556828^r[n];return o=this.binlMD5(a.concat(this.rstr2binl(t)),512+8*t.length),this.binl2rstr(this.binlMD5(s.concat(o),640))},rstr2hex:function(e){var t,n,o="0123456789abcdef",r="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),r+=o.charAt(t>>>4&15)+o.charAt(15&t);return r},str2rstrUTF8:function(e){return unescape(encodeURIComponent(e))},rawMD5:function(e){return this.rstrMD5(this.str2rstrUTF8(e))},hexMD5:function(e){return this.rstr2hex(this.rawMD5(e))},rawHMACMD5:function(e,t){return this.rstrHMACMD5(this.str2rstrUTF8(e),str2rstrUTF8(t))},hexHMACMD5:function(e,t){return this.rstr2hex(this.rawHMACMD5(e,t))},md5:function(e,t,n){return t?n?this.rawHMACMD5(t,e):this.hexHMACMD5(t,e):n?this.rawMD5(e):this.hexMD5(e)},getSig:function(e,t,n,o){var r=null,a=[];return Object.keys(e).sort().forEach((function(t){a.push(t+"="+e[t])})),"search"==n&&(r="/ws/place/v1/search?"+a.join("&")+t),"suggest"==n&&(r="/ws/place/v1/suggestion?"+a.join("&")+t),"reverseGeocoder"==n&&(r="/ws/geocoder/v1/?"+a.join("&")+t),"geocoder"==n&&(r="/ws/geocoder/v1/?"+a.join("&")+t),"getCityList"==n&&(r="/ws/district/v1/list?"+a.join("&")+t),"getDistrictByCityId"==n&&(r="/ws/district/v1/getchildren?"+a.join("&")+t),"calculateDistance"==n&&(r="/ws/distance/v1/?"+a.join("&")+t),"direction"==n&&(r="/ws/direction/v1/"+o+"?"+a.join("&")+t),r=this.md5(r),r},location2query:function(e){if("string"==typeof e)return e;for(var t="",n=0;n<e.length;n++){var o=e[n];t&&(t+=";"),o.location&&(t=t+o.location.lat+","+o.location.lng),o.latitude&&o.longitude&&(t=t+o.latitude+","+o.longitude)}return t},rad:function(e){return e*Math.PI/180},getEndLocation:function(e){for(var t=e.split(";"),n=[],o=0;o<t.length;o++)n.push({lat:parseFloat(t[o].split(",")[0]),lng:parseFloat(t[o].split(",")[1])});return n},getDistance:function(e,t,n,o){var r=this.rad(e),a=this.rad(n),s=r-a,i=this.rad(t)-this.rad(o),u=2*Math.asin(Math.sqrt(Math.pow(Math.sin(s/2),2)+Math.cos(r)*Math.cos(a)*Math.pow(Math.sin(i/2),2)));return u*=m,u=Math.round(1e4*u)/1e4,parseFloat(u.toFixed(0))},getWXLocation:function(e,t,n){wx.getFuzzyLocation({type:"gcj02",success:e,fail:t,complete:n})},getLocationParam:function(e){if("string"==typeof e){var t=e.split(",");e=2===t.length?{latitude:e.split(",")[0],longitude:e.split(",")[1]}:{}}return e},polyfillParam:function(e){e.success=e.success||function(){},e.fail=e.fail||function(){},e.complete=e.complete||function(){}},checkParamKeyEmpty:function(e,t){if(!e[t]){var n=this.buildErrorConfig(a.PARAM_ERR,a.PARAM_ERR_MSG+t+"参数格式有误");return e.fail(n),e.complete(n),!0}return!1},checkKeyword:function(e){return!this.checkParamKeyEmpty(e,"keyword")},checkLocation:function(e){var t=this.getLocationParam(e.location);if(!t||!t.latitude||!t.longitude){var n=this.buildErrorConfig(a.PARAM_ERR,a.PARAM_ERR_MSG+" location参数格式有误");return e.fail(n),e.complete(n),!1}return!0},buildErrorConfig:function(e,t){return{status:e,message:t}},handleData:function(e,t,n){if("search"==n){for(var o=t.data,r=[],a=0;a<o.length;a++)r.push({id:o[a].id||null,title:o[a].title||null,latitude:o[a].location&&o[a].location.lat||null,longitude:o[a].location&&o[a].location.lng||null,address:o[a].address||null,category:o[a].category||null,tel:o[a].tel||null,adcode:o[a].ad_info&&o[a].ad_info.adcode||null,city:o[a].ad_info&&o[a].ad_info.city||null,district:o[a].ad_info&&o[a].ad_info.district||null,province:o[a].ad_info&&o[a].ad_info.province||null});e.success(t,{searchResult:o,searchSimplify:r})}else if("suggest"==n){var s=t.data,i=[];for(a=0;a<s.length;a++)i.push({adcode:s[a].adcode||null,address:s[a].address||null,category:s[a].category||null,city:s[a].city||null,district:s[a].district||null,id:s[a].id||null,latitude:s[a].location&&s[a].location.lat||null,longitude:s[a].location&&s[a].location.lng||null,province:s[a].province||null,title:s[a].title||null,type:s[a].type||null});e.success(t,{suggestResult:s,suggestSimplify:i})}else if("reverseGeocoder"==n){var u=t.result,c={address:u.address||null,latitude:u.location&&u.location.lat||null,longitude:u.location&&u.location.lng||null,adcode:u.ad_info&&u.ad_info.adcode||null,city:u.address_component&&u.address_component.city||null,district:u.address_component&&u.address_component.district||null,nation:u.address_component&&u.address_component.nation||null,province:u.address_component&&u.address_component.province||null,street:u.address_component&&u.address_component.street||null,street_number:u.address_component&&u.address_component.street_number||null,recommend:u.formatted_addresses&&u.formatted_addresses.recommend||null,rough:u.formatted_addresses&&u.formatted_addresses.rough||null};if(u.pois){var d=u.pois,l=[];for(a=0;a<d.length;a++)l.push({id:d[a].id||null,title:d[a].title||null,latitude:d[a].location&&d[a].location.lat||null,longitude:d[a].location&&d[a].location.lng||null,address:d[a].address||null,category:d[a].category||null,adcode:d[a].ad_info&&d[a].ad_info.adcode||null,city:d[a].ad_info&&d[a].ad_info.city||null,district:d[a].ad_info&&d[a].ad_info.district||null,province:d[a].ad_info&&d[a].ad_info.province||null});e.success(t,{reverseGeocoderResult:u,reverseGeocoderSimplify:c,pois:d,poisSimplify:l})}else e.success(t,{reverseGeocoderResult:u,reverseGeocoderSimplify:c})}else if("geocoder"==n){var _=t.result,p={title:_.title||null,latitude:_.location&&_.location.lat||null,longitude:_.location&&_.location.lng||null,adcode:_.ad_info&&_.ad_info.adcode||null,province:_.address_components&&_.address_components.province||null,city:_.address_components&&_.address_components.city||null,district:_.address_components&&_.address_components.district||null,street:_.address_components&&_.address_components.street||null,street_number:_.address_components&&_.address_components.street_number||null,level:_.level||null};e.success(t,{geocoderResult:_,geocoderSimplify:p})}else if("getCityList"==n){var h=t.result[0],m=t.result[1],f=t.result[2];e.success(t,{provinceResult:h,cityResult:m,districtResult:f})}else if("getDistrictByCityId"==n){var g=t.result[0];e.success(t,g)}else if("calculateDistance"==n){var M=t.result.elements,y=[];for(a=0;a<M.length;a++)y.push(M[a].distance);e.success(t,{calculateDistanceResult:M,distance:y})}else if("direction"==n){var v=t.result.routes;e.success(t,v)}else e.success(t)},buildWxRequestConfig:function(e,t,n){var o=this;return t.header={"content-type":"application/json"},t.method="GET",t.success=function(t){var r=t.data;0===r.status?o.handleData(e,r,n):e.fail(r)},t.fail=function(t){t.statusCode=a.WX_ERR_CODE,e.fail(o.buildErrorConfig(a.WX_ERR_CODE,t.errMsg))},t.complete=function(t){var n=+t.statusCode;switch(n){case a.WX_ERR_CODE:e.complete(o.buildErrorConfig(a.WX_ERR_CODE,t.errMsg));break;case a.WX_OK_CODE:var r=t.data;0===r.status?e.complete(r):e.complete(o.buildErrorConfig(r.status,r.message));break;default:e.complete(o.buildErrorConfig(a.SYSTEM_ERR,a.SYSTEM_ERR_MSG))}},t},locationProcess:function(e,t,n,o){var r=this;if(n=n||function(t){t.statusCode=a.WX_ERR_CODE,e.fail(r.buildErrorConfig(a.WX_ERR_CODE,t.errMsg))},o=o||function(t){t.statusCode==a.WX_ERR_CODE&&e.complete(r.buildErrorConfig(a.WX_ERR_CODE,t.errMsg))},e.location){if(r.checkLocation(e)){var s=f.getLocationParam(e.location);t(s)}}else r.getWXLocation(t,n,o)}},g=function(){"use strict";function e(t){if(n(this,e),!t.key)throw Error("key值不能为空");this.key=t.key}return r(e,[{key:"search",value:function(e){var t=this;if(e=e||{},f.polyfillParam(e),f.checkKeyword(e)){var n={keyword:e.keyword,orderby:e.orderby||"_distance",page_size:e.page_size||10,page_index:e.page_index||1,output:"json",key:t.key};e.address_format&&(n.address_format=e.address_format),e.filter&&(n.filter=e.filter);var o=e.distance||"1000",r=e.auto_extend||1,a=null,s=null;e.region&&(a=e.region),e.rectangle&&(s=e.rectangle);var u=function(t){a&&!s?(n.boundary="region("+a+","+r+","+t.latitude+","+t.longitude+")",e.sig&&(n.sig=f.getSig(n,e.sig,"search"))):s&&!a?(n.boundary="rectangle("+s+")",e.sig&&(n.sig=f.getSig(n,e.sig,"search"))):(n.boundary="nearby("+t.latitude+","+t.longitude+","+o+","+r+")",e.sig&&(n.sig=f.getSig(n,e.sig,"search"))),wx.request(f.buildWxRequestConfig(e,{url:i,data:n},"search"))};f.locationProcess(e,u)}}},{key:"getSuggestion",value:function(e){var t=this;if(e=e||{},f.polyfillParam(e),f.checkKeyword(e)){var n={keyword:e.keyword,region:e.region||"全国",region_fix:e.region_fix||0,policy:e.policy||0,page_size:e.page_size||10,page_index:e.page_index||1,get_subpois:e.get_subpois||0,output:"json",key:t.key};if(e.address_format&&(n.address_format=e.address_format),e.filter&&(n.filter=e.filter),e.location){var o=function(t){n.location=t.latitude+","+t.longitude,e.sig&&(n.sig=f.getSig(n,e.sig,"suggest")),wx.request(f.buildWxRequestConfig(e,{url:u,data:n},"suggest"))};f.locationProcess(e,o)}else e.sig&&(n.sig=f.getSig(n,e.sig,"suggest")),wx.request(f.buildWxRequestConfig(e,{url:u,data:n},"suggest"))}}},{key:"reverseGeocoder",value:function(e){var t=this;e=e||{},f.polyfillParam(e);var n={coord_type:e.coord_type||5,get_poi:e.get_poi||0,output:"json",key:t.key};e.poi_options&&(n.poi_options=e.poi_options);var o=function(t){n.location=t.latitude+","+t.longitude,e.sig&&(n.sig=f.getSig(n,e.sig,"reverseGeocoder")),wx.request(f.buildWxRequestConfig(e,{url:c,data:n},"reverseGeocoder"))};f.locationProcess(e,o)}},{key:"geocoder",value:function(e){var t=this;if(e=e||{},f.polyfillParam(e),!f.checkParamKeyEmpty(e,"address")){var n={address:e.address,output:"json",key:t.key};e.region&&(n.region=e.region),e.sig&&(n.sig=f.getSig(n,e.sig,"geocoder")),wx.request(f.buildWxRequestConfig(e,{url:c,data:n},"geocoder"))}}},{key:"getCityList",value:function(e){var t=this;e=e||{},f.polyfillParam(e);var n={output:"json",key:t.key};e.sig&&(n.sig=f.getSig(n,e.sig,"getCityList")),wx.request(f.buildWxRequestConfig(e,{url:d,data:n},"getCityList"))}},{key:"getDistrictByCityId",value:function(e){var t=this;if(e=e||{},f.polyfillParam(e),!f.checkParamKeyEmpty(e,"id")){var n={id:e.id||"",output:"json",key:t.key};e.sig&&(n.sig=f.getSig(n,e.sig,"getDistrictByCityId")),wx.request(f.buildWxRequestConfig(e,{url:l,data:n},"getDistrictByCityId"))}}},{key:"calculateDistance",value:function(e){var t=this;if(e=e||{},f.polyfillParam(e),!f.checkParamKeyEmpty(e,"to")){var n={mode:e.mode||"walking",to:f.location2query(e.to),output:"json",key:t.key};if(e.from&&(e.location=e.from),"straight"==n.mode){var o=function(t){for(var o=f.getEndLocation(n.to),r={message:"query ok",result:{elements:[]},status:0},a=0;a<o.length;a++)r.result.elements.push({distance:f.getDistance(t.latitude,t.longitude,o[a].lat,o[a].lng),duration:0,from:{lat:t.latitude,lng:t.longitude},to:{lat:o[a].lat,lng:o[a].lng}});var s=r.result.elements,i=[];for(a=0;a<s.length;a++)i.push(s[a].distance);return e.success(r,{calculateResult:s,distanceResult:i})};f.locationProcess(e,o)}else{o=function(t){n.from=t.latitude+","+t.longitude,e.sig&&(n.sig=f.getSig(n,e.sig,"calculateDistance")),wx.request(f.buildWxRequestConfig(e,{url:_,data:n},"calculateDistance"))};f.locationProcess(e,o)}}}},{key:"direction",value:function(e){var t=this;if(e=e||{},f.polyfillParam(e),!f.checkParamKeyEmpty(e,"to")){var n={output:"json",key:t.key};"string"==typeof e.to?n.to=e.to:n.to=e.to.latitude+","+e.to.longitude;var o=null;e.mode=e.mode||h.driving,o=p+e.mode,e.from&&(e.location=e.from),e.mode==h.driving&&(e.from_poi&&(n.from_poi=e.from_poi),e.heading&&(n.heading=e.heading),e.speed&&(n.speed=e.speed),e.accuracy&&(n.accuracy=e.accuracy),e.road_type&&(n.road_type=e.road_type),e.to_poi&&(n.to_poi=e.to_poi),e.from_track&&(n.from_track=e.from_track),e.waypoints&&(n.waypoints=e.waypoints),e.policy&&(n.policy=e.policy),e.plate_number&&(n.plate_number=e.plate_number)),e.mode==h.transit&&(e.departure_time&&(n.departure_time=e.departure_time),e.policy&&(n.policy=e.policy));var r=function(t){n.from=t.latitude+","+t.longitude,e.sig&&(n.sig=f.getSig(n,e.sig,"direction",e.mode)),wx.request(f.buildWxRequestConfig(e,{url:o,data:n},"direction"))};f.locationProcess(e,r)}}}]),e}();e.exports=g},df16:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},dfac:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},e3db:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},e99f:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0957"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.Hasher,r=t.x64,a=r.Word,s=r.WordArray,i=t.algo;function u(){return a.create.apply(a,arguments)}var c=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var e=0;e<80;e++)d[e]=u()})();var l=i.SHA512=o.extend({_doReset:function(){this._hash=new s.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],r=n[1],a=n[2],s=n[3],i=n[4],u=n[5],l=n[6],_=n[7],p=o.high,h=o.low,m=r.high,f=r.low,g=a.high,M=a.low,y=s.high,v=s.low,L=i.high,T=i.low,D=u.high,k=u.low,I=l.high,S=l.low,E=_.high,C=_.low,A=p,O=h,b=m,w=f,N=g,R=M,P=y,Y=v,G=L,U=T,F=D,x=k,H=I,j=S,q=E,B=C,V=0;V<80;V++){var W,K,$=d[V];if(V<16)K=$.high=0|e[t+2*V],W=$.low=0|e[t+2*V+1];else{var z=d[V-15],J=z.high,X=z.low,Z=(J>>>1|X<<31)^(J>>>8|X<<24)^J>>>7,Q=(X>>>1|J<<31)^(X>>>8|J<<24)^(X>>>7|J<<25),ee=d[V-2],te=ee.high,ne=ee.low,oe=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,re=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ae=d[V-7],se=ae.high,ie=ae.low,ue=d[V-16],ce=ue.high,de=ue.low;W=Q+ie,K=Z+se+(W>>>0<Q>>>0?1:0),W+=re,K=K+oe+(W>>>0<re>>>0?1:0),W+=de,K=K+ce+(W>>>0<de>>>0?1:0),$.high=K,$.low=W}var le=G&F^~G&H,_e=U&x^~U&j,pe=A&b^A&N^b&N,he=O&w^O&R^w&R,me=(A>>>28|O<<4)^(A<<30|O>>>2)^(A<<25|O>>>7),fe=(O>>>28|A<<4)^(O<<30|A>>>2)^(O<<25|A>>>7),ge=(G>>>14|U<<18)^(G>>>18|U<<14)^(G<<23|U>>>9),Me=(U>>>14|G<<18)^(U>>>18|G<<14)^(U<<23|G>>>9),ye=c[V],ve=ye.high,Le=ye.low,Te=B+Me,De=q+ge+(Te>>>0<B>>>0?1:0),ke=(Te=Te+_e,De=De+le+(Te>>>0<_e>>>0?1:0),Te=Te+Le,De=De+ve+(Te>>>0<Le>>>0?1:0),Te=Te+W,De=De+K+(Te>>>0<W>>>0?1:0),fe+he),Ie=me+pe+(ke>>>0<fe>>>0?1:0);q=H,B=j,H=F,j=x,F=G,x=U,U=Y+Te|0,G=P+De+(U>>>0<Y>>>0?1:0)|0,P=N,Y=R,N=b,R=w,b=A,w=O,O=Te+ke|0,A=De+Ie+(O>>>0<Te>>>0?1:0)|0}h=o.low=h+O,o.high=p+A+(h>>>0<O>>>0?1:0),f=r.low=f+w,r.high=m+b+(f>>>0<w>>>0?1:0),M=a.low=M+R,a.high=g+N+(M>>>0<R>>>0?1:0),v=s.low=v+Y,s.high=y+P+(v>>>0<Y>>>0?1:0),T=i.low=T+U,i.high=L+G+(T>>>0<U>>>0?1:0),k=u.low=k+x,u.high=D+F+(k>>>0<x>>>0?1:0),S=l.low=S+j,l.high=I+H+(S>>>0<j>>>0?1:0),C=_.low=C+B,_.high=E+q+(C>>>0<B>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;t[o>>>5]|=128<<24-o%32,t[30+(o+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(o+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process();var r=this._hash.toX32();return r},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=o._createHelper(l),t.HmacSHA512=o._createHmacHelper(l)}(),e.SHA512}))},eb73:function(e,t,n){(function(t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self?self:"undefined"!==typeof window&&window,(function(){"use strict";var e="3.7.2",t=e,o="function"===typeof atob,r="function"===typeof btoa,a="function"===typeof n,s="function"===typeof TextDecoder?new TextDecoder:void 0,i="function"===typeof TextEncoder?new TextEncoder:void 0,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=Array.prototype.slice.call(u),d=function(e){var t={};return e.forEach((function(e,n){return t[e]=n})),t}(c),l=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),p="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e,t){return void 0===t&&(t=function(e){return e}),new Uint8Array(Array.prototype.slice.call(e,0).map(t))},h=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"}))},m=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},f=function(e){for(var t,n,o,r,a="",s=e.length%3,i=0;i<e.length;){if((n=e.charCodeAt(i++))>255||(o=e.charCodeAt(i++))>255||(r=e.charCodeAt(i++))>255)throw new TypeError("invalid character found");t=n<<16|o<<8|r,a+=c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}return s?a.slice(0,s-3)+"===".substring(s):a},g=r?function(e){return btoa(e)}:a?function(e){return n.from(e,"binary").toString("base64")}:f,M=a?function(e){return n.from(e).toString("base64")}:function(e){for(var t=4096,n=[],o=0,r=e.length;o<r;o+=t)n.push(_.apply(null,e.subarray(o,o+t)));return g(n.join(""))},y=function(e,t){return void 0===t&&(t=!1),t?h(M(e)):M(e)},v=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?_(192|t>>>6)+_(128|63&t):_(224|t>>>12&15)+_(128|t>>>6&63)+_(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return _(240|t>>>18&7)+_(128|t>>>12&63)+_(128|t>>>6&63)+_(128|63&t)},L=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,T=function(e){return e.replace(L,v)},D=a?function(e){return n.from(e,"utf8").toString("base64")}:i?function(e){return M(i.encode(e))}:function(e){return g(T(e))},k=function(e,t){return void 0===t&&(t=!1),t?h(D(e)):D(e)},I=function(e){return k(e,!0)},S=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return _(55296+(n>>>10))+_(56320+(1023&n));case 3:return _((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return _((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},C=function(e){return e.replace(S,E)},A=function(e){if(e=e.replace(/\s+/g,""),!l.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));for(var t,n,o,r="",a=0;a<e.length;)t=d[e.charAt(a++)]<<18|d[e.charAt(a++)]<<12|(n=d[e.charAt(a++)])<<6|(o=d[e.charAt(a++)]),r+=64===n?_(t>>16&255):64===o?_(t>>16&255,t>>8&255):_(t>>16&255,t>>8&255,255&t);return r},O=o?function(e){return atob(m(e))}:a?function(e){return n.from(e,"base64").toString("binary")}:A,b=a?function(e){return p(n.from(e,"base64"))}:function(e){return p(O(e),(function(e){return e.charCodeAt(0)}))},w=function(e){return b(R(e))},N=a?function(e){return n.from(e,"base64").toString("utf8")}:s?function(e){return s.decode(b(e))}:function(e){return C(O(e))},R=function(e){return m(e.replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})))},P=function(e){return N(R(e))},Y=function(e){if("string"!==typeof e)return!1;var t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},G=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},U=function(){var e=function(e,t){return Object.defineProperty(String.prototype,e,G(t))};e("fromBase64",(function(){return P(this)})),e("toBase64",(function(e){return k(this,e)})),e("toBase64URI",(function(){return k(this,!0)})),e("toBase64URL",(function(){return k(this,!0)})),e("toUint8Array",(function(){return w(this)}))},F=function(){var e=function(e,t){return Object.defineProperty(Uint8Array.prototype,e,G(t))};e("toBase64",(function(e){return y(this,e)})),e("toBase64URI",(function(){return y(this,!0)})),e("toBase64URL",(function(){return y(this,!0)}))},x=function(){U(),F()},H={version:e,VERSION:t,atob:O,atobPolyfill:A,btoa:g,btoaPolyfill:f,fromBase64:P,toBase64:k,encode:k,encodeURI:I,encodeURL:I,utob:T,btou:C,decode:P,isValid:Y,fromUint8Array:y,toUint8Array:w,extendString:U,extendUint8Array:F,extendBuiltins:x,Base64:{}};return Object.keys(H).forEach((function(e){return H.Base64[e]=H[e]})),H}))}).call(this,n("c8ba"),n("b639").Buffer)},eb91:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},ec26:function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.WordArray,r=t.enc;r.Base64url={stringify:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.words,o=e.sigBytes,r=t?this._safe_map:this._map;e.clamp();for(var a=[],s=0;s<o;s+=3)for(var i=n[s>>>2]>>>24-s%4*8&255,u=n[s+1>>>2]>>>24-(s+1)%4*8&255,c=n[s+2>>>2]>>>24-(s+2)%4*8&255,d=i<<16|u<<8|c,l=0;l<4&&s+.75*l<o;l++)a.push(r.charAt(d>>>6*(3-l)&63));var _=r.charAt(64);if(_)while(a.length%4)a.push(_);return a.join("")},parse:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.length,o=t?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<o.length;s++)r[o.charCodeAt(s)]=s}var i=o.charAt(64);if(i){var u=e.indexOf(i);-1!==u&&(n=u)}return a(e,n,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function a(e,t,n){for(var r=[],a=0,s=0;s<t;s++)if(s%4){var i=n[e.charCodeAt(s-1)]<<s%4*2,u=n[e.charCodeAt(s)]>>>6-s%4*2,c=i|u;r[a>>>2]|=c<<24-a%4*8,a++}return o.create(r,a)}}(),e.enc.Base64url}))},ec6e:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0ca2"),n("8ff9"),n("611e"),n("29b3"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.BlockCipher,r=t.algo,a=[],s=[],i=[],u=[],c=[],d=[],l=[],_=[],p=[],h=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,o=0;for(t=0;t<256;t++){var r=o^o<<1^o<<2^o<<3^o<<4;r=r>>>8^255&r^99,a[n]=r,s[r]=n;var m=e[n],f=e[m],g=e[f],M=257*e[r]^16843008*r;i[n]=M<<24|M>>>8,u[n]=M<<16|M>>>16,c[n]=M<<8|M>>>24,d[n]=M;M=16843009*g^65537*f^257*m^16843008*n;l[r]=M<<24|M>>>8,_[r]=M<<16|M>>>16,p[r]=M<<8|M>>>24,h[r]=M,n?(n=m^e[e[e[g^m]]],o^=e[e[o]]):n=o=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],f=r.AES=o.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,o=this._nRounds=n+6,r=4*(o+1),s=this._keySchedule=[],i=0;i<r;i++)i<n?s[i]=t[i]:(d=s[i-1],i%n?n>6&&i%n==4&&(d=a[d>>>24]<<24|a[d>>>16&255]<<16|a[d>>>8&255]<<8|a[255&d]):(d=d<<8|d>>>24,d=a[d>>>24]<<24|a[d>>>16&255]<<16|a[d>>>8&255]<<8|a[255&d],d^=m[i/n|0]<<24),s[i]=s[i-n]^d);for(var u=this._invKeySchedule=[],c=0;c<r;c++){i=r-c;if(c%4)var d=s[i];else d=s[i-4];u[c]=c<4||i<=4?d:l[a[d>>>24]]^_[a[d>>>16&255]]^p[a[d>>>8&255]]^h[a[255&d]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,i,u,c,d,a)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,l,_,p,h,s);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,o,r,a,s,i){for(var u=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],l=e[t+2]^n[2],_=e[t+3]^n[3],p=4,h=1;h<u;h++){var m=o[c>>>24]^r[d>>>16&255]^a[l>>>8&255]^s[255&_]^n[p++],f=o[d>>>24]^r[l>>>16&255]^a[_>>>8&255]^s[255&c]^n[p++],g=o[l>>>24]^r[_>>>16&255]^a[c>>>8&255]^s[255&d]^n[p++],M=o[_>>>24]^r[c>>>16&255]^a[d>>>8&255]^s[255&l]^n[p++];c=m,d=f,l=g,_=M}m=(i[c>>>24]<<24|i[d>>>16&255]<<16|i[l>>>8&255]<<8|i[255&_])^n[p++],f=(i[d>>>24]<<24|i[l>>>16&255]<<16|i[_>>>8&255]<<8|i[255&c])^n[p++],g=(i[l>>>24]<<24|i[_>>>16&255]<<16|i[c>>>8&255]<<8|i[255&d])^n[p++],M=(i[_>>>24]<<24|i[c>>>16&255]<<16|i[d>>>8&255]<<8|i[255&l])^n[p++];e[t]=m,e[t+1]=f,e[t+2]=g,e[t+3]=M},keySize:8});t.AES=o._createHelper(f)}(),e.AES}))},ed6a:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},ee0a:function(e,t,n){(function(t,o){e.exports=o(n("77b5"))})(0,(function(e){
- /** @preserve
- (c) 2012 by Cédric Mesnil. All rights reserved.
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
- return function(t){var n=e,o=n.lib,r=o.WordArray,a=o.Hasher,s=n.algo,i=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),_=r.create([1352829926,1548603684,1836072691,2053994217,0]),p=s.RIPEMD160=a.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,r=e[o];e[o]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var a,s,p,v,L,T,D,k,I,S,E,C=this._hash.words,A=l.words,O=_.words,b=i.words,w=u.words,N=c.words,R=d.words;T=a=C[0],D=s=C[1],k=p=C[2],I=v=C[3],S=L=C[4];for(n=0;n<80;n+=1)E=a+e[t+b[n]]|0,E+=n<16?h(s,p,v)+A[0]:n<32?m(s,p,v)+A[1]:n<48?f(s,p,v)+A[2]:n<64?g(s,p,v)+A[3]:M(s,p,v)+A[4],E|=0,E=y(E,N[n]),E=E+L|0,a=L,L=v,v=y(p,10),p=s,s=E,E=T+e[t+w[n]]|0,E+=n<16?M(D,k,I)+O[0]:n<32?g(D,k,I)+O[1]:n<48?f(D,k,I)+O[2]:n<64?m(D,k,I)+O[3]:h(D,k,I)+O[4],E|=0,E=y(E,R[n]),E=E+S|0,T=S,S=I,I=y(k,10),k=D,D=E;E=C[1]+p+I|0,C[1]=C[2]+v+S|0,C[2]=C[3]+L+T|0,C[3]=C[4]+a+D|0,C[4]=C[0]+s+k|0,C[0]=E},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,a=r.words,s=0;s<5;s++){var i=a[s];a[s]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}return r},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function f(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function M(e,t,n){return e^(t|~n)}function y(e,t){return e<<t|e>>>32-t}n.RIPEMD160=a._createHelper(p),n.HmacRIPEMD160=a._createHmacHelper(p)}(Math),e.RIPEMD160}))},eef4:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0957"))})(0,(function(e){return function(t){var n=e,o=n.lib,r=o.WordArray,a=o.Hasher,s=n.x64,i=s.Word,u=n.algo,c=[],d=[],l=[];(function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var o=t%5,r=(2*e+3*t)%5;e=o,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)d[e+5*t]=t+(2*e+3*t)%5*5;for(var a=1,s=0;s<24;s++){for(var u=0,_=0,p=0;p<7;p++){if(1&a){var h=(1<<p)-1;h<32?_^=1<<h:u^=1<<h-32}128&a?a=a<<1^113:a<<=1}l[s]=i.create(u,_)}})();var _=[];(function(){for(var e=0;e<25;e++)_[e]=i.create()})();var p=u.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,o=this.blockSize/2,r=0;r<o;r++){var a=e[t+2*r],s=e[t+2*r+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var i=n[r];i.high^=s,i.low^=a}for(var u=0;u<24;u++){for(var p=0;p<5;p++){for(var h=0,m=0,f=0;f<5;f++){i=n[p+5*f];h^=i.high,m^=i.low}var g=_[p];g.high=h,g.low=m}for(p=0;p<5;p++){var M=_[(p+4)%5],y=_[(p+1)%5],v=y.high,L=y.low;for(h=M.high^(v<<1|L>>>31),m=M.low^(L<<1|v>>>31),f=0;f<5;f++){i=n[p+5*f];i.high^=h,i.low^=m}}for(var T=1;T<25;T++){i=n[T];var D=i.high,k=i.low,I=c[T];I<32?(h=D<<I|k>>>32-I,m=k<<I|D>>>32-I):(h=k<<I-32|D>>>64-I,m=D<<I-32|k>>>64-I);var S=_[d[T]];S.high=h,S.low=m}var E=_[0],C=n[0];E.high=C.high,E.low=C.low;for(p=0;p<5;p++)for(f=0;f<5;f++){T=p+5*f,i=n[T];var A=_[T],O=_[(p+1)%5+5*f],b=_[(p+2)%5+5*f];i.high=A.high^~O.high&b.high,i.low=A.low^~O.low&b.low}i=n[0];var w=l[u];i.high^=w.high,i.low^=w.low}},_doFinalize:function(){var e=this._data,n=e.words,o=(this._nDataBytes,8*e.sigBytes),a=32*this.blockSize;n[o>>>5]|=1<<24-o%32,n[(t.ceil((o+1)/a)*a>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,i=this.cfg.outputLength/8,u=i/8,c=[],d=0;d<u;d++){var l=s[d],_=l.high,p=l.low;_=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),c.push(p),c.push(_)}return new r.init(c,i)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=a._createHelper(p),n.HmacSHA3=a._createHmacHelper(p)}(Math),e.SHA3}))},f05b:function(e,t,n){(function(e){var t;//! moment.js
- //! version : 2.29.4
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
- //! license : MIT
- //! momentjs.com
- (function(t,n){e.exports=n()})(0,(function(){"use strict";var o,r;function a(){return o.apply(null,arguments)}function s(e){o=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function l(e){return void 0===e}function _(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,o=[],r=e.length;for(n=0;n<r;++n)o.push(t(e[n],n));return o}function m(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,o){return Jn(e,t,n,o,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function M(e){return null==e._pf&&(e._pf=g()),e._pf}function y(e){if(null==e._isValid){var t=M(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function v(e){var t=f(NaN);return null!=e?m(M(t),e):M(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),o=n.length>>>0;for(t=0;t<o;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var L=a.momentProperties=[],T=!1;function D(e,t){var n,o,r,a=L.length;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=M(t)),l(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)o=L[n],r=t[o],l(r)||(e[o]=r);return e}function k(e){D(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===T&&(T=!0,a.updateOffset(this),T=!1)}function I(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function S(e){!1===a.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return m((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var o,r,s,i=[],u=arguments.length;for(r=0;r<u;r++){if(o="","object"===typeof arguments[r]){for(s in o+="\n["+r+"] ",arguments[0])c(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[r];i.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,A={};function O(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),A[e]||(S(t),A[e]=!0)}function b(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function w(e){var t,n;for(n in e)c(e,n)&&(t=e[n],b(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function N(e,t){var n,o=m({},e);for(n in t)c(t,n)&&(u(e[n])&&u(t[n])?(o[n]={},m(o[n],e[n]),m(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)c(e,n)&&!c(t,n)&&u(e[n])&&(o[n]=m({},o[n]));return o}function R(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Y(e,t,n){var o=this._calendar[e]||this._calendar["sameElse"];return b(o)?o.call(t,n):o}function G(e,t,n){var o=""+Math.abs(e),r=t-o.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,x={},H={};function j(e,t,n,o){var r=o;"string"===typeof o&&(r=function(){return this[o]()}),e&&(H[e]=r),t&&(H[t[0]]=function(){return G(r.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function q(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,o=e.match(U);for(t=0,n=o.length;t<n;t++)H[o[t]]?o[t]=H[o[t]]:o[t]=q(o[t]);return function(t){var r,a="";for(r=0;r<n;r++)a+=b(o[r])?o[r].call(t,e):o[r];return a}}function V(e,t){return e.isValid()?(t=W(t,e.localeData()),x[t]=x[t]||B(t),x[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function o(e){return t.longDateFormat(e)||e}F.lastIndex=0;while(n>=0&&F.test(e))e=e.replace(F,o),F.lastIndex=0,n-=1;return e}var K={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(U).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function J(){return this._invalidDate}var X="%d",Z=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var ee={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function te(e,t,n,o){var r=this._relativeTime[n];return b(r)?r(e,t,n,o):r.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return b(n)?n(t):n.replace(/%s/i,t)}var oe={};function re(e,t){var n=e.toLowerCase();oe[n]=oe[n+"s"]=oe[t]=e}function ae(e){return"string"===typeof e?oe[e]||oe[e.toLowerCase()]:void 0}function se(e){var t,n,o={};for(n in e)c(e,n)&&(t=ae(n),t&&(o[t]=e[n]));return o}var ie={};function ue(e,t){ie[e]=t}function ce(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function de(e){return e%4===0&&e%100!==0||e%400===0}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _e(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=le(t)),n}function pe(e,t){return function(n){return null!=n?(me(this,e,n),a.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=_e(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),tt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function fe(e){return e=ae(e),b(this[e])?this[e]():this}function ge(e,t){if("object"===typeof e){e=se(e);var n,o=ce(e),r=o.length;for(n=0;n<r;n++)this[o[n].unit](e[o[n].unit])}else if(e=ae(e),b(this[e]))return this[e](t);return this}var Me,ye=/\d/,ve=/\d\d/,Le=/\d{3}/,Te=/\d{4}/,De=/[+-]?\d{6}/,ke=/\d\d?/,Ie=/\d\d\d\d?/,Se=/\d\d\d\d\d\d?/,Ee=/\d{1,3}/,Ce=/\d{1,4}/,Ae=/[+-]?\d{1,6}/,Oe=/\d+/,be=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,Ne=/Z|[+-]\d\d(?::?\d\d)?/gi,Re=/[+-]?\d+(\.\d{1,3})?/,Pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ye(e,t,n){Me[e]=b(t)?t:function(e,o){return e&&n?n:t}}function Ge(e,t){return c(Me,e)?Me[e](t._strict,t._locale):new RegExp(Ue(e))}function Ue(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,o,r){return t||n||o||r})))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Me={};var xe={};function He(e,t){var n,o,r=t;for("string"===typeof e&&(e=[e]),_(t)&&(r=function(e,n){n[t]=_e(e)}),o=e.length,n=0;n<o;n++)xe[e[n]]=r}function je(e,t){He(e,(function(e,n,o,r){o._w=o._w||{},t(e,o._w,o,r)}))}function qe(e,t,n){null!=t&&c(xe,e)&&xe[e](t,n._a,n,e)}var Be,Ve=0,We=1,Ke=2,$e=3,ze=4,Je=5,Xe=6,Ze=7,Qe=8;function et(e,t){return(e%t+t)%t}function tt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=et(t,12);return e+=(t-n)/12,1===n?de(e)?29:28:31-n%7%2}Be=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},j("M",["MM",2],"Mo",(function(){return this.month()+1})),j("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),j("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),re("month","M"),ue("month",8),Ye("M",ke),Ye("MM",ke,ve),Ye("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ye("MMMM",(function(e,t){return t.monthsRegex(e)})),He(["M","MM"],(function(e,t){t[We]=_e(e)-1})),He(["MMM","MMMM"],(function(e,t,n,o){var r=n._locale.monthsParse(e,o,n._strict);null!=r?t[We]=r:M(n).invalidMonth=e}));var nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=Pe,st=Pe;function it(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months["standalone"]}function ut(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ct(e,t,n){var o,r,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)a=f([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(r=Be.call(this._shortMonthsParse,s),-1!==r?r:null):(r=Be.call(this._longMonthsParse,s),-1!==r?r:null):"MMM"===t?(r=Be.call(this._shortMonthsParse,s),-1!==r?r:(r=Be.call(this._longMonthsParse,s),-1!==r?r:null)):(r=Be.call(this._longMonthsParse,s),-1!==r?r:(r=Be.call(this._shortMonthsParse,s),-1!==r?r:null))}function dt(e,t,n){var o,r,a;if(this._monthsParseExact)return ct.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=f([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}}function lt(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=_e(t);else if(t=e.localeData().monthsParse(t),!_(t))return e;return n=Math.min(e.date(),tt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function _t(e){return null!=e?(lt(this,e),a.updateOffset(this,!0),this):he(this,"Month")}function pt(){return tt(this.year(),this.month())}function ht(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ft.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ft.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ft(){function e(e,t){return t.length-e.length}var t,n,o=[],r=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),o.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(o.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)o[t]=Fe(o[t]),r[t]=Fe(r[t]);for(t=0;t<24;t++)a[t]=Fe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function gt(e){return de(e)?366:365}j("Y",0,0,(function(){var e=this.year();return e<=9999?G(e,4):"+"+e})),j(0,["YY",2],0,(function(){return this.year()%100})),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),re("year","y"),ue("year",1),Ye("Y",be),Ye("YY",ke,ve),Ye("YYYY",Ce,Te),Ye("YYYYY",Ae,De),Ye("YYYYYY",Ae,De),He(["YYYYY","YYYYYY"],Ve),He("YYYY",(function(e,t){t[Ve]=2===e.length?a.parseTwoDigitYear(e):_e(e)})),He("YY",(function(e,t){t[Ve]=a.parseTwoDigitYear(e)})),He("Y",(function(e,t){t[Ve]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return _e(e)+(_e(e)>68?1900:2e3)};var Mt=pe("FullYear",!0);function yt(){return de(this.year())}function vt(e,t,n,o,r,a,s){var i;return e<100&&e>=0?(i=new Date(e+400,t,n,o,r,a,s),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,t,n,o,r,a,s),i}function Lt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Tt(e,t,n){var o=7+t-n,r=(7+Lt(e,0,o).getUTCDay()-t)%7;return-r+o-1}function Dt(e,t,n,o,r){var a,s,i=(7+n-o)%7,u=Tt(e,o,r),c=1+7*(t-1)+i+u;return c<=0?(a=e-1,s=gt(a)+c):c>gt(e)?(a=e+1,s=c-gt(e)):(a=e,s=c),{year:a,dayOfYear:s}}function kt(e,t,n){var o,r,a=Tt(e.year(),t,n),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?(r=e.year()-1,o=s+It(r,t,n)):s>It(e.year(),t,n)?(o=s-It(e.year(),t,n),r=e.year()+1):(r=e.year(),o=s),{week:o,year:r}}function It(e,t,n){var o=Tt(e,t,n),r=Tt(e+1,t,n);return(gt(e)-o+r)/7}function St(e){return kt(e,this._week.dow,this._week.doy).week}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),ue("week",5),ue("isoWeek",5),Ye("w",ke),Ye("ww",ke,ve),Ye("W",ke),Ye("WW",ke,ve),je(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=_e(e)}));var Et={dow:0,doy:6};function Ct(){return this._week.dow}function At(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function bt(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function wt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Nt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Rt(e,t){return e.slice(t,7).concat(e.slice(0,t))}j("d",0,"do","day"),j("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),j("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),j("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),ue("day",11),ue("weekday",11),ue("isoWeekday",11),Ye("d",ke),Ye("e",ke),Ye("E",ke),Ye("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ye("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ye("dddd",(function(e,t){return t.weekdaysRegex(e)})),je(["dd","ddd","dddd"],(function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:M(n).invalidWeekday=e})),je(["d","e","E"],(function(e,t,n,o){t[o]=_e(e)}));var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Yt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ut=Pe,Ft=Pe,xt=Pe;function Ht(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Rt(n,this._week.dow):e?n[e.day()]:n}function jt(e){return!0===e?Rt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function qt(e){return!0===e?Rt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Bt(e,t,n){var o,r,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)a=f([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(r=Be.call(this._weekdaysParse,s),-1!==r?r:null):"ddd"===t?(r=Be.call(this._shortWeekdaysParse,s),-1!==r?r:null):(r=Be.call(this._minWeekdaysParse,s),-1!==r?r:null):"dddd"===t?(r=Be.call(this._weekdaysParse,s),-1!==r?r:(r=Be.call(this._shortWeekdaysParse,s),-1!==r?r:(r=Be.call(this._minWeekdaysParse,s),-1!==r?r:null))):"ddd"===t?(r=Be.call(this._shortWeekdaysParse,s),-1!==r?r:(r=Be.call(this._weekdaysParse,s),-1!==r?r:(r=Be.call(this._minWeekdaysParse,s),-1!==r?r:null))):(r=Be.call(this._minWeekdaysParse,s),-1!==r?r:(r=Be.call(this._weekdaysParse,s),-1!==r?r:(r=Be.call(this._shortWeekdaysParse,s),-1!==r?r:null)))}function Vt(e,t,n){var o,r,a;if(this._weekdaysParseExact)return Bt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=f([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}}function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=wt(e,this.localeData()),this.add(e-t,"d")):t}function Kt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Nt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function zt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ut),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Jt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=xt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,o,r,a,s=[],i=[],u=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),o=Fe(this.weekdaysMin(n,"")),r=Fe(this.weekdaysShort(n,"")),a=Fe(this.weekdays(n,"")),s.push(o),i.push(r),u.push(a),c.push(o),c.push(r),c.push(a);s.sort(e),i.sort(e),u.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Qt(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){j(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function nn(e,t){return t._meridiemParse}function on(e){return"p"===(e+"").toLowerCase().charAt(0)}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Qt),j("k",["kk",2],0,en),j("hmm",0,0,(function(){return""+Qt.apply(this)+G(this.minutes(),2)})),j("hmmss",0,0,(function(){return""+Qt.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)})),j("Hmm",0,0,(function(){return""+this.hours()+G(this.minutes(),2)})),j("Hmmss",0,0,(function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)})),tn("a",!0),tn("A",!1),re("hour","h"),ue("hour",13),Ye("a",nn),Ye("A",nn),Ye("H",ke),Ye("h",ke),Ye("k",ke),Ye("HH",ke,ve),Ye("hh",ke,ve),Ye("kk",ke,ve),Ye("hmm",Ie),Ye("hmmss",Se),Ye("Hmm",Ie),Ye("Hmmss",Se),He(["H","HH"],$e),He(["k","kk"],(function(e,t,n){var o=_e(e);t[$e]=24===o?0:o})),He(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),He(["h","hh"],(function(e,t,n){t[$e]=_e(e),M(n).bigHour=!0})),He("hmm",(function(e,t,n){var o=e.length-2;t[$e]=_e(e.substr(0,o)),t[ze]=_e(e.substr(o)),M(n).bigHour=!0})),He("hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[$e]=_e(e.substr(0,o)),t[ze]=_e(e.substr(o,2)),t[Je]=_e(e.substr(r)),M(n).bigHour=!0})),He("Hmm",(function(e,t,n){var o=e.length-2;t[$e]=_e(e.substr(0,o)),t[ze]=_e(e.substr(o))})),He("Hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[$e]=_e(e.substr(0,o)),t[ze]=_e(e.substr(o,2)),t[Je]=_e(e.substr(r))}));var rn=/[ap]\.?m?\.?/i,an=pe("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var un,cn={calendar:P,longDateFormat:K,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:Z,relativeTime:ee,months:nt,monthsShort:ot,week:Et,weekdays:Pt,weekdaysMin:Gt,weekdaysShort:Yt,meridiemParse:rn},dn={},ln={};function _n(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n<o;n+=1)if(e[n]!==t[n])return n;return o}function pn(e){return e?e.toLowerCase().replace("_","-"):e}function hn(e){var t,n,o,r,a=0;while(a<e.length){r=pn(e[a]).split("-"),t=r.length,n=pn(e[a+1]),n=n?n.split("-"):null;while(t>0){if(o=fn(r.slice(0,t).join("-")),o)return o;if(n&&n.length>=t&&_n(r,n)>=t-1)break;t--}a++}return un}function mn(e){return null!=e.match("^[^/\\\\]*$")}function fn(o){var r=null;if(void 0===dn[o]&&"undefined"!==typeof e&&e&&e.exports&&mn(o))try{r=un._abbr,t,n("3d29")("./"+o),gn(r)}catch(a){dn[o]=null}return dn[o]}function gn(e,t){var n;return e&&(n=l(t)?vn(e):Mn(e,t),n?un=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),un._abbr}function Mn(e,t){if(null!==t){var n,o=cn;if(t.abbr=e,null!=dn[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=dn[e]._config;else if(null!=t.parentLocale)if(null!=dn[t.parentLocale])o=dn[t.parentLocale]._config;else{if(n=fn(t.parentLocale),null==n)return ln[t.parentLocale]||(ln[t.parentLocale]=[]),ln[t.parentLocale].push({name:e,config:t}),null;o=n._config}return dn[e]=new R(N(o,t)),ln[e]&&ln[e].forEach((function(e){Mn(e.name,e.config)})),gn(e),dn[e]}return delete dn[e],null}function yn(e,t){if(null!=t){var n,o,r=cn;null!=dn[e]&&null!=dn[e].parentLocale?dn[e].set(N(dn[e]._config,t)):(o=fn(e),null!=o&&(r=o._config),t=N(r,t),null==o&&(t.abbr=e),n=new R(t),n.parentLocale=dn[e],dn[e]=n),gn(e)}else null!=dn[e]&&(null!=dn[e].parentLocale?(dn[e]=dn[e].parentLocale,e===gn()&&gn(e)):null!=dn[e]&&delete dn[e]);return dn[e]}function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return un;if(!i(e)){if(t=fn(e),t)return t;e=[e]}return hn(e)}function Ln(){return C(dn)}function Tn(e){var t,n=e._a;return n&&-2===M(e).overflow&&(t=n[We]<0||n[We]>11?We:n[Ke]<1||n[Ke]>tt(n[Ve],n[We])?Ke:n[$e]<0||n[$e]>24||24===n[$e]&&(0!==n[ze]||0!==n[Je]||0!==n[Xe])?$e:n[ze]<0||n[ze]>59?ze:n[Je]<0||n[Je]>59?Je:n[Xe]<0||n[Xe]>999?Xe:-1,M(e)._overflowDayOfYear&&(t<Ve||t>Ke)&&(t=Ke),M(e)._overflowWeeks&&-1===t&&(t=Ze),M(e)._overflowWeekday&&-1===t&&(t=Qe),M(e).overflow=t),e}var Dn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,In=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],En=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Cn=/^\/?Date\((-?\d+)/i,An=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bn(e){var t,n,o,r,a,s,i=e._i,u=Dn.exec(i)||kn.exec(i),c=Sn.length,d=En.length;if(u){for(M(e).iso=!0,t=0,n=c;t<n;t++)if(Sn[t][1].exec(u[1])){r=Sn[t][0],o=!1!==Sn[t][2];break}if(null==r)return void(e._isValid=!1);if(u[3]){for(t=0,n=d;t<n;t++)if(En[t][1].exec(u[3])){a=(u[2]||" ")+En[t][0];break}if(null==a)return void(e._isValid=!1)}if(!o&&null!=a)return void(e._isValid=!1);if(u[4]){if(!In.exec(u[4]))return void(e._isValid=!1);s="Z"}e._f=r+(a||"")+(s||""),qn(e)}else e._isValid=!1}function wn(e,t,n,o,r,a){var s=[Nn(e),ot.indexOf(t),parseInt(n,10),parseInt(o,10),parseInt(r,10)];return a&&s.push(parseInt(a,10)),s}function Nn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Rn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,n){if(e){var o=Yt.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(o!==r)return M(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Yn(e,t,n){if(e)return On[e];if(t)return 0;var o=parseInt(n,10),r=o%100,a=(o-r)/100;return 60*a+r}function Gn(e){var t,n=An.exec(Rn(e._i));if(n){if(t=wn(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],t,e))return;e._a=t,e._tzm=Yn(n[8],n[9],n[10]),e._d=Lt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),M(e).rfc2822=!0}else e._isValid=!1}function Un(e){var t=Cn.exec(e._i);null===t?(bn(e),!1===e._isValid&&(delete e._isValid,Gn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fn(e,t,n){return null!=e?e:null!=t?t:n}function xn(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Hn(e){var t,n,o,r,a,s=[];if(!e._d){for(o=xn(e),e._w&&null==e._a[Ke]&&null==e._a[We]&&jn(e),null!=e._dayOfYear&&(a=Fn(e._a[Ve],o[Ve]),(e._dayOfYear>gt(a)||0===e._dayOfYear)&&(M(e)._overflowDayOfYear=!0),n=Lt(a,0,e._dayOfYear),e._a[We]=n.getUTCMonth(),e._a[Ke]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[$e]&&0===e._a[ze]&&0===e._a[Je]&&0===e._a[Xe]&&(e._nextDay=!0,e._a[$e]=0),e._d=(e._useUTC?Lt:vt).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$e]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==r&&(M(e).weekdayMismatch=!0)}}function jn(e){var t,n,o,r,a,s,i,u,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,s=4,n=Fn(t.GG,e._a[Ve],kt(Xn(),1,4).year),o=Fn(t.W,1),r=Fn(t.E,1),(r<1||r>7)&&(u=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,c=kt(Xn(),a,s),n=Fn(t.gg,e._a[Ve],c.year),o=Fn(t.w,c.week),null!=t.d?(r=t.d,(r<0||r>6)&&(u=!0)):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(u=!0)):r=a),o<1||o>It(n,a,s)?M(e)._overflowWeeks=!0:null!=u?M(e)._overflowWeekday=!0:(i=Dt(n,o,r,a,s),e._a[Ve]=i.year,e._dayOfYear=i.dayOfYear)}function qn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],M(e).empty=!0;var t,n,o,r,s,i,u,c=""+e._i,d=c.length,l=0;for(o=W(e._f,e._locale).match(U)||[],u=o.length,t=0;t<u;t++)r=o[t],n=(c.match(Ge(r,e))||[])[0],n&&(s=c.substr(0,c.indexOf(n)),s.length>0&&M(e).unusedInput.push(s),c=c.slice(c.indexOf(n)+n.length),l+=n.length),H[r]?(n?M(e).empty=!1:M(e).unusedTokens.push(r),qe(r,n,e)):e._strict&&!n&&M(e).unusedTokens.push(r);M(e).charsLeftOver=d-l,c.length>0&&M(e).unusedInput.push(c),e._a[$e]<=12&&!0===M(e).bigHour&&e._a[$e]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[$e]=Bn(e._locale,e._a[$e],e._meridiem),i=M(e).era,null!==i&&(e._a[Ve]=e._locale.erasConvertYear(i,e._a[Ve])),Hn(e),Tn(e)}else Gn(e);else bn(e)}function Bn(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(o=e.isPM(n),o&&t<12&&(t+=12),o||12!==t||(t=0),t):t}function Vn(e){var t,n,o,r,a,s,i=!1,u=e._f.length;if(0===u)return M(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<u;r++)a=0,s=!1,t=D({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],qn(t),y(t)&&(s=!0),a+=M(t).charsLeftOver,a+=10*M(t).unusedTokens.length,M(t).score=a,i?a<o&&(o=a,n=t):(null==o||a<o||s)&&(o=a,n=t,s&&(i=!0));m(e,n||t)}function Wn(e){if(!e._d){var t=se(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Hn(e)}}function Kn(e){var t=new k(Tn($n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function $n(e){var t=e._i,n=e._f;return e._locale=e._locale||vn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),I(t)?new k(Tn(t)):(p(t)?e._d=t:i(n)?Vn(e):n?qn(e):zn(e),y(e)||(e._d=null),e))}function zn(e){var t=e._i;l(t)?e._d=new Date(a.now()):p(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Un(e):i(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Hn(e)):u(t)?Wn(e):_(t)?e._d=new Date(t):a.createFromInputFallback(e)}function Jn(e,t,n,o,r){var a={};return!0!==t&&!1!==t||(o=t,t=void 0),!0!==n&&!1!==n||(o=n,n=void 0),(u(e)&&d(e)||i(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=o,Kn(a)}function Xn(e,t,n,o){return Jn(e,t,n,o,!1)}a.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Zn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Qn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function eo(e,t){var n,o;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Xn();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}function to(){var e=[].slice.call(arguments,0);return eo("isBefore",e)}function no(){var e=[].slice.call(arguments,0);return eo("isAfter",e)}var oo=function(){return Date.now?Date.now():+new Date},ro=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ao(e){var t,n,o=!1,r=ro.length;for(t in e)if(c(e,t)&&(-1===Be.call(ro,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[ro[n]]){if(o)return!1;parseFloat(e[ro[n]])!==_e(e[ro[n]])&&(o=!0)}return!0}function so(){return this._isValid}function io(){return bo(NaN)}function uo(e){var t=se(e),n=t.year||0,o=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,i=t.hour||0,u=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=ao(t),this._milliseconds=+d+1e3*c+6e4*u+1e3*i*60*60,this._days=+s+7*a,this._months=+r+3*o+12*n,this._data={},this._locale=vn(),this._bubble()}function co(e){return e instanceof uo}function lo(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function _o(e,t,n){var o,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&_e(e[o])!==_e(t[o]))&&s++;return s+a}function po(e,t){j(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+G(~~(e/60),2)+t+G(~~e%60,2)}))}po("Z",":"),po("ZZ",""),Ye("Z",Ne),Ye("ZZ",Ne),He(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mo(Ne,e)}));var ho=/([\+\-]|\d\d)/gi;function mo(e,t){var n,o,r,a=(t||"").match(e);return null===a?null:(n=a[a.length-1]||[],o=(n+"").match(ho)||["-",0,0],r=60*o[1]+_e(o[2]),0===r?0:"+"===o[0]?r:-r)}function fo(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(I(e)||p(e)?e.valueOf():Xn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),a.updateOffset(n,!1),n):Xn(e).local()}function go(e){return-Math.round(e._d.getTimezoneOffset())}function Mo(e,t,n){var o,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=mo(Ne,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=go(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),r!==e&&(!t||this._changeInProgress?Yo(this,bo(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:go(this)}function yo(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vo(e){return this.utcOffset(0,e)}function Lo(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(go(this),"m")),this}function To(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=mo(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Do(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function ko(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Io(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return D(t,this),t=$n(t),t._a?(e=t._isUTC?f(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&_o(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function So(){return!!this.isValid()&&!this._isUTC}function Eo(){return!!this.isValid()&&this._isUTC}function Co(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var Ao=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Oo=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function bo(e,t){var n,o,r,a=e,s=null;return co(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:_(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=Ao.exec(e))?(n="-"===s[1]?-1:1,a={y:0,d:_e(s[Ke])*n,h:_e(s[$e])*n,m:_e(s[ze])*n,s:_e(s[Je])*n,ms:_e(lo(1e3*s[Xe]))*n}):(s=Oo.exec(e))?(n="-"===s[1]?-1:1,a={y:wo(s[2],n),M:wo(s[3],n),w:wo(s[4],n),d:wo(s[5],n),h:wo(s[6],n),m:wo(s[7],n),s:wo(s[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(r=Ro(Xn(a.from),Xn(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),o=new uo(a),co(e)&&c(e,"_locale")&&(o._locale=e._locale),co(e)&&c(e,"_isValid")&&(o._isValid=e._isValid),o}function wo(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function No(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ro(e,t){var n;return e.isValid()&&t.isValid()?(t=fo(t,e),e.isBefore(t)?n=No(e,t):(n=No(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Po(e,t){return function(n,o){var r,a;return null===o||isNaN(+o)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=o,o=a),r=bo(n,o),Yo(this,r,e),this}}function Yo(e,t,n,o){var r=t._milliseconds,s=lo(t._days),i=lo(t._months);e.isValid()&&(o=null==o||o,i&<(e,he(e,"Month")+i*n),s&&me(e,"Date",he(e,"Date")+s*n),r&&e._d.setTime(e._d.valueOf()+r*n),o&&a.updateOffset(e,s||i))}bo.fn=uo.prototype,bo.invalid=io;var Go=Po(1,"add"),Uo=Po(-1,"subtract");function Fo(e){return"string"===typeof e||e instanceof String}function xo(e){return I(e)||p(e)||Fo(e)||_(e)||jo(e)||Ho(e)||null===e||void 0===e}function Ho(e){var t,n,o=u(e)&&!d(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=a.length;for(t=0;t<s;t+=1)n=a[t],r=r||c(e,n);return o&&r}function jo(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!_(t)&&Fo(e)})).length),t&&n}function qo(e){var t,n,o=u(e)&&!d(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],r=r||c(e,n);return o&&r}function Bo(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Vo(e,t){1===arguments.length&&(arguments[0]?xo(arguments[0])?(e=arguments[0],t=void 0):qo(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Xn(),o=fo(n,this).startOf("day"),r=a.calendarFormat(this,o)||"sameElse",s=t&&(b(t[r])?t[r].call(this,n):t[r]);return this.format(s||this.localeData().calendar(r,this,Xn(n)))}function Wo(){return new k(this)}function Ko(e,t){var n=I(e)?e:Xn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function $o(e,t){var n=I(e)?e:Xn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zo(e,t,n,o){var r=I(e)?e:Xn(e),a=I(t)?t:Xn(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&(o=o||"()",("("===o[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===o[1]?this.isBefore(a,n):!this.isAfter(a,n)))}function Jo(e,t){var n,o=I(e)?e:Xn(e);return!(!this.isValid()||!o.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()===o.valueOf():(n=o.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xo(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zo(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Qo(e,t,n){var o,r,a;if(!this.isValid())return NaN;if(o=fo(e,this),!o.isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),t=ae(t),t){case"year":a=er(this,o)/12;break;case"month":a=er(this,o);break;case"quarter":a=er(this,o)/3;break;case"second":a=(this-o)/1e3;break;case"minute":a=(this-o)/6e4;break;case"hour":a=(this-o)/36e5;break;case"day":a=(this-o-r)/864e5;break;case"week":a=(this-o-r)/6048e5;break;default:a=this-o}return n?a:le(a)}function er(e,t){if(e.date()<t.date())return-er(t,e);var n,o,r=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(r,"months");return t-a<0?(n=e.clone().add(r-1,"months"),o=(t-a)/(a-n)):(n=e.clone().add(r+1,"months"),o=(t-a)/(n-a)),-(r+o)||0}function tr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function nr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function or(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",o=a+'[")]',this.format(e+t+n+o)}function rr(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)}function ar(e,t){return this.isValid()&&(I(e)&&e.isValid()||Xn(e).isValid())?bo({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sr(e){return this.from(Xn(),e)}function ir(e,t){return this.isValid()&&(I(e)&&e.isValid()||Xn(e).isValid())?bo({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ur(e){return this.to(Xn(),e)}function cr(e){var t;return void 0===e?this._locale._abbr:(t=vn(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var dr=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lr(){return this._locale}var _r=1e3,pr=60*_r,hr=60*pr,mr=3506328*hr;function fr(e,t){return(e%t+t)%t}function gr(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-mr:new Date(e,t,n).valueOf()}function Mr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-mr:Date.UTC(e,t,n)}function yr(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Mr:gr,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fr(t+(this._isUTC?0:this.utcOffset()*pr),hr);break;case"minute":t=this._d.valueOf(),t-=fr(t,pr);break;case"second":t=this._d.valueOf(),t-=fr(t,_r);break}return this._d.setTime(t),a.updateOffset(this,!0),this}function vr(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Mr:gr,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hr-fr(t+(this._isUTC?0:this.utcOffset()*pr),hr)-1;break;case"minute":t=this._d.valueOf(),t+=pr-fr(t,pr)-1;break;case"second":t=this._d.valueOf(),t+=_r-fr(t,_r)-1;break}return this._d.setTime(t),a.updateOffset(this,!0),this}function Lr(){return this._d.valueOf()-6e4*(this._offset||0)}function Tr(){return Math.floor(this.valueOf()/1e3)}function Dr(){return new Date(this.valueOf())}function kr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ir(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Sr(){return this.isValid()?this.toISOString():null}function Er(){return y(this)}function Cr(){return m({},M(this))}function Ar(){return M(this).overflow}function Or(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function br(e,t){var n,o,r,s=this._eras||vn("en")._eras;for(n=0,o=s.length;n<o;++n){switch(typeof s[n].since){case"string":r=a(s[n].since).startOf("day"),s[n].since=r.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":r=a(s[n].until).startOf("day").valueOf(),s[n].until=r.valueOf();break}}return s}function wr(e,t,n){var o,r,a,s,i,u=this.eras();for(e=e.toUpperCase(),o=0,r=u.length;o<r;++o)if(a=u[o].name.toUpperCase(),s=u[o].abbr.toUpperCase(),i=u[o].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return u[o];break;case"NNNN":if(a===e)return u[o];break;case"NNNNN":if(i===e)return u[o];break}else if([a,s,i].indexOf(e)>=0)return u[o]}function Nr(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Rr(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].name;if(o[e].until<=n&&n<=o[e].since)return o[e].name}return""}function Pr(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].narrow;if(o[e].until<=n&&n<=o[e].since)return o[e].narrow}return""}function Yr(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].abbr;if(o[e].until<=n&&n<=o[e].since)return o[e].abbr}return""}function Gr(){var e,t,n,o,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=r[e].since<=r[e].until?1:-1,o=this.clone().startOf("day").valueOf(),r[e].since<=o&&o<=r[e].until||r[e].until<=o&&o<=r[e].since)return(this.year()-a(r[e].since).year())*n+r[e].offset;return this.year()}function Ur(e){return c(this,"_erasNameRegex")||Vr.call(this),e?this._erasNameRegex:this._erasRegex}function Fr(e){return c(this,"_erasAbbrRegex")||Vr.call(this),e?this._erasAbbrRegex:this._erasRegex}function xr(e){return c(this,"_erasNarrowRegex")||Vr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Hr(e,t){return t.erasAbbrRegex(e)}function jr(e,t){return t.erasNameRegex(e)}function qr(e,t){return t.erasNarrowRegex(e)}function Br(e,t){return t._eraYearOrdinalRegex||Oe}function Vr(){var e,t,n=[],o=[],r=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)o.push(Fe(s[e].name)),n.push(Fe(s[e].abbr)),r.push(Fe(s[e].narrow)),a.push(Fe(s[e].name)),a.push(Fe(s[e].abbr)),a.push(Fe(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function Wr(e,t){j(0,[e,e.length],0,t)}function Kr(e){return Qr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function $r(e){return Qr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function zr(){return It(this.year(),1,4)}function Jr(){return It(this.isoWeekYear(),1,4)}function Xr(){var e=this.localeData()._week;return It(this.year(),e.dow,e.doy)}function Zr(){var e=this.localeData()._week;return It(this.weekYear(),e.dow,e.doy)}function Qr(e,t,n,o,r){var a;return null==e?kt(this,o,r).year:(a=It(e,o,r),t>a&&(t=a),ea.call(this,e,t,n,o,r))}function ea(e,t,n,o,r){var a=Dt(e,t,n,o,r),s=Lt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function ta(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),Ye("N",Hr),Ye("NN",Hr),Ye("NNN",Hr),Ye("NNNN",jr),Ye("NNNNN",qr),He(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?M(n).era=r:M(n).invalidEra=e})),Ye("y",Oe),Ye("yy",Oe),Ye("yyy",Oe),Ye("yyyy",Oe),Ye("yo",Br),He(["y","yy","yyy","yyyy"],Ve),He(["yo"],(function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ve]=n._locale.eraYearOrdinalParse(e,r):t[Ve]=parseInt(e,10)})),j(0,["gg",2],0,(function(){return this.weekYear()%100})),j(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wr("gggg","weekYear"),Wr("ggggg","weekYear"),Wr("GGGG","isoWeekYear"),Wr("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),ue("weekYear",1),ue("isoWeekYear",1),Ye("G",be),Ye("g",be),Ye("GG",ke,ve),Ye("gg",ke,ve),Ye("GGGG",Ce,Te),Ye("gggg",Ce,Te),Ye("GGGGG",Ae,De),Ye("ggggg",Ae,De),je(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=_e(e)})),je(["gg","GG"],(function(e,t,n,o){t[o]=a.parseTwoDigitYear(e)})),j("Q",0,"Qo","quarter"),re("quarter","Q"),ue("quarter",7),Ye("Q",ye),He("Q",(function(e,t){t[We]=3*(_e(e)-1)})),j("D",["DD",2],"Do","date"),re("date","D"),ue("date",9),Ye("D",ke),Ye("DD",ke,ve),Ye("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),He(["D","DD"],Ke),He("Do",(function(e,t){t[Ke]=_e(e.match(ke)[0])}));var na=pe("Date",!0);function oa(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}j("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),ue("dayOfYear",4),Ye("DDD",Ee),Ye("DDDD",Le),He(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=_e(e)})),j("m",["mm",2],0,"minute"),re("minute","m"),ue("minute",14),Ye("m",ke),Ye("mm",ke,ve),He(["m","mm"],ze);var ra=pe("Minutes",!1);j("s",["ss",2],0,"second"),re("second","s"),ue("second",15),Ye("s",ke),Ye("ss",ke,ve),He(["s","ss"],Je);var aa,sa,ia=pe("Seconds",!1);for(j("S",0,0,(function(){return~~(this.millisecond()/100)})),j(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),j(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),j(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),j(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),j(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),j(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),re("millisecond","ms"),ue("millisecond",16),Ye("S",Ee,ye),Ye("SS",Ee,ve),Ye("SSS",Ee,Le),aa="SSSS";aa.length<=9;aa+="S")Ye(aa,Oe);function ua(e,t){t[Xe]=_e(1e3*("0."+e))}for(aa="S";aa.length<=9;aa+="S")He(aa,ua);function ca(){return this._isUTC?"UTC":""}function da(){return this._isUTC?"Coordinated Universal Time":""}sa=pe("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var la=k.prototype;function _a(e){return Xn(1e3*e)}function pa(){return Xn.apply(null,arguments).parseZone()}function ha(e){return e}la.add=Go,la.calendar=Vo,la.clone=Wo,la.diff=Qo,la.endOf=vr,la.format=rr,la.from=ar,la.fromNow=sr,la.to=ir,la.toNow=ur,la.get=fe,la.invalidAt=Ar,la.isAfter=Ko,la.isBefore=$o,la.isBetween=zo,la.isSame=Jo,la.isSameOrAfter=Xo,la.isSameOrBefore=Zo,la.isValid=Er,la.lang=dr,la.locale=cr,la.localeData=lr,la.max=Qn,la.min=Zn,la.parsingFlags=Cr,la.set=ge,la.startOf=yr,la.subtract=Uo,la.toArray=kr,la.toObject=Ir,la.toDate=Dr,la.toISOString=nr,la.inspect=or,"undefined"!==typeof Symbol&&null!=Symbol.for&&(la[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),la.toJSON=Sr,la.toString=tr,la.unix=Tr,la.valueOf=Lr,la.creationData=Or,la.eraName=Rr,la.eraNarrow=Pr,la.eraAbbr=Yr,la.eraYear=Gr,la.year=Mt,la.isLeapYear=yt,la.weekYear=Kr,la.isoWeekYear=$r,la.quarter=la.quarters=ta,la.month=_t,la.daysInMonth=pt,la.week=la.weeks=Ot,la.isoWeek=la.isoWeeks=bt,la.weeksInYear=Xr,la.weeksInWeekYear=Zr,la.isoWeeksInYear=zr,la.isoWeeksInISOWeekYear=Jr,la.date=na,la.day=la.days=Wt,la.weekday=Kt,la.isoWeekday=$t,la.dayOfYear=oa,la.hour=la.hours=an,la.minute=la.minutes=ra,la.second=la.seconds=ia,la.millisecond=la.milliseconds=sa,la.utcOffset=Mo,la.utc=vo,la.local=Lo,la.parseZone=To,la.hasAlignedHourOffset=Do,la.isDST=ko,la.isLocal=So,la.isUtcOffset=Eo,la.isUtc=Co,la.isUTC=Co,la.zoneAbbr=ca,la.zoneName=da,la.dates=E("dates accessor is deprecated. Use date instead.",na),la.months=E("months accessor is deprecated. Use month instead",_t),la.years=E("years accessor is deprecated. Use year instead",Mt),la.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yo),la.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Io);var ma=R.prototype;function fa(e,t,n,o){var r=vn(),a=f().set(o,t);return r[n](a,e)}function ga(e,t,n){if(_(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=fa(e,o,n,"month");return r}function Ma(e,t,n,o){"boolean"===typeof e?(_(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,_(t)&&(n=t,t=void 0),t=t||"");var r,a=vn(),s=e?a._week.dow:0,i=[];if(null!=n)return fa(t,(n+s)%7,o,"day");for(r=0;r<7;r++)i[r]=fa(t,(r+s)%7,o,"day");return i}function ya(e,t){return ga(e,t,"months")}function va(e,t){return ga(e,t,"monthsShort")}function La(e,t,n){return Ma(e,t,n,"weekdays")}function Ta(e,t,n){return Ma(e,t,n,"weekdaysShort")}function Da(e,t,n){return Ma(e,t,n,"weekdaysMin")}ma.calendar=Y,ma.longDateFormat=$,ma.invalidDate=J,ma.ordinal=Q,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=te,ma.pastFuture=ne,ma.set=w,ma.eras=br,ma.erasParse=wr,ma.erasConvertYear=Nr,ma.erasAbbrRegex=Fr,ma.erasNameRegex=Ur,ma.erasNarrowRegex=xr,ma.months=it,ma.monthsShort=ut,ma.monthsParse=dt,ma.monthsRegex=mt,ma.monthsShortRegex=ht,ma.week=St,ma.firstDayOfYear=At,ma.firstDayOfWeek=Ct,ma.weekdays=Ht,ma.weekdaysMin=qt,ma.weekdaysShort=jt,ma.weekdaysParse=Vt,ma.weekdaysRegex=zt,ma.weekdaysShortRegex=Jt,ma.weekdaysMinRegex=Xt,ma.isPM=on,ma.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===_e(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),a.lang=E("moment.lang is deprecated. Use moment.locale instead.",gn),a.langData=E("moment.langData is deprecated. Use moment.localeData instead.",vn);var ka=Math.abs;function Ia(){var e=this._data;return this._milliseconds=ka(this._milliseconds),this._days=ka(this._days),this._months=ka(this._months),e.milliseconds=ka(e.milliseconds),e.seconds=ka(e.seconds),e.minutes=ka(e.minutes),e.hours=ka(e.hours),e.months=ka(e.months),e.years=ka(e.years),this}function Sa(e,t,n,o){var r=bo(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function Ea(e,t){return Sa(this,e,t,1)}function Ca(e,t){return Sa(this,e,t,-1)}function Aa(e){return e<0?Math.floor(e):Math.ceil(e)}function Oa(){var e,t,n,o,r,a=this._milliseconds,s=this._days,i=this._months,u=this._data;return a>=0&&s>=0&&i>=0||a<=0&&s<=0&&i<=0||(a+=864e5*Aa(wa(i)+s),s=0,i=0),u.milliseconds=a%1e3,e=le(a/1e3),u.seconds=e%60,t=le(e/60),u.minutes=t%60,n=le(t/60),u.hours=n%24,s+=le(n/24),r=le(ba(s)),i+=r,s-=Aa(wa(r)),o=le(i/12),i%=12,u.days=s,u.months=i,u.years=o,this}function ba(e){return 4800*e/146097}function wa(e){return 146097*e/4800}function Na(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if(e=ae(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+ba(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(wa(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}}function Ra(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_e(this._months/12):NaN}function Pa(e){return function(){return this.as(e)}}var Ya=Pa("ms"),Ga=Pa("s"),Ua=Pa("m"),Fa=Pa("h"),xa=Pa("d"),Ha=Pa("w"),ja=Pa("M"),qa=Pa("Q"),Ba=Pa("y");function Va(){return bo(this)}function Wa(e){return e=ae(e),this.isValid()?this[e+"s"]():NaN}function Ka(e){return function(){return this.isValid()?this._data[e]:NaN}}var $a=Ka("milliseconds"),za=Ka("seconds"),Ja=Ka("minutes"),Xa=Ka("hours"),Za=Ka("days"),Qa=Ka("months"),es=Ka("years");function ts(){return le(this.days()/7)}var ns=Math.round,os={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function rs(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}function as(e,t,n,o){var r=bo(e).abs(),a=ns(r.as("s")),s=ns(r.as("m")),i=ns(r.as("h")),u=ns(r.as("d")),c=ns(r.as("M")),d=ns(r.as("w")),l=ns(r.as("y")),_=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||s<=1&&["m"]||s<n.m&&["mm",s]||i<=1&&["h"]||i<n.h&&["hh",i]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(_=_||d<=1&&["w"]||d<n.w&&["ww",d]),_=_||c<=1&&["M"]||c<n.M&&["MM",c]||l<=1&&["y"]||["yy",l],_[2]=t,_[3]=+e>0,_[4]=o,rs.apply(null,_)}function ss(e){return void 0===e?ns:"function"===typeof e&&(ns=e,!0)}function is(e,t){return void 0!==os[e]&&(void 0===t?os[e]:(os[e]=t,"s"===e&&(os.ss=t-1),!0))}function us(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,r=!1,a=os;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(r=e),"object"===typeof t&&(a=Object.assign({},os,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),o=as(this,!r,a,n),r&&(o=n.pastFuture(+this,o)),n.postformat(o)}var cs=Math.abs;function ds(e){return(e>0)-(e<0)||+e}function ls(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,r,a,s,i,u=cs(this._milliseconds)/1e3,c=cs(this._days),d=cs(this._months),l=this.asSeconds();return l?(e=le(u/60),t=le(e/60),u%=60,e%=60,n=le(d/12),d%=12,o=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=l<0?"-":"",a=ds(this._months)!==ds(l)?"-":"",s=ds(this._days)!==ds(l)?"-":"",i=ds(this._milliseconds)!==ds(l)?"-":"",r+"P"+(n?a+n+"Y":"")+(d?a+d+"M":"")+(c?s+c+"D":"")+(t||e||u?"T":"")+(t?i+t+"H":"")+(e?i+e+"M":"")+(u?i+o+"S":"")):"P0D"}var _s=uo.prototype;return _s.isValid=so,_s.abs=Ia,_s.add=Ea,_s.subtract=Ca,_s.as=Na,_s.asMilliseconds=Ya,_s.asSeconds=Ga,_s.asMinutes=Ua,_s.asHours=Fa,_s.asDays=xa,_s.asWeeks=Ha,_s.asMonths=ja,_s.asQuarters=qa,_s.asYears=Ba,_s.valueOf=Ra,_s._bubble=Oa,_s.clone=Va,_s.get=Wa,_s.milliseconds=$a,_s.seconds=za,_s.minutes=Ja,_s.hours=Xa,_s.days=Za,_s.weeks=ts,_s.months=Qa,_s.years=es,_s.humanize=us,_s.toISOString=ls,_s.toString=ls,_s.toJSON=ls,_s.locale=cr,_s.localeData=lr,_s.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ls),_s.lang=dr,j("X",0,0,"unix"),j("x",0,0,"valueOf"),Ye("x",be),Ye("X",Re),He("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),He("x",(function(e,t,n){n._d=new Date(_e(e))})),//! moment.js
- a.version="2.29.4",s(Xn),a.fn=la,a.min=to,a.max=no,a.now=oo,a.utc=f,a.unix=_a,a.months=ya,a.isDate=p,a.locale=gn,a.invalid=v,a.duration=bo,a.isMoment=I,a.weekdays=La,a.parseZone=pa,a.localeData=vn,a.isDuration=co,a.monthsShort=va,a.weekdaysMin=Da,a.defineLocale=Mn,a.updateLocale=yn,a.locales=Ln,a.weekdaysShort=Ta,a.normalizeUnits=ae,a.relativeTimeRounding=ss,a.relativeTimeThreshold=is,a.calendarFormat=Bo,a.prototype=la,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}))}).call(this,n("62e4")(e))},f07e:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,o){return t?"kelios sekundės":o?"kelių sekundžių":"kelias sekundes"}function o(e,t,n,o){return t?a(n)[0]:o?a(n)[1]:a(n)[2]}function r(e){return e%10===0||e>10&&e<20}function a(e){return t[e].split("_")}function s(e,t,n,s){var i=e+" ";return 1===e?i+o(e,t,n[0],s):t?i+(r(e)?a(n)[1]:a(n)[0]):s?i+a(n)[1]:i+(r(e)?a(n)[1]:a(n)[2])}var i=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:s,m:o,mm:s,h:o,hh:s,d:o,dd:s,M:o,MM:s,y:o,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return i}))},f0c5:function(e,t,n){"use strict";function o(e,t,n,o,r,a,s,i,u,c){var d,l="function"===typeof e?e.options:e;if(u){l.components||(l.components={});var _=Object.prototype.hasOwnProperty;for(var p in u)_.call(u,p)&&!_.call(l.components,p)&&(l.components[p]=u[p])}if(c&&((c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(l.mixins||(l.mixins=[])).push(c)),t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=d):r&&(d=i?function(){r.call(this,this.$root.$options.shadowRoot)}:r),d)if(l.functional){l._injectStyles=d;var h=l.render;l.render=function(e,t){return d.call(t),h(e,t)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,d):[d]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},f285:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var o=100*e+t;return o<600?"يېرىم كېچە":o<900?"سەھەر":o<1130?"چۈشتىن بۇرۇن":o<1230?"چۈش":o<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},f33b:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},o=e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return o}))},f3e8:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],o=["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"],s=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:o,weekdaysShort:r,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return s}))},f408:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},f53e:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t}))},f7b8:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},f8e9:function(e,t,n){"use strict";(function(t){var o=a(n("aeba")),r=(n("eb73"),a(n("f05b")));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return o.default.enc.Base64.stringify(o.default.HmacSHA1(t,e))}function i(){var e=new Date;e.setHours(e.getHours()+1);var t={expiration:e.toISOString(),conditions:[["content-length-range",0,1073741824]]};return t}function u(e,n){var o=new Date,a=(0,r.default)(o).format("yyyyMMDD"),s=(0,r.default)(o).format("HHmmss"),i=(0,r.default)(o).format("yyyyMMDDHHmmss"),u=JSON.parse(t.getStorageSync("user")).id;return"".concat(a,"/").concat(u,"/").concat(s,"/").concat(i).concat(e,".").concat(n)}e.exports={computeSignature:s,getPolicy:i,getKey:u}}).call(this,n("543d")["default"])},fd9c:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},fddf:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("29b3"))})(0,(function(e){return e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971}))},feec:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,o,r){var a,s=t.words[o];return 1===o.length?"y"===o&&n?"jedna godina":r||n?s[0]:s[1]:(a=t.correctGrammaticalCase(e,s),"yy"===o&&n&&"godinu"===a?e+" godina":e+" "+a)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},ff99:function(e,t,n){(function(t,o,r){e.exports=o(n("77b5"),n("0ca2"),n("8ff9"),n("611e"),n("29b3"))})(0,(function(e){return function(){var t=e,n=t.lib,o=n.StreamCipher,r=t.algo,a=[],s=[],i=[],u=r.Rabbit=o.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var o=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)r[n]^=o[n+4&7];if(t){var a=t.words,s=a[0],i=a[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),l=u>>>16|4294901760&d,_=d<<16|65535&u;r[0]^=u,r[1]^=l,r[2]^=d,r[3]^=_,r[4]^=u,r[5]^=l,r[6]^=d,r[7]^=_;for(n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)a[o]=16711935&(a[o]<<8|a[o]>>>24)|4278255360&(a[o]<<24|a[o]>>>8),e[t+o]^=a[o]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<s[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<s[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<s[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<s[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<s[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<s[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<s[6]>>>0?1:0)|0,this._b=t[7]>>>0<s[7]>>>0?1:0;for(n=0;n<8;n++){var o=e[n]+t[n],r=65535&o,a=o>>>16,u=((r*r>>>17)+r*a>>>15)+a*a,c=((4294901760&o)*o|0)+((65535&o)*o|0);i[n]=u^c}e[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,e[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,e[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,e[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,e[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,e[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,e[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,e[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}t.Rabbit=o._createHelper(u)}(),e.Rabbit}))},ffe4:function(e,t,n){(function(e,t){t(n("f05b"))})(0,(function(e){"use strict";//! moment.js locale configuration
- function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,o){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===o?n?"хвіліна":"хвіліну":"h"===o?n?"гадзіна":"гадзіну":e+" "+t(r[o],+e)}var o=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return o}))}}]);
|